[2026-09-24 00:00:08] local.INFO: TCP Data received {"connection_id":192359,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-24 00:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-24 00:00:08] local.INFO: Processing buffer {"connection_id":192359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-24 00:00:08] local.INFO: Packet analysis {"connection_id":192359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf84"} 
[2026-09-24 00:00:08] local.INFO: Extracted packet for processing {"connection_id":192359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf84"} 
[2026-09-24 00:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":12,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288045824001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790187980000,"timestamp_ms":1790187980000,"timestamp_seconds":1790187980,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf84c4e0"} 
[2026-09-24 00:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288045824001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288045824001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:00:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:00:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288045824001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":192359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:00:08] local.INFO: GPS data processed {"connection_id":192359,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:00:08] local.INFO: Acknowledgment sent {"connection_id":192359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:00:30] local.INFO: TCP Data received {"connection_id":192360,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:00:30] local.INFO: Processing buffer {"connection_id":192360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:00:30] local.INFO: IMEI packet received {"connection_id":192360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":192360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:00:35] local.INFO: TCP Data received {"connection_id":192360,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:00:35] local.INFO: Processing buffer {"connection_id":192360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:00:35] local.INFO: IMEI packet received {"connection_id":192360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":192360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:00:36] local.INFO: TCP Data received {"connection_id":192360,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-24 00:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-24 00:00:36] local.INFO: Processing buffer {"connection_id":192360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-24 00:00:36] local.INFO: Packet analysis {"connection_id":192360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf84"} 
[2026-09-24 00:00:36] local.INFO: Extracted packet for processing {"connection_id":192360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf84"} 
[2026-09-24 00:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":12,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288045824001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790187980000,"timestamp_ms":1790187980000,"timestamp_seconds":1790187980,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf84c4e0"} 
[2026-09-24 00:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288045824001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288045824001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:00:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288045824001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":192360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:00:36] local.INFO: GPS data processed {"connection_id":192360,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:00:36] local.INFO: Acknowledgment sent {"connection_id":192360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:01:07] local.INFO: TCP Data received {"connection_id":192360,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-24 00:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-24 00:01:07] local.INFO: Processing buffer {"connection_id":192360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-24 00:01:07] local.INFO: Packet analysis {"connection_id":192360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf84"} 
[2026-09-24 00:01:07] local.INFO: Extracted packet for processing {"connection_id":192360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf84"} 
[2026-09-24 00:01:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":12,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288045824001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790187980000,"timestamp_ms":1790187980000,"timestamp_seconds":1790187980,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf84c4e0"} 
[2026-09-24 00:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288045824001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288045824001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:01:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:01:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288045824001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":192360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:01:07] local.INFO: GPS data processed {"connection_id":192360,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:01:07] local.INFO: Acknowledgment sent {"connection_id":192360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:01:30] local.INFO: TCP Data received {"connection_id":192361,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:01:30] local.INFO: Processing buffer {"connection_id":192361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:01:30] local.INFO: IMEI packet received {"connection_id":192361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":192361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:01:35] local.INFO: TCP Data received {"connection_id":192361,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:01:35] local.INFO: Processing buffer {"connection_id":192361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:01:35] local.INFO: IMEI packet received {"connection_id":192361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":192361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:01:36] local.INFO: TCP Data received {"connection_id":192361,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-24 00:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-24 00:01:36] local.INFO: Processing buffer {"connection_id":192361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf84c4e0012d34c58006aa4758000c010525..."} 
[2026-09-24 00:01:36] local.INFO: Packet analysis {"connection_id":192361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf84"} 
[2026-09-24 00:01:36] local.INFO: Extracted packet for processing {"connection_id":192361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf84"} 
[2026-09-24 00:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":12,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288045824001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790187980000,"timestamp_ms":1790187980000,"timestamp_seconds":1790187980,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf84c4e0"} 
[2026-09-24 00:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288045824001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288045824001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:01:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288045824001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":192361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:01:36] local.INFO: GPS data processed {"connection_id":192361,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:01:36] local.INFO: Acknowledgment sent {"connection_id":192361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:02:08] local.INFO: TCP Data received {"connection_id":192361,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:02:08] local.INFO: Processing buffer {"connection_id":192361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:02:08] local.INFO: Packet analysis {"connection_id":192361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf89"} 
[2026-09-24 00:02:08] local.INFO: Extracted packet for processing {"connection_id":192361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf89"} 
[2026-09-24 00:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288122880001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790188281000,"timestamp_ms":1790188281000,"timestamp_seconds":1790188281,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf895ca8"} 
[2026-09-24 00:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 00:02:08] 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-09-24 00:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288122880001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288122880001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:02:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:02:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288122880001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":192361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:02:08] local.INFO: GPS data processed {"connection_id":192361,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:02:08] local.INFO: Acknowledgment sent {"connection_id":192361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:02:30] local.INFO: TCP Data received {"connection_id":193711,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:02:30] local.INFO: Processing buffer {"connection_id":193711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:02:30] local.INFO: IMEI packet received {"connection_id":193711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":193711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:02:35] local.INFO: TCP Data received {"connection_id":193711,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:02:35] local.INFO: Processing buffer {"connection_id":193711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:02:35] local.INFO: IMEI packet received {"connection_id":193711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":193711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:02:36] local.INFO: TCP Data received {"connection_id":193711,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:02:36] local.INFO: Processing buffer {"connection_id":193711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:02:36] local.INFO: Packet analysis {"connection_id":193711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf89"} 
[2026-09-24 00:02:36] local.INFO: Extracted packet for processing {"connection_id":193711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf89"} 
[2026-09-24 00:02:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288122880001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790188281000,"timestamp_ms":1790188281000,"timestamp_seconds":1790188281,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf895ca8"} 
[2026-09-24 00:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 00:02: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-09-24 00:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288122880001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288122880001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:02:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:02:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288122880001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":193711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:02:36] local.INFO: GPS data processed {"connection_id":193711,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:02:36] local.INFO: Acknowledgment sent {"connection_id":193711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:03:09] local.INFO: TCP Data received {"connection_id":193711,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:03:09] local.INFO: Processing buffer {"connection_id":193711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:03:09] local.INFO: Packet analysis {"connection_id":193711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf89"} 
[2026-09-24 00:03:09] local.INFO: Extracted packet for processing {"connection_id":193711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf89"} 
[2026-09-24 00:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288122880001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790188281000,"timestamp_ms":1790188281000,"timestamp_seconds":1790188281,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf895ca8"} 
[2026-09-24 00:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 00:03:09] 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-09-24 00: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-09-24 00:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288122880001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288122880001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:03:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:03:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288122880001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":193711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:03:09] local.INFO: GPS data processed {"connection_id":193711,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:03:09] local.INFO: Acknowledgment sent {"connection_id":193711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:03:31] local.INFO: TCP Data received {"connection_id":192362,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:03:31] local.INFO: Processing buffer {"connection_id":192362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:03:31] local.INFO: IMEI packet received {"connection_id":192362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":192362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:03:35] local.INFO: TCP Data received {"connection_id":192362,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:03:35] local.INFO: Processing buffer {"connection_id":192362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:03:35] local.INFO: IMEI packet received {"connection_id":192362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":192362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:03:37] local.INFO: TCP Data received {"connection_id":192362,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:03:37] local.INFO: Processing buffer {"connection_id":192362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:03:37] local.INFO: Packet analysis {"connection_id":192362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf89"} 
[2026-09-24 00:03:37] local.INFO: Extracted packet for processing {"connection_id":192362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf89"} 
[2026-09-24 00:03:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288122880001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790188281000,"timestamp_ms":1790188281000,"timestamp_seconds":1790188281,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf895ca8"} 
[2026-09-24 00:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 00:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288122880001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288122880001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:03:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:03:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288122880001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":192362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:03:37] local.INFO: GPS data processed {"connection_id":192362,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:03:37] local.INFO: Acknowledgment sent {"connection_id":192362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:04:11] local.INFO: TCP Data received {"connection_id":192362,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:04:11] local.INFO: Processing buffer {"connection_id":192362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:04:11] local.INFO: Packet analysis {"connection_id":192362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf89"} 
[2026-09-24 00:04:11] local.INFO: Extracted packet for processing {"connection_id":192362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf89"} 
[2026-09-24 00:04:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288122880001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790188281000,"timestamp_ms":1790188281000,"timestamp_seconds":1790188281,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf895ca8"} 
[2026-09-24 00:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 00:04:11] 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-09-24 00:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288122880001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288122880001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:04:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:04:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288122880001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":192362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:04:11] local.INFO: GPS data processed {"connection_id":192362,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:04:11] local.INFO: Acknowledgment sent {"connection_id":192362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:04:30] local.INFO: TCP Data received {"connection_id":192363,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:04:30] local.INFO: Processing buffer {"connection_id":192363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:04:30] local.INFO: IMEI packet received {"connection_id":192363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":192363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:04:35] local.INFO: TCP Data received {"connection_id":192363,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:04:35] local.INFO: Processing buffer {"connection_id":192363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:04:35] local.INFO: IMEI packet received {"connection_id":192363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":192363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:04:36] local.INFO: TCP Data received {"connection_id":192363,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:04:36] local.INFO: Processing buffer {"connection_id":192363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:04:36] local.INFO: Packet analysis {"connection_id":192363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf89"} 
[2026-09-24 00:04:36] local.INFO: Extracted packet for processing {"connection_id":192363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf89"} 
[2026-09-24 00:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288122880001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790188281000,"timestamp_ms":1790188281000,"timestamp_seconds":1790188281,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf895ca8"} 
[2026-09-24 00:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 00:04: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-09-24 00:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288122880001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288122880001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:04:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:04:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288122880001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":192363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:04:36] local.INFO: GPS data processed {"connection_id":192363,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:04:36] local.INFO: Acknowledgment sent {"connection_id":192363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:05:08] local.INFO: TCP Data received {"connection_id":192363,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:05:08] local.INFO: Processing buffer {"connection_id":192363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:05:08] local.INFO: Packet analysis {"connection_id":192363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf89"} 
[2026-09-24 00:05:08] local.INFO: Extracted packet for processing {"connection_id":192363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf89"} 
[2026-09-24 00:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288122880001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790188281000,"timestamp_ms":1790188281000,"timestamp_seconds":1790188281,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf895ca8"} 
[2026-09-24 00:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 00:05:08] 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-09-24 00:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288122880001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288122880001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:05:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288122880001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":192363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:05:08] local.INFO: GPS data processed {"connection_id":192363,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:05:08] local.INFO: Acknowledgment sent {"connection_id":192363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:05:30] local.INFO: TCP Data received {"connection_id":191021,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:05:30] local.INFO: Processing buffer {"connection_id":191021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:05:30] local.INFO: IMEI packet received {"connection_id":191021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":191021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:05:35] local.INFO: TCP Data received {"connection_id":191021,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:05:35] local.INFO: Processing buffer {"connection_id":191021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:05:35] local.INFO: IMEI packet received {"connection_id":191021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":191021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:05:36] local.INFO: TCP Data received {"connection_id":191021,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:05:36] local.INFO: Processing buffer {"connection_id":191021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:05:36] local.INFO: Packet analysis {"connection_id":191021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf89"} 
[2026-09-24 00:05:36] local.INFO: Extracted packet for processing {"connection_id":191021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf89"} 
[2026-09-24 00:05:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288122880001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790188281000,"timestamp_ms":1790188281000,"timestamp_seconds":1790188281,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf895ca8"} 
[2026-09-24 00:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 00:05: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-09-24 00:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288122880001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288122880001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:05:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:05:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288122880001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":191021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:05:36] local.INFO: GPS data processed {"connection_id":191021,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:05:36] local.INFO: Acknowledgment sent {"connection_id":191021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:06:08] local.INFO: TCP Data received {"connection_id":191021,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:06:08] local.INFO: Processing buffer {"connection_id":191021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:06:08] local.INFO: Packet analysis {"connection_id":191021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf89"} 
[2026-09-24 00:06:08] local.INFO: Extracted packet for processing {"connection_id":191021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf89"} 
[2026-09-24 00:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288122880001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790188281000,"timestamp_ms":1790188281000,"timestamp_seconds":1790188281,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf895ca8"} 
[2026-09-24 00:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 00:06:08] 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-09-24 00: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-09-24 00:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288122880001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288122880001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:06:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:06:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288122880001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":191021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:06:08] local.INFO: GPS data processed {"connection_id":191021,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:06:08] local.INFO: Acknowledgment sent {"connection_id":191021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:06:30] local.INFO: TCP Data received {"connection_id":192364,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:06:30] local.INFO: Processing buffer {"connection_id":192364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:06:30] local.INFO: IMEI packet received {"connection_id":192364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":192364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:06:35] local.INFO: TCP Data received {"connection_id":192364,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:06:35] local.INFO: Processing buffer {"connection_id":192364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:06:35] local.INFO: IMEI packet received {"connection_id":192364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":192364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:06:36] local.INFO: TCP Data received {"connection_id":192364,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:06:36] local.INFO: Processing buffer {"connection_id":192364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf895ca8012d34c58006aa47580009010527..."} 
[2026-09-24 00:06:36] local.INFO: Packet analysis {"connection_id":192364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf89"} 
[2026-09-24 00:06:36] local.INFO: Extracted packet for processing {"connection_id":192364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf89"} 
[2026-09-24 00:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288122880001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790188281000,"timestamp_ms":1790188281000,"timestamp_seconds":1790188281,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf895ca8"} 
[2026-09-24 00:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 00:06: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-09-24 00: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-09-24 00:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288122880001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288122880001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:06:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288122880001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":192364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:06:36] local.INFO: GPS data processed {"connection_id":192364,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:06:36] local.INFO: Acknowledgment sent {"connection_id":192364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:07:03] local.INFO: TCP Data received {"connection_id":190829,"ip":"117.225.187.176","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:07:03] local.INFO: Processing buffer {"connection_id":190829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:07:03] local.INFO: IMEI packet received {"connection_id":190829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 00:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":190829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:07:08] local.INFO: TCP Data received {"connection_id":192364,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:07:08] local.INFO: Processing buffer {"connection_id":192364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:07:08] local.INFO: Packet analysis {"connection_id":192364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:07:08] local.INFO: Extracted packet for processing {"connection_id":192364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288199936001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790188582000,"timestamp_ms":1790188582000,"timestamp_seconds":1790188582,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf8df470"} 
[2026-09-24 00:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288199936001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288199936001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:07:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288199936001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":192364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:07:08] local.INFO: GPS data processed {"connection_id":192364,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:07:08] local.INFO: Acknowledgment sent {"connection_id":192364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:07:08] local.INFO: TCP Data received {"connection_id":190829,"ip":"117.225.187.176","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:07:08] local.INFO: Processing buffer {"connection_id":190829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:07:08] local.INFO: IMEI packet received {"connection_id":190829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 00:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":190829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:07:10] local.INFO: TCP Data received {"connection_id":190829,"ip":"117.225.187.176","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf8cbfd8012c774c4008d1d380003f00d921..."} 
[2026-09-24 00:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf8cbfd8012c774c4008d1d380003f00d921..."} 
[2026-09-24 00:07:10] local.INFO: Processing buffer {"connection_id":190829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf8cbfd8012c774c4008d1d380003f00d921..."} 
[2026-09-24 00:07:10] local.INFO: Packet analysis {"connection_id":190829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf8c"} 
[2026-09-24 00:07:10] local.INFO: Extracted packet for processing {"connection_id":190829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf8c"} 
[2026-09-24 00:07:10] local.INFO: GPS Element Parsed {"raw_longitude":746015808,"raw_latitude":147968896,"longitude_deg":74.6015808,"latitude_deg":14.7968896,"altitude":63,"angle":217,"satellites":33,"speed":39,"hex_longitude":"2c774c40","hex_latitude":"08d1d380","is_valid_coordinates":true} 
[2026-09-24 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-09-24 00:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288252160001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 00:07:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8606238188301099008,"note":"Value kept but may cause issues"} 
[2026-09-24 00:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,104,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790188503000,"timestamp_ms":1790188503000,"timestamp_seconds":1790188503,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf8cbfd8"} 
[2026-09-24 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-09-24 00:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-24 00:07:10] 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-09-24 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-09-24 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-09-24 00:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 00:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 00:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.187.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 00:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 00:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288252160001,"66":27800,"36":206,"104":45568,"24":39,"16":3605341577150464,"44":8606238188301099008},"client_ip":"117.225.187.176","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,104,24,16,44]} 
[2026-09-24 00:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 00:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 00:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288252160001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:07:10] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-24 00:07:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":45568,"description":"Unknown IO ID 104"} 
[2026-09-24 00:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:07:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":8606238188301099008,"description":"Unknown IO ID 44"} 
[2026-09-24 00:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288252160001,"power":27800,"unknown_36":206,"unknown_104":45568,"ignition":39,"odometer":null,"unknown_44":8606238188301099008}} 
[2026-09-24 00:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":190829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887734,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:07:10] local.INFO: GPS data processed {"connection_id":190829,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:07:10] local.INFO: Acknowledgment sent {"connection_id":190829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:07:35] local.INFO: TCP Data received {"connection_id":191022,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:07:35] local.INFO: Processing buffer {"connection_id":191022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:07:35] local.INFO: IMEI packet received {"connection_id":191022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":191022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:07:40] local.INFO: TCP Data received {"connection_id":191022,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:07:40] local.INFO: Processing buffer {"connection_id":191022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:07:40] local.INFO: IMEI packet received {"connection_id":191022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":191022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:07:41] local.INFO: TCP Data received {"connection_id":190829,"ip":"117.225.187.176","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf8d0a10012c77070008d1b9500040010a1b..."} 
[2026-09-24 00:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf8d0a10012c77070008d1b9500040010a1b..."} 
[2026-09-24 00:07:41] local.INFO: Processing buffer {"connection_id":190829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf8d0a10012c77070008d1b9500040010a1b..."} 
[2026-09-24 00:07:41] local.INFO: Packet analysis {"connection_id":190829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:07:41] local.INFO: Extracted packet for processing {"connection_id":190829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:07:41] local.INFO: GPS Element Parsed {"raw_longitude":745998080,"raw_latitude":147962192,"longitude_deg":74.599808,"latitude_deg":14.7962192,"altitude":64,"angle":266,"satellites":27,"speed":41,"hex_longitude":"2c770700","hex_latitude":"08d1b950","is_valid_coordinates":true} 
[2026-09-24 00:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288256768001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 00:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8596316195367649280,"note":"Value kept but may cause issues"} 
[2026-09-24 00:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,104,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790188522000,"timestamp_ms":1790188522000,"timestamp_seconds":1790188522,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf8d0a10"} 
[2026-09-24 00:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 00:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-24 00:07:41] 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-09-24 00:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 00:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 00:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.187.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 00:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 00:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288256768001,"66":27984,"36":206,"104":45568,"24":41,"16":3605341577150464,"44":8596316195367649280},"client_ip":"117.225.187.176","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,104,24,16,44]} 
[2026-09-24 00:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 00:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 00:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288256768001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:07:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-24 00:07:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":45568,"description":"Unknown IO ID 104"} 
[2026-09-24 00:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":8596316195367649280,"description":"Unknown IO ID 44"} 
[2026-09-24 00:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288256768001,"power":27984,"unknown_36":206,"unknown_104":45568,"ignition":41,"odometer":null,"unknown_44":8596316195367649280}} 
[2026-09-24 00:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":190829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887735,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:07:41] local.INFO: GPS data processed {"connection_id":190829,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:07:41] local.INFO: Acknowledgment sent {"connection_id":190829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:07:41] local.INFO: TCP Data received {"connection_id":191022,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:07:41] local.INFO: Processing buffer {"connection_id":191022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:07:41] local.INFO: Packet analysis {"connection_id":191022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:07:41] local.INFO: Extracted packet for processing {"connection_id":191022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:07:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288199936001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790188582000,"timestamp_ms":1790188582000,"timestamp_seconds":1790188582,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf8df470"} 
[2026-09-24 00:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288199936001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288199936001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:07:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:07:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288199936001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":191022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:07:41] local.INFO: GPS data processed {"connection_id":191022,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:07:41] local.INFO: Acknowledgment sent {"connection_id":191022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:08:08] local.INFO: TCP Data received {"connection_id":193712,"ip":"117.225.187.176","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:08:08] local.INFO: Processing buffer {"connection_id":193712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:08:08] local.INFO: IMEI packet received {"connection_id":193712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 00:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":193712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:08:09] local.INFO: TCP Data received {"connection_id":193712,"ip":"117.225.187.176","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:08:09] local.INFO: Processing buffer {"connection_id":193712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:08:09] local.INFO: IMEI packet received {"connection_id":193712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 00:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":193712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:08:12] local.INFO: TCP Data received {"connection_id":191022,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:08:12] local.INFO: Processing buffer {"connection_id":191022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:08:12] local.INFO: Packet analysis {"connection_id":191022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:08:12] local.INFO: Extracted packet for processing {"connection_id":191022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:08:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288199936001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790188582000,"timestamp_ms":1790188582000,"timestamp_seconds":1790188582,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf8df470"} 
[2026-09-24 00:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288199936001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288199936001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:08:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:08:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288199936001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":191022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:08:12] local.INFO: GPS data processed {"connection_id":191022,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:08:12] local.INFO: Acknowledgment sent {"connection_id":191022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:08:14] local.INFO: TCP Data received {"connection_id":193712,"ip":"117.225.187.176","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:08:14] local.INFO: Processing buffer {"connection_id":193712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:08:14] local.INFO: IMEI packet received {"connection_id":193712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 00:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":193712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:08:15] local.INFO: TCP Data received {"connection_id":193712,"ip":"117.225.187.176","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf8d5060012c76c34008d1dd000040012a18..."} 
[2026-09-24 00:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf8d5060012c76c34008d1dd000040012a18..."} 
[2026-09-24 00:08:15] local.INFO: Processing buffer {"connection_id":193712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf8d5060012c76c34008d1dd000040012a18..."} 
[2026-09-24 00:08:15] local.INFO: Packet analysis {"connection_id":193712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:08:15] local.INFO: Extracted packet for processing {"connection_id":193712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:08:15] local.INFO: GPS Element Parsed {"raw_longitude":745980736,"raw_latitude":147971328,"longitude_deg":74.5980736,"latitude_deg":14.7971328,"altitude":64,"angle":298,"satellites":24,"speed":43,"hex_longitude":"2c76c340","hex_latitude":"08d1dd00","is_valid_coordinates":true} 
[2026-09-24 00:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288261632001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 00:08:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8576824053228720128,"note":"Value kept but may cause issues"} 
[2026-09-24 00:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,104,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790188540000,"timestamp_ms":1790188540000,"timestamp_seconds":1790188540,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf8d5060"} 
[2026-09-24 00:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 00:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 00:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":193712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":193712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 00:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":193712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 00:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.187.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 00:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 00:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288261632001,"66":27930,"36":206,"104":45568,"24":43,"16":3605341577150464,"44":8576824053228720128},"client_ip":"117.225.187.176","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,104,24,16,44]} 
[2026-09-24 00:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 00:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 00:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288261632001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:08:15] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-24 00:08:15] local.INFO: Unknown IO ID detected {"io_id":104,"value":45568,"description":"Unknown IO ID 104"} 
[2026-09-24 00:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:08:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8576824053228720128,"description":"Unknown IO ID 44"} 
[2026-09-24 00:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288261632001,"power":27930,"unknown_36":206,"unknown_104":45568,"ignition":43,"odometer":null,"unknown_44":8576824053228720128}} 
[2026-09-24 00:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":193712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887738,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:08:15] local.INFO: GPS data processed {"connection_id":193712,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:08:15] local.INFO: Acknowledgment sent {"connection_id":193712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:08:30] local.INFO: TCP Data received {"connection_id":191023,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:08:30] local.INFO: Processing buffer {"connection_id":191023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:08:30] local.INFO: IMEI packet received {"connection_id":191023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":191023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:08:35] local.INFO: TCP Data received {"connection_id":191023,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:08:35] local.INFO: Processing buffer {"connection_id":191023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:08:35] local.INFO: IMEI packet received {"connection_id":191023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":191023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:08:36] local.INFO: TCP Data received {"connection_id":191023,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:08:36] local.INFO: Processing buffer {"connection_id":191023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:08:36] local.INFO: Packet analysis {"connection_id":191023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:08:36] local.INFO: Extracted packet for processing {"connection_id":191023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288199936001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790188582000,"timestamp_ms":1790188582000,"timestamp_seconds":1790188582,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf8df470"} 
[2026-09-24 00:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288199936001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288199936001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:08:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288199936001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":191023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:08:36] local.INFO: GPS data processed {"connection_id":191023,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:08:36] local.INFO: Acknowledgment sent {"connection_id":191023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:08:46] local.INFO: TCP Data received {"connection_id":193712,"ip":"117.225.187.176","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf8d96b0012c76818008d1f3b00041011a1b..."} 
[2026-09-24 00:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf8d96b0012c76818008d1f3b00041011a1b..."} 
[2026-09-24 00:08:46] local.INFO: Processing buffer {"connection_id":193712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf8d96b0012c76818008d1f3b00041011a1b..."} 
[2026-09-24 00:08:46] local.INFO: Packet analysis {"connection_id":193712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:08:46] local.INFO: Extracted packet for processing {"connection_id":193712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:08:46] local.INFO: GPS Element Parsed {"raw_longitude":745963904,"raw_latitude":147977136,"longitude_deg":74.5963904,"latitude_deg":14.7977136,"altitude":65,"angle":282,"satellites":27,"speed":37,"hex_longitude":"2c768180","hex_latitude":"08d1f3b0","is_valid_coordinates":true} 
[2026-09-24 00:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288266240001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 00:08:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8557754123558912000,"note":"Value kept but may cause issues"} 
[2026-09-24 00:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,104,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790188558000,"timestamp_ms":1790188558000,"timestamp_seconds":1790188558,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf8d96b0"} 
[2026-09-24 00:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 00:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-24 00:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 00:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 00:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.187.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 00:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 00:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288266240001,"66":27745,"36":206,"104":45568,"24":37,"16":3605341577150464,"44":8557754123558912000},"client_ip":"117.225.187.176","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,104,24,16,44]} 
[2026-09-24 00:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 00:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 00:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288266240001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:08:46] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-24 00:08:46] local.INFO: Unknown IO ID detected {"io_id":104,"value":45568,"description":"Unknown IO ID 104"} 
[2026-09-24 00:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:08:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":8557754123558912000,"description":"Unknown IO ID 44"} 
[2026-09-24 00:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288266240001,"power":27745,"unknown_36":206,"unknown_104":45568,"ignition":37,"odometer":null,"unknown_44":8557754123558912000}} 
[2026-09-24 00:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":193712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887740,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:08:46] local.INFO: GPS data processed {"connection_id":193712,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:08:46] local.INFO: Acknowledgment sent {"connection_id":193712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:09:08] local.INFO: TCP Data received {"connection_id":191023,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:09:08] local.INFO: Processing buffer {"connection_id":191023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:09:08] local.INFO: Packet analysis {"connection_id":191023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:09:08] local.INFO: Extracted packet for processing {"connection_id":191023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288199936001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790188582000,"timestamp_ms":1790188582000,"timestamp_seconds":1790188582,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf8df470"} 
[2026-09-24 00:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288199936001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288199936001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:09:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288199936001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":191023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:09:08] local.INFO: GPS data processed {"connection_id":191023,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:09:08] local.INFO: Acknowledgment sent {"connection_id":191023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:09:08] local.INFO: TCP Data received {"connection_id":191024,"ip":"117.225.187.176","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:09:08] local.INFO: Processing buffer {"connection_id":191024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:09:08] local.INFO: IMEI packet received {"connection_id":191024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 00:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":191024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:09:09] local.INFO: TCP Data received {"connection_id":191024,"ip":"117.225.187.176","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:09:09] local.INFO: Processing buffer {"connection_id":191024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:09:09] local.INFO: IMEI packet received {"connection_id":191024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 00:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":191024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:09:14] local.INFO: TCP Data received {"connection_id":191024,"ip":"117.225.187.176","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:09:14] local.INFO: Processing buffer {"connection_id":191024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:09:14] local.INFO: IMEI packet received {"connection_id":191024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 00:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":191024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:09:15] local.INFO: TCP Data received {"connection_id":191024,"ip":"117.225.187.176","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf8de0e8012c7636c008d1f7b0004301091c..."} 
[2026-09-24 00:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf8de0e8012c7636c008d1f7b0004301091c..."} 
[2026-09-24 00:09:15] local.INFO: Processing buffer {"connection_id":191024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf8de0e8012c7636c008d1f7b0004301091c..."} 
[2026-09-24 00:09:15] local.INFO: Packet analysis {"connection_id":191024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:09:15] local.INFO: Extracted packet for processing {"connection_id":191024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:09:15] local.INFO: GPS Element Parsed {"raw_longitude":745944768,"raw_latitude":147978160,"longitude_deg":74.5944768,"latitude_deg":14.797816,"altitude":67,"angle":265,"satellites":28,"speed":41,"hex_longitude":"2c7636c0","hex_latitude":"08d1f7b0","is_valid_coordinates":true} 
[2026-09-24 00:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288270848001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 00:09:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8539247143841673216,"note":"Value kept but may cause issues"} 
[2026-09-24 00:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790188577000,"timestamp_ms":1790188577000,"timestamp_seconds":1790188577,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf8de0e8"} 
[2026-09-24 00:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 00:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 00:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191024,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 00:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191024,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 00:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.187.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 00:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 00:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288270848001,"66":27887,"27":206,"9":55808,"24":41,"16":3605341577150464,"44":8539247143841673216},"client_ip":"117.225.187.176","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,9,24,16,44]} 
[2026-09-24 00:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 00:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 00:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288270848001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:09:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-24 00:09:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-24 00:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:09:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":8539247143841673216,"description":"Unknown IO ID 44"} 
[2026-09-24 00:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288270848001,"power":27887,"unknown_27":206,"unknown_9":55808,"ignition":41,"odometer":null,"unknown_44":8539247143841673216}} 
[2026-09-24 00:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":191024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887742,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:09:15] local.INFO: GPS data processed {"connection_id":191024,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:09:15] local.INFO: Acknowledgment sent {"connection_id":191024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:09:30] local.INFO: TCP Data received {"connection_id":191025,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:09:30] local.INFO: Processing buffer {"connection_id":191025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:09:30] local.INFO: IMEI packet received {"connection_id":191025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":191025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:09:35] local.INFO: TCP Data received {"connection_id":191025,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:09:35] local.INFO: Processing buffer {"connection_id":191025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:09:35] local.INFO: IMEI packet received {"connection_id":191025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":191025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:09:36] local.INFO: TCP Data received {"connection_id":191025,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:09:36] local.INFO: Processing buffer {"connection_id":191025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:09:36] local.INFO: Packet analysis {"connection_id":191025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:09:36] local.INFO: Extracted packet for processing {"connection_id":191025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288199936001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790188582000,"timestamp_ms":1790188582000,"timestamp_seconds":1790188582,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf8df470"} 
[2026-09-24 00:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288199936001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288199936001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:09:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:09:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288199936001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":191025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:09:36] local.INFO: GPS data processed {"connection_id":191025,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:09:36] local.INFO: Acknowledgment sent {"connection_id":191025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:09:47] local.INFO: TCP Data received {"connection_id":191024,"ip":"117.225.187.176","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf8e2738012c75e9c008d1f3100042011a1e..."} 
[2026-09-24 00:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf8e2738012c75e9c008d1f3100042011a1e..."} 
[2026-09-24 00:09:47] local.INFO: Processing buffer {"connection_id":191024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf8e2738012c75e9c008d1f3100042011a1e..."} 
[2026-09-24 00:09:47] local.INFO: Packet analysis {"connection_id":191024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf8e"} 
[2026-09-24 00:09:47] local.INFO: Extracted packet for processing {"connection_id":191024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf8e"} 
[2026-09-24 00:09:47] local.INFO: GPS Element Parsed {"raw_longitude":745925056,"raw_latitude":147976976,"longitude_deg":74.5925056,"latitude_deg":14.7976976,"altitude":66,"angle":282,"satellites":30,"speed":31,"hex_longitude":"2c75e9c0","hex_latitude":"08d1f310","is_valid_coordinates":true} 
[2026-09-24 00:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288275712001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 00:09:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8518206889332813824,"note":"Value kept but may cause issues"} 
[2026-09-24 00:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790188595000,"timestamp_ms":1790188595000,"timestamp_seconds":1790188595,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf8e2738"} 
[2026-09-24 00:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 00:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-24 00:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191024,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 00:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191024,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 00:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.187.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 00:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 00:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288275712001,"66":27952,"27":206,"9":55808,"24":31,"16":3605341577150464,"44":8518206889332813824},"client_ip":"117.225.187.176","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,9,24,16,44]} 
[2026-09-24 00:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 00:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 00:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288275712001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:09:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-24 00:09:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-24 00:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:09:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":8518206889332813824,"description":"Unknown IO ID 44"} 
[2026-09-24 00:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288275712001,"power":27952,"unknown_27":206,"unknown_9":55808,"ignition":31,"odometer":null,"unknown_44":8518206889332813824}} 
[2026-09-24 00:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":191024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887744,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:09:47] local.INFO: GPS data processed {"connection_id":191024,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:09:47] local.INFO: Acknowledgment sent {"connection_id":191024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:10:09] local.INFO: TCP Data received {"connection_id":191025,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:10:09] local.INFO: Processing buffer {"connection_id":191025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:10:09] local.INFO: Packet analysis {"connection_id":191025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:10:09] local.INFO: Extracted packet for processing {"connection_id":191025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288199936001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790188582000,"timestamp_ms":1790188582000,"timestamp_seconds":1790188582,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf8df470"} 
[2026-09-24 00:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288199936001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288199936001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288199936001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":191025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:10:09] local.INFO: GPS data processed {"connection_id":191025,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:10:09] local.INFO: Acknowledgment sent {"connection_id":191025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:10:14] local.INFO: TCP Data received {"connection_id":193713,"ip":"117.225.187.176","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193713,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:10:14] local.INFO: Processing buffer {"connection_id":193713,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:10:14] local.INFO: IMEI packet received {"connection_id":193713,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 00:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":193713,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:10:19] local.INFO: TCP Data received {"connection_id":193713,"ip":"117.225.187.176","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193713,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:10:19] local.INFO: Processing buffer {"connection_id":193713,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 00:10:19] local.INFO: IMEI packet received {"connection_id":193713,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 00:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":193713,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:10:20] local.INFO: TCP Data received {"connection_id":193713,"ip":"117.225.187.176","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf8e7940012c75a64008d21c00003b011b1b..."} 
[2026-09-24 00:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf8e7940012c75a64008d21c00003b011b1b..."} 
[2026-09-24 00:10:20] local.INFO: Processing buffer {"connection_id":193713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf8e7940012c75a64008d21c00003b011b1b..."} 
[2026-09-24 00:10:20] local.INFO: Packet analysis {"connection_id":193713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf8e"} 
[2026-09-24 00:10:20] local.INFO: Extracted packet for processing {"connection_id":193713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf8e"} 
[2026-09-24 00:10:20] local.INFO: GPS Element Parsed {"raw_longitude":745907776,"raw_latitude":147987456,"longitude_deg":74.5907776,"latitude_deg":14.7987456,"altitude":59,"angle":283,"satellites":27,"speed":0,"hex_longitude":"2c75a640","hex_latitude":"08d21c00","is_valid_coordinates":true} 
[2026-09-24 00:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288280320001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 00:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8496533316125790208,"note":"Value kept but may cause issues"} 
[2026-09-24 00:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790188616000,"timestamp_ms":1790188616000,"timestamp_seconds":1790188616,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf8e7940"} 
[2026-09-24 00:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 00:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 00:10:20] 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-09-24 00:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":193713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":193713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 00:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":193713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 00:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.187.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 00:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 00:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288280320001,"66":28050,"27":206,"9":55808,"24":0,"16":3605341577150464,"44":8496533316125790208},"client_ip":"117.225.187.176","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,9,24,16,44]} 
[2026-09-24 00:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 00:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 00:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288280320001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:10:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-24 00:10:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-24 00:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":8496533316125790208,"description":"Unknown IO ID 44"} 
[2026-09-24 00:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288280320001,"power":28050,"unknown_27":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":8496533316125790208}} 
[2026-09-24 00:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":193713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887746,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:10:20] local.INFO: GPS data processed {"connection_id":193713,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:10:20] local.INFO: Acknowledgment sent {"connection_id":193713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:10:24] local.INFO: TCP Data received {"connection_id":193713,"ip":"117.225.187.176","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf8ecb48012c75554008d22ad0003301121b..."} 
[2026-09-24 00:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf8ecb48012c75554008d22ad0003301121b..."} 
[2026-09-24 00:10:24] local.INFO: Processing buffer {"connection_id":193713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf8ecb48012c75554008d22ad0003301121b..."} 
[2026-09-24 00:10:24] local.INFO: Packet analysis {"connection_id":193713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf8e"} 
[2026-09-24 00:10:24] local.INFO: Extracted packet for processing {"connection_id":193713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf8e"} 
[2026-09-24 00:10:24] local.INFO: GPS Element Parsed {"raw_longitude":745887040,"raw_latitude":147991248,"longitude_deg":74.588704,"latitude_deg":14.7991248,"altitude":51,"angle":274,"satellites":27,"speed":0,"hex_longitude":"2c755540","hex_latitude":"08d22ad0","is_valid_coordinates":true} 
[2026-09-24 00:10: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-09-24 00:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288285696001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 00:10:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8477533755200503808,"note":"Value kept but may cause issues"} 
[2026-09-24 00:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790188637000,"timestamp_ms":1790188637000,"timestamp_seconds":1790188637,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf8ecb48"} 
[2026-09-24 00:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 00:10: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-24 00:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:10: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-09-24 00:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":193713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":193713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 00:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":193713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 00:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.187.176","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 00:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 00:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288285696001,"66":27767,"27":206,"9":55808,"24":0,"16":3605341577150464,"44":8477533755200503808},"client_ip":"117.225.187.176","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,9,24,16,44]} 
[2026-09-24 00:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 00:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 00:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288285696001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:10:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-24 00:10:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-24 00:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:10:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":8477533755200503808,"description":"Unknown IO ID 44"} 
[2026-09-24 00:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288285696001,"power":27767,"unknown_27":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":8477533755200503808}} 
[2026-09-24 00:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":193713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887747,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:10:24] local.INFO: GPS data processed {"connection_id":193713,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:10:24] local.INFO: Acknowledgment sent {"connection_id":193713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:10:30] local.INFO: TCP Data received {"connection_id":192365,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:10:30] local.INFO: Processing buffer {"connection_id":192365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:10:30] local.INFO: IMEI packet received {"connection_id":192365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":192365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:10:35] local.INFO: TCP Data received {"connection_id":192365,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:10:35] local.INFO: Processing buffer {"connection_id":192365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:10:35] local.INFO: IMEI packet received {"connection_id":192365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":192365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:10:36] local.INFO: TCP Data received {"connection_id":192365,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:10:36] local.INFO: Processing buffer {"connection_id":192365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:10:36] local.INFO: Packet analysis {"connection_id":192365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:10:36] local.INFO: Extracted packet for processing {"connection_id":192365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288199936001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790188582000,"timestamp_ms":1790188582000,"timestamp_seconds":1790188582,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf8df470"} 
[2026-09-24 00:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288199936001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288199936001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:10:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288199936001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":192365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:10:36] local.INFO: GPS data processed {"connection_id":192365,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:10:36] local.INFO: Acknowledgment sent {"connection_id":192365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:11:08] local.INFO: TCP Data received {"connection_id":192365,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:11:08] local.INFO: Processing buffer {"connection_id":192365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:11:08] local.INFO: Packet analysis {"connection_id":192365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:11:08] local.INFO: Extracted packet for processing {"connection_id":192365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288199936001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790188582000,"timestamp_ms":1790188582000,"timestamp_seconds":1790188582,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf8df470"} 
[2026-09-24 00:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288199936001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288199936001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:11:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:11:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288199936001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":192365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:11:08] local.INFO: GPS data processed {"connection_id":192365,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:11:08] local.INFO: Acknowledgment sent {"connection_id":192365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:11:30] local.INFO: TCP Data received {"connection_id":192366,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:11:30] local.INFO: Processing buffer {"connection_id":192366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:11:30] local.INFO: IMEI packet received {"connection_id":192366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":192366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:11:35] local.INFO: TCP Data received {"connection_id":192366,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:11:35] local.INFO: Processing buffer {"connection_id":192366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:11:35] local.INFO: IMEI packet received {"connection_id":192366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":192366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:11:36] local.INFO: TCP Data received {"connection_id":192366,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:11:36] local.INFO: Processing buffer {"connection_id":192366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf8df470012d34c58006aa47580009010523..."} 
[2026-09-24 00:11:36] local.INFO: Packet analysis {"connection_id":192366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:11:36] local.INFO: Extracted packet for processing {"connection_id":192366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf8d"} 
[2026-09-24 00:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288199936001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790188582000,"timestamp_ms":1790188582000,"timestamp_seconds":1790188582,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf8df470"} 
[2026-09-24 00:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288199936001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288199936001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:11:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:11:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288199936001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":192366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:11:36] local.INFO: GPS data processed {"connection_id":192366,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:11:36] local.INFO: Acknowledgment sent {"connection_id":192366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:12:08] local.INFO: TCP Data received {"connection_id":192366,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:12:08] local.INFO: Processing buffer {"connection_id":192366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:12:08] local.INFO: Packet analysis {"connection_id":192366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf92"} 
[2026-09-24 00:12:08] local.INFO: Extracted packet for processing {"connection_id":192366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf92"} 
[2026-09-24 00:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288276992001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790188883000,"timestamp_ms":1790188883000,"timestamp_seconds":1790188883,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf928c38"} 
[2026-09-24 00:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288276992001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288276992001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:12:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288276992001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":192366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:12:08] local.INFO: GPS data processed {"connection_id":192366,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:12:08] local.INFO: Acknowledgment sent {"connection_id":192366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:12:35] local.INFO: TCP Data received {"connection_id":191026,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:12:35] local.INFO: Processing buffer {"connection_id":191026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:12:35] local.INFO: IMEI packet received {"connection_id":191026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":191026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:12:40] local.INFO: TCP Data received {"connection_id":191026,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:12:40] local.INFO: Processing buffer {"connection_id":191026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:12:40] local.INFO: IMEI packet received {"connection_id":191026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":191026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:12:41] local.INFO: TCP Data received {"connection_id":191026,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:12:41] local.INFO: Processing buffer {"connection_id":191026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:12:41] local.INFO: Packet analysis {"connection_id":191026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf92"} 
[2026-09-24 00:12:41] local.INFO: Extracted packet for processing {"connection_id":191026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf92"} 
[2026-09-24 00:12:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288276992001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790188883000,"timestamp_ms":1790188883000,"timestamp_seconds":1790188883,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf928c38"} 
[2026-09-24 00:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288276992001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288276992001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:12:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:12:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288276992001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":191026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:12:41] local.INFO: GPS data processed {"connection_id":191026,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:12:41] local.INFO: Acknowledgment sent {"connection_id":191026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:13:15] local.INFO: TCP Data received {"connection_id":191026,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:13:15] local.INFO: Processing buffer {"connection_id":191026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:13:15] local.INFO: Packet analysis {"connection_id":191026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf92"} 
[2026-09-24 00:13:15] local.INFO: Extracted packet for processing {"connection_id":191026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf92"} 
[2026-09-24 00:13:15] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288276992001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790188883000,"timestamp_ms":1790188883000,"timestamp_seconds":1790188883,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf928c38"} 
[2026-09-24 00:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288276992001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288276992001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:13:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:13:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288276992001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":191026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:13:15] local.INFO: GPS data processed {"connection_id":191026,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:13:15] local.INFO: Acknowledgment sent {"connection_id":191026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:13:30] local.INFO: TCP Data received {"connection_id":193714,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:13:30] local.INFO: Processing buffer {"connection_id":193714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:13:30] local.INFO: IMEI packet received {"connection_id":193714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":193714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:13:35] local.INFO: TCP Data received {"connection_id":193714,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:13:35] local.INFO: Processing buffer {"connection_id":193714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:13:35] local.INFO: IMEI packet received {"connection_id":193714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":193714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:13:36] local.INFO: TCP Data received {"connection_id":193714,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:13:36] local.INFO: Processing buffer {"connection_id":193714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:13:36] local.INFO: Packet analysis {"connection_id":193714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf92"} 
[2026-09-24 00:13:36] local.INFO: Extracted packet for processing {"connection_id":193714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf92"} 
[2026-09-24 00:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288276992001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790188883000,"timestamp_ms":1790188883000,"timestamp_seconds":1790188883,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf928c38"} 
[2026-09-24 00:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288276992001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288276992001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:13:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:13:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288276992001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":193714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:13:36] local.INFO: GPS data processed {"connection_id":193714,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:13:36] local.INFO: Acknowledgment sent {"connection_id":193714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:14:09] local.INFO: TCP Data received {"connection_id":193714,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:14:09] local.INFO: Processing buffer {"connection_id":193714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:14:09] local.INFO: Packet analysis {"connection_id":193714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf92"} 
[2026-09-24 00:14:09] local.INFO: Extracted packet for processing {"connection_id":193714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf92"} 
[2026-09-24 00:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288276992001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790188883000,"timestamp_ms":1790188883000,"timestamp_seconds":1790188883,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf928c38"} 
[2026-09-24 00:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288276992001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288276992001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:14:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288276992001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":193714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:14:09] local.INFO: GPS data processed {"connection_id":193714,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:14:09] local.INFO: Acknowledgment sent {"connection_id":193714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:14:30] local.INFO: TCP Data received {"connection_id":191027,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:14:30] local.INFO: Processing buffer {"connection_id":191027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:14:30] local.INFO: IMEI packet received {"connection_id":191027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":191027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:14:35] local.INFO: TCP Data received {"connection_id":191027,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:14:35] local.INFO: Processing buffer {"connection_id":191027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:14:35] local.INFO: IMEI packet received {"connection_id":191027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":191027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:14:37] local.INFO: TCP Data received {"connection_id":191027,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:14:37] local.INFO: Processing buffer {"connection_id":191027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:14:37] local.INFO: Packet analysis {"connection_id":191027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf92"} 
[2026-09-24 00:14:37] local.INFO: Extracted packet for processing {"connection_id":191027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf92"} 
[2026-09-24 00:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288276992001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790188883000,"timestamp_ms":1790188883000,"timestamp_seconds":1790188883,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf928c38"} 
[2026-09-24 00:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288276992001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288276992001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288276992001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":191027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:14:37] local.INFO: GPS data processed {"connection_id":191027,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:14:37] local.INFO: Acknowledgment sent {"connection_id":191027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:15:08] local.INFO: TCP Data received {"connection_id":191027,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:15:08] local.INFO: Processing buffer {"connection_id":191027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:15:08] local.INFO: Packet analysis {"connection_id":191027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf92"} 
[2026-09-24 00:15:08] local.INFO: Extracted packet for processing {"connection_id":191027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf92"} 
[2026-09-24 00:15:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288276992001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790188883000,"timestamp_ms":1790188883000,"timestamp_seconds":1790188883,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf928c38"} 
[2026-09-24 00:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288276992001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288276992001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:15:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:15:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288276992001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":191027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:15:08] local.INFO: GPS data processed {"connection_id":191027,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:15:08] local.INFO: Acknowledgment sent {"connection_id":191027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:15:30] local.INFO: TCP Data received {"connection_id":193715,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:15:30] local.INFO: Processing buffer {"connection_id":193715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:15:30] local.INFO: IMEI packet received {"connection_id":193715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":193715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:15:35] local.INFO: TCP Data received {"connection_id":193715,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:15:35] local.INFO: Processing buffer {"connection_id":193715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:15:35] local.INFO: IMEI packet received {"connection_id":193715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":193715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:15:36] local.INFO: TCP Data received {"connection_id":193715,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:15:36] local.INFO: Processing buffer {"connection_id":193715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:15:36] local.INFO: Packet analysis {"connection_id":193715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf92"} 
[2026-09-24 00:15:36] local.INFO: Extracted packet for processing {"connection_id":193715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf92"} 
[2026-09-24 00:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288276992001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790188883000,"timestamp_ms":1790188883000,"timestamp_seconds":1790188883,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf928c38"} 
[2026-09-24 00:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288276992001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288276992001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:15:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288276992001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":193715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:15:36] local.INFO: GPS data processed {"connection_id":193715,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:15:36] local.INFO: Acknowledgment sent {"connection_id":193715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:16:08] local.INFO: TCP Data received {"connection_id":193715,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:16:08] local.INFO: Processing buffer {"connection_id":193715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:16:08] local.INFO: Packet analysis {"connection_id":193715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf92"} 
[2026-09-24 00:16:08] local.INFO: Extracted packet for processing {"connection_id":193715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf92"} 
[2026-09-24 00:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288276992001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790188883000,"timestamp_ms":1790188883000,"timestamp_seconds":1790188883,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf928c38"} 
[2026-09-24 00:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288276992001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288276992001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:16:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288276992001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":193715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:16:08] local.INFO: GPS data processed {"connection_id":193715,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:16:08] local.INFO: Acknowledgment sent {"connection_id":193715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:16:35] local.INFO: TCP Data received {"connection_id":191028,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:16:35] local.INFO: Processing buffer {"connection_id":191028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:16:35] local.INFO: IMEI packet received {"connection_id":191028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":191028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:16:40] local.INFO: TCP Data received {"connection_id":191028,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:16:40] local.INFO: Processing buffer {"connection_id":191028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:16:40] local.INFO: IMEI packet received {"connection_id":191028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":191028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:16:41] local.INFO: TCP Data received {"connection_id":191028,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:16:41] local.INFO: Processing buffer {"connection_id":191028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:16:41] local.INFO: Packet analysis {"connection_id":191028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf92"} 
[2026-09-24 00:16:41] local.INFO: Extracted packet for processing {"connection_id":191028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf92"} 
[2026-09-24 00:16:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288276992001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790188883000,"timestamp_ms":1790188883000,"timestamp_seconds":1790188883,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf928c38"} 
[2026-09-24 00:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288276992001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288276992001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:16:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:16:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288276992001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":191028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:16:41] local.INFO: GPS data processed {"connection_id":191028,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:16:41] local.INFO: Acknowledgment sent {"connection_id":191028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:16:46] local.INFO: TCP Data received {"connection_id":191028,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:16:46] local.INFO: Processing buffer {"connection_id":191028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf928c38012d34c58006aa47580009010524..."} 
[2026-09-24 00:16:46] local.INFO: Packet analysis {"connection_id":191028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf92"} 
[2026-09-24 00:16:46] local.INFO: Extracted packet for processing {"connection_id":191028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf92"} 
[2026-09-24 00:16:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288276992001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790188883000,"timestamp_ms":1790188883000,"timestamp_seconds":1790188883,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf928c38"} 
[2026-09-24 00:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288276992001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288276992001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:16:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:16:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288276992001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":191028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:16:46] local.INFO: GPS data processed {"connection_id":191028,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:16:46] local.INFO: Acknowledgment sent {"connection_id":191028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:17:31] local.INFO: TCP Data received {"connection_id":191029,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:17:31] local.INFO: Processing buffer {"connection_id":191029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:17:31] local.INFO: IMEI packet received {"connection_id":191029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":191029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:17:35] local.INFO: TCP Data received {"connection_id":191029,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:17:35] local.INFO: Processing buffer {"connection_id":191029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:17:35] local.INFO: IMEI packet received {"connection_id":191029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":191029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:17:36] local.INFO: TCP Data received {"connection_id":191029,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:17:36] local.INFO: Processing buffer {"connection_id":191029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:17:36] local.INFO: Packet analysis {"connection_id":191029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf97"} 
[2026-09-24 00:17:36] local.INFO: Extracted packet for processing {"connection_id":191029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf97"} 
[2026-09-24 00:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288354048001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790189184000,"timestamp_ms":1790189184000,"timestamp_seconds":1790189184,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf972400"} 
[2026-09-24 00:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 00:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288354048001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288354048001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:17:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288354048001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":191029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:17:36] local.INFO: GPS data processed {"connection_id":191029,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:17:36] local.INFO: Acknowledgment sent {"connection_id":191029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:18:08] local.INFO: TCP Data received {"connection_id":191029,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:18:08] local.INFO: Processing buffer {"connection_id":191029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:18:08] local.INFO: Packet analysis {"connection_id":191029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf97"} 
[2026-09-24 00:18:08] local.INFO: Extracted packet for processing {"connection_id":191029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf97"} 
[2026-09-24 00:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288354048001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790189184000,"timestamp_ms":1790189184000,"timestamp_seconds":1790189184,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf972400"} 
[2026-09-24 00:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 00:18:08] 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-09-24 00: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-09-24 00:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288354048001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288354048001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:18:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:18:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288354048001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":191029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:18:08] local.INFO: GPS data processed {"connection_id":191029,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:18:08] local.INFO: Acknowledgment sent {"connection_id":191029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:18:31] local.INFO: TCP Data received {"connection_id":193716,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:18:31] local.INFO: Processing buffer {"connection_id":193716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:18:31] local.INFO: IMEI packet received {"connection_id":193716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":193716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:18:35] local.INFO: TCP Data received {"connection_id":193716,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:18:35] local.INFO: Processing buffer {"connection_id":193716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:18:35] local.INFO: IMEI packet received {"connection_id":193716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":193716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:18:36] local.INFO: TCP Data received {"connection_id":193716,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:18:36] local.INFO: Processing buffer {"connection_id":193716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:18:36] local.INFO: Packet analysis {"connection_id":193716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf97"} 
[2026-09-24 00:18:36] local.INFO: Extracted packet for processing {"connection_id":193716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf97"} 
[2026-09-24 00:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288354048001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790189184000,"timestamp_ms":1790189184000,"timestamp_seconds":1790189184,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf972400"} 
[2026-09-24 00:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 00:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288354048001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288354048001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:18:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:18:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288354048001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":193716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:18:36] local.INFO: GPS data processed {"connection_id":193716,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:18:36] local.INFO: Acknowledgment sent {"connection_id":193716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:19:08] local.INFO: TCP Data received {"connection_id":193716,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:19:08] local.INFO: Processing buffer {"connection_id":193716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:19:08] local.INFO: Packet analysis {"connection_id":193716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf97"} 
[2026-09-24 00:19:08] local.INFO: Extracted packet for processing {"connection_id":193716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf97"} 
[2026-09-24 00:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288354048001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790189184000,"timestamp_ms":1790189184000,"timestamp_seconds":1790189184,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf972400"} 
[2026-09-24 00:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 00:19:08] 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-09-24 00:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288354048001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288354048001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:19:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:19:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288354048001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":193716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:19:08] local.INFO: GPS data processed {"connection_id":193716,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:19:08] local.INFO: Acknowledgment sent {"connection_id":193716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:19:30] local.INFO: TCP Data received {"connection_id":193717,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:19:30] local.INFO: Processing buffer {"connection_id":193717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:19:30] local.INFO: IMEI packet received {"connection_id":193717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":193717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:19:35] local.INFO: TCP Data received {"connection_id":193717,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:19:35] local.INFO: Processing buffer {"connection_id":193717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:19:35] local.INFO: IMEI packet received {"connection_id":193717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":193717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:19:36] local.INFO: TCP Data received {"connection_id":193717,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:19:36] local.INFO: Processing buffer {"connection_id":193717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:19:36] local.INFO: Packet analysis {"connection_id":193717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf97"} 
[2026-09-24 00:19:36] local.INFO: Extracted packet for processing {"connection_id":193717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf97"} 
[2026-09-24 00:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 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-09-24 00:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288354048001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790189184000,"timestamp_ms":1790189184000,"timestamp_seconds":1790189184,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf972400"} 
[2026-09-24 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-09-24 00:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 00:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 00:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288354048001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288354048001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:19:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:19:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288354048001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":193717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:19:36] local.INFO: GPS data processed {"connection_id":193717,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:19:36] local.INFO: Acknowledgment sent {"connection_id":193717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:20:07] local.INFO: TCP Data received {"connection_id":193717,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:20:07] local.INFO: Processing buffer {"connection_id":193717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:20:07] local.INFO: Packet analysis {"connection_id":193717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf97"} 
[2026-09-24 00:20:07] local.INFO: Extracted packet for processing {"connection_id":193717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf97"} 
[2026-09-24 00:20:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288354048001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790189184000,"timestamp_ms":1790189184000,"timestamp_seconds":1790189184,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf972400"} 
[2026-09-24 00:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 00:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288354048001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288354048001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:20:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:20:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288354048001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":193717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:20:07] local.INFO: GPS data processed {"connection_id":193717,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:20:07] local.INFO: Acknowledgment sent {"connection_id":193717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:20:30] local.INFO: TCP Data received {"connection_id":193718,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:20:30] local.INFO: Processing buffer {"connection_id":193718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:20:30] local.INFO: IMEI packet received {"connection_id":193718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":193718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:20:35] local.INFO: TCP Data received {"connection_id":193718,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:20:35] local.INFO: Processing buffer {"connection_id":193718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:20:35] local.INFO: IMEI packet received {"connection_id":193718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":193718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:20:36] local.INFO: TCP Data received {"connection_id":193718,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:20:36] local.INFO: Processing buffer {"connection_id":193718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:20:36] local.INFO: Packet analysis {"connection_id":193718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf97"} 
[2026-09-24 00:20:36] local.INFO: Extracted packet for processing {"connection_id":193718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf97"} 
[2026-09-24 00:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288354048001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790189184000,"timestamp_ms":1790189184000,"timestamp_seconds":1790189184,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf972400"} 
[2026-09-24 00:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 00:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288354048001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288354048001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:20:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:20:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288354048001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":193718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:20:36] local.INFO: GPS data processed {"connection_id":193718,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:20:36] local.INFO: Acknowledgment sent {"connection_id":193718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:21:09] local.INFO: TCP Data received {"connection_id":193718,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:21:09] local.INFO: Processing buffer {"connection_id":193718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:21:09] local.INFO: Packet analysis {"connection_id":193718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf97"} 
[2026-09-24 00:21:09] local.INFO: Extracted packet for processing {"connection_id":193718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf97"} 
[2026-09-24 00:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288354048001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790189184000,"timestamp_ms":1790189184000,"timestamp_seconds":1790189184,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf972400"} 
[2026-09-24 00:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 00:21: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-09-24 00: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-09-24 00:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288354048001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288354048001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288354048001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":193718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:21:09] local.INFO: GPS data processed {"connection_id":193718,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:21:09] local.INFO: Acknowledgment sent {"connection_id":193718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:21:30] local.INFO: TCP Data received {"connection_id":190830,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:21:30] local.INFO: Processing buffer {"connection_id":190830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:21:30] local.INFO: IMEI packet received {"connection_id":190830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":190830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:21:35] local.INFO: TCP Data received {"connection_id":190830,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:21:35] local.INFO: Processing buffer {"connection_id":190830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:21:35] local.INFO: IMEI packet received {"connection_id":190830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":190830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:21:37] local.INFO: TCP Data received {"connection_id":190830,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:21:37] local.INFO: Processing buffer {"connection_id":190830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf972400012d34c58006aa47580009010524..."} 
[2026-09-24 00:21:37] local.INFO: Packet analysis {"connection_id":190830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf97"} 
[2026-09-24 00:21:37] local.INFO: Extracted packet for processing {"connection_id":190830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf97"} 
[2026-09-24 00:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288354048001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790189184000,"timestamp_ms":1790189184000,"timestamp_seconds":1790189184,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf972400"} 
[2026-09-24 00:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 00:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288354048001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288354048001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:21:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:21:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288354048001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":190830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:21:37] local.INFO: GPS data processed {"connection_id":190830,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:21:37] local.INFO: Acknowledgment sent {"connection_id":190830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:22:09] local.INFO: TCP Data received {"connection_id":190830,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:22:09] local.INFO: Processing buffer {"connection_id":190830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:22:09] local.INFO: Packet analysis {"connection_id":190830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf9b"} 
[2026-09-24 00:22:09] local.INFO: Extracted packet for processing {"connection_id":190830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf9b"} 
[2026-09-24 00:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288431104001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790189485000,"timestamp_ms":1790189485000,"timestamp_seconds":1790189485,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf9bbbc8"} 
[2026-09-24 00:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 00:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288431104001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288431104001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:22:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:22:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288431104001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":190830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:22:09] local.INFO: GPS data processed {"connection_id":190830,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:22:09] local.INFO: Acknowledgment sent {"connection_id":190830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:22:35] local.INFO: TCP Data received {"connection_id":190831,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:22:35] local.INFO: Processing buffer {"connection_id":190831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:22:35] local.INFO: IMEI packet received {"connection_id":190831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":190831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:22:40] local.INFO: TCP Data received {"connection_id":190831,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:22:40] local.INFO: Processing buffer {"connection_id":190831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:22:40] local.INFO: IMEI packet received {"connection_id":190831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":190831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:22:41] local.INFO: TCP Data received {"connection_id":190831,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:22:41] local.INFO: Processing buffer {"connection_id":190831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:22:41] local.INFO: Packet analysis {"connection_id":190831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf9b"} 
[2026-09-24 00:22:41] local.INFO: Extracted packet for processing {"connection_id":190831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf9b"} 
[2026-09-24 00:22:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288431104001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790189485000,"timestamp_ms":1790189485000,"timestamp_seconds":1790189485,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf9bbbc8"} 
[2026-09-24 00:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 00:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288431104001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288431104001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:22:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:22:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288431104001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":190831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:22:41] local.INFO: GPS data processed {"connection_id":190831,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:22:41] local.INFO: Acknowledgment sent {"connection_id":190831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:23:13] local.INFO: TCP Data received {"connection_id":190831,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:23:13] local.INFO: Processing buffer {"connection_id":190831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:23:13] local.INFO: Packet analysis {"connection_id":190831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf9b"} 
[2026-09-24 00:23:13] local.INFO: Extracted packet for processing {"connection_id":190831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf9b"} 
[2026-09-24 00:23:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288431104001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790189485000,"timestamp_ms":1790189485000,"timestamp_seconds":1790189485,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf9bbbc8"} 
[2026-09-24 00:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 00:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288431104001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288431104001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:23:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:23:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288431104001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":190831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:23:13] local.INFO: GPS data processed {"connection_id":190831,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:23:13] local.INFO: Acknowledgment sent {"connection_id":190831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:23:30] local.INFO: TCP Data received {"connection_id":191030,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:23:30] local.INFO: Processing buffer {"connection_id":191030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:23:30] local.INFO: IMEI packet received {"connection_id":191030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":191030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:23:35] local.INFO: TCP Data received {"connection_id":191030,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:23:35] local.INFO: Processing buffer {"connection_id":191030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:23:35] local.INFO: IMEI packet received {"connection_id":191030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":191030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:23:36] local.INFO: TCP Data received {"connection_id":191030,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:23:36] local.INFO: Processing buffer {"connection_id":191030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:23:36] local.INFO: Packet analysis {"connection_id":191030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf9b"} 
[2026-09-24 00:23:36] local.INFO: Extracted packet for processing {"connection_id":191030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf9b"} 
[2026-09-24 00:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288431104001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790189485000,"timestamp_ms":1790189485000,"timestamp_seconds":1790189485,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf9bbbc8"} 
[2026-09-24 00:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 00:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288431104001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288431104001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:23:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288431104001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":191030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:23:36] local.INFO: GPS data processed {"connection_id":191030,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:23:36] local.INFO: Acknowledgment sent {"connection_id":191030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:24:10] local.INFO: TCP Data received {"connection_id":191030,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:24:10] local.INFO: Processing buffer {"connection_id":191030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:24:10] local.INFO: Packet analysis {"connection_id":191030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf9b"} 
[2026-09-24 00:24:10] local.INFO: Extracted packet for processing {"connection_id":191030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf9b"} 
[2026-09-24 00:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288431104001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790189485000,"timestamp_ms":1790189485000,"timestamp_seconds":1790189485,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf9bbbc8"} 
[2026-09-24 00:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 00:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288431104001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288431104001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:24:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288431104001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":191030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:24:10] local.INFO: GPS data processed {"connection_id":191030,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:24:10] local.INFO: Acknowledgment sent {"connection_id":191030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:24:30] local.INFO: TCP Data received {"connection_id":193719,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:24:30] local.INFO: Processing buffer {"connection_id":193719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:24:30] local.INFO: IMEI packet received {"connection_id":193719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":193719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:24:35] local.INFO: TCP Data received {"connection_id":193719,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:24:35] local.INFO: Processing buffer {"connection_id":193719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:24:35] local.INFO: IMEI packet received {"connection_id":193719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":193719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:24:36] local.INFO: TCP Data received {"connection_id":193719,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:24:36] local.INFO: Processing buffer {"connection_id":193719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:24:36] local.INFO: Packet analysis {"connection_id":193719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf9b"} 
[2026-09-24 00:24:36] local.INFO: Extracted packet for processing {"connection_id":193719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf9b"} 
[2026-09-24 00:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288431104001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790189485000,"timestamp_ms":1790189485000,"timestamp_seconds":1790189485,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf9bbbc8"} 
[2026-09-24 00:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 00:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288431104001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288431104001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:24:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:24:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288431104001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":193719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:24:36] local.INFO: GPS data processed {"connection_id":193719,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:24:36] local.INFO: Acknowledgment sent {"connection_id":193719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:25:09] local.INFO: TCP Data received {"connection_id":193719,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:25:09] local.INFO: Processing buffer {"connection_id":193719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:25:09] local.INFO: Packet analysis {"connection_id":193719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf9b"} 
[2026-09-24 00:25:09] local.INFO: Extracted packet for processing {"connection_id":193719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf9b"} 
[2026-09-24 00:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288431104001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790189485000,"timestamp_ms":1790189485000,"timestamp_seconds":1790189485,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf9bbbc8"} 
[2026-09-24 00:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 00:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288431104001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288431104001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:25:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:25:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288431104001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":193719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:25:09] local.INFO: GPS data processed {"connection_id":193719,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:25:09] local.INFO: Acknowledgment sent {"connection_id":193719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:25:30] local.INFO: TCP Data received {"connection_id":192367,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:25:30] local.INFO: Processing buffer {"connection_id":192367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:25:30] local.INFO: IMEI packet received {"connection_id":192367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":192367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:25:35] local.INFO: TCP Data received {"connection_id":192367,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:25:35] local.INFO: Processing buffer {"connection_id":192367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:25:35] local.INFO: IMEI packet received {"connection_id":192367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":192367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:25:37] local.INFO: TCP Data received {"connection_id":192367,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:25:37] local.INFO: Processing buffer {"connection_id":192367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:25:37] local.INFO: Packet analysis {"connection_id":192367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf9b"} 
[2026-09-24 00:25:37] local.INFO: Extracted packet for processing {"connection_id":192367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf9b"} 
[2026-09-24 00:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288431104001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790189485000,"timestamp_ms":1790189485000,"timestamp_seconds":1790189485,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf9bbbc8"} 
[2026-09-24 00:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 00:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288431104001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288431104001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:25:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288431104001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":192367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:25:37] local.INFO: GPS data processed {"connection_id":192367,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:25:37] local.INFO: Acknowledgment sent {"connection_id":192367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:26:09] local.INFO: TCP Data received {"connection_id":192367,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:26:09] local.INFO: Processing buffer {"connection_id":192367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:26:09] local.INFO: Packet analysis {"connection_id":192367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf9b"} 
[2026-09-24 00:26:09] local.INFO: Extracted packet for processing {"connection_id":192367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf9b"} 
[2026-09-24 00:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288431104001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790189485000,"timestamp_ms":1790189485000,"timestamp_seconds":1790189485,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf9bbbc8"} 
[2026-09-24 00:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 00:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288431104001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288431104001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288431104001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":192367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:26:09] local.INFO: GPS data processed {"connection_id":192367,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:26:09] local.INFO: Acknowledgment sent {"connection_id":192367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:26:35] local.INFO: TCP Data received {"connection_id":190832,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:26:35] local.INFO: Processing buffer {"connection_id":190832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:26:35] local.INFO: IMEI packet received {"connection_id":190832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":190832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:26:40] local.INFO: TCP Data received {"connection_id":190832,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:26:40] local.INFO: Processing buffer {"connection_id":190832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:26:40] local.INFO: IMEI packet received {"connection_id":190832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":190832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:26:42] local.INFO: TCP Data received {"connection_id":190832,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:26:42] local.INFO: Processing buffer {"connection_id":190832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:26:42] local.INFO: Packet analysis {"connection_id":190832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf9b"} 
[2026-09-24 00:26:42] local.INFO: Extracted packet for processing {"connection_id":190832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf9b"} 
[2026-09-24 00:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288431104001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790189485000,"timestamp_ms":1790189485000,"timestamp_seconds":1790189485,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf9bbbc8"} 
[2026-09-24 00:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 00:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288431104001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288431104001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:26:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:26:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288431104001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":190832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:26:42] local.INFO: GPS data processed {"connection_id":190832,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:26:42] local.INFO: Acknowledgment sent {"connection_id":190832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:26:46] local.INFO: TCP Data received {"connection_id":190832,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:26:46] local.INFO: Processing buffer {"connection_id":190832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cf9bbbc8012d34c58006aa47580009010523..."} 
[2026-09-24 00:26:46] local.INFO: Packet analysis {"connection_id":190832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cf9b"} 
[2026-09-24 00:26:46] local.INFO: Extracted packet for processing {"connection_id":190832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cf9b"} 
[2026-09-24 00:26:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288431104001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790189485000,"timestamp_ms":1790189485000,"timestamp_seconds":1790189485,"priority":1,"record_length":96,"hex_timestamp":"000001a0cf9bbbc8"} 
[2026-09-24 00:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 00:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288431104001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288431104001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:26:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:26:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288431104001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":190832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:26:46] local.INFO: GPS data processed {"connection_id":190832,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:26:46] local.INFO: Acknowledgment sent {"connection_id":190832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:27:30] local.INFO: TCP Data received {"connection_id":193720,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:27:30] local.INFO: Processing buffer {"connection_id":193720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:27:30] local.INFO: IMEI packet received {"connection_id":193720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":193720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:27:35] local.INFO: TCP Data received {"connection_id":193720,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:27:35] local.INFO: Processing buffer {"connection_id":193720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:27:35] local.INFO: IMEI packet received {"connection_id":193720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":193720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:27:36] local.INFO: TCP Data received {"connection_id":193720,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:27:36] local.INFO: Processing buffer {"connection_id":193720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:27:36] local.INFO: Packet analysis {"connection_id":193720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa0"} 
[2026-09-24 00:27:36] local.INFO: Extracted packet for processing {"connection_id":193720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa0"} 
[2026-09-24 00:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288508160001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790189786000,"timestamp_ms":1790189786000,"timestamp_seconds":1790189786,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa05390"} 
[2026-09-24 00:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288508160001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288508160001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:27:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:27:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288508160001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":193720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:27:36] local.INFO: GPS data processed {"connection_id":193720,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:27:36] local.INFO: Acknowledgment sent {"connection_id":193720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:28:08] local.INFO: TCP Data received {"connection_id":193720,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:28:08] local.INFO: Processing buffer {"connection_id":193720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:28:08] local.INFO: Packet analysis {"connection_id":193720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa0"} 
[2026-09-24 00:28:08] local.INFO: Extracted packet for processing {"connection_id":193720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa0"} 
[2026-09-24 00:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288508160001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790189786000,"timestamp_ms":1790189786000,"timestamp_seconds":1790189786,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa05390"} 
[2026-09-24 00:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288508160001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288508160001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:28:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288508160001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":193720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:28:08] local.INFO: GPS data processed {"connection_id":193720,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:28:08] local.INFO: Acknowledgment sent {"connection_id":193720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:28:30] local.INFO: TCP Data received {"connection_id":192368,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:28:30] local.INFO: Processing buffer {"connection_id":192368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:28:30] local.INFO: IMEI packet received {"connection_id":192368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":192368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:28:35] local.INFO: TCP Data received {"connection_id":192368,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:28:35] local.INFO: Processing buffer {"connection_id":192368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:28:35] local.INFO: IMEI packet received {"connection_id":192368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":192368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:28:36] local.INFO: TCP Data received {"connection_id":192368,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:28:36] local.INFO: Processing buffer {"connection_id":192368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:28:36] local.INFO: Packet analysis {"connection_id":192368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa0"} 
[2026-09-24 00:28:36] local.INFO: Extracted packet for processing {"connection_id":192368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa0"} 
[2026-09-24 00:28:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288508160001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790189786000,"timestamp_ms":1790189786000,"timestamp_seconds":1790189786,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa05390"} 
[2026-09-24 00:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288508160001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288508160001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:28:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:28:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288508160001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":192368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:28:36] local.INFO: GPS data processed {"connection_id":192368,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:28:36] local.INFO: Acknowledgment sent {"connection_id":192368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:29:08] local.INFO: TCP Data received {"connection_id":192368,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:29:08] local.INFO: Processing buffer {"connection_id":192368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:29:08] local.INFO: Packet analysis {"connection_id":192368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa0"} 
[2026-09-24 00:29:08] local.INFO: Extracted packet for processing {"connection_id":192368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa0"} 
[2026-09-24 00:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288508160001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790189786000,"timestamp_ms":1790189786000,"timestamp_seconds":1790189786,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa05390"} 
[2026-09-24 00:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288508160001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288508160001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:29:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:29:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288508160001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":192368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:29:08] local.INFO: GPS data processed {"connection_id":192368,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:29:08] local.INFO: Acknowledgment sent {"connection_id":192368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:29:30] local.INFO: TCP Data received {"connection_id":190833,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:29:30] local.INFO: Processing buffer {"connection_id":190833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:29:30] local.INFO: IMEI packet received {"connection_id":190833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":190833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:29:35] local.INFO: TCP Data received {"connection_id":190833,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:29:35] local.INFO: Processing buffer {"connection_id":190833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:29:35] local.INFO: IMEI packet received {"connection_id":190833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":190833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:29:36] local.INFO: TCP Data received {"connection_id":190833,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:29:36] local.INFO: Processing buffer {"connection_id":190833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:29:36] local.INFO: Packet analysis {"connection_id":190833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa0"} 
[2026-09-24 00:29:36] local.INFO: Extracted packet for processing {"connection_id":190833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa0"} 
[2026-09-24 00:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288508160001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790189786000,"timestamp_ms":1790189786000,"timestamp_seconds":1790189786,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa05390"} 
[2026-09-24 00:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288508160001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288508160001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:29:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:29:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288508160001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":190833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:29:36] local.INFO: GPS data processed {"connection_id":190833,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:29:36] local.INFO: Acknowledgment sent {"connection_id":190833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:30:08] local.INFO: TCP Data received {"connection_id":190833,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:30:08] local.INFO: Processing buffer {"connection_id":190833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:30:08] local.INFO: Packet analysis {"connection_id":190833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa0"} 
[2026-09-24 00:30:08] local.INFO: Extracted packet for processing {"connection_id":190833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa0"} 
[2026-09-24 00:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288508160001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790189786000,"timestamp_ms":1790189786000,"timestamp_seconds":1790189786,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa05390"} 
[2026-09-24 00:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288508160001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288508160001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:30:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:30:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288508160001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":190833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:30:08] local.INFO: GPS data processed {"connection_id":190833,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:30:08] local.INFO: Acknowledgment sent {"connection_id":190833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:30:30] local.INFO: TCP Data received {"connection_id":193721,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:30:30] local.INFO: Processing buffer {"connection_id":193721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:30:30] local.INFO: IMEI packet received {"connection_id":193721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":193721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:30:35] local.INFO: TCP Data received {"connection_id":193721,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:30:35] local.INFO: Processing buffer {"connection_id":193721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:30:35] local.INFO: IMEI packet received {"connection_id":193721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":193721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:30:36] local.INFO: TCP Data received {"connection_id":193721,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:30:36] local.INFO: Processing buffer {"connection_id":193721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:30:36] local.INFO: Packet analysis {"connection_id":193721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa0"} 
[2026-09-24 00:30:36] local.INFO: Extracted packet for processing {"connection_id":193721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa0"} 
[2026-09-24 00:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288508160001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790189786000,"timestamp_ms":1790189786000,"timestamp_seconds":1790189786,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa05390"} 
[2026-09-24 00:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288508160001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288508160001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:30:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:30:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288508160001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":193721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:30:36] local.INFO: GPS data processed {"connection_id":193721,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:30:36] local.INFO: Acknowledgment sent {"connection_id":193721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:31:07] local.INFO: TCP Data received {"connection_id":193721,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:31:07] local.INFO: Processing buffer {"connection_id":193721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:31:07] local.INFO: Packet analysis {"connection_id":193721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa0"} 
[2026-09-24 00:31:07] local.INFO: Extracted packet for processing {"connection_id":193721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa0"} 
[2026-09-24 00:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288508160001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790189786000,"timestamp_ms":1790189786000,"timestamp_seconds":1790189786,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa05390"} 
[2026-09-24 00:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288508160001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288508160001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:31:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:31:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288508160001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":193721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:31:07] local.INFO: GPS data processed {"connection_id":193721,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:31:07] local.INFO: Acknowledgment sent {"connection_id":193721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:31:35] local.INFO: TCP Data received {"connection_id":191031,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:31:35] local.INFO: Processing buffer {"connection_id":191031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:31:35] local.INFO: IMEI packet received {"connection_id":191031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":191031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:31:40] local.INFO: TCP Data received {"connection_id":191031,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:31:40] local.INFO: Processing buffer {"connection_id":191031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:31:40] local.INFO: IMEI packet received {"connection_id":191031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":191031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:31:41] local.INFO: TCP Data received {"connection_id":191031,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:31:41] local.INFO: Processing buffer {"connection_id":191031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:31:41] local.INFO: Packet analysis {"connection_id":191031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa0"} 
[2026-09-24 00:31:41] local.INFO: Extracted packet for processing {"connection_id":191031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa0"} 
[2026-09-24 00:31:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288508160001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790189786000,"timestamp_ms":1790189786000,"timestamp_seconds":1790189786,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa05390"} 
[2026-09-24 00:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288508160001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288508160001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:31:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:31:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288508160001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":191031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:31:41] local.INFO: GPS data processed {"connection_id":191031,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:31:41] local.INFO: Acknowledgment sent {"connection_id":191031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:31:46] local.INFO: TCP Data received {"connection_id":191031,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:31:46] local.INFO: Processing buffer {"connection_id":191031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa05390012d34c58006aa47580009010521..."} 
[2026-09-24 00:31:46] local.INFO: Packet analysis {"connection_id":191031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa0"} 
[2026-09-24 00:31:46] local.INFO: Extracted packet for processing {"connection_id":191031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa0"} 
[2026-09-24 00:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288508160001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790189786000,"timestamp_ms":1790189786000,"timestamp_seconds":1790189786,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa05390"} 
[2026-09-24 00:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288508160001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288508160001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:31:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288508160001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":191031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:31:46] local.INFO: GPS data processed {"connection_id":191031,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:31:46] local.INFO: Acknowledgment sent {"connection_id":191031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:32:30] local.INFO: TCP Data received {"connection_id":193722,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:32:30] local.INFO: Processing buffer {"connection_id":193722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:32:30] local.INFO: IMEI packet received {"connection_id":193722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":193722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:32:35] local.INFO: TCP Data received {"connection_id":193722,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:32:35] local.INFO: Processing buffer {"connection_id":193722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:32:35] local.INFO: IMEI packet received {"connection_id":193722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":193722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:32:36] local.INFO: TCP Data received {"connection_id":193722,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:32:36] local.INFO: Processing buffer {"connection_id":193722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:32:36] local.INFO: Packet analysis {"connection_id":193722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa4"} 
[2026-09-24 00:32:36] local.INFO: Extracted packet for processing {"connection_id":193722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa4"} 
[2026-09-24 00:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288585216001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790190087000,"timestamp_ms":1790190087000,"timestamp_seconds":1790190087,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa4eb58"} 
[2026-09-24 00:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 00:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288585216001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288585216001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:32:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:32:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288585216001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":193722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:32:36] local.INFO: GPS data processed {"connection_id":193722,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:32:36] local.INFO: Acknowledgment sent {"connection_id":193722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:33:08] local.INFO: TCP Data received {"connection_id":193722,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:33:08] local.INFO: Processing buffer {"connection_id":193722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:33:08] local.INFO: Packet analysis {"connection_id":193722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa4"} 
[2026-09-24 00:33:08] local.INFO: Extracted packet for processing {"connection_id":193722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa4"} 
[2026-09-24 00:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288585216001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790190087000,"timestamp_ms":1790190087000,"timestamp_seconds":1790190087,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa4eb58"} 
[2026-09-24 00:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 00:33:08] 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-09-24 00: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-09-24 00:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288585216001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288585216001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:33:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288585216001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":193722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:33:08] local.INFO: GPS data processed {"connection_id":193722,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:33:08] local.INFO: Acknowledgment sent {"connection_id":193722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:33:30] local.INFO: TCP Data received {"connection_id":193723,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:33:30] local.INFO: Processing buffer {"connection_id":193723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:33:30] local.INFO: IMEI packet received {"connection_id":193723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":193723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:33:35] local.INFO: TCP Data received {"connection_id":193723,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:33:35] local.INFO: Processing buffer {"connection_id":193723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:33:35] local.INFO: IMEI packet received {"connection_id":193723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":193723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:33:36] local.INFO: TCP Data received {"connection_id":193723,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:33:36] local.INFO: Processing buffer {"connection_id":193723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:33:36] local.INFO: Packet analysis {"connection_id":193723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa4"} 
[2026-09-24 00:33:36] local.INFO: Extracted packet for processing {"connection_id":193723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa4"} 
[2026-09-24 00:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288585216001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790190087000,"timestamp_ms":1790190087000,"timestamp_seconds":1790190087,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa4eb58"} 
[2026-09-24 00:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 00:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288585216001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288585216001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:33:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:33:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288585216001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":193723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:33:36] local.INFO: GPS data processed {"connection_id":193723,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:33:36] local.INFO: Acknowledgment sent {"connection_id":193723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:34:08] local.INFO: TCP Data received {"connection_id":193723,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:34:08] local.INFO: Processing buffer {"connection_id":193723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:34:08] local.INFO: Packet analysis {"connection_id":193723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa4"} 
[2026-09-24 00:34:08] local.INFO: Extracted packet for processing {"connection_id":193723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa4"} 
[2026-09-24 00:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288585216001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790190087000,"timestamp_ms":1790190087000,"timestamp_seconds":1790190087,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa4eb58"} 
[2026-09-24 00:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 00:34:08] 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-09-24 00: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-09-24 00:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288585216001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288585216001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:34:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:34:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288585216001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":193723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:34:09] local.INFO: GPS data processed {"connection_id":193723,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:34:09] local.INFO: Acknowledgment sent {"connection_id":193723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:34:30] local.INFO: TCP Data received {"connection_id":191032,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:34:30] local.INFO: Processing buffer {"connection_id":191032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:34:30] local.INFO: IMEI packet received {"connection_id":191032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":191032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:34:35] local.INFO: TCP Data received {"connection_id":191032,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:34:35] local.INFO: Processing buffer {"connection_id":191032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:34:35] local.INFO: IMEI packet received {"connection_id":191032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":191032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:34:37] local.INFO: TCP Data received {"connection_id":191032,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:34:37] local.INFO: Processing buffer {"connection_id":191032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:34:37] local.INFO: Packet analysis {"connection_id":191032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa4"} 
[2026-09-24 00:34:37] local.INFO: Extracted packet for processing {"connection_id":191032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa4"} 
[2026-09-24 00:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288585216001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790190087000,"timestamp_ms":1790190087000,"timestamp_seconds":1790190087,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa4eb58"} 
[2026-09-24 00:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 00:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288585216001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288585216001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:34:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288585216001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":191032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:34:37] local.INFO: GPS data processed {"connection_id":191032,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:34:37] local.INFO: Acknowledgment sent {"connection_id":191032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:35:08] local.INFO: TCP Data received {"connection_id":191032,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:35:08] local.INFO: Processing buffer {"connection_id":191032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:35:08] local.INFO: Packet analysis {"connection_id":191032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa4"} 
[2026-09-24 00:35:08] local.INFO: Extracted packet for processing {"connection_id":191032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa4"} 
[2026-09-24 00:35:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288585216001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790190087000,"timestamp_ms":1790190087000,"timestamp_seconds":1790190087,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa4eb58"} 
[2026-09-24 00:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 00:35:08] 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-09-24 00:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288585216001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288585216001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:35:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:35:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288585216001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":191032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:35:08] local.INFO: GPS data processed {"connection_id":191032,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:35:08] local.INFO: Acknowledgment sent {"connection_id":191032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:35:35] local.INFO: TCP Data received {"connection_id":193724,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:35:35] local.INFO: Processing buffer {"connection_id":193724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:35:35] local.INFO: IMEI packet received {"connection_id":193724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":193724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:35:40] local.INFO: TCP Data received {"connection_id":193724,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:35:40] local.INFO: Processing buffer {"connection_id":193724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:35:40] local.INFO: IMEI packet received {"connection_id":193724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":193724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:35:41] local.INFO: TCP Data received {"connection_id":193724,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:35:41] local.INFO: Processing buffer {"connection_id":193724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:35:41] local.INFO: Packet analysis {"connection_id":193724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa4"} 
[2026-09-24 00:35:41] local.INFO: Extracted packet for processing {"connection_id":193724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa4"} 
[2026-09-24 00:35:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288585216001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790190087000,"timestamp_ms":1790190087000,"timestamp_seconds":1790190087,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa4eb58"} 
[2026-09-24 00:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 00:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288585216001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288585216001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:35:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:35:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288585216001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":193724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:35:41] local.INFO: GPS data processed {"connection_id":193724,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:35:41] local.INFO: Acknowledgment sent {"connection_id":193724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:35:46] local.INFO: TCP Data received {"connection_id":193724,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:35:46] local.INFO: Processing buffer {"connection_id":193724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:35:46] local.INFO: Packet analysis {"connection_id":193724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa4"} 
[2026-09-24 00:35:46] local.INFO: Extracted packet for processing {"connection_id":193724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa4"} 
[2026-09-24 00:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288585216001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790190087000,"timestamp_ms":1790190087000,"timestamp_seconds":1790190087,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa4eb58"} 
[2026-09-24 00:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 00:35:46] 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-09-24 00:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288585216001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288585216001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:35:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288585216001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":193724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:35:46] local.INFO: GPS data processed {"connection_id":193724,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:35:46] local.INFO: Acknowledgment sent {"connection_id":193724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:36:30] local.INFO: TCP Data received {"connection_id":192369,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:36:30] local.INFO: Processing buffer {"connection_id":192369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:36:30] local.INFO: IMEI packet received {"connection_id":192369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":192369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:36:35] local.INFO: TCP Data received {"connection_id":192369,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:36:35] local.INFO: Processing buffer {"connection_id":192369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:36:35] local.INFO: IMEI packet received {"connection_id":192369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":192369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:36:36] local.INFO: TCP Data received {"connection_id":192369,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:36:36] local.INFO: Processing buffer {"connection_id":192369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa4eb58012d34c58006aa47580009010525..."} 
[2026-09-24 00:36:36] local.INFO: Packet analysis {"connection_id":192369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa4"} 
[2026-09-24 00:36:36] local.INFO: Extracted packet for processing {"connection_id":192369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa4"} 
[2026-09-24 00:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288585216001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790190087000,"timestamp_ms":1790190087000,"timestamp_seconds":1790190087,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa4eb58"} 
[2026-09-24 00:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 00:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288585216001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288585216001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:36:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:36:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288585216001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":192369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:36:36] local.INFO: GPS data processed {"connection_id":192369,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:36:36] local.INFO: Acknowledgment sent {"connection_id":192369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:37:08] local.INFO: TCP Data received {"connection_id":192369,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:37:08] local.INFO: Processing buffer {"connection_id":192369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:37:08] local.INFO: Packet analysis {"connection_id":192369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa9"} 
[2026-09-24 00:37:08] local.INFO: Extracted packet for processing {"connection_id":192369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa9"} 
[2026-09-24 00:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288662272001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790190388000,"timestamp_ms":1790190388000,"timestamp_seconds":1790190388,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa98320"} 
[2026-09-24 00:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288662272001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288662272001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:37:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288662272001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":192369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:37:08] local.INFO: GPS data processed {"connection_id":192369,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:37:08] local.INFO: Acknowledgment sent {"connection_id":192369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:37:30] local.INFO: TCP Data received {"connection_id":191033,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:37:30] local.INFO: Processing buffer {"connection_id":191033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:37:30] local.INFO: IMEI packet received {"connection_id":191033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":191033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:37:35] local.INFO: TCP Data received {"connection_id":191033,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:37:35] local.INFO: Processing buffer {"connection_id":191033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:37:35] local.INFO: IMEI packet received {"connection_id":191033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":191033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:37:36] local.INFO: TCP Data received {"connection_id":191033,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:37:36] local.INFO: Processing buffer {"connection_id":191033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:37:36] local.INFO: Packet analysis {"connection_id":191033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa9"} 
[2026-09-24 00:37:36] local.INFO: Extracted packet for processing {"connection_id":191033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa9"} 
[2026-09-24 00:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288662272001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790190388000,"timestamp_ms":1790190388000,"timestamp_seconds":1790190388,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa98320"} 
[2026-09-24 00:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288662272001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288662272001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:37:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:37:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288662272001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":191033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:37:36] local.INFO: GPS data processed {"connection_id":191033,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:37:36] local.INFO: Acknowledgment sent {"connection_id":191033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:38:08] local.INFO: TCP Data received {"connection_id":191033,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:38:08] local.INFO: Processing buffer {"connection_id":191033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:38:08] local.INFO: Packet analysis {"connection_id":191033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa9"} 
[2026-09-24 00:38:08] local.INFO: Extracted packet for processing {"connection_id":191033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa9"} 
[2026-09-24 00:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288662272001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790190388000,"timestamp_ms":1790190388000,"timestamp_seconds":1790190388,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa98320"} 
[2026-09-24 00:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288662272001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288662272001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:38:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:38:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288662272001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":191033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:38:08] local.INFO: GPS data processed {"connection_id":191033,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:38:08] local.INFO: Acknowledgment sent {"connection_id":191033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:38:30] local.INFO: TCP Data received {"connection_id":190834,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:38:30] local.INFO: Processing buffer {"connection_id":190834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:38:30] local.INFO: IMEI packet received {"connection_id":190834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":190834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:38:35] local.INFO: TCP Data received {"connection_id":190834,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:38:35] local.INFO: Processing buffer {"connection_id":190834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:38:35] local.INFO: IMEI packet received {"connection_id":190834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":190834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:38:36] local.INFO: TCP Data received {"connection_id":190834,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:38:36] local.INFO: Processing buffer {"connection_id":190834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:38:36] local.INFO: Packet analysis {"connection_id":190834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa9"} 
[2026-09-24 00:38:36] local.INFO: Extracted packet for processing {"connection_id":190834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa9"} 
[2026-09-24 00:38:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288662272001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790190388000,"timestamp_ms":1790190388000,"timestamp_seconds":1790190388,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa98320"} 
[2026-09-24 00:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288662272001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288662272001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:38:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:38:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288662272001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":190834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:38:36] local.INFO: GPS data processed {"connection_id":190834,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:38:36] local.INFO: Acknowledgment sent {"connection_id":190834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:39:08] local.INFO: TCP Data received {"connection_id":190834,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:39:08] local.INFO: Processing buffer {"connection_id":190834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:39:08] local.INFO: Packet analysis {"connection_id":190834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa9"} 
[2026-09-24 00:39:08] local.INFO: Extracted packet for processing {"connection_id":190834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa9"} 
[2026-09-24 00:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288662272001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790190388000,"timestamp_ms":1790190388000,"timestamp_seconds":1790190388,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa98320"} 
[2026-09-24 00:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288662272001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288662272001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:39:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:39:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288662272001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":190834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:39:08] local.INFO: GPS data processed {"connection_id":190834,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:39:08] local.INFO: Acknowledgment sent {"connection_id":190834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:39:30] local.INFO: TCP Data received {"connection_id":192370,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:39:30] local.INFO: Processing buffer {"connection_id":192370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:39:30] local.INFO: IMEI packet received {"connection_id":192370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":192370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:39:35] local.INFO: TCP Data received {"connection_id":192370,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:39:35] local.INFO: Processing buffer {"connection_id":192370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:39:35] local.INFO: IMEI packet received {"connection_id":192370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":192370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:39:37] local.INFO: TCP Data received {"connection_id":192370,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:39:37] local.INFO: Processing buffer {"connection_id":192370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:39:37] local.INFO: Packet analysis {"connection_id":192370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa9"} 
[2026-09-24 00:39:37] local.INFO: Extracted packet for processing {"connection_id":192370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa9"} 
[2026-09-24 00:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288662272001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790190388000,"timestamp_ms":1790190388000,"timestamp_seconds":1790190388,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa98320"} 
[2026-09-24 00:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288662272001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288662272001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288662272001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":192370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:39:37] local.INFO: GPS data processed {"connection_id":192370,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:39:37] local.INFO: Acknowledgment sent {"connection_id":192370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:40:09] local.INFO: TCP Data received {"connection_id":192370,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:40:09] local.INFO: Processing buffer {"connection_id":192370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:40:09] local.INFO: Packet analysis {"connection_id":192370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa9"} 
[2026-09-24 00:40:09] local.INFO: Extracted packet for processing {"connection_id":192370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa9"} 
[2026-09-24 00:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288662272001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790190388000,"timestamp_ms":1790190388000,"timestamp_seconds":1790190388,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa98320"} 
[2026-09-24 00:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288662272001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288662272001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288662272001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":192370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:40:09] local.INFO: GPS data processed {"connection_id":192370,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:40:09] local.INFO: Acknowledgment sent {"connection_id":192370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:40:30] local.INFO: TCP Data received {"connection_id":193725,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:40:30] local.INFO: Processing buffer {"connection_id":193725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:40:30] local.INFO: IMEI packet received {"connection_id":193725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":193725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:40:35] local.INFO: TCP Data received {"connection_id":193725,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:40:35] local.INFO: Processing buffer {"connection_id":193725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:40:35] local.INFO: IMEI packet received {"connection_id":193725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":193725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:40:36] local.INFO: TCP Data received {"connection_id":193725,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:40:36] local.INFO: Processing buffer {"connection_id":193725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:40:36] local.INFO: Packet analysis {"connection_id":193725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa9"} 
[2026-09-24 00:40:36] local.INFO: Extracted packet for processing {"connection_id":193725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa9"} 
[2026-09-24 00:40:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288662272001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790190388000,"timestamp_ms":1790190388000,"timestamp_seconds":1790190388,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa98320"} 
[2026-09-24 00:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288662272001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288662272001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:40:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:40:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288662272001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":193725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:40:36] local.INFO: GPS data processed {"connection_id":193725,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:40:36] local.INFO: Acknowledgment sent {"connection_id":193725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:41:07] local.INFO: TCP Data received {"connection_id":193725,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:41:07] local.INFO: Processing buffer {"connection_id":193725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:41:07] local.INFO: Packet analysis {"connection_id":193725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa9"} 
[2026-09-24 00:41:07] local.INFO: Extracted packet for processing {"connection_id":193725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa9"} 
[2026-09-24 00:41:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288662272001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790190388000,"timestamp_ms":1790190388000,"timestamp_seconds":1790190388,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa98320"} 
[2026-09-24 00:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288662272001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288662272001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:41:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:41:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288662272001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":193725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:41:07] local.INFO: GPS data processed {"connection_id":193725,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:41:07] local.INFO: Acknowledgment sent {"connection_id":193725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:41:35] local.INFO: TCP Data received {"connection_id":192371,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:41:35] local.INFO: Processing buffer {"connection_id":192371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:41:35] local.INFO: IMEI packet received {"connection_id":192371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":192371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:41:40] local.INFO: TCP Data received {"connection_id":192371,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:41:40] local.INFO: Processing buffer {"connection_id":192371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:41:40] local.INFO: IMEI packet received {"connection_id":192371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":192371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:41:41] local.INFO: TCP Data received {"connection_id":192371,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:41:41] local.INFO: Processing buffer {"connection_id":192371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfa98320012d34c58006aa47580009010524..."} 
[2026-09-24 00:41:41] local.INFO: Packet analysis {"connection_id":192371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfa9"} 
[2026-09-24 00:41:41] local.INFO: Extracted packet for processing {"connection_id":192371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfa9"} 
[2026-09-24 00:41:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":9,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288662272001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790190388000,"timestamp_ms":1790190388000,"timestamp_seconds":1790190388,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfa98320"} 
[2026-09-24 00:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288662272001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288662272001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:41:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:41:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288662272001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":192371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:41:41] local.INFO: GPS data processed {"connection_id":192371,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:41:41] local.INFO: Acknowledgment sent {"connection_id":192371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:42:12] local.INFO: TCP Data received {"connection_id":192371,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:42:12] local.INFO: Processing buffer {"connection_id":192371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:42:12] local.INFO: Packet analysis {"connection_id":192371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfae"} 
[2026-09-24 00:42:12] local.INFO: Extracted packet for processing {"connection_id":192371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfae"} 
[2026-09-24 00:42:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288739328001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790190689000,"timestamp_ms":1790190689000,"timestamp_seconds":1790190689,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfae1ae8"} 
[2026-09-24 00:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288739328001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288739328001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:42:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:42:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288739328001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":192371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:42:12] local.INFO: GPS data processed {"connection_id":192371,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:42:12] local.INFO: Acknowledgment sent {"connection_id":192371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:42:30] local.INFO: TCP Data received {"connection_id":191034,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:42:30] local.INFO: Processing buffer {"connection_id":191034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:42:30] local.INFO: IMEI packet received {"connection_id":191034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":191034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:42:35] local.INFO: TCP Data received {"connection_id":191034,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:42:35] local.INFO: Processing buffer {"connection_id":191034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:42:35] local.INFO: IMEI packet received {"connection_id":191034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":191034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:42:36] local.INFO: TCP Data received {"connection_id":191034,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:42:36] local.INFO: Processing buffer {"connection_id":191034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:42:36] local.INFO: Packet analysis {"connection_id":191034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfae"} 
[2026-09-24 00:42:36] local.INFO: Extracted packet for processing {"connection_id":191034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfae"} 
[2026-09-24 00:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288739328001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790190689000,"timestamp_ms":1790190689000,"timestamp_seconds":1790190689,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfae1ae8"} 
[2026-09-24 00:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288739328001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288739328001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:42:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:42:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288739328001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":191034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:42:36] local.INFO: GPS data processed {"connection_id":191034,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:42:36] local.INFO: Acknowledgment sent {"connection_id":191034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:43:08] local.INFO: TCP Data received {"connection_id":191034,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:43:08] local.INFO: Processing buffer {"connection_id":191034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:43:08] local.INFO: Packet analysis {"connection_id":191034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfae"} 
[2026-09-24 00:43:08] local.INFO: Extracted packet for processing {"connection_id":191034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfae"} 
[2026-09-24 00:43:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288739328001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790190689000,"timestamp_ms":1790190689000,"timestamp_seconds":1790190689,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfae1ae8"} 
[2026-09-24 00:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288739328001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288739328001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:43:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:43:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288739328001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":191034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:43:08] local.INFO: GPS data processed {"connection_id":191034,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:43:08] local.INFO: Acknowledgment sent {"connection_id":191034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:43:30] local.INFO: TCP Data received {"connection_id":192372,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:43:30] local.INFO: Processing buffer {"connection_id":192372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:43:30] local.INFO: IMEI packet received {"connection_id":192372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":192372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:43:35] local.INFO: TCP Data received {"connection_id":192372,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:43:35] local.INFO: Processing buffer {"connection_id":192372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:43:35] local.INFO: IMEI packet received {"connection_id":192372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":192372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:43:36] local.INFO: TCP Data received {"connection_id":192372,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:43:36] local.INFO: Processing buffer {"connection_id":192372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:43:36] local.INFO: Packet analysis {"connection_id":192372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfae"} 
[2026-09-24 00:43:36] local.INFO: Extracted packet for processing {"connection_id":192372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfae"} 
[2026-09-24 00:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288739328001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790190689000,"timestamp_ms":1790190689000,"timestamp_seconds":1790190689,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfae1ae8"} 
[2026-09-24 00:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288739328001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288739328001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:43:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:43:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288739328001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":192372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:43:36] local.INFO: GPS data processed {"connection_id":192372,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:43:36] local.INFO: Acknowledgment sent {"connection_id":192372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:44:08] local.INFO: TCP Data received {"connection_id":192372,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:44:08] local.INFO: Processing buffer {"connection_id":192372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:44:08] local.INFO: Packet analysis {"connection_id":192372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfae"} 
[2026-09-24 00:44:08] local.INFO: Extracted packet for processing {"connection_id":192372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfae"} 
[2026-09-24 00:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288739328001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790190689000,"timestamp_ms":1790190689000,"timestamp_seconds":1790190689,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfae1ae8"} 
[2026-09-24 00:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288739328001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288739328001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:44:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288739328001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":192372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:44:08] local.INFO: GPS data processed {"connection_id":192372,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:44:08] local.INFO: Acknowledgment sent {"connection_id":192372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:44:30] local.INFO: TCP Data received {"connection_id":192373,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:44:30] local.INFO: Processing buffer {"connection_id":192373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:44:30] local.INFO: IMEI packet received {"connection_id":192373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":192373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:44:35] local.INFO: TCP Data received {"connection_id":192373,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:44:35] local.INFO: Processing buffer {"connection_id":192373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:44:35] local.INFO: IMEI packet received {"connection_id":192373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":192373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:44:36] local.INFO: TCP Data received {"connection_id":192373,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:44:36] local.INFO: Processing buffer {"connection_id":192373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:44:36] local.INFO: Packet analysis {"connection_id":192373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfae"} 
[2026-09-24 00:44:36] local.INFO: Extracted packet for processing {"connection_id":192373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfae"} 
[2026-09-24 00:44:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288739328001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790190689000,"timestamp_ms":1790190689000,"timestamp_seconds":1790190689,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfae1ae8"} 
[2026-09-24 00:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288739328001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288739328001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:44:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:44:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288739328001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":192373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:44:36] local.INFO: GPS data processed {"connection_id":192373,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:44:36] local.INFO: Acknowledgment sent {"connection_id":192373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:45:07] local.INFO: TCP Data received {"connection_id":192373,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:45:07] local.INFO: Processing buffer {"connection_id":192373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:45:07] local.INFO: Packet analysis {"connection_id":192373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfae"} 
[2026-09-24 00:45:07] local.INFO: Extracted packet for processing {"connection_id":192373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfae"} 
[2026-09-24 00:45:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288739328001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790190689000,"timestamp_ms":1790190689000,"timestamp_seconds":1790190689,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfae1ae8"} 
[2026-09-24 00:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288739328001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288739328001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:45:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:45:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288739328001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":192373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:45:07] local.INFO: GPS data processed {"connection_id":192373,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:45:07] local.INFO: Acknowledgment sent {"connection_id":192373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:45:35] local.INFO: TCP Data received {"connection_id":191035,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:45:35] local.INFO: Processing buffer {"connection_id":191035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:45:35] local.INFO: IMEI packet received {"connection_id":191035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":191035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:45:40] local.INFO: TCP Data received {"connection_id":191035,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:45:40] local.INFO: Processing buffer {"connection_id":191035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:45:40] local.INFO: IMEI packet received {"connection_id":191035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":191035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:45:41] local.INFO: TCP Data received {"connection_id":191035,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:45:41] local.INFO: Processing buffer {"connection_id":191035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:45:41] local.INFO: Packet analysis {"connection_id":191035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfae"} 
[2026-09-24 00:45:41] local.INFO: Extracted packet for processing {"connection_id":191035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfae"} 
[2026-09-24 00:45:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288739328001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790190689000,"timestamp_ms":1790190689000,"timestamp_seconds":1790190689,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfae1ae8"} 
[2026-09-24 00:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288739328001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288739328001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:45:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:45:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288739328001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":191035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:45:41] local.INFO: GPS data processed {"connection_id":191035,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:45:41] local.INFO: Acknowledgment sent {"connection_id":191035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:45:45] local.INFO: TCP Data received {"connection_id":191035,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:45:45] local.INFO: Processing buffer {"connection_id":191035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:45:45] local.INFO: Packet analysis {"connection_id":191035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfae"} 
[2026-09-24 00:45:45] local.INFO: Extracted packet for processing {"connection_id":191035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfae"} 
[2026-09-24 00:45:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288739328001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790190689000,"timestamp_ms":1790190689000,"timestamp_seconds":1790190689,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfae1ae8"} 
[2026-09-24 00:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288739328001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288739328001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:45:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:45:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288739328001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":191035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:45:45] local.INFO: GPS data processed {"connection_id":191035,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:45:45] local.INFO: Acknowledgment sent {"connection_id":191035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:46:30] local.INFO: TCP Data received {"connection_id":190835,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:46:30] local.INFO: Processing buffer {"connection_id":190835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:46:30] local.INFO: IMEI packet received {"connection_id":190835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":190835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:46:35] local.INFO: TCP Data received {"connection_id":190835,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:46:35] local.INFO: Processing buffer {"connection_id":190835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:46:35] local.INFO: IMEI packet received {"connection_id":190835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":190835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:46:36] local.INFO: TCP Data received {"connection_id":190835,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:46:36] local.INFO: Processing buffer {"connection_id":190835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:46:36] local.INFO: Packet analysis {"connection_id":190835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfae"} 
[2026-09-24 00:46:36] local.INFO: Extracted packet for processing {"connection_id":190835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfae"} 
[2026-09-24 00:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288739328001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790190689000,"timestamp_ms":1790190689000,"timestamp_seconds":1790190689,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfae1ae8"} 
[2026-09-24 00:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288739328001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288739328001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:46:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:46:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288739328001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":190835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:46:36] local.INFO: GPS data processed {"connection_id":190835,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:46:36] local.INFO: Acknowledgment sent {"connection_id":190835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:47:07] local.INFO: TCP Data received {"connection_id":190835,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:47:07] local.INFO: Processing buffer {"connection_id":190835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfae1ae8012d34c58006aa4758000e010521..."} 
[2026-09-24 00:47:07] local.INFO: Packet analysis {"connection_id":190835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfae"} 
[2026-09-24 00:47:07] local.INFO: Extracted packet for processing {"connection_id":190835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfae"} 
[2026-09-24 00:47:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288739328001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790190689000,"timestamp_ms":1790190689000,"timestamp_seconds":1790190689,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfae1ae8"} 
[2026-09-24 00:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288739328001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288739328001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:47:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:47:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288739328001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":190835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:47:07] local.INFO: GPS data processed {"connection_id":190835,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:47:07] local.INFO: Acknowledgment sent {"connection_id":190835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:47:30] local.INFO: TCP Data received {"connection_id":192374,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:47:30] local.INFO: Processing buffer {"connection_id":192374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:47:30] local.INFO: IMEI packet received {"connection_id":192374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":192374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:47:35] local.INFO: TCP Data received {"connection_id":192374,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:47:35] local.INFO: Processing buffer {"connection_id":192374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:47:35] local.INFO: IMEI packet received {"connection_id":192374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":192374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:47:36] local.INFO: TCP Data received {"connection_id":192374,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:47:36] local.INFO: Processing buffer {"connection_id":192374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:47:36] local.INFO: Packet analysis {"connection_id":192374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfb2"} 
[2026-09-24 00:47:36] local.INFO: Extracted packet for processing {"connection_id":192374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfb2"} 
[2026-09-24 00:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288816384001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790190990000,"timestamp_ms":1790190990000,"timestamp_seconds":1790190990,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfb2b2b0"} 
[2026-09-24 00:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288816384001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288816384001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:47:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:47:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288816384001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":192374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:47:36] local.INFO: GPS data processed {"connection_id":192374,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:47:36] local.INFO: Acknowledgment sent {"connection_id":192374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:48:08] local.INFO: TCP Data received {"connection_id":192374,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:48:08] local.INFO: Processing buffer {"connection_id":192374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:48:08] local.INFO: Packet analysis {"connection_id":192374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfb2"} 
[2026-09-24 00:48:08] local.INFO: Extracted packet for processing {"connection_id":192374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfb2"} 
[2026-09-24 00:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288816384001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790190990000,"timestamp_ms":1790190990000,"timestamp_seconds":1790190990,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfb2b2b0"} 
[2026-09-24 00:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288816384001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288816384001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:48:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288816384001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":192374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:48:08] local.INFO: GPS data processed {"connection_id":192374,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:48:08] local.INFO: Acknowledgment sent {"connection_id":192374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:48:30] local.INFO: TCP Data received {"connection_id":191036,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:48:30] local.INFO: Processing buffer {"connection_id":191036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:48:30] local.INFO: IMEI packet received {"connection_id":191036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":191036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:48:35] local.INFO: TCP Data received {"connection_id":191036,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:48:35] local.INFO: Processing buffer {"connection_id":191036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:48:35] local.INFO: IMEI packet received {"connection_id":191036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":191036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:48:36] local.INFO: TCP Data received {"connection_id":191036,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:48:36] local.INFO: Processing buffer {"connection_id":191036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:48:36] local.INFO: Packet analysis {"connection_id":191036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfb2"} 
[2026-09-24 00:48:36] local.INFO: Extracted packet for processing {"connection_id":191036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfb2"} 
[2026-09-24 00:48:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288816384001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790190990000,"timestamp_ms":1790190990000,"timestamp_seconds":1790190990,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfb2b2b0"} 
[2026-09-24 00:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288816384001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288816384001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:48:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:48:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288816384001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":191036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:48:36] local.INFO: GPS data processed {"connection_id":191036,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:48:36] local.INFO: Acknowledgment sent {"connection_id":191036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:49:08] local.INFO: TCP Data received {"connection_id":191036,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:49:08] local.INFO: Processing buffer {"connection_id":191036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:49:08] local.INFO: Packet analysis {"connection_id":191036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfb2"} 
[2026-09-24 00:49:08] local.INFO: Extracted packet for processing {"connection_id":191036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfb2"} 
[2026-09-24 00:49:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288816384001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790190990000,"timestamp_ms":1790190990000,"timestamp_seconds":1790190990,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfb2b2b0"} 
[2026-09-24 00:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288816384001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288816384001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:49:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:49:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288816384001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":191036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:49:08] local.INFO: GPS data processed {"connection_id":191036,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:49:08] local.INFO: Acknowledgment sent {"connection_id":191036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:49:30] local.INFO: TCP Data received {"connection_id":193726,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:49:30] local.INFO: Processing buffer {"connection_id":193726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:49:30] local.INFO: IMEI packet received {"connection_id":193726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":193726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:49:35] local.INFO: TCP Data received {"connection_id":193726,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:49:35] local.INFO: Processing buffer {"connection_id":193726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:49:35] local.INFO: IMEI packet received {"connection_id":193726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":193726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:49:36] local.INFO: TCP Data received {"connection_id":193726,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:49:36] local.INFO: Processing buffer {"connection_id":193726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:49:36] local.INFO: Packet analysis {"connection_id":193726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfb2"} 
[2026-09-24 00:49:36] local.INFO: Extracted packet for processing {"connection_id":193726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfb2"} 
[2026-09-24 00:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288816384001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790190990000,"timestamp_ms":1790190990000,"timestamp_seconds":1790190990,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfb2b2b0"} 
[2026-09-24 00:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288816384001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288816384001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:49:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:49:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288816384001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":193726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:49:36] local.INFO: GPS data processed {"connection_id":193726,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:49:36] local.INFO: Acknowledgment sent {"connection_id":193726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:50:07] local.INFO: TCP Data received {"connection_id":193726,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:50:07] local.INFO: Processing buffer {"connection_id":193726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:50:07] local.INFO: Packet analysis {"connection_id":193726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfb2"} 
[2026-09-24 00:50:07] local.INFO: Extracted packet for processing {"connection_id":193726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfb2"} 
[2026-09-24 00:50:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288816384001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790190990000,"timestamp_ms":1790190990000,"timestamp_seconds":1790190990,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfb2b2b0"} 
[2026-09-24 00:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288816384001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288816384001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:50:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:50:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288816384001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":193726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:50:07] local.INFO: GPS data processed {"connection_id":193726,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:50:07] local.INFO: Acknowledgment sent {"connection_id":193726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:50:35] local.INFO: TCP Data received {"connection_id":191037,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:50:35] local.INFO: Processing buffer {"connection_id":191037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:50:35] local.INFO: IMEI packet received {"connection_id":191037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":191037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:50:40] local.INFO: TCP Data received {"connection_id":191037,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:50:40] local.INFO: Processing buffer {"connection_id":191037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:50:40] local.INFO: IMEI packet received {"connection_id":191037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":191037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:50:42] local.INFO: TCP Data received {"connection_id":191037,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:50:42] local.INFO: Processing buffer {"connection_id":191037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:50:42] local.INFO: Packet analysis {"connection_id":191037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfb2"} 
[2026-09-24 00:50:42] local.INFO: Extracted packet for processing {"connection_id":191037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfb2"} 
[2026-09-24 00:50:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288816384001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790190990000,"timestamp_ms":1790190990000,"timestamp_seconds":1790190990,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfb2b2b0"} 
[2026-09-24 00:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288816384001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288816384001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:50:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:50:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288816384001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":191037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:50:42] local.INFO: GPS data processed {"connection_id":191037,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:50:42] local.INFO: Acknowledgment sent {"connection_id":191037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:50:46] local.INFO: TCP Data received {"connection_id":191037,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:50:46] local.INFO: Processing buffer {"connection_id":191037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:50:46] local.INFO: Packet analysis {"connection_id":191037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfb2"} 
[2026-09-24 00:50:46] local.INFO: Extracted packet for processing {"connection_id":191037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfb2"} 
[2026-09-24 00:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288816384001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790190990000,"timestamp_ms":1790190990000,"timestamp_seconds":1790190990,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfb2b2b0"} 
[2026-09-24 00:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288816384001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288816384001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:50:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288816384001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":191037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:50:46] local.INFO: GPS data processed {"connection_id":191037,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:50:46] local.INFO: Acknowledgment sent {"connection_id":191037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:51:30] local.INFO: TCP Data received {"connection_id":190836,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:51:30] local.INFO: Processing buffer {"connection_id":190836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:51:30] local.INFO: IMEI packet received {"connection_id":190836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":190836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:51:35] local.INFO: TCP Data received {"connection_id":190836,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:51:35] local.INFO: Processing buffer {"connection_id":190836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:51:35] local.INFO: IMEI packet received {"connection_id":190836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":190836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:51:36] local.INFO: TCP Data received {"connection_id":190836,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:51:36] local.INFO: Processing buffer {"connection_id":190836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:51:36] local.INFO: Packet analysis {"connection_id":190836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfb2"} 
[2026-09-24 00:51:36] local.INFO: Extracted packet for processing {"connection_id":190836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfb2"} 
[2026-09-24 00:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288816384001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790190990000,"timestamp_ms":1790190990000,"timestamp_seconds":1790190990,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfb2b2b0"} 
[2026-09-24 00:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288816384001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288816384001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:51:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:51:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288816384001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":190836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:51:36] local.INFO: GPS data processed {"connection_id":190836,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:51:36] local.INFO: Acknowledgment sent {"connection_id":190836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:52:07] local.INFO: TCP Data received {"connection_id":190836,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:52:07] local.INFO: Processing buffer {"connection_id":190836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfb2b2b0012d34c58006aa4758000e010523..."} 
[2026-09-24 00:52:07] local.INFO: Packet analysis {"connection_id":190836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfb2"} 
[2026-09-24 00:52:07] local.INFO: Extracted packet for processing {"connection_id":190836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfb2"} 
[2026-09-24 00:52:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288816384001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790190990000,"timestamp_ms":1790190990000,"timestamp_seconds":1790190990,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfb2b2b0"} 
[2026-09-24 00:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288816384001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288816384001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:52:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:52:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288816384001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":190836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:52:07] local.INFO: GPS data processed {"connection_id":190836,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:52:07] local.INFO: Acknowledgment sent {"connection_id":190836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:52:30] local.INFO: TCP Data received {"connection_id":191038,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:52:30] local.INFO: Processing buffer {"connection_id":191038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:52:30] local.INFO: IMEI packet received {"connection_id":191038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":191038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:52:35] local.INFO: TCP Data received {"connection_id":191038,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:52:35] local.INFO: Processing buffer {"connection_id":191038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:52:35] local.INFO: IMEI packet received {"connection_id":191038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":191038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:52:36] local.INFO: TCP Data received {"connection_id":191038,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:52:36] local.INFO: Processing buffer {"connection_id":191038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:52:36] local.INFO: Packet analysis {"connection_id":191038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfb7"} 
[2026-09-24 00:52:36] local.INFO: Extracted packet for processing {"connection_id":191038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfb7"} 
[2026-09-24 00:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288893440001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790191291000,"timestamp_ms":1790191291000,"timestamp_seconds":1790191291,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfb74a78"} 
[2026-09-24 00:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288893440001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288893440001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:52:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:52:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288893440001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":191038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:52:36] local.INFO: GPS data processed {"connection_id":191038,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:52:36] local.INFO: Acknowledgment sent {"connection_id":191038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:53:08] local.INFO: TCP Data received {"connection_id":191038,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:53:08] local.INFO: Processing buffer {"connection_id":191038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:53:08] local.INFO: Packet analysis {"connection_id":191038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfb7"} 
[2026-09-24 00:53:08] local.INFO: Extracted packet for processing {"connection_id":191038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfb7"} 
[2026-09-24 00:53:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288893440001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790191291000,"timestamp_ms":1790191291000,"timestamp_seconds":1790191291,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfb74a78"} 
[2026-09-24 00:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288893440001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288893440001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:53:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:53:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288893440001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":191038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:53:08] local.INFO: GPS data processed {"connection_id":191038,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:53:08] local.INFO: Acknowledgment sent {"connection_id":191038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:53:30] local.INFO: TCP Data received {"connection_id":190837,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:53:30] local.INFO: Processing buffer {"connection_id":190837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:53:30] local.INFO: IMEI packet received {"connection_id":190837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":190837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:53:35] local.INFO: TCP Data received {"connection_id":190837,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:53:35] local.INFO: Processing buffer {"connection_id":190837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:53:35] local.INFO: IMEI packet received {"connection_id":190837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":190837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:53:36] local.INFO: TCP Data received {"connection_id":190837,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:53:36] local.INFO: Processing buffer {"connection_id":190837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:53:36] local.INFO: Packet analysis {"connection_id":190837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfb7"} 
[2026-09-24 00:53:36] local.INFO: Extracted packet for processing {"connection_id":190837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfb7"} 
[2026-09-24 00:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288893440001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790191291000,"timestamp_ms":1790191291000,"timestamp_seconds":1790191291,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfb74a78"} 
[2026-09-24 00:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288893440001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288893440001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:53:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:53:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288893440001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":190837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:53:36] local.INFO: GPS data processed {"connection_id":190837,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:53:36] local.INFO: Acknowledgment sent {"connection_id":190837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:54:07] local.INFO: TCP Data received {"connection_id":190837,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:54:07] local.INFO: Processing buffer {"connection_id":190837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:54:07] local.INFO: Packet analysis {"connection_id":190837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfb7"} 
[2026-09-24 00:54:07] local.INFO: Extracted packet for processing {"connection_id":190837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfb7"} 
[2026-09-24 00:54:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288893440001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790191291000,"timestamp_ms":1790191291000,"timestamp_seconds":1790191291,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfb74a78"} 
[2026-09-24 00:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288893440001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288893440001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:54:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:54:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288893440001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":190837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:54:07] local.INFO: GPS data processed {"connection_id":190837,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:54:07] local.INFO: Acknowledgment sent {"connection_id":190837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:54:30] local.INFO: TCP Data received {"connection_id":191039,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:54:30] local.INFO: Processing buffer {"connection_id":191039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:54:30] local.INFO: IMEI packet received {"connection_id":191039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":191039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:54:35] local.INFO: TCP Data received {"connection_id":191039,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:54:35] local.INFO: Processing buffer {"connection_id":191039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:54:35] local.INFO: IMEI packet received {"connection_id":191039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":191039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:54:36] local.INFO: TCP Data received {"connection_id":191039,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:54:36] local.INFO: Processing buffer {"connection_id":191039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:54:36] local.INFO: Packet analysis {"connection_id":191039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfb7"} 
[2026-09-24 00:54:36] local.INFO: Extracted packet for processing {"connection_id":191039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfb7"} 
[2026-09-24 00:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288893440001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790191291000,"timestamp_ms":1790191291000,"timestamp_seconds":1790191291,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfb74a78"} 
[2026-09-24 00:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00: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-09-24 00:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288893440001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288893440001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:54:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:54:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288893440001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":191039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:54:36] local.INFO: GPS data processed {"connection_id":191039,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:54:36] local.INFO: Acknowledgment sent {"connection_id":191039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:55:07] local.INFO: TCP Data received {"connection_id":191039,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:55:07] local.INFO: Processing buffer {"connection_id":191039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:55:07] local.INFO: Packet analysis {"connection_id":191039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfb7"} 
[2026-09-24 00:55:07] local.INFO: Extracted packet for processing {"connection_id":191039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfb7"} 
[2026-09-24 00:55:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288893440001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790191291000,"timestamp_ms":1790191291000,"timestamp_seconds":1790191291,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfb74a78"} 
[2026-09-24 00:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288893440001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288893440001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:55:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:55:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288893440001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":191039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:55:08] local.INFO: GPS data processed {"connection_id":191039,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:55:08] local.INFO: Acknowledgment sent {"connection_id":191039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:55:30] local.INFO: TCP Data received {"connection_id":191040,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:55:30] local.INFO: Processing buffer {"connection_id":191040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:55:30] local.INFO: IMEI packet received {"connection_id":191040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":191040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:55:35] local.INFO: TCP Data received {"connection_id":191040,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:55:35] local.INFO: Processing buffer {"connection_id":191040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:55:35] local.INFO: IMEI packet received {"connection_id":191040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":191040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:55:36] local.INFO: TCP Data received {"connection_id":191040,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:55:36] local.INFO: Processing buffer {"connection_id":191040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:55:36] local.INFO: Packet analysis {"connection_id":191040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfb7"} 
[2026-09-24 00:55:36] local.INFO: Extracted packet for processing {"connection_id":191040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfb7"} 
[2026-09-24 00:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288893440001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790191291000,"timestamp_ms":1790191291000,"timestamp_seconds":1790191291,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfb74a78"} 
[2026-09-24 00:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288893440001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288893440001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:55:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:55:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288893440001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":191040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:55:36] local.INFO: GPS data processed {"connection_id":191040,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:55:36] local.INFO: Acknowledgment sent {"connection_id":191040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:56:07] local.INFO: TCP Data received {"connection_id":191040,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:56:07] local.INFO: Processing buffer {"connection_id":191040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:56:07] local.INFO: Packet analysis {"connection_id":191040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfb7"} 
[2026-09-24 00:56:07] local.INFO: Extracted packet for processing {"connection_id":191040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfb7"} 
[2026-09-24 00:56:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288893440001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790191291000,"timestamp_ms":1790191291000,"timestamp_seconds":1790191291,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfb74a78"} 
[2026-09-24 00:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288893440001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288893440001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:56:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:56:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288893440001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":191040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:56:07] local.INFO: GPS data processed {"connection_id":191040,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:56:07] local.INFO: Acknowledgment sent {"connection_id":191040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:56:35] local.INFO: TCP Data received {"connection_id":192375,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:56:35] local.INFO: Processing buffer {"connection_id":192375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:56:35] local.INFO: IMEI packet received {"connection_id":192375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":192375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:56:40] local.INFO: TCP Data received {"connection_id":192375,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:56:40] local.INFO: Processing buffer {"connection_id":192375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:56:40] local.INFO: IMEI packet received {"connection_id":192375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":192375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:56:41] local.INFO: TCP Data received {"connection_id":192375,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:56:41] local.INFO: Processing buffer {"connection_id":192375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:56:41] local.INFO: Packet analysis {"connection_id":192375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfb7"} 
[2026-09-24 00:56:41] local.INFO: Extracted packet for processing {"connection_id":192375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfb7"} 
[2026-09-24 00:56:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288893440001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790191291000,"timestamp_ms":1790191291000,"timestamp_seconds":1790191291,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfb74a78"} 
[2026-09-24 00:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288893440001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288893440001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:56:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:56:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288893440001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":192375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:56:41] local.INFO: GPS data processed {"connection_id":192375,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:56:41] local.INFO: Acknowledgment sent {"connection_id":192375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:56:46] local.INFO: TCP Data received {"connection_id":192375,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:56:46] local.INFO: Processing buffer {"connection_id":192375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfb74a78012d34c58006aa4758000e010521..."} 
[2026-09-24 00:56:46] local.INFO: Packet analysis {"connection_id":192375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfb7"} 
[2026-09-24 00:56:46] local.INFO: Extracted packet for processing {"connection_id":192375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfb7"} 
[2026-09-24 00:56:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":14,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288893440001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790191291000,"timestamp_ms":1790191291000,"timestamp_seconds":1790191291,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfb74a78"} 
[2026-09-24 00:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 00:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":192375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":192375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":192375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288893440001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288893440001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:56:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:56:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288893440001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":192375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:56:46] local.INFO: GPS data processed {"connection_id":192375,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:56:46] local.INFO: Acknowledgment sent {"connection_id":192375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:57:30] local.INFO: TCP Data received {"connection_id":192376,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:57:30] local.INFO: Processing buffer {"connection_id":192376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:57:30] local.INFO: IMEI packet received {"connection_id":192376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":192376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:57:35] local.INFO: TCP Data received {"connection_id":192376,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:57:35] local.INFO: Processing buffer {"connection_id":192376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:57:35] local.INFO: IMEI packet received {"connection_id":192376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":192376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:57:36] local.INFO: TCP Data received {"connection_id":192376,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 00:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 00:57:36] local.INFO: Processing buffer {"connection_id":192376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 00:57:36] local.INFO: Packet analysis {"connection_id":192376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfbb"} 
[2026-09-24 00:57:36] local.INFO: Extracted packet for processing {"connection_id":192376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfbb"} 
[2026-09-24 00:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288970496001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790191592000,"timestamp_ms":1790191592000,"timestamp_seconds":1790191592,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfbbe240"} 
[2026-09-24 00:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 00:57:36] 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-09-24 00:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288970496001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288970496001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:57:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:57:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288970496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":192376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:57:36] local.INFO: GPS data processed {"connection_id":192376,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:57:36] local.INFO: Acknowledgment sent {"connection_id":192376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:58:07] local.INFO: TCP Data received {"connection_id":192376,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 00:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 00:58:07] local.INFO: Processing buffer {"connection_id":192376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 00:58:07] local.INFO: Packet analysis {"connection_id":192376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfbb"} 
[2026-09-24 00:58:07] local.INFO: Extracted packet for processing {"connection_id":192376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfbb"} 
[2026-09-24 00:58:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288970496001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790191592000,"timestamp_ms":1790191592000,"timestamp_seconds":1790191592,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfbbe240"} 
[2026-09-24 00:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 00:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 00:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288970496001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288970496001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:58:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:58:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288970496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":192376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:58:07] local.INFO: GPS data processed {"connection_id":192376,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:58:07] local.INFO: Acknowledgment sent {"connection_id":192376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:58:30] local.INFO: TCP Data received {"connection_id":191041,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:58:30] local.INFO: Processing buffer {"connection_id":191041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:58:30] local.INFO: IMEI packet received {"connection_id":191041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":191041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:58:35] local.INFO: TCP Data received {"connection_id":191041,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:58:35] local.INFO: Processing buffer {"connection_id":191041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:58:35] local.INFO: IMEI packet received {"connection_id":191041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":191041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:58:36] local.INFO: TCP Data received {"connection_id":191041,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 00:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 00:58:36] local.INFO: Processing buffer {"connection_id":191041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 00:58:36] local.INFO: Packet analysis {"connection_id":191041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfbb"} 
[2026-09-24 00:58:36] local.INFO: Extracted packet for processing {"connection_id":191041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfbb"} 
[2026-09-24 00:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288970496001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790191592000,"timestamp_ms":1790191592000,"timestamp_seconds":1790191592,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfbbe240"} 
[2026-09-24 00:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 00:58:36] 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-09-24 00:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288970496001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288970496001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:58:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:58:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288970496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":191041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:58:36] local.INFO: GPS data processed {"connection_id":191041,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:58:36] local.INFO: Acknowledgment sent {"connection_id":191041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:59:08] local.INFO: TCP Data received {"connection_id":191041,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 00:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 00:59:08] local.INFO: Processing buffer {"connection_id":191041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 00:59:08] local.INFO: Packet analysis {"connection_id":191041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfbb"} 
[2026-09-24 00:59:08] local.INFO: Extracted packet for processing {"connection_id":191041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfbb"} 
[2026-09-24 00:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00: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-09-24 00:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288970496001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790191592000,"timestamp_ms":1790191592000,"timestamp_seconds":1790191592,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfbbe240"} 
[2026-09-24 00:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 00:59:08] 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-09-24 00: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-09-24 00:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288970496001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288970496001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:59:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:59:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288970496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":191041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:59:08] local.INFO: GPS data processed {"connection_id":191041,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:59:08] local.INFO: Acknowledgment sent {"connection_id":191041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:59:35] local.INFO: TCP Data received {"connection_id":193727,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:59:35] local.INFO: Processing buffer {"connection_id":193727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:59:35] local.INFO: IMEI packet received {"connection_id":193727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 00:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":193727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 00:59:40] local.INFO: TCP Data received {"connection_id":193727,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:59:40] local.INFO: Processing buffer {"connection_id":193727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 00:59:40] local.INFO: IMEI packet received {"connection_id":193727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 00:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":193727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 00:59:42] local.INFO: TCP Data received {"connection_id":193727,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 00:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 00:59:42] local.INFO: Processing buffer {"connection_id":193727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 00:59:42] local.INFO: Packet analysis {"connection_id":193727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfbb"} 
[2026-09-24 00:59:42] local.INFO: Extracted packet for processing {"connection_id":193727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfbb"} 
[2026-09-24 00:59:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288970496001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790191592000,"timestamp_ms":1790191592000,"timestamp_seconds":1790191592,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfbbe240"} 
[2026-09-24 00:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 00:59:42] 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-09-24 00:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288970496001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288970496001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:59:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:59:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288970496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":193727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:59:42] local.INFO: GPS data processed {"connection_id":193727,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:59:42] local.INFO: Acknowledgment sent {"connection_id":193727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 00:59:45] local.INFO: TCP Data received {"connection_id":193727,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 00:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 00:59:45] local.INFO: Processing buffer {"connection_id":193727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 00:59:45] local.INFO: Packet analysis {"connection_id":193727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfbb"} 
[2026-09-24 00:59:45] local.INFO: Extracted packet for processing {"connection_id":193727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfbb"} 
[2026-09-24 00:59:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 00:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 00:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288970496001,"note":"Value kept but may cause issues"} 
[2026-09-24 00:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 00:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 00:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 00:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790191592000,"timestamp_ms":1790191592000,"timestamp_seconds":1790191592,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfbbe240"} 
[2026-09-24 00:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 00:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 00:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 00:59:45] 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-09-24 00:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 00:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 00:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 00:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 00:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 00:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 00:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 00:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 00:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288970496001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 00:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 00:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 00:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288970496001,"description":"Unknown IO ID 0"} 
[2026-09-24 00:59:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 00:59:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 00:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 00:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 00:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288970496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 00:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":193727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 00:59:45] local.INFO: GPS data processed {"connection_id":193727,"processed":1,"errors":0,"total":1} 
[2026-09-24 00:59:45] local.INFO: Acknowledgment sent {"connection_id":193727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:00:30] local.INFO: TCP Data received {"connection_id":190838,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:00:30] local.INFO: Processing buffer {"connection_id":190838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:00:30] local.INFO: IMEI packet received {"connection_id":190838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":190838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:00:35] local.INFO: TCP Data received {"connection_id":190838,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:00:35] local.INFO: Processing buffer {"connection_id":190838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:00:35] local.INFO: IMEI packet received {"connection_id":190838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":190838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:00:36] local.INFO: TCP Data received {"connection_id":190838,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 01:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 01:00:36] local.INFO: Processing buffer {"connection_id":190838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 01:00:36] local.INFO: Packet analysis {"connection_id":190838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfbb"} 
[2026-09-24 01:00:36] local.INFO: Extracted packet for processing {"connection_id":190838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfbb"} 
[2026-09-24 01:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288970496001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790191592000,"timestamp_ms":1790191592000,"timestamp_seconds":1790191592,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfbbe240"} 
[2026-09-24 01:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 01:00:36] 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-09-24 01:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288970496001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288970496001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:00:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288970496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":190838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:00:36] local.INFO: GPS data processed {"connection_id":190838,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:00:36] local.INFO: Acknowledgment sent {"connection_id":190838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:01:07] local.INFO: TCP Data received {"connection_id":190838,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 01:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 01:01:07] local.INFO: Processing buffer {"connection_id":190838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 01:01:07] local.INFO: Packet analysis {"connection_id":190838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfbb"} 
[2026-09-24 01:01:07] local.INFO: Extracted packet for processing {"connection_id":190838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfbb"} 
[2026-09-24 01:01:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288970496001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790191592000,"timestamp_ms":1790191592000,"timestamp_seconds":1790191592,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfbbe240"} 
[2026-09-24 01:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 01:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288970496001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288970496001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:01:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:01:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288970496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":190838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:01:07] local.INFO: GPS data processed {"connection_id":190838,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:01:07] local.INFO: Acknowledgment sent {"connection_id":190838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:01:30] local.INFO: TCP Data received {"connection_id":190839,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:01:30] local.INFO: Processing buffer {"connection_id":190839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:01:30] local.INFO: IMEI packet received {"connection_id":190839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":190839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:01:35] local.INFO: TCP Data received {"connection_id":190839,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:01:35] local.INFO: Processing buffer {"connection_id":190839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:01:35] local.INFO: IMEI packet received {"connection_id":190839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":190839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:01:36] local.INFO: TCP Data received {"connection_id":190839,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 01:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 01:01:36] local.INFO: Processing buffer {"connection_id":190839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 01:01:36] local.INFO: Packet analysis {"connection_id":190839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfbb"} 
[2026-09-24 01:01:36] local.INFO: Extracted packet for processing {"connection_id":190839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfbb"} 
[2026-09-24 01:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288970496001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790191592000,"timestamp_ms":1790191592000,"timestamp_seconds":1790191592,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfbbe240"} 
[2026-09-24 01:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 01:01:36] 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-09-24 01: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-09-24 01:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288970496001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288970496001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:01:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288970496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":190839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:01:36] local.INFO: GPS data processed {"connection_id":190839,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:01:36] local.INFO: Acknowledgment sent {"connection_id":190839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:02:08] local.INFO: TCP Data received {"connection_id":190839,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 01:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 01:02:08] local.INFO: Processing buffer {"connection_id":190839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfbbe240012d34c58006aa47580003010520..."} 
[2026-09-24 01:02:08] local.INFO: Packet analysis {"connection_id":190839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfbb"} 
[2026-09-24 01:02:08] local.INFO: Extracted packet for processing {"connection_id":190839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfbb"} 
[2026-09-24 01:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458288970496001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790191592000,"timestamp_ms":1790191592000,"timestamp_seconds":1790191592,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfbbe240"} 
[2026-09-24 01:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 01:02:08] 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-09-24 01:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458288970496001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458288970496001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:02:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:02:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458288970496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":190839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:02:08] local.INFO: GPS data processed {"connection_id":190839,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:02:08] local.INFO: Acknowledgment sent {"connection_id":190839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:02:30] local.INFO: TCP Data received {"connection_id":191042,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:02:30] local.INFO: Processing buffer {"connection_id":191042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:02:30] local.INFO: IMEI packet received {"connection_id":191042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":191042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:02:35] local.INFO: TCP Data received {"connection_id":191042,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:02:35] local.INFO: Processing buffer {"connection_id":191042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:02:35] local.INFO: IMEI packet received {"connection_id":191042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":191042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:02:36] local.INFO: TCP Data received {"connection_id":191042,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:02:36] local.INFO: Processing buffer {"connection_id":191042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:02:36] local.INFO: Packet analysis {"connection_id":191042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc0"} 
[2026-09-24 01:02:36] local.INFO: Extracted packet for processing {"connection_id":191042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc0"} 
[2026-09-24 01:02:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289047552001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790191893000,"timestamp_ms":1790191893000,"timestamp_seconds":1790191893,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc07a08"} 
[2026-09-24 01:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 01:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289047552001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289047552001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:02:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:02:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289047552001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":191042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:02:36] local.INFO: GPS data processed {"connection_id":191042,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:02:36] local.INFO: Acknowledgment sent {"connection_id":191042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:03:07] local.INFO: TCP Data received {"connection_id":191042,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:03:07] local.INFO: Processing buffer {"connection_id":191042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:03:07] local.INFO: Packet analysis {"connection_id":191042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc0"} 
[2026-09-24 01:03:07] local.INFO: Extracted packet for processing {"connection_id":191042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc0"} 
[2026-09-24 01:03:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289047552001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790191893000,"timestamp_ms":1790191893000,"timestamp_seconds":1790191893,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc07a08"} 
[2026-09-24 01:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 01:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289047552001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289047552001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:03:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:03:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289047552001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":191042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:03:07] local.INFO: GPS data processed {"connection_id":191042,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:03:07] local.INFO: Acknowledgment sent {"connection_id":191042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:03:30] local.INFO: TCP Data received {"connection_id":190840,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:03:30] local.INFO: Processing buffer {"connection_id":190840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:03:30] local.INFO: IMEI packet received {"connection_id":190840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":190840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:03:35] local.INFO: TCP Data received {"connection_id":190840,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:03:35] local.INFO: Processing buffer {"connection_id":190840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:03:35] local.INFO: IMEI packet received {"connection_id":190840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":190840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:03:36] local.INFO: TCP Data received {"connection_id":190840,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:03:36] local.INFO: Processing buffer {"connection_id":190840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:03:36] local.INFO: Packet analysis {"connection_id":190840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc0"} 
[2026-09-24 01:03:36] local.INFO: Extracted packet for processing {"connection_id":190840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc0"} 
[2026-09-24 01:03:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289047552001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790191893000,"timestamp_ms":1790191893000,"timestamp_seconds":1790191893,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc07a08"} 
[2026-09-24 01:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 01:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289047552001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289047552001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:03:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:03:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289047552001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":190840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:03:36] local.INFO: GPS data processed {"connection_id":190840,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:03:36] local.INFO: Acknowledgment sent {"connection_id":190840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:04:30] local.INFO: TCP Data received {"connection_id":191043,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:04:30] local.INFO: Processing buffer {"connection_id":191043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:04:30] local.INFO: IMEI packet received {"connection_id":191043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":191043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:04:35] local.INFO: TCP Data received {"connection_id":191043,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:04:35] local.INFO: Processing buffer {"connection_id":191043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:04:35] local.INFO: IMEI packet received {"connection_id":191043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":191043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:04:36] local.INFO: TCP Data received {"connection_id":191043,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:04:36] local.INFO: Processing buffer {"connection_id":191043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:04:36] local.INFO: Packet analysis {"connection_id":191043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc0"} 
[2026-09-24 01:04:36] local.INFO: Extracted packet for processing {"connection_id":191043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc0"} 
[2026-09-24 01:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289047552001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790191893000,"timestamp_ms":1790191893000,"timestamp_seconds":1790191893,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc07a08"} 
[2026-09-24 01:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 01:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289047552001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289047552001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:04:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:04:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289047552001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":191043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:04:36] local.INFO: GPS data processed {"connection_id":191043,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:04:36] local.INFO: Acknowledgment sent {"connection_id":191043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:05:07] local.INFO: TCP Data received {"connection_id":191043,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:05:07] local.INFO: Processing buffer {"connection_id":191043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:05:07] local.INFO: Packet analysis {"connection_id":191043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc0"} 
[2026-09-24 01:05:07] local.INFO: Extracted packet for processing {"connection_id":191043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc0"} 
[2026-09-24 01:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289047552001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790191893000,"timestamp_ms":1790191893000,"timestamp_seconds":1790191893,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc07a08"} 
[2026-09-24 01:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 01:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289047552001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289047552001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:05:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:05:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289047552001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":191043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:05:07] local.INFO: GPS data processed {"connection_id":191043,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:05:07] local.INFO: Acknowledgment sent {"connection_id":191043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:05:30] local.INFO: TCP Data received {"connection_id":193728,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:05:30] local.INFO: Processing buffer {"connection_id":193728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:05:30] local.INFO: IMEI packet received {"connection_id":193728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":193728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:05:35] local.INFO: TCP Data received {"connection_id":193728,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:05:35] local.INFO: Processing buffer {"connection_id":193728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:05:35] local.INFO: IMEI packet received {"connection_id":193728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":193728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:05:36] local.INFO: TCP Data received {"connection_id":193728,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:05:36] local.INFO: Processing buffer {"connection_id":193728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:05:36] local.INFO: Packet analysis {"connection_id":193728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc0"} 
[2026-09-24 01:05:36] local.INFO: Extracted packet for processing {"connection_id":193728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc0"} 
[2026-09-24 01:05:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289047552001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790191893000,"timestamp_ms":1790191893000,"timestamp_seconds":1790191893,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc07a08"} 
[2026-09-24 01:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 01:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289047552001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289047552001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:05:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:05:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289047552001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":193728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:05:36] local.INFO: GPS data processed {"connection_id":193728,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:05:36] local.INFO: Acknowledgment sent {"connection_id":193728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:06:08] local.INFO: TCP Data received {"connection_id":193728,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:06:08] local.INFO: Processing buffer {"connection_id":193728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:06:08] local.INFO: Packet analysis {"connection_id":193728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc0"} 
[2026-09-24 01:06:08] local.INFO: Extracted packet for processing {"connection_id":193728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc0"} 
[2026-09-24 01:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289047552001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790191893000,"timestamp_ms":1790191893000,"timestamp_seconds":1790191893,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc07a08"} 
[2026-09-24 01:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 01:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01: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-09-24 01:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289047552001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289047552001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:06:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:06:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289047552001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":193728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:06:08] local.INFO: GPS data processed {"connection_id":193728,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:06:08] local.INFO: Acknowledgment sent {"connection_id":193728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:06:25] local.INFO: TCP Data received {"connection_id":193729,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:06:25] local.INFO: Processing buffer {"connection_id":193729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:06:25] local.INFO: IMEI packet received {"connection_id":193729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":193729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:06:30] local.INFO: TCP Data received {"connection_id":193729,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:06:30] local.INFO: Processing buffer {"connection_id":193729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:06:30] local.INFO: IMEI packet received {"connection_id":193729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":193729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:06:31] local.INFO: TCP Data received {"connection_id":193729,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:06:31] local.INFO: Processing buffer {"connection_id":193729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:06:31] local.INFO: Packet analysis {"connection_id":193729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc0"} 
[2026-09-24 01:06:31] local.INFO: Extracted packet for processing {"connection_id":193729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc0"} 
[2026-09-24 01:06:31] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289047552001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790191893000,"timestamp_ms":1790191893000,"timestamp_seconds":1790191893,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc07a08"} 
[2026-09-24 01:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 01:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01: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-09-24 01:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289047552001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289047552001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:06:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:06:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289047552001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":193729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:06:31] local.INFO: GPS data processed {"connection_id":193729,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:06:31] local.INFO: Acknowledgment sent {"connection_id":193729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:07:02] local.INFO: TCP Data received {"connection_id":193729,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:07:02] local.INFO: Processing buffer {"connection_id":193729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc07a08012d34c58006aa47580003010526..."} 
[2026-09-24 01:07:02] local.INFO: Packet analysis {"connection_id":193729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc0"} 
[2026-09-24 01:07:02] local.INFO: Extracted packet for processing {"connection_id":193729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc0"} 
[2026-09-24 01:07:02] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289047552001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790191893000,"timestamp_ms":1790191893000,"timestamp_seconds":1790191893,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc07a08"} 
[2026-09-24 01:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 01:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289047552001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289047552001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:07:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:07:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289047552001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":193729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:07:02] local.INFO: GPS data processed {"connection_id":193729,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:07:02] local.INFO: Acknowledgment sent {"connection_id":193729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:07:35] local.INFO: TCP Data received {"connection_id":191044,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:07:35] local.INFO: Processing buffer {"connection_id":191044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:07:35] local.INFO: IMEI packet received {"connection_id":191044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":191044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:07:40] local.INFO: TCP Data received {"connection_id":191044,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:07:40] local.INFO: Processing buffer {"connection_id":191044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:07:40] local.INFO: IMEI packet received {"connection_id":191044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":191044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:07:41] local.INFO: TCP Data received {"connection_id":191044,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:07:41] local.INFO: Processing buffer {"connection_id":191044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:07:41] local.INFO: Packet analysis {"connection_id":191044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc5"} 
[2026-09-24 01:07:41] local.INFO: Extracted packet for processing {"connection_id":191044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc5"} 
[2026-09-24 01:07:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289124608001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790192194000,"timestamp_ms":1790192194000,"timestamp_seconds":1790192194,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc511d0"} 
[2026-09-24 01:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289124608001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289124608001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:07:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:07:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289124608001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":191044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:07:41] local.INFO: GPS data processed {"connection_id":191044,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:07:41] local.INFO: Acknowledgment sent {"connection_id":191044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:07:46] local.INFO: TCP Data received {"connection_id":191044,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:07:46] local.INFO: Processing buffer {"connection_id":191044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:07:46] local.INFO: Packet analysis {"connection_id":191044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc5"} 
[2026-09-24 01:07:46] local.INFO: Extracted packet for processing {"connection_id":191044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc5"} 
[2026-09-24 01:07:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289124608001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790192194000,"timestamp_ms":1790192194000,"timestamp_seconds":1790192194,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc511d0"} 
[2026-09-24 01:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:07:46] 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-09-24 01: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-09-24 01:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289124608001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289124608001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:07:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:07:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289124608001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":191044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:07:46] local.INFO: GPS data processed {"connection_id":191044,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:07:46] local.INFO: Acknowledgment sent {"connection_id":191044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:08:30] local.INFO: TCP Data received {"connection_id":192377,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:08:30] local.INFO: Processing buffer {"connection_id":192377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:08:30] local.INFO: IMEI packet received {"connection_id":192377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":192377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:08:35] local.INFO: TCP Data received {"connection_id":192377,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:08:35] local.INFO: Processing buffer {"connection_id":192377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:08:35] local.INFO: IMEI packet received {"connection_id":192377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":192377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:08:36] local.INFO: TCP Data received {"connection_id":192377,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:08:36] local.INFO: Processing buffer {"connection_id":192377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:08:36] local.INFO: Packet analysis {"connection_id":192377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc5"} 
[2026-09-24 01:08:36] local.INFO: Extracted packet for processing {"connection_id":192377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc5"} 
[2026-09-24 01:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 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-09-24 01:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289124608001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790192194000,"timestamp_ms":1790192194000,"timestamp_seconds":1790192194,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc511d0"} 
[2026-09-24 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-09-24 01:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 01:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289124608001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289124608001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:08:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289124608001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":192377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:08:36] local.INFO: GPS data processed {"connection_id":192377,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:08:36] local.INFO: Acknowledgment sent {"connection_id":192377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:09:08] local.INFO: TCP Data received {"connection_id":192377,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:09:08] local.INFO: Processing buffer {"connection_id":192377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:09:08] local.INFO: Packet analysis {"connection_id":192377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc5"} 
[2026-09-24 01:09:08] local.INFO: Extracted packet for processing {"connection_id":192377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc5"} 
[2026-09-24 01:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289124608001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790192194000,"timestamp_ms":1790192194000,"timestamp_seconds":1790192194,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc511d0"} 
[2026-09-24 01:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:09:08] 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-09-24 01:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289124608001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289124608001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:09:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289124608001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":192377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:09:08] local.INFO: GPS data processed {"connection_id":192377,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:09:08] local.INFO: Acknowledgment sent {"connection_id":192377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:09:30] local.INFO: TCP Data received {"connection_id":193730,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:09:30] local.INFO: Processing buffer {"connection_id":193730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:09:30] local.INFO: IMEI packet received {"connection_id":193730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":193730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:09:35] local.INFO: TCP Data received {"connection_id":193730,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:09:35] local.INFO: Processing buffer {"connection_id":193730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:09:35] local.INFO: IMEI packet received {"connection_id":193730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":193730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:09:36] local.INFO: TCP Data received {"connection_id":193730,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:09:36] local.INFO: Processing buffer {"connection_id":193730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:09:36] local.INFO: Packet analysis {"connection_id":193730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc5"} 
[2026-09-24 01:09:36] local.INFO: Extracted packet for processing {"connection_id":193730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc5"} 
[2026-09-24 01:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289124608001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790192194000,"timestamp_ms":1790192194000,"timestamp_seconds":1790192194,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc511d0"} 
[2026-09-24 01:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289124608001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289124608001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:09:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:09:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289124608001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":193730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:09:36] local.INFO: GPS data processed {"connection_id":193730,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:09:36] local.INFO: Acknowledgment sent {"connection_id":193730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:10:08] local.INFO: TCP Data received {"connection_id":193730,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:10:08] local.INFO: Processing buffer {"connection_id":193730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:10:08] local.INFO: Packet analysis {"connection_id":193730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc5"} 
[2026-09-24 01:10:08] local.INFO: Extracted packet for processing {"connection_id":193730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc5"} 
[2026-09-24 01:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289124608001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790192194000,"timestamp_ms":1790192194000,"timestamp_seconds":1790192194,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc511d0"} 
[2026-09-24 01:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:10:08] 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-09-24 01: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-09-24 01:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289124608001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289124608001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:10:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289124608001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":193730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:10:08] local.INFO: GPS data processed {"connection_id":193730,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:10:08] local.INFO: Acknowledgment sent {"connection_id":193730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:10:30] local.INFO: TCP Data received {"connection_id":190841,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:10:30] local.INFO: Processing buffer {"connection_id":190841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:10:30] local.INFO: IMEI packet received {"connection_id":190841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":190841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:10:35] local.INFO: TCP Data received {"connection_id":190841,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:10:35] local.INFO: Processing buffer {"connection_id":190841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:10:35] local.INFO: IMEI packet received {"connection_id":190841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":190841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:10:36] local.INFO: TCP Data received {"connection_id":190841,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:10:36] local.INFO: Processing buffer {"connection_id":190841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:10:36] local.INFO: Packet analysis {"connection_id":190841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc5"} 
[2026-09-24 01:10:36] local.INFO: Extracted packet for processing {"connection_id":190841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc5"} 
[2026-09-24 01:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289124608001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790192194000,"timestamp_ms":1790192194000,"timestamp_seconds":1790192194,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc511d0"} 
[2026-09-24 01:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01: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-09-24 01:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289124608001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289124608001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:10:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289124608001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":190841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:10:36] local.INFO: GPS data processed {"connection_id":190841,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:10:36] local.INFO: Acknowledgment sent {"connection_id":190841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:11:07] local.INFO: TCP Data received {"connection_id":190841,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:11:07] local.INFO: Processing buffer {"connection_id":190841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:11:07] local.INFO: Packet analysis {"connection_id":190841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc5"} 
[2026-09-24 01:11:07] local.INFO: Extracted packet for processing {"connection_id":190841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc5"} 
[2026-09-24 01:11:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289124608001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790192194000,"timestamp_ms":1790192194000,"timestamp_seconds":1790192194,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc511d0"} 
[2026-09-24 01:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01: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-09-24 01:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289124608001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289124608001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:11:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:11:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289124608001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":190841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:11:07] local.INFO: GPS data processed {"connection_id":190841,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:11:07] local.INFO: Acknowledgment sent {"connection_id":190841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:11:30] local.INFO: TCP Data received {"connection_id":193731,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:11:30] local.INFO: Processing buffer {"connection_id":193731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:11:30] local.INFO: IMEI packet received {"connection_id":193731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":193731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:11:35] local.INFO: TCP Data received {"connection_id":193731,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:11:35] local.INFO: Processing buffer {"connection_id":193731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:11:35] local.INFO: IMEI packet received {"connection_id":193731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":193731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:11:36] local.INFO: TCP Data received {"connection_id":193731,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:11:36] local.INFO: Processing buffer {"connection_id":193731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:11:36] local.INFO: Packet analysis {"connection_id":193731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc5"} 
[2026-09-24 01:11:36] local.INFO: Extracted packet for processing {"connection_id":193731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc5"} 
[2026-09-24 01:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289124608001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790192194000,"timestamp_ms":1790192194000,"timestamp_seconds":1790192194,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc511d0"} 
[2026-09-24 01:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289124608001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289124608001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:11:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:11:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289124608001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":193731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:11:36] local.INFO: GPS data processed {"connection_id":193731,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:11:36] local.INFO: Acknowledgment sent {"connection_id":193731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:12:08] local.INFO: TCP Data received {"connection_id":193731,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:12:08] local.INFO: Processing buffer {"connection_id":193731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc511d0012d34c58006aa47580003010522..."} 
[2026-09-24 01:12:08] local.INFO: Packet analysis {"connection_id":193731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc5"} 
[2026-09-24 01:12:08] local.INFO: Extracted packet for processing {"connection_id":193731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc5"} 
[2026-09-24 01:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":3,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289124608001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790192194000,"timestamp_ms":1790192194000,"timestamp_seconds":1790192194,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc511d0"} 
[2026-09-24 01:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:12:08] 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-09-24 01: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-09-24 01:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289124608001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289124608001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:12:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289124608001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":193731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:12:08] local.INFO: GPS data processed {"connection_id":193731,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:12:08] local.INFO: Acknowledgment sent {"connection_id":193731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:12:30] local.INFO: TCP Data received {"connection_id":192378,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:12:30] local.INFO: Processing buffer {"connection_id":192378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:12:30] local.INFO: IMEI packet received {"connection_id":192378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":192378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:12:35] local.INFO: TCP Data received {"connection_id":192378,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:12:35] local.INFO: Processing buffer {"connection_id":192378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:12:35] local.INFO: IMEI packet received {"connection_id":192378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":192378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:12:36] local.INFO: TCP Data received {"connection_id":192378,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:12:36] local.INFO: Processing buffer {"connection_id":192378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:12:36] local.INFO: Packet analysis {"connection_id":192378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc9"} 
[2026-09-24 01:12:36] local.INFO: Extracted packet for processing {"connection_id":192378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc9"} 
[2026-09-24 01:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289201664001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790192495000,"timestamp_ms":1790192495000,"timestamp_seconds":1790192495,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc9a998"} 
[2026-09-24 01:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 01:12: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-09-24 01:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289201664001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289201664001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:12:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:12:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289201664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":192378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:12:36] local.INFO: GPS data processed {"connection_id":192378,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:12:36] local.INFO: Acknowledgment sent {"connection_id":192378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:13:07] local.INFO: TCP Data received {"connection_id":192378,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:13:07] local.INFO: Processing buffer {"connection_id":192378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:13:07] local.INFO: Packet analysis {"connection_id":192378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc9"} 
[2026-09-24 01:13:07] local.INFO: Extracted packet for processing {"connection_id":192378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc9"} 
[2026-09-24 01:13:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289201664001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790192495000,"timestamp_ms":1790192495000,"timestamp_seconds":1790192495,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc9a998"} 
[2026-09-24 01:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 01:13:07] 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-09-24 01:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289201664001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289201664001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:13:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:13:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289201664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":192378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:13:07] local.INFO: GPS data processed {"connection_id":192378,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:13:07] local.INFO: Acknowledgment sent {"connection_id":192378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:13:35] local.INFO: TCP Data received {"connection_id":190842,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:13:35] local.INFO: Processing buffer {"connection_id":190842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:13:35] local.INFO: IMEI packet received {"connection_id":190842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":190842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:13:40] local.INFO: TCP Data received {"connection_id":190842,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:13:40] local.INFO: Processing buffer {"connection_id":190842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:13:40] local.INFO: IMEI packet received {"connection_id":190842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":190842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:13:41] local.INFO: TCP Data received {"connection_id":190842,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:13:41] local.INFO: Processing buffer {"connection_id":190842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:13:41] local.INFO: Packet analysis {"connection_id":190842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc9"} 
[2026-09-24 01:13:41] local.INFO: Extracted packet for processing {"connection_id":190842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc9"} 
[2026-09-24 01:13:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289201664001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790192495000,"timestamp_ms":1790192495000,"timestamp_seconds":1790192495,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc9a998"} 
[2026-09-24 01:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 01:13:41] 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-09-24 01:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289201664001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289201664001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:13:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:13:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289201664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":190842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:13:41] local.INFO: GPS data processed {"connection_id":190842,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:13:41] local.INFO: Acknowledgment sent {"connection_id":190842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:13:46] local.INFO: TCP Data received {"connection_id":190842,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:13:46] local.INFO: Processing buffer {"connection_id":190842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:13:46] local.INFO: Packet analysis {"connection_id":190842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc9"} 
[2026-09-24 01:13:46] local.INFO: Extracted packet for processing {"connection_id":190842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc9"} 
[2026-09-24 01:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289201664001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790192495000,"timestamp_ms":1790192495000,"timestamp_seconds":1790192495,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc9a998"} 
[2026-09-24 01:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 01:13:46] 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-09-24 01:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289201664001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289201664001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:13:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:13:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289201664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":190842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:13:46] local.INFO: GPS data processed {"connection_id":190842,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:13:46] local.INFO: Acknowledgment sent {"connection_id":190842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:14:30] local.INFO: TCP Data received {"connection_id":193732,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:14:30] local.INFO: Processing buffer {"connection_id":193732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:14:30] local.INFO: IMEI packet received {"connection_id":193732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":193732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:14:35] local.INFO: TCP Data received {"connection_id":193732,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:14:35] local.INFO: Processing buffer {"connection_id":193732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:14:35] local.INFO: IMEI packet received {"connection_id":193732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":193732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:14:36] local.INFO: TCP Data received {"connection_id":193732,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:14:36] local.INFO: Processing buffer {"connection_id":193732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:14:36] local.INFO: Packet analysis {"connection_id":193732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc9"} 
[2026-09-24 01:14:36] local.INFO: Extracted packet for processing {"connection_id":193732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc9"} 
[2026-09-24 01:14:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289201664001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790192495000,"timestamp_ms":1790192495000,"timestamp_seconds":1790192495,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc9a998"} 
[2026-09-24 01:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 01:14: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-09-24 01:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289201664001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289201664001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:14:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:14:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289201664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":193732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:14:36] local.INFO: GPS data processed {"connection_id":193732,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:14:36] local.INFO: Acknowledgment sent {"connection_id":193732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:15:07] local.INFO: TCP Data received {"connection_id":193732,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:15:07] local.INFO: Processing buffer {"connection_id":193732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:15:07] local.INFO: Packet analysis {"connection_id":193732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc9"} 
[2026-09-24 01:15:07] local.INFO: Extracted packet for processing {"connection_id":193732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc9"} 
[2026-09-24 01:15:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289201664001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790192495000,"timestamp_ms":1790192495000,"timestamp_seconds":1790192495,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc9a998"} 
[2026-09-24 01:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 01:15:07] 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-09-24 01:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289201664001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289201664001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:15:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:15:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289201664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":193732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:15:07] local.INFO: GPS data processed {"connection_id":193732,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:15:07] local.INFO: Acknowledgment sent {"connection_id":193732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:15:30] local.INFO: TCP Data received {"connection_id":190843,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:15:30] local.INFO: Processing buffer {"connection_id":190843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:15:30] local.INFO: IMEI packet received {"connection_id":190843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":190843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:15:35] local.INFO: TCP Data received {"connection_id":190843,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:15:35] local.INFO: Processing buffer {"connection_id":190843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:15:35] local.INFO: IMEI packet received {"connection_id":190843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":190843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:15:36] local.INFO: TCP Data received {"connection_id":190843,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:15:36] local.INFO: Processing buffer {"connection_id":190843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:15:36] local.INFO: Packet analysis {"connection_id":190843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc9"} 
[2026-09-24 01:15:36] local.INFO: Extracted packet for processing {"connection_id":190843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc9"} 
[2026-09-24 01:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289201664001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790192495000,"timestamp_ms":1790192495000,"timestamp_seconds":1790192495,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc9a998"} 
[2026-09-24 01:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 01:15: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-09-24 01:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289201664001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289201664001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:15:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289201664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":190843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:15:36] local.INFO: GPS data processed {"connection_id":190843,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:15:36] local.INFO: Acknowledgment sent {"connection_id":190843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:16:08] local.INFO: TCP Data received {"connection_id":190843,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:16:08] local.INFO: Processing buffer {"connection_id":190843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:16:08] local.INFO: Packet analysis {"connection_id":190843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc9"} 
[2026-09-24 01:16:08] local.INFO: Extracted packet for processing {"connection_id":190843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc9"} 
[2026-09-24 01:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289201664001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790192495000,"timestamp_ms":1790192495000,"timestamp_seconds":1790192495,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc9a998"} 
[2026-09-24 01:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 01:16:08] 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-09-24 01: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-09-24 01:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289201664001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289201664001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:16:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289201664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":190843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:16:08] local.INFO: GPS data processed {"connection_id":190843,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:16:08] local.INFO: Acknowledgment sent {"connection_id":190843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:16:30] local.INFO: TCP Data received {"connection_id":193733,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:16:30] local.INFO: Processing buffer {"connection_id":193733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:16:30] local.INFO: IMEI packet received {"connection_id":193733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":193733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:16:35] local.INFO: TCP Data received {"connection_id":193733,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:16:35] local.INFO: Processing buffer {"connection_id":193733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:16:35] local.INFO: IMEI packet received {"connection_id":193733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":193733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:16:36] local.INFO: TCP Data received {"connection_id":193733,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:16:36] local.INFO: Processing buffer {"connection_id":193733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:16:36] local.INFO: Packet analysis {"connection_id":193733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc9"} 
[2026-09-24 01:16:36] local.INFO: Extracted packet for processing {"connection_id":193733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc9"} 
[2026-09-24 01:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289201664001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790192495000,"timestamp_ms":1790192495000,"timestamp_seconds":1790192495,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc9a998"} 
[2026-09-24 01:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 01:16: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-09-24 01: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-09-24 01:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289201664001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289201664001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:16:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:16:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289201664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":193733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:16:36] local.INFO: GPS data processed {"connection_id":193733,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:16:36] local.INFO: Acknowledgment sent {"connection_id":193733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:17:07] local.INFO: TCP Data received {"connection_id":193733,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:17:07] local.INFO: Processing buffer {"connection_id":193733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfc9a998012d34c58006aa47580012010523..."} 
[2026-09-24 01:17:07] local.INFO: Packet analysis {"connection_id":193733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfc9"} 
[2026-09-24 01:17:07] local.INFO: Extracted packet for processing {"connection_id":193733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfc9"} 
[2026-09-24 01:17:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289201664001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790192495000,"timestamp_ms":1790192495000,"timestamp_seconds":1790192495,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfc9a998"} 
[2026-09-24 01:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 01:17:07] 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-09-24 01:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289201664001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289201664001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:17:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:17:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289201664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":193733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:17:07] local.INFO: GPS data processed {"connection_id":193733,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:17:07] local.INFO: Acknowledgment sent {"connection_id":193733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:17:30] local.INFO: TCP Data received {"connection_id":192379,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:17:30] local.INFO: Processing buffer {"connection_id":192379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:17:30] local.INFO: IMEI packet received {"connection_id":192379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":192379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:17:35] local.INFO: TCP Data received {"connection_id":192379,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:17:35] local.INFO: Processing buffer {"connection_id":192379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:17:35] local.INFO: IMEI packet received {"connection_id":192379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":192379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:17:36] local.INFO: TCP Data received {"connection_id":192379,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:17:36] local.INFO: Processing buffer {"connection_id":192379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:17:36] local.INFO: Packet analysis {"connection_id":192379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfce"} 
[2026-09-24 01:17:36] local.INFO: Extracted packet for processing {"connection_id":192379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfce"} 
[2026-09-24 01:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289278720001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790192796000,"timestamp_ms":1790192796000,"timestamp_seconds":1790192796,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfce4160"} 
[2026-09-24 01:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289278720001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289278720001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:17:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289278720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":192379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:17:36] local.INFO: GPS data processed {"connection_id":192379,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:17:36] local.INFO: Acknowledgment sent {"connection_id":192379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:18:07] local.INFO: TCP Data received {"connection_id":192379,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:18:07] local.INFO: Processing buffer {"connection_id":192379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:18:07] local.INFO: Packet analysis {"connection_id":192379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfce"} 
[2026-09-24 01:18:07] local.INFO: Extracted packet for processing {"connection_id":192379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfce"} 
[2026-09-24 01:18:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289278720001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790192796000,"timestamp_ms":1790192796000,"timestamp_seconds":1790192796,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfce4160"} 
[2026-09-24 01:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289278720001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289278720001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:18:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:18:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289278720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":192379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:18:07] local.INFO: GPS data processed {"connection_id":192379,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:18:07] local.INFO: Acknowledgment sent {"connection_id":192379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:18:35] local.INFO: TCP Data received {"connection_id":190844,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:18:35] local.INFO: Processing buffer {"connection_id":190844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:18:35] local.INFO: IMEI packet received {"connection_id":190844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":190844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:18:40] local.INFO: TCP Data received {"connection_id":190844,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:18:40] local.INFO: Processing buffer {"connection_id":190844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:18:40] local.INFO: IMEI packet received {"connection_id":190844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":190844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:18:41] local.INFO: TCP Data received {"connection_id":190844,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:18:41] local.INFO: Processing buffer {"connection_id":190844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:18:41] local.INFO: Packet analysis {"connection_id":190844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfce"} 
[2026-09-24 01:18:41] local.INFO: Extracted packet for processing {"connection_id":190844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfce"} 
[2026-09-24 01:18:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289278720001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790192796000,"timestamp_ms":1790192796000,"timestamp_seconds":1790192796,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfce4160"} 
[2026-09-24 01:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289278720001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289278720001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:18:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:18:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289278720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":190844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:18:41] local.INFO: GPS data processed {"connection_id":190844,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:18:41] local.INFO: Acknowledgment sent {"connection_id":190844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:18:46] local.INFO: TCP Data received {"connection_id":190844,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:18:46] local.INFO: Processing buffer {"connection_id":190844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:18:46] local.INFO: Packet analysis {"connection_id":190844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfce"} 
[2026-09-24 01:18:46] local.INFO: Extracted packet for processing {"connection_id":190844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfce"} 
[2026-09-24 01:18:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289278720001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790192796000,"timestamp_ms":1790192796000,"timestamp_seconds":1790192796,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfce4160"} 
[2026-09-24 01:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:18:46] 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-09-24 01: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-09-24 01:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289278720001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289278720001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:18:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:18:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289278720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":190844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:18:46] local.INFO: GPS data processed {"connection_id":190844,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:18:46] local.INFO: Acknowledgment sent {"connection_id":190844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:19:30] local.INFO: TCP Data received {"connection_id":193734,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:19:30] local.INFO: Processing buffer {"connection_id":193734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:19:30] local.INFO: IMEI packet received {"connection_id":193734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":193734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:19:35] local.INFO: TCP Data received {"connection_id":193734,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:19:35] local.INFO: Processing buffer {"connection_id":193734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:19:35] local.INFO: IMEI packet received {"connection_id":193734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":193734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:19:36] local.INFO: TCP Data received {"connection_id":193734,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:19:36] local.INFO: Processing buffer {"connection_id":193734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:19:36] local.INFO: Packet analysis {"connection_id":193734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfce"} 
[2026-09-24 01:19:36] local.INFO: Extracted packet for processing {"connection_id":193734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfce"} 
[2026-09-24 01:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289278720001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790192796000,"timestamp_ms":1790192796000,"timestamp_seconds":1790192796,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfce4160"} 
[2026-09-24 01:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01: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-09-24 01:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289278720001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289278720001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:19:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:19:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289278720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":193734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:19:36] local.INFO: GPS data processed {"connection_id":193734,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:19:36] local.INFO: Acknowledgment sent {"connection_id":193734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:20:08] local.INFO: TCP Data received {"connection_id":193734,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:20:08] local.INFO: Processing buffer {"connection_id":193734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:20:08] local.INFO: Packet analysis {"connection_id":193734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfce"} 
[2026-09-24 01:20:08] local.INFO: Extracted packet for processing {"connection_id":193734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfce"} 
[2026-09-24 01:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289278720001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790192796000,"timestamp_ms":1790192796000,"timestamp_seconds":1790192796,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfce4160"} 
[2026-09-24 01:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:20:08] 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-09-24 01: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-09-24 01:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289278720001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289278720001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:20:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:20:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289278720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":193734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:20:08] local.INFO: GPS data processed {"connection_id":193734,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:20:08] local.INFO: Acknowledgment sent {"connection_id":193734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:20:30] local.INFO: TCP Data received {"connection_id":192380,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:20:30] local.INFO: Processing buffer {"connection_id":192380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:20:30] local.INFO: IMEI packet received {"connection_id":192380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":192380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:20:35] local.INFO: TCP Data received {"connection_id":192380,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:20:35] local.INFO: Processing buffer {"connection_id":192380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:20:35] local.INFO: IMEI packet received {"connection_id":192380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":192380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:20:36] local.INFO: TCP Data received {"connection_id":192380,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:20:36] local.INFO: Processing buffer {"connection_id":192380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:20:36] local.INFO: Packet analysis {"connection_id":192380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfce"} 
[2026-09-24 01:20:36] local.INFO: Extracted packet for processing {"connection_id":192380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfce"} 
[2026-09-24 01:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289278720001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790192796000,"timestamp_ms":1790192796000,"timestamp_seconds":1790192796,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfce4160"} 
[2026-09-24 01:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01: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-09-24 01:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289278720001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289278720001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:20:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:20:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289278720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":192380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:20:36] local.INFO: GPS data processed {"connection_id":192380,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:20:36] local.INFO: Acknowledgment sent {"connection_id":192380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:21:07] local.INFO: TCP Data received {"connection_id":192380,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:21:07] local.INFO: Processing buffer {"connection_id":192380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:21:07] local.INFO: Packet analysis {"connection_id":192380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfce"} 
[2026-09-24 01:21:07] local.INFO: Extracted packet for processing {"connection_id":192380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfce"} 
[2026-09-24 01:21:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289278720001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790192796000,"timestamp_ms":1790192796000,"timestamp_seconds":1790192796,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfce4160"} 
[2026-09-24 01:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289278720001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289278720001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:21:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:21:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289278720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":192380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:21:07] local.INFO: GPS data processed {"connection_id":192380,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:21:07] local.INFO: Acknowledgment sent {"connection_id":192380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:21:30] local.INFO: TCP Data received {"connection_id":191045,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:21:30] local.INFO: Processing buffer {"connection_id":191045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:21:30] local.INFO: IMEI packet received {"connection_id":191045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":191045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:21:35] local.INFO: TCP Data received {"connection_id":191045,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:21:35] local.INFO: Processing buffer {"connection_id":191045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:21:35] local.INFO: IMEI packet received {"connection_id":191045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":191045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:21:37] local.INFO: TCP Data received {"connection_id":191045,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:21:37] local.INFO: Processing buffer {"connection_id":191045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:21:37] local.INFO: Packet analysis {"connection_id":191045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfce"} 
[2026-09-24 01:21:37] local.INFO: Extracted packet for processing {"connection_id":191045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfce"} 
[2026-09-24 01:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289278720001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790192796000,"timestamp_ms":1790192796000,"timestamp_seconds":1790192796,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfce4160"} 
[2026-09-24 01:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289278720001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289278720001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:21:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:21:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289278720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":191045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:21:37] local.INFO: GPS data processed {"connection_id":191045,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:21:37] local.INFO: Acknowledgment sent {"connection_id":191045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:22:08] local.INFO: TCP Data received {"connection_id":191045,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:22:08] local.INFO: Processing buffer {"connection_id":191045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfce4160012d34c58006aa47580012010524..."} 
[2026-09-24 01:22:08] local.INFO: Packet analysis {"connection_id":191045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfce"} 
[2026-09-24 01:22:08] local.INFO: Extracted packet for processing {"connection_id":191045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfce"} 
[2026-09-24 01:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289278720001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790192796000,"timestamp_ms":1790192796000,"timestamp_seconds":1790192796,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfce4160"} 
[2026-09-24 01:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:22:08] 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-09-24 01:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289278720001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289278720001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:22:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289278720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":191045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:22:08] local.INFO: GPS data processed {"connection_id":191045,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:22:08] local.INFO: Acknowledgment sent {"connection_id":191045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:22:30] local.INFO: TCP Data received {"connection_id":190845,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:22:30] local.INFO: Processing buffer {"connection_id":190845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:22:30] local.INFO: IMEI packet received {"connection_id":190845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":190845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:22:35] local.INFO: TCP Data received {"connection_id":190845,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:22:35] local.INFO: Processing buffer {"connection_id":190845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:22:35] local.INFO: IMEI packet received {"connection_id":190845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":190845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:22:36] local.INFO: TCP Data received {"connection_id":190845,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:22:36] local.INFO: Processing buffer {"connection_id":190845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:22:36] local.INFO: Packet analysis {"connection_id":190845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfd2"} 
[2026-09-24 01:22:36] local.INFO: Extracted packet for processing {"connection_id":190845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfd2"} 
[2026-09-24 01:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289355776001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790193097000,"timestamp_ms":1790193097000,"timestamp_seconds":1790193097,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfd2d928"} 
[2026-09-24 01:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289355776001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289355776001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:22:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:22:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289355776001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":190845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:22:36] local.INFO: GPS data processed {"connection_id":190845,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:22:36] local.INFO: Acknowledgment sent {"connection_id":190845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:23:07] local.INFO: TCP Data received {"connection_id":190845,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:23:07] local.INFO: Processing buffer {"connection_id":190845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:23:07] local.INFO: Packet analysis {"connection_id":190845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfd2"} 
[2026-09-24 01:23:07] local.INFO: Extracted packet for processing {"connection_id":190845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfd2"} 
[2026-09-24 01:23:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289355776001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790193097000,"timestamp_ms":1790193097000,"timestamp_seconds":1790193097,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfd2d928"} 
[2026-09-24 01:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289355776001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289355776001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:23:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:23:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289355776001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":190845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:23:07] local.INFO: GPS data processed {"connection_id":190845,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:23:07] local.INFO: Acknowledgment sent {"connection_id":190845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:23:30] local.INFO: TCP Data received {"connection_id":193735,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:23:30] local.INFO: Processing buffer {"connection_id":193735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:23:30] local.INFO: IMEI packet received {"connection_id":193735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":193735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:23:35] local.INFO: TCP Data received {"connection_id":193735,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:23:35] local.INFO: Processing buffer {"connection_id":193735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:23:35] local.INFO: IMEI packet received {"connection_id":193735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":193735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:23:36] local.INFO: TCP Data received {"connection_id":193735,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:23:36] local.INFO: Processing buffer {"connection_id":193735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:23:36] local.INFO: Packet analysis {"connection_id":193735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfd2"} 
[2026-09-24 01:23:36] local.INFO: Extracted packet for processing {"connection_id":193735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfd2"} 
[2026-09-24 01:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289355776001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790193097000,"timestamp_ms":1790193097000,"timestamp_seconds":1790193097,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfd2d928"} 
[2026-09-24 01:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289355776001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289355776001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:23:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289355776001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":193735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:23:36] local.INFO: GPS data processed {"connection_id":193735,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:23:36] local.INFO: Acknowledgment sent {"connection_id":193735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:24:08] local.INFO: TCP Data received {"connection_id":193735,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:24:08] local.INFO: Processing buffer {"connection_id":193735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:24:08] local.INFO: Packet analysis {"connection_id":193735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfd2"} 
[2026-09-24 01:24:08] local.INFO: Extracted packet for processing {"connection_id":193735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfd2"} 
[2026-09-24 01:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289355776001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790193097000,"timestamp_ms":1790193097000,"timestamp_seconds":1790193097,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfd2d928"} 
[2026-09-24 01:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:24:08] 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-09-24 01: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-09-24 01:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289355776001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289355776001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:24:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:24:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289355776001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":193735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:24:08] local.INFO: GPS data processed {"connection_id":193735,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:24:08] local.INFO: Acknowledgment sent {"connection_id":193735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:24:30] local.INFO: TCP Data received {"connection_id":192381,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:24:30] local.INFO: Processing buffer {"connection_id":192381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:24:30] local.INFO: IMEI packet received {"connection_id":192381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":192381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:24:35] local.INFO: TCP Data received {"connection_id":192381,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:24:35] local.INFO: Processing buffer {"connection_id":192381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:24:35] local.INFO: IMEI packet received {"connection_id":192381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":192381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:24:36] local.INFO: TCP Data received {"connection_id":192381,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:24:36] local.INFO: Processing buffer {"connection_id":192381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:24:36] local.INFO: Packet analysis {"connection_id":192381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfd2"} 
[2026-09-24 01:24:36] local.INFO: Extracted packet for processing {"connection_id":192381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfd2"} 
[2026-09-24 01:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289355776001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790193097000,"timestamp_ms":1790193097000,"timestamp_seconds":1790193097,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfd2d928"} 
[2026-09-24 01:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01: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-09-24 01:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289355776001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289355776001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:24:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:24:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289355776001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":192381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:24:36] local.INFO: GPS data processed {"connection_id":192381,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:24:36] local.INFO: Acknowledgment sent {"connection_id":192381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:25:07] local.INFO: TCP Data received {"connection_id":192381,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:25:07] local.INFO: Processing buffer {"connection_id":192381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:25:07] local.INFO: Packet analysis {"connection_id":192381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfd2"} 
[2026-09-24 01:25:07] local.INFO: Extracted packet for processing {"connection_id":192381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfd2"} 
[2026-09-24 01:25:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289355776001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790193097000,"timestamp_ms":1790193097000,"timestamp_seconds":1790193097,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfd2d928"} 
[2026-09-24 01:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289355776001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289355776001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:25:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:25:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289355776001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":192381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:25:07] local.INFO: GPS data processed {"connection_id":192381,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:25:07] local.INFO: Acknowledgment sent {"connection_id":192381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:25:30] local.INFO: TCP Data received {"connection_id":190846,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:25:30] local.INFO: Processing buffer {"connection_id":190846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:25:30] local.INFO: IMEI packet received {"connection_id":190846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":190846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:25:35] local.INFO: TCP Data received {"connection_id":190846,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:25:35] local.INFO: Processing buffer {"connection_id":190846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:25:35] local.INFO: IMEI packet received {"connection_id":190846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":190846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:25:36] local.INFO: TCP Data received {"connection_id":190846,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:25:36] local.INFO: Processing buffer {"connection_id":190846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:25:36] local.INFO: Packet analysis {"connection_id":190846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfd2"} 
[2026-09-24 01:25:36] local.INFO: Extracted packet for processing {"connection_id":190846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfd2"} 
[2026-09-24 01:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289355776001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790193097000,"timestamp_ms":1790193097000,"timestamp_seconds":1790193097,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfd2d928"} 
[2026-09-24 01:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289355776001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289355776001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:25:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:25:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289355776001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":190846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:25:36] local.INFO: GPS data processed {"connection_id":190846,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:25:36] local.INFO: Acknowledgment sent {"connection_id":190846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:26:08] local.INFO: TCP Data received {"connection_id":190846,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:26:08] local.INFO: Processing buffer {"connection_id":190846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:26:08] local.INFO: Packet analysis {"connection_id":190846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfd2"} 
[2026-09-24 01:26:08] local.INFO: Extracted packet for processing {"connection_id":190846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfd2"} 
[2026-09-24 01:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289355776001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790193097000,"timestamp_ms":1790193097000,"timestamp_seconds":1790193097,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfd2d928"} 
[2026-09-24 01:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:26:08] 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-09-24 01: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-09-24 01:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289355776001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289355776001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:26:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289355776001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":190846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:26:08] local.INFO: GPS data processed {"connection_id":190846,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:26:08] local.INFO: Acknowledgment sent {"connection_id":190846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:26:30] local.INFO: TCP Data received {"connection_id":190847,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:26:30] local.INFO: Processing buffer {"connection_id":190847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:26:30] local.INFO: IMEI packet received {"connection_id":190847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":190847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:26:35] local.INFO: TCP Data received {"connection_id":190847,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:26:35] local.INFO: Processing buffer {"connection_id":190847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:26:35] local.INFO: IMEI packet received {"connection_id":190847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":190847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:26:36] local.INFO: TCP Data received {"connection_id":190847,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:26:36] local.INFO: Processing buffer {"connection_id":190847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:26:36] local.INFO: Packet analysis {"connection_id":190847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfd2"} 
[2026-09-24 01:26:36] local.INFO: Extracted packet for processing {"connection_id":190847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfd2"} 
[2026-09-24 01:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289355776001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790193097000,"timestamp_ms":1790193097000,"timestamp_seconds":1790193097,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfd2d928"} 
[2026-09-24 01:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289355776001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289355776001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:26:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:26:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289355776001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":190847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:26:36] local.INFO: GPS data processed {"connection_id":190847,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:26:36] local.INFO: Acknowledgment sent {"connection_id":190847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:27:08] local.INFO: TCP Data received {"connection_id":190847,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:27:08] local.INFO: Processing buffer {"connection_id":190847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfd2d928012d34c58006aa47580012010527..."} 
[2026-09-24 01:27:08] local.INFO: Packet analysis {"connection_id":190847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfd2"} 
[2026-09-24 01:27:08] local.INFO: Extracted packet for processing {"connection_id":190847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfd2"} 
[2026-09-24 01:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289355776001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790193097000,"timestamp_ms":1790193097000,"timestamp_seconds":1790193097,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfd2d928"} 
[2026-09-24 01:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:27:08] 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-09-24 01:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289355776001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289355776001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:27:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:27:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289355776001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":190847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:27:08] local.INFO: GPS data processed {"connection_id":190847,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:27:08] local.INFO: Acknowledgment sent {"connection_id":190847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:27:30] local.INFO: TCP Data received {"connection_id":193736,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:27:30] local.INFO: Processing buffer {"connection_id":193736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:27:30] local.INFO: IMEI packet received {"connection_id":193736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":193736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:27:35] local.INFO: TCP Data received {"connection_id":193736,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:27:35] local.INFO: Processing buffer {"connection_id":193736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:27:35] local.INFO: IMEI packet received {"connection_id":193736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":193736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:27:35] local.INFO: TCP Data received {"connection_id":193736,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:27:35] local.INFO: Processing buffer {"connection_id":193736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:27:35] local.INFO: Packet analysis {"connection_id":193736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfd7"} 
[2026-09-24 01:27:35] local.INFO: Extracted packet for processing {"connection_id":193736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfd7"} 
[2026-09-24 01:27:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289432832001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790193398000,"timestamp_ms":1790193398000,"timestamp_seconds":1790193398,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfd770f0"} 
[2026-09-24 01:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 01:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289432832001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289432832001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:27:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:27:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289432832001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":193736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:27:36] local.INFO: GPS data processed {"connection_id":193736,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:27:36] local.INFO: Acknowledgment sent {"connection_id":193736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:28:08] local.INFO: TCP Data received {"connection_id":193736,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:28:08] local.INFO: Processing buffer {"connection_id":193736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:28:08] local.INFO: Packet analysis {"connection_id":193736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfd7"} 
[2026-09-24 01:28:08] local.INFO: Extracted packet for processing {"connection_id":193736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfd7"} 
[2026-09-24 01:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289432832001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790193398000,"timestamp_ms":1790193398000,"timestamp_seconds":1790193398,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfd770f0"} 
[2026-09-24 01:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 01:28:08] 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-09-24 01: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-09-24 01:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289432832001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289432832001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:28:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289432832001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":193736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:28:08] local.INFO: GPS data processed {"connection_id":193736,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:28:08] local.INFO: Acknowledgment sent {"connection_id":193736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:28:30] local.INFO: TCP Data received {"connection_id":191046,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:28:30] local.INFO: Processing buffer {"connection_id":191046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:28:30] local.INFO: IMEI packet received {"connection_id":191046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":191046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:28:35] local.INFO: TCP Data received {"connection_id":191046,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:28:35] local.INFO: Processing buffer {"connection_id":191046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:28:35] local.INFO: IMEI packet received {"connection_id":191046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":191046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:28:36] local.INFO: TCP Data received {"connection_id":191046,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:28:36] local.INFO: Processing buffer {"connection_id":191046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:28:36] local.INFO: Packet analysis {"connection_id":191046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfd7"} 
[2026-09-24 01:28:36] local.INFO: Extracted packet for processing {"connection_id":191046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfd7"} 
[2026-09-24 01:28:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289432832001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790193398000,"timestamp_ms":1790193398000,"timestamp_seconds":1790193398,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfd770f0"} 
[2026-09-24 01:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 01:28:36] 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-09-24 01: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-09-24 01:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289432832001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289432832001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:28:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:28:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289432832001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":191046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:28:36] local.INFO: GPS data processed {"connection_id":191046,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:28:36] local.INFO: Acknowledgment sent {"connection_id":191046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:29:08] local.INFO: TCP Data received {"connection_id":191046,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:29:08] local.INFO: Processing buffer {"connection_id":191046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:29:08] local.INFO: Packet analysis {"connection_id":191046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfd7"} 
[2026-09-24 01:29:08] local.INFO: Extracted packet for processing {"connection_id":191046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfd7"} 
[2026-09-24 01:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289432832001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790193398000,"timestamp_ms":1790193398000,"timestamp_seconds":1790193398,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfd770f0"} 
[2026-09-24 01:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 01:29:08] 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-09-24 01: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-09-24 01:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289432832001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289432832001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:29:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:29:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289432832001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":191046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:29:08] local.INFO: GPS data processed {"connection_id":191046,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:29:08] local.INFO: Acknowledgment sent {"connection_id":191046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:29:30] local.INFO: TCP Data received {"connection_id":193737,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:29:30] local.INFO: Processing buffer {"connection_id":193737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:29:30] local.INFO: IMEI packet received {"connection_id":193737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":193737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:29:35] local.INFO: TCP Data received {"connection_id":193737,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:29:35] local.INFO: Processing buffer {"connection_id":193737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:29:35] local.INFO: IMEI packet received {"connection_id":193737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":193737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:29:36] local.INFO: TCP Data received {"connection_id":193737,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:29:36] local.INFO: Processing buffer {"connection_id":193737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:29:36] local.INFO: Packet analysis {"connection_id":193737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfd7"} 
[2026-09-24 01:29:36] local.INFO: Extracted packet for processing {"connection_id":193737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfd7"} 
[2026-09-24 01:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289432832001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790193398000,"timestamp_ms":1790193398000,"timestamp_seconds":1790193398,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfd770f0"} 
[2026-09-24 01:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 01:29:36] 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-09-24 01: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-09-24 01:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289432832001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289432832001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:29:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:29:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289432832001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":193737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:29:36] local.INFO: GPS data processed {"connection_id":193737,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:29:36] local.INFO: Acknowledgment sent {"connection_id":193737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:30:08] local.INFO: TCP Data received {"connection_id":193737,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:30:08] local.INFO: Processing buffer {"connection_id":193737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:30:08] local.INFO: Packet analysis {"connection_id":193737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfd7"} 
[2026-09-24 01:30:08] local.INFO: Extracted packet for processing {"connection_id":193737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfd7"} 
[2026-09-24 01:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289432832001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790193398000,"timestamp_ms":1790193398000,"timestamp_seconds":1790193398,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfd770f0"} 
[2026-09-24 01:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 01:30:08] 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-09-24 01:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289432832001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289432832001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:30:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:30:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289432832001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":193737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:30:08] local.INFO: GPS data processed {"connection_id":193737,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:30:08] local.INFO: Acknowledgment sent {"connection_id":193737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:30:30] local.INFO: TCP Data received {"connection_id":190848,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:30:30] local.INFO: Processing buffer {"connection_id":190848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:30:30] local.INFO: IMEI packet received {"connection_id":190848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":190848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:30:35] local.INFO: TCP Data received {"connection_id":190848,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:30:35] local.INFO: Processing buffer {"connection_id":190848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:30:35] local.INFO: IMEI packet received {"connection_id":190848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":190848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:30:36] local.INFO: TCP Data received {"connection_id":190848,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:30:36] local.INFO: Processing buffer {"connection_id":190848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:30:36] local.INFO: Packet analysis {"connection_id":190848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfd7"} 
[2026-09-24 01:30:36] local.INFO: Extracted packet for processing {"connection_id":190848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfd7"} 
[2026-09-24 01:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289432832001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790193398000,"timestamp_ms":1790193398000,"timestamp_seconds":1790193398,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfd770f0"} 
[2026-09-24 01:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 01:30:36] 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-09-24 01: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-09-24 01:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289432832001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289432832001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:30:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:30:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289432832001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":190848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:30:36] local.INFO: GPS data processed {"connection_id":190848,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:30:36] local.INFO: Acknowledgment sent {"connection_id":190848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:31:09] local.INFO: TCP Data received {"connection_id":190848,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:31:09] local.INFO: Processing buffer {"connection_id":190848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:31:09] local.INFO: Packet analysis {"connection_id":190848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfd7"} 
[2026-09-24 01:31:09] local.INFO: Extracted packet for processing {"connection_id":190848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfd7"} 
[2026-09-24 01:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289432832001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790193398000,"timestamp_ms":1790193398000,"timestamp_seconds":1790193398,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfd770f0"} 
[2026-09-24 01:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 01:31:09] 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-09-24 01: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-09-24 01:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289432832001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289432832001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289432832001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":190848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:31:09] local.INFO: GPS data processed {"connection_id":190848,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:31:09] local.INFO: Acknowledgment sent {"connection_id":190848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:31:30] local.INFO: TCP Data received {"connection_id":191047,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:31:30] local.INFO: Processing buffer {"connection_id":191047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:31:30] local.INFO: IMEI packet received {"connection_id":191047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":191047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:31:35] local.INFO: TCP Data received {"connection_id":191047,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:31:35] local.INFO: Processing buffer {"connection_id":191047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:31:35] local.INFO: IMEI packet received {"connection_id":191047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":191047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:31:36] local.INFO: TCP Data received {"connection_id":191047,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:31:36] local.INFO: Processing buffer {"connection_id":191047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:31:36] local.INFO: Packet analysis {"connection_id":191047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfd7"} 
[2026-09-24 01:31:36] local.INFO: Extracted packet for processing {"connection_id":191047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfd7"} 
[2026-09-24 01:31:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289432832001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790193398000,"timestamp_ms":1790193398000,"timestamp_seconds":1790193398,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfd770f0"} 
[2026-09-24 01:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 01:31:36] 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-09-24 01:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289432832001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289432832001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:31:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:31:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289432832001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":191047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:31:36] local.INFO: GPS data processed {"connection_id":191047,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:31:36] local.INFO: Acknowledgment sent {"connection_id":191047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:32:07] local.INFO: TCP Data received {"connection_id":191047,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:32:07] local.INFO: Processing buffer {"connection_id":191047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfd770f0012d34c58006aa47580012010523..."} 
[2026-09-24 01:32:07] local.INFO: Packet analysis {"connection_id":191047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfd7"} 
[2026-09-24 01:32:07] local.INFO: Extracted packet for processing {"connection_id":191047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfd7"} 
[2026-09-24 01:32:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289432832001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790193398000,"timestamp_ms":1790193398000,"timestamp_seconds":1790193398,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfd770f0"} 
[2026-09-24 01:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 01:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289432832001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289432832001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:32:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:32:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289432832001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":191047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:32:07] local.INFO: GPS data processed {"connection_id":191047,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:32:07] local.INFO: Acknowledgment sent {"connection_id":191047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:32:30] local.INFO: TCP Data received {"connection_id":193738,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:32:30] local.INFO: Processing buffer {"connection_id":193738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:32:30] local.INFO: IMEI packet received {"connection_id":193738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":193738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:32:35] local.INFO: TCP Data received {"connection_id":193738,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:32:35] local.INFO: Processing buffer {"connection_id":193738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:32:35] local.INFO: IMEI packet received {"connection_id":193738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":193738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:32:35] local.INFO: TCP Data received {"connection_id":193738,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:32:35] local.INFO: Processing buffer {"connection_id":193738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:32:35] local.INFO: Packet analysis {"connection_id":193738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfdc"} 
[2026-09-24 01:32:35] local.INFO: Extracted packet for processing {"connection_id":193738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfdc"} 
[2026-09-24 01:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289509888001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790193699000,"timestamp_ms":1790193699000,"timestamp_seconds":1790193699,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfdc08b8"} 
[2026-09-24 01:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:32:35] 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-09-24 01:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289509888001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289509888001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:32:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:32:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289509888001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":193738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:32:36] local.INFO: GPS data processed {"connection_id":193738,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:32:36] local.INFO: Acknowledgment sent {"connection_id":193738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:33:07] local.INFO: TCP Data received {"connection_id":193738,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:33:07] local.INFO: Processing buffer {"connection_id":193738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:33:07] local.INFO: Packet analysis {"connection_id":193738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfdc"} 
[2026-09-24 01:33:07] local.INFO: Extracted packet for processing {"connection_id":193738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfdc"} 
[2026-09-24 01:33:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289509888001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790193699000,"timestamp_ms":1790193699000,"timestamp_seconds":1790193699,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfdc08b8"} 
[2026-09-24 01:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289509888001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289509888001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:33:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:33:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289509888001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":193738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:33:07] local.INFO: GPS data processed {"connection_id":193738,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:33:07] local.INFO: Acknowledgment sent {"connection_id":193738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:33:30] local.INFO: TCP Data received {"connection_id":191048,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:33:30] local.INFO: Processing buffer {"connection_id":191048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:33:30] local.INFO: IMEI packet received {"connection_id":191048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":191048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:33:35] local.INFO: TCP Data received {"connection_id":191048,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:33:35] local.INFO: Processing buffer {"connection_id":191048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:33:35] local.INFO: IMEI packet received {"connection_id":191048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":191048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:33:36] local.INFO: TCP Data received {"connection_id":191048,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:33:36] local.INFO: Processing buffer {"connection_id":191048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:33:36] local.INFO: Packet analysis {"connection_id":191048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfdc"} 
[2026-09-24 01:33:36] local.INFO: Extracted packet for processing {"connection_id":191048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfdc"} 
[2026-09-24 01:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289509888001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790193699000,"timestamp_ms":1790193699000,"timestamp_seconds":1790193699,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfdc08b8"} 
[2026-09-24 01:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01: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-09-24 01:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289509888001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289509888001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:33:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:33:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289509888001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":191048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:33:36] local.INFO: GPS data processed {"connection_id":191048,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:33:36] local.INFO: Acknowledgment sent {"connection_id":191048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:34:08] local.INFO: TCP Data received {"connection_id":191048,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:34:08] local.INFO: Processing buffer {"connection_id":191048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:34:08] local.INFO: Packet analysis {"connection_id":191048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfdc"} 
[2026-09-24 01:34:08] local.INFO: Extracted packet for processing {"connection_id":191048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfdc"} 
[2026-09-24 01:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289509888001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790193699000,"timestamp_ms":1790193699000,"timestamp_seconds":1790193699,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfdc08b8"} 
[2026-09-24 01:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:34:08] 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-09-24 01:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289509888001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289509888001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:34:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:34:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289509888001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":191048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:34:08] local.INFO: GPS data processed {"connection_id":191048,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:34:08] local.INFO: Acknowledgment sent {"connection_id":191048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:34:30] local.INFO: TCP Data received {"connection_id":193739,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:34:30] local.INFO: Processing buffer {"connection_id":193739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:34:30] local.INFO: IMEI packet received {"connection_id":193739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":193739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:34:35] local.INFO: TCP Data received {"connection_id":193739,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:34:35] local.INFO: Processing buffer {"connection_id":193739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:34:35] local.INFO: IMEI packet received {"connection_id":193739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":193739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:34:36] local.INFO: TCP Data received {"connection_id":193739,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:34:36] local.INFO: Processing buffer {"connection_id":193739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:34:36] local.INFO: Packet analysis {"connection_id":193739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfdc"} 
[2026-09-24 01:34:36] local.INFO: Extracted packet for processing {"connection_id":193739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfdc"} 
[2026-09-24 01:34:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289509888001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790193699000,"timestamp_ms":1790193699000,"timestamp_seconds":1790193699,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfdc08b8"} 
[2026-09-24 01:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289509888001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289509888001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:34:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:34:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289509888001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":193739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:34:36] local.INFO: GPS data processed {"connection_id":193739,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:34:36] local.INFO: Acknowledgment sent {"connection_id":193739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:35:07] local.INFO: TCP Data received {"connection_id":193739,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:35:07] local.INFO: Processing buffer {"connection_id":193739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:35:07] local.INFO: Packet analysis {"connection_id":193739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfdc"} 
[2026-09-24 01:35:07] local.INFO: Extracted packet for processing {"connection_id":193739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfdc"} 
[2026-09-24 01:35:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289509888001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790193699000,"timestamp_ms":1790193699000,"timestamp_seconds":1790193699,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfdc08b8"} 
[2026-09-24 01:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289509888001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289509888001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:35:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:35:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289509888001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":193739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:35:07] local.INFO: GPS data processed {"connection_id":193739,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:35:07] local.INFO: Acknowledgment sent {"connection_id":193739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:35:30] local.INFO: TCP Data received {"connection_id":191049,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:35:30] local.INFO: Processing buffer {"connection_id":191049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:35:30] local.INFO: IMEI packet received {"connection_id":191049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":191049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:35:35] local.INFO: TCP Data received {"connection_id":191049,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:35:35] local.INFO: Processing buffer {"connection_id":191049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:35:35] local.INFO: IMEI packet received {"connection_id":191049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":191049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:35:36] local.INFO: TCP Data received {"connection_id":191049,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:35:36] local.INFO: Processing buffer {"connection_id":191049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:35:36] local.INFO: Packet analysis {"connection_id":191049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfdc"} 
[2026-09-24 01:35:36] local.INFO: Extracted packet for processing {"connection_id":191049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfdc"} 
[2026-09-24 01:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289509888001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790193699000,"timestamp_ms":1790193699000,"timestamp_seconds":1790193699,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfdc08b8"} 
[2026-09-24 01:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289509888001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289509888001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:35:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289509888001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":191049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:35:36] local.INFO: GPS data processed {"connection_id":191049,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:35:36] local.INFO: Acknowledgment sent {"connection_id":191049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:36:08] local.INFO: TCP Data received {"connection_id":191049,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:36:08] local.INFO: Processing buffer {"connection_id":191049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:36:08] local.INFO: Packet analysis {"connection_id":191049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfdc"} 
[2026-09-24 01:36:08] local.INFO: Extracted packet for processing {"connection_id":191049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfdc"} 
[2026-09-24 01:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289509888001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790193699000,"timestamp_ms":1790193699000,"timestamp_seconds":1790193699,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfdc08b8"} 
[2026-09-24 01:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:36:08] 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-09-24 01:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289509888001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289509888001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:36:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289509888001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":191049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:36:08] local.INFO: GPS data processed {"connection_id":191049,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:36:08] local.INFO: Acknowledgment sent {"connection_id":191049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:36:30] local.INFO: TCP Data received {"connection_id":190849,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:36:30] local.INFO: Processing buffer {"connection_id":190849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:36:30] local.INFO: IMEI packet received {"connection_id":190849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":190849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:36:35] local.INFO: TCP Data received {"connection_id":190849,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:36:35] local.INFO: Processing buffer {"connection_id":190849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:36:35] local.INFO: IMEI packet received {"connection_id":190849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":190849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:36:36] local.INFO: TCP Data received {"connection_id":190849,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:36:36] local.INFO: Processing buffer {"connection_id":190849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:36:36] local.INFO: Packet analysis {"connection_id":190849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfdc"} 
[2026-09-24 01:36:36] local.INFO: Extracted packet for processing {"connection_id":190849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfdc"} 
[2026-09-24 01:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289509888001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790193699000,"timestamp_ms":1790193699000,"timestamp_seconds":1790193699,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfdc08b8"} 
[2026-09-24 01:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289509888001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289509888001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:36:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:36:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289509888001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":190849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:36:36] local.INFO: GPS data processed {"connection_id":190849,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:36:36] local.INFO: Acknowledgment sent {"connection_id":190849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:37:07] local.INFO: TCP Data received {"connection_id":190849,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:37:07] local.INFO: Processing buffer {"connection_id":190849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfdc08b8012d34c58006aa47580012010524..."} 
[2026-09-24 01:37:07] local.INFO: Packet analysis {"connection_id":190849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfdc"} 
[2026-09-24 01:37:07] local.INFO: Extracted packet for processing {"connection_id":190849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfdc"} 
[2026-09-24 01:37:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289509888001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790193699000,"timestamp_ms":1790193699000,"timestamp_seconds":1790193699,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfdc08b8"} 
[2026-09-24 01:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289509888001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289509888001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:37:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:37:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289509888001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":190849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:37:08] local.INFO: GPS data processed {"connection_id":190849,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:37:08] local.INFO: Acknowledgment sent {"connection_id":190849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:37:30] local.INFO: TCP Data received {"connection_id":190850,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:37:30] local.INFO: Processing buffer {"connection_id":190850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:37:30] local.INFO: IMEI packet received {"connection_id":190850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":190850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:37:35] local.INFO: TCP Data received {"connection_id":190850,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:37:35] local.INFO: Processing buffer {"connection_id":190850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:37:35] local.INFO: IMEI packet received {"connection_id":190850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":190850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:37:36] local.INFO: TCP Data received {"connection_id":190850,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:37:36] local.INFO: Processing buffer {"connection_id":190850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:37:36] local.INFO: Packet analysis {"connection_id":190850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe0"} 
[2026-09-24 01:37:36] local.INFO: Extracted packet for processing {"connection_id":190850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe0"} 
[2026-09-24 01:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289586944001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790194000000,"timestamp_ms":1790194000000,"timestamp_seconds":1790194000,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe0a080"} 
[2026-09-24 01:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 01:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01: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-09-24 01:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289586944001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289586944001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:37:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:37:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289586944001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":190850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:37:36] local.INFO: GPS data processed {"connection_id":190850,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:37:36] local.INFO: Acknowledgment sent {"connection_id":190850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:38:08] local.INFO: TCP Data received {"connection_id":190850,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:38:08] local.INFO: Processing buffer {"connection_id":190850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:38:08] local.INFO: Packet analysis {"connection_id":190850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe0"} 
[2026-09-24 01:38:08] local.INFO: Extracted packet for processing {"connection_id":190850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe0"} 
[2026-09-24 01:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289586944001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790194000000,"timestamp_ms":1790194000000,"timestamp_seconds":1790194000,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe0a080"} 
[2026-09-24 01:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 01:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289586944001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289586944001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:38:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:38:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289586944001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":190850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:38:08] local.INFO: GPS data processed {"connection_id":190850,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:38:08] local.INFO: Acknowledgment sent {"connection_id":190850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:38:30] local.INFO: TCP Data received {"connection_id":193740,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:38:30] local.INFO: Processing buffer {"connection_id":193740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:38:30] local.INFO: IMEI packet received {"connection_id":193740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":193740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:38:35] local.INFO: TCP Data received {"connection_id":193740,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:38:35] local.INFO: Processing buffer {"connection_id":193740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:38:35] local.INFO: IMEI packet received {"connection_id":193740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":193740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:38:36] local.INFO: TCP Data received {"connection_id":193740,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:38:36] local.INFO: Processing buffer {"connection_id":193740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:38:36] local.INFO: Packet analysis {"connection_id":193740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe0"} 
[2026-09-24 01:38:36] local.INFO: Extracted packet for processing {"connection_id":193740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe0"} 
[2026-09-24 01:38:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289586944001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790194000000,"timestamp_ms":1790194000000,"timestamp_seconds":1790194000,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe0a080"} 
[2026-09-24 01:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 01:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289586944001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289586944001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:38:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:38:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289586944001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":193740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:38:36] local.INFO: GPS data processed {"connection_id":193740,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:38:36] local.INFO: Acknowledgment sent {"connection_id":193740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:39:07] local.INFO: TCP Data received {"connection_id":193740,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:39:07] local.INFO: Processing buffer {"connection_id":193740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:39:07] local.INFO: Packet analysis {"connection_id":193740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe0"} 
[2026-09-24 01:39:07] local.INFO: Extracted packet for processing {"connection_id":193740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe0"} 
[2026-09-24 01:39:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289586944001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790194000000,"timestamp_ms":1790194000000,"timestamp_seconds":1790194000,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe0a080"} 
[2026-09-24 01:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 01:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289586944001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289586944001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:39:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:39:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289586944001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":193740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:39:07] local.INFO: GPS data processed {"connection_id":193740,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:39:07] local.INFO: Acknowledgment sent {"connection_id":193740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:39:30] local.INFO: TCP Data received {"connection_id":192382,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:39:30] local.INFO: Processing buffer {"connection_id":192382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:39:30] local.INFO: IMEI packet received {"connection_id":192382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":192382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:39:35] local.INFO: TCP Data received {"connection_id":192382,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:39:35] local.INFO: Processing buffer {"connection_id":192382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:39:35] local.INFO: IMEI packet received {"connection_id":192382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":192382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:39:36] local.INFO: TCP Data received {"connection_id":192382,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:39:36] local.INFO: Processing buffer {"connection_id":192382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:39:36] local.INFO: Packet analysis {"connection_id":192382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe0"} 
[2026-09-24 01:39:36] local.INFO: Extracted packet for processing {"connection_id":192382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe0"} 
[2026-09-24 01:39:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289586944001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790194000000,"timestamp_ms":1790194000000,"timestamp_seconds":1790194000,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe0a080"} 
[2026-09-24 01:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 01:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289586944001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289586944001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:39:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:39:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289586944001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":192382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:39:36] local.INFO: GPS data processed {"connection_id":192382,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:39:36] local.INFO: Acknowledgment sent {"connection_id":192382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:40:08] local.INFO: TCP Data received {"connection_id":192382,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:40:08] local.INFO: Processing buffer {"connection_id":192382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:40:08] local.INFO: Packet analysis {"connection_id":192382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe0"} 
[2026-09-24 01:40:08] local.INFO: Extracted packet for processing {"connection_id":192382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe0"} 
[2026-09-24 01:40:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289586944001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790194000000,"timestamp_ms":1790194000000,"timestamp_seconds":1790194000,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe0a080"} 
[2026-09-24 01:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 01:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01: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-09-24 01:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289586944001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289586944001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:40:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:40:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289586944001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":192382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:40:08] local.INFO: GPS data processed {"connection_id":192382,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:40:08] local.INFO: Acknowledgment sent {"connection_id":192382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:40:30] local.INFO: TCP Data received {"connection_id":191050,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:40:30] local.INFO: Processing buffer {"connection_id":191050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:40:30] local.INFO: IMEI packet received {"connection_id":191050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":191050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:40:35] local.INFO: TCP Data received {"connection_id":191050,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:40:35] local.INFO: Processing buffer {"connection_id":191050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:40:35] local.INFO: IMEI packet received {"connection_id":191050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":191050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:40:36] local.INFO: TCP Data received {"connection_id":191050,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:40:36] local.INFO: Processing buffer {"connection_id":191050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:40:36] local.INFO: Packet analysis {"connection_id":191050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe0"} 
[2026-09-24 01:40:36] local.INFO: Extracted packet for processing {"connection_id":191050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe0"} 
[2026-09-24 01:40:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289586944001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790194000000,"timestamp_ms":1790194000000,"timestamp_seconds":1790194000,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe0a080"} 
[2026-09-24 01:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 01:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289586944001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289586944001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:40:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:40:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289586944001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":191050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:40:36] local.INFO: GPS data processed {"connection_id":191050,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:40:36] local.INFO: Acknowledgment sent {"connection_id":191050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:41:08] local.INFO: TCP Data received {"connection_id":191050,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:41:08] local.INFO: Processing buffer {"connection_id":191050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:41:08] local.INFO: Packet analysis {"connection_id":191050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe0"} 
[2026-09-24 01:41:08] local.INFO: Extracted packet for processing {"connection_id":191050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe0"} 
[2026-09-24 01:41:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289586944001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790194000000,"timestamp_ms":1790194000000,"timestamp_seconds":1790194000,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe0a080"} 
[2026-09-24 01:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 01:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289586944001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289586944001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:41:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:41:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289586944001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":191050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:41:08] local.INFO: GPS data processed {"connection_id":191050,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:41:08] local.INFO: Acknowledgment sent {"connection_id":191050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:41:30] local.INFO: TCP Data received {"connection_id":192383,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:41:30] local.INFO: Processing buffer {"connection_id":192383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:41:30] local.INFO: IMEI packet received {"connection_id":192383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":192383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:41:35] local.INFO: TCP Data received {"connection_id":192383,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:41:35] local.INFO: Processing buffer {"connection_id":192383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:41:35] local.INFO: IMEI packet received {"connection_id":192383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":192383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:41:37] local.INFO: TCP Data received {"connection_id":192383,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:41:37] local.INFO: Processing buffer {"connection_id":192383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:41:37] local.INFO: Packet analysis {"connection_id":192383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe0"} 
[2026-09-24 01:41:37] local.INFO: Extracted packet for processing {"connection_id":192383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe0"} 
[2026-09-24 01:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289586944001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790194000000,"timestamp_ms":1790194000000,"timestamp_seconds":1790194000,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe0a080"} 
[2026-09-24 01:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 01:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289586944001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289586944001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:41:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289586944001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":192383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:41:37] local.INFO: GPS data processed {"connection_id":192383,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:41:37] local.INFO: Acknowledgment sent {"connection_id":192383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:42:08] local.INFO: TCP Data received {"connection_id":192383,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:42:08] local.INFO: Processing buffer {"connection_id":192383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe0a080012d34c58006aa47580012010524..."} 
[2026-09-24 01:42:08] local.INFO: Packet analysis {"connection_id":192383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe0"} 
[2026-09-24 01:42:08] local.INFO: Extracted packet for processing {"connection_id":192383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe0"} 
[2026-09-24 01:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289586944001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790194000000,"timestamp_ms":1790194000000,"timestamp_seconds":1790194000,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe0a080"} 
[2026-09-24 01:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 01:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289586944001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289586944001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:42:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:42:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289586944001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":192383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:42:08] local.INFO: GPS data processed {"connection_id":192383,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:42:08] local.INFO: Acknowledgment sent {"connection_id":192383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:42:30] local.INFO: TCP Data received {"connection_id":193741,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:42:30] local.INFO: Processing buffer {"connection_id":193741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:42:30] local.INFO: IMEI packet received {"connection_id":193741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":193741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:42:35] local.INFO: TCP Data received {"connection_id":193741,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:42:35] local.INFO: Processing buffer {"connection_id":193741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:42:35] local.INFO: IMEI packet received {"connection_id":193741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":193741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:42:35] local.INFO: TCP Data received {"connection_id":193741,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:42:35] local.INFO: Processing buffer {"connection_id":193741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:42:35] local.INFO: Packet analysis {"connection_id":193741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe5"} 
[2026-09-24 01:42:35] local.INFO: Extracted packet for processing {"connection_id":193741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe5"} 
[2026-09-24 01:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289664000001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790194301000,"timestamp_ms":1790194301000,"timestamp_seconds":1790194301,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe53848"} 
[2026-09-24 01:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:42:35] 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-09-24 01: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-09-24 01:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289664000001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289664000001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:42:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:42:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289664000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":193741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:42:35] local.INFO: GPS data processed {"connection_id":193741,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:42:35] local.INFO: Acknowledgment sent {"connection_id":193741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:43:07] local.INFO: TCP Data received {"connection_id":193741,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:43:07] local.INFO: Processing buffer {"connection_id":193741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:43:07] local.INFO: Packet analysis {"connection_id":193741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe5"} 
[2026-09-24 01:43:07] local.INFO: Extracted packet for processing {"connection_id":193741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe5"} 
[2026-09-24 01:43:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289664000001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790194301000,"timestamp_ms":1790194301000,"timestamp_seconds":1790194301,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe53848"} 
[2026-09-24 01:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289664000001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289664000001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:43:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:43:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289664000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":193741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:43:07] local.INFO: GPS data processed {"connection_id":193741,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:43:07] local.INFO: Acknowledgment sent {"connection_id":193741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:43:30] local.INFO: TCP Data received {"connection_id":190851,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:43:30] local.INFO: Processing buffer {"connection_id":190851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:43:30] local.INFO: IMEI packet received {"connection_id":190851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":190851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:43:35] local.INFO: TCP Data received {"connection_id":190851,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:43:35] local.INFO: Processing buffer {"connection_id":190851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:43:35] local.INFO: IMEI packet received {"connection_id":190851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":190851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:43:36] local.INFO: TCP Data received {"connection_id":190851,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:43:36] local.INFO: Processing buffer {"connection_id":190851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:43:36] local.INFO: Packet analysis {"connection_id":190851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe5"} 
[2026-09-24 01:43:36] local.INFO: Extracted packet for processing {"connection_id":190851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe5"} 
[2026-09-24 01:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289664000001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790194301000,"timestamp_ms":1790194301000,"timestamp_seconds":1790194301,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe53848"} 
[2026-09-24 01:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289664000001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289664000001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:43:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:43:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289664000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":190851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:43:36] local.INFO: GPS data processed {"connection_id":190851,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:43:36] local.INFO: Acknowledgment sent {"connection_id":190851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:44:07] local.INFO: TCP Data received {"connection_id":190851,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:44:07] local.INFO: Processing buffer {"connection_id":190851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:44:07] local.INFO: Packet analysis {"connection_id":190851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe5"} 
[2026-09-24 01:44:07] local.INFO: Extracted packet for processing {"connection_id":190851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe5"} 
[2026-09-24 01:44:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289664000001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790194301000,"timestamp_ms":1790194301000,"timestamp_seconds":1790194301,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe53848"} 
[2026-09-24 01:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289664000001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289664000001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:44:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:44:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289664000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":190851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:44:07] local.INFO: GPS data processed {"connection_id":190851,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:44:07] local.INFO: Acknowledgment sent {"connection_id":190851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:44:30] local.INFO: TCP Data received {"connection_id":191051,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:44:30] local.INFO: Processing buffer {"connection_id":191051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:44:30] local.INFO: IMEI packet received {"connection_id":191051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":191051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:44:35] local.INFO: TCP Data received {"connection_id":191051,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:44:35] local.INFO: Processing buffer {"connection_id":191051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:44:35] local.INFO: IMEI packet received {"connection_id":191051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":191051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:44:36] local.INFO: TCP Data received {"connection_id":191051,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:44:36] local.INFO: Processing buffer {"connection_id":191051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:44:36] local.INFO: Packet analysis {"connection_id":191051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe5"} 
[2026-09-24 01:44:36] local.INFO: Extracted packet for processing {"connection_id":191051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe5"} 
[2026-09-24 01:44:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289664000001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790194301000,"timestamp_ms":1790194301000,"timestamp_seconds":1790194301,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe53848"} 
[2026-09-24 01:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01: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-09-24 01:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289664000001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289664000001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:44:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:44:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289664000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":191051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:44:36] local.INFO: GPS data processed {"connection_id":191051,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:44:36] local.INFO: Acknowledgment sent {"connection_id":191051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:45:08] local.INFO: TCP Data received {"connection_id":191051,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:45:08] local.INFO: Processing buffer {"connection_id":191051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:45:08] local.INFO: Packet analysis {"connection_id":191051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe5"} 
[2026-09-24 01:45:08] local.INFO: Extracted packet for processing {"connection_id":191051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe5"} 
[2026-09-24 01:45:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289664000001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790194301000,"timestamp_ms":1790194301000,"timestamp_seconds":1790194301,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe53848"} 
[2026-09-24 01:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:45:08] 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-09-24 01:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289664000001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289664000001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:45:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:45:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289664000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":191051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:45:08] local.INFO: GPS data processed {"connection_id":191051,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:45:08] local.INFO: Acknowledgment sent {"connection_id":191051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:45:30] local.INFO: TCP Data received {"connection_id":191052,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:45:30] local.INFO: Processing buffer {"connection_id":191052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:45:30] local.INFO: IMEI packet received {"connection_id":191052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":191052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:45:35] local.INFO: TCP Data received {"connection_id":191052,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:45:35] local.INFO: Processing buffer {"connection_id":191052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:45:35] local.INFO: IMEI packet received {"connection_id":191052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":191052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:45:36] local.INFO: TCP Data received {"connection_id":191052,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:45:36] local.INFO: Processing buffer {"connection_id":191052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:45:36] local.INFO: Packet analysis {"connection_id":191052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe5"} 
[2026-09-24 01:45:36] local.INFO: Extracted packet for processing {"connection_id":191052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe5"} 
[2026-09-24 01:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289664000001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790194301000,"timestamp_ms":1790194301000,"timestamp_seconds":1790194301,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe53848"} 
[2026-09-24 01:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289664000001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289664000001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:45:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289664000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":191052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:45:36] local.INFO: GPS data processed {"connection_id":191052,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:45:36] local.INFO: Acknowledgment sent {"connection_id":191052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:46:07] local.INFO: TCP Data received {"connection_id":191052,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:46:07] local.INFO: Processing buffer {"connection_id":191052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:46:07] local.INFO: Packet analysis {"connection_id":191052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe5"} 
[2026-09-24 01:46:07] local.INFO: Extracted packet for processing {"connection_id":191052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe5"} 
[2026-09-24 01:46:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289664000001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790194301000,"timestamp_ms":1790194301000,"timestamp_seconds":1790194301,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe53848"} 
[2026-09-24 01:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289664000001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289664000001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:46:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:46:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289664000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":191052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:46:07] local.INFO: GPS data processed {"connection_id":191052,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:46:07] local.INFO: Acknowledgment sent {"connection_id":191052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:46:30] local.INFO: TCP Data received {"connection_id":190852,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:46:30] local.INFO: Processing buffer {"connection_id":190852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:46:30] local.INFO: IMEI packet received {"connection_id":190852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":190852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:46:35] local.INFO: TCP Data received {"connection_id":190852,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:46:35] local.INFO: Processing buffer {"connection_id":190852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:46:35] local.INFO: IMEI packet received {"connection_id":190852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":190852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:46:36] local.INFO: TCP Data received {"connection_id":190852,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:46:36] local.INFO: Processing buffer {"connection_id":190852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:46:36] local.INFO: Packet analysis {"connection_id":190852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe5"} 
[2026-09-24 01:46:36] local.INFO: Extracted packet for processing {"connection_id":190852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe5"} 
[2026-09-24 01:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289664000001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790194301000,"timestamp_ms":1790194301000,"timestamp_seconds":1790194301,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe53848"} 
[2026-09-24 01:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289664000001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289664000001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:46:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:46:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289664000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":190852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:46:36] local.INFO: GPS data processed {"connection_id":190852,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:46:36] local.INFO: Acknowledgment sent {"connection_id":190852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:47:08] local.INFO: TCP Data received {"connection_id":190852,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:47:08] local.INFO: Processing buffer {"connection_id":190852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe53848012d34c58006aa4758000a010522..."} 
[2026-09-24 01:47:08] local.INFO: Packet analysis {"connection_id":190852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe5"} 
[2026-09-24 01:47:08] local.INFO: Extracted packet for processing {"connection_id":190852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe5"} 
[2026-09-24 01:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289664000001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790194301000,"timestamp_ms":1790194301000,"timestamp_seconds":1790194301,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe53848"} 
[2026-09-24 01:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:47:08] 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-09-24 01: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-09-24 01:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289664000001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289664000001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:47:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:47:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289664000001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":190852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:47:08] local.INFO: GPS data processed {"connection_id":190852,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:47:08] local.INFO: Acknowledgment sent {"connection_id":190852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:47:29] local.INFO: TCP Data received {"connection_id":191053,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:47:29] local.INFO: Processing buffer {"connection_id":191053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:47:29] local.INFO: IMEI packet received {"connection_id":191053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":191053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:47:35] local.INFO: TCP Data received {"connection_id":191053,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:47:35] local.INFO: Processing buffer {"connection_id":191053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:47:35] local.INFO: IMEI packet received {"connection_id":191053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":191053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:47:36] local.INFO: TCP Data received {"connection_id":191053,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:47:36] local.INFO: Processing buffer {"connection_id":191053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:47:36] local.INFO: Packet analysis {"connection_id":191053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe9"} 
[2026-09-24 01:47:36] local.INFO: Extracted packet for processing {"connection_id":191053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe9"} 
[2026-09-24 01:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 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-09-24 01:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289741056001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790194602000,"timestamp_ms":1790194602000,"timestamp_seconds":1790194602,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe9d010"} 
[2026-09-24 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-09-24 01:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 01:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 01:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289741056001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289741056001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:47:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:47:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289741056001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":191053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:47:36] local.INFO: GPS data processed {"connection_id":191053,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:47:36] local.INFO: Acknowledgment sent {"connection_id":191053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:48:08] local.INFO: TCP Data received {"connection_id":191053,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:48:08] local.INFO: Processing buffer {"connection_id":191053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:48:08] local.INFO: Packet analysis {"connection_id":191053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe9"} 
[2026-09-24 01:48:08] local.INFO: Extracted packet for processing {"connection_id":191053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe9"} 
[2026-09-24 01:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289741056001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790194602000,"timestamp_ms":1790194602000,"timestamp_seconds":1790194602,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe9d010"} 
[2026-09-24 01:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 01:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01: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-09-24 01:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289741056001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289741056001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:48:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289741056001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":191053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:48:08] local.INFO: GPS data processed {"connection_id":191053,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:48:08] local.INFO: Acknowledgment sent {"connection_id":191053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:48:30] local.INFO: TCP Data received {"connection_id":190853,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:48:30] local.INFO: Processing buffer {"connection_id":190853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:48:30] local.INFO: IMEI packet received {"connection_id":190853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":190853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:48:35] local.INFO: TCP Data received {"connection_id":190853,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:48:35] local.INFO: Processing buffer {"connection_id":190853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:48:35] local.INFO: IMEI packet received {"connection_id":190853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":190853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:48:36] local.INFO: TCP Data received {"connection_id":190853,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:48:36] local.INFO: Processing buffer {"connection_id":190853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:48:36] local.INFO: Packet analysis {"connection_id":190853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe9"} 
[2026-09-24 01:48:36] local.INFO: Extracted packet for processing {"connection_id":190853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe9"} 
[2026-09-24 01:48:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289741056001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790194602000,"timestamp_ms":1790194602000,"timestamp_seconds":1790194602,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe9d010"} 
[2026-09-24 01:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 01:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289741056001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289741056001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:48:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:48:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289741056001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":190853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:48:36] local.INFO: GPS data processed {"connection_id":190853,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:48:36] local.INFO: Acknowledgment sent {"connection_id":190853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:49:07] local.INFO: TCP Data received {"connection_id":190853,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:49:07] local.INFO: Processing buffer {"connection_id":190853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:49:07] local.INFO: Packet analysis {"connection_id":190853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe9"} 
[2026-09-24 01:49:07] local.INFO: Extracted packet for processing {"connection_id":190853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe9"} 
[2026-09-24 01:49:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289741056001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790194602000,"timestamp_ms":1790194602000,"timestamp_seconds":1790194602,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe9d010"} 
[2026-09-24 01:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 01:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289741056001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289741056001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:49:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:49:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289741056001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":190853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:49:07] local.INFO: GPS data processed {"connection_id":190853,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:49:07] local.INFO: Acknowledgment sent {"connection_id":190853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:49:30] local.INFO: TCP Data received {"connection_id":190854,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:49:30] local.INFO: Processing buffer {"connection_id":190854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:49:30] local.INFO: IMEI packet received {"connection_id":190854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":190854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:49:35] local.INFO: TCP Data received {"connection_id":190854,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:49:35] local.INFO: Processing buffer {"connection_id":190854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:49:35] local.INFO: IMEI packet received {"connection_id":190854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":190854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:49:36] local.INFO: TCP Data received {"connection_id":190854,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:49:36] local.INFO: Processing buffer {"connection_id":190854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:49:36] local.INFO: Packet analysis {"connection_id":190854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe9"} 
[2026-09-24 01:49:36] local.INFO: Extracted packet for processing {"connection_id":190854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe9"} 
[2026-09-24 01:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289741056001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790194602000,"timestamp_ms":1790194602000,"timestamp_seconds":1790194602,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe9d010"} 
[2026-09-24 01:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 01:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289741056001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289741056001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:49:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:49:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289741056001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":190854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:49:36] local.INFO: GPS data processed {"connection_id":190854,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:49:36] local.INFO: Acknowledgment sent {"connection_id":190854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:50:07] local.INFO: TCP Data received {"connection_id":190854,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:50:07] local.INFO: Processing buffer {"connection_id":190854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:50:07] local.INFO: Packet analysis {"connection_id":190854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe9"} 
[2026-09-24 01:50:07] local.INFO: Extracted packet for processing {"connection_id":190854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe9"} 
[2026-09-24 01:50:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289741056001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790194602000,"timestamp_ms":1790194602000,"timestamp_seconds":1790194602,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe9d010"} 
[2026-09-24 01:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 01:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289741056001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289741056001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:50:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:50:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289741056001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":190854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:50:07] local.INFO: GPS data processed {"connection_id":190854,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:50:07] local.INFO: Acknowledgment sent {"connection_id":190854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:50:30] local.INFO: TCP Data received {"connection_id":192384,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:50:30] local.INFO: Processing buffer {"connection_id":192384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:50:30] local.INFO: IMEI packet received {"connection_id":192384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":192384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:50:35] local.INFO: TCP Data received {"connection_id":192384,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:50:35] local.INFO: Processing buffer {"connection_id":192384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:50:35] local.INFO: IMEI packet received {"connection_id":192384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":192384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:50:36] local.INFO: TCP Data received {"connection_id":192384,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:50:36] local.INFO: Processing buffer {"connection_id":192384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:50:36] local.INFO: Packet analysis {"connection_id":192384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe9"} 
[2026-09-24 01:50:36] local.INFO: Extracted packet for processing {"connection_id":192384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe9"} 
[2026-09-24 01:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289741056001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790194602000,"timestamp_ms":1790194602000,"timestamp_seconds":1790194602,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe9d010"} 
[2026-09-24 01:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01: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":4,"data_length":795,"current_offset":136} 
[2026-09-24 01:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01: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-09-24 01:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289741056001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289741056001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:50:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:50:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289741056001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":192384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:50:36] local.INFO: GPS data processed {"connection_id":192384,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:50:36] local.INFO: Acknowledgment sent {"connection_id":192384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:51:07] local.INFO: TCP Data received {"connection_id":192384,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:51:07] local.INFO: Processing buffer {"connection_id":192384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:51:07] local.INFO: Packet analysis {"connection_id":192384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe9"} 
[2026-09-24 01:51:07] local.INFO: Extracted packet for processing {"connection_id":192384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe9"} 
[2026-09-24 01:51:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289741056001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790194602000,"timestamp_ms":1790194602000,"timestamp_seconds":1790194602,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe9d010"} 
[2026-09-24 01:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 01:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289741056001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289741056001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:51:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:51:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289741056001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":192384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:51:07] local.INFO: GPS data processed {"connection_id":192384,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:51:07] local.INFO: Acknowledgment sent {"connection_id":192384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:51:30] local.INFO: TCP Data received {"connection_id":193742,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:51:30] local.INFO: Processing buffer {"connection_id":193742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:51:30] local.INFO: IMEI packet received {"connection_id":193742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":193742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:51:35] local.INFO: TCP Data received {"connection_id":193742,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:51:35] local.INFO: Processing buffer {"connection_id":193742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:51:35] local.INFO: IMEI packet received {"connection_id":193742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":193742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:51:36] local.INFO: TCP Data received {"connection_id":193742,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:51:36] local.INFO: Processing buffer {"connection_id":193742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:51:36] local.INFO: Packet analysis {"connection_id":193742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe9"} 
[2026-09-24 01:51:36] local.INFO: Extracted packet for processing {"connection_id":193742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe9"} 
[2026-09-24 01:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289741056001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790194602000,"timestamp_ms":1790194602000,"timestamp_seconds":1790194602,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe9d010"} 
[2026-09-24 01:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 01:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289741056001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289741056001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:51:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:51:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289741056001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":193742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:51:36] local.INFO: GPS data processed {"connection_id":193742,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:51:36] local.INFO: Acknowledgment sent {"connection_id":193742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:52:07] local.INFO: TCP Data received {"connection_id":193742,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:52:07] local.INFO: Processing buffer {"connection_id":193742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfe9d010012d34c58006aa4758000a010525..."} 
[2026-09-24 01:52:07] local.INFO: Packet analysis {"connection_id":193742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfe9"} 
[2026-09-24 01:52:07] local.INFO: Extracted packet for processing {"connection_id":193742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfe9"} 
[2026-09-24 01:52:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289741056001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790194602000,"timestamp_ms":1790194602000,"timestamp_seconds":1790194602,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfe9d010"} 
[2026-09-24 01:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 01:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289741056001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289741056001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:52:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:52:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289741056001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":193742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:52:07] local.INFO: GPS data processed {"connection_id":193742,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:52:07] local.INFO: Acknowledgment sent {"connection_id":193742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:52:35] local.INFO: TCP Data received {"connection_id":191054,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:52:35] local.INFO: Processing buffer {"connection_id":191054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:52:35] local.INFO: IMEI packet received {"connection_id":191054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":191054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:52:40] local.INFO: TCP Data received {"connection_id":191054,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:52:40] local.INFO: Processing buffer {"connection_id":191054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:52:40] local.INFO: IMEI packet received {"connection_id":191054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":191054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:52:41] local.INFO: TCP Data received {"connection_id":191054,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:52:41] local.INFO: Processing buffer {"connection_id":191054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:52:41] local.INFO: Packet analysis {"connection_id":191054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfee"} 
[2026-09-24 01:52:41] local.INFO: Extracted packet for processing {"connection_id":191054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfee"} 
[2026-09-24 01:52:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289818112001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790194903000,"timestamp_ms":1790194903000,"timestamp_seconds":1790194903,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfee67d8"} 
[2026-09-24 01:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289818112001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289818112001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:52:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:52:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289818112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":191054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:52:41] local.INFO: GPS data processed {"connection_id":191054,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:52:41] local.INFO: Acknowledgment sent {"connection_id":191054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:52:45] local.INFO: TCP Data received {"connection_id":191054,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:52:45] local.INFO: Processing buffer {"connection_id":191054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:52:45] local.INFO: Packet analysis {"connection_id":191054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfee"} 
[2026-09-24 01:52:45] local.INFO: Extracted packet for processing {"connection_id":191054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfee"} 
[2026-09-24 01:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289818112001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790194903000,"timestamp_ms":1790194903000,"timestamp_seconds":1790194903,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfee67d8"} 
[2026-09-24 01:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:52:45] 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-09-24 01:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289818112001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289818112001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:52:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289818112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":191054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:52:45] local.INFO: GPS data processed {"connection_id":191054,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:52:45] local.INFO: Acknowledgment sent {"connection_id":191054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:53:30] local.INFO: TCP Data received {"connection_id":191055,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:53:30] local.INFO: Processing buffer {"connection_id":191055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:53:30] local.INFO: IMEI packet received {"connection_id":191055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":191055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:53:35] local.INFO: TCP Data received {"connection_id":191055,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:53:35] local.INFO: Processing buffer {"connection_id":191055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:53:35] local.INFO: IMEI packet received {"connection_id":191055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":191055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:53:36] local.INFO: TCP Data received {"connection_id":191055,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:53:36] local.INFO: Processing buffer {"connection_id":191055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:53:36] local.INFO: Packet analysis {"connection_id":191055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfee"} 
[2026-09-24 01:53:36] local.INFO: Extracted packet for processing {"connection_id":191055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfee"} 
[2026-09-24 01:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289818112001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790194903000,"timestamp_ms":1790194903000,"timestamp_seconds":1790194903,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfee67d8"} 
[2026-09-24 01:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289818112001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289818112001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:53:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:53:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289818112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":191055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:53:36] local.INFO: GPS data processed {"connection_id":191055,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:53:36] local.INFO: Acknowledgment sent {"connection_id":191055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:54:08] local.INFO: TCP Data received {"connection_id":191055,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:54:08] local.INFO: Processing buffer {"connection_id":191055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:54:08] local.INFO: Packet analysis {"connection_id":191055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfee"} 
[2026-09-24 01:54:08] local.INFO: Extracted packet for processing {"connection_id":191055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfee"} 
[2026-09-24 01:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289818112001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790194903000,"timestamp_ms":1790194903000,"timestamp_seconds":1790194903,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfee67d8"} 
[2026-09-24 01:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:54:08] 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-09-24 01: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-09-24 01:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289818112001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289818112001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:54:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289818112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":191055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:54:08] local.INFO: GPS data processed {"connection_id":191055,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:54:08] local.INFO: Acknowledgment sent {"connection_id":191055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:54:30] local.INFO: TCP Data received {"connection_id":191056,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:54:30] local.INFO: Processing buffer {"connection_id":191056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:54:30] local.INFO: IMEI packet received {"connection_id":191056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":191056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:54:35] local.INFO: TCP Data received {"connection_id":191056,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:54:35] local.INFO: Processing buffer {"connection_id":191056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:54:35] local.INFO: IMEI packet received {"connection_id":191056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":191056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:54:36] local.INFO: TCP Data received {"connection_id":191056,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:54:36] local.INFO: Processing buffer {"connection_id":191056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:54:36] local.INFO: Packet analysis {"connection_id":191056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfee"} 
[2026-09-24 01:54:36] local.INFO: Extracted packet for processing {"connection_id":191056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfee"} 
[2026-09-24 01:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289818112001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790194903000,"timestamp_ms":1790194903000,"timestamp_seconds":1790194903,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfee67d8"} 
[2026-09-24 01:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01: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-09-24 01:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289818112001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289818112001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:54:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:54:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289818112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":191056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:54:36] local.INFO: GPS data processed {"connection_id":191056,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:54:36] local.INFO: Acknowledgment sent {"connection_id":191056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:55:07] local.INFO: TCP Data received {"connection_id":191056,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:55:07] local.INFO: Processing buffer {"connection_id":191056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:55:07] local.INFO: Packet analysis {"connection_id":191056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfee"} 
[2026-09-24 01:55:07] local.INFO: Extracted packet for processing {"connection_id":191056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfee"} 
[2026-09-24 01:55:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289818112001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790194903000,"timestamp_ms":1790194903000,"timestamp_seconds":1790194903,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfee67d8"} 
[2026-09-24 01:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289818112001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289818112001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:55:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:55:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289818112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":191056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:55:08] local.INFO: GPS data processed {"connection_id":191056,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:55:08] local.INFO: Acknowledgment sent {"connection_id":191056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:55:29] local.INFO: TCP Data received {"connection_id":192385,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:55:29] local.INFO: Processing buffer {"connection_id":192385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:55:29] local.INFO: IMEI packet received {"connection_id":192385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":192385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:55:35] local.INFO: TCP Data received {"connection_id":192385,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:55:35] local.INFO: Processing buffer {"connection_id":192385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:55:35] local.INFO: IMEI packet received {"connection_id":192385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":192385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:55:36] local.INFO: TCP Data received {"connection_id":192385,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:55:36] local.INFO: Processing buffer {"connection_id":192385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:55:36] local.INFO: Packet analysis {"connection_id":192385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfee"} 
[2026-09-24 01:55:36] local.INFO: Extracted packet for processing {"connection_id":192385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfee"} 
[2026-09-24 01:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289818112001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790194903000,"timestamp_ms":1790194903000,"timestamp_seconds":1790194903,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfee67d8"} 
[2026-09-24 01:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289818112001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289818112001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:55:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:55:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289818112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":192385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:55:36] local.INFO: GPS data processed {"connection_id":192385,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:55:36] local.INFO: Acknowledgment sent {"connection_id":192385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:56:08] local.INFO: TCP Data received {"connection_id":192385,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:56:08] local.INFO: Processing buffer {"connection_id":192385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:56:08] local.INFO: Packet analysis {"connection_id":192385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfee"} 
[2026-09-24 01:56:08] local.INFO: Extracted packet for processing {"connection_id":192385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfee"} 
[2026-09-24 01:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289818112001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790194903000,"timestamp_ms":1790194903000,"timestamp_seconds":1790194903,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfee67d8"} 
[2026-09-24 01:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:56:08] 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-09-24 01: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-09-24 01:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289818112001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289818112001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:56:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289818112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":192385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:56:08] local.INFO: GPS data processed {"connection_id":192385,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:56:08] local.INFO: Acknowledgment sent {"connection_id":192385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:56:35] local.INFO: TCP Data received {"connection_id":192386,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:56:35] local.INFO: Processing buffer {"connection_id":192386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:56:35] local.INFO: IMEI packet received {"connection_id":192386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":192386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:56:40] local.INFO: TCP Data received {"connection_id":192386,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:56:40] local.INFO: Processing buffer {"connection_id":192386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:56:40] local.INFO: IMEI packet received {"connection_id":192386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":192386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:56:41] local.INFO: TCP Data received {"connection_id":192386,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:56:41] local.INFO: Processing buffer {"connection_id":192386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:56:41] local.INFO: Packet analysis {"connection_id":192386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfee"} 
[2026-09-24 01:56:41] local.INFO: Extracted packet for processing {"connection_id":192386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfee"} 
[2026-09-24 01:56:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289818112001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790194903000,"timestamp_ms":1790194903000,"timestamp_seconds":1790194903,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfee67d8"} 
[2026-09-24 01:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289818112001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289818112001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:56:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:56:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289818112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":192386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:56:41] local.INFO: GPS data processed {"connection_id":192386,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:56:41] local.INFO: Acknowledgment sent {"connection_id":192386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:56:46] local.INFO: TCP Data received {"connection_id":192386,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:56:46] local.INFO: Processing buffer {"connection_id":192386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cfee67d8012d34c58006aa4758000a010525..."} 
[2026-09-24 01:56:46] local.INFO: Packet analysis {"connection_id":192386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cfee"} 
[2026-09-24 01:56:46] local.INFO: Extracted packet for processing {"connection_id":192386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cfee"} 
[2026-09-24 01:56:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289818112001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790194903000,"timestamp_ms":1790194903000,"timestamp_seconds":1790194903,"priority":1,"record_length":96,"hex_timestamp":"000001a0cfee67d8"} 
[2026-09-24 01:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:56:46] 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-09-24 01:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":192386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":192386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":192386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289818112001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289818112001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:56:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:56:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289818112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":192386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:56:46] local.INFO: GPS data processed {"connection_id":192386,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:56:46] local.INFO: Acknowledgment sent {"connection_id":192386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:57:30] local.INFO: TCP Data received {"connection_id":190855,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:57:30] local.INFO: Processing buffer {"connection_id":190855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:57:30] local.INFO: IMEI packet received {"connection_id":190855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":190855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:57:35] local.INFO: TCP Data received {"connection_id":190855,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:57:35] local.INFO: Processing buffer {"connection_id":190855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:57:35] local.INFO: IMEI packet received {"connection_id":190855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":190855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:57:36] local.INFO: TCP Data received {"connection_id":190855,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 01:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 01:57:36] local.INFO: Processing buffer {"connection_id":190855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 01:57:36] local.INFO: Packet analysis {"connection_id":190855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cff2"} 
[2026-09-24 01:57:36] local.INFO: Extracted packet for processing {"connection_id":190855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cff2"} 
[2026-09-24 01:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289895168001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790195204000,"timestamp_ms":1790195204000,"timestamp_seconds":1790195204,"priority":1,"record_length":96,"hex_timestamp":"000001a0cff2ffa0"} 
[2026-09-24 01:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289895168001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289895168001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:57:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:57:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289895168001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":190855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:57:36] local.INFO: GPS data processed {"connection_id":190855,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:57:36] local.INFO: Acknowledgment sent {"connection_id":190855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:58:07] local.INFO: TCP Data received {"connection_id":190855,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 01:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 01:58:07] local.INFO: Processing buffer {"connection_id":190855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 01:58:07] local.INFO: Packet analysis {"connection_id":190855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cff2"} 
[2026-09-24 01:58:07] local.INFO: Extracted packet for processing {"connection_id":190855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cff2"} 
[2026-09-24 01:58:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289895168001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790195204000,"timestamp_ms":1790195204000,"timestamp_seconds":1790195204,"priority":1,"record_length":96,"hex_timestamp":"000001a0cff2ffa0"} 
[2026-09-24 01:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289895168001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289895168001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:58:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:58:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289895168001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":190855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:58:07] local.INFO: GPS data processed {"connection_id":190855,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:58:07] local.INFO: Acknowledgment sent {"connection_id":190855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:58:30] local.INFO: TCP Data received {"connection_id":192387,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:58:30] local.INFO: Processing buffer {"connection_id":192387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:58:30] local.INFO: IMEI packet received {"connection_id":192387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":192387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:58:35] local.INFO: TCP Data received {"connection_id":192387,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:58:35] local.INFO: Processing buffer {"connection_id":192387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:58:35] local.INFO: IMEI packet received {"connection_id":192387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":192387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:58:36] local.INFO: TCP Data received {"connection_id":192387,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 01:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 01:58:36] local.INFO: Processing buffer {"connection_id":192387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 01:58:36] local.INFO: Packet analysis {"connection_id":192387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cff2"} 
[2026-09-24 01:58:36] local.INFO: Extracted packet for processing {"connection_id":192387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cff2"} 
[2026-09-24 01:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289895168001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790195204000,"timestamp_ms":1790195204000,"timestamp_seconds":1790195204,"priority":1,"record_length":96,"hex_timestamp":"000001a0cff2ffa0"} 
[2026-09-24 01:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289895168001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289895168001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:58:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:58:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289895168001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":192387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:58:36] local.INFO: GPS data processed {"connection_id":192387,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:58:36] local.INFO: Acknowledgment sent {"connection_id":192387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:59:07] local.INFO: TCP Data received {"connection_id":192387,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 01:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 01:59:07] local.INFO: Processing buffer {"connection_id":192387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 01:59:07] local.INFO: Packet analysis {"connection_id":192387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cff2"} 
[2026-09-24 01:59:07] local.INFO: Extracted packet for processing {"connection_id":192387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cff2"} 
[2026-09-24 01:59:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 01:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289895168001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790195204000,"timestamp_ms":1790195204000,"timestamp_seconds":1790195204,"priority":1,"record_length":96,"hex_timestamp":"000001a0cff2ffa0"} 
[2026-09-24 01:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 01:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289895168001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289895168001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:59:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:59:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289895168001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":192387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:59:07] local.INFO: GPS data processed {"connection_id":192387,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:59:07] local.INFO: Acknowledgment sent {"connection_id":192387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 01:59:29] local.INFO: TCP Data received {"connection_id":191057,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:59:29] local.INFO: Processing buffer {"connection_id":191057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:59:29] local.INFO: IMEI packet received {"connection_id":191057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 01:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":191057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 01:59:35] local.INFO: TCP Data received {"connection_id":191057,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:59:35] local.INFO: Processing buffer {"connection_id":191057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 01:59:35] local.INFO: IMEI packet received {"connection_id":191057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 01:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":191057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 01:59:36] local.INFO: TCP Data received {"connection_id":191057,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 01:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 01:59:36] local.INFO: Processing buffer {"connection_id":191057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 01:59:36] local.INFO: Packet analysis {"connection_id":191057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cff2"} 
[2026-09-24 01:59:36] local.INFO: Extracted packet for processing {"connection_id":191057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cff2"} 
[2026-09-24 01:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 01: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-09-24 01:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289895168001,"note":"Value kept but may cause issues"} 
[2026-09-24 01:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 01:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 01:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 01:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790195204000,"timestamp_ms":1790195204000,"timestamp_seconds":1790195204,"priority":1,"record_length":96,"hex_timestamp":"000001a0cff2ffa0"} 
[2026-09-24 01:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 01:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 01:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 01:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 01: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-09-24 01:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 01:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 01:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 01:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 01:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 01:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 01:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 01:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289895168001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 01:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 01:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 01:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289895168001,"description":"Unknown IO ID 0"} 
[2026-09-24 01:59:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 01:59:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 01:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 01:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 01:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289895168001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 01:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":191057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 01:59:36] local.INFO: GPS data processed {"connection_id":191057,"processed":1,"errors":0,"total":1} 
[2026-09-24 01:59:36] local.INFO: Acknowledgment sent {"connection_id":191057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:00:07] local.INFO: TCP Data received {"connection_id":191057,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 02:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 02:00:07] local.INFO: Processing buffer {"connection_id":191057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 02:00:07] local.INFO: Packet analysis {"connection_id":191057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cff2"} 
[2026-09-24 02:00:07] local.INFO: Extracted packet for processing {"connection_id":191057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cff2"} 
[2026-09-24 02:00:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289895168001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790195204000,"timestamp_ms":1790195204000,"timestamp_seconds":1790195204,"priority":1,"record_length":96,"hex_timestamp":"000001a0cff2ffa0"} 
[2026-09-24 02:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289895168001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289895168001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:00:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:00:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289895168001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":191057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:00:07] local.INFO: GPS data processed {"connection_id":191057,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:00:07] local.INFO: Acknowledgment sent {"connection_id":191057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:00:30] local.INFO: TCP Data received {"connection_id":190856,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:00:30] local.INFO: Processing buffer {"connection_id":190856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:00:30] local.INFO: IMEI packet received {"connection_id":190856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":190856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:00:35] local.INFO: TCP Data received {"connection_id":190856,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:00:35] local.INFO: Processing buffer {"connection_id":190856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:00:35] local.INFO: IMEI packet received {"connection_id":190856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":190856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:00:36] local.INFO: TCP Data received {"connection_id":190856,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 02:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 02:00:36] local.INFO: Processing buffer {"connection_id":190856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 02:00:36] local.INFO: Packet analysis {"connection_id":190856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cff2"} 
[2026-09-24 02:00:36] local.INFO: Extracted packet for processing {"connection_id":190856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cff2"} 
[2026-09-24 02:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289895168001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790195204000,"timestamp_ms":1790195204000,"timestamp_seconds":1790195204,"priority":1,"record_length":96,"hex_timestamp":"000001a0cff2ffa0"} 
[2026-09-24 02:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289895168001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289895168001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:00:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289895168001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":190856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:00:36] local.INFO: GPS data processed {"connection_id":190856,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:00:36] local.INFO: Acknowledgment sent {"connection_id":190856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:01:07] local.INFO: TCP Data received {"connection_id":190856,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 02:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 02:01:07] local.INFO: Processing buffer {"connection_id":190856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 02:01:07] local.INFO: Packet analysis {"connection_id":190856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cff2"} 
[2026-09-24 02:01:07] local.INFO: Extracted packet for processing {"connection_id":190856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cff2"} 
[2026-09-24 02:01:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289895168001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790195204000,"timestamp_ms":1790195204000,"timestamp_seconds":1790195204,"priority":1,"record_length":96,"hex_timestamp":"000001a0cff2ffa0"} 
[2026-09-24 02:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289895168001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289895168001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:01:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:01:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289895168001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":190856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:01:07] local.INFO: GPS data processed {"connection_id":190856,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:01:07] local.INFO: Acknowledgment sent {"connection_id":190856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:01:30] local.INFO: TCP Data received {"connection_id":190857,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:01:30] local.INFO: Processing buffer {"connection_id":190857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:01:30] local.INFO: IMEI packet received {"connection_id":190857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":190857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:01:35] local.INFO: TCP Data received {"connection_id":190857,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:01:35] local.INFO: Processing buffer {"connection_id":190857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:01:35] local.INFO: IMEI packet received {"connection_id":190857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":190857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:01:36] local.INFO: TCP Data received {"connection_id":190857,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 02:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 02:01:36] local.INFO: Processing buffer {"connection_id":190857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 02:01:36] local.INFO: Packet analysis {"connection_id":190857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cff2"} 
[2026-09-24 02:01:36] local.INFO: Extracted packet for processing {"connection_id":190857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cff2"} 
[2026-09-24 02:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289895168001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790195204000,"timestamp_ms":1790195204000,"timestamp_seconds":1790195204,"priority":1,"record_length":96,"hex_timestamp":"000001a0cff2ffa0"} 
[2026-09-24 02:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289895168001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289895168001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:01:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289895168001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":190857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:01:36] local.INFO: GPS data processed {"connection_id":190857,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:01:36] local.INFO: Acknowledgment sent {"connection_id":190857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:02:09] local.INFO: TCP Data received {"connection_id":190857,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 02:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 02:02:09] local.INFO: Processing buffer {"connection_id":190857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cff2ffa0012d34c58006aa4758000a010522..."} 
[2026-09-24 02:02:09] local.INFO: Packet analysis {"connection_id":190857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cff2"} 
[2026-09-24 02:02:09] local.INFO: Extracted packet for processing {"connection_id":190857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cff2"} 
[2026-09-24 02:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289895168001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790195204000,"timestamp_ms":1790195204000,"timestamp_seconds":1790195204,"priority":1,"record_length":96,"hex_timestamp":"000001a0cff2ffa0"} 
[2026-09-24 02:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:02: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-09-24 02:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289895168001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289895168001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:02:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289895168001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":190857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:02:09] local.INFO: GPS data processed {"connection_id":190857,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:02:09] local.INFO: Acknowledgment sent {"connection_id":190857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:02:30] local.INFO: TCP Data received {"connection_id":191058,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:02:30] local.INFO: Processing buffer {"connection_id":191058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:02:30] local.INFO: IMEI packet received {"connection_id":191058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":191058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:02:35] local.INFO: TCP Data received {"connection_id":191058,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:02:35] local.INFO: Processing buffer {"connection_id":191058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:02:35] local.INFO: IMEI packet received {"connection_id":191058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":191058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:02:36] local.INFO: TCP Data received {"connection_id":191058,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:02:36] local.INFO: Processing buffer {"connection_id":191058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:02:36] local.INFO: Packet analysis {"connection_id":191058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cff7"} 
[2026-09-24 02:02:36] local.INFO: Extracted packet for processing {"connection_id":191058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cff7"} 
[2026-09-24 02:02:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289972224001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790195505000,"timestamp_ms":1790195505000,"timestamp_seconds":1790195505,"priority":1,"record_length":96,"hex_timestamp":"000001a0cff79768"} 
[2026-09-24 02:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289972224001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289972224001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:02:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:02:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289972224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":191058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:02:36] local.INFO: GPS data processed {"connection_id":191058,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:02:36] local.INFO: Acknowledgment sent {"connection_id":191058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:03:07] local.INFO: TCP Data received {"connection_id":191058,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:03:07] local.INFO: Processing buffer {"connection_id":191058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:03:07] local.INFO: Packet analysis {"connection_id":191058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cff7"} 
[2026-09-24 02:03:07] local.INFO: Extracted packet for processing {"connection_id":191058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cff7"} 
[2026-09-24 02:03:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289972224001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790195505000,"timestamp_ms":1790195505000,"timestamp_seconds":1790195505,"priority":1,"record_length":96,"hex_timestamp":"000001a0cff79768"} 
[2026-09-24 02:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289972224001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289972224001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:03:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:03:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289972224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":191058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:03:07] local.INFO: GPS data processed {"connection_id":191058,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:03:07] local.INFO: Acknowledgment sent {"connection_id":191058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:03:29] local.INFO: TCP Data received {"connection_id":190858,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:03:29] local.INFO: Processing buffer {"connection_id":190858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:03:29] local.INFO: IMEI packet received {"connection_id":190858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":190858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:03:35] local.INFO: TCP Data received {"connection_id":190858,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:03:35] local.INFO: Processing buffer {"connection_id":190858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:03:35] local.INFO: IMEI packet received {"connection_id":190858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":190858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:03:36] local.INFO: TCP Data received {"connection_id":190858,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:03:36] local.INFO: Processing buffer {"connection_id":190858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:03:36] local.INFO: Packet analysis {"connection_id":190858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cff7"} 
[2026-09-24 02:03:36] local.INFO: Extracted packet for processing {"connection_id":190858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cff7"} 
[2026-09-24 02:03:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289972224001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790195505000,"timestamp_ms":1790195505000,"timestamp_seconds":1790195505,"priority":1,"record_length":96,"hex_timestamp":"000001a0cff79768"} 
[2026-09-24 02:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289972224001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289972224001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:03:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:03:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289972224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":190858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:03:36] local.INFO: GPS data processed {"connection_id":190858,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:03:36] local.INFO: Acknowledgment sent {"connection_id":190858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:04:07] local.INFO: TCP Data received {"connection_id":190858,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:04:07] local.INFO: Processing buffer {"connection_id":190858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:04:07] local.INFO: Packet analysis {"connection_id":190858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cff7"} 
[2026-09-24 02:04:07] local.INFO: Extracted packet for processing {"connection_id":190858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cff7"} 
[2026-09-24 02:04:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289972224001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790195505000,"timestamp_ms":1790195505000,"timestamp_seconds":1790195505,"priority":1,"record_length":96,"hex_timestamp":"000001a0cff79768"} 
[2026-09-24 02:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289972224001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289972224001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:04:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:04:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289972224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":190858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:04:08] local.INFO: GPS data processed {"connection_id":190858,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:04:08] local.INFO: Acknowledgment sent {"connection_id":190858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:04:30] local.INFO: TCP Data received {"connection_id":192388,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:04:30] local.INFO: Processing buffer {"connection_id":192388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:04:30] local.INFO: IMEI packet received {"connection_id":192388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":192388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:04:35] local.INFO: TCP Data received {"connection_id":192388,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:04:35] local.INFO: Processing buffer {"connection_id":192388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:04:35] local.INFO: IMEI packet received {"connection_id":192388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":192388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:04:36] local.INFO: TCP Data received {"connection_id":192388,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:04:36] local.INFO: Processing buffer {"connection_id":192388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:04:36] local.INFO: Packet analysis {"connection_id":192388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cff7"} 
[2026-09-24 02:04:36] local.INFO: Extracted packet for processing {"connection_id":192388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cff7"} 
[2026-09-24 02:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289972224001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790195505000,"timestamp_ms":1790195505000,"timestamp_seconds":1790195505,"priority":1,"record_length":96,"hex_timestamp":"000001a0cff79768"} 
[2026-09-24 02:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289972224001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289972224001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:04:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:04:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289972224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":192388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:04:36] local.INFO: GPS data processed {"connection_id":192388,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:04:36] local.INFO: Acknowledgment sent {"connection_id":192388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:05:07] local.INFO: TCP Data received {"connection_id":192388,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:05:07] local.INFO: Processing buffer {"connection_id":192388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:05:07] local.INFO: Packet analysis {"connection_id":192388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cff7"} 
[2026-09-24 02:05:07] local.INFO: Extracted packet for processing {"connection_id":192388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cff7"} 
[2026-09-24 02:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289972224001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790195505000,"timestamp_ms":1790195505000,"timestamp_seconds":1790195505,"priority":1,"record_length":96,"hex_timestamp":"000001a0cff79768"} 
[2026-09-24 02:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289972224001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289972224001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:05:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:05:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289972224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":192388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:05:07] local.INFO: GPS data processed {"connection_id":192388,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:05:07] local.INFO: Acknowledgment sent {"connection_id":192388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:05:30] local.INFO: TCP Data received {"connection_id":192389,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:05:30] local.INFO: Processing buffer {"connection_id":192389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:05:30] local.INFO: IMEI packet received {"connection_id":192389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":192389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:05:35] local.INFO: TCP Data received {"connection_id":192389,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:05:35] local.INFO: Processing buffer {"connection_id":192389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:05:35] local.INFO: IMEI packet received {"connection_id":192389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":192389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:05:36] local.INFO: TCP Data received {"connection_id":192389,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:05:36] local.INFO: Processing buffer {"connection_id":192389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:05:36] local.INFO: Packet analysis {"connection_id":192389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cff7"} 
[2026-09-24 02:05:36] local.INFO: Extracted packet for processing {"connection_id":192389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cff7"} 
[2026-09-24 02:05:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289972224001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790195505000,"timestamp_ms":1790195505000,"timestamp_seconds":1790195505,"priority":1,"record_length":96,"hex_timestamp":"000001a0cff79768"} 
[2026-09-24 02:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289972224001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289972224001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:05:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:05:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289972224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":192389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:05:36] local.INFO: GPS data processed {"connection_id":192389,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:05:36] local.INFO: Acknowledgment sent {"connection_id":192389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:06:07] local.INFO: TCP Data received {"connection_id":192389,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:06:07] local.INFO: Processing buffer {"connection_id":192389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:06:07] local.INFO: Packet analysis {"connection_id":192389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cff7"} 
[2026-09-24 02:06:07] local.INFO: Extracted packet for processing {"connection_id":192389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cff7"} 
[2026-09-24 02:06:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289972224001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790195505000,"timestamp_ms":1790195505000,"timestamp_seconds":1790195505,"priority":1,"record_length":96,"hex_timestamp":"000001a0cff79768"} 
[2026-09-24 02:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289972224001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289972224001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:06:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:06:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289972224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":192389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:06:07] local.INFO: GPS data processed {"connection_id":192389,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:06:07] local.INFO: Acknowledgment sent {"connection_id":192389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:06:30] local.INFO: TCP Data received {"connection_id":191059,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:06:30] local.INFO: Processing buffer {"connection_id":191059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:06:30] local.INFO: IMEI packet received {"connection_id":191059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":191059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:06:35] local.INFO: TCP Data received {"connection_id":191059,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:06:35] local.INFO: Processing buffer {"connection_id":191059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:06:35] local.INFO: IMEI packet received {"connection_id":191059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":191059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:06:36] local.INFO: TCP Data received {"connection_id":191059,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:06:36] local.INFO: Processing buffer {"connection_id":191059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:06:36] local.INFO: Packet analysis {"connection_id":191059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cff7"} 
[2026-09-24 02:06:36] local.INFO: Extracted packet for processing {"connection_id":191059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cff7"} 
[2026-09-24 02:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289972224001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790195505000,"timestamp_ms":1790195505000,"timestamp_seconds":1790195505,"priority":1,"record_length":96,"hex_timestamp":"000001a0cff79768"} 
[2026-09-24 02:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289972224001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289972224001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:06:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289972224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":191059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:06:36] local.INFO: GPS data processed {"connection_id":191059,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:06:36] local.INFO: Acknowledgment sent {"connection_id":191059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:07:08] local.INFO: TCP Data received {"connection_id":191059,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:07:08] local.INFO: Processing buffer {"connection_id":191059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cff79768012d34c58006aa4758000a010522..."} 
[2026-09-24 02:07:08] local.INFO: Packet analysis {"connection_id":191059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cff7"} 
[2026-09-24 02:07:08] local.INFO: Extracted packet for processing {"connection_id":191059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cff7"} 
[2026-09-24 02:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458289972224001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790195505000,"timestamp_ms":1790195505000,"timestamp_seconds":1790195505,"priority":1,"record_length":96,"hex_timestamp":"000001a0cff79768"} 
[2026-09-24 02:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:07:08] 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-09-24 02: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-09-24 02:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458289972224001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458289972224001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:07:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458289972224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":191059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:07:08] local.INFO: GPS data processed {"connection_id":191059,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:07:08] local.INFO: Acknowledgment sent {"connection_id":191059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:07:30] local.INFO: TCP Data received {"connection_id":193743,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:07:30] local.INFO: Processing buffer {"connection_id":193743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:07:30] local.INFO: IMEI packet received {"connection_id":193743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":193743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:07:35] local.INFO: TCP Data received {"connection_id":193743,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:07:35] local.INFO: Processing buffer {"connection_id":193743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:07:35] local.INFO: IMEI packet received {"connection_id":193743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":193743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:07:36] local.INFO: TCP Data received {"connection_id":193743,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:07:36] local.INFO: Processing buffer {"connection_id":193743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:07:36] local.INFO: Packet analysis {"connection_id":193743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cffc"} 
[2026-09-24 02:07:36] local.INFO: Extracted packet for processing {"connection_id":193743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cffc"} 
[2026-09-24 02:07:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290049280001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790195806000,"timestamp_ms":1790195806000,"timestamp_seconds":1790195806,"priority":1,"record_length":96,"hex_timestamp":"000001a0cffc2f30"} 
[2026-09-24 02:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290049280001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290049280001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:07:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:07:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290049280001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":193743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:07:36] local.INFO: GPS data processed {"connection_id":193743,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:07:36] local.INFO: Acknowledgment sent {"connection_id":193743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:08:08] local.INFO: TCP Data received {"connection_id":193743,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:08:08] local.INFO: Processing buffer {"connection_id":193743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:08:08] local.INFO: Packet analysis {"connection_id":193743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cffc"} 
[2026-09-24 02:08:08] local.INFO: Extracted packet for processing {"connection_id":193743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cffc"} 
[2026-09-24 02:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290049280001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790195806000,"timestamp_ms":1790195806000,"timestamp_seconds":1790195806,"priority":1,"record_length":96,"hex_timestamp":"000001a0cffc2f30"} 
[2026-09-24 02:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:08:08] 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-09-24 02: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-09-24 02:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290049280001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290049280001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:08:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:08:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290049280001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":193743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:08:08] local.INFO: GPS data processed {"connection_id":193743,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:08:08] local.INFO: Acknowledgment sent {"connection_id":193743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:08:29] local.INFO: TCP Data received {"connection_id":192390,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:08:29] local.INFO: Processing buffer {"connection_id":192390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:08:29] local.INFO: IMEI packet received {"connection_id":192390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":192390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:08:35] local.INFO: TCP Data received {"connection_id":192390,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:08:35] local.INFO: Processing buffer {"connection_id":192390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:08:35] local.INFO: IMEI packet received {"connection_id":192390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":192390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:08:36] local.INFO: TCP Data received {"connection_id":192390,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:08:36] local.INFO: Processing buffer {"connection_id":192390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:08:36] local.INFO: Packet analysis {"connection_id":192390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cffc"} 
[2026-09-24 02:08:36] local.INFO: Extracted packet for processing {"connection_id":192390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cffc"} 
[2026-09-24 02:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290049280001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790195806000,"timestamp_ms":1790195806000,"timestamp_seconds":1790195806,"priority":1,"record_length":96,"hex_timestamp":"000001a0cffc2f30"} 
[2026-09-24 02:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290049280001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290049280001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:08:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290049280001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":192390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:08:36] local.INFO: GPS data processed {"connection_id":192390,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:08:36] local.INFO: Acknowledgment sent {"connection_id":192390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:09:07] local.INFO: TCP Data received {"connection_id":192390,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:09:07] local.INFO: Processing buffer {"connection_id":192390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:09:07] local.INFO: Packet analysis {"connection_id":192390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cffc"} 
[2026-09-24 02:09:07] local.INFO: Extracted packet for processing {"connection_id":192390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cffc"} 
[2026-09-24 02:09:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290049280001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790195806000,"timestamp_ms":1790195806000,"timestamp_seconds":1790195806,"priority":1,"record_length":96,"hex_timestamp":"000001a0cffc2f30"} 
[2026-09-24 02:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290049280001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290049280001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:09:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:09:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290049280001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":192390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:09:07] local.INFO: GPS data processed {"connection_id":192390,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:09:07] local.INFO: Acknowledgment sent {"connection_id":192390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:09:30] local.INFO: TCP Data received {"connection_id":192391,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:09:30] local.INFO: Processing buffer {"connection_id":192391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:09:30] local.INFO: IMEI packet received {"connection_id":192391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":192391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:09:35] local.INFO: TCP Data received {"connection_id":192391,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:09:35] local.INFO: Processing buffer {"connection_id":192391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:09:35] local.INFO: IMEI packet received {"connection_id":192391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":192391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:09:36] local.INFO: TCP Data received {"connection_id":192391,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:09:36] local.INFO: Processing buffer {"connection_id":192391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:09:36] local.INFO: Packet analysis {"connection_id":192391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cffc"} 
[2026-09-24 02:09:36] local.INFO: Extracted packet for processing {"connection_id":192391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cffc"} 
[2026-09-24 02:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290049280001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790195806000,"timestamp_ms":1790195806000,"timestamp_seconds":1790195806,"priority":1,"record_length":96,"hex_timestamp":"000001a0cffc2f30"} 
[2026-09-24 02:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290049280001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290049280001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:09:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:09:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290049280001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":192391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:09:36] local.INFO: GPS data processed {"connection_id":192391,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:09:36] local.INFO: Acknowledgment sent {"connection_id":192391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:10:07] local.INFO: TCP Data received {"connection_id":192391,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:10:07] local.INFO: Processing buffer {"connection_id":192391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:10:07] local.INFO: Packet analysis {"connection_id":192391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cffc"} 
[2026-09-24 02:10:07] local.INFO: Extracted packet for processing {"connection_id":192391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cffc"} 
[2026-09-24 02:10:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290049280001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790195806000,"timestamp_ms":1790195806000,"timestamp_seconds":1790195806,"priority":1,"record_length":96,"hex_timestamp":"000001a0cffc2f30"} 
[2026-09-24 02:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290049280001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290049280001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:10:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:10:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290049280001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":192391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:10:07] local.INFO: GPS data processed {"connection_id":192391,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:10:07] local.INFO: Acknowledgment sent {"connection_id":192391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:10:35] local.INFO: TCP Data received {"connection_id":192392,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:10:35] local.INFO: Processing buffer {"connection_id":192392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:10:35] local.INFO: IMEI packet received {"connection_id":192392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":192392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:10:40] local.INFO: TCP Data received {"connection_id":192392,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:10:40] local.INFO: Processing buffer {"connection_id":192392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:10:40] local.INFO: IMEI packet received {"connection_id":192392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":192392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:10:41] local.INFO: TCP Data received {"connection_id":192392,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:10:41] local.INFO: Processing buffer {"connection_id":192392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:10:41] local.INFO: Packet analysis {"connection_id":192392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cffc"} 
[2026-09-24 02:10:41] local.INFO: Extracted packet for processing {"connection_id":192392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cffc"} 
[2026-09-24 02:10:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290049280001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790195806000,"timestamp_ms":1790195806000,"timestamp_seconds":1790195806,"priority":1,"record_length":96,"hex_timestamp":"000001a0cffc2f30"} 
[2026-09-24 02:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290049280001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290049280001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:10:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:10:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290049280001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":192392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:10:41] local.INFO: GPS data processed {"connection_id":192392,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:10:41] local.INFO: Acknowledgment sent {"connection_id":192392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:10:45] local.INFO: TCP Data received {"connection_id":192392,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:10:45] local.INFO: Processing buffer {"connection_id":192392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:10:45] local.INFO: Packet analysis {"connection_id":192392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cffc"} 
[2026-09-24 02:10:45] local.INFO: Extracted packet for processing {"connection_id":192392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cffc"} 
[2026-09-24 02:10:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290049280001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790195806000,"timestamp_ms":1790195806000,"timestamp_seconds":1790195806,"priority":1,"record_length":96,"hex_timestamp":"000001a0cffc2f30"} 
[2026-09-24 02:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:10:45] 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-09-24 02:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290049280001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290049280001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:10:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:10:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290049280001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":192392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:10:45] local.INFO: GPS data processed {"connection_id":192392,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:10:45] local.INFO: Acknowledgment sent {"connection_id":192392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:11:30] local.INFO: TCP Data received {"connection_id":193744,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:11:30] local.INFO: Processing buffer {"connection_id":193744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:11:30] local.INFO: IMEI packet received {"connection_id":193744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":193744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:11:35] local.INFO: TCP Data received {"connection_id":193744,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:11:35] local.INFO: Processing buffer {"connection_id":193744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:11:35] local.INFO: IMEI packet received {"connection_id":193744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":193744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:11:36] local.INFO: TCP Data received {"connection_id":193744,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:11:36] local.INFO: Processing buffer {"connection_id":193744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:11:36] local.INFO: Packet analysis {"connection_id":193744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cffc"} 
[2026-09-24 02:11:36] local.INFO: Extracted packet for processing {"connection_id":193744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cffc"} 
[2026-09-24 02:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290049280001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790195806000,"timestamp_ms":1790195806000,"timestamp_seconds":1790195806,"priority":1,"record_length":96,"hex_timestamp":"000001a0cffc2f30"} 
[2026-09-24 02:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290049280001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290049280001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:11:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:11:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290049280001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":193744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:11:36] local.INFO: GPS data processed {"connection_id":193744,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:11:36] local.INFO: Acknowledgment sent {"connection_id":193744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:12:07] local.INFO: TCP Data received {"connection_id":193744,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:12:07] local.INFO: Processing buffer {"connection_id":193744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0cffc2f30012d34c58006aa4758000a010523..."} 
[2026-09-24 02:12:07] local.INFO: Packet analysis {"connection_id":193744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0cffc"} 
[2026-09-24 02:12:07] local.INFO: Extracted packet for processing {"connection_id":193744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0cffc"} 
[2026-09-24 02:12:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290049280001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790195806000,"timestamp_ms":1790195806000,"timestamp_seconds":1790195806,"priority":1,"record_length":96,"hex_timestamp":"000001a0cffc2f30"} 
[2026-09-24 02:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290049280001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290049280001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:12:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:12:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290049280001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":193744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:12:07] local.INFO: GPS data processed {"connection_id":193744,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:12:07] local.INFO: Acknowledgment sent {"connection_id":193744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:12:30] local.INFO: TCP Data received {"connection_id":190859,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:12:30] local.INFO: Processing buffer {"connection_id":190859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:12:30] local.INFO: IMEI packet received {"connection_id":190859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":190859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:12:35] local.INFO: TCP Data received {"connection_id":190859,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:12:35] local.INFO: Processing buffer {"connection_id":190859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:12:35] local.INFO: IMEI packet received {"connection_id":190859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":190859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:12:36] local.INFO: TCP Data received {"connection_id":190859,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:12:36] local.INFO: Processing buffer {"connection_id":190859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:12:36] local.INFO: Packet analysis {"connection_id":190859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d000"} 
[2026-09-24 02:12:36] local.INFO: Extracted packet for processing {"connection_id":190859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d000"} 
[2026-09-24 02:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290126336001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790196107000,"timestamp_ms":1790196107000,"timestamp_seconds":1790196107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d000c6f8"} 
[2026-09-24 02:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290126336001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290126336001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:12:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:12:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290126336001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":190859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:12:36] local.INFO: GPS data processed {"connection_id":190859,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:12:36] local.INFO: Acknowledgment sent {"connection_id":190859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:13:08] local.INFO: TCP Data received {"connection_id":190859,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:13:08] local.INFO: Processing buffer {"connection_id":190859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:13:08] local.INFO: Packet analysis {"connection_id":190859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d000"} 
[2026-09-24 02:13:08] local.INFO: Extracted packet for processing {"connection_id":190859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d000"} 
[2026-09-24 02:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290126336001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790196107000,"timestamp_ms":1790196107000,"timestamp_seconds":1790196107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d000c6f8"} 
[2026-09-24 02:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:13:08] 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-09-24 02:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290126336001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290126336001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:13:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:13:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290126336001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":190859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:13:08] local.INFO: GPS data processed {"connection_id":190859,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:13:08] local.INFO: Acknowledgment sent {"connection_id":190859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:13:29] local.INFO: TCP Data received {"connection_id":192393,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:13:29] local.INFO: Processing buffer {"connection_id":192393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:13:29] local.INFO: IMEI packet received {"connection_id":192393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":192393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:13:35] local.INFO: TCP Data received {"connection_id":192393,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:13:35] local.INFO: Processing buffer {"connection_id":192393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:13:35] local.INFO: IMEI packet received {"connection_id":192393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":192393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:13:36] local.INFO: TCP Data received {"connection_id":192393,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:13:36] local.INFO: Processing buffer {"connection_id":192393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:13:36] local.INFO: Packet analysis {"connection_id":192393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d000"} 
[2026-09-24 02:13:36] local.INFO: Extracted packet for processing {"connection_id":192393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d000"} 
[2026-09-24 02:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290126336001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790196107000,"timestamp_ms":1790196107000,"timestamp_seconds":1790196107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d000c6f8"} 
[2026-09-24 02:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290126336001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290126336001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:13:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:13:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290126336001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":192393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:13:36] local.INFO: GPS data processed {"connection_id":192393,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:13:36] local.INFO: Acknowledgment sent {"connection_id":192393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:14:07] local.INFO: TCP Data received {"connection_id":192393,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:14:07] local.INFO: Processing buffer {"connection_id":192393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:14:07] local.INFO: Packet analysis {"connection_id":192393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d000"} 
[2026-09-24 02:14:07] local.INFO: Extracted packet for processing {"connection_id":192393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d000"} 
[2026-09-24 02:14:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290126336001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790196107000,"timestamp_ms":1790196107000,"timestamp_seconds":1790196107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d000c6f8"} 
[2026-09-24 02:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290126336001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290126336001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:14:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:14:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290126336001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":192393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:14:07] local.INFO: GPS data processed {"connection_id":192393,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:14:07] local.INFO: Acknowledgment sent {"connection_id":192393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:14:35] local.INFO: TCP Data received {"connection_id":191060,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:14:35] local.INFO: Processing buffer {"connection_id":191060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:14:35] local.INFO: IMEI packet received {"connection_id":191060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":191060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:14:40] local.INFO: TCP Data received {"connection_id":191060,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:14:40] local.INFO: Processing buffer {"connection_id":191060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:14:40] local.INFO: IMEI packet received {"connection_id":191060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":191060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:14:41] local.INFO: TCP Data received {"connection_id":191060,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:14:41] local.INFO: Processing buffer {"connection_id":191060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:14:41] local.INFO: Packet analysis {"connection_id":191060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d000"} 
[2026-09-24 02:14:41] local.INFO: Extracted packet for processing {"connection_id":191060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d000"} 
[2026-09-24 02:14:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290126336001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790196107000,"timestamp_ms":1790196107000,"timestamp_seconds":1790196107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d000c6f8"} 
[2026-09-24 02:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290126336001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290126336001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:14:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:14:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290126336001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":191060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:14:41] local.INFO: GPS data processed {"connection_id":191060,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:14:41] local.INFO: Acknowledgment sent {"connection_id":191060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:14:46] local.INFO: TCP Data received {"connection_id":191060,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:14:46] local.INFO: Processing buffer {"connection_id":191060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:14:46] local.INFO: Packet analysis {"connection_id":191060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d000"} 
[2026-09-24 02:14:46] local.INFO: Extracted packet for processing {"connection_id":191060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d000"} 
[2026-09-24 02:14:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290126336001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790196107000,"timestamp_ms":1790196107000,"timestamp_seconds":1790196107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d000c6f8"} 
[2026-09-24 02:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:14:46] 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-09-24 02:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290126336001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290126336001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:14:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:14:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290126336001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":191060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:14:46] local.INFO: GPS data processed {"connection_id":191060,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:14:46] local.INFO: Acknowledgment sent {"connection_id":191060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:15:30] local.INFO: TCP Data received {"connection_id":191061,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:15:30] local.INFO: Processing buffer {"connection_id":191061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:15:30] local.INFO: IMEI packet received {"connection_id":191061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":191061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:15:35] local.INFO: TCP Data received {"connection_id":191061,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:15:35] local.INFO: Processing buffer {"connection_id":191061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:15:35] local.INFO: IMEI packet received {"connection_id":191061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":191061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:15:36] local.INFO: TCP Data received {"connection_id":191061,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:15:36] local.INFO: Processing buffer {"connection_id":191061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:15:36] local.INFO: Packet analysis {"connection_id":191061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d000"} 
[2026-09-24 02:15:36] local.INFO: Extracted packet for processing {"connection_id":191061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d000"} 
[2026-09-24 02:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290126336001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790196107000,"timestamp_ms":1790196107000,"timestamp_seconds":1790196107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d000c6f8"} 
[2026-09-24 02:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290126336001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290126336001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:15:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290126336001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":191061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:15:36] local.INFO: GPS data processed {"connection_id":191061,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:15:36] local.INFO: Acknowledgment sent {"connection_id":191061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:16:08] local.INFO: TCP Data received {"connection_id":191061,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:16:08] local.INFO: Processing buffer {"connection_id":191061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:16:08] local.INFO: Packet analysis {"connection_id":191061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d000"} 
[2026-09-24 02:16:08] local.INFO: Extracted packet for processing {"connection_id":191061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d000"} 
[2026-09-24 02:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290126336001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790196107000,"timestamp_ms":1790196107000,"timestamp_seconds":1790196107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d000c6f8"} 
[2026-09-24 02:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:16:08] 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-09-24 02: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-09-24 02:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290126336001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290126336001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:16:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290126336001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":191061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:16:08] local.INFO: GPS data processed {"connection_id":191061,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:16:08] local.INFO: Acknowledgment sent {"connection_id":191061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:16:30] local.INFO: TCP Data received {"connection_id":190860,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:16:30] local.INFO: Processing buffer {"connection_id":190860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:16:30] local.INFO: IMEI packet received {"connection_id":190860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":190860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:16:35] local.INFO: TCP Data received {"connection_id":190860,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:16:35] local.INFO: Processing buffer {"connection_id":190860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:16:35] local.INFO: IMEI packet received {"connection_id":190860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":190860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:16:36] local.INFO: TCP Data received {"connection_id":190860,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:16:36] local.INFO: Processing buffer {"connection_id":190860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:16:36] local.INFO: Packet analysis {"connection_id":190860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d000"} 
[2026-09-24 02:16:36] local.INFO: Extracted packet for processing {"connection_id":190860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d000"} 
[2026-09-24 02:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290126336001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790196107000,"timestamp_ms":1790196107000,"timestamp_seconds":1790196107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d000c6f8"} 
[2026-09-24 02:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290126336001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290126336001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:16:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:16:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290126336001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":190860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":887999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:16:36] local.INFO: GPS data processed {"connection_id":190860,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:16:36] local.INFO: Acknowledgment sent {"connection_id":190860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:17:09] local.INFO: TCP Data received {"connection_id":190860,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:17:09] local.INFO: Processing buffer {"connection_id":190860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d000c6f8012d34c58006aa4758000a010527..."} 
[2026-09-24 02:17:09] local.INFO: Packet analysis {"connection_id":190860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d000"} 
[2026-09-24 02:17:09] local.INFO: Extracted packet for processing {"connection_id":190860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d000"} 
[2026-09-24 02:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290126336001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790196107000,"timestamp_ms":1790196107000,"timestamp_seconds":1790196107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d000c6f8"} 
[2026-09-24 02:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:17: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-09-24 02: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-09-24 02:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290126336001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290126336001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:17:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:17:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290126336001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":190860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:17:09] local.INFO: GPS data processed {"connection_id":190860,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:17:09] local.INFO: Acknowledgment sent {"connection_id":190860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:17:29] local.INFO: TCP Data received {"connection_id":193745,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:17:29] local.INFO: Processing buffer {"connection_id":193745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:17:29] local.INFO: IMEI packet received {"connection_id":193745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":193745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:17:35] local.INFO: TCP Data received {"connection_id":193745,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:17:35] local.INFO: Processing buffer {"connection_id":193745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:17:35] local.INFO: IMEI packet received {"connection_id":193745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":193745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:17:36] local.INFO: TCP Data received {"connection_id":193745,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:17:36] local.INFO: Processing buffer {"connection_id":193745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:17:36] local.INFO: Packet analysis {"connection_id":193745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d005"} 
[2026-09-24 02:17:36] local.INFO: Extracted packet for processing {"connection_id":193745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d005"} 
[2026-09-24 02:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290203392001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790196408000,"timestamp_ms":1790196408000,"timestamp_seconds":1790196408,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0055ec0"} 
[2026-09-24 02:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290203392001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290203392001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:17:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290203392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":193745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:17:36] local.INFO: GPS data processed {"connection_id":193745,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:17:36] local.INFO: Acknowledgment sent {"connection_id":193745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:18:07] local.INFO: TCP Data received {"connection_id":193745,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:18:07] local.INFO: Processing buffer {"connection_id":193745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:18:07] local.INFO: Packet analysis {"connection_id":193745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d005"} 
[2026-09-24 02:18:07] local.INFO: Extracted packet for processing {"connection_id":193745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d005"} 
[2026-09-24 02:18:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290203392001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790196408000,"timestamp_ms":1790196408000,"timestamp_seconds":1790196408,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0055ec0"} 
[2026-09-24 02:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290203392001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290203392001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:18:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:18:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290203392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":193745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:18:07] local.INFO: GPS data processed {"connection_id":193745,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:18:07] local.INFO: Acknowledgment sent {"connection_id":193745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:18:29] local.INFO: TCP Data received {"connection_id":193746,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:18:29] local.INFO: Processing buffer {"connection_id":193746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:18:29] local.INFO: IMEI packet received {"connection_id":193746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":193746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:18:35] local.INFO: TCP Data received {"connection_id":193746,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:18:35] local.INFO: Processing buffer {"connection_id":193746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:18:35] local.INFO: IMEI packet received {"connection_id":193746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":193746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:18:36] local.INFO: TCP Data received {"connection_id":193746,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:18:36] local.INFO: Processing buffer {"connection_id":193746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:18:36] local.INFO: Packet analysis {"connection_id":193746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d005"} 
[2026-09-24 02:18:36] local.INFO: Extracted packet for processing {"connection_id":193746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d005"} 
[2026-09-24 02:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290203392001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790196408000,"timestamp_ms":1790196408000,"timestamp_seconds":1790196408,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0055ec0"} 
[2026-09-24 02:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290203392001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290203392001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:18:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:18:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290203392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":193746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:18:36] local.INFO: GPS data processed {"connection_id":193746,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:18:36] local.INFO: Acknowledgment sent {"connection_id":193746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:19:07] local.INFO: TCP Data received {"connection_id":193746,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:19:07] local.INFO: Processing buffer {"connection_id":193746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:19:07] local.INFO: Packet analysis {"connection_id":193746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d005"} 
[2026-09-24 02:19:07] local.INFO: Extracted packet for processing {"connection_id":193746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d005"} 
[2026-09-24 02:19:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290203392001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790196408000,"timestamp_ms":1790196408000,"timestamp_seconds":1790196408,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0055ec0"} 
[2026-09-24 02:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290203392001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290203392001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:19:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:19:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290203392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":193746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:19:07] local.INFO: GPS data processed {"connection_id":193746,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:19:07] local.INFO: Acknowledgment sent {"connection_id":193746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:19:35] local.INFO: TCP Data received {"connection_id":193747,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:19:35] local.INFO: Processing buffer {"connection_id":193747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:19:35] local.INFO: IMEI packet received {"connection_id":193747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":193747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:19:40] local.INFO: TCP Data received {"connection_id":193747,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:19:40] local.INFO: Processing buffer {"connection_id":193747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:19:40] local.INFO: IMEI packet received {"connection_id":193747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":193747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:19:41] local.INFO: TCP Data received {"connection_id":193747,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:19:41] local.INFO: Processing buffer {"connection_id":193747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:19:41] local.INFO: Packet analysis {"connection_id":193747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d005"} 
[2026-09-24 02:19:41] local.INFO: Extracted packet for processing {"connection_id":193747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d005"} 
[2026-09-24 02:19:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290203392001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790196408000,"timestamp_ms":1790196408000,"timestamp_seconds":1790196408,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0055ec0"} 
[2026-09-24 02:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290203392001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290203392001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:19:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:19:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290203392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":193747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:19:41] local.INFO: GPS data processed {"connection_id":193747,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:19:41] local.INFO: Acknowledgment sent {"connection_id":193747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:19:45] local.INFO: TCP Data received {"connection_id":193747,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:19:45] local.INFO: Processing buffer {"connection_id":193747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:19:45] local.INFO: Packet analysis {"connection_id":193747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d005"} 
[2026-09-24 02:19:45] local.INFO: Extracted packet for processing {"connection_id":193747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d005"} 
[2026-09-24 02:19:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290203392001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790196408000,"timestamp_ms":1790196408000,"timestamp_seconds":1790196408,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0055ec0"} 
[2026-09-24 02:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:19:45] 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-09-24 02:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290203392001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290203392001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:19:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:19:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290203392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":193747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:19:45] local.INFO: GPS data processed {"connection_id":193747,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:19:45] local.INFO: Acknowledgment sent {"connection_id":193747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:20:30] local.INFO: TCP Data received {"connection_id":192394,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:20:30] local.INFO: Processing buffer {"connection_id":192394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:20:30] local.INFO: IMEI packet received {"connection_id":192394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":192394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:20:35] local.INFO: TCP Data received {"connection_id":192394,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:20:35] local.INFO: Processing buffer {"connection_id":192394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:20:35] local.INFO: IMEI packet received {"connection_id":192394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":192394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:20:36] local.INFO: TCP Data received {"connection_id":192394,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:20:36] local.INFO: Processing buffer {"connection_id":192394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:20:36] local.INFO: Packet analysis {"connection_id":192394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d005"} 
[2026-09-24 02:20:36] local.INFO: Extracted packet for processing {"connection_id":192394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d005"} 
[2026-09-24 02:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290203392001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790196408000,"timestamp_ms":1790196408000,"timestamp_seconds":1790196408,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0055ec0"} 
[2026-09-24 02:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290203392001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290203392001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:20:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:20:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290203392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":192394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:20:36] local.INFO: GPS data processed {"connection_id":192394,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:20:36] local.INFO: Acknowledgment sent {"connection_id":192394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:21:07] local.INFO: TCP Data received {"connection_id":192394,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:21:07] local.INFO: Processing buffer {"connection_id":192394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:21:07] local.INFO: Packet analysis {"connection_id":192394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d005"} 
[2026-09-24 02:21:07] local.INFO: Extracted packet for processing {"connection_id":192394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d005"} 
[2026-09-24 02:21:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290203392001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790196408000,"timestamp_ms":1790196408000,"timestamp_seconds":1790196408,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0055ec0"} 
[2026-09-24 02:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290203392001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290203392001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:21:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:21:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290203392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":192394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:21:07] local.INFO: GPS data processed {"connection_id":192394,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:21:07] local.INFO: Acknowledgment sent {"connection_id":192394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:21:30] local.INFO: TCP Data received {"connection_id":190861,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:21:30] local.INFO: Processing buffer {"connection_id":190861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:21:30] local.INFO: IMEI packet received {"connection_id":190861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":190861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:21:35] local.INFO: TCP Data received {"connection_id":190861,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:21:35] local.INFO: Processing buffer {"connection_id":190861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:21:35] local.INFO: IMEI packet received {"connection_id":190861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":190861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:21:36] local.INFO: TCP Data received {"connection_id":190861,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:21:36] local.INFO: Processing buffer {"connection_id":190861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:21:36] local.INFO: Packet analysis {"connection_id":190861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d005"} 
[2026-09-24 02:21:36] local.INFO: Extracted packet for processing {"connection_id":190861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d005"} 
[2026-09-24 02:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290203392001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790196408000,"timestamp_ms":1790196408000,"timestamp_seconds":1790196408,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0055ec0"} 
[2026-09-24 02:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290203392001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290203392001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:21:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:21:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290203392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":190861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:21:36] local.INFO: GPS data processed {"connection_id":190861,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:21:36] local.INFO: Acknowledgment sent {"connection_id":190861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:22:07] local.INFO: TCP Data received {"connection_id":190861,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:22:07] local.INFO: Processing buffer {"connection_id":190861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0055ec0012d34c58006aa4758000a010523..."} 
[2026-09-24 02:22:07] local.INFO: Packet analysis {"connection_id":190861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d005"} 
[2026-09-24 02:22:07] local.INFO: Extracted packet for processing {"connection_id":190861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d005"} 
[2026-09-24 02:22:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290203392001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790196408000,"timestamp_ms":1790196408000,"timestamp_seconds":1790196408,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0055ec0"} 
[2026-09-24 02:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290203392001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290203392001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:22:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:22:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290203392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":190861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:22:07] local.INFO: GPS data processed {"connection_id":190861,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:22:07] local.INFO: Acknowledgment sent {"connection_id":190861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:22:30] local.INFO: TCP Data received {"connection_id":191062,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:22:30] local.INFO: Processing buffer {"connection_id":191062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:22:30] local.INFO: IMEI packet received {"connection_id":191062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":191062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:22:35] local.INFO: TCP Data received {"connection_id":191062,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:22:35] local.INFO: Processing buffer {"connection_id":191062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:22:35] local.INFO: IMEI packet received {"connection_id":191062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":191062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:22:36] local.INFO: TCP Data received {"connection_id":191062,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:22:36] local.INFO: Processing buffer {"connection_id":191062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:22:36] local.INFO: Packet analysis {"connection_id":191062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d009"} 
[2026-09-24 02:22:36] local.INFO: Extracted packet for processing {"connection_id":191062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d009"} 
[2026-09-24 02:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290280448001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790196709000,"timestamp_ms":1790196709000,"timestamp_seconds":1790196709,"priority":1,"record_length":96,"hex_timestamp":"000001a0d009f688"} 
[2026-09-24 02:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 02:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290280448001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290280448001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:22:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:22:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290280448001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":191062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:22:36] local.INFO: GPS data processed {"connection_id":191062,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:22:36] local.INFO: Acknowledgment sent {"connection_id":191062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:23:07] local.INFO: TCP Data received {"connection_id":191062,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:23:07] local.INFO: Processing buffer {"connection_id":191062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:23:07] local.INFO: Packet analysis {"connection_id":191062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d009"} 
[2026-09-24 02:23:07] local.INFO: Extracted packet for processing {"connection_id":191062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d009"} 
[2026-09-24 02:23:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290280448001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790196709000,"timestamp_ms":1790196709000,"timestamp_seconds":1790196709,"priority":1,"record_length":96,"hex_timestamp":"000001a0d009f688"} 
[2026-09-24 02:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 02:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290280448001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290280448001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:23:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:23:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290280448001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":191062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:23:07] local.INFO: GPS data processed {"connection_id":191062,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:23:07] local.INFO: Acknowledgment sent {"connection_id":191062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:23:35] local.INFO: TCP Data received {"connection_id":193748,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:23:35] local.INFO: Processing buffer {"connection_id":193748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:23:35] local.INFO: IMEI packet received {"connection_id":193748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":193748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:23:40] local.INFO: TCP Data received {"connection_id":193748,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:23:40] local.INFO: Processing buffer {"connection_id":193748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:23:40] local.INFO: IMEI packet received {"connection_id":193748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":193748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:23:41] local.INFO: TCP Data received {"connection_id":193748,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:23:41] local.INFO: Processing buffer {"connection_id":193748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:23:41] local.INFO: Packet analysis {"connection_id":193748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d009"} 
[2026-09-24 02:23:41] local.INFO: Extracted packet for processing {"connection_id":193748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d009"} 
[2026-09-24 02:23:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290280448001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790196709000,"timestamp_ms":1790196709000,"timestamp_seconds":1790196709,"priority":1,"record_length":96,"hex_timestamp":"000001a0d009f688"} 
[2026-09-24 02:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 02:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290280448001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290280448001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:23:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:23:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290280448001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":193748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:23:41] local.INFO: GPS data processed {"connection_id":193748,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:23:41] local.INFO: Acknowledgment sent {"connection_id":193748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:23:46] local.INFO: TCP Data received {"connection_id":193748,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:23:46] local.INFO: Processing buffer {"connection_id":193748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:23:46] local.INFO: Packet analysis {"connection_id":193748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d009"} 
[2026-09-24 02:23:46] local.INFO: Extracted packet for processing {"connection_id":193748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d009"} 
[2026-09-24 02:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290280448001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790196709000,"timestamp_ms":1790196709000,"timestamp_seconds":1790196709,"priority":1,"record_length":96,"hex_timestamp":"000001a0d009f688"} 
[2026-09-24 02:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 02:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290280448001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290280448001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:23:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290280448001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":193748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:23:46] local.INFO: GPS data processed {"connection_id":193748,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:23:46] local.INFO: Acknowledgment sent {"connection_id":193748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:24:30] local.INFO: TCP Data received {"connection_id":192395,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:24:30] local.INFO: Processing buffer {"connection_id":192395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:24:30] local.INFO: IMEI packet received {"connection_id":192395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":192395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:24:35] local.INFO: TCP Data received {"connection_id":192395,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:24:35] local.INFO: Processing buffer {"connection_id":192395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:24:35] local.INFO: IMEI packet received {"connection_id":192395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":192395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:24:36] local.INFO: TCP Data received {"connection_id":192395,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:24:36] local.INFO: Processing buffer {"connection_id":192395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:24:36] local.INFO: Packet analysis {"connection_id":192395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d009"} 
[2026-09-24 02:24:36] local.INFO: Extracted packet for processing {"connection_id":192395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d009"} 
[2026-09-24 02:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290280448001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790196709000,"timestamp_ms":1790196709000,"timestamp_seconds":1790196709,"priority":1,"record_length":96,"hex_timestamp":"000001a0d009f688"} 
[2026-09-24 02:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 02:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290280448001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290280448001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:24:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:24:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290280448001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":192395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:24:36] local.INFO: GPS data processed {"connection_id":192395,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:24:36] local.INFO: Acknowledgment sent {"connection_id":192395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:25:07] local.INFO: TCP Data received {"connection_id":192395,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:25:07] local.INFO: Processing buffer {"connection_id":192395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:25:07] local.INFO: Packet analysis {"connection_id":192395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d009"} 
[2026-09-24 02:25:07] local.INFO: Extracted packet for processing {"connection_id":192395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d009"} 
[2026-09-24 02:25:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290280448001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790196709000,"timestamp_ms":1790196709000,"timestamp_seconds":1790196709,"priority":1,"record_length":96,"hex_timestamp":"000001a0d009f688"} 
[2026-09-24 02:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 02:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290280448001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290280448001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:25:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:25:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290280448001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":192395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:25:07] local.INFO: GPS data processed {"connection_id":192395,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:25:07] local.INFO: Acknowledgment sent {"connection_id":192395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:25:30] local.INFO: TCP Data received {"connection_id":191063,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:25:30] local.INFO: Processing buffer {"connection_id":191063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:25:30] local.INFO: IMEI packet received {"connection_id":191063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":191063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:25:35] local.INFO: TCP Data received {"connection_id":191063,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:25:35] local.INFO: Processing buffer {"connection_id":191063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:25:35] local.INFO: IMEI packet received {"connection_id":191063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":191063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:25:37] local.INFO: TCP Data received {"connection_id":191063,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:25:37] local.INFO: Processing buffer {"connection_id":191063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:25:37] local.INFO: Packet analysis {"connection_id":191063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d009"} 
[2026-09-24 02:25:37] local.INFO: Extracted packet for processing {"connection_id":191063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d009"} 
[2026-09-24 02:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290280448001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790196709000,"timestamp_ms":1790196709000,"timestamp_seconds":1790196709,"priority":1,"record_length":96,"hex_timestamp":"000001a0d009f688"} 
[2026-09-24 02:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 02:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290280448001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290280448001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:25:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290280448001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":191063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:25:37] local.INFO: GPS data processed {"connection_id":191063,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:25:37] local.INFO: Acknowledgment sent {"connection_id":191063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:26:08] local.INFO: TCP Data received {"connection_id":191063,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:26:08] local.INFO: Processing buffer {"connection_id":191063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:26:08] local.INFO: Packet analysis {"connection_id":191063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d009"} 
[2026-09-24 02:26:08] local.INFO: Extracted packet for processing {"connection_id":191063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d009"} 
[2026-09-24 02:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290280448001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790196709000,"timestamp_ms":1790196709000,"timestamp_seconds":1790196709,"priority":1,"record_length":96,"hex_timestamp":"000001a0d009f688"} 
[2026-09-24 02:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 02:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290280448001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290280448001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:26:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290280448001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":191063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:26:08] local.INFO: GPS data processed {"connection_id":191063,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:26:08] local.INFO: Acknowledgment sent {"connection_id":191063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:26:30] local.INFO: TCP Data received {"connection_id":192396,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:26:30] local.INFO: Processing buffer {"connection_id":192396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:26:30] local.INFO: IMEI packet received {"connection_id":192396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":192396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:26:35] local.INFO: TCP Data received {"connection_id":192396,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:26:35] local.INFO: Processing buffer {"connection_id":192396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:26:35] local.INFO: IMEI packet received {"connection_id":192396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":192396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:26:36] local.INFO: TCP Data received {"connection_id":192396,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:26:36] local.INFO: Processing buffer {"connection_id":192396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:26:36] local.INFO: Packet analysis {"connection_id":192396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d009"} 
[2026-09-24 02:26:36] local.INFO: Extracted packet for processing {"connection_id":192396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d009"} 
[2026-09-24 02:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290280448001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790196709000,"timestamp_ms":1790196709000,"timestamp_seconds":1790196709,"priority":1,"record_length":96,"hex_timestamp":"000001a0d009f688"} 
[2026-09-24 02:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 02:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290280448001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290280448001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:26:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:26:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290280448001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":192396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:26:36] local.INFO: GPS data processed {"connection_id":192396,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:26:36] local.INFO: Acknowledgment sent {"connection_id":192396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:27:09] local.INFO: TCP Data received {"connection_id":192396,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:27:09] local.INFO: Processing buffer {"connection_id":192396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d009f688012d34c58006aa4758000b010524..."} 
[2026-09-24 02:27:09] local.INFO: Packet analysis {"connection_id":192396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d009"} 
[2026-09-24 02:27:09] local.INFO: Extracted packet for processing {"connection_id":192396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d009"} 
[2026-09-24 02:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290280448001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790196709000,"timestamp_ms":1790196709000,"timestamp_seconds":1790196709,"priority":1,"record_length":96,"hex_timestamp":"000001a0d009f688"} 
[2026-09-24 02:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 02:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290280448001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290280448001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:27:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:27:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290280448001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":192396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:27:09] local.INFO: GPS data processed {"connection_id":192396,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:27:09] local.INFO: Acknowledgment sent {"connection_id":192396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:27:29] local.INFO: TCP Data received {"connection_id":193749,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:27:29] local.INFO: Processing buffer {"connection_id":193749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:27:29] local.INFO: IMEI packet received {"connection_id":193749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":193749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:27:35] local.INFO: TCP Data received {"connection_id":193749,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:27:35] local.INFO: Processing buffer {"connection_id":193749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:27:35] local.INFO: IMEI packet received {"connection_id":193749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":193749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:27:36] local.INFO: TCP Data received {"connection_id":193749,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:27:36] local.INFO: Processing buffer {"connection_id":193749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:27:36] local.INFO: Packet analysis {"connection_id":193749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d00e"} 
[2026-09-24 02:27:36] local.INFO: Extracted packet for processing {"connection_id":193749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d00e"} 
[2026-09-24 02:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290357504001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790197010000,"timestamp_ms":1790197010000,"timestamp_seconds":1790197010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d00e8e50"} 
[2026-09-24 02:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 02:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290357504001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290357504001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:27:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:27:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290357504001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":193749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:27:36] local.INFO: GPS data processed {"connection_id":193749,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:27:36] local.INFO: Acknowledgment sent {"connection_id":193749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:28:07] local.INFO: TCP Data received {"connection_id":193749,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:28:07] local.INFO: Processing buffer {"connection_id":193749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:28:07] local.INFO: Packet analysis {"connection_id":193749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d00e"} 
[2026-09-24 02:28:07] local.INFO: Extracted packet for processing {"connection_id":193749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d00e"} 
[2026-09-24 02:28:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290357504001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790197010000,"timestamp_ms":1790197010000,"timestamp_seconds":1790197010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d00e8e50"} 
[2026-09-24 02:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 02:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290357504001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290357504001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:28:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:28:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290357504001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":193749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:28:07] local.INFO: GPS data processed {"connection_id":193749,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:28:07] local.INFO: Acknowledgment sent {"connection_id":193749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:28:35] local.INFO: TCP Data received {"connection_id":192397,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:28:35] local.INFO: Processing buffer {"connection_id":192397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:28:35] local.INFO: IMEI packet received {"connection_id":192397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":192397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:28:40] local.INFO: TCP Data received {"connection_id":192397,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:28:40] local.INFO: Processing buffer {"connection_id":192397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:28:40] local.INFO: IMEI packet received {"connection_id":192397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":192397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:28:41] local.INFO: TCP Data received {"connection_id":192397,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:28:41] local.INFO: Processing buffer {"connection_id":192397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:28:41] local.INFO: Packet analysis {"connection_id":192397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d00e"} 
[2026-09-24 02:28:41] local.INFO: Extracted packet for processing {"connection_id":192397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d00e"} 
[2026-09-24 02:28:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290357504001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790197010000,"timestamp_ms":1790197010000,"timestamp_seconds":1790197010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d00e8e50"} 
[2026-09-24 02:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 02:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290357504001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290357504001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:28:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:28:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290357504001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":192397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:28:41] local.INFO: GPS data processed {"connection_id":192397,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:28:41] local.INFO: Acknowledgment sent {"connection_id":192397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:28:45] local.INFO: TCP Data received {"connection_id":192397,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:28:45] local.INFO: Processing buffer {"connection_id":192397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:28:45] local.INFO: Packet analysis {"connection_id":192397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d00e"} 
[2026-09-24 02:28:45] local.INFO: Extracted packet for processing {"connection_id":192397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d00e"} 
[2026-09-24 02:28:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290357504001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790197010000,"timestamp_ms":1790197010000,"timestamp_seconds":1790197010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d00e8e50"} 
[2026-09-24 02:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 02:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290357504001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290357504001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:28:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:28:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290357504001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":192397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:28:45] local.INFO: GPS data processed {"connection_id":192397,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:28:45] local.INFO: Acknowledgment sent {"connection_id":192397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:29:30] local.INFO: TCP Data received {"connection_id":193750,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:29:30] local.INFO: Processing buffer {"connection_id":193750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:29:30] local.INFO: IMEI packet received {"connection_id":193750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":193750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:29:35] local.INFO: TCP Data received {"connection_id":193750,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:29:35] local.INFO: Processing buffer {"connection_id":193750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:29:35] local.INFO: IMEI packet received {"connection_id":193750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":193750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:29:36] local.INFO: TCP Data received {"connection_id":193750,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:29:36] local.INFO: Processing buffer {"connection_id":193750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:29:36] local.INFO: Packet analysis {"connection_id":193750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d00e"} 
[2026-09-24 02:29:36] local.INFO: Extracted packet for processing {"connection_id":193750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d00e"} 
[2026-09-24 02:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290357504001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790197010000,"timestamp_ms":1790197010000,"timestamp_seconds":1790197010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d00e8e50"} 
[2026-09-24 02:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 02:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290357504001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290357504001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:29:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:29:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290357504001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":193750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:29:36] local.INFO: GPS data processed {"connection_id":193750,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:29:36] local.INFO: Acknowledgment sent {"connection_id":193750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:30:07] local.INFO: TCP Data received {"connection_id":193750,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:30:07] local.INFO: Processing buffer {"connection_id":193750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:30:07] local.INFO: Packet analysis {"connection_id":193750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d00e"} 
[2026-09-24 02:30:07] local.INFO: Extracted packet for processing {"connection_id":193750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d00e"} 
[2026-09-24 02:30:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290357504001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790197010000,"timestamp_ms":1790197010000,"timestamp_seconds":1790197010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d00e8e50"} 
[2026-09-24 02:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 02:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290357504001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290357504001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:30:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:30:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290357504001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":193750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:30:07] local.INFO: GPS data processed {"connection_id":193750,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:30:07] local.INFO: Acknowledgment sent {"connection_id":193750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:30:30] local.INFO: TCP Data received {"connection_id":190862,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:30:30] local.INFO: Processing buffer {"connection_id":190862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:30:30] local.INFO: IMEI packet received {"connection_id":190862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":190862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:30:35] local.INFO: TCP Data received {"connection_id":190862,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:30:35] local.INFO: Processing buffer {"connection_id":190862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:30:35] local.INFO: IMEI packet received {"connection_id":190862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":190862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:30:36] local.INFO: TCP Data received {"connection_id":190862,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:30:36] local.INFO: Processing buffer {"connection_id":190862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:30:36] local.INFO: Packet analysis {"connection_id":190862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d00e"} 
[2026-09-24 02:30:36] local.INFO: Extracted packet for processing {"connection_id":190862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d00e"} 
[2026-09-24 02:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290357504001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790197010000,"timestamp_ms":1790197010000,"timestamp_seconds":1790197010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d00e8e50"} 
[2026-09-24 02:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 02:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290357504001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290357504001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:30:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:30:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290357504001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":190862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:30:36] local.INFO: GPS data processed {"connection_id":190862,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:30:36] local.INFO: Acknowledgment sent {"connection_id":190862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:31:07] local.INFO: TCP Data received {"connection_id":190862,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:31:07] local.INFO: Processing buffer {"connection_id":190862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:31:07] local.INFO: Packet analysis {"connection_id":190862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d00e"} 
[2026-09-24 02:31:07] local.INFO: Extracted packet for processing {"connection_id":190862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d00e"} 
[2026-09-24 02:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290357504001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790197010000,"timestamp_ms":1790197010000,"timestamp_seconds":1790197010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d00e8e50"} 
[2026-09-24 02:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 02:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290357504001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290357504001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:31:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:31:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290357504001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":190862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:31:07] local.INFO: GPS data processed {"connection_id":190862,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:31:07] local.INFO: Acknowledgment sent {"connection_id":190862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:31:30] local.INFO: TCP Data received {"connection_id":192398,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:31:30] local.INFO: Processing buffer {"connection_id":192398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:31:30] local.INFO: IMEI packet received {"connection_id":192398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":192398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:31:35] local.INFO: TCP Data received {"connection_id":192398,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:31:35] local.INFO: Processing buffer {"connection_id":192398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:31:35] local.INFO: IMEI packet received {"connection_id":192398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":192398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:31:36] local.INFO: TCP Data received {"connection_id":192398,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:31:36] local.INFO: Processing buffer {"connection_id":192398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:31:36] local.INFO: Packet analysis {"connection_id":192398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d00e"} 
[2026-09-24 02:31:36] local.INFO: Extracted packet for processing {"connection_id":192398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d00e"} 
[2026-09-24 02:31:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290357504001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790197010000,"timestamp_ms":1790197010000,"timestamp_seconds":1790197010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d00e8e50"} 
[2026-09-24 02:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 02:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290357504001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290357504001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:31:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:31:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290357504001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":192398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:31:36] local.INFO: GPS data processed {"connection_id":192398,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:31:36] local.INFO: Acknowledgment sent {"connection_id":192398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:32:07] local.INFO: TCP Data received {"connection_id":192398,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:32:07] local.INFO: Processing buffer {"connection_id":192398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d00e8e50012d34c58006aa4758000b010528..."} 
[2026-09-24 02:32:07] local.INFO: Packet analysis {"connection_id":192398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d00e"} 
[2026-09-24 02:32:07] local.INFO: Extracted packet for processing {"connection_id":192398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d00e"} 
[2026-09-24 02:32:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290357504001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790197010000,"timestamp_ms":1790197010000,"timestamp_seconds":1790197010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d00e8e50"} 
[2026-09-24 02:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 02:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290357504001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290357504001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:32:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:32:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290357504001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":192398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:32:07] local.INFO: GPS data processed {"connection_id":192398,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:32:07] local.INFO: Acknowledgment sent {"connection_id":192398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:32:28] local.INFO: TCP Data received {"connection_id":193751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:32:28] local.INFO: Processing buffer {"connection_id":193751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:32:28] local.INFO: IMEI packet received {"connection_id":193751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":193751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:32:29] local.INFO: TCP Data received {"connection_id":193751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:32:29] local.INFO: Processing buffer {"connection_id":193751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:32:29] local.INFO: IMEI packet received {"connection_id":193751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":193751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:32:35] local.INFO: TCP Data received {"connection_id":193751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:32:35] local.INFO: Processing buffer {"connection_id":193751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:32:35] local.INFO: IMEI packet received {"connection_id":193751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":193751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:32:36] local.INFO: TCP Data received {"connection_id":193751,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:32:36] local.INFO: Processing buffer {"connection_id":193751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:32:36] local.INFO: Packet analysis {"connection_id":193751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d013"} 
[2026-09-24 02:32:36] local.INFO: Extracted packet for processing {"connection_id":193751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d013"} 
[2026-09-24 02:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290434560001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790197311000,"timestamp_ms":1790197311000,"timestamp_seconds":1790197311,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0132618"} 
[2026-09-24 02:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290434560001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290434560001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:32:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:32:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290434560001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":193751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:32:36] local.INFO: GPS data processed {"connection_id":193751,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:32:36] local.INFO: Acknowledgment sent {"connection_id":193751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:33:07] local.INFO: TCP Data received {"connection_id":193751,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:33:07] local.INFO: Processing buffer {"connection_id":193751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:33:07] local.INFO: Packet analysis {"connection_id":193751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d013"} 
[2026-09-24 02:33:07] local.INFO: Extracted packet for processing {"connection_id":193751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d013"} 
[2026-09-24 02:33:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290434560001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790197311000,"timestamp_ms":1790197311000,"timestamp_seconds":1790197311,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0132618"} 
[2026-09-24 02:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290434560001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290434560001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:33:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:33:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290434560001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":193751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:33:07] local.INFO: GPS data processed {"connection_id":193751,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:33:07] local.INFO: Acknowledgment sent {"connection_id":193751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:33:30] local.INFO: TCP Data received {"connection_id":192399,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:33:30] local.INFO: Processing buffer {"connection_id":192399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:33:30] local.INFO: IMEI packet received {"connection_id":192399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":192399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:33:35] local.INFO: TCP Data received {"connection_id":192399,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:33:35] local.INFO: Processing buffer {"connection_id":192399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:33:35] local.INFO: IMEI packet received {"connection_id":192399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":192399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:33:36] local.INFO: TCP Data received {"connection_id":192399,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:33:36] local.INFO: Processing buffer {"connection_id":192399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:33:36] local.INFO: Packet analysis {"connection_id":192399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d013"} 
[2026-09-24 02:33:36] local.INFO: Extracted packet for processing {"connection_id":192399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d013"} 
[2026-09-24 02:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290434560001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790197311000,"timestamp_ms":1790197311000,"timestamp_seconds":1790197311,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0132618"} 
[2026-09-24 02:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290434560001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290434560001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:33:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:33:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290434560001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":192399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:33:36] local.INFO: GPS data processed {"connection_id":192399,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:33:36] local.INFO: Acknowledgment sent {"connection_id":192399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:34:07] local.INFO: TCP Data received {"connection_id":192399,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:34:07] local.INFO: Processing buffer {"connection_id":192399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:34:07] local.INFO: Packet analysis {"connection_id":192399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d013"} 
[2026-09-24 02:34:07] local.INFO: Extracted packet for processing {"connection_id":192399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d013"} 
[2026-09-24 02:34:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290434560001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790197311000,"timestamp_ms":1790197311000,"timestamp_seconds":1790197311,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0132618"} 
[2026-09-24 02:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290434560001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290434560001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:34:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:34:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290434560001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":192399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:34:07] local.INFO: GPS data processed {"connection_id":192399,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:34:07] local.INFO: Acknowledgment sent {"connection_id":192399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:34:30] local.INFO: TCP Data received {"connection_id":190863,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:34:30] local.INFO: Processing buffer {"connection_id":190863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:34:30] local.INFO: IMEI packet received {"connection_id":190863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":190863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:34:35] local.INFO: TCP Data received {"connection_id":190863,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:34:35] local.INFO: Processing buffer {"connection_id":190863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:34:35] local.INFO: IMEI packet received {"connection_id":190863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":190863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:34:36] local.INFO: TCP Data received {"connection_id":190863,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:34:36] local.INFO: Processing buffer {"connection_id":190863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:34:36] local.INFO: Packet analysis {"connection_id":190863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d013"} 
[2026-09-24 02:34:36] local.INFO: Extracted packet for processing {"connection_id":190863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d013"} 
[2026-09-24 02:34:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290434560001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790197311000,"timestamp_ms":1790197311000,"timestamp_seconds":1790197311,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0132618"} 
[2026-09-24 02:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290434560001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290434560001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:34:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:34:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290434560001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":190863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:34:36] local.INFO: GPS data processed {"connection_id":190863,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:34:36] local.INFO: Acknowledgment sent {"connection_id":190863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:35:07] local.INFO: TCP Data received {"connection_id":190863,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:35:07] local.INFO: Processing buffer {"connection_id":190863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:35:07] local.INFO: Packet analysis {"connection_id":190863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d013"} 
[2026-09-24 02:35:07] local.INFO: Extracted packet for processing {"connection_id":190863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d013"} 
[2026-09-24 02:35:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290434560001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790197311000,"timestamp_ms":1790197311000,"timestamp_seconds":1790197311,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0132618"} 
[2026-09-24 02:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290434560001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290434560001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:35:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:35:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290434560001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":190863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:35:07] local.INFO: GPS data processed {"connection_id":190863,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:35:07] local.INFO: Acknowledgment sent {"connection_id":190863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:35:30] local.INFO: TCP Data received {"connection_id":190864,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:35:30] local.INFO: Processing buffer {"connection_id":190864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:35:30] local.INFO: IMEI packet received {"connection_id":190864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":190864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:35:35] local.INFO: TCP Data received {"connection_id":190864,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:35:35] local.INFO: Processing buffer {"connection_id":190864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:35:35] local.INFO: IMEI packet received {"connection_id":190864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":190864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:35:36] local.INFO: TCP Data received {"connection_id":190864,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:35:36] local.INFO: Processing buffer {"connection_id":190864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:35:36] local.INFO: Packet analysis {"connection_id":190864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d013"} 
[2026-09-24 02:35:36] local.INFO: Extracted packet for processing {"connection_id":190864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d013"} 
[2026-09-24 02:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290434560001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790197311000,"timestamp_ms":1790197311000,"timestamp_seconds":1790197311,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0132618"} 
[2026-09-24 02:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290434560001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290434560001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:35:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290434560001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":190864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:35:36] local.INFO: GPS data processed {"connection_id":190864,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:35:36] local.INFO: Acknowledgment sent {"connection_id":190864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:36:07] local.INFO: TCP Data received {"connection_id":190864,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:36:07] local.INFO: Processing buffer {"connection_id":190864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:36:07] local.INFO: Packet analysis {"connection_id":190864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d013"} 
[2026-09-24 02:36:07] local.INFO: Extracted packet for processing {"connection_id":190864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d013"} 
[2026-09-24 02:36:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290434560001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790197311000,"timestamp_ms":1790197311000,"timestamp_seconds":1790197311,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0132618"} 
[2026-09-24 02:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290434560001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290434560001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:36:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:36:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290434560001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":190864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:36:07] local.INFO: GPS data processed {"connection_id":190864,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:36:07] local.INFO: Acknowledgment sent {"connection_id":190864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:36:29] local.INFO: TCP Data received {"connection_id":193752,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:36:29] local.INFO: Processing buffer {"connection_id":193752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:36:29] local.INFO: IMEI packet received {"connection_id":193752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":193752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:36:35] local.INFO: TCP Data received {"connection_id":193752,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:36:35] local.INFO: Processing buffer {"connection_id":193752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:36:35] local.INFO: IMEI packet received {"connection_id":193752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":193752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:36:36] local.INFO: TCP Data received {"connection_id":193752,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:36:36] local.INFO: Processing buffer {"connection_id":193752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:36:36] local.INFO: Packet analysis {"connection_id":193752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d013"} 
[2026-09-24 02:36:36] local.INFO: Extracted packet for processing {"connection_id":193752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d013"} 
[2026-09-24 02:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290434560001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790197311000,"timestamp_ms":1790197311000,"timestamp_seconds":1790197311,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0132618"} 
[2026-09-24 02:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290434560001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290434560001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:36:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:36:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290434560001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":193752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:36:36] local.INFO: GPS data processed {"connection_id":193752,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:36:36] local.INFO: Acknowledgment sent {"connection_id":193752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:37:07] local.INFO: TCP Data received {"connection_id":193752,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:37:07] local.INFO: Processing buffer {"connection_id":193752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0132618012d34c58006aa4758000b010526..."} 
[2026-09-24 02:37:07] local.INFO: Packet analysis {"connection_id":193752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d013"} 
[2026-09-24 02:37:07] local.INFO: Extracted packet for processing {"connection_id":193752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d013"} 
[2026-09-24 02:37:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290434560001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790197311000,"timestamp_ms":1790197311000,"timestamp_seconds":1790197311,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0132618"} 
[2026-09-24 02:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290434560001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290434560001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:37:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:37:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290434560001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":193752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:37:07] local.INFO: GPS data processed {"connection_id":193752,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:37:07] local.INFO: Acknowledgment sent {"connection_id":193752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:37:30] local.INFO: TCP Data received {"connection_id":192400,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:37:30] local.INFO: Processing buffer {"connection_id":192400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:37:30] local.INFO: IMEI packet received {"connection_id":192400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":192400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:37:30] local.INFO: TCP Data received {"connection_id":192400,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:37:30] local.INFO: Processing buffer {"connection_id":192400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:37:30] local.INFO: IMEI packet received {"connection_id":192400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":192400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:37:35] local.INFO: TCP Data received {"connection_id":192400,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:37:35] local.INFO: Processing buffer {"connection_id":192400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:37:35] local.INFO: IMEI packet received {"connection_id":192400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":192400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:37:36] local.INFO: TCP Data received {"connection_id":192400,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:37:36] local.INFO: Processing buffer {"connection_id":192400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:37:36] local.INFO: Packet analysis {"connection_id":192400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d017"} 
[2026-09-24 02:37:36] local.INFO: Extracted packet for processing {"connection_id":192400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d017"} 
[2026-09-24 02:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290511616001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790197612000,"timestamp_ms":1790197612000,"timestamp_seconds":1790197612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d017bde0"} 
[2026-09-24 02:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290511616001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290511616001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:37:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:37:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290511616001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":192400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:37:36] local.INFO: GPS data processed {"connection_id":192400,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:37:36] local.INFO: Acknowledgment sent {"connection_id":192400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:38:07] local.INFO: TCP Data received {"connection_id":192400,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:38:07] local.INFO: Processing buffer {"connection_id":192400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:38:07] local.INFO: Packet analysis {"connection_id":192400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d017"} 
[2026-09-24 02:38:07] local.INFO: Extracted packet for processing {"connection_id":192400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d017"} 
[2026-09-24 02:38:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290511616001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790197612000,"timestamp_ms":1790197612000,"timestamp_seconds":1790197612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d017bde0"} 
[2026-09-24 02:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290511616001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290511616001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:38:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:38:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290511616001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":192400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:38:07] local.INFO: GPS data processed {"connection_id":192400,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:38:07] local.INFO: Acknowledgment sent {"connection_id":192400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:38:30] local.INFO: TCP Data received {"connection_id":190865,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:38:30] local.INFO: Processing buffer {"connection_id":190865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:38:30] local.INFO: IMEI packet received {"connection_id":190865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":190865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:38:35] local.INFO: TCP Data received {"connection_id":190865,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:38:35] local.INFO: Processing buffer {"connection_id":190865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:38:35] local.INFO: IMEI packet received {"connection_id":190865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":190865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:38:36] local.INFO: TCP Data received {"connection_id":190865,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:38:36] local.INFO: Processing buffer {"connection_id":190865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:38:36] local.INFO: Packet analysis {"connection_id":190865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d017"} 
[2026-09-24 02:38:36] local.INFO: Extracted packet for processing {"connection_id":190865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d017"} 
[2026-09-24 02:38:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290511616001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790197612000,"timestamp_ms":1790197612000,"timestamp_seconds":1790197612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d017bde0"} 
[2026-09-24 02:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290511616001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290511616001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:38:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:38:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290511616001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":190865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:38:36] local.INFO: GPS data processed {"connection_id":190865,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:38:36] local.INFO: Acknowledgment sent {"connection_id":190865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:39:07] local.INFO: TCP Data received {"connection_id":190865,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:39:07] local.INFO: Processing buffer {"connection_id":190865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:39:07] local.INFO: Packet analysis {"connection_id":190865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d017"} 
[2026-09-24 02:39:07] local.INFO: Extracted packet for processing {"connection_id":190865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d017"} 
[2026-09-24 02:39:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290511616001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790197612000,"timestamp_ms":1790197612000,"timestamp_seconds":1790197612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d017bde0"} 
[2026-09-24 02:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290511616001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290511616001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:39:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:39:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290511616001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":190865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:39:07] local.INFO: GPS data processed {"connection_id":190865,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:39:07] local.INFO: Acknowledgment sent {"connection_id":190865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:39:30] local.INFO: TCP Data received {"connection_id":190866,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:39:30] local.INFO: Processing buffer {"connection_id":190866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:39:30] local.INFO: IMEI packet received {"connection_id":190866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":190866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:39:35] local.INFO: TCP Data received {"connection_id":190866,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:39:35] local.INFO: Processing buffer {"connection_id":190866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:39:35] local.INFO: IMEI packet received {"connection_id":190866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":190866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:39:36] local.INFO: TCP Data received {"connection_id":190866,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:39:36] local.INFO: Processing buffer {"connection_id":190866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:39:36] local.INFO: Packet analysis {"connection_id":190866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d017"} 
[2026-09-24 02:39:36] local.INFO: Extracted packet for processing {"connection_id":190866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d017"} 
[2026-09-24 02:39:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290511616001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790197612000,"timestamp_ms":1790197612000,"timestamp_seconds":1790197612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d017bde0"} 
[2026-09-24 02:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290511616001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290511616001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:39:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:39:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290511616001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":190866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:39:36] local.INFO: GPS data processed {"connection_id":190866,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:39:36] local.INFO: Acknowledgment sent {"connection_id":190866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:40:07] local.INFO: TCP Data received {"connection_id":190866,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:40:07] local.INFO: Processing buffer {"connection_id":190866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:40:07] local.INFO: Packet analysis {"connection_id":190866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d017"} 
[2026-09-24 02:40:07] local.INFO: Extracted packet for processing {"connection_id":190866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d017"} 
[2026-09-24 02:40:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290511616001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790197612000,"timestamp_ms":1790197612000,"timestamp_seconds":1790197612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d017bde0"} 
[2026-09-24 02:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290511616001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290511616001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:40:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:40:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290511616001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":190866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:40:07] local.INFO: GPS data processed {"connection_id":190866,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:40:07] local.INFO: Acknowledgment sent {"connection_id":190866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:40:30] local.INFO: TCP Data received {"connection_id":191064,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:40:30] local.INFO: Processing buffer {"connection_id":191064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:40:30] local.INFO: IMEI packet received {"connection_id":191064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":191064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:40:35] local.INFO: TCP Data received {"connection_id":191064,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:40:35] local.INFO: Processing buffer {"connection_id":191064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:40:35] local.INFO: IMEI packet received {"connection_id":191064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":191064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:40:36] local.INFO: TCP Data received {"connection_id":191064,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:40:36] local.INFO: Processing buffer {"connection_id":191064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:40:36] local.INFO: Packet analysis {"connection_id":191064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d017"} 
[2026-09-24 02:40:36] local.INFO: Extracted packet for processing {"connection_id":191064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d017"} 
[2026-09-24 02:40:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290511616001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790197612000,"timestamp_ms":1790197612000,"timestamp_seconds":1790197612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d017bde0"} 
[2026-09-24 02:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290511616001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290511616001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:40:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:40:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290511616001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":191064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:40:36] local.INFO: GPS data processed {"connection_id":191064,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:40:36] local.INFO: Acknowledgment sent {"connection_id":191064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:41:07] local.INFO: TCP Data received {"connection_id":191064,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:41:07] local.INFO: Processing buffer {"connection_id":191064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:41:07] local.INFO: Packet analysis {"connection_id":191064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d017"} 
[2026-09-24 02:41:07] local.INFO: Extracted packet for processing {"connection_id":191064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d017"} 
[2026-09-24 02:41:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290511616001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790197612000,"timestamp_ms":1790197612000,"timestamp_seconds":1790197612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d017bde0"} 
[2026-09-24 02:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290511616001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290511616001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:41:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:41:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290511616001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":191064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:41:07] local.INFO: GPS data processed {"connection_id":191064,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:41:07] local.INFO: Acknowledgment sent {"connection_id":191064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:41:29] local.INFO: TCP Data received {"connection_id":193753,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:41:29] local.INFO: Processing buffer {"connection_id":193753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:41:29] local.INFO: IMEI packet received {"connection_id":193753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":193753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:41:35] local.INFO: TCP Data received {"connection_id":193753,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:41:35] local.INFO: Processing buffer {"connection_id":193753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:41:35] local.INFO: IMEI packet received {"connection_id":193753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":193753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:41:36] local.INFO: TCP Data received {"connection_id":193753,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:41:36] local.INFO: Processing buffer {"connection_id":193753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:41:36] local.INFO: Packet analysis {"connection_id":193753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d017"} 
[2026-09-24 02:41:36] local.INFO: Extracted packet for processing {"connection_id":193753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d017"} 
[2026-09-24 02:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290511616001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790197612000,"timestamp_ms":1790197612000,"timestamp_seconds":1790197612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d017bde0"} 
[2026-09-24 02:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290511616001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290511616001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:41:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:41:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290511616001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":193753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:41:36] local.INFO: GPS data processed {"connection_id":193753,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:41:36] local.INFO: Acknowledgment sent {"connection_id":193753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:42:08] local.INFO: TCP Data received {"connection_id":193753,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:42:08] local.INFO: Processing buffer {"connection_id":193753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d017bde0012d34c58006aa4758000b010529..."} 
[2026-09-24 02:42:08] local.INFO: Packet analysis {"connection_id":193753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d017"} 
[2026-09-24 02:42:08] local.INFO: Extracted packet for processing {"connection_id":193753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d017"} 
[2026-09-24 02:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290511616001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790197612000,"timestamp_ms":1790197612000,"timestamp_seconds":1790197612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d017bde0"} 
[2026-09-24 02:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:42:08] 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-09-24 02:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290511616001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290511616001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:42:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:42:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290511616001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":193753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:42:08] local.INFO: GPS data processed {"connection_id":193753,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:42:08] local.INFO: Acknowledgment sent {"connection_id":193753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:42:29] local.INFO: TCP Data received {"connection_id":191065,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:42:29] local.INFO: Processing buffer {"connection_id":191065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:42:29] local.INFO: IMEI packet received {"connection_id":191065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":191065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:42:30] local.INFO: TCP Data received {"connection_id":191065,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:42:30] local.INFO: Processing buffer {"connection_id":191065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:42:30] local.INFO: IMEI packet received {"connection_id":191065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":191065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:42:35] local.INFO: TCP Data received {"connection_id":191065,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:42:35] local.INFO: Processing buffer {"connection_id":191065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:42:35] local.INFO: IMEI packet received {"connection_id":191065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":191065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:42:36] local.INFO: TCP Data received {"connection_id":191065,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:42:36] local.INFO: Processing buffer {"connection_id":191065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:42:36] local.INFO: Packet analysis {"connection_id":191065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d01c"} 
[2026-09-24 02:42:36] local.INFO: Extracted packet for processing {"connection_id":191065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d01c"} 
[2026-09-24 02:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290588672001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790197913000,"timestamp_ms":1790197913000,"timestamp_seconds":1790197913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d01c55a8"} 
[2026-09-24 02:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290588672001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290588672001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:42:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:42:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290588672001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":191065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:42:36] local.INFO: GPS data processed {"connection_id":191065,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:42:36] local.INFO: Acknowledgment sent {"connection_id":191065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:43:07] local.INFO: TCP Data received {"connection_id":191065,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:43:07] local.INFO: Processing buffer {"connection_id":191065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:43:07] local.INFO: Packet analysis {"connection_id":191065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d01c"} 
[2026-09-24 02:43:07] local.INFO: Extracted packet for processing {"connection_id":191065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d01c"} 
[2026-09-24 02:43:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290588672001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790197913000,"timestamp_ms":1790197913000,"timestamp_seconds":1790197913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d01c55a8"} 
[2026-09-24 02:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290588672001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290588672001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:43:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:43:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290588672001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":191065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:43:07] local.INFO: GPS data processed {"connection_id":191065,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:43:07] local.INFO: Acknowledgment sent {"connection_id":191065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:43:30] local.INFO: TCP Data received {"connection_id":192401,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:43:30] local.INFO: Processing buffer {"connection_id":192401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:43:30] local.INFO: IMEI packet received {"connection_id":192401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":192401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:43:35] local.INFO: TCP Data received {"connection_id":192401,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:43:35] local.INFO: Processing buffer {"connection_id":192401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:43:35] local.INFO: IMEI packet received {"connection_id":192401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":192401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:43:36] local.INFO: TCP Data received {"connection_id":192401,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:43:36] local.INFO: Processing buffer {"connection_id":192401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:43:36] local.INFO: Packet analysis {"connection_id":192401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d01c"} 
[2026-09-24 02:43:36] local.INFO: Extracted packet for processing {"connection_id":192401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d01c"} 
[2026-09-24 02:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290588672001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790197913000,"timestamp_ms":1790197913000,"timestamp_seconds":1790197913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d01c55a8"} 
[2026-09-24 02:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290588672001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290588672001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:43:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:43:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290588672001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":192401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:43:36] local.INFO: GPS data processed {"connection_id":192401,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:43:36] local.INFO: Acknowledgment sent {"connection_id":192401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:44:07] local.INFO: TCP Data received {"connection_id":192401,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:44:07] local.INFO: Processing buffer {"connection_id":192401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:44:07] local.INFO: Packet analysis {"connection_id":192401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d01c"} 
[2026-09-24 02:44:07] local.INFO: Extracted packet for processing {"connection_id":192401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d01c"} 
[2026-09-24 02:44:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290588672001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790197913000,"timestamp_ms":1790197913000,"timestamp_seconds":1790197913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d01c55a8"} 
[2026-09-24 02:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290588672001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290588672001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:44:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:44:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290588672001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":192401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:44:07] local.INFO: GPS data processed {"connection_id":192401,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:44:07] local.INFO: Acknowledgment sent {"connection_id":192401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:44:30] local.INFO: TCP Data received {"connection_id":192402,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:44:30] local.INFO: Processing buffer {"connection_id":192402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:44:30] local.INFO: IMEI packet received {"connection_id":192402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":192402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:44:35] local.INFO: TCP Data received {"connection_id":192402,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:44:35] local.INFO: Processing buffer {"connection_id":192402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:44:35] local.INFO: IMEI packet received {"connection_id":192402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":192402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:44:36] local.INFO: TCP Data received {"connection_id":192402,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:44:36] local.INFO: Processing buffer {"connection_id":192402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:44:36] local.INFO: Packet analysis {"connection_id":192402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d01c"} 
[2026-09-24 02:44:36] local.INFO: Extracted packet for processing {"connection_id":192402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d01c"} 
[2026-09-24 02:44:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290588672001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790197913000,"timestamp_ms":1790197913000,"timestamp_seconds":1790197913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d01c55a8"} 
[2026-09-24 02:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290588672001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290588672001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:44:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:44:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290588672001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":192402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:44:36] local.INFO: GPS data processed {"connection_id":192402,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:44:36] local.INFO: Acknowledgment sent {"connection_id":192402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:45:08] local.INFO: TCP Data received {"connection_id":192402,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:45:08] local.INFO: Processing buffer {"connection_id":192402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:45:08] local.INFO: Packet analysis {"connection_id":192402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d01c"} 
[2026-09-24 02:45:08] local.INFO: Extracted packet for processing {"connection_id":192402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d01c"} 
[2026-09-24 02:45:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290588672001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790197913000,"timestamp_ms":1790197913000,"timestamp_seconds":1790197913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d01c55a8"} 
[2026-09-24 02:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:45:08] 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-09-24 02:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290588672001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290588672001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:45:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:45:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290588672001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":192402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:45:08] local.INFO: GPS data processed {"connection_id":192402,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:45:08] local.INFO: Acknowledgment sent {"connection_id":192402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:45:29] local.INFO: TCP Data received {"connection_id":191066,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:45:29] local.INFO: Processing buffer {"connection_id":191066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:45:29] local.INFO: IMEI packet received {"connection_id":191066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":191066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:45:35] local.INFO: TCP Data received {"connection_id":191066,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:45:35] local.INFO: Processing buffer {"connection_id":191066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:45:35] local.INFO: IMEI packet received {"connection_id":191066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":191066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:45:36] local.INFO: TCP Data received {"connection_id":191066,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:45:36] local.INFO: Processing buffer {"connection_id":191066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:45:36] local.INFO: Packet analysis {"connection_id":191066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d01c"} 
[2026-09-24 02:45:36] local.INFO: Extracted packet for processing {"connection_id":191066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d01c"} 
[2026-09-24 02:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290588672001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790197913000,"timestamp_ms":1790197913000,"timestamp_seconds":1790197913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d01c55a8"} 
[2026-09-24 02:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290588672001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290588672001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:45:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290588672001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":191066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:45:36] local.INFO: GPS data processed {"connection_id":191066,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:45:36] local.INFO: Acknowledgment sent {"connection_id":191066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:46:08] local.INFO: TCP Data received {"connection_id":191066,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:46:08] local.INFO: Processing buffer {"connection_id":191066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:46:08] local.INFO: Packet analysis {"connection_id":191066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d01c"} 
[2026-09-24 02:46:08] local.INFO: Extracted packet for processing {"connection_id":191066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d01c"} 
[2026-09-24 02:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290588672001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790197913000,"timestamp_ms":1790197913000,"timestamp_seconds":1790197913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d01c55a8"} 
[2026-09-24 02:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:46:08] 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-09-24 02:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290588672001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290588672001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:46:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:46:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290588672001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":191066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:46:08] local.INFO: GPS data processed {"connection_id":191066,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:46:08] local.INFO: Acknowledgment sent {"connection_id":191066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:46:29] local.INFO: TCP Data received {"connection_id":192403,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:46:29] local.INFO: Processing buffer {"connection_id":192403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:46:29] local.INFO: IMEI packet received {"connection_id":192403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":192403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:46:35] local.INFO: TCP Data received {"connection_id":192403,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:46:35] local.INFO: Processing buffer {"connection_id":192403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:46:35] local.INFO: IMEI packet received {"connection_id":192403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":192403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:46:36] local.INFO: TCP Data received {"connection_id":192403,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:46:36] local.INFO: Processing buffer {"connection_id":192403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:46:36] local.INFO: Packet analysis {"connection_id":192403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d01c"} 
[2026-09-24 02:46:36] local.INFO: Extracted packet for processing {"connection_id":192403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d01c"} 
[2026-09-24 02:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290588672001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790197913000,"timestamp_ms":1790197913000,"timestamp_seconds":1790197913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d01c55a8"} 
[2026-09-24 02:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290588672001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290588672001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:46:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:46:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290588672001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":192403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:46:36] local.INFO: GPS data processed {"connection_id":192403,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:46:36] local.INFO: Acknowledgment sent {"connection_id":192403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:47:07] local.INFO: TCP Data received {"connection_id":192403,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:47:07] local.INFO: Processing buffer {"connection_id":192403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d01c55a8012d34c58006aa4758000b010526..."} 
[2026-09-24 02:47:07] local.INFO: Packet analysis {"connection_id":192403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d01c"} 
[2026-09-24 02:47:07] local.INFO: Extracted packet for processing {"connection_id":192403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d01c"} 
[2026-09-24 02:47:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290588672001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790197913000,"timestamp_ms":1790197913000,"timestamp_seconds":1790197913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d01c55a8"} 
[2026-09-24 02:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290588672001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290588672001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:47:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:47:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290588672001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":192403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:47:07] local.INFO: GPS data processed {"connection_id":192403,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:47:07] local.INFO: Acknowledgment sent {"connection_id":192403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:47:29] local.INFO: TCP Data received {"connection_id":190867,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:47:29] local.INFO: Processing buffer {"connection_id":190867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:47:29] local.INFO: IMEI packet received {"connection_id":190867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":190867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:47:32] local.INFO: TCP Data received {"connection_id":190867,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:47:32] local.INFO: Processing buffer {"connection_id":190867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:47:32] local.INFO: IMEI packet received {"connection_id":190867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":190867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:47:35] local.INFO: TCP Data received {"connection_id":190867,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:47:35] local.INFO: Processing buffer {"connection_id":190867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:47:35] local.INFO: IMEI packet received {"connection_id":190867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":190867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:47:36] local.INFO: TCP Data received {"connection_id":190867,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:47:36] local.INFO: Processing buffer {"connection_id":190867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:47:36] local.INFO: Packet analysis {"connection_id":190867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d020"} 
[2026-09-24 02:47:36] local.INFO: Extracted packet for processing {"connection_id":190867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d020"} 
[2026-09-24 02:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290665728001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790198214000,"timestamp_ms":1790198214000,"timestamp_seconds":1790198214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d020ed70"} 
[2026-09-24 02:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290665728001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290665728001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:47:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:47:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290665728001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":190867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:47:36] local.INFO: GPS data processed {"connection_id":190867,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:47:36] local.INFO: Acknowledgment sent {"connection_id":190867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:48:08] local.INFO: TCP Data received {"connection_id":190867,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:48:08] local.INFO: Processing buffer {"connection_id":190867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:48:08] local.INFO: Packet analysis {"connection_id":190867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d020"} 
[2026-09-24 02:48:08] local.INFO: Extracted packet for processing {"connection_id":190867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d020"} 
[2026-09-24 02:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290665728001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790198214000,"timestamp_ms":1790198214000,"timestamp_seconds":1790198214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d020ed70"} 
[2026-09-24 02:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:48:08] 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-09-24 02: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-09-24 02:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290665728001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290665728001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:48:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290665728001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":190867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:48:08] local.INFO: GPS data processed {"connection_id":190867,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:48:08] local.INFO: Acknowledgment sent {"connection_id":190867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:48:30] local.INFO: TCP Data received {"connection_id":191067,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:48:30] local.INFO: Processing buffer {"connection_id":191067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:48:30] local.INFO: IMEI packet received {"connection_id":191067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":191067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:48:35] local.INFO: TCP Data received {"connection_id":191067,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:48:35] local.INFO: Processing buffer {"connection_id":191067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:48:35] local.INFO: IMEI packet received {"connection_id":191067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":191067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:48:36] local.INFO: TCP Data received {"connection_id":191067,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:48:36] local.INFO: Processing buffer {"connection_id":191067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:48:36] local.INFO: Packet analysis {"connection_id":191067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d020"} 
[2026-09-24 02:48:36] local.INFO: Extracted packet for processing {"connection_id":191067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d020"} 
[2026-09-24 02:48:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290665728001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790198214000,"timestamp_ms":1790198214000,"timestamp_seconds":1790198214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d020ed70"} 
[2026-09-24 02:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290665728001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290665728001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:48:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:48:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290665728001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":191067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:48:36] local.INFO: GPS data processed {"connection_id":191067,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:48:36] local.INFO: Acknowledgment sent {"connection_id":191067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:49:07] local.INFO: TCP Data received {"connection_id":191067,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:49:07] local.INFO: Processing buffer {"connection_id":191067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:49:07] local.INFO: Packet analysis {"connection_id":191067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d020"} 
[2026-09-24 02:49:07] local.INFO: Extracted packet for processing {"connection_id":191067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d020"} 
[2026-09-24 02:49:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290665728001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790198214000,"timestamp_ms":1790198214000,"timestamp_seconds":1790198214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d020ed70"} 
[2026-09-24 02:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290665728001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290665728001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:49:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:49:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290665728001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":191067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:49:07] local.INFO: GPS data processed {"connection_id":191067,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:49:07] local.INFO: Acknowledgment sent {"connection_id":191067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:49:30] local.INFO: TCP Data received {"connection_id":191068,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:49:30] local.INFO: Processing buffer {"connection_id":191068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:49:30] local.INFO: IMEI packet received {"connection_id":191068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":191068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:49:35] local.INFO: TCP Data received {"connection_id":191068,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:49:35] local.INFO: Processing buffer {"connection_id":191068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:49:35] local.INFO: IMEI packet received {"connection_id":191068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":191068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:49:36] local.INFO: TCP Data received {"connection_id":191068,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:49:36] local.INFO: Processing buffer {"connection_id":191068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:49:36] local.INFO: Packet analysis {"connection_id":191068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d020"} 
[2026-09-24 02:49:36] local.INFO: Extracted packet for processing {"connection_id":191068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d020"} 
[2026-09-24 02:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290665728001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790198214000,"timestamp_ms":1790198214000,"timestamp_seconds":1790198214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d020ed70"} 
[2026-09-24 02:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290665728001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290665728001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:49:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:49:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290665728001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":191068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:49:36] local.INFO: GPS data processed {"connection_id":191068,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:49:36] local.INFO: Acknowledgment sent {"connection_id":191068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:50:07] local.INFO: TCP Data received {"connection_id":191068,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:50:07] local.INFO: Processing buffer {"connection_id":191068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:50:07] local.INFO: Packet analysis {"connection_id":191068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d020"} 
[2026-09-24 02:50:07] local.INFO: Extracted packet for processing {"connection_id":191068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d020"} 
[2026-09-24 02:50:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290665728001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790198214000,"timestamp_ms":1790198214000,"timestamp_seconds":1790198214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d020ed70"} 
[2026-09-24 02:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290665728001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290665728001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:50:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:50:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290665728001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":191068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:50:07] local.INFO: GPS data processed {"connection_id":191068,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:50:07] local.INFO: Acknowledgment sent {"connection_id":191068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:50:29] local.INFO: TCP Data received {"connection_id":190868,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:50:29] local.INFO: Processing buffer {"connection_id":190868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:50:29] local.INFO: IMEI packet received {"connection_id":190868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":190868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:50:35] local.INFO: TCP Data received {"connection_id":190868,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:50:35] local.INFO: Processing buffer {"connection_id":190868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:50:35] local.INFO: IMEI packet received {"connection_id":190868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":190868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:50:36] local.INFO: TCP Data received {"connection_id":190868,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:50:36] local.INFO: Processing buffer {"connection_id":190868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:50:36] local.INFO: Packet analysis {"connection_id":190868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d020"} 
[2026-09-24 02:50:36] local.INFO: Extracted packet for processing {"connection_id":190868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d020"} 
[2026-09-24 02:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290665728001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790198214000,"timestamp_ms":1790198214000,"timestamp_seconds":1790198214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d020ed70"} 
[2026-09-24 02:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02: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":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290665728001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290665728001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:50:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:50:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290665728001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":190868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:50:36] local.INFO: GPS data processed {"connection_id":190868,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:50:36] local.INFO: Acknowledgment sent {"connection_id":190868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:51:07] local.INFO: TCP Data received {"connection_id":190868,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:51:07] local.INFO: Processing buffer {"connection_id":190868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:51:07] local.INFO: Packet analysis {"connection_id":190868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d020"} 
[2026-09-24 02:51:07] local.INFO: Extracted packet for processing {"connection_id":190868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d020"} 
[2026-09-24 02:51:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290665728001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790198214000,"timestamp_ms":1790198214000,"timestamp_seconds":1790198214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d020ed70"} 
[2026-09-24 02:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290665728001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290665728001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:51:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:51:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290665728001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":190868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:51:07] local.INFO: GPS data processed {"connection_id":190868,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:51:07] local.INFO: Acknowledgment sent {"connection_id":190868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:51:30] local.INFO: TCP Data received {"connection_id":191069,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:51:30] local.INFO: Processing buffer {"connection_id":191069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:51:30] local.INFO: IMEI packet received {"connection_id":191069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":191069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:51:35] local.INFO: TCP Data received {"connection_id":191069,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:51:35] local.INFO: Processing buffer {"connection_id":191069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:51:35] local.INFO: IMEI packet received {"connection_id":191069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":191069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:51:36] local.INFO: TCP Data received {"connection_id":191069,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:51:36] local.INFO: Processing buffer {"connection_id":191069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:51:36] local.INFO: Packet analysis {"connection_id":191069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d020"} 
[2026-09-24 02:51:36] local.INFO: Extracted packet for processing {"connection_id":191069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d020"} 
[2026-09-24 02:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290665728001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790198214000,"timestamp_ms":1790198214000,"timestamp_seconds":1790198214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d020ed70"} 
[2026-09-24 02:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290665728001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290665728001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:51:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:51:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290665728001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":191069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:51:36] local.INFO: GPS data processed {"connection_id":191069,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:51:36] local.INFO: Acknowledgment sent {"connection_id":191069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:52:07] local.INFO: TCP Data received {"connection_id":191069,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:52:07] local.INFO: Processing buffer {"connection_id":191069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d020ed70012d34c58006aa4758000b01052b..."} 
[2026-09-24 02:52:07] local.INFO: Packet analysis {"connection_id":191069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d020"} 
[2026-09-24 02:52:07] local.INFO: Extracted packet for processing {"connection_id":191069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d020"} 
[2026-09-24 02:52:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290665728001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790198214000,"timestamp_ms":1790198214000,"timestamp_seconds":1790198214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d020ed70"} 
[2026-09-24 02:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 02:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290665728001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290665728001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:52:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:52:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290665728001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":191069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:52:07] local.INFO: GPS data processed {"connection_id":191069,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:52:07] local.INFO: Acknowledgment sent {"connection_id":191069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:52:29] local.INFO: TCP Data received {"connection_id":190869,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:52:29] local.INFO: Processing buffer {"connection_id":190869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:52:29] local.INFO: IMEI packet received {"connection_id":190869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":190869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:52:33] local.INFO: TCP Data received {"connection_id":190869,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:52:33] local.INFO: Processing buffer {"connection_id":190869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:52:33] local.INFO: IMEI packet received {"connection_id":190869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":190869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:52:34] local.INFO: TCP Data received {"connection_id":190869,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:52:34] local.INFO: Processing buffer {"connection_id":190869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:52:34] local.INFO: IMEI packet received {"connection_id":190869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":190869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:52:35] local.INFO: TCP Data received {"connection_id":190869,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:52:35] local.INFO: Processing buffer {"connection_id":190869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:52:35] local.INFO: Packet analysis {"connection_id":190869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d025"} 
[2026-09-24 02:52:35] local.INFO: Extracted packet for processing {"connection_id":190869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d025"} 
[2026-09-24 02:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290742784001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790198515000,"timestamp_ms":1790198515000,"timestamp_seconds":1790198515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0258538"} 
[2026-09-24 02:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 02:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290742784001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290742784001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:52:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:52:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290742784001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":190869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:52:35] local.INFO: GPS data processed {"connection_id":190869,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:52:35] local.INFO: Acknowledgment sent {"connection_id":190869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:53:06] local.INFO: TCP Data received {"connection_id":190869,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:53:06] local.INFO: Processing buffer {"connection_id":190869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:53:06] local.INFO: Packet analysis {"connection_id":190869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d025"} 
[2026-09-24 02:53:06] local.INFO: Extracted packet for processing {"connection_id":190869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d025"} 
[2026-09-24 02:53:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290742784001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790198515000,"timestamp_ms":1790198515000,"timestamp_seconds":1790198515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0258538"} 
[2026-09-24 02:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 02:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290742784001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290742784001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:53:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:53:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290742784001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":190869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:53:06] local.INFO: GPS data processed {"connection_id":190869,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:53:06] local.INFO: Acknowledgment sent {"connection_id":190869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:53:30] local.INFO: TCP Data received {"connection_id":192404,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:53:30] local.INFO: Processing buffer {"connection_id":192404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:53:30] local.INFO: IMEI packet received {"connection_id":192404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":192404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:53:35] local.INFO: TCP Data received {"connection_id":192404,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:53:35] local.INFO: Processing buffer {"connection_id":192404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:53:35] local.INFO: IMEI packet received {"connection_id":192404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":192404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:53:36] local.INFO: TCP Data received {"connection_id":192404,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:53:36] local.INFO: Processing buffer {"connection_id":192404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:53:36] local.INFO: Packet analysis {"connection_id":192404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d025"} 
[2026-09-24 02:53:36] local.INFO: Extracted packet for processing {"connection_id":192404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d025"} 
[2026-09-24 02:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290742784001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790198515000,"timestamp_ms":1790198515000,"timestamp_seconds":1790198515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0258538"} 
[2026-09-24 02:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 02:53: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-09-24 02:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290742784001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290742784001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:53:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:53:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290742784001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":192404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:53:36] local.INFO: GPS data processed {"connection_id":192404,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:53:36] local.INFO: Acknowledgment sent {"connection_id":192404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:54:08] local.INFO: TCP Data received {"connection_id":192404,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:54:08] local.INFO: Processing buffer {"connection_id":192404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:54:08] local.INFO: Packet analysis {"connection_id":192404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d025"} 
[2026-09-24 02:54:08] local.INFO: Extracted packet for processing {"connection_id":192404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d025"} 
[2026-09-24 02:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290742784001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790198515000,"timestamp_ms":1790198515000,"timestamp_seconds":1790198515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0258538"} 
[2026-09-24 02:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 02:54: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-09-24 02: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-09-24 02:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290742784001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290742784001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:54:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290742784001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":192404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:54:08] local.INFO: GPS data processed {"connection_id":192404,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:54:08] local.INFO: Acknowledgment sent {"connection_id":192404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:54:30] local.INFO: TCP Data received {"connection_id":193754,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:54:30] local.INFO: Processing buffer {"connection_id":193754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:54:30] local.INFO: IMEI packet received {"connection_id":193754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":193754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:54:35] local.INFO: TCP Data received {"connection_id":193754,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:54:35] local.INFO: Processing buffer {"connection_id":193754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:54:35] local.INFO: IMEI packet received {"connection_id":193754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":193754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:54:36] local.INFO: TCP Data received {"connection_id":193754,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:54:36] local.INFO: Processing buffer {"connection_id":193754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:54:36] local.INFO: Packet analysis {"connection_id":193754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d025"} 
[2026-09-24 02:54:36] local.INFO: Extracted packet for processing {"connection_id":193754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d025"} 
[2026-09-24 02:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290742784001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790198515000,"timestamp_ms":1790198515000,"timestamp_seconds":1790198515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0258538"} 
[2026-09-24 02:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 02:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290742784001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290742784001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:54:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:54:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290742784001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":193754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:54:36] local.INFO: GPS data processed {"connection_id":193754,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:54:36] local.INFO: Acknowledgment sent {"connection_id":193754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:55:07] local.INFO: TCP Data received {"connection_id":193754,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:55:07] local.INFO: Processing buffer {"connection_id":193754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:55:07] local.INFO: Packet analysis {"connection_id":193754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d025"} 
[2026-09-24 02:55:07] local.INFO: Extracted packet for processing {"connection_id":193754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d025"} 
[2026-09-24 02:55:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290742784001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790198515000,"timestamp_ms":1790198515000,"timestamp_seconds":1790198515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0258538"} 
[2026-09-24 02:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 02:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290742784001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290742784001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:55:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:55:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290742784001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":193754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:55:07] local.INFO: GPS data processed {"connection_id":193754,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:55:07] local.INFO: Acknowledgment sent {"connection_id":193754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:55:29] local.INFO: TCP Data received {"connection_id":190870,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:55:29] local.INFO: Processing buffer {"connection_id":190870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:55:29] local.INFO: IMEI packet received {"connection_id":190870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":190870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:55:35] local.INFO: TCP Data received {"connection_id":190870,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:55:35] local.INFO: Processing buffer {"connection_id":190870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:55:35] local.INFO: IMEI packet received {"connection_id":190870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":190870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:55:36] local.INFO: TCP Data received {"connection_id":190870,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:55:36] local.INFO: Processing buffer {"connection_id":190870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:55:36] local.INFO: Packet analysis {"connection_id":190870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d025"} 
[2026-09-24 02:55:36] local.INFO: Extracted packet for processing {"connection_id":190870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d025"} 
[2026-09-24 02:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290742784001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790198515000,"timestamp_ms":1790198515000,"timestamp_seconds":1790198515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0258538"} 
[2026-09-24 02:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 02:55: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-09-24 02:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290742784001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290742784001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:55:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:55:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290742784001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":190870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:55:36] local.INFO: GPS data processed {"connection_id":190870,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:55:36] local.INFO: Acknowledgment sent {"connection_id":190870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:56:07] local.INFO: TCP Data received {"connection_id":190870,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:56:07] local.INFO: Processing buffer {"connection_id":190870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:56:07] local.INFO: Packet analysis {"connection_id":190870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d025"} 
[2026-09-24 02:56:07] local.INFO: Extracted packet for processing {"connection_id":190870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d025"} 
[2026-09-24 02:56:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290742784001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790198515000,"timestamp_ms":1790198515000,"timestamp_seconds":1790198515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0258538"} 
[2026-09-24 02:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 02:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290742784001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290742784001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:56:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:56:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290742784001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":190870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:56:07] local.INFO: GPS data processed {"connection_id":190870,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:56:07] local.INFO: Acknowledgment sent {"connection_id":190870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:56:29] local.INFO: TCP Data received {"connection_id":192405,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:56:29] local.INFO: Processing buffer {"connection_id":192405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:56:29] local.INFO: IMEI packet received {"connection_id":192405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":192405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:56:35] local.INFO: TCP Data received {"connection_id":192405,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:56:35] local.INFO: Processing buffer {"connection_id":192405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:56:35] local.INFO: IMEI packet received {"connection_id":192405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":192405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:56:36] local.INFO: TCP Data received {"connection_id":192405,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:56:36] local.INFO: Processing buffer {"connection_id":192405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:56:36] local.INFO: Packet analysis {"connection_id":192405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d025"} 
[2026-09-24 02:56:36] local.INFO: Extracted packet for processing {"connection_id":192405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d025"} 
[2026-09-24 02:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290742784001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790198515000,"timestamp_ms":1790198515000,"timestamp_seconds":1790198515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0258538"} 
[2026-09-24 02:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 02:56: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-09-24 02:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290742784001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290742784001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:56:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:56:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290742784001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":192405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:56:36] local.INFO: GPS data processed {"connection_id":192405,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:56:36] local.INFO: Acknowledgment sent {"connection_id":192405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:57:07] local.INFO: TCP Data received {"connection_id":192405,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:57:07] local.INFO: Processing buffer {"connection_id":192405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0258538012d34c58006aa4758000b010528..."} 
[2026-09-24 02:57:07] local.INFO: Packet analysis {"connection_id":192405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d025"} 
[2026-09-24 02:57:07] local.INFO: Extracted packet for processing {"connection_id":192405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d025"} 
[2026-09-24 02:57:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290742784001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790198515000,"timestamp_ms":1790198515000,"timestamp_seconds":1790198515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0258538"} 
[2026-09-24 02:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 02:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290742784001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290742784001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:57:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:57:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290742784001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":192405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:57:07] local.INFO: GPS data processed {"connection_id":192405,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:57:07] local.INFO: Acknowledgment sent {"connection_id":192405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:57:34] local.INFO: TCP Data received {"connection_id":191070,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:57:34] local.INFO: Processing buffer {"connection_id":191070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:57:34] local.INFO: IMEI packet received {"connection_id":191070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":191070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:57:35] local.INFO: TCP Data received {"connection_id":191070,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:57:35] local.INFO: Processing buffer {"connection_id":191070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:57:35] local.INFO: IMEI packet received {"connection_id":191070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":191070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:57:40] local.INFO: TCP Data received {"connection_id":191070,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:57:40] local.INFO: Processing buffer {"connection_id":191070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:57:40] local.INFO: IMEI packet received {"connection_id":191070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":191070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:57:41] local.INFO: TCP Data received {"connection_id":191070,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 02:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 02:57:41] local.INFO: Processing buffer {"connection_id":191070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 02:57:41] local.INFO: Packet analysis {"connection_id":191070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d02a"} 
[2026-09-24 02:57:41] local.INFO: Extracted packet for processing {"connection_id":191070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d02a"} 
[2026-09-24 02:57:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290819840001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790198816000,"timestamp_ms":1790198816000,"timestamp_seconds":1790198816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d02a1d00"} 
[2026-09-24 02:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 02:57:41] 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-09-24 02:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290819840001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290819840001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:57:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:57:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290819840001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":191070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:57:41] local.INFO: GPS data processed {"connection_id":191070,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:57:41] local.INFO: Acknowledgment sent {"connection_id":191070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:58:12] local.INFO: TCP Data received {"connection_id":191070,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 02:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 02:58:12] local.INFO: Processing buffer {"connection_id":191070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 02:58:12] local.INFO: Packet analysis {"connection_id":191070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d02a"} 
[2026-09-24 02:58:12] local.INFO: Extracted packet for processing {"connection_id":191070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d02a"} 
[2026-09-24 02:58:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290819840001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790198816000,"timestamp_ms":1790198816000,"timestamp_seconds":1790198816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d02a1d00"} 
[2026-09-24 02:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 02:58:12] 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-09-24 02:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290819840001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290819840001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:58:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:58:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290819840001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":191070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:58:12] local.INFO: GPS data processed {"connection_id":191070,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:58:12] local.INFO: Acknowledgment sent {"connection_id":191070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:58:29] local.INFO: TCP Data received {"connection_id":190871,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:58:29] local.INFO: Processing buffer {"connection_id":190871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:58:29] local.INFO: IMEI packet received {"connection_id":190871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":190871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:58:35] local.INFO: TCP Data received {"connection_id":190871,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:58:35] local.INFO: Processing buffer {"connection_id":190871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:58:35] local.INFO: IMEI packet received {"connection_id":190871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":190871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:58:36] local.INFO: TCP Data received {"connection_id":190871,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 02:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 02:58:36] local.INFO: Processing buffer {"connection_id":190871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 02:58:36] local.INFO: Packet analysis {"connection_id":190871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d02a"} 
[2026-09-24 02:58:36] local.INFO: Extracted packet for processing {"connection_id":190871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d02a"} 
[2026-09-24 02:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290819840001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790198816000,"timestamp_ms":1790198816000,"timestamp_seconds":1790198816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d02a1d00"} 
[2026-09-24 02:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 02:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290819840001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290819840001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:58:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:58:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290819840001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":190871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:58:36] local.INFO: GPS data processed {"connection_id":190871,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:58:36] local.INFO: Acknowledgment sent {"connection_id":190871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:59:07] local.INFO: TCP Data received {"connection_id":190871,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 02:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 02:59:07] local.INFO: Processing buffer {"connection_id":190871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 02:59:07] local.INFO: Packet analysis {"connection_id":190871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d02a"} 
[2026-09-24 02:59:07] local.INFO: Extracted packet for processing {"connection_id":190871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d02a"} 
[2026-09-24 02:59:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 02:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290819840001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790198816000,"timestamp_ms":1790198816000,"timestamp_seconds":1790198816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d02a1d00"} 
[2026-09-24 02:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 02:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 02:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290819840001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290819840001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:59:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:59:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290819840001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":190871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:59:07] local.INFO: GPS data processed {"connection_id":190871,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:59:07] local.INFO: Acknowledgment sent {"connection_id":190871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 02:59:30] local.INFO: TCP Data received {"connection_id":192406,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:59:30] local.INFO: Processing buffer {"connection_id":192406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:59:30] local.INFO: IMEI packet received {"connection_id":192406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 02:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":192406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 02:59:35] local.INFO: TCP Data received {"connection_id":192406,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:59:35] local.INFO: Processing buffer {"connection_id":192406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 02:59:35] local.INFO: IMEI packet received {"connection_id":192406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 02:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":192406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 02:59:36] local.INFO: TCP Data received {"connection_id":192406,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 02:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 02:59:36] local.INFO: Processing buffer {"connection_id":192406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 02:59:36] local.INFO: Packet analysis {"connection_id":192406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d02a"} 
[2026-09-24 02:59:36] local.INFO: Extracted packet for processing {"connection_id":192406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d02a"} 
[2026-09-24 02:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 02: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-09-24 02:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290819840001,"note":"Value kept but may cause issues"} 
[2026-09-24 02:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 02:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 02:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 02:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790198816000,"timestamp_ms":1790198816000,"timestamp_seconds":1790198816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d02a1d00"} 
[2026-09-24 02:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 02:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 02:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 02:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 02: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-09-24 02:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 02:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 02:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 02:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 02:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 02:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 02:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 02:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290819840001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 02:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 02:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 02:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290819840001,"description":"Unknown IO ID 0"} 
[2026-09-24 02:59:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 02:59:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 02:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 02:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 02:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290819840001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 02:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":192406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 02:59:36] local.INFO: GPS data processed {"connection_id":192406,"processed":1,"errors":0,"total":1} 
[2026-09-24 02:59:36] local.INFO: Acknowledgment sent {"connection_id":192406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:00:07] local.INFO: TCP Data received {"connection_id":192406,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 03:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 03:00:07] local.INFO: Processing buffer {"connection_id":192406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 03:00:07] local.INFO: Packet analysis {"connection_id":192406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d02a"} 
[2026-09-24 03:00:07] local.INFO: Extracted packet for processing {"connection_id":192406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d02a"} 
[2026-09-24 03:00:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290819840001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790198816000,"timestamp_ms":1790198816000,"timestamp_seconds":1790198816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d02a1d00"} 
[2026-09-24 03:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 03:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290819840001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290819840001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:00:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:00:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290819840001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":192406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:00:07] local.INFO: GPS data processed {"connection_id":192406,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:00:07] local.INFO: Acknowledgment sent {"connection_id":192406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:00:29] local.INFO: TCP Data received {"connection_id":193755,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:00:29] local.INFO: Processing buffer {"connection_id":193755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:00:29] local.INFO: IMEI packet received {"connection_id":193755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":193755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:00:35] local.INFO: TCP Data received {"connection_id":193755,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:00:35] local.INFO: Processing buffer {"connection_id":193755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:00:35] local.INFO: IMEI packet received {"connection_id":193755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":193755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:00:36] local.INFO: TCP Data received {"connection_id":193755,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 03:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 03:00:36] local.INFO: Processing buffer {"connection_id":193755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 03:00:36] local.INFO: Packet analysis {"connection_id":193755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d02a"} 
[2026-09-24 03:00:36] local.INFO: Extracted packet for processing {"connection_id":193755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d02a"} 
[2026-09-24 03:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290819840001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790198816000,"timestamp_ms":1790198816000,"timestamp_seconds":1790198816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d02a1d00"} 
[2026-09-24 03:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 03:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290819840001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290819840001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:00:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290819840001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":193755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:00:36] local.INFO: GPS data processed {"connection_id":193755,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:00:36] local.INFO: Acknowledgment sent {"connection_id":193755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:01:08] local.INFO: TCP Data received {"connection_id":193755,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 03:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 03:01:08] local.INFO: Processing buffer {"connection_id":193755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 03:01:08] local.INFO: Packet analysis {"connection_id":193755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d02a"} 
[2026-09-24 03:01:08] local.INFO: Extracted packet for processing {"connection_id":193755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d02a"} 
[2026-09-24 03:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290819840001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790198816000,"timestamp_ms":1790198816000,"timestamp_seconds":1790198816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d02a1d00"} 
[2026-09-24 03:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 03:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290819840001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290819840001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:01:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:01:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290819840001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":193755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:01:08] local.INFO: GPS data processed {"connection_id":193755,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:01:08] local.INFO: Acknowledgment sent {"connection_id":193755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:01:30] local.INFO: TCP Data received {"connection_id":192407,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:01:30] local.INFO: Processing buffer {"connection_id":192407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:01:30] local.INFO: IMEI packet received {"connection_id":192407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":192407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:01:35] local.INFO: TCP Data received {"connection_id":192407,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:01:35] local.INFO: Processing buffer {"connection_id":192407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:01:35] local.INFO: IMEI packet received {"connection_id":192407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":192407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:01:36] local.INFO: TCP Data received {"connection_id":192407,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 03:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 03:01:36] local.INFO: Processing buffer {"connection_id":192407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 03:01:36] local.INFO: Packet analysis {"connection_id":192407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d02a"} 
[2026-09-24 03:01:36] local.INFO: Extracted packet for processing {"connection_id":192407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d02a"} 
[2026-09-24 03:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290819840001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790198816000,"timestamp_ms":1790198816000,"timestamp_seconds":1790198816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d02a1d00"} 
[2026-09-24 03:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 03:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290819840001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290819840001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:01:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290819840001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":192407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:01:36] local.INFO: GPS data processed {"connection_id":192407,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:01:36] local.INFO: Acknowledgment sent {"connection_id":192407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:02:07] local.INFO: TCP Data received {"connection_id":192407,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 03:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 03:02:07] local.INFO: Processing buffer {"connection_id":192407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d02a1d00012d34c58006aa4758000b010528..."} 
[2026-09-24 03:02:07] local.INFO: Packet analysis {"connection_id":192407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d02a"} 
[2026-09-24 03:02:07] local.INFO: Extracted packet for processing {"connection_id":192407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d02a"} 
[2026-09-24 03:02:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290819840001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790198816000,"timestamp_ms":1790198816000,"timestamp_seconds":1790198816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d02a1d00"} 
[2026-09-24 03:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 03:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290819840001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290819840001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:02:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:02:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290819840001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":192407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:02:07] local.INFO: GPS data processed {"connection_id":192407,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:02:07] local.INFO: Acknowledgment sent {"connection_id":192407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:02:30] local.INFO: TCP Data received {"connection_id":191071,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:02:30] local.INFO: Processing buffer {"connection_id":191071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:02:30] local.INFO: IMEI packet received {"connection_id":191071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":191071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:02:35] local.INFO: TCP Data received {"connection_id":191071,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:02:35] local.INFO: Processing buffer {"connection_id":191071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:02:35] local.INFO: IMEI packet received {"connection_id":191071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":191071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:02:36] local.INFO: TCP Data received {"connection_id":191071,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:02:36] local.INFO: Processing buffer {"connection_id":191071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:02:36] local.INFO: Packet analysis {"connection_id":191071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:02:36] local.INFO: Extracted packet for processing {"connection_id":191071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:02:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290896896001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790199117000,"timestamp_ms":1790199117000,"timestamp_seconds":1790199117,"priority":1,"record_length":96,"hex_timestamp":"000001a0d02eb4c8"} 
[2026-09-24 03:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290896896001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290896896001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:02:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:02:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290896896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":191071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:02:36] local.INFO: GPS data processed {"connection_id":191071,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:02:36] local.INFO: Acknowledgment sent {"connection_id":191071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:03:07] local.INFO: TCP Data received {"connection_id":191071,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:03:07] local.INFO: Processing buffer {"connection_id":191071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:03:07] local.INFO: Packet analysis {"connection_id":191071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:03:07] local.INFO: Extracted packet for processing {"connection_id":191071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:03:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290896896001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790199117000,"timestamp_ms":1790199117000,"timestamp_seconds":1790199117,"priority":1,"record_length":96,"hex_timestamp":"000001a0d02eb4c8"} 
[2026-09-24 03:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290896896001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290896896001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:03:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:03:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290896896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":191071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:03:07] local.INFO: GPS data processed {"connection_id":191071,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:03:07] local.INFO: Acknowledgment sent {"connection_id":191071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:03:29] local.INFO: TCP Data received {"connection_id":193756,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:03:29] local.INFO: Processing buffer {"connection_id":193756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:03:29] local.INFO: IMEI packet received {"connection_id":193756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":193756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:03:35] local.INFO: TCP Data received {"connection_id":193756,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:03:35] local.INFO: Processing buffer {"connection_id":193756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:03:35] local.INFO: IMEI packet received {"connection_id":193756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":193756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:03:36] local.INFO: TCP Data received {"connection_id":193756,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:03:36] local.INFO: Processing buffer {"connection_id":193756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:03:36] local.INFO: Packet analysis {"connection_id":193756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:03:36] local.INFO: Extracted packet for processing {"connection_id":193756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:03:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290896896001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790199117000,"timestamp_ms":1790199117000,"timestamp_seconds":1790199117,"priority":1,"record_length":96,"hex_timestamp":"000001a0d02eb4c8"} 
[2026-09-24 03:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290896896001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290896896001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:03:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:03:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290896896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":193756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:03:36] local.INFO: GPS data processed {"connection_id":193756,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:03:36] local.INFO: Acknowledgment sent {"connection_id":193756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:04:07] local.INFO: TCP Data received {"connection_id":193756,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:04:07] local.INFO: Processing buffer {"connection_id":193756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:04:07] local.INFO: Packet analysis {"connection_id":193756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:04:07] local.INFO: Extracted packet for processing {"connection_id":193756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:04:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290896896001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790199117000,"timestamp_ms":1790199117000,"timestamp_seconds":1790199117,"priority":1,"record_length":96,"hex_timestamp":"000001a0d02eb4c8"} 
[2026-09-24 03:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290896896001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290896896001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:04:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:04:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290896896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":193756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:04:07] local.INFO: GPS data processed {"connection_id":193756,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:04:07] local.INFO: Acknowledgment sent {"connection_id":193756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:04:35] local.INFO: TCP Data received {"connection_id":191072,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:04:35] local.INFO: Processing buffer {"connection_id":191072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:04:35] local.INFO: IMEI packet received {"connection_id":191072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":191072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:04:40] local.INFO: TCP Data received {"connection_id":191072,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:04:40] local.INFO: Processing buffer {"connection_id":191072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:04:40] local.INFO: IMEI packet received {"connection_id":191072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":191072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:04:41] local.INFO: TCP Data received {"connection_id":191072,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:04:41] local.INFO: Processing buffer {"connection_id":191072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:04:41] local.INFO: Packet analysis {"connection_id":191072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:04:41] local.INFO: Extracted packet for processing {"connection_id":191072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:04:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290896896001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790199117000,"timestamp_ms":1790199117000,"timestamp_seconds":1790199117,"priority":1,"record_length":96,"hex_timestamp":"000001a0d02eb4c8"} 
[2026-09-24 03:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290896896001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290896896001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:04:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:04:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290896896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":191072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:04:41] local.INFO: GPS data processed {"connection_id":191072,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:04:41] local.INFO: Acknowledgment sent {"connection_id":191072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:04:45] local.INFO: TCP Data received {"connection_id":191072,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:04:45] local.INFO: Processing buffer {"connection_id":191072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:04:45] local.INFO: Packet analysis {"connection_id":191072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:04:45] local.INFO: Extracted packet for processing {"connection_id":191072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:04:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290896896001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790199117000,"timestamp_ms":1790199117000,"timestamp_seconds":1790199117,"priority":1,"record_length":96,"hex_timestamp":"000001a0d02eb4c8"} 
[2026-09-24 03:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290896896001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290896896001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:04:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:04:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290896896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":191072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:04:45] local.INFO: GPS data processed {"connection_id":191072,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:04:45] local.INFO: Acknowledgment sent {"connection_id":191072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:05:30] local.INFO: TCP Data received {"connection_id":190872,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:05:30] local.INFO: Processing buffer {"connection_id":190872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:05:30] local.INFO: IMEI packet received {"connection_id":190872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":190872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:05:35] local.INFO: TCP Data received {"connection_id":190872,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:05:35] local.INFO: Processing buffer {"connection_id":190872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:05:35] local.INFO: IMEI packet received {"connection_id":190872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":190872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:05:36] local.INFO: TCP Data received {"connection_id":190872,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:05:36] local.INFO: Processing buffer {"connection_id":190872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:05:36] local.INFO: Packet analysis {"connection_id":190872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:05:36] local.INFO: Extracted packet for processing {"connection_id":190872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:05:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290896896001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790199117000,"timestamp_ms":1790199117000,"timestamp_seconds":1790199117,"priority":1,"record_length":96,"hex_timestamp":"000001a0d02eb4c8"} 
[2026-09-24 03:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290896896001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290896896001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:05:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:05:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290896896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":190872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:05:36] local.INFO: GPS data processed {"connection_id":190872,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:05:36] local.INFO: Acknowledgment sent {"connection_id":190872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:05:40] local.INFO: TCP Data received {"connection_id":190872,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:05:40] local.INFO: Processing buffer {"connection_id":190872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:05:40] local.INFO: Packet analysis {"connection_id":190872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:05:40] local.INFO: Extracted packet for processing {"connection_id":190872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:05:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290896896001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790199117000,"timestamp_ms":1790199117000,"timestamp_seconds":1790199117,"priority":1,"record_length":96,"hex_timestamp":"000001a0d02eb4c8"} 
[2026-09-24 03:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290896896001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290896896001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:05:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:05:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290896896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":190872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:05:40] local.INFO: GPS data processed {"connection_id":190872,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:05:40] local.INFO: Acknowledgment sent {"connection_id":190872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:06:11] local.INFO: TCP Data received {"connection_id":190872,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:06:11] local.INFO: Processing buffer {"connection_id":190872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:06:11] local.INFO: Packet analysis {"connection_id":190872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:06:11] local.INFO: Extracted packet for processing {"connection_id":190872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:06:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290896896001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790199117000,"timestamp_ms":1790199117000,"timestamp_seconds":1790199117,"priority":1,"record_length":96,"hex_timestamp":"000001a0d02eb4c8"} 
[2026-09-24 03:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290896896001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290896896001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:06:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:06:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290896896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":190872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:06:12] local.INFO: GPS data processed {"connection_id":190872,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:06:12] local.INFO: Acknowledgment sent {"connection_id":190872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:06:30] local.INFO: TCP Data received {"connection_id":192408,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:06:30] local.INFO: Processing buffer {"connection_id":192408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:06:30] local.INFO: IMEI packet received {"connection_id":192408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":192408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:06:35] local.INFO: TCP Data received {"connection_id":192408,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:06:35] local.INFO: Processing buffer {"connection_id":192408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:06:35] local.INFO: IMEI packet received {"connection_id":192408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":192408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:06:36] local.INFO: TCP Data received {"connection_id":192408,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:06:36] local.INFO: Processing buffer {"connection_id":192408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:06:36] local.INFO: Packet analysis {"connection_id":192408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:06:36] local.INFO: Extracted packet for processing {"connection_id":192408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290896896001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790199117000,"timestamp_ms":1790199117000,"timestamp_seconds":1790199117,"priority":1,"record_length":96,"hex_timestamp":"000001a0d02eb4c8"} 
[2026-09-24 03:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290896896001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290896896001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:06:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290896896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":192408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:06:36] local.INFO: GPS data processed {"connection_id":192408,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:06:36] local.INFO: Acknowledgment sent {"connection_id":192408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:07:07] local.INFO: TCP Data received {"connection_id":192408,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:07:07] local.INFO: Processing buffer {"connection_id":192408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:07:07] local.INFO: Packet analysis {"connection_id":192408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:07:07] local.INFO: Extracted packet for processing {"connection_id":192408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:07:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290896896001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790199117000,"timestamp_ms":1790199117000,"timestamp_seconds":1790199117,"priority":1,"record_length":96,"hex_timestamp":"000001a0d02eb4c8"} 
[2026-09-24 03:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290896896001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290896896001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:07:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:07:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290896896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":192408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:07:07] local.INFO: GPS data processed {"connection_id":192408,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:07:07] local.INFO: Acknowledgment sent {"connection_id":192408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:07:30] local.INFO: TCP Data received {"connection_id":193757,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:07:30] local.INFO: Processing buffer {"connection_id":193757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:07:30] local.INFO: IMEI packet received {"connection_id":193757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":193757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:07:35] local.INFO: TCP Data received {"connection_id":193757,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:07:35] local.INFO: Processing buffer {"connection_id":193757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:07:35] local.INFO: IMEI packet received {"connection_id":193757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":193757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:07:36] local.INFO: TCP Data received {"connection_id":193757,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:07:36] local.INFO: Processing buffer {"connection_id":193757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d02eb4c8012d34c58006aa4758000b010528..."} 
[2026-09-24 03:07:36] local.INFO: Packet analysis {"connection_id":193757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:07:36] local.INFO: Extracted packet for processing {"connection_id":193757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d02e"} 
[2026-09-24 03:07:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290896896001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790199117000,"timestamp_ms":1790199117000,"timestamp_seconds":1790199117,"priority":1,"record_length":96,"hex_timestamp":"000001a0d02eb4c8"} 
[2026-09-24 03:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290896896001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290896896001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:07:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:07:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290896896001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":193757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:07:36] local.INFO: GPS data processed {"connection_id":193757,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:07:36] local.INFO: Acknowledgment sent {"connection_id":193757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:08:08] local.INFO: TCP Data received {"connection_id":193757,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:08:08] local.INFO: Processing buffer {"connection_id":193757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:08:08] local.INFO: Packet analysis {"connection_id":193757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d033"} 
[2026-09-24 03:08:08] local.INFO: Extracted packet for processing {"connection_id":193757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d033"} 
[2026-09-24 03:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290973952001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790199418000,"timestamp_ms":1790199418000,"timestamp_seconds":1790199418,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0334c90"} 
[2026-09-24 03:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290973952001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290973952001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:08:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:08:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290973952001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":193757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:08:08] local.INFO: GPS data processed {"connection_id":193757,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:08:08] local.INFO: Acknowledgment sent {"connection_id":193757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:08:29] local.INFO: TCP Data received {"connection_id":191073,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:08:29] local.INFO: Processing buffer {"connection_id":191073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:08:29] local.INFO: IMEI packet received {"connection_id":191073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":191073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:08:35] local.INFO: TCP Data received {"connection_id":191073,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:08:35] local.INFO: Processing buffer {"connection_id":191073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:08:35] local.INFO: IMEI packet received {"connection_id":191073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":191073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:08:36] local.INFO: TCP Data received {"connection_id":191073,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:08:36] local.INFO: Processing buffer {"connection_id":191073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:08:36] local.INFO: Packet analysis {"connection_id":191073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d033"} 
[2026-09-24 03:08:36] local.INFO: Extracted packet for processing {"connection_id":191073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d033"} 
[2026-09-24 03:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290973952001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790199418000,"timestamp_ms":1790199418000,"timestamp_seconds":1790199418,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0334c90"} 
[2026-09-24 03:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290973952001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290973952001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:08:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290973952001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":191073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:08:36] local.INFO: GPS data processed {"connection_id":191073,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:08:36] local.INFO: Acknowledgment sent {"connection_id":191073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:09:07] local.INFO: TCP Data received {"connection_id":191073,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:09:07] local.INFO: Processing buffer {"connection_id":191073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:09:07] local.INFO: Packet analysis {"connection_id":191073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d033"} 
[2026-09-24 03:09:07] local.INFO: Extracted packet for processing {"connection_id":191073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d033"} 
[2026-09-24 03:09:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290973952001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790199418000,"timestamp_ms":1790199418000,"timestamp_seconds":1790199418,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0334c90"} 
[2026-09-24 03:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290973952001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290973952001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:09:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:09:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290973952001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":191073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:09:07] local.INFO: GPS data processed {"connection_id":191073,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:09:07] local.INFO: Acknowledgment sent {"connection_id":191073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:09:35] local.INFO: TCP Data received {"connection_id":190873,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:09:35] local.INFO: Processing buffer {"connection_id":190873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:09:35] local.INFO: IMEI packet received {"connection_id":190873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":190873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:09:40] local.INFO: TCP Data received {"connection_id":190873,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:09:40] local.INFO: Processing buffer {"connection_id":190873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:09:40] local.INFO: IMEI packet received {"connection_id":190873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":190873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:09:41] local.INFO: TCP Data received {"connection_id":190873,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:09:41] local.INFO: Processing buffer {"connection_id":190873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:09:41] local.INFO: Packet analysis {"connection_id":190873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d033"} 
[2026-09-24 03:09:41] local.INFO: Extracted packet for processing {"connection_id":190873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d033"} 
[2026-09-24 03:09:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290973952001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790199418000,"timestamp_ms":1790199418000,"timestamp_seconds":1790199418,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0334c90"} 
[2026-09-24 03:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290973952001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290973952001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:09:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:09:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290973952001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":190873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:09:41] local.INFO: GPS data processed {"connection_id":190873,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:09:41] local.INFO: Acknowledgment sent {"connection_id":190873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:09:45] local.INFO: TCP Data received {"connection_id":190873,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:09:45] local.INFO: Processing buffer {"connection_id":190873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:09:45] local.INFO: Packet analysis {"connection_id":190873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d033"} 
[2026-09-24 03:09:45] local.INFO: Extracted packet for processing {"connection_id":190873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d033"} 
[2026-09-24 03:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290973952001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790199418000,"timestamp_ms":1790199418000,"timestamp_seconds":1790199418,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0334c90"} 
[2026-09-24 03:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":190873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":190873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":190873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290973952001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290973952001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:09:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:09:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290973952001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":190873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:09:45] local.INFO: GPS data processed {"connection_id":190873,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:09:45] local.INFO: Acknowledgment sent {"connection_id":190873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:10:30] local.INFO: TCP Data received {"connection_id":190874,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:10:30] local.INFO: Processing buffer {"connection_id":190874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:10:30] local.INFO: IMEI packet received {"connection_id":190874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":190874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:10:35] local.INFO: TCP Data received {"connection_id":190874,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:10:35] local.INFO: Processing buffer {"connection_id":190874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:10:35] local.INFO: IMEI packet received {"connection_id":190874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":190874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:10:36] local.INFO: TCP Data received {"connection_id":190874,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:10:36] local.INFO: Processing buffer {"connection_id":190874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:10:36] local.INFO: Packet analysis {"connection_id":190874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d033"} 
[2026-09-24 03:10:36] local.INFO: Extracted packet for processing {"connection_id":190874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d033"} 
[2026-09-24 03:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290973952001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790199418000,"timestamp_ms":1790199418000,"timestamp_seconds":1790199418,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0334c90"} 
[2026-09-24 03:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290973952001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290973952001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:10:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290973952001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":190874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:10:36] local.INFO: GPS data processed {"connection_id":190874,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:10:36] local.INFO: Acknowledgment sent {"connection_id":190874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:11:07] local.INFO: TCP Data received {"connection_id":190874,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:11:07] local.INFO: Processing buffer {"connection_id":190874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:11:07] local.INFO: Packet analysis {"connection_id":190874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d033"} 
[2026-09-24 03:11:07] local.INFO: Extracted packet for processing {"connection_id":190874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d033"} 
[2026-09-24 03:11:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290973952001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790199418000,"timestamp_ms":1790199418000,"timestamp_seconds":1790199418,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0334c90"} 
[2026-09-24 03:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290973952001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290973952001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:11:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:11:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290973952001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":190874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:11:07] local.INFO: GPS data processed {"connection_id":190874,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:11:07] local.INFO: Acknowledgment sent {"connection_id":190874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:11:30] local.INFO: TCP Data received {"connection_id":192409,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:11:30] local.INFO: Processing buffer {"connection_id":192409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:11:30] local.INFO: IMEI packet received {"connection_id":192409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":192409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:11:35] local.INFO: TCP Data received {"connection_id":192409,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:11:35] local.INFO: Processing buffer {"connection_id":192409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:11:35] local.INFO: IMEI packet received {"connection_id":192409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":192409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:11:35] local.INFO: TCP Data received {"connection_id":192409,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:11:35] local.INFO: Processing buffer {"connection_id":192409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:11:35] local.INFO: Packet analysis {"connection_id":192409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d033"} 
[2026-09-24 03:11:35] local.INFO: Extracted packet for processing {"connection_id":192409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d033"} 
[2026-09-24 03:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290973952001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790199418000,"timestamp_ms":1790199418000,"timestamp_seconds":1790199418,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0334c90"} 
[2026-09-24 03:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290973952001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290973952001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:11:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:11:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290973952001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":192409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:11:36] local.INFO: GPS data processed {"connection_id":192409,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:11:36] local.INFO: Acknowledgment sent {"connection_id":192409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:12:07] local.INFO: TCP Data received {"connection_id":192409,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:12:07] local.INFO: Processing buffer {"connection_id":192409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:12:07] local.INFO: Packet analysis {"connection_id":192409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d033"} 
[2026-09-24 03:12:07] local.INFO: Extracted packet for processing {"connection_id":192409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d033"} 
[2026-09-24 03:12:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290973952001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790199418000,"timestamp_ms":1790199418000,"timestamp_seconds":1790199418,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0334c90"} 
[2026-09-24 03:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290973952001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290973952001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:12:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:12:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290973952001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":192409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:12:07] local.INFO: GPS data processed {"connection_id":192409,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:12:07] local.INFO: Acknowledgment sent {"connection_id":192409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:12:30] local.INFO: TCP Data received {"connection_id":190875,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:12:30] local.INFO: Processing buffer {"connection_id":190875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:12:30] local.INFO: IMEI packet received {"connection_id":190875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":190875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:12:35] local.INFO: TCP Data received {"connection_id":190875,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:12:35] local.INFO: Processing buffer {"connection_id":190875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:12:35] local.INFO: IMEI packet received {"connection_id":190875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":190875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:12:35] local.INFO: TCP Data received {"connection_id":190875,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:12:35] local.INFO: Processing buffer {"connection_id":190875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0334c90012d34c58006aa4758000b010526..."} 
[2026-09-24 03:12:35] local.INFO: Packet analysis {"connection_id":190875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d033"} 
[2026-09-24 03:12:35] local.INFO: Extracted packet for processing {"connection_id":190875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d033"} 
[2026-09-24 03:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458290973952001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790199418000,"timestamp_ms":1790199418000,"timestamp_seconds":1790199418,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0334c90"} 
[2026-09-24 03:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458290973952001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458290973952001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:12:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:12:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458290973952001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":190875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:12:35] local.INFO: GPS data processed {"connection_id":190875,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:12:35] local.INFO: Acknowledgment sent {"connection_id":190875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:13:07] local.INFO: TCP Data received {"connection_id":190875,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:13:07] local.INFO: Processing buffer {"connection_id":190875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:13:07] local.INFO: Packet analysis {"connection_id":190875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d037"} 
[2026-09-24 03:13:07] local.INFO: Extracted packet for processing {"connection_id":190875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d037"} 
[2026-09-24 03:13:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":30,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291051008001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790199719000,"timestamp_ms":1790199719000,"timestamp_seconds":1790199719,"priority":1,"record_length":96,"hex_timestamp":"000001a0d037e458"} 
[2026-09-24 03:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291051008001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291051008001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:13:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:13:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291051008001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":190875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:13:07] local.INFO: GPS data processed {"connection_id":190875,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:13:07] local.INFO: Acknowledgment sent {"connection_id":190875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:13:35] local.INFO: TCP Data received {"connection_id":191074,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:13:35] local.INFO: Processing buffer {"connection_id":191074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:13:35] local.INFO: IMEI packet received {"connection_id":191074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":191074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:13:40] local.INFO: TCP Data received {"connection_id":191074,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:13:40] local.INFO: Processing buffer {"connection_id":191074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:13:40] local.INFO: IMEI packet received {"connection_id":191074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":191074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:13:40] local.INFO: TCP Data received {"connection_id":191074,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:13:40] local.INFO: Processing buffer {"connection_id":191074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:13:40] local.INFO: Packet analysis {"connection_id":191074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d037"} 
[2026-09-24 03:13:40] local.INFO: Extracted packet for processing {"connection_id":191074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d037"} 
[2026-09-24 03:13:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":30,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291051008001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790199719000,"timestamp_ms":1790199719000,"timestamp_seconds":1790199719,"priority":1,"record_length":96,"hex_timestamp":"000001a0d037e458"} 
[2026-09-24 03:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291051008001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291051008001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:13:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:13:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291051008001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":191074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:13:41] local.INFO: GPS data processed {"connection_id":191074,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:13:41] local.INFO: Acknowledgment sent {"connection_id":191074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:13:46] local.INFO: TCP Data received {"connection_id":191074,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:13:46] local.INFO: Processing buffer {"connection_id":191074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:13:46] local.INFO: Packet analysis {"connection_id":191074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d037"} 
[2026-09-24 03:13:46] local.INFO: Extracted packet for processing {"connection_id":191074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d037"} 
[2026-09-24 03:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":30,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291051008001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790199719000,"timestamp_ms":1790199719000,"timestamp_seconds":1790199719,"priority":1,"record_length":96,"hex_timestamp":"000001a0d037e458"} 
[2026-09-24 03:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291051008001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291051008001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:13:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:13:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291051008001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":191074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:13:46] local.INFO: GPS data processed {"connection_id":191074,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:13:46] local.INFO: Acknowledgment sent {"connection_id":191074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:14:30] local.INFO: TCP Data received {"connection_id":190876,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:14:30] local.INFO: Processing buffer {"connection_id":190876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:14:30] local.INFO: IMEI packet received {"connection_id":190876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":190876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:14:35] local.INFO: TCP Data received {"connection_id":190876,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:14:35] local.INFO: Processing buffer {"connection_id":190876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:14:35] local.INFO: IMEI packet received {"connection_id":190876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":190876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:14:36] local.INFO: TCP Data received {"connection_id":190876,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:14:36] local.INFO: Processing buffer {"connection_id":190876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:14:36] local.INFO: Packet analysis {"connection_id":190876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d037"} 
[2026-09-24 03:14:36] local.INFO: Extracted packet for processing {"connection_id":190876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d037"} 
[2026-09-24 03:14:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":30,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291051008001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790199719000,"timestamp_ms":1790199719000,"timestamp_seconds":1790199719,"priority":1,"record_length":96,"hex_timestamp":"000001a0d037e458"} 
[2026-09-24 03:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291051008001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291051008001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:14:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:14:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291051008001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":190876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:14:36] local.INFO: GPS data processed {"connection_id":190876,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:14:36] local.INFO: Acknowledgment sent {"connection_id":190876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:15:08] local.INFO: TCP Data received {"connection_id":190876,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:15:08] local.INFO: Processing buffer {"connection_id":190876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:15:08] local.INFO: Packet analysis {"connection_id":190876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d037"} 
[2026-09-24 03:15:08] local.INFO: Extracted packet for processing {"connection_id":190876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d037"} 
[2026-09-24 03:15:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":30,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291051008001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790199719000,"timestamp_ms":1790199719000,"timestamp_seconds":1790199719,"priority":1,"record_length":96,"hex_timestamp":"000001a0d037e458"} 
[2026-09-24 03:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291051008001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291051008001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:15:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:15:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291051008001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":190876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:15:08] local.INFO: GPS data processed {"connection_id":190876,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:15:08] local.INFO: Acknowledgment sent {"connection_id":190876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:15:30] local.INFO: TCP Data received {"connection_id":190877,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:15:30] local.INFO: Processing buffer {"connection_id":190877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:15:30] local.INFO: IMEI packet received {"connection_id":190877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":190877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:15:35] local.INFO: TCP Data received {"connection_id":190877,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:15:35] local.INFO: Processing buffer {"connection_id":190877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:15:35] local.INFO: IMEI packet received {"connection_id":190877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":190877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:15:36] local.INFO: TCP Data received {"connection_id":190877,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:15:36] local.INFO: Processing buffer {"connection_id":190877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:15:36] local.INFO: Packet analysis {"connection_id":190877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d037"} 
[2026-09-24 03:15:36] local.INFO: Extracted packet for processing {"connection_id":190877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d037"} 
[2026-09-24 03:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":30,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291051008001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790199719000,"timestamp_ms":1790199719000,"timestamp_seconds":1790199719,"priority":1,"record_length":96,"hex_timestamp":"000001a0d037e458"} 
[2026-09-24 03:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291051008001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291051008001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:15:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291051008001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":190877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:15:36] local.INFO: GPS data processed {"connection_id":190877,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:15:36] local.INFO: Acknowledgment sent {"connection_id":190877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:16:07] local.INFO: TCP Data received {"connection_id":190877,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:16:07] local.INFO: Processing buffer {"connection_id":190877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:16:07] local.INFO: Packet analysis {"connection_id":190877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d037"} 
[2026-09-24 03:16:07] local.INFO: Extracted packet for processing {"connection_id":190877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d037"} 
[2026-09-24 03:16:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":30,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291051008001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790199719000,"timestamp_ms":1790199719000,"timestamp_seconds":1790199719,"priority":1,"record_length":96,"hex_timestamp":"000001a0d037e458"} 
[2026-09-24 03:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291051008001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291051008001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:16:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:16:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291051008001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":190877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:16:07] local.INFO: GPS data processed {"connection_id":190877,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:16:07] local.INFO: Acknowledgment sent {"connection_id":190877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:16:29] local.INFO: TCP Data received {"connection_id":192410,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:16:29] local.INFO: Processing buffer {"connection_id":192410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:16:29] local.INFO: IMEI packet received {"connection_id":192410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":192410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:16:35] local.INFO: TCP Data received {"connection_id":192410,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:16:35] local.INFO: Processing buffer {"connection_id":192410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:16:35] local.INFO: IMEI packet received {"connection_id":192410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":192410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:16:36] local.INFO: TCP Data received {"connection_id":192410,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:16:36] local.INFO: Processing buffer {"connection_id":192410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:16:36] local.INFO: Packet analysis {"connection_id":192410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d037"} 
[2026-09-24 03:16:36] local.INFO: Extracted packet for processing {"connection_id":192410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d037"} 
[2026-09-24 03:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":30,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291051008001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790199719000,"timestamp_ms":1790199719000,"timestamp_seconds":1790199719,"priority":1,"record_length":96,"hex_timestamp":"000001a0d037e458"} 
[2026-09-24 03:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291051008001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291051008001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:16:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:16:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291051008001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":192410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:16:36] local.INFO: GPS data processed {"connection_id":192410,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:16:36] local.INFO: Acknowledgment sent {"connection_id":192410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:17:07] local.INFO: TCP Data received {"connection_id":192410,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:17:07] local.INFO: Processing buffer {"connection_id":192410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:17:07] local.INFO: Packet analysis {"connection_id":192410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d037"} 
[2026-09-24 03:17:07] local.INFO: Extracted packet for processing {"connection_id":192410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d037"} 
[2026-09-24 03:17:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":30,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291051008001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790199719000,"timestamp_ms":1790199719000,"timestamp_seconds":1790199719,"priority":1,"record_length":96,"hex_timestamp":"000001a0d037e458"} 
[2026-09-24 03:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291051008001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291051008001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:17:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:17:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291051008001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":192410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:17:07] local.INFO: GPS data processed {"connection_id":192410,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:17:07] local.INFO: Acknowledgment sent {"connection_id":192410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:17:29] local.INFO: TCP Data received {"connection_id":193758,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:17:29] local.INFO: Processing buffer {"connection_id":193758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:17:29] local.INFO: IMEI packet received {"connection_id":193758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":193758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:17:35] local.INFO: TCP Data received {"connection_id":193758,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:17:35] local.INFO: Processing buffer {"connection_id":193758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:17:35] local.INFO: IMEI packet received {"connection_id":193758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":193758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:17:35] local.INFO: TCP Data received {"connection_id":193758,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:17:35] local.INFO: Processing buffer {"connection_id":193758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d037e458012d34c58006aa4758001e010527..."} 
[2026-09-24 03:17:35] local.INFO: Packet analysis {"connection_id":193758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d037"} 
[2026-09-24 03:17:35] local.INFO: Extracted packet for processing {"connection_id":193758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d037"} 
[2026-09-24 03:17:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":30,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291051008001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790199719000,"timestamp_ms":1790199719000,"timestamp_seconds":1790199719,"priority":1,"record_length":96,"hex_timestamp":"000001a0d037e458"} 
[2026-09-24 03:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291051008001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291051008001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:17:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:17:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291051008001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":193758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:17:35] local.INFO: GPS data processed {"connection_id":193758,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:17:35] local.INFO: Acknowledgment sent {"connection_id":193758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:18:07] local.INFO: TCP Data received {"connection_id":193758,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:18:07] local.INFO: Processing buffer {"connection_id":193758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:18:07] local.INFO: Packet analysis {"connection_id":193758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d03c"} 
[2026-09-24 03:18:07] local.INFO: Extracted packet for processing {"connection_id":193758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d03c"} 
[2026-09-24 03:18:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291128064001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790200020000,"timestamp_ms":1790200020000,"timestamp_seconds":1790200020,"priority":1,"record_length":96,"hex_timestamp":"000001a0d03c7c20"} 
[2026-09-24 03:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 03:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291128064001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291128064001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:18:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:18:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291128064001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":193758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:18:07] local.INFO: GPS data processed {"connection_id":193758,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:18:07] local.INFO: Acknowledgment sent {"connection_id":193758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:18:30] local.INFO: TCP Data received {"connection_id":192411,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:18:30] local.INFO: Processing buffer {"connection_id":192411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:18:30] local.INFO: IMEI packet received {"connection_id":192411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":192411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:18:35] local.INFO: TCP Data received {"connection_id":192411,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:18:35] local.INFO: Processing buffer {"connection_id":192411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:18:35] local.INFO: IMEI packet received {"connection_id":192411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":192411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:18:37] local.INFO: TCP Data received {"connection_id":192411,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:18:37] local.INFO: Processing buffer {"connection_id":192411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:18:37] local.INFO: Packet analysis {"connection_id":192411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d03c"} 
[2026-09-24 03:18:37] local.INFO: Extracted packet for processing {"connection_id":192411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d03c"} 
[2026-09-24 03:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291128064001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790200020000,"timestamp_ms":1790200020000,"timestamp_seconds":1790200020,"priority":1,"record_length":96,"hex_timestamp":"000001a0d03c7c20"} 
[2026-09-24 03:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 03:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291128064001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291128064001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291128064001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":192411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:18:37] local.INFO: GPS data processed {"connection_id":192411,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:18:37] local.INFO: Acknowledgment sent {"connection_id":192411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:19:08] local.INFO: TCP Data received {"connection_id":192411,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:19:08] local.INFO: Processing buffer {"connection_id":192411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:19:08] local.INFO: Packet analysis {"connection_id":192411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d03c"} 
[2026-09-24 03:19:08] local.INFO: Extracted packet for processing {"connection_id":192411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d03c"} 
[2026-09-24 03:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291128064001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790200020000,"timestamp_ms":1790200020000,"timestamp_seconds":1790200020,"priority":1,"record_length":96,"hex_timestamp":"000001a0d03c7c20"} 
[2026-09-24 03:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 03:19:08] 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-09-24 03:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291128064001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291128064001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:19:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:19:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291128064001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":192411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:19:08] local.INFO: GPS data processed {"connection_id":192411,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:19:08] local.INFO: Acknowledgment sent {"connection_id":192411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:19:29] local.INFO: TCP Data received {"connection_id":191075,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:19:29] local.INFO: Processing buffer {"connection_id":191075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:19:29] local.INFO: IMEI packet received {"connection_id":191075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":191075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:19:35] local.INFO: TCP Data received {"connection_id":191075,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:19:35] local.INFO: Processing buffer {"connection_id":191075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:19:35] local.INFO: IMEI packet received {"connection_id":191075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":191075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:19:36] local.INFO: TCP Data received {"connection_id":191075,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:19:36] local.INFO: Processing buffer {"connection_id":191075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:19:36] local.INFO: Packet analysis {"connection_id":191075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d03c"} 
[2026-09-24 03:19:36] local.INFO: Extracted packet for processing {"connection_id":191075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d03c"} 
[2026-09-24 03:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291128064001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790200020000,"timestamp_ms":1790200020000,"timestamp_seconds":1790200020,"priority":1,"record_length":96,"hex_timestamp":"000001a0d03c7c20"} 
[2026-09-24 03:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 03:19:36] 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-09-24 03: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-09-24 03:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291128064001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291128064001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:19:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:19:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291128064001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":191075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:19:36] local.INFO: GPS data processed {"connection_id":191075,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:19:36] local.INFO: Acknowledgment sent {"connection_id":191075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:20:07] local.INFO: TCP Data received {"connection_id":191075,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:20:07] local.INFO: Processing buffer {"connection_id":191075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:20:07] local.INFO: Packet analysis {"connection_id":191075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d03c"} 
[2026-09-24 03:20:07] local.INFO: Extracted packet for processing {"connection_id":191075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d03c"} 
[2026-09-24 03:20:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291128064001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790200020000,"timestamp_ms":1790200020000,"timestamp_seconds":1790200020,"priority":1,"record_length":96,"hex_timestamp":"000001a0d03c7c20"} 
[2026-09-24 03:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 03:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291128064001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291128064001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:20:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:20:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291128064001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":191075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:20:07] local.INFO: GPS data processed {"connection_id":191075,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:20:07] local.INFO: Acknowledgment sent {"connection_id":191075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:20:29] local.INFO: TCP Data received {"connection_id":190878,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:20:29] local.INFO: Processing buffer {"connection_id":190878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:20:29] local.INFO: IMEI packet received {"connection_id":190878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":190878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:20:35] local.INFO: TCP Data received {"connection_id":190878,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:20:35] local.INFO: Processing buffer {"connection_id":190878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:20:35] local.INFO: IMEI packet received {"connection_id":190878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":190878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:20:36] local.INFO: TCP Data received {"connection_id":190878,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:20:36] local.INFO: Processing buffer {"connection_id":190878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:20:36] local.INFO: Packet analysis {"connection_id":190878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d03c"} 
[2026-09-24 03:20:36] local.INFO: Extracted packet for processing {"connection_id":190878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d03c"} 
[2026-09-24 03:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291128064001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790200020000,"timestamp_ms":1790200020000,"timestamp_seconds":1790200020,"priority":1,"record_length":96,"hex_timestamp":"000001a0d03c7c20"} 
[2026-09-24 03:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 03:20:36] 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-09-24 03: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-09-24 03:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291128064001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291128064001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:20:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:20:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291128064001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":190878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:20:36] local.INFO: GPS data processed {"connection_id":190878,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:20:36] local.INFO: Acknowledgment sent {"connection_id":190878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:21:07] local.INFO: TCP Data received {"connection_id":190878,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:21:07] local.INFO: Processing buffer {"connection_id":190878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:21:07] local.INFO: Packet analysis {"connection_id":190878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d03c"} 
[2026-09-24 03:21:07] local.INFO: Extracted packet for processing {"connection_id":190878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d03c"} 
[2026-09-24 03:21:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291128064001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790200020000,"timestamp_ms":1790200020000,"timestamp_seconds":1790200020,"priority":1,"record_length":96,"hex_timestamp":"000001a0d03c7c20"} 
[2026-09-24 03:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 03:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291128064001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291128064001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:21:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:21:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291128064001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":190878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:21:07] local.INFO: GPS data processed {"connection_id":190878,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:21:07] local.INFO: Acknowledgment sent {"connection_id":190878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:21:29] local.INFO: TCP Data received {"connection_id":192412,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:21:29] local.INFO: Processing buffer {"connection_id":192412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:21:29] local.INFO: IMEI packet received {"connection_id":192412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":192412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:21:35] local.INFO: TCP Data received {"connection_id":192412,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:21:35] local.INFO: Processing buffer {"connection_id":192412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:21:35] local.INFO: IMEI packet received {"connection_id":192412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":192412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:21:36] local.INFO: TCP Data received {"connection_id":192412,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:21:36] local.INFO: Processing buffer {"connection_id":192412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:21:36] local.INFO: Packet analysis {"connection_id":192412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d03c"} 
[2026-09-24 03:21:36] local.INFO: Extracted packet for processing {"connection_id":192412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d03c"} 
[2026-09-24 03:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291128064001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790200020000,"timestamp_ms":1790200020000,"timestamp_seconds":1790200020,"priority":1,"record_length":96,"hex_timestamp":"000001a0d03c7c20"} 
[2026-09-24 03:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 03:21:36] 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-09-24 03:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291128064001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291128064001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:21:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:21:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291128064001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":192412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:21:36] local.INFO: GPS data processed {"connection_id":192412,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:21:36] local.INFO: Acknowledgment sent {"connection_id":192412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:22:07] local.INFO: TCP Data received {"connection_id":192412,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:22:07] local.INFO: Processing buffer {"connection_id":192412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d03c7c20012d34c58006aa47580014010527..."} 
[2026-09-24 03:22:07] local.INFO: Packet analysis {"connection_id":192412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d03c"} 
[2026-09-24 03:22:07] local.INFO: Extracted packet for processing {"connection_id":192412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d03c"} 
[2026-09-24 03:22:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291128064001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790200020000,"timestamp_ms":1790200020000,"timestamp_seconds":1790200020,"priority":1,"record_length":96,"hex_timestamp":"000001a0d03c7c20"} 
[2026-09-24 03:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 03:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291128064001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291128064001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:22:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:22:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291128064001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":192412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:22:07] local.INFO: GPS data processed {"connection_id":192412,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:22:07] local.INFO: Acknowledgment sent {"connection_id":192412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:22:35] local.INFO: TCP Data received {"connection_id":191076,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:22:35] local.INFO: Processing buffer {"connection_id":191076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:22:35] local.INFO: IMEI packet received {"connection_id":191076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":191076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:22:39] local.INFO: TCP Data received {"connection_id":191076,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:22:39] local.INFO: Processing buffer {"connection_id":191076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:22:39] local.INFO: IMEI packet received {"connection_id":191076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":191076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:22:40] local.INFO: TCP Data received {"connection_id":191076,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:22:40] local.INFO: Processing buffer {"connection_id":191076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:22:40] local.INFO: Packet analysis {"connection_id":191076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d041"} 
[2026-09-24 03:22:40] local.INFO: Extracted packet for processing {"connection_id":191076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d041"} 
[2026-09-24 03:22:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291205120001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790200321000,"timestamp_ms":1790200321000,"timestamp_seconds":1790200321,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04113e8"} 
[2026-09-24 03:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 03:22:40] 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-09-24 03:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291205120001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291205120001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:22:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:22:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291205120001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":191076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:22:40] local.INFO: GPS data processed {"connection_id":191076,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:22:40] local.INFO: Acknowledgment sent {"connection_id":191076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:22:43] local.INFO: TCP Data received {"connection_id":191076,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:22:43] local.INFO: Processing buffer {"connection_id":191076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:22:43] local.INFO: Packet analysis {"connection_id":191076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d041"} 
[2026-09-24 03:22:43] local.INFO: Extracted packet for processing {"connection_id":191076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d041"} 
[2026-09-24 03:22:43] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291205120001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790200321000,"timestamp_ms":1790200321000,"timestamp_seconds":1790200321,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04113e8"} 
[2026-09-24 03:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 03:22:43] 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-09-24 03:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291205120001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291205120001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:22:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:22:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291205120001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":191076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:22:43] local.INFO: GPS data processed {"connection_id":191076,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:22:43] local.INFO: Acknowledgment sent {"connection_id":191076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:23:15] local.INFO: TCP Data received {"connection_id":191076,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:23:15] local.INFO: Processing buffer {"connection_id":191076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:23:15] local.INFO: Packet analysis {"connection_id":191076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d041"} 
[2026-09-24 03:23:15] local.INFO: Extracted packet for processing {"connection_id":191076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d041"} 
[2026-09-24 03:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291205120001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790200321000,"timestamp_ms":1790200321000,"timestamp_seconds":1790200321,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04113e8"} 
[2026-09-24 03:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 03:23:15] 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-09-24 03:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291205120001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291205120001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291205120001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":191076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:23:15] local.INFO: GPS data processed {"connection_id":191076,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:23:15] local.INFO: Acknowledgment sent {"connection_id":191076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:23:29] local.INFO: TCP Data received {"connection_id":192413,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:23:29] local.INFO: Processing buffer {"connection_id":192413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:23:29] local.INFO: IMEI packet received {"connection_id":192413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":192413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:23:35] local.INFO: TCP Data received {"connection_id":192413,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:23:35] local.INFO: Processing buffer {"connection_id":192413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:23:35] local.INFO: IMEI packet received {"connection_id":192413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":192413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:23:35] local.INFO: TCP Data received {"connection_id":192413,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:23:35] local.INFO: Processing buffer {"connection_id":192413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:23:35] local.INFO: Packet analysis {"connection_id":192413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d041"} 
[2026-09-24 03:23:35] local.INFO: Extracted packet for processing {"connection_id":192413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d041"} 
[2026-09-24 03:23:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291205120001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790200321000,"timestamp_ms":1790200321000,"timestamp_seconds":1790200321,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04113e8"} 
[2026-09-24 03:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 03:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291205120001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291205120001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:23:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:23:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291205120001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":192413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:23:36] local.INFO: GPS data processed {"connection_id":192413,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:23:36] local.INFO: Acknowledgment sent {"connection_id":192413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:24:07] local.INFO: TCP Data received {"connection_id":192413,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:24:07] local.INFO: Processing buffer {"connection_id":192413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:24:07] local.INFO: Packet analysis {"connection_id":192413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d041"} 
[2026-09-24 03:24:07] local.INFO: Extracted packet for processing {"connection_id":192413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d041"} 
[2026-09-24 03:24:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291205120001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790200321000,"timestamp_ms":1790200321000,"timestamp_seconds":1790200321,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04113e8"} 
[2026-09-24 03:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 03:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291205120001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291205120001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:24:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:24:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291205120001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":192413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:24:07] local.INFO: GPS data processed {"connection_id":192413,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:24:07] local.INFO: Acknowledgment sent {"connection_id":192413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:24:29] local.INFO: TCP Data received {"connection_id":193759,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:24:29] local.INFO: Processing buffer {"connection_id":193759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:24:29] local.INFO: IMEI packet received {"connection_id":193759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":193759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:24:35] local.INFO: TCP Data received {"connection_id":193759,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:24:35] local.INFO: Processing buffer {"connection_id":193759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:24:35] local.INFO: IMEI packet received {"connection_id":193759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":193759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:24:36] local.INFO: TCP Data received {"connection_id":193759,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:24:36] local.INFO: Processing buffer {"connection_id":193759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:24:36] local.INFO: Packet analysis {"connection_id":193759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d041"} 
[2026-09-24 03:24:36] local.INFO: Extracted packet for processing {"connection_id":193759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d041"} 
[2026-09-24 03:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291205120001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790200321000,"timestamp_ms":1790200321000,"timestamp_seconds":1790200321,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04113e8"} 
[2026-09-24 03:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 03:24:36] 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-09-24 03: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-09-24 03:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291205120001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291205120001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:24:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:24:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291205120001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":193759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:24:36] local.INFO: GPS data processed {"connection_id":193759,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:24:36] local.INFO: Acknowledgment sent {"connection_id":193759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:25:08] local.INFO: TCP Data received {"connection_id":193759,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:25:08] local.INFO: Processing buffer {"connection_id":193759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:25:08] local.INFO: Packet analysis {"connection_id":193759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d041"} 
[2026-09-24 03:25:08] local.INFO: Extracted packet for processing {"connection_id":193759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d041"} 
[2026-09-24 03:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291205120001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790200321000,"timestamp_ms":1790200321000,"timestamp_seconds":1790200321,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04113e8"} 
[2026-09-24 03:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 03:25:08] 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-09-24 03:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291205120001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291205120001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:25:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:25:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291205120001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":193759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:25:08] local.INFO: GPS data processed {"connection_id":193759,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:25:08] local.INFO: Acknowledgment sent {"connection_id":193759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:25:29] local.INFO: TCP Data received {"connection_id":192414,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:25:29] local.INFO: Processing buffer {"connection_id":192414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:25:29] local.INFO: IMEI packet received {"connection_id":192414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":192414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:25:35] local.INFO: TCP Data received {"connection_id":192414,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:25:35] local.INFO: Processing buffer {"connection_id":192414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:25:35] local.INFO: IMEI packet received {"connection_id":192414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":192414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:25:35] local.INFO: TCP Data received {"connection_id":192414,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:25:35] local.INFO: Processing buffer {"connection_id":192414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:25:35] local.INFO: Packet analysis {"connection_id":192414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d041"} 
[2026-09-24 03:25:35] local.INFO: Extracted packet for processing {"connection_id":192414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d041"} 
[2026-09-24 03:25:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291205120001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790200321000,"timestamp_ms":1790200321000,"timestamp_seconds":1790200321,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04113e8"} 
[2026-09-24 03:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 03:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291205120001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291205120001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:25:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:25:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291205120001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":192414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:25:36] local.INFO: GPS data processed {"connection_id":192414,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:25:36] local.INFO: Acknowledgment sent {"connection_id":192414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:26:09] local.INFO: TCP Data received {"connection_id":192414,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:26:09] local.INFO: Processing buffer {"connection_id":192414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:26:09] local.INFO: Packet analysis {"connection_id":192414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d041"} 
[2026-09-24 03:26:09] local.INFO: Extracted packet for processing {"connection_id":192414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d041"} 
[2026-09-24 03:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291205120001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790200321000,"timestamp_ms":1790200321000,"timestamp_seconds":1790200321,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04113e8"} 
[2026-09-24 03:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 03:26:09] 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-09-24 03:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291205120001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291205120001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291205120001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":192414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:26:09] local.INFO: GPS data processed {"connection_id":192414,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:26:09] local.INFO: Acknowledgment sent {"connection_id":192414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:26:29] local.INFO: TCP Data received {"connection_id":190879,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:26:29] local.INFO: Processing buffer {"connection_id":190879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:26:29] local.INFO: IMEI packet received {"connection_id":190879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":190879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:26:35] local.INFO: TCP Data received {"connection_id":190879,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:26:35] local.INFO: Processing buffer {"connection_id":190879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:26:35] local.INFO: IMEI packet received {"connection_id":190879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":190879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:26:36] local.INFO: TCP Data received {"connection_id":190879,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:26:36] local.INFO: Processing buffer {"connection_id":190879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:26:36] local.INFO: Packet analysis {"connection_id":190879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d041"} 
[2026-09-24 03:26:36] local.INFO: Extracted packet for processing {"connection_id":190879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d041"} 
[2026-09-24 03:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291205120001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790200321000,"timestamp_ms":1790200321000,"timestamp_seconds":1790200321,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04113e8"} 
[2026-09-24 03:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 03:26:36] 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-09-24 03:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291205120001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291205120001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:26:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:26:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291205120001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":190879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:26:36] local.INFO: GPS data processed {"connection_id":190879,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:26:36] local.INFO: Acknowledgment sent {"connection_id":190879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:27:07] local.INFO: TCP Data received {"connection_id":190879,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:27:07] local.INFO: Processing buffer {"connection_id":190879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04113e8012d34c58006aa47580014010528..."} 
[2026-09-24 03:27:07] local.INFO: Packet analysis {"connection_id":190879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d041"} 
[2026-09-24 03:27:07] local.INFO: Extracted packet for processing {"connection_id":190879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d041"} 
[2026-09-24 03:27:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291205120001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790200321000,"timestamp_ms":1790200321000,"timestamp_seconds":1790200321,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04113e8"} 
[2026-09-24 03:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 03:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291205120001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291205120001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:27:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:27:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291205120001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":190879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:27:07] local.INFO: GPS data processed {"connection_id":190879,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:27:07] local.INFO: Acknowledgment sent {"connection_id":190879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:27:35] local.INFO: TCP Data received {"connection_id":192415,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:27:35] local.INFO: Processing buffer {"connection_id":192415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:27:35] local.INFO: IMEI packet received {"connection_id":192415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":192415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:27:40] local.INFO: TCP Data received {"connection_id":192415,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:27:40] local.INFO: Processing buffer {"connection_id":192415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:27:40] local.INFO: IMEI packet received {"connection_id":192415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":192415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:27:41] local.INFO: TCP Data received {"connection_id":192415,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:27:41] local.INFO: Processing buffer {"connection_id":192415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:27:41] local.INFO: Packet analysis {"connection_id":192415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:27:41] local.INFO: Extracted packet for processing {"connection_id":192415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:27:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291282176001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790200622000,"timestamp_ms":1790200622000,"timestamp_seconds":1790200622,"priority":1,"record_length":96,"hex_timestamp":"000001a0d045abb0"} 
[2026-09-24 03:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291282176001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291282176001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:27:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:27:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291282176001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":192415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:27:41] local.INFO: GPS data processed {"connection_id":192415,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:27:41] local.INFO: Acknowledgment sent {"connection_id":192415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:27:42] local.INFO: TCP Data received {"connection_id":192415,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:27:42] local.INFO: Processing buffer {"connection_id":192415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:27:42] local.INFO: Packet analysis {"connection_id":192415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:27:42] local.INFO: Extracted packet for processing {"connection_id":192415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:27:42] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291282176001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790200622000,"timestamp_ms":1790200622000,"timestamp_seconds":1790200622,"priority":1,"record_length":96,"hex_timestamp":"000001a0d045abb0"} 
[2026-09-24 03:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291282176001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291282176001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:27:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:27:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291282176001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":192415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:27:42] local.INFO: GPS data processed {"connection_id":192415,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:27:42] local.INFO: Acknowledgment sent {"connection_id":192415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:28:13] local.INFO: TCP Data received {"connection_id":192415,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:28:13] local.INFO: Processing buffer {"connection_id":192415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:28:13] local.INFO: Packet analysis {"connection_id":192415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:28:13] local.INFO: Extracted packet for processing {"connection_id":192415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:28:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291282176001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790200622000,"timestamp_ms":1790200622000,"timestamp_seconds":1790200622,"priority":1,"record_length":96,"hex_timestamp":"000001a0d045abb0"} 
[2026-09-24 03:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291282176001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291282176001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:28:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:28:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291282176001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":192415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:28:13] local.INFO: GPS data processed {"connection_id":192415,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:28:13] local.INFO: Acknowledgment sent {"connection_id":192415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:28:30] local.INFO: TCP Data received {"connection_id":193760,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:28:30] local.INFO: Processing buffer {"connection_id":193760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:28:30] local.INFO: IMEI packet received {"connection_id":193760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":193760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:28:35] local.INFO: TCP Data received {"connection_id":193760,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:28:35] local.INFO: Processing buffer {"connection_id":193760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:28:35] local.INFO: IMEI packet received {"connection_id":193760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":193760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:28:36] local.INFO: TCP Data received {"connection_id":193760,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:28:36] local.INFO: Processing buffer {"connection_id":193760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:28:36] local.INFO: Packet analysis {"connection_id":193760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:28:36] local.INFO: Extracted packet for processing {"connection_id":193760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:28:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291282176001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790200622000,"timestamp_ms":1790200622000,"timestamp_seconds":1790200622,"priority":1,"record_length":96,"hex_timestamp":"000001a0d045abb0"} 
[2026-09-24 03:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291282176001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291282176001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:28:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:28:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291282176001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":193760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:28:36] local.INFO: GPS data processed {"connection_id":193760,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:28:36] local.INFO: Acknowledgment sent {"connection_id":193760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:29:07] local.INFO: TCP Data received {"connection_id":193760,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:29:07] local.INFO: Processing buffer {"connection_id":193760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:29:07] local.INFO: Packet analysis {"connection_id":193760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:29:07] local.INFO: Extracted packet for processing {"connection_id":193760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:29:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291282176001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790200622000,"timestamp_ms":1790200622000,"timestamp_seconds":1790200622,"priority":1,"record_length":96,"hex_timestamp":"000001a0d045abb0"} 
[2026-09-24 03:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291282176001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291282176001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:29:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:29:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291282176001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":193760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:29:07] local.INFO: GPS data processed {"connection_id":193760,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:29:07] local.INFO: Acknowledgment sent {"connection_id":193760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:29:29] local.INFO: TCP Data received {"connection_id":191077,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:29:29] local.INFO: Processing buffer {"connection_id":191077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:29:29] local.INFO: IMEI packet received {"connection_id":191077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":191077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:29:35] local.INFO: TCP Data received {"connection_id":191077,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:29:35] local.INFO: Processing buffer {"connection_id":191077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:29:35] local.INFO: IMEI packet received {"connection_id":191077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":191077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:29:35] local.INFO: TCP Data received {"connection_id":191077,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:29:35] local.INFO: Processing buffer {"connection_id":191077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:29:35] local.INFO: Packet analysis {"connection_id":191077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:29:35] local.INFO: Extracted packet for processing {"connection_id":191077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291282176001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790200622000,"timestamp_ms":1790200622000,"timestamp_seconds":1790200622,"priority":1,"record_length":96,"hex_timestamp":"000001a0d045abb0"} 
[2026-09-24 03:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291282176001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291282176001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:29:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:29:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291282176001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":191077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:29:35] local.INFO: GPS data processed {"connection_id":191077,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:29:35] local.INFO: Acknowledgment sent {"connection_id":191077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:30:07] local.INFO: TCP Data received {"connection_id":191077,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:30:07] local.INFO: Processing buffer {"connection_id":191077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:30:07] local.INFO: Packet analysis {"connection_id":191077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:30:07] local.INFO: Extracted packet for processing {"connection_id":191077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:30:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291282176001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790200622000,"timestamp_ms":1790200622000,"timestamp_seconds":1790200622,"priority":1,"record_length":96,"hex_timestamp":"000001a0d045abb0"} 
[2026-09-24 03:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291282176001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291282176001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:30:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:30:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291282176001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":191077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:30:07] local.INFO: GPS data processed {"connection_id":191077,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:30:07] local.INFO: Acknowledgment sent {"connection_id":191077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:30:29] local.INFO: TCP Data received {"connection_id":193761,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:30:29] local.INFO: Processing buffer {"connection_id":193761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:30:29] local.INFO: IMEI packet received {"connection_id":193761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":193761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:30:35] local.INFO: TCP Data received {"connection_id":193761,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:30:35] local.INFO: Processing buffer {"connection_id":193761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:30:35] local.INFO: IMEI packet received {"connection_id":193761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":193761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:30:36] local.INFO: TCP Data received {"connection_id":193761,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:30:36] local.INFO: Processing buffer {"connection_id":193761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:30:36] local.INFO: Packet analysis {"connection_id":193761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:30:36] local.INFO: Extracted packet for processing {"connection_id":193761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291282176001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790200622000,"timestamp_ms":1790200622000,"timestamp_seconds":1790200622,"priority":1,"record_length":96,"hex_timestamp":"000001a0d045abb0"} 
[2026-09-24 03:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291282176001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291282176001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:30:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:30:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291282176001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":193761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:30:36] local.INFO: GPS data processed {"connection_id":193761,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:30:36] local.INFO: Acknowledgment sent {"connection_id":193761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:31:07] local.INFO: TCP Data received {"connection_id":193761,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:31:07] local.INFO: Processing buffer {"connection_id":193761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:31:07] local.INFO: Packet analysis {"connection_id":193761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:31:07] local.INFO: Extracted packet for processing {"connection_id":193761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291282176001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790200622000,"timestamp_ms":1790200622000,"timestamp_seconds":1790200622,"priority":1,"record_length":96,"hex_timestamp":"000001a0d045abb0"} 
[2026-09-24 03:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291282176001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291282176001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:31:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:31:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291282176001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":193761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:31:07] local.INFO: GPS data processed {"connection_id":193761,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:31:07] local.INFO: Acknowledgment sent {"connection_id":193761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:31:35] local.INFO: TCP Data received {"connection_id":193762,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:31:35] local.INFO: Processing buffer {"connection_id":193762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:31:35] local.INFO: IMEI packet received {"connection_id":193762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":193762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:31:36] local.INFO: TCP Data received {"connection_id":193762,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:31:36] local.INFO: Processing buffer {"connection_id":193762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:31:36] local.INFO: Packet analysis {"connection_id":193762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:31:36] local.INFO: Extracted packet for processing {"connection_id":193762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:31:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291282176001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790200622000,"timestamp_ms":1790200622000,"timestamp_seconds":1790200622,"priority":1,"record_length":96,"hex_timestamp":"000001a0d045abb0"} 
[2026-09-24 03:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291282176001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291282176001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:31:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:31:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291282176001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":193762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:31:36] local.INFO: GPS data processed {"connection_id":193762,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:31:36] local.INFO: Acknowledgment sent {"connection_id":193762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:32:08] local.INFO: TCP Data received {"connection_id":193762,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:32:08] local.INFO: Processing buffer {"connection_id":193762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:32:08] local.INFO: Packet analysis {"connection_id":193762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:32:08] local.INFO: Extracted packet for processing {"connection_id":193762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291282176001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790200622000,"timestamp_ms":1790200622000,"timestamp_seconds":1790200622,"priority":1,"record_length":96,"hex_timestamp":"000001a0d045abb0"} 
[2026-09-24 03:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291282176001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291282176001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:32:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:32:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291282176001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":193762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:32:08] local.INFO: GPS data processed {"connection_id":193762,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:32:08] local.INFO: Acknowledgment sent {"connection_id":193762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:32:30] local.INFO: TCP Data received {"connection_id":193763,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:32:30] local.INFO: Processing buffer {"connection_id":193763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:32:30] local.INFO: IMEI packet received {"connection_id":193763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":193763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:32:35] local.INFO: TCP Data received {"connection_id":193763,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:32:35] local.INFO: Processing buffer {"connection_id":193763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:32:35] local.INFO: IMEI packet received {"connection_id":193763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":193763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:32:35] local.INFO: TCP Data received {"connection_id":193763,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:32:35] local.INFO: Processing buffer {"connection_id":193763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:32:35] local.INFO: Packet analysis {"connection_id":193763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:32:35] local.INFO: Extracted packet for processing {"connection_id":193763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291282176001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790200622000,"timestamp_ms":1790200622000,"timestamp_seconds":1790200622,"priority":1,"record_length":96,"hex_timestamp":"000001a0d045abb0"} 
[2026-09-24 03:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291282176001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291282176001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:32:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:32:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291282176001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":193763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:32:35] local.INFO: GPS data processed {"connection_id":193763,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:32:35] local.INFO: Acknowledgment sent {"connection_id":193763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:32:40] local.INFO: TCP Data received {"connection_id":193763,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:32:40] local.INFO: Processing buffer {"connection_id":193763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d045abb0012d34c58006aa47580014010526..."} 
[2026-09-24 03:32:40] local.INFO: Packet analysis {"connection_id":193763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:32:40] local.INFO: Extracted packet for processing {"connection_id":193763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d045"} 
[2026-09-24 03:32:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291282176001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790200622000,"timestamp_ms":1790200622000,"timestamp_seconds":1790200622,"priority":1,"record_length":96,"hex_timestamp":"000001a0d045abb0"} 
[2026-09-24 03:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291282176001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291282176001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:32:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:32:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291282176001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":193763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:32:40] local.INFO: GPS data processed {"connection_id":193763,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:32:40] local.INFO: Acknowledgment sent {"connection_id":193763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:33:12] local.INFO: TCP Data received {"connection_id":193763,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:33:12] local.INFO: Processing buffer {"connection_id":193763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:33:12] local.INFO: Packet analysis {"connection_id":193763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d04a"} 
[2026-09-24 03:33:12] local.INFO: Extracted packet for processing {"connection_id":193763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d04a"} 
[2026-09-24 03:33:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291359232001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790200923000,"timestamp_ms":1790200923000,"timestamp_seconds":1790200923,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04a4378"} 
[2026-09-24 03:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291359232001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291359232001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:33:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:33:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291359232001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":193763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:33:12] local.INFO: GPS data processed {"connection_id":193763,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:33:12] local.INFO: Acknowledgment sent {"connection_id":193763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:33:29] local.INFO: TCP Data received {"connection_id":190880,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:33:29] local.INFO: Processing buffer {"connection_id":190880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:33:29] local.INFO: IMEI packet received {"connection_id":190880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":190880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:33:35] local.INFO: TCP Data received {"connection_id":190880,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:33:35] local.INFO: Processing buffer {"connection_id":190880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:33:35] local.INFO: IMEI packet received {"connection_id":190880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":190880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:33:36] local.INFO: TCP Data received {"connection_id":190880,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:33:36] local.INFO: Processing buffer {"connection_id":190880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:33:36] local.INFO: Packet analysis {"connection_id":190880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d04a"} 
[2026-09-24 03:33:36] local.INFO: Extracted packet for processing {"connection_id":190880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d04a"} 
[2026-09-24 03:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291359232001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790200923000,"timestamp_ms":1790200923000,"timestamp_seconds":1790200923,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04a4378"} 
[2026-09-24 03:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291359232001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291359232001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:33:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:33:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291359232001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":190880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:33:36] local.INFO: GPS data processed {"connection_id":190880,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:33:36] local.INFO: Acknowledgment sent {"connection_id":190880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:34:07] local.INFO: TCP Data received {"connection_id":190880,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:34:07] local.INFO: Processing buffer {"connection_id":190880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:34:07] local.INFO: Packet analysis {"connection_id":190880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d04a"} 
[2026-09-24 03:34:07] local.INFO: Extracted packet for processing {"connection_id":190880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d04a"} 
[2026-09-24 03:34:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291359232001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790200923000,"timestamp_ms":1790200923000,"timestamp_seconds":1790200923,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04a4378"} 
[2026-09-24 03:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291359232001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291359232001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:34:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:34:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291359232001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":190880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:34:07] local.INFO: GPS data processed {"connection_id":190880,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:34:07] local.INFO: Acknowledgment sent {"connection_id":190880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:34:29] local.INFO: TCP Data received {"connection_id":190881,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:34:29] local.INFO: Processing buffer {"connection_id":190881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:34:29] local.INFO: IMEI packet received {"connection_id":190881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":190881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:34:35] local.INFO: TCP Data received {"connection_id":190881,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:34:35] local.INFO: Processing buffer {"connection_id":190881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:34:35] local.INFO: IMEI packet received {"connection_id":190881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":190881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:34:35] local.INFO: TCP Data received {"connection_id":190881,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:34:35] local.INFO: Processing buffer {"connection_id":190881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:34:35] local.INFO: Packet analysis {"connection_id":190881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d04a"} 
[2026-09-24 03:34:35] local.INFO: Extracted packet for processing {"connection_id":190881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d04a"} 
[2026-09-24 03:34:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291359232001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790200923000,"timestamp_ms":1790200923000,"timestamp_seconds":1790200923,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04a4378"} 
[2026-09-24 03:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291359232001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291359232001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:34:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:34:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291359232001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":190881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:34:35] local.INFO: GPS data processed {"connection_id":190881,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:34:35] local.INFO: Acknowledgment sent {"connection_id":190881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:35:07] local.INFO: TCP Data received {"connection_id":190881,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:35:07] local.INFO: Processing buffer {"connection_id":190881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:35:07] local.INFO: Packet analysis {"connection_id":190881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d04a"} 
[2026-09-24 03:35:07] local.INFO: Extracted packet for processing {"connection_id":190881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d04a"} 
[2026-09-24 03:35:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291359232001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790200923000,"timestamp_ms":1790200923000,"timestamp_seconds":1790200923,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04a4378"} 
[2026-09-24 03:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291359232001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291359232001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:35:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:35:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291359232001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":190881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:35:07] local.INFO: GPS data processed {"connection_id":190881,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:35:07] local.INFO: Acknowledgment sent {"connection_id":190881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:35:29] local.INFO: TCP Data received {"connection_id":191078,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:35:29] local.INFO: Processing buffer {"connection_id":191078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:35:29] local.INFO: IMEI packet received {"connection_id":191078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":191078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:35:35] local.INFO: TCP Data received {"connection_id":191078,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:35:35] local.INFO: Processing buffer {"connection_id":191078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:35:35] local.INFO: IMEI packet received {"connection_id":191078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":191078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:35:37] local.INFO: TCP Data received {"connection_id":191078,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:35:37] local.INFO: Processing buffer {"connection_id":191078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:35:37] local.INFO: Packet analysis {"connection_id":191078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d04a"} 
[2026-09-24 03:35:37] local.INFO: Extracted packet for processing {"connection_id":191078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d04a"} 
[2026-09-24 03:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291359232001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790200923000,"timestamp_ms":1790200923000,"timestamp_seconds":1790200923,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04a4378"} 
[2026-09-24 03:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291359232001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291359232001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:35:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291359232001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":191078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:35:37] local.INFO: GPS data processed {"connection_id":191078,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:35:37] local.INFO: Acknowledgment sent {"connection_id":191078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:36:08] local.INFO: TCP Data received {"connection_id":191078,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:36:08] local.INFO: Processing buffer {"connection_id":191078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:36:08] local.INFO: Packet analysis {"connection_id":191078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d04a"} 
[2026-09-24 03:36:08] local.INFO: Extracted packet for processing {"connection_id":191078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d04a"} 
[2026-09-24 03:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291359232001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790200923000,"timestamp_ms":1790200923000,"timestamp_seconds":1790200923,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04a4378"} 
[2026-09-24 03:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291359232001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291359232001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:36:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291359232001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":191078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:36:08] local.INFO: GPS data processed {"connection_id":191078,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:36:08] local.INFO: Acknowledgment sent {"connection_id":191078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:36:35] local.INFO: TCP Data received {"connection_id":190882,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:36:35] local.INFO: Processing buffer {"connection_id":190882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:36:35] local.INFO: IMEI packet received {"connection_id":190882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":190882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:36:40] local.INFO: TCP Data received {"connection_id":190882,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:36:40] local.INFO: Processing buffer {"connection_id":190882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:36:40] local.INFO: IMEI packet received {"connection_id":190882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":190882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:36:41] local.INFO: TCP Data received {"connection_id":190882,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:36:41] local.INFO: Processing buffer {"connection_id":190882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:36:41] local.INFO: Packet analysis {"connection_id":190882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d04a"} 
[2026-09-24 03:36:41] local.INFO: Extracted packet for processing {"connection_id":190882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d04a"} 
[2026-09-24 03:36:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291359232001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790200923000,"timestamp_ms":1790200923000,"timestamp_seconds":1790200923,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04a4378"} 
[2026-09-24 03:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291359232001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291359232001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:36:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:36:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291359232001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":190882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:36:41] local.INFO: GPS data processed {"connection_id":190882,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:36:41] local.INFO: Acknowledgment sent {"connection_id":190882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:36:45] local.INFO: TCP Data received {"connection_id":190882,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:36:45] local.INFO: Processing buffer {"connection_id":190882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:36:45] local.INFO: Packet analysis {"connection_id":190882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d04a"} 
[2026-09-24 03:36:45] local.INFO: Extracted packet for processing {"connection_id":190882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d04a"} 
[2026-09-24 03:36:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291359232001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790200923000,"timestamp_ms":1790200923000,"timestamp_seconds":1790200923,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04a4378"} 
[2026-09-24 03:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":190882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":190882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":190882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291359232001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291359232001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:36:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:36:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291359232001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":190882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:36:45] local.INFO: GPS data processed {"connection_id":190882,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:36:45] local.INFO: Acknowledgment sent {"connection_id":190882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:37:30] local.INFO: TCP Data received {"connection_id":193764,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:37:30] local.INFO: Processing buffer {"connection_id":193764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:37:30] local.INFO: IMEI packet received {"connection_id":193764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":193764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:37:35] local.INFO: TCP Data received {"connection_id":193764,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:37:35] local.INFO: Processing buffer {"connection_id":193764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:37:35] local.INFO: IMEI packet received {"connection_id":193764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":193764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:37:36] local.INFO: TCP Data received {"connection_id":193764,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:37:36] local.INFO: Processing buffer {"connection_id":193764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04a4378012d34c58006aa4758001401052a..."} 
[2026-09-24 03:37:36] local.INFO: Packet analysis {"connection_id":193764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d04a"} 
[2026-09-24 03:37:36] local.INFO: Extracted packet for processing {"connection_id":193764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d04a"} 
[2026-09-24 03:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291359232001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790200923000,"timestamp_ms":1790200923000,"timestamp_seconds":1790200923,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04a4378"} 
[2026-09-24 03:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291359232001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291359232001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:37:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:37:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291359232001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":193764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:37:36] local.INFO: GPS data processed {"connection_id":193764,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:37:36] local.INFO: Acknowledgment sent {"connection_id":193764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:38:07] local.INFO: TCP Data received {"connection_id":193764,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:38:07] local.INFO: Processing buffer {"connection_id":193764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:38:07] local.INFO: Packet analysis {"connection_id":193764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d04e"} 
[2026-09-24 03:38:07] local.INFO: Extracted packet for processing {"connection_id":193764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d04e"} 
[2026-09-24 03:38:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291436288001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790201224000,"timestamp_ms":1790201224000,"timestamp_seconds":1790201224,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04edb40"} 
[2026-09-24 03:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 03:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291436288001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291436288001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:38:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:38:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291436288001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":193764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:38:07] local.INFO: GPS data processed {"connection_id":193764,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:38:07] local.INFO: Acknowledgment sent {"connection_id":193764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:38:29] local.INFO: TCP Data received {"connection_id":192416,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:38:29] local.INFO: Processing buffer {"connection_id":192416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:38:29] local.INFO: IMEI packet received {"connection_id":192416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":192416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:38:35] local.INFO: TCP Data received {"connection_id":192416,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:38:35] local.INFO: Processing buffer {"connection_id":192416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:38:35] local.INFO: IMEI packet received {"connection_id":192416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":192416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:38:36] local.INFO: TCP Data received {"connection_id":192416,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:38:36] local.INFO: Processing buffer {"connection_id":192416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:38:36] local.INFO: Packet analysis {"connection_id":192416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d04e"} 
[2026-09-24 03:38:36] local.INFO: Extracted packet for processing {"connection_id":192416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d04e"} 
[2026-09-24 03:38:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291436288001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790201224000,"timestamp_ms":1790201224000,"timestamp_seconds":1790201224,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04edb40"} 
[2026-09-24 03:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 03:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291436288001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291436288001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:38:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:38:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291436288001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":192416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:38:36] local.INFO: GPS data processed {"connection_id":192416,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:38:36] local.INFO: Acknowledgment sent {"connection_id":192416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:39:07] local.INFO: TCP Data received {"connection_id":192416,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:39:07] local.INFO: Processing buffer {"connection_id":192416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:39:07] local.INFO: Packet analysis {"connection_id":192416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d04e"} 
[2026-09-24 03:39:07] local.INFO: Extracted packet for processing {"connection_id":192416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d04e"} 
[2026-09-24 03:39:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291436288001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790201224000,"timestamp_ms":1790201224000,"timestamp_seconds":1790201224,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04edb40"} 
[2026-09-24 03:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 03:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291436288001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291436288001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:39:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:39:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291436288001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":192416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:39:07] local.INFO: GPS data processed {"connection_id":192416,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:39:07] local.INFO: Acknowledgment sent {"connection_id":192416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:39:29] local.INFO: TCP Data received {"connection_id":191079,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:39:29] local.INFO: Processing buffer {"connection_id":191079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:39:29] local.INFO: IMEI packet received {"connection_id":191079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":191079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:39:35] local.INFO: TCP Data received {"connection_id":191079,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:39:35] local.INFO: Processing buffer {"connection_id":191079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:39:35] local.INFO: IMEI packet received {"connection_id":191079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":191079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:39:36] local.INFO: TCP Data received {"connection_id":191079,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:39:36] local.INFO: Processing buffer {"connection_id":191079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:39:36] local.INFO: Packet analysis {"connection_id":191079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d04e"} 
[2026-09-24 03:39:36] local.INFO: Extracted packet for processing {"connection_id":191079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d04e"} 
[2026-09-24 03:39:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291436288001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790201224000,"timestamp_ms":1790201224000,"timestamp_seconds":1790201224,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04edb40"} 
[2026-09-24 03:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 03:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291436288001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291436288001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:39:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:39:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291436288001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":191079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:39:36] local.INFO: GPS data processed {"connection_id":191079,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:39:36] local.INFO: Acknowledgment sent {"connection_id":191079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:40:07] local.INFO: TCP Data received {"connection_id":191079,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:40:07] local.INFO: Processing buffer {"connection_id":191079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:40:07] local.INFO: Packet analysis {"connection_id":191079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d04e"} 
[2026-09-24 03:40:07] local.INFO: Extracted packet for processing {"connection_id":191079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d04e"} 
[2026-09-24 03:40:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291436288001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790201224000,"timestamp_ms":1790201224000,"timestamp_seconds":1790201224,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04edb40"} 
[2026-09-24 03:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 03:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291436288001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291436288001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:40:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:40:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291436288001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":191079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:40:07] local.INFO: GPS data processed {"connection_id":191079,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:40:07] local.INFO: Acknowledgment sent {"connection_id":191079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:40:29] local.INFO: TCP Data received {"connection_id":190883,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:40:29] local.INFO: Processing buffer {"connection_id":190883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:40:29] local.INFO: IMEI packet received {"connection_id":190883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":190883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:40:35] local.INFO: TCP Data received {"connection_id":190883,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:40:35] local.INFO: Processing buffer {"connection_id":190883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:40:35] local.INFO: IMEI packet received {"connection_id":190883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":190883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:40:36] local.INFO: TCP Data received {"connection_id":190883,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:40:36] local.INFO: Processing buffer {"connection_id":190883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:40:36] local.INFO: Packet analysis {"connection_id":190883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d04e"} 
[2026-09-24 03:40:36] local.INFO: Extracted packet for processing {"connection_id":190883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d04e"} 
[2026-09-24 03:40:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291436288001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790201224000,"timestamp_ms":1790201224000,"timestamp_seconds":1790201224,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04edb40"} 
[2026-09-24 03:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 03:40: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-09-24 03:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291436288001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291436288001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:40:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:40:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291436288001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":190883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:40:36] local.INFO: GPS data processed {"connection_id":190883,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:40:36] local.INFO: Acknowledgment sent {"connection_id":190883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:41:07] local.INFO: TCP Data received {"connection_id":190883,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:41:07] local.INFO: Processing buffer {"connection_id":190883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:41:07] local.INFO: Packet analysis {"connection_id":190883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d04e"} 
[2026-09-24 03:41:07] local.INFO: Extracted packet for processing {"connection_id":190883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d04e"} 
[2026-09-24 03:41:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291436288001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790201224000,"timestamp_ms":1790201224000,"timestamp_seconds":1790201224,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04edb40"} 
[2026-09-24 03:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 03:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291436288001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291436288001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:41:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:41:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291436288001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":190883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:41:07] local.INFO: GPS data processed {"connection_id":190883,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:41:07] local.INFO: Acknowledgment sent {"connection_id":190883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:41:35] local.INFO: TCP Data received {"connection_id":192417,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:41:35] local.INFO: Processing buffer {"connection_id":192417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:41:35] local.INFO: IMEI packet received {"connection_id":192417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":192417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:41:40] local.INFO: TCP Data received {"connection_id":192417,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:41:40] local.INFO: Processing buffer {"connection_id":192417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:41:40] local.INFO: IMEI packet received {"connection_id":192417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":192417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:41:40] local.INFO: TCP Data received {"connection_id":192417,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:41:40] local.INFO: Processing buffer {"connection_id":192417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:41:40] local.INFO: Packet analysis {"connection_id":192417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d04e"} 
[2026-09-24 03:41:40] local.INFO: Extracted packet for processing {"connection_id":192417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d04e"} 
[2026-09-24 03:41:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291436288001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790201224000,"timestamp_ms":1790201224000,"timestamp_seconds":1790201224,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04edb40"} 
[2026-09-24 03:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 03:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291436288001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291436288001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:41:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:41:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291436288001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":192417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:41:40] local.INFO: GPS data processed {"connection_id":192417,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:41:40] local.INFO: Acknowledgment sent {"connection_id":192417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:41:45] local.INFO: TCP Data received {"connection_id":192417,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:41:45] local.INFO: Processing buffer {"connection_id":192417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:41:45] local.INFO: Packet analysis {"connection_id":192417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d04e"} 
[2026-09-24 03:41:45] local.INFO: Extracted packet for processing {"connection_id":192417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d04e"} 
[2026-09-24 03:41:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:41: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-09-24 03:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291436288001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790201224000,"timestamp_ms":1790201224000,"timestamp_seconds":1790201224,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04edb40"} 
[2026-09-24 03:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 03:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:41: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-09-24 03:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291436288001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291436288001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:41:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:41:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291436288001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":192417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:41:45] local.INFO: GPS data processed {"connection_id":192417,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:41:45] local.INFO: Acknowledgment sent {"connection_id":192417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:42:30] local.INFO: TCP Data received {"connection_id":191080,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:42:30] local.INFO: Processing buffer {"connection_id":191080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:42:30] local.INFO: IMEI packet received {"connection_id":191080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":191080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:42:35] local.INFO: TCP Data received {"connection_id":191080,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:42:35] local.INFO: Processing buffer {"connection_id":191080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:42:35] local.INFO: IMEI packet received {"connection_id":191080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":191080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:42:36] local.INFO: TCP Data received {"connection_id":191080,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:42:36] local.INFO: Processing buffer {"connection_id":191080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d04edb40012d34c58006aa4758001401052a..."} 
[2026-09-24 03:42:36] local.INFO: Packet analysis {"connection_id":191080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d04e"} 
[2026-09-24 03:42:36] local.INFO: Extracted packet for processing {"connection_id":191080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d04e"} 
[2026-09-24 03:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291436288001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790201224000,"timestamp_ms":1790201224000,"timestamp_seconds":1790201224,"priority":1,"record_length":96,"hex_timestamp":"000001a0d04edb40"} 
[2026-09-24 03:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 03:42: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-09-24 03: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-09-24 03:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291436288001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291436288001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:42:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:42:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291436288001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":191080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:42:36] local.INFO: GPS data processed {"connection_id":191080,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:42:36] local.INFO: Acknowledgment sent {"connection_id":191080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:43:07] local.INFO: TCP Data received {"connection_id":191080,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:43:07] local.INFO: Processing buffer {"connection_id":191080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:43:07] local.INFO: Packet analysis {"connection_id":191080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d053"} 
[2026-09-24 03:43:07] local.INFO: Extracted packet for processing {"connection_id":191080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d053"} 
[2026-09-24 03:43:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291513344001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790201525000,"timestamp_ms":1790201525000,"timestamp_seconds":1790201525,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0537308"} 
[2026-09-24 03:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 03:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291513344001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291513344001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:43:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:43:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291513344001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":191080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:43:07] local.INFO: GPS data processed {"connection_id":191080,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:43:07] local.INFO: Acknowledgment sent {"connection_id":191080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:43:29] local.INFO: TCP Data received {"connection_id":193765,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:43:29] local.INFO: Processing buffer {"connection_id":193765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:43:29] local.INFO: IMEI packet received {"connection_id":193765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":193765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:43:35] local.INFO: TCP Data received {"connection_id":193765,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:43:35] local.INFO: Processing buffer {"connection_id":193765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:43:35] local.INFO: IMEI packet received {"connection_id":193765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":193765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:43:35] local.INFO: TCP Data received {"connection_id":193765,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:43:35] local.INFO: Processing buffer {"connection_id":193765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:43:35] local.INFO: Packet analysis {"connection_id":193765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d053"} 
[2026-09-24 03:43:35] local.INFO: Extracted packet for processing {"connection_id":193765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d053"} 
[2026-09-24 03:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291513344001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790201525000,"timestamp_ms":1790201525000,"timestamp_seconds":1790201525,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0537308"} 
[2026-09-24 03:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 03:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291513344001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291513344001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:43:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:43:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291513344001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":193765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:43:35] local.INFO: GPS data processed {"connection_id":193765,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:43:35] local.INFO: Acknowledgment sent {"connection_id":193765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:44:07] local.INFO: TCP Data received {"connection_id":193765,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:44:07] local.INFO: Processing buffer {"connection_id":193765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:44:07] local.INFO: Packet analysis {"connection_id":193765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d053"} 
[2026-09-24 03:44:07] local.INFO: Extracted packet for processing {"connection_id":193765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d053"} 
[2026-09-24 03:44:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291513344001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790201525000,"timestamp_ms":1790201525000,"timestamp_seconds":1790201525,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0537308"} 
[2026-09-24 03:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 03:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291513344001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291513344001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:44:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:44:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291513344001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":193765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:44:07] local.INFO: GPS data processed {"connection_id":193765,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:44:07] local.INFO: Acknowledgment sent {"connection_id":193765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:44:29] local.INFO: TCP Data received {"connection_id":192418,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:44:29] local.INFO: Processing buffer {"connection_id":192418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:44:29] local.INFO: IMEI packet received {"connection_id":192418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":192418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:44:35] local.INFO: TCP Data received {"connection_id":192418,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:44:35] local.INFO: Processing buffer {"connection_id":192418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:44:35] local.INFO: IMEI packet received {"connection_id":192418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":192418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:44:35] local.INFO: TCP Data received {"connection_id":192418,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:44:35] local.INFO: Processing buffer {"connection_id":192418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:44:35] local.INFO: Packet analysis {"connection_id":192418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d053"} 
[2026-09-24 03:44:35] local.INFO: Extracted packet for processing {"connection_id":192418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d053"} 
[2026-09-24 03:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291513344001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790201525000,"timestamp_ms":1790201525000,"timestamp_seconds":1790201525,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0537308"} 
[2026-09-24 03:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 03:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291513344001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291513344001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:44:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:44:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291513344001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":192418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:44:35] local.INFO: GPS data processed {"connection_id":192418,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:44:35] local.INFO: Acknowledgment sent {"connection_id":192418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:45:07] local.INFO: TCP Data received {"connection_id":192418,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:45:07] local.INFO: Processing buffer {"connection_id":192418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:45:07] local.INFO: Packet analysis {"connection_id":192418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d053"} 
[2026-09-24 03:45:07] local.INFO: Extracted packet for processing {"connection_id":192418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d053"} 
[2026-09-24 03:45:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291513344001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790201525000,"timestamp_ms":1790201525000,"timestamp_seconds":1790201525,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0537308"} 
[2026-09-24 03:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 03:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291513344001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291513344001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:45:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:45:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291513344001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":192418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:45:07] local.INFO: GPS data processed {"connection_id":192418,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:45:07] local.INFO: Acknowledgment sent {"connection_id":192418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:45:29] local.INFO: TCP Data received {"connection_id":193766,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:45:29] local.INFO: Processing buffer {"connection_id":193766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:45:29] local.INFO: IMEI packet received {"connection_id":193766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":193766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:45:35] local.INFO: TCP Data received {"connection_id":193766,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:45:35] local.INFO: Processing buffer {"connection_id":193766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:45:35] local.INFO: IMEI packet received {"connection_id":193766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":193766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:45:36] local.INFO: TCP Data received {"connection_id":193766,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:45:36] local.INFO: Processing buffer {"connection_id":193766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:45:36] local.INFO: Packet analysis {"connection_id":193766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d053"} 
[2026-09-24 03:45:36] local.INFO: Extracted packet for processing {"connection_id":193766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d053"} 
[2026-09-24 03:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291513344001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790201525000,"timestamp_ms":1790201525000,"timestamp_seconds":1790201525,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0537308"} 
[2026-09-24 03:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 03:45: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-09-24 03:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291513344001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291513344001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:45:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291513344001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":193766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:45:36] local.INFO: GPS data processed {"connection_id":193766,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:45:36] local.INFO: Acknowledgment sent {"connection_id":193766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:46:07] local.INFO: TCP Data received {"connection_id":193766,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:46:07] local.INFO: Processing buffer {"connection_id":193766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:46:07] local.INFO: Packet analysis {"connection_id":193766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d053"} 
[2026-09-24 03:46:07] local.INFO: Extracted packet for processing {"connection_id":193766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d053"} 
[2026-09-24 03:46:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291513344001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790201525000,"timestamp_ms":1790201525000,"timestamp_seconds":1790201525,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0537308"} 
[2026-09-24 03:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 03:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291513344001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291513344001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:46:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:46:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291513344001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":193766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:46:07] local.INFO: GPS data processed {"connection_id":193766,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:46:07] local.INFO: Acknowledgment sent {"connection_id":193766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:46:35] local.INFO: TCP Data received {"connection_id":192419,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:46:35] local.INFO: Processing buffer {"connection_id":192419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:46:35] local.INFO: IMEI packet received {"connection_id":192419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":192419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:46:40] local.INFO: TCP Data received {"connection_id":192419,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:46:40] local.INFO: Processing buffer {"connection_id":192419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:46:40] local.INFO: IMEI packet received {"connection_id":192419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":192419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:46:41] local.INFO: TCP Data received {"connection_id":192419,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:46:41] local.INFO: Processing buffer {"connection_id":192419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:46:41] local.INFO: Packet analysis {"connection_id":192419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d053"} 
[2026-09-24 03:46:41] local.INFO: Extracted packet for processing {"connection_id":192419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d053"} 
[2026-09-24 03:46:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291513344001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790201525000,"timestamp_ms":1790201525000,"timestamp_seconds":1790201525,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0537308"} 
[2026-09-24 03:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 03:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291513344001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291513344001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:46:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:46:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291513344001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":192419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:46:41] local.INFO: GPS data processed {"connection_id":192419,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:46:41] local.INFO: Acknowledgment sent {"connection_id":192419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:46:47] local.INFO: TCP Data received {"connection_id":192419,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:46:47] local.INFO: Processing buffer {"connection_id":192419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:46:47] local.INFO: Packet analysis {"connection_id":192419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d053"} 
[2026-09-24 03:46:47] local.INFO: Extracted packet for processing {"connection_id":192419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d053"} 
[2026-09-24 03:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291513344001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790201525000,"timestamp_ms":1790201525000,"timestamp_seconds":1790201525,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0537308"} 
[2026-09-24 03:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 03:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":192419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":192419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":192419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291513344001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291513344001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:46:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291513344001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":192419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:46:47] local.INFO: GPS data processed {"connection_id":192419,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:46:47] local.INFO: Acknowledgment sent {"connection_id":192419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:47:30] local.INFO: TCP Data received {"connection_id":190884,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:47:30] local.INFO: Processing buffer {"connection_id":190884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:47:30] local.INFO: IMEI packet received {"connection_id":190884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":190884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:47:35] local.INFO: TCP Data received {"connection_id":190884,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:47:35] local.INFO: Processing buffer {"connection_id":190884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:47:35] local.INFO: IMEI packet received {"connection_id":190884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":190884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:47:35] local.INFO: TCP Data received {"connection_id":190884,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:47:35] local.INFO: Processing buffer {"connection_id":190884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0537308012d34c58006aa4758001401052c..."} 
[2026-09-24 03:47:35] local.INFO: Packet analysis {"connection_id":190884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d053"} 
[2026-09-24 03:47:35] local.INFO: Extracted packet for processing {"connection_id":190884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d053"} 
[2026-09-24 03:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291513344001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790201525000,"timestamp_ms":1790201525000,"timestamp_seconds":1790201525,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0537308"} 
[2026-09-24 03:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 03:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291513344001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291513344001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:47:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:47:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291513344001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":190884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:47:35] local.INFO: GPS data processed {"connection_id":190884,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:47:35] local.INFO: Acknowledgment sent {"connection_id":190884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:48:06] local.INFO: TCP Data received {"connection_id":190884,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:48:06] local.INFO: Processing buffer {"connection_id":190884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:48:06] local.INFO: Packet analysis {"connection_id":190884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d058"} 
[2026-09-24 03:48:06] local.INFO: Extracted packet for processing {"connection_id":190884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d058"} 
[2026-09-24 03:48:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291590400001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790201826000,"timestamp_ms":1790201826000,"timestamp_seconds":1790201826,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0580ad0"} 
[2026-09-24 03:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291590400001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291590400001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:48:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:48:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291590400001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":190884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:48:07] local.INFO: GPS data processed {"connection_id":190884,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:48:07] local.INFO: Acknowledgment sent {"connection_id":190884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:48:29] local.INFO: TCP Data received {"connection_id":190885,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:48:29] local.INFO: Processing buffer {"connection_id":190885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:48:29] local.INFO: IMEI packet received {"connection_id":190885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":190885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:48:34] local.INFO: TCP Data received {"connection_id":190885,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:48:34] local.INFO: Processing buffer {"connection_id":190885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:48:34] local.INFO: IMEI packet received {"connection_id":190885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":190885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:48:35] local.INFO: TCP Data received {"connection_id":190885,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:48:35] local.INFO: Processing buffer {"connection_id":190885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:48:35] local.INFO: Packet analysis {"connection_id":190885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d058"} 
[2026-09-24 03:48:35] local.INFO: Extracted packet for processing {"connection_id":190885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d058"} 
[2026-09-24 03:48:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291590400001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790201826000,"timestamp_ms":1790201826000,"timestamp_seconds":1790201826,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0580ad0"} 
[2026-09-24 03:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291590400001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291590400001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:48:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:48:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291590400001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":190885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:48:35] local.INFO: GPS data processed {"connection_id":190885,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:48:35] local.INFO: Acknowledgment sent {"connection_id":190885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:49:06] local.INFO: TCP Data received {"connection_id":190885,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:49:06] local.INFO: Processing buffer {"connection_id":190885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:49:06] local.INFO: Packet analysis {"connection_id":190885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d058"} 
[2026-09-24 03:49:06] local.INFO: Extracted packet for processing {"connection_id":190885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d058"} 
[2026-09-24 03:49:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291590400001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790201826000,"timestamp_ms":1790201826000,"timestamp_seconds":1790201826,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0580ad0"} 
[2026-09-24 03:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291590400001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291590400001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:49:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:49:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291590400001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":190885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:49:06] local.INFO: GPS data processed {"connection_id":190885,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:49:06] local.INFO: Acknowledgment sent {"connection_id":190885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:49:29] local.INFO: TCP Data received {"connection_id":192420,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:49:29] local.INFO: Processing buffer {"connection_id":192420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:49:29] local.INFO: IMEI packet received {"connection_id":192420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":192420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:49:35] local.INFO: TCP Data received {"connection_id":192420,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:49:35] local.INFO: Processing buffer {"connection_id":192420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:49:35] local.INFO: IMEI packet received {"connection_id":192420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":192420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:49:35] local.INFO: TCP Data received {"connection_id":192420,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:49:35] local.INFO: Processing buffer {"connection_id":192420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:49:35] local.INFO: Packet analysis {"connection_id":192420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d058"} 
[2026-09-24 03:49:35] local.INFO: Extracted packet for processing {"connection_id":192420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d058"} 
[2026-09-24 03:49:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291590400001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790201826000,"timestamp_ms":1790201826000,"timestamp_seconds":1790201826,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0580ad0"} 
[2026-09-24 03:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291590400001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291590400001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:49:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:49:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291590400001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":192420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:49:35] local.INFO: GPS data processed {"connection_id":192420,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:49:35] local.INFO: Acknowledgment sent {"connection_id":192420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:50:07] local.INFO: TCP Data received {"connection_id":192420,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:50:07] local.INFO: Processing buffer {"connection_id":192420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:50:07] local.INFO: Packet analysis {"connection_id":192420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d058"} 
[2026-09-24 03:50:07] local.INFO: Extracted packet for processing {"connection_id":192420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d058"} 
[2026-09-24 03:50:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291590400001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790201826000,"timestamp_ms":1790201826000,"timestamp_seconds":1790201826,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0580ad0"} 
[2026-09-24 03:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291590400001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291590400001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:50:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:50:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291590400001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":192420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:50:07] local.INFO: GPS data processed {"connection_id":192420,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:50:07] local.INFO: Acknowledgment sent {"connection_id":192420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:50:35] local.INFO: TCP Data received {"connection_id":193767,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:50:35] local.INFO: Processing buffer {"connection_id":193767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:50:35] local.INFO: IMEI packet received {"connection_id":193767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":193767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:50:40] local.INFO: TCP Data received {"connection_id":193767,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:50:40] local.INFO: Processing buffer {"connection_id":193767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:50:40] local.INFO: IMEI packet received {"connection_id":193767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":193767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:50:41] local.INFO: TCP Data received {"connection_id":193767,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:50:41] local.INFO: Processing buffer {"connection_id":193767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:50:41] local.INFO: Packet analysis {"connection_id":193767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d058"} 
[2026-09-24 03:50:41] local.INFO: Extracted packet for processing {"connection_id":193767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d058"} 
[2026-09-24 03:50:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291590400001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790201826000,"timestamp_ms":1790201826000,"timestamp_seconds":1790201826,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0580ad0"} 
[2026-09-24 03:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291590400001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291590400001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:50:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:50:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291590400001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":193767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:50:41] local.INFO: GPS data processed {"connection_id":193767,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:50:41] local.INFO: Acknowledgment sent {"connection_id":193767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:50:45] local.INFO: TCP Data received {"connection_id":193767,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:50:45] local.INFO: Processing buffer {"connection_id":193767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:50:45] local.INFO: Packet analysis {"connection_id":193767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d058"} 
[2026-09-24 03:50:45] local.INFO: Extracted packet for processing {"connection_id":193767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d058"} 
[2026-09-24 03:50:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291590400001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790201826000,"timestamp_ms":1790201826000,"timestamp_seconds":1790201826,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0580ad0"} 
[2026-09-24 03:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291590400001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291590400001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:50:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:50:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291590400001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":193767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:50:45] local.INFO: GPS data processed {"connection_id":193767,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:50:45] local.INFO: Acknowledgment sent {"connection_id":193767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:51:30] local.INFO: TCP Data received {"connection_id":192421,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:51:30] local.INFO: Processing buffer {"connection_id":192421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:51:30] local.INFO: IMEI packet received {"connection_id":192421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":192421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:51:35] local.INFO: TCP Data received {"connection_id":192421,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:51:35] local.INFO: Processing buffer {"connection_id":192421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:51:35] local.INFO: IMEI packet received {"connection_id":192421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":192421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:51:35] local.INFO: TCP Data received {"connection_id":192421,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:51:35] local.INFO: Processing buffer {"connection_id":192421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:51:35] local.INFO: Packet analysis {"connection_id":192421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d058"} 
[2026-09-24 03:51:35] local.INFO: Extracted packet for processing {"connection_id":192421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d058"} 
[2026-09-24 03:51:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291590400001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790201826000,"timestamp_ms":1790201826000,"timestamp_seconds":1790201826,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0580ad0"} 
[2026-09-24 03:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291590400001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291590400001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:51:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:51:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291590400001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":192421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:51:36] local.INFO: GPS data processed {"connection_id":192421,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:51:36] local.INFO: Acknowledgment sent {"connection_id":192421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:52:08] local.INFO: TCP Data received {"connection_id":192421,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:52:08] local.INFO: Processing buffer {"connection_id":192421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:52:08] local.INFO: Packet analysis {"connection_id":192421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d058"} 
[2026-09-24 03:52:08] local.INFO: Extracted packet for processing {"connection_id":192421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d058"} 
[2026-09-24 03:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291590400001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790201826000,"timestamp_ms":1790201826000,"timestamp_seconds":1790201826,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0580ad0"} 
[2026-09-24 03:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291590400001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291590400001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:52:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291590400001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":192421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:52:08] local.INFO: GPS data processed {"connection_id":192421,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:52:08] local.INFO: Acknowledgment sent {"connection_id":192421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:52:30] local.INFO: TCP Data received {"connection_id":193768,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:52:30] local.INFO: Processing buffer {"connection_id":193768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:52:30] local.INFO: IMEI packet received {"connection_id":193768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":193768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:52:35] local.INFO: TCP Data received {"connection_id":193768,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:52:35] local.INFO: Processing buffer {"connection_id":193768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:52:35] local.INFO: IMEI packet received {"connection_id":193768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":193768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:52:36] local.INFO: TCP Data received {"connection_id":193768,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:52:36] local.INFO: Processing buffer {"connection_id":193768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0580ad0012d34c58006aa4758001401052a..."} 
[2026-09-24 03:52:36] local.INFO: Packet analysis {"connection_id":193768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d058"} 
[2026-09-24 03:52:36] local.INFO: Extracted packet for processing {"connection_id":193768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d058"} 
[2026-09-24 03:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291590400001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790201826000,"timestamp_ms":1790201826000,"timestamp_seconds":1790201826,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0580ad0"} 
[2026-09-24 03:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291590400001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291590400001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:52:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:52:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291590400001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":193768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:52:36] local.INFO: GPS data processed {"connection_id":193768,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:52:36] local.INFO: Acknowledgment sent {"connection_id":193768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:53:07] local.INFO: TCP Data received {"connection_id":193768,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:53:07] local.INFO: Processing buffer {"connection_id":193768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:53:07] local.INFO: Packet analysis {"connection_id":193768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d05c"} 
[2026-09-24 03:53:07] local.INFO: Extracted packet for processing {"connection_id":193768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d05c"} 
[2026-09-24 03:53:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291667456001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790202127000,"timestamp_ms":1790202127000,"timestamp_seconds":1790202127,"priority":1,"record_length":96,"hex_timestamp":"000001a0d05ca298"} 
[2026-09-24 03:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291667456001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291667456001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:53:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:53:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291667456001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":193768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:53:07] local.INFO: GPS data processed {"connection_id":193768,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:53:07] local.INFO: Acknowledgment sent {"connection_id":193768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:53:29] local.INFO: TCP Data received {"connection_id":190886,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:53:29] local.INFO: Processing buffer {"connection_id":190886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:53:29] local.INFO: IMEI packet received {"connection_id":190886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":190886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:53:35] local.INFO: TCP Data received {"connection_id":190886,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:53:35] local.INFO: Processing buffer {"connection_id":190886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:53:35] local.INFO: IMEI packet received {"connection_id":190886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":190886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:53:35] local.INFO: TCP Data received {"connection_id":190886,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:53:35] local.INFO: Processing buffer {"connection_id":190886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:53:35] local.INFO: Packet analysis {"connection_id":190886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d05c"} 
[2026-09-24 03:53:35] local.INFO: Extracted packet for processing {"connection_id":190886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d05c"} 
[2026-09-24 03:53:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291667456001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790202127000,"timestamp_ms":1790202127000,"timestamp_seconds":1790202127,"priority":1,"record_length":96,"hex_timestamp":"000001a0d05ca298"} 
[2026-09-24 03:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291667456001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291667456001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:53:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:53:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291667456001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":190886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:53:35] local.INFO: GPS data processed {"connection_id":190886,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:53:35] local.INFO: Acknowledgment sent {"connection_id":190886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:54:07] local.INFO: TCP Data received {"connection_id":190886,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:54:07] local.INFO: Processing buffer {"connection_id":190886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:54:07] local.INFO: Packet analysis {"connection_id":190886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d05c"} 
[2026-09-24 03:54:07] local.INFO: Extracted packet for processing {"connection_id":190886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d05c"} 
[2026-09-24 03:54:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291667456001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790202127000,"timestamp_ms":1790202127000,"timestamp_seconds":1790202127,"priority":1,"record_length":96,"hex_timestamp":"000001a0d05ca298"} 
[2026-09-24 03:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291667456001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291667456001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:54:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:54:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291667456001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":190886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:54:07] local.INFO: GPS data processed {"connection_id":190886,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:54:07] local.INFO: Acknowledgment sent {"connection_id":190886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:54:29] local.INFO: TCP Data received {"connection_id":193769,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:54:29] local.INFO: Processing buffer {"connection_id":193769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:54:29] local.INFO: IMEI packet received {"connection_id":193769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":193769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:54:35] local.INFO: TCP Data received {"connection_id":193769,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:54:35] local.INFO: Processing buffer {"connection_id":193769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:54:35] local.INFO: IMEI packet received {"connection_id":193769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":193769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:54:35] local.INFO: TCP Data received {"connection_id":193769,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:54:35] local.INFO: Processing buffer {"connection_id":193769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:54:35] local.INFO: Packet analysis {"connection_id":193769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d05c"} 
[2026-09-24 03:54:35] local.INFO: Extracted packet for processing {"connection_id":193769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d05c"} 
[2026-09-24 03:54:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291667456001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790202127000,"timestamp_ms":1790202127000,"timestamp_seconds":1790202127,"priority":1,"record_length":96,"hex_timestamp":"000001a0d05ca298"} 
[2026-09-24 03:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291667456001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291667456001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:54:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:54:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291667456001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":193769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:54:35] local.INFO: GPS data processed {"connection_id":193769,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:54:35] local.INFO: Acknowledgment sent {"connection_id":193769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:55:07] local.INFO: TCP Data received {"connection_id":193769,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:55:07] local.INFO: Processing buffer {"connection_id":193769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:55:07] local.INFO: Packet analysis {"connection_id":193769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d05c"} 
[2026-09-24 03:55:07] local.INFO: Extracted packet for processing {"connection_id":193769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d05c"} 
[2026-09-24 03:55:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291667456001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790202127000,"timestamp_ms":1790202127000,"timestamp_seconds":1790202127,"priority":1,"record_length":96,"hex_timestamp":"000001a0d05ca298"} 
[2026-09-24 03:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291667456001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291667456001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:55:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:55:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291667456001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":193769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:55:07] local.INFO: GPS data processed {"connection_id":193769,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:55:07] local.INFO: Acknowledgment sent {"connection_id":193769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:55:35] local.INFO: TCP Data received {"connection_id":190887,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:55:35] local.INFO: Processing buffer {"connection_id":190887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:55:35] local.INFO: IMEI packet received {"connection_id":190887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":190887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:55:40] local.INFO: TCP Data received {"connection_id":190887,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:55:40] local.INFO: Processing buffer {"connection_id":190887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:55:40] local.INFO: IMEI packet received {"connection_id":190887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":190887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:55:41] local.INFO: TCP Data received {"connection_id":190887,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:55:41] local.INFO: Processing buffer {"connection_id":190887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:55:41] local.INFO: Packet analysis {"connection_id":190887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d05c"} 
[2026-09-24 03:55:41] local.INFO: Extracted packet for processing {"connection_id":190887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d05c"} 
[2026-09-24 03:55:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291667456001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790202127000,"timestamp_ms":1790202127000,"timestamp_seconds":1790202127,"priority":1,"record_length":96,"hex_timestamp":"000001a0d05ca298"} 
[2026-09-24 03:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291667456001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291667456001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:55:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:55:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291667456001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":190887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:55:41] local.INFO: GPS data processed {"connection_id":190887,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:55:41] local.INFO: Acknowledgment sent {"connection_id":190887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:55:45] local.INFO: TCP Data received {"connection_id":190887,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:55:45] local.INFO: Processing buffer {"connection_id":190887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:55:45] local.INFO: Packet analysis {"connection_id":190887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d05c"} 
[2026-09-24 03:55:45] local.INFO: Extracted packet for processing {"connection_id":190887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d05c"} 
[2026-09-24 03:55:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291667456001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790202127000,"timestamp_ms":1790202127000,"timestamp_seconds":1790202127,"priority":1,"record_length":96,"hex_timestamp":"000001a0d05ca298"} 
[2026-09-24 03:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":190887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":190887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":190887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291667456001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291667456001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:55:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:55:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291667456001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":190887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:55:45] local.INFO: GPS data processed {"connection_id":190887,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:55:45] local.INFO: Acknowledgment sent {"connection_id":190887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:56:30] local.INFO: TCP Data received {"connection_id":191081,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:56:30] local.INFO: Processing buffer {"connection_id":191081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:56:30] local.INFO: IMEI packet received {"connection_id":191081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":191081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:56:35] local.INFO: TCP Data received {"connection_id":191081,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:56:35] local.INFO: Processing buffer {"connection_id":191081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:56:35] local.INFO: IMEI packet received {"connection_id":191081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":191081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:56:36] local.INFO: TCP Data received {"connection_id":191081,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:56:36] local.INFO: Processing buffer {"connection_id":191081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:56:36] local.INFO: Packet analysis {"connection_id":191081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d05c"} 
[2026-09-24 03:56:36] local.INFO: Extracted packet for processing {"connection_id":191081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d05c"} 
[2026-09-24 03:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291667456001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790202127000,"timestamp_ms":1790202127000,"timestamp_seconds":1790202127,"priority":1,"record_length":96,"hex_timestamp":"000001a0d05ca298"} 
[2026-09-24 03:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291667456001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291667456001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:56:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:56:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291667456001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":191081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:56:36] local.INFO: GPS data processed {"connection_id":191081,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:56:36] local.INFO: Acknowledgment sent {"connection_id":191081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:57:07] local.INFO: TCP Data received {"connection_id":191081,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:57:07] local.INFO: Processing buffer {"connection_id":191081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:57:07] local.INFO: Packet analysis {"connection_id":191081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d05c"} 
[2026-09-24 03:57:07] local.INFO: Extracted packet for processing {"connection_id":191081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d05c"} 
[2026-09-24 03:57:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291667456001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790202127000,"timestamp_ms":1790202127000,"timestamp_seconds":1790202127,"priority":1,"record_length":96,"hex_timestamp":"000001a0d05ca298"} 
[2026-09-24 03:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291667456001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291667456001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:57:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:57:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291667456001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":191081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:57:07] local.INFO: GPS data processed {"connection_id":191081,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:57:07] local.INFO: Acknowledgment sent {"connection_id":191081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:57:30] local.INFO: TCP Data received {"connection_id":192422,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:57:30] local.INFO: Processing buffer {"connection_id":192422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:57:30] local.INFO: IMEI packet received {"connection_id":192422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":192422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:57:35] local.INFO: TCP Data received {"connection_id":192422,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:57:35] local.INFO: Processing buffer {"connection_id":192422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:57:35] local.INFO: IMEI packet received {"connection_id":192422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":192422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:57:35] local.INFO: TCP Data received {"connection_id":192422,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:57:35] local.INFO: Processing buffer {"connection_id":192422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d05ca298012d34c58006aa47580014010529..."} 
[2026-09-24 03:57:35] local.INFO: Packet analysis {"connection_id":192422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d05c"} 
[2026-09-24 03:57:35] local.INFO: Extracted packet for processing {"connection_id":192422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d05c"} 
[2026-09-24 03:57:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291667456001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790202127000,"timestamp_ms":1790202127000,"timestamp_seconds":1790202127,"priority":1,"record_length":96,"hex_timestamp":"000001a0d05ca298"} 
[2026-09-24 03:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 03:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291667456001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291667456001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:57:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:57:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291667456001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":192422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:57:35] local.INFO: GPS data processed {"connection_id":192422,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:57:35] local.INFO: Acknowledgment sent {"connection_id":192422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:58:07] local.INFO: TCP Data received {"connection_id":192422,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 03:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 03:58:07] local.INFO: Processing buffer {"connection_id":192422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 03:58:07] local.INFO: Packet analysis {"connection_id":192422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d061"} 
[2026-09-24 03:58:07] local.INFO: Extracted packet for processing {"connection_id":192422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d061"} 
[2026-09-24 03:58:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291744512001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790202427000,"timestamp_ms":1790202427000,"timestamp_seconds":1790202427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0613678"} 
[2026-09-24 03:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291744512001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291744512001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:58:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:58:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291744512001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":192422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:58:07] local.INFO: GPS data processed {"connection_id":192422,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:58:07] local.INFO: Acknowledgment sent {"connection_id":192422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:58:29] local.INFO: TCP Data received {"connection_id":190888,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:58:29] local.INFO: Processing buffer {"connection_id":190888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:58:29] local.INFO: IMEI packet received {"connection_id":190888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":190888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:58:35] local.INFO: TCP Data received {"connection_id":190888,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:58:35] local.INFO: Processing buffer {"connection_id":190888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:58:35] local.INFO: IMEI packet received {"connection_id":190888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":190888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:58:36] local.INFO: TCP Data received {"connection_id":190888,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 03:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 03:58:36] local.INFO: Processing buffer {"connection_id":190888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 03:58:36] local.INFO: Packet analysis {"connection_id":190888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d061"} 
[2026-09-24 03:58:36] local.INFO: Extracted packet for processing {"connection_id":190888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d061"} 
[2026-09-24 03:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 03:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291744512001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790202427000,"timestamp_ms":1790202427000,"timestamp_seconds":1790202427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0613678"} 
[2026-09-24 03:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 03:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291744512001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291744512001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:58:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:58:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291744512001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":190888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:58:36] local.INFO: GPS data processed {"connection_id":190888,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:58:36] local.INFO: Acknowledgment sent {"connection_id":190888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:59:08] local.INFO: TCP Data received {"connection_id":190888,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 03:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 03:59:08] local.INFO: Processing buffer {"connection_id":190888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 03:59:08] local.INFO: Packet analysis {"connection_id":190888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d061"} 
[2026-09-24 03:59:08] local.INFO: Extracted packet for processing {"connection_id":190888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d061"} 
[2026-09-24 03:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291744512001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790202427000,"timestamp_ms":1790202427000,"timestamp_seconds":1790202427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0613678"} 
[2026-09-24 03:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291744512001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291744512001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:59:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:59:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291744512001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":190888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:59:08] local.INFO: GPS data processed {"connection_id":190888,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:59:08] local.INFO: Acknowledgment sent {"connection_id":190888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 03:59:30] local.INFO: TCP Data received {"connection_id":191082,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:59:30] local.INFO: Processing buffer {"connection_id":191082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:59:30] local.INFO: IMEI packet received {"connection_id":191082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 03:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":191082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 03:59:35] local.INFO: TCP Data received {"connection_id":191082,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:59:35] local.INFO: Processing buffer {"connection_id":191082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 03:59:35] local.INFO: IMEI packet received {"connection_id":191082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 03:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":191082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 03:59:36] local.INFO: TCP Data received {"connection_id":191082,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 03:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 03:59:36] local.INFO: Processing buffer {"connection_id":191082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 03:59:36] local.INFO: Packet analysis {"connection_id":191082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d061"} 
[2026-09-24 03:59:36] local.INFO: Extracted packet for processing {"connection_id":191082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d061"} 
[2026-09-24 03:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 03: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-09-24 03:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291744512001,"note":"Value kept but may cause issues"} 
[2026-09-24 03:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 03:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 03:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 03:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790202427000,"timestamp_ms":1790202427000,"timestamp_seconds":1790202427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0613678"} 
[2026-09-24 03:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 03:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 03:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 03:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 03: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-09-24 03:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 03:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 03:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 03:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 03:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 03:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 03:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 03:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291744512001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 03:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 03:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 03:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291744512001,"description":"Unknown IO ID 0"} 
[2026-09-24 03:59:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 03:59:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 03:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 03:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 03:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291744512001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 03:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":191082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 03:59:36] local.INFO: GPS data processed {"connection_id":191082,"processed":1,"errors":0,"total":1} 
[2026-09-24 03:59:36] local.INFO: Acknowledgment sent {"connection_id":191082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:00:07] local.INFO: TCP Data received {"connection_id":191082,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 04:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 04:00:07] local.INFO: Processing buffer {"connection_id":191082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 04:00:07] local.INFO: Packet analysis {"connection_id":191082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d061"} 
[2026-09-24 04:00:07] local.INFO: Extracted packet for processing {"connection_id":191082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d061"} 
[2026-09-24 04:00:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291744512001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790202427000,"timestamp_ms":1790202427000,"timestamp_seconds":1790202427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0613678"} 
[2026-09-24 04:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291744512001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291744512001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:00:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:00:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291744512001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":191082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:00:08] local.INFO: GPS data processed {"connection_id":191082,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:00:08] local.INFO: Acknowledgment sent {"connection_id":191082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:00:35] local.INFO: TCP Data received {"connection_id":193770,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:00:35] local.INFO: Processing buffer {"connection_id":193770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:00:35] local.INFO: IMEI packet received {"connection_id":193770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":193770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:00:40] local.INFO: TCP Data received {"connection_id":193770,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:00:40] local.INFO: Processing buffer {"connection_id":193770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:00:40] local.INFO: IMEI packet received {"connection_id":193770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":193770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:00:41] local.INFO: TCP Data received {"connection_id":193770,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 04:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 04:00:41] local.INFO: Processing buffer {"connection_id":193770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 04:00:41] local.INFO: Packet analysis {"connection_id":193770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d061"} 
[2026-09-24 04:00:41] local.INFO: Extracted packet for processing {"connection_id":193770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d061"} 
[2026-09-24 04:00:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291744512001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790202427000,"timestamp_ms":1790202427000,"timestamp_seconds":1790202427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0613678"} 
[2026-09-24 04:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291744512001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291744512001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:00:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:00:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291744512001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":193770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:00:41] local.INFO: GPS data processed {"connection_id":193770,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:00:41] local.INFO: Acknowledgment sent {"connection_id":193770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:00:45] local.INFO: TCP Data received {"connection_id":193770,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 04:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 04:00:45] local.INFO: Processing buffer {"connection_id":193770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 04:00:45] local.INFO: Packet analysis {"connection_id":193770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d061"} 
[2026-09-24 04:00:45] local.INFO: Extracted packet for processing {"connection_id":193770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d061"} 
[2026-09-24 04:00:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291744512001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790202427000,"timestamp_ms":1790202427000,"timestamp_seconds":1790202427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0613678"} 
[2026-09-24 04:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291744512001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291744512001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:00:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:00:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291744512001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":193770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:00:45] local.INFO: GPS data processed {"connection_id":193770,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:00:45] local.INFO: Acknowledgment sent {"connection_id":193770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:01:30] local.INFO: TCP Data received {"connection_id":190889,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:01:30] local.INFO: Processing buffer {"connection_id":190889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:01:30] local.INFO: IMEI packet received {"connection_id":190889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":190889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:01:35] local.INFO: TCP Data received {"connection_id":190889,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:01:35] local.INFO: Processing buffer {"connection_id":190889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:01:35] local.INFO: IMEI packet received {"connection_id":190889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":190889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:01:35] local.INFO: TCP Data received {"connection_id":190889,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 04:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 04:01:35] local.INFO: Processing buffer {"connection_id":190889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 04:01:35] local.INFO: Packet analysis {"connection_id":190889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d061"} 
[2026-09-24 04:01:35] local.INFO: Extracted packet for processing {"connection_id":190889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d061"} 
[2026-09-24 04:01:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291744512001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790202427000,"timestamp_ms":1790202427000,"timestamp_seconds":1790202427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0613678"} 
[2026-09-24 04:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291744512001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291744512001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:01:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:01:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291744512001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":190889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:01:35] local.INFO: GPS data processed {"connection_id":190889,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:01:35] local.INFO: Acknowledgment sent {"connection_id":190889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:02:07] local.INFO: TCP Data received {"connection_id":190889,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 04:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 04:02:07] local.INFO: Processing buffer {"connection_id":190889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 04:02:07] local.INFO: Packet analysis {"connection_id":190889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d061"} 
[2026-09-24 04:02:07] local.INFO: Extracted packet for processing {"connection_id":190889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d061"} 
[2026-09-24 04:02:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291744512001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790202427000,"timestamp_ms":1790202427000,"timestamp_seconds":1790202427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0613678"} 
[2026-09-24 04:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291744512001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291744512001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:02:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:02:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291744512001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":190889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:02:07] local.INFO: GPS data processed {"connection_id":190889,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:02:07] local.INFO: Acknowledgment sent {"connection_id":190889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:02:29] local.INFO: TCP Data received {"connection_id":190890,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:02:29] local.INFO: Processing buffer {"connection_id":190890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:02:29] local.INFO: IMEI packet received {"connection_id":190890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":190890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:02:35] local.INFO: TCP Data received {"connection_id":190890,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:02:35] local.INFO: Processing buffer {"connection_id":190890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:02:35] local.INFO: IMEI packet received {"connection_id":190890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":190890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:02:35] local.INFO: TCP Data received {"connection_id":190890,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 04:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 04:02:35] local.INFO: Processing buffer {"connection_id":190890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0613678012d34c58006aa4758001401052c..."} 
[2026-09-24 04:02:35] local.INFO: Packet analysis {"connection_id":190890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d061"} 
[2026-09-24 04:02:35] local.INFO: Extracted packet for processing {"connection_id":190890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d061"} 
[2026-09-24 04:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291744512001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790202427000,"timestamp_ms":1790202427000,"timestamp_seconds":1790202427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0613678"} 
[2026-09-24 04:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291744512001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291744512001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:02:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291744512001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":190890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:02:35] local.INFO: GPS data processed {"connection_id":190890,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:02:35] local.INFO: Acknowledgment sent {"connection_id":190890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:03:06] local.INFO: TCP Data received {"connection_id":190890,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:03:06] local.INFO: Processing buffer {"connection_id":190890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:03:06] local.INFO: Packet analysis {"connection_id":190890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d065"} 
[2026-09-24 04:03:06] local.INFO: Extracted packet for processing {"connection_id":190890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d065"} 
[2026-09-24 04:03:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291821312001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790202728000,"timestamp_ms":1790202728000,"timestamp_seconds":1790202728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d065ce40"} 
[2026-09-24 04:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291821312001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291821312001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:03:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:03:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291821312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":190890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:03:06] local.INFO: GPS data processed {"connection_id":190890,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:03:06] local.INFO: Acknowledgment sent {"connection_id":190890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:03:35] local.INFO: TCP Data received {"connection_id":192423,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:03:35] local.INFO: Processing buffer {"connection_id":192423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:03:35] local.INFO: IMEI packet received {"connection_id":192423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":192423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:03:40] local.INFO: TCP Data received {"connection_id":192423,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:03:40] local.INFO: Processing buffer {"connection_id":192423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:03:40] local.INFO: IMEI packet received {"connection_id":192423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":192423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:03:41] local.INFO: TCP Data received {"connection_id":192423,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:03:41] local.INFO: Processing buffer {"connection_id":192423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:03:41] local.INFO: Packet analysis {"connection_id":192423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d065"} 
[2026-09-24 04:03:41] local.INFO: Extracted packet for processing {"connection_id":192423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d065"} 
[2026-09-24 04:03:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291821312001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790202728000,"timestamp_ms":1790202728000,"timestamp_seconds":1790202728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d065ce40"} 
[2026-09-24 04:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291821312001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291821312001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:03:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:03:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291821312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":192423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:03:41] local.INFO: GPS data processed {"connection_id":192423,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:03:41] local.INFO: Acknowledgment sent {"connection_id":192423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:03:45] local.INFO: TCP Data received {"connection_id":192423,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:03:45] local.INFO: Processing buffer {"connection_id":192423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:03:45] local.INFO: Packet analysis {"connection_id":192423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d065"} 
[2026-09-24 04:03:45] local.INFO: Extracted packet for processing {"connection_id":192423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d065"} 
[2026-09-24 04:03:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291821312001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790202728000,"timestamp_ms":1790202728000,"timestamp_seconds":1790202728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d065ce40"} 
[2026-09-24 04:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291821312001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291821312001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:03:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:03:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291821312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":192423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:03:45] local.INFO: GPS data processed {"connection_id":192423,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:03:45] local.INFO: Acknowledgment sent {"connection_id":192423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:04:30] local.INFO: TCP Data received {"connection_id":192424,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:04:30] local.INFO: Processing buffer {"connection_id":192424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:04:30] local.INFO: IMEI packet received {"connection_id":192424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":192424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:04:35] local.INFO: TCP Data received {"connection_id":192424,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:04:35] local.INFO: Processing buffer {"connection_id":192424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:04:35] local.INFO: IMEI packet received {"connection_id":192424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":192424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:04:35] local.INFO: TCP Data received {"connection_id":192424,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:04:35] local.INFO: Processing buffer {"connection_id":192424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:04:35] local.INFO: Packet analysis {"connection_id":192424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d065"} 
[2026-09-24 04:04:35] local.INFO: Extracted packet for processing {"connection_id":192424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d065"} 
[2026-09-24 04:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291821312001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790202728000,"timestamp_ms":1790202728000,"timestamp_seconds":1790202728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d065ce40"} 
[2026-09-24 04:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291821312001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291821312001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:04:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:04:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291821312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":192424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:04:35] local.INFO: GPS data processed {"connection_id":192424,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:04:35] local.INFO: Acknowledgment sent {"connection_id":192424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:05:08] local.INFO: TCP Data received {"connection_id":192424,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:05:08] local.INFO: Processing buffer {"connection_id":192424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:05:08] local.INFO: Packet analysis {"connection_id":192424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d065"} 
[2026-09-24 04:05:08] local.INFO: Extracted packet for processing {"connection_id":192424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d065"} 
[2026-09-24 04:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291821312001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790202728000,"timestamp_ms":1790202728000,"timestamp_seconds":1790202728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d065ce40"} 
[2026-09-24 04:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291821312001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291821312001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:05:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291821312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":192424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:05:08] local.INFO: GPS data processed {"connection_id":192424,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:05:08] local.INFO: Acknowledgment sent {"connection_id":192424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:05:30] local.INFO: TCP Data received {"connection_id":191083,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:05:30] local.INFO: Processing buffer {"connection_id":191083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:05:30] local.INFO: IMEI packet received {"connection_id":191083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":191083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:05:34] local.INFO: TCP Data received {"connection_id":191083,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:05:34] local.INFO: Processing buffer {"connection_id":191083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:05:34] local.INFO: IMEI packet received {"connection_id":191083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":191083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:05:35] local.INFO: TCP Data received {"connection_id":191083,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:05:35] local.INFO: Processing buffer {"connection_id":191083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:05:35] local.INFO: Packet analysis {"connection_id":191083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d065"} 
[2026-09-24 04:05:35] local.INFO: Extracted packet for processing {"connection_id":191083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d065"} 
[2026-09-24 04:05:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291821312001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790202728000,"timestamp_ms":1790202728000,"timestamp_seconds":1790202728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d065ce40"} 
[2026-09-24 04:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291821312001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291821312001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:05:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:05:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291821312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":191083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:05:35] local.INFO: GPS data processed {"connection_id":191083,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:05:35] local.INFO: Acknowledgment sent {"connection_id":191083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:06:07] local.INFO: TCP Data received {"connection_id":191083,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:06:07] local.INFO: Processing buffer {"connection_id":191083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:06:07] local.INFO: Packet analysis {"connection_id":191083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d065"} 
[2026-09-24 04:06:07] local.INFO: Extracted packet for processing {"connection_id":191083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d065"} 
[2026-09-24 04:06:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291821312001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790202728000,"timestamp_ms":1790202728000,"timestamp_seconds":1790202728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d065ce40"} 
[2026-09-24 04:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291821312001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291821312001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:06:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:06:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291821312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":191083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:06:07] local.INFO: GPS data processed {"connection_id":191083,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:06:07] local.INFO: Acknowledgment sent {"connection_id":191083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:06:29] local.INFO: TCP Data received {"connection_id":190891,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:06:29] local.INFO: Processing buffer {"connection_id":190891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:06:29] local.INFO: IMEI packet received {"connection_id":190891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":190891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:06:35] local.INFO: TCP Data received {"connection_id":190891,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:06:35] local.INFO: Processing buffer {"connection_id":190891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:06:35] local.INFO: IMEI packet received {"connection_id":190891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":190891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:06:35] local.INFO: TCP Data received {"connection_id":190891,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:06:35] local.INFO: Processing buffer {"connection_id":190891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:06:35] local.INFO: Packet analysis {"connection_id":190891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d065"} 
[2026-09-24 04:06:35] local.INFO: Extracted packet for processing {"connection_id":190891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d065"} 
[2026-09-24 04:06:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291821312001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790202728000,"timestamp_ms":1790202728000,"timestamp_seconds":1790202728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d065ce40"} 
[2026-09-24 04:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291821312001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291821312001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:06:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:06:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291821312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":190891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:06:35] local.INFO: GPS data processed {"connection_id":190891,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:06:35] local.INFO: Acknowledgment sent {"connection_id":190891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:07:07] local.INFO: TCP Data received {"connection_id":190891,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:07:07] local.INFO: Processing buffer {"connection_id":190891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:07:07] local.INFO: Packet analysis {"connection_id":190891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d065"} 
[2026-09-24 04:07:07] local.INFO: Extracted packet for processing {"connection_id":190891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d065"} 
[2026-09-24 04:07:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291821312001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790202728000,"timestamp_ms":1790202728000,"timestamp_seconds":1790202728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d065ce40"} 
[2026-09-24 04:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291821312001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291821312001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:07:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:07:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291821312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":190891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:07:07] local.INFO: GPS data processed {"connection_id":190891,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:07:07] local.INFO: Acknowledgment sent {"connection_id":190891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:07:29] local.INFO: TCP Data received {"connection_id":193771,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:07:29] local.INFO: Processing buffer {"connection_id":193771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:07:29] local.INFO: IMEI packet received {"connection_id":193771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":193771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:07:35] local.INFO: TCP Data received {"connection_id":193771,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:07:35] local.INFO: Processing buffer {"connection_id":193771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:07:35] local.INFO: IMEI packet received {"connection_id":193771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":193771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:07:35] local.INFO: TCP Data received {"connection_id":193771,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:07:35] local.INFO: Processing buffer {"connection_id":193771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d065ce40012d34c58006aa47580014010520..."} 
[2026-09-24 04:07:35] local.INFO: Packet analysis {"connection_id":193771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d065"} 
[2026-09-24 04:07:35] local.INFO: Extracted packet for processing {"connection_id":193771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d065"} 
[2026-09-24 04:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":20,"angle":261,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291821312001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790202728000,"timestamp_ms":1790202728000,"timestamp_seconds":1790202728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d065ce40"} 
[2026-09-24 04:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291821312001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291821312001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:07:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:07:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291821312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":193771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:07:35] local.INFO: GPS data processed {"connection_id":193771,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:07:35] local.INFO: Acknowledgment sent {"connection_id":193771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:08:07] local.INFO: TCP Data received {"connection_id":193771,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:08:07] local.INFO: Processing buffer {"connection_id":193771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:08:07] local.INFO: Packet analysis {"connection_id":193771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d06a"} 
[2026-09-24 04:08:07] local.INFO: Extracted packet for processing {"connection_id":193771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d06a"} 
[2026-09-24 04:08:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291898368001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790203029000,"timestamp_ms":1790203029000,"timestamp_seconds":1790203029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d06a6608"} 
[2026-09-24 04:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291898368001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291898368001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:08:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:08:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291898368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":193771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:08:07] local.INFO: GPS data processed {"connection_id":193771,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:08:07] local.INFO: Acknowledgment sent {"connection_id":193771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:08:35] local.INFO: TCP Data received {"connection_id":190892,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:08:35] local.INFO: Processing buffer {"connection_id":190892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:08:35] local.INFO: IMEI packet received {"connection_id":190892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":190892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:08:40] local.INFO: TCP Data received {"connection_id":190892,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:08:40] local.INFO: Processing buffer {"connection_id":190892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:08:40] local.INFO: IMEI packet received {"connection_id":190892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":190892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:08:41] local.INFO: TCP Data received {"connection_id":190892,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:08:41] local.INFO: Processing buffer {"connection_id":190892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:08:41] local.INFO: Packet analysis {"connection_id":190892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d06a"} 
[2026-09-24 04:08:41] local.INFO: Extracted packet for processing {"connection_id":190892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d06a"} 
[2026-09-24 04:08:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291898368001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790203029000,"timestamp_ms":1790203029000,"timestamp_seconds":1790203029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d06a6608"} 
[2026-09-24 04:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291898368001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291898368001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:08:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:08:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291898368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":190892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:08:41] local.INFO: GPS data processed {"connection_id":190892,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:08:41] local.INFO: Acknowledgment sent {"connection_id":190892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:08:46] local.INFO: TCP Data received {"connection_id":190892,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:08:46] local.INFO: Processing buffer {"connection_id":190892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:08:46] local.INFO: Packet analysis {"connection_id":190892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d06a"} 
[2026-09-24 04:08:46] local.INFO: Extracted packet for processing {"connection_id":190892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d06a"} 
[2026-09-24 04:08:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291898368001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790203029000,"timestamp_ms":1790203029000,"timestamp_seconds":1790203029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d06a6608"} 
[2026-09-24 04:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291898368001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291898368001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:08:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:08:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291898368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":190892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:08:46] local.INFO: GPS data processed {"connection_id":190892,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:08:46] local.INFO: Acknowledgment sent {"connection_id":190892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:09:33] local.INFO: TCP Data received {"connection_id":193772,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:09:33] local.INFO: Processing buffer {"connection_id":193772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:09:33] local.INFO: IMEI packet received {"connection_id":193772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":193772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:09:34] local.INFO: TCP Data received {"connection_id":193772,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:09:34] local.INFO: Processing buffer {"connection_id":193772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:09:34] local.INFO: IMEI packet received {"connection_id":193772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":193772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:09:35] local.INFO: TCP Data received {"connection_id":193772,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:09:35] local.INFO: Processing buffer {"connection_id":193772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:09:35] local.INFO: Packet analysis {"connection_id":193772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d06a"} 
[2026-09-24 04:09:35] local.INFO: Extracted packet for processing {"connection_id":193772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d06a"} 
[2026-09-24 04:09:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291898368001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790203029000,"timestamp_ms":1790203029000,"timestamp_seconds":1790203029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d06a6608"} 
[2026-09-24 04:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291898368001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291898368001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:09:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:09:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291898368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":193772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:09:35] local.INFO: GPS data processed {"connection_id":193772,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:09:35] local.INFO: Acknowledgment sent {"connection_id":193772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:09:40] local.INFO: TCP Data received {"connection_id":193772,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:09:40] local.INFO: Processing buffer {"connection_id":193772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:09:40] local.INFO: Packet analysis {"connection_id":193772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d06a"} 
[2026-09-24 04:09:40] local.INFO: Extracted packet for processing {"connection_id":193772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d06a"} 
[2026-09-24 04:09:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291898368001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790203029000,"timestamp_ms":1790203029000,"timestamp_seconds":1790203029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d06a6608"} 
[2026-09-24 04:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291898368001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291898368001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:09:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:09:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291898368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":193772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:09:40] local.INFO: GPS data processed {"connection_id":193772,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:09:40] local.INFO: Acknowledgment sent {"connection_id":193772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:10:12] local.INFO: TCP Data received {"connection_id":193772,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:10:12] local.INFO: Processing buffer {"connection_id":193772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:10:12] local.INFO: Packet analysis {"connection_id":193772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d06a"} 
[2026-09-24 04:10:12] local.INFO: Extracted packet for processing {"connection_id":193772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d06a"} 
[2026-09-24 04:10:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291898368001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790203029000,"timestamp_ms":1790203029000,"timestamp_seconds":1790203029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d06a6608"} 
[2026-09-24 04:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291898368001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291898368001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:10:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:10:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291898368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":193772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:10:12] local.INFO: GPS data processed {"connection_id":193772,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:10:12] local.INFO: Acknowledgment sent {"connection_id":193772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:10:30] local.INFO: TCP Data received {"connection_id":191084,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:10:30] local.INFO: Processing buffer {"connection_id":191084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:10:30] local.INFO: IMEI packet received {"connection_id":191084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":191084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:10:35] local.INFO: TCP Data received {"connection_id":191084,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:10:35] local.INFO: Processing buffer {"connection_id":191084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:10:35] local.INFO: IMEI packet received {"connection_id":191084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":191084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:10:35] local.INFO: TCP Data received {"connection_id":191084,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:10:35] local.INFO: Processing buffer {"connection_id":191084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:10:35] local.INFO: Packet analysis {"connection_id":191084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d06a"} 
[2026-09-24 04:10:35] local.INFO: Extracted packet for processing {"connection_id":191084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d06a"} 
[2026-09-24 04:10:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 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-09-24 04:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291898368001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790203029000,"timestamp_ms":1790203029000,"timestamp_seconds":1790203029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d06a6608"} 
[2026-09-24 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-09-24 04:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 04:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291898368001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291898368001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:10:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:10:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291898368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":191084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:10:35] local.INFO: GPS data processed {"connection_id":191084,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:10:35] local.INFO: Acknowledgment sent {"connection_id":191084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:11:08] local.INFO: TCP Data received {"connection_id":191084,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:11:08] local.INFO: Processing buffer {"connection_id":191084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:11:08] local.INFO: Packet analysis {"connection_id":191084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d06a"} 
[2026-09-24 04:11:08] local.INFO: Extracted packet for processing {"connection_id":191084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d06a"} 
[2026-09-24 04:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291898368001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790203029000,"timestamp_ms":1790203029000,"timestamp_seconds":1790203029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d06a6608"} 
[2026-09-24 04:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291898368001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291898368001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:11:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:11:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291898368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":191084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:11:08] local.INFO: GPS data processed {"connection_id":191084,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:11:08] local.INFO: Acknowledgment sent {"connection_id":191084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:11:30] local.INFO: TCP Data received {"connection_id":192425,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:11:30] local.INFO: Processing buffer {"connection_id":192425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:11:30] local.INFO: IMEI packet received {"connection_id":192425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":192425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:11:35] local.INFO: TCP Data received {"connection_id":192425,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:11:35] local.INFO: Processing buffer {"connection_id":192425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:11:35] local.INFO: IMEI packet received {"connection_id":192425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":192425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:11:35] local.INFO: TCP Data received {"connection_id":192425,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:11:35] local.INFO: Processing buffer {"connection_id":192425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:11:35] local.INFO: Packet analysis {"connection_id":192425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d06a"} 
[2026-09-24 04:11:35] local.INFO: Extracted packet for processing {"connection_id":192425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d06a"} 
[2026-09-24 04:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291898368001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790203029000,"timestamp_ms":1790203029000,"timestamp_seconds":1790203029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d06a6608"} 
[2026-09-24 04:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291898368001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291898368001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:11:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:11:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291898368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":192425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:11:35] local.INFO: GPS data processed {"connection_id":192425,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:11:35] local.INFO: Acknowledgment sent {"connection_id":192425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:12:07] local.INFO: TCP Data received {"connection_id":192425,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:12:07] local.INFO: Processing buffer {"connection_id":192425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:12:07] local.INFO: Packet analysis {"connection_id":192425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d06a"} 
[2026-09-24 04:12:07] local.INFO: Extracted packet for processing {"connection_id":192425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d06a"} 
[2026-09-24 04:12:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291898368001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790203029000,"timestamp_ms":1790203029000,"timestamp_seconds":1790203029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d06a6608"} 
[2026-09-24 04:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291898368001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291898368001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:12:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:12:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291898368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":192425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:12:07] local.INFO: GPS data processed {"connection_id":192425,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:12:07] local.INFO: Acknowledgment sent {"connection_id":192425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:12:29] local.INFO: TCP Data received {"connection_id":191085,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:12:29] local.INFO: Processing buffer {"connection_id":191085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:12:29] local.INFO: IMEI packet received {"connection_id":191085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":191085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:12:35] local.INFO: TCP Data received {"connection_id":191085,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:12:35] local.INFO: Processing buffer {"connection_id":191085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:12:35] local.INFO: IMEI packet received {"connection_id":191085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":191085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:12:35] local.INFO: TCP Data received {"connection_id":191085,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:12:35] local.INFO: Processing buffer {"connection_id":191085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d06a6608012d34c58006aa47580016010528..."} 
[2026-09-24 04:12:35] local.INFO: Packet analysis {"connection_id":191085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d06a"} 
[2026-09-24 04:12:35] local.INFO: Extracted packet for processing {"connection_id":191085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d06a"} 
[2026-09-24 04:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291898368001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790203029000,"timestamp_ms":1790203029000,"timestamp_seconds":1790203029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d06a6608"} 
[2026-09-24 04:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291898368001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291898368001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:12:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:12:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291898368001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":191085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:12:35] local.INFO: GPS data processed {"connection_id":191085,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:12:35] local.INFO: Acknowledgment sent {"connection_id":191085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:13:06] local.INFO: TCP Data received {"connection_id":191085,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:13:06] local.INFO: Processing buffer {"connection_id":191085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:13:06] local.INFO: Packet analysis {"connection_id":191085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d06e"} 
[2026-09-24 04:13:06] local.INFO: Extracted packet for processing {"connection_id":191085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d06e"} 
[2026-09-24 04:13:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291975424001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790203330000,"timestamp_ms":1790203330000,"timestamp_seconds":1790203330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d06efdd0"} 
[2026-09-24 04:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291975424001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291975424001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:13:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:13:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291975424001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":191085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:13:07] local.INFO: GPS data processed {"connection_id":191085,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:13:07] local.INFO: Acknowledgment sent {"connection_id":191085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:13:35] local.INFO: TCP Data received {"connection_id":191086,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:13:35] local.INFO: Processing buffer {"connection_id":191086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:13:35] local.INFO: IMEI packet received {"connection_id":191086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":191086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:13:40] local.INFO: TCP Data received {"connection_id":191086,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:13:40] local.INFO: Processing buffer {"connection_id":191086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:13:40] local.INFO: IMEI packet received {"connection_id":191086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":191086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:13:41] local.INFO: TCP Data received {"connection_id":191086,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:13:41] local.INFO: Processing buffer {"connection_id":191086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:13:41] local.INFO: Packet analysis {"connection_id":191086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d06e"} 
[2026-09-24 04:13:41] local.INFO: Extracted packet for processing {"connection_id":191086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d06e"} 
[2026-09-24 04:13:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291975424001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790203330000,"timestamp_ms":1790203330000,"timestamp_seconds":1790203330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d06efdd0"} 
[2026-09-24 04:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291975424001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291975424001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:13:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:13:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291975424001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":191086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:13:41] local.INFO: GPS data processed {"connection_id":191086,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:13:41] local.INFO: Acknowledgment sent {"connection_id":191086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:13:45] local.INFO: TCP Data received {"connection_id":191086,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:13:45] local.INFO: Processing buffer {"connection_id":191086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:13:45] local.INFO: Packet analysis {"connection_id":191086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d06e"} 
[2026-09-24 04:13:45] local.INFO: Extracted packet for processing {"connection_id":191086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d06e"} 
[2026-09-24 04:13:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291975424001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790203330000,"timestamp_ms":1790203330000,"timestamp_seconds":1790203330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d06efdd0"} 
[2026-09-24 04:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291975424001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291975424001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:13:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:13:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291975424001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":191086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:13:45] local.INFO: GPS data processed {"connection_id":191086,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:13:45] local.INFO: Acknowledgment sent {"connection_id":191086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:14:30] local.INFO: TCP Data received {"connection_id":192426,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:14:30] local.INFO: Processing buffer {"connection_id":192426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:14:30] local.INFO: IMEI packet received {"connection_id":192426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":192426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:14:35] local.INFO: TCP Data received {"connection_id":192426,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:14:35] local.INFO: Processing buffer {"connection_id":192426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:14:35] local.INFO: IMEI packet received {"connection_id":192426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":192426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:14:35] local.INFO: TCP Data received {"connection_id":192426,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:14:35] local.INFO: Processing buffer {"connection_id":192426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:14:35] local.INFO: Packet analysis {"connection_id":192426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d06e"} 
[2026-09-24 04:14:35] local.INFO: Extracted packet for processing {"connection_id":192426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d06e"} 
[2026-09-24 04:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291975424001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790203330000,"timestamp_ms":1790203330000,"timestamp_seconds":1790203330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d06efdd0"} 
[2026-09-24 04:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291975424001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291975424001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:14:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:14:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291975424001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":192426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:14:36] local.INFO: GPS data processed {"connection_id":192426,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:14:36] local.INFO: Acknowledgment sent {"connection_id":192426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:15:07] local.INFO: TCP Data received {"connection_id":192426,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:15:07] local.INFO: Processing buffer {"connection_id":192426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:15:07] local.INFO: Packet analysis {"connection_id":192426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d06e"} 
[2026-09-24 04:15:07] local.INFO: Extracted packet for processing {"connection_id":192426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d06e"} 
[2026-09-24 04:15:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291975424001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790203330000,"timestamp_ms":1790203330000,"timestamp_seconds":1790203330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d06efdd0"} 
[2026-09-24 04:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291975424001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291975424001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:15:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:15:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291975424001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":192426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:15:07] local.INFO: GPS data processed {"connection_id":192426,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:15:07] local.INFO: Acknowledgment sent {"connection_id":192426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:15:30] local.INFO: TCP Data received {"connection_id":193773,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:15:30] local.INFO: Processing buffer {"connection_id":193773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:15:30] local.INFO: IMEI packet received {"connection_id":193773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":193773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:15:35] local.INFO: TCP Data received {"connection_id":193773,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:15:35] local.INFO: Processing buffer {"connection_id":193773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:15:35] local.INFO: IMEI packet received {"connection_id":193773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":193773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:15:36] local.INFO: TCP Data received {"connection_id":193773,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:15:36] local.INFO: Processing buffer {"connection_id":193773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:15:36] local.INFO: Packet analysis {"connection_id":193773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d06e"} 
[2026-09-24 04:15:36] local.INFO: Extracted packet for processing {"connection_id":193773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d06e"} 
[2026-09-24 04:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291975424001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790203330000,"timestamp_ms":1790203330000,"timestamp_seconds":1790203330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d06efdd0"} 
[2026-09-24 04:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291975424001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291975424001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:15:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291975424001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":193773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:15:36] local.INFO: GPS data processed {"connection_id":193773,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:15:36] local.INFO: Acknowledgment sent {"connection_id":193773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:16:07] local.INFO: TCP Data received {"connection_id":193773,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:16:07] local.INFO: Processing buffer {"connection_id":193773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:16:07] local.INFO: Packet analysis {"connection_id":193773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d06e"} 
[2026-09-24 04:16:07] local.INFO: Extracted packet for processing {"connection_id":193773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d06e"} 
[2026-09-24 04:16:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291975424001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790203330000,"timestamp_ms":1790203330000,"timestamp_seconds":1790203330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d06efdd0"} 
[2026-09-24 04:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291975424001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291975424001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:16:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:16:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291975424001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":193773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:16:07] local.INFO: GPS data processed {"connection_id":193773,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:16:07] local.INFO: Acknowledgment sent {"connection_id":193773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:16:29] local.INFO: TCP Data received {"connection_id":191087,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:16:29] local.INFO: Processing buffer {"connection_id":191087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:16:29] local.INFO: IMEI packet received {"connection_id":191087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":191087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:16:35] local.INFO: TCP Data received {"connection_id":191087,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:16:35] local.INFO: Processing buffer {"connection_id":191087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:16:35] local.INFO: IMEI packet received {"connection_id":191087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":191087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:16:36] local.INFO: TCP Data received {"connection_id":191087,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:16:36] local.INFO: Processing buffer {"connection_id":191087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:16:36] local.INFO: Packet analysis {"connection_id":191087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d06e"} 
[2026-09-24 04:16:36] local.INFO: Extracted packet for processing {"connection_id":191087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d06e"} 
[2026-09-24 04:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291975424001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790203330000,"timestamp_ms":1790203330000,"timestamp_seconds":1790203330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d06efdd0"} 
[2026-09-24 04:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291975424001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291975424001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:16:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:16:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291975424001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":191087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:16:36] local.INFO: GPS data processed {"connection_id":191087,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:16:36] local.INFO: Acknowledgment sent {"connection_id":191087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:17:08] local.INFO: TCP Data received {"connection_id":191087,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:17:08] local.INFO: Processing buffer {"connection_id":191087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:17:08] local.INFO: Packet analysis {"connection_id":191087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d06e"} 
[2026-09-24 04:17:08] local.INFO: Extracted packet for processing {"connection_id":191087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d06e"} 
[2026-09-24 04:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291975424001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790203330000,"timestamp_ms":1790203330000,"timestamp_seconds":1790203330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d06efdd0"} 
[2026-09-24 04:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291975424001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291975424001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:17:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:17:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291975424001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":191087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:17:08] local.INFO: GPS data processed {"connection_id":191087,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:17:08] local.INFO: Acknowledgment sent {"connection_id":191087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:17:29] local.INFO: TCP Data received {"connection_id":193774,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:17:29] local.INFO: Processing buffer {"connection_id":193774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:17:29] local.INFO: IMEI packet received {"connection_id":193774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":193774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:17:35] local.INFO: TCP Data received {"connection_id":193774,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:17:35] local.INFO: Processing buffer {"connection_id":193774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:17:35] local.INFO: IMEI packet received {"connection_id":193774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":193774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:17:36] local.INFO: TCP Data received {"connection_id":193774,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:17:36] local.INFO: Processing buffer {"connection_id":193774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d06efdd0012d34c58006aa47580016010529..."} 
[2026-09-24 04:17:36] local.INFO: Packet analysis {"connection_id":193774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d06e"} 
[2026-09-24 04:17:36] local.INFO: Extracted packet for processing {"connection_id":193774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d06e"} 
[2026-09-24 04:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458291975424001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790203330000,"timestamp_ms":1790203330000,"timestamp_seconds":1790203330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d06efdd0"} 
[2026-09-24 04:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458291975424001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458291975424001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:17:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458291975424001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":193774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:17:36] local.INFO: GPS data processed {"connection_id":193774,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:17:36] local.INFO: Acknowledgment sent {"connection_id":193774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:18:07] local.INFO: TCP Data received {"connection_id":193774,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:18:07] local.INFO: Processing buffer {"connection_id":193774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:18:07] local.INFO: Packet analysis {"connection_id":193774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d073"} 
[2026-09-24 04:18:07] local.INFO: Extracted packet for processing {"connection_id":193774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d073"} 
[2026-09-24 04:18:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292052480001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790203631000,"timestamp_ms":1790203631000,"timestamp_seconds":1790203631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0739598"} 
[2026-09-24 04:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 04:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292052480001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292052480001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:18:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:18:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292052480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":193774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:18:07] local.INFO: GPS data processed {"connection_id":193774,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:18:07] local.INFO: Acknowledgment sent {"connection_id":193774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:18:35] local.INFO: TCP Data received {"connection_id":193775,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:18:35] local.INFO: Processing buffer {"connection_id":193775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:18:35] local.INFO: IMEI packet received {"connection_id":193775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":193775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:18:40] local.INFO: TCP Data received {"connection_id":193775,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:18:40] local.INFO: Processing buffer {"connection_id":193775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:18:40] local.INFO: IMEI packet received {"connection_id":193775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":193775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:18:41] local.INFO: TCP Data received {"connection_id":193775,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:18:41] local.INFO: Processing buffer {"connection_id":193775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:18:41] local.INFO: Packet analysis {"connection_id":193775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d073"} 
[2026-09-24 04:18:41] local.INFO: Extracted packet for processing {"connection_id":193775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d073"} 
[2026-09-24 04:18:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292052480001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790203631000,"timestamp_ms":1790203631000,"timestamp_seconds":1790203631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0739598"} 
[2026-09-24 04:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 04:18:41] 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-09-24 04:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292052480001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292052480001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:18:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:18:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292052480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":193775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:18:41] local.INFO: GPS data processed {"connection_id":193775,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:18:41] local.INFO: Acknowledgment sent {"connection_id":193775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:18:45] local.INFO: TCP Data received {"connection_id":193775,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:18:45] local.INFO: Processing buffer {"connection_id":193775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:18:45] local.INFO: Packet analysis {"connection_id":193775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d073"} 
[2026-09-24 04:18:45] local.INFO: Extracted packet for processing {"connection_id":193775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d073"} 
[2026-09-24 04:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292052480001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790203631000,"timestamp_ms":1790203631000,"timestamp_seconds":1790203631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0739598"} 
[2026-09-24 04:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 04:18:45] 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-09-24 04:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292052480001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292052480001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:18:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:18:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292052480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":193775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:18:45] local.INFO: GPS data processed {"connection_id":193775,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:18:45] local.INFO: Acknowledgment sent {"connection_id":193775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:19:30] local.INFO: TCP Data received {"connection_id":190893,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:19:30] local.INFO: Processing buffer {"connection_id":190893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:19:30] local.INFO: IMEI packet received {"connection_id":190893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":190893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:19:35] local.INFO: TCP Data received {"connection_id":190893,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:19:35] local.INFO: Processing buffer {"connection_id":190893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:19:35] local.INFO: IMEI packet received {"connection_id":190893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":190893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:19:36] local.INFO: TCP Data received {"connection_id":190893,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:19:36] local.INFO: Processing buffer {"connection_id":190893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:19:36] local.INFO: Packet analysis {"connection_id":190893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d073"} 
[2026-09-24 04:19:36] local.INFO: Extracted packet for processing {"connection_id":190893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d073"} 
[2026-09-24 04:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292052480001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790203631000,"timestamp_ms":1790203631000,"timestamp_seconds":1790203631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0739598"} 
[2026-09-24 04:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 04:19:36] 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-09-24 04: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-09-24 04:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292052480001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292052480001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:19:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:19:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292052480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":190893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:19:36] local.INFO: GPS data processed {"connection_id":190893,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:19:36] local.INFO: Acknowledgment sent {"connection_id":190893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:20:08] local.INFO: TCP Data received {"connection_id":190893,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:20:08] local.INFO: Processing buffer {"connection_id":190893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:20:08] local.INFO: Packet analysis {"connection_id":190893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d073"} 
[2026-09-24 04:20:08] local.INFO: Extracted packet for processing {"connection_id":190893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d073"} 
[2026-09-24 04:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292052480001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790203631000,"timestamp_ms":1790203631000,"timestamp_seconds":1790203631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0739598"} 
[2026-09-24 04:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 04:20:08] 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-09-24 04: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-09-24 04:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292052480001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292052480001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:20:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:20:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292052480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":190893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:20:08] local.INFO: GPS data processed {"connection_id":190893,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:20:08] local.INFO: Acknowledgment sent {"connection_id":190893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:20:30] local.INFO: TCP Data received {"connection_id":191088,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:20:30] local.INFO: Processing buffer {"connection_id":191088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:20:30] local.INFO: IMEI packet received {"connection_id":191088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":191088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:20:35] local.INFO: TCP Data received {"connection_id":191088,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:20:35] local.INFO: Processing buffer {"connection_id":191088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:20:35] local.INFO: IMEI packet received {"connection_id":191088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":191088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:20:36] local.INFO: TCP Data received {"connection_id":191088,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:20:36] local.INFO: Processing buffer {"connection_id":191088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:20:36] local.INFO: Packet analysis {"connection_id":191088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d073"} 
[2026-09-24 04:20:36] local.INFO: Extracted packet for processing {"connection_id":191088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d073"} 
[2026-09-24 04:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292052480001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790203631000,"timestamp_ms":1790203631000,"timestamp_seconds":1790203631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0739598"} 
[2026-09-24 04:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 04:20:36] 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-09-24 04: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-09-24 04:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292052480001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292052480001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:20:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:20:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292052480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":191088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:20:36] local.INFO: GPS data processed {"connection_id":191088,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:20:36] local.INFO: Acknowledgment sent {"connection_id":191088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:21:08] local.INFO: TCP Data received {"connection_id":191088,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:21:08] local.INFO: Processing buffer {"connection_id":191088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:21:08] local.INFO: Packet analysis {"connection_id":191088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d073"} 
[2026-09-24 04:21:08] local.INFO: Extracted packet for processing {"connection_id":191088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d073"} 
[2026-09-24 04:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292052480001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790203631000,"timestamp_ms":1790203631000,"timestamp_seconds":1790203631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0739598"} 
[2026-09-24 04:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 04:21:08] 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-09-24 04: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-09-24 04:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292052480001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292052480001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:21:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:21:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292052480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":191088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:21:08] local.INFO: GPS data processed {"connection_id":191088,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:21:08] local.INFO: Acknowledgment sent {"connection_id":191088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:21:30] local.INFO: TCP Data received {"connection_id":191089,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:21:30] local.INFO: Processing buffer {"connection_id":191089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:21:30] local.INFO: IMEI packet received {"connection_id":191089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":191089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:21:35] local.INFO: TCP Data received {"connection_id":191089,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:21:35] local.INFO: Processing buffer {"connection_id":191089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:21:35] local.INFO: IMEI packet received {"connection_id":191089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":191089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:21:35] local.INFO: TCP Data received {"connection_id":191089,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:21:35] local.INFO: Processing buffer {"connection_id":191089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:21:35] local.INFO: Packet analysis {"connection_id":191089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d073"} 
[2026-09-24 04:21:35] local.INFO: Extracted packet for processing {"connection_id":191089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d073"} 
[2026-09-24 04:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292052480001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790203631000,"timestamp_ms":1790203631000,"timestamp_seconds":1790203631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0739598"} 
[2026-09-24 04:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04: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":249,"data_length":795,"current_offset":136} 
[2026-09-24 04:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292052480001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292052480001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:21:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:21:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292052480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":191089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:21:35] local.INFO: GPS data processed {"connection_id":191089,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:21:35] local.INFO: Acknowledgment sent {"connection_id":191089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:22:07] local.INFO: TCP Data received {"connection_id":191089,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:22:07] local.INFO: Processing buffer {"connection_id":191089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:22:07] local.INFO: Packet analysis {"connection_id":191089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d073"} 
[2026-09-24 04:22:07] local.INFO: Extracted packet for processing {"connection_id":191089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d073"} 
[2026-09-24 04:22:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292052480001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790203631000,"timestamp_ms":1790203631000,"timestamp_seconds":1790203631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0739598"} 
[2026-09-24 04:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 04:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292052480001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292052480001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:22:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:22:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292052480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":191089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:22:07] local.INFO: GPS data processed {"connection_id":191089,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:22:07] local.INFO: Acknowledgment sent {"connection_id":191089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:22:29] local.INFO: TCP Data received {"connection_id":191090,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:22:29] local.INFO: Processing buffer {"connection_id":191090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:22:29] local.INFO: IMEI packet received {"connection_id":191090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":191090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:22:35] local.INFO: TCP Data received {"connection_id":191090,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:22:35] local.INFO: Processing buffer {"connection_id":191090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:22:35] local.INFO: IMEI packet received {"connection_id":191090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":191090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:22:35] local.INFO: TCP Data received {"connection_id":191090,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:22:35] local.INFO: Processing buffer {"connection_id":191090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0739598012d34c58006aa47580016010522..."} 
[2026-09-24 04:22:35] local.INFO: Packet analysis {"connection_id":191090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d073"} 
[2026-09-24 04:22:35] local.INFO: Extracted packet for processing {"connection_id":191090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d073"} 
[2026-09-24 04:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292052480001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790203631000,"timestamp_ms":1790203631000,"timestamp_seconds":1790203631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0739598"} 
[2026-09-24 04:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04: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":249,"data_length":795,"current_offset":136} 
[2026-09-24 04:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292052480001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292052480001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:22:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:22:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292052480001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":191090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:22:35] local.INFO: GPS data processed {"connection_id":191090,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:22:35] local.INFO: Acknowledgment sent {"connection_id":191090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:23:07] local.INFO: TCP Data received {"connection_id":191090,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:23:07] local.INFO: Processing buffer {"connection_id":191090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:23:07] local.INFO: Packet analysis {"connection_id":191090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d078"} 
[2026-09-24 04:23:07] local.INFO: Extracted packet for processing {"connection_id":191090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d078"} 
[2026-09-24 04:23:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292129536001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790203932000,"timestamp_ms":1790203932000,"timestamp_seconds":1790203932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0782d60"} 
[2026-09-24 04:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292129536001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292129536001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:23:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:23:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292129536001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":191090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:23:07] local.INFO: GPS data processed {"connection_id":191090,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:23:07] local.INFO: Acknowledgment sent {"connection_id":191090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:23:35] local.INFO: TCP Data received {"connection_id":191091,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:23:35] local.INFO: Processing buffer {"connection_id":191091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:23:35] local.INFO: IMEI packet received {"connection_id":191091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":191091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:23:40] local.INFO: TCP Data received {"connection_id":191091,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:23:40] local.INFO: Processing buffer {"connection_id":191091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:23:40] local.INFO: IMEI packet received {"connection_id":191091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":191091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:23:41] local.INFO: TCP Data received {"connection_id":191091,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:23:41] local.INFO: Processing buffer {"connection_id":191091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:23:41] local.INFO: Packet analysis {"connection_id":191091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d078"} 
[2026-09-24 04:23:41] local.INFO: Extracted packet for processing {"connection_id":191091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d078"} 
[2026-09-24 04:23:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292129536001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790203932000,"timestamp_ms":1790203932000,"timestamp_seconds":1790203932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0782d60"} 
[2026-09-24 04:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292129536001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292129536001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:23:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:23:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292129536001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":191091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:23:41] local.INFO: GPS data processed {"connection_id":191091,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:23:41] local.INFO: Acknowledgment sent {"connection_id":191091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:23:45] local.INFO: TCP Data received {"connection_id":191091,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:23:45] local.INFO: Processing buffer {"connection_id":191091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:23:45] local.INFO: Packet analysis {"connection_id":191091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d078"} 
[2026-09-24 04:23:45] local.INFO: Extracted packet for processing {"connection_id":191091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d078"} 
[2026-09-24 04:23:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292129536001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790203932000,"timestamp_ms":1790203932000,"timestamp_seconds":1790203932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0782d60"} 
[2026-09-24 04:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292129536001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292129536001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:23:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:23:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292129536001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":191091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:23:45] local.INFO: GPS data processed {"connection_id":191091,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:23:45] local.INFO: Acknowledgment sent {"connection_id":191091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:24:30] local.INFO: TCP Data received {"connection_id":192427,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:24:30] local.INFO: Processing buffer {"connection_id":192427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:24:30] local.INFO: IMEI packet received {"connection_id":192427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":192427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:24:35] local.INFO: TCP Data received {"connection_id":192427,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:24:35] local.INFO: Processing buffer {"connection_id":192427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:24:35] local.INFO: IMEI packet received {"connection_id":192427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":192427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:24:36] local.INFO: TCP Data received {"connection_id":192427,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:24:36] local.INFO: Processing buffer {"connection_id":192427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:24:36] local.INFO: Packet analysis {"connection_id":192427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d078"} 
[2026-09-24 04:24:36] local.INFO: Extracted packet for processing {"connection_id":192427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d078"} 
[2026-09-24 04:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292129536001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790203932000,"timestamp_ms":1790203932000,"timestamp_seconds":1790203932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0782d60"} 
[2026-09-24 04:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292129536001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292129536001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:24:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:24:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292129536001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":192427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:24:36] local.INFO: GPS data processed {"connection_id":192427,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:24:36] local.INFO: Acknowledgment sent {"connection_id":192427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:25:07] local.INFO: TCP Data received {"connection_id":192427,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:25:07] local.INFO: Processing buffer {"connection_id":192427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:25:07] local.INFO: Packet analysis {"connection_id":192427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d078"} 
[2026-09-24 04:25:07] local.INFO: Extracted packet for processing {"connection_id":192427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d078"} 
[2026-09-24 04:25:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292129536001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790203932000,"timestamp_ms":1790203932000,"timestamp_seconds":1790203932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0782d60"} 
[2026-09-24 04:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292129536001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292129536001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:25:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:25:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292129536001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":192427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:25:07] local.INFO: GPS data processed {"connection_id":192427,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:25:07] local.INFO: Acknowledgment sent {"connection_id":192427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:25:30] local.INFO: TCP Data received {"connection_id":192428,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:25:30] local.INFO: Processing buffer {"connection_id":192428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:25:30] local.INFO: IMEI packet received {"connection_id":192428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":192428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:25:35] local.INFO: TCP Data received {"connection_id":192428,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:25:35] local.INFO: Processing buffer {"connection_id":192428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:25:35] local.INFO: IMEI packet received {"connection_id":192428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":192428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:25:35] local.INFO: TCP Data received {"connection_id":192428,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:25:35] local.INFO: Processing buffer {"connection_id":192428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:25:35] local.INFO: Packet analysis {"connection_id":192428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d078"} 
[2026-09-24 04:25:35] local.INFO: Extracted packet for processing {"connection_id":192428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d078"} 
[2026-09-24 04:25:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 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-09-24 04:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292129536001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790203932000,"timestamp_ms":1790203932000,"timestamp_seconds":1790203932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0782d60"} 
[2026-09-24 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-09-24 04:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 04:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292129536001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292129536001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:25:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:25:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292129536001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":192428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:25:35] local.INFO: GPS data processed {"connection_id":192428,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:25:35] local.INFO: Acknowledgment sent {"connection_id":192428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:26:07] local.INFO: TCP Data received {"connection_id":192428,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:26:07] local.INFO: Processing buffer {"connection_id":192428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:26:07] local.INFO: Packet analysis {"connection_id":192428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d078"} 
[2026-09-24 04:26:07] local.INFO: Extracted packet for processing {"connection_id":192428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d078"} 
[2026-09-24 04:26:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292129536001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790203932000,"timestamp_ms":1790203932000,"timestamp_seconds":1790203932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0782d60"} 
[2026-09-24 04:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292129536001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292129536001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:26:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:26:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292129536001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":192428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:26:07] local.INFO: GPS data processed {"connection_id":192428,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:26:07] local.INFO: Acknowledgment sent {"connection_id":192428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:26:30] local.INFO: TCP Data received {"connection_id":191092,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:26:30] local.INFO: Processing buffer {"connection_id":191092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:26:30] local.INFO: IMEI packet received {"connection_id":191092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":191092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:26:35] local.INFO: TCP Data received {"connection_id":191092,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:26:35] local.INFO: Processing buffer {"connection_id":191092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:26:35] local.INFO: IMEI packet received {"connection_id":191092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":191092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:26:35] local.INFO: TCP Data received {"connection_id":191092,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:26:35] local.INFO: Processing buffer {"connection_id":191092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:26:35] local.INFO: Packet analysis {"connection_id":191092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d078"} 
[2026-09-24 04:26:35] local.INFO: Extracted packet for processing {"connection_id":191092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d078"} 
[2026-09-24 04:26:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292129536001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790203932000,"timestamp_ms":1790203932000,"timestamp_seconds":1790203932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0782d60"} 
[2026-09-24 04:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292129536001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292129536001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:26:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:26:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292129536001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":191092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:26:35] local.INFO: GPS data processed {"connection_id":191092,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:26:35] local.INFO: Acknowledgment sent {"connection_id":191092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:27:11] local.INFO: TCP Data received {"connection_id":191092,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:27:11] local.INFO: Processing buffer {"connection_id":191092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:27:11] local.INFO: Packet analysis {"connection_id":191092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d078"} 
[2026-09-24 04:27:11] local.INFO: Extracted packet for processing {"connection_id":191092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d078"} 
[2026-09-24 04:27:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292129536001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790203932000,"timestamp_ms":1790203932000,"timestamp_seconds":1790203932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0782d60"} 
[2026-09-24 04:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292129536001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292129536001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:27:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:27:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292129536001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":191092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:27:11] local.INFO: GPS data processed {"connection_id":191092,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:27:11] local.INFO: Acknowledgment sent {"connection_id":191092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:27:29] local.INFO: TCP Data received {"connection_id":192429,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:27:29] local.INFO: Processing buffer {"connection_id":192429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:27:29] local.INFO: IMEI packet received {"connection_id":192429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":192429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:27:35] local.INFO: TCP Data received {"connection_id":192429,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:27:35] local.INFO: Processing buffer {"connection_id":192429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:27:35] local.INFO: IMEI packet received {"connection_id":192429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":192429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:27:35] local.INFO: TCP Data received {"connection_id":192429,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:27:35] local.INFO: Processing buffer {"connection_id":192429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0782d60012d34c58006aa47580016010528..."} 
[2026-09-24 04:27:35] local.INFO: Packet analysis {"connection_id":192429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d078"} 
[2026-09-24 04:27:35] local.INFO: Extracted packet for processing {"connection_id":192429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d078"} 
[2026-09-24 04:27:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":22,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292129536001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790203932000,"timestamp_ms":1790203932000,"timestamp_seconds":1790203932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0782d60"} 
[2026-09-24 04:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 04:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292129536001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292129536001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:27:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:27:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292129536001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":192429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:27:35] local.INFO: GPS data processed {"connection_id":192429,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:27:35] local.INFO: Acknowledgment sent {"connection_id":192429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:28:07] local.INFO: TCP Data received {"connection_id":192429,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:28:07] local.INFO: Processing buffer {"connection_id":192429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:28:07] local.INFO: Packet analysis {"connection_id":192429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d07c"} 
[2026-09-24 04:28:07] local.INFO: Extracted packet for processing {"connection_id":192429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d07c"} 
[2026-09-24 04:28:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292206592001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790204233000,"timestamp_ms":1790204233000,"timestamp_seconds":1790204233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d07cc528"} 
[2026-09-24 04:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 04:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292206592001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292206592001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:28:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:28:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292206592001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":192429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:28:07] local.INFO: GPS data processed {"connection_id":192429,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:28:07] local.INFO: Acknowledgment sent {"connection_id":192429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:28:29] local.INFO: TCP Data received {"connection_id":191093,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:28:29] local.INFO: Processing buffer {"connection_id":191093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:28:29] local.INFO: IMEI packet received {"connection_id":191093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":191093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:28:35] local.INFO: TCP Data received {"connection_id":191093,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:28:35] local.INFO: Processing buffer {"connection_id":191093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:28:35] local.INFO: IMEI packet received {"connection_id":191093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":191093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:28:35] local.INFO: TCP Data received {"connection_id":191093,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:28:35] local.INFO: Processing buffer {"connection_id":191093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:28:35] local.INFO: Packet analysis {"connection_id":191093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d07c"} 
[2026-09-24 04:28:35] local.INFO: Extracted packet for processing {"connection_id":191093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d07c"} 
[2026-09-24 04:28:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292206592001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790204233000,"timestamp_ms":1790204233000,"timestamp_seconds":1790204233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d07cc528"} 
[2026-09-24 04:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 04:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292206592001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292206592001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:28:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:28:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292206592001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":191093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:28:35] local.INFO: GPS data processed {"connection_id":191093,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:28:35] local.INFO: Acknowledgment sent {"connection_id":191093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:29:07] local.INFO: TCP Data received {"connection_id":191093,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:29:07] local.INFO: Processing buffer {"connection_id":191093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:29:07] local.INFO: Packet analysis {"connection_id":191093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d07c"} 
[2026-09-24 04:29:07] local.INFO: Extracted packet for processing {"connection_id":191093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d07c"} 
[2026-09-24 04:29:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292206592001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790204233000,"timestamp_ms":1790204233000,"timestamp_seconds":1790204233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d07cc528"} 
[2026-09-24 04:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 04:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292206592001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292206592001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:29:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:29:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292206592001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":191093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:29:07] local.INFO: GPS data processed {"connection_id":191093,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:29:07] local.INFO: Acknowledgment sent {"connection_id":191093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:29:35] local.INFO: TCP Data received {"connection_id":190894,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:29:35] local.INFO: Processing buffer {"connection_id":190894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:29:35] local.INFO: IMEI packet received {"connection_id":190894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":190894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:29:39] local.INFO: TCP Data received {"connection_id":190894,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:29:39] local.INFO: Processing buffer {"connection_id":190894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:29:39] local.INFO: IMEI packet received {"connection_id":190894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":190894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:29:40] local.INFO: TCP Data received {"connection_id":190894,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:29:40] local.INFO: Processing buffer {"connection_id":190894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:29:40] local.INFO: Packet analysis {"connection_id":190894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d07c"} 
[2026-09-24 04:29:40] local.INFO: Extracted packet for processing {"connection_id":190894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d07c"} 
[2026-09-24 04:29:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292206592001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790204233000,"timestamp_ms":1790204233000,"timestamp_seconds":1790204233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d07cc528"} 
[2026-09-24 04:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 04:29:40] 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-09-24 04:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292206592001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292206592001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:29:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:29:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292206592001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":190894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:29:40] local.INFO: GPS data processed {"connection_id":190894,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:29:40] local.INFO: Acknowledgment sent {"connection_id":190894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:29:45] local.INFO: TCP Data received {"connection_id":190894,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:29:45] local.INFO: Processing buffer {"connection_id":190894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:29:45] local.INFO: Packet analysis {"connection_id":190894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d07c"} 
[2026-09-24 04:29:45] local.INFO: Extracted packet for processing {"connection_id":190894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d07c"} 
[2026-09-24 04:29:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292206592001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790204233000,"timestamp_ms":1790204233000,"timestamp_seconds":1790204233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d07cc528"} 
[2026-09-24 04:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 04:29:45] 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-09-24 04: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-09-24 04:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":190894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":190894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":190894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292206592001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292206592001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:29:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:29:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292206592001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":190894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:29:45] local.INFO: GPS data processed {"connection_id":190894,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:29:45] local.INFO: Acknowledgment sent {"connection_id":190894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:30:30] local.INFO: TCP Data received {"connection_id":190895,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:30:30] local.INFO: Processing buffer {"connection_id":190895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:30:30] local.INFO: IMEI packet received {"connection_id":190895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":190895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:30:34] local.INFO: TCP Data received {"connection_id":190895,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:30:34] local.INFO: Processing buffer {"connection_id":190895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:30:34] local.INFO: IMEI packet received {"connection_id":190895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":190895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:30:35] local.INFO: TCP Data received {"connection_id":190895,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:30:35] local.INFO: Processing buffer {"connection_id":190895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:30:35] local.INFO: Packet analysis {"connection_id":190895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d07c"} 
[2026-09-24 04:30:35] local.INFO: Extracted packet for processing {"connection_id":190895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d07c"} 
[2026-09-24 04:30:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292206592001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790204233000,"timestamp_ms":1790204233000,"timestamp_seconds":1790204233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d07cc528"} 
[2026-09-24 04:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 04:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292206592001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292206592001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:30:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:30:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292206592001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":190895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:30:36] local.INFO: GPS data processed {"connection_id":190895,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:30:36] local.INFO: Acknowledgment sent {"connection_id":190895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:31:07] local.INFO: TCP Data received {"connection_id":190895,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:31:07] local.INFO: Processing buffer {"connection_id":190895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:31:07] local.INFO: Packet analysis {"connection_id":190895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d07c"} 
[2026-09-24 04:31:07] local.INFO: Extracted packet for processing {"connection_id":190895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d07c"} 
[2026-09-24 04:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292206592001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790204233000,"timestamp_ms":1790204233000,"timestamp_seconds":1790204233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d07cc528"} 
[2026-09-24 04:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 04:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292206592001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292206592001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:31:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:31:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292206592001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":190895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:31:07] local.INFO: GPS data processed {"connection_id":190895,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:31:07] local.INFO: Acknowledgment sent {"connection_id":190895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:31:29] local.INFO: TCP Data received {"connection_id":192430,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:31:29] local.INFO: Processing buffer {"connection_id":192430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:31:29] local.INFO: IMEI packet received {"connection_id":192430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":192430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:31:35] local.INFO: TCP Data received {"connection_id":192430,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:31:35] local.INFO: Processing buffer {"connection_id":192430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:31:35] local.INFO: IMEI packet received {"connection_id":192430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":192430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:31:36] local.INFO: TCP Data received {"connection_id":192430,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:31:36] local.INFO: Processing buffer {"connection_id":192430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:31:36] local.INFO: Packet analysis {"connection_id":192430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d07c"} 
[2026-09-24 04:31:36] local.INFO: Extracted packet for processing {"connection_id":192430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d07c"} 
[2026-09-24 04:31:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292206592001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790204233000,"timestamp_ms":1790204233000,"timestamp_seconds":1790204233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d07cc528"} 
[2026-09-24 04:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 04:31:36] 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-09-24 04:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292206592001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292206592001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:31:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:31:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292206592001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":192430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:31:36] local.INFO: GPS data processed {"connection_id":192430,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:31:36] local.INFO: Acknowledgment sent {"connection_id":192430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:32:07] local.INFO: TCP Data received {"connection_id":192430,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:32:07] local.INFO: Processing buffer {"connection_id":192430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:32:07] local.INFO: Packet analysis {"connection_id":192430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d07c"} 
[2026-09-24 04:32:07] local.INFO: Extracted packet for processing {"connection_id":192430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d07c"} 
[2026-09-24 04:32:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292206592001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790204233000,"timestamp_ms":1790204233000,"timestamp_seconds":1790204233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d07cc528"} 
[2026-09-24 04:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 04:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292206592001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292206592001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:32:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:32:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292206592001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":192430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:32:07] local.INFO: GPS data processed {"connection_id":192430,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:32:07] local.INFO: Acknowledgment sent {"connection_id":192430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:32:29] local.INFO: TCP Data received {"connection_id":193776,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:32:29] local.INFO: Processing buffer {"connection_id":193776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:32:29] local.INFO: IMEI packet received {"connection_id":193776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":193776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:32:34] local.INFO: TCP Data received {"connection_id":193776,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:32:34] local.INFO: Processing buffer {"connection_id":193776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:32:34] local.INFO: IMEI packet received {"connection_id":193776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":193776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:32:35] local.INFO: TCP Data received {"connection_id":193776,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:32:35] local.INFO: Processing buffer {"connection_id":193776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d07cc528012d34c58006aa4758000b01052b..."} 
[2026-09-24 04:32:35] local.INFO: Packet analysis {"connection_id":193776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d07c"} 
[2026-09-24 04:32:35] local.INFO: Extracted packet for processing {"connection_id":193776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d07c"} 
[2026-09-24 04:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292206592001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790204233000,"timestamp_ms":1790204233000,"timestamp_seconds":1790204233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d07cc528"} 
[2026-09-24 04:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 04:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292206592001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292206592001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:32:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:32:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292206592001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":193776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:32:35] local.INFO: GPS data processed {"connection_id":193776,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:32:35] local.INFO: Acknowledgment sent {"connection_id":193776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:33:07] local.INFO: TCP Data received {"connection_id":193776,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:33:07] local.INFO: Processing buffer {"connection_id":193776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:33:07] local.INFO: Packet analysis {"connection_id":193776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d081"} 
[2026-09-24 04:33:07] local.INFO: Extracted packet for processing {"connection_id":193776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d081"} 
[2026-09-24 04:33:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292283648001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790204534000,"timestamp_ms":1790204534000,"timestamp_seconds":1790204534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0815cf0"} 
[2026-09-24 04:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292283648001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292283648001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:33:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:33:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292283648001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":193776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:33:07] local.INFO: GPS data processed {"connection_id":193776,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:33:07] local.INFO: Acknowledgment sent {"connection_id":193776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:33:35] local.INFO: TCP Data received {"connection_id":192431,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:33:35] local.INFO: Processing buffer {"connection_id":192431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:33:35] local.INFO: IMEI packet received {"connection_id":192431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":192431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:33:40] local.INFO: TCP Data received {"connection_id":192431,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:33:40] local.INFO: Processing buffer {"connection_id":192431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:33:40] local.INFO: IMEI packet received {"connection_id":192431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":192431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:33:41] local.INFO: TCP Data received {"connection_id":192431,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:33:41] local.INFO: Processing buffer {"connection_id":192431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:33:41] local.INFO: Packet analysis {"connection_id":192431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d081"} 
[2026-09-24 04:33:41] local.INFO: Extracted packet for processing {"connection_id":192431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d081"} 
[2026-09-24 04:33:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292283648001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790204534000,"timestamp_ms":1790204534000,"timestamp_seconds":1790204534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0815cf0"} 
[2026-09-24 04:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292283648001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292283648001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:33:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:33:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292283648001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":192431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:33:41] local.INFO: GPS data processed {"connection_id":192431,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:33:41] local.INFO: Acknowledgment sent {"connection_id":192431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:33:45] local.INFO: TCP Data received {"connection_id":192431,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:33:45] local.INFO: Processing buffer {"connection_id":192431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:33:45] local.INFO: Packet analysis {"connection_id":192431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d081"} 
[2026-09-24 04:33:45] local.INFO: Extracted packet for processing {"connection_id":192431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d081"} 
[2026-09-24 04:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292283648001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790204534000,"timestamp_ms":1790204534000,"timestamp_seconds":1790204534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0815cf0"} 
[2026-09-24 04:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292283648001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292283648001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:33:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:33:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292283648001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":192431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:33:45] local.INFO: GPS data processed {"connection_id":192431,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:33:45] local.INFO: Acknowledgment sent {"connection_id":192431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:34:30] local.INFO: TCP Data received {"connection_id":193777,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:34:30] local.INFO: Processing buffer {"connection_id":193777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:34:30] local.INFO: IMEI packet received {"connection_id":193777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":193777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:34:34] local.INFO: TCP Data received {"connection_id":193777,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:34:35] local.INFO: Processing buffer {"connection_id":193777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:34:35] local.INFO: IMEI packet received {"connection_id":193777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":193777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:34:35] local.INFO: TCP Data received {"connection_id":193777,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:34:35] local.INFO: Processing buffer {"connection_id":193777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:34:35] local.INFO: Packet analysis {"connection_id":193777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d081"} 
[2026-09-24 04:34:35] local.INFO: Extracted packet for processing {"connection_id":193777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d081"} 
[2026-09-24 04:34:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292283648001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790204534000,"timestamp_ms":1790204534000,"timestamp_seconds":1790204534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0815cf0"} 
[2026-09-24 04:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292283648001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292283648001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:34:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:34:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292283648001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":193777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:34:35] local.INFO: GPS data processed {"connection_id":193777,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:34:35] local.INFO: Acknowledgment sent {"connection_id":193777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:35:07] local.INFO: TCP Data received {"connection_id":193777,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:35:07] local.INFO: Processing buffer {"connection_id":193777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:35:07] local.INFO: Packet analysis {"connection_id":193777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d081"} 
[2026-09-24 04:35:07] local.INFO: Extracted packet for processing {"connection_id":193777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d081"} 
[2026-09-24 04:35:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292283648001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790204534000,"timestamp_ms":1790204534000,"timestamp_seconds":1790204534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0815cf0"} 
[2026-09-24 04:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292283648001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292283648001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:35:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:35:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292283648001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":193777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:35:07] local.INFO: GPS data processed {"connection_id":193777,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:35:07] local.INFO: Acknowledgment sent {"connection_id":193777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:35:30] local.INFO: TCP Data received {"connection_id":191094,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:35:30] local.INFO: Processing buffer {"connection_id":191094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:35:30] local.INFO: IMEI packet received {"connection_id":191094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":191094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:35:34] local.INFO: TCP Data received {"connection_id":191094,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:35:34] local.INFO: Processing buffer {"connection_id":191094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:35:34] local.INFO: IMEI packet received {"connection_id":191094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":191094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:35:36] local.INFO: TCP Data received {"connection_id":191094,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:35:36] local.INFO: Processing buffer {"connection_id":191094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:35:36] local.INFO: Packet analysis {"connection_id":191094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d081"} 
[2026-09-24 04:35:36] local.INFO: Extracted packet for processing {"connection_id":191094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d081"} 
[2026-09-24 04:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292283648001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790204534000,"timestamp_ms":1790204534000,"timestamp_seconds":1790204534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0815cf0"} 
[2026-09-24 04:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292283648001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292283648001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:35:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292283648001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":191094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:35:36] local.INFO: GPS data processed {"connection_id":191094,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:35:36] local.INFO: Acknowledgment sent {"connection_id":191094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:36:07] local.INFO: TCP Data received {"connection_id":191094,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:36:07] local.INFO: Processing buffer {"connection_id":191094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:36:07] local.INFO: Packet analysis {"connection_id":191094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d081"} 
[2026-09-24 04:36:07] local.INFO: Extracted packet for processing {"connection_id":191094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d081"} 
[2026-09-24 04:36:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292283648001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790204534000,"timestamp_ms":1790204534000,"timestamp_seconds":1790204534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0815cf0"} 
[2026-09-24 04:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292283648001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292283648001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:36:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:36:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292283648001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":191094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:36:07] local.INFO: GPS data processed {"connection_id":191094,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:36:07] local.INFO: Acknowledgment sent {"connection_id":191094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:36:29] local.INFO: TCP Data received {"connection_id":191095,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:36:29] local.INFO: Processing buffer {"connection_id":191095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:36:29] local.INFO: IMEI packet received {"connection_id":191095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":191095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:36:34] local.INFO: TCP Data received {"connection_id":191095,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:36:34] local.INFO: Processing buffer {"connection_id":191095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:36:34] local.INFO: IMEI packet received {"connection_id":191095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":191095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:36:35] local.INFO: TCP Data received {"connection_id":191095,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:36:35] local.INFO: Processing buffer {"connection_id":191095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:36:35] local.INFO: Packet analysis {"connection_id":191095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d081"} 
[2026-09-24 04:36:35] local.INFO: Extracted packet for processing {"connection_id":191095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d081"} 
[2026-09-24 04:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292283648001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790204534000,"timestamp_ms":1790204534000,"timestamp_seconds":1790204534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0815cf0"} 
[2026-09-24 04:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292283648001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292283648001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:36:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:36:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292283648001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":191095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:36:35] local.INFO: GPS data processed {"connection_id":191095,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:36:35] local.INFO: Acknowledgment sent {"connection_id":191095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:37:07] local.INFO: TCP Data received {"connection_id":191095,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:37:07] local.INFO: Processing buffer {"connection_id":191095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:37:07] local.INFO: Packet analysis {"connection_id":191095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d081"} 
[2026-09-24 04:37:07] local.INFO: Extracted packet for processing {"connection_id":191095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d081"} 
[2026-09-24 04:37:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292283648001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790204534000,"timestamp_ms":1790204534000,"timestamp_seconds":1790204534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0815cf0"} 
[2026-09-24 04:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292283648001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292283648001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:37:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:37:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292283648001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":191095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:37:07] local.INFO: GPS data processed {"connection_id":191095,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:37:07] local.INFO: Acknowledgment sent {"connection_id":191095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:37:29] local.INFO: TCP Data received {"connection_id":193778,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:37:29] local.INFO: Processing buffer {"connection_id":193778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:37:29] local.INFO: IMEI packet received {"connection_id":193778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":193778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:37:34] local.INFO: TCP Data received {"connection_id":193778,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:37:34] local.INFO: Processing buffer {"connection_id":193778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:37:34] local.INFO: IMEI packet received {"connection_id":193778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":193778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:37:35] local.INFO: TCP Data received {"connection_id":193778,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:37:35] local.INFO: Processing buffer {"connection_id":193778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0815cf0012d34c58006aa4758000b010527..."} 
[2026-09-24 04:37:35] local.INFO: Packet analysis {"connection_id":193778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d081"} 
[2026-09-24 04:37:35] local.INFO: Extracted packet for processing {"connection_id":193778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d081"} 
[2026-09-24 04:37:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292283648001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790204534000,"timestamp_ms":1790204534000,"timestamp_seconds":1790204534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0815cf0"} 
[2026-09-24 04:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292283648001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292283648001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:37:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:37:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292283648001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":193778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:37:35] local.INFO: GPS data processed {"connection_id":193778,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:37:35] local.INFO: Acknowledgment sent {"connection_id":193778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:38:07] local.INFO: TCP Data received {"connection_id":193778,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:38:07] local.INFO: Processing buffer {"connection_id":193778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:38:07] local.INFO: Packet analysis {"connection_id":193778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d085"} 
[2026-09-24 04:38:07] local.INFO: Extracted packet for processing {"connection_id":193778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d085"} 
[2026-09-24 04:38:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292360704001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790204835000,"timestamp_ms":1790204835000,"timestamp_seconds":1790204835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d085f4b8"} 
[2026-09-24 04:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292360704001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292360704001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:38:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:38:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292360704001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":193778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:38:07] local.INFO: GPS data processed {"connection_id":193778,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:38:07] local.INFO: Acknowledgment sent {"connection_id":193778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:38:34] local.INFO: TCP Data received {"connection_id":190896,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:38:34] local.INFO: Processing buffer {"connection_id":190896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:38:34] local.INFO: IMEI packet received {"connection_id":190896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":190896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:38:39] local.INFO: TCP Data received {"connection_id":190896,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:38:39] local.INFO: Processing buffer {"connection_id":190896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:38:39] local.INFO: IMEI packet received {"connection_id":190896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":190896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:38:40] local.INFO: TCP Data received {"connection_id":190896,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:38:40] local.INFO: Processing buffer {"connection_id":190896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:38:40] local.INFO: Packet analysis {"connection_id":190896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d085"} 
[2026-09-24 04:38:40] local.INFO: Extracted packet for processing {"connection_id":190896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d085"} 
[2026-09-24 04:38:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292360704001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790204835000,"timestamp_ms":1790204835000,"timestamp_seconds":1790204835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d085f4b8"} 
[2026-09-24 04:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292360704001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292360704001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:38:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:38:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292360704001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":190896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:38:40] local.INFO: GPS data processed {"connection_id":190896,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:38:40] local.INFO: Acknowledgment sent {"connection_id":190896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:38:45] local.INFO: TCP Data received {"connection_id":190896,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:38:45] local.INFO: Processing buffer {"connection_id":190896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:38:45] local.INFO: Packet analysis {"connection_id":190896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d085"} 
[2026-09-24 04:38:45] local.INFO: Extracted packet for processing {"connection_id":190896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d085"} 
[2026-09-24 04:38:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292360704001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790204835000,"timestamp_ms":1790204835000,"timestamp_seconds":1790204835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d085f4b8"} 
[2026-09-24 04:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":190896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":190896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":190896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292360704001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292360704001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:38:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:38:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292360704001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":190896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:38:45] local.INFO: GPS data processed {"connection_id":190896,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:38:45] local.INFO: Acknowledgment sent {"connection_id":190896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:39:30] local.INFO: TCP Data received {"connection_id":191096,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:39:30] local.INFO: Processing buffer {"connection_id":191096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:39:30] local.INFO: IMEI packet received {"connection_id":191096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":191096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:39:35] local.INFO: TCP Data received {"connection_id":191096,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:39:35] local.INFO: Processing buffer {"connection_id":191096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:39:35] local.INFO: IMEI packet received {"connection_id":191096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":191096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:39:36] local.INFO: TCP Data received {"connection_id":191096,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:39:36] local.INFO: Processing buffer {"connection_id":191096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:39:36] local.INFO: Packet analysis {"connection_id":191096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d085"} 
[2026-09-24 04:39:36] local.INFO: Extracted packet for processing {"connection_id":191096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d085"} 
[2026-09-24 04:39:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292360704001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790204835000,"timestamp_ms":1790204835000,"timestamp_seconds":1790204835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d085f4b8"} 
[2026-09-24 04:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292360704001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292360704001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:39:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:39:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292360704001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":191096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:39:36] local.INFO: GPS data processed {"connection_id":191096,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:39:36] local.INFO: Acknowledgment sent {"connection_id":191096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:40:07] local.INFO: TCP Data received {"connection_id":191096,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:40:07] local.INFO: Processing buffer {"connection_id":191096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:40:07] local.INFO: Packet analysis {"connection_id":191096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d085"} 
[2026-09-24 04:40:07] local.INFO: Extracted packet for processing {"connection_id":191096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d085"} 
[2026-09-24 04:40:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292360704001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790204835000,"timestamp_ms":1790204835000,"timestamp_seconds":1790204835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d085f4b8"} 
[2026-09-24 04:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292360704001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292360704001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:40:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:40:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292360704001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":191096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:40:07] local.INFO: GPS data processed {"connection_id":191096,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:40:07] local.INFO: Acknowledgment sent {"connection_id":191096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:40:30] local.INFO: TCP Data received {"connection_id":192432,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:40:30] local.INFO: Processing buffer {"connection_id":192432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:40:30] local.INFO: IMEI packet received {"connection_id":192432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":192432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:40:34] local.INFO: TCP Data received {"connection_id":192432,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:40:34] local.INFO: Processing buffer {"connection_id":192432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:40:34] local.INFO: IMEI packet received {"connection_id":192432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":192432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:40:35] local.INFO: TCP Data received {"connection_id":192432,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:40:35] local.INFO: Processing buffer {"connection_id":192432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:40:35] local.INFO: Packet analysis {"connection_id":192432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d085"} 
[2026-09-24 04:40:35] local.INFO: Extracted packet for processing {"connection_id":192432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d085"} 
[2026-09-24 04:40:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292360704001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790204835000,"timestamp_ms":1790204835000,"timestamp_seconds":1790204835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d085f4b8"} 
[2026-09-24 04:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292360704001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292360704001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:40:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:40:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292360704001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":192432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:40:35] local.INFO: GPS data processed {"connection_id":192432,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:40:35] local.INFO: Acknowledgment sent {"connection_id":192432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:41:07] local.INFO: TCP Data received {"connection_id":192432,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:41:07] local.INFO: Processing buffer {"connection_id":192432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:41:07] local.INFO: Packet analysis {"connection_id":192432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d085"} 
[2026-09-24 04:41:07] local.INFO: Extracted packet for processing {"connection_id":192432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d085"} 
[2026-09-24 04:41:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292360704001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790204835000,"timestamp_ms":1790204835000,"timestamp_seconds":1790204835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d085f4b8"} 
[2026-09-24 04:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292360704001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292360704001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:41:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:41:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292360704001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":192432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:41:07] local.INFO: GPS data processed {"connection_id":192432,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:41:07] local.INFO: Acknowledgment sent {"connection_id":192432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:41:29] local.INFO: TCP Data received {"connection_id":192433,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:41:29] local.INFO: Processing buffer {"connection_id":192433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:41:29] local.INFO: IMEI packet received {"connection_id":192433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":192433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:41:34] local.INFO: TCP Data received {"connection_id":192433,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:41:34] local.INFO: Processing buffer {"connection_id":192433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:41:34] local.INFO: IMEI packet received {"connection_id":192433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":192433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:41:35] local.INFO: TCP Data received {"connection_id":192433,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:41:35] local.INFO: Processing buffer {"connection_id":192433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:41:35] local.INFO: Packet analysis {"connection_id":192433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d085"} 
[2026-09-24 04:41:35] local.INFO: Extracted packet for processing {"connection_id":192433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d085"} 
[2026-09-24 04:41:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292360704001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790204835000,"timestamp_ms":1790204835000,"timestamp_seconds":1790204835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d085f4b8"} 
[2026-09-24 04:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292360704001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292360704001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:41:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:41:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292360704001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":192433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:41:35] local.INFO: GPS data processed {"connection_id":192433,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:41:35] local.INFO: Acknowledgment sent {"connection_id":192433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:42:07] local.INFO: TCP Data received {"connection_id":192433,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:42:07] local.INFO: Processing buffer {"connection_id":192433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:42:07] local.INFO: Packet analysis {"connection_id":192433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d085"} 
[2026-09-24 04:42:07] local.INFO: Extracted packet for processing {"connection_id":192433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d085"} 
[2026-09-24 04:42:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292360704001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790204835000,"timestamp_ms":1790204835000,"timestamp_seconds":1790204835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d085f4b8"} 
[2026-09-24 04:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292360704001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292360704001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:42:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:42:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292360704001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":192433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:42:07] local.INFO: GPS data processed {"connection_id":192433,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:42:07] local.INFO: Acknowledgment sent {"connection_id":192433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:42:29] local.INFO: TCP Data received {"connection_id":191097,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:42:29] local.INFO: Processing buffer {"connection_id":191097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:42:29] local.INFO: IMEI packet received {"connection_id":191097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":191097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:42:34] local.INFO: TCP Data received {"connection_id":191097,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:42:34] local.INFO: Processing buffer {"connection_id":191097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:42:34] local.INFO: IMEI packet received {"connection_id":191097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":191097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:42:35] local.INFO: TCP Data received {"connection_id":191097,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:42:35] local.INFO: Processing buffer {"connection_id":191097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d085f4b8012d34c58006aa4758000b010528..."} 
[2026-09-24 04:42:35] local.INFO: Packet analysis {"connection_id":191097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d085"} 
[2026-09-24 04:42:35] local.INFO: Extracted packet for processing {"connection_id":191097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d085"} 
[2026-09-24 04:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":11,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292360704001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790204835000,"timestamp_ms":1790204835000,"timestamp_seconds":1790204835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d085f4b8"} 
[2026-09-24 04:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292360704001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292360704001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:42:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:42:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292360704001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":191097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:42:35] local.INFO: GPS data processed {"connection_id":191097,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:42:35] local.INFO: Acknowledgment sent {"connection_id":191097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:43:07] local.INFO: TCP Data received {"connection_id":191097,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:43:07] local.INFO: Processing buffer {"connection_id":191097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:43:07] local.INFO: Packet analysis {"connection_id":191097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d08a"} 
[2026-09-24 04:43:07] local.INFO: Extracted packet for processing {"connection_id":191097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d08a"} 
[2026-09-24 04:43:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292437760001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790205136000,"timestamp_ms":1790205136000,"timestamp_seconds":1790205136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d08a8c80"} 
[2026-09-24 04:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 04:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292437760001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292437760001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:43:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:43:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292437760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":191097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:43:07] local.INFO: GPS data processed {"connection_id":191097,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:43:07] local.INFO: Acknowledgment sent {"connection_id":191097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:43:29] local.INFO: TCP Data received {"connection_id":192434,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:43:29] local.INFO: Processing buffer {"connection_id":192434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:43:29] local.INFO: IMEI packet received {"connection_id":192434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":192434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:43:34] local.INFO: TCP Data received {"connection_id":192434,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:43:34] local.INFO: Processing buffer {"connection_id":192434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:43:34] local.INFO: IMEI packet received {"connection_id":192434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":192434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:43:36] local.INFO: TCP Data received {"connection_id":192434,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:43:36] local.INFO: Processing buffer {"connection_id":192434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:43:36] local.INFO: Packet analysis {"connection_id":192434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d08a"} 
[2026-09-24 04:43:36] local.INFO: Extracted packet for processing {"connection_id":192434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d08a"} 
[2026-09-24 04:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292437760001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790205136000,"timestamp_ms":1790205136000,"timestamp_seconds":1790205136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d08a8c80"} 
[2026-09-24 04:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 04:43: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-09-24 04:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292437760001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292437760001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:43:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:43:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292437760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":192434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:43:36] local.INFO: GPS data processed {"connection_id":192434,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:43:36] local.INFO: Acknowledgment sent {"connection_id":192434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:44:07] local.INFO: TCP Data received {"connection_id":192434,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:44:07] local.INFO: Processing buffer {"connection_id":192434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:44:07] local.INFO: Packet analysis {"connection_id":192434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d08a"} 
[2026-09-24 04:44:07] local.INFO: Extracted packet for processing {"connection_id":192434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d08a"} 
[2026-09-24 04:44:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292437760001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790205136000,"timestamp_ms":1790205136000,"timestamp_seconds":1790205136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d08a8c80"} 
[2026-09-24 04:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 04:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292437760001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292437760001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:44:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:44:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292437760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":192434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:44:07] local.INFO: GPS data processed {"connection_id":192434,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:44:07] local.INFO: Acknowledgment sent {"connection_id":192434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:44:29] local.INFO: TCP Data received {"connection_id":192435,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:44:29] local.INFO: Processing buffer {"connection_id":192435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:44:29] local.INFO: IMEI packet received {"connection_id":192435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":192435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:44:34] local.INFO: TCP Data received {"connection_id":192435,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:44:34] local.INFO: Processing buffer {"connection_id":192435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:44:34] local.INFO: IMEI packet received {"connection_id":192435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":192435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:44:35] local.INFO: TCP Data received {"connection_id":192435,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:44:35] local.INFO: Processing buffer {"connection_id":192435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:44:35] local.INFO: Packet analysis {"connection_id":192435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d08a"} 
[2026-09-24 04:44:35] local.INFO: Extracted packet for processing {"connection_id":192435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d08a"} 
[2026-09-24 04:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292437760001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790205136000,"timestamp_ms":1790205136000,"timestamp_seconds":1790205136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d08a8c80"} 
[2026-09-24 04:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 04:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292437760001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292437760001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:44:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:44:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292437760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":192435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:44:35] local.INFO: GPS data processed {"connection_id":192435,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:44:35] local.INFO: Acknowledgment sent {"connection_id":192435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:45:07] local.INFO: TCP Data received {"connection_id":192435,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:45:07] local.INFO: Processing buffer {"connection_id":192435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:45:07] local.INFO: Packet analysis {"connection_id":192435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d08a"} 
[2026-09-24 04:45:07] local.INFO: Extracted packet for processing {"connection_id":192435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d08a"} 
[2026-09-24 04:45:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292437760001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790205136000,"timestamp_ms":1790205136000,"timestamp_seconds":1790205136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d08a8c80"} 
[2026-09-24 04:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 04:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292437760001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292437760001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:45:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:45:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292437760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":192435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:45:07] local.INFO: GPS data processed {"connection_id":192435,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:45:07] local.INFO: Acknowledgment sent {"connection_id":192435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:45:29] local.INFO: TCP Data received {"connection_id":191098,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:45:29] local.INFO: Processing buffer {"connection_id":191098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:45:29] local.INFO: IMEI packet received {"connection_id":191098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":191098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:45:35] local.INFO: TCP Data received {"connection_id":191098,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:45:35] local.INFO: Processing buffer {"connection_id":191098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:45:35] local.INFO: IMEI packet received {"connection_id":191098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":191098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:45:36] local.INFO: TCP Data received {"connection_id":191098,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:45:36] local.INFO: Processing buffer {"connection_id":191098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:45:36] local.INFO: Packet analysis {"connection_id":191098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d08a"} 
[2026-09-24 04:45:36] local.INFO: Extracted packet for processing {"connection_id":191098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d08a"} 
[2026-09-24 04:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292437760001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790205136000,"timestamp_ms":1790205136000,"timestamp_seconds":1790205136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d08a8c80"} 
[2026-09-24 04:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 04:45: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-09-24 04:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292437760001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292437760001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:45:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292437760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":191098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:45:36] local.INFO: GPS data processed {"connection_id":191098,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:45:36] local.INFO: Acknowledgment sent {"connection_id":191098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:46:07] local.INFO: TCP Data received {"connection_id":191098,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:46:07] local.INFO: Processing buffer {"connection_id":191098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:46:07] local.INFO: Packet analysis {"connection_id":191098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d08a"} 
[2026-09-24 04:46:07] local.INFO: Extracted packet for processing {"connection_id":191098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d08a"} 
[2026-09-24 04:46:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292437760001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790205136000,"timestamp_ms":1790205136000,"timestamp_seconds":1790205136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d08a8c80"} 
[2026-09-24 04:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 04:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292437760001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292437760001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:46:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:46:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292437760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":191098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:46:07] local.INFO: GPS data processed {"connection_id":191098,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:46:07] local.INFO: Acknowledgment sent {"connection_id":191098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:46:29] local.INFO: TCP Data received {"connection_id":191099,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:46:29] local.INFO: Processing buffer {"connection_id":191099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:46:29] local.INFO: IMEI packet received {"connection_id":191099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":191099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:46:34] local.INFO: TCP Data received {"connection_id":191099,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:46:34] local.INFO: Processing buffer {"connection_id":191099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:46:34] local.INFO: IMEI packet received {"connection_id":191099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":191099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:46:35] local.INFO: TCP Data received {"connection_id":191099,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:46:35] local.INFO: Processing buffer {"connection_id":191099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:46:35] local.INFO: Packet analysis {"connection_id":191099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d08a"} 
[2026-09-24 04:46:35] local.INFO: Extracted packet for processing {"connection_id":191099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d08a"} 
[2026-09-24 04:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292437760001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790205136000,"timestamp_ms":1790205136000,"timestamp_seconds":1790205136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d08a8c80"} 
[2026-09-24 04:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 04:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292437760001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292437760001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:46:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:46:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292437760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":191099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:46:35] local.INFO: GPS data processed {"connection_id":191099,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:46:35] local.INFO: Acknowledgment sent {"connection_id":191099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:47:07] local.INFO: TCP Data received {"connection_id":191099,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:47:07] local.INFO: Processing buffer {"connection_id":191099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:47:07] local.INFO: Packet analysis {"connection_id":191099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d08a"} 
[2026-09-24 04:47:07] local.INFO: Extracted packet for processing {"connection_id":191099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d08a"} 
[2026-09-24 04:47:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292437760001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790205136000,"timestamp_ms":1790205136000,"timestamp_seconds":1790205136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d08a8c80"} 
[2026-09-24 04:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 04:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292437760001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292437760001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:47:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:47:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292437760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":191099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:47:07] local.INFO: GPS data processed {"connection_id":191099,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:47:07] local.INFO: Acknowledgment sent {"connection_id":191099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:47:29] local.INFO: TCP Data received {"connection_id":190897,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:47:29] local.INFO: Processing buffer {"connection_id":190897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:47:29] local.INFO: IMEI packet received {"connection_id":190897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":190897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:47:34] local.INFO: TCP Data received {"connection_id":190897,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:47:34] local.INFO: Processing buffer {"connection_id":190897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:47:34] local.INFO: IMEI packet received {"connection_id":190897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":190897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:47:35] local.INFO: TCP Data received {"connection_id":190897,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:47:35] local.INFO: Processing buffer {"connection_id":190897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d08a8c80012d34c58006aa47580013010529..."} 
[2026-09-24 04:47:35] local.INFO: Packet analysis {"connection_id":190897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d08a"} 
[2026-09-24 04:47:35] local.INFO: Extracted packet for processing {"connection_id":190897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d08a"} 
[2026-09-24 04:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292437760001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790205136000,"timestamp_ms":1790205136000,"timestamp_seconds":1790205136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d08a8c80"} 
[2026-09-24 04:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 04:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292437760001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292437760001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:47:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:47:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292437760001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":190897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:47:35] local.INFO: GPS data processed {"connection_id":190897,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:47:35] local.INFO: Acknowledgment sent {"connection_id":190897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:48:07] local.INFO: TCP Data received {"connection_id":190897,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:48:07] local.INFO: Processing buffer {"connection_id":190897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:48:07] local.INFO: Packet analysis {"connection_id":190897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d08f"} 
[2026-09-24 04:48:07] local.INFO: Extracted packet for processing {"connection_id":190897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d08f"} 
[2026-09-24 04:48:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292514816001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790205437000,"timestamp_ms":1790205437000,"timestamp_seconds":1790205437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d08f2448"} 
[2026-09-24 04:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292514816001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292514816001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:48:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:48:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292514816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":190897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:48:07] local.INFO: GPS data processed {"connection_id":190897,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:48:07] local.INFO: Acknowledgment sent {"connection_id":190897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:48:30] local.INFO: TCP Data received {"connection_id":190898,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:48:30] local.INFO: Processing buffer {"connection_id":190898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:48:30] local.INFO: IMEI packet received {"connection_id":190898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":190898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:48:34] local.INFO: TCP Data received {"connection_id":190898,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:48:34] local.INFO: Processing buffer {"connection_id":190898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:48:34] local.INFO: IMEI packet received {"connection_id":190898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":190898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:48:35] local.INFO: TCP Data received {"connection_id":190898,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:48:35] local.INFO: Processing buffer {"connection_id":190898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:48:35] local.INFO: Packet analysis {"connection_id":190898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d08f"} 
[2026-09-24 04:48:35] local.INFO: Extracted packet for processing {"connection_id":190898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d08f"} 
[2026-09-24 04:48:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292514816001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790205437000,"timestamp_ms":1790205437000,"timestamp_seconds":1790205437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d08f2448"} 
[2026-09-24 04:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292514816001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292514816001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:48:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:48:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292514816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":190898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:48:35] local.INFO: GPS data processed {"connection_id":190898,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:48:35] local.INFO: Acknowledgment sent {"connection_id":190898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:48:40] local.INFO: TCP Data received {"connection_id":190898,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:48:40] local.INFO: Processing buffer {"connection_id":190898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:48:40] local.INFO: Packet analysis {"connection_id":190898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d08f"} 
[2026-09-24 04:48:40] local.INFO: Extracted packet for processing {"connection_id":190898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d08f"} 
[2026-09-24 04:48:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292514816001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790205437000,"timestamp_ms":1790205437000,"timestamp_seconds":1790205437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d08f2448"} 
[2026-09-24 04:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292514816001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292514816001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:48:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:48:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292514816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":190898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:48:40] local.INFO: GPS data processed {"connection_id":190898,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:48:40] local.INFO: Acknowledgment sent {"connection_id":190898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:49:12] local.INFO: TCP Data received {"connection_id":190898,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:49:12] local.INFO: Processing buffer {"connection_id":190898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:49:12] local.INFO: Packet analysis {"connection_id":190898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d08f"} 
[2026-09-24 04:49:12] local.INFO: Extracted packet for processing {"connection_id":190898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d08f"} 
[2026-09-24 04:49:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292514816001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790205437000,"timestamp_ms":1790205437000,"timestamp_seconds":1790205437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d08f2448"} 
[2026-09-24 04:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292514816001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292514816001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:49:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:49:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292514816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":190898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:49:12] local.INFO: GPS data processed {"connection_id":190898,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:49:12] local.INFO: Acknowledgment sent {"connection_id":190898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:49:29] local.INFO: TCP Data received {"connection_id":190899,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:49:29] local.INFO: Processing buffer {"connection_id":190899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:49:29] local.INFO: IMEI packet received {"connection_id":190899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":190899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:49:35] local.INFO: TCP Data received {"connection_id":190899,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:49:35] local.INFO: Processing buffer {"connection_id":190899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:49:35] local.INFO: IMEI packet received {"connection_id":190899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":190899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:49:36] local.INFO: TCP Data received {"connection_id":190899,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:49:36] local.INFO: Processing buffer {"connection_id":190899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:49:36] local.INFO: Packet analysis {"connection_id":190899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d08f"} 
[2026-09-24 04:49:36] local.INFO: Extracted packet for processing {"connection_id":190899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d08f"} 
[2026-09-24 04:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292514816001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790205437000,"timestamp_ms":1790205437000,"timestamp_seconds":1790205437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d08f2448"} 
[2026-09-24 04:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292514816001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292514816001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:49:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:49:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292514816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":190899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:49:36] local.INFO: GPS data processed {"connection_id":190899,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:49:36] local.INFO: Acknowledgment sent {"connection_id":190899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:50:08] local.INFO: TCP Data received {"connection_id":190899,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:50:08] local.INFO: Processing buffer {"connection_id":190899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:50:08] local.INFO: Packet analysis {"connection_id":190899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d08f"} 
[2026-09-24 04:50:08] local.INFO: Extracted packet for processing {"connection_id":190899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d08f"} 
[2026-09-24 04:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292514816001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790205437000,"timestamp_ms":1790205437000,"timestamp_seconds":1790205437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d08f2448"} 
[2026-09-24 04:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292514816001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292514816001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:50:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:50:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292514816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":190899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:50:08] local.INFO: GPS data processed {"connection_id":190899,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:50:08] local.INFO: Acknowledgment sent {"connection_id":190899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:50:30] local.INFO: TCP Data received {"connection_id":193779,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:50:30] local.INFO: Processing buffer {"connection_id":193779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:50:30] local.INFO: IMEI packet received {"connection_id":193779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":193779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:50:35] local.INFO: TCP Data received {"connection_id":193779,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:50:35] local.INFO: Processing buffer {"connection_id":193779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:50:35] local.INFO: IMEI packet received {"connection_id":193779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":193779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:50:36] local.INFO: TCP Data received {"connection_id":193779,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:50:36] local.INFO: Processing buffer {"connection_id":193779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:50:36] local.INFO: Packet analysis {"connection_id":193779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d08f"} 
[2026-09-24 04:50:36] local.INFO: Extracted packet for processing {"connection_id":193779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d08f"} 
[2026-09-24 04:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 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-09-24 04:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292514816001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790205437000,"timestamp_ms":1790205437000,"timestamp_seconds":1790205437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d08f2448"} 
[2026-09-24 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-09-24 04:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 04:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292514816001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292514816001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:50:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:50:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292514816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":193779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:50:36] local.INFO: GPS data processed {"connection_id":193779,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:50:36] local.INFO: Acknowledgment sent {"connection_id":193779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:51:08] local.INFO: TCP Data received {"connection_id":193779,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:51:08] local.INFO: Processing buffer {"connection_id":193779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:51:08] local.INFO: Packet analysis {"connection_id":193779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d08f"} 
[2026-09-24 04:51:08] local.INFO: Extracted packet for processing {"connection_id":193779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d08f"} 
[2026-09-24 04:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292514816001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790205437000,"timestamp_ms":1790205437000,"timestamp_seconds":1790205437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d08f2448"} 
[2026-09-24 04:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292514816001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292514816001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:51:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:51:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292514816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":193779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:51:08] local.INFO: GPS data processed {"connection_id":193779,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:51:08] local.INFO: Acknowledgment sent {"connection_id":193779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:51:29] local.INFO: TCP Data received {"connection_id":190900,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:51:29] local.INFO: Processing buffer {"connection_id":190900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:51:29] local.INFO: IMEI packet received {"connection_id":190900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":190900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:51:35] local.INFO: TCP Data received {"connection_id":190900,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:51:35] local.INFO: Processing buffer {"connection_id":190900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:51:35] local.INFO: IMEI packet received {"connection_id":190900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":190900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:51:36] local.INFO: TCP Data received {"connection_id":190900,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:51:36] local.INFO: Processing buffer {"connection_id":190900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:51:36] local.INFO: Packet analysis {"connection_id":190900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d08f"} 
[2026-09-24 04:51:36] local.INFO: Extracted packet for processing {"connection_id":190900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d08f"} 
[2026-09-24 04:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292514816001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790205437000,"timestamp_ms":1790205437000,"timestamp_seconds":1790205437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d08f2448"} 
[2026-09-24 04:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292514816001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292514816001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:51:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:51:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292514816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":190900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:51:36] local.INFO: GPS data processed {"connection_id":190900,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:51:36] local.INFO: Acknowledgment sent {"connection_id":190900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:52:07] local.INFO: TCP Data received {"connection_id":190900,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:52:07] local.INFO: Processing buffer {"connection_id":190900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:52:07] local.INFO: Packet analysis {"connection_id":190900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d08f"} 
[2026-09-24 04:52:07] local.INFO: Extracted packet for processing {"connection_id":190900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d08f"} 
[2026-09-24 04:52:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292514816001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790205437000,"timestamp_ms":1790205437000,"timestamp_seconds":1790205437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d08f2448"} 
[2026-09-24 04:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292514816001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292514816001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:52:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:52:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292514816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":190900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:52:07] local.INFO: GPS data processed {"connection_id":190900,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:52:07] local.INFO: Acknowledgment sent {"connection_id":190900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:52:29] local.INFO: TCP Data received {"connection_id":192436,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:52:29] local.INFO: Processing buffer {"connection_id":192436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:52:29] local.INFO: IMEI packet received {"connection_id":192436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":192436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:52:34] local.INFO: TCP Data received {"connection_id":192436,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:52:34] local.INFO: Processing buffer {"connection_id":192436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:52:34] local.INFO: IMEI packet received {"connection_id":192436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":192436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:52:35] local.INFO: TCP Data received {"connection_id":192436,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:52:35] local.INFO: Processing buffer {"connection_id":192436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d08f2448012d34c58006aa47580013010526..."} 
[2026-09-24 04:52:35] local.INFO: Packet analysis {"connection_id":192436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d08f"} 
[2026-09-24 04:52:35] local.INFO: Extracted packet for processing {"connection_id":192436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d08f"} 
[2026-09-24 04:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292514816001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790205437000,"timestamp_ms":1790205437000,"timestamp_seconds":1790205437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d08f2448"} 
[2026-09-24 04:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292514816001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292514816001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:52:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:52:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292514816001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":192436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:52:35] local.INFO: GPS data processed {"connection_id":192436,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:52:35] local.INFO: Acknowledgment sent {"connection_id":192436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:53:09] local.INFO: TCP Data received {"connection_id":192436,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:53:09] local.INFO: Processing buffer {"connection_id":192436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:53:09] local.INFO: Packet analysis {"connection_id":192436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d093"} 
[2026-09-24 04:53:09] local.INFO: Extracted packet for processing {"connection_id":192436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d093"} 
[2026-09-24 04:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292591872001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790205738000,"timestamp_ms":1790205738000,"timestamp_seconds":1790205738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d093bc10"} 
[2026-09-24 04:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292591872001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292591872001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:53:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:53:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292591872001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":192436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:53:09] local.INFO: GPS data processed {"connection_id":192436,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:53:09] local.INFO: Acknowledgment sent {"connection_id":192436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:53:29] local.INFO: TCP Data received {"connection_id":190901,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:53:29] local.INFO: Processing buffer {"connection_id":190901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:53:29] local.INFO: IMEI packet received {"connection_id":190901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":190901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:53:34] local.INFO: TCP Data received {"connection_id":190901,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:53:34] local.INFO: Processing buffer {"connection_id":190901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:53:34] local.INFO: IMEI packet received {"connection_id":190901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":190901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:53:35] local.INFO: TCP Data received {"connection_id":190901,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:53:35] local.INFO: Processing buffer {"connection_id":190901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:53:35] local.INFO: Packet analysis {"connection_id":190901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d093"} 
[2026-09-24 04:53:35] local.INFO: Extracted packet for processing {"connection_id":190901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d093"} 
[2026-09-24 04:53:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292591872001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790205738000,"timestamp_ms":1790205738000,"timestamp_seconds":1790205738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d093bc10"} 
[2026-09-24 04:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292591872001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292591872001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:53:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:53:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292591872001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":190901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:53:36] local.INFO: GPS data processed {"connection_id":190901,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:53:36] local.INFO: Acknowledgment sent {"connection_id":190901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:54:07] local.INFO: TCP Data received {"connection_id":190901,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:54:07] local.INFO: Processing buffer {"connection_id":190901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:54:07] local.INFO: Packet analysis {"connection_id":190901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d093"} 
[2026-09-24 04:54:07] local.INFO: Extracted packet for processing {"connection_id":190901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d093"} 
[2026-09-24 04:54:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292591872001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790205738000,"timestamp_ms":1790205738000,"timestamp_seconds":1790205738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d093bc10"} 
[2026-09-24 04:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292591872001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292591872001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:54:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:54:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292591872001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":190901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:54:07] local.INFO: GPS data processed {"connection_id":190901,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:54:07] local.INFO: Acknowledgment sent {"connection_id":190901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:54:29] local.INFO: TCP Data received {"connection_id":190902,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:54:29] local.INFO: Processing buffer {"connection_id":190902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:54:29] local.INFO: IMEI packet received {"connection_id":190902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":190902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:54:34] local.INFO: TCP Data received {"connection_id":190902,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:54:34] local.INFO: Processing buffer {"connection_id":190902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:54:34] local.INFO: IMEI packet received {"connection_id":190902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":190902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:54:35] local.INFO: TCP Data received {"connection_id":190902,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:54:35] local.INFO: Processing buffer {"connection_id":190902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:54:35] local.INFO: Packet analysis {"connection_id":190902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d093"} 
[2026-09-24 04:54:35] local.INFO: Extracted packet for processing {"connection_id":190902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d093"} 
[2026-09-24 04:54:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292591872001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790205738000,"timestamp_ms":1790205738000,"timestamp_seconds":1790205738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d093bc10"} 
[2026-09-24 04:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292591872001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292591872001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:54:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:54:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292591872001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":190902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:54:35] local.INFO: GPS data processed {"connection_id":190902,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:54:35] local.INFO: Acknowledgment sent {"connection_id":190902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:55:07] local.INFO: TCP Data received {"connection_id":190902,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:55:07] local.INFO: Processing buffer {"connection_id":190902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:55:07] local.INFO: Packet analysis {"connection_id":190902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d093"} 
[2026-09-24 04:55:07] local.INFO: Extracted packet for processing {"connection_id":190902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d093"} 
[2026-09-24 04:55:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292591872001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790205738000,"timestamp_ms":1790205738000,"timestamp_seconds":1790205738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d093bc10"} 
[2026-09-24 04:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292591872001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292591872001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:55:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:55:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292591872001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":190902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:55:07] local.INFO: GPS data processed {"connection_id":190902,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:55:07] local.INFO: Acknowledgment sent {"connection_id":190902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:55:30] local.INFO: TCP Data received {"connection_id":193780,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:55:30] local.INFO: Processing buffer {"connection_id":193780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:55:30] local.INFO: IMEI packet received {"connection_id":193780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":193780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:55:34] local.INFO: TCP Data received {"connection_id":193780,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:55:34] local.INFO: Processing buffer {"connection_id":193780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:55:34] local.INFO: IMEI packet received {"connection_id":193780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":193780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:55:36] local.INFO: TCP Data received {"connection_id":193780,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:55:36] local.INFO: Processing buffer {"connection_id":193780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:55:36] local.INFO: Packet analysis {"connection_id":193780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d093"} 
[2026-09-24 04:55:36] local.INFO: Extracted packet for processing {"connection_id":193780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d093"} 
[2026-09-24 04:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292591872001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790205738000,"timestamp_ms":1790205738000,"timestamp_seconds":1790205738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d093bc10"} 
[2026-09-24 04:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292591872001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292591872001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:55:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:55:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292591872001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":193780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:55:36] local.INFO: GPS data processed {"connection_id":193780,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:55:36] local.INFO: Acknowledgment sent {"connection_id":193780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:56:07] local.INFO: TCP Data received {"connection_id":193780,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:56:07] local.INFO: Processing buffer {"connection_id":193780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:56:07] local.INFO: Packet analysis {"connection_id":193780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d093"} 
[2026-09-24 04:56:07] local.INFO: Extracted packet for processing {"connection_id":193780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d093"} 
[2026-09-24 04:56:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292591872001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790205738000,"timestamp_ms":1790205738000,"timestamp_seconds":1790205738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d093bc10"} 
[2026-09-24 04:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292591872001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292591872001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:56:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:56:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292591872001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":193780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:56:07] local.INFO: GPS data processed {"connection_id":193780,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:56:07] local.INFO: Acknowledgment sent {"connection_id":193780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:56:29] local.INFO: TCP Data received {"connection_id":193781,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:56:29] local.INFO: Processing buffer {"connection_id":193781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:56:29] local.INFO: IMEI packet received {"connection_id":193781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":193781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:56:34] local.INFO: TCP Data received {"connection_id":193781,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:56:34] local.INFO: Processing buffer {"connection_id":193781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:56:34] local.INFO: IMEI packet received {"connection_id":193781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":193781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:56:35] local.INFO: TCP Data received {"connection_id":193781,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:56:35] local.INFO: Processing buffer {"connection_id":193781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:56:35] local.INFO: Packet analysis {"connection_id":193781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d093"} 
[2026-09-24 04:56:35] local.INFO: Extracted packet for processing {"connection_id":193781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d093"} 
[2026-09-24 04:56:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292591872001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790205738000,"timestamp_ms":1790205738000,"timestamp_seconds":1790205738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d093bc10"} 
[2026-09-24 04:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292591872001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292591872001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:56:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:56:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292591872001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":193781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:56:35] local.INFO: GPS data processed {"connection_id":193781,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:56:35] local.INFO: Acknowledgment sent {"connection_id":193781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:57:07] local.INFO: TCP Data received {"connection_id":193781,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:57:07] local.INFO: Processing buffer {"connection_id":193781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:57:07] local.INFO: Packet analysis {"connection_id":193781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d093"} 
[2026-09-24 04:57:07] local.INFO: Extracted packet for processing {"connection_id":193781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d093"} 
[2026-09-24 04:57:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292591872001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790205738000,"timestamp_ms":1790205738000,"timestamp_seconds":1790205738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d093bc10"} 
[2026-09-24 04:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292591872001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292591872001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:57:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:57:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292591872001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":193781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:57:07] local.INFO: GPS data processed {"connection_id":193781,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:57:07] local.INFO: Acknowledgment sent {"connection_id":193781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:57:29] local.INFO: TCP Data received {"connection_id":192437,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:57:29] local.INFO: Processing buffer {"connection_id":192437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:57:29] local.INFO: IMEI packet received {"connection_id":192437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":192437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:57:34] local.INFO: TCP Data received {"connection_id":192437,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:57:34] local.INFO: Processing buffer {"connection_id":192437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:57:34] local.INFO: IMEI packet received {"connection_id":192437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":192437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:57:36] local.INFO: TCP Data received {"connection_id":192437,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:57:36] local.INFO: Processing buffer {"connection_id":192437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d093bc10012d34c58006aa4758001301052b..."} 
[2026-09-24 04:57:36] local.INFO: Packet analysis {"connection_id":192437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d093"} 
[2026-09-24 04:57:36] local.INFO: Extracted packet for processing {"connection_id":192437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d093"} 
[2026-09-24 04:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292591872001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790205738000,"timestamp_ms":1790205738000,"timestamp_seconds":1790205738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d093bc10"} 
[2026-09-24 04:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292591872001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292591872001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:57:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:57:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292591872001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":192437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:57:36] local.INFO: GPS data processed {"connection_id":192437,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:57:36] local.INFO: Acknowledgment sent {"connection_id":192437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:58:08] local.INFO: TCP Data received {"connection_id":192437,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 04:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 04:58:08] local.INFO: Processing buffer {"connection_id":192437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 04:58:08] local.INFO: Packet analysis {"connection_id":192437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 04:58:08] local.INFO: Extracted packet for processing {"connection_id":192437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 04:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292668928001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790206039000,"timestamp_ms":1790206039000,"timestamp_seconds":1790206039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d09853d8"} 
[2026-09-24 04:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292668928001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292668928001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:58:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292668928001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":192437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:58:08] local.INFO: GPS data processed {"connection_id":192437,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:58:08] local.INFO: Acknowledgment sent {"connection_id":192437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:58:30] local.INFO: TCP Data received {"connection_id":193782,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:58:30] local.INFO: Processing buffer {"connection_id":193782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:58:30] local.INFO: IMEI packet received {"connection_id":193782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":193782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:58:34] local.INFO: TCP Data received {"connection_id":193782,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:58:34] local.INFO: Processing buffer {"connection_id":193782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:58:34] local.INFO: IMEI packet received {"connection_id":193782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":193782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:58:35] local.INFO: TCP Data received {"connection_id":193782,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 04:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 04:58:35] local.INFO: Processing buffer {"connection_id":193782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 04:58:35] local.INFO: Packet analysis {"connection_id":193782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 04:58:35] local.INFO: Extracted packet for processing {"connection_id":193782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 04:58:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292668928001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790206039000,"timestamp_ms":1790206039000,"timestamp_seconds":1790206039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d09853d8"} 
[2026-09-24 04:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292668928001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292668928001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:58:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:58:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292668928001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":193782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:58:35] local.INFO: GPS data processed {"connection_id":193782,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:58:35] local.INFO: Acknowledgment sent {"connection_id":193782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:58:40] local.INFO: TCP Data received {"connection_id":193782,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 04:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 04:58:40] local.INFO: Processing buffer {"connection_id":193782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 04:58:40] local.INFO: Packet analysis {"connection_id":193782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 04:58:40] local.INFO: Extracted packet for processing {"connection_id":193782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 04:58:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292668928001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790206039000,"timestamp_ms":1790206039000,"timestamp_seconds":1790206039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d09853d8"} 
[2026-09-24 04:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292668928001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292668928001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:58:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:58:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292668928001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":193782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:58:40] local.INFO: GPS data processed {"connection_id":193782,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:58:40] local.INFO: Acknowledgment sent {"connection_id":193782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:59:11] local.INFO: TCP Data received {"connection_id":193782,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 04:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 04:59:11] local.INFO: Processing buffer {"connection_id":193782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 04:59:11] local.INFO: Packet analysis {"connection_id":193782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 04:59:11] local.INFO: Extracted packet for processing {"connection_id":193782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 04:59:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 04:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292668928001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790206039000,"timestamp_ms":1790206039000,"timestamp_seconds":1790206039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d09853d8"} 
[2026-09-24 04:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 04:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292668928001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292668928001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:59:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:59:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292668928001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":193782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:59:11] local.INFO: GPS data processed {"connection_id":193782,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:59:11] local.INFO: Acknowledgment sent {"connection_id":193782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 04:59:29] local.INFO: TCP Data received {"connection_id":191100,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:59:29] local.INFO: Processing buffer {"connection_id":191100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:59:29] local.INFO: IMEI packet received {"connection_id":191100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 04:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":191100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 04:59:34] local.INFO: TCP Data received {"connection_id":191100,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:59:34] local.INFO: Processing buffer {"connection_id":191100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 04:59:34] local.INFO: IMEI packet received {"connection_id":191100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 04:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":191100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 04:59:35] local.INFO: TCP Data received {"connection_id":191100,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 04:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 04:59:35] local.INFO: Processing buffer {"connection_id":191100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 04:59:35] local.INFO: Packet analysis {"connection_id":191100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 04:59:35] local.INFO: Extracted packet for processing {"connection_id":191100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 04:59:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 04: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-09-24 04:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292668928001,"note":"Value kept but may cause issues"} 
[2026-09-24 04:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 04:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 04:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 04:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790206039000,"timestamp_ms":1790206039000,"timestamp_seconds":1790206039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d09853d8"} 
[2026-09-24 04:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 04:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 04:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 04: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-09-24 04:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 04:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 04:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 04:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 04:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 04:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 04:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 04:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292668928001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 04:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 04:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 04:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292668928001,"description":"Unknown IO ID 0"} 
[2026-09-24 04:59:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 04:59:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 04:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 04:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 04:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292668928001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 04:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":191100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 04:59:35] local.INFO: GPS data processed {"connection_id":191100,"processed":1,"errors":0,"total":1} 
[2026-09-24 04:59:35] local.INFO: Acknowledgment sent {"connection_id":191100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:00:08] local.INFO: TCP Data received {"connection_id":191100,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 05:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 05:00:08] local.INFO: Processing buffer {"connection_id":191100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 05:00:08] local.INFO: Packet analysis {"connection_id":191100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 05:00:08] local.INFO: Extracted packet for processing {"connection_id":191100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 05:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292668928001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790206039000,"timestamp_ms":1790206039000,"timestamp_seconds":1790206039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d09853d8"} 
[2026-09-24 05:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292668928001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292668928001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:00:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:00:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292668928001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":191100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:00:08] local.INFO: GPS data processed {"connection_id":191100,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:00:08] local.INFO: Acknowledgment sent {"connection_id":191100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:00:30] local.INFO: TCP Data received {"connection_id":192438,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:00:30] local.INFO: Processing buffer {"connection_id":192438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:00:30] local.INFO: IMEI packet received {"connection_id":192438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":192438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:00:35] local.INFO: TCP Data received {"connection_id":192438,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:00:35] local.INFO: Processing buffer {"connection_id":192438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:00:35] local.INFO: IMEI packet received {"connection_id":192438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":192438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:00:36] local.INFO: TCP Data received {"connection_id":192438,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 05:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 05:00:36] local.INFO: Processing buffer {"connection_id":192438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 05:00:36] local.INFO: Packet analysis {"connection_id":192438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 05:00:36] local.INFO: Extracted packet for processing {"connection_id":192438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 05:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292668928001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790206039000,"timestamp_ms":1790206039000,"timestamp_seconds":1790206039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d09853d8"} 
[2026-09-24 05:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292668928001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292668928001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:00:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292668928001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":192438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:00:36] local.INFO: GPS data processed {"connection_id":192438,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:00:36] local.INFO: Acknowledgment sent {"connection_id":192438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:01:07] local.INFO: TCP Data received {"connection_id":192438,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 05:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 05:01:07] local.INFO: Processing buffer {"connection_id":192438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 05:01:07] local.INFO: Packet analysis {"connection_id":192438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 05:01:07] local.INFO: Extracted packet for processing {"connection_id":192438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 05:01:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292668928001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790206039000,"timestamp_ms":1790206039000,"timestamp_seconds":1790206039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d09853d8"} 
[2026-09-24 05:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292668928001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292668928001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:01:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:01:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292668928001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":192438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:01:07] local.INFO: GPS data processed {"connection_id":192438,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:01:07] local.INFO: Acknowledgment sent {"connection_id":192438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:01:29] local.INFO: TCP Data received {"connection_id":190903,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:01:29] local.INFO: Processing buffer {"connection_id":190903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:01:29] local.INFO: IMEI packet received {"connection_id":190903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":190903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:01:34] local.INFO: TCP Data received {"connection_id":190903,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:01:34] local.INFO: Processing buffer {"connection_id":190903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:01:34] local.INFO: IMEI packet received {"connection_id":190903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":190903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:01:35] local.INFO: TCP Data received {"connection_id":190903,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 05:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 05:01:35] local.INFO: Processing buffer {"connection_id":190903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 05:01:35] local.INFO: Packet analysis {"connection_id":190903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 05:01:35] local.INFO: Extracted packet for processing {"connection_id":190903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 05:01:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292668928001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790206039000,"timestamp_ms":1790206039000,"timestamp_seconds":1790206039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d09853d8"} 
[2026-09-24 05:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292668928001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292668928001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:01:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:01:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292668928001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":190903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:01:35] local.INFO: GPS data processed {"connection_id":190903,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:01:35] local.INFO: Acknowledgment sent {"connection_id":190903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:02:07] local.INFO: TCP Data received {"connection_id":190903,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 05:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 05:02:07] local.INFO: Processing buffer {"connection_id":190903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 05:02:07] local.INFO: Packet analysis {"connection_id":190903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 05:02:07] local.INFO: Extracted packet for processing {"connection_id":190903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 05:02:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292668928001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790206039000,"timestamp_ms":1790206039000,"timestamp_seconds":1790206039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d09853d8"} 
[2026-09-24 05:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292668928001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292668928001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:02:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:02:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292668928001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":190903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:02:07] local.INFO: GPS data processed {"connection_id":190903,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:02:07] local.INFO: Acknowledgment sent {"connection_id":190903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:02:34] local.INFO: TCP Data received {"connection_id":192439,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:02:34] local.INFO: Processing buffer {"connection_id":192439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:02:34] local.INFO: IMEI packet received {"connection_id":192439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":192439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:02:39] local.INFO: TCP Data received {"connection_id":192439,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:02:39] local.INFO: Processing buffer {"connection_id":192439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:02:39] local.INFO: IMEI packet received {"connection_id":192439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":192439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:02:40] local.INFO: TCP Data received {"connection_id":192439,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 05:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 05:02:40] local.INFO: Processing buffer {"connection_id":192439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 05:02:40] local.INFO: Packet analysis {"connection_id":192439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 05:02:40] local.INFO: Extracted packet for processing {"connection_id":192439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 05:02:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292668928001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790206039000,"timestamp_ms":1790206039000,"timestamp_seconds":1790206039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d09853d8"} 
[2026-09-24 05:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292668928001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292668928001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:02:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:02:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292668928001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":192439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:02:40] local.INFO: GPS data processed {"connection_id":192439,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:02:40] local.INFO: Acknowledgment sent {"connection_id":192439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:02:45] local.INFO: TCP Data received {"connection_id":192439,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 05:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 05:02:45] local.INFO: Processing buffer {"connection_id":192439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d09853d8012d34c58006aa47580013010525..."} 
[2026-09-24 05:02:45] local.INFO: Packet analysis {"connection_id":192439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 05:02:45] local.INFO: Extracted packet for processing {"connection_id":192439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d098"} 
[2026-09-24 05:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292668928001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790206039000,"timestamp_ms":1790206039000,"timestamp_seconds":1790206039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d09853d8"} 
[2026-09-24 05:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292668928001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292668928001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:02:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292668928001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":192439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:02:45] local.INFO: GPS data processed {"connection_id":192439,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:02:45] local.INFO: Acknowledgment sent {"connection_id":192439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:03:29] local.INFO: TCP Data received {"connection_id":191101,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:03:29] local.INFO: Processing buffer {"connection_id":191101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:03:29] local.INFO: IMEI packet received {"connection_id":191101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":191101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:03:34] local.INFO: TCP Data received {"connection_id":191101,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:03:34] local.INFO: Processing buffer {"connection_id":191101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:03:34] local.INFO: IMEI packet received {"connection_id":191101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":191101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:03:35] local.INFO: TCP Data received {"connection_id":191101,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:03:35] local.INFO: Processing buffer {"connection_id":191101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:03:35] local.INFO: Packet analysis {"connection_id":191101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d09c"} 
[2026-09-24 05:03:35] local.INFO: Extracted packet for processing {"connection_id":191101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d09c"} 
[2026-09-24 05:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292745984001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790206340000,"timestamp_ms":1790206340000,"timestamp_seconds":1790206340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d09ceba0"} 
[2026-09-24 05:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292745984001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292745984001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:03:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:03:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292745984001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":191101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:03:36] local.INFO: GPS data processed {"connection_id":191101,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:03:36] local.INFO: Acknowledgment sent {"connection_id":191101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:04:07] local.INFO: TCP Data received {"connection_id":191101,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:04:07] local.INFO: Processing buffer {"connection_id":191101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:04:07] local.INFO: Packet analysis {"connection_id":191101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d09c"} 
[2026-09-24 05:04:07] local.INFO: Extracted packet for processing {"connection_id":191101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d09c"} 
[2026-09-24 05:04:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292745984001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790206340000,"timestamp_ms":1790206340000,"timestamp_seconds":1790206340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d09ceba0"} 
[2026-09-24 05:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292745984001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292745984001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:04:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:04:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292745984001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":191101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:04:07] local.INFO: GPS data processed {"connection_id":191101,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:04:07] local.INFO: Acknowledgment sent {"connection_id":191101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:04:34] local.INFO: TCP Data received {"connection_id":192440,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:04:34] local.INFO: Processing buffer {"connection_id":192440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:04:34] local.INFO: IMEI packet received {"connection_id":192440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":192440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:04:39] local.INFO: TCP Data received {"connection_id":192440,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:04:39] local.INFO: Processing buffer {"connection_id":192440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:04:39] local.INFO: IMEI packet received {"connection_id":192440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":192440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:04:40] local.INFO: TCP Data received {"connection_id":192440,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:04:40] local.INFO: Processing buffer {"connection_id":192440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:04:40] local.INFO: Packet analysis {"connection_id":192440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d09c"} 
[2026-09-24 05:04:40] local.INFO: Extracted packet for processing {"connection_id":192440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d09c"} 
[2026-09-24 05:04:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292745984001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790206340000,"timestamp_ms":1790206340000,"timestamp_seconds":1790206340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d09ceba0"} 
[2026-09-24 05:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292745984001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292745984001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:04:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:04:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292745984001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":192440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:04:40] local.INFO: GPS data processed {"connection_id":192440,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:04:40] local.INFO: Acknowledgment sent {"connection_id":192440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:05:12] local.INFO: TCP Data received {"connection_id":192440,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:05:12] local.INFO: Processing buffer {"connection_id":192440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:05:12] local.INFO: Packet analysis {"connection_id":192440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d09c"} 
[2026-09-24 05:05:12] local.INFO: Extracted packet for processing {"connection_id":192440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d09c"} 
[2026-09-24 05:05:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292745984001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790206340000,"timestamp_ms":1790206340000,"timestamp_seconds":1790206340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d09ceba0"} 
[2026-09-24 05:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292745984001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292745984001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:05:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:05:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292745984001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":192440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:05:12] local.INFO: GPS data processed {"connection_id":192440,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:05:12] local.INFO: Acknowledgment sent {"connection_id":192440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:05:29] local.INFO: TCP Data received {"connection_id":191102,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:05:29] local.INFO: Processing buffer {"connection_id":191102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:05:29] local.INFO: IMEI packet received {"connection_id":191102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":191102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:05:34] local.INFO: TCP Data received {"connection_id":191102,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:05:34] local.INFO: Processing buffer {"connection_id":191102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:05:34] local.INFO: IMEI packet received {"connection_id":191102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":191102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:05:35] local.INFO: TCP Data received {"connection_id":191102,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:05:35] local.INFO: Processing buffer {"connection_id":191102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:05:35] local.INFO: Packet analysis {"connection_id":191102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d09c"} 
[2026-09-24 05:05:35] local.INFO: Extracted packet for processing {"connection_id":191102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d09c"} 
[2026-09-24 05:05:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292745984001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790206340000,"timestamp_ms":1790206340000,"timestamp_seconds":1790206340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d09ceba0"} 
[2026-09-24 05:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292745984001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292745984001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:05:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:05:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292745984001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":191102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:05:35] local.INFO: GPS data processed {"connection_id":191102,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:05:35] local.INFO: Acknowledgment sent {"connection_id":191102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:06:07] local.INFO: TCP Data received {"connection_id":191102,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:06:07] local.INFO: Processing buffer {"connection_id":191102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:06:07] local.INFO: Packet analysis {"connection_id":191102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d09c"} 
[2026-09-24 05:06:07] local.INFO: Extracted packet for processing {"connection_id":191102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d09c"} 
[2026-09-24 05:06:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292745984001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790206340000,"timestamp_ms":1790206340000,"timestamp_seconds":1790206340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d09ceba0"} 
[2026-09-24 05:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292745984001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292745984001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:06:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:06:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292745984001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":191102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:06:07] local.INFO: GPS data processed {"connection_id":191102,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:06:07] local.INFO: Acknowledgment sent {"connection_id":191102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:06:29] local.INFO: TCP Data received {"connection_id":192441,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:06:29] local.INFO: Processing buffer {"connection_id":192441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:06:29] local.INFO: IMEI packet received {"connection_id":192441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":192441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:06:34] local.INFO: TCP Data received {"connection_id":192441,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:06:34] local.INFO: Processing buffer {"connection_id":192441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:06:34] local.INFO: IMEI packet received {"connection_id":192441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":192441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:06:35] local.INFO: TCP Data received {"connection_id":192441,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:06:35] local.INFO: Processing buffer {"connection_id":192441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:06:35] local.INFO: Packet analysis {"connection_id":192441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d09c"} 
[2026-09-24 05:06:35] local.INFO: Extracted packet for processing {"connection_id":192441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d09c"} 
[2026-09-24 05:06:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292745984001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790206340000,"timestamp_ms":1790206340000,"timestamp_seconds":1790206340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d09ceba0"} 
[2026-09-24 05:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292745984001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292745984001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:06:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:06:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292745984001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":192441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:06:35] local.INFO: GPS data processed {"connection_id":192441,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:06:35] local.INFO: Acknowledgment sent {"connection_id":192441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:07:07] local.INFO: TCP Data received {"connection_id":192441,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:07:07] local.INFO: Processing buffer {"connection_id":192441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:07:07] local.INFO: Packet analysis {"connection_id":192441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d09c"} 
[2026-09-24 05:07:07] local.INFO: Extracted packet for processing {"connection_id":192441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d09c"} 
[2026-09-24 05:07:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292745984001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790206340000,"timestamp_ms":1790206340000,"timestamp_seconds":1790206340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d09ceba0"} 
[2026-09-24 05:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292745984001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292745984001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:07:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:07:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292745984001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":192441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:07:07] local.INFO: GPS data processed {"connection_id":192441,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:07:07] local.INFO: Acknowledgment sent {"connection_id":192441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:07:34] local.INFO: TCP Data received {"connection_id":193783,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:07:34] local.INFO: Processing buffer {"connection_id":193783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:07:34] local.INFO: IMEI packet received {"connection_id":193783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":193783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:07:39] local.INFO: TCP Data received {"connection_id":193783,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:07:39] local.INFO: Processing buffer {"connection_id":193783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:07:39] local.INFO: IMEI packet received {"connection_id":193783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":193783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:07:41] local.INFO: TCP Data received {"connection_id":193783,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:07:41] local.INFO: Processing buffer {"connection_id":193783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d09ceba0012d34c58006aa4758001301052a..."} 
[2026-09-24 05:07:41] local.INFO: Packet analysis {"connection_id":193783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d09c"} 
[2026-09-24 05:07:41] local.INFO: Extracted packet for processing {"connection_id":193783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d09c"} 
[2026-09-24 05:07:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":19,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292745984001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790206340000,"timestamp_ms":1790206340000,"timestamp_seconds":1790206340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d09ceba0"} 
[2026-09-24 05:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292745984001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292745984001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:07:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:07:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292745984001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":193783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:07:41] local.INFO: GPS data processed {"connection_id":193783,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:07:41] local.INFO: Acknowledgment sent {"connection_id":193783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:08:13] local.INFO: TCP Data received {"connection_id":193783,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:08:13] local.INFO: Processing buffer {"connection_id":193783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:08:13] local.INFO: Packet analysis {"connection_id":193783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0a1"} 
[2026-09-24 05:08:13] local.INFO: Extracted packet for processing {"connection_id":193783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0a1"} 
[2026-09-24 05:08:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292823040001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790206641000,"timestamp_ms":1790206641000,"timestamp_seconds":1790206641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0a18368"} 
[2026-09-24 05:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 05:08: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-09-24 05:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292823040001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292823040001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:08:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:08:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292823040001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":193783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:08:13] local.INFO: GPS data processed {"connection_id":193783,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:08:13] local.INFO: Acknowledgment sent {"connection_id":193783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:08:34] local.INFO: TCP Data received {"connection_id":191103,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:08:34] local.INFO: Processing buffer {"connection_id":191103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:08:34] local.INFO: IMEI packet received {"connection_id":191103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":191103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:08:39] local.INFO: TCP Data received {"connection_id":191103,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:08:39] local.INFO: Processing buffer {"connection_id":191103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:08:39] local.INFO: IMEI packet received {"connection_id":191103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":191103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:08:40] local.INFO: TCP Data received {"connection_id":191103,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:08:40] local.INFO: Processing buffer {"connection_id":191103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:08:40] local.INFO: Packet analysis {"connection_id":191103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0a1"} 
[2026-09-24 05:08:40] local.INFO: Extracted packet for processing {"connection_id":191103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0a1"} 
[2026-09-24 05:08:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292823040001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790206641000,"timestamp_ms":1790206641000,"timestamp_seconds":1790206641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0a18368"} 
[2026-09-24 05:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 05:08:40] 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-09-24 05:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292823040001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292823040001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:08:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:08:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292823040001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":191103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:08:40] local.INFO: GPS data processed {"connection_id":191103,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:08:40] local.INFO: Acknowledgment sent {"connection_id":191103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:08:45] local.INFO: TCP Data received {"connection_id":191103,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:08:45] local.INFO: Processing buffer {"connection_id":191103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:08:45] local.INFO: Packet analysis {"connection_id":191103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0a1"} 
[2026-09-24 05:08:45] local.INFO: Extracted packet for processing {"connection_id":191103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0a1"} 
[2026-09-24 05:08:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292823040001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790206641000,"timestamp_ms":1790206641000,"timestamp_seconds":1790206641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0a18368"} 
[2026-09-24 05:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 05:08:45] 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-09-24 05:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292823040001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292823040001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:08:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:08:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292823040001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":191103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:08:45] local.INFO: GPS data processed {"connection_id":191103,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:08:45] local.INFO: Acknowledgment sent {"connection_id":191103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:09:29] local.INFO: TCP Data received {"connection_id":192442,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:09:29] local.INFO: Processing buffer {"connection_id":192442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:09:29] local.INFO: IMEI packet received {"connection_id":192442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":192442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:09:34] local.INFO: TCP Data received {"connection_id":192442,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:09:34] local.INFO: Processing buffer {"connection_id":192442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:09:34] local.INFO: IMEI packet received {"connection_id":192442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":192442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:09:35] local.INFO: TCP Data received {"connection_id":192442,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:09:35] local.INFO: Processing buffer {"connection_id":192442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:09:35] local.INFO: Packet analysis {"connection_id":192442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0a1"} 
[2026-09-24 05:09:35] local.INFO: Extracted packet for processing {"connection_id":192442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0a1"} 
[2026-09-24 05:09:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292823040001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790206641000,"timestamp_ms":1790206641000,"timestamp_seconds":1790206641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0a18368"} 
[2026-09-24 05:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 05:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292823040001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292823040001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:09:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:09:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292823040001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":192442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:09:35] local.INFO: GPS data processed {"connection_id":192442,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:09:35] local.INFO: Acknowledgment sent {"connection_id":192442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:10:07] local.INFO: TCP Data received {"connection_id":192442,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:10:07] local.INFO: Processing buffer {"connection_id":192442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:10:07] local.INFO: Packet analysis {"connection_id":192442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0a1"} 
[2026-09-24 05:10:07] local.INFO: Extracted packet for processing {"connection_id":192442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0a1"} 
[2026-09-24 05:10:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292823040001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790206641000,"timestamp_ms":1790206641000,"timestamp_seconds":1790206641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0a18368"} 
[2026-09-24 05:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 05:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292823040001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292823040001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:10:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:10:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292823040001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":192442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:10:07] local.INFO: GPS data processed {"connection_id":192442,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:10:07] local.INFO: Acknowledgment sent {"connection_id":192442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:10:29] local.INFO: TCP Data received {"connection_id":192443,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:10:29] local.INFO: Processing buffer {"connection_id":192443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:10:29] local.INFO: IMEI packet received {"connection_id":192443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":192443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:10:34] local.INFO: TCP Data received {"connection_id":192443,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:10:34] local.INFO: Processing buffer {"connection_id":192443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:10:34] local.INFO: IMEI packet received {"connection_id":192443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":192443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:10:36] local.INFO: TCP Data received {"connection_id":192443,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:10:36] local.INFO: Processing buffer {"connection_id":192443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:10:36] local.INFO: Packet analysis {"connection_id":192443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0a1"} 
[2026-09-24 05:10:36] local.INFO: Extracted packet for processing {"connection_id":192443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0a1"} 
[2026-09-24 05:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292823040001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790206641000,"timestamp_ms":1790206641000,"timestamp_seconds":1790206641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0a18368"} 
[2026-09-24 05:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 05:10:36] 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-09-24 05:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292823040001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292823040001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:10:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292823040001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":192443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:10:36] local.INFO: GPS data processed {"connection_id":192443,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:10:36] local.INFO: Acknowledgment sent {"connection_id":192443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:11:07] local.INFO: TCP Data received {"connection_id":192443,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:11:07] local.INFO: Processing buffer {"connection_id":192443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:11:07] local.INFO: Packet analysis {"connection_id":192443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0a1"} 
[2026-09-24 05:11:07] local.INFO: Extracted packet for processing {"connection_id":192443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0a1"} 
[2026-09-24 05:11:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292823040001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790206641000,"timestamp_ms":1790206641000,"timestamp_seconds":1790206641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0a18368"} 
[2026-09-24 05:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 05:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292823040001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292823040001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:11:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:11:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292823040001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":192443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:11:07] local.INFO: GPS data processed {"connection_id":192443,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:11:07] local.INFO: Acknowledgment sent {"connection_id":192443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:11:30] local.INFO: TCP Data received {"connection_id":192444,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:11:30] local.INFO: Processing buffer {"connection_id":192444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:11:30] local.INFO: IMEI packet received {"connection_id":192444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":192444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:11:34] local.INFO: TCP Data received {"connection_id":192444,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:11:34] local.INFO: Processing buffer {"connection_id":192444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:11:34] local.INFO: IMEI packet received {"connection_id":192444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":192444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:11:35] local.INFO: TCP Data received {"connection_id":192444,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:11:35] local.INFO: Processing buffer {"connection_id":192444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:11:35] local.INFO: Packet analysis {"connection_id":192444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0a1"} 
[2026-09-24 05:11:35] local.INFO: Extracted packet for processing {"connection_id":192444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0a1"} 
[2026-09-24 05:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292823040001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790206641000,"timestamp_ms":1790206641000,"timestamp_seconds":1790206641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0a18368"} 
[2026-09-24 05:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 05:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292823040001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292823040001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:11:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:11:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292823040001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":192444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:11:35] local.INFO: GPS data processed {"connection_id":192444,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:11:35] local.INFO: Acknowledgment sent {"connection_id":192444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:12:07] local.INFO: TCP Data received {"connection_id":192444,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:12:07] local.INFO: Processing buffer {"connection_id":192444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:12:07] local.INFO: Packet analysis {"connection_id":192444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0a1"} 
[2026-09-24 05:12:07] local.INFO: Extracted packet for processing {"connection_id":192444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0a1"} 
[2026-09-24 05:12:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292823040001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790206641000,"timestamp_ms":1790206641000,"timestamp_seconds":1790206641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0a18368"} 
[2026-09-24 05:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 05:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292823040001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292823040001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:12:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:12:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292823040001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":192444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:12:07] local.INFO: GPS data processed {"connection_id":192444,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:12:07] local.INFO: Acknowledgment sent {"connection_id":192444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:12:29] local.INFO: TCP Data received {"connection_id":191104,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:12:29] local.INFO: Processing buffer {"connection_id":191104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:12:29] local.INFO: IMEI packet received {"connection_id":191104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":191104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:12:34] local.INFO: TCP Data received {"connection_id":191104,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:12:34] local.INFO: Processing buffer {"connection_id":191104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:12:34] local.INFO: IMEI packet received {"connection_id":191104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":191104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:12:35] local.INFO: TCP Data received {"connection_id":191104,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:12:35] local.INFO: Processing buffer {"connection_id":191104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0a18368012d34c58006aa47580008010528..."} 
[2026-09-24 05:12:35] local.INFO: Packet analysis {"connection_id":191104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0a1"} 
[2026-09-24 05:12:35] local.INFO: Extracted packet for processing {"connection_id":191104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0a1"} 
[2026-09-24 05:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292823040001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790206641000,"timestamp_ms":1790206641000,"timestamp_seconds":1790206641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0a18368"} 
[2026-09-24 05:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 05:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292823040001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292823040001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:12:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:12:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292823040001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":191104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:12:35] local.INFO: GPS data processed {"connection_id":191104,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:12:35] local.INFO: Acknowledgment sent {"connection_id":191104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:13:07] local.INFO: TCP Data received {"connection_id":191104,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:13:07] local.INFO: Processing buffer {"connection_id":191104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:13:07] local.INFO: Packet analysis {"connection_id":191104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0a6"} 
[2026-09-24 05:13:07] local.INFO: Extracted packet for processing {"connection_id":191104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0a6"} 
[2026-09-24 05:13:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":13,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292900096001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790206942000,"timestamp_ms":1790206942000,"timestamp_seconds":1790206942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0a61b30"} 
[2026-09-24 05:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292900096001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292900096001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:13:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:13:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292900096001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":191104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:13:07] local.INFO: GPS data processed {"connection_id":191104,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:13:07] local.INFO: Acknowledgment sent {"connection_id":191104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:13:34] local.INFO: TCP Data received {"connection_id":190904,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:13:34] local.INFO: Processing buffer {"connection_id":190904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:13:34] local.INFO: IMEI packet received {"connection_id":190904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":190904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:13:39] local.INFO: TCP Data received {"connection_id":190904,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:13:39] local.INFO: Processing buffer {"connection_id":190904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:13:39] local.INFO: IMEI packet received {"connection_id":190904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":190904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:13:40] local.INFO: TCP Data received {"connection_id":190904,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:13:40] local.INFO: Processing buffer {"connection_id":190904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:13:40] local.INFO: Packet analysis {"connection_id":190904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0a6"} 
[2026-09-24 05:13:40] local.INFO: Extracted packet for processing {"connection_id":190904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0a6"} 
[2026-09-24 05:13:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":13,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292900096001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790206942000,"timestamp_ms":1790206942000,"timestamp_seconds":1790206942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0a61b30"} 
[2026-09-24 05:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292900096001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292900096001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:13:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:13:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292900096001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":190904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:13:40] local.INFO: GPS data processed {"connection_id":190904,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:13:40] local.INFO: Acknowledgment sent {"connection_id":190904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:13:46] local.INFO: TCP Data received {"connection_id":190904,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:13:46] local.INFO: Processing buffer {"connection_id":190904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:13:46] local.INFO: Packet analysis {"connection_id":190904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0a6"} 
[2026-09-24 05:13:46] local.INFO: Extracted packet for processing {"connection_id":190904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0a6"} 
[2026-09-24 05:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":13,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292900096001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790206942000,"timestamp_ms":1790206942000,"timestamp_seconds":1790206942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0a61b30"} 
[2026-09-24 05:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292900096001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292900096001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:13:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:13:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292900096001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":190904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:13:46] local.INFO: GPS data processed {"connection_id":190904,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:13:46] local.INFO: Acknowledgment sent {"connection_id":190904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:14:29] local.INFO: TCP Data received {"connection_id":192445,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:14:29] local.INFO: Processing buffer {"connection_id":192445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:14:29] local.INFO: IMEI packet received {"connection_id":192445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":192445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:14:34] local.INFO: TCP Data received {"connection_id":192445,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:14:34] local.INFO: Processing buffer {"connection_id":192445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:14:34] local.INFO: IMEI packet received {"connection_id":192445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":192445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:14:35] local.INFO: TCP Data received {"connection_id":192445,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:14:35] local.INFO: Processing buffer {"connection_id":192445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:14:35] local.INFO: Packet analysis {"connection_id":192445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0a6"} 
[2026-09-24 05:14:35] local.INFO: Extracted packet for processing {"connection_id":192445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0a6"} 
[2026-09-24 05:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":13,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292900096001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790206942000,"timestamp_ms":1790206942000,"timestamp_seconds":1790206942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0a61b30"} 
[2026-09-24 05:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292900096001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292900096001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:14:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:14:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292900096001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":192445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:14:35] local.INFO: GPS data processed {"connection_id":192445,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:14:35] local.INFO: Acknowledgment sent {"connection_id":192445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:15:07] local.INFO: TCP Data received {"connection_id":192445,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:15:07] local.INFO: Processing buffer {"connection_id":192445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:15:07] local.INFO: Packet analysis {"connection_id":192445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0a6"} 
[2026-09-24 05:15:07] local.INFO: Extracted packet for processing {"connection_id":192445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0a6"} 
[2026-09-24 05:15:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":13,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292900096001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790206942000,"timestamp_ms":1790206942000,"timestamp_seconds":1790206942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0a61b30"} 
[2026-09-24 05:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292900096001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292900096001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:15:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:15:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292900096001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":192445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:15:07] local.INFO: GPS data processed {"connection_id":192445,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:15:07] local.INFO: Acknowledgment sent {"connection_id":192445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:15:29] local.INFO: TCP Data received {"connection_id":190905,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:15:29] local.INFO: Processing buffer {"connection_id":190905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:15:29] local.INFO: IMEI packet received {"connection_id":190905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":190905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:15:34] local.INFO: TCP Data received {"connection_id":190905,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:15:34] local.INFO: Processing buffer {"connection_id":190905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:15:34] local.INFO: IMEI packet received {"connection_id":190905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":190905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:15:36] local.INFO: TCP Data received {"connection_id":190905,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:15:36] local.INFO: Processing buffer {"connection_id":190905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:15:36] local.INFO: Packet analysis {"connection_id":190905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0a6"} 
[2026-09-24 05:15:36] local.INFO: Extracted packet for processing {"connection_id":190905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0a6"} 
[2026-09-24 05:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":13,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292900096001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790206942000,"timestamp_ms":1790206942000,"timestamp_seconds":1790206942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0a61b30"} 
[2026-09-24 05:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292900096001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292900096001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:15:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292900096001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":190905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:15:36] local.INFO: GPS data processed {"connection_id":190905,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:15:36] local.INFO: Acknowledgment sent {"connection_id":190905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:16:07] local.INFO: TCP Data received {"connection_id":190905,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:16:07] local.INFO: Processing buffer {"connection_id":190905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:16:07] local.INFO: Packet analysis {"connection_id":190905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0a6"} 
[2026-09-24 05:16:07] local.INFO: Extracted packet for processing {"connection_id":190905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0a6"} 
[2026-09-24 05:16:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":13,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292900096001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790206942000,"timestamp_ms":1790206942000,"timestamp_seconds":1790206942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0a61b30"} 
[2026-09-24 05:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292900096001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292900096001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:16:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:16:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292900096001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":190905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:16:07] local.INFO: GPS data processed {"connection_id":190905,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:16:07] local.INFO: Acknowledgment sent {"connection_id":190905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:16:29] local.INFO: TCP Data received {"connection_id":192446,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:16:29] local.INFO: Processing buffer {"connection_id":192446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:16:29] local.INFO: IMEI packet received {"connection_id":192446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":192446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:16:34] local.INFO: TCP Data received {"connection_id":192446,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:16:34] local.INFO: Processing buffer {"connection_id":192446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:16:34] local.INFO: IMEI packet received {"connection_id":192446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":192446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:16:36] local.INFO: TCP Data received {"connection_id":192446,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:16:36] local.INFO: Processing buffer {"connection_id":192446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:16:36] local.INFO: Packet analysis {"connection_id":192446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0a6"} 
[2026-09-24 05:16:36] local.INFO: Extracted packet for processing {"connection_id":192446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0a6"} 
[2026-09-24 05:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":13,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292900096001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790206942000,"timestamp_ms":1790206942000,"timestamp_seconds":1790206942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0a61b30"} 
[2026-09-24 05:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292900096001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292900096001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:16:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:16:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292900096001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":192446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:16:36] local.INFO: GPS data processed {"connection_id":192446,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:16:36] local.INFO: Acknowledgment sent {"connection_id":192446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:17:07] local.INFO: TCP Data received {"connection_id":192446,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:17:07] local.INFO: Processing buffer {"connection_id":192446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:17:07] local.INFO: Packet analysis {"connection_id":192446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0a6"} 
[2026-09-24 05:17:07] local.INFO: Extracted packet for processing {"connection_id":192446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0a6"} 
[2026-09-24 05:17:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":13,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292900096001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790206942000,"timestamp_ms":1790206942000,"timestamp_seconds":1790206942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0a61b30"} 
[2026-09-24 05:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292900096001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292900096001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:17:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:17:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292900096001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":192446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:17:07] local.INFO: GPS data processed {"connection_id":192446,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:17:07] local.INFO: Acknowledgment sent {"connection_id":192446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:17:29] local.INFO: TCP Data received {"connection_id":192447,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:17:29] local.INFO: Processing buffer {"connection_id":192447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:17:29] local.INFO: IMEI packet received {"connection_id":192447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":192447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:17:34] local.INFO: TCP Data received {"connection_id":192447,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:17:34] local.INFO: Processing buffer {"connection_id":192447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:17:34] local.INFO: IMEI packet received {"connection_id":192447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":192447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:17:36] local.INFO: TCP Data received {"connection_id":192447,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:17:36] local.INFO: Processing buffer {"connection_id":192447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0a61b30012d34c58006aa4758000d010526..."} 
[2026-09-24 05:17:36] local.INFO: Packet analysis {"connection_id":192447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0a6"} 
[2026-09-24 05:17:36] local.INFO: Extracted packet for processing {"connection_id":192447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0a6"} 
[2026-09-24 05:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":13,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292900096001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790206942000,"timestamp_ms":1790206942000,"timestamp_seconds":1790206942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0a61b30"} 
[2026-09-24 05:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292900096001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292900096001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:17:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292900096001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":192447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:17:36] local.INFO: GPS data processed {"connection_id":192447,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:17:36] local.INFO: Acknowledgment sent {"connection_id":192447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:18:07] local.INFO: TCP Data received {"connection_id":192447,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:18:07] local.INFO: Processing buffer {"connection_id":192447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:18:07] local.INFO: Packet analysis {"connection_id":192447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0aa"} 
[2026-09-24 05:18:07] local.INFO: Extracted packet for processing {"connection_id":192447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0aa"} 
[2026-09-24 05:18:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":13,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292977152001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790207243000,"timestamp_ms":1790207243000,"timestamp_seconds":1790207243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0aab2f8"} 
[2026-09-24 05:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 05:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292977152001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292977152001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:18:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:18:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292977152001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":192447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:18:07] local.INFO: GPS data processed {"connection_id":192447,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:18:07] local.INFO: Acknowledgment sent {"connection_id":192447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:18:34] local.INFO: TCP Data received {"connection_id":190906,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:18:34] local.INFO: Processing buffer {"connection_id":190906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:18:34] local.INFO: IMEI packet received {"connection_id":190906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":190906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:18:39] local.INFO: TCP Data received {"connection_id":190906,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:18:39] local.INFO: Processing buffer {"connection_id":190906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:18:39] local.INFO: IMEI packet received {"connection_id":190906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":190906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:18:40] local.INFO: TCP Data received {"connection_id":190906,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:18:40] local.INFO: Processing buffer {"connection_id":190906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:18:40] local.INFO: Packet analysis {"connection_id":190906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0aa"} 
[2026-09-24 05:18:40] local.INFO: Extracted packet for processing {"connection_id":190906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0aa"} 
[2026-09-24 05:18:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":13,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292977152001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790207243000,"timestamp_ms":1790207243000,"timestamp_seconds":1790207243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0aab2f8"} 
[2026-09-24 05:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 05:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292977152001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292977152001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:18:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:18:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292977152001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":190906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:18:40] local.INFO: GPS data processed {"connection_id":190906,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:18:40] local.INFO: Acknowledgment sent {"connection_id":190906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:19:12] local.INFO: TCP Data received {"connection_id":190906,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:19:12] local.INFO: Processing buffer {"connection_id":190906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:19:12] local.INFO: Packet analysis {"connection_id":190906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0aa"} 
[2026-09-24 05:19:12] local.INFO: Extracted packet for processing {"connection_id":190906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0aa"} 
[2026-09-24 05:19:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":13,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292977152001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790207243000,"timestamp_ms":1790207243000,"timestamp_seconds":1790207243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0aab2f8"} 
[2026-09-24 05:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 05:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292977152001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292977152001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:19:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:19:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292977152001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":190906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:19:12] local.INFO: GPS data processed {"connection_id":190906,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:19:12] local.INFO: Acknowledgment sent {"connection_id":190906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:19:30] local.INFO: TCP Data received {"connection_id":193784,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:19:30] local.INFO: Processing buffer {"connection_id":193784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:19:30] local.INFO: IMEI packet received {"connection_id":193784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":193784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:19:34] local.INFO: TCP Data received {"connection_id":193784,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:19:34] local.INFO: Processing buffer {"connection_id":193784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:19:34] local.INFO: IMEI packet received {"connection_id":193784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":193784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:19:35] local.INFO: TCP Data received {"connection_id":193784,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:19:35] local.INFO: Processing buffer {"connection_id":193784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:19:35] local.INFO: Packet analysis {"connection_id":193784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0aa"} 
[2026-09-24 05:19:35] local.INFO: Extracted packet for processing {"connection_id":193784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0aa"} 
[2026-09-24 05:19:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":13,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292977152001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790207243000,"timestamp_ms":1790207243000,"timestamp_seconds":1790207243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0aab2f8"} 
[2026-09-24 05:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05: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-09-24 05: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-09-24 05:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292977152001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292977152001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:19:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:19:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292977152001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":193784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:19:35] local.INFO: GPS data processed {"connection_id":193784,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:19:35] local.INFO: Acknowledgment sent {"connection_id":193784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:20:07] local.INFO: TCP Data received {"connection_id":193784,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:20:07] local.INFO: Processing buffer {"connection_id":193784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:20:07] local.INFO: Packet analysis {"connection_id":193784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0aa"} 
[2026-09-24 05:20:07] local.INFO: Extracted packet for processing {"connection_id":193784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0aa"} 
[2026-09-24 05:20:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":13,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292977152001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790207243000,"timestamp_ms":1790207243000,"timestamp_seconds":1790207243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0aab2f8"} 
[2026-09-24 05:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 05:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292977152001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292977152001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:20:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:20:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292977152001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":193784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:20:07] local.INFO: GPS data processed {"connection_id":193784,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:20:07] local.INFO: Acknowledgment sent {"connection_id":193784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:20:30] local.INFO: TCP Data received {"connection_id":191105,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:20:30] local.INFO: Processing buffer {"connection_id":191105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:20:30] local.INFO: IMEI packet received {"connection_id":191105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":191105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:20:34] local.INFO: TCP Data received {"connection_id":191105,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:20:34] local.INFO: Processing buffer {"connection_id":191105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:20:34] local.INFO: IMEI packet received {"connection_id":191105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":191105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:20:35] local.INFO: TCP Data received {"connection_id":191105,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:20:35] local.INFO: Processing buffer {"connection_id":191105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:20:35] local.INFO: Packet analysis {"connection_id":191105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0aa"} 
[2026-09-24 05:20:35] local.INFO: Extracted packet for processing {"connection_id":191105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0aa"} 
[2026-09-24 05:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":13,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292977152001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790207243000,"timestamp_ms":1790207243000,"timestamp_seconds":1790207243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0aab2f8"} 
[2026-09-24 05:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 05:20: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-09-24 05:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292977152001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292977152001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:20:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:20:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292977152001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":191105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:20:35] local.INFO: GPS data processed {"connection_id":191105,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:20:35] local.INFO: Acknowledgment sent {"connection_id":191105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:21:07] local.INFO: TCP Data received {"connection_id":191105,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:21:07] local.INFO: Processing buffer {"connection_id":191105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:21:07] local.INFO: Packet analysis {"connection_id":191105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0aa"} 
[2026-09-24 05:21:07] local.INFO: Extracted packet for processing {"connection_id":191105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0aa"} 
[2026-09-24 05:21:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":13,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292977152001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790207243000,"timestamp_ms":1790207243000,"timestamp_seconds":1790207243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0aab2f8"} 
[2026-09-24 05:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 05:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292977152001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292977152001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:21:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:21:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292977152001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":191105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:21:07] local.INFO: GPS data processed {"connection_id":191105,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:21:07] local.INFO: Acknowledgment sent {"connection_id":191105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:21:29] local.INFO: TCP Data received {"connection_id":193785,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:21:29] local.INFO: Processing buffer {"connection_id":193785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:21:29] local.INFO: IMEI packet received {"connection_id":193785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":193785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:21:34] local.INFO: TCP Data received {"connection_id":193785,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:21:34] local.INFO: Processing buffer {"connection_id":193785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:21:34] local.INFO: IMEI packet received {"connection_id":193785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":193785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:21:35] local.INFO: TCP Data received {"connection_id":193785,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:21:35] local.INFO: Processing buffer {"connection_id":193785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:21:35] local.INFO: Packet analysis {"connection_id":193785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0aa"} 
[2026-09-24 05:21:35] local.INFO: Extracted packet for processing {"connection_id":193785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0aa"} 
[2026-09-24 05:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":13,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292977152001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790207243000,"timestamp_ms":1790207243000,"timestamp_seconds":1790207243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0aab2f8"} 
[2026-09-24 05:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05: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":151,"data_length":795,"current_offset":136} 
[2026-09-24 05:21: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-09-24 05: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-09-24 05:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292977152001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292977152001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:21:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:21:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292977152001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":193785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:21:35] local.INFO: GPS data processed {"connection_id":193785,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:21:35] local.INFO: Acknowledgment sent {"connection_id":193785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:22:07] local.INFO: TCP Data received {"connection_id":193785,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:22:07] local.INFO: Processing buffer {"connection_id":193785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:22:07] local.INFO: Packet analysis {"connection_id":193785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0aa"} 
[2026-09-24 05:22:07] local.INFO: Extracted packet for processing {"connection_id":193785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0aa"} 
[2026-09-24 05:22:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":13,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292977152001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790207243000,"timestamp_ms":1790207243000,"timestamp_seconds":1790207243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0aab2f8"} 
[2026-09-24 05:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 05:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292977152001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292977152001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:22:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:22:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292977152001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":193785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:22:07] local.INFO: GPS data processed {"connection_id":193785,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:22:07] local.INFO: Acknowledgment sent {"connection_id":193785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:22:29] local.INFO: TCP Data received {"connection_id":193786,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:22:29] local.INFO: Processing buffer {"connection_id":193786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:22:29] local.INFO: IMEI packet received {"connection_id":193786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":193786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:22:34] local.INFO: TCP Data received {"connection_id":193786,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:22:34] local.INFO: Processing buffer {"connection_id":193786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:22:34] local.INFO: IMEI packet received {"connection_id":193786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":193786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:22:35] local.INFO: TCP Data received {"connection_id":193786,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:22:35] local.INFO: Processing buffer {"connection_id":193786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0aab2f8012d34c58006aa4758000d010527..."} 
[2026-09-24 05:22:35] local.INFO: Packet analysis {"connection_id":193786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0aa"} 
[2026-09-24 05:22:35] local.INFO: Extracted packet for processing {"connection_id":193786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0aa"} 
[2026-09-24 05:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":13,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458292977152001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790207243000,"timestamp_ms":1790207243000,"timestamp_seconds":1790207243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0aab2f8"} 
[2026-09-24 05:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05: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":151,"data_length":795,"current_offset":136} 
[2026-09-24 05:22: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-09-24 05: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-09-24 05:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458292977152001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458292977152001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:22:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:22:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458292977152001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":193786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:22:35] local.INFO: GPS data processed {"connection_id":193786,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:22:35] local.INFO: Acknowledgment sent {"connection_id":193786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:23:07] local.INFO: TCP Data received {"connection_id":193786,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:23:07] local.INFO: Processing buffer {"connection_id":193786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:23:07] local.INFO: Packet analysis {"connection_id":193786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0af"} 
[2026-09-24 05:23:07] local.INFO: Extracted packet for processing {"connection_id":193786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0af"} 
[2026-09-24 05:23:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293054208001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790207544000,"timestamp_ms":1790207544000,"timestamp_seconds":1790207544,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0af4ac0"} 
[2026-09-24 05:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 05:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293054208001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293054208001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:23:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:23:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293054208001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":193786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:23:07] local.INFO: GPS data processed {"connection_id":193786,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:23:07] local.INFO: Acknowledgment sent {"connection_id":193786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:23:34] local.INFO: TCP Data received {"connection_id":192448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:23:34] local.INFO: Processing buffer {"connection_id":192448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:23:34] local.INFO: IMEI packet received {"connection_id":192448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":192448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:23:39] local.INFO: TCP Data received {"connection_id":192448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:23:39] local.INFO: Processing buffer {"connection_id":192448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:23:39] local.INFO: IMEI packet received {"connection_id":192448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":192448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:23:41] local.INFO: TCP Data received {"connection_id":192448,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:23:41] local.INFO: Processing buffer {"connection_id":192448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:23:41] local.INFO: Packet analysis {"connection_id":192448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0af"} 
[2026-09-24 05:23:41] local.INFO: Extracted packet for processing {"connection_id":192448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0af"} 
[2026-09-24 05:23:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293054208001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790207544000,"timestamp_ms":1790207544000,"timestamp_seconds":1790207544,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0af4ac0"} 
[2026-09-24 05:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 05:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293054208001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293054208001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:23:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:23:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293054208001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":192448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:23:41] local.INFO: GPS data processed {"connection_id":192448,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:23:41] local.INFO: Acknowledgment sent {"connection_id":192448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:24:13] local.INFO: TCP Data received {"connection_id":192448,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:24:13] local.INFO: Processing buffer {"connection_id":192448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:24:13] local.INFO: Packet analysis {"connection_id":192448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0af"} 
[2026-09-24 05:24:13] local.INFO: Extracted packet for processing {"connection_id":192448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0af"} 
[2026-09-24 05:24:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293054208001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790207544000,"timestamp_ms":1790207544000,"timestamp_seconds":1790207544,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0af4ac0"} 
[2026-09-24 05:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 05:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293054208001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293054208001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:24:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:24:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293054208001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":192448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:24:13] local.INFO: GPS data processed {"connection_id":192448,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:24:13] local.INFO: Acknowledgment sent {"connection_id":192448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:24:29] local.INFO: TCP Data received {"connection_id":191106,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:24:29] local.INFO: Processing buffer {"connection_id":191106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:24:29] local.INFO: IMEI packet received {"connection_id":191106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":191106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:24:34] local.INFO: TCP Data received {"connection_id":191106,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:24:34] local.INFO: Processing buffer {"connection_id":191106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:24:34] local.INFO: IMEI packet received {"connection_id":191106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":191106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:24:35] local.INFO: TCP Data received {"connection_id":191106,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:24:35] local.INFO: Processing buffer {"connection_id":191106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:24:35] local.INFO: Packet analysis {"connection_id":191106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0af"} 
[2026-09-24 05:24:35] local.INFO: Extracted packet for processing {"connection_id":191106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0af"} 
[2026-09-24 05:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293054208001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790207544000,"timestamp_ms":1790207544000,"timestamp_seconds":1790207544,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0af4ac0"} 
[2026-09-24 05:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 05:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293054208001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293054208001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:24:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:24:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293054208001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":191106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:24:35] local.INFO: GPS data processed {"connection_id":191106,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:24:35] local.INFO: Acknowledgment sent {"connection_id":191106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:25:07] local.INFO: TCP Data received {"connection_id":191106,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:25:07] local.INFO: Processing buffer {"connection_id":191106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:25:07] local.INFO: Packet analysis {"connection_id":191106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0af"} 
[2026-09-24 05:25:07] local.INFO: Extracted packet for processing {"connection_id":191106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0af"} 
[2026-09-24 05:25:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293054208001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790207544000,"timestamp_ms":1790207544000,"timestamp_seconds":1790207544,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0af4ac0"} 
[2026-09-24 05:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 05:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293054208001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293054208001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:25:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:25:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293054208001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":191106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:25:07] local.INFO: GPS data processed {"connection_id":191106,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:25:07] local.INFO: Acknowledgment sent {"connection_id":191106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:25:29] local.INFO: TCP Data received {"connection_id":193787,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:25:29] local.INFO: Processing buffer {"connection_id":193787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:25:29] local.INFO: IMEI packet received {"connection_id":193787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":193787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:25:34] local.INFO: TCP Data received {"connection_id":193787,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:25:34] local.INFO: Processing buffer {"connection_id":193787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:25:34] local.INFO: IMEI packet received {"connection_id":193787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":193787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:25:35] local.INFO: TCP Data received {"connection_id":193787,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:25:35] local.INFO: Processing buffer {"connection_id":193787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:25:35] local.INFO: Packet analysis {"connection_id":193787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0af"} 
[2026-09-24 05:25:35] local.INFO: Extracted packet for processing {"connection_id":193787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0af"} 
[2026-09-24 05:25:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293054208001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790207544000,"timestamp_ms":1790207544000,"timestamp_seconds":1790207544,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0af4ac0"} 
[2026-09-24 05:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 05:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293054208001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293054208001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:25:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:25:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293054208001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":193787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:25:35] local.INFO: GPS data processed {"connection_id":193787,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:25:35] local.INFO: Acknowledgment sent {"connection_id":193787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:26:07] local.INFO: TCP Data received {"connection_id":193787,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:26:07] local.INFO: Processing buffer {"connection_id":193787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:26:07] local.INFO: Packet analysis {"connection_id":193787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0af"} 
[2026-09-24 05:26:07] local.INFO: Extracted packet for processing {"connection_id":193787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0af"} 
[2026-09-24 05:26:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293054208001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790207544000,"timestamp_ms":1790207544000,"timestamp_seconds":1790207544,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0af4ac0"} 
[2026-09-24 05:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 05:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293054208001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293054208001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:26:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:26:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293054208001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":193787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:26:07] local.INFO: GPS data processed {"connection_id":193787,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:26:07] local.INFO: Acknowledgment sent {"connection_id":193787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:26:29] local.INFO: TCP Data received {"connection_id":190907,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:26:29] local.INFO: Processing buffer {"connection_id":190907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:26:29] local.INFO: IMEI packet received {"connection_id":190907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":190907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:26:34] local.INFO: TCP Data received {"connection_id":190907,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:26:34] local.INFO: Processing buffer {"connection_id":190907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:26:34] local.INFO: IMEI packet received {"connection_id":190907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":190907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:26:35] local.INFO: TCP Data received {"connection_id":190907,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:26:35] local.INFO: Processing buffer {"connection_id":190907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:26:35] local.INFO: Packet analysis {"connection_id":190907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0af"} 
[2026-09-24 05:26:35] local.INFO: Extracted packet for processing {"connection_id":190907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0af"} 
[2026-09-24 05:26:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293054208001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790207544000,"timestamp_ms":1790207544000,"timestamp_seconds":1790207544,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0af4ac0"} 
[2026-09-24 05:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 05:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293054208001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293054208001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:26:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:26:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293054208001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":190907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:26:35] local.INFO: GPS data processed {"connection_id":190907,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:26:35] local.INFO: Acknowledgment sent {"connection_id":190907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:27:07] local.INFO: TCP Data received {"connection_id":190907,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:27:07] local.INFO: Processing buffer {"connection_id":190907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:27:07] local.INFO: Packet analysis {"connection_id":190907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0af"} 
[2026-09-24 05:27:07] local.INFO: Extracted packet for processing {"connection_id":190907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0af"} 
[2026-09-24 05:27:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293054208001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790207544000,"timestamp_ms":1790207544000,"timestamp_seconds":1790207544,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0af4ac0"} 
[2026-09-24 05:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 05:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293054208001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293054208001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:27:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:27:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293054208001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":190907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:27:07] local.INFO: GPS data processed {"connection_id":190907,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:27:07] local.INFO: Acknowledgment sent {"connection_id":190907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:27:29] local.INFO: TCP Data received {"connection_id":191107,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:27:29] local.INFO: Processing buffer {"connection_id":191107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:27:29] local.INFO: IMEI packet received {"connection_id":191107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":191107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:27:34] local.INFO: TCP Data received {"connection_id":191107,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:27:34] local.INFO: Processing buffer {"connection_id":191107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:27:34] local.INFO: IMEI packet received {"connection_id":191107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":191107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:27:36] local.INFO: TCP Data received {"connection_id":191107,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:27:36] local.INFO: Processing buffer {"connection_id":191107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0af4ac0012d34c58006aa4758000801052a..."} 
[2026-09-24 05:27:36] local.INFO: Packet analysis {"connection_id":191107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0af"} 
[2026-09-24 05:27:36] local.INFO: Extracted packet for processing {"connection_id":191107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0af"} 
[2026-09-24 05:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":42,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293054208001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790207544000,"timestamp_ms":1790207544000,"timestamp_seconds":1790207544,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0af4ac0"} 
[2026-09-24 05:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 05:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293054208001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293054208001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:27:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:27:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293054208001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":191107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:27:36] local.INFO: GPS data processed {"connection_id":191107,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:27:36] local.INFO: Acknowledgment sent {"connection_id":191107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:28:07] local.INFO: TCP Data received {"connection_id":191107,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:28:07] local.INFO: Processing buffer {"connection_id":191107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:28:07] local.INFO: Packet analysis {"connection_id":191107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0b3"} 
[2026-09-24 05:28:07] local.INFO: Extracted packet for processing {"connection_id":191107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0b3"} 
[2026-09-24 05:28:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293131264001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790207845000,"timestamp_ms":1790207845000,"timestamp_seconds":1790207845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0b3e288"} 
[2026-09-24 05:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 05:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293131264001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293131264001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:28:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:28:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293131264001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":191107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:28:07] local.INFO: GPS data processed {"connection_id":191107,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:28:07] local.INFO: Acknowledgment sent {"connection_id":191107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:28:34] local.INFO: TCP Data received {"connection_id":193788,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:28:34] local.INFO: Processing buffer {"connection_id":193788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:28:34] local.INFO: IMEI packet received {"connection_id":193788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":193788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:28:39] local.INFO: TCP Data received {"connection_id":193788,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:28:39] local.INFO: Processing buffer {"connection_id":193788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:28:39] local.INFO: IMEI packet received {"connection_id":193788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":193788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:28:40] local.INFO: TCP Data received {"connection_id":193788,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:28:40] local.INFO: Processing buffer {"connection_id":193788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:28:40] local.INFO: Packet analysis {"connection_id":193788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0b3"} 
[2026-09-24 05:28:40] local.INFO: Extracted packet for processing {"connection_id":193788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0b3"} 
[2026-09-24 05:28:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293131264001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790207845000,"timestamp_ms":1790207845000,"timestamp_seconds":1790207845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0b3e288"} 
[2026-09-24 05:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 05:28:40] 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-09-24 05:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293131264001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293131264001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:28:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:28:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293131264001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":193788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:28:40] local.INFO: GPS data processed {"connection_id":193788,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:28:40] local.INFO: Acknowledgment sent {"connection_id":193788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:29:12] local.INFO: TCP Data received {"connection_id":193788,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:29:12] local.INFO: Processing buffer {"connection_id":193788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:29:12] local.INFO: Packet analysis {"connection_id":193788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0b3"} 
[2026-09-24 05:29:12] local.INFO: Extracted packet for processing {"connection_id":193788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0b3"} 
[2026-09-24 05:29:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293131264001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790207845000,"timestamp_ms":1790207845000,"timestamp_seconds":1790207845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0b3e288"} 
[2026-09-24 05:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 05:29:12] 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-09-24 05:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293131264001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293131264001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:29:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:29:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293131264001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":193788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:29:12] local.INFO: GPS data processed {"connection_id":193788,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:29:12] local.INFO: Acknowledgment sent {"connection_id":193788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:29:30] local.INFO: TCP Data received {"connection_id":192449,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:29:30] local.INFO: Processing buffer {"connection_id":192449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:29:30] local.INFO: IMEI packet received {"connection_id":192449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":192449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:29:34] local.INFO: TCP Data received {"connection_id":192449,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:29:34] local.INFO: Processing buffer {"connection_id":192449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:29:34] local.INFO: IMEI packet received {"connection_id":192449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":192449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:29:35] local.INFO: TCP Data received {"connection_id":192449,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:29:35] local.INFO: Processing buffer {"connection_id":192449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:29:35] local.INFO: Packet analysis {"connection_id":192449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0b3"} 
[2026-09-24 05:29:35] local.INFO: Extracted packet for processing {"connection_id":192449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0b3"} 
[2026-09-24 05:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293131264001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790207845000,"timestamp_ms":1790207845000,"timestamp_seconds":1790207845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0b3e288"} 
[2026-09-24 05:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 05:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293131264001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293131264001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:29:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:29:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293131264001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":192449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:29:35] local.INFO: GPS data processed {"connection_id":192449,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:29:35] local.INFO: Acknowledgment sent {"connection_id":192449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:30:07] local.INFO: TCP Data received {"connection_id":192449,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:30:07] local.INFO: Processing buffer {"connection_id":192449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:30:07] local.INFO: Packet analysis {"connection_id":192449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0b3"} 
[2026-09-24 05:30:07] local.INFO: Extracted packet for processing {"connection_id":192449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0b3"} 
[2026-09-24 05:30:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293131264001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790207845000,"timestamp_ms":1790207845000,"timestamp_seconds":1790207845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0b3e288"} 
[2026-09-24 05:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 05:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293131264001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293131264001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:30:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:30:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293131264001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":192449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:30:07] local.INFO: GPS data processed {"connection_id":192449,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:30:07] local.INFO: Acknowledgment sent {"connection_id":192449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:30:29] local.INFO: TCP Data received {"connection_id":193789,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:30:29] local.INFO: Processing buffer {"connection_id":193789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:30:29] local.INFO: IMEI packet received {"connection_id":193789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":193789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:30:34] local.INFO: TCP Data received {"connection_id":193789,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:30:34] local.INFO: Processing buffer {"connection_id":193789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:30:34] local.INFO: IMEI packet received {"connection_id":193789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":193789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:30:36] local.INFO: TCP Data received {"connection_id":193789,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:30:36] local.INFO: Processing buffer {"connection_id":193789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:30:36] local.INFO: Packet analysis {"connection_id":193789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0b3"} 
[2026-09-24 05:30:36] local.INFO: Extracted packet for processing {"connection_id":193789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0b3"} 
[2026-09-24 05:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293131264001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790207845000,"timestamp_ms":1790207845000,"timestamp_seconds":1790207845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0b3e288"} 
[2026-09-24 05:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 05:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293131264001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293131264001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:30:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:30:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293131264001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":193789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:30:36] local.INFO: GPS data processed {"connection_id":193789,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:30:36] local.INFO: Acknowledgment sent {"connection_id":193789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:31:07] local.INFO: TCP Data received {"connection_id":193789,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:31:07] local.INFO: Processing buffer {"connection_id":193789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:31:07] local.INFO: Packet analysis {"connection_id":193789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0b3"} 
[2026-09-24 05:31:07] local.INFO: Extracted packet for processing {"connection_id":193789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0b3"} 
[2026-09-24 05:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293131264001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790207845000,"timestamp_ms":1790207845000,"timestamp_seconds":1790207845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0b3e288"} 
[2026-09-24 05:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 05:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293131264001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293131264001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:31:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:31:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293131264001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":193789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:31:07] local.INFO: GPS data processed {"connection_id":193789,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:31:07] local.INFO: Acknowledgment sent {"connection_id":193789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:31:29] local.INFO: TCP Data received {"connection_id":192450,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:31:29] local.INFO: Processing buffer {"connection_id":192450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:31:29] local.INFO: IMEI packet received {"connection_id":192450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":192450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:31:35] local.INFO: TCP Data received {"connection_id":192450,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:31:35] local.INFO: Processing buffer {"connection_id":192450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:31:35] local.INFO: IMEI packet received {"connection_id":192450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":192450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:31:35] local.INFO: TCP Data received {"connection_id":192450,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:31:35] local.INFO: Processing buffer {"connection_id":192450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:31:35] local.INFO: Packet analysis {"connection_id":192450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0b3"} 
[2026-09-24 05:31:35] local.INFO: Extracted packet for processing {"connection_id":192450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0b3"} 
[2026-09-24 05:31:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293131264001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790207845000,"timestamp_ms":1790207845000,"timestamp_seconds":1790207845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0b3e288"} 
[2026-09-24 05:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 05:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293131264001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293131264001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:31:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:31:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293131264001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":192450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:31:35] local.INFO: GPS data processed {"connection_id":192450,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:31:35] local.INFO: Acknowledgment sent {"connection_id":192450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:32:07] local.INFO: TCP Data received {"connection_id":192450,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:32:07] local.INFO: Processing buffer {"connection_id":192450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:32:07] local.INFO: Packet analysis {"connection_id":192450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0b3"} 
[2026-09-24 05:32:07] local.INFO: Extracted packet for processing {"connection_id":192450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0b3"} 
[2026-09-24 05:32:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293131264001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790207845000,"timestamp_ms":1790207845000,"timestamp_seconds":1790207845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0b3e288"} 
[2026-09-24 05:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 05:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293131264001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293131264001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:32:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:32:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293131264001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":192450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:32:07] local.INFO: GPS data processed {"connection_id":192450,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:32:07] local.INFO: Acknowledgment sent {"connection_id":192450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:32:29] local.INFO: TCP Data received {"connection_id":193790,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:32:29] local.INFO: Processing buffer {"connection_id":193790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:32:29] local.INFO: IMEI packet received {"connection_id":193790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":193790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:32:34] local.INFO: TCP Data received {"connection_id":193790,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:32:34] local.INFO: Processing buffer {"connection_id":193790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:32:34] local.INFO: IMEI packet received {"connection_id":193790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":193790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:32:35] local.INFO: TCP Data received {"connection_id":193790,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:32:35] local.INFO: Processing buffer {"connection_id":193790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0b3e288012d34c58006aa47580008010526..."} 
[2026-09-24 05:32:35] local.INFO: Packet analysis {"connection_id":193790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0b3"} 
[2026-09-24 05:32:35] local.INFO: Extracted packet for processing {"connection_id":193790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0b3"} 
[2026-09-24 05:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293131264001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790207845000,"timestamp_ms":1790207845000,"timestamp_seconds":1790207845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0b3e288"} 
[2026-09-24 05:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 05:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293131264001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293131264001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:32:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:32:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293131264001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":193790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:32:35] local.INFO: GPS data processed {"connection_id":193790,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:32:35] local.INFO: Acknowledgment sent {"connection_id":193790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:33:07] local.INFO: TCP Data received {"connection_id":193790,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:33:07] local.INFO: Processing buffer {"connection_id":193790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:33:07] local.INFO: Packet analysis {"connection_id":193790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0b8"} 
[2026-09-24 05:33:07] local.INFO: Extracted packet for processing {"connection_id":193790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0b8"} 
[2026-09-24 05:33:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293208320001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790208146000,"timestamp_ms":1790208146000,"timestamp_seconds":1790208146,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0b87a50"} 
[2026-09-24 05:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293208320001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293208320001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:33:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:33:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293208320001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":193790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:33:07] local.INFO: GPS data processed {"connection_id":193790,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:33:07] local.INFO: Acknowledgment sent {"connection_id":193790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:33:34] local.INFO: TCP Data received {"connection_id":193791,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:33:34] local.INFO: Processing buffer {"connection_id":193791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:33:34] local.INFO: IMEI packet received {"connection_id":193791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":193791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:33:39] local.INFO: TCP Data received {"connection_id":193791,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:33:39] local.INFO: Processing buffer {"connection_id":193791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:33:39] local.INFO: IMEI packet received {"connection_id":193791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":193791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:33:41] local.INFO: TCP Data received {"connection_id":193791,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:33:41] local.INFO: Processing buffer {"connection_id":193791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:33:41] local.INFO: Packet analysis {"connection_id":193791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0b8"} 
[2026-09-24 05:33:41] local.INFO: Extracted packet for processing {"connection_id":193791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0b8"} 
[2026-09-24 05:33:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293208320001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790208146000,"timestamp_ms":1790208146000,"timestamp_seconds":1790208146,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0b87a50"} 
[2026-09-24 05:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293208320001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293208320001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:33:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:33:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293208320001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":193791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:33:41] local.INFO: GPS data processed {"connection_id":193791,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:33:41] local.INFO: Acknowledgment sent {"connection_id":193791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:34:12] local.INFO: TCP Data received {"connection_id":193791,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:34:12] local.INFO: Processing buffer {"connection_id":193791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:34:12] local.INFO: Packet analysis {"connection_id":193791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0b8"} 
[2026-09-24 05:34:12] local.INFO: Extracted packet for processing {"connection_id":193791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0b8"} 
[2026-09-24 05:34:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293208320001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790208146000,"timestamp_ms":1790208146000,"timestamp_seconds":1790208146,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0b87a50"} 
[2026-09-24 05:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293208320001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293208320001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:34:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:34:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293208320001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":193791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:34:13] local.INFO: GPS data processed {"connection_id":193791,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:34:13] local.INFO: Acknowledgment sent {"connection_id":193791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:34:30] local.INFO: TCP Data received {"connection_id":190908,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:34:30] local.INFO: Processing buffer {"connection_id":190908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:34:30] local.INFO: IMEI packet received {"connection_id":190908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":190908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:34:34] local.INFO: TCP Data received {"connection_id":190908,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:34:34] local.INFO: Processing buffer {"connection_id":190908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:34:34] local.INFO: IMEI packet received {"connection_id":190908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":190908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:34:35] local.INFO: TCP Data received {"connection_id":190908,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:34:35] local.INFO: Processing buffer {"connection_id":190908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:34:35] local.INFO: Packet analysis {"connection_id":190908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0b8"} 
[2026-09-24 05:34:35] local.INFO: Extracted packet for processing {"connection_id":190908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0b8"} 
[2026-09-24 05:34:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293208320001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790208146000,"timestamp_ms":1790208146000,"timestamp_seconds":1790208146,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0b87a50"} 
[2026-09-24 05:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293208320001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293208320001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:34:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:34:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293208320001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":190908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:34:35] local.INFO: GPS data processed {"connection_id":190908,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:34:35] local.INFO: Acknowledgment sent {"connection_id":190908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:35:06] local.INFO: TCP Data received {"connection_id":190908,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:35:06] local.INFO: Processing buffer {"connection_id":190908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:35:06] local.INFO: Packet analysis {"connection_id":190908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0b8"} 
[2026-09-24 05:35:06] local.INFO: Extracted packet for processing {"connection_id":190908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0b8"} 
[2026-09-24 05:35:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293208320001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790208146000,"timestamp_ms":1790208146000,"timestamp_seconds":1790208146,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0b87a50"} 
[2026-09-24 05:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293208320001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293208320001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:35:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:35:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293208320001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":190908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:35:06] local.INFO: GPS data processed {"connection_id":190908,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:35:06] local.INFO: Acknowledgment sent {"connection_id":190908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:35:29] local.INFO: TCP Data received {"connection_id":193792,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:35:29] local.INFO: Processing buffer {"connection_id":193792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:35:29] local.INFO: IMEI packet received {"connection_id":193792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":193792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:35:34] local.INFO: TCP Data received {"connection_id":193792,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:35:34] local.INFO: Processing buffer {"connection_id":193792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:35:34] local.INFO: IMEI packet received {"connection_id":193792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":193792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:35:35] local.INFO: TCP Data received {"connection_id":193792,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:35:35] local.INFO: Processing buffer {"connection_id":193792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:35:35] local.INFO: Packet analysis {"connection_id":193792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0b8"} 
[2026-09-24 05:35:35] local.INFO: Extracted packet for processing {"connection_id":193792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0b8"} 
[2026-09-24 05:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293208320001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790208146000,"timestamp_ms":1790208146000,"timestamp_seconds":1790208146,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0b87a50"} 
[2026-09-24 05:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293208320001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293208320001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:35:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:35:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293208320001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":193792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:35:35] local.INFO: GPS data processed {"connection_id":193792,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:35:35] local.INFO: Acknowledgment sent {"connection_id":193792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:36:07] local.INFO: TCP Data received {"connection_id":193792,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:36:07] local.INFO: Processing buffer {"connection_id":193792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:36:07] local.INFO: Packet analysis {"connection_id":193792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0b8"} 
[2026-09-24 05:36:07] local.INFO: Extracted packet for processing {"connection_id":193792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0b8"} 
[2026-09-24 05:36:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293208320001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790208146000,"timestamp_ms":1790208146000,"timestamp_seconds":1790208146,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0b87a50"} 
[2026-09-24 05:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293208320001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293208320001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:36:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:36:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293208320001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":193792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:36:07] local.INFO: GPS data processed {"connection_id":193792,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:36:07] local.INFO: Acknowledgment sent {"connection_id":193792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:36:29] local.INFO: TCP Data received {"connection_id":191108,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:36:29] local.INFO: Processing buffer {"connection_id":191108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:36:29] local.INFO: IMEI packet received {"connection_id":191108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":191108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:36:34] local.INFO: TCP Data received {"connection_id":191108,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:36:34] local.INFO: Processing buffer {"connection_id":191108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:36:34] local.INFO: IMEI packet received {"connection_id":191108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":191108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:36:35] local.INFO: TCP Data received {"connection_id":191108,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:36:35] local.INFO: Processing buffer {"connection_id":191108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:36:35] local.INFO: Packet analysis {"connection_id":191108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0b8"} 
[2026-09-24 05:36:35] local.INFO: Extracted packet for processing {"connection_id":191108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0b8"} 
[2026-09-24 05:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293208320001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790208146000,"timestamp_ms":1790208146000,"timestamp_seconds":1790208146,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0b87a50"} 
[2026-09-24 05:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293208320001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293208320001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:36:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:36:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293208320001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":191108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:36:35] local.INFO: GPS data processed {"connection_id":191108,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:36:35] local.INFO: Acknowledgment sent {"connection_id":191108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:37:07] local.INFO: TCP Data received {"connection_id":191108,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:37:07] local.INFO: Processing buffer {"connection_id":191108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:37:07] local.INFO: Packet analysis {"connection_id":191108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0b8"} 
[2026-09-24 05:37:07] local.INFO: Extracted packet for processing {"connection_id":191108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0b8"} 
[2026-09-24 05:37:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293208320001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790208146000,"timestamp_ms":1790208146000,"timestamp_seconds":1790208146,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0b87a50"} 
[2026-09-24 05:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293208320001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293208320001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:37:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:37:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293208320001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":191108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:37:07] local.INFO: GPS data processed {"connection_id":191108,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:37:07] local.INFO: Acknowledgment sent {"connection_id":191108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:37:29] local.INFO: TCP Data received {"connection_id":193793,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:37:29] local.INFO: Processing buffer {"connection_id":193793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:37:29] local.INFO: IMEI packet received {"connection_id":193793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":193793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:37:34] local.INFO: TCP Data received {"connection_id":193793,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:37:34] local.INFO: Processing buffer {"connection_id":193793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:37:34] local.INFO: IMEI packet received {"connection_id":193793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":193793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:37:35] local.INFO: TCP Data received {"connection_id":193793,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:37:35] local.INFO: Processing buffer {"connection_id":193793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0b87a50012d34c58006aa47580008010526..."} 
[2026-09-24 05:37:35] local.INFO: Packet analysis {"connection_id":193793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0b8"} 
[2026-09-24 05:37:35] local.INFO: Extracted packet for processing {"connection_id":193793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0b8"} 
[2026-09-24 05:37:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293208320001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790208146000,"timestamp_ms":1790208146000,"timestamp_seconds":1790208146,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0b87a50"} 
[2026-09-24 05:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293208320001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293208320001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:37:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:37:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293208320001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":193793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:37:35] local.INFO: GPS data processed {"connection_id":193793,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:37:35] local.INFO: Acknowledgment sent {"connection_id":193793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:38:07] local.INFO: TCP Data received {"connection_id":193793,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:38:07] local.INFO: Processing buffer {"connection_id":193793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:38:07] local.INFO: Packet analysis {"connection_id":193793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0bd"} 
[2026-09-24 05:38:07] local.INFO: Extracted packet for processing {"connection_id":193793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0bd"} 
[2026-09-24 05:38:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293285376001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790208447000,"timestamp_ms":1790208447000,"timestamp_seconds":1790208447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0bd1218"} 
[2026-09-24 05:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 05:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293285376001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293285376001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:38:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:38:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293285376001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":193793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:38:07] local.INFO: GPS data processed {"connection_id":193793,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:38:07] local.INFO: Acknowledgment sent {"connection_id":193793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:38:34] local.INFO: TCP Data received {"connection_id":192451,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:38:34] local.INFO: Processing buffer {"connection_id":192451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:38:34] local.INFO: IMEI packet received {"connection_id":192451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":192451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:38:39] local.INFO: TCP Data received {"connection_id":192451,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:38:39] local.INFO: Processing buffer {"connection_id":192451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:38:39] local.INFO: IMEI packet received {"connection_id":192451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":192451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:38:40] local.INFO: TCP Data received {"connection_id":192451,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:38:40] local.INFO: Processing buffer {"connection_id":192451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:38:40] local.INFO: Packet analysis {"connection_id":192451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0bd"} 
[2026-09-24 05:38:40] local.INFO: Extracted packet for processing {"connection_id":192451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0bd"} 
[2026-09-24 05:38:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293285376001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790208447000,"timestamp_ms":1790208447000,"timestamp_seconds":1790208447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0bd1218"} 
[2026-09-24 05:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 05:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293285376001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293285376001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:38:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:38:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293285376001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":192451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:38:40] local.INFO: GPS data processed {"connection_id":192451,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:38:40] local.INFO: Acknowledgment sent {"connection_id":192451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:39:12] local.INFO: TCP Data received {"connection_id":192451,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:39:12] local.INFO: Processing buffer {"connection_id":192451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:39:12] local.INFO: Packet analysis {"connection_id":192451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0bd"} 
[2026-09-24 05:39:12] local.INFO: Extracted packet for processing {"connection_id":192451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0bd"} 
[2026-09-24 05:39:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293285376001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790208447000,"timestamp_ms":1790208447000,"timestamp_seconds":1790208447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0bd1218"} 
[2026-09-24 05:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 05:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293285376001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293285376001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:39:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:39:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293285376001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":192451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:39:12] local.INFO: GPS data processed {"connection_id":192451,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:39:12] local.INFO: Acknowledgment sent {"connection_id":192451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:39:30] local.INFO: TCP Data received {"connection_id":191109,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:39:30] local.INFO: Processing buffer {"connection_id":191109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:39:30] local.INFO: IMEI packet received {"connection_id":191109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":191109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:39:34] local.INFO: TCP Data received {"connection_id":191109,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:39:34] local.INFO: Processing buffer {"connection_id":191109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:39:34] local.INFO: IMEI packet received {"connection_id":191109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":191109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:39:35] local.INFO: TCP Data received {"connection_id":191109,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:39:35] local.INFO: Processing buffer {"connection_id":191109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:39:35] local.INFO: Packet analysis {"connection_id":191109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0bd"} 
[2026-09-24 05:39:35] local.INFO: Extracted packet for processing {"connection_id":191109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0bd"} 
[2026-09-24 05:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293285376001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790208447000,"timestamp_ms":1790208447000,"timestamp_seconds":1790208447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0bd1218"} 
[2026-09-24 05:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 05:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293285376001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293285376001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:39:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:39:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293285376001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":191109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:39:35] local.INFO: GPS data processed {"connection_id":191109,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:39:35] local.INFO: Acknowledgment sent {"connection_id":191109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:40:07] local.INFO: TCP Data received {"connection_id":191109,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:40:07] local.INFO: Processing buffer {"connection_id":191109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:40:07] local.INFO: Packet analysis {"connection_id":191109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0bd"} 
[2026-09-24 05:40:07] local.INFO: Extracted packet for processing {"connection_id":191109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0bd"} 
[2026-09-24 05:40:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293285376001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790208447000,"timestamp_ms":1790208447000,"timestamp_seconds":1790208447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0bd1218"} 
[2026-09-24 05:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 05:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293285376001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293285376001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:40:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:40:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293285376001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":191109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:40:07] local.INFO: GPS data processed {"connection_id":191109,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:40:07] local.INFO: Acknowledgment sent {"connection_id":191109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:40:29] local.INFO: TCP Data received {"connection_id":190909,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:40:29] local.INFO: Processing buffer {"connection_id":190909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:40:29] local.INFO: IMEI packet received {"connection_id":190909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":190909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:40:35] local.INFO: TCP Data received {"connection_id":190909,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:40:35] local.INFO: Processing buffer {"connection_id":190909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:40:35] local.INFO: IMEI packet received {"connection_id":190909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":190909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:40:36] local.INFO: TCP Data received {"connection_id":190909,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:40:36] local.INFO: Processing buffer {"connection_id":190909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:40:36] local.INFO: Packet analysis {"connection_id":190909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0bd"} 
[2026-09-24 05:40:36] local.INFO: Extracted packet for processing {"connection_id":190909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0bd"} 
[2026-09-24 05:40:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293285376001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790208447000,"timestamp_ms":1790208447000,"timestamp_seconds":1790208447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0bd1218"} 
[2026-09-24 05:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 05:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293285376001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293285376001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:40:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:40:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293285376001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":190909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:40:36] local.INFO: GPS data processed {"connection_id":190909,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:40:36] local.INFO: Acknowledgment sent {"connection_id":190909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:41:08] local.INFO: TCP Data received {"connection_id":190909,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:41:08] local.INFO: Processing buffer {"connection_id":190909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:41:08] local.INFO: Packet analysis {"connection_id":190909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0bd"} 
[2026-09-24 05:41:08] local.INFO: Extracted packet for processing {"connection_id":190909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0bd"} 
[2026-09-24 05:41:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293285376001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790208447000,"timestamp_ms":1790208447000,"timestamp_seconds":1790208447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0bd1218"} 
[2026-09-24 05:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 05:41: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-09-24 05: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-09-24 05:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293285376001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293285376001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:41:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:41:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293285376001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":190909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:41:08] local.INFO: GPS data processed {"connection_id":190909,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:41:08] local.INFO: Acknowledgment sent {"connection_id":190909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:41:29] local.INFO: TCP Data received {"connection_id":192452,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:41:29] local.INFO: Processing buffer {"connection_id":192452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:41:29] local.INFO: IMEI packet received {"connection_id":192452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":192452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:41:34] local.INFO: TCP Data received {"connection_id":192452,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:41:34] local.INFO: Processing buffer {"connection_id":192452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:41:34] local.INFO: IMEI packet received {"connection_id":192452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":192452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:41:35] local.INFO: TCP Data received {"connection_id":192452,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:41:35] local.INFO: Processing buffer {"connection_id":192452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:41:35] local.INFO: Packet analysis {"connection_id":192452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0bd"} 
[2026-09-24 05:41:35] local.INFO: Extracted packet for processing {"connection_id":192452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0bd"} 
[2026-09-24 05:41:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293285376001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790208447000,"timestamp_ms":1790208447000,"timestamp_seconds":1790208447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0bd1218"} 
[2026-09-24 05:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 05:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293285376001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293285376001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:41:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:41:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293285376001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":192452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:41:35] local.INFO: GPS data processed {"connection_id":192452,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:41:35] local.INFO: Acknowledgment sent {"connection_id":192452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:42:07] local.INFO: TCP Data received {"connection_id":192452,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:42:07] local.INFO: Processing buffer {"connection_id":192452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:42:07] local.INFO: Packet analysis {"connection_id":192452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0bd"} 
[2026-09-24 05:42:07] local.INFO: Extracted packet for processing {"connection_id":192452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0bd"} 
[2026-09-24 05:42:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293285376001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790208447000,"timestamp_ms":1790208447000,"timestamp_seconds":1790208447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0bd1218"} 
[2026-09-24 05:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 05:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293285376001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293285376001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:42:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:42:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293285376001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":192452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:42:07] local.INFO: GPS data processed {"connection_id":192452,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:42:07] local.INFO: Acknowledgment sent {"connection_id":192452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:42:29] local.INFO: TCP Data received {"connection_id":193794,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:42:29] local.INFO: Processing buffer {"connection_id":193794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:42:29] local.INFO: IMEI packet received {"connection_id":193794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":193794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:42:34] local.INFO: TCP Data received {"connection_id":193794,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:42:34] local.INFO: Processing buffer {"connection_id":193794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:42:34] local.INFO: IMEI packet received {"connection_id":193794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":193794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:42:35] local.INFO: TCP Data received {"connection_id":193794,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:42:35] local.INFO: Processing buffer {"connection_id":193794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:42:35] local.INFO: Packet analysis {"connection_id":193794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0bd"} 
[2026-09-24 05:42:35] local.INFO: Extracted packet for processing {"connection_id":193794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0bd"} 
[2026-09-24 05:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293285376001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790208447000,"timestamp_ms":1790208447000,"timestamp_seconds":1790208447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0bd1218"} 
[2026-09-24 05:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 05:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293285376001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293285376001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:42:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:42:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293285376001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":193794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:42:35] local.INFO: GPS data processed {"connection_id":193794,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:42:35] local.INFO: Acknowledgment sent {"connection_id":193794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:43:07] local.INFO: TCP Data received {"connection_id":193794,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:43:07] local.INFO: Processing buffer {"connection_id":193794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0bd1218012d34c58006aa47580008010526..."} 
[2026-09-24 05:43:07] local.INFO: Packet analysis {"connection_id":193794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0bd"} 
[2026-09-24 05:43:07] local.INFO: Extracted packet for processing {"connection_id":193794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0bd"} 
[2026-09-24 05:43:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":8,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293285376001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790208447000,"timestamp_ms":1790208447000,"timestamp_seconds":1790208447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0bd1218"} 
[2026-09-24 05:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 05:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293285376001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293285376001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:43:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:43:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293285376001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":193794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:43:07] local.INFO: GPS data processed {"connection_id":193794,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:43:07] local.INFO: Acknowledgment sent {"connection_id":193794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:43:34] local.INFO: TCP Data received {"connection_id":193795,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:43:34] local.INFO: Processing buffer {"connection_id":193795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:43:34] local.INFO: IMEI packet received {"connection_id":193795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":193795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:43:39] local.INFO: TCP Data received {"connection_id":193795,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:43:39] local.INFO: Processing buffer {"connection_id":193795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:43:39] local.INFO: IMEI packet received {"connection_id":193795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":193795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:43:40] local.INFO: TCP Data received {"connection_id":193795,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:43:40] local.INFO: Processing buffer {"connection_id":193795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:43:40] local.INFO: Packet analysis {"connection_id":193795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0c1"} 
[2026-09-24 05:43:40] local.INFO: Extracted packet for processing {"connection_id":193795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0c1"} 
[2026-09-24 05:43:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293362432001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790208748000,"timestamp_ms":1790208748000,"timestamp_seconds":1790208748,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0c1a9e0"} 
[2026-09-24 05:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293362432001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293362432001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:43:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:43:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293362432001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":193795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:43:40] local.INFO: GPS data processed {"connection_id":193795,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:43:40] local.INFO: Acknowledgment sent {"connection_id":193795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:44:12] local.INFO: TCP Data received {"connection_id":193795,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:44:12] local.INFO: Processing buffer {"connection_id":193795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:44:12] local.INFO: Packet analysis {"connection_id":193795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0c1"} 
[2026-09-24 05:44:12] local.INFO: Extracted packet for processing {"connection_id":193795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0c1"} 
[2026-09-24 05:44:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293362432001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790208748000,"timestamp_ms":1790208748000,"timestamp_seconds":1790208748,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0c1a9e0"} 
[2026-09-24 05:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293362432001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293362432001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:44:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:44:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293362432001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":193795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:44:12] local.INFO: GPS data processed {"connection_id":193795,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:44:12] local.INFO: Acknowledgment sent {"connection_id":193795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:44:29] local.INFO: TCP Data received {"connection_id":191110,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:44:29] local.INFO: Processing buffer {"connection_id":191110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:44:29] local.INFO: IMEI packet received {"connection_id":191110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":191110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:44:34] local.INFO: TCP Data received {"connection_id":191110,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:44:34] local.INFO: Processing buffer {"connection_id":191110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:44:34] local.INFO: IMEI packet received {"connection_id":191110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":191110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:44:35] local.INFO: TCP Data received {"connection_id":191110,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:44:35] local.INFO: Processing buffer {"connection_id":191110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:44:35] local.INFO: Packet analysis {"connection_id":191110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0c1"} 
[2026-09-24 05:44:35] local.INFO: Extracted packet for processing {"connection_id":191110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0c1"} 
[2026-09-24 05:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293362432001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790208748000,"timestamp_ms":1790208748000,"timestamp_seconds":1790208748,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0c1a9e0"} 
[2026-09-24 05:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293362432001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293362432001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:44:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:44:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293362432001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":191110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:44:35] local.INFO: GPS data processed {"connection_id":191110,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:44:35] local.INFO: Acknowledgment sent {"connection_id":191110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:45:07] local.INFO: TCP Data received {"connection_id":191110,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:45:07] local.INFO: Processing buffer {"connection_id":191110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:45:07] local.INFO: Packet analysis {"connection_id":191110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0c1"} 
[2026-09-24 05:45:07] local.INFO: Extracted packet for processing {"connection_id":191110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0c1"} 
[2026-09-24 05:45:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293362432001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790208748000,"timestamp_ms":1790208748000,"timestamp_seconds":1790208748,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0c1a9e0"} 
[2026-09-24 05:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293362432001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293362432001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:45:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:45:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293362432001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":191110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:45:07] local.INFO: GPS data processed {"connection_id":191110,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:45:07] local.INFO: Acknowledgment sent {"connection_id":191110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:45:29] local.INFO: TCP Data received {"connection_id":192453,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:45:29] local.INFO: Processing buffer {"connection_id":192453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:45:29] local.INFO: IMEI packet received {"connection_id":192453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":192453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:45:34] local.INFO: TCP Data received {"connection_id":192453,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:45:34] local.INFO: Processing buffer {"connection_id":192453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:45:34] local.INFO: IMEI packet received {"connection_id":192453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":192453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:45:36] local.INFO: TCP Data received {"connection_id":192453,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:45:36] local.INFO: Processing buffer {"connection_id":192453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:45:36] local.INFO: Packet analysis {"connection_id":192453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0c1"} 
[2026-09-24 05:45:36] local.INFO: Extracted packet for processing {"connection_id":192453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0c1"} 
[2026-09-24 05:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293362432001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790208748000,"timestamp_ms":1790208748000,"timestamp_seconds":1790208748,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0c1a9e0"} 
[2026-09-24 05:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293362432001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293362432001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:45:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293362432001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":192453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:45:36] local.INFO: GPS data processed {"connection_id":192453,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:45:36] local.INFO: Acknowledgment sent {"connection_id":192453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:46:07] local.INFO: TCP Data received {"connection_id":192453,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:46:07] local.INFO: Processing buffer {"connection_id":192453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:46:07] local.INFO: Packet analysis {"connection_id":192453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0c1"} 
[2026-09-24 05:46:07] local.INFO: Extracted packet for processing {"connection_id":192453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0c1"} 
[2026-09-24 05:46:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293362432001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790208748000,"timestamp_ms":1790208748000,"timestamp_seconds":1790208748,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0c1a9e0"} 
[2026-09-24 05:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293362432001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293362432001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:46:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:46:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293362432001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":192453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:46:07] local.INFO: GPS data processed {"connection_id":192453,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:46:07] local.INFO: Acknowledgment sent {"connection_id":192453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:46:29] local.INFO: TCP Data received {"connection_id":193796,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:46:29] local.INFO: Processing buffer {"connection_id":193796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:46:29] local.INFO: IMEI packet received {"connection_id":193796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":193796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:46:34] local.INFO: TCP Data received {"connection_id":193796,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:46:34] local.INFO: Processing buffer {"connection_id":193796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:46:34] local.INFO: IMEI packet received {"connection_id":193796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":193796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:46:35] local.INFO: TCP Data received {"connection_id":193796,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:46:35] local.INFO: Processing buffer {"connection_id":193796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:46:35] local.INFO: Packet analysis {"connection_id":193796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0c1"} 
[2026-09-24 05:46:35] local.INFO: Extracted packet for processing {"connection_id":193796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0c1"} 
[2026-09-24 05:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293362432001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790208748000,"timestamp_ms":1790208748000,"timestamp_seconds":1790208748,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0c1a9e0"} 
[2026-09-24 05:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293362432001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293362432001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:46:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:46:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293362432001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":193796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:46:35] local.INFO: GPS data processed {"connection_id":193796,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:46:35] local.INFO: Acknowledgment sent {"connection_id":193796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:47:06] local.INFO: TCP Data received {"connection_id":193796,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:47:06] local.INFO: Processing buffer {"connection_id":193796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:47:06] local.INFO: Packet analysis {"connection_id":193796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0c1"} 
[2026-09-24 05:47:06] local.INFO: Extracted packet for processing {"connection_id":193796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0c1"} 
[2026-09-24 05:47:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293362432001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790208748000,"timestamp_ms":1790208748000,"timestamp_seconds":1790208748,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0c1a9e0"} 
[2026-09-24 05:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293362432001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293362432001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:47:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:47:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293362432001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":193796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:47:06] local.INFO: GPS data processed {"connection_id":193796,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:47:06] local.INFO: Acknowledgment sent {"connection_id":193796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:47:34] local.INFO: TCP Data received {"connection_id":191111,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:47:34] local.INFO: Processing buffer {"connection_id":191111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:47:34] local.INFO: IMEI packet received {"connection_id":191111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":191111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:47:39] local.INFO: TCP Data received {"connection_id":191111,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:47:39] local.INFO: Processing buffer {"connection_id":191111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:47:39] local.INFO: IMEI packet received {"connection_id":191111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":191111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:47:40] local.INFO: TCP Data received {"connection_id":191111,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:47:40] local.INFO: Processing buffer {"connection_id":191111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:47:40] local.INFO: Packet analysis {"connection_id":191111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0c1"} 
[2026-09-24 05:47:40] local.INFO: Extracted packet for processing {"connection_id":191111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0c1"} 
[2026-09-24 05:47:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293362432001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790208748000,"timestamp_ms":1790208748000,"timestamp_seconds":1790208748,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0c1a9e0"} 
[2026-09-24 05:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293362432001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293362432001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:47:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:47:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293362432001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":191111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:47:40] local.INFO: GPS data processed {"connection_id":191111,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:47:40] local.INFO: Acknowledgment sent {"connection_id":191111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:47:45] local.INFO: TCP Data received {"connection_id":191111,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:47:45] local.INFO: Processing buffer {"connection_id":191111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:47:45] local.INFO: Packet analysis {"connection_id":191111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0c1"} 
[2026-09-24 05:47:45] local.INFO: Extracted packet for processing {"connection_id":191111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0c1"} 
[2026-09-24 05:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293362432001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790208748000,"timestamp_ms":1790208748000,"timestamp_seconds":1790208748,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0c1a9e0"} 
[2026-09-24 05:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293362432001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293362432001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:47:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:47:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293362432001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":191111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:47:45] local.INFO: GPS data processed {"connection_id":191111,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:47:45] local.INFO: Acknowledgment sent {"connection_id":191111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:47:50] local.INFO: TCP Data received {"connection_id":191111,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:47:50] local.INFO: Processing buffer {"connection_id":191111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0c1a9e0012d34c58006aa47580006010527..."} 
[2026-09-24 05:47:50] local.INFO: Packet analysis {"connection_id":191111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0c1"} 
[2026-09-24 05:47:50] local.INFO: Extracted packet for processing {"connection_id":191111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0c1"} 
[2026-09-24 05:47:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293362432001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790208748000,"timestamp_ms":1790208748000,"timestamp_seconds":1790208748,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0c1a9e0"} 
[2026-09-24 05:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 05:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293362432001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293362432001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:47:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:47:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293362432001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":191111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:47:50] local.INFO: GPS data processed {"connection_id":191111,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:47:50] local.INFO: Acknowledgment sent {"connection_id":191111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:48:29] local.INFO: TCP Data received {"connection_id":190910,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:48:29] local.INFO: Processing buffer {"connection_id":190910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:48:29] local.INFO: IMEI packet received {"connection_id":190910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":190910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:48:34] local.INFO: TCP Data received {"connection_id":190910,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:48:34] local.INFO: Processing buffer {"connection_id":190910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:48:34] local.INFO: IMEI packet received {"connection_id":190910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":190910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:48:35] local.INFO: TCP Data received {"connection_id":190910,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:48:35] local.INFO: Processing buffer {"connection_id":190910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:48:35] local.INFO: Packet analysis {"connection_id":190910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0c6"} 
[2026-09-24 05:48:35] local.INFO: Extracted packet for processing {"connection_id":190910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0c6"} 
[2026-09-24 05:48:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293439488001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790209049000,"timestamp_ms":1790209049000,"timestamp_seconds":1790209049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0c641a8"} 
[2026-09-24 05:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 05:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293439488001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293439488001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:48:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:48:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293439488001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":190910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:48:35] local.INFO: GPS data processed {"connection_id":190910,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:48:35] local.INFO: Acknowledgment sent {"connection_id":190910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:49:06] local.INFO: TCP Data received {"connection_id":190910,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:49:06] local.INFO: Processing buffer {"connection_id":190910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:49:06] local.INFO: Packet analysis {"connection_id":190910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0c6"} 
[2026-09-24 05:49:06] local.INFO: Extracted packet for processing {"connection_id":190910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0c6"} 
[2026-09-24 05:49:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293439488001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790209049000,"timestamp_ms":1790209049000,"timestamp_seconds":1790209049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0c641a8"} 
[2026-09-24 05:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 05:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293439488001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293439488001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:49:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:49:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293439488001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":190910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:49:06] local.INFO: GPS data processed {"connection_id":190910,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:49:06] local.INFO: Acknowledgment sent {"connection_id":190910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:49:30] local.INFO: TCP Data received {"connection_id":193797,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:49:30] local.INFO: Processing buffer {"connection_id":193797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:49:30] local.INFO: IMEI packet received {"connection_id":193797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":193797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:49:34] local.INFO: TCP Data received {"connection_id":193797,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:49:34] local.INFO: Processing buffer {"connection_id":193797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:49:34] local.INFO: IMEI packet received {"connection_id":193797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":193797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:49:35] local.INFO: TCP Data received {"connection_id":193797,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:49:35] local.INFO: Processing buffer {"connection_id":193797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:49:35] local.INFO: Packet analysis {"connection_id":193797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0c6"} 
[2026-09-24 05:49:35] local.INFO: Extracted packet for processing {"connection_id":193797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0c6"} 
[2026-09-24 05:49:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293439488001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790209049000,"timestamp_ms":1790209049000,"timestamp_seconds":1790209049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0c641a8"} 
[2026-09-24 05:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 05:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293439488001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293439488001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:49:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:49:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293439488001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":193797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:49:35] local.INFO: GPS data processed {"connection_id":193797,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:49:35] local.INFO: Acknowledgment sent {"connection_id":193797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:50:06] local.INFO: TCP Data received {"connection_id":193797,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:50:06] local.INFO: Processing buffer {"connection_id":193797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:50:06] local.INFO: Packet analysis {"connection_id":193797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0c6"} 
[2026-09-24 05:50:06] local.INFO: Extracted packet for processing {"connection_id":193797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0c6"} 
[2026-09-24 05:50:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293439488001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790209049000,"timestamp_ms":1790209049000,"timestamp_seconds":1790209049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0c641a8"} 
[2026-09-24 05:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 05:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293439488001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293439488001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:50:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:50:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293439488001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":193797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:50:07] local.INFO: GPS data processed {"connection_id":193797,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:50:07] local.INFO: Acknowledgment sent {"connection_id":193797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:50:29] local.INFO: TCP Data received {"connection_id":192454,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:50:29] local.INFO: Processing buffer {"connection_id":192454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:50:29] local.INFO: IMEI packet received {"connection_id":192454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":192454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:50:34] local.INFO: TCP Data received {"connection_id":192454,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:50:34] local.INFO: Processing buffer {"connection_id":192454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:50:34] local.INFO: IMEI packet received {"connection_id":192454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":192454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:50:35] local.INFO: TCP Data received {"connection_id":192454,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:50:35] local.INFO: Processing buffer {"connection_id":192454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:50:35] local.INFO: Packet analysis {"connection_id":192454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0c6"} 
[2026-09-24 05:50:35] local.INFO: Extracted packet for processing {"connection_id":192454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0c6"} 
[2026-09-24 05:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293439488001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790209049000,"timestamp_ms":1790209049000,"timestamp_seconds":1790209049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0c641a8"} 
[2026-09-24 05:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 05:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293439488001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293439488001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:50:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:50:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293439488001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":192454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:50:35] local.INFO: GPS data processed {"connection_id":192454,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:50:35] local.INFO: Acknowledgment sent {"connection_id":192454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:51:07] local.INFO: TCP Data received {"connection_id":192454,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:51:07] local.INFO: Processing buffer {"connection_id":192454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:51:07] local.INFO: Packet analysis {"connection_id":192454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0c6"} 
[2026-09-24 05:51:07] local.INFO: Extracted packet for processing {"connection_id":192454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0c6"} 
[2026-09-24 05:51:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293439488001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790209049000,"timestamp_ms":1790209049000,"timestamp_seconds":1790209049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0c641a8"} 
[2026-09-24 05:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 05:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293439488001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293439488001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:51:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:51:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293439488001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":192454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:51:07] local.INFO: GPS data processed {"connection_id":192454,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:51:07] local.INFO: Acknowledgment sent {"connection_id":192454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:51:29] local.INFO: TCP Data received {"connection_id":191112,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:51:29] local.INFO: Processing buffer {"connection_id":191112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:51:29] local.INFO: IMEI packet received {"connection_id":191112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":191112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:51:34] local.INFO: TCP Data received {"connection_id":191112,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:51:34] local.INFO: Processing buffer {"connection_id":191112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:51:34] local.INFO: IMEI packet received {"connection_id":191112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":191112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:51:35] local.INFO: TCP Data received {"connection_id":191112,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:51:35] local.INFO: Processing buffer {"connection_id":191112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:51:35] local.INFO: Packet analysis {"connection_id":191112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0c6"} 
[2026-09-24 05:51:35] local.INFO: Extracted packet for processing {"connection_id":191112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0c6"} 
[2026-09-24 05:51:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293439488001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790209049000,"timestamp_ms":1790209049000,"timestamp_seconds":1790209049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0c641a8"} 
[2026-09-24 05:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 05:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293439488001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293439488001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:51:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:51:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293439488001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":191112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:51:35] local.INFO: GPS data processed {"connection_id":191112,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:51:35] local.INFO: Acknowledgment sent {"connection_id":191112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:52:08] local.INFO: TCP Data received {"connection_id":191112,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:52:08] local.INFO: Processing buffer {"connection_id":191112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:52:08] local.INFO: Packet analysis {"connection_id":191112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0c6"} 
[2026-09-24 05:52:08] local.INFO: Extracted packet for processing {"connection_id":191112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0c6"} 
[2026-09-24 05:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293439488001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790209049000,"timestamp_ms":1790209049000,"timestamp_seconds":1790209049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0c641a8"} 
[2026-09-24 05:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 05:52: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-09-24 05:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293439488001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293439488001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:52:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293439488001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":191112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:52:08] local.INFO: GPS data processed {"connection_id":191112,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:52:08] local.INFO: Acknowledgment sent {"connection_id":191112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:52:34] local.INFO: TCP Data received {"connection_id":190911,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:52:34] local.INFO: Processing buffer {"connection_id":190911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:52:34] local.INFO: IMEI packet received {"connection_id":190911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":190911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:52:39] local.INFO: TCP Data received {"connection_id":190911,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:52:39] local.INFO: Processing buffer {"connection_id":190911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:52:39] local.INFO: IMEI packet received {"connection_id":190911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":190911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:52:40] local.INFO: TCP Data received {"connection_id":190911,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:52:40] local.INFO: Processing buffer {"connection_id":190911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:52:40] local.INFO: Packet analysis {"connection_id":190911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0c6"} 
[2026-09-24 05:52:40] local.INFO: Extracted packet for processing {"connection_id":190911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0c6"} 
[2026-09-24 05:52:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293439488001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790209049000,"timestamp_ms":1790209049000,"timestamp_seconds":1790209049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0c641a8"} 
[2026-09-24 05:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 05:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293439488001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293439488001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:52:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:52:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293439488001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":190911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:52:40] local.INFO: GPS data processed {"connection_id":190911,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:52:40] local.INFO: Acknowledgment sent {"connection_id":190911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:52:46] local.INFO: TCP Data received {"connection_id":190911,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:52:46] local.INFO: Processing buffer {"connection_id":190911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0c641a8012d34c58006aa47580006010527..."} 
[2026-09-24 05:52:46] local.INFO: Packet analysis {"connection_id":190911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0c6"} 
[2026-09-24 05:52:46] local.INFO: Extracted packet for processing {"connection_id":190911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0c6"} 
[2026-09-24 05:52:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293439488001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790209049000,"timestamp_ms":1790209049000,"timestamp_seconds":1790209049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0c641a8"} 
[2026-09-24 05:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 05:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293439488001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293439488001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:52:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:52:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293439488001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":190911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:52:46] local.INFO: GPS data processed {"connection_id":190911,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:52:46] local.INFO: Acknowledgment sent {"connection_id":190911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:53:29] local.INFO: TCP Data received {"connection_id":192455,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:53:29] local.INFO: Processing buffer {"connection_id":192455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:53:29] local.INFO: IMEI packet received {"connection_id":192455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":192455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:53:34] local.INFO: TCP Data received {"connection_id":192455,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:53:34] local.INFO: Processing buffer {"connection_id":192455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:53:34] local.INFO: IMEI packet received {"connection_id":192455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":192455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:53:36] local.INFO: TCP Data received {"connection_id":192455,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:53:36] local.INFO: Processing buffer {"connection_id":192455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:53:36] local.INFO: Packet analysis {"connection_id":192455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ca"} 
[2026-09-24 05:53:36] local.INFO: Extracted packet for processing {"connection_id":192455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ca"} 
[2026-09-24 05:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293516544001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790209350000,"timestamp_ms":1790209350000,"timestamp_seconds":1790209350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0cad970"} 
[2026-09-24 05:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 05:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293516544001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293516544001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:53:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:53:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293516544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":192455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:53:36] local.INFO: GPS data processed {"connection_id":192455,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:53:36] local.INFO: Acknowledgment sent {"connection_id":192455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:54:08] local.INFO: TCP Data received {"connection_id":192455,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:54:08] local.INFO: Processing buffer {"connection_id":192455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:54:08] local.INFO: Packet analysis {"connection_id":192455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ca"} 
[2026-09-24 05:54:08] local.INFO: Extracted packet for processing {"connection_id":192455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ca"} 
[2026-09-24 05:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293516544001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790209350000,"timestamp_ms":1790209350000,"timestamp_seconds":1790209350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0cad970"} 
[2026-09-24 05:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 05:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293516544001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293516544001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:54:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293516544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":192455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:54:09] local.INFO: GPS data processed {"connection_id":192455,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:54:09] local.INFO: Acknowledgment sent {"connection_id":192455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:54:29] local.INFO: TCP Data received {"connection_id":191113,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:54:29] local.INFO: Processing buffer {"connection_id":191113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:54:29] local.INFO: IMEI packet received {"connection_id":191113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":191113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:54:34] local.INFO: TCP Data received {"connection_id":191113,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:54:34] local.INFO: Processing buffer {"connection_id":191113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:54:34] local.INFO: IMEI packet received {"connection_id":191113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":191113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:54:35] local.INFO: TCP Data received {"connection_id":191113,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:54:35] local.INFO: Processing buffer {"connection_id":191113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:54:35] local.INFO: Packet analysis {"connection_id":191113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ca"} 
[2026-09-24 05:54:35] local.INFO: Extracted packet for processing {"connection_id":191113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ca"} 
[2026-09-24 05:54:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293516544001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790209350000,"timestamp_ms":1790209350000,"timestamp_seconds":1790209350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0cad970"} 
[2026-09-24 05:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 05:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293516544001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293516544001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:54:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:54:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293516544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":191113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:54:35] local.INFO: GPS data processed {"connection_id":191113,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:54:35] local.INFO: Acknowledgment sent {"connection_id":191113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:55:08] local.INFO: TCP Data received {"connection_id":191113,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:55:08] local.INFO: Processing buffer {"connection_id":191113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:55:08] local.INFO: Packet analysis {"connection_id":191113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ca"} 
[2026-09-24 05:55:08] local.INFO: Extracted packet for processing {"connection_id":191113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ca"} 
[2026-09-24 05:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293516544001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790209350000,"timestamp_ms":1790209350000,"timestamp_seconds":1790209350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0cad970"} 
[2026-09-24 05:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 05:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293516544001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293516544001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:55:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:55:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293516544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":191113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:55:08] local.INFO: GPS data processed {"connection_id":191113,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:55:08] local.INFO: Acknowledgment sent {"connection_id":191113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:55:29] local.INFO: TCP Data received {"connection_id":192456,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:55:29] local.INFO: Processing buffer {"connection_id":192456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:55:29] local.INFO: IMEI packet received {"connection_id":192456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":192456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:55:34] local.INFO: TCP Data received {"connection_id":192456,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:55:34] local.INFO: Processing buffer {"connection_id":192456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:55:34] local.INFO: IMEI packet received {"connection_id":192456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":192456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:55:35] local.INFO: TCP Data received {"connection_id":192456,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:55:35] local.INFO: Processing buffer {"connection_id":192456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:55:35] local.INFO: Packet analysis {"connection_id":192456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ca"} 
[2026-09-24 05:55:35] local.INFO: Extracted packet for processing {"connection_id":192456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ca"} 
[2026-09-24 05:55:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293516544001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790209350000,"timestamp_ms":1790209350000,"timestamp_seconds":1790209350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0cad970"} 
[2026-09-24 05:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 05:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293516544001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293516544001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:55:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:55:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293516544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":192456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:55:35] local.INFO: GPS data processed {"connection_id":192456,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:55:35] local.INFO: Acknowledgment sent {"connection_id":192456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:56:07] local.INFO: TCP Data received {"connection_id":192456,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:56:07] local.INFO: Processing buffer {"connection_id":192456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:56:07] local.INFO: Packet analysis {"connection_id":192456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ca"} 
[2026-09-24 05:56:07] local.INFO: Extracted packet for processing {"connection_id":192456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ca"} 
[2026-09-24 05:56:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293516544001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790209350000,"timestamp_ms":1790209350000,"timestamp_seconds":1790209350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0cad970"} 
[2026-09-24 05:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 05:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293516544001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293516544001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:56:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:56:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293516544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":192456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:56:07] local.INFO: GPS data processed {"connection_id":192456,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:56:07] local.INFO: Acknowledgment sent {"connection_id":192456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:56:29] local.INFO: TCP Data received {"connection_id":191114,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:56:29] local.INFO: Processing buffer {"connection_id":191114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:56:29] local.INFO: IMEI packet received {"connection_id":191114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":191114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:56:34] local.INFO: TCP Data received {"connection_id":191114,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:56:34] local.INFO: Processing buffer {"connection_id":191114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:56:34] local.INFO: IMEI packet received {"connection_id":191114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":191114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:56:35] local.INFO: TCP Data received {"connection_id":191114,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:56:35] local.INFO: Processing buffer {"connection_id":191114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:56:35] local.INFO: Packet analysis {"connection_id":191114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ca"} 
[2026-09-24 05:56:35] local.INFO: Extracted packet for processing {"connection_id":191114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ca"} 
[2026-09-24 05:56:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293516544001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790209350000,"timestamp_ms":1790209350000,"timestamp_seconds":1790209350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0cad970"} 
[2026-09-24 05:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 05:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293516544001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293516544001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:56:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:56:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293516544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":191114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:56:35] local.INFO: GPS data processed {"connection_id":191114,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:56:35] local.INFO: Acknowledgment sent {"connection_id":191114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:57:07] local.INFO: TCP Data received {"connection_id":191114,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:57:07] local.INFO: Processing buffer {"connection_id":191114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:57:07] local.INFO: Packet analysis {"connection_id":191114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ca"} 
[2026-09-24 05:57:07] local.INFO: Extracted packet for processing {"connection_id":191114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ca"} 
[2026-09-24 05:57:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293516544001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790209350000,"timestamp_ms":1790209350000,"timestamp_seconds":1790209350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0cad970"} 
[2026-09-24 05:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 05:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293516544001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293516544001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:57:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:57:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293516544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":191114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:57:07] local.INFO: GPS data processed {"connection_id":191114,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:57:07] local.INFO: Acknowledgment sent {"connection_id":191114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:57:29] local.INFO: TCP Data received {"connection_id":192457,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:57:29] local.INFO: Processing buffer {"connection_id":192457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:57:29] local.INFO: IMEI packet received {"connection_id":192457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":192457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:57:34] local.INFO: TCP Data received {"connection_id":192457,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:57:34] local.INFO: Processing buffer {"connection_id":192457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:57:34] local.INFO: IMEI packet received {"connection_id":192457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":192457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:57:35] local.INFO: TCP Data received {"connection_id":192457,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:57:35] local.INFO: Processing buffer {"connection_id":192457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:57:35] local.INFO: Packet analysis {"connection_id":192457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ca"} 
[2026-09-24 05:57:35] local.INFO: Extracted packet for processing {"connection_id":192457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ca"} 
[2026-09-24 05:57:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293516544001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790209350000,"timestamp_ms":1790209350000,"timestamp_seconds":1790209350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0cad970"} 
[2026-09-24 05:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 05:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293516544001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293516544001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:57:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:57:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293516544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":192457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:57:35] local.INFO: GPS data processed {"connection_id":192457,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:57:35] local.INFO: Acknowledgment sent {"connection_id":192457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:58:07] local.INFO: TCP Data received {"connection_id":192457,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:58:07] local.INFO: Processing buffer {"connection_id":192457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0cad970012d34c58006aa47580006010522..."} 
[2026-09-24 05:58:07] local.INFO: Packet analysis {"connection_id":192457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ca"} 
[2026-09-24 05:58:07] local.INFO: Extracted packet for processing {"connection_id":192457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ca"} 
[2026-09-24 05:58:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293516544001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790209350000,"timestamp_ms":1790209350000,"timestamp_seconds":1790209350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0cad970"} 
[2026-09-24 05:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 05:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293516544001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293516544001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:58:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:58:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293516544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":192457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:58:07] local.INFO: GPS data processed {"connection_id":192457,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:58:07] local.INFO: Acknowledgment sent {"connection_id":192457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:58:35] local.INFO: TCP Data received {"connection_id":191115,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:58:35] local.INFO: Processing buffer {"connection_id":191115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:58:35] local.INFO: IMEI packet received {"connection_id":191115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":191115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:58:39] local.INFO: TCP Data received {"connection_id":191115,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:58:39] local.INFO: Processing buffer {"connection_id":191115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:58:39] local.INFO: IMEI packet received {"connection_id":191115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":191115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:58:40] local.INFO: TCP Data received {"connection_id":191115,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 05:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 05:58:40] local.INFO: Processing buffer {"connection_id":191115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 05:58:40] local.INFO: Packet analysis {"connection_id":191115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0cf"} 
[2026-09-24 05:58:40] local.INFO: Extracted packet for processing {"connection_id":191115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0cf"} 
[2026-09-24 05:58:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293593600001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790209651000,"timestamp_ms":1790209651000,"timestamp_seconds":1790209651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0cf7138"} 
[2026-09-24 05:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 05:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293593600001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293593600001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:58:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:58:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293593600001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":191115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:58:40] local.INFO: GPS data processed {"connection_id":191115,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:58:40] local.INFO: Acknowledgment sent {"connection_id":191115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:59:12] local.INFO: TCP Data received {"connection_id":191115,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 05:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 05:59:12] local.INFO: Processing buffer {"connection_id":191115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 05:59:12] local.INFO: Packet analysis {"connection_id":191115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0cf"} 
[2026-09-24 05:59:12] local.INFO: Extracted packet for processing {"connection_id":191115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0cf"} 
[2026-09-24 05:59:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 05:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293593600001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790209651000,"timestamp_ms":1790209651000,"timestamp_seconds":1790209651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0cf7138"} 
[2026-09-24 05:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 05:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 05:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293593600001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293593600001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:59:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:59:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293593600001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":191115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:59:12] local.INFO: GPS data processed {"connection_id":191115,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:59:12] local.INFO: Acknowledgment sent {"connection_id":191115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 05:59:29] local.INFO: TCP Data received {"connection_id":192458,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:59:29] local.INFO: Processing buffer {"connection_id":192458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:59:29] local.INFO: IMEI packet received {"connection_id":192458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 05:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":192458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 05:59:34] local.INFO: TCP Data received {"connection_id":192458,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:59:34] local.INFO: Processing buffer {"connection_id":192458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 05:59:34] local.INFO: IMEI packet received {"connection_id":192458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 05:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":192458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 05:59:35] local.INFO: TCP Data received {"connection_id":192458,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 05:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 05:59:35] local.INFO: Processing buffer {"connection_id":192458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 05:59:35] local.INFO: Packet analysis {"connection_id":192458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0cf"} 
[2026-09-24 05:59:35] local.INFO: Extracted packet for processing {"connection_id":192458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0cf"} 
[2026-09-24 05:59:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 05: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-09-24 05:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293593600001,"note":"Value kept but may cause issues"} 
[2026-09-24 05:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 05:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 05:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 05:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790209651000,"timestamp_ms":1790209651000,"timestamp_seconds":1790209651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0cf7138"} 
[2026-09-24 05:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 05:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 05:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 05:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 05: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-09-24 05:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 05:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 05:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 05:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 05:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 05:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 05:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 05:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293593600001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 05:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 05:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 05:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293593600001,"description":"Unknown IO ID 0"} 
[2026-09-24 05:59:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 05:59:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 05:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 05:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 05:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293593600001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 05:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":192458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 05:59:35] local.INFO: GPS data processed {"connection_id":192458,"processed":1,"errors":0,"total":1} 
[2026-09-24 05:59:35] local.INFO: Acknowledgment sent {"connection_id":192458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:00:07] local.INFO: TCP Data received {"connection_id":192458,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 06:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 06:00:07] local.INFO: Processing buffer {"connection_id":192458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 06:00:07] local.INFO: Packet analysis {"connection_id":192458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0cf"} 
[2026-09-24 06:00:07] local.INFO: Extracted packet for processing {"connection_id":192458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0cf"} 
[2026-09-24 06:00:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293593600001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790209651000,"timestamp_ms":1790209651000,"timestamp_seconds":1790209651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0cf7138"} 
[2026-09-24 06:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293593600001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293593600001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:00:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:00:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293593600001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":192458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:00:07] local.INFO: GPS data processed {"connection_id":192458,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:00:07] local.INFO: Acknowledgment sent {"connection_id":192458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:00:29] local.INFO: TCP Data received {"connection_id":193798,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:00:29] local.INFO: Processing buffer {"connection_id":193798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:00:29] local.INFO: IMEI packet received {"connection_id":193798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":193798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:00:34] local.INFO: TCP Data received {"connection_id":193798,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:00:34] local.INFO: Processing buffer {"connection_id":193798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:00:34] local.INFO: IMEI packet received {"connection_id":193798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":193798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:00:35] local.INFO: TCP Data received {"connection_id":193798,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 06:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 06:00:35] local.INFO: Processing buffer {"connection_id":193798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 06:00:35] local.INFO: Packet analysis {"connection_id":193798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0cf"} 
[2026-09-24 06:00:35] local.INFO: Extracted packet for processing {"connection_id":193798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0cf"} 
[2026-09-24 06:00:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293593600001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790209651000,"timestamp_ms":1790209651000,"timestamp_seconds":1790209651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0cf7138"} 
[2026-09-24 06:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293593600001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293593600001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:00:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:00:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293593600001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":193798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:00:35] local.INFO: GPS data processed {"connection_id":193798,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:00:35] local.INFO: Acknowledgment sent {"connection_id":193798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:01:07] local.INFO: TCP Data received {"connection_id":193798,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 06:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 06:01:07] local.INFO: Processing buffer {"connection_id":193798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 06:01:07] local.INFO: Packet analysis {"connection_id":193798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0cf"} 
[2026-09-24 06:01:07] local.INFO: Extracted packet for processing {"connection_id":193798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0cf"} 
[2026-09-24 06:01:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293593600001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790209651000,"timestamp_ms":1790209651000,"timestamp_seconds":1790209651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0cf7138"} 
[2026-09-24 06:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293593600001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293593600001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:01:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:01:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293593600001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":193798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:01:07] local.INFO: GPS data processed {"connection_id":193798,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:01:07] local.INFO: Acknowledgment sent {"connection_id":193798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:01:34] local.INFO: TCP Data received {"connection_id":190912,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:01:34] local.INFO: Processing buffer {"connection_id":190912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:01:34] local.INFO: IMEI packet received {"connection_id":190912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":190912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:01:39] local.INFO: TCP Data received {"connection_id":190912,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:01:39] local.INFO: Processing buffer {"connection_id":190912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:01:39] local.INFO: IMEI packet received {"connection_id":190912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":190912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:01:40] local.INFO: TCP Data received {"connection_id":190912,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 06:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 06:01:40] local.INFO: Processing buffer {"connection_id":190912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 06:01:40] local.INFO: Packet analysis {"connection_id":190912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0cf"} 
[2026-09-24 06:01:40] local.INFO: Extracted packet for processing {"connection_id":190912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0cf"} 
[2026-09-24 06:01:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293593600001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790209651000,"timestamp_ms":1790209651000,"timestamp_seconds":1790209651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0cf7138"} 
[2026-09-24 06:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293593600001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293593600001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:01:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:01:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293593600001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":190912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:01:40] local.INFO: GPS data processed {"connection_id":190912,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:01:40] local.INFO: Acknowledgment sent {"connection_id":190912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:02:12] local.INFO: TCP Data received {"connection_id":190912,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 06:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 06:02:12] local.INFO: Processing buffer {"connection_id":190912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 06:02:12] local.INFO: Packet analysis {"connection_id":190912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0cf"} 
[2026-09-24 06:02:12] local.INFO: Extracted packet for processing {"connection_id":190912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0cf"} 
[2026-09-24 06:02:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293593600001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790209651000,"timestamp_ms":1790209651000,"timestamp_seconds":1790209651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0cf7138"} 
[2026-09-24 06:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293593600001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293593600001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:02:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:02:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293593600001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":190912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:02:12] local.INFO: GPS data processed {"connection_id":190912,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:02:12] local.INFO: Acknowledgment sent {"connection_id":190912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:02:29] local.INFO: TCP Data received {"connection_id":193799,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:02:29] local.INFO: Processing buffer {"connection_id":193799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:02:29] local.INFO: IMEI packet received {"connection_id":193799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":193799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:02:34] local.INFO: TCP Data received {"connection_id":193799,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:02:34] local.INFO: Processing buffer {"connection_id":193799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:02:34] local.INFO: IMEI packet received {"connection_id":193799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":193799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:02:35] local.INFO: TCP Data received {"connection_id":193799,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 06:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 06:02:35] local.INFO: Processing buffer {"connection_id":193799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 06:02:35] local.INFO: Packet analysis {"connection_id":193799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0cf"} 
[2026-09-24 06:02:35] local.INFO: Extracted packet for processing {"connection_id":193799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0cf"} 
[2026-09-24 06:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293593600001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790209651000,"timestamp_ms":1790209651000,"timestamp_seconds":1790209651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0cf7138"} 
[2026-09-24 06:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293593600001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293593600001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:02:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293593600001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":193799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:02:35] local.INFO: GPS data processed {"connection_id":193799,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:02:35] local.INFO: Acknowledgment sent {"connection_id":193799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:03:08] local.INFO: TCP Data received {"connection_id":193799,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 06:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 06:03:08] local.INFO: Processing buffer {"connection_id":193799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0cf7138012d34c58006aa47580006010529..."} 
[2026-09-24 06:03:08] local.INFO: Packet analysis {"connection_id":193799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0cf"} 
[2026-09-24 06:03:08] local.INFO: Extracted packet for processing {"connection_id":193799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0cf"} 
[2026-09-24 06:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293593600001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790209651000,"timestamp_ms":1790209651000,"timestamp_seconds":1790209651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0cf7138"} 
[2026-09-24 06:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:03: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-09-24 06: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-09-24 06:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293593600001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293593600001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:03:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:03:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293593600001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":193799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:03:08] local.INFO: GPS data processed {"connection_id":193799,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:03:08] local.INFO: Acknowledgment sent {"connection_id":193799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:03:29] local.INFO: TCP Data received {"connection_id":191116,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:03:29] local.INFO: Processing buffer {"connection_id":191116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:03:29] local.INFO: IMEI packet received {"connection_id":191116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":191116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:03:34] local.INFO: TCP Data received {"connection_id":191116,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:03:34] local.INFO: Processing buffer {"connection_id":191116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:03:34] local.INFO: IMEI packet received {"connection_id":191116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":191116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:03:35] local.INFO: TCP Data received {"connection_id":191116,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:03:35] local.INFO: Processing buffer {"connection_id":191116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:03:35] local.INFO: Packet analysis {"connection_id":191116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0d4"} 
[2026-09-24 06:03:35] local.INFO: Extracted packet for processing {"connection_id":191116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0d4"} 
[2026-09-24 06:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293670656001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790209952000,"timestamp_ms":1790209952000,"timestamp_seconds":1790209952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0d40900"} 
[2026-09-24 06:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 06:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293670656001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293670656001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:03:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:03:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293670656001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":191116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:03:35] local.INFO: GPS data processed {"connection_id":191116,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:03:35] local.INFO: Acknowledgment sent {"connection_id":191116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:04:07] local.INFO: TCP Data received {"connection_id":191116,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:04:07] local.INFO: Processing buffer {"connection_id":191116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:04:07] local.INFO: Packet analysis {"connection_id":191116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0d4"} 
[2026-09-24 06:04:07] local.INFO: Extracted packet for processing {"connection_id":191116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0d4"} 
[2026-09-24 06:04:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293670656001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790209952000,"timestamp_ms":1790209952000,"timestamp_seconds":1790209952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0d40900"} 
[2026-09-24 06:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 06:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293670656001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293670656001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:04:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:04:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293670656001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":191116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:04:07] local.INFO: GPS data processed {"connection_id":191116,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:04:07] local.INFO: Acknowledgment sent {"connection_id":191116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:04:29] local.INFO: TCP Data received {"connection_id":191117,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:04:29] local.INFO: Processing buffer {"connection_id":191117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:04:29] local.INFO: IMEI packet received {"connection_id":191117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":191117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:04:34] local.INFO: TCP Data received {"connection_id":191117,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:04:34] local.INFO: Processing buffer {"connection_id":191117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:04:34] local.INFO: IMEI packet received {"connection_id":191117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":191117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:04:36] local.INFO: TCP Data received {"connection_id":191117,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:04:36] local.INFO: Processing buffer {"connection_id":191117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:04:36] local.INFO: Packet analysis {"connection_id":191117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0d4"} 
[2026-09-24 06:04:36] local.INFO: Extracted packet for processing {"connection_id":191117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0d4"} 
[2026-09-24 06:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293670656001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790209952000,"timestamp_ms":1790209952000,"timestamp_seconds":1790209952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0d40900"} 
[2026-09-24 06:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 06:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293670656001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293670656001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:04:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:04:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293670656001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":191117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:04:36] local.INFO: GPS data processed {"connection_id":191117,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:04:36] local.INFO: Acknowledgment sent {"connection_id":191117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:05:07] local.INFO: TCP Data received {"connection_id":191117,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:05:07] local.INFO: Processing buffer {"connection_id":191117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:05:07] local.INFO: Packet analysis {"connection_id":191117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0d4"} 
[2026-09-24 06:05:07] local.INFO: Extracted packet for processing {"connection_id":191117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0d4"} 
[2026-09-24 06:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293670656001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790209952000,"timestamp_ms":1790209952000,"timestamp_seconds":1790209952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0d40900"} 
[2026-09-24 06:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 06:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293670656001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293670656001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:05:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:05:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293670656001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":191117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:05:07] local.INFO: GPS data processed {"connection_id":191117,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:05:07] local.INFO: Acknowledgment sent {"connection_id":191117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:05:34] local.INFO: TCP Data received {"connection_id":190913,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:05:34] local.INFO: Processing buffer {"connection_id":190913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:05:34] local.INFO: IMEI packet received {"connection_id":190913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":190913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:05:39] local.INFO: TCP Data received {"connection_id":190913,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:05:39] local.INFO: Processing buffer {"connection_id":190913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:05:39] local.INFO: IMEI packet received {"connection_id":190913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":190913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:05:41] local.INFO: TCP Data received {"connection_id":190913,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:05:41] local.INFO: Processing buffer {"connection_id":190913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:05:41] local.INFO: Packet analysis {"connection_id":190913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0d4"} 
[2026-09-24 06:05:41] local.INFO: Extracted packet for processing {"connection_id":190913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0d4"} 
[2026-09-24 06:05:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293670656001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790209952000,"timestamp_ms":1790209952000,"timestamp_seconds":1790209952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0d40900"} 
[2026-09-24 06:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:05:41] local.INFO: IO Element 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-09-24 06:05:41] 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-09-24 06:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293670656001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293670656001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:05:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:05:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293670656001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":190913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:05:41] local.INFO: GPS data processed {"connection_id":190913,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:05:41] local.INFO: Acknowledgment sent {"connection_id":190913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:05:45] local.INFO: TCP Data received {"connection_id":190913,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:05:45] local.INFO: Processing buffer {"connection_id":190913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:05:45] local.INFO: Packet analysis {"connection_id":190913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0d4"} 
[2026-09-24 06:05:45] local.INFO: Extracted packet for processing {"connection_id":190913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0d4"} 
[2026-09-24 06:05:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293670656001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790209952000,"timestamp_ms":1790209952000,"timestamp_seconds":1790209952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0d40900"} 
[2026-09-24 06:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 06:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":190913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":190913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":190913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293670656001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293670656001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:05:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:05:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293670656001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":190913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:05:45] local.INFO: GPS data processed {"connection_id":190913,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:05:45] local.INFO: Acknowledgment sent {"connection_id":190913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:06:29] local.INFO: TCP Data received {"connection_id":193800,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:06:29] local.INFO: Processing buffer {"connection_id":193800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:06:29] local.INFO: IMEI packet received {"connection_id":193800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":193800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:06:34] local.INFO: TCP Data received {"connection_id":193800,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:06:34] local.INFO: Processing buffer {"connection_id":193800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:06:34] local.INFO: IMEI packet received {"connection_id":193800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":193800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:06:35] local.INFO: TCP Data received {"connection_id":193800,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:06:35] local.INFO: Processing buffer {"connection_id":193800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:06:35] local.INFO: Packet analysis {"connection_id":193800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0d4"} 
[2026-09-24 06:06:35] local.INFO: Extracted packet for processing {"connection_id":193800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0d4"} 
[2026-09-24 06:06:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293670656001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790209952000,"timestamp_ms":1790209952000,"timestamp_seconds":1790209952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0d40900"} 
[2026-09-24 06:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 06:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293670656001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293670656001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:06:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:06:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293670656001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":193800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:06:35] local.INFO: GPS data processed {"connection_id":193800,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:06:35] local.INFO: Acknowledgment sent {"connection_id":193800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:07:07] local.INFO: TCP Data received {"connection_id":193800,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:07:07] local.INFO: Processing buffer {"connection_id":193800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:07:07] local.INFO: Packet analysis {"connection_id":193800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0d4"} 
[2026-09-24 06:07:07] local.INFO: Extracted packet for processing {"connection_id":193800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0d4"} 
[2026-09-24 06:07:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293670656001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790209952000,"timestamp_ms":1790209952000,"timestamp_seconds":1790209952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0d40900"} 
[2026-09-24 06:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 06:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293670656001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293670656001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:07:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:07:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293670656001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":193800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:07:07] local.INFO: GPS data processed {"connection_id":193800,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:07:07] local.INFO: Acknowledgment sent {"connection_id":193800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:07:29] local.INFO: TCP Data received {"connection_id":190914,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:07:29] local.INFO: Processing buffer {"connection_id":190914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:07:29] local.INFO: IMEI packet received {"connection_id":190914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":190914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:07:34] local.INFO: TCP Data received {"connection_id":190914,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:07:34] local.INFO: Processing buffer {"connection_id":190914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:07:34] local.INFO: IMEI packet received {"connection_id":190914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":190914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:07:36] local.INFO: TCP Data received {"connection_id":190914,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:07:36] local.INFO: Processing buffer {"connection_id":190914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:07:36] local.INFO: Packet analysis {"connection_id":190914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0d4"} 
[2026-09-24 06:07:36] local.INFO: Extracted packet for processing {"connection_id":190914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0d4"} 
[2026-09-24 06:07:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293670656001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790209952000,"timestamp_ms":1790209952000,"timestamp_seconds":1790209952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0d40900"} 
[2026-09-24 06:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 06:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293670656001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293670656001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:07:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:07:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293670656001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":190914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:07:36] local.INFO: GPS data processed {"connection_id":190914,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:07:36] local.INFO: Acknowledgment sent {"connection_id":190914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:08:08] local.INFO: TCP Data received {"connection_id":190914,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:08:08] local.INFO: Processing buffer {"connection_id":190914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0d40900012d34c58006aa47580006010525..."} 
[2026-09-24 06:08:08] local.INFO: Packet analysis {"connection_id":190914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0d4"} 
[2026-09-24 06:08:08] local.INFO: Extracted packet for processing {"connection_id":190914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0d4"} 
[2026-09-24 06:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293670656001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790209952000,"timestamp_ms":1790209952000,"timestamp_seconds":1790209952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0d40900"} 
[2026-09-24 06:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 06:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293670656001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293670656001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:08:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:08:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293670656001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":190914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:08:08] local.INFO: GPS data processed {"connection_id":190914,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:08:08] local.INFO: Acknowledgment sent {"connection_id":190914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:08:29] local.INFO: TCP Data received {"connection_id":192459,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:08:29] local.INFO: Processing buffer {"connection_id":192459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:08:29] local.INFO: IMEI packet received {"connection_id":192459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":192459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:08:35] local.INFO: TCP Data received {"connection_id":192459,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:08:35] local.INFO: Processing buffer {"connection_id":192459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:08:35] local.INFO: IMEI packet received {"connection_id":192459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":192459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:08:36] local.INFO: TCP Data received {"connection_id":192459,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:08:36] local.INFO: Processing buffer {"connection_id":192459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:08:36] local.INFO: Packet analysis {"connection_id":192459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0d8"} 
[2026-09-24 06:08:36] local.INFO: Extracted packet for processing {"connection_id":192459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0d8"} 
[2026-09-24 06:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293747712001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790210253000,"timestamp_ms":1790210253000,"timestamp_seconds":1790210253,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0d8a0c8"} 
[2026-09-24 06:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06: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":194,"data_length":795,"current_offset":136} 
[2026-09-24 06:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293747712001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293747712001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:08:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293747712001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":192459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:08:36] local.INFO: GPS data processed {"connection_id":192459,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:08:36] local.INFO: Acknowledgment sent {"connection_id":192459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:09:07] local.INFO: TCP Data received {"connection_id":192459,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:09:07] local.INFO: Processing buffer {"connection_id":192459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:09:07] local.INFO: Packet analysis {"connection_id":192459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0d8"} 
[2026-09-24 06:09:07] local.INFO: Extracted packet for processing {"connection_id":192459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0d8"} 
[2026-09-24 06:09:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293747712001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790210253000,"timestamp_ms":1790210253000,"timestamp_seconds":1790210253,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0d8a0c8"} 
[2026-09-24 06:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 06:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293747712001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293747712001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:09:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:09:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293747712001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":192459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:09:07] local.INFO: GPS data processed {"connection_id":192459,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:09:07] local.INFO: Acknowledgment sent {"connection_id":192459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:09:29] local.INFO: TCP Data received {"connection_id":192460,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:09:29] local.INFO: Processing buffer {"connection_id":192460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:09:29] local.INFO: IMEI packet received {"connection_id":192460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":192460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:09:35] local.INFO: TCP Data received {"connection_id":192460,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:09:35] local.INFO: Processing buffer {"connection_id":192460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:09:35] local.INFO: IMEI packet received {"connection_id":192460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":192460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:09:36] local.INFO: TCP Data received {"connection_id":192460,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:09:36] local.INFO: Processing buffer {"connection_id":192460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:09:36] local.INFO: Packet analysis {"connection_id":192460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0d8"} 
[2026-09-24 06:09:36] local.INFO: Extracted packet for processing {"connection_id":192460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0d8"} 
[2026-09-24 06:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293747712001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790210253000,"timestamp_ms":1790210253000,"timestamp_seconds":1790210253,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0d8a0c8"} 
[2026-09-24 06:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 06:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293747712001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293747712001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:09:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:09:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293747712001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":192460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:09:36] local.INFO: GPS data processed {"connection_id":192460,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:09:36] local.INFO: Acknowledgment sent {"connection_id":192460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:10:08] local.INFO: TCP Data received {"connection_id":192460,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:10:08] local.INFO: Processing buffer {"connection_id":192460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:10:08] local.INFO: Packet analysis {"connection_id":192460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0d8"} 
[2026-09-24 06:10:08] local.INFO: Extracted packet for processing {"connection_id":192460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0d8"} 
[2026-09-24 06:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293747712001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790210253000,"timestamp_ms":1790210253000,"timestamp_seconds":1790210253,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0d8a0c8"} 
[2026-09-24 06:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 06:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293747712001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293747712001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:10:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293747712001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":192460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:10:08] local.INFO: GPS data processed {"connection_id":192460,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:10:08] local.INFO: Acknowledgment sent {"connection_id":192460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:10:34] local.INFO: TCP Data received {"connection_id":193801,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:10:34] local.INFO: Processing buffer {"connection_id":193801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:10:34] local.INFO: IMEI packet received {"connection_id":193801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":193801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:10:39] local.INFO: TCP Data received {"connection_id":193801,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:10:39] local.INFO: Processing buffer {"connection_id":193801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:10:39] local.INFO: IMEI packet received {"connection_id":193801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":193801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:10:40] local.INFO: TCP Data received {"connection_id":193801,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:10:40] local.INFO: Processing buffer {"connection_id":193801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:10:40] local.INFO: Packet analysis {"connection_id":193801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0d8"} 
[2026-09-24 06:10:40] local.INFO: Extracted packet for processing {"connection_id":193801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0d8"} 
[2026-09-24 06:10:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293747712001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790210253000,"timestamp_ms":1790210253000,"timestamp_seconds":1790210253,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0d8a0c8"} 
[2026-09-24 06:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 06:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293747712001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293747712001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:10:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:10:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293747712001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":193801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:10:40] local.INFO: GPS data processed {"connection_id":193801,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:10:40] local.INFO: Acknowledgment sent {"connection_id":193801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:11:11] local.INFO: TCP Data received {"connection_id":193801,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:11:11] local.INFO: Processing buffer {"connection_id":193801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:11:11] local.INFO: Packet analysis {"connection_id":193801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0d8"} 
[2026-09-24 06:11:11] local.INFO: Extracted packet for processing {"connection_id":193801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0d8"} 
[2026-09-24 06:11:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293747712001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790210253000,"timestamp_ms":1790210253000,"timestamp_seconds":1790210253,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0d8a0c8"} 
[2026-09-24 06:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 06:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293747712001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293747712001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:11:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:11:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293747712001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":193801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:11:11] local.INFO: GPS data processed {"connection_id":193801,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:11:11] local.INFO: Acknowledgment sent {"connection_id":193801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:11:29] local.INFO: TCP Data received {"connection_id":192461,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:11:29] local.INFO: Processing buffer {"connection_id":192461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:11:29] local.INFO: IMEI packet received {"connection_id":192461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":192461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:11:34] local.INFO: TCP Data received {"connection_id":192461,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:11:34] local.INFO: Processing buffer {"connection_id":192461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:11:34] local.INFO: IMEI packet received {"connection_id":192461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":192461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:11:35] local.INFO: TCP Data received {"connection_id":192461,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:11:35] local.INFO: Processing buffer {"connection_id":192461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:11:35] local.INFO: Packet analysis {"connection_id":192461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0d8"} 
[2026-09-24 06:11:35] local.INFO: Extracted packet for processing {"connection_id":192461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0d8"} 
[2026-09-24 06:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293747712001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790210253000,"timestamp_ms":1790210253000,"timestamp_seconds":1790210253,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0d8a0c8"} 
[2026-09-24 06:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 06:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293747712001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293747712001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:11:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:11:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293747712001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":192461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:11:35] local.INFO: GPS data processed {"connection_id":192461,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:11:35] local.INFO: Acknowledgment sent {"connection_id":192461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:12:07] local.INFO: TCP Data received {"connection_id":192461,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:12:07] local.INFO: Processing buffer {"connection_id":192461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:12:07] local.INFO: Packet analysis {"connection_id":192461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0d8"} 
[2026-09-24 06:12:07] local.INFO: Extracted packet for processing {"connection_id":192461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0d8"} 
[2026-09-24 06:12:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293747712001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790210253000,"timestamp_ms":1790210253000,"timestamp_seconds":1790210253,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0d8a0c8"} 
[2026-09-24 06:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 06:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293747712001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293747712001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:12:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:12:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293747712001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":192461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:12:07] local.INFO: GPS data processed {"connection_id":192461,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:12:07] local.INFO: Acknowledgment sent {"connection_id":192461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:12:29] local.INFO: TCP Data received {"connection_id":193802,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:12:29] local.INFO: Processing buffer {"connection_id":193802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:12:29] local.INFO: IMEI packet received {"connection_id":193802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":193802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:12:34] local.INFO: TCP Data received {"connection_id":193802,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:12:34] local.INFO: Processing buffer {"connection_id":193802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:12:34] local.INFO: IMEI packet received {"connection_id":193802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":193802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:12:35] local.INFO: TCP Data received {"connection_id":193802,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:12:35] local.INFO: Processing buffer {"connection_id":193802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:12:35] local.INFO: Packet analysis {"connection_id":193802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0d8"} 
[2026-09-24 06:12:35] local.INFO: Extracted packet for processing {"connection_id":193802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0d8"} 
[2026-09-24 06:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293747712001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790210253000,"timestamp_ms":1790210253000,"timestamp_seconds":1790210253,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0d8a0c8"} 
[2026-09-24 06:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 06:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293747712001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293747712001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:12:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:12:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293747712001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":193802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:12:35] local.INFO: GPS data processed {"connection_id":193802,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:12:35] local.INFO: Acknowledgment sent {"connection_id":193802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:13:07] local.INFO: TCP Data received {"connection_id":193802,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:13:07] local.INFO: Processing buffer {"connection_id":193802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0d8a0c8012d34c58006aa47580006010529..."} 
[2026-09-24 06:13:07] local.INFO: Packet analysis {"connection_id":193802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0d8"} 
[2026-09-24 06:13:07] local.INFO: Extracted packet for processing {"connection_id":193802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0d8"} 
[2026-09-24 06:13:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293747712001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790210253000,"timestamp_ms":1790210253000,"timestamp_seconds":1790210253,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0d8a0c8"} 
[2026-09-24 06:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 06:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293747712001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293747712001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:13:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:13:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293747712001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":193802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:13:07] local.INFO: GPS data processed {"connection_id":193802,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:13:07] local.INFO: Acknowledgment sent {"connection_id":193802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:13:29] local.INFO: TCP Data received {"connection_id":192462,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:13:29] local.INFO: Processing buffer {"connection_id":192462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:13:29] local.INFO: IMEI packet received {"connection_id":192462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":192462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:13:34] local.INFO: TCP Data received {"connection_id":192462,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:13:34] local.INFO: Processing buffer {"connection_id":192462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:13:34] local.INFO: IMEI packet received {"connection_id":192462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":192462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:13:35] local.INFO: TCP Data received {"connection_id":192462,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:13:35] local.INFO: Processing buffer {"connection_id":192462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:13:35] local.INFO: Packet analysis {"connection_id":192462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0dd"} 
[2026-09-24 06:13:35] local.INFO: Extracted packet for processing {"connection_id":192462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0dd"} 
[2026-09-24 06:13:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293824768001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790210554000,"timestamp_ms":1790210554000,"timestamp_seconds":1790210554,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0dd3890"} 
[2026-09-24 06:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 06:13: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-09-24 06:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293824768001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293824768001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:13:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:13:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293824768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":192462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:13:35] local.INFO: GPS data processed {"connection_id":192462,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:13:35] local.INFO: Acknowledgment sent {"connection_id":192462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:14:06] local.INFO: TCP Data received {"connection_id":192462,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:14:06] local.INFO: Processing buffer {"connection_id":192462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:14:06] local.INFO: Packet analysis {"connection_id":192462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0dd"} 
[2026-09-24 06:14:06] local.INFO: Extracted packet for processing {"connection_id":192462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0dd"} 
[2026-09-24 06:14:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293824768001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790210554000,"timestamp_ms":1790210554000,"timestamp_seconds":1790210554,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0dd3890"} 
[2026-09-24 06:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 06:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293824768001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293824768001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:14:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:14:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293824768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":192462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:14:06] local.INFO: GPS data processed {"connection_id":192462,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:14:06] local.INFO: Acknowledgment sent {"connection_id":192462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:14:30] local.INFO: TCP Data received {"connection_id":192463,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:14:30] local.INFO: Processing buffer {"connection_id":192463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:14:30] local.INFO: IMEI packet received {"connection_id":192463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":192463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:14:34] local.INFO: TCP Data received {"connection_id":192463,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:14:34] local.INFO: Processing buffer {"connection_id":192463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:14:34] local.INFO: IMEI packet received {"connection_id":192463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":192463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:14:35] local.INFO: TCP Data received {"connection_id":192463,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:14:35] local.INFO: Processing buffer {"connection_id":192463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:14:35] local.INFO: Packet analysis {"connection_id":192463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0dd"} 
[2026-09-24 06:14:35] local.INFO: Extracted packet for processing {"connection_id":192463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0dd"} 
[2026-09-24 06:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293824768001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790210554000,"timestamp_ms":1790210554000,"timestamp_seconds":1790210554,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0dd3890"} 
[2026-09-24 06:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 06:14: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-09-24 06: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-09-24 06:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293824768001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293824768001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:14:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:14:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293824768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":192463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:14:35] local.INFO: GPS data processed {"connection_id":192463,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:14:35] local.INFO: Acknowledgment sent {"connection_id":192463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:15:06] local.INFO: TCP Data received {"connection_id":192463,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:15:06] local.INFO: Processing buffer {"connection_id":192463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:15:06] local.INFO: Packet analysis {"connection_id":192463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0dd"} 
[2026-09-24 06:15:06] local.INFO: Extracted packet for processing {"connection_id":192463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0dd"} 
[2026-09-24 06:15:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293824768001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790210554000,"timestamp_ms":1790210554000,"timestamp_seconds":1790210554,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0dd3890"} 
[2026-09-24 06:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 06:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293824768001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293824768001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:15:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:15:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293824768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":192463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:15:06] local.INFO: GPS data processed {"connection_id":192463,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:15:06] local.INFO: Acknowledgment sent {"connection_id":192463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:15:34] local.INFO: TCP Data received {"connection_id":193803,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:15:34] local.INFO: Processing buffer {"connection_id":193803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:15:34] local.INFO: IMEI packet received {"connection_id":193803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":193803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:15:39] local.INFO: TCP Data received {"connection_id":193803,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:15:39] local.INFO: Processing buffer {"connection_id":193803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:15:39] local.INFO: IMEI packet received {"connection_id":193803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":193803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:15:40] local.INFO: TCP Data received {"connection_id":193803,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:15:40] local.INFO: Processing buffer {"connection_id":193803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:15:40] local.INFO: Packet analysis {"connection_id":193803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0dd"} 
[2026-09-24 06:15:40] local.INFO: Extracted packet for processing {"connection_id":193803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0dd"} 
[2026-09-24 06:15:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293824768001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790210554000,"timestamp_ms":1790210554000,"timestamp_seconds":1790210554,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0dd3890"} 
[2026-09-24 06:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 06:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293824768001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293824768001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:15:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:15:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293824768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":193803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:15:40] local.INFO: GPS data processed {"connection_id":193803,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:15:40] local.INFO: Acknowledgment sent {"connection_id":193803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:15:45] local.INFO: TCP Data received {"connection_id":193803,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:15:45] local.INFO: Processing buffer {"connection_id":193803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:15:45] local.INFO: Packet analysis {"connection_id":193803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0dd"} 
[2026-09-24 06:15:45] local.INFO: Extracted packet for processing {"connection_id":193803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0dd"} 
[2026-09-24 06:15:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293824768001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790210554000,"timestamp_ms":1790210554000,"timestamp_seconds":1790210554,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0dd3890"} 
[2026-09-24 06:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 06:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293824768001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293824768001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:15:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:15:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293824768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":193803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:15:45] local.INFO: GPS data processed {"connection_id":193803,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:15:45] local.INFO: Acknowledgment sent {"connection_id":193803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:16:29] local.INFO: TCP Data received {"connection_id":190915,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:16:29] local.INFO: Processing buffer {"connection_id":190915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:16:29] local.INFO: IMEI packet received {"connection_id":190915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":190915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:16:34] local.INFO: TCP Data received {"connection_id":190915,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:16:34] local.INFO: Processing buffer {"connection_id":190915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:16:34] local.INFO: IMEI packet received {"connection_id":190915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":190915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:16:36] local.INFO: TCP Data received {"connection_id":190915,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:16:36] local.INFO: Processing buffer {"connection_id":190915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:16:36] local.INFO: Packet analysis {"connection_id":190915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0dd"} 
[2026-09-24 06:16:36] local.INFO: Extracted packet for processing {"connection_id":190915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0dd"} 
[2026-09-24 06:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293824768001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790210554000,"timestamp_ms":1790210554000,"timestamp_seconds":1790210554,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0dd3890"} 
[2026-09-24 06:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 06:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293824768001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293824768001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:16:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:16:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293824768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":190915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:16:36] local.INFO: GPS data processed {"connection_id":190915,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:16:36] local.INFO: Acknowledgment sent {"connection_id":190915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:17:07] local.INFO: TCP Data received {"connection_id":190915,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:17:07] local.INFO: Processing buffer {"connection_id":190915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:17:07] local.INFO: Packet analysis {"connection_id":190915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0dd"} 
[2026-09-24 06:17:07] local.INFO: Extracted packet for processing {"connection_id":190915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0dd"} 
[2026-09-24 06:17:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293824768001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790210554000,"timestamp_ms":1790210554000,"timestamp_seconds":1790210554,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0dd3890"} 
[2026-09-24 06:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 06:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293824768001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293824768001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:17:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:17:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293824768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":190915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:17:07] local.INFO: GPS data processed {"connection_id":190915,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:17:07] local.INFO: Acknowledgment sent {"connection_id":190915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:17:29] local.INFO: TCP Data received {"connection_id":190916,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:17:29] local.INFO: Processing buffer {"connection_id":190916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:17:29] local.INFO: IMEI packet received {"connection_id":190916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":190916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:17:34] local.INFO: TCP Data received {"connection_id":190916,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:17:34] local.INFO: Processing buffer {"connection_id":190916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:17:34] local.INFO: IMEI packet received {"connection_id":190916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":190916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:17:35] local.INFO: TCP Data received {"connection_id":190916,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:17:35] local.INFO: Processing buffer {"connection_id":190916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:17:35] local.INFO: Packet analysis {"connection_id":190916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0dd"} 
[2026-09-24 06:17:35] local.INFO: Extracted packet for processing {"connection_id":190916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0dd"} 
[2026-09-24 06:17:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293824768001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790210554000,"timestamp_ms":1790210554000,"timestamp_seconds":1790210554,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0dd3890"} 
[2026-09-24 06:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 06:17: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-09-24 06:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293824768001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293824768001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:17:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:17:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293824768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":190916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:17:35] local.INFO: GPS data processed {"connection_id":190916,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:17:35] local.INFO: Acknowledgment sent {"connection_id":190916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:18:07] local.INFO: TCP Data received {"connection_id":190916,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:18:07] local.INFO: Processing buffer {"connection_id":190916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0dd3890012d34c58006aa47580006010523..."} 
[2026-09-24 06:18:07] local.INFO: Packet analysis {"connection_id":190916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0dd"} 
[2026-09-24 06:18:07] local.INFO: Extracted packet for processing {"connection_id":190916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0dd"} 
[2026-09-24 06:18:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293824768001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790210554000,"timestamp_ms":1790210554000,"timestamp_seconds":1790210554,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0dd3890"} 
[2026-09-24 06:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 06:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293824768001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293824768001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:18:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:18:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293824768001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":190916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:18:07] local.INFO: GPS data processed {"connection_id":190916,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:18:07] local.INFO: Acknowledgment sent {"connection_id":190916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:18:29] local.INFO: TCP Data received {"connection_id":191118,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:18:29] local.INFO: Processing buffer {"connection_id":191118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:18:29] local.INFO: IMEI packet received {"connection_id":191118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":191118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:18:34] local.INFO: TCP Data received {"connection_id":191118,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:18:34] local.INFO: Processing buffer {"connection_id":191118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:18:34] local.INFO: IMEI packet received {"connection_id":191118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":191118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:18:36] local.INFO: TCP Data received {"connection_id":191118,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:18:36] local.INFO: Processing buffer {"connection_id":191118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:18:36] local.INFO: Packet analysis {"connection_id":191118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0e1"} 
[2026-09-24 06:18:36] local.INFO: Extracted packet for processing {"connection_id":191118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0e1"} 
[2026-09-24 06:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293901824001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790210855000,"timestamp_ms":1790210855000,"timestamp_seconds":1790210855,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0e1d058"} 
[2026-09-24 06:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:18: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-09-24 06:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293901824001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293901824001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:18:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:18:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293901824001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":191118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:18:36] local.INFO: GPS data processed {"connection_id":191118,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:18:36] local.INFO: Acknowledgment sent {"connection_id":191118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:19:07] local.INFO: TCP Data received {"connection_id":191118,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:19:07] local.INFO: Processing buffer {"connection_id":191118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:19:07] local.INFO: Packet analysis {"connection_id":191118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0e1"} 
[2026-09-24 06:19:07] local.INFO: Extracted packet for processing {"connection_id":191118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0e1"} 
[2026-09-24 06:19:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293901824001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790210855000,"timestamp_ms":1790210855000,"timestamp_seconds":1790210855,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0e1d058"} 
[2026-09-24 06:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293901824001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293901824001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:19:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:19:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293901824001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":191118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:19:07] local.INFO: GPS data processed {"connection_id":191118,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:19:07] local.INFO: Acknowledgment sent {"connection_id":191118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:19:29] local.INFO: TCP Data received {"connection_id":192464,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:19:29] local.INFO: Processing buffer {"connection_id":192464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:19:29] local.INFO: IMEI packet received {"connection_id":192464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":192464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:19:34] local.INFO: TCP Data received {"connection_id":192464,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:19:34] local.INFO: Processing buffer {"connection_id":192464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:19:34] local.INFO: IMEI packet received {"connection_id":192464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":192464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:19:35] local.INFO: TCP Data received {"connection_id":192464,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:19:35] local.INFO: Processing buffer {"connection_id":192464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:19:35] local.INFO: Packet analysis {"connection_id":192464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0e1"} 
[2026-09-24 06:19:35] local.INFO: Extracted packet for processing {"connection_id":192464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0e1"} 
[2026-09-24 06:19:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293901824001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790210855000,"timestamp_ms":1790210855000,"timestamp_seconds":1790210855,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0e1d058"} 
[2026-09-24 06:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06: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":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293901824001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293901824001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:19:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:19:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293901824001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":192464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:19:35] local.INFO: GPS data processed {"connection_id":192464,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:19:35] local.INFO: Acknowledgment sent {"connection_id":192464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:20:07] local.INFO: TCP Data received {"connection_id":192464,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:20:07] local.INFO: Processing buffer {"connection_id":192464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:20:07] local.INFO: Packet analysis {"connection_id":192464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0e1"} 
[2026-09-24 06:20:07] local.INFO: Extracted packet for processing {"connection_id":192464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0e1"} 
[2026-09-24 06:20:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293901824001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790210855000,"timestamp_ms":1790210855000,"timestamp_seconds":1790210855,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0e1d058"} 
[2026-09-24 06:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293901824001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293901824001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:20:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:20:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293901824001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":192464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:20:07] local.INFO: GPS data processed {"connection_id":192464,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:20:07] local.INFO: Acknowledgment sent {"connection_id":192464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:20:34] local.INFO: TCP Data received {"connection_id":192465,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:20:34] local.INFO: Processing buffer {"connection_id":192465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:20:34] local.INFO: IMEI packet received {"connection_id":192465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":192465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:20:39] local.INFO: TCP Data received {"connection_id":192465,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:20:39] local.INFO: Processing buffer {"connection_id":192465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:20:39] local.INFO: IMEI packet received {"connection_id":192465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":192465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:20:40] local.INFO: TCP Data received {"connection_id":192465,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:20:40] local.INFO: Processing buffer {"connection_id":192465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:20:40] local.INFO: Packet analysis {"connection_id":192465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0e1"} 
[2026-09-24 06:20:40] local.INFO: Extracted packet for processing {"connection_id":192465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0e1"} 
[2026-09-24 06:20:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293901824001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790210855000,"timestamp_ms":1790210855000,"timestamp_seconds":1790210855,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0e1d058"} 
[2026-09-24 06:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293901824001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293901824001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:20:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:20:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293901824001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":192465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:20:40] local.INFO: GPS data processed {"connection_id":192465,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:20:40] local.INFO: Acknowledgment sent {"connection_id":192465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:20:45] local.INFO: TCP Data received {"connection_id":192465,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:20:45] local.INFO: Processing buffer {"connection_id":192465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:20:45] local.INFO: Packet analysis {"connection_id":192465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0e1"} 
[2026-09-24 06:20:45] local.INFO: Extracted packet for processing {"connection_id":192465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0e1"} 
[2026-09-24 06:20:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293901824001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790210855000,"timestamp_ms":1790210855000,"timestamp_seconds":1790210855,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0e1d058"} 
[2026-09-24 06:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293901824001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293901824001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:20:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:20:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293901824001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":192465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:20:45] local.INFO: GPS data processed {"connection_id":192465,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:20:45] local.INFO: Acknowledgment sent {"connection_id":192465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:21:29] local.INFO: TCP Data received {"connection_id":193804,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:21:29] local.INFO: Processing buffer {"connection_id":193804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:21:29] local.INFO: IMEI packet received {"connection_id":193804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":193804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:21:34] local.INFO: TCP Data received {"connection_id":193804,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:21:34] local.INFO: Processing buffer {"connection_id":193804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:21:34] local.INFO: IMEI packet received {"connection_id":193804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":193804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:21:35] local.INFO: TCP Data received {"connection_id":193804,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:21:35] local.INFO: Processing buffer {"connection_id":193804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:21:35] local.INFO: Packet analysis {"connection_id":193804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0e1"} 
[2026-09-24 06:21:35] local.INFO: Extracted packet for processing {"connection_id":193804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0e1"} 
[2026-09-24 06:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293901824001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790210855000,"timestamp_ms":1790210855000,"timestamp_seconds":1790210855,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0e1d058"} 
[2026-09-24 06:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06: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":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293901824001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293901824001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:21:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:21:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293901824001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":193804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:21:35] local.INFO: GPS data processed {"connection_id":193804,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:21:35] local.INFO: Acknowledgment sent {"connection_id":193804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:22:06] local.INFO: TCP Data received {"connection_id":193804,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:22:06] local.INFO: Processing buffer {"connection_id":193804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:22:06] local.INFO: Packet analysis {"connection_id":193804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0e1"} 
[2026-09-24 06:22:06] local.INFO: Extracted packet for processing {"connection_id":193804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0e1"} 
[2026-09-24 06:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293901824001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790210855000,"timestamp_ms":1790210855000,"timestamp_seconds":1790210855,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0e1d058"} 
[2026-09-24 06:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293901824001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293901824001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:22:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293901824001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":193804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:22:06] local.INFO: GPS data processed {"connection_id":193804,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:22:06] local.INFO: Acknowledgment sent {"connection_id":193804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:22:30] local.INFO: TCP Data received {"connection_id":192466,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:22:30] local.INFO: Processing buffer {"connection_id":192466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:22:30] local.INFO: IMEI packet received {"connection_id":192466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":192466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:22:35] local.INFO: TCP Data received {"connection_id":192466,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:22:35] local.INFO: Processing buffer {"connection_id":192466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:22:35] local.INFO: IMEI packet received {"connection_id":192466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":192466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:22:36] local.INFO: TCP Data received {"connection_id":192466,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:22:36] local.INFO: Processing buffer {"connection_id":192466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:22:36] local.INFO: Packet analysis {"connection_id":192466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0e1"} 
[2026-09-24 06:22:36] local.INFO: Extracted packet for processing {"connection_id":192466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0e1"} 
[2026-09-24 06:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293901824001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790210855000,"timestamp_ms":1790210855000,"timestamp_seconds":1790210855,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0e1d058"} 
[2026-09-24 06:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:22: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-09-24 06:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293901824001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293901824001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:22:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:22:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293901824001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":192466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:22:36] local.INFO: GPS data processed {"connection_id":192466,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:22:36] local.INFO: Acknowledgment sent {"connection_id":192466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:23:08] local.INFO: TCP Data received {"connection_id":192466,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:23:08] local.INFO: Processing buffer {"connection_id":192466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0e1d058012d34c58006aa47580006010524..."} 
[2026-09-24 06:23:08] local.INFO: Packet analysis {"connection_id":192466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0e1"} 
[2026-09-24 06:23:08] local.INFO: Extracted packet for processing {"connection_id":192466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0e1"} 
[2026-09-24 06:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293901824001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790210855000,"timestamp_ms":1790210855000,"timestamp_seconds":1790210855,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0e1d058"} 
[2026-09-24 06:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:23: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-09-24 06:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293901824001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293901824001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:23:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293901824001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":192466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:23:08] local.INFO: GPS data processed {"connection_id":192466,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:23:08] local.INFO: Acknowledgment sent {"connection_id":192466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:23:29] local.INFO: TCP Data received {"connection_id":191119,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:23:29] local.INFO: Processing buffer {"connection_id":191119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:23:29] local.INFO: IMEI packet received {"connection_id":191119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":191119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:23:34] local.INFO: TCP Data received {"connection_id":191119,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:23:34] local.INFO: Processing buffer {"connection_id":191119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:23:34] local.INFO: IMEI packet received {"connection_id":191119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":191119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:23:35] local.INFO: TCP Data received {"connection_id":191119,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:23:35] local.INFO: Processing buffer {"connection_id":191119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:23:35] local.INFO: Packet analysis {"connection_id":191119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0e6"} 
[2026-09-24 06:23:35] local.INFO: Extracted packet for processing {"connection_id":191119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0e6"} 
[2026-09-24 06:23:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293978880001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790211156000,"timestamp_ms":1790211156000,"timestamp_seconds":1790211156,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0e66820"} 
[2026-09-24 06:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 06:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293978880001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293978880001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:23:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:23:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293978880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":191119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:23:35] local.INFO: GPS data processed {"connection_id":191119,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:23:35] local.INFO: Acknowledgment sent {"connection_id":191119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:24:07] local.INFO: TCP Data received {"connection_id":191119,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:24:07] local.INFO: Processing buffer {"connection_id":191119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:24:07] local.INFO: Packet analysis {"connection_id":191119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0e6"} 
[2026-09-24 06:24:07] local.INFO: Extracted packet for processing {"connection_id":191119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0e6"} 
[2026-09-24 06:24:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293978880001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790211156000,"timestamp_ms":1790211156000,"timestamp_seconds":1790211156,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0e66820"} 
[2026-09-24 06:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 06:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293978880001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293978880001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:24:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:24:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293978880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":191119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:24:07] local.INFO: GPS data processed {"connection_id":191119,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:24:07] local.INFO: Acknowledgment sent {"connection_id":191119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:24:29] local.INFO: TCP Data received {"connection_id":190917,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:24:29] local.INFO: Processing buffer {"connection_id":190917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:24:29] local.INFO: IMEI packet received {"connection_id":190917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":190917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:24:34] local.INFO: TCP Data received {"connection_id":190917,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:24:34] local.INFO: Processing buffer {"connection_id":190917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:24:34] local.INFO: IMEI packet received {"connection_id":190917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":190917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:24:35] local.INFO: TCP Data received {"connection_id":190917,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:24:35] local.INFO: Processing buffer {"connection_id":190917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:24:35] local.INFO: Packet analysis {"connection_id":190917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0e6"} 
[2026-09-24 06:24:35] local.INFO: Extracted packet for processing {"connection_id":190917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0e6"} 
[2026-09-24 06:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293978880001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790211156000,"timestamp_ms":1790211156000,"timestamp_seconds":1790211156,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0e66820"} 
[2026-09-24 06:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 06:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293978880001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293978880001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:24:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:24:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293978880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":190917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:24:35] local.INFO: GPS data processed {"connection_id":190917,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:24:35] local.INFO: Acknowledgment sent {"connection_id":190917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:25:07] local.INFO: TCP Data received {"connection_id":190917,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:25:07] local.INFO: Processing buffer {"connection_id":190917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:25:07] local.INFO: Packet analysis {"connection_id":190917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0e6"} 
[2026-09-24 06:25:07] local.INFO: Extracted packet for processing {"connection_id":190917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0e6"} 
[2026-09-24 06:25:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293978880001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790211156000,"timestamp_ms":1790211156000,"timestamp_seconds":1790211156,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0e66820"} 
[2026-09-24 06:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 06:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293978880001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293978880001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:25:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:25:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293978880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":190917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:25:07] local.INFO: GPS data processed {"connection_id":190917,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:25:07] local.INFO: Acknowledgment sent {"connection_id":190917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:25:29] local.INFO: TCP Data received {"connection_id":191120,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:25:29] local.INFO: Processing buffer {"connection_id":191120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:25:29] local.INFO: IMEI packet received {"connection_id":191120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":191120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:25:34] local.INFO: TCP Data received {"connection_id":191120,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:25:34] local.INFO: Processing buffer {"connection_id":191120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:25:34] local.INFO: IMEI packet received {"connection_id":191120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":191120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:25:35] local.INFO: TCP Data received {"connection_id":191120,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:25:35] local.INFO: Processing buffer {"connection_id":191120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:25:35] local.INFO: Packet analysis {"connection_id":191120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0e6"} 
[2026-09-24 06:25:35] local.INFO: Extracted packet for processing {"connection_id":191120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0e6"} 
[2026-09-24 06:25:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293978880001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790211156000,"timestamp_ms":1790211156000,"timestamp_seconds":1790211156,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0e66820"} 
[2026-09-24 06:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 06:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293978880001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293978880001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:25:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:25:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293978880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":191120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:25:35] local.INFO: GPS data processed {"connection_id":191120,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:25:35] local.INFO: Acknowledgment sent {"connection_id":191120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:26:07] local.INFO: TCP Data received {"connection_id":191120,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:26:07] local.INFO: Processing buffer {"connection_id":191120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:26:07] local.INFO: Packet analysis {"connection_id":191120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0e6"} 
[2026-09-24 06:26:07] local.INFO: Extracted packet for processing {"connection_id":191120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0e6"} 
[2026-09-24 06:26:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293978880001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790211156000,"timestamp_ms":1790211156000,"timestamp_seconds":1790211156,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0e66820"} 
[2026-09-24 06:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 06:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293978880001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293978880001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:26:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:26:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293978880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":191120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:26:07] local.INFO: GPS data processed {"connection_id":191120,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:26:07] local.INFO: Acknowledgment sent {"connection_id":191120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:26:29] local.INFO: TCP Data received {"connection_id":190918,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:26:29] local.INFO: Processing buffer {"connection_id":190918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:26:29] local.INFO: IMEI packet received {"connection_id":190918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":190918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:26:34] local.INFO: TCP Data received {"connection_id":190918,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:26:34] local.INFO: Processing buffer {"connection_id":190918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:26:34] local.INFO: IMEI packet received {"connection_id":190918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":190918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:26:35] local.INFO: TCP Data received {"connection_id":190918,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:26:35] local.INFO: Processing buffer {"connection_id":190918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:26:35] local.INFO: Packet analysis {"connection_id":190918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0e6"} 
[2026-09-24 06:26:35] local.INFO: Extracted packet for processing {"connection_id":190918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0e6"} 
[2026-09-24 06:26:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293978880001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790211156000,"timestamp_ms":1790211156000,"timestamp_seconds":1790211156,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0e66820"} 
[2026-09-24 06:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 06:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293978880001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293978880001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:26:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:26:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293978880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":190918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:26:35] local.INFO: GPS data processed {"connection_id":190918,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:26:35] local.INFO: Acknowledgment sent {"connection_id":190918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:27:07] local.INFO: TCP Data received {"connection_id":190918,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:27:07] local.INFO: Processing buffer {"connection_id":190918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:27:07] local.INFO: Packet analysis {"connection_id":190918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0e6"} 
[2026-09-24 06:27:07] local.INFO: Extracted packet for processing {"connection_id":190918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0e6"} 
[2026-09-24 06:27:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293978880001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790211156000,"timestamp_ms":1790211156000,"timestamp_seconds":1790211156,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0e66820"} 
[2026-09-24 06:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 06:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293978880001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293978880001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:27:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:27:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293978880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":190918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:27:07] local.INFO: GPS data processed {"connection_id":190918,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:27:07] local.INFO: Acknowledgment sent {"connection_id":190918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:27:29] local.INFO: TCP Data received {"connection_id":192467,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:27:29] local.INFO: Processing buffer {"connection_id":192467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:27:29] local.INFO: IMEI packet received {"connection_id":192467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":192467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:27:34] local.INFO: TCP Data received {"connection_id":192467,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:27:34] local.INFO: Processing buffer {"connection_id":192467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:27:34] local.INFO: IMEI packet received {"connection_id":192467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":192467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:27:35] local.INFO: TCP Data received {"connection_id":192467,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:27:35] local.INFO: Processing buffer {"connection_id":192467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:27:35] local.INFO: Packet analysis {"connection_id":192467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0e6"} 
[2026-09-24 06:27:35] local.INFO: Extracted packet for processing {"connection_id":192467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0e6"} 
[2026-09-24 06:27:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293978880001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790211156000,"timestamp_ms":1790211156000,"timestamp_seconds":1790211156,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0e66820"} 
[2026-09-24 06:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 06:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293978880001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293978880001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:27:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:27:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293978880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":192467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:27:35] local.INFO: GPS data processed {"connection_id":192467,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:27:35] local.INFO: Acknowledgment sent {"connection_id":192467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:28:08] local.INFO: TCP Data received {"connection_id":192467,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:28:08] local.INFO: Processing buffer {"connection_id":192467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0e66820012d34c58006aa47580006010527..."} 
[2026-09-24 06:28:08] local.INFO: Packet analysis {"connection_id":192467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0e6"} 
[2026-09-24 06:28:08] local.INFO: Extracted packet for processing {"connection_id":192467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0e6"} 
[2026-09-24 06:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458293978880001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790211156000,"timestamp_ms":1790211156000,"timestamp_seconds":1790211156,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0e66820"} 
[2026-09-24 06:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 06:28:08] 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-09-24 06: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-09-24 06:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458293978880001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458293978880001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:28:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458293978880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":192467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:28:08] local.INFO: GPS data processed {"connection_id":192467,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:28:08] local.INFO: Acknowledgment sent {"connection_id":192467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:28:29] local.INFO: TCP Data received {"connection_id":190919,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:28:29] local.INFO: Processing buffer {"connection_id":190919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:28:29] local.INFO: IMEI packet received {"connection_id":190919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":190919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:28:34] local.INFO: TCP Data received {"connection_id":190919,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:28:34] local.INFO: Processing buffer {"connection_id":190919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:28:34] local.INFO: IMEI packet received {"connection_id":190919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":190919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:28:35] local.INFO: TCP Data received {"connection_id":190919,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:28:35] local.INFO: Processing buffer {"connection_id":190919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:28:35] local.INFO: Packet analysis {"connection_id":190919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ea"} 
[2026-09-24 06:28:35] local.INFO: Extracted packet for processing {"connection_id":190919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ea"} 
[2026-09-24 06:28:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294055936001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790211457000,"timestamp_ms":1790211457000,"timestamp_seconds":1790211457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0eaffe8"} 
[2026-09-24 06:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294055936001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294055936001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:28:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:28:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294055936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":190919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:28:35] local.INFO: GPS data processed {"connection_id":190919,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:28:35] local.INFO: Acknowledgment sent {"connection_id":190919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:29:07] local.INFO: TCP Data received {"connection_id":190919,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:29:07] local.INFO: Processing buffer {"connection_id":190919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:29:07] local.INFO: Packet analysis {"connection_id":190919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ea"} 
[2026-09-24 06:29:07] local.INFO: Extracted packet for processing {"connection_id":190919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ea"} 
[2026-09-24 06:29:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294055936001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790211457000,"timestamp_ms":1790211457000,"timestamp_seconds":1790211457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0eaffe8"} 
[2026-09-24 06:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294055936001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294055936001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:29:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:29:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294055936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":190919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:29:07] local.INFO: GPS data processed {"connection_id":190919,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:29:07] local.INFO: Acknowledgment sent {"connection_id":190919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:29:29] local.INFO: TCP Data received {"connection_id":191121,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:29:29] local.INFO: Processing buffer {"connection_id":191121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:29:29] local.INFO: IMEI packet received {"connection_id":191121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":191121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:29:34] local.INFO: TCP Data received {"connection_id":191121,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:29:34] local.INFO: Processing buffer {"connection_id":191121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:29:34] local.INFO: IMEI packet received {"connection_id":191121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":191121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:29:35] local.INFO: TCP Data received {"connection_id":191121,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:29:35] local.INFO: Processing buffer {"connection_id":191121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:29:35] local.INFO: Packet analysis {"connection_id":191121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ea"} 
[2026-09-24 06:29:35] local.INFO: Extracted packet for processing {"connection_id":191121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ea"} 
[2026-09-24 06:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294055936001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790211457000,"timestamp_ms":1790211457000,"timestamp_seconds":1790211457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0eaffe8"} 
[2026-09-24 06:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294055936001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294055936001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:29:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:29:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294055936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":191121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:29:35] local.INFO: GPS data processed {"connection_id":191121,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:29:35] local.INFO: Acknowledgment sent {"connection_id":191121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:30:07] local.INFO: TCP Data received {"connection_id":191121,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:30:07] local.INFO: Processing buffer {"connection_id":191121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:30:07] local.INFO: Packet analysis {"connection_id":191121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ea"} 
[2026-09-24 06:30:07] local.INFO: Extracted packet for processing {"connection_id":191121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ea"} 
[2026-09-24 06:30:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294055936001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790211457000,"timestamp_ms":1790211457000,"timestamp_seconds":1790211457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0eaffe8"} 
[2026-09-24 06:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294055936001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294055936001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:30:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:30:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294055936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":191121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:30:07] local.INFO: GPS data processed {"connection_id":191121,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:30:07] local.INFO: Acknowledgment sent {"connection_id":191121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:30:29] local.INFO: TCP Data received {"connection_id":191122,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:30:29] local.INFO: Processing buffer {"connection_id":191122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:30:29] local.INFO: IMEI packet received {"connection_id":191122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":191122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:30:34] local.INFO: TCP Data received {"connection_id":191122,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:30:34] local.INFO: Processing buffer {"connection_id":191122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:30:34] local.INFO: IMEI packet received {"connection_id":191122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":191122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:30:35] local.INFO: TCP Data received {"connection_id":191122,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:30:35] local.INFO: Processing buffer {"connection_id":191122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:30:35] local.INFO: Packet analysis {"connection_id":191122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ea"} 
[2026-09-24 06:30:35] local.INFO: Extracted packet for processing {"connection_id":191122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ea"} 
[2026-09-24 06:30:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294055936001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790211457000,"timestamp_ms":1790211457000,"timestamp_seconds":1790211457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0eaffe8"} 
[2026-09-24 06:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294055936001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294055936001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:30:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:30:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294055936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":191122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:30:35] local.INFO: GPS data processed {"connection_id":191122,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:30:35] local.INFO: Acknowledgment sent {"connection_id":191122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:31:07] local.INFO: TCP Data received {"connection_id":191122,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:31:07] local.INFO: Processing buffer {"connection_id":191122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:31:07] local.INFO: Packet analysis {"connection_id":191122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ea"} 
[2026-09-24 06:31:07] local.INFO: Extracted packet for processing {"connection_id":191122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ea"} 
[2026-09-24 06:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294055936001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790211457000,"timestamp_ms":1790211457000,"timestamp_seconds":1790211457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0eaffe8"} 
[2026-09-24 06:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294055936001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294055936001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:31:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:31:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294055936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":191122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:31:07] local.INFO: GPS data processed {"connection_id":191122,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:31:07] local.INFO: Acknowledgment sent {"connection_id":191122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:31:30] local.INFO: TCP Data received {"connection_id":191123,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:31:30] local.INFO: Processing buffer {"connection_id":191123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:31:30] local.INFO: IMEI packet received {"connection_id":191123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":191123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:31:34] local.INFO: TCP Data received {"connection_id":191123,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:31:34] local.INFO: Processing buffer {"connection_id":191123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:31:34] local.INFO: IMEI packet received {"connection_id":191123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":191123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:31:35] local.INFO: TCP Data received {"connection_id":191123,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:31:35] local.INFO: Processing buffer {"connection_id":191123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:31:35] local.INFO: Packet analysis {"connection_id":191123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ea"} 
[2026-09-24 06:31:35] local.INFO: Extracted packet for processing {"connection_id":191123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ea"} 
[2026-09-24 06:31:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294055936001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790211457000,"timestamp_ms":1790211457000,"timestamp_seconds":1790211457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0eaffe8"} 
[2026-09-24 06:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294055936001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294055936001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:31:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:31:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294055936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":191123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:31:35] local.INFO: GPS data processed {"connection_id":191123,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:31:35] local.INFO: Acknowledgment sent {"connection_id":191123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:32:06] local.INFO: TCP Data received {"connection_id":191123,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:32:06] local.INFO: Processing buffer {"connection_id":191123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:32:06] local.INFO: Packet analysis {"connection_id":191123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ea"} 
[2026-09-24 06:32:06] local.INFO: Extracted packet for processing {"connection_id":191123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ea"} 
[2026-09-24 06:32:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294055936001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790211457000,"timestamp_ms":1790211457000,"timestamp_seconds":1790211457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0eaffe8"} 
[2026-09-24 06:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294055936001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294055936001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:32:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:32:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294055936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":191123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:32:06] local.INFO: GPS data processed {"connection_id":191123,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:32:06] local.INFO: Acknowledgment sent {"connection_id":191123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:32:29] local.INFO: TCP Data received {"connection_id":191124,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:32:29] local.INFO: Processing buffer {"connection_id":191124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:32:29] local.INFO: IMEI packet received {"connection_id":191124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":191124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:32:34] local.INFO: TCP Data received {"connection_id":191124,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:32:34] local.INFO: Processing buffer {"connection_id":191124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:32:34] local.INFO: IMEI packet received {"connection_id":191124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":191124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:32:35] local.INFO: TCP Data received {"connection_id":191124,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:32:35] local.INFO: Processing buffer {"connection_id":191124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:32:35] local.INFO: Packet analysis {"connection_id":191124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ea"} 
[2026-09-24 06:32:35] local.INFO: Extracted packet for processing {"connection_id":191124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ea"} 
[2026-09-24 06:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294055936001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790211457000,"timestamp_ms":1790211457000,"timestamp_seconds":1790211457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0eaffe8"} 
[2026-09-24 06:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294055936001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294055936001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:32:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:32:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294055936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":191124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:32:35] local.INFO: GPS data processed {"connection_id":191124,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:32:35] local.INFO: Acknowledgment sent {"connection_id":191124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:33:06] local.INFO: TCP Data received {"connection_id":191124,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:33:06] local.INFO: Processing buffer {"connection_id":191124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0eaffe8012d34c58006aa47580006010523..."} 
[2026-09-24 06:33:06] local.INFO: Packet analysis {"connection_id":191124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ea"} 
[2026-09-24 06:33:06] local.INFO: Extracted packet for processing {"connection_id":191124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ea"} 
[2026-09-24 06:33:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294055936001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790211457000,"timestamp_ms":1790211457000,"timestamp_seconds":1790211457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0eaffe8"} 
[2026-09-24 06:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294055936001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294055936001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:33:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:33:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294055936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":191124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:33:06] local.INFO: GPS data processed {"connection_id":191124,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:33:06] local.INFO: Acknowledgment sent {"connection_id":191124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:33:29] local.INFO: TCP Data received {"connection_id":191125,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:33:29] local.INFO: Processing buffer {"connection_id":191125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:33:29] local.INFO: IMEI packet received {"connection_id":191125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":191125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:33:34] local.INFO: TCP Data received {"connection_id":191125,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:33:34] local.INFO: Processing buffer {"connection_id":191125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:33:34] local.INFO: IMEI packet received {"connection_id":191125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":191125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:33:35] local.INFO: TCP Data received {"connection_id":191125,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:33:35] local.INFO: Processing buffer {"connection_id":191125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:33:35] local.INFO: Packet analysis {"connection_id":191125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ef"} 
[2026-09-24 06:33:35] local.INFO: Extracted packet for processing {"connection_id":191125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ef"} 
[2026-09-24 06:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294132992001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790211758000,"timestamp_ms":1790211758000,"timestamp_seconds":1790211758,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0ef97b0"} 
[2026-09-24 06:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294132992001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294132992001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:33:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:33:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294132992001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":191125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:33:35] local.INFO: GPS data processed {"connection_id":191125,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:33:35] local.INFO: Acknowledgment sent {"connection_id":191125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:34:06] local.INFO: TCP Data received {"connection_id":191125,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:34:06] local.INFO: Processing buffer {"connection_id":191125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:34:06] local.INFO: Packet analysis {"connection_id":191125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ef"} 
[2026-09-24 06:34:06] local.INFO: Extracted packet for processing {"connection_id":191125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ef"} 
[2026-09-24 06:34:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294132992001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790211758000,"timestamp_ms":1790211758000,"timestamp_seconds":1790211758,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0ef97b0"} 
[2026-09-24 06:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294132992001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294132992001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:34:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:34:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294132992001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":191125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:34:06] local.INFO: GPS data processed {"connection_id":191125,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:34:06] local.INFO: Acknowledgment sent {"connection_id":191125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:34:29] local.INFO: TCP Data received {"connection_id":193805,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:34:29] local.INFO: Processing buffer {"connection_id":193805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:34:29] local.INFO: IMEI packet received {"connection_id":193805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":193805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:34:34] local.INFO: TCP Data received {"connection_id":193805,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:34:34] local.INFO: Processing buffer {"connection_id":193805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:34:34] local.INFO: IMEI packet received {"connection_id":193805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":193805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:34:35] local.INFO: TCP Data received {"connection_id":193805,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:34:35] local.INFO: Processing buffer {"connection_id":193805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:34:35] local.INFO: Packet analysis {"connection_id":193805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ef"} 
[2026-09-24 06:34:35] local.INFO: Extracted packet for processing {"connection_id":193805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ef"} 
[2026-09-24 06:34:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294132992001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790211758000,"timestamp_ms":1790211758000,"timestamp_seconds":1790211758,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0ef97b0"} 
[2026-09-24 06:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294132992001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294132992001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:34:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:34:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294132992001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":193805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:34:35] local.INFO: GPS data processed {"connection_id":193805,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:34:35] local.INFO: Acknowledgment sent {"connection_id":193805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:35:06] local.INFO: TCP Data received {"connection_id":193805,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:35:06] local.INFO: Processing buffer {"connection_id":193805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:35:06] local.INFO: Packet analysis {"connection_id":193805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ef"} 
[2026-09-24 06:35:06] local.INFO: Extracted packet for processing {"connection_id":193805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ef"} 
[2026-09-24 06:35:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294132992001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790211758000,"timestamp_ms":1790211758000,"timestamp_seconds":1790211758,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0ef97b0"} 
[2026-09-24 06:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294132992001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294132992001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:35:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:35:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294132992001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":193805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:35:06] local.INFO: GPS data processed {"connection_id":193805,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:35:06] local.INFO: Acknowledgment sent {"connection_id":193805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:35:29] local.INFO: TCP Data received {"connection_id":193806,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:35:29] local.INFO: Processing buffer {"connection_id":193806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:35:29] local.INFO: IMEI packet received {"connection_id":193806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":193806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:35:34] local.INFO: TCP Data received {"connection_id":193806,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:35:34] local.INFO: Processing buffer {"connection_id":193806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:35:34] local.INFO: IMEI packet received {"connection_id":193806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":193806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:35:36] local.INFO: TCP Data received {"connection_id":193806,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:35:36] local.INFO: Processing buffer {"connection_id":193806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:35:36] local.INFO: Packet analysis {"connection_id":193806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ef"} 
[2026-09-24 06:35:36] local.INFO: Extracted packet for processing {"connection_id":193806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ef"} 
[2026-09-24 06:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294132992001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790211758000,"timestamp_ms":1790211758000,"timestamp_seconds":1790211758,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0ef97b0"} 
[2026-09-24 06:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294132992001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294132992001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:35:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294132992001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":193806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:35:36] local.INFO: GPS data processed {"connection_id":193806,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:35:36] local.INFO: Acknowledgment sent {"connection_id":193806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:36:08] local.INFO: TCP Data received {"connection_id":193806,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:36:08] local.INFO: Processing buffer {"connection_id":193806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:36:08] local.INFO: Packet analysis {"connection_id":193806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ef"} 
[2026-09-24 06:36:08] local.INFO: Extracted packet for processing {"connection_id":193806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ef"} 
[2026-09-24 06:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294132992001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790211758000,"timestamp_ms":1790211758000,"timestamp_seconds":1790211758,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0ef97b0"} 
[2026-09-24 06:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:36: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-09-24 06:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294132992001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294132992001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:36:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294132992001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":193806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:36:08] local.INFO: GPS data processed {"connection_id":193806,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:36:08] local.INFO: Acknowledgment sent {"connection_id":193806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:36:29] local.INFO: TCP Data received {"connection_id":192468,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:36:29] local.INFO: Processing buffer {"connection_id":192468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:36:29] local.INFO: IMEI packet received {"connection_id":192468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":192468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:36:34] local.INFO: TCP Data received {"connection_id":192468,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:36:34] local.INFO: Processing buffer {"connection_id":192468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:36:34] local.INFO: IMEI packet received {"connection_id":192468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":192468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:36:35] local.INFO: TCP Data received {"connection_id":192468,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:36:35] local.INFO: Processing buffer {"connection_id":192468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:36:35] local.INFO: Packet analysis {"connection_id":192468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ef"} 
[2026-09-24 06:36:35] local.INFO: Extracted packet for processing {"connection_id":192468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ef"} 
[2026-09-24 06:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294132992001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790211758000,"timestamp_ms":1790211758000,"timestamp_seconds":1790211758,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0ef97b0"} 
[2026-09-24 06:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294132992001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294132992001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:36:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:36:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294132992001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":192468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:36:35] local.INFO: GPS data processed {"connection_id":192468,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:36:35] local.INFO: Acknowledgment sent {"connection_id":192468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:37:07] local.INFO: TCP Data received {"connection_id":192468,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:37:07] local.INFO: Processing buffer {"connection_id":192468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:37:07] local.INFO: Packet analysis {"connection_id":192468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ef"} 
[2026-09-24 06:37:07] local.INFO: Extracted packet for processing {"connection_id":192468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ef"} 
[2026-09-24 06:37:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294132992001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790211758000,"timestamp_ms":1790211758000,"timestamp_seconds":1790211758,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0ef97b0"} 
[2026-09-24 06:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294132992001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294132992001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:37:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:37:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294132992001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":192468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:37:07] local.INFO: GPS data processed {"connection_id":192468,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:37:07] local.INFO: Acknowledgment sent {"connection_id":192468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:37:29] local.INFO: TCP Data received {"connection_id":192469,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:37:29] local.INFO: Processing buffer {"connection_id":192469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:37:29] local.INFO: IMEI packet received {"connection_id":192469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":192469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:37:34] local.INFO: TCP Data received {"connection_id":192469,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:37:34] local.INFO: Processing buffer {"connection_id":192469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:37:34] local.INFO: IMEI packet received {"connection_id":192469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":192469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:37:35] local.INFO: TCP Data received {"connection_id":192469,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:37:35] local.INFO: Processing buffer {"connection_id":192469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:37:35] local.INFO: Packet analysis {"connection_id":192469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ef"} 
[2026-09-24 06:37:35] local.INFO: Extracted packet for processing {"connection_id":192469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ef"} 
[2026-09-24 06:37:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294132992001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790211758000,"timestamp_ms":1790211758000,"timestamp_seconds":1790211758,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0ef97b0"} 
[2026-09-24 06:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294132992001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294132992001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:37:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:37:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294132992001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":192469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:37:35] local.INFO: GPS data processed {"connection_id":192469,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:37:35] local.INFO: Acknowledgment sent {"connection_id":192469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:38:07] local.INFO: TCP Data received {"connection_id":192469,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:38:07] local.INFO: Processing buffer {"connection_id":192469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0ef97b0012d34c58006aa47580006010526..."} 
[2026-09-24 06:38:07] local.INFO: Packet analysis {"connection_id":192469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0ef"} 
[2026-09-24 06:38:07] local.INFO: Extracted packet for processing {"connection_id":192469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0ef"} 
[2026-09-24 06:38:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":6,"angle":261,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294132992001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790211758000,"timestamp_ms":1790211758000,"timestamp_seconds":1790211758,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0ef97b0"} 
[2026-09-24 06:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294132992001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294132992001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:38:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:38:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294132992001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":192469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:38:07] local.INFO: GPS data processed {"connection_id":192469,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:38:07] local.INFO: Acknowledgment sent {"connection_id":192469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:38:29] local.INFO: TCP Data received {"connection_id":190920,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:38:29] local.INFO: Processing buffer {"connection_id":190920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:38:29] local.INFO: IMEI packet received {"connection_id":190920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":190920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:38:34] local.INFO: TCP Data received {"connection_id":190920,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:38:34] local.INFO: Processing buffer {"connection_id":190920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:38:34] local.INFO: IMEI packet received {"connection_id":190920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":190920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:38:35] local.INFO: TCP Data received {"connection_id":190920,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:38:35] local.INFO: Processing buffer {"connection_id":190920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:38:35] local.INFO: Packet analysis {"connection_id":190920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0f4"} 
[2026-09-24 06:38:35] local.INFO: Extracted packet for processing {"connection_id":190920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0f4"} 
[2026-09-24 06:38:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294210048001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790212059000,"timestamp_ms":1790212059000,"timestamp_seconds":1790212059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0f42f78"} 
[2026-09-24 06:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 06:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294210048001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294210048001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:38:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:38:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294210048001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":190920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:38:35] local.INFO: GPS data processed {"connection_id":190920,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:38:35] local.INFO: Acknowledgment sent {"connection_id":190920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:39:06] local.INFO: TCP Data received {"connection_id":190920,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:39:06] local.INFO: Processing buffer {"connection_id":190920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:39:06] local.INFO: Packet analysis {"connection_id":190920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0f4"} 
[2026-09-24 06:39:06] local.INFO: Extracted packet for processing {"connection_id":190920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0f4"} 
[2026-09-24 06:39:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294210048001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790212059000,"timestamp_ms":1790212059000,"timestamp_seconds":1790212059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0f42f78"} 
[2026-09-24 06:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 06:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294210048001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294210048001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:39:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:39:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294210048001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":190920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:39:06] local.INFO: GPS data processed {"connection_id":190920,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:39:06] local.INFO: Acknowledgment sent {"connection_id":190920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:39:29] local.INFO: TCP Data received {"connection_id":192470,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:39:29] local.INFO: Processing buffer {"connection_id":192470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:39:29] local.INFO: IMEI packet received {"connection_id":192470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":192470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:39:34] local.INFO: TCP Data received {"connection_id":192470,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:39:34] local.INFO: Processing buffer {"connection_id":192470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:39:34] local.INFO: IMEI packet received {"connection_id":192470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":192470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:39:35] local.INFO: TCP Data received {"connection_id":192470,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:39:35] local.INFO: Processing buffer {"connection_id":192470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:39:35] local.INFO: Packet analysis {"connection_id":192470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0f4"} 
[2026-09-24 06:39:35] local.INFO: Extracted packet for processing {"connection_id":192470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0f4"} 
[2026-09-24 06:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294210048001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790212059000,"timestamp_ms":1790212059000,"timestamp_seconds":1790212059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0f42f78"} 
[2026-09-24 06:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 06:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294210048001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294210048001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:39:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:39:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294210048001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":192470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:39:35] local.INFO: GPS data processed {"connection_id":192470,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:39:35] local.INFO: Acknowledgment sent {"connection_id":192470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:40:07] local.INFO: TCP Data received {"connection_id":192470,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:40:07] local.INFO: Processing buffer {"connection_id":192470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:40:07] local.INFO: Packet analysis {"connection_id":192470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0f4"} 
[2026-09-24 06:40:07] local.INFO: Extracted packet for processing {"connection_id":192470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0f4"} 
[2026-09-24 06:40:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294210048001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790212059000,"timestamp_ms":1790212059000,"timestamp_seconds":1790212059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0f42f78"} 
[2026-09-24 06:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 06:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294210048001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294210048001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:40:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:40:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294210048001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":192470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:40:07] local.INFO: GPS data processed {"connection_id":192470,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:40:07] local.INFO: Acknowledgment sent {"connection_id":192470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:40:29] local.INFO: TCP Data received {"connection_id":192471,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:40:29] local.INFO: Processing buffer {"connection_id":192471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:40:29] local.INFO: IMEI packet received {"connection_id":192471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":192471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:40:34] local.INFO: TCP Data received {"connection_id":192471,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:40:34] local.INFO: Processing buffer {"connection_id":192471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:40:34] local.INFO: IMEI packet received {"connection_id":192471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":192471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:40:35] local.INFO: TCP Data received {"connection_id":192471,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:40:35] local.INFO: Processing buffer {"connection_id":192471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:40:35] local.INFO: Packet analysis {"connection_id":192471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0f4"} 
[2026-09-24 06:40:35] local.INFO: Extracted packet for processing {"connection_id":192471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0f4"} 
[2026-09-24 06:40:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294210048001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790212059000,"timestamp_ms":1790212059000,"timestamp_seconds":1790212059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0f42f78"} 
[2026-09-24 06:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 06:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294210048001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294210048001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:40:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:40:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294210048001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":192471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:40:35] local.INFO: GPS data processed {"connection_id":192471,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:40:35] local.INFO: Acknowledgment sent {"connection_id":192471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:41:07] local.INFO: TCP Data received {"connection_id":192471,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:41:07] local.INFO: Processing buffer {"connection_id":192471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:41:07] local.INFO: Packet analysis {"connection_id":192471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0f4"} 
[2026-09-24 06:41:07] local.INFO: Extracted packet for processing {"connection_id":192471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0f4"} 
[2026-09-24 06:41:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294210048001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790212059000,"timestamp_ms":1790212059000,"timestamp_seconds":1790212059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0f42f78"} 
[2026-09-24 06:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 06:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294210048001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294210048001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:41:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:41:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294210048001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":192471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:41:07] local.INFO: GPS data processed {"connection_id":192471,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:41:07] local.INFO: Acknowledgment sent {"connection_id":192471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:41:29] local.INFO: TCP Data received {"connection_id":193807,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:41:29] local.INFO: Processing buffer {"connection_id":193807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:41:29] local.INFO: IMEI packet received {"connection_id":193807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":193807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:41:34] local.INFO: TCP Data received {"connection_id":193807,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:41:34] local.INFO: Processing buffer {"connection_id":193807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:41:34] local.INFO: IMEI packet received {"connection_id":193807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":193807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:41:36] local.INFO: TCP Data received {"connection_id":193807,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:41:36] local.INFO: Processing buffer {"connection_id":193807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:41:36] local.INFO: Packet analysis {"connection_id":193807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0f4"} 
[2026-09-24 06:41:36] local.INFO: Extracted packet for processing {"connection_id":193807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0f4"} 
[2026-09-24 06:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294210048001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790212059000,"timestamp_ms":1790212059000,"timestamp_seconds":1790212059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0f42f78"} 
[2026-09-24 06:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 06:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294210048001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294210048001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:41:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:41:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294210048001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":193807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:41:36] local.INFO: GPS data processed {"connection_id":193807,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:41:36] local.INFO: Acknowledgment sent {"connection_id":193807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:42:09] local.INFO: TCP Data received {"connection_id":193807,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:42:09] local.INFO: Processing buffer {"connection_id":193807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:42:09] local.INFO: Packet analysis {"connection_id":193807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0f4"} 
[2026-09-24 06:42:09] local.INFO: Extracted packet for processing {"connection_id":193807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0f4"} 
[2026-09-24 06:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294210048001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790212059000,"timestamp_ms":1790212059000,"timestamp_seconds":1790212059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0f42f78"} 
[2026-09-24 06:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 06:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294210048001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294210048001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:42:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294210048001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":193807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:42:09] local.INFO: GPS data processed {"connection_id":193807,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:42:09] local.INFO: Acknowledgment sent {"connection_id":193807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:42:29] local.INFO: TCP Data received {"connection_id":192472,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:42:29] local.INFO: Processing buffer {"connection_id":192472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:42:29] local.INFO: IMEI packet received {"connection_id":192472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":192472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:42:30] local.INFO: TCP Data received {"connection_id":191126,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-24 06:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191126,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-24 06:42:30] local.INFO: Processing buffer {"connection_id":191126,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-24 06:42:30] local.INFO: Packet analysis {"connection_id":191126,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-24 06:42:30] local.INFO: Extracted packet for processing {"connection_id":191126,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-24 06:42:30] 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-09-24 06:42:30] 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-09-24 06:42:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-24 06:42:30] 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-09-24 06:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-24 06:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-24 06:42:30] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":191126,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-24 06:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":191126,"device_imei":null,"avl_records_count":1} 
[2026-09-24 06:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":191126,"device_imei":null,"avl_records_count":1} 
[2026-09-24 06:42:30] 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-09-24 06:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":191126,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 06:42:30] local.INFO: GPS data processed {"connection_id":191126,"processed":0,"errors":0,"total":1} 
[2026-09-24 06:42:30] local.INFO: Acknowledgment sent {"connection_id":191126,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:42:33] local.INFO: TCP Data received {"connection_id":190921,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-24 06:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190921,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-24 06:42:33] local.INFO: Processing buffer {"connection_id":190921,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-24 06:42:33] local.INFO: Packet analysis {"connection_id":190921,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-24 06:42:33] local.INFO: Extracted packet for processing {"connection_id":190921,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-24 06:42:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 06:42:33] 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-09-24 06:42:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-24 06:42:33] 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-09-24 06:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-24 06:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-24 06:42:33] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":190921,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-24 06:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":190921,"device_imei":null,"avl_records_count":1} 
[2026-09-24 06:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":190921,"device_imei":null,"avl_records_count":1} 
[2026-09-24 06:42:33] 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-09-24 06:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":190921,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 06:42:33] local.INFO: GPS data processed {"connection_id":190921,"processed":0,"errors":0,"total":1} 
[2026-09-24 06:42:33] local.INFO: Acknowledgment sent {"connection_id":190921,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:42:34] local.INFO: TCP Data received {"connection_id":192472,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:42:34] local.INFO: Processing buffer {"connection_id":192472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:42:34] local.INFO: IMEI packet received {"connection_id":192472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":192472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:42:35] local.INFO: TCP Data received {"connection_id":192472,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:42:35] local.INFO: Processing buffer {"connection_id":192472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:42:35] local.INFO: Packet analysis {"connection_id":192472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0f4"} 
[2026-09-24 06:42:35] local.INFO: Extracted packet for processing {"connection_id":192472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0f4"} 
[2026-09-24 06:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294210048001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790212059000,"timestamp_ms":1790212059000,"timestamp_seconds":1790212059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0f42f78"} 
[2026-09-24 06:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 06:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294210048001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294210048001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:42:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:42:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294210048001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":192472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:42:35] local.INFO: GPS data processed {"connection_id":192472,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:42:35] local.INFO: Acknowledgment sent {"connection_id":192472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:42:38] local.INFO: TCP Data received {"connection_id":190922,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-24 06:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190922,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-24 06:42:38] local.INFO: Processing buffer {"connection_id":190922,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-24 06:42:38] local.INFO: Packet analysis {"connection_id":190922,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-24 06:42:38] local.INFO: Extracted packet for processing {"connection_id":190922,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-24 06:42:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 06:42:38] 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-09-24 06:42:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-24 06:42:38] 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-09-24 06:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-24 06:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-24 06:42:38] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190922,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-24 06:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190922,"device_imei":null,"avl_records_count":1} 
[2026-09-24 06:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190922,"device_imei":null,"avl_records_count":1} 
[2026-09-24 06:42:38] 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-09-24 06:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":190922,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 06:42:38] local.INFO: GPS data processed {"connection_id":190922,"processed":0,"errors":0,"total":1} 
[2026-09-24 06:42:38] local.INFO: Acknowledgment sent {"connection_id":190922,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:43:07] local.INFO: TCP Data received {"connection_id":192472,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:43:07] local.INFO: Processing buffer {"connection_id":192472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0f42f78012d34c58006aa47580012010524..."} 
[2026-09-24 06:43:07] local.INFO: Packet analysis {"connection_id":192472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0f4"} 
[2026-09-24 06:43:07] local.INFO: Extracted packet for processing {"connection_id":192472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0f4"} 
[2026-09-24 06:43:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":18,"angle":261,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294210048001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790212059000,"timestamp_ms":1790212059000,"timestamp_seconds":1790212059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0f42f78"} 
[2026-09-24 06:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 06:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294210048001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294210048001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:43:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:43:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294210048001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":192472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:43:07] local.INFO: GPS data processed {"connection_id":192472,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:43:07] local.INFO: Acknowledgment sent {"connection_id":192472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:43:34] local.INFO: TCP Data received {"connection_id":193808,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:43:34] local.INFO: Processing buffer {"connection_id":193808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:43:34] local.INFO: IMEI packet received {"connection_id":193808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":193808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:43:39] local.INFO: TCP Data received {"connection_id":193808,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:43:39] local.INFO: Processing buffer {"connection_id":193808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:43:39] local.INFO: IMEI packet received {"connection_id":193808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":193808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:43:40] local.INFO: TCP Data received {"connection_id":193808,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:43:40] local.INFO: Processing buffer {"connection_id":193808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:43:40] local.INFO: Packet analysis {"connection_id":193808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0f8"} 
[2026-09-24 06:43:40] local.INFO: Extracted packet for processing {"connection_id":193808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0f8"} 
[2026-09-24 06:43:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294287104001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790212360000,"timestamp_ms":1790212360000,"timestamp_seconds":1790212360,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0f8c740"} 
[2026-09-24 06:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294287104001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294287104001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:43:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:43:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294287104001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":193808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:43:40] local.INFO: GPS data processed {"connection_id":193808,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:43:40] local.INFO: Acknowledgment sent {"connection_id":193808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:43:45] local.INFO: TCP Data received {"connection_id":193808,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:43:45] local.INFO: Processing buffer {"connection_id":193808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:43:45] local.INFO: Packet analysis {"connection_id":193808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0f8"} 
[2026-09-24 06:43:45] local.INFO: Extracted packet for processing {"connection_id":193808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0f8"} 
[2026-09-24 06:43:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294287104001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790212360000,"timestamp_ms":1790212360000,"timestamp_seconds":1790212360,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0f8c740"} 
[2026-09-24 06:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294287104001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294287104001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:43:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:43:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294287104001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":193808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:43:45] local.INFO: GPS data processed {"connection_id":193808,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:43:45] local.INFO: Acknowledgment sent {"connection_id":193808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:44:29] local.INFO: TCP Data received {"connection_id":193809,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:44:29] local.INFO: Processing buffer {"connection_id":193809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:44:29] local.INFO: IMEI packet received {"connection_id":193809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":193809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:44:34] local.INFO: TCP Data received {"connection_id":193809,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:44:34] local.INFO: Processing buffer {"connection_id":193809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:44:34] local.INFO: IMEI packet received {"connection_id":193809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":193809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:44:35] local.INFO: TCP Data received {"connection_id":193809,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:44:35] local.INFO: Processing buffer {"connection_id":193809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:44:35] local.INFO: Packet analysis {"connection_id":193809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0f8"} 
[2026-09-24 06:44:35] local.INFO: Extracted packet for processing {"connection_id":193809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0f8"} 
[2026-09-24 06:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294287104001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790212360000,"timestamp_ms":1790212360000,"timestamp_seconds":1790212360,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0f8c740"} 
[2026-09-24 06:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294287104001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294287104001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:44:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:44:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294287104001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":193809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:44:35] local.INFO: GPS data processed {"connection_id":193809,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:44:35] local.INFO: Acknowledgment sent {"connection_id":193809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:45:06] local.INFO: TCP Data received {"connection_id":193809,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:45:06] local.INFO: Processing buffer {"connection_id":193809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:45:06] local.INFO: Packet analysis {"connection_id":193809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0f8"} 
[2026-09-24 06:45:06] local.INFO: Extracted packet for processing {"connection_id":193809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0f8"} 
[2026-09-24 06:45:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294287104001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790212360000,"timestamp_ms":1790212360000,"timestamp_seconds":1790212360,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0f8c740"} 
[2026-09-24 06:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294287104001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294287104001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:45:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:45:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294287104001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":193809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:45:06] local.INFO: GPS data processed {"connection_id":193809,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:45:06] local.INFO: Acknowledgment sent {"connection_id":193809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:45:29] local.INFO: TCP Data received {"connection_id":192473,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:45:29] local.INFO: Processing buffer {"connection_id":192473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:45:29] local.INFO: IMEI packet received {"connection_id":192473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":192473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:45:34] local.INFO: TCP Data received {"connection_id":192473,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:45:34] local.INFO: Processing buffer {"connection_id":192473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:45:34] local.INFO: IMEI packet received {"connection_id":192473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":192473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:45:35] local.INFO: TCP Data received {"connection_id":192473,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:45:35] local.INFO: Processing buffer {"connection_id":192473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:45:35] local.INFO: Packet analysis {"connection_id":192473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0f8"} 
[2026-09-24 06:45:35] local.INFO: Extracted packet for processing {"connection_id":192473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0f8"} 
[2026-09-24 06:45:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294287104001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790212360000,"timestamp_ms":1790212360000,"timestamp_seconds":1790212360,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0f8c740"} 
[2026-09-24 06:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294287104001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294287104001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:45:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:45:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294287104001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":192473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:45:35] local.INFO: GPS data processed {"connection_id":192473,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:45:35] local.INFO: Acknowledgment sent {"connection_id":192473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:46:07] local.INFO: TCP Data received {"connection_id":192473,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:46:07] local.INFO: Processing buffer {"connection_id":192473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:46:07] local.INFO: Packet analysis {"connection_id":192473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0f8"} 
[2026-09-24 06:46:07] local.INFO: Extracted packet for processing {"connection_id":192473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0f8"} 
[2026-09-24 06:46:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294287104001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790212360000,"timestamp_ms":1790212360000,"timestamp_seconds":1790212360,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0f8c740"} 
[2026-09-24 06:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294287104001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294287104001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:46:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:46:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294287104001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":192473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:46:07] local.INFO: GPS data processed {"connection_id":192473,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:46:07] local.INFO: Acknowledgment sent {"connection_id":192473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:46:29] local.INFO: TCP Data received {"connection_id":192474,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:46:29] local.INFO: Processing buffer {"connection_id":192474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:46:29] local.INFO: IMEI packet received {"connection_id":192474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":192474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:46:34] local.INFO: TCP Data received {"connection_id":192474,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:46:34] local.INFO: Processing buffer {"connection_id":192474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:46:34] local.INFO: IMEI packet received {"connection_id":192474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":192474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:46:35] local.INFO: TCP Data received {"connection_id":192474,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:46:35] local.INFO: Processing buffer {"connection_id":192474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:46:35] local.INFO: Packet analysis {"connection_id":192474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0f8"} 
[2026-09-24 06:46:35] local.INFO: Extracted packet for processing {"connection_id":192474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0f8"} 
[2026-09-24 06:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294287104001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790212360000,"timestamp_ms":1790212360000,"timestamp_seconds":1790212360,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0f8c740"} 
[2026-09-24 06:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294287104001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294287104001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:46:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:46:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294287104001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":192474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:46:35] local.INFO: GPS data processed {"connection_id":192474,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:46:35] local.INFO: Acknowledgment sent {"connection_id":192474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:47:07] local.INFO: TCP Data received {"connection_id":192474,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:47:07] local.INFO: Processing buffer {"connection_id":192474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:47:07] local.INFO: Packet analysis {"connection_id":192474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0f8"} 
[2026-09-24 06:47:07] local.INFO: Extracted packet for processing {"connection_id":192474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0f8"} 
[2026-09-24 06:47:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294287104001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790212360000,"timestamp_ms":1790212360000,"timestamp_seconds":1790212360,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0f8c740"} 
[2026-09-24 06:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294287104001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294287104001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:47:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:47:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294287104001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":192474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:47:07] local.INFO: GPS data processed {"connection_id":192474,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:47:07] local.INFO: Acknowledgment sent {"connection_id":192474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:47:34] local.INFO: TCP Data received {"connection_id":190923,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:47:34] local.INFO: Processing buffer {"connection_id":190923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:47:34] local.INFO: IMEI packet received {"connection_id":190923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":190923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:47:39] local.INFO: TCP Data received {"connection_id":190923,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:47:39] local.INFO: Processing buffer {"connection_id":190923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:47:39] local.INFO: IMEI packet received {"connection_id":190923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":190923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:47:41] local.INFO: TCP Data received {"connection_id":190923,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:47:41] local.INFO: Processing buffer {"connection_id":190923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:47:41] local.INFO: Packet analysis {"connection_id":190923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0f8"} 
[2026-09-24 06:47:41] local.INFO: Extracted packet for processing {"connection_id":190923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0f8"} 
[2026-09-24 06:47:41] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294287104001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790212360000,"timestamp_ms":1790212360000,"timestamp_seconds":1790212360,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0f8c740"} 
[2026-09-24 06:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294287104001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294287104001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:47:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:47:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294287104001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":190923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:47:41] local.INFO: GPS data processed {"connection_id":190923,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:47:41] local.INFO: Acknowledgment sent {"connection_id":190923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:47:45] local.INFO: TCP Data received {"connection_id":190923,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:47:45] local.INFO: Processing buffer {"connection_id":190923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0f8c740012d34c58006aa4758000a010521..."} 
[2026-09-24 06:47:45] local.INFO: Packet analysis {"connection_id":190923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0f8"} 
[2026-09-24 06:47:45] local.INFO: Extracted packet for processing {"connection_id":190923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0f8"} 
[2026-09-24 06:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294287104001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790212360000,"timestamp_ms":1790212360000,"timestamp_seconds":1790212360,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0f8c740"} 
[2026-09-24 06:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":190923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":190923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":190923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294287104001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294287104001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:47:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:47:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294287104001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":190923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:47:45] local.INFO: GPS data processed {"connection_id":190923,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:47:45] local.INFO: Acknowledgment sent {"connection_id":190923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:48:34] local.INFO: TCP Data received {"connection_id":193810,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:48:34] local.INFO: Processing buffer {"connection_id":193810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:48:34] local.INFO: IMEI packet received {"connection_id":193810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":193810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:48:39] local.INFO: TCP Data received {"connection_id":193810,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:48:39] local.INFO: Processing buffer {"connection_id":193810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:48:39] local.INFO: IMEI packet received {"connection_id":193810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":193810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:48:40] local.INFO: TCP Data received {"connection_id":193810,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:48:40] local.INFO: Processing buffer {"connection_id":193810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:48:40] local.INFO: Packet analysis {"connection_id":193810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0fd"} 
[2026-09-24 06:48:40] local.INFO: Extracted packet for processing {"connection_id":193810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0fd"} 
[2026-09-24 06:48:40] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294364160001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790212661000,"timestamp_ms":1790212661000,"timestamp_seconds":1790212661,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0fd5f08"} 
[2026-09-24 06:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 06:48:40] 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-09-24 06: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-09-24 06:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294364160001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294364160001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:48:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:48:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294364160001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":193810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:48:40] local.INFO: GPS data processed {"connection_id":193810,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:48:40] local.INFO: Acknowledgment sent {"connection_id":193810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:48:45] local.INFO: TCP Data received {"connection_id":193810,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:48:45] local.INFO: Processing buffer {"connection_id":193810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:48:45] local.INFO: Packet analysis {"connection_id":193810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0fd"} 
[2026-09-24 06:48:45] local.INFO: Extracted packet for processing {"connection_id":193810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0fd"} 
[2026-09-24 06:48:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294364160001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790212661000,"timestamp_ms":1790212661000,"timestamp_seconds":1790212661,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0fd5f08"} 
[2026-09-24 06:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 06:48:45] 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-09-24 06:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294364160001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294364160001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:48:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:48:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294364160001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":193810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:48:45] local.INFO: GPS data processed {"connection_id":193810,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:48:45] local.INFO: Acknowledgment sent {"connection_id":193810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:49:29] local.INFO: TCP Data received {"connection_id":191127,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:49:29] local.INFO: Processing buffer {"connection_id":191127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:49:29] local.INFO: IMEI packet received {"connection_id":191127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":191127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:49:34] local.INFO: TCP Data received {"connection_id":191127,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:49:34] local.INFO: Processing buffer {"connection_id":191127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:49:34] local.INFO: IMEI packet received {"connection_id":191127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":191127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:49:36] local.INFO: TCP Data received {"connection_id":191127,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:49:36] local.INFO: Processing buffer {"connection_id":191127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:49:36] local.INFO: Packet analysis {"connection_id":191127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0fd"} 
[2026-09-24 06:49:36] local.INFO: Extracted packet for processing {"connection_id":191127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0fd"} 
[2026-09-24 06:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294364160001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790212661000,"timestamp_ms":1790212661000,"timestamp_seconds":1790212661,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0fd5f08"} 
[2026-09-24 06:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 06:49:36] 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-09-24 06:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294364160001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294364160001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:49:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:49:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294364160001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":191127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:49:36] local.INFO: GPS data processed {"connection_id":191127,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:49:36] local.INFO: Acknowledgment sent {"connection_id":191127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:50:07] local.INFO: TCP Data received {"connection_id":191127,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:50:07] local.INFO: Processing buffer {"connection_id":191127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:50:07] local.INFO: Packet analysis {"connection_id":191127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0fd"} 
[2026-09-24 06:50:07] local.INFO: Extracted packet for processing {"connection_id":191127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0fd"} 
[2026-09-24 06:50:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294364160001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790212661000,"timestamp_ms":1790212661000,"timestamp_seconds":1790212661,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0fd5f08"} 
[2026-09-24 06:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 06:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294364160001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294364160001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:50:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:50:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294364160001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":191127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:50:08] local.INFO: GPS data processed {"connection_id":191127,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:50:08] local.INFO: Acknowledgment sent {"connection_id":191127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:50:29] local.INFO: TCP Data received {"connection_id":190924,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:50:29] local.INFO: Processing buffer {"connection_id":190924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:50:29] local.INFO: IMEI packet received {"connection_id":190924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":190924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:50:34] local.INFO: TCP Data received {"connection_id":190924,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:50:34] local.INFO: Processing buffer {"connection_id":190924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:50:34] local.INFO: IMEI packet received {"connection_id":190924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":190924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:50:35] local.INFO: TCP Data received {"connection_id":190924,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:50:35] local.INFO: Processing buffer {"connection_id":190924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:50:35] local.INFO: Packet analysis {"connection_id":190924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0fd"} 
[2026-09-24 06:50:35] local.INFO: Extracted packet for processing {"connection_id":190924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0fd"} 
[2026-09-24 06:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294364160001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790212661000,"timestamp_ms":1790212661000,"timestamp_seconds":1790212661,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0fd5f08"} 
[2026-09-24 06:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 06:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294364160001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294364160001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:50:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:50:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294364160001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":190924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:50:35] local.INFO: GPS data processed {"connection_id":190924,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:50:35] local.INFO: Acknowledgment sent {"connection_id":190924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:51:06] local.INFO: TCP Data received {"connection_id":190924,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:51:06] local.INFO: Processing buffer {"connection_id":190924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:51:06] local.INFO: Packet analysis {"connection_id":190924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0fd"} 
[2026-09-24 06:51:06] local.INFO: Extracted packet for processing {"connection_id":190924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0fd"} 
[2026-09-24 06:51:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294364160001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790212661000,"timestamp_ms":1790212661000,"timestamp_seconds":1790212661,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0fd5f08"} 
[2026-09-24 06:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 06:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294364160001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294364160001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:51:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:51:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294364160001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":190924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:51:06] local.INFO: GPS data processed {"connection_id":190924,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:51:06] local.INFO: Acknowledgment sent {"connection_id":190924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:51:29] local.INFO: TCP Data received {"connection_id":192475,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:51:29] local.INFO: Processing buffer {"connection_id":192475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:51:29] local.INFO: IMEI packet received {"connection_id":192475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":192475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:51:34] local.INFO: TCP Data received {"connection_id":192475,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:51:34] local.INFO: Processing buffer {"connection_id":192475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:51:34] local.INFO: IMEI packet received {"connection_id":192475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":192475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:51:35] local.INFO: TCP Data received {"connection_id":192475,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:51:35] local.INFO: Processing buffer {"connection_id":192475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:51:35] local.INFO: Packet analysis {"connection_id":192475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0fd"} 
[2026-09-24 06:51:35] local.INFO: Extracted packet for processing {"connection_id":192475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0fd"} 
[2026-09-24 06:51:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294364160001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790212661000,"timestamp_ms":1790212661000,"timestamp_seconds":1790212661,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0fd5f08"} 
[2026-09-24 06:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 06:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294364160001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294364160001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:51:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:51:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294364160001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":192475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:51:35] local.INFO: GPS data processed {"connection_id":192475,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:51:35] local.INFO: Acknowledgment sent {"connection_id":192475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:52:07] local.INFO: TCP Data received {"connection_id":192475,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:52:07] local.INFO: Processing buffer {"connection_id":192475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:52:07] local.INFO: Packet analysis {"connection_id":192475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0fd"} 
[2026-09-24 06:52:07] local.INFO: Extracted packet for processing {"connection_id":192475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0fd"} 
[2026-09-24 06:52:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294364160001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790212661000,"timestamp_ms":1790212661000,"timestamp_seconds":1790212661,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0fd5f08"} 
[2026-09-24 06:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 06:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294364160001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294364160001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:52:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:52:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294364160001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":192475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:52:07] local.INFO: GPS data processed {"connection_id":192475,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:52:07] local.INFO: Acknowledgment sent {"connection_id":192475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:52:29] local.INFO: TCP Data received {"connection_id":192476,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:52:29] local.INFO: Processing buffer {"connection_id":192476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:52:29] local.INFO: IMEI packet received {"connection_id":192476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":192476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:52:34] local.INFO: TCP Data received {"connection_id":192476,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:52:34] local.INFO: Processing buffer {"connection_id":192476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:52:34] local.INFO: IMEI packet received {"connection_id":192476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":192476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:52:35] local.INFO: TCP Data received {"connection_id":192476,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:52:35] local.INFO: Processing buffer {"connection_id":192476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d0fd5f08012d34c58006aa4758000a010525..."} 
[2026-09-24 06:52:35] local.INFO: Packet analysis {"connection_id":192476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d0fd"} 
[2026-09-24 06:52:35] local.INFO: Extracted packet for processing {"connection_id":192476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d0fd"} 
[2026-09-24 06:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294364160001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790212661000,"timestamp_ms":1790212661000,"timestamp_seconds":1790212661,"priority":1,"record_length":96,"hex_timestamp":"000001a0d0fd5f08"} 
[2026-09-24 06:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 06:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06: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-09-24 06:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294364160001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294364160001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:52:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:52:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294364160001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":192476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:52:35] local.INFO: GPS data processed {"connection_id":192476,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:52:35] local.INFO: Acknowledgment sent {"connection_id":192476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:53:06] local.INFO: TCP Data received {"connection_id":192476,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d101ac98012d34c58006aa4758000a010521..."} 
[2026-09-24 06:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d101ac98012d34c58006aa4758000a010521..."} 
[2026-09-24 06:53:06] local.INFO: Processing buffer {"connection_id":192476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d101ac98012d34c58006aa4758000a010521..."} 
[2026-09-24 06:53:06] local.INFO: Packet analysis {"connection_id":192476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d101"} 
[2026-09-24 06:53:06] local.INFO: Extracted packet for processing {"connection_id":192476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d101"} 
[2026-09-24 06:53:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":10,"angle":261,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294441216001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790212943000,"timestamp_ms":1790212943000,"timestamp_seconds":1790212943,"priority":1,"record_length":96,"hex_timestamp":"000001a0d101ac98"} 
[2026-09-24 06:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 06:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294441216001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294441216001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:53:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:53:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294441216001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":192476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:53:06] local.INFO: GPS data processed {"connection_id":192476,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:53:06] local.INFO: Acknowledgment sent {"connection_id":192476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:53:34] local.INFO: TCP Data received {"connection_id":190925,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:53:34] local.INFO: Processing buffer {"connection_id":190925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:53:34] local.INFO: IMEI packet received {"connection_id":190925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":190925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:53:39] local.INFO: TCP Data received {"connection_id":190925,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:53:39] local.INFO: Processing buffer {"connection_id":190925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:53:39] local.INFO: IMEI packet received {"connection_id":190925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":190925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:53:40] local.INFO: TCP Data received {"connection_id":190925,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d101bc38012d34c74006aa4650000a011d25..."} 
[2026-09-24 06:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d101bc38012d34c74006aa4650000a011d25..."} 
[2026-09-24 06:53:40] local.INFO: Processing buffer {"connection_id":190925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d101bc38012d34c74006aa4650000a011d25..."} 
[2026-09-24 06:53:40] local.INFO: Packet analysis {"connection_id":190925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d101"} 
[2026-09-24 06:53:40] local.INFO: Extracted packet for processing {"connection_id":190925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d101"} 
[2026-09-24 06:53:40] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111822416,"longitude_deg":75.84336,"latitude_deg":11.1822416,"altitude":10,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d34c740","hex_latitude":"06aa4650","is_valid_coordinates":true} 
[2026-09-24 06:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294513408001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 06:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790212947000,"timestamp_ms":1790212947000,"timestamp_seconds":1790212947,"priority":1,"record_length":96,"hex_timestamp":"000001a0d101bc38"} 
[2026-09-24 06:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:53:40] 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-09-24 06:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 06:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294513408001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294513408001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:53:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:53:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 06:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294513408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 06:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":190925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:53:40] local.INFO: GPS data processed {"connection_id":190925,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:53:40] local.INFO: Acknowledgment sent {"connection_id":190925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:54:11] local.INFO: TCP Data received {"connection_id":190925,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1020e40012d34c74006aa4650000a011d1f..."} 
[2026-09-24 06:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1020e40012d34c74006aa4650000a011d1f..."} 
[2026-09-24 06:54:11] local.INFO: Processing buffer {"connection_id":190925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1020e40012d34c74006aa4650000a011d1f..."} 
[2026-09-24 06:54:11] local.INFO: Packet analysis {"connection_id":190925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d102"} 
[2026-09-24 06:54:11] local.INFO: Extracted packet for processing {"connection_id":190925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d102"} 
[2026-09-24 06:54:11] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111822416,"longitude_deg":75.84336,"latitude_deg":11.1822416,"altitude":10,"angle":285,"satellites":31,"speed":0,"hex_longitude":"2d34c740","hex_latitude":"06aa4650","is_valid_coordinates":true} 
[2026-09-24 06:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294514432001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708389376,"note":"Value kept but may cause issues"} 
[2026-09-24 06:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790212968000,"timestamp_ms":1790212968000,"timestamp_seconds":1790212968,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1020e40"} 
[2026-09-24 06:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 06:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 06:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294514432001,"66":27843,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803078807708389376},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294514432001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:54:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:54:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708389376,"description":"Unknown IO ID 45"} 
[2026-09-24 06:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294514432001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803078807708389376}} 
[2026-09-24 06:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":190925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:54:11] local.INFO: GPS data processed {"connection_id":190925,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:54:11] local.INFO: Acknowledgment sent {"connection_id":190925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:54:29] local.INFO: TCP Data received {"connection_id":192477,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:54:29] local.INFO: Processing buffer {"connection_id":192477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:54:29] local.INFO: IMEI packet received {"connection_id":192477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":192477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:54:30] local.INFO: TCP Data received {"connection_id":192477,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:54:30] local.INFO: Processing buffer {"connection_id":192477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:54:30] local.INFO: IMEI packet received {"connection_id":192477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":192477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:54:34] local.INFO: TCP Data received {"connection_id":192477,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:54:34] local.INFO: Processing buffer {"connection_id":192477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:54:34] local.INFO: IMEI packet received {"connection_id":192477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":192477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:54:35] local.INFO: TCP Data received {"connection_id":192477,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1026048012d34c74006aa4650000a011d24..."} 
[2026-09-24 06:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1026048012d34c74006aa4650000a011d24..."} 
[2026-09-24 06:54:35] local.INFO: Processing buffer {"connection_id":192477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1026048012d34c74006aa4650000a011d24..."} 
[2026-09-24 06:54:35] local.INFO: Packet analysis {"connection_id":192477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d102"} 
[2026-09-24 06:54:35] local.INFO: Extracted packet for processing {"connection_id":192477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d102"} 
[2026-09-24 06:54:35] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111822416,"longitude_deg":75.84336,"latitude_deg":11.1822416,"altitude":10,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d34c740","hex_latitude":"06aa4650","is_valid_coordinates":true} 
[2026-09-24 06:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294519808001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708389376,"note":"Value kept but may cause issues"} 
[2026-09-24 06:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790212989000,"timestamp_ms":1790212989000,"timestamp_seconds":1790212989,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1026048"} 
[2026-09-24 06:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 06:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-24 06:54:35] 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-09-24 06:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294519808001,"66":27745,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803078807708389376},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294519808001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:54:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:54:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708389376,"description":"Unknown IO ID 45"} 
[2026-09-24 06:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294519808001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803078807708389376}} 
[2026-09-24 06:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":192477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:54:35] local.INFO: GPS data processed {"connection_id":192477,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:54:35] local.INFO: Acknowledgment sent {"connection_id":192477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:55:06] local.INFO: TCP Data received {"connection_id":192477,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d102b250012d34c74006aa4650000a011d23..."} 
[2026-09-24 06:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d102b250012d34c74006aa4650000a011d23..."} 
[2026-09-24 06:55:06] local.INFO: Processing buffer {"connection_id":192477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d102b250012d34c74006aa4650000a011d23..."} 
[2026-09-24 06:55:06] local.INFO: Packet analysis {"connection_id":192477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d102"} 
[2026-09-24 06:55:06] local.INFO: Extracted packet for processing {"connection_id":192477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d102"} 
[2026-09-24 06:55:06] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111822416,"longitude_deg":75.84336,"latitude_deg":11.1822416,"altitude":10,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c740","hex_latitude":"06aa4650","is_valid_coordinates":true} 
[2026-09-24 06:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294525184001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708389376,"note":"Value kept but may cause issues"} 
[2026-09-24 06:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790213010000,"timestamp_ms":1790213010000,"timestamp_seconds":1790213010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d102b250"} 
[2026-09-24 06:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:55:06] 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-09-24 06:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 06:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294525184001,"66":27800,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803078807708389376},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294525184001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:55:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:55:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708389376,"description":"Unknown IO ID 45"} 
[2026-09-24 06:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294525184001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803078807708389376}} 
[2026-09-24 06:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":192477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:55:06] local.INFO: GPS data processed {"connection_id":192477,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:55:06] local.INFO: Acknowledgment sent {"connection_id":192477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:55:29] local.INFO: TCP Data received {"connection_id":190926,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:55:29] local.INFO: Processing buffer {"connection_id":190926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:55:29] local.INFO: IMEI packet received {"connection_id":190926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":190926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:55:34] local.INFO: TCP Data received {"connection_id":190926,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:55:34] local.INFO: Processing buffer {"connection_id":190926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:55:34] local.INFO: IMEI packet received {"connection_id":190926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":190926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:55:35] local.INFO: TCP Data received {"connection_id":190926,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1030458012d34c74006aa4650000a011d23..."} 
[2026-09-24 06:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1030458012d34c74006aa4650000a011d23..."} 
[2026-09-24 06:55:35] local.INFO: Processing buffer {"connection_id":190926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1030458012d34c74006aa4650000a011d23..."} 
[2026-09-24 06:55:35] local.INFO: Packet analysis {"connection_id":190926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d103"} 
[2026-09-24 06:55:35] local.INFO: Extracted packet for processing {"connection_id":190926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d103"} 
[2026-09-24 06:55:35] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111822416,"longitude_deg":75.84336,"latitude_deg":11.1822416,"altitude":10,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c740","hex_latitude":"06aa4650","is_valid_coordinates":true} 
[2026-09-24 06:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294530560001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708389376,"note":"Value kept but may cause issues"} 
[2026-09-24 06:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790213031000,"timestamp_ms":1790213031000,"timestamp_seconds":1790213031,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1030458"} 
[2026-09-24 06:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 06:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-24 06:55:35] 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-09-24 06:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294530560001,"66":27832,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803078807708389376},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294530560001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:55:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:55:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708389376,"description":"Unknown IO ID 45"} 
[2026-09-24 06:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294530560001,"power":27832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803078807708389376}} 
[2026-09-24 06:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":190926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:55:35] local.INFO: GPS data processed {"connection_id":190926,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:55:35] local.INFO: Acknowledgment sent {"connection_id":190926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:56:06] local.INFO: TCP Data received {"connection_id":190926,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1035660012d34c74006aa4650000a011d29..."} 
[2026-09-24 06:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1035660012d34c74006aa4650000a011d29..."} 
[2026-09-24 06:56:06] local.INFO: Processing buffer {"connection_id":190926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1035660012d34c74006aa4650000a011d29..."} 
[2026-09-24 06:56:06] local.INFO: Packet analysis {"connection_id":190926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d103"} 
[2026-09-24 06:56:06] local.INFO: Extracted packet for processing {"connection_id":190926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d103"} 
[2026-09-24 06:56:06] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111822416,"longitude_deg":75.84336,"latitude_deg":11.1822416,"altitude":10,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d34c740","hex_latitude":"06aa4650","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294535936001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708389376,"note":"Value kept but may cause issues"} 
[2026-09-24 06:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790213052000,"timestamp_ms":1790213052000,"timestamp_seconds":1790213052,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1035660"} 
[2026-09-24 06:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:56:06] 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-09-24 06: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-24 06:56:06] 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-09-24 06: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-09-24 06:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294535936001,"66":27930,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803078807708389376},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294535936001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:56:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:56:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708389376,"description":"Unknown IO ID 45"} 
[2026-09-24 06:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294535936001,"power":27930,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803078807708389376}} 
[2026-09-24 06:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":190926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:56:06] local.INFO: GPS data processed {"connection_id":190926,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:56:06] local.INFO: Acknowledgment sent {"connection_id":190926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:56:29] local.INFO: TCP Data received {"connection_id":192478,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:56:29] local.INFO: Processing buffer {"connection_id":192478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:56:29] local.INFO: IMEI packet received {"connection_id":192478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":192478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:56:34] local.INFO: TCP Data received {"connection_id":192478,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:56:34] local.INFO: Processing buffer {"connection_id":192478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:56:34] local.INFO: IMEI packet received {"connection_id":192478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":192478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:56:35] local.INFO: TCP Data received {"connection_id":192478,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d103a868012d34c74006aa4650000a011d27..."} 
[2026-09-24 06:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d103a868012d34c74006aa4650000a011d27..."} 
[2026-09-24 06:56:35] local.INFO: Processing buffer {"connection_id":192478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d103a868012d34c74006aa4650000a011d27..."} 
[2026-09-24 06:56:35] local.INFO: Packet analysis {"connection_id":192478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d103"} 
[2026-09-24 06:56:35] local.INFO: Extracted packet for processing {"connection_id":192478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d103"} 
[2026-09-24 06:56:35] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111822416,"longitude_deg":75.84336,"latitude_deg":11.1822416,"altitude":10,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d34c740","hex_latitude":"06aa4650","is_valid_coordinates":true} 
[2026-09-24 06:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294541312001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708389376,"note":"Value kept but may cause issues"} 
[2026-09-24 06:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790213073000,"timestamp_ms":1790213073000,"timestamp_seconds":1790213073,"priority":1,"record_length":96,"hex_timestamp":"000001a0d103a868"} 
[2026-09-24 06:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:56:35] 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-09-24 06:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-24 06:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 06:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294541312001,"66":27832,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803078807708389376},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294541312001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:56:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:56:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708389376,"description":"Unknown IO ID 45"} 
[2026-09-24 06:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294541312001,"power":27832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803078807708389376}} 
[2026-09-24 06:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":192478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:56:35] local.INFO: GPS data processed {"connection_id":192478,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:56:35] local.INFO: Acknowledgment sent {"connection_id":192478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:57:06] local.INFO: TCP Data received {"connection_id":192478,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d103cf78012d34c74006aa4650000a011d26..."} 
[2026-09-24 06:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d103cf78012d34c74006aa4650000a011d26..."} 
[2026-09-24 06:57:06] local.INFO: Processing buffer {"connection_id":192478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d103cf78012d34c74006aa4650000a011d26..."} 
[2026-09-24 06:57:06] local.INFO: Packet analysis {"connection_id":192478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d103"} 
[2026-09-24 06:57:06] local.INFO: Extracted packet for processing {"connection_id":192478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d103"} 
[2026-09-24 06:57:06] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111822416,"longitude_deg":75.84336,"latitude_deg":11.1822416,"altitude":10,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c740","hex_latitude":"06aa4650","is_valid_coordinates":true} 
[2026-09-24 06:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294546688001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708389376,"note":"Value kept but may cause issues"} 
[2026-09-24 06:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790213083000,"timestamp_ms":1790213083000,"timestamp_seconds":1790213083,"priority":1,"record_length":96,"hex_timestamp":"000001a0d103cf78"} 
[2026-09-24 06:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 06:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-24 06:57:06] 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-09-24 06:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294546688001,"66":27876,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3803078807708389376},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294546688001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:57:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:57:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708389376,"description":"Unknown IO ID 45"} 
[2026-09-24 06:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294546688001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803078807708389376}} 
[2026-09-24 06:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":192478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:57:06] local.INFO: GPS data processed {"connection_id":192478,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:57:06] local.INFO: Acknowledgment sent {"connection_id":192478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:57:29] local.INFO: TCP Data received {"connection_id":191128,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:57:29] local.INFO: Processing buffer {"connection_id":191128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:57:29] local.INFO: IMEI packet received {"connection_id":191128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":191128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:57:34] local.INFO: TCP Data received {"connection_id":191128,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:57:34] local.INFO: Processing buffer {"connection_id":191128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:57:34] local.INFO: IMEI packet received {"connection_id":191128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":191128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:57:35] local.INFO: TCP Data received {"connection_id":191128,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d103db30012d34c58006aa4758000c012e28..."} 
[2026-09-24 06:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d103db30012d34c58006aa4758000c012e28..."} 
[2026-09-24 06:57:35] local.INFO: Processing buffer {"connection_id":191128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d103db30012d34c58006aa4758000c012e28..."} 
[2026-09-24 06:57:35] local.INFO: Packet analysis {"connection_id":191128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d103"} 
[2026-09-24 06:57:35] local.INFO: Extracted packet for processing {"connection_id":191128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d103"} 
[2026-09-24 06:57:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":12,"angle":302,"satellites":40,"speed":1,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294549248001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708389376,"note":"Value kept but may cause issues"} 
[2026-09-24 06:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790213086000,"timestamp_ms":1790213086000,"timestamp_seconds":1790213086,"priority":1,"record_length":96,"hex_timestamp":"000001a0d103db30"} 
[2026-09-24 06:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 06:57:35] 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-09-24 06:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294549248001,"66":27180,"97":206,"81":23296,"24":1,"16":406737152437649408,"45":3803078807708389376},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294549248001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:57:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:57:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708389376,"description":"Unknown IO ID 45"} 
[2026-09-24 06:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294549248001,"power":27180,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3803078807708389376}} 
[2026-09-24 06:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":191128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:57:35] local.INFO: GPS data processed {"connection_id":191128,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:57:35] local.INFO: Acknowledgment sent {"connection_id":191128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:58:06] local.INFO: TCP Data received {"connection_id":191128,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d103db30012d34c58006aa4758000c012e28..."} 
[2026-09-24 06:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d103db30012d34c58006aa4758000c012e28..."} 
[2026-09-24 06:58:06] local.INFO: Processing buffer {"connection_id":191128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d103db30012d34c58006aa4758000c012e28..."} 
[2026-09-24 06:58:06] local.INFO: Packet analysis {"connection_id":191128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d103"} 
[2026-09-24 06:58:06] local.INFO: Extracted packet for processing {"connection_id":191128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d103"} 
[2026-09-24 06:58:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":12,"angle":302,"satellites":40,"speed":1,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294549248001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708389376,"note":"Value kept but may cause issues"} 
[2026-09-24 06:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790213086000,"timestamp_ms":1790213086000,"timestamp_seconds":1790213086,"priority":1,"record_length":96,"hex_timestamp":"000001a0d103db30"} 
[2026-09-24 06:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 06:58:06] 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-09-24 06:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294549248001,"66":27180,"97":206,"81":23296,"24":1,"16":406737152437649408,"45":3803078807708389376},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294549248001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:58:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:58:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708389376,"description":"Unknown IO ID 45"} 
[2026-09-24 06:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294549248001,"power":27180,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3803078807708389376}} 
[2026-09-24 06:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":191128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:58:06] local.INFO: GPS data processed {"connection_id":191128,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:58:06] local.INFO: Acknowledgment sent {"connection_id":191128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:58:29] local.INFO: TCP Data received {"connection_id":192479,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:58:29] local.INFO: Processing buffer {"connection_id":192479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:58:29] local.INFO: IMEI packet received {"connection_id":192479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":192479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:58:34] local.INFO: TCP Data received {"connection_id":192479,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:58:34] local.INFO: Processing buffer {"connection_id":192479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:58:34] local.INFO: IMEI packet received {"connection_id":192479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":192479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:58:35] local.INFO: TCP Data received {"connection_id":192479,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d103db30012d34c58006aa4758000c012e28..."} 
[2026-09-24 06:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d103db30012d34c58006aa4758000c012e28..."} 
[2026-09-24 06:58:35] local.INFO: Processing buffer {"connection_id":192479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d103db30012d34c58006aa4758000c012e28..."} 
[2026-09-24 06:58:35] local.INFO: Packet analysis {"connection_id":192479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d103"} 
[2026-09-24 06:58:35] local.INFO: Extracted packet for processing {"connection_id":192479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d103"} 
[2026-09-24 06:58:35] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":12,"angle":302,"satellites":40,"speed":1,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294549248001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708389376,"note":"Value kept but may cause issues"} 
[2026-09-24 06:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790213086000,"timestamp_ms":1790213086000,"timestamp_seconds":1790213086,"priority":1,"record_length":96,"hex_timestamp":"000001a0d103db30"} 
[2026-09-24 06:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 06:58:35] 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-09-24 06:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294549248001,"66":27180,"97":206,"81":23296,"24":1,"16":406737152437649408,"45":3803078807708389376},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294549248001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:58:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:58:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708389376,"description":"Unknown IO ID 45"} 
[2026-09-24 06:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294549248001,"power":27180,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3803078807708389376}} 
[2026-09-24 06:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":192479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:58:35] local.INFO: GPS data processed {"connection_id":192479,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:58:35] local.INFO: Acknowledgment sent {"connection_id":192479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:59:07] local.INFO: TCP Data received {"connection_id":192479,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d103db30012d34c58006aa4758000c012e28..."} 
[2026-09-24 06:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d103db30012d34c58006aa4758000c012e28..."} 
[2026-09-24 06:59:07] local.INFO: Processing buffer {"connection_id":192479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d103db30012d34c58006aa4758000c012e28..."} 
[2026-09-24 06:59:07] local.INFO: Packet analysis {"connection_id":192479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d103"} 
[2026-09-24 06:59:07] local.INFO: Extracted packet for processing {"connection_id":192479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d103"} 
[2026-09-24 06:59:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":12,"angle":302,"satellites":40,"speed":1,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 06:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294549248001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708389376,"note":"Value kept but may cause issues"} 
[2026-09-24 06:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790213086000,"timestamp_ms":1790213086000,"timestamp_seconds":1790213086,"priority":1,"record_length":96,"hex_timestamp":"000001a0d103db30"} 
[2026-09-24 06:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 06:59:07] 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-09-24 06:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 06:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294549248001,"66":27180,"97":206,"81":23296,"24":1,"16":406737152437649408,"45":3803078807708389376},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294549248001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:59:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:59:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708389376,"description":"Unknown IO ID 45"} 
[2026-09-24 06:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294549248001,"power":27180,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3803078807708389376}} 
[2026-09-24 06:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":192479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:59:07] local.INFO: GPS data processed {"connection_id":192479,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:59:07] local.INFO: Acknowledgment sent {"connection_id":192479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 06:59:29] local.INFO: TCP Data received {"connection_id":190927,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:59:29] local.INFO: Processing buffer {"connection_id":190927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:59:29] local.INFO: IMEI packet received {"connection_id":190927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 06:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":190927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 06:59:34] local.INFO: TCP Data received {"connection_id":190927,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:59:34] local.INFO: Processing buffer {"connection_id":190927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 06:59:34] local.INFO: IMEI packet received {"connection_id":190927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 06:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":190927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 06:59:36] local.INFO: TCP Data received {"connection_id":190927,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d103db30012d34c58006aa4758000c012e28..."} 
[2026-09-24 06:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d103db30012d34c58006aa4758000c012e28..."} 
[2026-09-24 06:59:36] local.INFO: Processing buffer {"connection_id":190927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d103db30012d34c58006aa4758000c012e28..."} 
[2026-09-24 06:59:36] local.INFO: Packet analysis {"connection_id":190927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d103"} 
[2026-09-24 06:59:36] local.INFO: Extracted packet for processing {"connection_id":190927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d103"} 
[2026-09-24 06:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":12,"angle":302,"satellites":40,"speed":1,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 06: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-09-24 06:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294549248001,"note":"Value kept but may cause issues"} 
[2026-09-24 06:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 06:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708389376,"note":"Value kept but may cause issues"} 
[2026-09-24 06:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 06:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790213086000,"timestamp_ms":1790213086000,"timestamp_seconds":1790213086,"priority":1,"record_length":96,"hex_timestamp":"000001a0d103db30"} 
[2026-09-24 06:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 06:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 06: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 06:59:36] 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-09-24 06: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-09-24 06:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 06:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 06:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 06:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 06:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 06:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 06:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 06:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294549248001,"66":27180,"97":206,"81":23296,"24":1,"16":406737152437649408,"45":3803078807708389376},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 06:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 06:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 06:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294549248001,"description":"Unknown IO ID 0"} 
[2026-09-24 06:59:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 06:59:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 06:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 06:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708389376,"description":"Unknown IO ID 45"} 
[2026-09-24 06:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294549248001,"power":27180,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3803078807708389376}} 
[2026-09-24 06:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":190927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 06:59:36] local.INFO: GPS data processed {"connection_id":190927,"processed":1,"errors":0,"total":1} 
[2026-09-24 06:59:36] local.INFO: Acknowledgment sent {"connection_id":190927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:00:07] local.INFO: TCP Data received {"connection_id":190927,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d103db30012d34c58006aa4758000c012e28..."} 
[2026-09-24 07:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d103db30012d34c58006aa4758000c012e28..."} 
[2026-09-24 07:00:07] local.INFO: Processing buffer {"connection_id":190927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d103db30012d34c58006aa4758000c012e28..."} 
[2026-09-24 07:00:07] local.INFO: Packet analysis {"connection_id":190927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d103"} 
[2026-09-24 07:00:07] local.INFO: Extracted packet for processing {"connection_id":190927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d103"} 
[2026-09-24 07:00:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822680,"longitude_deg":75.8433152,"latitude_deg":11.182268,"altitude":12,"angle":302,"satellites":40,"speed":1,"hex_longitude":"2d34c580","hex_latitude":"06aa4758","is_valid_coordinates":true} 
[2026-09-24 07:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294549248001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708389376,"note":"Value kept but may cause issues"} 
[2026-09-24 07:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790213086000,"timestamp_ms":1790213086000,"timestamp_seconds":1790213086,"priority":1,"record_length":96,"hex_timestamp":"000001a0d103db30"} 
[2026-09-24 07:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 07:00:07] 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-09-24 07:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294549248001,"66":27180,"97":206,"81":23296,"24":1,"16":406737152437649408,"45":3803078807708389376},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294549248001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:00:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:00:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708389376,"description":"Unknown IO ID 45"} 
[2026-09-24 07:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294549248001,"power":27180,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3803078807708389376}} 
[2026-09-24 07:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":190927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:00:07] local.INFO: GPS data processed {"connection_id":190927,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:00:07] local.INFO: Acknowledgment sent {"connection_id":190927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:00:34] local.INFO: TCP Data received {"connection_id":193811,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:00:34] local.INFO: Processing buffer {"connection_id":193811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:00:34] local.INFO: IMEI packet received {"connection_id":193811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":193811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:00:39] local.INFO: TCP Data received {"connection_id":193811,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:00:39] local.INFO: Processing buffer {"connection_id":193811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:00:39] local.INFO: IMEI packet received {"connection_id":193811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":193811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:00:40] local.INFO: TCP Data received {"connection_id":193811,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:00:40] local.INFO: Processing buffer {"connection_id":193811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:00:40] local.INFO: Packet analysis {"connection_id":193811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d108"} 
[2026-09-24 07:00:40] local.INFO: Extracted packet for processing {"connection_id":193811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d108"} 
[2026-09-24 07:00:40] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294550016001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 07:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790213387000,"timestamp_ms":1790213387000,"timestamp_seconds":1790213387,"priority":1,"record_length":96,"hex_timestamp":"000001a0d10872f8"} 
[2026-09-24 07:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-24 07:00:40] 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-09-24 07:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294550016001,"66":26310,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294550016001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:00:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:00:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 07:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294550016001,"power":26310,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 07:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":193811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:00:40] local.INFO: GPS data processed {"connection_id":193811,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:00:40] local.INFO: Acknowledgment sent {"connection_id":193811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:00:45] local.INFO: TCP Data received {"connection_id":193811,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:00:45] local.INFO: Processing buffer {"connection_id":193811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:00:45] local.INFO: Packet analysis {"connection_id":193811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d108"} 
[2026-09-24 07:00:45] local.INFO: Extracted packet for processing {"connection_id":193811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d108"} 
[2026-09-24 07:00:45] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294550016001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 07:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790213387000,"timestamp_ms":1790213387000,"timestamp_seconds":1790213387,"priority":1,"record_length":96,"hex_timestamp":"000001a0d10872f8"} 
[2026-09-24 07:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-24 07:00:45] 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-09-24 07:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294550016001,"66":26310,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294550016001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:00:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:00:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 07:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294550016001,"power":26310,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 07:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":193811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:00:45] local.INFO: GPS data processed {"connection_id":193811,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:00:45] local.INFO: Acknowledgment sent {"connection_id":193811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:01:29] local.INFO: TCP Data received {"connection_id":192480,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:01:29] local.INFO: Processing buffer {"connection_id":192480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:01:29] local.INFO: IMEI packet received {"connection_id":192480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":192480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:01:34] local.INFO: TCP Data received {"connection_id":192480,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:01:34] local.INFO: Processing buffer {"connection_id":192480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:01:34] local.INFO: IMEI packet received {"connection_id":192480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":192480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:01:35] local.INFO: TCP Data received {"connection_id":192480,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:01:35] local.INFO: Processing buffer {"connection_id":192480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:01:35] local.INFO: Packet analysis {"connection_id":192480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d108"} 
[2026-09-24 07:01:35] local.INFO: Extracted packet for processing {"connection_id":192480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d108"} 
[2026-09-24 07:01:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294550016001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 07:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790213387000,"timestamp_ms":1790213387000,"timestamp_seconds":1790213387,"priority":1,"record_length":96,"hex_timestamp":"000001a0d10872f8"} 
[2026-09-24 07:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-24 07:01:35] 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-09-24 07:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294550016001,"66":26310,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294550016001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:01:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:01:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 07:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294550016001,"power":26310,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 07:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":192480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:01:35] local.INFO: GPS data processed {"connection_id":192480,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:01:35] local.INFO: Acknowledgment sent {"connection_id":192480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:02:06] local.INFO: TCP Data received {"connection_id":192480,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:02:06] local.INFO: Processing buffer {"connection_id":192480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:02:06] local.INFO: Packet analysis {"connection_id":192480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d108"} 
[2026-09-24 07:02:06] local.INFO: Extracted packet for processing {"connection_id":192480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d108"} 
[2026-09-24 07:02:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294550016001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 07:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790213387000,"timestamp_ms":1790213387000,"timestamp_seconds":1790213387,"priority":1,"record_length":96,"hex_timestamp":"000001a0d10872f8"} 
[2026-09-24 07:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-24 07:02:06] 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-09-24 07:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294550016001,"66":26310,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294550016001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:02:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:02:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 07:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294550016001,"power":26310,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 07:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":192480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:02:06] local.INFO: GPS data processed {"connection_id":192480,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:02:06] local.INFO: Acknowledgment sent {"connection_id":192480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:02:29] local.INFO: TCP Data received {"connection_id":193812,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:02:29] local.INFO: Processing buffer {"connection_id":193812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:02:29] local.INFO: IMEI packet received {"connection_id":193812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":193812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:02:34] local.INFO: TCP Data received {"connection_id":193812,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:02:34] local.INFO: Processing buffer {"connection_id":193812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:02:34] local.INFO: IMEI packet received {"connection_id":193812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":193812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:02:35] local.INFO: TCP Data received {"connection_id":193812,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:02:35] local.INFO: Processing buffer {"connection_id":193812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:02:35] local.INFO: Packet analysis {"connection_id":193812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d108"} 
[2026-09-24 07:02:35] local.INFO: Extracted packet for processing {"connection_id":193812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d108"} 
[2026-09-24 07:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294550016001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 07:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790213387000,"timestamp_ms":1790213387000,"timestamp_seconds":1790213387,"priority":1,"record_length":96,"hex_timestamp":"000001a0d10872f8"} 
[2026-09-24 07:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-24 07:02:35] 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-09-24 07: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-09-24 07:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294550016001,"66":26310,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294550016001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:02:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 07:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294550016001,"power":26310,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 07:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":193812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:02:35] local.INFO: GPS data processed {"connection_id":193812,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:02:35] local.INFO: Acknowledgment sent {"connection_id":193812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:03:06] local.INFO: TCP Data received {"connection_id":193812,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:03:06] local.INFO: Processing buffer {"connection_id":193812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:03:06] local.INFO: Packet analysis {"connection_id":193812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d108"} 
[2026-09-24 07:03:06] local.INFO: Extracted packet for processing {"connection_id":193812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d108"} 
[2026-09-24 07:03:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294550016001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 07:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790213387000,"timestamp_ms":1790213387000,"timestamp_seconds":1790213387,"priority":1,"record_length":96,"hex_timestamp":"000001a0d10872f8"} 
[2026-09-24 07:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-24 07:03:06] 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-09-24 07:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294550016001,"66":26310,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294550016001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:03:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:03:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 07:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294550016001,"power":26310,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 07:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":193812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:03:06] local.INFO: GPS data processed {"connection_id":193812,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:03:06] local.INFO: Acknowledgment sent {"connection_id":193812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:03:29] local.INFO: TCP Data received {"connection_id":191129,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:03:29] local.INFO: Processing buffer {"connection_id":191129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:03:29] local.INFO: IMEI packet received {"connection_id":191129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":191129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:03:34] local.INFO: TCP Data received {"connection_id":191129,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:03:34] local.INFO: Processing buffer {"connection_id":191129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:03:34] local.INFO: IMEI packet received {"connection_id":191129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":191129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:03:35] local.INFO: TCP Data received {"connection_id":191129,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:03:35] local.INFO: Processing buffer {"connection_id":191129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:03:35] local.INFO: Packet analysis {"connection_id":191129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d108"} 
[2026-09-24 07:03:35] local.INFO: Extracted packet for processing {"connection_id":191129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d108"} 
[2026-09-24 07:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294550016001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 07:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790213387000,"timestamp_ms":1790213387000,"timestamp_seconds":1790213387,"priority":1,"record_length":96,"hex_timestamp":"000001a0d10872f8"} 
[2026-09-24 07:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-24 07:03:35] 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-09-24 07: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-09-24 07:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294550016001,"66":26310,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294550016001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:03:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:03:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 07:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294550016001,"power":26310,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 07:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":191129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:03:35] local.INFO: GPS data processed {"connection_id":191129,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:03:35] local.INFO: Acknowledgment sent {"connection_id":191129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:04:06] local.INFO: TCP Data received {"connection_id":191129,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:04:06] local.INFO: Processing buffer {"connection_id":191129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:04:06] local.INFO: Packet analysis {"connection_id":191129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d108"} 
[2026-09-24 07:04:06] local.INFO: Extracted packet for processing {"connection_id":191129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d108"} 
[2026-09-24 07:04:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294550016001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 07:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790213387000,"timestamp_ms":1790213387000,"timestamp_seconds":1790213387,"priority":1,"record_length":96,"hex_timestamp":"000001a0d10872f8"} 
[2026-09-24 07:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-24 07:04:06] 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-09-24 07:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294550016001,"66":26310,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294550016001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:04:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:04:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 07:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294550016001,"power":26310,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 07:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":191129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:04:06] local.INFO: GPS data processed {"connection_id":191129,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:04:06] local.INFO: Acknowledgment sent {"connection_id":191129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:04:29] local.INFO: TCP Data received {"connection_id":190928,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:04:29] local.INFO: Processing buffer {"connection_id":190928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:04:29] local.INFO: IMEI packet received {"connection_id":190928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":190928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:04:34] local.INFO: TCP Data received {"connection_id":190928,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:04:34] local.INFO: Processing buffer {"connection_id":190928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:04:34] local.INFO: IMEI packet received {"connection_id":190928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":190928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:04:35] local.INFO: TCP Data received {"connection_id":190928,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:04:35] local.INFO: Processing buffer {"connection_id":190928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:04:35] local.INFO: Packet analysis {"connection_id":190928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d108"} 
[2026-09-24 07:04:35] local.INFO: Extracted packet for processing {"connection_id":190928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d108"} 
[2026-09-24 07:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294550016001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 07:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790213387000,"timestamp_ms":1790213387000,"timestamp_seconds":1790213387,"priority":1,"record_length":96,"hex_timestamp":"000001a0d10872f8"} 
[2026-09-24 07:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-24 07:04:35] 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-09-24 07:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294550016001,"66":26310,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294550016001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:04:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:04:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 07:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294550016001,"power":26310,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 07:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":190928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:04:35] local.INFO: GPS data processed {"connection_id":190928,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:04:35] local.INFO: Acknowledgment sent {"connection_id":190928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:05:06] local.INFO: TCP Data received {"connection_id":190928,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:05:06] local.INFO: Processing buffer {"connection_id":190928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d10872f8012d34c24006aa4930000901382a..."} 
[2026-09-24 07:05:06] local.INFO: Packet analysis {"connection_id":190928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d108"} 
[2026-09-24 07:05:06] local.INFO: Extracted packet for processing {"connection_id":190928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d108"} 
[2026-09-24 07:05:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294550016001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499213312,"note":"Value kept but may cause issues"} 
[2026-09-24 07:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790213387000,"timestamp_ms":1790213387000,"timestamp_seconds":1790213387,"priority":1,"record_length":96,"hex_timestamp":"000001a0d10872f8"} 
[2026-09-24 07:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-24 07:05:06] 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-09-24 07:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294550016001,"66":26310,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3802586226499213312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294550016001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:05:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:05:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499213312,"description":"Unknown IO ID 45"} 
[2026-09-24 07:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294550016001,"power":26310,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499213312}} 
[2026-09-24 07:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":190928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:05:06] local.INFO: GPS data processed {"connection_id":190928,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:05:06] local.INFO: Acknowledgment sent {"connection_id":190928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:05:29] local.INFO: TCP Data received {"connection_id":191130,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:05:29] local.INFO: Processing buffer {"connection_id":191130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:05:29] local.INFO: IMEI packet received {"connection_id":191130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":191130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:05:34] local.INFO: TCP Data received {"connection_id":191130,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:05:34] local.INFO: Processing buffer {"connection_id":191130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:05:34] local.INFO: IMEI packet received {"connection_id":191130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":191130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:05:35] local.INFO: TCP Data received {"connection_id":191130,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:05:35] local.INFO: Processing buffer {"connection_id":191130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:05:35] local.INFO: Packet analysis {"connection_id":191130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d10d"} 
[2026-09-24 07:05:35] local.INFO: Extracted packet for processing {"connection_id":191130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d10d"} 
[2026-09-24 07:05:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294627072001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790213688000,"timestamp_ms":1790213688000,"timestamp_seconds":1790213688,"priority":1,"record_length":96,"hex_timestamp":"000001a0d10d0ac0"} 
[2026-09-24 07:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-24 07:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294627072001,"66":26115,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294627072001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:05:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:05:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294627072001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":191130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:05:35] local.INFO: GPS data processed {"connection_id":191130,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:05:35] local.INFO: Acknowledgment sent {"connection_id":191130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:06:07] local.INFO: TCP Data received {"connection_id":191130,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:06:07] local.INFO: Processing buffer {"connection_id":191130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:06:07] local.INFO: Packet analysis {"connection_id":191130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d10d"} 
[2026-09-24 07:06:07] local.INFO: Extracted packet for processing {"connection_id":191130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d10d"} 
[2026-09-24 07:06:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294627072001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790213688000,"timestamp_ms":1790213688000,"timestamp_seconds":1790213688,"priority":1,"record_length":96,"hex_timestamp":"000001a0d10d0ac0"} 
[2026-09-24 07:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-24 07:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294627072001,"66":26115,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294627072001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:06:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:06:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294627072001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":191130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:06:07] local.INFO: GPS data processed {"connection_id":191130,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:06:07] local.INFO: Acknowledgment sent {"connection_id":191130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:06:29] local.INFO: TCP Data received {"connection_id":191131,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:06:29] local.INFO: Processing buffer {"connection_id":191131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:06:29] local.INFO: IMEI packet received {"connection_id":191131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":191131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:06:34] local.INFO: TCP Data received {"connection_id":191131,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:06:34] local.INFO: Processing buffer {"connection_id":191131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:06:34] local.INFO: IMEI packet received {"connection_id":191131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":191131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:06:35] local.INFO: TCP Data received {"connection_id":191131,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:06:35] local.INFO: Processing buffer {"connection_id":191131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:06:35] local.INFO: Packet analysis {"connection_id":191131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d10d"} 
[2026-09-24 07:06:35] local.INFO: Extracted packet for processing {"connection_id":191131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d10d"} 
[2026-09-24 07:06:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294627072001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790213688000,"timestamp_ms":1790213688000,"timestamp_seconds":1790213688,"priority":1,"record_length":96,"hex_timestamp":"000001a0d10d0ac0"} 
[2026-09-24 07:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-24 07:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294627072001,"66":26115,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294627072001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:06:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:06:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294627072001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":191131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:06:35] local.INFO: GPS data processed {"connection_id":191131,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:06:35] local.INFO: Acknowledgment sent {"connection_id":191131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:07:06] local.INFO: TCP Data received {"connection_id":191131,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:07:06] local.INFO: Processing buffer {"connection_id":191131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:07:06] local.INFO: Packet analysis {"connection_id":191131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d10d"} 
[2026-09-24 07:07:06] local.INFO: Extracted packet for processing {"connection_id":191131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d10d"} 
[2026-09-24 07:07:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294627072001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790213688000,"timestamp_ms":1790213688000,"timestamp_seconds":1790213688,"priority":1,"record_length":96,"hex_timestamp":"000001a0d10d0ac0"} 
[2026-09-24 07:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-24 07:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294627072001,"66":26115,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294627072001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:07:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:07:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294627072001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":191131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:07:06] local.INFO: GPS data processed {"connection_id":191131,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:07:06] local.INFO: Acknowledgment sent {"connection_id":191131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:07:29] local.INFO: TCP Data received {"connection_id":193813,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:07:29] local.INFO: Processing buffer {"connection_id":193813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:07:29] local.INFO: IMEI packet received {"connection_id":193813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":193813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:07:34] local.INFO: TCP Data received {"connection_id":193813,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:07:34] local.INFO: Processing buffer {"connection_id":193813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:07:34] local.INFO: IMEI packet received {"connection_id":193813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":193813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:07:35] local.INFO: TCP Data received {"connection_id":193813,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:07:35] local.INFO: Processing buffer {"connection_id":193813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:07:35] local.INFO: Packet analysis {"connection_id":193813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d10d"} 
[2026-09-24 07:07:35] local.INFO: Extracted packet for processing {"connection_id":193813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d10d"} 
[2026-09-24 07:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294627072001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790213688000,"timestamp_ms":1790213688000,"timestamp_seconds":1790213688,"priority":1,"record_length":96,"hex_timestamp":"000001a0d10d0ac0"} 
[2026-09-24 07:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-24 07:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294627072001,"66":26115,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294627072001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:07:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:07:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294627072001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":193813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:07:35] local.INFO: GPS data processed {"connection_id":193813,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:07:35] local.INFO: Acknowledgment sent {"connection_id":193813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:08:06] local.INFO: TCP Data received {"connection_id":193813,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:08:06] local.INFO: Processing buffer {"connection_id":193813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:08:06] local.INFO: Packet analysis {"connection_id":193813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d10d"} 
[2026-09-24 07:08:06] local.INFO: Extracted packet for processing {"connection_id":193813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d10d"} 
[2026-09-24 07:08:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294627072001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790213688000,"timestamp_ms":1790213688000,"timestamp_seconds":1790213688,"priority":1,"record_length":96,"hex_timestamp":"000001a0d10d0ac0"} 
[2026-09-24 07:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-24 07:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294627072001,"66":26115,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294627072001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:08:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:08:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294627072001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":193813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:08:06] local.INFO: GPS data processed {"connection_id":193813,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:08:06] local.INFO: Acknowledgment sent {"connection_id":193813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:08:29] local.INFO: TCP Data received {"connection_id":192481,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:08:29] local.INFO: Processing buffer {"connection_id":192481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:08:29] local.INFO: IMEI packet received {"connection_id":192481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":192481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:08:34] local.INFO: TCP Data received {"connection_id":192481,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:08:34] local.INFO: Processing buffer {"connection_id":192481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:08:34] local.INFO: IMEI packet received {"connection_id":192481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":192481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:08:35] local.INFO: TCP Data received {"connection_id":192481,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:08:35] local.INFO: Processing buffer {"connection_id":192481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:08:35] local.INFO: Packet analysis {"connection_id":192481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d10d"} 
[2026-09-24 07:08:35] local.INFO: Extracted packet for processing {"connection_id":192481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d10d"} 
[2026-09-24 07:08:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294627072001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790213688000,"timestamp_ms":1790213688000,"timestamp_seconds":1790213688,"priority":1,"record_length":96,"hex_timestamp":"000001a0d10d0ac0"} 
[2026-09-24 07:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-24 07:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294627072001,"66":26115,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294627072001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:08:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:08:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294627072001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":192481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:08:35] local.INFO: GPS data processed {"connection_id":192481,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:08:35] local.INFO: Acknowledgment sent {"connection_id":192481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:09:06] local.INFO: TCP Data received {"connection_id":192481,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:09:06] local.INFO: Processing buffer {"connection_id":192481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:09:06] local.INFO: Packet analysis {"connection_id":192481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d10d"} 
[2026-09-24 07:09:06] local.INFO: Extracted packet for processing {"connection_id":192481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d10d"} 
[2026-09-24 07:09:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294627072001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790213688000,"timestamp_ms":1790213688000,"timestamp_seconds":1790213688,"priority":1,"record_length":96,"hex_timestamp":"000001a0d10d0ac0"} 
[2026-09-24 07:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-24 07:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294627072001,"66":26115,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294627072001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:09:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:09:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294627072001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":192481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:09:06] local.INFO: GPS data processed {"connection_id":192481,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:09:06] local.INFO: Acknowledgment sent {"connection_id":192481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:09:29] local.INFO: TCP Data received {"connection_id":192482,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:09:29] local.INFO: Processing buffer {"connection_id":192482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:09:29] local.INFO: IMEI packet received {"connection_id":192482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":192482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:09:34] local.INFO: TCP Data received {"connection_id":192482,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:09:34] local.INFO: Processing buffer {"connection_id":192482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:09:34] local.INFO: IMEI packet received {"connection_id":192482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":192482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:09:35] local.INFO: TCP Data received {"connection_id":192482,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:09:35] local.INFO: Processing buffer {"connection_id":192482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:09:35] local.INFO: Packet analysis {"connection_id":192482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d10d"} 
[2026-09-24 07:09:35] local.INFO: Extracted packet for processing {"connection_id":192482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d10d"} 
[2026-09-24 07:09:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294627072001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790213688000,"timestamp_ms":1790213688000,"timestamp_seconds":1790213688,"priority":1,"record_length":96,"hex_timestamp":"000001a0d10d0ac0"} 
[2026-09-24 07:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-24 07:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294627072001,"66":26115,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294627072001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:09:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:09:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294627072001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":192482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:09:35] local.INFO: GPS data processed {"connection_id":192482,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:09:35] local.INFO: Acknowledgment sent {"connection_id":192482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:10:06] local.INFO: TCP Data received {"connection_id":192482,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:10:06] local.INFO: Processing buffer {"connection_id":192482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d10d0ac0012d34c24006aa4930000901382d..."} 
[2026-09-24 07:10:06] local.INFO: Packet analysis {"connection_id":192482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d10d"} 
[2026-09-24 07:10:06] local.INFO: Extracted packet for processing {"connection_id":192482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d10d"} 
[2026-09-24 07:10:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294627072001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790213688000,"timestamp_ms":1790213688000,"timestamp_seconds":1790213688,"priority":1,"record_length":96,"hex_timestamp":"000001a0d10d0ac0"} 
[2026-09-24 07:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-24 07:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294627072001,"66":26115,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294627072001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:10:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:10:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294627072001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":192482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:10:06] local.INFO: GPS data processed {"connection_id":192482,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:10:06] local.INFO: Acknowledgment sent {"connection_id":192482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:10:29] local.INFO: TCP Data received {"connection_id":191132,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:10:29] local.INFO: Processing buffer {"connection_id":191132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:10:29] local.INFO: IMEI packet received {"connection_id":191132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":191132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:10:34] local.INFO: TCP Data received {"connection_id":191132,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:10:34] local.INFO: Processing buffer {"connection_id":191132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:10:34] local.INFO: IMEI packet received {"connection_id":191132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":191132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:10:36] local.INFO: TCP Data received {"connection_id":191132,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:10:36] local.INFO: Processing buffer {"connection_id":191132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:10:36] local.INFO: Packet analysis {"connection_id":191132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d111"} 
[2026-09-24 07:10:36] local.INFO: Extracted packet for processing {"connection_id":191132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d111"} 
[2026-09-24 07:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294704128001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790213989000,"timestamp_ms":1790213989000,"timestamp_seconds":1790213989,"priority":1,"record_length":96,"hex_timestamp":"000001a0d111a288"} 
[2026-09-24 07:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-24 07:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294704128001,"66":26006,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294704128001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:10:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294704128001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":191132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:10:36] local.INFO: GPS data processed {"connection_id":191132,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:10:36] local.INFO: Acknowledgment sent {"connection_id":191132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:11:07] local.INFO: TCP Data received {"connection_id":191132,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:11:07] local.INFO: Processing buffer {"connection_id":191132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:11:07] local.INFO: Packet analysis {"connection_id":191132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d111"} 
[2026-09-24 07:11:07] local.INFO: Extracted packet for processing {"connection_id":191132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d111"} 
[2026-09-24 07:11:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294704128001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790213989000,"timestamp_ms":1790213989000,"timestamp_seconds":1790213989,"priority":1,"record_length":96,"hex_timestamp":"000001a0d111a288"} 
[2026-09-24 07:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-24 07:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294704128001,"66":26006,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294704128001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:11:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:11:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294704128001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":191132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:11:07] local.INFO: GPS data processed {"connection_id":191132,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:11:07] local.INFO: Acknowledgment sent {"connection_id":191132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:11:29] local.INFO: TCP Data received {"connection_id":190929,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:11:29] local.INFO: Processing buffer {"connection_id":190929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:11:29] local.INFO: IMEI packet received {"connection_id":190929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":190929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:11:34] local.INFO: TCP Data received {"connection_id":190929,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:11:34] local.INFO: Processing buffer {"connection_id":190929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:11:34] local.INFO: IMEI packet received {"connection_id":190929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":190929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:11:37] local.INFO: TCP Data received {"connection_id":190929,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:11:37] local.INFO: Processing buffer {"connection_id":190929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:11:37] local.INFO: Packet analysis {"connection_id":190929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d111"} 
[2026-09-24 07:11:37] local.INFO: Extracted packet for processing {"connection_id":190929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d111"} 
[2026-09-24 07:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294704128001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790213989000,"timestamp_ms":1790213989000,"timestamp_seconds":1790213989,"priority":1,"record_length":96,"hex_timestamp":"000001a0d111a288"} 
[2026-09-24 07:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-24 07:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294704128001,"66":26006,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294704128001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294704128001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":190929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:11:37] local.INFO: GPS data processed {"connection_id":190929,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:11:37] local.INFO: Acknowledgment sent {"connection_id":190929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:12:08] local.INFO: TCP Data received {"connection_id":190929,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:12:08] local.INFO: Processing buffer {"connection_id":190929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:12:08] local.INFO: Packet analysis {"connection_id":190929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d111"} 
[2026-09-24 07:12:08] local.INFO: Extracted packet for processing {"connection_id":190929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d111"} 
[2026-09-24 07:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294704128001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790213989000,"timestamp_ms":1790213989000,"timestamp_seconds":1790213989,"priority":1,"record_length":96,"hex_timestamp":"000001a0d111a288"} 
[2026-09-24 07:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-24 07:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294704128001,"66":26006,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294704128001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:12:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294704128001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":190929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:12:08] local.INFO: GPS data processed {"connection_id":190929,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:12:08] local.INFO: Acknowledgment sent {"connection_id":190929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:12:30] local.INFO: TCP Data received {"connection_id":191133,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:12:30] local.INFO: Processing buffer {"connection_id":191133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:12:30] local.INFO: IMEI packet received {"connection_id":191133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":191133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:12:34] local.INFO: TCP Data received {"connection_id":191133,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:12:34] local.INFO: Processing buffer {"connection_id":191133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:12:34] local.INFO: IMEI packet received {"connection_id":191133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":191133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:12:35] local.INFO: TCP Data received {"connection_id":191133,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:12:35] local.INFO: Processing buffer {"connection_id":191133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:12:35] local.INFO: Packet analysis {"connection_id":191133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d111"} 
[2026-09-24 07:12:35] local.INFO: Extracted packet for processing {"connection_id":191133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d111"} 
[2026-09-24 07:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294704128001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790213989000,"timestamp_ms":1790213989000,"timestamp_seconds":1790213989,"priority":1,"record_length":96,"hex_timestamp":"000001a0d111a288"} 
[2026-09-24 07:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-24 07:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294704128001,"66":26006,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294704128001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:12:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:12:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294704128001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":191133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:12:35] local.INFO: GPS data processed {"connection_id":191133,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:12:35] local.INFO: Acknowledgment sent {"connection_id":191133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:13:06] local.INFO: TCP Data received {"connection_id":191133,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:13:06] local.INFO: Processing buffer {"connection_id":191133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:13:06] local.INFO: Packet analysis {"connection_id":191133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d111"} 
[2026-09-24 07:13:06] local.INFO: Extracted packet for processing {"connection_id":191133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d111"} 
[2026-09-24 07:13:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294704128001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790213989000,"timestamp_ms":1790213989000,"timestamp_seconds":1790213989,"priority":1,"record_length":96,"hex_timestamp":"000001a0d111a288"} 
[2026-09-24 07:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-24 07:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294704128001,"66":26006,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294704128001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:13:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:13:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294704128001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":191133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:13:06] local.INFO: GPS data processed {"connection_id":191133,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:13:06] local.INFO: Acknowledgment sent {"connection_id":191133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:13:29] local.INFO: TCP Data received {"connection_id":193814,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:13:29] local.INFO: Processing buffer {"connection_id":193814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:13:29] local.INFO: IMEI packet received {"connection_id":193814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":193814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:13:34] local.INFO: TCP Data received {"connection_id":193814,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:13:34] local.INFO: Processing buffer {"connection_id":193814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:13:34] local.INFO: IMEI packet received {"connection_id":193814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":193814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:13:35] local.INFO: TCP Data received {"connection_id":193814,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:13:35] local.INFO: Processing buffer {"connection_id":193814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:13:35] local.INFO: Packet analysis {"connection_id":193814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d111"} 
[2026-09-24 07:13:35] local.INFO: Extracted packet for processing {"connection_id":193814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d111"} 
[2026-09-24 07:13:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294704128001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790213989000,"timestamp_ms":1790213989000,"timestamp_seconds":1790213989,"priority":1,"record_length":96,"hex_timestamp":"000001a0d111a288"} 
[2026-09-24 07:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-24 07:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294704128001,"66":26006,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294704128001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:13:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:13:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294704128001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":193814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:13:35] local.INFO: GPS data processed {"connection_id":193814,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:13:35] local.INFO: Acknowledgment sent {"connection_id":193814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:14:07] local.INFO: TCP Data received {"connection_id":193814,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:14:07] local.INFO: Processing buffer {"connection_id":193814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:14:07] local.INFO: Packet analysis {"connection_id":193814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d111"} 
[2026-09-24 07:14:07] local.INFO: Extracted packet for processing {"connection_id":193814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d111"} 
[2026-09-24 07:14:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294704128001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790213989000,"timestamp_ms":1790213989000,"timestamp_seconds":1790213989,"priority":1,"record_length":96,"hex_timestamp":"000001a0d111a288"} 
[2026-09-24 07:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-24 07:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294704128001,"66":26006,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294704128001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:14:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:14:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294704128001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":193814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:14:07] local.INFO: GPS data processed {"connection_id":193814,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:14:07] local.INFO: Acknowledgment sent {"connection_id":193814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:14:29] local.INFO: TCP Data received {"connection_id":192483,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:14:29] local.INFO: Processing buffer {"connection_id":192483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:14:29] local.INFO: IMEI packet received {"connection_id":192483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":192483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:14:34] local.INFO: TCP Data received {"connection_id":192483,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:14:34] local.INFO: Processing buffer {"connection_id":192483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:14:34] local.INFO: IMEI packet received {"connection_id":192483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":192483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:14:35] local.INFO: TCP Data received {"connection_id":192483,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:14:35] local.INFO: Processing buffer {"connection_id":192483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:14:35] local.INFO: Packet analysis {"connection_id":192483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d111"} 
[2026-09-24 07:14:35] local.INFO: Extracted packet for processing {"connection_id":192483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d111"} 
[2026-09-24 07:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294704128001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790213989000,"timestamp_ms":1790213989000,"timestamp_seconds":1790213989,"priority":1,"record_length":96,"hex_timestamp":"000001a0d111a288"} 
[2026-09-24 07:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-24 07:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294704128001,"66":26006,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294704128001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:14:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:14:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294704128001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":192483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:14:35] local.INFO: GPS data processed {"connection_id":192483,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:14:35] local.INFO: Acknowledgment sent {"connection_id":192483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:15:06] local.INFO: TCP Data received {"connection_id":192483,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:15:06] local.INFO: Processing buffer {"connection_id":192483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d111a288012d34c24006aa4930000901382d..."} 
[2026-09-24 07:15:06] local.INFO: Packet analysis {"connection_id":192483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d111"} 
[2026-09-24 07:15:06] local.INFO: Extracted packet for processing {"connection_id":192483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d111"} 
[2026-09-24 07:15:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294704128001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790213989000,"timestamp_ms":1790213989000,"timestamp_seconds":1790213989,"priority":1,"record_length":96,"hex_timestamp":"000001a0d111a288"} 
[2026-09-24 07:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-24 07:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294704128001,"66":26006,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294704128001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:15:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:15:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294704128001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":192483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:15:07] local.INFO: GPS data processed {"connection_id":192483,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:15:07] local.INFO: Acknowledgment sent {"connection_id":192483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:15:29] local.INFO: TCP Data received {"connection_id":191134,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:15:29] local.INFO: Processing buffer {"connection_id":191134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:15:29] local.INFO: IMEI packet received {"connection_id":191134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":191134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:15:34] local.INFO: TCP Data received {"connection_id":191134,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:15:34] local.INFO: Processing buffer {"connection_id":191134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:15:34] local.INFO: IMEI packet received {"connection_id":191134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":191134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:15:35] local.INFO: TCP Data received {"connection_id":191134,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:15:35] local.INFO: Processing buffer {"connection_id":191134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:15:35] local.INFO: Packet analysis {"connection_id":191134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d116"} 
[2026-09-24 07:15:35] local.INFO: Extracted packet for processing {"connection_id":191134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d116"} 
[2026-09-24 07:15:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294781184001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790214290000,"timestamp_ms":1790214290000,"timestamp_seconds":1790214290,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1163a50"} 
[2026-09-24 07:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-24 07:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294781184001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294781184001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:15:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:15:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294781184001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":191134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:15:35] local.INFO: GPS data processed {"connection_id":191134,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:15:35] local.INFO: Acknowledgment sent {"connection_id":191134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:16:07] local.INFO: TCP Data received {"connection_id":191134,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:16:07] local.INFO: Processing buffer {"connection_id":191134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:16:07] local.INFO: Packet analysis {"connection_id":191134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d116"} 
[2026-09-24 07:16:07] local.INFO: Extracted packet for processing {"connection_id":191134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d116"} 
[2026-09-24 07:16:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294781184001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790214290000,"timestamp_ms":1790214290000,"timestamp_seconds":1790214290,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1163a50"} 
[2026-09-24 07:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-24 07:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294781184001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294781184001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:16:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:16:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294781184001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":191134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:16:07] local.INFO: GPS data processed {"connection_id":191134,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:16:07] local.INFO: Acknowledgment sent {"connection_id":191134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:16:29] local.INFO: TCP Data received {"connection_id":192484,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:16:29] local.INFO: Processing buffer {"connection_id":192484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:16:29] local.INFO: IMEI packet received {"connection_id":192484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":192484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:16:34] local.INFO: TCP Data received {"connection_id":192484,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:16:34] local.INFO: Processing buffer {"connection_id":192484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:16:34] local.INFO: IMEI packet received {"connection_id":192484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":192484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:16:35] local.INFO: TCP Data received {"connection_id":192484,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:16:35] local.INFO: Processing buffer {"connection_id":192484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:16:35] local.INFO: Packet analysis {"connection_id":192484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d116"} 
[2026-09-24 07:16:35] local.INFO: Extracted packet for processing {"connection_id":192484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d116"} 
[2026-09-24 07:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294781184001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790214290000,"timestamp_ms":1790214290000,"timestamp_seconds":1790214290,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1163a50"} 
[2026-09-24 07:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-24 07:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294781184001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294781184001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:16:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:16:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294781184001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":192484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:16:36] local.INFO: GPS data processed {"connection_id":192484,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:16:36] local.INFO: Acknowledgment sent {"connection_id":192484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:17:07] local.INFO: TCP Data received {"connection_id":192484,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:17:07] local.INFO: Processing buffer {"connection_id":192484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:17:07] local.INFO: Packet analysis {"connection_id":192484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d116"} 
[2026-09-24 07:17:07] local.INFO: Extracted packet for processing {"connection_id":192484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d116"} 
[2026-09-24 07:17:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294781184001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790214290000,"timestamp_ms":1790214290000,"timestamp_seconds":1790214290,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1163a50"} 
[2026-09-24 07:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-24 07:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294781184001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294781184001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:17:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:17:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294781184001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":192484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:17:07] local.INFO: GPS data processed {"connection_id":192484,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:17:07] local.INFO: Acknowledgment sent {"connection_id":192484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:17:29] local.INFO: TCP Data received {"connection_id":192485,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:17:29] local.INFO: Processing buffer {"connection_id":192485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:17:29] local.INFO: IMEI packet received {"connection_id":192485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":192485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:17:34] local.INFO: TCP Data received {"connection_id":192485,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:17:34] local.INFO: Processing buffer {"connection_id":192485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:17:34] local.INFO: IMEI packet received {"connection_id":192485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":192485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:17:35] local.INFO: TCP Data received {"connection_id":192485,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:17:35] local.INFO: Processing buffer {"connection_id":192485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:17:35] local.INFO: Packet analysis {"connection_id":192485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d116"} 
[2026-09-24 07:17:35] local.INFO: Extracted packet for processing {"connection_id":192485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d116"} 
[2026-09-24 07:17:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294781184001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790214290000,"timestamp_ms":1790214290000,"timestamp_seconds":1790214290,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1163a50"} 
[2026-09-24 07:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-24 07:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294781184001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294781184001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:17:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:17:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294781184001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":192485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:17:35] local.INFO: GPS data processed {"connection_id":192485,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:17:35] local.INFO: Acknowledgment sent {"connection_id":192485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:18:07] local.INFO: TCP Data received {"connection_id":192485,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:18:07] local.INFO: Processing buffer {"connection_id":192485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:18:07] local.INFO: Packet analysis {"connection_id":192485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d116"} 
[2026-09-24 07:18:07] local.INFO: Extracted packet for processing {"connection_id":192485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d116"} 
[2026-09-24 07:18:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294781184001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790214290000,"timestamp_ms":1790214290000,"timestamp_seconds":1790214290,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1163a50"} 
[2026-09-24 07:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-24 07:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294781184001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294781184001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:18:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:18:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294781184001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":192485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:18:07] local.INFO: GPS data processed {"connection_id":192485,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:18:07] local.INFO: Acknowledgment sent {"connection_id":192485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:18:29] local.INFO: TCP Data received {"connection_id":190930,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:18:29] local.INFO: Processing buffer {"connection_id":190930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:18:29] local.INFO: IMEI packet received {"connection_id":190930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":190930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:18:34] local.INFO: TCP Data received {"connection_id":190930,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:18:34] local.INFO: Processing buffer {"connection_id":190930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:18:34] local.INFO: IMEI packet received {"connection_id":190930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":190930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:18:35] local.INFO: TCP Data received {"connection_id":190930,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:18:35] local.INFO: Processing buffer {"connection_id":190930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:18:35] local.INFO: Packet analysis {"connection_id":190930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d116"} 
[2026-09-24 07:18:35] local.INFO: Extracted packet for processing {"connection_id":190930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d116"} 
[2026-09-24 07:18:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294781184001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790214290000,"timestamp_ms":1790214290000,"timestamp_seconds":1790214290,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1163a50"} 
[2026-09-24 07:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-24 07:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294781184001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294781184001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:18:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:18:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294781184001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":190930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:18:35] local.INFO: GPS data processed {"connection_id":190930,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:18:35] local.INFO: Acknowledgment sent {"connection_id":190930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:19:09] local.INFO: TCP Data received {"connection_id":190930,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:19:09] local.INFO: Processing buffer {"connection_id":190930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:19:09] local.INFO: Packet analysis {"connection_id":190930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d116"} 
[2026-09-24 07:19:09] local.INFO: Extracted packet for processing {"connection_id":190930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d116"} 
[2026-09-24 07:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294781184001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790214290000,"timestamp_ms":1790214290000,"timestamp_seconds":1790214290,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1163a50"} 
[2026-09-24 07:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-24 07:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294781184001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294781184001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:19:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294781184001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":190930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:19:09] local.INFO: GPS data processed {"connection_id":190930,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:19:09] local.INFO: Acknowledgment sent {"connection_id":190930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:19:29] local.INFO: TCP Data received {"connection_id":191135,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:19:29] local.INFO: Processing buffer {"connection_id":191135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:19:29] local.INFO: IMEI packet received {"connection_id":191135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":191135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:19:34] local.INFO: TCP Data received {"connection_id":191135,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:19:34] local.INFO: Processing buffer {"connection_id":191135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:19:34] local.INFO: IMEI packet received {"connection_id":191135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":191135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:19:35] local.INFO: TCP Data received {"connection_id":191135,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:19:35] local.INFO: Processing buffer {"connection_id":191135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:19:35] local.INFO: Packet analysis {"connection_id":191135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d116"} 
[2026-09-24 07:19:35] local.INFO: Extracted packet for processing {"connection_id":191135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d116"} 
[2026-09-24 07:19:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294781184001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790214290000,"timestamp_ms":1790214290000,"timestamp_seconds":1790214290,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1163a50"} 
[2026-09-24 07:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-24 07:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294781184001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294781184001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:19:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:19:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294781184001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":191135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:19:35] local.INFO: GPS data processed {"connection_id":191135,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:19:35] local.INFO: Acknowledgment sent {"connection_id":191135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:20:06] local.INFO: TCP Data received {"connection_id":191135,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:20:06] local.INFO: Processing buffer {"connection_id":191135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1163a50012d34c24006aa4930000901382e..."} 
[2026-09-24 07:20:06] local.INFO: Packet analysis {"connection_id":191135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d116"} 
[2026-09-24 07:20:06] local.INFO: Extracted packet for processing {"connection_id":191135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d116"} 
[2026-09-24 07:20:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294781184001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790214290000,"timestamp_ms":1790214290000,"timestamp_seconds":1790214290,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1163a50"} 
[2026-09-24 07:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-24 07:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294781184001,"66":25778,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294781184001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:20:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:20:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294781184001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":191135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:20:06] local.INFO: GPS data processed {"connection_id":191135,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:20:06] local.INFO: Acknowledgment sent {"connection_id":191135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:20:29] local.INFO: TCP Data received {"connection_id":192486,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:20:29] local.INFO: Processing buffer {"connection_id":192486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:20:29] local.INFO: IMEI packet received {"connection_id":192486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":192486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:20:29] local.INFO: TCP Data received {"connection_id":192486,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:20:29] local.INFO: Processing buffer {"connection_id":192486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:20:29] local.INFO: IMEI packet received {"connection_id":192486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":192486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:20:34] local.INFO: TCP Data received {"connection_id":192486,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:20:34] local.INFO: Processing buffer {"connection_id":192486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:20:34] local.INFO: IMEI packet received {"connection_id":192486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":192486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:20:35] local.INFO: TCP Data received {"connection_id":192486,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:20:35] local.INFO: Processing buffer {"connection_id":192486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:20:35] local.INFO: Packet analysis {"connection_id":192486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d11a"} 
[2026-09-24 07:20:35] local.INFO: Extracted packet for processing {"connection_id":192486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d11a"} 
[2026-09-24 07:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294858240001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790214591000,"timestamp_ms":1790214591000,"timestamp_seconds":1790214591,"priority":1,"record_length":96,"hex_timestamp":"000001a0d11ad218"} 
[2026-09-24 07:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 07:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294858240001,"66":25854,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294858240001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:20:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:20:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294858240001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":192486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:20:35] local.INFO: GPS data processed {"connection_id":192486,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:20:35] local.INFO: Acknowledgment sent {"connection_id":192486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:21:07] local.INFO: TCP Data received {"connection_id":192486,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:21:07] local.INFO: Processing buffer {"connection_id":192486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:21:07] local.INFO: Packet analysis {"connection_id":192486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d11a"} 
[2026-09-24 07:21:07] local.INFO: Extracted packet for processing {"connection_id":192486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d11a"} 
[2026-09-24 07:21:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294858240001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790214591000,"timestamp_ms":1790214591000,"timestamp_seconds":1790214591,"priority":1,"record_length":96,"hex_timestamp":"000001a0d11ad218"} 
[2026-09-24 07:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 07:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294858240001,"66":25854,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294858240001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:21:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:21:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294858240001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":192486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:21:07] local.INFO: GPS data processed {"connection_id":192486,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:21:07] local.INFO: Acknowledgment sent {"connection_id":192486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:21:29] local.INFO: TCP Data received {"connection_id":191136,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:21:29] local.INFO: Processing buffer {"connection_id":191136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:21:29] local.INFO: IMEI packet received {"connection_id":191136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":191136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:21:34] local.INFO: TCP Data received {"connection_id":191136,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:21:34] local.INFO: Processing buffer {"connection_id":191136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:21:34] local.INFO: IMEI packet received {"connection_id":191136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":191136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:21:35] local.INFO: TCP Data received {"connection_id":191136,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:21:35] local.INFO: Processing buffer {"connection_id":191136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:21:35] local.INFO: Packet analysis {"connection_id":191136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d11a"} 
[2026-09-24 07:21:35] local.INFO: Extracted packet for processing {"connection_id":191136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d11a"} 
[2026-09-24 07:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294858240001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790214591000,"timestamp_ms":1790214591000,"timestamp_seconds":1790214591,"priority":1,"record_length":96,"hex_timestamp":"000001a0d11ad218"} 
[2026-09-24 07:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 07:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294858240001,"66":25854,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294858240001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:21:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:21:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294858240001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":191136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:21:35] local.INFO: GPS data processed {"connection_id":191136,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:21:35] local.INFO: Acknowledgment sent {"connection_id":191136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:22:06] local.INFO: TCP Data received {"connection_id":191136,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:22:06] local.INFO: Processing buffer {"connection_id":191136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:22:06] local.INFO: Packet analysis {"connection_id":191136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d11a"} 
[2026-09-24 07:22:06] local.INFO: Extracted packet for processing {"connection_id":191136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d11a"} 
[2026-09-24 07:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294858240001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790214591000,"timestamp_ms":1790214591000,"timestamp_seconds":1790214591,"priority":1,"record_length":96,"hex_timestamp":"000001a0d11ad218"} 
[2026-09-24 07:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 07:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294858240001,"66":25854,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294858240001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:22:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294858240001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":191136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:22:06] local.INFO: GPS data processed {"connection_id":191136,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:22:06] local.INFO: Acknowledgment sent {"connection_id":191136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:22:29] local.INFO: TCP Data received {"connection_id":191137,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:22:29] local.INFO: Processing buffer {"connection_id":191137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:22:29] local.INFO: IMEI packet received {"connection_id":191137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":191137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:22:34] local.INFO: TCP Data received {"connection_id":191137,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:22:34] local.INFO: Processing buffer {"connection_id":191137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:22:34] local.INFO: IMEI packet received {"connection_id":191137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":191137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:22:35] local.INFO: TCP Data received {"connection_id":191137,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:22:35] local.INFO: Processing buffer {"connection_id":191137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:22:35] local.INFO: Packet analysis {"connection_id":191137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d11a"} 
[2026-09-24 07:22:35] local.INFO: Extracted packet for processing {"connection_id":191137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d11a"} 
[2026-09-24 07:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294858240001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790214591000,"timestamp_ms":1790214591000,"timestamp_seconds":1790214591,"priority":1,"record_length":96,"hex_timestamp":"000001a0d11ad218"} 
[2026-09-24 07:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 07:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294858240001,"66":25854,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294858240001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:22:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:22:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294858240001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":191137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:22:35] local.INFO: GPS data processed {"connection_id":191137,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:22:35] local.INFO: Acknowledgment sent {"connection_id":191137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:23:06] local.INFO: TCP Data received {"connection_id":191137,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:23:06] local.INFO: Processing buffer {"connection_id":191137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:23:06] local.INFO: Packet analysis {"connection_id":191137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d11a"} 
[2026-09-24 07:23:06] local.INFO: Extracted packet for processing {"connection_id":191137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d11a"} 
[2026-09-24 07:23:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294858240001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790214591000,"timestamp_ms":1790214591000,"timestamp_seconds":1790214591,"priority":1,"record_length":96,"hex_timestamp":"000001a0d11ad218"} 
[2026-09-24 07:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 07:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294858240001,"66":25854,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294858240001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:23:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:23:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294858240001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":191137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:23:06] local.INFO: GPS data processed {"connection_id":191137,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:23:06] local.INFO: Acknowledgment sent {"connection_id":191137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:23:29] local.INFO: TCP Data received {"connection_id":192487,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:23:29] local.INFO: Processing buffer {"connection_id":192487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:23:29] local.INFO: IMEI packet received {"connection_id":192487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":192487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:23:34] local.INFO: TCP Data received {"connection_id":192487,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:23:34] local.INFO: Processing buffer {"connection_id":192487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:23:34] local.INFO: IMEI packet received {"connection_id":192487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":192487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:23:35] local.INFO: TCP Data received {"connection_id":192487,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:23:35] local.INFO: Processing buffer {"connection_id":192487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:23:35] local.INFO: Packet analysis {"connection_id":192487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d11a"} 
[2026-09-24 07:23:35] local.INFO: Extracted packet for processing {"connection_id":192487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d11a"} 
[2026-09-24 07:23:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294858240001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790214591000,"timestamp_ms":1790214591000,"timestamp_seconds":1790214591,"priority":1,"record_length":96,"hex_timestamp":"000001a0d11ad218"} 
[2026-09-24 07:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 07:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294858240001,"66":25854,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294858240001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:23:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:23:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294858240001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":192487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:23:35] local.INFO: GPS data processed {"connection_id":192487,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:23:35] local.INFO: Acknowledgment sent {"connection_id":192487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:24:06] local.INFO: TCP Data received {"connection_id":192487,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:24:06] local.INFO: Processing buffer {"connection_id":192487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:24:06] local.INFO: Packet analysis {"connection_id":192487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d11a"} 
[2026-09-24 07:24:06] local.INFO: Extracted packet for processing {"connection_id":192487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d11a"} 
[2026-09-24 07:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294858240001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790214591000,"timestamp_ms":1790214591000,"timestamp_seconds":1790214591,"priority":1,"record_length":96,"hex_timestamp":"000001a0d11ad218"} 
[2026-09-24 07:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 07:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294858240001,"66":25854,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294858240001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:24:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294858240001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":192487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:24:06] local.INFO: GPS data processed {"connection_id":192487,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:24:06] local.INFO: Acknowledgment sent {"connection_id":192487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:24:29] local.INFO: TCP Data received {"connection_id":190931,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:24:29] local.INFO: Processing buffer {"connection_id":190931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:24:29] local.INFO: IMEI packet received {"connection_id":190931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":190931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:24:34] local.INFO: TCP Data received {"connection_id":190931,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:24:34] local.INFO: Processing buffer {"connection_id":190931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:24:34] local.INFO: IMEI packet received {"connection_id":190931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":190931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:24:35] local.INFO: TCP Data received {"connection_id":190931,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:24:35] local.INFO: Processing buffer {"connection_id":190931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:24:35] local.INFO: Packet analysis {"connection_id":190931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d11a"} 
[2026-09-24 07:24:35] local.INFO: Extracted packet for processing {"connection_id":190931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d11a"} 
[2026-09-24 07:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294858240001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790214591000,"timestamp_ms":1790214591000,"timestamp_seconds":1790214591,"priority":1,"record_length":96,"hex_timestamp":"000001a0d11ad218"} 
[2026-09-24 07:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 07:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294858240001,"66":25854,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294858240001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:24:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:24:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294858240001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":190931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:24:35] local.INFO: GPS data processed {"connection_id":190931,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:24:35] local.INFO: Acknowledgment sent {"connection_id":190931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:25:06] local.INFO: TCP Data received {"connection_id":190931,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:25:06] local.INFO: Processing buffer {"connection_id":190931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d11ad218012d34c24006aa4930000901382c..."} 
[2026-09-24 07:25:06] local.INFO: Packet analysis {"connection_id":190931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d11a"} 
[2026-09-24 07:25:06] local.INFO: Extracted packet for processing {"connection_id":190931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d11a"} 
[2026-09-24 07:25:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294858240001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790214591000,"timestamp_ms":1790214591000,"timestamp_seconds":1790214591,"priority":1,"record_length":96,"hex_timestamp":"000001a0d11ad218"} 
[2026-09-24 07:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 07:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294858240001,"66":25854,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294858240001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:25:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:25:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294858240001,"power":25854,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":190931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:25:06] local.INFO: GPS data processed {"connection_id":190931,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:25:06] local.INFO: Acknowledgment sent {"connection_id":190931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:25:29] local.INFO: TCP Data received {"connection_id":192488,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:25:29] local.INFO: Processing buffer {"connection_id":192488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:25:29] local.INFO: IMEI packet received {"connection_id":192488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":192488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:25:30] local.INFO: TCP Data received {"connection_id":192488,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:25:30] local.INFO: Processing buffer {"connection_id":192488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:25:30] local.INFO: IMEI packet received {"connection_id":192488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":192488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:25:34] local.INFO: TCP Data received {"connection_id":192488,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:25:34] local.INFO: Processing buffer {"connection_id":192488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:25:34] local.INFO: IMEI packet received {"connection_id":192488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":192488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:25:36] local.INFO: TCP Data received {"connection_id":192488,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:25:36] local.INFO: Processing buffer {"connection_id":192488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:25:36] local.INFO: Packet analysis {"connection_id":192488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d11f"} 
[2026-09-24 07:25:36] local.INFO: Extracted packet for processing {"connection_id":192488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d11f"} 
[2026-09-24 07:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294935296001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790214892000,"timestamp_ms":1790214892000,"timestamp_seconds":1790214892,"priority":1,"record_length":96,"hex_timestamp":"000001a0d11f69e0"} 
[2026-09-24 07:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 07:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294935296001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294935296001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:25:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:25:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294935296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":192488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:25:36] local.INFO: GPS data processed {"connection_id":192488,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:25:36] local.INFO: Acknowledgment sent {"connection_id":192488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:26:07] local.INFO: TCP Data received {"connection_id":192488,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:26:07] local.INFO: Processing buffer {"connection_id":192488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:26:07] local.INFO: Packet analysis {"connection_id":192488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d11f"} 
[2026-09-24 07:26:07] local.INFO: Extracted packet for processing {"connection_id":192488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d11f"} 
[2026-09-24 07:26:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294935296001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790214892000,"timestamp_ms":1790214892000,"timestamp_seconds":1790214892,"priority":1,"record_length":96,"hex_timestamp":"000001a0d11f69e0"} 
[2026-09-24 07:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 07:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294935296001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294935296001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:26:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:26:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294935296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":192488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:26:07] local.INFO: GPS data processed {"connection_id":192488,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:26:07] local.INFO: Acknowledgment sent {"connection_id":192488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:26:29] local.INFO: TCP Data received {"connection_id":191138,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:26:29] local.INFO: Processing buffer {"connection_id":191138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:26:29] local.INFO: IMEI packet received {"connection_id":191138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":191138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:26:34] local.INFO: TCP Data received {"connection_id":191138,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:26:34] local.INFO: Processing buffer {"connection_id":191138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:26:34] local.INFO: IMEI packet received {"connection_id":191138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":191138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:26:35] local.INFO: TCP Data received {"connection_id":191138,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:26:35] local.INFO: Processing buffer {"connection_id":191138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:26:35] local.INFO: Packet analysis {"connection_id":191138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d11f"} 
[2026-09-24 07:26:35] local.INFO: Extracted packet for processing {"connection_id":191138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d11f"} 
[2026-09-24 07:26:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294935296001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790214892000,"timestamp_ms":1790214892000,"timestamp_seconds":1790214892,"priority":1,"record_length":96,"hex_timestamp":"000001a0d11f69e0"} 
[2026-09-24 07:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 07:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294935296001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294935296001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:26:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:26:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294935296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":191138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:26:35] local.INFO: GPS data processed {"connection_id":191138,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:26:35] local.INFO: Acknowledgment sent {"connection_id":191138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:27:06] local.INFO: TCP Data received {"connection_id":191138,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:27:06] local.INFO: Processing buffer {"connection_id":191138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:27:06] local.INFO: Packet analysis {"connection_id":191138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d11f"} 
[2026-09-24 07:27:06] local.INFO: Extracted packet for processing {"connection_id":191138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d11f"} 
[2026-09-24 07:27:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294935296001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790214892000,"timestamp_ms":1790214892000,"timestamp_seconds":1790214892,"priority":1,"record_length":96,"hex_timestamp":"000001a0d11f69e0"} 
[2026-09-24 07:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 07:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294935296001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294935296001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:27:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:27:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294935296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":191138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:27:06] local.INFO: GPS data processed {"connection_id":191138,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:27:06] local.INFO: Acknowledgment sent {"connection_id":191138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:27:29] local.INFO: TCP Data received {"connection_id":193815,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:27:29] local.INFO: Processing buffer {"connection_id":193815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:27:29] local.INFO: IMEI packet received {"connection_id":193815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":193815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:27:34] local.INFO: TCP Data received {"connection_id":193815,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:27:34] local.INFO: Processing buffer {"connection_id":193815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:27:34] local.INFO: IMEI packet received {"connection_id":193815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":193815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:27:35] local.INFO: TCP Data received {"connection_id":193815,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:27:35] local.INFO: Processing buffer {"connection_id":193815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:27:35] local.INFO: Packet analysis {"connection_id":193815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d11f"} 
[2026-09-24 07:27:35] local.INFO: Extracted packet for processing {"connection_id":193815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d11f"} 
[2026-09-24 07:27:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294935296001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790214892000,"timestamp_ms":1790214892000,"timestamp_seconds":1790214892,"priority":1,"record_length":96,"hex_timestamp":"000001a0d11f69e0"} 
[2026-09-24 07:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 07:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294935296001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294935296001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:27:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:27:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294935296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":193815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:27:35] local.INFO: GPS data processed {"connection_id":193815,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:27:35] local.INFO: Acknowledgment sent {"connection_id":193815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:28:07] local.INFO: TCP Data received {"connection_id":193815,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:28:07] local.INFO: Processing buffer {"connection_id":193815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:28:07] local.INFO: Packet analysis {"connection_id":193815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d11f"} 
[2026-09-24 07:28:07] local.INFO: Extracted packet for processing {"connection_id":193815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d11f"} 
[2026-09-24 07:28:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294935296001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790214892000,"timestamp_ms":1790214892000,"timestamp_seconds":1790214892,"priority":1,"record_length":96,"hex_timestamp":"000001a0d11f69e0"} 
[2026-09-24 07:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 07:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294935296001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294935296001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:28:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:28:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294935296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":193815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:28:07] local.INFO: GPS data processed {"connection_id":193815,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:28:07] local.INFO: Acknowledgment sent {"connection_id":193815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:28:29] local.INFO: TCP Data received {"connection_id":191139,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:28:29] local.INFO: Processing buffer {"connection_id":191139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:28:29] local.INFO: IMEI packet received {"connection_id":191139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":191139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:28:34] local.INFO: TCP Data received {"connection_id":191139,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:28:34] local.INFO: Processing buffer {"connection_id":191139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:28:34] local.INFO: IMEI packet received {"connection_id":191139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":191139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:28:35] local.INFO: TCP Data received {"connection_id":191139,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:28:35] local.INFO: Processing buffer {"connection_id":191139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:28:35] local.INFO: Packet analysis {"connection_id":191139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d11f"} 
[2026-09-24 07:28:35] local.INFO: Extracted packet for processing {"connection_id":191139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d11f"} 
[2026-09-24 07:28:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294935296001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790214892000,"timestamp_ms":1790214892000,"timestamp_seconds":1790214892,"priority":1,"record_length":96,"hex_timestamp":"000001a0d11f69e0"} 
[2026-09-24 07:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 07:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294935296001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294935296001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:28:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:28:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294935296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":191139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:28:35] local.INFO: GPS data processed {"connection_id":191139,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:28:35] local.INFO: Acknowledgment sent {"connection_id":191139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:29:06] local.INFO: TCP Data received {"connection_id":191139,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:29:06] local.INFO: Processing buffer {"connection_id":191139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:29:06] local.INFO: Packet analysis {"connection_id":191139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d11f"} 
[2026-09-24 07:29:06] local.INFO: Extracted packet for processing {"connection_id":191139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d11f"} 
[2026-09-24 07:29:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294935296001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790214892000,"timestamp_ms":1790214892000,"timestamp_seconds":1790214892,"priority":1,"record_length":96,"hex_timestamp":"000001a0d11f69e0"} 
[2026-09-24 07:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 07:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294935296001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294935296001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:29:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:29:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294935296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":191139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:29:07] local.INFO: GPS data processed {"connection_id":191139,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:29:07] local.INFO: Acknowledgment sent {"connection_id":191139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:29:29] local.INFO: TCP Data received {"connection_id":190932,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:29:29] local.INFO: Processing buffer {"connection_id":190932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:29:29] local.INFO: IMEI packet received {"connection_id":190932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":190932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:29:34] local.INFO: TCP Data received {"connection_id":190932,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:29:34] local.INFO: Processing buffer {"connection_id":190932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:29:34] local.INFO: IMEI packet received {"connection_id":190932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":190932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:29:36] local.INFO: TCP Data received {"connection_id":190932,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:29:36] local.INFO: Processing buffer {"connection_id":190932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:29:36] local.INFO: Packet analysis {"connection_id":190932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d11f"} 
[2026-09-24 07:29:36] local.INFO: Extracted packet for processing {"connection_id":190932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d11f"} 
[2026-09-24 07:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294935296001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790214892000,"timestamp_ms":1790214892000,"timestamp_seconds":1790214892,"priority":1,"record_length":96,"hex_timestamp":"000001a0d11f69e0"} 
[2026-09-24 07:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 07:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294935296001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294935296001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:29:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:29:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294935296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":190932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:29:36] local.INFO: GPS data processed {"connection_id":190932,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:29:36] local.INFO: Acknowledgment sent {"connection_id":190932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:30:07] local.INFO: TCP Data received {"connection_id":190932,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:30:07] local.INFO: Processing buffer {"connection_id":190932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d11f69e0012d34c24006aa4930000901382b..."} 
[2026-09-24 07:30:07] local.INFO: Packet analysis {"connection_id":190932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d11f"} 
[2026-09-24 07:30:07] local.INFO: Extracted packet for processing {"connection_id":190932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d11f"} 
[2026-09-24 07:30:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458294935296001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790214892000,"timestamp_ms":1790214892000,"timestamp_seconds":1790214892,"priority":1,"record_length":96,"hex_timestamp":"000001a0d11f69e0"} 
[2026-09-24 07:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 07:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458294935296001,"66":25756,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458294935296001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:30:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:30:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458294935296001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":190932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:30:07] local.INFO: GPS data processed {"connection_id":190932,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:30:07] local.INFO: Acknowledgment sent {"connection_id":190932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:30:29] local.INFO: TCP Data received {"connection_id":191140,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:30:29] local.INFO: Processing buffer {"connection_id":191140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:30:29] local.INFO: IMEI packet received {"connection_id":191140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":191140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:30:31] local.INFO: TCP Data received {"connection_id":191140,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:30:31] local.INFO: Processing buffer {"connection_id":191140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:30:31] local.INFO: IMEI packet received {"connection_id":191140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":191140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:30:34] local.INFO: TCP Data received {"connection_id":191140,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:30:34] local.INFO: Processing buffer {"connection_id":191140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:30:34] local.INFO: IMEI packet received {"connection_id":191140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":191140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:30:36] local.INFO: TCP Data received {"connection_id":191140,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:30:36] local.INFO: Processing buffer {"connection_id":191140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:30:36] local.INFO: Packet analysis {"connection_id":191140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d124"} 
[2026-09-24 07:30:36] local.INFO: Extracted packet for processing {"connection_id":191140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d124"} 
[2026-09-24 07:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295012352001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790215193000,"timestamp_ms":1790215193000,"timestamp_seconds":1790215193,"priority":1,"record_length":96,"hex_timestamp":"000001a0d12401a8"} 
[2026-09-24 07:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-24 07:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295012352001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295012352001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:30:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:30:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295012352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":191140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:30:36] local.INFO: GPS data processed {"connection_id":191140,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:30:36] local.INFO: Acknowledgment sent {"connection_id":191140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:31:07] local.INFO: TCP Data received {"connection_id":191140,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:31:07] local.INFO: Processing buffer {"connection_id":191140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:31:07] local.INFO: Packet analysis {"connection_id":191140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d124"} 
[2026-09-24 07:31:07] local.INFO: Extracted packet for processing {"connection_id":191140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d124"} 
[2026-09-24 07:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295012352001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790215193000,"timestamp_ms":1790215193000,"timestamp_seconds":1790215193,"priority":1,"record_length":96,"hex_timestamp":"000001a0d12401a8"} 
[2026-09-24 07:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-24 07:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295012352001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295012352001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:31:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:31:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295012352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":191140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:31:07] local.INFO: GPS data processed {"connection_id":191140,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:31:07] local.INFO: Acknowledgment sent {"connection_id":191140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:31:29] local.INFO: TCP Data received {"connection_id":190933,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:31:29] local.INFO: Processing buffer {"connection_id":190933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:31:29] local.INFO: IMEI packet received {"connection_id":190933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":190933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:31:34] local.INFO: TCP Data received {"connection_id":190933,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:31:34] local.INFO: Processing buffer {"connection_id":190933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:31:34] local.INFO: IMEI packet received {"connection_id":190933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":190933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:31:35] local.INFO: TCP Data received {"connection_id":190933,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:31:35] local.INFO: Processing buffer {"connection_id":190933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:31:35] local.INFO: Packet analysis {"connection_id":190933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d124"} 
[2026-09-24 07:31:35] local.INFO: Extracted packet for processing {"connection_id":190933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d124"} 
[2026-09-24 07:31:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295012352001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790215193000,"timestamp_ms":1790215193000,"timestamp_seconds":1790215193,"priority":1,"record_length":96,"hex_timestamp":"000001a0d12401a8"} 
[2026-09-24 07:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-24 07:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295012352001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295012352001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:31:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:31:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295012352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":190933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:31:35] local.INFO: GPS data processed {"connection_id":190933,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:31:35] local.INFO: Acknowledgment sent {"connection_id":190933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:32:06] local.INFO: TCP Data received {"connection_id":190933,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:32:06] local.INFO: Processing buffer {"connection_id":190933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:32:06] local.INFO: Packet analysis {"connection_id":190933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d124"} 
[2026-09-24 07:32:06] local.INFO: Extracted packet for processing {"connection_id":190933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d124"} 
[2026-09-24 07:32:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295012352001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790215193000,"timestamp_ms":1790215193000,"timestamp_seconds":1790215193,"priority":1,"record_length":96,"hex_timestamp":"000001a0d12401a8"} 
[2026-09-24 07:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-24 07:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295012352001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295012352001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:32:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:32:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295012352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":190933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:32:06] local.INFO: GPS data processed {"connection_id":190933,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:32:06] local.INFO: Acknowledgment sent {"connection_id":190933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:32:29] local.INFO: TCP Data received {"connection_id":192489,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:32:29] local.INFO: Processing buffer {"connection_id":192489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:32:29] local.INFO: IMEI packet received {"connection_id":192489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":192489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:32:34] local.INFO: TCP Data received {"connection_id":192489,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:32:34] local.INFO: Processing buffer {"connection_id":192489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:32:34] local.INFO: IMEI packet received {"connection_id":192489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":192489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:32:35] local.INFO: TCP Data received {"connection_id":192489,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:32:35] local.INFO: Processing buffer {"connection_id":192489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:32:35] local.INFO: Packet analysis {"connection_id":192489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d124"} 
[2026-09-24 07:32:35] local.INFO: Extracted packet for processing {"connection_id":192489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d124"} 
[2026-09-24 07:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295012352001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790215193000,"timestamp_ms":1790215193000,"timestamp_seconds":1790215193,"priority":1,"record_length":96,"hex_timestamp":"000001a0d12401a8"} 
[2026-09-24 07:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-24 07:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295012352001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295012352001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:32:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:32:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295012352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":192489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:32:35] local.INFO: GPS data processed {"connection_id":192489,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:32:35] local.INFO: Acknowledgment sent {"connection_id":192489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:33:07] local.INFO: TCP Data received {"connection_id":192489,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:33:07] local.INFO: Processing buffer {"connection_id":192489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:33:07] local.INFO: Packet analysis {"connection_id":192489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d124"} 
[2026-09-24 07:33:07] local.INFO: Extracted packet for processing {"connection_id":192489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d124"} 
[2026-09-24 07:33:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295012352001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790215193000,"timestamp_ms":1790215193000,"timestamp_seconds":1790215193,"priority":1,"record_length":96,"hex_timestamp":"000001a0d12401a8"} 
[2026-09-24 07:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-24 07:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295012352001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295012352001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:33:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:33:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295012352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":192489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:33:07] local.INFO: GPS data processed {"connection_id":192489,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:33:07] local.INFO: Acknowledgment sent {"connection_id":192489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:33:29] local.INFO: TCP Data received {"connection_id":190934,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:33:29] local.INFO: Processing buffer {"connection_id":190934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:33:29] local.INFO: IMEI packet received {"connection_id":190934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":190934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:33:34] local.INFO: TCP Data received {"connection_id":190934,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:33:34] local.INFO: Processing buffer {"connection_id":190934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:33:34] local.INFO: IMEI packet received {"connection_id":190934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":190934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:33:35] local.INFO: TCP Data received {"connection_id":190934,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:33:35] local.INFO: Processing buffer {"connection_id":190934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:33:35] local.INFO: Packet analysis {"connection_id":190934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d124"} 
[2026-09-24 07:33:35] local.INFO: Extracted packet for processing {"connection_id":190934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d124"} 
[2026-09-24 07:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295012352001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790215193000,"timestamp_ms":1790215193000,"timestamp_seconds":1790215193,"priority":1,"record_length":96,"hex_timestamp":"000001a0d12401a8"} 
[2026-09-24 07:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-24 07:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295012352001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295012352001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:33:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:33:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295012352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":190934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:33:35] local.INFO: GPS data processed {"connection_id":190934,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:33:35] local.INFO: Acknowledgment sent {"connection_id":190934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:34:07] local.INFO: TCP Data received {"connection_id":190934,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:34:07] local.INFO: Processing buffer {"connection_id":190934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:34:07] local.INFO: Packet analysis {"connection_id":190934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d124"} 
[2026-09-24 07:34:07] local.INFO: Extracted packet for processing {"connection_id":190934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d124"} 
[2026-09-24 07:34:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295012352001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790215193000,"timestamp_ms":1790215193000,"timestamp_seconds":1790215193,"priority":1,"record_length":96,"hex_timestamp":"000001a0d12401a8"} 
[2026-09-24 07:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-24 07:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295012352001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295012352001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:34:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:34:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295012352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":190934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:34:07] local.INFO: GPS data processed {"connection_id":190934,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:34:07] local.INFO: Acknowledgment sent {"connection_id":190934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:34:29] local.INFO: TCP Data received {"connection_id":193816,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:34:29] local.INFO: Processing buffer {"connection_id":193816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:34:29] local.INFO: IMEI packet received {"connection_id":193816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":193816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:34:34] local.INFO: TCP Data received {"connection_id":193816,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:34:34] local.INFO: Processing buffer {"connection_id":193816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:34:34] local.INFO: IMEI packet received {"connection_id":193816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":193816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:34:35] local.INFO: TCP Data received {"connection_id":193816,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:34:35] local.INFO: Processing buffer {"connection_id":193816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:34:35] local.INFO: Packet analysis {"connection_id":193816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d124"} 
[2026-09-24 07:34:35] local.INFO: Extracted packet for processing {"connection_id":193816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d124"} 
[2026-09-24 07:34:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295012352001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790215193000,"timestamp_ms":1790215193000,"timestamp_seconds":1790215193,"priority":1,"record_length":96,"hex_timestamp":"000001a0d12401a8"} 
[2026-09-24 07:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-24 07:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295012352001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295012352001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:34:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:34:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295012352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":193816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:34:35] local.INFO: GPS data processed {"connection_id":193816,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:34:35] local.INFO: Acknowledgment sent {"connection_id":193816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:35:07] local.INFO: TCP Data received {"connection_id":193816,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:35:07] local.INFO: Processing buffer {"connection_id":193816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d12401a8012d34c24006aa4930000901382b..."} 
[2026-09-24 07:35:07] local.INFO: Packet analysis {"connection_id":193816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d124"} 
[2026-09-24 07:35:07] local.INFO: Extracted packet for processing {"connection_id":193816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d124"} 
[2026-09-24 07:35:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295012352001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790215193000,"timestamp_ms":1790215193000,"timestamp_seconds":1790215193,"priority":1,"record_length":96,"hex_timestamp":"000001a0d12401a8"} 
[2026-09-24 07:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-09-24 07:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295012352001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295012352001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:35:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:35:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295012352001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":193816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:35:07] local.INFO: GPS data processed {"connection_id":193816,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:35:07] local.INFO: Acknowledgment sent {"connection_id":193816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:35:30] local.INFO: TCP Data received {"connection_id":190935,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:35:30] local.INFO: Processing buffer {"connection_id":190935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:35:30] local.INFO: IMEI packet received {"connection_id":190935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":190935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:35:32] local.INFO: TCP Data received {"connection_id":190935,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:35:32] local.INFO: Processing buffer {"connection_id":190935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:35:32] local.INFO: IMEI packet received {"connection_id":190935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":190935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:35:34] local.INFO: TCP Data received {"connection_id":190935,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:35:34] local.INFO: Processing buffer {"connection_id":190935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:35:34] local.INFO: IMEI packet received {"connection_id":190935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":190935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:35:35] local.INFO: TCP Data received {"connection_id":190935,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:35:35] local.INFO: Processing buffer {"connection_id":190935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:35:35] local.INFO: Packet analysis {"connection_id":190935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d128"} 
[2026-09-24 07:35:35] local.INFO: Extracted packet for processing {"connection_id":190935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d128"} 
[2026-09-24 07:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295089408001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790215494000,"timestamp_ms":1790215494000,"timestamp_seconds":1790215494,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1289970"} 
[2026-09-24 07:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 07:35:35] 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-09-24 07: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-09-24 07:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295089408001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295089408001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:35:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:35:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295089408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":190935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:35:35] local.INFO: GPS data processed {"connection_id":190935,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:35:35] local.INFO: Acknowledgment sent {"connection_id":190935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:36:06] local.INFO: TCP Data received {"connection_id":190935,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:36:06] local.INFO: Processing buffer {"connection_id":190935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:36:06] local.INFO: Packet analysis {"connection_id":190935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d128"} 
[2026-09-24 07:36:06] local.INFO: Extracted packet for processing {"connection_id":190935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d128"} 
[2026-09-24 07:36:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295089408001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790215494000,"timestamp_ms":1790215494000,"timestamp_seconds":1790215494,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1289970"} 
[2026-09-24 07:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 07:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295089408001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295089408001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:36:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:36:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295089408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":190935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:36:06] local.INFO: GPS data processed {"connection_id":190935,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:36:06] local.INFO: Acknowledgment sent {"connection_id":190935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:36:29] local.INFO: TCP Data received {"connection_id":191141,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:36:29] local.INFO: Processing buffer {"connection_id":191141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:36:29] local.INFO: IMEI packet received {"connection_id":191141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":191141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:36:34] local.INFO: TCP Data received {"connection_id":191141,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:36:34] local.INFO: Processing buffer {"connection_id":191141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:36:34] local.INFO: IMEI packet received {"connection_id":191141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":191141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:36:36] local.INFO: TCP Data received {"connection_id":191141,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:36:36] local.INFO: Processing buffer {"connection_id":191141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:36:36] local.INFO: Packet analysis {"connection_id":191141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d128"} 
[2026-09-24 07:36:36] local.INFO: Extracted packet for processing {"connection_id":191141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d128"} 
[2026-09-24 07:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295089408001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790215494000,"timestamp_ms":1790215494000,"timestamp_seconds":1790215494,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1289970"} 
[2026-09-24 07:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 07:36:36] 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-09-24 07: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-09-24 07:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295089408001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295089408001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:36:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:36:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295089408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":191141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:36:36] local.INFO: GPS data processed {"connection_id":191141,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:36:36] local.INFO: Acknowledgment sent {"connection_id":191141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:37:07] local.INFO: TCP Data received {"connection_id":191141,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:37:07] local.INFO: Processing buffer {"connection_id":191141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:37:07] local.INFO: Packet analysis {"connection_id":191141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d128"} 
[2026-09-24 07:37:07] local.INFO: Extracted packet for processing {"connection_id":191141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d128"} 
[2026-09-24 07:37:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295089408001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790215494000,"timestamp_ms":1790215494000,"timestamp_seconds":1790215494,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1289970"} 
[2026-09-24 07:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 07:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295089408001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295089408001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:37:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:37:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295089408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":191141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:37:07] local.INFO: GPS data processed {"connection_id":191141,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:37:07] local.INFO: Acknowledgment sent {"connection_id":191141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:37:29] local.INFO: TCP Data received {"connection_id":190936,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:37:29] local.INFO: Processing buffer {"connection_id":190936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:37:29] local.INFO: IMEI packet received {"connection_id":190936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":190936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:37:34] local.INFO: TCP Data received {"connection_id":190936,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:37:34] local.INFO: Processing buffer {"connection_id":190936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:37:34] local.INFO: IMEI packet received {"connection_id":190936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":190936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:37:35] local.INFO: TCP Data received {"connection_id":190936,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:37:35] local.INFO: Processing buffer {"connection_id":190936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:37:35] local.INFO: Packet analysis {"connection_id":190936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d128"} 
[2026-09-24 07:37:35] local.INFO: Extracted packet for processing {"connection_id":190936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d128"} 
[2026-09-24 07:37:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295089408001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790215494000,"timestamp_ms":1790215494000,"timestamp_seconds":1790215494,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1289970"} 
[2026-09-24 07:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 07:37:35] 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-09-24 07:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295089408001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295089408001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:37:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:37:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295089408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":190936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:37:35] local.INFO: GPS data processed {"connection_id":190936,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:37:35] local.INFO: Acknowledgment sent {"connection_id":190936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:38:07] local.INFO: TCP Data received {"connection_id":190936,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:38:07] local.INFO: Processing buffer {"connection_id":190936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:38:07] local.INFO: Packet analysis {"connection_id":190936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d128"} 
[2026-09-24 07:38:07] local.INFO: Extracted packet for processing {"connection_id":190936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d128"} 
[2026-09-24 07:38:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295089408001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790215494000,"timestamp_ms":1790215494000,"timestamp_seconds":1790215494,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1289970"} 
[2026-09-24 07:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 07:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295089408001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295089408001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:38:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:38:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295089408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":190936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:38:07] local.INFO: GPS data processed {"connection_id":190936,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:38:07] local.INFO: Acknowledgment sent {"connection_id":190936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:38:29] local.INFO: TCP Data received {"connection_id":190937,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:38:29] local.INFO: Processing buffer {"connection_id":190937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:38:29] local.INFO: IMEI packet received {"connection_id":190937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":190937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:38:34] local.INFO: TCP Data received {"connection_id":190937,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:38:34] local.INFO: Processing buffer {"connection_id":190937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:38:34] local.INFO: IMEI packet received {"connection_id":190937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":190937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:38:35] local.INFO: TCP Data received {"connection_id":190937,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:38:35] local.INFO: Processing buffer {"connection_id":190937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:38:35] local.INFO: Packet analysis {"connection_id":190937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d128"} 
[2026-09-24 07:38:35] local.INFO: Extracted packet for processing {"connection_id":190937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d128"} 
[2026-09-24 07:38:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295089408001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790215494000,"timestamp_ms":1790215494000,"timestamp_seconds":1790215494,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1289970"} 
[2026-09-24 07:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 07:38:35] 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-09-24 07: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-09-24 07:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295089408001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295089408001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:38:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:38:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295089408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":190937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:38:35] local.INFO: GPS data processed {"connection_id":190937,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:38:35] local.INFO: Acknowledgment sent {"connection_id":190937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:39:06] local.INFO: TCP Data received {"connection_id":190937,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:39:06] local.INFO: Processing buffer {"connection_id":190937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:39:06] local.INFO: Packet analysis {"connection_id":190937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d128"} 
[2026-09-24 07:39:06] local.INFO: Extracted packet for processing {"connection_id":190937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d128"} 
[2026-09-24 07:39:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295089408001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790215494000,"timestamp_ms":1790215494000,"timestamp_seconds":1790215494,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1289970"} 
[2026-09-24 07:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 07:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295089408001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295089408001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:39:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:39:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295089408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":190937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:39:06] local.INFO: GPS data processed {"connection_id":190937,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:39:06] local.INFO: Acknowledgment sent {"connection_id":190937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:39:29] local.INFO: TCP Data received {"connection_id":191142,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:39:29] local.INFO: Processing buffer {"connection_id":191142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:39:29] local.INFO: IMEI packet received {"connection_id":191142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":191142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:39:34] local.INFO: TCP Data received {"connection_id":191142,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:39:34] local.INFO: Processing buffer {"connection_id":191142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:39:34] local.INFO: IMEI packet received {"connection_id":191142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":191142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:39:35] local.INFO: TCP Data received {"connection_id":191142,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:39:35] local.INFO: Processing buffer {"connection_id":191142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:39:35] local.INFO: Packet analysis {"connection_id":191142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d128"} 
[2026-09-24 07:39:35] local.INFO: Extracted packet for processing {"connection_id":191142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d128"} 
[2026-09-24 07:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295089408001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790215494000,"timestamp_ms":1790215494000,"timestamp_seconds":1790215494,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1289970"} 
[2026-09-24 07:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 07:39:35] 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-09-24 07:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295089408001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295089408001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:39:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:39:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295089408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":191142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:39:35] local.INFO: GPS data processed {"connection_id":191142,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:39:35] local.INFO: Acknowledgment sent {"connection_id":191142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:40:06] local.INFO: TCP Data received {"connection_id":191142,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:40:06] local.INFO: Processing buffer {"connection_id":191142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1289970012d34c24006aa4930000901382b..."} 
[2026-09-24 07:40:06] local.INFO: Packet analysis {"connection_id":191142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d128"} 
[2026-09-24 07:40:06] local.INFO: Extracted packet for processing {"connection_id":191142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d128"} 
[2026-09-24 07:40:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295089408001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790215494000,"timestamp_ms":1790215494000,"timestamp_seconds":1790215494,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1289970"} 
[2026-09-24 07:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 07:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295089408001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295089408001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:40:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:40:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295089408001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":191142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:40:06] local.INFO: GPS data processed {"connection_id":191142,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:40:06] local.INFO: Acknowledgment sent {"connection_id":191142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:40:29] local.INFO: TCP Data received {"connection_id":192490,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:40:29] local.INFO: Processing buffer {"connection_id":192490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:40:29] local.INFO: IMEI packet received {"connection_id":192490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":192490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:40:33] local.INFO: TCP Data received {"connection_id":192490,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:40:33] local.INFO: Processing buffer {"connection_id":192490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:40:33] local.INFO: IMEI packet received {"connection_id":192490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":192490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:40:34] local.INFO: TCP Data received {"connection_id":192490,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:40:34] local.INFO: Processing buffer {"connection_id":192490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:40:34] local.INFO: IMEI packet received {"connection_id":192490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":192490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:40:35] local.INFO: TCP Data received {"connection_id":192490,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:40:35] local.INFO: Processing buffer {"connection_id":192490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:40:35] local.INFO: Packet analysis {"connection_id":192490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d12d"} 
[2026-09-24 07:40:35] local.INFO: Extracted packet for processing {"connection_id":192490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d12d"} 
[2026-09-24 07:40:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295166464001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790215795000,"timestamp_ms":1790215795000,"timestamp_seconds":1790215795,"priority":1,"record_length":96,"hex_timestamp":"000001a0d12d3138"} 
[2026-09-24 07:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 07:40:35] 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-09-24 07:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295166464001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295166464001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:40:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:40:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295166464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":192490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:40:35] local.INFO: GPS data processed {"connection_id":192490,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:40:35] local.INFO: Acknowledgment sent {"connection_id":192490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:40:40] local.INFO: TCP Data received {"connection_id":192490,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:40:40] local.INFO: Processing buffer {"connection_id":192490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:40:40] local.INFO: Packet analysis {"connection_id":192490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d12d"} 
[2026-09-24 07:40:40] local.INFO: Extracted packet for processing {"connection_id":192490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d12d"} 
[2026-09-24 07:40:40] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295166464001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790215795000,"timestamp_ms":1790215795000,"timestamp_seconds":1790215795,"priority":1,"record_length":96,"hex_timestamp":"000001a0d12d3138"} 
[2026-09-24 07:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 07:40:40] 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-09-24 07:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295166464001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295166464001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:40:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:40:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295166464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":192490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:40:40] local.INFO: GPS data processed {"connection_id":192490,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:40:40] local.INFO: Acknowledgment sent {"connection_id":192490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:41:11] local.INFO: TCP Data received {"connection_id":192490,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:41:11] local.INFO: Processing buffer {"connection_id":192490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:41:11] local.INFO: Packet analysis {"connection_id":192490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d12d"} 
[2026-09-24 07:41:11] local.INFO: Extracted packet for processing {"connection_id":192490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d12d"} 
[2026-09-24 07:41:11] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295166464001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790215795000,"timestamp_ms":1790215795000,"timestamp_seconds":1790215795,"priority":1,"record_length":96,"hex_timestamp":"000001a0d12d3138"} 
[2026-09-24 07:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 07:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295166464001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295166464001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:41:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:41:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295166464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":192490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:41:11] local.INFO: GPS data processed {"connection_id":192490,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:41:11] local.INFO: Acknowledgment sent {"connection_id":192490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:41:29] local.INFO: TCP Data received {"connection_id":190938,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:41:29] local.INFO: Processing buffer {"connection_id":190938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:41:29] local.INFO: IMEI packet received {"connection_id":190938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":190938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:41:34] local.INFO: TCP Data received {"connection_id":190938,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:41:34] local.INFO: Processing buffer {"connection_id":190938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:41:34] local.INFO: IMEI packet received {"connection_id":190938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":190938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:41:35] local.INFO: TCP Data received {"connection_id":190938,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:41:35] local.INFO: Processing buffer {"connection_id":190938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:41:35] local.INFO: Packet analysis {"connection_id":190938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d12d"} 
[2026-09-24 07:41:35] local.INFO: Extracted packet for processing {"connection_id":190938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d12d"} 
[2026-09-24 07:41:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295166464001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790215795000,"timestamp_ms":1790215795000,"timestamp_seconds":1790215795,"priority":1,"record_length":96,"hex_timestamp":"000001a0d12d3138"} 
[2026-09-24 07:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 07:41:35] 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-09-24 07:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295166464001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295166464001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:41:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:41:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295166464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":190938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:41:35] local.INFO: GPS data processed {"connection_id":190938,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:41:35] local.INFO: Acknowledgment sent {"connection_id":190938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:42:07] local.INFO: TCP Data received {"connection_id":190938,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:42:07] local.INFO: Processing buffer {"connection_id":190938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:42:07] local.INFO: Packet analysis {"connection_id":190938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d12d"} 
[2026-09-24 07:42:07] local.INFO: Extracted packet for processing {"connection_id":190938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d12d"} 
[2026-09-24 07:42:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295166464001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790215795000,"timestamp_ms":1790215795000,"timestamp_seconds":1790215795,"priority":1,"record_length":96,"hex_timestamp":"000001a0d12d3138"} 
[2026-09-24 07:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 07:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295166464001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295166464001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:42:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:42:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295166464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":190938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:42:07] local.INFO: GPS data processed {"connection_id":190938,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:42:07] local.INFO: Acknowledgment sent {"connection_id":190938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:42:29] local.INFO: TCP Data received {"connection_id":192491,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:42:29] local.INFO: Processing buffer {"connection_id":192491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:42:29] local.INFO: IMEI packet received {"connection_id":192491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":192491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:42:34] local.INFO: TCP Data received {"connection_id":192491,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:42:34] local.INFO: Processing buffer {"connection_id":192491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:42:34] local.INFO: IMEI packet received {"connection_id":192491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":192491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:42:35] local.INFO: TCP Data received {"connection_id":192491,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:42:35] local.INFO: Processing buffer {"connection_id":192491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:42:35] local.INFO: Packet analysis {"connection_id":192491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d12d"} 
[2026-09-24 07:42:35] local.INFO: Extracted packet for processing {"connection_id":192491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d12d"} 
[2026-09-24 07:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295166464001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790215795000,"timestamp_ms":1790215795000,"timestamp_seconds":1790215795,"priority":1,"record_length":96,"hex_timestamp":"000001a0d12d3138"} 
[2026-09-24 07:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 07:42:35] 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-09-24 07: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-09-24 07:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295166464001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295166464001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:42:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:42:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295166464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":192491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:42:35] local.INFO: GPS data processed {"connection_id":192491,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:42:35] local.INFO: Acknowledgment sent {"connection_id":192491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:43:06] local.INFO: TCP Data received {"connection_id":192491,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:43:06] local.INFO: Processing buffer {"connection_id":192491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:43:06] local.INFO: Packet analysis {"connection_id":192491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d12d"} 
[2026-09-24 07:43:06] local.INFO: Extracted packet for processing {"connection_id":192491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d12d"} 
[2026-09-24 07:43:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295166464001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790215795000,"timestamp_ms":1790215795000,"timestamp_seconds":1790215795,"priority":1,"record_length":96,"hex_timestamp":"000001a0d12d3138"} 
[2026-09-24 07:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 07:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295166464001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295166464001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:43:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:43:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295166464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":192491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:43:06] local.INFO: GPS data processed {"connection_id":192491,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:43:06] local.INFO: Acknowledgment sent {"connection_id":192491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:43:29] local.INFO: TCP Data received {"connection_id":190939,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:43:29] local.INFO: Processing buffer {"connection_id":190939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:43:29] local.INFO: IMEI packet received {"connection_id":190939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":190939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:43:34] local.INFO: TCP Data received {"connection_id":190939,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:43:34] local.INFO: Processing buffer {"connection_id":190939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:43:34] local.INFO: IMEI packet received {"connection_id":190939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":190939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:43:36] local.INFO: TCP Data received {"connection_id":190939,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:43:36] local.INFO: Processing buffer {"connection_id":190939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:43:36] local.INFO: Packet analysis {"connection_id":190939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d12d"} 
[2026-09-24 07:43:36] local.INFO: Extracted packet for processing {"connection_id":190939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d12d"} 
[2026-09-24 07:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295166464001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790215795000,"timestamp_ms":1790215795000,"timestamp_seconds":1790215795,"priority":1,"record_length":96,"hex_timestamp":"000001a0d12d3138"} 
[2026-09-24 07:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 07:43:36] 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-09-24 07:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295166464001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295166464001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:43:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:43:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295166464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":190939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:43:36] local.INFO: GPS data processed {"connection_id":190939,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:43:36] local.INFO: Acknowledgment sent {"connection_id":190939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:44:07] local.INFO: TCP Data received {"connection_id":190939,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:44:07] local.INFO: Processing buffer {"connection_id":190939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:44:07] local.INFO: Packet analysis {"connection_id":190939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d12d"} 
[2026-09-24 07:44:07] local.INFO: Extracted packet for processing {"connection_id":190939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d12d"} 
[2026-09-24 07:44:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295166464001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790215795000,"timestamp_ms":1790215795000,"timestamp_seconds":1790215795,"priority":1,"record_length":96,"hex_timestamp":"000001a0d12d3138"} 
[2026-09-24 07:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 07:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295166464001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295166464001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:44:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:44:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295166464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":190939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:44:07] local.INFO: GPS data processed {"connection_id":190939,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:44:07] local.INFO: Acknowledgment sent {"connection_id":190939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:44:29] local.INFO: TCP Data received {"connection_id":190940,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:44:29] local.INFO: Processing buffer {"connection_id":190940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:44:29] local.INFO: IMEI packet received {"connection_id":190940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":190940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:44:34] local.INFO: TCP Data received {"connection_id":190940,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:44:34] local.INFO: Processing buffer {"connection_id":190940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:44:34] local.INFO: IMEI packet received {"connection_id":190940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":190940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:44:35] local.INFO: TCP Data received {"connection_id":190940,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:44:35] local.INFO: Processing buffer {"connection_id":190940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:44:35] local.INFO: Packet analysis {"connection_id":190940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d12d"} 
[2026-09-24 07:44:35] local.INFO: Extracted packet for processing {"connection_id":190940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d12d"} 
[2026-09-24 07:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295166464001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790215795000,"timestamp_ms":1790215795000,"timestamp_seconds":1790215795,"priority":1,"record_length":96,"hex_timestamp":"000001a0d12d3138"} 
[2026-09-24 07:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 07:44:35] 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-09-24 07: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-09-24 07:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295166464001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295166464001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:44:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:44:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295166464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":190940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:44:35] local.INFO: GPS data processed {"connection_id":190940,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:44:35] local.INFO: Acknowledgment sent {"connection_id":190940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:45:06] local.INFO: TCP Data received {"connection_id":190940,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:45:06] local.INFO: Processing buffer {"connection_id":190940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d12d3138012d34c24006aa4930000901382c..."} 
[2026-09-24 07:45:06] local.INFO: Packet analysis {"connection_id":190940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d12d"} 
[2026-09-24 07:45:06] local.INFO: Extracted packet for processing {"connection_id":190940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d12d"} 
[2026-09-24 07:45:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295166464001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790215795000,"timestamp_ms":1790215795000,"timestamp_seconds":1790215795,"priority":1,"record_length":96,"hex_timestamp":"000001a0d12d3138"} 
[2026-09-24 07:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 07:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295166464001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295166464001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:45:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:45:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295166464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":190940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:45:06] local.INFO: GPS data processed {"connection_id":190940,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:45:06] local.INFO: Acknowledgment sent {"connection_id":190940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:45:29] local.INFO: TCP Data received {"connection_id":192492,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:45:29] local.INFO: Processing buffer {"connection_id":192492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:45:29] local.INFO: IMEI packet received {"connection_id":192492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":192492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:45:34] local.INFO: TCP Data received {"connection_id":192492,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:45:34] local.INFO: Processing buffer {"connection_id":192492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:45:34] local.INFO: IMEI packet received {"connection_id":192492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":192492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:45:36] local.INFO: TCP Data received {"connection_id":192492,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:45:36] local.INFO: Processing buffer {"connection_id":192492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:45:36] local.INFO: Packet analysis {"connection_id":192492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d131"} 
[2026-09-24 07:45:36] local.INFO: Extracted packet for processing {"connection_id":192492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d131"} 
[2026-09-24 07:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295243520001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790216096000,"timestamp_ms":1790216096000,"timestamp_seconds":1790216096,"priority":1,"record_length":96,"hex_timestamp":"000001a0d131c900"} 
[2026-09-24 07:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 07:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295243520001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295243520001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:45:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295243520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":192492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:45:36] local.INFO: GPS data processed {"connection_id":192492,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:45:36] local.INFO: Acknowledgment sent {"connection_id":192492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:46:07] local.INFO: TCP Data received {"connection_id":192492,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:46:07] local.INFO: Processing buffer {"connection_id":192492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:46:07] local.INFO: Packet analysis {"connection_id":192492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d131"} 
[2026-09-24 07:46:07] local.INFO: Extracted packet for processing {"connection_id":192492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d131"} 
[2026-09-24 07:46:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295243520001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790216096000,"timestamp_ms":1790216096000,"timestamp_seconds":1790216096,"priority":1,"record_length":96,"hex_timestamp":"000001a0d131c900"} 
[2026-09-24 07:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 07:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295243520001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295243520001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:46:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:46:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295243520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":192492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:46:07] local.INFO: GPS data processed {"connection_id":192492,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:46:07] local.INFO: Acknowledgment sent {"connection_id":192492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:46:29] local.INFO: TCP Data received {"connection_id":192493,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:46:29] local.INFO: Processing buffer {"connection_id":192493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:46:29] local.INFO: IMEI packet received {"connection_id":192493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":192493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:46:34] local.INFO: TCP Data received {"connection_id":192493,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:46:34] local.INFO: Processing buffer {"connection_id":192493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:46:34] local.INFO: IMEI packet received {"connection_id":192493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":192493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:46:35] local.INFO: TCP Data received {"connection_id":192493,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:46:35] local.INFO: Processing buffer {"connection_id":192493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:46:35] local.INFO: Packet analysis {"connection_id":192493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d131"} 
[2026-09-24 07:46:35] local.INFO: Extracted packet for processing {"connection_id":192493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d131"} 
[2026-09-24 07:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295243520001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790216096000,"timestamp_ms":1790216096000,"timestamp_seconds":1790216096,"priority":1,"record_length":96,"hex_timestamp":"000001a0d131c900"} 
[2026-09-24 07:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 07:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295243520001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295243520001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:46:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:46:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295243520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":192493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:46:35] local.INFO: GPS data processed {"connection_id":192493,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:46:35] local.INFO: Acknowledgment sent {"connection_id":192493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:47:07] local.INFO: TCP Data received {"connection_id":192493,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:47:07] local.INFO: Processing buffer {"connection_id":192493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:47:07] local.INFO: Packet analysis {"connection_id":192493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d131"} 
[2026-09-24 07:47:07] local.INFO: Extracted packet for processing {"connection_id":192493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d131"} 
[2026-09-24 07:47:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295243520001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790216096000,"timestamp_ms":1790216096000,"timestamp_seconds":1790216096,"priority":1,"record_length":96,"hex_timestamp":"000001a0d131c900"} 
[2026-09-24 07:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 07:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295243520001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295243520001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:47:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:47:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295243520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":192493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:47:07] local.INFO: GPS data processed {"connection_id":192493,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:47:07] local.INFO: Acknowledgment sent {"connection_id":192493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:47:29] local.INFO: TCP Data received {"connection_id":193817,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:47:29] local.INFO: Processing buffer {"connection_id":193817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:47:29] local.INFO: IMEI packet received {"connection_id":193817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":193817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:47:34] local.INFO: TCP Data received {"connection_id":193817,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:47:34] local.INFO: Processing buffer {"connection_id":193817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:47:34] local.INFO: IMEI packet received {"connection_id":193817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":193817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:47:35] local.INFO: TCP Data received {"connection_id":193817,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:47:35] local.INFO: Processing buffer {"connection_id":193817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:47:35] local.INFO: Packet analysis {"connection_id":193817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d131"} 
[2026-09-24 07:47:35] local.INFO: Extracted packet for processing {"connection_id":193817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d131"} 
[2026-09-24 07:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295243520001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790216096000,"timestamp_ms":1790216096000,"timestamp_seconds":1790216096,"priority":1,"record_length":96,"hex_timestamp":"000001a0d131c900"} 
[2026-09-24 07:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 07:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295243520001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295243520001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:47:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:47:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295243520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":193817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:47:35] local.INFO: GPS data processed {"connection_id":193817,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:47:35] local.INFO: Acknowledgment sent {"connection_id":193817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:48:07] local.INFO: TCP Data received {"connection_id":193817,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:48:07] local.INFO: Processing buffer {"connection_id":193817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:48:07] local.INFO: Packet analysis {"connection_id":193817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d131"} 
[2026-09-24 07:48:07] local.INFO: Extracted packet for processing {"connection_id":193817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d131"} 
[2026-09-24 07:48:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295243520001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790216096000,"timestamp_ms":1790216096000,"timestamp_seconds":1790216096,"priority":1,"record_length":96,"hex_timestamp":"000001a0d131c900"} 
[2026-09-24 07:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 07:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295243520001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295243520001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:48:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:48:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295243520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":193817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:48:07] local.INFO: GPS data processed {"connection_id":193817,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:48:07] local.INFO: Acknowledgment sent {"connection_id":193817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:48:30] local.INFO: TCP Data received {"connection_id":192494,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:48:30] local.INFO: Processing buffer {"connection_id":192494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:48:30] local.INFO: IMEI packet received {"connection_id":192494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":192494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:48:35] local.INFO: TCP Data received {"connection_id":192494,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:48:35] local.INFO: Processing buffer {"connection_id":192494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:48:35] local.INFO: IMEI packet received {"connection_id":192494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":192494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:48:36] local.INFO: TCP Data received {"connection_id":192494,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:48:36] local.INFO: Processing buffer {"connection_id":192494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:48:36] local.INFO: Packet analysis {"connection_id":192494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d131"} 
[2026-09-24 07:48:36] local.INFO: Extracted packet for processing {"connection_id":192494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d131"} 
[2026-09-24 07:48:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295243520001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790216096000,"timestamp_ms":1790216096000,"timestamp_seconds":1790216096,"priority":1,"record_length":96,"hex_timestamp":"000001a0d131c900"} 
[2026-09-24 07:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 07:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295243520001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295243520001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:48:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:48:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295243520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":192494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:48:36] local.INFO: GPS data processed {"connection_id":192494,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:48:36] local.INFO: Acknowledgment sent {"connection_id":192494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:49:09] local.INFO: TCP Data received {"connection_id":192494,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:49:09] local.INFO: Processing buffer {"connection_id":192494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:49:09] local.INFO: Packet analysis {"connection_id":192494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d131"} 
[2026-09-24 07:49:09] local.INFO: Extracted packet for processing {"connection_id":192494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d131"} 
[2026-09-24 07:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 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-09-24 07:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295243520001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790216096000,"timestamp_ms":1790216096000,"timestamp_seconds":1790216096,"priority":1,"record_length":96,"hex_timestamp":"000001a0d131c900"} 
[2026-09-24 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-09-24 07:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 07:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 07:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295243520001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295243520001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:49:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295243520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":192494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:49:09] local.INFO: GPS data processed {"connection_id":192494,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:49:09] local.INFO: Acknowledgment sent {"connection_id":192494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:49:29] local.INFO: TCP Data received {"connection_id":193818,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:49:29] local.INFO: Processing buffer {"connection_id":193818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:49:29] local.INFO: IMEI packet received {"connection_id":193818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":193818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:49:34] local.INFO: TCP Data received {"connection_id":193818,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:49:34] local.INFO: Processing buffer {"connection_id":193818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:49:34] local.INFO: IMEI packet received {"connection_id":193818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":193818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:49:35] local.INFO: TCP Data received {"connection_id":193818,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:49:35] local.INFO: Processing buffer {"connection_id":193818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:49:35] local.INFO: Packet analysis {"connection_id":193818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d131"} 
[2026-09-24 07:49:35] local.INFO: Extracted packet for processing {"connection_id":193818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d131"} 
[2026-09-24 07:49:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295243520001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790216096000,"timestamp_ms":1790216096000,"timestamp_seconds":1790216096,"priority":1,"record_length":96,"hex_timestamp":"000001a0d131c900"} 
[2026-09-24 07:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 07:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295243520001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295243520001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:49:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:49:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295243520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":193818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:49:35] local.INFO: GPS data processed {"connection_id":193818,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:49:35] local.INFO: Acknowledgment sent {"connection_id":193818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:50:06] local.INFO: TCP Data received {"connection_id":193818,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:50:06] local.INFO: Processing buffer {"connection_id":193818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:50:06] local.INFO: Packet analysis {"connection_id":193818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d131"} 
[2026-09-24 07:50:06] local.INFO: Extracted packet for processing {"connection_id":193818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d131"} 
[2026-09-24 07:50:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295243520001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790216096000,"timestamp_ms":1790216096000,"timestamp_seconds":1790216096,"priority":1,"record_length":96,"hex_timestamp":"000001a0d131c900"} 
[2026-09-24 07:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 07:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295243520001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295243520001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:50:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:50:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295243520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":193818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:50:06] local.INFO: GPS data processed {"connection_id":193818,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:50:06] local.INFO: Acknowledgment sent {"connection_id":193818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:50:29] local.INFO: TCP Data received {"connection_id":192495,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:50:29] local.INFO: Processing buffer {"connection_id":192495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:50:29] local.INFO: IMEI packet received {"connection_id":192495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":192495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:50:34] local.INFO: TCP Data received {"connection_id":192495,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:50:34] local.INFO: Processing buffer {"connection_id":192495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:50:34] local.INFO: IMEI packet received {"connection_id":192495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":192495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:50:35] local.INFO: TCP Data received {"connection_id":192495,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:50:35] local.INFO: Processing buffer {"connection_id":192495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d131c900012d34c24006aa4930000901382d..."} 
[2026-09-24 07:50:35] local.INFO: Packet analysis {"connection_id":192495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d131"} 
[2026-09-24 07:50:35] local.INFO: Extracted packet for processing {"connection_id":192495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d131"} 
[2026-09-24 07:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295243520001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790216096000,"timestamp_ms":1790216096000,"timestamp_seconds":1790216096,"priority":1,"record_length":96,"hex_timestamp":"000001a0d131c900"} 
[2026-09-24 07:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 07:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295243520001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295243520001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:50:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:50:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295243520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":192495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:50:35] local.INFO: GPS data processed {"connection_id":192495,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:50:35] local.INFO: Acknowledgment sent {"connection_id":192495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:51:06] local.INFO: TCP Data received {"connection_id":192495,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:51:06] local.INFO: Processing buffer {"connection_id":192495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:51:06] local.INFO: Packet analysis {"connection_id":192495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d136"} 
[2026-09-24 07:51:06] local.INFO: Extracted packet for processing {"connection_id":192495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d136"} 
[2026-09-24 07:51:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295320576001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790216397000,"timestamp_ms":1790216397000,"timestamp_seconds":1790216397,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13660c8"} 
[2026-09-24 07:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 07:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295320576001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295320576001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:51:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:51:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295320576001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":192495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:51:06] local.INFO: GPS data processed {"connection_id":192495,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:51:06] local.INFO: Acknowledgment sent {"connection_id":192495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:51:29] local.INFO: TCP Data received {"connection_id":191143,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:51:29] local.INFO: Processing buffer {"connection_id":191143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:51:29] local.INFO: IMEI packet received {"connection_id":191143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":191143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:51:34] local.INFO: TCP Data received {"connection_id":191143,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:51:34] local.INFO: Processing buffer {"connection_id":191143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:51:34] local.INFO: IMEI packet received {"connection_id":191143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":191143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:51:35] local.INFO: TCP Data received {"connection_id":191143,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:51:35] local.INFO: Processing buffer {"connection_id":191143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:51:35] local.INFO: Packet analysis {"connection_id":191143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d136"} 
[2026-09-24 07:51:35] local.INFO: Extracted packet for processing {"connection_id":191143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d136"} 
[2026-09-24 07:51:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295320576001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790216397000,"timestamp_ms":1790216397000,"timestamp_seconds":1790216397,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13660c8"} 
[2026-09-24 07:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 07:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295320576001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295320576001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:51:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:51:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295320576001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":191143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:51:35] local.INFO: GPS data processed {"connection_id":191143,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:51:35] local.INFO: Acknowledgment sent {"connection_id":191143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:52:07] local.INFO: TCP Data received {"connection_id":191143,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:52:07] local.INFO: Processing buffer {"connection_id":191143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:52:07] local.INFO: Packet analysis {"connection_id":191143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d136"} 
[2026-09-24 07:52:07] local.INFO: Extracted packet for processing {"connection_id":191143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d136"} 
[2026-09-24 07:52:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295320576001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790216397000,"timestamp_ms":1790216397000,"timestamp_seconds":1790216397,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13660c8"} 
[2026-09-24 07:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 07:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295320576001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295320576001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:52:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:52:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295320576001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":191143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:52:07] local.INFO: GPS data processed {"connection_id":191143,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:52:07] local.INFO: Acknowledgment sent {"connection_id":191143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:52:29] local.INFO: TCP Data received {"connection_id":190941,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:52:29] local.INFO: Processing buffer {"connection_id":190941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:52:29] local.INFO: IMEI packet received {"connection_id":190941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":190941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:52:34] local.INFO: TCP Data received {"connection_id":190941,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:52:34] local.INFO: Processing buffer {"connection_id":190941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:52:34] local.INFO: IMEI packet received {"connection_id":190941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":190941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:52:35] local.INFO: TCP Data received {"connection_id":190941,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:52:35] local.INFO: Processing buffer {"connection_id":190941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:52:35] local.INFO: Packet analysis {"connection_id":190941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d136"} 
[2026-09-24 07:52:35] local.INFO: Extracted packet for processing {"connection_id":190941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d136"} 
[2026-09-24 07:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295320576001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790216397000,"timestamp_ms":1790216397000,"timestamp_seconds":1790216397,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13660c8"} 
[2026-09-24 07:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 07:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295320576001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295320576001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:52:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:52:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295320576001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":190941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:52:35] local.INFO: GPS data processed {"connection_id":190941,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:52:35] local.INFO: Acknowledgment sent {"connection_id":190941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:53:07] local.INFO: TCP Data received {"connection_id":190941,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:53:07] local.INFO: Processing buffer {"connection_id":190941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:53:07] local.INFO: Packet analysis {"connection_id":190941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d136"} 
[2026-09-24 07:53:07] local.INFO: Extracted packet for processing {"connection_id":190941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d136"} 
[2026-09-24 07:53:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295320576001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790216397000,"timestamp_ms":1790216397000,"timestamp_seconds":1790216397,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13660c8"} 
[2026-09-24 07:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 07:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295320576001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295320576001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:53:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:53:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295320576001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":190941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:53:07] local.INFO: GPS data processed {"connection_id":190941,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:53:07] local.INFO: Acknowledgment sent {"connection_id":190941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:53:29] local.INFO: TCP Data received {"connection_id":193819,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:53:29] local.INFO: Processing buffer {"connection_id":193819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:53:29] local.INFO: IMEI packet received {"connection_id":193819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":193819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:53:34] local.INFO: TCP Data received {"connection_id":193819,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:53:34] local.INFO: Processing buffer {"connection_id":193819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:53:34] local.INFO: IMEI packet received {"connection_id":193819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":193819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:53:35] local.INFO: TCP Data received {"connection_id":193819,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:53:35] local.INFO: Processing buffer {"connection_id":193819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:53:35] local.INFO: Packet analysis {"connection_id":193819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d136"} 
[2026-09-24 07:53:35] local.INFO: Extracted packet for processing {"connection_id":193819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d136"} 
[2026-09-24 07:53:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295320576001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790216397000,"timestamp_ms":1790216397000,"timestamp_seconds":1790216397,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13660c8"} 
[2026-09-24 07:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 07:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295320576001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295320576001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:53:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:53:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295320576001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":193819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:53:35] local.INFO: GPS data processed {"connection_id":193819,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:53:35] local.INFO: Acknowledgment sent {"connection_id":193819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:54:07] local.INFO: TCP Data received {"connection_id":193819,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:54:07] local.INFO: Processing buffer {"connection_id":193819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:54:07] local.INFO: Packet analysis {"connection_id":193819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d136"} 
[2026-09-24 07:54:07] local.INFO: Extracted packet for processing {"connection_id":193819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d136"} 
[2026-09-24 07:54:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295320576001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790216397000,"timestamp_ms":1790216397000,"timestamp_seconds":1790216397,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13660c8"} 
[2026-09-24 07:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 07:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07: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-09-24 07:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295320576001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295320576001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:54:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:54:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295320576001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":193819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:54:07] local.INFO: GPS data processed {"connection_id":193819,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:54:07] local.INFO: Acknowledgment sent {"connection_id":193819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:54:29] local.INFO: TCP Data received {"connection_id":192496,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:54:29] local.INFO: Processing buffer {"connection_id":192496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:54:29] local.INFO: IMEI packet received {"connection_id":192496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":192496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:54:34] local.INFO: TCP Data received {"connection_id":192496,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:54:34] local.INFO: Processing buffer {"connection_id":192496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:54:34] local.INFO: IMEI packet received {"connection_id":192496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":192496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:54:35] local.INFO: TCP Data received {"connection_id":192496,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:54:35] local.INFO: Processing buffer {"connection_id":192496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:54:35] local.INFO: Packet analysis {"connection_id":192496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d136"} 
[2026-09-24 07:54:35] local.INFO: Extracted packet for processing {"connection_id":192496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d136"} 
[2026-09-24 07:54:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295320576001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790216397000,"timestamp_ms":1790216397000,"timestamp_seconds":1790216397,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13660c8"} 
[2026-09-24 07:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 07:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295320576001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295320576001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:54:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:54:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295320576001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":192496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:54:35] local.INFO: GPS data processed {"connection_id":192496,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:54:35] local.INFO: Acknowledgment sent {"connection_id":192496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:55:06] local.INFO: TCP Data received {"connection_id":192496,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:55:06] local.INFO: Processing buffer {"connection_id":192496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:55:06] local.INFO: Packet analysis {"connection_id":192496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d136"} 
[2026-09-24 07:55:06] local.INFO: Extracted packet for processing {"connection_id":192496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d136"} 
[2026-09-24 07:55:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295320576001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790216397000,"timestamp_ms":1790216397000,"timestamp_seconds":1790216397,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13660c8"} 
[2026-09-24 07:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 07:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295320576001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295320576001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:55:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:55:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295320576001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":192496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:55:06] local.INFO: GPS data processed {"connection_id":192496,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:55:06] local.INFO: Acknowledgment sent {"connection_id":192496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:55:29] local.INFO: TCP Data received {"connection_id":193820,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:55:29] local.INFO: Processing buffer {"connection_id":193820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:55:29] local.INFO: IMEI packet received {"connection_id":193820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":193820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:55:34] local.INFO: TCP Data received {"connection_id":193820,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:55:34] local.INFO: Processing buffer {"connection_id":193820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:55:34] local.INFO: IMEI packet received {"connection_id":193820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":193820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:55:35] local.INFO: TCP Data received {"connection_id":193820,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:55:35] local.INFO: Processing buffer {"connection_id":193820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13660c8012d34c24006aa4930000901382c..."} 
[2026-09-24 07:55:35] local.INFO: Packet analysis {"connection_id":193820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d136"} 
[2026-09-24 07:55:35] local.INFO: Extracted packet for processing {"connection_id":193820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d136"} 
[2026-09-24 07:55:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295320576001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790216397000,"timestamp_ms":1790216397000,"timestamp_seconds":1790216397,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13660c8"} 
[2026-09-24 07:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 07:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295320576001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295320576001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:55:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:55:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295320576001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":193820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:55:35] local.INFO: GPS data processed {"connection_id":193820,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:55:35] local.INFO: Acknowledgment sent {"connection_id":193820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:56:06] local.INFO: TCP Data received {"connection_id":193820,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:56:06] local.INFO: Processing buffer {"connection_id":193820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:56:06] local.INFO: Packet analysis {"connection_id":193820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d13a"} 
[2026-09-24 07:56:06] local.INFO: Extracted packet for processing {"connection_id":193820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d13a"} 
[2026-09-24 07:56:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295397632001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790216698000,"timestamp_ms":1790216698000,"timestamp_seconds":1790216698,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13af890"} 
[2026-09-24 07:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 07:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295397632001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295397632001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:56:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:56:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295397632001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":193820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:56:06] local.INFO: GPS data processed {"connection_id":193820,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:56:06] local.INFO: Acknowledgment sent {"connection_id":193820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:56:29] local.INFO: TCP Data received {"connection_id":190942,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:56:29] local.INFO: Processing buffer {"connection_id":190942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:56:29] local.INFO: IMEI packet received {"connection_id":190942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":190942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:56:34] local.INFO: TCP Data received {"connection_id":190942,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:56:34] local.INFO: Processing buffer {"connection_id":190942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:56:34] local.INFO: IMEI packet received {"connection_id":190942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":190942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:56:35] local.INFO: TCP Data received {"connection_id":190942,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:56:35] local.INFO: Processing buffer {"connection_id":190942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:56:35] local.INFO: Packet analysis {"connection_id":190942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d13a"} 
[2026-09-24 07:56:35] local.INFO: Extracted packet for processing {"connection_id":190942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d13a"} 
[2026-09-24 07:56:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295397632001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790216698000,"timestamp_ms":1790216698000,"timestamp_seconds":1790216698,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13af890"} 
[2026-09-24 07:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 07:56:35] 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-09-24 07:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295397632001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295397632001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:56:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:56:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295397632001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":190942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:56:35] local.INFO: GPS data processed {"connection_id":190942,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:56:35] local.INFO: Acknowledgment sent {"connection_id":190942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:57:06] local.INFO: TCP Data received {"connection_id":190942,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:57:06] local.INFO: Processing buffer {"connection_id":190942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:57:06] local.INFO: Packet analysis {"connection_id":190942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d13a"} 
[2026-09-24 07:57:06] local.INFO: Extracted packet for processing {"connection_id":190942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d13a"} 
[2026-09-24 07:57:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295397632001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790216698000,"timestamp_ms":1790216698000,"timestamp_seconds":1790216698,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13af890"} 
[2026-09-24 07:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 07:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295397632001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295397632001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:57:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:57:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295397632001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":190942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:57:06] local.INFO: GPS data processed {"connection_id":190942,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:57:06] local.INFO: Acknowledgment sent {"connection_id":190942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:57:29] local.INFO: TCP Data received {"connection_id":193821,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:57:29] local.INFO: Processing buffer {"connection_id":193821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:57:29] local.INFO: IMEI packet received {"connection_id":193821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":193821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:57:34] local.INFO: TCP Data received {"connection_id":193821,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:57:34] local.INFO: Processing buffer {"connection_id":193821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:57:34] local.INFO: IMEI packet received {"connection_id":193821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":193821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:57:35] local.INFO: TCP Data received {"connection_id":193821,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:57:35] local.INFO: Processing buffer {"connection_id":193821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:57:35] local.INFO: Packet analysis {"connection_id":193821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d13a"} 
[2026-09-24 07:57:35] local.INFO: Extracted packet for processing {"connection_id":193821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d13a"} 
[2026-09-24 07:57:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295397632001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790216698000,"timestamp_ms":1790216698000,"timestamp_seconds":1790216698,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13af890"} 
[2026-09-24 07:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 07:57:35] 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-09-24 07:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295397632001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295397632001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:57:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:57:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295397632001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":193821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:57:35] local.INFO: GPS data processed {"connection_id":193821,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:57:35] local.INFO: Acknowledgment sent {"connection_id":193821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:58:07] local.INFO: TCP Data received {"connection_id":193821,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:58:07] local.INFO: Processing buffer {"connection_id":193821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:58:07] local.INFO: Packet analysis {"connection_id":193821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d13a"} 
[2026-09-24 07:58:07] local.INFO: Extracted packet for processing {"connection_id":193821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d13a"} 
[2026-09-24 07:58:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295397632001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790216698000,"timestamp_ms":1790216698000,"timestamp_seconds":1790216698,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13af890"} 
[2026-09-24 07:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 07:58:07] 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-09-24 07:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295397632001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295397632001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:58:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:58:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295397632001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":193821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:58:07] local.INFO: GPS data processed {"connection_id":193821,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:58:07] local.INFO: Acknowledgment sent {"connection_id":193821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:58:29] local.INFO: TCP Data received {"connection_id":192497,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:58:29] local.INFO: Processing buffer {"connection_id":192497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:58:29] local.INFO: IMEI packet received {"connection_id":192497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":192497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:58:34] local.INFO: TCP Data received {"connection_id":192497,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:58:34] local.INFO: Processing buffer {"connection_id":192497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:58:34] local.INFO: IMEI packet received {"connection_id":192497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":192497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:58:35] local.INFO: TCP Data received {"connection_id":192497,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:58:35] local.INFO: Processing buffer {"connection_id":192497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:58:35] local.INFO: Packet analysis {"connection_id":192497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d13a"} 
[2026-09-24 07:58:35] local.INFO: Extracted packet for processing {"connection_id":192497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d13a"} 
[2026-09-24 07:58:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295397632001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790216698000,"timestamp_ms":1790216698000,"timestamp_seconds":1790216698,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13af890"} 
[2026-09-24 07:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 07:58:35] 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-09-24 07:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295397632001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295397632001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:58:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:58:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295397632001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":192497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:58:35] local.INFO: GPS data processed {"connection_id":192497,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:58:35] local.INFO: Acknowledgment sent {"connection_id":192497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:59:06] local.INFO: TCP Data received {"connection_id":192497,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:59:06] local.INFO: Processing buffer {"connection_id":192497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:59:06] local.INFO: Packet analysis {"connection_id":192497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d13a"} 
[2026-09-24 07:59:06] local.INFO: Extracted packet for processing {"connection_id":192497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d13a"} 
[2026-09-24 07:59:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 07:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295397632001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790216698000,"timestamp_ms":1790216698000,"timestamp_seconds":1790216698,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13af890"} 
[2026-09-24 07:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 07:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 07:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 07:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295397632001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295397632001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:59:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:59:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295397632001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":192497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:59:06] local.INFO: GPS data processed {"connection_id":192497,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:59:06] local.INFO: Acknowledgment sent {"connection_id":192497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 07:59:29] local.INFO: TCP Data received {"connection_id":191144,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:59:29] local.INFO: Processing buffer {"connection_id":191144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:59:29] local.INFO: IMEI packet received {"connection_id":191144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 07:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":191144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 07:59:34] local.INFO: TCP Data received {"connection_id":191144,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:59:34] local.INFO: Processing buffer {"connection_id":191144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 07:59:34] local.INFO: IMEI packet received {"connection_id":191144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 07:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":191144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 07:59:35] local.INFO: TCP Data received {"connection_id":191144,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:59:35] local.INFO: Processing buffer {"connection_id":191144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 07:59:35] local.INFO: Packet analysis {"connection_id":191144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d13a"} 
[2026-09-24 07:59:35] local.INFO: Extracted packet for processing {"connection_id":191144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d13a"} 
[2026-09-24 07:59:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 07: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-09-24 07:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295397632001,"note":"Value kept but may cause issues"} 
[2026-09-24 07:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 07:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 07:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 07:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790216698000,"timestamp_ms":1790216698000,"timestamp_seconds":1790216698,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13af890"} 
[2026-09-24 07:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 07:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 07:59:35] 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-09-24 07: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-09-24 07:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 07:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 07:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 07:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 07:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 07:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 07:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 07:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295397632001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 07:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 07:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 07:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295397632001,"description":"Unknown IO ID 0"} 
[2026-09-24 07:59:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 07:59:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 07:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 07:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 07:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295397632001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 07:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":191144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 07:59:35] local.INFO: GPS data processed {"connection_id":191144,"processed":1,"errors":0,"total":1} 
[2026-09-24 07:59:35] local.INFO: Acknowledgment sent {"connection_id":191144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:00:06] local.INFO: TCP Data received {"connection_id":191144,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 08:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 08:00:06] local.INFO: Processing buffer {"connection_id":191144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 08:00:06] local.INFO: Packet analysis {"connection_id":191144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d13a"} 
[2026-09-24 08:00:06] local.INFO: Extracted packet for processing {"connection_id":191144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d13a"} 
[2026-09-24 08:00:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295397632001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790216698000,"timestamp_ms":1790216698000,"timestamp_seconds":1790216698,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13af890"} 
[2026-09-24 08:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 08:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295397632001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295397632001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:00:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:00:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295397632001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":191144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:00:06] local.INFO: GPS data processed {"connection_id":191144,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:00:06] local.INFO: Acknowledgment sent {"connection_id":191144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:00:29] local.INFO: TCP Data received {"connection_id":193822,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:00:29] local.INFO: Processing buffer {"connection_id":193822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:00:29] local.INFO: IMEI packet received {"connection_id":193822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":193822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:00:34] local.INFO: TCP Data received {"connection_id":193822,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:00:34] local.INFO: Processing buffer {"connection_id":193822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:00:34] local.INFO: IMEI packet received {"connection_id":193822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":193822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:00:35] local.INFO: TCP Data received {"connection_id":193822,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 08:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 08:00:35] local.INFO: Processing buffer {"connection_id":193822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13af890012d34c24006aa4930000901382f..."} 
[2026-09-24 08:00:35] local.INFO: Packet analysis {"connection_id":193822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d13a"} 
[2026-09-24 08:00:35] local.INFO: Extracted packet for processing {"connection_id":193822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d13a"} 
[2026-09-24 08:00:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":47,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295397632001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790216698000,"timestamp_ms":1790216698000,"timestamp_seconds":1790216698,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13af890"} 
[2026-09-24 08:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 08:00:35] 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-09-24 08:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295397632001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295397632001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:00:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:00:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295397632001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":193822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:00:35] local.INFO: GPS data processed {"connection_id":193822,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:00:35] local.INFO: Acknowledgment sent {"connection_id":193822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:01:06] local.INFO: TCP Data received {"connection_id":193822,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:01:06] local.INFO: Processing buffer {"connection_id":193822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:01:06] local.INFO: Packet analysis {"connection_id":193822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d13f"} 
[2026-09-24 08:01:06] local.INFO: Extracted packet for processing {"connection_id":193822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d13f"} 
[2026-09-24 08:01:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295474688001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790216999000,"timestamp_ms":1790216999000,"timestamp_seconds":1790216999,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13f9058"} 
[2026-09-24 08:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295474688001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295474688001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:01:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:01:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295474688001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":193822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:01:06] local.INFO: GPS data processed {"connection_id":193822,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:01:06] local.INFO: Acknowledgment sent {"connection_id":193822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:01:29] local.INFO: TCP Data received {"connection_id":193823,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:01:29] local.INFO: Processing buffer {"connection_id":193823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:01:29] local.INFO: IMEI packet received {"connection_id":193823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":193823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:01:34] local.INFO: TCP Data received {"connection_id":193823,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:01:34] local.INFO: Processing buffer {"connection_id":193823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:01:34] local.INFO: IMEI packet received {"connection_id":193823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":193823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:01:35] local.INFO: TCP Data received {"connection_id":193823,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:01:35] local.INFO: Processing buffer {"connection_id":193823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:01:35] local.INFO: Packet analysis {"connection_id":193823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d13f"} 
[2026-09-24 08:01:35] local.INFO: Extracted packet for processing {"connection_id":193823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d13f"} 
[2026-09-24 08:01:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295474688001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790216999000,"timestamp_ms":1790216999000,"timestamp_seconds":1790216999,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13f9058"} 
[2026-09-24 08:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:01:35] 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-09-24 08:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295474688001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295474688001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:01:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:01:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295474688001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":193823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:01:35] local.INFO: GPS data processed {"connection_id":193823,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:01:35] local.INFO: Acknowledgment sent {"connection_id":193823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:02:07] local.INFO: TCP Data received {"connection_id":193823,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:02:07] local.INFO: Processing buffer {"connection_id":193823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:02:07] local.INFO: Packet analysis {"connection_id":193823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d13f"} 
[2026-09-24 08:02:07] local.INFO: Extracted packet for processing {"connection_id":193823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d13f"} 
[2026-09-24 08:02:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295474688001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790216999000,"timestamp_ms":1790216999000,"timestamp_seconds":1790216999,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13f9058"} 
[2026-09-24 08:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295474688001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295474688001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:02:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:02:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295474688001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":193823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:02:07] local.INFO: GPS data processed {"connection_id":193823,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:02:07] local.INFO: Acknowledgment sent {"connection_id":193823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:02:29] local.INFO: TCP Data received {"connection_id":193824,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:02:29] local.INFO: Processing buffer {"connection_id":193824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:02:29] local.INFO: IMEI packet received {"connection_id":193824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":193824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:02:34] local.INFO: TCP Data received {"connection_id":193824,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:02:34] local.INFO: Processing buffer {"connection_id":193824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:02:34] local.INFO: IMEI packet received {"connection_id":193824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":193824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:02:36] local.INFO: TCP Data received {"connection_id":193824,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:02:36] local.INFO: Processing buffer {"connection_id":193824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:02:36] local.INFO: Packet analysis {"connection_id":193824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d13f"} 
[2026-09-24 08:02:36] local.INFO: Extracted packet for processing {"connection_id":193824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d13f"} 
[2026-09-24 08:02:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295474688001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790216999000,"timestamp_ms":1790216999000,"timestamp_seconds":1790216999,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13f9058"} 
[2026-09-24 08:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295474688001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295474688001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:02:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:02:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295474688001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":193824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:02:36] local.INFO: GPS data processed {"connection_id":193824,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:02:36] local.INFO: Acknowledgment sent {"connection_id":193824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:03:07] local.INFO: TCP Data received {"connection_id":193824,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:03:07] local.INFO: Processing buffer {"connection_id":193824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:03:07] local.INFO: Packet analysis {"connection_id":193824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d13f"} 
[2026-09-24 08:03:07] local.INFO: Extracted packet for processing {"connection_id":193824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d13f"} 
[2026-09-24 08:03:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295474688001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790216999000,"timestamp_ms":1790216999000,"timestamp_seconds":1790216999,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13f9058"} 
[2026-09-24 08:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295474688001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295474688001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:03:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:03:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295474688001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":193824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:03:07] local.INFO: GPS data processed {"connection_id":193824,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:03:07] local.INFO: Acknowledgment sent {"connection_id":193824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:03:29] local.INFO: TCP Data received {"connection_id":192498,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:03:29] local.INFO: Processing buffer {"connection_id":192498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:03:29] local.INFO: IMEI packet received {"connection_id":192498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":192498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:03:34] local.INFO: TCP Data received {"connection_id":192498,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:03:34] local.INFO: Processing buffer {"connection_id":192498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:03:34] local.INFO: IMEI packet received {"connection_id":192498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":192498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:03:35] local.INFO: TCP Data received {"connection_id":192498,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:03:35] local.INFO: Processing buffer {"connection_id":192498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:03:35] local.INFO: Packet analysis {"connection_id":192498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d13f"} 
[2026-09-24 08:03:35] local.INFO: Extracted packet for processing {"connection_id":192498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d13f"} 
[2026-09-24 08:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295474688001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790216999000,"timestamp_ms":1790216999000,"timestamp_seconds":1790216999,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13f9058"} 
[2026-09-24 08:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:03:35] 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-09-24 08: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-09-24 08:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295474688001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295474688001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:03:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:03:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295474688001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":192498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:03:35] local.INFO: GPS data processed {"connection_id":192498,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:03:35] local.INFO: Acknowledgment sent {"connection_id":192498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:04:06] local.INFO: TCP Data received {"connection_id":192498,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:04:06] local.INFO: Processing buffer {"connection_id":192498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:04:06] local.INFO: Packet analysis {"connection_id":192498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d13f"} 
[2026-09-24 08:04:06] local.INFO: Extracted packet for processing {"connection_id":192498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d13f"} 
[2026-09-24 08:04:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295474688001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790216999000,"timestamp_ms":1790216999000,"timestamp_seconds":1790216999,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13f9058"} 
[2026-09-24 08:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295474688001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295474688001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:04:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:04:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295474688001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":192498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:04:06] local.INFO: GPS data processed {"connection_id":192498,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:04:06] local.INFO: Acknowledgment sent {"connection_id":192498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:04:29] local.INFO: TCP Data received {"connection_id":192499,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:04:29] local.INFO: Processing buffer {"connection_id":192499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:04:29] local.INFO: IMEI packet received {"connection_id":192499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":192499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:04:34] local.INFO: TCP Data received {"connection_id":192499,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:04:34] local.INFO: Processing buffer {"connection_id":192499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:04:34] local.INFO: IMEI packet received {"connection_id":192499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":192499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:04:35] local.INFO: TCP Data received {"connection_id":192499,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:04:35] local.INFO: Processing buffer {"connection_id":192499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:04:35] local.INFO: Packet analysis {"connection_id":192499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d13f"} 
[2026-09-24 08:04:35] local.INFO: Extracted packet for processing {"connection_id":192499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d13f"} 
[2026-09-24 08:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295474688001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790216999000,"timestamp_ms":1790216999000,"timestamp_seconds":1790216999,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13f9058"} 
[2026-09-24 08:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:04:35] 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-09-24 08:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295474688001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295474688001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:04:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:04:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295474688001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":192499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:04:35] local.INFO: GPS data processed {"connection_id":192499,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:04:35] local.INFO: Acknowledgment sent {"connection_id":192499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:05:06] local.INFO: TCP Data received {"connection_id":192499,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:05:06] local.INFO: Processing buffer {"connection_id":192499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:05:06] local.INFO: Packet analysis {"connection_id":192499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d13f"} 
[2026-09-24 08:05:06] local.INFO: Extracted packet for processing {"connection_id":192499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d13f"} 
[2026-09-24 08:05:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295474688001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790216999000,"timestamp_ms":1790216999000,"timestamp_seconds":1790216999,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13f9058"} 
[2026-09-24 08:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295474688001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295474688001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:05:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:05:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295474688001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":192499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:05:06] local.INFO: GPS data processed {"connection_id":192499,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:05:06] local.INFO: Acknowledgment sent {"connection_id":192499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:05:29] local.INFO: TCP Data received {"connection_id":191145,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:05:29] local.INFO: Processing buffer {"connection_id":191145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:05:29] local.INFO: IMEI packet received {"connection_id":191145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":191145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:05:34] local.INFO: TCP Data received {"connection_id":191145,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:05:34] local.INFO: Processing buffer {"connection_id":191145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:05:34] local.INFO: IMEI packet received {"connection_id":191145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":191145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:05:35] local.INFO: TCP Data received {"connection_id":191145,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:05:35] local.INFO: Processing buffer {"connection_id":191145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d13f9058012d34c24006aa4930000901382e..."} 
[2026-09-24 08:05:35] local.INFO: Packet analysis {"connection_id":191145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d13f"} 
[2026-09-24 08:05:35] local.INFO: Extracted packet for processing {"connection_id":191145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d13f"} 
[2026-09-24 08:05:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295474688001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790216999000,"timestamp_ms":1790216999000,"timestamp_seconds":1790216999,"priority":1,"record_length":96,"hex_timestamp":"000001a0d13f9058"} 
[2026-09-24 08:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:05:35] 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-09-24 08:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295474688001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295474688001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:05:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:05:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295474688001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":191145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:05:35] local.INFO: GPS data processed {"connection_id":191145,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:05:35] local.INFO: Acknowledgment sent {"connection_id":191145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:06:06] local.INFO: TCP Data received {"connection_id":191145,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:06:06] local.INFO: Processing buffer {"connection_id":191145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:06:06] local.INFO: Packet analysis {"connection_id":191145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d144"} 
[2026-09-24 08:06:06] local.INFO: Extracted packet for processing {"connection_id":191145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d144"} 
[2026-09-24 08:06:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295551744001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790217300000,"timestamp_ms":1790217300000,"timestamp_seconds":1790217300,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1442820"} 
[2026-09-24 08:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295551744001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295551744001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:06:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:06:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295551744001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":191145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:06:06] local.INFO: GPS data processed {"connection_id":191145,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:06:06] local.INFO: Acknowledgment sent {"connection_id":191145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:06:30] local.INFO: TCP Data received {"connection_id":192500,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:06:30] local.INFO: Processing buffer {"connection_id":192500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:06:30] local.INFO: IMEI packet received {"connection_id":192500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":192500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:06:34] local.INFO: TCP Data received {"connection_id":192500,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:06:34] local.INFO: Processing buffer {"connection_id":192500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:06:34] local.INFO: IMEI packet received {"connection_id":192500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":192500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:06:35] local.INFO: TCP Data received {"connection_id":192500,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:06:35] local.INFO: Processing buffer {"connection_id":192500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:06:35] local.INFO: Packet analysis {"connection_id":192500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d144"} 
[2026-09-24 08:06:35] local.INFO: Extracted packet for processing {"connection_id":192500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d144"} 
[2026-09-24 08:06:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295551744001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790217300000,"timestamp_ms":1790217300000,"timestamp_seconds":1790217300,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1442820"} 
[2026-09-24 08:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295551744001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295551744001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:06:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:06:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295551744001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":192500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:06:35] local.INFO: GPS data processed {"connection_id":192500,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:06:35] local.INFO: Acknowledgment sent {"connection_id":192500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:07:07] local.INFO: TCP Data received {"connection_id":192500,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:07:07] local.INFO: Processing buffer {"connection_id":192500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:07:07] local.INFO: Packet analysis {"connection_id":192500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d144"} 
[2026-09-24 08:07:07] local.INFO: Extracted packet for processing {"connection_id":192500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d144"} 
[2026-09-24 08:07:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295551744001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790217300000,"timestamp_ms":1790217300000,"timestamp_seconds":1790217300,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1442820"} 
[2026-09-24 08:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295551744001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295551744001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:07:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:07:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295551744001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":192500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:07:07] local.INFO: GPS data processed {"connection_id":192500,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:07:07] local.INFO: Acknowledgment sent {"connection_id":192500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:07:29] local.INFO: TCP Data received {"connection_id":192501,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:07:29] local.INFO: Processing buffer {"connection_id":192501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:07:29] local.INFO: IMEI packet received {"connection_id":192501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":192501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:07:34] local.INFO: TCP Data received {"connection_id":192501,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:07:34] local.INFO: Processing buffer {"connection_id":192501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:07:34] local.INFO: IMEI packet received {"connection_id":192501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":192501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:07:35] local.INFO: TCP Data received {"connection_id":192501,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:07:35] local.INFO: Processing buffer {"connection_id":192501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:07:35] local.INFO: Packet analysis {"connection_id":192501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d144"} 
[2026-09-24 08:07:35] local.INFO: Extracted packet for processing {"connection_id":192501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d144"} 
[2026-09-24 08:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295551744001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790217300000,"timestamp_ms":1790217300000,"timestamp_seconds":1790217300,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1442820"} 
[2026-09-24 08:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295551744001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295551744001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:07:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:07:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295551744001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":192501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:07:35] local.INFO: GPS data processed {"connection_id":192501,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:07:35] local.INFO: Acknowledgment sent {"connection_id":192501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:08:06] local.INFO: TCP Data received {"connection_id":192501,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:08:06] local.INFO: Processing buffer {"connection_id":192501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:08:06] local.INFO: Packet analysis {"connection_id":192501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d144"} 
[2026-09-24 08:08:06] local.INFO: Extracted packet for processing {"connection_id":192501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d144"} 
[2026-09-24 08:08:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295551744001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790217300000,"timestamp_ms":1790217300000,"timestamp_seconds":1790217300,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1442820"} 
[2026-09-24 08:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295551744001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295551744001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:08:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:08:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295551744001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":192501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:08:06] local.INFO: GPS data processed {"connection_id":192501,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:08:06] local.INFO: Acknowledgment sent {"connection_id":192501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:08:29] local.INFO: TCP Data received {"connection_id":192502,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:08:29] local.INFO: Processing buffer {"connection_id":192502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:08:29] local.INFO: IMEI packet received {"connection_id":192502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":192502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:08:34] local.INFO: TCP Data received {"connection_id":192502,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:08:34] local.INFO: Processing buffer {"connection_id":192502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:08:34] local.INFO: IMEI packet received {"connection_id":192502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":192502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:08:35] local.INFO: TCP Data received {"connection_id":192502,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:08:35] local.INFO: Processing buffer {"connection_id":192502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:08:35] local.INFO: Packet analysis {"connection_id":192502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d144"} 
[2026-09-24 08:08:35] local.INFO: Extracted packet for processing {"connection_id":192502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d144"} 
[2026-09-24 08:08:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295551744001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790217300000,"timestamp_ms":1790217300000,"timestamp_seconds":1790217300,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1442820"} 
[2026-09-24 08:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295551744001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295551744001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:08:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:08:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295551744001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":192502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:08:35] local.INFO: GPS data processed {"connection_id":192502,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:08:35] local.INFO: Acknowledgment sent {"connection_id":192502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:09:07] local.INFO: TCP Data received {"connection_id":192502,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:09:07] local.INFO: Processing buffer {"connection_id":192502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:09:07] local.INFO: Packet analysis {"connection_id":192502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d144"} 
[2026-09-24 08:09:07] local.INFO: Extracted packet for processing {"connection_id":192502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d144"} 
[2026-09-24 08:09:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295551744001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790217300000,"timestamp_ms":1790217300000,"timestamp_seconds":1790217300,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1442820"} 
[2026-09-24 08:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295551744001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295551744001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:09:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:09:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295551744001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":192502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:09:07] local.INFO: GPS data processed {"connection_id":192502,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:09:07] local.INFO: Acknowledgment sent {"connection_id":192502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:09:29] local.INFO: TCP Data received {"connection_id":192503,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:09:29] local.INFO: Processing buffer {"connection_id":192503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:09:29] local.INFO: IMEI packet received {"connection_id":192503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":192503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:09:34] local.INFO: TCP Data received {"connection_id":192503,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:09:34] local.INFO: Processing buffer {"connection_id":192503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:09:34] local.INFO: IMEI packet received {"connection_id":192503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":192503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:09:35] local.INFO: TCP Data received {"connection_id":192503,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:09:35] local.INFO: Processing buffer {"connection_id":192503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:09:35] local.INFO: Packet analysis {"connection_id":192503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d144"} 
[2026-09-24 08:09:35] local.INFO: Extracted packet for processing {"connection_id":192503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d144"} 
[2026-09-24 08:09:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295551744001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790217300000,"timestamp_ms":1790217300000,"timestamp_seconds":1790217300,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1442820"} 
[2026-09-24 08:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295551744001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295551744001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:09:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:09:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295551744001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":192503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:09:35] local.INFO: GPS data processed {"connection_id":192503,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:09:35] local.INFO: Acknowledgment sent {"connection_id":192503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:10:06] local.INFO: TCP Data received {"connection_id":192503,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:10:06] local.INFO: Processing buffer {"connection_id":192503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:10:06] local.INFO: Packet analysis {"connection_id":192503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d144"} 
[2026-09-24 08:10:06] local.INFO: Extracted packet for processing {"connection_id":192503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d144"} 
[2026-09-24 08:10:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295551744001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790217300000,"timestamp_ms":1790217300000,"timestamp_seconds":1790217300,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1442820"} 
[2026-09-24 08:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295551744001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295551744001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:10:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:10:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295551744001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":192503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:10:06] local.INFO: GPS data processed {"connection_id":192503,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:10:06] local.INFO: Acknowledgment sent {"connection_id":192503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:10:29] local.INFO: TCP Data received {"connection_id":193825,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:10:29] local.INFO: Processing buffer {"connection_id":193825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:10:29] local.INFO: IMEI packet received {"connection_id":193825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":193825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:10:34] local.INFO: TCP Data received {"connection_id":193825,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:10:34] local.INFO: Processing buffer {"connection_id":193825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:10:34] local.INFO: IMEI packet received {"connection_id":193825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":193825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:10:35] local.INFO: TCP Data received {"connection_id":193825,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:10:35] local.INFO: Processing buffer {"connection_id":193825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1442820012d34c24006aa4930000901382d..."} 
[2026-09-24 08:10:35] local.INFO: Packet analysis {"connection_id":193825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d144"} 
[2026-09-24 08:10:35] local.INFO: Extracted packet for processing {"connection_id":193825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d144"} 
[2026-09-24 08:10:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295551744001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790217300000,"timestamp_ms":1790217300000,"timestamp_seconds":1790217300,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1442820"} 
[2026-09-24 08:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295551744001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295551744001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:10:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:10:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295551744001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":193825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:10:35] local.INFO: GPS data processed {"connection_id":193825,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:10:35] local.INFO: Acknowledgment sent {"connection_id":193825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:11:06] local.INFO: TCP Data received {"connection_id":193825,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:11:06] local.INFO: Processing buffer {"connection_id":193825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:11:06] local.INFO: Packet analysis {"connection_id":193825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d148"} 
[2026-09-24 08:11:06] local.INFO: Extracted packet for processing {"connection_id":193825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d148"} 
[2026-09-24 08:11:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295628800001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790217601000,"timestamp_ms":1790217601000,"timestamp_seconds":1790217601,"priority":1,"record_length":96,"hex_timestamp":"000001a0d148bfe8"} 
[2026-09-24 08:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 08:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295628800001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295628800001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:11:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:11:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295628800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":193825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:11:06] local.INFO: GPS data processed {"connection_id":193825,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:11:06] local.INFO: Acknowledgment sent {"connection_id":193825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:11:29] local.INFO: TCP Data received {"connection_id":192504,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:11:29] local.INFO: Processing buffer {"connection_id":192504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:11:29] local.INFO: IMEI packet received {"connection_id":192504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":192504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:11:34] local.INFO: TCP Data received {"connection_id":192504,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:11:34] local.INFO: Processing buffer {"connection_id":192504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:11:34] local.INFO: IMEI packet received {"connection_id":192504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":192504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:11:35] local.INFO: TCP Data received {"connection_id":192504,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:11:35] local.INFO: Processing buffer {"connection_id":192504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:11:35] local.INFO: Packet analysis {"connection_id":192504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d148"} 
[2026-09-24 08:11:35] local.INFO: Extracted packet for processing {"connection_id":192504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d148"} 
[2026-09-24 08:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295628800001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790217601000,"timestamp_ms":1790217601000,"timestamp_seconds":1790217601,"priority":1,"record_length":96,"hex_timestamp":"000001a0d148bfe8"} 
[2026-09-24 08:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 08:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295628800001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295628800001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:11:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:11:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295628800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":192504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:11:35] local.INFO: GPS data processed {"connection_id":192504,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:11:35] local.INFO: Acknowledgment sent {"connection_id":192504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:12:06] local.INFO: TCP Data received {"connection_id":192504,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:12:06] local.INFO: Processing buffer {"connection_id":192504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:12:06] local.INFO: Packet analysis {"connection_id":192504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d148"} 
[2026-09-24 08:12:06] local.INFO: Extracted packet for processing {"connection_id":192504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d148"} 
[2026-09-24 08:12:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295628800001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790217601000,"timestamp_ms":1790217601000,"timestamp_seconds":1790217601,"priority":1,"record_length":96,"hex_timestamp":"000001a0d148bfe8"} 
[2026-09-24 08:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 08:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295628800001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295628800001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:12:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:12:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295628800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":192504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:12:06] local.INFO: GPS data processed {"connection_id":192504,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:12:06] local.INFO: Acknowledgment sent {"connection_id":192504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:12:29] local.INFO: TCP Data received {"connection_id":191146,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:12:29] local.INFO: Processing buffer {"connection_id":191146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:12:29] local.INFO: IMEI packet received {"connection_id":191146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":191146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:12:34] local.INFO: TCP Data received {"connection_id":191146,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:12:34] local.INFO: Processing buffer {"connection_id":191146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:12:34] local.INFO: IMEI packet received {"connection_id":191146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":191146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:12:36] local.INFO: TCP Data received {"connection_id":191146,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:12:36] local.INFO: Processing buffer {"connection_id":191146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:12:36] local.INFO: Packet analysis {"connection_id":191146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d148"} 
[2026-09-24 08:12:36] local.INFO: Extracted packet for processing {"connection_id":191146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d148"} 
[2026-09-24 08:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295628800001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790217601000,"timestamp_ms":1790217601000,"timestamp_seconds":1790217601,"priority":1,"record_length":96,"hex_timestamp":"000001a0d148bfe8"} 
[2026-09-24 08:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 08:12:36] 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-09-24 08:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295628800001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295628800001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:12:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:12:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295628800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":191146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:12:36] local.INFO: GPS data processed {"connection_id":191146,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:12:36] local.INFO: Acknowledgment sent {"connection_id":191146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:13:07] local.INFO: TCP Data received {"connection_id":191146,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:13:07] local.INFO: Processing buffer {"connection_id":191146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:13:07] local.INFO: Packet analysis {"connection_id":191146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d148"} 
[2026-09-24 08:13:07] local.INFO: Extracted packet for processing {"connection_id":191146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d148"} 
[2026-09-24 08:13:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295628800001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790217601000,"timestamp_ms":1790217601000,"timestamp_seconds":1790217601,"priority":1,"record_length":96,"hex_timestamp":"000001a0d148bfe8"} 
[2026-09-24 08:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 08:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295628800001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295628800001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:13:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:13:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295628800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":191146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:13:07] local.INFO: GPS data processed {"connection_id":191146,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:13:07] local.INFO: Acknowledgment sent {"connection_id":191146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:13:29] local.INFO: TCP Data received {"connection_id":192505,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:13:29] local.INFO: Processing buffer {"connection_id":192505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:13:29] local.INFO: IMEI packet received {"connection_id":192505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":192505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:13:34] local.INFO: TCP Data received {"connection_id":192505,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:13:34] local.INFO: Processing buffer {"connection_id":192505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:13:34] local.INFO: IMEI packet received {"connection_id":192505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":192505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:13:35] local.INFO: TCP Data received {"connection_id":192505,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:13:35] local.INFO: Processing buffer {"connection_id":192505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:13:35] local.INFO: Packet analysis {"connection_id":192505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d148"} 
[2026-09-24 08:13:35] local.INFO: Extracted packet for processing {"connection_id":192505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d148"} 
[2026-09-24 08:13:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295628800001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790217601000,"timestamp_ms":1790217601000,"timestamp_seconds":1790217601,"priority":1,"record_length":96,"hex_timestamp":"000001a0d148bfe8"} 
[2026-09-24 08:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 08:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295628800001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295628800001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:13:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:13:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295628800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":192505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:13:35] local.INFO: GPS data processed {"connection_id":192505,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:13:35] local.INFO: Acknowledgment sent {"connection_id":192505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:14:07] local.INFO: TCP Data received {"connection_id":192505,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:14:07] local.INFO: Processing buffer {"connection_id":192505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:14:07] local.INFO: Packet analysis {"connection_id":192505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d148"} 
[2026-09-24 08:14:07] local.INFO: Extracted packet for processing {"connection_id":192505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d148"} 
[2026-09-24 08:14:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295628800001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790217601000,"timestamp_ms":1790217601000,"timestamp_seconds":1790217601,"priority":1,"record_length":96,"hex_timestamp":"000001a0d148bfe8"} 
[2026-09-24 08:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 08:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295628800001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295628800001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:14:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:14:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295628800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":192505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:14:07] local.INFO: GPS data processed {"connection_id":192505,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:14:07] local.INFO: Acknowledgment sent {"connection_id":192505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:14:29] local.INFO: TCP Data received {"connection_id":191147,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:14:29] local.INFO: Processing buffer {"connection_id":191147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:14:29] local.INFO: IMEI packet received {"connection_id":191147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":191147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:14:34] local.INFO: TCP Data received {"connection_id":191147,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:14:34] local.INFO: Processing buffer {"connection_id":191147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:14:34] local.INFO: IMEI packet received {"connection_id":191147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":191147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:14:35] local.INFO: TCP Data received {"connection_id":191147,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:14:35] local.INFO: Processing buffer {"connection_id":191147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:14:35] local.INFO: Packet analysis {"connection_id":191147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d148"} 
[2026-09-24 08:14:35] local.INFO: Extracted packet for processing {"connection_id":191147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d148"} 
[2026-09-24 08:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295628800001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790217601000,"timestamp_ms":1790217601000,"timestamp_seconds":1790217601,"priority":1,"record_length":96,"hex_timestamp":"000001a0d148bfe8"} 
[2026-09-24 08:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 08:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295628800001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295628800001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:14:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:14:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295628800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":191147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:14:35] local.INFO: GPS data processed {"connection_id":191147,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:14:35] local.INFO: Acknowledgment sent {"connection_id":191147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:15:06] local.INFO: TCP Data received {"connection_id":191147,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:15:06] local.INFO: Processing buffer {"connection_id":191147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:15:06] local.INFO: Packet analysis {"connection_id":191147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d148"} 
[2026-09-24 08:15:06] local.INFO: Extracted packet for processing {"connection_id":191147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d148"} 
[2026-09-24 08:15:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295628800001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790217601000,"timestamp_ms":1790217601000,"timestamp_seconds":1790217601,"priority":1,"record_length":96,"hex_timestamp":"000001a0d148bfe8"} 
[2026-09-24 08:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 08:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295628800001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295628800001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:15:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:15:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295628800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":191147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:15:06] local.INFO: GPS data processed {"connection_id":191147,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:15:06] local.INFO: Acknowledgment sent {"connection_id":191147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:15:29] local.INFO: TCP Data received {"connection_id":191148,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:15:29] local.INFO: Processing buffer {"connection_id":191148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:15:29] local.INFO: IMEI packet received {"connection_id":191148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":191148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:15:34] local.INFO: TCP Data received {"connection_id":191148,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:15:34] local.INFO: Processing buffer {"connection_id":191148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:15:34] local.INFO: IMEI packet received {"connection_id":191148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":191148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:15:35] local.INFO: TCP Data received {"connection_id":191148,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:15:35] local.INFO: Processing buffer {"connection_id":191148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d148bfe8012d34c24006aa4930000901382e..."} 
[2026-09-24 08:15:35] local.INFO: Packet analysis {"connection_id":191148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d148"} 
[2026-09-24 08:15:35] local.INFO: Extracted packet for processing {"connection_id":191148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d148"} 
[2026-09-24 08:15:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295628800001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790217601000,"timestamp_ms":1790217601000,"timestamp_seconds":1790217601,"priority":1,"record_length":96,"hex_timestamp":"000001a0d148bfe8"} 
[2026-09-24 08:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 08:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295628800001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295628800001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:15:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:15:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295628800001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":191148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:15:35] local.INFO: GPS data processed {"connection_id":191148,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:15:35] local.INFO: Acknowledgment sent {"connection_id":191148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:16:06] local.INFO: TCP Data received {"connection_id":191148,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:16:06] local.INFO: Processing buffer {"connection_id":191148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:16:06] local.INFO: Packet analysis {"connection_id":191148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d14d"} 
[2026-09-24 08:16:06] local.INFO: Extracted packet for processing {"connection_id":191148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d14d"} 
[2026-09-24 08:16:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295705856001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790217902000,"timestamp_ms":1790217902000,"timestamp_seconds":1790217902,"priority":1,"record_length":96,"hex_timestamp":"000001a0d14d57b0"} 
[2026-09-24 08:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 08:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295705856001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295705856001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:16:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:16:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295705856001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":191148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:16:06] local.INFO: GPS data processed {"connection_id":191148,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:16:06] local.INFO: Acknowledgment sent {"connection_id":191148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:16:29] local.INFO: TCP Data received {"connection_id":190943,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:16:29] local.INFO: Processing buffer {"connection_id":190943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:16:29] local.INFO: IMEI packet received {"connection_id":190943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":190943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:16:34] local.INFO: TCP Data received {"connection_id":190943,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:16:34] local.INFO: Processing buffer {"connection_id":190943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:16:34] local.INFO: IMEI packet received {"connection_id":190943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":190943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:16:35] local.INFO: TCP Data received {"connection_id":190943,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:16:35] local.INFO: Processing buffer {"connection_id":190943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:16:35] local.INFO: Packet analysis {"connection_id":190943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d14d"} 
[2026-09-24 08:16:35] local.INFO: Extracted packet for processing {"connection_id":190943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d14d"} 
[2026-09-24 08:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295705856001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790217902000,"timestamp_ms":1790217902000,"timestamp_seconds":1790217902,"priority":1,"record_length":96,"hex_timestamp":"000001a0d14d57b0"} 
[2026-09-24 08:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 08:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295705856001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295705856001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:16:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:16:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295705856001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":190943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:16:35] local.INFO: GPS data processed {"connection_id":190943,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:16:35] local.INFO: Acknowledgment sent {"connection_id":190943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:16:51] local.INFO: TCP Data received {"connection_id":192506,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192506,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:16:51] local.INFO: Processing buffer {"connection_id":192506,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:16:51] local.INFO: IMEI packet received {"connection_id":192506,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":192506,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:16:57] local.INFO: TCP Data received {"connection_id":192506,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192506,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:16:57] local.INFO: Processing buffer {"connection_id":192506,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:16:57] local.INFO: IMEI packet received {"connection_id":192506,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":192506,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:16:57] local.INFO: TCP Data received {"connection_id":192506,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-09-24 08:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192506,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-09-24 08:16:57] local.INFO: Processing buffer {"connection_id":192506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-09-24 08:16:57] local.INFO: Packet analysis {"connection_id":192506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-24 08:16:57] local.INFO: Extracted packet for processing {"connection_id":192506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-24 08:16:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 08:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33538132599111680,"note":"Value kept but may cause issues"} 
[2026-09-24 08:16:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 08:16:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":49000,"timestamp_seconds":49,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 08:16:57] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-24 08:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":192506,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":192506,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-24 08:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":192506,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-24 08:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-24 08:16:57] local.WARNING: DEBUG: No valid data to process  
[2026-09-24 08:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":192506,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-24 08:16:57] local.ERROR: GPS data processing failed {"connection_id":192506,"error":"No valid data to process"} 
[2026-09-24 08:16:57] local.INFO: Acknowledgment sent {"connection_id":192506,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-24 08:17:07] local.INFO: TCP Data received {"connection_id":190943,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:17:07] local.INFO: Processing buffer {"connection_id":190943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:17:07] local.INFO: Packet analysis {"connection_id":190943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d14d"} 
[2026-09-24 08:17:07] local.INFO: Extracted packet for processing {"connection_id":190943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d14d"} 
[2026-09-24 08:17:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295705856001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790217902000,"timestamp_ms":1790217902000,"timestamp_seconds":1790217902,"priority":1,"record_length":96,"hex_timestamp":"000001a0d14d57b0"} 
[2026-09-24 08:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 08:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295705856001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295705856001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:17:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:17:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295705856001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":190943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:17:07] local.INFO: GPS data processed {"connection_id":190943,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:17:07] local.INFO: Acknowledgment sent {"connection_id":190943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:17:29] local.INFO: TCP Data received {"connection_id":192507,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:17:29] local.INFO: Processing buffer {"connection_id":192507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:17:29] local.INFO: IMEI packet received {"connection_id":192507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":192507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:17:29] local.INFO: TCP Data received {"connection_id":192506,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a00000000000111700100000000000000000000000000..."} 
[2026-09-24 08:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192506,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000111700100000000000000000000000000..."} 
[2026-09-24 08:17:29] local.INFO: Processing buffer {"connection_id":192506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000111700100000000000000000000000000..."} 
[2026-09-24 08:17:29] local.INFO: Packet analysis {"connection_id":192506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-24 08:17:29] local.INFO: Extracted packet for processing {"connection_id":192506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-24 08:17:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33538132599111680,"note":"Value kept but may cause issues"} 
[2026-09-24 08:17:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 08:17:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":70000,"timestamp_seconds":70,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 08:17:29] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-24 08:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":192506,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":192506,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-24 08:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":192506,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-24 08:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-24 08:17:29] local.WARNING: DEBUG: No valid data to process  
[2026-09-24 08:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":192506,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-24 08:17:29] local.ERROR: GPS data processing failed {"connection_id":192506,"error":"No valid data to process"} 
[2026-09-24 08:17:29] local.INFO: Acknowledgment sent {"connection_id":192506,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-24 08:17:34] local.INFO: TCP Data received {"connection_id":192507,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:17:34] local.INFO: Processing buffer {"connection_id":192507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:17:34] local.INFO: IMEI packet received {"connection_id":192507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":192507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:17:35] local.INFO: TCP Data received {"connection_id":192507,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:17:35] local.INFO: Processing buffer {"connection_id":192507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:17:35] local.INFO: Packet analysis {"connection_id":192507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d14d"} 
[2026-09-24 08:17:35] local.INFO: Extracted packet for processing {"connection_id":192507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d14d"} 
[2026-09-24 08:17:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295705856001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790217902000,"timestamp_ms":1790217902000,"timestamp_seconds":1790217902,"priority":1,"record_length":96,"hex_timestamp":"000001a0d14d57b0"} 
[2026-09-24 08:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 08:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295705856001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295705856001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:17:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:17:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295705856001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":192507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:17:35] local.INFO: GPS data processed {"connection_id":192507,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:17:35] local.INFO: Acknowledgment sent {"connection_id":192507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:18:06] local.INFO: TCP Data received {"connection_id":192507,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:18:06] local.INFO: Processing buffer {"connection_id":192507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:18:06] local.INFO: Packet analysis {"connection_id":192507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d14d"} 
[2026-09-24 08:18:06] local.INFO: Extracted packet for processing {"connection_id":192507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d14d"} 
[2026-09-24 08:18:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295705856001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790217902000,"timestamp_ms":1790217902000,"timestamp_seconds":1790217902,"priority":1,"record_length":96,"hex_timestamp":"000001a0d14d57b0"} 
[2026-09-24 08:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 08:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295705856001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295705856001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:18:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:18:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295705856001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":192507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:18:06] local.INFO: GPS data processed {"connection_id":192507,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:18:06] local.INFO: Acknowledgment sent {"connection_id":192507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:18:29] local.INFO: TCP Data received {"connection_id":193826,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:18:29] local.INFO: Processing buffer {"connection_id":193826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:18:29] local.INFO: IMEI packet received {"connection_id":193826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":193826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:18:34] local.INFO: TCP Data received {"connection_id":193826,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:18:34] local.INFO: Processing buffer {"connection_id":193826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:18:34] local.INFO: IMEI packet received {"connection_id":193826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":193826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:18:36] local.INFO: TCP Data received {"connection_id":193826,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:18:36] local.INFO: Processing buffer {"connection_id":193826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:18:36] local.INFO: Packet analysis {"connection_id":193826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d14d"} 
[2026-09-24 08:18:36] local.INFO: Extracted packet for processing {"connection_id":193826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d14d"} 
[2026-09-24 08:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295705856001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790217902000,"timestamp_ms":1790217902000,"timestamp_seconds":1790217902,"priority":1,"record_length":96,"hex_timestamp":"000001a0d14d57b0"} 
[2026-09-24 08:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 08:18: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-09-24 08:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295705856001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295705856001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:18:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:18:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295705856001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":193826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:18:36] local.INFO: GPS data processed {"connection_id":193826,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:18:36] local.INFO: Acknowledgment sent {"connection_id":193826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:19:07] local.INFO: TCP Data received {"connection_id":193826,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:19:07] local.INFO: Processing buffer {"connection_id":193826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:19:07] local.INFO: Packet analysis {"connection_id":193826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d14d"} 
[2026-09-24 08:19:07] local.INFO: Extracted packet for processing {"connection_id":193826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d14d"} 
[2026-09-24 08:19:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295705856001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790217902000,"timestamp_ms":1790217902000,"timestamp_seconds":1790217902,"priority":1,"record_length":96,"hex_timestamp":"000001a0d14d57b0"} 
[2026-09-24 08:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 08:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295705856001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295705856001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:19:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:19:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295705856001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":193826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:19:07] local.INFO: GPS data processed {"connection_id":193826,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:19:07] local.INFO: Acknowledgment sent {"connection_id":193826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:19:29] local.INFO: TCP Data received {"connection_id":192508,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:19:29] local.INFO: Processing buffer {"connection_id":192508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:19:29] local.INFO: IMEI packet received {"connection_id":192508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":192508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:19:34] local.INFO: TCP Data received {"connection_id":192508,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:19:34] local.INFO: Processing buffer {"connection_id":192508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:19:34] local.INFO: IMEI packet received {"connection_id":192508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":192508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:19:35] local.INFO: TCP Data received {"connection_id":192508,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:19:35] local.INFO: Processing buffer {"connection_id":192508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:19:35] local.INFO: Packet analysis {"connection_id":192508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d14d"} 
[2026-09-24 08:19:35] local.INFO: Extracted packet for processing {"connection_id":192508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d14d"} 
[2026-09-24 08:19:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295705856001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790217902000,"timestamp_ms":1790217902000,"timestamp_seconds":1790217902,"priority":1,"record_length":96,"hex_timestamp":"000001a0d14d57b0"} 
[2026-09-24 08:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08: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":238,"data_length":795,"current_offset":136} 
[2026-09-24 08:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295705856001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295705856001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:19:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:19:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295705856001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":192508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:19:35] local.INFO: GPS data processed {"connection_id":192508,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:19:35] local.INFO: Acknowledgment sent {"connection_id":192508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:20:06] local.INFO: TCP Data received {"connection_id":192508,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:20:06] local.INFO: Processing buffer {"connection_id":192508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:20:06] local.INFO: Packet analysis {"connection_id":192508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d14d"} 
[2026-09-24 08:20:06] local.INFO: Extracted packet for processing {"connection_id":192508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d14d"} 
[2026-09-24 08:20:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295705856001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790217902000,"timestamp_ms":1790217902000,"timestamp_seconds":1790217902,"priority":1,"record_length":96,"hex_timestamp":"000001a0d14d57b0"} 
[2026-09-24 08:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 08:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295705856001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295705856001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:20:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:20:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295705856001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":192508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:20:06] local.INFO: GPS data processed {"connection_id":192508,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:20:06] local.INFO: Acknowledgment sent {"connection_id":192508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:20:29] local.INFO: TCP Data received {"connection_id":192509,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:20:29] local.INFO: Processing buffer {"connection_id":192509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:20:29] local.INFO: IMEI packet received {"connection_id":192509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":192509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:20:34] local.INFO: TCP Data received {"connection_id":192509,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:20:34] local.INFO: Processing buffer {"connection_id":192509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:20:34] local.INFO: IMEI packet received {"connection_id":192509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":192509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:20:35] local.INFO: TCP Data received {"connection_id":192509,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:20:35] local.INFO: Processing buffer {"connection_id":192509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d14d57b0012d34c24006aa4930000901382e..."} 
[2026-09-24 08:20:35] local.INFO: Packet analysis {"connection_id":192509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d14d"} 
[2026-09-24 08:20:35] local.INFO: Extracted packet for processing {"connection_id":192509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d14d"} 
[2026-09-24 08:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295705856001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790217902000,"timestamp_ms":1790217902000,"timestamp_seconds":1790217902,"priority":1,"record_length":96,"hex_timestamp":"000001a0d14d57b0"} 
[2026-09-24 08:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 08:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295705856001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295705856001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:20:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:20:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295705856001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":192509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:20:35] local.INFO: GPS data processed {"connection_id":192509,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:20:35] local.INFO: Acknowledgment sent {"connection_id":192509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:21:01] local.INFO: TCP Data received {"connection_id":193827,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193827,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:21:01] local.INFO: Processing buffer {"connection_id":193827,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:21:01] local.INFO: IMEI packet received {"connection_id":193827,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":193827,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:21:06] local.INFO: TCP Data received {"connection_id":192509,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:21:06] local.INFO: Processing buffer {"connection_id":192509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:21:06] local.INFO: Packet analysis {"connection_id":192509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:21:06] local.INFO: Extracted packet for processing {"connection_id":192509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:21:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295782912001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790218203000,"timestamp_ms":1790218203000,"timestamp_seconds":1790218203,"priority":1,"record_length":96,"hex_timestamp":"000001a0d151ef78"} 
[2026-09-24 08:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295782912001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295782912001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:21:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:21:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295782912001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":192509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:21:06] local.INFO: GPS data processed {"connection_id":192509,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:21:06] local.INFO: Acknowledgment sent {"connection_id":192509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:21:07] local.INFO: TCP Data received {"connection_id":193827,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193827,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:21:07] local.INFO: Processing buffer {"connection_id":193827,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:21:07] local.INFO: IMEI packet received {"connection_id":193827,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":193827,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:21:08] local.INFO: TCP Data received {"connection_id":193827,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15101300100000000000000000000000000..."} 
[2026-09-24 08:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15101300100000000000000000000000000..."} 
[2026-09-24 08:21:08] local.INFO: Processing buffer {"connection_id":193827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15101300100000000000000000000000000..."} 
[2026-09-24 08:21:08] local.INFO: Packet analysis {"connection_id":193827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:21:08] local.INFO: Extracted packet for processing {"connection_id":193827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:21:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 08:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33538132599111680,"note":"Value kept but may cause issues"} 
[2026-09-24 08:21:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 08:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790218142000,"timestamp_ms":1790218142000,"timestamp_seconds":1790218142,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1510130"} 
[2026-09-24 08:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-24 08:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":193827,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 08:21:08] local.INFO: GPS data processed {"connection_id":193827,"processed":0,"errors":0,"total":1} 
[2026-09-24 08:21:08] local.INFO: Acknowledgment sent {"connection_id":193827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:21:29] local.INFO: TCP Data received {"connection_id":192510,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:21:29] local.INFO: Processing buffer {"connection_id":192510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:21:29] local.INFO: IMEI packet received {"connection_id":192510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":192510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:21:34] local.INFO: TCP Data received {"connection_id":192510,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:21:34] local.INFO: Processing buffer {"connection_id":192510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:21:34] local.INFO: IMEI packet received {"connection_id":192510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":192510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:21:35] local.INFO: TCP Data received {"connection_id":192510,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:21:35] local.INFO: Processing buffer {"connection_id":192510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:21:35] local.INFO: Packet analysis {"connection_id":192510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:21:35] local.INFO: Extracted packet for processing {"connection_id":192510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295782912001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790218203000,"timestamp_ms":1790218203000,"timestamp_seconds":1790218203,"priority":1,"record_length":96,"hex_timestamp":"000001a0d151ef78"} 
[2026-09-24 08:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:21:35] 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-09-24 08: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-09-24 08:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295782912001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295782912001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:21:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:21:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295782912001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":192510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:21:35] local.INFO: GPS data processed {"connection_id":192510,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:21:35] local.INFO: Acknowledgment sent {"connection_id":192510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:21:39] local.INFO: TCP Data received {"connection_id":193827,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15153380100000000000000000000000000..."} 
[2026-09-24 08:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15153380100000000000000000000000000..."} 
[2026-09-24 08:21:39] local.INFO: Processing buffer {"connection_id":193827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15153380100000000000000000000000000..."} 
[2026-09-24 08:21:39] local.INFO: Packet analysis {"connection_id":193827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:21:39] local.INFO: Extracted packet for processing {"connection_id":193827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:21:39] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 08:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33538132599111680,"note":"Value kept but may cause issues"} 
[2026-09-24 08:21:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 08:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790218163000,"timestamp_ms":1790218163000,"timestamp_seconds":1790218163,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1515338"} 
[2026-09-24 08:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-24 08:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":193827,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 08:21:39] local.INFO: GPS data processed {"connection_id":193827,"processed":0,"errors":0,"total":1} 
[2026-09-24 08:21:39] local.INFO: Acknowledgment sent {"connection_id":193827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:22:06] local.INFO: TCP Data received {"connection_id":192510,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:22:06] local.INFO: Processing buffer {"connection_id":192510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:22:06] local.INFO: Packet analysis {"connection_id":192510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:22:06] local.INFO: Extracted packet for processing {"connection_id":192510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295782912001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790218203000,"timestamp_ms":1790218203000,"timestamp_seconds":1790218203,"priority":1,"record_length":96,"hex_timestamp":"000001a0d151ef78"} 
[2026-09-24 08:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295782912001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295782912001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:22:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295782912001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":192510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:22:06] local.INFO: GPS data processed {"connection_id":192510,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:22:06] local.INFO: Acknowledgment sent {"connection_id":192510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:22:10] local.INFO: TCP Data received {"connection_id":193827,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d151a5400100000000000000000000000000..."} 
[2026-09-24 08:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d151a5400100000000000000000000000000..."} 
[2026-09-24 08:22:10] local.INFO: Processing buffer {"connection_id":193827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d151a5400100000000000000000000000000..."} 
[2026-09-24 08:22:10] local.INFO: Packet analysis {"connection_id":193827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:22:10] local.INFO: Extracted packet for processing {"connection_id":193827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:22:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33538132599111680,"note":"Value kept but may cause issues"} 
[2026-09-24 08:22:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 08:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790218184000,"timestamp_ms":1790218184000,"timestamp_seconds":1790218184,"priority":1,"record_length":96,"hex_timestamp":"000001a0d151a540"} 
[2026-09-24 08:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-24 08:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":193827,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 08:22:10] local.INFO: GPS data processed {"connection_id":193827,"processed":0,"errors":0,"total":1} 
[2026-09-24 08:22:10] local.INFO: Acknowledgment sent {"connection_id":193827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:22:29] local.INFO: TCP Data received {"connection_id":193828,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:22:29] local.INFO: Processing buffer {"connection_id":193828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:22:29] local.INFO: IMEI packet received {"connection_id":193828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":193828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:22:34] local.INFO: TCP Data received {"connection_id":193828,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:22:34] local.INFO: Processing buffer {"connection_id":193828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:22:34] local.INFO: IMEI packet received {"connection_id":193828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":193828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:22:35] local.INFO: TCP Data received {"connection_id":193828,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:22:35] local.INFO: Processing buffer {"connection_id":193828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:22:35] local.INFO: Packet analysis {"connection_id":193828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:22:35] local.INFO: Extracted packet for processing {"connection_id":193828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295782912001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790218203000,"timestamp_ms":1790218203000,"timestamp_seconds":1790218203,"priority":1,"record_length":96,"hex_timestamp":"000001a0d151ef78"} 
[2026-09-24 08:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:22:35] 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-09-24 08: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-09-24 08:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295782912001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295782912001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:22:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:22:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295782912001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":193828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:22:35] local.INFO: GPS data processed {"connection_id":193828,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:22:35] local.INFO: Acknowledgment sent {"connection_id":193828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:22:42] local.INFO: TCP Data received {"connection_id":193827,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15425e0012d0bf9800702a8280016002407..."} 
[2026-09-24 08:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15425e0012d0bf9800702a8280016002407..."} 
[2026-09-24 08:22:42] local.INFO: Processing buffer {"connection_id":193827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15425e0012d0bf9800702a8280016002407..."} 
[2026-09-24 08:22:42] local.INFO: Packet analysis {"connection_id":193827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d154"} 
[2026-09-24 08:22:42] local.INFO: Extracted packet for processing {"connection_id":193827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d154"} 
[2026-09-24 08:22:42] local.INFO: GPS Element Parsed {"raw_longitude":755759488,"raw_latitude":117614632,"longitude_deg":75.5759488,"latitude_deg":11.7614632,"altitude":22,"angle":36,"satellites":7,"speed":6,"hex_longitude":"2d0bf980","hex_latitude":"0702a828","is_valid_coordinates":true} 
[2026-09-24 08:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295894784001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33538403182051328,"note":"Value kept but may cause issues"} 
[2026-09-24 08:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862580096238897152,"note":"Value kept but may cause issues"} 
[2026-09-24 08:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790218348000,"timestamp_ms":1790218348000,"timestamp_seconds":1790218348,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15425e0"} 
[2026-09-24 08:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-24 08:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295894784001,"66":14613,"36":206,"94":11008,"24":6,"16":33538403182051328,"45":862580096238897152},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-09-24 08:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295894784001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:22:42] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-24 08:22:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33538403182051328,"km_value":33538403182051.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":862580096238897152,"description":"Unknown IO ID 45"} 
[2026-09-24 08:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295894784001,"power":14613,"unknown_36":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":862580096238897152}} 
[2026-09-24 08:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":193827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888741,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:22:42] local.INFO: GPS data processed {"connection_id":193827,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:22:42] local.INFO: Acknowledgment sent {"connection_id":193827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:23:06] local.INFO: TCP Data received {"connection_id":193828,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:23:06] local.INFO: Processing buffer {"connection_id":193828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:23:06] local.INFO: Packet analysis {"connection_id":193828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:23:06] local.INFO: Extracted packet for processing {"connection_id":193828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:23:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295782912001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790218203000,"timestamp_ms":1790218203000,"timestamp_seconds":1790218203,"priority":1,"record_length":96,"hex_timestamp":"000001a0d151ef78"} 
[2026-09-24 08:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295782912001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295782912001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:23:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:23:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295782912001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":193828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:23:06] local.INFO: GPS data processed {"connection_id":193828,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:23:06] local.INFO: Acknowledgment sent {"connection_id":193828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:23:13] local.INFO: TCP Data received {"connection_id":193827,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15429c8012d0bfa800702a8480016003e07..."} 
[2026-09-24 08:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15429c8012d0bfa800702a8480016003e07..."} 
[2026-09-24 08:23:13] local.INFO: Processing buffer {"connection_id":193827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15429c8012d0bfa800702a8480016003e07..."} 
[2026-09-24 08:23:13] local.INFO: Packet analysis {"connection_id":193827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d154"} 
[2026-09-24 08:23:13] local.INFO: Extracted packet for processing {"connection_id":193827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d154"} 
[2026-09-24 08:23:13] local.INFO: GPS Element Parsed {"raw_longitude":755759744,"raw_latitude":117614664,"longitude_deg":75.5759744,"latitude_deg":11.7614664,"altitude":22,"angle":62,"satellites":7,"speed":7,"hex_longitude":"2d0bfa80","hex_latitude":"0702a848","is_valid_coordinates":true} 
[2026-09-24 08:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295897088001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33538416066953216,"note":"Value kept but may cause issues"} 
[2026-09-24 08:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862861571215861760,"note":"Value kept but may cause issues"} 
[2026-09-24 08:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790218349000,"timestamp_ms":1790218349000,"timestamp_seconds":1790218349,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15429c8"} 
[2026-09-24 08:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-24 08:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295897088001,"66":14537,"36":206,"94":11008,"24":7,"16":33538416066953216,"45":862861571215861760},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-09-24 08:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295897088001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:23:13] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-24 08:23:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33538416066953216,"km_value":33538416066953.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":862861571215861760,"description":"Unknown IO ID 45"} 
[2026-09-24 08:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295897088001,"power":14537,"unknown_36":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":862861571215861760}} 
[2026-09-24 08:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":193827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888743,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:23:13] local.INFO: GPS data processed {"connection_id":193827,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:23:13] local.INFO: Acknowledgment sent {"connection_id":193827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:23:29] local.INFO: TCP Data received {"connection_id":193829,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:23:29] local.INFO: Processing buffer {"connection_id":193829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:23:29] local.INFO: IMEI packet received {"connection_id":193829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":193829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:23:35] local.INFO: TCP Data received {"connection_id":193829,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:23:35] local.INFO: Processing buffer {"connection_id":193829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:23:35] local.INFO: IMEI packet received {"connection_id":193829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":193829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:23:36] local.INFO: TCP Data received {"connection_id":193829,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:23:36] local.INFO: Processing buffer {"connection_id":193829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:23:36] local.INFO: Packet analysis {"connection_id":193829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:23:36] local.INFO: Extracted packet for processing {"connection_id":193829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295782912001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790218203000,"timestamp_ms":1790218203000,"timestamp_seconds":1790218203,"priority":1,"record_length":96,"hex_timestamp":"000001a0d151ef78"} 
[2026-09-24 08:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295782912001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295782912001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:23:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295782912001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":193829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:23:36] local.INFO: GPS data processed {"connection_id":193829,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:23:36] local.INFO: Acknowledgment sent {"connection_id":193829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:23:44] local.INFO: TCP Data received {"connection_id":193827,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1544138012d0c01000702a9b00017005008..."} 
[2026-09-24 08:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1544138012d0c01000702a9b00017005008..."} 
[2026-09-24 08:23:44] local.INFO: Processing buffer {"connection_id":193827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1544138012d0c01000702a9b00017005008..."} 
[2026-09-24 08:23:44] local.INFO: Packet analysis {"connection_id":193827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d154"} 
[2026-09-24 08:23:44] local.INFO: Extracted packet for processing {"connection_id":193827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d154"} 
[2026-09-24 08:23:44] local.INFO: GPS Element Parsed {"raw_longitude":755761408,"raw_latitude":117615024,"longitude_deg":75.5761408,"latitude_deg":11.7615024,"altitude":23,"angle":80,"satellites":8,"speed":12,"hex_longitude":"2d0c0100","hex_latitude":"0702a9b0","is_valid_coordinates":true} 
[2026-09-24 08:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295897344001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33538497671331840,"note":"Value kept but may cause issues"} 
[2026-09-24 08:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863143046192580608,"note":"Value kept but may cause issues"} 
[2026-09-24 08:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790218355000,"timestamp_ms":1790218355000,"timestamp_seconds":1790218355,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1544138"} 
[2026-09-24 08:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-24 08:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295897344001,"66":14548,"36":206,"94":11008,"24":12,"16":33538497671331840,"45":863143046192580608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-09-24 08:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295897344001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:23:44] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-24 08:23:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33538497671331840,"km_value":33538497671331.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":863143046192580608,"description":"Unknown IO ID 45"} 
[2026-09-24 08:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295897344001,"power":14548,"unknown_36":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":863143046192580608}} 
[2026-09-24 08:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":193827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888745,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:23:45] local.INFO: GPS data processed {"connection_id":193827,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:23:45] local.INFO: Acknowledgment sent {"connection_id":193827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:24:07] local.INFO: TCP Data received {"connection_id":193829,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:24:07] local.INFO: Processing buffer {"connection_id":193829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:24:07] local.INFO: Packet analysis {"connection_id":193829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:24:07] local.INFO: Extracted packet for processing {"connection_id":193829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:24:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295782912001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790218203000,"timestamp_ms":1790218203000,"timestamp_seconds":1790218203,"priority":1,"record_length":96,"hex_timestamp":"000001a0d151ef78"} 
[2026-09-24 08:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295782912001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295782912001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:24:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:24:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295782912001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":193829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:24:07] local.INFO: GPS data processed {"connection_id":193829,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:24:07] local.INFO: Acknowledgment sent {"connection_id":193829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:24:15] local.INFO: TCP Data received {"connection_id":193827,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1548f58012d0c12800702adc80015005209..."} 
[2026-09-24 08:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1548f58012d0c12800702adc80015005209..."} 
[2026-09-24 08:24:15] local.INFO: Processing buffer {"connection_id":193827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1548f58012d0c12800702adc80015005209..."} 
[2026-09-24 08:24:15] local.INFO: Packet analysis {"connection_id":193827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d154"} 
[2026-09-24 08:24:15] local.INFO: Extracted packet for processing {"connection_id":193827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d154"} 
[2026-09-24 08:24:15] local.INFO: GPS Element Parsed {"raw_longitude":755765888,"raw_latitude":117616072,"longitude_deg":75.5765888,"latitude_deg":11.7616072,"altitude":21,"angle":82,"satellites":9,"speed":3,"hex_longitude":"2d0c1280","hex_latitude":"0702adc8","is_valid_coordinates":true} 
[2026-09-24 08:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295898880001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33538721009631232,"note":"Value kept but may cause issues"} 
[2026-09-24 08:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":864972633541292032,"note":"Value kept but may cause issues"} 
[2026-09-24 08:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790218375000,"timestamp_ms":1790218375000,"timestamp_seconds":1790218375,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1548f58"} 
[2026-09-24 08:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-24 08:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":193827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":193827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":193827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295898880001,"66":14537,"37":206,"94":11008,"24":3,"16":33538721009631232,"45":864972633541292032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 08:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295898880001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:24:15] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 08:24:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33538721009631232,"km_value":33538721009631.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":864972633541292032,"description":"Unknown IO ID 45"} 
[2026-09-24 08:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295898880001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":864972633541292032}} 
[2026-09-24 08:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":193827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888747,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:24:15] local.INFO: GPS data processed {"connection_id":193827,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:24:15] local.INFO: Acknowledgment sent {"connection_id":193827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:24:29] local.INFO: TCP Data received {"connection_id":190944,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:24:29] local.INFO: Processing buffer {"connection_id":190944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:24:29] local.INFO: IMEI packet received {"connection_id":190944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":190944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:24:34] local.INFO: TCP Data received {"connection_id":190944,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:24:34] local.INFO: Processing buffer {"connection_id":190944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:24:34] local.INFO: IMEI packet received {"connection_id":190944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":190944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:24:35] local.INFO: TCP Data received {"connection_id":190944,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:24:35] local.INFO: Processing buffer {"connection_id":190944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:24:35] local.INFO: Packet analysis {"connection_id":190944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:24:35] local.INFO: Extracted packet for processing {"connection_id":190944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295782912001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790218203000,"timestamp_ms":1790218203000,"timestamp_seconds":1790218203,"priority":1,"record_length":96,"hex_timestamp":"000001a0d151ef78"} 
[2026-09-24 08:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:24:35] 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-09-24 08: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-09-24 08:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295782912001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295782912001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:24:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:24:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295782912001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":190944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:24:35] local.INFO: GPS data processed {"connection_id":190944,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:24:35] local.INFO: Acknowledgment sent {"connection_id":190944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:24:46] local.INFO: TCP Data received {"connection_id":193827,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1549728012d0c13c00702adc80015004709..."} 
[2026-09-24 08:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1549728012d0c13c00702adc80015004709..."} 
[2026-09-24 08:24:46] local.INFO: Processing buffer {"connection_id":193827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1549728012d0c13c00702adc80015004709..."} 
[2026-09-24 08:24:46] local.INFO: Packet analysis {"connection_id":193827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d154"} 
[2026-09-24 08:24:46] local.INFO: Extracted packet for processing {"connection_id":193827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d154"} 
[2026-09-24 08:24:46] local.INFO: GPS Element Parsed {"raw_longitude":755766208,"raw_latitude":117616072,"longitude_deg":75.5766208,"latitude_deg":11.7616072,"altitude":21,"angle":71,"satellites":9,"speed":6,"hex_longitude":"2d0c13c0","hex_latitude":"0702adc8","is_valid_coordinates":true} 
[2026-09-24 08:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295904000001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33538738189500416,"note":"Value kept but may cause issues"} 
[2026-09-24 08:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":869898445633996800,"note":"Value kept but may cause issues"} 
[2026-09-24 08:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790218377000,"timestamp_ms":1790218377000,"timestamp_seconds":1790218377,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1549728"} 
[2026-09-24 08:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-24 08:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295904000001,"66":14450,"37":206,"94":11008,"24":6,"16":33538738189500416,"45":869898445633996800},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 08:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295904000001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:24:46] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 08:24:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33538738189500416,"km_value":33538738189500.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":869898445633996800,"description":"Unknown IO ID 45"} 
[2026-09-24 08:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295904000001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":869898445633996800}} 
[2026-09-24 08:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":193827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888749,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:24:47] local.INFO: GPS data processed {"connection_id":193827,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:24:47] local.INFO: Acknowledgment sent {"connection_id":193827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:25:07] local.INFO: TCP Data received {"connection_id":190944,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:25:07] local.INFO: Processing buffer {"connection_id":190944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:25:07] local.INFO: Packet analysis {"connection_id":190944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:25:07] local.INFO: Extracted packet for processing {"connection_id":190944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:25:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295782912001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790218203000,"timestamp_ms":1790218203000,"timestamp_seconds":1790218203,"priority":1,"record_length":96,"hex_timestamp":"000001a0d151ef78"} 
[2026-09-24 08:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295782912001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295782912001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:25:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:25:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295782912001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":190944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:25:07] local.INFO: GPS data processed {"connection_id":190944,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:25:07] local.INFO: Acknowledgment sent {"connection_id":190944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:25:11] local.INFO: TCP Data received {"connection_id":190945,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190945,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:25:11] local.INFO: Processing buffer {"connection_id":190945,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:25:11] local.INFO: IMEI packet received {"connection_id":190945,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":190945,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:25:16] local.INFO: TCP Data received {"connection_id":190945,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190945,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:25:16] local.INFO: Processing buffer {"connection_id":190945,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:25:16] local.INFO: IMEI packet received {"connection_id":190945,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":190945,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:25:17] local.INFO: TCP Data received {"connection_id":190945,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d154a6c8012d0c17400702aed00015005509..."} 
[2026-09-24 08:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d154a6c8012d0c17400702aed00015005509..."} 
[2026-09-24 08:25:17] local.INFO: Processing buffer {"connection_id":190945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d154a6c8012d0c17400702aed00015005509..."} 
[2026-09-24 08:25:17] local.INFO: Packet analysis {"connection_id":190945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d154"} 
[2026-09-24 08:25:17] local.INFO: Extracted packet for processing {"connection_id":190945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d154"} 
[2026-09-24 08:25:17] local.INFO: GPS Element Parsed {"raw_longitude":755767104,"raw_latitude":117616336,"longitude_deg":75.5767104,"latitude_deg":11.7616336,"altitude":21,"angle":85,"satellites":9,"speed":9,"hex_longitude":"2d0c1740","hex_latitude":"0702aed0","is_valid_coordinates":true} 
[2026-09-24 08:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295904512001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33538781139173376,"note":"Value kept but may cause issues"} 
[2026-09-24 08:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870250289354885120,"note":"Value kept but may cause issues"} 
[2026-09-24 08:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790218381000,"timestamp_ms":1790218381000,"timestamp_seconds":1790218381,"priority":1,"record_length":96,"hex_timestamp":"000001a0d154a6c8"} 
[2026-09-24 08:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-24 08:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190945,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190945,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295904512001,"66":14428,"37":206,"94":11008,"24":9,"16":33538781139173376,"45":870250289354885120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 08:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295904512001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:25:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 08:25:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33538781139173376,"km_value":33538781139173.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":870250289354885120,"description":"Unknown IO ID 45"} 
[2026-09-24 08:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295904512001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":870250289354885120}} 
[2026-09-24 08:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":190945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888751,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:25:17] local.INFO: GPS data processed {"connection_id":190945,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:25:17] local.INFO: Acknowledgment sent {"connection_id":190945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:25:22] local.INFO: TCP Data received {"connection_id":190945,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d154cdd8012d0c22c00702ae68001500680a..."} 
[2026-09-24 08:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d154cdd8012d0c22c00702ae68001500680a..."} 
[2026-09-24 08:25:22] local.INFO: Processing buffer {"connection_id":190945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d154cdd8012d0c22c00702ae68001500680a..."} 
[2026-09-24 08:25:22] local.INFO: Packet analysis {"connection_id":190945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d154"} 
[2026-09-24 08:25:22] local.INFO: Extracted packet for processing {"connection_id":190945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d154"} 
[2026-09-24 08:25:22] local.INFO: GPS Element Parsed {"raw_longitude":755770048,"raw_latitude":117616232,"longitude_deg":75.5770048,"latitude_deg":11.7616232,"altitude":21,"angle":104,"satellites":10,"speed":12,"hex_longitude":"2d0c22c0","hex_latitude":"0702ae68","is_valid_coordinates":true} 
[2026-09-24 08:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295905536001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33538918578126848,"note":"Value kept but may cause issues"} 
[2026-09-24 08:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871235451773440000,"note":"Value kept but may cause issues"} 
[2026-09-24 08:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790218391000,"timestamp_ms":1790218391000,"timestamp_seconds":1790218391,"priority":1,"record_length":96,"hex_timestamp":"000001a0d154cdd8"} 
[2026-09-24 08:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-24 08:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":190945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":190945,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":190945,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295905536001,"66":14548,"37":206,"94":11008,"24":12,"16":33538918578126848,"45":871235451773440000},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 08:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295905536001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:25:22] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 08:25:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33538918578126848,"km_value":33538918578126.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":871235451773440000,"description":"Unknown IO ID 45"} 
[2026-09-24 08:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295905536001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":871235451773440000}} 
[2026-09-24 08:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":190945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888752,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:25:22] local.INFO: GPS data processed {"connection_id":190945,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:25:22] local.INFO: Acknowledgment sent {"connection_id":190945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:25:29] local.INFO: TCP Data received {"connection_id":192511,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:25:29] local.INFO: Processing buffer {"connection_id":192511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:25:29] local.INFO: IMEI packet received {"connection_id":192511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":192511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:25:34] local.INFO: TCP Data received {"connection_id":192511,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:25:34] local.INFO: Processing buffer {"connection_id":192511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:25:34] local.INFO: IMEI packet received {"connection_id":192511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":192511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:25:35] local.INFO: TCP Data received {"connection_id":192511,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:25:35] local.INFO: Processing buffer {"connection_id":192511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d151ef78012d34c24006aa49300009013829..."} 
[2026-09-24 08:25:35] local.INFO: Packet analysis {"connection_id":192511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:25:35] local.INFO: Extracted packet for processing {"connection_id":192511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d151"} 
[2026-09-24 08:25:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295782912001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790218203000,"timestamp_ms":1790218203000,"timestamp_seconds":1790218203,"priority":1,"record_length":96,"hex_timestamp":"000001a0d151ef78"} 
[2026-09-24 08:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:25:35] 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-09-24 08: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-09-24 08:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295782912001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295782912001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:25:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:25:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295782912001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":192511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:25:35] local.INFO: GPS data processed {"connection_id":192511,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:25:35] local.INFO: Acknowledgment sent {"connection_id":192511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:26:06] local.INFO: TCP Data received {"connection_id":192511,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:26:06] local.INFO: Processing buffer {"connection_id":192511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:26:06] local.INFO: Packet analysis {"connection_id":192511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d156"} 
[2026-09-24 08:26:06] local.INFO: Extracted packet for processing {"connection_id":192511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d156"} 
[2026-09-24 08:26:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295859968001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790218504000,"timestamp_ms":1790218504000,"timestamp_seconds":1790218504,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1568740"} 
[2026-09-24 08:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295859968001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295859968001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:26:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:26:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295859968001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":192511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:26:06] local.INFO: GPS data processed {"connection_id":192511,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:26:06] local.INFO: Acknowledgment sent {"connection_id":192511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:26:06] local.INFO: TCP Data received {"connection_id":193830,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193830,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:26:06] local.INFO: Processing buffer {"connection_id":193830,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:26:06] local.INFO: IMEI packet received {"connection_id":193830,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":193830,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:26:11] local.INFO: TCP Data received {"connection_id":193830,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193830,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:26:11] local.INFO: Processing buffer {"connection_id":193830,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:26:11] local.INFO: IMEI packet received {"connection_id":193830,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":193830,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:26:12] local.INFO: TCP Data received {"connection_id":193830,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d154d5a8012d0c24000702ad00001500770a..."} 
[2026-09-24 08:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d154d5a8012d0c24000702ad00001500770a..."} 
[2026-09-24 08:26:12] local.INFO: Processing buffer {"connection_id":193830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d154d5a8012d0c24000702ad00001500770a..."} 
[2026-09-24 08:26:12] local.INFO: Packet analysis {"connection_id":193830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d154"} 
[2026-09-24 08:26:12] local.INFO: Extracted packet for processing {"connection_id":193830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d154"} 
[2026-09-24 08:26:12] local.INFO: GPS Element Parsed {"raw_longitude":755770368,"raw_latitude":117615872,"longitude_deg":75.5770368,"latitude_deg":11.7615872,"altitude":21,"angle":119,"satellites":10,"speed":10,"hex_longitude":"2d0c2400","hex_latitude":"0702ad00","is_valid_coordinates":true} 
[2026-09-24 08:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295908096001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33538944347930624,"note":"Value kept but may cause issues"} 
[2026-09-24 08:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874472414005585920,"note":"Value kept but may cause issues"} 
[2026-09-24 08:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790218393000,"timestamp_ms":1790218393000,"timestamp_seconds":1790218393,"priority":1,"record_length":96,"hex_timestamp":"000001a0d154d5a8"} 
[2026-09-24 08:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-24 08:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295908096001,"66":14428,"37":206,"94":11008,"24":10,"16":33538944347930624,"45":874472414005585920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 08:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295908096001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:26:12] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 08:26:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33538944347930624,"km_value":33538944347930.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":874472414005585920,"description":"Unknown IO ID 45"} 
[2026-09-24 08:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295908096001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":874472414005585920}} 
[2026-09-24 08:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":193830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888755,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:26:12] local.INFO: GPS data processed {"connection_id":193830,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:26:12] local.INFO: Acknowledgment sent {"connection_id":193830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:26:29] local.INFO: TCP Data received {"connection_id":190946,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:26:29] local.INFO: Processing buffer {"connection_id":190946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:26:29] local.INFO: IMEI packet received {"connection_id":190946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":190946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:26:34] local.INFO: TCP Data received {"connection_id":190946,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:26:34] local.INFO: Processing buffer {"connection_id":190946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:26:34] local.INFO: IMEI packet received {"connection_id":190946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":190946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:26:35] local.INFO: TCP Data received {"connection_id":190946,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:26:35] local.INFO: Processing buffer {"connection_id":190946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:26:35] local.INFO: Packet analysis {"connection_id":190946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d156"} 
[2026-09-24 08:26:35] local.INFO: Extracted packet for processing {"connection_id":190946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d156"} 
[2026-09-24 08:26:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295859968001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790218504000,"timestamp_ms":1790218504000,"timestamp_seconds":1790218504,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1568740"} 
[2026-09-24 08:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:26:35] 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-09-24 08:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295859968001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295859968001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:26:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:26:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295859968001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":190946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:26:35] local.INFO: GPS data processed {"connection_id":190946,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:26:35] local.INFO: Acknowledgment sent {"connection_id":190946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:26:43] local.INFO: TCP Data received {"connection_id":193830,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d154d990012d0c24400702ac90001500850a..."} 
[2026-09-24 08:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d154d990012d0c24400702ac90001500850a..."} 
[2026-09-24 08:26:43] local.INFO: Processing buffer {"connection_id":193830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d154d990012d0c24400702ac90001500850a..."} 
[2026-09-24 08:26:43] local.INFO: Packet analysis {"connection_id":193830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d154"} 
[2026-09-24 08:26:43] local.INFO: Extracted packet for processing {"connection_id":193830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d154"} 
[2026-09-24 08:26:43] local.INFO: GPS Element Parsed {"raw_longitude":755770432,"raw_latitude":117615760,"longitude_deg":75.5770432,"latitude_deg":11.761576,"altitude":21,"angle":133,"satellites":10,"speed":7,"hex_longitude":"2d0c2440","hex_latitude":"0702ac90","is_valid_coordinates":true} 
[2026-09-24 08:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295908608001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33538948642897920,"note":"Value kept but may cause issues"} 
[2026-09-24 08:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874824257726382080,"note":"Value kept but may cause issues"} 
[2026-09-24 08:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790218394000,"timestamp_ms":1790218394000,"timestamp_seconds":1790218394,"priority":1,"record_length":96,"hex_timestamp":"000001a0d154d990"} 
[2026-09-24 08:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-24 08:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295908608001,"66":14428,"37":206,"94":11008,"24":7,"16":33538948642897920,"45":874824257726382080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 08:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295908608001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:26:43] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 08:26:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33538948642897920,"km_value":33538948642897.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":874824257726382080,"description":"Unknown IO ID 45"} 
[2026-09-24 08:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295908608001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":874824257726382080}} 
[2026-09-24 08:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":193830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888757,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:26:43] local.INFO: GPS data processed {"connection_id":193830,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:26:43] local.INFO: Acknowledgment sent {"connection_id":193830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:27:04] local.INFO: TCP Data received {"connection_id":190947,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190947,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:27:04] local.INFO: Processing buffer {"connection_id":190947,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:27:04] local.INFO: IMEI packet received {"connection_id":190947,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":190947,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:27:06] local.INFO: TCP Data received {"connection_id":190946,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:27:06] local.INFO: Processing buffer {"connection_id":190946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:27:06] local.INFO: Packet analysis {"connection_id":190946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d156"} 
[2026-09-24 08:27:06] local.INFO: Extracted packet for processing {"connection_id":190946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d156"} 
[2026-09-24 08:27:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295859968001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790218504000,"timestamp_ms":1790218504000,"timestamp_seconds":1790218504,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1568740"} 
[2026-09-24 08:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295859968001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295859968001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:27:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:27:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295859968001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":190946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:27:06] local.INFO: GPS data processed {"connection_id":190946,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:27:06] local.INFO: Acknowledgment sent {"connection_id":190946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:27:06] local.INFO: TCP Data received {"connection_id":190947,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190947,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:27:06] local.INFO: Processing buffer {"connection_id":190947,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:27:06] local.INFO: IMEI packet received {"connection_id":190947,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":190947,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:27:07] local.INFO: TCP Data received {"connection_id":190947,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190947,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:27:07] local.INFO: Processing buffer {"connection_id":190947,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:27:07] local.INFO: IMEI packet received {"connection_id":190947,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":190947,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:27:11] local.INFO: TCP Data received {"connection_id":190947,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190947,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:27:11] local.INFO: Processing buffer {"connection_id":190947,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:27:11] local.INFO: IMEI packet received {"connection_id":190947,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":190947,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:27:12] local.INFO: TCP Data received {"connection_id":190947,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15838d8012d0c26c00702ac280015007720..."} 
[2026-09-24 08:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15838d8012d0c26c00702ac280015007720..."} 
[2026-09-24 08:27:12] local.INFO: Processing buffer {"connection_id":190947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15838d8012d0c26c00702ac280015007720..."} 
[2026-09-24 08:27:12] local.INFO: Packet analysis {"connection_id":190947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d158"} 
[2026-09-24 08:27:12] local.INFO: Extracted packet for processing {"connection_id":190947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d158"} 
[2026-09-24 08:27:12] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":117615656,"longitude_deg":75.5771072,"latitude_deg":11.7615656,"altitude":21,"angle":119,"satellites":32,"speed":0,"hex_longitude":"2d0c26c0","hex_latitude":"0702ac28","is_valid_coordinates":true} 
[2026-09-24 08:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295959808001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33538991592570880,"note":"Value kept but may cause issues"} 
[2026-09-24 08:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875879788888969216,"note":"Value kept but may cause issues"} 
[2026-09-24 08:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790218615000,"timestamp_ms":1790218615000,"timestamp_seconds":1790218615,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15838d8"} 
[2026-09-24 08:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-24 08:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295959808001,"66":14363,"37":206,"94":11008,"24":0,"16":33538991592570880,"45":875879788888969216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 08:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295959808001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:27:12] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 08:27:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33538991592570880,"km_value":33538991592570.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":875879788888969216,"description":"Unknown IO ID 45"} 
[2026-09-24 08:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295959808001,"power":14363,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":875879788888969216}} 
[2026-09-24 08:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":190947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888759,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:27:12] local.INFO: GPS data processed {"connection_id":190947,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:27:12] local.INFO: Acknowledgment sent {"connection_id":190947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:27:29] local.INFO: TCP Data received {"connection_id":190948,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:27:29] local.INFO: Processing buffer {"connection_id":190948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:27:29] local.INFO: IMEI packet received {"connection_id":190948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":190948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:27:34] local.INFO: TCP Data received {"connection_id":190948,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:27:34] local.INFO: Processing buffer {"connection_id":190948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:27:34] local.INFO: IMEI packet received {"connection_id":190948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":190948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:27:36] local.INFO: TCP Data received {"connection_id":190948,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:27:36] local.INFO: Processing buffer {"connection_id":190948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:27:36] local.INFO: Packet analysis {"connection_id":190948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d156"} 
[2026-09-24 08:27:36] local.INFO: Extracted packet for processing {"connection_id":190948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d156"} 
[2026-09-24 08:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295859968001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790218504000,"timestamp_ms":1790218504000,"timestamp_seconds":1790218504,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1568740"} 
[2026-09-24 08:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295859968001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295859968001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:27:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:27:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295859968001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":190948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:27:36] local.INFO: GPS data processed {"connection_id":190948,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:27:36] local.INFO: Acknowledgment sent {"connection_id":190948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:27:43] local.INFO: TCP Data received {"connection_id":190947,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1585818012d0c28400702ac500011006320..."} 
[2026-09-24 08:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1585818012d0c28400702ac500011006320..."} 
[2026-09-24 08:27:43] local.INFO: Processing buffer {"connection_id":190947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1585818012d0c28400702ac500011006320..."} 
[2026-09-24 08:27:43] local.INFO: Packet analysis {"connection_id":190947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d158"} 
[2026-09-24 08:27:43] local.INFO: Extracted packet for processing {"connection_id":190947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d158"} 
[2026-09-24 08:27:43] local.INFO: GPS Element Parsed {"raw_longitude":755771456,"raw_latitude":117615696,"longitude_deg":75.5771456,"latitude_deg":11.7615696,"altitude":17,"angle":99,"satellites":32,"speed":1,"hex_longitude":"2d0c2840","hex_latitude":"0702ac50","is_valid_coordinates":true} 
[2026-09-24 08:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295965440001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33539008772440064,"note":"Value kept but may cause issues"} 
[2026-09-24 08:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875598313912281088,"note":"Value kept but may cause issues"} 
[2026-09-24 08:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790218623000,"timestamp_ms":1790218623000,"timestamp_seconds":1790218623,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1585818"} 
[2026-09-24 08:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-24 08:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295965440001,"66":14298,"37":206,"94":11008,"24":1,"16":33539008772440064,"45":875598313912281088},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 08:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295965440001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:27:43] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 08:27:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33539008772440064,"km_value":33539008772440.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":875598313912281088,"description":"Unknown IO ID 45"} 
[2026-09-24 08:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295965440001,"power":14298,"unknown_37":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":875598313912281088}} 
[2026-09-24 08:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":190947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888761,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:27:43] local.INFO: GPS data processed {"connection_id":190947,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:27:43] local.INFO: Acknowledgment sent {"connection_id":190947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:28:06] local.INFO: TCP Data received {"connection_id":193831,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193831,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:28:06] local.INFO: Processing buffer {"connection_id":193831,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:28:06] local.INFO: IMEI packet received {"connection_id":193831,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":193831,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:28:07] local.INFO: TCP Data received {"connection_id":193831,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193831,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:28:07] local.INFO: Processing buffer {"connection_id":193831,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:28:07] local.INFO: IMEI packet received {"connection_id":193831,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":193831,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:28:07] local.INFO: TCP Data received {"connection_id":190948,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:28:07] local.INFO: Processing buffer {"connection_id":190948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:28:07] local.INFO: Packet analysis {"connection_id":190948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d156"} 
[2026-09-24 08:28:07] local.INFO: Extracted packet for processing {"connection_id":190948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d156"} 
[2026-09-24 08:28:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295859968001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790218504000,"timestamp_ms":1790218504000,"timestamp_seconds":1790218504,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1568740"} 
[2026-09-24 08:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295859968001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295859968001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:28:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:28:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295859968001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":190948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:28:07] local.INFO: GPS data processed {"connection_id":190948,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:28:07] local.INFO: Acknowledgment sent {"connection_id":190948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:28:11] local.INFO: TCP Data received {"connection_id":193831,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193831,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:28:11] local.INFO: Processing buffer {"connection_id":193831,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:28:11] local.INFO: IMEI packet received {"connection_id":193831,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":193831,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:28:12] local.INFO: TCP Data received {"connection_id":193831,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1585fe8012d0c29000702ac780011005220..."} 
[2026-09-24 08:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1585fe8012d0c29000702ac780011005220..."} 
[2026-09-24 08:28:12] local.INFO: Processing buffer {"connection_id":193831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1585fe8012d0c29000702ac780011005220..."} 
[2026-09-24 08:28:12] local.INFO: Packet analysis {"connection_id":193831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d158"} 
[2026-09-24 08:28:12] local.INFO: Extracted packet for processing {"connection_id":193831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d158"} 
[2026-09-24 08:28:12] local.INFO: GPS Element Parsed {"raw_longitude":755771648,"raw_latitude":117615736,"longitude_deg":75.5771648,"latitude_deg":11.7615736,"altitude":17,"angle":82,"satellites":32,"speed":2,"hex_longitude":"2d0c2900","hex_latitude":"0702ac78","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295967488001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33539017362374656,"note":"Value kept but may cause issues"} 
[2026-09-24 08:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876020526377357312,"note":"Value kept but may cause issues"} 
[2026-09-24 08:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790218625000,"timestamp_ms":1790218625000,"timestamp_seconds":1790218625,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1585fe8"} 
[2026-09-24 08:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-24 08:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193831,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193831,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295967488001,"66":14428,"37":206,"94":11008,"24":2,"16":33539017362374656,"45":876020526377357312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 08:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295967488001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:28:12] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 08:28:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33539017362374656,"km_value":33539017362374.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":876020526377357312,"description":"Unknown IO ID 45"} 
[2026-09-24 08:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295967488001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":876020526377357312}} 
[2026-09-24 08:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":193831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888763,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:28:12] local.INFO: GPS data processed {"connection_id":193831,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:28:12] local.INFO: Acknowledgment sent {"connection_id":193831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:28:29] local.INFO: TCP Data received {"connection_id":192512,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:28:29] local.INFO: Processing buffer {"connection_id":192512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:28:29] local.INFO: IMEI packet received {"connection_id":192512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":192512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:28:34] local.INFO: TCP Data received {"connection_id":192512,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:28:34] local.INFO: Processing buffer {"connection_id":192512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:28:34] local.INFO: IMEI packet received {"connection_id":192512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":192512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:28:35] local.INFO: TCP Data received {"connection_id":192512,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:28:35] local.INFO: Processing buffer {"connection_id":192512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:28:35] local.INFO: Packet analysis {"connection_id":192512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d156"} 
[2026-09-24 08:28:35] local.INFO: Extracted packet for processing {"connection_id":192512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d156"} 
[2026-09-24 08:28:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295859968001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790218504000,"timestamp_ms":1790218504000,"timestamp_seconds":1790218504,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1568740"} 
[2026-09-24 08:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:28:35] 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-09-24 08:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295859968001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295859968001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:28:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:28:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295859968001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":192512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:28:35] local.INFO: GPS data processed {"connection_id":192512,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:28:35] local.INFO: Acknowledgment sent {"connection_id":192512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:28:48] local.INFO: TCP Data received {"connection_id":193831,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d159afd8012d0c18c00703ac80001300281e..."} 
[2026-09-24 08:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d159afd8012d0c18c00703ac80001300281e..."} 
[2026-09-24 08:28:48] local.INFO: Processing buffer {"connection_id":193831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d159afd8012d0c18c00703ac80001300281e..."} 
[2026-09-24 08:28:48] local.INFO: Packet analysis {"connection_id":193831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d159"} 
[2026-09-24 08:28:48] local.INFO: Extracted packet for processing {"connection_id":193831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d159"} 
[2026-09-24 08:28:48] local.INFO: GPS Element Parsed {"raw_longitude":755767488,"raw_latitude":117681280,"longitude_deg":75.5767488,"latitude_deg":11.768128,"altitude":19,"angle":40,"satellites":30,"speed":36,"hex_longitude":"2d0c18c0","hex_latitude":"0703ac80","is_valid_coordinates":true} 
[2026-09-24 08:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295988480001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33542333077127168,"note":"Value kept but may cause issues"} 
[2026-09-24 08:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868420702021849088,"note":"Value kept but may cause issues"} 
[2026-09-24 08:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790218711000,"timestamp_ms":1790218711000,"timestamp_seconds":1790218711,"priority":1,"record_length":96,"hex_timestamp":"000001a0d159afd8"} 
[2026-09-24 08:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 08:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":193831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":193831,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":193831,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295988480001,"66":14428,"37":206,"94":11008,"24":36,"16":33542333077127168,"45":868420702021849088},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 08:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295988480001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:28:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 08:28:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33542333077127168,"km_value":33542333077127.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":868420702021849088,"description":"Unknown IO ID 45"} 
[2026-09-24 08:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295988480001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":36,"odometer":null,"unknown_45":868420702021849088}} 
[2026-09-24 08:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":193831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888765,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:28:48] local.INFO: GPS data processed {"connection_id":193831,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:28:48] local.INFO: Acknowledgment sent {"connection_id":193831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:29:06] local.INFO: TCP Data received {"connection_id":191149,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191149,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:29:06] local.INFO: Processing buffer {"connection_id":191149,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:29:06] local.INFO: IMEI packet received {"connection_id":191149,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":191149,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:29:06] local.INFO: TCP Data received {"connection_id":192512,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:29:06] local.INFO: Processing buffer {"connection_id":192512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:29:06] local.INFO: Packet analysis {"connection_id":192512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d156"} 
[2026-09-24 08:29:06] local.INFO: Extracted packet for processing {"connection_id":192512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d156"} 
[2026-09-24 08:29:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295859968001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790218504000,"timestamp_ms":1790218504000,"timestamp_seconds":1790218504,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1568740"} 
[2026-09-24 08:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295859968001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295859968001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:29:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:29:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295859968001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":192512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:29:06] local.INFO: GPS data processed {"connection_id":192512,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:29:06] local.INFO: Acknowledgment sent {"connection_id":192512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:29:11] local.INFO: TCP Data received {"connection_id":191149,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191149,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:29:11] local.INFO: Processing buffer {"connection_id":191149,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:29:11] local.INFO: IMEI packet received {"connection_id":191149,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":191149,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:29:12] local.INFO: TCP Data received {"connection_id":191149,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d159bb90012d0c21400703b3e8001200371e..."} 
[2026-09-24 08:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d159bb90012d0c21400703b3e8001200371e..."} 
[2026-09-24 08:29:12] local.INFO: Processing buffer {"connection_id":191149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d159bb90012d0c21400703b3e8001200371e..."} 
[2026-09-24 08:29:12] local.INFO: Packet analysis {"connection_id":191149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d159"} 
[2026-09-24 08:29:12] local.INFO: Extracted packet for processing {"connection_id":191149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d159"} 
[2026-09-24 08:29:12] local.INFO: GPS Element Parsed {"raw_longitude":755769664,"raw_latitude":117683176,"longitude_deg":75.5769664,"latitude_deg":11.7683176,"altitude":18,"angle":55,"satellites":30,"speed":37,"hex_longitude":"2d0c2140","hex_latitude":"0703b3e8","is_valid_coordinates":true} 
[2026-09-24 08:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295990016001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33542470516080640,"note":"Value kept but may cause issues"} 
[2026-09-24 08:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871657664255131648,"note":"Value kept but may cause issues"} 
[2026-09-24 08:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790218714000,"timestamp_ms":1790218714000,"timestamp_seconds":1790218714,"priority":1,"record_length":96,"hex_timestamp":"000001a0d159bb90"} 
[2026-09-24 08:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-24 08:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191149,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191149,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295990016001,"66":14396,"37":206,"94":11008,"24":37,"16":33542470516080640,"45":871657664255131648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 08:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295990016001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:29:12] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 08:29:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33542470516080640,"km_value":33542470516080.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":871657664255131648,"description":"Unknown IO ID 45"} 
[2026-09-24 08:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295990016001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":37,"odometer":null,"unknown_45":871657664255131648}} 
[2026-09-24 08:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":191149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888767,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:29:12] local.INFO: GPS data processed {"connection_id":191149,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:29:12] local.INFO: Acknowledgment sent {"connection_id":191149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:29:29] local.INFO: TCP Data received {"connection_id":192513,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:29:29] local.INFO: Processing buffer {"connection_id":192513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:29:29] local.INFO: IMEI packet received {"connection_id":192513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":192513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:29:34] local.INFO: TCP Data received {"connection_id":192513,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:29:34] local.INFO: Processing buffer {"connection_id":192513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:29:34] local.INFO: IMEI packet received {"connection_id":192513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":192513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:29:35] local.INFO: TCP Data received {"connection_id":192513,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:29:35] local.INFO: Processing buffer {"connection_id":192513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:29:35] local.INFO: Packet analysis {"connection_id":192513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d156"} 
[2026-09-24 08:29:35] local.INFO: Extracted packet for processing {"connection_id":192513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d156"} 
[2026-09-24 08:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295859968001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790218504000,"timestamp_ms":1790218504000,"timestamp_seconds":1790218504,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1568740"} 
[2026-09-24 08:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:29:35] 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-09-24 08:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295859968001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295859968001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:29:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:29:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295859968001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":192513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:29:35] local.INFO: GPS data processed {"connection_id":192513,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:29:35] local.INFO: Acknowledgment sent {"connection_id":192513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:29:43] local.INFO: TCP Data received {"connection_id":191149,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15a7ee0012d0c990007041b78001d00291f..."} 
[2026-09-24 08:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15a7ee0012d0c990007041b78001d00291f..."} 
[2026-09-24 08:29:43] local.INFO: Processing buffer {"connection_id":191149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15a7ee0012d0c990007041b78001d00291f..."} 
[2026-09-24 08:29:43] local.INFO: Packet analysis {"connection_id":191149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15a"} 
[2026-09-24 08:29:43] local.INFO: Extracted packet for processing {"connection_id":191149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15a"} 
[2026-09-24 08:29:43] local.INFO: GPS Element Parsed {"raw_longitude":755800320,"raw_latitude":117709688,"longitude_deg":75.580032,"latitude_deg":11.7709688,"altitude":29,"angle":41,"satellites":31,"speed":40,"hex_longitude":"2d0c9900","hex_latitude":"07041b78","is_valid_coordinates":true} 
[2026-09-24 08:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296002560001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33544532100382720,"note":"Value kept but may cause issues"} 
[2026-09-24 08:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904238392815925248,"note":"Value kept but may cause issues"} 
[2026-09-24 08:29:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 08:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790218764000,"timestamp_ms":1790218764000,"timestamp_seconds":1790218764,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15a7ee0"} 
[2026-09-24 08:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 08:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191149,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191149,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296002560001,"66":14396,"16":33544532100382720,"94":11008,"24":40,"45":904238392815925248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-24 08:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296002560001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33544532100382720,"km_value":33544532100382.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:29:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":904238392815925248,"description":"Unknown IO ID 45"} 
[2026-09-24 08:29:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458296002560001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":40,"unknown_45":904238392815925248}} 
[2026-09-24 08:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":191149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888769,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:29:43] local.INFO: GPS data processed {"connection_id":191149,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:29:43] local.INFO: Acknowledgment sent {"connection_id":191149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:30:06] local.INFO: TCP Data received {"connection_id":190949,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190949,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:30:06] local.INFO: Processing buffer {"connection_id":190949,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:30:06] local.INFO: IMEI packet received {"connection_id":190949,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":190949,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:30:07] local.INFO: TCP Data received {"connection_id":192513,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:30:07] local.INFO: Processing buffer {"connection_id":192513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:30:07] local.INFO: Packet analysis {"connection_id":192513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d156"} 
[2026-09-24 08:30:07] local.INFO: Extracted packet for processing {"connection_id":192513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d156"} 
[2026-09-24 08:30:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295859968001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790218504000,"timestamp_ms":1790218504000,"timestamp_seconds":1790218504,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1568740"} 
[2026-09-24 08:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295859968001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295859968001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:30:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:30:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295859968001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":192513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:30:07] local.INFO: GPS data processed {"connection_id":192513,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:30:07] local.INFO: Acknowledgment sent {"connection_id":192513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:30:07] local.INFO: TCP Data received {"connection_id":190949,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190949,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:30:07] local.INFO: Processing buffer {"connection_id":190949,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:30:07] local.INFO: IMEI packet received {"connection_id":190949,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":190949,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:30:12] local.INFO: TCP Data received {"connection_id":190949,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190949,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:30:12] local.INFO: Processing buffer {"connection_id":190949,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:30:12] local.INFO: IMEI packet received {"connection_id":190949,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":190949,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:30:13] local.INFO: TCP Data received {"connection_id":190949,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15a8e80012d0ca280070429b8001b001d1f..."} 
[2026-09-24 08:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15a8e80012d0ca280070429b8001b001d1f..."} 
[2026-09-24 08:30:13] local.INFO: Processing buffer {"connection_id":190949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15a8e80012d0ca280070429b8001b001d1f..."} 
[2026-09-24 08:30:13] local.INFO: Packet analysis {"connection_id":190949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15a"} 
[2026-09-24 08:30:13] local.INFO: Extracted packet for processing {"connection_id":190949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15a"} 
[2026-09-24 08:30:13] local.INFO: GPS Element Parsed {"raw_longitude":755802752,"raw_latitude":117713336,"longitude_deg":75.5802752,"latitude_deg":11.7713336,"altitude":27,"angle":29,"satellites":31,"speed":45,"hex_longitude":"2d0ca280","hex_latitude":"070429b8","is_valid_coordinates":true} 
[2026-09-24 08:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296003584001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33544742553780224,"note":"Value kept but may cause issues"} 
[2026-09-24 08:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907756830025545728,"note":"Value kept but may cause issues"} 
[2026-09-24 08:30:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 08:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790218768000,"timestamp_ms":1790218768000,"timestamp_seconds":1790218768,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15a8e80"} 
[2026-09-24 08:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-24 08:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296003584001,"66":14428,"16":33544742553780224,"94":11008,"24":45,"45":907756830025545728},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-24 08:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296003584001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33544742553780224,"km_value":33544742553780.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:30:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":907756830025545728,"description":"Unknown IO ID 45"} 
[2026-09-24 08:30:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458296003584001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":45,"unknown_45":907756830025545728}} 
[2026-09-24 08:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":190949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888771,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:30:13] local.INFO: GPS data processed {"connection_id":190949,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:30:13] local.INFO: Acknowledgment sent {"connection_id":190949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:30:29] local.INFO: TCP Data received {"connection_id":191150,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:30:29] local.INFO: Processing buffer {"connection_id":191150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:30:29] local.INFO: IMEI packet received {"connection_id":191150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":191150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:30:34] local.INFO: TCP Data received {"connection_id":191150,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:30:34] local.INFO: Processing buffer {"connection_id":191150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:30:34] local.INFO: IMEI packet received {"connection_id":191150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":191150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:30:35] local.INFO: TCP Data received {"connection_id":191150,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:30:35] local.INFO: Processing buffer {"connection_id":191150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1568740012d34c24006aa4930000901382c..."} 
[2026-09-24 08:30:35] local.INFO: Packet analysis {"connection_id":191150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d156"} 
[2026-09-24 08:30:35] local.INFO: Extracted packet for processing {"connection_id":191150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d156"} 
[2026-09-24 08:30:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295859968001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790218504000,"timestamp_ms":1790218504000,"timestamp_seconds":1790218504,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1568740"} 
[2026-09-24 08:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:30:35] 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-09-24 08:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295859968001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295859968001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:30:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:30:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295859968001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":191150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:30:35] local.INFO: GPS data processed {"connection_id":191150,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:30:35] local.INFO: Acknowledgment sent {"connection_id":191150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:30:44] local.INFO: TCP Data received {"connection_id":190949,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15ab1a8012d0cb14007044b90001a00141f..."} 
[2026-09-24 08:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15ab1a8012d0cb14007044b90001a00141f..."} 
[2026-09-24 08:30:44] local.INFO: Processing buffer {"connection_id":190949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15ab1a8012d0cb14007044b90001a00141f..."} 
[2026-09-24 08:30:44] local.INFO: Packet analysis {"connection_id":190949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15a"} 
[2026-09-24 08:30:44] local.INFO: Extracted packet for processing {"connection_id":190949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15a"} 
[2026-09-24 08:30:44] local.INFO: GPS Element Parsed {"raw_longitude":755806528,"raw_latitude":117722000,"longitude_deg":75.5806528,"latitude_deg":11.7722,"altitude":26,"angle":20,"satellites":31,"speed":29,"hex_longitude":"2d0cb140","hex_latitude":"07044b90","is_valid_coordinates":true} 
[2026-09-24 08:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296004608001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33545197820313600,"note":"Value kept but may cause issues"} 
[2026-09-24 08:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910430842305230848,"note":"Value kept but may cause issues"} 
[2026-09-24 08:30:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 08:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790218777000,"timestamp_ms":1790218777000,"timestamp_seconds":1790218777,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15ab1a8"} 
[2026-09-24 08:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-24 08:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296004608001,"66":14374,"16":33545197820313600,"94":11008,"24":29,"45":910430842305230848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-24 08:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296004608001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33545197820313600,"km_value":33545197820313.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:30:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":910430842305230848,"description":"Unknown IO ID 45"} 
[2026-09-24 08:30:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458296004608001,"power":14374,"odometer":null,"unknown_94":11008,"ignition":29,"unknown_45":910430842305230848}} 
[2026-09-24 08:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":190949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888773,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:30:45] local.INFO: GPS data processed {"connection_id":190949,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:30:45] local.INFO: Acknowledgment sent {"connection_id":190949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:31:06] local.INFO: TCP Data received {"connection_id":191151,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191151,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:31:06] local.INFO: Processing buffer {"connection_id":191151,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:31:06] local.INFO: IMEI packet received {"connection_id":191151,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":191151,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:31:06] local.INFO: TCP Data received {"connection_id":191150,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:31:06] local.INFO: Processing buffer {"connection_id":191150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:31:06] local.INFO: Packet analysis {"connection_id":191150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15b"} 
[2026-09-24 08:31:06] local.INFO: Extracted packet for processing {"connection_id":191150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15b"} 
[2026-09-24 08:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295937024001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790218805000,"timestamp_ms":1790218805000,"timestamp_seconds":1790218805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15b1f08"} 
[2026-09-24 08:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295937024001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295937024001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:31:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:31:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295937024001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":191150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:31:06] local.INFO: GPS data processed {"connection_id":191150,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:31:06] local.INFO: Acknowledgment sent {"connection_id":191150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:31:11] local.INFO: TCP Data received {"connection_id":191151,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191151,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:31:11] local.INFO: Processing buffer {"connection_id":191151,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:31:11] local.INFO: IMEI packet received {"connection_id":191151,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":191151,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:31:12] local.INFO: TCP Data received {"connection_id":191151,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15ad4d0012d0cb70007045ee8001600001f..."} 
[2026-09-24 08:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15ad4d0012d0cb70007045ee8001600001f..."} 
[2026-09-24 08:31:12] local.INFO: Processing buffer {"connection_id":191151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15ad4d0012d0cb70007045ee8001600001f..."} 
[2026-09-24 08:31:12] local.INFO: Packet analysis {"connection_id":191151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15a"} 
[2026-09-24 08:31:12] local.INFO: Extracted packet for processing {"connection_id":191151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15a"} 
[2026-09-24 08:31:12] local.INFO: GPS Element Parsed {"raw_longitude":755808000,"raw_latitude":117726952,"longitude_deg":75.5808,"latitude_deg":11.7726952,"altitude":22,"angle":0,"satellites":31,"speed":8,"hex_longitude":"2d0cb700","hex_latitude":"07045ee8","is_valid_coordinates":true} 
[2026-09-24 08:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296006912001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33545451223384064,"note":"Value kept but may cause issues"} 
[2026-09-24 08:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914582598213931008,"note":"Value kept but may cause issues"} 
[2026-09-24 08:31:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 08:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790218786000,"timestamp_ms":1790218786000,"timestamp_seconds":1790218786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15ad4d0"} 
[2026-09-24 08:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-24 08:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296006912001,"66":13722,"16":33545451223384064,"94":11008,"24":8,"45":914582598213931008},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-24 08:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296006912001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33545451223384064,"km_value":33545451223384.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:31:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":914582598213931008,"description":"Unknown IO ID 45"} 
[2026-09-24 08:31:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458296006912001,"power":13722,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":914582598213931008}} 
[2026-09-24 08:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":191151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888775,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:31:12] local.INFO: GPS data processed {"connection_id":191151,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:31:12] local.INFO: Acknowledgment sent {"connection_id":191151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:31:29] local.INFO: TCP Data received {"connection_id":193832,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:31:29] local.INFO: Processing buffer {"connection_id":193832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:31:29] local.INFO: IMEI packet received {"connection_id":193832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":193832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:31:34] local.INFO: TCP Data received {"connection_id":193832,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:31:34] local.INFO: Processing buffer {"connection_id":193832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:31:34] local.INFO: IMEI packet received {"connection_id":193832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":193832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:31:35] local.INFO: TCP Data received {"connection_id":193832,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:31:35] local.INFO: Processing buffer {"connection_id":193832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:31:35] local.INFO: Packet analysis {"connection_id":193832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15b"} 
[2026-09-24 08:31:35] local.INFO: Extracted packet for processing {"connection_id":193832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15b"} 
[2026-09-24 08:31:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295937024001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790218805000,"timestamp_ms":1790218805000,"timestamp_seconds":1790218805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15b1f08"} 
[2026-09-24 08:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:31:35] 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-09-24 08:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295937024001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295937024001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:31:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:31:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295937024001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":193832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:31:35] local.INFO: GPS data processed {"connection_id":193832,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:31:35] local.INFO: Acknowledgment sent {"connection_id":193832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:31:43] local.INFO: TCP Data received {"connection_id":191151,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15c3848012d0c5f8007053ae0001d01531f..."} 
[2026-09-24 08:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15c3848012d0c5f8007053ae0001d01531f..."} 
[2026-09-24 08:31:43] local.INFO: Processing buffer {"connection_id":191151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15c3848012d0c5f8007053ae0001d01531f..."} 
[2026-09-24 08:31:43] local.INFO: Packet analysis {"connection_id":191151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15c"} 
[2026-09-24 08:31:43] local.INFO: Extracted packet for processing {"connection_id":191151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15c"} 
[2026-09-24 08:31:43] local.INFO: GPS Element Parsed {"raw_longitude":755785600,"raw_latitude":117783264,"longitude_deg":75.57856,"latitude_deg":11.7783264,"altitude":29,"angle":339,"satellites":31,"speed":31,"hex_longitude":"2d0c5f80","hex_latitude":"07053ae0","is_valid_coordinates":true} 
[2026-09-24 08:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296031232001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33548487765262336,"note":"Value kept but may cause issues"} 
[2026-09-24 08:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892557181301008384,"note":"Value kept but may cause issues"} 
[2026-09-24 08:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790218877000,"timestamp_ms":1790218877000,"timestamp_seconds":1790218877,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15c3848"} 
[2026-09-24 08:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-24 08:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296031232001,"66":14439,"95":206,"94":10240,"24":31,"16":33548487765262336,"45":892557181301008384},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-24 08:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296031232001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:31:43] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-24 08:31:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33548487765262336,"km_value":33548487765262.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":892557181301008384,"description":"Unknown IO ID 45"} 
[2026-09-24 08:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296031232001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":892557181301008384}} 
[2026-09-24 08:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":191151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888777,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:31:44] local.INFO: GPS data processed {"connection_id":191151,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:31:44] local.INFO: Acknowledgment sent {"connection_id":191151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:32:08] local.INFO: TCP Data received {"connection_id":193832,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:32:08] local.INFO: Processing buffer {"connection_id":193832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:32:08] local.INFO: Packet analysis {"connection_id":193832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15b"} 
[2026-09-24 08:32:08] local.INFO: Extracted packet for processing {"connection_id":193832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15b"} 
[2026-09-24 08:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295937024001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790218805000,"timestamp_ms":1790218805000,"timestamp_seconds":1790218805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15b1f08"} 
[2026-09-24 08:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:32:08] 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-09-24 08:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295937024001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295937024001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:32:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:32:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295937024001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":193832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:32:08] local.INFO: GPS data processed {"connection_id":193832,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:32:08] local.INFO: Acknowledgment sent {"connection_id":193832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:32:09] local.INFO: TCP Data received {"connection_id":193833,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193833,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:32:09] local.INFO: Processing buffer {"connection_id":193833,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:32:09] local.INFO: IMEI packet received {"connection_id":193833,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":193833,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:32:12] local.INFO: TCP Data received {"connection_id":193833,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193833,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:32:12] local.INFO: Processing buffer {"connection_id":193833,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:32:12] local.INFO: IMEI packet received {"connection_id":193833,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":193833,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:32:16] local.INFO: TCP Data received {"connection_id":193833,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193833,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:32:16] local.INFO: Processing buffer {"connection_id":193833,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:32:16] local.INFO: IMEI packet received {"connection_id":193833,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":193833,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:32:19] local.INFO: TCP Data received {"connection_id":193833,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15c5f58012d0c500007055880001d01471f..."} 
[2026-09-24 08:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15c5f58012d0c500007055880001d01471f..."} 
[2026-09-24 08:32:19] local.INFO: Processing buffer {"connection_id":193833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15c5f58012d0c500007055880001d01471f..."} 
[2026-09-24 08:32:19] local.INFO: Packet analysis {"connection_id":193833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15c"} 
[2026-09-24 08:32:19] local.INFO: Extracted packet for processing {"connection_id":193833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15c"} 
[2026-09-24 08:32:19] local.INFO: GPS Element Parsed {"raw_longitude":755781632,"raw_latitude":117790848,"longitude_deg":75.5781632,"latitude_deg":11.7790848,"altitude":29,"angle":327,"satellites":31,"speed":35,"hex_longitude":"2d0c5000","hex_latitude":"07055880","is_valid_coordinates":true} 
[2026-09-24 08:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296032512001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33548904377090048,"note":"Value kept but may cause issues"} 
[2026-09-24 08:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891572018883518464,"note":"Value kept but may cause issues"} 
[2026-09-24 08:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790218887000,"timestamp_ms":1790218887000,"timestamp_seconds":1790218887,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15c5f58"} 
[2026-09-24 08:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:32: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-09-24 08:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 08:32:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":193833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":193833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":193833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296032512001,"66":14548,"95":206,"94":10240,"24":35,"16":33548904377090048,"45":891572018883518464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-24 08:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296032512001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:32:19] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-24 08:32:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33548904377090048,"km_value":33548904377090.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":891572018883518464,"description":"Unknown IO ID 45"} 
[2026-09-24 08:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296032512001,"power":14548,"unknown_95":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":891572018883518464}} 
[2026-09-24 08:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":193833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888779,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:32:19] local.INFO: GPS data processed {"connection_id":193833,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:32:19] local.INFO: Acknowledgment sent {"connection_id":193833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:32:22] local.INFO: TCP Data received {"connection_id":193833,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15c9608012d0c3f80070576a0001801531f..."} 
[2026-09-24 08:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15c9608012d0c3f80070576a0001801531f..."} 
[2026-09-24 08:32:22] local.INFO: Processing buffer {"connection_id":193833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15c9608012d0c3f80070576a0001801531f..."} 
[2026-09-24 08:32:22] local.INFO: Packet analysis {"connection_id":193833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15c"} 
[2026-09-24 08:32:22] local.INFO: Extracted packet for processing {"connection_id":193833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15c"} 
[2026-09-24 08:32:22] local.INFO: GPS Element Parsed {"raw_longitude":755777408,"raw_latitude":117798560,"longitude_deg":75.5777408,"latitude_deg":11.779856,"altitude":24,"angle":339,"satellites":31,"speed":5,"hex_longitude":"2d0c3f80","hex_latitude":"070576a0","is_valid_coordinates":true} 
[2026-09-24 08:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296035072001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33549329578852352,"note":"Value kept but may cause issues"} 
[2026-09-24 08:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887209156746444800,"note":"Value kept but may cause issues"} 
[2026-09-24 08:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790218901000,"timestamp_ms":1790218901000,"timestamp_seconds":1790218901,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15c9608"} 
[2026-09-24 08:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:32: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-09-24 08:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-24 08:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296035072001,"66":14450,"95":206,"94":10240,"24":5,"16":33549329578852352,"45":887209156746444800},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-24 08:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296035072001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:32:22] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-24 08:32:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33549329578852352,"km_value":33549329578852.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":887209156746444800,"description":"Unknown IO ID 45"} 
[2026-09-24 08:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296035072001,"power":14450,"unknown_95":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":887209156746444800}} 
[2026-09-24 08:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":193833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888780,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:32:22] local.INFO: GPS data processed {"connection_id":193833,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:32:22] local.INFO: Acknowledgment sent {"connection_id":193833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:32:29] local.INFO: TCP Data received {"connection_id":190950,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:32:29] local.INFO: Processing buffer {"connection_id":190950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:32:29] local.INFO: IMEI packet received {"connection_id":190950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":190950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:32:34] local.INFO: TCP Data received {"connection_id":190950,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:32:34] local.INFO: Processing buffer {"connection_id":190950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:32:34] local.INFO: IMEI packet received {"connection_id":190950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":190950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:32:36] local.INFO: TCP Data received {"connection_id":190950,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:32:36] local.INFO: Processing buffer {"connection_id":190950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:32:36] local.INFO: Packet analysis {"connection_id":190950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15b"} 
[2026-09-24 08:32:36] local.INFO: Extracted packet for processing {"connection_id":190950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15b"} 
[2026-09-24 08:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295937024001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790218805000,"timestamp_ms":1790218805000,"timestamp_seconds":1790218805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15b1f08"} 
[2026-09-24 08:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295937024001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295937024001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:32:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:32:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295937024001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":190950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:32:36] local.INFO: GPS data processed {"connection_id":190950,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:32:36] local.INFO: Acknowledgment sent {"connection_id":190950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:33:06] local.INFO: TCP Data received {"connection_id":191152,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191152,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:33:06] local.INFO: Processing buffer {"connection_id":191152,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:33:06] local.INFO: IMEI packet received {"connection_id":191152,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":191152,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:33:07] local.INFO: TCP Data received {"connection_id":191152,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191152,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:33:07] local.INFO: Processing buffer {"connection_id":191152,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:33:07] local.INFO: IMEI packet received {"connection_id":191152,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":191152,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:33:08] local.INFO: TCP Data received {"connection_id":190950,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:33:08] local.INFO: Processing buffer {"connection_id":190950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:33:08] local.INFO: Packet analysis {"connection_id":190950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15b"} 
[2026-09-24 08:33:08] local.INFO: Extracted packet for processing {"connection_id":190950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15b"} 
[2026-09-24 08:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295937024001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790218805000,"timestamp_ms":1790218805000,"timestamp_seconds":1790218805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15b1f08"} 
[2026-09-24 08:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:33:08] 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-09-24 08: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-09-24 08:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295937024001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295937024001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:33:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295937024001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":190950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:33:08] local.INFO: GPS data processed {"connection_id":190950,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:33:08] local.INFO: Acknowledgment sent {"connection_id":190950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:33:10] local.INFO: TCP Data received {"connection_id":191152,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191152,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:33:10] local.INFO: Processing buffer {"connection_id":191152,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:33:10] local.INFO: IMEI packet received {"connection_id":191152,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":191152,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:33:10] local.INFO: TCP Data received {"connection_id":191152,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15d5d40012d0c73800705a988001d003e21..."} 
[2026-09-24 08:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15d5d40012d0c73800705a988001d003e21..."} 
[2026-09-24 08:33:10] local.INFO: Processing buffer {"connection_id":191152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15d5d40012d0c73800705a988001d003e21..."} 
[2026-09-24 08:33:10] local.INFO: Packet analysis {"connection_id":191152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15d"} 
[2026-09-24 08:33:10] local.INFO: Extracted packet for processing {"connection_id":191152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15d"} 
[2026-09-24 08:33:10] local.INFO: GPS Element Parsed {"raw_longitude":755790720,"raw_latitude":117811592,"longitude_deg":75.579072,"latitude_deg":11.7811592,"altitude":29,"angle":62,"satellites":33,"speed":29,"hex_longitude":"2d0c7380","hex_latitude":"0705a988","is_valid_coordinates":true} 
[2026-09-24 08:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296051456001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33550463450218496,"note":"Value kept but may cause issues"} 
[2026-09-24 08:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896357093494773760,"note":"Value kept but may cause issues"} 
[2026-09-24 08:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790218952000,"timestamp_ms":1790218952000,"timestamp_seconds":1790218952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15d5d40"} 
[2026-09-24 08:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-24 08:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191152,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191152,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296051456001,"66":14461,"164":206,"94":10240,"24":29,"16":33550463450218496,"45":896357093494773760},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-24 08:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296051456001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:33:10] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-24 08:33:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33550463450218496,"km_value":33550463450218.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":896357093494773760,"description":"Unknown IO ID 45"} 
[2026-09-24 08:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296051456001,"power":14461,"unknown_164":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":896357093494773760}} 
[2026-09-24 08:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":191152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888783,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:33:10] local.INFO: GPS data processed {"connection_id":191152,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:33:10] local.INFO: Acknowledgment sent {"connection_id":191152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:33:11] local.INFO: TCP Data received {"connection_id":191152,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15d6510012d0c7a800705ab08001c004e20..."} 
[2026-09-24 08:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15d6510012d0c7a800705ab08001c004e20..."} 
[2026-09-24 08:33:11] local.INFO: Processing buffer {"connection_id":191152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15d6510012d0c7a800705ab08001c004e20..."} 
[2026-09-24 08:33:11] local.INFO: Packet analysis {"connection_id":191152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15d"} 
[2026-09-24 08:33:11] local.INFO: Extracted packet for processing {"connection_id":191152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15d"} 
[2026-09-24 08:33:11] local.INFO: GPS Element Parsed {"raw_longitude":755792512,"raw_latitude":117811976,"longitude_deg":75.5792512,"latitude_deg":11.7811976,"altitude":28,"angle":78,"satellites":32,"speed":36,"hex_longitude":"2d0c7a80","hex_latitude":"0705ab08","is_valid_coordinates":true} 
[2026-09-24 08:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296051712001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33550553644531712,"note":"Value kept but may cause issues"} 
[2026-09-24 08:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897201518424983552,"note":"Value kept but may cause issues"} 
[2026-09-24 08:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790218954000,"timestamp_ms":1790218954000,"timestamp_seconds":1790218954,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15d6510"} 
[2026-09-24 08:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-24 08:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191152,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191152,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296051712001,"66":14439,"164":206,"94":10240,"24":36,"16":33550553644531712,"45":897201518424983552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-24 08:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296051712001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:33:11] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-24 08:33:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33550553644531712,"km_value":33550553644531.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":897201518424983552,"description":"Unknown IO ID 45"} 
[2026-09-24 08:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296051712001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_45":897201518424983552}} 
[2026-09-24 08:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":191152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888784,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:33:11] local.INFO: GPS data processed {"connection_id":191152,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:33:11] local.INFO: Acknowledgment sent {"connection_id":191152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:33:29] local.INFO: TCP Data received {"connection_id":190951,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:33:29] local.INFO: Processing buffer {"connection_id":190951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:33:29] local.INFO: IMEI packet received {"connection_id":190951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":190951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:33:34] local.INFO: TCP Data received {"connection_id":190951,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:33:34] local.INFO: Processing buffer {"connection_id":190951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:33:34] local.INFO: IMEI packet received {"connection_id":190951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":190951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:33:35] local.INFO: TCP Data received {"connection_id":190951,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:33:35] local.INFO: Processing buffer {"connection_id":190951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:33:35] local.INFO: Packet analysis {"connection_id":190951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15b"} 
[2026-09-24 08:33:35] local.INFO: Extracted packet for processing {"connection_id":190951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15b"} 
[2026-09-24 08:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295937024001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790218805000,"timestamp_ms":1790218805000,"timestamp_seconds":1790218805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15b1f08"} 
[2026-09-24 08:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:33:35] 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-09-24 08: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-09-24 08:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295937024001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295937024001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:33:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:33:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295937024001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":190951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:33:35] local.INFO: GPS data processed {"connection_id":190951,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:33:35] local.INFO: Acknowledgment sent {"connection_id":190951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:33:42] local.INFO: TCP Data received {"connection_id":191152,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15e10f0012d0cf3800705d6100010004d20..."} 
[2026-09-24 08:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15e10f0012d0cf3800705d6100010004d20..."} 
[2026-09-24 08:33:42] local.INFO: Processing buffer {"connection_id":191152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15e10f0012d0cf3800705d6100010004d20..."} 
[2026-09-24 08:33:42] local.INFO: Packet analysis {"connection_id":191152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15e"} 
[2026-09-24 08:33:42] local.INFO: Extracted packet for processing {"connection_id":191152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15e"} 
[2026-09-24 08:33:42] local.INFO: GPS Element Parsed {"raw_longitude":755823488,"raw_latitude":117822992,"longitude_deg":75.5823488,"latitude_deg":11.7822992,"altitude":16,"angle":77,"satellites":32,"speed":26,"hex_longitude":"2d0cf380","hex_latitude":"0705d610","is_valid_coordinates":true} 
[2026-09-24 08:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296063232001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33552258746548224,"note":"Value kept but may cause issues"} 
[2026-09-24 08:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":932526628005054464,"note":"Value kept but may cause issues"} 
[2026-09-24 08:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790218998000,"timestamp_ms":1790218998000,"timestamp_seconds":1790218998,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15e10f0"} 
[2026-09-24 08:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-24 08:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191152,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191152,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296063232001,"66":14450,"167":206,"94":11008,"24":26,"16":33552258746548224,"45":932526628005054464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-24 08:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296063232001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:33:42] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-24 08:33:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33552258746548224,"km_value":33552258746548.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":932526628005054464,"description":"Unknown IO ID 45"} 
[2026-09-24 08:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296063232001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":932526628005054464}} 
[2026-09-24 08:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":191152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888786,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:33:42] local.INFO: GPS data processed {"connection_id":191152,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:33:42] local.INFO: Acknowledgment sent {"connection_id":191152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:34:06] local.INFO: TCP Data received {"connection_id":190952,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190952,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:34:06] local.INFO: Processing buffer {"connection_id":190952,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:34:06] local.INFO: IMEI packet received {"connection_id":190952,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":190952,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:34:06] local.INFO: TCP Data received {"connection_id":190952,"ip":"42.109.136.2","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-24 08:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190952,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-24 08:34:06] local.INFO: Processing buffer {"connection_id":190952,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-24 08:34:06] local.INFO: IMEI packet received {"connection_id":190952,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":190952,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:34:07] local.INFO: TCP Data received {"connection_id":190951,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:34:07] local.INFO: Processing buffer {"connection_id":190951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:34:07] local.INFO: Packet analysis {"connection_id":190951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15b"} 
[2026-09-24 08:34:07] local.INFO: Extracted packet for processing {"connection_id":190951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15b"} 
[2026-09-24 08:34:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295937024001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790218805000,"timestamp_ms":1790218805000,"timestamp_seconds":1790218805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15b1f08"} 
[2026-09-24 08:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295937024001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295937024001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:34:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:34:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295937024001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":190951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:34:07] local.INFO: GPS data processed {"connection_id":190951,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:34:07] local.INFO: Acknowledgment sent {"connection_id":190951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:34:08] local.INFO: TCP Data received {"connection_id":190952,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190952,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:34:08] local.INFO: Processing buffer {"connection_id":190952,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-24 08:34:08] local.INFO: IMEI packet received {"connection_id":190952,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":190952,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:34:09] local.INFO: TCP Data received {"connection_id":190952,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15e1ca8012d0cfc000705d6b0000f005b20..."} 
[2026-09-24 08:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15e1ca8012d0cfc000705d6b0000f005b20..."} 
[2026-09-24 08:34:09] local.INFO: Processing buffer {"connection_id":190952,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a0d1..."} 
[2026-09-24 08:34:09] local.INFO: IMEI packet received {"connection_id":190952,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":190952,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:34:10] local.INFO: TCP Data received {"connection_id":190952,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15e47a0012d0d21800705d7300011005920..."} 
[2026-09-24 08:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15e47a0012d0d21800705d7300011005920..."} 
[2026-09-24 08:34:10] local.INFO: Processing buffer {"connection_id":190952,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0d15e1ca8012d0cfc000705d6b0000f005b20..."} 
[2026-09-24 08:34:10] local.INFO: Packet analysis {"connection_id":190952,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d15e"} 
[2026-09-24 08:34:10] local.INFO: Extracted packet for processing {"connection_id":190952,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15e"} 
[2026-09-24 08:34:10] local.INFO: GPS Element Parsed {"raw_longitude":755825664,"raw_latitude":117823152,"longitude_deg":75.5825664,"latitude_deg":11.7823152,"altitude":15,"angle":91,"satellites":32,"speed":27,"hex_longitude":"2d0cfc00","hex_latitude":"0705d6b0","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296063488001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33552361825763328,"note":"Value kept but may cause issues"} 
[2026-09-24 08:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":933230315446865920,"note":"Value kept but may cause issues"} 
[2026-09-24 08:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790219001000,"timestamp_ms":1790219001000,"timestamp_seconds":1790219001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15e1ca8"} 
[2026-09-24 08:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-24 08:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190952,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190952,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296063488001,"66":14450,"167":206,"94":11008,"24":27,"16":33552361825763328,"45":933230315446865920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-24 08:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296063488001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:34:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-24 08:34:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33552361825763328,"km_value":33552361825763.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":933230315446865920,"description":"Unknown IO ID 45"} 
[2026-09-24 08:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296063488001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":27,"odometer":null,"unknown_45":933230315446865920}} 
[2026-09-24 08:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":190952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888788,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:34:11] local.INFO: GPS data processed {"connection_id":190952,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:34:11] local.INFO: Acknowledgment sent {"connection_id":190952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:34:11] local.INFO: Packet analysis {"connection_id":190952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15e"} 
[2026-09-24 08:34:11] local.INFO: Extracted packet for processing {"connection_id":190952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15e"} 
[2026-09-24 08:34:11] local.INFO: GPS Element Parsed {"raw_longitude":755835264,"raw_latitude":117823280,"longitude_deg":75.5835264,"latitude_deg":11.782328,"altitude":17,"angle":89,"satellites":32,"speed":28,"hex_longitude":"2d0d2180","hex_latitude":"0705d730","is_valid_coordinates":true} 
[2026-09-24 08:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296064256001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33552817092296704,"note":"Value kept but may cause issues"} 
[2026-09-24 08:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":935622852748947456,"note":"Value kept but may cause issues"} 
[2026-09-24 08:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790219012000,"timestamp_ms":1790219012000,"timestamp_seconds":1790219012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15e47a0"} 
[2026-09-24 08:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-24 08:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190952,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190952,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296064256001,"66":14439,"167":206,"94":11008,"24":28,"16":33552817092296704,"45":935622852748947456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-24 08:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296064256001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:34:11] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-24 08:34:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33552817092296704,"km_value":33552817092296.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":935622852748947456,"description":"Unknown IO ID 45"} 
[2026-09-24 08:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296064256001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":28,"odometer":null,"unknown_45":935622852748947456}} 
[2026-09-24 08:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":190952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888789,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:34:11] local.INFO: GPS data processed {"connection_id":190952,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:34:11] local.INFO: Acknowledgment sent {"connection_id":190952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:34:29] local.INFO: TCP Data received {"connection_id":192514,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:34:29] local.INFO: Processing buffer {"connection_id":192514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:34:29] local.INFO: IMEI packet received {"connection_id":192514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":192514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:34:34] local.INFO: TCP Data received {"connection_id":192514,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:34:34] local.INFO: Processing buffer {"connection_id":192514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:34:34] local.INFO: IMEI packet received {"connection_id":192514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":192514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:34:35] local.INFO: TCP Data received {"connection_id":192514,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:34:35] local.INFO: Processing buffer {"connection_id":192514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:34:35] local.INFO: Packet analysis {"connection_id":192514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15b"} 
[2026-09-24 08:34:35] local.INFO: Extracted packet for processing {"connection_id":192514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15b"} 
[2026-09-24 08:34:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295937024001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790218805000,"timestamp_ms":1790218805000,"timestamp_seconds":1790218805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15b1f08"} 
[2026-09-24 08:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:34:35] 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-09-24 08:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295937024001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295937024001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:34:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:34:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295937024001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":192514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:34:35] local.INFO: GPS data processed {"connection_id":192514,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:34:35] local.INFO: Acknowledgment sent {"connection_id":192514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:34:42] local.INFO: TCP Data received {"connection_id":190952,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15e8620012d0d39000705d7700010008622..."} 
[2026-09-24 08:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15e8620012d0d39000705d7700010008622..."} 
[2026-09-24 08:34:42] local.INFO: Processing buffer {"connection_id":190952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15e8620012d0d39000705d7700010008622..."} 
[2026-09-24 08:34:42] local.INFO: Packet analysis {"connection_id":190952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15e"} 
[2026-09-24 08:34:42] local.INFO: Extracted packet for processing {"connection_id":190952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15e"} 
[2026-09-24 08:34:42] local.INFO: GPS Element Parsed {"raw_longitude":755841280,"raw_latitude":117823344,"longitude_deg":75.584128,"latitude_deg":11.7823344,"altitude":16,"angle":134,"satellites":34,"speed":6,"hex_longitude":"2d0d3900","hex_latitude":"0705d770","is_valid_coordinates":true} 
[2026-09-24 08:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296067072001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33553104855105536,"note":"Value kept but may cause issues"} 
[2026-09-24 08:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":946178164375629824,"note":"Value kept but may cause issues"} 
[2026-09-24 08:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790219028000,"timestamp_ms":1790219028000,"timestamp_seconds":1790219028,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15e8620"} 
[2026-09-24 08:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 08:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190952,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190952,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296067072001,"66":14428,"167":206,"94":11008,"24":6,"16":33553104855105536,"45":946178164375629824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-24 08:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296067072001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:34:42] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-24 08:34:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33553104855105536,"km_value":33553104855105.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":946178164375629824,"description":"Unknown IO ID 45"} 
[2026-09-24 08:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296067072001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":946178164375629824}} 
[2026-09-24 08:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":190952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888791,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:34:42] local.INFO: GPS data processed {"connection_id":190952,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:34:42] local.INFO: Acknowledgment sent {"connection_id":190952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:35:05] local.INFO: TCP Data received {"connection_id":193834,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193834,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:35:05] local.INFO: Processing buffer {"connection_id":193834,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:35:05] local.INFO: IMEI packet received {"connection_id":193834,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":193834,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:35:05] local.INFO: TCP Data received {"connection_id":193834,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193834,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:35:05] local.INFO: Processing buffer {"connection_id":193834,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:35:05] local.INFO: IMEI packet received {"connection_id":193834,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":193834,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:35:06] local.INFO: TCP Data received {"connection_id":193834,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193834,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:35:06] local.INFO: Processing buffer {"connection_id":193834,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:35:06] local.INFO: IMEI packet received {"connection_id":193834,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":193834,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:35:07] local.INFO: TCP Data received {"connection_id":192514,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:35:07] local.INFO: Processing buffer {"connection_id":192514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:35:07] local.INFO: Packet analysis {"connection_id":192514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15b"} 
[2026-09-24 08:35:07] local.INFO: Extracted packet for processing {"connection_id":192514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15b"} 
[2026-09-24 08:35:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295937024001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790218805000,"timestamp_ms":1790218805000,"timestamp_seconds":1790218805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15b1f08"} 
[2026-09-24 08:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295937024001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295937024001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:35:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:35:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295937024001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":192514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:35:07] local.INFO: GPS data processed {"connection_id":192514,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:35:07] local.INFO: Acknowledgment sent {"connection_id":192514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:35:07] local.INFO: TCP Data received {"connection_id":193834,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193834,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:35:07] local.INFO: Processing buffer {"connection_id":193834,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:35:07] local.INFO: IMEI packet received {"connection_id":193834,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":193834,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:35:29] local.INFO: TCP Data received {"connection_id":191153,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:35:29] local.INFO: Processing buffer {"connection_id":191153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:35:29] local.INFO: IMEI packet received {"connection_id":191153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":191153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:35:34] local.INFO: TCP Data received {"connection_id":191153,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:35:34] local.INFO: Processing buffer {"connection_id":191153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:35:34] local.INFO: IMEI packet received {"connection_id":191153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":191153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:35:35] local.INFO: TCP Data received {"connection_id":191153,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:35:35] local.INFO: Processing buffer {"connection_id":191153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15b1f08012d34c24006aa4930000901382b..."} 
[2026-09-24 08:35:35] local.INFO: Packet analysis {"connection_id":191153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15b"} 
[2026-09-24 08:35:35] local.INFO: Extracted packet for processing {"connection_id":191153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15b"} 
[2026-09-24 08:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458295937024001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790218805000,"timestamp_ms":1790218805000,"timestamp_seconds":1790218805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15b1f08"} 
[2026-09-24 08:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:35:35] 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-09-24 08: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-09-24 08:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458295937024001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458295937024001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:35:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:35:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458295937024001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":191153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:35:35] local.INFO: GPS data processed {"connection_id":191153,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:35:35] local.INFO: Acknowledgment sent {"connection_id":191153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:36:06] local.INFO: TCP Data received {"connection_id":191153,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:36:06] local.INFO: Processing buffer {"connection_id":191153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:36:06] local.INFO: Packet analysis {"connection_id":191153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15f"} 
[2026-09-24 08:36:06] local.INFO: Extracted packet for processing {"connection_id":191153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15f"} 
[2026-09-24 08:36:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296014080001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790219106000,"timestamp_ms":1790219106000,"timestamp_seconds":1790219106,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15fb6d0"} 
[2026-09-24 08:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296014080001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296014080001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:36:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:36:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296014080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":191153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:36:06] local.INFO: GPS data processed {"connection_id":191153,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:36:06] local.INFO: Acknowledgment sent {"connection_id":191153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:36:29] local.INFO: TCP Data received {"connection_id":190953,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:36:29] local.INFO: Processing buffer {"connection_id":190953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:36:29] local.INFO: IMEI packet received {"connection_id":190953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":190953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:36:34] local.INFO: TCP Data received {"connection_id":190953,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:36:34] local.INFO: Processing buffer {"connection_id":190953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:36:34] local.INFO: IMEI packet received {"connection_id":190953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":190953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:36:35] local.INFO: TCP Data received {"connection_id":190953,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:36:35] local.INFO: Processing buffer {"connection_id":190953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:36:35] local.INFO: Packet analysis {"connection_id":190953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15f"} 
[2026-09-24 08:36:35] local.INFO: Extracted packet for processing {"connection_id":190953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15f"} 
[2026-09-24 08:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296014080001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790219106000,"timestamp_ms":1790219106000,"timestamp_seconds":1790219106,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15fb6d0"} 
[2026-09-24 08:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296014080001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296014080001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:36:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:36:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296014080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":190953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:36:35] local.INFO: GPS data processed {"connection_id":190953,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:36:35] local.INFO: Acknowledgment sent {"connection_id":190953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:37:06] local.INFO: TCP Data received {"connection_id":190953,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:37:06] local.INFO: Processing buffer {"connection_id":190953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:37:06] local.INFO: Packet analysis {"connection_id":190953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15f"} 
[2026-09-24 08:37:06] local.INFO: Extracted packet for processing {"connection_id":190953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15f"} 
[2026-09-24 08:37:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296014080001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790219106000,"timestamp_ms":1790219106000,"timestamp_seconds":1790219106,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15fb6d0"} 
[2026-09-24 08:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296014080001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296014080001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:37:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:37:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296014080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":190953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:37:06] local.INFO: GPS data processed {"connection_id":190953,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:37:06] local.INFO: Acknowledgment sent {"connection_id":190953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:37:29] local.INFO: TCP Data received {"connection_id":193837,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:37:29] local.INFO: Processing buffer {"connection_id":193837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:37:29] local.INFO: IMEI packet received {"connection_id":193837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":193837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:37:34] local.INFO: TCP Data received {"connection_id":193837,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:37:34] local.INFO: Processing buffer {"connection_id":193837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:37:34] local.INFO: IMEI packet received {"connection_id":193837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":193837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:37:35] local.INFO: TCP Data received {"connection_id":193837,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:37:35] local.INFO: Processing buffer {"connection_id":193837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:37:35] local.INFO: Packet analysis {"connection_id":193837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15f"} 
[2026-09-24 08:37:35] local.INFO: Extracted packet for processing {"connection_id":193837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15f"} 
[2026-09-24 08:37:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296014080001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790219106000,"timestamp_ms":1790219106000,"timestamp_seconds":1790219106,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15fb6d0"} 
[2026-09-24 08:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296014080001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296014080001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:37:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:37:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296014080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":193837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:37:35] local.INFO: GPS data processed {"connection_id":193837,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:37:35] local.INFO: Acknowledgment sent {"connection_id":193837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:38:07] local.INFO: TCP Data received {"connection_id":193837,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:38:07] local.INFO: Processing buffer {"connection_id":193837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:38:07] local.INFO: Packet analysis {"connection_id":193837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15f"} 
[2026-09-24 08:38:07] local.INFO: Extracted packet for processing {"connection_id":193837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15f"} 
[2026-09-24 08:38:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296014080001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790219106000,"timestamp_ms":1790219106000,"timestamp_seconds":1790219106,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15fb6d0"} 
[2026-09-24 08:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296014080001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296014080001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:38:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:38:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296014080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":193837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:38:07] local.INFO: GPS data processed {"connection_id":193837,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:38:07] local.INFO: Acknowledgment sent {"connection_id":193837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:38:29] local.INFO: TCP Data received {"connection_id":191156,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:38:29] local.INFO: Processing buffer {"connection_id":191156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:38:29] local.INFO: IMEI packet received {"connection_id":191156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":191156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:38:34] local.INFO: TCP Data received {"connection_id":191156,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:38:34] local.INFO: Processing buffer {"connection_id":191156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:38:34] local.INFO: IMEI packet received {"connection_id":191156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":191156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:38:37] local.INFO: TCP Data received {"connection_id":191156,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:38:37] local.INFO: Processing buffer {"connection_id":191156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:38:37] local.INFO: Packet analysis {"connection_id":191156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15f"} 
[2026-09-24 08:38:37] local.INFO: Extracted packet for processing {"connection_id":191156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15f"} 
[2026-09-24 08:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296014080001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790219106000,"timestamp_ms":1790219106000,"timestamp_seconds":1790219106,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15fb6d0"} 
[2026-09-24 08:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296014080001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296014080001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:38:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:38:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296014080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":191156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:38:37] local.INFO: GPS data processed {"connection_id":191156,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:38:37] local.INFO: Acknowledgment sent {"connection_id":191156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:39:09] local.INFO: TCP Data received {"connection_id":191156,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:39:09] local.INFO: Processing buffer {"connection_id":191156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:39:09] local.INFO: Packet analysis {"connection_id":191156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15f"} 
[2026-09-24 08:39:09] local.INFO: Extracted packet for processing {"connection_id":191156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15f"} 
[2026-09-24 08:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296014080001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790219106000,"timestamp_ms":1790219106000,"timestamp_seconds":1790219106,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15fb6d0"} 
[2026-09-24 08:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08: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":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296014080001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296014080001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:39:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296014080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":191156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:39:09] local.INFO: GPS data processed {"connection_id":191156,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:39:09] local.INFO: Acknowledgment sent {"connection_id":191156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:39:29] local.INFO: TCP Data received {"connection_id":193838,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:39:29] local.INFO: Processing buffer {"connection_id":193838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:39:29] local.INFO: IMEI packet received {"connection_id":193838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":193838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:39:34] local.INFO: TCP Data received {"connection_id":193838,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:39:34] local.INFO: Processing buffer {"connection_id":193838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:39:34] local.INFO: IMEI packet received {"connection_id":193838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":193838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:39:35] local.INFO: TCP Data received {"connection_id":193838,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:39:35] local.INFO: Processing buffer {"connection_id":193838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:39:35] local.INFO: Packet analysis {"connection_id":193838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15f"} 
[2026-09-24 08:39:35] local.INFO: Extracted packet for processing {"connection_id":193838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15f"} 
[2026-09-24 08:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296014080001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790219106000,"timestamp_ms":1790219106000,"timestamp_seconds":1790219106,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15fb6d0"} 
[2026-09-24 08:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296014080001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296014080001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:39:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:39:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296014080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":193838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:39:35] local.INFO: GPS data processed {"connection_id":193838,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:39:35] local.INFO: Acknowledgment sent {"connection_id":193838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:40:07] local.INFO: TCP Data received {"connection_id":193838,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:40:07] local.INFO: Processing buffer {"connection_id":193838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:40:07] local.INFO: Packet analysis {"connection_id":193838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15f"} 
[2026-09-24 08:40:07] local.INFO: Extracted packet for processing {"connection_id":193838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15f"} 
[2026-09-24 08:40:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296014080001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790219106000,"timestamp_ms":1790219106000,"timestamp_seconds":1790219106,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15fb6d0"} 
[2026-09-24 08:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296014080001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296014080001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:40:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:40:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296014080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":193838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:40:07] local.INFO: GPS data processed {"connection_id":193838,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:40:07] local.INFO: Acknowledgment sent {"connection_id":193838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:40:11] local.INFO: TCP Data received {"connection_id":191158,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191158,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:40:11] local.INFO: Processing buffer {"connection_id":191158,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:40:11] local.INFO: IMEI packet received {"connection_id":191158,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":191158,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:40:11] local.INFO: TCP Data received {"connection_id":191158,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191158,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:40:11] local.INFO: Processing buffer {"connection_id":191158,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:40:11] local.INFO: IMEI packet received {"connection_id":191158,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":191158,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:40:12] local.INFO: TCP Data received {"connection_id":191158,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d16423a0012d0e3300070666280021015d22..."} 
[2026-09-24 08:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d16423a0012d0e3300070666280021015d22..."} 
[2026-09-24 08:40:12] local.INFO: Processing buffer {"connection_id":191158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d16423a0012d0e3300070666280021015d22..."} 
[2026-09-24 08:40:12] local.INFO: Packet analysis {"connection_id":191158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:40:12] local.INFO: Extracted packet for processing {"connection_id":191158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:40:12] local.INFO: GPS Element Parsed {"raw_longitude":755905280,"raw_latitude":117859880,"longitude_deg":75.590528,"latitude_deg":11.785988,"altitude":33,"angle":349,"satellites":34,"speed":6,"hex_longitude":"2d0e3300","hex_latitude":"07066628","is_valid_coordinates":true} 
[2026-09-24 08:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296164096001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33560049817223168,"note":"Value kept but may cause issues"} 
[2026-09-24 08:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023161570515075072,"note":"Value kept but may cause issues"} 
[2026-09-24 08:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790219396000,"timestamp_ms":1790219396000,"timestamp_seconds":1790219396,"priority":1,"record_length":96,"hex_timestamp":"000001a0d16423a0"} 
[2026-09-24 08:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-24 08:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296164096001,"66":14396,"165":206,"94":11008,"24":6,"16":33560049817223168,"45":1023161570515075072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 08:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296164096001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:40:12] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 08:40:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33560049817223168,"km_value":33560049817223.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023161570515075072,"description":"Unknown IO ID 45"} 
[2026-09-24 08:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296164096001,"power":14396,"unknown_165":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":1023161570515075072}} 
[2026-09-24 08:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":191158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888803,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:40:12] local.INFO: GPS data processed {"connection_id":191158,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:40:12] local.INFO: Acknowledgment sent {"connection_id":191158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:40:12] local.INFO: TCP Data received {"connection_id":191158,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1643b10012d0e3140070668e80021012622..."} 
[2026-09-24 08:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1643b10012d0e3140070668e80021012622..."} 
[2026-09-24 08:40:12] local.INFO: Processing buffer {"connection_id":191158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1643b10012d0e3140070668e80021012622..."} 
[2026-09-24 08:40:12] local.INFO: Packet analysis {"connection_id":191158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:40:12] local.INFO: Extracted packet for processing {"connection_id":191158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:40:12] local.INFO: GPS Element Parsed {"raw_longitude":755904832,"raw_latitude":117860584,"longitude_deg":75.5904832,"latitude_deg":11.7860584,"altitude":33,"angle":294,"satellites":34,"speed":5,"hex_longitude":"2d0e3140","hex_latitude":"070668e8","is_valid_coordinates":true} 
[2026-09-24 08:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296165376001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33560092766896128,"note":"Value kept but may cause issues"} 
[2026-09-24 08:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023161570515363840,"note":"Value kept but may cause issues"} 
[2026-09-24 08:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790219402000,"timestamp_ms":1790219402000,"timestamp_seconds":1790219402,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1643b10"} 
[2026-09-24 08:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-24 08:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296165376001,"66":14515,"165":206,"94":11008,"24":5,"16":33560092766896128,"45":1023161570515363840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 08:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296165376001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:40:12] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 08:40:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33560092766896128,"km_value":33560092766896.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023161570515363840,"description":"Unknown IO ID 45"} 
[2026-09-24 08:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296165376001,"power":14515,"unknown_165":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":1023161570515363840}} 
[2026-09-24 08:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":191158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888804,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:40:13] local.INFO: GPS data processed {"connection_id":191158,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:40:13] local.INFO: Acknowledgment sent {"connection_id":191158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:40:29] local.INFO: TCP Data received {"connection_id":190955,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:40:29] local.INFO: Processing buffer {"connection_id":190955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:40:29] local.INFO: IMEI packet received {"connection_id":190955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":190955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:40:34] local.INFO: TCP Data received {"connection_id":190955,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:40:34] local.INFO: Processing buffer {"connection_id":190955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:40:34] local.INFO: IMEI packet received {"connection_id":190955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":190955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:40:35] local.INFO: TCP Data received {"connection_id":190955,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:40:35] local.INFO: Processing buffer {"connection_id":190955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d15fb6d0012d34c24006aa4930000901382b..."} 
[2026-09-24 08:40:35] local.INFO: Packet analysis {"connection_id":190955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d15f"} 
[2026-09-24 08:40:35] local.INFO: Extracted packet for processing {"connection_id":190955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d15f"} 
[2026-09-24 08:40:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296014080001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790219106000,"timestamp_ms":1790219106000,"timestamp_seconds":1790219106,"priority":1,"record_length":96,"hex_timestamp":"000001a0d15fb6d0"} 
[2026-09-24 08:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296014080001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296014080001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:40:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:40:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296014080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":190955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:40:35] local.INFO: GPS data processed {"connection_id":190955,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:40:35] local.INFO: Acknowledgment sent {"connection_id":190955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:40:43] local.INFO: TCP Data received {"connection_id":191158,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1644ab0012d0e2f40070669b00022011922..."} 
[2026-09-24 08:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1644ab0012d0e2f40070669b00022011922..."} 
[2026-09-24 08:40:43] local.INFO: Processing buffer {"connection_id":191158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1644ab0012d0e2f40070669b00022011922..."} 
[2026-09-24 08:40:43] local.INFO: Packet analysis {"connection_id":191158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:40:43] local.INFO: Extracted packet for processing {"connection_id":191158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:40:43] local.INFO: GPS Element Parsed {"raw_longitude":755904320,"raw_latitude":117860784,"longitude_deg":75.590432,"latitude_deg":11.7860784,"altitude":34,"angle":281,"satellites":34,"speed":6,"hex_longitude":"2d0e2f40","hex_latitude":"070669b0","is_valid_coordinates":true} 
[2026-09-24 08:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296166912001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33560118536699904,"note":"Value kept but may cause issues"} 
[2026-09-24 08:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022668989306300416,"note":"Value kept but may cause issues"} 
[2026-09-24 08:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790219406000,"timestamp_ms":1790219406000,"timestamp_seconds":1790219406,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1644ab0"} 
[2026-09-24 08:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-24 08:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296166912001,"66":14450,"165":206,"94":11008,"24":6,"16":33560118536699904,"45":1022668989306300416},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 08:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296166912001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:40:43] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 08:40:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33560118536699904,"km_value":33560118536699.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022668989306300416,"description":"Unknown IO ID 45"} 
[2026-09-24 08:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296166912001,"power":14450,"unknown_165":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":1022668989306300416}} 
[2026-09-24 08:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":191158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888806,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:40:43] local.INFO: GPS data processed {"connection_id":191158,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:40:43] local.INFO: Acknowledgment sent {"connection_id":191158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:41:06] local.INFO: TCP Data received {"connection_id":190955,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:41:06] local.INFO: Processing buffer {"connection_id":190955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:41:06] local.INFO: Packet analysis {"connection_id":190955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:41:06] local.INFO: Extracted packet for processing {"connection_id":190955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:41:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296091136001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790219407000,"timestamp_ms":1790219407000,"timestamp_seconds":1790219407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1644e98"} 
[2026-09-24 08:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296091136001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296091136001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:41:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:41:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296091136001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":190955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:41:06] local.INFO: GPS data processed {"connection_id":190955,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:41:06] local.INFO: Acknowledgment sent {"connection_id":190955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:41:09] local.INFO: TCP Data received {"connection_id":190956,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190956,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:41:09] local.INFO: Processing buffer {"connection_id":190956,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:41:09] local.INFO: IMEI packet received {"connection_id":190956,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":190956,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:41:11] local.INFO: TCP Data received {"connection_id":190956,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190956,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:41:11] local.INFO: Processing buffer {"connection_id":190956,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:41:11] local.INFO: IMEI packet received {"connection_id":190956,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":190956,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:41:12] local.INFO: TCP Data received {"connection_id":190956,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190956,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:41:12] local.INFO: Processing buffer {"connection_id":190956,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:41:12] local.INFO: IMEI packet received {"connection_id":190956,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":190956,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:41:13] local.INFO: TCP Data received {"connection_id":190956,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1645668012d0e2d4007066a680022012822..."} 
[2026-09-24 08:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1645668012d0e2d4007066a680022012822..."} 
[2026-09-24 08:41:13] local.INFO: Processing buffer {"connection_id":190956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1645668012d0e2d4007066a680022012822..."} 
[2026-09-24 08:41:13] local.INFO: Packet analysis {"connection_id":190956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:41:13] local.INFO: Extracted packet for processing {"connection_id":190956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:41:13] local.INFO: GPS Element Parsed {"raw_longitude":755903808,"raw_latitude":117860968,"longitude_deg":75.5903808,"latitude_deg":11.7860968,"altitude":34,"angle":296,"satellites":34,"speed":10,"hex_longitude":"2d0e2d40","hex_latitude":"07066a68","is_valid_coordinates":true} 
[2026-09-24 08:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296167936001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33560148601470976,"note":"Value kept but may cause issues"} 
[2026-09-24 08:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022106039352930304,"note":"Value kept but may cause issues"} 
[2026-09-24 08:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790219409000,"timestamp_ms":1790219409000,"timestamp_seconds":1790219409,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1645668"} 
[2026-09-24 08:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-24 08:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190956,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190956,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296167936001,"66":14309,"165":206,"94":11008,"24":10,"16":33560148601470976,"45":1022106039352930304},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 08:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296167936001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:41:13] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 08:41:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33560148601470976,"km_value":33560148601470.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022106039352930304,"description":"Unknown IO ID 45"} 
[2026-09-24 08:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296167936001,"power":14309,"unknown_165":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":1022106039352930304}} 
[2026-09-24 08:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":190956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888808,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:41:13] local.INFO: GPS data processed {"connection_id":190956,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:41:13] local.INFO: Acknowledgment sent {"connection_id":190956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:41:13] local.INFO: TCP Data received {"connection_id":190956,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1645a50012d0e2c4007066b280022013c22..."} 
[2026-09-24 08:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1645a50012d0e2c4007066b280022013c22..."} 
[2026-09-24 08:41:13] local.INFO: Processing buffer {"connection_id":190956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1645a50012d0e2c4007066b280022013c22..."} 
[2026-09-24 08:41:13] local.INFO: Packet analysis {"connection_id":190956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:41:13] local.INFO: Extracted packet for processing {"connection_id":190956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:41:13] local.INFO: GPS Element Parsed {"raw_longitude":755903552,"raw_latitude":117861160,"longitude_deg":75.5903552,"latitude_deg":11.786116,"altitude":34,"angle":316,"satellites":34,"speed":11,"hex_longitude":"2d0e2c40","hex_latitude":"07066b28","is_valid_coordinates":true} 
[2026-09-24 08:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296168704001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33560161486372864,"note":"Value kept but may cause issues"} 
[2026-09-24 08:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021543089399556096,"note":"Value kept but may cause issues"} 
[2026-09-24 08:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790219410000,"timestamp_ms":1790219410000,"timestamp_seconds":1790219410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1645a50"} 
[2026-09-24 08:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-24 08:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190956,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190956,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296168704001,"66":14309,"165":206,"94":11008,"24":11,"16":33560161486372864,"45":1021543089399556096},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 08:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296168704001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:41:13] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 08:41:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 08:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33560161486372864,"km_value":33560161486372.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021543089399556096,"description":"Unknown IO ID 45"} 
[2026-09-24 08:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296168704001,"power":14309,"unknown_165":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":1021543089399556096}} 
[2026-09-24 08:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":190956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888809,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:41:14] local.INFO: GPS data processed {"connection_id":190956,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:41:14] local.INFO: Acknowledgment sent {"connection_id":190956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:41:29] local.INFO: TCP Data received {"connection_id":192515,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:41:29] local.INFO: Processing buffer {"connection_id":192515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:41:29] local.INFO: IMEI packet received {"connection_id":192515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":192515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:41:34] local.INFO: TCP Data received {"connection_id":192515,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:41:34] local.INFO: Processing buffer {"connection_id":192515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:41:34] local.INFO: IMEI packet received {"connection_id":192515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":192515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:41:36] local.INFO: TCP Data received {"connection_id":192515,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:41:36] local.INFO: Processing buffer {"connection_id":192515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:41:36] local.INFO: Packet analysis {"connection_id":192515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:41:36] local.INFO: Extracted packet for processing {"connection_id":192515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296091136001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790219407000,"timestamp_ms":1790219407000,"timestamp_seconds":1790219407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1644e98"} 
[2026-09-24 08:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296091136001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296091136001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:41:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:41:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296091136001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":192515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:41:36] local.INFO: GPS data processed {"connection_id":192515,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:41:36] local.INFO: Acknowledgment sent {"connection_id":192515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:41:45] local.INFO: TCP Data received {"connection_id":190956,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1658b00012d0e06c0070690280018008922..."} 
[2026-09-24 08:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1658b00012d0e06c0070690280018008922..."} 
[2026-09-24 08:41:45] local.INFO: Processing buffer {"connection_id":190956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1658b00012d0e06c0070690280018008922..."} 
[2026-09-24 08:41:45] local.INFO: Packet analysis {"connection_id":190956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d165"} 
[2026-09-24 08:41:45] local.INFO: Extracted packet for processing {"connection_id":190956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d165"} 
[2026-09-24 08:41:45] local.INFO: GPS Element Parsed {"raw_longitude":755893952,"raw_latitude":117870632,"longitude_deg":75.5893952,"latitude_deg":11.7870632,"altitude":24,"angle":137,"satellites":34,"speed":11,"hex_longitude":"2d0e06c0","hex_latitude":"07069028","is_valid_coordinates":true} 
[2026-09-24 08:41: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-09-24 08:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296188416001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33561093494276096,"note":"Value kept but may cause issues"} 
[2026-09-24 08:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1010284090333689856,"note":"Value kept but may cause issues"} 
[2026-09-24 08:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790219488000,"timestamp_ms":1790219488000,"timestamp_seconds":1790219488,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1658b00"} 
[2026-09-24 08:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-24 08:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:41: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-09-24 08:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":190956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":190956,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":190956,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296188416001,"66":14515,"219":206,"94":10240,"24":11,"16":33561093494276096,"45":1010284090333689856},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 08:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296188416001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:41:45] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 08:41:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33561093494276096,"km_value":33561093494276.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1010284090333689856,"description":"Unknown IO ID 45"} 
[2026-09-24 08:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296188416001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1010284090333689856}} 
[2026-09-24 08:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":190956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888811,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:41:45] local.INFO: GPS data processed {"connection_id":190956,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:41:45] local.INFO: Acknowledgment sent {"connection_id":190956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:42:06] local.INFO: TCP Data received {"connection_id":193839,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193839,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:42:06] local.INFO: Processing buffer {"connection_id":193839,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:42:06] local.INFO: IMEI packet received {"connection_id":193839,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":193839,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:42:07] local.INFO: TCP Data received {"connection_id":192515,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:42:07] local.INFO: Processing buffer {"connection_id":192515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:42:07] local.INFO: Packet analysis {"connection_id":192515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:42:07] local.INFO: Extracted packet for processing {"connection_id":192515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:42:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296091136001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790219407000,"timestamp_ms":1790219407000,"timestamp_seconds":1790219407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1644e98"} 
[2026-09-24 08:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296091136001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296091136001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:42:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:42:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296091136001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":192515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:42:07] local.INFO: GPS data processed {"connection_id":192515,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:42:07] local.INFO: Acknowledgment sent {"connection_id":192515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:42:11] local.INFO: TCP Data received {"connection_id":193839,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193839,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:42:11] local.INFO: Processing buffer {"connection_id":193839,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:42:11] local.INFO: IMEI packet received {"connection_id":193839,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":193839,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:42:12] local.INFO: TCP Data received {"connection_id":193839,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1659aa0012d0e08c007068e480017009421..."} 
[2026-09-24 08:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1659aa0012d0e08c007068e480017009421..."} 
[2026-09-24 08:42:12] local.INFO: Processing buffer {"connection_id":193839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1659aa0012d0e08c007068e480017009421..."} 
[2026-09-24 08:42:12] local.INFO: Packet analysis {"connection_id":193839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d165"} 
[2026-09-24 08:42:12] local.INFO: Extracted packet for processing {"connection_id":193839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d165"} 
[2026-09-24 08:42:12] local.INFO: GPS Element Parsed {"raw_longitude":755894464,"raw_latitude":117870152,"longitude_deg":75.5894464,"latitude_deg":11.7870152,"altitude":23,"angle":148,"satellites":33,"speed":5,"hex_longitude":"2d0e08c0","hex_latitude":"07068e48","is_valid_coordinates":true} 
[2026-09-24 08:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296188928001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33561127854014464,"note":"Value kept but may cause issues"} 
[2026-09-24 08:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1010706302798669824,"note":"Value kept but may cause issues"} 
[2026-09-24 08:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790219492000,"timestamp_ms":1790219492000,"timestamp_seconds":1790219492,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1659aa0"} 
[2026-09-24 08:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-24 08:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193839,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193839,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296188928001,"66":14407,"219":206,"94":10240,"24":5,"16":33561127854014464,"45":1010706302798669824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 08:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296188928001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:42:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 08:42:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33561127854014464,"km_value":33561127854014.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1010706302798669824,"description":"Unknown IO ID 45"} 
[2026-09-24 08:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296188928001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":1010706302798669824}} 
[2026-09-24 08:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":193839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888813,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:42:12] local.INFO: GPS data processed {"connection_id":193839,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:42:12] local.INFO: Acknowledgment sent {"connection_id":193839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:42:30] local.INFO: TCP Data received {"connection_id":191159,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:42:30] local.INFO: Processing buffer {"connection_id":191159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:42:30] local.INFO: IMEI packet received {"connection_id":191159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":191159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:42:34] local.INFO: TCP Data received {"connection_id":191159,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:42:34] local.INFO: Processing buffer {"connection_id":191159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:42:34] local.INFO: IMEI packet received {"connection_id":191159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":191159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:42:36] local.INFO: TCP Data received {"connection_id":191159,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:42:36] local.INFO: Processing buffer {"connection_id":191159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:42:36] local.INFO: Packet analysis {"connection_id":191159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:42:36] local.INFO: Extracted packet for processing {"connection_id":191159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296091136001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790219407000,"timestamp_ms":1790219407000,"timestamp_seconds":1790219407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1644e98"} 
[2026-09-24 08:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296091136001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296091136001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:42:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:42:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296091136001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":191159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:42:36] local.INFO: GPS data processed {"connection_id":191159,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:42:36] local.INFO: Acknowledgment sent {"connection_id":191159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:42:44] local.INFO: TCP Data received {"connection_id":193839,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1659e88012d0e090007068de0001700a422..."} 
[2026-09-24 08:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1659e88012d0e090007068de0001700a422..."} 
[2026-09-24 08:42:44] local.INFO: Processing buffer {"connection_id":193839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1659e88012d0e090007068de0001700a422..."} 
[2026-09-24 08:42:44] local.INFO: Packet analysis {"connection_id":193839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d165"} 
[2026-09-24 08:42:44] local.INFO: Extracted packet for processing {"connection_id":193839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d165"} 
[2026-09-24 08:42:44] local.INFO: GPS Element Parsed {"raw_longitude":755894528,"raw_latitude":117870048,"longitude_deg":75.5894528,"latitude_deg":11.7870048,"altitude":23,"angle":164,"satellites":34,"speed":4,"hex_longitude":"2d0e0900","hex_latitude":"07068de0","is_valid_coordinates":true} 
[2026-09-24 08:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296189952001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33561132148981760,"note":"Value kept but may cause issues"} 
[2026-09-24 08:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011269252751968256,"note":"Value kept but may cause issues"} 
[2026-09-24 08:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790219493000,"timestamp_ms":1790219493000,"timestamp_seconds":1790219493,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1659e88"} 
[2026-09-24 08:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-24 08:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193839,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193839,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296189952001,"66":14396,"219":206,"94":10240,"24":4,"16":33561132148981760,"45":1011269252751968256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 08:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296189952001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:42:44] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 08:42:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33561132148981760,"km_value":33561132148981.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011269252751968256,"description":"Unknown IO ID 45"} 
[2026-09-24 08:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296189952001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":1011269252751968256}} 
[2026-09-24 08:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":193839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888815,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:42:44] local.INFO: GPS data processed {"connection_id":193839,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:42:44] local.INFO: Acknowledgment sent {"connection_id":193839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:43:06] local.INFO: TCP Data received {"connection_id":192516,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192516,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:43:06] local.INFO: Processing buffer {"connection_id":192516,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:43:06] local.INFO: IMEI packet received {"connection_id":192516,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":192516,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:43:08] local.INFO: TCP Data received {"connection_id":191159,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:43:08] local.INFO: Processing buffer {"connection_id":191159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:43:08] local.INFO: Packet analysis {"connection_id":191159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:43:08] local.INFO: Extracted packet for processing {"connection_id":191159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:43:08] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296091136001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790219407000,"timestamp_ms":1790219407000,"timestamp_seconds":1790219407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1644e98"} 
[2026-09-24 08:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:43:08] 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-09-24 08:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296091136001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296091136001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:43:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:43:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296091136001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":191159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:43:08] local.INFO: GPS data processed {"connection_id":191159,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:43:08] local.INFO: Acknowledgment sent {"connection_id":191159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:43:11] local.INFO: TCP Data received {"connection_id":192516,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192516,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:43:11] local.INFO: Processing buffer {"connection_id":192516,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:43:11] local.INFO: IMEI packet received {"connection_id":192516,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":192516,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:43:12] local.INFO: TCP Data received {"connection_id":192516,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d165cd68012d0e0ac0070688000013008e23..."} 
[2026-09-24 08:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d165cd68012d0e0ac0070688000013008e23..."} 
[2026-09-24 08:43:12] local.INFO: Processing buffer {"connection_id":192516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d165cd68012d0e0ac0070688000013008e23..."} 
[2026-09-24 08:43:12] local.INFO: Packet analysis {"connection_id":192516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d165"} 
[2026-09-24 08:43:12] local.INFO: Extracted packet for processing {"connection_id":192516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d165"} 
[2026-09-24 08:43:12] local.INFO: GPS Element Parsed {"raw_longitude":755894976,"raw_latitude":117868544,"longitude_deg":75.5894976,"latitude_deg":11.7868544,"altitude":19,"angle":142,"satellites":35,"speed":2,"hex_longitude":"2d0e0ac0","hex_latitude":"07068800","is_valid_coordinates":true} 
[2026-09-24 08:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296190208001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33561213753360384,"note":"Value kept but may cause issues"} 
[2026-09-24 08:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011339621496119296,"note":"Value kept but may cause issues"} 
[2026-09-24 08:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790219505000,"timestamp_ms":1790219505000,"timestamp_seconds":1790219505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d165cd68"} 
[2026-09-24 08:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-24 08:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192516,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192516,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296190208001,"66":13906,"219":206,"94":10240,"24":2,"16":33561213753360384,"45":1011339621496119296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 08:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296190208001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:43:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 08:43:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33561213753360384,"km_value":33561213753360.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011339621496119296,"description":"Unknown IO ID 45"} 
[2026-09-24 08:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296190208001,"power":13906,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1011339621496119296}} 
[2026-09-24 08:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":192516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888817,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:43:12] local.INFO: GPS data processed {"connection_id":192516,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:43:12] local.INFO: Acknowledgment sent {"connection_id":192516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:43:29] local.INFO: TCP Data received {"connection_id":190957,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:43:29] local.INFO: Processing buffer {"connection_id":190957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:43:29] local.INFO: IMEI packet received {"connection_id":190957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":190957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:43:34] local.INFO: TCP Data received {"connection_id":190957,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:43:34] local.INFO: Processing buffer {"connection_id":190957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:43:34] local.INFO: IMEI packet received {"connection_id":190957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":190957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:43:35] local.INFO: TCP Data received {"connection_id":190957,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:43:35] local.INFO: Processing buffer {"connection_id":190957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:43:35] local.INFO: Packet analysis {"connection_id":190957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:43:35] local.INFO: Extracted packet for processing {"connection_id":190957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296091136001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790219407000,"timestamp_ms":1790219407000,"timestamp_seconds":1790219407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1644e98"} 
[2026-09-24 08:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:43:35] 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-09-24 08:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296091136001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296091136001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:43:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:43:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296091136001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":190957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:43:35] local.INFO: GPS data processed {"connection_id":190957,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:43:35] local.INFO: Acknowledgment sent {"connection_id":190957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:43:42] local.INFO: TCP Data received {"connection_id":192516,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d165d920012d0e0b80070687c00012008223..."} 
[2026-09-24 08:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d165d920012d0e0b80070687c00012008223..."} 
[2026-09-24 08:43:42] local.INFO: Processing buffer {"connection_id":192516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d165d920012d0e0b80070687c00012008223..."} 
[2026-09-24 08:43:42] local.INFO: Packet analysis {"connection_id":192516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d165"} 
[2026-09-24 08:43:42] local.INFO: Extracted packet for processing {"connection_id":192516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d165"} 
[2026-09-24 08:43:42] local.INFO: GPS Element Parsed {"raw_longitude":755895168,"raw_latitude":117868480,"longitude_deg":75.5895168,"latitude_deg":11.786848,"altitude":18,"angle":130,"satellites":35,"speed":2,"hex_longitude":"2d0e0b80","hex_latitude":"070687c0","is_valid_coordinates":true} 
[2026-09-24 08:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296193280001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33561222343294976,"note":"Value kept but may cause issues"} 
[2026-09-24 08:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011832202704977920,"note":"Value kept but may cause issues"} 
[2026-09-24 08:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790219508000,"timestamp_ms":1790219508000,"timestamp_seconds":1790219508,"priority":1,"record_length":96,"hex_timestamp":"000001a0d165d920"} 
[2026-09-24 08:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-24 08:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192516,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192516,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296193280001,"66":14537,"219":206,"94":10240,"24":2,"16":33561222343294976,"45":1011832202704977920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 08:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296193280001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:43:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 08:43:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33561222343294976,"km_value":33561222343294.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011832202704977920,"description":"Unknown IO ID 45"} 
[2026-09-24 08:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296193280001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1011832202704977920}} 
[2026-09-24 08:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":192516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888819,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:43:43] local.INFO: GPS data processed {"connection_id":192516,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:43:43] local.INFO: Acknowledgment sent {"connection_id":192516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:44:04] local.INFO: TCP Data received {"connection_id":193840,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193840,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:44:04] local.INFO: Processing buffer {"connection_id":193840,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:44:04] local.INFO: IMEI packet received {"connection_id":193840,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":193840,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:44:06] local.INFO: TCP Data received {"connection_id":190957,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:44:06] local.INFO: Processing buffer {"connection_id":190957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:44:06] local.INFO: Packet analysis {"connection_id":190957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:44:06] local.INFO: Extracted packet for processing {"connection_id":190957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296091136001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790219407000,"timestamp_ms":1790219407000,"timestamp_seconds":1790219407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1644e98"} 
[2026-09-24 08:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296091136001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296091136001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:44:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:44:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296091136001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":190957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:44:06] local.INFO: GPS data processed {"connection_id":190957,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:44:06] local.INFO: Acknowledgment sent {"connection_id":190957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:44:07] local.INFO: TCP Data received {"connection_id":193840,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193840,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:44:07] local.INFO: Processing buffer {"connection_id":193840,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:44:07] local.INFO: IMEI packet received {"connection_id":193840,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":193840,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:44:07] local.INFO: TCP Data received {"connection_id":193840,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193840,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:44:07] local.INFO: Processing buffer {"connection_id":193840,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:44:07] local.INFO: IMEI packet received {"connection_id":193840,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":193840,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:44:08] local.INFO: TCP Data received {"connection_id":193840,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193840,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:44:08] local.INFO: Processing buffer {"connection_id":193840,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:44:08] local.INFO: IMEI packet received {"connection_id":193840,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":193840,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:44:09] local.INFO: TCP Data received {"connection_id":193840,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d165e8c0012d0e0c00070687b00012006c22..."} 
[2026-09-24 08:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d165e8c0012d0e0c00070687b00012006c22..."} 
[2026-09-24 08:44:09] local.INFO: Processing buffer {"connection_id":193840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d165e8c0012d0e0c00070687b00012006c22..."} 
[2026-09-24 08:44:09] local.INFO: Packet analysis {"connection_id":193840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d165"} 
[2026-09-24 08:44:09] local.INFO: Extracted packet for processing {"connection_id":193840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d165"} 
[2026-09-24 08:44:09] local.INFO: GPS Element Parsed {"raw_longitude":755895296,"raw_latitude":117868464,"longitude_deg":75.5895296,"latitude_deg":11.7868464,"altitude":18,"angle":108,"satellites":34,"speed":2,"hex_longitude":"2d0e0c00","hex_latitude":"070687b0","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296194048001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33561226638262272,"note":"Value kept but may cause issues"} 
[2026-09-24 08:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012043308937494528,"note":"Value kept but may cause issues"} 
[2026-09-24 08:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790219512000,"timestamp_ms":1790219512000,"timestamp_seconds":1790219512,"priority":1,"record_length":96,"hex_timestamp":"000001a0d165e8c0"} 
[2026-09-24 08:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-24 08:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296194048001,"66":14396,"219":206,"94":10240,"24":2,"16":33561226638262272,"45":1012043308937494528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 08:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296194048001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:44:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 08:44:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33561226638262272,"km_value":33561226638262.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012043308937494528,"description":"Unknown IO ID 45"} 
[2026-09-24 08:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296194048001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1012043308937494528}} 
[2026-09-24 08:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":193840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888821,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:44:09] local.INFO: GPS data processed {"connection_id":193840,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:44:09] local.INFO: Acknowledgment sent {"connection_id":193840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:44:29] local.INFO: TCP Data received {"connection_id":190958,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:44:29] local.INFO: Processing buffer {"connection_id":190958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:44:29] local.INFO: IMEI packet received {"connection_id":190958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":190958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:44:34] local.INFO: TCP Data received {"connection_id":190958,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:44:34] local.INFO: Processing buffer {"connection_id":190958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:44:34] local.INFO: IMEI packet received {"connection_id":190958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":190958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:44:36] local.INFO: TCP Data received {"connection_id":190958,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:44:36] local.INFO: Processing buffer {"connection_id":190958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:44:36] local.INFO: Packet analysis {"connection_id":190958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:44:36] local.INFO: Extracted packet for processing {"connection_id":190958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:44:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296091136001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790219407000,"timestamp_ms":1790219407000,"timestamp_seconds":1790219407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1644e98"} 
[2026-09-24 08:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296091136001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296091136001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:44:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:44:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296091136001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":190958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:44:36] local.INFO: GPS data processed {"connection_id":190958,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:44:36] local.INFO: Acknowledgment sent {"connection_id":190958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:44:40] local.INFO: TCP Data received {"connection_id":193840,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1684638012d0e34800706a198001e016623..."} 
[2026-09-24 08:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1684638012d0e34800706a198001e016623..."} 
[2026-09-24 08:44:40] local.INFO: Processing buffer {"connection_id":193840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1684638012d0e34800706a198001e016623..."} 
[2026-09-24 08:44:40] local.INFO: Packet analysis {"connection_id":193840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:44:40] local.INFO: Extracted packet for processing {"connection_id":193840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:44:40] local.INFO: GPS Element Parsed {"raw_longitude":755905664,"raw_latitude":117875096,"longitude_deg":75.5905664,"latitude_deg":11.7875096,"altitude":30,"angle":358,"satellites":35,"speed":10,"hex_longitude":"2d0e3480","hex_latitude":"0706a198","is_valid_coordinates":true} 
[2026-09-24 08:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296232448001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33562068451852288,"note":"Value kept but may cause issues"} 
[2026-09-24 08:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023020833029656576,"note":"Value kept but may cause issues"} 
[2026-09-24 08:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790219667000,"timestamp_ms":1790219667000,"timestamp_seconds":1790219667,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1684638"} 
[2026-09-24 08:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 08:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296232448001,"66":14515,"219":206,"94":10240,"24":10,"16":33562068451852288,"45":1023020833029656576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 08:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296232448001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:44:40] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 08:44:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33562068451852288,"km_value":33562068451852.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023020833029656576,"description":"Unknown IO ID 45"} 
[2026-09-24 08:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296232448001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":1023020833029656576}} 
[2026-09-24 08:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":193840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888823,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:44:40] local.INFO: GPS data processed {"connection_id":193840,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:44:40] local.INFO: Acknowledgment sent {"connection_id":193840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:45:06] local.INFO: TCP Data received {"connection_id":193841,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193841,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:45:06] local.INFO: Processing buffer {"connection_id":193841,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:45:06] local.INFO: IMEI packet received {"connection_id":193841,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":193841,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:45:07] local.INFO: TCP Data received {"connection_id":193841,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193841,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:45:07] local.INFO: Processing buffer {"connection_id":193841,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:45:07] local.INFO: IMEI packet received {"connection_id":193841,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":193841,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:45:09] local.INFO: TCP Data received {"connection_id":190958,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:45:09] local.INFO: Processing buffer {"connection_id":190958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:45:09] local.INFO: Packet analysis {"connection_id":190958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:45:09] local.INFO: Extracted packet for processing {"connection_id":190958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296091136001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790219407000,"timestamp_ms":1790219407000,"timestamp_seconds":1790219407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1644e98"} 
[2026-09-24 08:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:45: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-09-24 08: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-09-24 08:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296091136001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296091136001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:45:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296091136001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":190958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:45:09] local.INFO: GPS data processed {"connection_id":190958,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:45:09] local.INFO: Acknowledgment sent {"connection_id":190958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:45:11] local.INFO: TCP Data received {"connection_id":193841,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193841,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:45:11] local.INFO: Processing buffer {"connection_id":193841,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:45:11] local.INFO: IMEI packet received {"connection_id":193841,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":193841,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:45:12] local.INFO: TCP Data received {"connection_id":193841,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d16851f0012d0e35000706a548001e000922..."} 
[2026-09-24 08:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d16851f0012d0e35000706a548001e000922..."} 
[2026-09-24 08:45:12] local.INFO: Processing buffer {"connection_id":193841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d16851f0012d0e35000706a548001e000922..."} 
[2026-09-24 08:45:12] local.INFO: Packet analysis {"connection_id":193841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:45:12] local.INFO: Extracted packet for processing {"connection_id":193841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:45:12] local.INFO: GPS Element Parsed {"raw_longitude":755905792,"raw_latitude":117876040,"longitude_deg":75.5905792,"latitude_deg":11.787604,"altitude":30,"angle":9,"satellites":34,"speed":15,"hex_longitude":"2d0e3500","hex_latitude":"0706a548","is_valid_coordinates":true} 
[2026-09-24 08:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296234752001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33562111401525248,"note":"Value kept but may cause issues"} 
[2026-09-24 08:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023583782984325120,"note":"Value kept but may cause issues"} 
[2026-09-24 08:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790219670000,"timestamp_ms":1790219670000,"timestamp_seconds":1790219670,"priority":1,"record_length":96,"hex_timestamp":"000001a0d16851f0"} 
[2026-09-24 08:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-24 08:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193841,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193841,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296234752001,"66":14580,"219":206,"94":10240,"24":15,"16":33562111401525248,"45":1023583782984325120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 08:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296234752001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:45:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 08:45:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33562111401525248,"km_value":33562111401525.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023583782984325120,"description":"Unknown IO ID 45"} 
[2026-09-24 08:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296234752001,"power":14580,"unknown_219":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":1023583782984325120}} 
[2026-09-24 08:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":193841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888825,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:45:12] local.INFO: GPS data processed {"connection_id":193841,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:45:12] local.INFO: Acknowledgment sent {"connection_id":193841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:45:29] local.INFO: TCP Data received {"connection_id":191160,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:45:29] local.INFO: Processing buffer {"connection_id":191160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:45:29] local.INFO: IMEI packet received {"connection_id":191160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":191160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:45:34] local.INFO: TCP Data received {"connection_id":191160,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:45:34] local.INFO: Processing buffer {"connection_id":191160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:45:34] local.INFO: IMEI packet received {"connection_id":191160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":191160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:45:35] local.INFO: TCP Data received {"connection_id":191160,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:45:35] local.INFO: Processing buffer {"connection_id":191160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1644e98012d34c24006aa4930000901382b..."} 
[2026-09-24 08:45:35] local.INFO: Packet analysis {"connection_id":191160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:45:35] local.INFO: Extracted packet for processing {"connection_id":191160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d164"} 
[2026-09-24 08:45:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296091136001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790219407000,"timestamp_ms":1790219407000,"timestamp_seconds":1790219407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1644e98"} 
[2026-09-24 08:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 08:45:35] 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-09-24 08: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-09-24 08:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296091136001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296091136001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:45:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:45:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296091136001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":191160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:45:35] local.INFO: GPS data processed {"connection_id":191160,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:45:35] local.INFO: Acknowledgment sent {"connection_id":191160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:45:43] local.INFO: TCP Data received {"connection_id":193841,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1685da8012d0e36000706aad8001f001422..."} 
[2026-09-24 08:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1685da8012d0e36000706aad8001f001422..."} 
[2026-09-24 08:45:43] local.INFO: Processing buffer {"connection_id":193841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1685da8012d0e36000706aad8001f001422..."} 
[2026-09-24 08:45:43] local.INFO: Packet analysis {"connection_id":193841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:45:43] local.INFO: Extracted packet for processing {"connection_id":193841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:45:43] local.INFO: GPS Element Parsed {"raw_longitude":755906048,"raw_latitude":117877464,"longitude_deg":75.5906048,"latitude_deg":11.7877464,"altitude":31,"angle":20,"satellites":34,"speed":21,"hex_longitude":"2d0e3600","hex_latitude":"0706aad8","is_valid_coordinates":true} 
[2026-09-24 08:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296235520001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33562184415969280,"note":"Value kept but may cause issues"} 
[2026-09-24 08:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023724520472922112,"note":"Value kept but may cause issues"} 
[2026-09-24 08:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790219673000,"timestamp_ms":1790219673000,"timestamp_seconds":1790219673,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1685da8"} 
[2026-09-24 08:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-24 08:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193841,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193841,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296235520001,"66":13646,"219":206,"94":10240,"24":21,"16":33562184415969280,"45":1023724520472922112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 08:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296235520001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:45:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 08:45:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33562184415969280,"km_value":33562184415969.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023724520472922112,"description":"Unknown IO ID 45"} 
[2026-09-24 08:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296235520001,"power":13646,"unknown_219":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":1023724520472922112}} 
[2026-09-24 08:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":193841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888827,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:45:43] local.INFO: GPS data processed {"connection_id":193841,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:45:43] local.INFO: Acknowledgment sent {"connection_id":193841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:46:06] local.INFO: TCP Data received {"connection_id":192518,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192518,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:46:06] local.INFO: Processing buffer {"connection_id":192518,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:46:06] local.INFO: IMEI packet received {"connection_id":192518,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":192518,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:46:06] local.INFO: TCP Data received {"connection_id":191160,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:46:06] local.INFO: Processing buffer {"connection_id":191160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:46:06] local.INFO: Packet analysis {"connection_id":191160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:46:06] local.INFO: Extracted packet for processing {"connection_id":191160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:46:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296168192001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790219708000,"timestamp_ms":1790219708000,"timestamp_seconds":1790219708,"priority":1,"record_length":96,"hex_timestamp":"000001a0d168e660"} 
[2026-09-24 08:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 08:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296168192001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296168192001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:46:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:46:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296168192001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":191160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:46:07] local.INFO: GPS data processed {"connection_id":191160,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:46:07] local.INFO: Acknowledgment sent {"connection_id":191160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:46:07] local.INFO: TCP Data received {"connection_id":192518,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192518,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:46:07] local.INFO: Processing buffer {"connection_id":192518,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:46:07] local.INFO: IMEI packet received {"connection_id":192518,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":192518,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:46:08] local.INFO: TCP Data received {"connection_id":192518,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192518,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:46:08] local.INFO: Processing buffer {"connection_id":192518,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:46:08] local.INFO: IMEI packet received {"connection_id":192518,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":192518,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:46:11] local.INFO: TCP Data received {"connection_id":192518,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192518,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:46:11] local.INFO: Processing buffer {"connection_id":192518,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:46:11] local.INFO: IMEI packet received {"connection_id":192518,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":192518,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:46:12] local.INFO: TCP Data received {"connection_id":192518,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1694808012d0e3dc00706ee980025000b1f..."} 
[2026-09-24 08:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1694808012d0e3dc00706ee980025000b1f..."} 
[2026-09-24 08:46:12] local.INFO: Processing buffer {"connection_id":192518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1694808012d0e3dc00706ee980025000b1f..."} 
[2026-09-24 08:46:12] local.INFO: Packet analysis {"connection_id":192518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d169"} 
[2026-09-24 08:46:12] local.INFO: Extracted packet for processing {"connection_id":192518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d169"} 
[2026-09-24 08:46:12] local.INFO: GPS Element Parsed {"raw_longitude":755908032,"raw_latitude":117894808,"longitude_deg":75.5908032,"latitude_deg":11.7894808,"altitude":37,"angle":11,"satellites":31,"speed":9,"hex_longitude":"2d0e3dc0","hex_latitude":"0706ee98","is_valid_coordinates":true} 
[2026-09-24 08:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296251136001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33563060589297664,"note":"Value kept but may cause issues"} 
[2026-09-24 08:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026117057779660800,"note":"Value kept but may cause issues"} 
[2026-09-24 08:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790219733000,"timestamp_ms":1790219733000,"timestamp_seconds":1790219733,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1694808"} 
[2026-09-24 08:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-24 08:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296251136001,"66":14450,"219":206,"94":10240,"24":9,"16":33563060589297664,"45":1026117057779660800},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 08:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296251136001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:46:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 08:46:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33563060589297664,"km_value":33563060589297.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026117057779660800,"description":"Unknown IO ID 45"} 
[2026-09-24 08:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296251136001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1026117057779660800}} 
[2026-09-24 08:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":192518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888829,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:46:12] local.INFO: GPS data processed {"connection_id":192518,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:46:12] local.INFO: Acknowledgment sent {"connection_id":192518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:46:16] local.INFO: TCP Data received {"connection_id":192518,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1696f18012d0e3dc00706f7d80027016420..."} 
[2026-09-24 08:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1696f18012d0e3dc00706f7d80027016420..."} 
[2026-09-24 08:46:16] local.INFO: Processing buffer {"connection_id":192518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1696f18012d0e3dc00706f7d80027016420..."} 
[2026-09-24 08:46:16] local.INFO: Packet analysis {"connection_id":192518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d169"} 
[2026-09-24 08:46:16] local.INFO: Extracted packet for processing {"connection_id":192518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d169"} 
[2026-09-24 08:46:16] local.INFO: GPS Element Parsed {"raw_longitude":755908032,"raw_latitude":117897176,"longitude_deg":75.5908032,"latitude_deg":11.7897176,"altitude":39,"angle":356,"satellites":32,"speed":7,"hex_longitude":"2d0e3dc0","hex_latitude":"0706f7d8","is_valid_coordinates":true} 
[2026-09-24 08:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296251648001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33563176553414656,"note":"Value kept but may cause issues"} 
[2026-09-24 08:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026187426523944960,"note":"Value kept but may cause issues"} 
[2026-09-24 08:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790219743000,"timestamp_ms":1790219743000,"timestamp_seconds":1790219743,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1696f18"} 
[2026-09-24 08:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:46: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-09-24 08:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-24 08:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":192518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":192518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":192518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296251648001,"66":14548,"219":206,"94":10240,"24":7,"16":33563176553414656,"45":1026187426523944960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 08:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296251648001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:46:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 08:46:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33563176553414656,"km_value":33563176553414.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026187426523944960,"description":"Unknown IO ID 45"} 
[2026-09-24 08:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296251648001,"power":14548,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1026187426523944960}} 
[2026-09-24 08:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":192518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888830,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:46:17] local.INFO: GPS data processed {"connection_id":192518,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:46:17] local.INFO: Acknowledgment sent {"connection_id":192518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:46:22] local.INFO: TCP Data received {"connection_id":191161,"ip":"117.224.222.186","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 08:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 08:46:22] local.INFO: Processing buffer {"connection_id":191161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 08:46:22] local.INFO: IMEI packet received {"connection_id":191161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 08:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":191161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:46:28] local.INFO: TCP Data received {"connection_id":191161,"ip":"117.224.222.186","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 08:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 08:46:28] local.INFO: Processing buffer {"connection_id":191161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 08:46:28] local.INFO: IMEI packet received {"connection_id":191161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 08:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":191161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:46:29] local.INFO: TCP Data received {"connection_id":192519,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:46:29] local.INFO: Processing buffer {"connection_id":192519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:46:29] local.INFO: IMEI packet received {"connection_id":192519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":192519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:46:30] local.INFO: TCP Data received {"connection_id":191161,"ip":"117.224.222.186","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1683e68012c6bbf4008c9c3d0002500d224..."} 
[2026-09-24 08:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1683e68012c6bbf4008c9c3d0002500d224..."} 
[2026-09-24 08:46:30] local.INFO: Processing buffer {"connection_id":191161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1683e68012c6bbf4008c9c3d0002500d224..."} 
[2026-09-24 08:46:30] local.INFO: Packet analysis {"connection_id":191161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:46:30] local.INFO: Extracted packet for processing {"connection_id":191161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:46:30] local.INFO: GPS Element Parsed {"raw_longitude":745258816,"raw_latitude":147440592,"longitude_deg":74.5258816,"latitude_deg":14.7440592,"altitude":37,"angle":210,"satellites":36,"speed":0,"hex_longitude":"2c6bbf40","hex_latitude":"08c9c3d0","is_valid_coordinates":true} 
[2026-09-24 08:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296228864001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 08:46:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7774127788265787392,"note":"Value kept but may cause issues"} 
[2026-09-24 08:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,104,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790219665000,"timestamp_ms":1790219665000,"timestamp_seconds":1790219665,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1683e68"} 
[2026-09-24 08:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:46: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-09-24 08:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 08:46:30] 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-09-24 08:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":191161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":191161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 08:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":191161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 08:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.222.186","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 08:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 08:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296228864001,"66":28245,"211":206,"104":45568,"24":0,"16":3605341577150464,"44":7774127788265787392},"client_ip":"117.224.222.186","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,104,24,16,44]} 
[2026-09-24 08:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 08:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 08:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296228864001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:46:30] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-24 08:46:30] local.INFO: Unknown IO ID detected {"io_id":104,"value":45568,"description":"Unknown IO ID 104"} 
[2026-09-24 08:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:46:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":7774127788265787392,"description":"Unknown IO ID 44"} 
[2026-09-24 08:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296228864001,"power":28245,"unknown_211":206,"unknown_104":45568,"ignition":0,"odometer":null,"unknown_44":7774127788265787392}} 
[2026-09-24 08:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":191161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888831,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:46:30] local.INFO: GPS data processed {"connection_id":191161,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:46:30] local.INFO: Acknowledgment sent {"connection_id":191161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:46:34] local.INFO: TCP Data received {"connection_id":192519,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:46:34] local.INFO: Processing buffer {"connection_id":192519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:46:34] local.INFO: IMEI packet received {"connection_id":192519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":192519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:46:35] local.INFO: TCP Data received {"connection_id":192519,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:46:35] local.INFO: Processing buffer {"connection_id":192519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:46:35] local.INFO: Packet analysis {"connection_id":192519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:46:35] local.INFO: Extracted packet for processing {"connection_id":192519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296168192001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790219708000,"timestamp_ms":1790219708000,"timestamp_seconds":1790219708,"priority":1,"record_length":96,"hex_timestamp":"000001a0d168e660"} 
[2026-09-24 08:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 08:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296168192001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296168192001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:46:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:46:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296168192001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":192519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:46:35] local.INFO: GPS data processed {"connection_id":192519,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:46:35] local.INFO: Acknowledgment sent {"connection_id":192519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:46:48] local.INFO: TCP Data received {"connection_id":192518,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d16a0388012d0e0b8007070418001f010220..."} 
[2026-09-24 08:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d16a0388012d0e0b8007070418001f010220..."} 
[2026-09-24 08:46:48] local.INFO: Processing buffer {"connection_id":192518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d16a0388012d0e0b8007070418001f010220..."} 
[2026-09-24 08:46:48] local.INFO: Packet analysis {"connection_id":192518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d16a"} 
[2026-09-24 08:46:48] local.INFO: Extracted packet for processing {"connection_id":192518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d16a"} 
[2026-09-24 08:46:48] local.INFO: GPS Element Parsed {"raw_longitude":755895168,"raw_latitude":117900312,"longitude_deg":75.5895168,"latitude_deg":11.7900312,"altitude":31,"angle":258,"satellites":32,"speed":11,"hex_longitude":"2d0e0b80","hex_latitude":"07070418","is_valid_coordinates":true} 
[2026-09-24 08:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296262656001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33563919582756864,"note":"Value kept but may cause issues"} 
[2026-09-24 08:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1014435846247591936,"note":"Value kept but may cause issues"} 
[2026-09-24 08:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790219781000,"timestamp_ms":1790219781000,"timestamp_seconds":1790219781,"priority":1,"record_length":96,"hex_timestamp":"000001a0d16a0388"} 
[2026-09-24 08:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:46: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-09-24 08:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-24 08:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192518,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296262656001,"66":14439,"219":206,"94":10240,"24":11,"16":33563919582756864,"45":1014435846247591936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 08:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296262656001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:46:48] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 08:46:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33563919582756864,"km_value":33563919582756.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1014435846247591936,"description":"Unknown IO ID 45"} 
[2026-09-24 08:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296262656001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1014435846247591936}} 
[2026-09-24 08:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":192518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888833,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:46:48] local.INFO: GPS data processed {"connection_id":192518,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:46:48] local.INFO: Acknowledgment sent {"connection_id":192518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:47:06] local.INFO: TCP Data received {"connection_id":193842,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193842,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:47:06] local.INFO: Processing buffer {"connection_id":193842,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:47:06] local.INFO: IMEI packet received {"connection_id":193842,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":193842,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:47:07] local.INFO: TCP Data received {"connection_id":192519,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:47:07] local.INFO: Processing buffer {"connection_id":192519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:47:07] local.INFO: Packet analysis {"connection_id":192519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:47:07] local.INFO: Extracted packet for processing {"connection_id":192519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:47:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296168192001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790219708000,"timestamp_ms":1790219708000,"timestamp_seconds":1790219708,"priority":1,"record_length":96,"hex_timestamp":"000001a0d168e660"} 
[2026-09-24 08:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 08:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296168192001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296168192001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:47:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:47:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296168192001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":192519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:47:07] local.INFO: GPS data processed {"connection_id":192519,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:47:07] local.INFO: Acknowledgment sent {"connection_id":192519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:47:11] local.INFO: TCP Data received {"connection_id":193842,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193842,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:47:11] local.INFO: Processing buffer {"connection_id":193842,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:47:11] local.INFO: IMEI packet received {"connection_id":193842,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":193842,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:47:12] local.INFO: TCP Data received {"connection_id":193842,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d16a0770012d0e0a4007070410001e011422..."} 
[2026-09-24 08:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d16a0770012d0e0a4007070410001e011422..."} 
[2026-09-24 08:47:12] local.INFO: Processing buffer {"connection_id":193842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d16a0770012d0e0a4007070410001e011422..."} 
[2026-09-24 08:47:12] local.INFO: Packet analysis {"connection_id":193842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d16a"} 
[2026-09-24 08:47:12] local.INFO: Extracted packet for processing {"connection_id":193842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d16a"} 
[2026-09-24 08:47:12] local.INFO: GPS Element Parsed {"raw_longitude":755894848,"raw_latitude":117900304,"longitude_deg":75.5894848,"latitude_deg":11.7900304,"altitude":30,"angle":276,"satellites":34,"speed":9,"hex_longitude":"2d0e0a40","hex_latitude":"07070410","is_valid_coordinates":true} 
[2026-09-24 08:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296263936001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33563932467658752,"note":"Value kept but may cause issues"} 
[2026-09-24 08:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012043308945643520,"note":"Value kept but may cause issues"} 
[2026-09-24 08:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790219782000,"timestamp_ms":1790219782000,"timestamp_seconds":1790219782,"priority":1,"record_length":96,"hex_timestamp":"000001a0d16a0770"} 
[2026-09-24 08:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 08:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193842,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193842,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296263936001,"66":14439,"219":206,"94":10240,"24":9,"16":33563932467658752,"45":1012043308945643520},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 08:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296263936001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:47:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 08:47:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33563932467658752,"km_value":33563932467658.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012043308945643520,"description":"Unknown IO ID 45"} 
[2026-09-24 08:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296263936001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1012043308945643520}} 
[2026-09-24 08:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":193842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888835,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:47:12] local.INFO: GPS data processed {"connection_id":193842,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:47:12] local.INFO: Acknowledgment sent {"connection_id":193842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:47:26] local.INFO: TCP Data received {"connection_id":191162,"ip":"117.224.222.186","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 08:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 08:47:26] local.INFO: Processing buffer {"connection_id":191162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 08:47:26] local.INFO: IMEI packet received {"connection_id":191162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 08:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":191162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:47:28] local.INFO: TCP Data received {"connection_id":191162,"ip":"117.224.222.186","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 08:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 08:47:28] local.INFO: Processing buffer {"connection_id":191162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 08:47:28] local.INFO: IMEI packet received {"connection_id":191162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 08:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":191162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:47:29] local.INFO: TCP Data received {"connection_id":190959,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:47:29] local.INFO: Processing buffer {"connection_id":190959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:47:29] local.INFO: IMEI packet received {"connection_id":190959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":190959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:47:34] local.INFO: TCP Data received {"connection_id":190959,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:47:34] local.INFO: Processing buffer {"connection_id":190959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:47:34] local.INFO: IMEI packet received {"connection_id":190959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":190959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:47:35] local.INFO: TCP Data received {"connection_id":190959,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:47:35] local.INFO: Processing buffer {"connection_id":190959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:47:35] local.INFO: Packet analysis {"connection_id":190959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:47:35] local.INFO: Extracted packet for processing {"connection_id":190959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296168192001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790219708000,"timestamp_ms":1790219708000,"timestamp_seconds":1790219708,"priority":1,"record_length":96,"hex_timestamp":"000001a0d168e660"} 
[2026-09-24 08:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 08:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296168192001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296168192001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:47:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:47:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296168192001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":190959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:47:35] local.INFO: GPS data processed {"connection_id":190959,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:47:35] local.INFO: Acknowledgment sent {"connection_id":190959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:47:43] local.INFO: TCP Data received {"connection_id":193842,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d16af9a0012d0dc8000706f2b8001c010922..."} 
[2026-09-24 08:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d16af9a0012d0dc8000706f2b8001c010922..."} 
[2026-09-24 08:47:43] local.INFO: Processing buffer {"connection_id":193842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d16af9a0012d0dc8000706f2b8001c010922..."} 
[2026-09-24 08:47:43] local.INFO: Packet analysis {"connection_id":193842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d16a"} 
[2026-09-24 08:47:43] local.INFO: Extracted packet for processing {"connection_id":193842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d16a"} 
[2026-09-24 08:47:43] local.INFO: GPS Element Parsed {"raw_longitude":755877888,"raw_latitude":117895864,"longitude_deg":75.5877888,"latitude_deg":11.7895864,"altitude":28,"angle":265,"satellites":34,"speed":20,"hex_longitude":"2d0dc800","hex_latitude":"0706f2b8","is_valid_coordinates":true} 
[2026-09-24 08:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296279808001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33564817230921728,"note":"Value kept but may cause issues"} 
[2026-09-24 08:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":993677066714152960,"note":"Value kept but may cause issues"} 
[2026-09-24 08:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790219844000,"timestamp_ms":1790219844000,"timestamp_seconds":1790219844,"priority":1,"record_length":96,"hex_timestamp":"000001a0d16af9a0"} 
[2026-09-24 08:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-24 08:47:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193842,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193842,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296279808001,"66":14428,"219":206,"94":10240,"24":20,"16":33564817230921728,"45":993677066714152960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 08:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296279808001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:47:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 08:47:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33564817230921728,"km_value":33564817230921.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":993677066714152960,"description":"Unknown IO ID 45"} 
[2026-09-24 08:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296279808001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":993677066714152960}} 
[2026-09-24 08:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":193842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888837,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:47:44] local.INFO: GPS data processed {"connection_id":193842,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:47:44] local.INFO: Acknowledgment sent {"connection_id":193842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:48:06] local.INFO: TCP Data received {"connection_id":192520,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192520,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:48:06] local.INFO: Processing buffer {"connection_id":192520,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:48:06] local.INFO: IMEI packet received {"connection_id":192520,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":192520,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:48:06] local.INFO: TCP Data received {"connection_id":190959,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:48:06] local.INFO: Processing buffer {"connection_id":190959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:48:06] local.INFO: Packet analysis {"connection_id":190959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:48:06] local.INFO: Extracted packet for processing {"connection_id":190959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:48:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296168192001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790219708000,"timestamp_ms":1790219708000,"timestamp_seconds":1790219708,"priority":1,"record_length":96,"hex_timestamp":"000001a0d168e660"} 
[2026-09-24 08:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 08:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296168192001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296168192001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:48:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:48:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296168192001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":190959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:48:06] local.INFO: GPS data processed {"connection_id":190959,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:48:06] local.INFO: Acknowledgment sent {"connection_id":190959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:48:07] local.INFO: TCP Data received {"connection_id":192520,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192520,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:48:07] local.INFO: Processing buffer {"connection_id":192520,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:48:07] local.INFO: IMEI packet received {"connection_id":192520,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":192520,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:48:11] local.INFO: TCP Data received {"connection_id":192520,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192520,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:48:11] local.INFO: Processing buffer {"connection_id":192520,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:48:11] local.INFO: IMEI packet received {"connection_id":192520,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":192520,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:48:12] local.INFO: TCP Data received {"connection_id":192520,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d16b3438012d0da2400706f0a80020012d21..."} 
[2026-09-24 08:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d16b3438012d0da2400706f0a80020012d21..."} 
[2026-09-24 08:48:12] local.INFO: Processing buffer {"connection_id":192520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d16b3438012d0da2400706f0a80020012d21..."} 
[2026-09-24 08:48:12] local.INFO: Packet analysis {"connection_id":192520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d16b"} 
[2026-09-24 08:48:12] local.INFO: Extracted packet for processing {"connection_id":192520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d16b"} 
[2026-09-24 08:48:12] local.INFO: GPS Element Parsed {"raw_longitude":755868224,"raw_latitude":117895336,"longitude_deg":75.5868224,"latitude_deg":11.7895336,"altitude":32,"angle":301,"satellites":33,"speed":25,"hex_longitude":"2d0da240","hex_latitude":"0706f0a8","is_valid_coordinates":true} 
[2026-09-24 08:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296283392001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33565293972291584,"note":"Value kept but may cause issues"} 
[2026-09-24 08:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":983684705040619520,"note":"Value kept but may cause issues"} 
[2026-09-24 08:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790219859000,"timestamp_ms":1790219859000,"timestamp_seconds":1790219859,"priority":1,"record_length":96,"hex_timestamp":"000001a0d16b3438"} 
[2026-09-24 08:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:48:12] 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-09-24 08:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-24 08:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296283392001,"66":14254,"219":206,"94":10240,"24":25,"16":33565293972291584,"45":983684705040619520},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 08:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296283392001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:48:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 08:48:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33565293972291584,"km_value":33565293972291.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":983684705040619520,"description":"Unknown IO ID 45"} 
[2026-09-24 08:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296283392001,"power":14254,"unknown_219":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":983684705040619520}} 
[2026-09-24 08:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":192520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888839,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:48:12] local.INFO: GPS data processed {"connection_id":192520,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:48:12] local.INFO: Acknowledgment sent {"connection_id":192520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:48:29] local.INFO: TCP Data received {"connection_id":192521,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:48:29] local.INFO: Processing buffer {"connection_id":192521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:48:29] local.INFO: IMEI packet received {"connection_id":192521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":192521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:48:34] local.INFO: TCP Data received {"connection_id":192521,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:48:34] local.INFO: Processing buffer {"connection_id":192521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:48:34] local.INFO: IMEI packet received {"connection_id":192521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":192521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:48:35] local.INFO: TCP Data received {"connection_id":192521,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:48:35] local.INFO: Processing buffer {"connection_id":192521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:48:35] local.INFO: Packet analysis {"connection_id":192521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:48:35] local.INFO: Extracted packet for processing {"connection_id":192521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:48:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296168192001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790219708000,"timestamp_ms":1790219708000,"timestamp_seconds":1790219708,"priority":1,"record_length":96,"hex_timestamp":"000001a0d168e660"} 
[2026-09-24 08:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 08:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296168192001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296168192001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:48:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:48:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296168192001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":192521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:48:35] local.INFO: GPS data processed {"connection_id":192521,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:48:35] local.INFO: Acknowledgment sent {"connection_id":192521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:48:43] local.INFO: TCP Data received {"connection_id":192520,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d16b5f30012d0d8380070703080025012a21..."} 
[2026-09-24 08:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d16b5f30012d0d8380070703080025012a21..."} 
[2026-09-24 08:48:43] local.INFO: Processing buffer {"connection_id":192520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d16b5f30012d0d8380070703080025012a21..."} 
[2026-09-24 08:48:43] local.INFO: Packet analysis {"connection_id":192520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d16b"} 
[2026-09-24 08:48:43] local.INFO: Extracted packet for processing {"connection_id":192520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d16b"} 
[2026-09-24 08:48:43] local.INFO: GPS Element Parsed {"raw_longitude":755860352,"raw_latitude":117900040,"longitude_deg":75.5860352,"latitude_deg":11.790004,"altitude":37,"angle":298,"satellites":33,"speed":36,"hex_longitude":"2d0d8380","hex_latitude":"07070308","is_valid_coordinates":true} 
[2026-09-24 08:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296283904001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33565732058955776,"note":"Value kept but may cause issues"} 
[2026-09-24 08:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982418067645573120,"note":"Value kept but may cause issues"} 
[2026-09-24 08:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790219870000,"timestamp_ms":1790219870000,"timestamp_seconds":1790219870,"priority":1,"record_length":96,"hex_timestamp":"000001a0d16b5f30"} 
[2026-09-24 08:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-24 08:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296283904001,"66":14450,"219":206,"94":10240,"24":36,"16":33565732058955776,"45":982418067645573120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 08:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296283904001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:48:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 08:48:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33565732058955776,"km_value":33565732058955.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":982418067645573120,"description":"Unknown IO ID 45"} 
[2026-09-24 08:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296283904001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_45":982418067645573120}} 
[2026-09-24 08:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":192520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888841,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:48:43] local.INFO: GPS data processed {"connection_id":192520,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:48:43] local.INFO: Acknowledgment sent {"connection_id":192520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:49:06] local.INFO: TCP Data received {"connection_id":193843,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193843,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:49:06] local.INFO: Processing buffer {"connection_id":193843,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:49:06] local.INFO: IMEI packet received {"connection_id":193843,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":193843,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:49:06] local.INFO: TCP Data received {"connection_id":192521,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:49:06] local.INFO: Processing buffer {"connection_id":192521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:49:06] local.INFO: Packet analysis {"connection_id":192521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:49:06] local.INFO: Extracted packet for processing {"connection_id":192521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:49:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296168192001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790219708000,"timestamp_ms":1790219708000,"timestamp_seconds":1790219708,"priority":1,"record_length":96,"hex_timestamp":"000001a0d168e660"} 
[2026-09-24 08:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 08:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296168192001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296168192001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:49:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:49:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296168192001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":192521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:49:06] local.INFO: GPS data processed {"connection_id":192521,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:49:06] local.INFO: Acknowledgment sent {"connection_id":192521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:49:07] local.INFO: TCP Data received {"connection_id":193843,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193843,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:49:07] local.INFO: Processing buffer {"connection_id":193843,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:49:07] local.INFO: IMEI packet received {"connection_id":193843,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":193843,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:49:07] local.INFO: TCP Data received {"connection_id":193843,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193843,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:49:07] local.INFO: Processing buffer {"connection_id":193843,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:49:07] local.INFO: IMEI packet received {"connection_id":193843,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":193843,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:49:12] local.INFO: TCP Data received {"connection_id":193843,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193843,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:49:12] local.INFO: Processing buffer {"connection_id":193843,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:49:12] local.INFO: IMEI packet received {"connection_id":193843,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":193843,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:49:12] local.INFO: TCP Data received {"connection_id":193843,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d16c7c58012d0d2c8007073ce0002d016221..."} 
[2026-09-24 08:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d16c7c58012d0d2c8007073ce0002d016221..."} 
[2026-09-24 08:49:12] local.INFO: Processing buffer {"connection_id":193843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d16c7c58012d0d2c8007073ce0002d016221..."} 
[2026-09-24 08:49:12] local.INFO: Packet analysis {"connection_id":193843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d16c"} 
[2026-09-24 08:49:12] local.INFO: Extracted packet for processing {"connection_id":193843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d16c"} 
[2026-09-24 08:49:12] local.INFO: GPS Element Parsed {"raw_longitude":755838080,"raw_latitude":117914848,"longitude_deg":75.583808,"latitude_deg":11.7914848,"altitude":45,"angle":354,"satellites":33,"speed":18,"hex_longitude":"2d0d2c80","hex_latitude":"07073ce0","is_valid_coordinates":true} 
[2026-09-24 08:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296300288001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33567304016986112,"note":"Value kept but may cause issues"} 
[2026-09-24 08:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949485495373119488,"note":"Value kept but may cause issues"} 
[2026-09-24 08:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790219943000,"timestamp_ms":1790219943000,"timestamp_seconds":1790219943,"priority":1,"record_length":96,"hex_timestamp":"000001a0d16c7c58"} 
[2026-09-24 08:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:49:12] 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-09-24 08:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-24 08:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193843,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193843,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296300288001,"66":14428,"221":206,"94":10240,"24":18,"16":33567304016986112,"45":949485495373119488},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-24 08:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296300288001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:49:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-24 08:49:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33567304016986112,"km_value":33567304016986.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":949485495373119488,"description":"Unknown IO ID 45"} 
[2026-09-24 08:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296300288001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":949485495373119488}} 
[2026-09-24 08:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":193843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888843,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:49:12] local.INFO: GPS data processed {"connection_id":193843,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:49:12] local.INFO: Acknowledgment sent {"connection_id":193843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:49:29] local.INFO: TCP Data received {"connection_id":193844,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:49:29] local.INFO: Processing buffer {"connection_id":193844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:49:29] local.INFO: IMEI packet received {"connection_id":193844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":193844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:49:34] local.INFO: TCP Data received {"connection_id":193844,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:49:34] local.INFO: Processing buffer {"connection_id":193844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:49:34] local.INFO: IMEI packet received {"connection_id":193844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":193844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:49:35] local.INFO: TCP Data received {"connection_id":193844,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:49:35] local.INFO: Processing buffer {"connection_id":193844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:49:35] local.INFO: Packet analysis {"connection_id":193844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:49:35] local.INFO: Extracted packet for processing {"connection_id":193844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:49:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296168192001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790219708000,"timestamp_ms":1790219708000,"timestamp_seconds":1790219708,"priority":1,"record_length":96,"hex_timestamp":"000001a0d168e660"} 
[2026-09-24 08:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 08:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296168192001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296168192001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:49:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:49:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296168192001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":193844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:49:35] local.INFO: GPS data processed {"connection_id":193844,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:49:35] local.INFO: Acknowledgment sent {"connection_id":193844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:49:44] local.INFO: TCP Data received {"connection_id":193843,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d16cfd40012d0cdec007074d68002900fe21..."} 
[2026-09-24 08:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d16cfd40012d0cdec007074d68002900fe21..."} 
[2026-09-24 08:49:44] local.INFO: Processing buffer {"connection_id":193843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d16cfd40012d0cdec007074d68002900fe21..."} 
[2026-09-24 08:49:44] local.INFO: Packet analysis {"connection_id":193843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d16c"} 
[2026-09-24 08:49:44] local.INFO: Extracted packet for processing {"connection_id":193843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d16c"} 
[2026-09-24 08:49:44] local.INFO: GPS Element Parsed {"raw_longitude":755818176,"raw_latitude":117919080,"longitude_deg":75.5818176,"latitude_deg":11.791908,"altitude":41,"angle":254,"satellites":33,"speed":16,"hex_longitude":"2d0cdec0","hex_latitude":"07074d68","is_valid_coordinates":true} 
[2026-09-24 08:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296313600001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33568377758810112,"note":"Value kept but may cause issues"} 
[2026-09-24 08:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927811922169819136,"note":"Value kept but may cause issues"} 
[2026-09-24 08:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790219976000,"timestamp_ms":1790219976000,"timestamp_seconds":1790219976,"priority":1,"record_length":96,"hex_timestamp":"000001a0d16cfd40"} 
[2026-09-24 08:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-24 08:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193843,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193843,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296313600001,"66":14537,"221":206,"94":10240,"24":16,"16":33568377758810112,"45":927811922169819136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-24 08:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296313600001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:49:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-24 08:49:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33568377758810112,"km_value":33568377758810.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":927811922169819136,"description":"Unknown IO ID 45"} 
[2026-09-24 08:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296313600001,"power":14537,"unknown_221":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":927811922169819136}} 
[2026-09-24 08:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":193843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888845,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:49:44] local.INFO: GPS data processed {"connection_id":193843,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:49:44] local.INFO: Acknowledgment sent {"connection_id":193843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:50:06] local.INFO: TCP Data received {"connection_id":193844,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:50:06] local.INFO: Processing buffer {"connection_id":193844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:50:06] local.INFO: Packet analysis {"connection_id":193844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:50:06] local.INFO: Extracted packet for processing {"connection_id":193844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:50:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296168192001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790219708000,"timestamp_ms":1790219708000,"timestamp_seconds":1790219708,"priority":1,"record_length":96,"hex_timestamp":"000001a0d168e660"} 
[2026-09-24 08:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 08:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296168192001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296168192001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:50:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:50:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296168192001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":193844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:50:06] local.INFO: GPS data processed {"connection_id":193844,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:50:06] local.INFO: Acknowledgment sent {"connection_id":193844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:50:11] local.INFO: TCP Data received {"connection_id":192522,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192522,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:50:11] local.INFO: Processing buffer {"connection_id":192522,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:50:11] local.INFO: IMEI packet received {"connection_id":192522,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":192522,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:50:11] local.INFO: TCP Data received {"connection_id":192522,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192522,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:50:11] local.INFO: Processing buffer {"connection_id":192522,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:50:11] local.INFO: IMEI packet received {"connection_id":192522,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":192522,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:50:12] local.INFO: TCP Data received {"connection_id":192522,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192522,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:50:12] local.INFO: Processing buffer {"connection_id":192522,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:50:12] local.INFO: IMEI packet received {"connection_id":192522,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":192522,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:50:16] local.INFO: TCP Data received {"connection_id":192522,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192522,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:50:16] local.INFO: Processing buffer {"connection_id":192522,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:50:16] local.INFO: IMEI packet received {"connection_id":192522,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":192522,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:50:17] local.INFO: TCP Data received {"connection_id":192522,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d16d0128012d0cdd0007074d980029011322..."} 
[2026-09-24 08:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d16d0128012d0cdd0007074d980029011322..."} 
[2026-09-24 08:50:17] local.INFO: Processing buffer {"connection_id":192522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d16d0128012d0cdd0007074d980029011322..."} 
[2026-09-24 08:50:17] local.INFO: Packet analysis {"connection_id":192522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d16d"} 
[2026-09-24 08:50:17] local.INFO: Extracted packet for processing {"connection_id":192522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d16d"} 
[2026-09-24 08:50:17] local.INFO: GPS Element Parsed {"raw_longitude":755817728,"raw_latitude":117919128,"longitude_deg":75.5817728,"latitude_deg":11.7919128,"altitude":41,"angle":275,"satellites":34,"speed":16,"hex_longitude":"2d0cdd00","hex_latitude":"07074d98","is_valid_coordinates":true} 
[2026-09-24 08:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296313856001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33568399233646592,"note":"Value kept but may cause issues"} 
[2026-09-24 08:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927389709704718336,"note":"Value kept but may cause issues"} 
[2026-09-24 08:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790219977000,"timestamp_ms":1790219977000,"timestamp_seconds":1790219977,"priority":1,"record_length":96,"hex_timestamp":"000001a0d16d0128"} 
[2026-09-24 08:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-24 08:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":192522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":192522,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":192522,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296313856001,"66":14537,"221":206,"94":10240,"24":16,"16":33568399233646592,"45":927389709704718336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-24 08:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296313856001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:50:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-24 08:50:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33568399233646592,"km_value":33568399233646.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":927389709704718336,"description":"Unknown IO ID 45"} 
[2026-09-24 08:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296313856001,"power":14537,"unknown_221":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":927389709704718336}} 
[2026-09-24 08:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":192522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888847,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:50:17] local.INFO: GPS data processed {"connection_id":192522,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:50:17] local.INFO: Acknowledgment sent {"connection_id":192522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:50:22] local.INFO: TCP Data received {"connection_id":192522,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d16d0510012d0cdb4007074e700029012422..."} 
[2026-09-24 08:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d16d0510012d0cdb4007074e700029012422..."} 
[2026-09-24 08:50:22] local.INFO: Processing buffer {"connection_id":192522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d16d0510012d0cdb4007074e700029012422..."} 
[2026-09-24 08:50:22] local.INFO: Packet analysis {"connection_id":192522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d16d"} 
[2026-09-24 08:50:22] local.INFO: Extracted packet for processing {"connection_id":192522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d16d"} 
[2026-09-24 08:50:22] local.INFO: GPS Element Parsed {"raw_longitude":755817280,"raw_latitude":117919344,"longitude_deg":75.581728,"latitude_deg":11.7919344,"altitude":41,"angle":292,"satellites":34,"speed":18,"hex_longitude":"2d0cdb40","hex_latitude":"07074e70","is_valid_coordinates":true} 
[2026-09-24 08:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296314112001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33568425003450368,"note":"Value kept but may cause issues"} 
[2026-09-24 08:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926897128495486976,"note":"Value kept but may cause issues"} 
[2026-09-24 08:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790219978000,"timestamp_ms":1790219978000,"timestamp_seconds":1790219978,"priority":1,"record_length":96,"hex_timestamp":"000001a0d16d0510"} 
[2026-09-24 08:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-24 08:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192522,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192522,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296314112001,"66":13830,"221":206,"94":10240,"24":18,"16":33568425003450368,"45":926897128495486976},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-24 08:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296314112001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:50:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-24 08:50:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33568425003450368,"km_value":33568425003450.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":926897128495486976,"description":"Unknown IO ID 45"} 
[2026-09-24 08:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296314112001,"power":13830,"unknown_221":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":926897128495486976}} 
[2026-09-24 08:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":192522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888848,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:50:22] local.INFO: GPS data processed {"connection_id":192522,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:50:22] local.INFO: Acknowledgment sent {"connection_id":192522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:50:34] local.INFO: TCP Data received {"connection_id":191163,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:50:34] local.INFO: Processing buffer {"connection_id":191163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:50:34] local.INFO: IMEI packet received {"connection_id":191163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":191163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:50:39] local.INFO: TCP Data received {"connection_id":191163,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:50:39] local.INFO: Processing buffer {"connection_id":191163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:50:39] local.INFO: IMEI packet received {"connection_id":191163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":191163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:50:40] local.INFO: TCP Data received {"connection_id":191163,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:50:40] local.INFO: Processing buffer {"connection_id":191163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:50:40] local.INFO: Packet analysis {"connection_id":191163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:50:40] local.INFO: Extracted packet for processing {"connection_id":191163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:50:40] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296168192001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790219708000,"timestamp_ms":1790219708000,"timestamp_seconds":1790219708,"priority":1,"record_length":96,"hex_timestamp":"000001a0d168e660"} 
[2026-09-24 08:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 08:50:40] 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-09-24 08:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296168192001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296168192001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:50:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:50:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296168192001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":191163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:50:40] local.INFO: GPS data processed {"connection_id":191163,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:50:40] local.INFO: Acknowledgment sent {"connection_id":191163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:50:45] local.INFO: TCP Data received {"connection_id":191163,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:50:45] local.INFO: Processing buffer {"connection_id":191163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d168e660012d34c24006aa49300009013829..."} 
[2026-09-24 08:50:45] local.INFO: Packet analysis {"connection_id":191163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:50:45] local.INFO: Extracted packet for processing {"connection_id":191163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d168"} 
[2026-09-24 08:50:45] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296168192001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790219708000,"timestamp_ms":1790219708000,"timestamp_seconds":1790219708,"priority":1,"record_length":96,"hex_timestamp":"000001a0d168e660"} 
[2026-09-24 08:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 08:50:45] 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-09-24 08:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296168192001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296168192001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:50:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:50:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296168192001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":191163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:50:45] local.INFO: GPS data processed {"connection_id":191163,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:50:45] local.INFO: Acknowledgment sent {"connection_id":191163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:51:03] local.INFO: TCP Data received {"connection_id":192523,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:51:03] local.INFO: Processing buffer {"connection_id":192523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:51:03] local.INFO: IMEI packet received {"connection_id":192523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":192523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:51:04] local.INFO: TCP Data received {"connection_id":192523,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:51:04] local.INFO: Processing buffer {"connection_id":192523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:51:04] local.INFO: IMEI packet received {"connection_id":192523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":192523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:51:05] local.INFO: TCP Data received {"connection_id":192523,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:51:05] local.INFO: Processing buffer {"connection_id":192523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:51:05] local.INFO: IMEI packet received {"connection_id":192523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":192523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:51:06] local.INFO: TCP Data received {"connection_id":192523,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:51:06] local.INFO: Processing buffer {"connection_id":192523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:51:06] local.INFO: IMEI packet received {"connection_id":192523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":192523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:51:29] local.INFO: TCP Data received {"connection_id":192524,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:51:29] local.INFO: Processing buffer {"connection_id":192524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:51:29] local.INFO: IMEI packet received {"connection_id":192524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":192524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:51:34] local.INFO: TCP Data received {"connection_id":192524,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:51:34] local.INFO: Processing buffer {"connection_id":192524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:51:34] local.INFO: IMEI packet received {"connection_id":192524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":192524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:51:35] local.INFO: TCP Data received {"connection_id":192524,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:51:35] local.INFO: Processing buffer {"connection_id":192524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:51:35] local.INFO: Packet analysis {"connection_id":192524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d16d"} 
[2026-09-24 08:51:35] local.INFO: Extracted packet for processing {"connection_id":192524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d16d"} 
[2026-09-24 08:51:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296245248001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790220009000,"timestamp_ms":1790220009000,"timestamp_seconds":1790220009,"priority":1,"record_length":96,"hex_timestamp":"000001a0d16d7e28"} 
[2026-09-24 08:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296245248001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296245248001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:51:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:51:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296245248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":192524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:51:35] local.INFO: GPS data processed {"connection_id":192524,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:51:35] local.INFO: Acknowledgment sent {"connection_id":192524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:52:06] local.INFO: TCP Data received {"connection_id":192524,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:52:06] local.INFO: Processing buffer {"connection_id":192524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:52:06] local.INFO: Packet analysis {"connection_id":192524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d16d"} 
[2026-09-24 08:52:06] local.INFO: Extracted packet for processing {"connection_id":192524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d16d"} 
[2026-09-24 08:52:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296245248001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790220009000,"timestamp_ms":1790220009000,"timestamp_seconds":1790220009,"priority":1,"record_length":96,"hex_timestamp":"000001a0d16d7e28"} 
[2026-09-24 08:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296245248001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296245248001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:52:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:52:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296245248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":192524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:52:06] local.INFO: GPS data processed {"connection_id":192524,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:52:06] local.INFO: Acknowledgment sent {"connection_id":192524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:52:29] local.INFO: TCP Data received {"connection_id":190960,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:52:29] local.INFO: Processing buffer {"connection_id":190960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:52:29] local.INFO: IMEI packet received {"connection_id":190960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":190960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:52:34] local.INFO: TCP Data received {"connection_id":190960,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:52:34] local.INFO: Processing buffer {"connection_id":190960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:52:34] local.INFO: IMEI packet received {"connection_id":190960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":190960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:52:35] local.INFO: TCP Data received {"connection_id":190960,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:52:35] local.INFO: Processing buffer {"connection_id":190960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:52:35] local.INFO: Packet analysis {"connection_id":190960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d16d"} 
[2026-09-24 08:52:35] local.INFO: Extracted packet for processing {"connection_id":190960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d16d"} 
[2026-09-24 08:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296245248001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790220009000,"timestamp_ms":1790220009000,"timestamp_seconds":1790220009,"priority":1,"record_length":96,"hex_timestamp":"000001a0d16d7e28"} 
[2026-09-24 08:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296245248001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296245248001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:52:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:52:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296245248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":190960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:52:35] local.INFO: GPS data processed {"connection_id":190960,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:52:35] local.INFO: Acknowledgment sent {"connection_id":190960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:53:06] local.INFO: TCP Data received {"connection_id":190960,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:53:06] local.INFO: Processing buffer {"connection_id":190960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:53:06] local.INFO: Packet analysis {"connection_id":190960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d16d"} 
[2026-09-24 08:53:06] local.INFO: Extracted packet for processing {"connection_id":190960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d16d"} 
[2026-09-24 08:53:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296245248001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790220009000,"timestamp_ms":1790220009000,"timestamp_seconds":1790220009,"priority":1,"record_length":96,"hex_timestamp":"000001a0d16d7e28"} 
[2026-09-24 08:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296245248001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296245248001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:53:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:53:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296245248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":190960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:53:06] local.INFO: GPS data processed {"connection_id":190960,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:53:06] local.INFO: Acknowledgment sent {"connection_id":190960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:53:29] local.INFO: TCP Data received {"connection_id":192525,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:53:29] local.INFO: Processing buffer {"connection_id":192525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:53:29] local.INFO: IMEI packet received {"connection_id":192525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":192525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:53:34] local.INFO: TCP Data received {"connection_id":192525,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:53:34] local.INFO: Processing buffer {"connection_id":192525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:53:34] local.INFO: IMEI packet received {"connection_id":192525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":192525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:53:35] local.INFO: TCP Data received {"connection_id":192525,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:53:35] local.INFO: Processing buffer {"connection_id":192525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:53:35] local.INFO: Packet analysis {"connection_id":192525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d16d"} 
[2026-09-24 08:53:35] local.INFO: Extracted packet for processing {"connection_id":192525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d16d"} 
[2026-09-24 08:53:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296245248001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790220009000,"timestamp_ms":1790220009000,"timestamp_seconds":1790220009,"priority":1,"record_length":96,"hex_timestamp":"000001a0d16d7e28"} 
[2026-09-24 08:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296245248001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296245248001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:53:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:53:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296245248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":192525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:53:35] local.INFO: GPS data processed {"connection_id":192525,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:53:35] local.INFO: Acknowledgment sent {"connection_id":192525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:54:07] local.INFO: TCP Data received {"connection_id":192525,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:54:07] local.INFO: Processing buffer {"connection_id":192525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:54:07] local.INFO: Packet analysis {"connection_id":192525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d16d"} 
[2026-09-24 08:54:07] local.INFO: Extracted packet for processing {"connection_id":192525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d16d"} 
[2026-09-24 08:54:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296245248001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790220009000,"timestamp_ms":1790220009000,"timestamp_seconds":1790220009,"priority":1,"record_length":96,"hex_timestamp":"000001a0d16d7e28"} 
[2026-09-24 08:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296245248001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296245248001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:54:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:54:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296245248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":192525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:54:07] local.INFO: GPS data processed {"connection_id":192525,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:54:07] local.INFO: Acknowledgment sent {"connection_id":192525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:54:34] local.INFO: TCP Data received {"connection_id":191166,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:54:34] local.INFO: Processing buffer {"connection_id":191166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:54:34] local.INFO: IMEI packet received {"connection_id":191166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":191166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:54:39] local.INFO: TCP Data received {"connection_id":191166,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:54:39] local.INFO: Processing buffer {"connection_id":191166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:54:39] local.INFO: IMEI packet received {"connection_id":191166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":191166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:54:40] local.INFO: TCP Data received {"connection_id":191166,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:54:40] local.INFO: Processing buffer {"connection_id":191166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:54:40] local.INFO: Packet analysis {"connection_id":191166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d16d"} 
[2026-09-24 08:54:40] local.INFO: Extracted packet for processing {"connection_id":191166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d16d"} 
[2026-09-24 08:54:40] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296245248001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790220009000,"timestamp_ms":1790220009000,"timestamp_seconds":1790220009,"priority":1,"record_length":96,"hex_timestamp":"000001a0d16d7e28"} 
[2026-09-24 08:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296245248001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296245248001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:54:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:54:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296245248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":191166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:54:40] local.INFO: GPS data processed {"connection_id":191166,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:54:40] local.INFO: Acknowledgment sent {"connection_id":191166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:54:44] local.INFO: TCP Data received {"connection_id":191166,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:54:44] local.INFO: Processing buffer {"connection_id":191166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:54:44] local.INFO: Packet analysis {"connection_id":191166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d16d"} 
[2026-09-24 08:54:44] local.INFO: Extracted packet for processing {"connection_id":191166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d16d"} 
[2026-09-24 08:54:44] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296245248001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790220009000,"timestamp_ms":1790220009000,"timestamp_seconds":1790220009,"priority":1,"record_length":96,"hex_timestamp":"000001a0d16d7e28"} 
[2026-09-24 08:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:54:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:54:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296245248001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296245248001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:54:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:54:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296245248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":191166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:54:44] local.INFO: GPS data processed {"connection_id":191166,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:54:44] local.INFO: Acknowledgment sent {"connection_id":191166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:55:29] local.INFO: TCP Data received {"connection_id":192527,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:55:29] local.INFO: Processing buffer {"connection_id":192527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:55:29] local.INFO: IMEI packet received {"connection_id":192527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":192527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:55:34] local.INFO: TCP Data received {"connection_id":192527,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:55:34] local.INFO: Processing buffer {"connection_id":192527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:55:34] local.INFO: IMEI packet received {"connection_id":192527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":192527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:55:36] local.INFO: TCP Data received {"connection_id":192527,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:55:36] local.INFO: Processing buffer {"connection_id":192527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d16d7e28012d34c24006aa49300009013829..."} 
[2026-09-24 08:55:36] local.INFO: Packet analysis {"connection_id":192527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d16d"} 
[2026-09-24 08:55:36] local.INFO: Extracted packet for processing {"connection_id":192527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d16d"} 
[2026-09-24 08:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296245248001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790220009000,"timestamp_ms":1790220009000,"timestamp_seconds":1790220009,"priority":1,"record_length":96,"hex_timestamp":"000001a0d16d7e28"} 
[2026-09-24 08:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296245248001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296245248001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:55:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:55:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296245248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":192527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:55:36] local.INFO: GPS data processed {"connection_id":192527,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:55:36] local.INFO: Acknowledgment sent {"connection_id":192527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:56:07] local.INFO: TCP Data received {"connection_id":192527,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:56:07] local.INFO: Processing buffer {"connection_id":192527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:56:07] local.INFO: Packet analysis {"connection_id":192527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d172"} 
[2026-09-24 08:56:07] local.INFO: Extracted packet for processing {"connection_id":192527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d172"} 
[2026-09-24 08:56:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296322304001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790220310000,"timestamp_ms":1790220310000,"timestamp_seconds":1790220310,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17215f0"} 
[2026-09-24 08:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296322304001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296322304001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:56:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:56:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296322304001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":192527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:56:07] local.INFO: GPS data processed {"connection_id":192527,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:56:07] local.INFO: Acknowledgment sent {"connection_id":192527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:56:11] local.INFO: TCP Data received {"connection_id":190962,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190962,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:56:11] local.INFO: Processing buffer {"connection_id":190962,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:56:11] local.INFO: IMEI packet received {"connection_id":190962,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":190962,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:56:14] local.INFO: TCP Data received {"connection_id":190962,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190962,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:56:14] local.INFO: Processing buffer {"connection_id":190962,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:56:14] local.INFO: IMEI packet received {"connection_id":190962,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":190962,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:56:16] local.INFO: TCP Data received {"connection_id":190962,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1715a70012d0af10007067108000f00e222..."} 
[2026-09-24 08:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1715a70012d0af10007067108000f00e222..."} 
[2026-09-24 08:56:16] local.INFO: Processing buffer {"connection_id":190962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1715a70012d0af10007067108000f00e222..."} 
[2026-09-24 08:56:16] local.INFO: Packet analysis {"connection_id":190962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d171"} 
[2026-09-24 08:56:16] local.INFO: Extracted packet for processing {"connection_id":190962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d171"} 
[2026-09-24 08:56:16] local.INFO: GPS Element Parsed {"raw_longitude":755691776,"raw_latitude":117862664,"longitude_deg":75.5691776,"latitude_deg":11.7862664,"altitude":15,"angle":226,"satellites":34,"speed":11,"hex_longitude":"2d0af100","hex_latitude":"07067108","is_valid_coordinates":true} 
[2026-09-24 08:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296386304001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33576649865822208,"note":"Value kept but may cause issues"} 
[2026-09-24 08:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789678077334792192,"note":"Value kept but may cause issues"} 
[2026-09-24 08:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790220262000,"timestamp_ms":1790220262000,"timestamp_seconds":1790220262,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1715a70"} 
[2026-09-24 08:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 08:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296386304001,"66":14374,"163":206,"94":10240,"24":11,"16":33576649865822208,"45":789678077334792192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-24 08:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296386304001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:56:16] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-24 08:56:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33576649865822208,"km_value":33576649865822.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":789678077334792192,"description":"Unknown IO ID 45"} 
[2026-09-24 08:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296386304001,"power":14374,"unknown_163":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":789678077334792192}} 
[2026-09-24 08:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":190962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888861,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:56:16] local.INFO: GPS data processed {"connection_id":190962,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:56:16] local.INFO: Acknowledgment sent {"connection_id":190962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:56:16] local.INFO: TCP Data received {"connection_id":190962,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1718180012d0aefc007066dd0001000a422..."} 
[2026-09-24 08:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1718180012d0aefc007066dd0001000a422..."} 
[2026-09-24 08:56:16] local.INFO: Processing buffer {"connection_id":190962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1718180012d0aefc007066dd0001000a422..."} 
[2026-09-24 08:56:16] local.INFO: Packet analysis {"connection_id":190962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d171"} 
[2026-09-24 08:56:16] local.INFO: Extracted packet for processing {"connection_id":190962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d171"} 
[2026-09-24 08:56:16] local.INFO: GPS Element Parsed {"raw_longitude":755691456,"raw_latitude":117861840,"longitude_deg":75.5691456,"latitude_deg":11.786184,"altitude":16,"angle":164,"satellites":34,"speed":7,"hex_longitude":"2d0aefc0","hex_latitude":"07066dd0","is_valid_coordinates":true} 
[2026-09-24 08:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296387072001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33576701405429760,"note":"Value kept but may cause issues"} 
[2026-09-24 08:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788411439939389440,"note":"Value kept but may cause issues"} 
[2026-09-24 08:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790220272000,"timestamp_ms":1790220272000,"timestamp_seconds":1790220272,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1718180"} 
[2026-09-24 08:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-24 08:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296387072001,"66":14428,"163":206,"94":10240,"24":7,"16":33576701405429760,"45":788411439939389440},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-24 08:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296387072001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:56:17] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-24 08:56:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33576701405429760,"km_value":33576701405429.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":788411439939389440,"description":"Unknown IO ID 45"} 
[2026-09-24 08:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296387072001,"power":14428,"unknown_163":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":788411439939389440}} 
[2026-09-24 08:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":190962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888862,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:56:17] local.INFO: GPS data processed {"connection_id":190962,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:56:17] local.INFO: Acknowledgment sent {"connection_id":190962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:56:29] local.INFO: TCP Data received {"connection_id":192528,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:56:29] local.INFO: Processing buffer {"connection_id":192528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:56:29] local.INFO: IMEI packet received {"connection_id":192528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":192528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:56:34] local.INFO: TCP Data received {"connection_id":192528,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:56:34] local.INFO: Processing buffer {"connection_id":192528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:56:34] local.INFO: IMEI packet received {"connection_id":192528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":192528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:56:35] local.INFO: TCP Data received {"connection_id":192528,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:56:35] local.INFO: Processing buffer {"connection_id":192528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:56:35] local.INFO: Packet analysis {"connection_id":192528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d172"} 
[2026-09-24 08:56:35] local.INFO: Extracted packet for processing {"connection_id":192528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d172"} 
[2026-09-24 08:56:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296322304001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790220310000,"timestamp_ms":1790220310000,"timestamp_seconds":1790220310,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17215f0"} 
[2026-09-24 08:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296322304001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296322304001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:56:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:56:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296322304001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":192528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:56:35] local.INFO: GPS data processed {"connection_id":192528,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:56:35] local.INFO: Acknowledgment sent {"connection_id":192528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:56:48] local.INFO: TCP Data received {"connection_id":190962,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1734a88012d0b25c00705f1e0001400c523..."} 
[2026-09-24 08:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1734a88012d0b25c00705f1e0001400c523..."} 
[2026-09-24 08:56:48] local.INFO: Processing buffer {"connection_id":190962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1734a88012d0b25c00705f1e0001400c523..."} 
[2026-09-24 08:56:48] local.INFO: Packet analysis {"connection_id":190962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d173"} 
[2026-09-24 08:56:48] local.INFO: Extracted packet for processing {"connection_id":190962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d173"} 
[2026-09-24 08:56:48] local.INFO: GPS Element Parsed {"raw_longitude":755705280,"raw_latitude":117830112,"longitude_deg":75.570528,"latitude_deg":11.7830112,"altitude":20,"angle":197,"satellites":35,"speed":31,"hex_longitude":"2d0b25c0","hex_latitude":"0705f1e0","is_valid_coordinates":true} 
[2026-09-24 08: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-09-24 08:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296417792001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33578642730647552,"note":"Value kept but may cause issues"} 
[2026-09-24 08:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804807357325873152,"note":"Value kept but may cause issues"} 
[2026-09-24 08:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790220389000,"timestamp_ms":1790220389000,"timestamp_seconds":1790220389,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1734a88"} 
[2026-09-24 08:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-24 08:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08: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-09-24 08:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296417792001,"66":14450,"165":206,"94":10240,"24":31,"16":33578642730647552,"45":804807357325873152},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 08:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296417792001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:56:48] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 08:56:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33578642730647552,"km_value":33578642730647.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":804807357325873152,"description":"Unknown IO ID 45"} 
[2026-09-24 08:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296417792001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":804807357325873152}} 
[2026-09-24 08:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":190962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888864,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:56:48] local.INFO: GPS data processed {"connection_id":190962,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:56:48] local.INFO: Acknowledgment sent {"connection_id":190962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:57:03] local.INFO: TCP Data received {"connection_id":193845,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193845,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:57:03] local.INFO: Processing buffer {"connection_id":193845,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:57:03] local.INFO: IMEI packet received {"connection_id":193845,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":193845,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:57:06] local.INFO: TCP Data received {"connection_id":193845,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193845,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:57:06] local.INFO: Processing buffer {"connection_id":193845,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:57:06] local.INFO: IMEI packet received {"connection_id":193845,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":193845,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:57:07] local.INFO: TCP Data received {"connection_id":192528,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:57:07] local.INFO: Processing buffer {"connection_id":192528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:57:07] local.INFO: Packet analysis {"connection_id":192528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d172"} 
[2026-09-24 08:57:07] local.INFO: Extracted packet for processing {"connection_id":192528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d172"} 
[2026-09-24 08:57:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296322304001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790220310000,"timestamp_ms":1790220310000,"timestamp_seconds":1790220310,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17215f0"} 
[2026-09-24 08:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296322304001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296322304001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:57:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:57:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296322304001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":192528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:57:07] local.INFO: GPS data processed {"connection_id":192528,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:57:07] local.INFO: Acknowledgment sent {"connection_id":192528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:57:11] local.INFO: TCP Data received {"connection_id":193845,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193845,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:57:11] local.INFO: Processing buffer {"connection_id":193845,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:57:11] local.INFO: IMEI packet received {"connection_id":193845,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":193845,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:57:12] local.INFO: TCP Data received {"connection_id":193845,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1735258012d0b24800705eb50001400b723..."} 
[2026-09-24 08:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1735258012d0b24800705eb50001400b723..."} 
[2026-09-24 08:57:12] local.INFO: Processing buffer {"connection_id":193845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1735258012d0b24800705eb50001400b723..."} 
[2026-09-24 08:57:12] local.INFO: Packet analysis {"connection_id":193845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d173"} 
[2026-09-24 08:57:12] local.INFO: Extracted packet for processing {"connection_id":193845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d173"} 
[2026-09-24 08:57:12] local.INFO: GPS Element Parsed {"raw_longitude":755704960,"raw_latitude":117828432,"longitude_deg":75.570496,"latitude_deg":11.7828432,"altitude":20,"angle":183,"satellites":35,"speed":34,"hex_longitude":"2d0b2480","hex_latitude":"0705eb50","is_valid_coordinates":true} 
[2026-09-24 08:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296419584001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33578728629993472,"note":"Value kept but may cause issues"} 
[2026-09-24 08:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803259244952543232,"note":"Value kept but may cause issues"} 
[2026-09-24 08:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790220391000,"timestamp_ms":1790220391000,"timestamp_seconds":1790220391,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1735258"} 
[2026-09-24 08:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-24 08:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296419584001,"66":14374,"165":206,"94":10240,"24":34,"16":33578728629993472,"45":803259244952543232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 08:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296419584001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:57:12] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 08:57:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33578728629993472,"km_value":33578728629993.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":803259244952543232,"description":"Unknown IO ID 45"} 
[2026-09-24 08:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296419584001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_45":803259244952543232}} 
[2026-09-24 08:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":193845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888866,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:57:12] local.INFO: GPS data processed {"connection_id":193845,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:57:12] local.INFO: Acknowledgment sent {"connection_id":193845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:57:29] local.INFO: TCP Data received {"connection_id":190963,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:57:29] local.INFO: Processing buffer {"connection_id":190963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:57:29] local.INFO: IMEI packet received {"connection_id":190963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":190963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:57:34] local.INFO: TCP Data received {"connection_id":190963,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:57:34] local.INFO: Processing buffer {"connection_id":190963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:57:34] local.INFO: IMEI packet received {"connection_id":190963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":190963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:57:35] local.INFO: TCP Data received {"connection_id":190963,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:57:35] local.INFO: Processing buffer {"connection_id":190963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:57:35] local.INFO: Packet analysis {"connection_id":190963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d172"} 
[2026-09-24 08:57:35] local.INFO: Extracted packet for processing {"connection_id":190963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d172"} 
[2026-09-24 08:57:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296322304001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790220310000,"timestamp_ms":1790220310000,"timestamp_seconds":1790220310,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17215f0"} 
[2026-09-24 08:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296322304001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296322304001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:57:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:57:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296322304001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":190963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:57:35] local.INFO: GPS data processed {"connection_id":190963,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:57:35] local.INFO: Acknowledgment sent {"connection_id":190963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:57:43] local.INFO: TCP Data received {"connection_id":193845,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1737968012d0b24400705c738001400b820..."} 
[2026-09-24 08:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1737968012d0b24400705c738001400b820..."} 
[2026-09-24 08:57:43] local.INFO: Processing buffer {"connection_id":193845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1737968012d0b24400705c738001400b820..."} 
[2026-09-24 08:57:43] local.INFO: Packet analysis {"connection_id":193845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d173"} 
[2026-09-24 08:57:43] local.INFO: Extracted packet for processing {"connection_id":193845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d173"} 
[2026-09-24 08:57:43] local.INFO: GPS Element Parsed {"raw_longitude":755704896,"raw_latitude":117819192,"longitude_deg":75.5704896,"latitude_deg":11.7819192,"altitude":20,"angle":184,"satellites":32,"speed":31,"hex_longitude":"2d0b2440","hex_latitude":"0705c738","is_valid_coordinates":true} 
[2026-09-24 08:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296420096001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33579175306592256,"note":"Value kept but may cause issues"} 
[2026-09-24 08:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802907401231224832,"note":"Value kept but may cause issues"} 
[2026-09-24 08:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790220401000,"timestamp_ms":1790220401000,"timestamp_seconds":1790220401,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1737968"} 
[2026-09-24 08:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-24 08:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296420096001,"66":14407,"165":206,"94":10240,"24":31,"16":33579175306592256,"45":802907401231224832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 08:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296420096001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:57:43] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 08:57:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33579175306592256,"km_value":33579175306592.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":802907401231224832,"description":"Unknown IO ID 45"} 
[2026-09-24 08:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296420096001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":802907401231224832}} 
[2026-09-24 08:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":193845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888868,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:57:43] local.INFO: GPS data processed {"connection_id":193845,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:57:43] local.INFO: Acknowledgment sent {"connection_id":193845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:58:06] local.INFO: TCP Data received {"connection_id":190963,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:58:06] local.INFO: Processing buffer {"connection_id":190963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:58:06] local.INFO: Packet analysis {"connection_id":190963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d172"} 
[2026-09-24 08:58:06] local.INFO: Extracted packet for processing {"connection_id":190963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d172"} 
[2026-09-24 08:58:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296322304001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790220310000,"timestamp_ms":1790220310000,"timestamp_seconds":1790220310,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17215f0"} 
[2026-09-24 08:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296322304001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296322304001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:58:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:58:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296322304001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":190963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:58:06] local.INFO: GPS data processed {"connection_id":190963,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:58:06] local.INFO: Acknowledgment sent {"connection_id":190963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:58:07] local.INFO: TCP Data received {"connection_id":191167,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191167,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:58:07] local.INFO: Processing buffer {"connection_id":191167,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:58:07] local.INFO: IMEI packet received {"connection_id":191167,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":191167,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:58:13] local.INFO: TCP Data received {"connection_id":191167,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191167,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:58:13] local.INFO: Processing buffer {"connection_id":191167,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:58:13] local.INFO: IMEI packet received {"connection_id":191167,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":191167,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:58:13] local.INFO: TCP Data received {"connection_id":191167,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1747f20012d0ae880070592f80029010423..."} 
[2026-09-24 08:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1747f20012d0ae880070592f80029010423..."} 
[2026-09-24 08:58:13] local.INFO: Processing buffer {"connection_id":191167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1747f20012d0ae880070592f80029010423..."} 
[2026-09-24 08:58:13] local.INFO: Packet analysis {"connection_id":191167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d174"} 
[2026-09-24 08:58:13] local.INFO: Extracted packet for processing {"connection_id":191167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d174"} 
[2026-09-24 08:58:13] local.INFO: GPS Element Parsed {"raw_longitude":755689600,"raw_latitude":117805816,"longitude_deg":75.56896,"latitude_deg":11.7805816,"altitude":41,"angle":260,"satellites":35,"speed":13,"hex_longitude":"2d0ae880","hex_latitude":"070592f8","is_valid_coordinates":true} 
[2026-09-24 08:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296435456001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33580420847108096,"note":"Value kept but may cause issues"} 
[2026-09-24 08:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791085452204013568,"note":"Value kept but may cause issues"} 
[2026-09-24 08:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790220468000,"timestamp_ms":1790220468000,"timestamp_seconds":1790220468,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1747f20"} 
[2026-09-24 08:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-24 08:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191167,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191167,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296435456001,"66":14396,"165":206,"94":10240,"24":13,"16":33580420847108096,"45":791085452204013568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 08:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296435456001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:58:13] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 08:58:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33580420847108096,"km_value":33580420847108.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":791085452204013568,"description":"Unknown IO ID 45"} 
[2026-09-24 08:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296435456001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":791085452204013568}} 
[2026-09-24 08:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":191167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888870,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:58:14] local.INFO: GPS data processed {"connection_id":191167,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:58:14] local.INFO: Acknowledgment sent {"connection_id":191167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:58:29] local.INFO: TCP Data received {"connection_id":191168,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:58:29] local.INFO: Processing buffer {"connection_id":191168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:58:29] local.INFO: IMEI packet received {"connection_id":191168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":191168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:58:34] local.INFO: TCP Data received {"connection_id":191168,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:58:34] local.INFO: Processing buffer {"connection_id":191168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:58:34] local.INFO: IMEI packet received {"connection_id":191168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":191168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:58:36] local.INFO: TCP Data received {"connection_id":191168,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:58:36] local.INFO: Processing buffer {"connection_id":191168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:58:36] local.INFO: Packet analysis {"connection_id":191168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d172"} 
[2026-09-24 08:58:36] local.INFO: Extracted packet for processing {"connection_id":191168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d172"} 
[2026-09-24 08:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296322304001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790220310000,"timestamp_ms":1790220310000,"timestamp_seconds":1790220310,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17215f0"} 
[2026-09-24 08:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296322304001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296322304001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:58:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:58:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296322304001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":191168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:58:36] local.INFO: GPS data processed {"connection_id":191168,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:58:36] local.INFO: Acknowledgment sent {"connection_id":191168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:58:45] local.INFO: TCP Data received {"connection_id":191167,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1748308012d0ae780070592f8002a011622..."} 
[2026-09-24 08:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1748308012d0ae780070592f8002a011622..."} 
[2026-09-24 08:58:45] local.INFO: Processing buffer {"connection_id":191167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1748308012d0ae780070592f8002a011622..."} 
[2026-09-24 08:58:45] local.INFO: Packet analysis {"connection_id":191167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d174"} 
[2026-09-24 08:58:45] local.INFO: Extracted packet for processing {"connection_id":191167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d174"} 
[2026-09-24 08:58:45] local.INFO: GPS Element Parsed {"raw_longitude":755689344,"raw_latitude":117805816,"longitude_deg":75.5689344,"latitude_deg":11.7805816,"altitude":42,"angle":278,"satellites":34,"speed":13,"hex_longitude":"2d0ae780","hex_latitude":"070592f8","is_valid_coordinates":true} 
[2026-09-24 08:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296439808001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33580433732009984,"note":"Value kept but may cause issues"} 
[2026-09-24 08:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":786018902622795776,"note":"Value kept but may cause issues"} 
[2026-09-24 08:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790220469000,"timestamp_ms":1790220469000,"timestamp_seconds":1790220469,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1748308"} 
[2026-09-24 08:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-24 08:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191167,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191167,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296439808001,"66":14396,"165":206,"94":10240,"24":13,"16":33580433732009984,"45":786018902622795776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 08:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296439808001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:58:45] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 08:58:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33580433732009984,"km_value":33580433732009.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":786018902622795776,"description":"Unknown IO ID 45"} 
[2026-09-24 08:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296439808001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":786018902622795776}} 
[2026-09-24 08:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":191167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888872,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:58:45] local.INFO: GPS data processed {"connection_id":191167,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:58:45] local.INFO: Acknowledgment sent {"connection_id":191167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:59:06] local.INFO: TCP Data received {"connection_id":192529,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192529,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:59:06] local.INFO: Processing buffer {"connection_id":192529,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:59:06] local.INFO: IMEI packet received {"connection_id":192529,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 08:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":192529,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:59:07] local.INFO: TCP Data received {"connection_id":191168,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:59:07] local.INFO: Processing buffer {"connection_id":191168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:59:07] local.INFO: Packet analysis {"connection_id":191168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d172"} 
[2026-09-24 08:59:07] local.INFO: Extracted packet for processing {"connection_id":191168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d172"} 
[2026-09-24 08:59:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296322304001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790220310000,"timestamp_ms":1790220310000,"timestamp_seconds":1790220310,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17215f0"} 
[2026-09-24 08:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296322304001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296322304001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:59:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:59:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296322304001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":191168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:59:07] local.INFO: GPS data processed {"connection_id":191168,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:59:07] local.INFO: Acknowledgment sent {"connection_id":191168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:59:08] local.INFO: TCP Data received {"connection_id":192529,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192529,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:59:08] local.INFO: Processing buffer {"connection_id":192529,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:59:08] local.INFO: IMEI packet received {"connection_id":192529,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":192529,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:59:14] local.INFO: TCP Data received {"connection_id":192529,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192529,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:59:14] local.INFO: Processing buffer {"connection_id":192529,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 08:59:14] local.INFO: IMEI packet received {"connection_id":192529,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 08:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":192529,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:59:15] local.INFO: TCP Data received {"connection_id":192529,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17486f0012d0ae64007059370002a012722..."} 
[2026-09-24 08:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17486f0012d0ae64007059370002a012722..."} 
[2026-09-24 08:59:15] local.INFO: Processing buffer {"connection_id":192529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17486f0012d0ae64007059370002a012722..."} 
[2026-09-24 08:59:15] local.INFO: Packet analysis {"connection_id":192529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d174"} 
[2026-09-24 08:59:15] local.INFO: Extracted packet for processing {"connection_id":192529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d174"} 
[2026-09-24 08:59:15] local.INFO: GPS Element Parsed {"raw_longitude":755689024,"raw_latitude":117805936,"longitude_deg":75.5689024,"latitude_deg":11.7805936,"altitude":42,"angle":295,"satellites":34,"speed":13,"hex_longitude":"2d0ae640","hex_latitude":"07059370","is_valid_coordinates":true} 
[2026-09-24 08:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296440064001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33580450911879168,"note":"Value kept but may cause issues"} 
[2026-09-24 08:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785737427646085120,"note":"Value kept but may cause issues"} 
[2026-09-24 08:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790220470000,"timestamp_ms":1790220470000,"timestamp_seconds":1790220470,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17486f0"} 
[2026-09-24 08:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-24 08:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296440064001,"66":14374,"165":206,"94":10240,"24":13,"16":33580450911879168,"45":785737427646085120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 08:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296440064001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:59:15] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 08:59:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33580450911879168,"km_value":33580450911879.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":785737427646085120,"description":"Unknown IO ID 45"} 
[2026-09-24 08:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296440064001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":785737427646085120}} 
[2026-09-24 08:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":192529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888874,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:59:16] local.INFO: GPS data processed {"connection_id":192529,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:59:16] local.INFO: Acknowledgment sent {"connection_id":192529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:59:34] local.INFO: TCP Data received {"connection_id":190964,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:59:34] local.INFO: Processing buffer {"connection_id":190964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:59:34] local.INFO: IMEI packet received {"connection_id":190964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 08:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":190964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 08:59:39] local.INFO: TCP Data received {"connection_id":190964,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:59:39] local.INFO: Processing buffer {"connection_id":190964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 08:59:39] local.INFO: IMEI packet received {"connection_id":190964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 08:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":190964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 08:59:40] local.INFO: TCP Data received {"connection_id":190964,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:59:40] local.INFO: Processing buffer {"connection_id":190964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 08:59:40] local.INFO: Packet analysis {"connection_id":190964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d172"} 
[2026-09-24 08:59:40] local.INFO: Extracted packet for processing {"connection_id":190964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d172"} 
[2026-09-24 08:59:40] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 08:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296322304001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 08:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 08:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790220310000,"timestamp_ms":1790220310000,"timestamp_seconds":1790220310,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17215f0"} 
[2026-09-24 08:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 08:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 08:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 08:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 08:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 08:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296322304001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 08:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 08:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 08:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296322304001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:59:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 08:59:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 08:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 08:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296322304001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 08:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":190964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:59:40] local.INFO: GPS data processed {"connection_id":190964,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:59:40] local.INFO: Acknowledgment sent {"connection_id":190964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 08:59:47] local.INFO: TCP Data received {"connection_id":192529,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1763888012d0a8a000705a3b0001e015122..."} 
[2026-09-24 08:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1763888012d0a8a000705a3b0001e015122..."} 
[2026-09-24 08:59:47] local.INFO: Processing buffer {"connection_id":192529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1763888012d0a8a000705a3b0001e015122..."} 
[2026-09-24 08:59:47] local.INFO: Packet analysis {"connection_id":192529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 08:59:47] local.INFO: Extracted packet for processing {"connection_id":192529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 08:59:47] local.INFO: GPS Element Parsed {"raw_longitude":755665408,"raw_latitude":117810096,"longitude_deg":75.5665408,"latitude_deg":11.7810096,"altitude":30,"angle":337,"satellites":34,"speed":23,"hex_longitude":"2d0a8a00","hex_latitude":"0705a3b0","is_valid_coordinates":true} 
[2026-09-24 08:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 08:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296467712001,"note":"Value kept but may cause issues"} 
[2026-09-24 08:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33581829596381184,"note":"Value kept but may cause issues"} 
[2026-09-24 08:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":760967629696112640,"note":"Value kept but may cause issues"} 
[2026-09-24 08:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 08:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790220581000,"timestamp_ms":1790220581000,"timestamp_seconds":1790220581,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1763888"} 
[2026-09-24 08:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 08:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 08:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-24 08:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 08:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 08:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 08:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 08:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":192529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 08:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":192529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":192529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 08:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 08:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 08:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 08:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296467712001,"66":14428,"153":206,"94":10240,"24":23,"16":33581829596381184,"45":760967629696112640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-24 08:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 08:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 08:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296467712001,"description":"Unknown IO ID 0"} 
[2026-09-24 08:59:47] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-24 08:59:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 08:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33581829596381184,"km_value":33581829596381.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 08:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":760967629696112640,"description":"Unknown IO ID 45"} 
[2026-09-24 08:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296467712001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":760967629696112640}} 
[2026-09-24 08:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":192529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888876,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 08:59:47] local.INFO: GPS data processed {"connection_id":192529,"processed":1,"errors":0,"total":1} 
[2026-09-24 08:59:47] local.INFO: Acknowledgment sent {"connection_id":192529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:00:06] local.INFO: TCP Data received {"connection_id":192530,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:00:06] local.INFO: Processing buffer {"connection_id":192530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:00:06] local.INFO: IMEI packet received {"connection_id":192530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":192530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:00:11] local.INFO: TCP Data received {"connection_id":190964,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 09:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 09:00:11] local.INFO: Processing buffer {"connection_id":190964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 09:00:11] local.INFO: Packet analysis {"connection_id":190964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d172"} 
[2026-09-24 09:00:11] local.INFO: Extracted packet for processing {"connection_id":190964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d172"} 
[2026-09-24 09:00:11] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296322304001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790220310000,"timestamp_ms":1790220310000,"timestamp_seconds":1790220310,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17215f0"} 
[2026-09-24 09:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296322304001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296322304001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:00:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:00:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296322304001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":190964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:00:11] local.INFO: GPS data processed {"connection_id":190964,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:00:11] local.INFO: Acknowledgment sent {"connection_id":190964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:00:11] local.INFO: TCP Data received {"connection_id":192530,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:00:11] local.INFO: Processing buffer {"connection_id":192530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:00:11] local.INFO: IMEI packet received {"connection_id":192530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":192530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:00:12] local.INFO: TCP Data received {"connection_id":192530,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1764440012d0a87800705a850001e013c22..."} 
[2026-09-24 09:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1764440012d0a87800705a850001e013c22..."} 
[2026-09-24 09:00:12] local.INFO: Processing buffer {"connection_id":192530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1764440012d0a87800705a850001e013c22..."} 
[2026-09-24 09:00:12] local.INFO: Packet analysis {"connection_id":192530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 09:00:12] local.INFO: Extracted packet for processing {"connection_id":192530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 09:00:12] local.INFO: GPS Element Parsed {"raw_longitude":755664768,"raw_latitude":117811280,"longitude_deg":75.5664768,"latitude_deg":11.781128,"altitude":30,"angle":316,"satellites":34,"speed":12,"hex_longitude":"2d0a8780","hex_latitude":"0705a850","is_valid_coordinates":true} 
[2026-09-24 09:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296468736001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33581898315857920,"note":"Value kept but may cause issues"} 
[2026-09-24 09:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":759419517324734464,"note":"Value kept but may cause issues"} 
[2026-09-24 09:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790220584000,"timestamp_ms":1790220584000,"timestamp_seconds":1790220584,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1764440"} 
[2026-09-24 09:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-24 09:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296468736001,"66":14374,"153":206,"94":10240,"24":12,"16":33581898315857920,"45":759419517324734464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-24 09:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296468736001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:00:12] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-24 09:00:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33581898315857920,"km_value":33581898315857.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":759419517324734464,"description":"Unknown IO ID 45"} 
[2026-09-24 09:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296468736001,"power":14374,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":759419517324734464}} 
[2026-09-24 09:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":192530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888878,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:00:12] local.INFO: GPS data processed {"connection_id":192530,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:00:12] local.INFO: Acknowledgment sent {"connection_id":192530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:00:29] local.INFO: TCP Data received {"connection_id":192531,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:00:29] local.INFO: Processing buffer {"connection_id":192531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:00:29] local.INFO: IMEI packet received {"connection_id":192531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":192531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:00:34] local.INFO: TCP Data received {"connection_id":192531,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:00:34] local.INFO: Processing buffer {"connection_id":192531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:00:34] local.INFO: IMEI packet received {"connection_id":192531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":192531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:00:35] local.INFO: TCP Data received {"connection_id":192531,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 09:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 09:00:35] local.INFO: Processing buffer {"connection_id":192531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17215f0012d34c24006aa4930000901382c..."} 
[2026-09-24 09:00:35] local.INFO: Packet analysis {"connection_id":192531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d172"} 
[2026-09-24 09:00:35] local.INFO: Extracted packet for processing {"connection_id":192531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d172"} 
[2026-09-24 09:00:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296322304001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790220310000,"timestamp_ms":1790220310000,"timestamp_seconds":1790220310,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17215f0"} 
[2026-09-24 09:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296322304001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296322304001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:00:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:00:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296322304001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":192531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:00:35] local.INFO: GPS data processed {"connection_id":192531,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:00:35] local.INFO: Acknowledgment sent {"connection_id":192531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:00:43] local.INFO: TCP Data received {"connection_id":192530,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d176dc98012d0a78c00705bf10001d001a23..."} 
[2026-09-24 09:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d176dc98012d0a78c00705bf10001d001a23..."} 
[2026-09-24 09:00:43] local.INFO: Processing buffer {"connection_id":192530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d176dc98012d0a78c00705bf10001d001a23..."} 
[2026-09-24 09:00:43] local.INFO: Packet analysis {"connection_id":192530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 09:00:43] local.INFO: Extracted packet for processing {"connection_id":192530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 09:00:43] local.INFO: GPS Element Parsed {"raw_longitude":755660992,"raw_latitude":117817104,"longitude_deg":75.5660992,"latitude_deg":11.7817104,"altitude":29,"angle":26,"satellites":35,"speed":4,"hex_longitude":"2d0a78c0","hex_latitude":"0705bf10","is_valid_coordinates":true} 
[2026-09-24 09:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296478976001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33582293452849152,"note":"Value kept but may cause issues"} 
[2026-09-24 09:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754493705234036736,"note":"Value kept but may cause issues"} 
[2026-09-24 09:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790220623000,"timestamp_ms":1790220623000,"timestamp_seconds":1790220623,"priority":1,"record_length":96,"hex_timestamp":"000001a0d176dc98"} 
[2026-09-24 09:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-24 09:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296478976001,"66":14450,"165":206,"94":10240,"24":4,"16":33582293452849152,"45":754493705234036736},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 09:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296478976001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:00:43] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 09:00:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33582293452849152,"km_value":33582293452849.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":754493705234036736,"description":"Unknown IO ID 45"} 
[2026-09-24 09:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296478976001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":754493705234036736}} 
[2026-09-24 09:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":192530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888880,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:00:44] local.INFO: GPS data processed {"connection_id":192530,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:00:44] local.INFO: Acknowledgment sent {"connection_id":192530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:01:06] local.INFO: TCP Data received {"connection_id":190965,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190965,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:01:06] local.INFO: Processing buffer {"connection_id":190965,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:01:06] local.INFO: IMEI packet received {"connection_id":190965,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":190965,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:01:06] local.INFO: TCP Data received {"connection_id":192531,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:01:06] local.INFO: Processing buffer {"connection_id":192531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:01:06] local.INFO: Packet analysis {"connection_id":192531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 09:01:06] local.INFO: Extracted packet for processing {"connection_id":192531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 09:01:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296399360001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790220611000,"timestamp_ms":1790220611000,"timestamp_seconds":1790220611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d176adb8"} 
[2026-09-24 09:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 09:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296399360001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296399360001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:01:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:01:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296399360001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":192531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:01:06] local.INFO: GPS data processed {"connection_id":192531,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:01:06] local.INFO: Acknowledgment sent {"connection_id":192531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:01:11] local.INFO: TCP Data received {"connection_id":190965,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190965,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:01:11] local.INFO: Processing buffer {"connection_id":190965,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:01:11] local.INFO: IMEI packet received {"connection_id":190965,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":190965,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:01:12] local.INFO: TCP Data received {"connection_id":190965,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1770b78012d0a78800705bf38001d00dc23..."} 
[2026-09-24 09:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1770b78012d0a78800705bf38001d00dc23..."} 
[2026-09-24 09:01:12] local.INFO: Processing buffer {"connection_id":190965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1770b78012d0a78800705bf38001d00dc23..."} 
[2026-09-24 09:01:12] local.INFO: Packet analysis {"connection_id":190965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d177"} 
[2026-09-24 09:01:12] local.INFO: Extracted packet for processing {"connection_id":190965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d177"} 
[2026-09-24 09:01:12] local.INFO: GPS Element Parsed {"raw_longitude":755660928,"raw_latitude":117817144,"longitude_deg":75.5660928,"latitude_deg":11.7817144,"altitude":29,"angle":220,"satellites":35,"speed":1,"hex_longitude":"2d0a7880","hex_latitude":"0705bf38","is_valid_coordinates":true} 
[2026-09-24 09:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296479488001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33582302042783744,"note":"Value kept but may cause issues"} 
[2026-09-24 09:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754564073978269696,"note":"Value kept but may cause issues"} 
[2026-09-24 09:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790220635000,"timestamp_ms":1790220635000,"timestamp_seconds":1790220635,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1770b78"} 
[2026-09-24 09:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-24 09:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190965,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190965,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296479488001,"66":14439,"165":206,"94":10240,"24":1,"16":33582302042783744,"45":754564073978269696},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 09:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296479488001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:01:12] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 09:01:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33582302042783744,"km_value":33582302042783.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":754564073978269696,"description":"Unknown IO ID 45"} 
[2026-09-24 09:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296479488001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":754564073978269696}} 
[2026-09-24 09:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":190965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888882,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:01:12] local.INFO: GPS data processed {"connection_id":190965,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:01:12] local.INFO: Acknowledgment sent {"connection_id":190965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:01:29] local.INFO: TCP Data received {"connection_id":192532,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:01:29] local.INFO: Processing buffer {"connection_id":192532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:01:29] local.INFO: IMEI packet received {"connection_id":192532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":192532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:01:34] local.INFO: TCP Data received {"connection_id":192532,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:01:34] local.INFO: Processing buffer {"connection_id":192532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:01:34] local.INFO: IMEI packet received {"connection_id":192532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":192532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:01:36] local.INFO: TCP Data received {"connection_id":192532,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:01:36] local.INFO: Processing buffer {"connection_id":192532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:01:36] local.INFO: Packet analysis {"connection_id":192532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 09:01:36] local.INFO: Extracted packet for processing {"connection_id":192532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 09:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296399360001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790220611000,"timestamp_ms":1790220611000,"timestamp_seconds":1790220611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d176adb8"} 
[2026-09-24 09:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 09:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296399360001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296399360001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:01:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296399360001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":192532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:01:36] local.INFO: GPS data processed {"connection_id":192532,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:01:36] local.INFO: Acknowledgment sent {"connection_id":192532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:01:43] local.INFO: TCP Data received {"connection_id":190965,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1770f60012d0a78800705bf08001d00ce23..."} 
[2026-09-24 09:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1770f60012d0a78800705bf08001d00ce23..."} 
[2026-09-24 09:01:43] local.INFO: Processing buffer {"connection_id":190965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1770f60012d0a78800705bf08001d00ce23..."} 
[2026-09-24 09:01:43] local.INFO: Packet analysis {"connection_id":190965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d177"} 
[2026-09-24 09:01:43] local.INFO: Extracted packet for processing {"connection_id":190965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d177"} 
[2026-09-24 09:01:43] local.INFO: GPS Element Parsed {"raw_longitude":755660928,"raw_latitude":117817096,"longitude_deg":75.5660928,"latitude_deg":11.7817096,"altitude":29,"angle":206,"satellites":35,"speed":1,"hex_longitude":"2d0a7880","hex_latitude":"0705bf08","is_valid_coordinates":true} 
[2026-09-24 09:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296482560001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33582302042783744,"note":"Value kept but may cause issues"} 
[2026-09-24 09:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754493705234102272,"note":"Value kept but may cause issues"} 
[2026-09-24 09:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790220636000,"timestamp_ms":1790220636000,"timestamp_seconds":1790220636,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1770f60"} 
[2026-09-24 09:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 09:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190965,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190965,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296482560001,"66":14439,"165":206,"94":10240,"24":1,"16":33582302042783744,"45":754493705234102272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 09:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296482560001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:01:43] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 09:01:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33582302042783744,"km_value":33582302042783.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":754493705234102272,"description":"Unknown IO ID 45"} 
[2026-09-24 09:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296482560001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":754493705234102272}} 
[2026-09-24 09:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":190965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888884,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:01:44] local.INFO: GPS data processed {"connection_id":190965,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:01:44] local.INFO: Acknowledgment sent {"connection_id":190965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:02:06] local.INFO: TCP Data received {"connection_id":192533,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:02:06] local.INFO: Processing buffer {"connection_id":192533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:02:06] local.INFO: IMEI packet received {"connection_id":192533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":192533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:02:07] local.INFO: TCP Data received {"connection_id":192532,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:02:07] local.INFO: Processing buffer {"connection_id":192532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:02:07] local.INFO: Packet analysis {"connection_id":192532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 09:02:07] local.INFO: Extracted packet for processing {"connection_id":192532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 09:02:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296399360001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790220611000,"timestamp_ms":1790220611000,"timestamp_seconds":1790220611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d176adb8"} 
[2026-09-24 09:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 09:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296399360001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296399360001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:02:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:02:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296399360001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":192532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:02:07] local.INFO: GPS data processed {"connection_id":192532,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:02:07] local.INFO: Acknowledgment sent {"connection_id":192532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:02:11] local.INFO: TCP Data received {"connection_id":192533,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:02:11] local.INFO: Processing buffer {"connection_id":192533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:02:11] local.INFO: IMEI packet received {"connection_id":192533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":192533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:02:12] local.INFO: TCP Data received {"connection_id":192533,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1772ea0012d0a77400705bff8001d014421..."} 
[2026-09-24 09:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1772ea0012d0a77400705bff8001d014421..."} 
[2026-09-24 09:02:12] local.INFO: Processing buffer {"connection_id":192533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1772ea0012d0a77400705bff8001d014421..."} 
[2026-09-24 09:02:12] local.INFO: Packet analysis {"connection_id":192533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d177"} 
[2026-09-24 09:02:12] local.INFO: Extracted packet for processing {"connection_id":192533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d177"} 
[2026-09-24 09:02:12] local.INFO: GPS Element Parsed {"raw_longitude":755660608,"raw_latitude":117817336,"longitude_deg":75.5660608,"latitude_deg":11.7817336,"altitude":29,"angle":324,"satellites":33,"speed":4,"hex_longitude":"2d0a7740","hex_latitude":"0705bff8","is_valid_coordinates":true} 
[2026-09-24 09:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296482816001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33582327812587520,"note":"Value kept but may cause issues"} 
[2026-09-24 09:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754493705234089984,"note":"Value kept but may cause issues"} 
[2026-09-24 09:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790220644000,"timestamp_ms":1790220644000,"timestamp_seconds":1790220644,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1772ea0"} 
[2026-09-24 09:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 09:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296482816001,"66":14352,"165":206,"94":10240,"24":4,"16":33582327812587520,"45":754493705234089984},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 09:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296482816001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:02:12] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 09:02:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33582327812587520,"km_value":33582327812587.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":754493705234089984,"description":"Unknown IO ID 45"} 
[2026-09-24 09:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296482816001,"power":14352,"unknown_165":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":754493705234089984}} 
[2026-09-24 09:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":192533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888886,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:02:12] local.INFO: GPS data processed {"connection_id":192533,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:02:12] local.INFO: Acknowledgment sent {"connection_id":192533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:02:29] local.INFO: TCP Data received {"connection_id":191169,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:02:29] local.INFO: Processing buffer {"connection_id":191169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:02:29] local.INFO: IMEI packet received {"connection_id":191169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":191169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:02:34] local.INFO: TCP Data received {"connection_id":191169,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:02:34] local.INFO: Processing buffer {"connection_id":191169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:02:34] local.INFO: IMEI packet received {"connection_id":191169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":191169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:02:35] local.INFO: TCP Data received {"connection_id":191169,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:02:35] local.INFO: Processing buffer {"connection_id":191169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:02:35] local.INFO: Packet analysis {"connection_id":191169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 09:02:35] local.INFO: Extracted packet for processing {"connection_id":191169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 09:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296399360001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790220611000,"timestamp_ms":1790220611000,"timestamp_seconds":1790220611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d176adb8"} 
[2026-09-24 09:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 09:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296399360001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296399360001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:02:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296399360001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":191169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:02:35] local.INFO: GPS data processed {"connection_id":191169,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:02:35] local.INFO: Acknowledgment sent {"connection_id":191169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:02:43] local.INFO: TCP Data received {"connection_id":192533,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d178efd8012d0a75c0070603b00013007421..."} 
[2026-09-24 09:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d178efd8012d0a75c0070603b00013007421..."} 
[2026-09-24 09:02:43] local.INFO: Processing buffer {"connection_id":192533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d178efd8012d0a75c0070603b00013007421..."} 
[2026-09-24 09:02:43] local.INFO: Packet analysis {"connection_id":192533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d178"} 
[2026-09-24 09:02:43] local.INFO: Extracted packet for processing {"connection_id":192533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d178"} 
[2026-09-24 09:02:43] local.INFO: GPS Element Parsed {"raw_longitude":755660224,"raw_latitude":117834672,"longitude_deg":75.5660224,"latitude_deg":11.7834672,"altitude":19,"angle":116,"satellites":33,"speed":2,"hex_longitude":"2d0a75c0","hex_latitude":"070603b0","is_valid_coordinates":true} 
[2026-09-24 09:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296512512001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33583298475196416,"note":"Value kept but may cause issues"} 
[2026-09-24 09:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753649280308471808,"note":"Value kept but may cause issues"} 
[2026-09-24 09:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790220759000,"timestamp_ms":1790220759000,"timestamp_seconds":1790220759,"priority":1,"record_length":96,"hex_timestamp":"000001a0d178efd8"} 
[2026-09-24 09:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-24 09:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296512512001,"66":14537,"153":206,"94":10240,"24":2,"16":33583298475196416,"45":753649280308471808},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-24 09:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296512512001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:02:43] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-24 09:02:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33583298475196416,"km_value":33583298475196.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":753649280308471808,"description":"Unknown IO ID 45"} 
[2026-09-24 09:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296512512001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753649280308471808}} 
[2026-09-24 09:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":192533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888888,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:02:43] local.INFO: GPS data processed {"connection_id":192533,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:02:43] local.INFO: Acknowledgment sent {"connection_id":192533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:03:06] local.INFO: TCP Data received {"connection_id":191169,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:03:06] local.INFO: Processing buffer {"connection_id":191169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:03:06] local.INFO: Packet analysis {"connection_id":191169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 09:03:06] local.INFO: Extracted packet for processing {"connection_id":191169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 09:03:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296399360001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790220611000,"timestamp_ms":1790220611000,"timestamp_seconds":1790220611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d176adb8"} 
[2026-09-24 09:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 09:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296399360001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296399360001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:03:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:03:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296399360001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":191169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:03:06] local.INFO: GPS data processed {"connection_id":191169,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:03:06] local.INFO: Acknowledgment sent {"connection_id":191169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:03:11] local.INFO: TCP Data received {"connection_id":190966,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190966,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:03:11] local.INFO: Processing buffer {"connection_id":190966,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:03:11] local.INFO: IMEI packet received {"connection_id":190966,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":190966,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:03:14] local.INFO: TCP Data received {"connection_id":190966,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190966,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:03:14] local.INFO: Processing buffer {"connection_id":190966,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:03:14] local.INFO: IMEI packet received {"connection_id":190966,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":190966,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:03:15] local.INFO: TCP Data received {"connection_id":190966,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d178f3c0012d0a7640070603a80013006721..."} 
[2026-09-24 09:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d178f3c0012d0a7640070603a80013006721..."} 
[2026-09-24 09:03:15] local.INFO: Processing buffer {"connection_id":190966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d178f3c0012d0a7640070603a80013006721..."} 
[2026-09-24 09:03:15] local.INFO: Packet analysis {"connection_id":190966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d178"} 
[2026-09-24 09:03:15] local.INFO: Extracted packet for processing {"connection_id":190966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d178"} 
[2026-09-24 09:03:15] local.INFO: GPS Element Parsed {"raw_longitude":755660352,"raw_latitude":117834664,"longitude_deg":75.5660352,"latitude_deg":11.7834664,"altitude":19,"angle":103,"satellites":33,"speed":1,"hex_longitude":"2d0a7640","hex_latitude":"070603a8","is_valid_coordinates":true} 
[2026-09-24 09:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296514304001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33583302770163712,"note":"Value kept but may cause issues"} 
[2026-09-24 09:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753719649052635136,"note":"Value kept but may cause issues"} 
[2026-09-24 09:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790220760000,"timestamp_ms":1790220760000,"timestamp_seconds":1790220760,"priority":1,"record_length":96,"hex_timestamp":"000001a0d178f3c0"} 
[2026-09-24 09:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-24 09:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190966,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190966,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296514304001,"66":14537,"153":206,"94":10240,"24":1,"16":33583302770163712,"45":753719649052635136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-24 09:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296514304001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:03:15] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-24 09:03:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33583302770163712,"km_value":33583302770163.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":753719649052635136,"description":"Unknown IO ID 45"} 
[2026-09-24 09:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296514304001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753719649052635136}} 
[2026-09-24 09:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":190966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888890,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:03:15] local.INFO: GPS data processed {"connection_id":190966,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:03:15] local.INFO: Acknowledgment sent {"connection_id":190966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:03:16] local.INFO: TCP Data received {"connection_id":190966,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d178f7a8012d0a7640070603b00013005921..."} 
[2026-09-24 09:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d178f7a8012d0a7640070603b00013005921..."} 
[2026-09-24 09:03:16] local.INFO: Processing buffer {"connection_id":190966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d178f7a8012d0a7640070603b00013005921..."} 
[2026-09-24 09:03:16] local.INFO: Packet analysis {"connection_id":190966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d178"} 
[2026-09-24 09:03:16] local.INFO: Extracted packet for processing {"connection_id":190966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d178"} 
[2026-09-24 09:03:16] local.INFO: GPS Element Parsed {"raw_longitude":755660352,"raw_latitude":117834672,"longitude_deg":75.5660352,"latitude_deg":11.7834672,"altitude":19,"angle":89,"satellites":33,"speed":0,"hex_longitude":"2d0a7640","hex_latitude":"070603b0","is_valid_coordinates":true} 
[2026-09-24 09:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296514560001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33583302770163712,"note":"Value kept but may cause issues"} 
[2026-09-24 09:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753860386540988416,"note":"Value kept but may cause issues"} 
[2026-09-24 09:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790220761000,"timestamp_ms":1790220761000,"timestamp_seconds":1790220761,"priority":1,"record_length":96,"hex_timestamp":"000001a0d178f7a8"} 
[2026-09-24 09:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-24 09:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190966,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190966,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296514560001,"66":13656,"153":206,"94":10240,"24":0,"16":33583302770163712,"45":753860386540988416},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-24 09:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296514560001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:03:16] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-24 09:03:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33583302770163712,"km_value":33583302770163.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":753860386540988416,"description":"Unknown IO ID 45"} 
[2026-09-24 09:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296514560001,"power":13656,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753860386540988416}} 
[2026-09-24 09:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":190966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888891,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:03:16] local.INFO: GPS data processed {"connection_id":190966,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:03:16] local.INFO: Acknowledgment sent {"connection_id":190966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:03:34] local.INFO: TCP Data received {"connection_id":193846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:03:34] local.INFO: Processing buffer {"connection_id":193846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:03:34] local.INFO: IMEI packet received {"connection_id":193846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":193846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:03:39] local.INFO: TCP Data received {"connection_id":193846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:03:39] local.INFO: Processing buffer {"connection_id":193846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:03:39] local.INFO: IMEI packet received {"connection_id":193846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":193846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:03:40] local.INFO: TCP Data received {"connection_id":193846,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:03:40] local.INFO: Processing buffer {"connection_id":193846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:03:40] local.INFO: Packet analysis {"connection_id":193846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 09:03:40] local.INFO: Extracted packet for processing {"connection_id":193846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 09:03:40] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296399360001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790220611000,"timestamp_ms":1790220611000,"timestamp_seconds":1790220611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d176adb8"} 
[2026-09-24 09:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 09:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296399360001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296399360001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:03:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:03:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296399360001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":193846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:03:40] local.INFO: GPS data processed {"connection_id":193846,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:03:40] local.INFO: Acknowledgment sent {"connection_id":193846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:03:44] local.INFO: TCP Data received {"connection_id":193846,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:03:44] local.INFO: Processing buffer {"connection_id":193846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:03:44] local.INFO: Packet analysis {"connection_id":193846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 09:03:44] local.INFO: Extracted packet for processing {"connection_id":193846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 09:03:44] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296399360001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790220611000,"timestamp_ms":1790220611000,"timestamp_seconds":1790220611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d176adb8"} 
[2026-09-24 09:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 09:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296399360001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296399360001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:03:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:03:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296399360001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":193846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:03:44] local.INFO: GPS data processed {"connection_id":193846,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:03:44] local.INFO: Acknowledgment sent {"connection_id":193846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:03:48] local.INFO: TCP Data received {"connection_id":190966,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1793240012d0a754007060368001300ed22..."} 
[2026-09-24 09:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1793240012d0a754007060368001300ed22..."} 
[2026-09-24 09:03:48] local.INFO: Processing buffer {"connection_id":190966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1793240012d0a754007060368001300ed22..."} 
[2026-09-24 09:03:48] local.INFO: Packet analysis {"connection_id":190966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d179"} 
[2026-09-24 09:03:48] local.INFO: Extracted packet for processing {"connection_id":190966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d179"} 
[2026-09-24 09:03:48] local.INFO: GPS Element Parsed {"raw_longitude":755660096,"raw_latitude":117834600,"longitude_deg":75.5660096,"latitude_deg":11.78346,"altitude":19,"angle":237,"satellites":34,"speed":1,"hex_longitude":"2d0a7540","hex_latitude":"07060368","is_valid_coordinates":true} 
[2026-09-24 09:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296514816001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33583324245000192,"note":"Value kept but may cause issues"} 
[2026-09-24 09:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753860386540990464,"note":"Value kept but may cause issues"} 
[2026-09-24 09:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790220776000,"timestamp_ms":1790220776000,"timestamp_seconds":1790220776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1793240"} 
[2026-09-24 09:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:03: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-09-24 09:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-24 09:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190966,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190966,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296514816001,"66":14428,"153":206,"94":10240,"24":1,"16":33583324245000192,"45":753860386540990464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-24 09:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296514816001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:03:48] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-24 09:03:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33583324245000192,"km_value":33583324245000.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":753860386540990464,"description":"Unknown IO ID 45"} 
[2026-09-24 09:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296514816001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753860386540990464}} 
[2026-09-24 09:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":190966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888894,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:03:48] local.INFO: GPS data processed {"connection_id":190966,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:03:48] local.INFO: Acknowledgment sent {"connection_id":190966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:04:04] local.INFO: TCP Data received {"connection_id":192534,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:04:04] local.INFO: Processing buffer {"connection_id":192534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:04:04] local.INFO: IMEI packet received {"connection_id":192534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":192534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:04:06] local.INFO: TCP Data received {"connection_id":192534,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:04:06] local.INFO: Processing buffer {"connection_id":192534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:04:06] local.INFO: IMEI packet received {"connection_id":192534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":192534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:04:11] local.INFO: TCP Data received {"connection_id":192534,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:04:11] local.INFO: Processing buffer {"connection_id":192534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:04:11] local.INFO: IMEI packet received {"connection_id":192534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":192534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:04:12] local.INFO: TCP Data received {"connection_id":192534,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1793628012d0a750007060338001300d922..."} 
[2026-09-24 09:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1793628012d0a750007060338001300d922..."} 
[2026-09-24 09:04:12] local.INFO: Processing buffer {"connection_id":192534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1793628012d0a750007060338001300d922..."} 
[2026-09-24 09:04:12] local.INFO: Packet analysis {"connection_id":192534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d179"} 
[2026-09-24 09:04:12] local.INFO: Extracted packet for processing {"connection_id":192534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d179"} 
[2026-09-24 09:04:12] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117834552,"longitude_deg":75.5660032,"latitude_deg":11.7834552,"altitude":19,"angle":217,"satellites":34,"speed":1,"hex_longitude":"2d0a7500","hex_latitude":"07060338","is_valid_coordinates":true} 
[2026-09-24 09:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296518656001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33583328539967488,"note":"Value kept but may cause issues"} 
[2026-09-24 09:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753578911564261376,"note":"Value kept but may cause issues"} 
[2026-09-24 09:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790220777000,"timestamp_ms":1790220777000,"timestamp_seconds":1790220777,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1793628"} 
[2026-09-24 09:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:04:12] 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-09-24 09:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-24 09:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296518656001,"66":14407,"153":206,"94":10240,"24":1,"16":33583328539967488,"45":753578911564261376},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-24 09:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296518656001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:04:12] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-24 09:04:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33583328539967488,"km_value":33583328539967.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":753578911564261376,"description":"Unknown IO ID 45"} 
[2026-09-24 09:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296518656001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753578911564261376}} 
[2026-09-24 09:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":192534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888895,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:04:12] local.INFO: GPS data processed {"connection_id":192534,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:04:12] local.INFO: Acknowledgment sent {"connection_id":192534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:04:29] local.INFO: TCP Data received {"connection_id":191170,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:04:29] local.INFO: Processing buffer {"connection_id":191170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:04:29] local.INFO: IMEI packet received {"connection_id":191170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":191170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:04:34] local.INFO: TCP Data received {"connection_id":191170,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:04:34] local.INFO: Processing buffer {"connection_id":191170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:04:34] local.INFO: IMEI packet received {"connection_id":191170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":191170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:04:35] local.INFO: TCP Data received {"connection_id":191170,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:04:35] local.INFO: Processing buffer {"connection_id":191170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:04:35] local.INFO: Packet analysis {"connection_id":191170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 09:04:35] local.INFO: Extracted packet for processing {"connection_id":191170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 09:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296399360001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790220611000,"timestamp_ms":1790220611000,"timestamp_seconds":1790220611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d176adb8"} 
[2026-09-24 09:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 09:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296399360001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296399360001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:04:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:04:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296399360001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":191170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:04:35] local.INFO: GPS data processed {"connection_id":191170,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:04:35] local.INFO: Acknowledgment sent {"connection_id":191170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:04:37] local.INFO: TCP Data received {"connection_id":190967,"ip":"117.224.253.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:04:37] local.INFO: Processing buffer {"connection_id":190967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:04:37] local.INFO: IMEI packet received {"connection_id":190967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 09:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":190967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:04:41] local.INFO: TCP Data received {"connection_id":190967,"ip":"117.224.253.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:04:41] local.INFO: Processing buffer {"connection_id":190967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:04:41] local.INFO: IMEI packet received {"connection_id":190967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 09:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":190967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:04:43] local.INFO: TCP Data received {"connection_id":190967,"ip":"117.224.253.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1789218012c65fc8008be1260002400e329..."} 
[2026-09-24 09:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1789218012c65fc8008be1260002400e329..."} 
[2026-09-24 09:04:43] local.INFO: Processing buffer {"connection_id":190967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1789218012c65fc8008be1260002400e329..."} 
[2026-09-24 09:04:43] local.INFO: Packet analysis {"connection_id":190967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d178"} 
[2026-09-24 09:04:43] local.INFO: Extracted packet for processing {"connection_id":190967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d178"} 
[2026-09-24 09:04:43] local.INFO: GPS Element Parsed {"raw_longitude":744881280,"raw_latitude":146674272,"longitude_deg":74.488128,"latitude_deg":14.6674272,"altitude":36,"angle":227,"satellites":41,"speed":0,"hex_longitude":"2c65fc80","hex_latitude":"08be1260","is_valid_coordinates":true} 
[2026-09-24 09:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296502016001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 09:04:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7363596534535213056,"note":"Value kept but may cause issues"} 
[2026-09-24 09:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790220735000,"timestamp_ms":1790220735000,"timestamp_seconds":1790220735,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1789218"} 
[2026-09-24 09:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 09:04:43] 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-09-24 09:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 09:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 09:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296502016001,"66":28202,"194":206,"9":55808,"24":0,"16":3605341577150464,"44":7363596534535213056},"client_ip":"117.224.253.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,9,24,16,44]} 
[2026-09-24 09:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 09:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 09:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296502016001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:04:43] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-24 09:04:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-24 09:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:04:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":7363596534535213056,"description":"Unknown IO ID 44"} 
[2026-09-24 09:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296502016001,"power":28202,"unknown_194":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":7363596534535213056}} 
[2026-09-24 09:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":190967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888897,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:04:43] local.INFO: GPS data processed {"connection_id":190967,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:04:43] local.INFO: Acknowledgment sent {"connection_id":190967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:04:44] local.INFO: TCP Data received {"connection_id":192534,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17a6ac0012d0a80c00705a5c0000e00da23..."} 
[2026-09-24 09:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17a6ac0012d0a80c00705a5c0000e00da23..."} 
[2026-09-24 09:04:44] local.INFO: Processing buffer {"connection_id":192534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17a6ac0012d0a80c00705a5c0000e00da23..."} 
[2026-09-24 09:04:44] local.INFO: Packet analysis {"connection_id":192534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17a"} 
[2026-09-24 09:04:44] local.INFO: Extracted packet for processing {"connection_id":192534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17a"} 
[2026-09-24 09:04:44] local.INFO: GPS Element Parsed {"raw_longitude":755663040,"raw_latitude":117810624,"longitude_deg":75.566304,"latitude_deg":11.7810624,"altitude":14,"angle":218,"satellites":35,"speed":18,"hex_longitude":"2d0a80c0","hex_latitude":"0705a5c0","is_valid_coordinates":true} 
[2026-09-24 09:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296538624001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33584544015712256,"note":"Value kept but may cause issues"} 
[2026-09-24 09:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757238086255527936,"note":"Value kept but may cause issues"} 
[2026-09-24 09:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790220856000,"timestamp_ms":1790220856000,"timestamp_seconds":1790220856,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17a6ac0"} 
[2026-09-24 09:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-24 09:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296538624001,"66":14396,"153":206,"94":10240,"24":18,"16":33584544015712256,"45":757238086255527936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-24 09:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296538624001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:04:44] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-24 09:04:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33584544015712256,"km_value":33584544015712.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":757238086255527936,"description":"Unknown IO ID 45"} 
[2026-09-24 09:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296538624001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":757238086255527936}} 
[2026-09-24 09:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":192534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888898,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:04:44] local.INFO: GPS data processed {"connection_id":192534,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:04:44] local.INFO: Acknowledgment sent {"connection_id":192534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:05:06] local.INFO: TCP Data received {"connection_id":190968,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190968,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:05:06] local.INFO: Processing buffer {"connection_id":190968,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:05:06] local.INFO: IMEI packet received {"connection_id":190968,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":190968,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:05:07] local.INFO: TCP Data received {"connection_id":190970,"ip":"117.224.253.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:05:07] local.INFO: Processing buffer {"connection_id":190970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:05:07] local.INFO: IMEI packet received {"connection_id":190970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 09:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":190970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:05:09] local.INFO: TCP Data received {"connection_id":190969,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:05:09] local.INFO: Processing buffer {"connection_id":190969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:05:09] local.INFO: IMEI packet received {"connection_id":190969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":190969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:05:09] local.INFO: TCP Data received {"connection_id":190968,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190968,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:05:09] local.INFO: Processing buffer {"connection_id":190968,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:05:09] local.INFO: IMEI packet received {"connection_id":190968,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":190968,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:05:10] local.INFO: TCP Data received {"connection_id":190968,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17aad28012d0a6b0007058990000e00de22..."} 
[2026-09-24 09:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17aad28012d0a6b0007058990000e00de22..."} 
[2026-09-24 09:05:10] local.INFO: Processing buffer {"connection_id":190968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17aad28012d0a6b0007058990000e00de22..."} 
[2026-09-24 09:05:10] local.INFO: Packet analysis {"connection_id":190968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17a"} 
[2026-09-24 09:05:10] local.INFO: Extracted packet for processing {"connection_id":190968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17a"} 
[2026-09-24 09:05:10] local.INFO: GPS Element Parsed {"raw_longitude":755657472,"raw_latitude":117803408,"longitude_deg":75.5657472,"latitude_deg":11.7803408,"altitude":14,"angle":222,"satellites":34,"speed":12,"hex_longitude":"2d0a6b00","hex_latitude":"07058990","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296539136001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33584982102376448,"note":"Value kept but may cause issues"} 
[2026-09-24 09:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756815873790296064,"note":"Value kept but may cause issues"} 
[2026-09-24 09:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790220873000,"timestamp_ms":1790220873000,"timestamp_seconds":1790220873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17aad28"} 
[2026-09-24 09:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-24 09:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190968,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190968,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296539136001,"66":14428,"153":206,"94":10240,"24":12,"16":33584982102376448,"45":756815873790296064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-24 09:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296539136001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:05:10] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-24 09:05:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33584982102376448,"km_value":33584982102376.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":756815873790296064,"description":"Unknown IO ID 45"} 
[2026-09-24 09:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296539136001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":756815873790296064}} 
[2026-09-24 09:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":190968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888899,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:05:10] local.INFO: GPS data processed {"connection_id":190968,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:05:10] local.INFO: Acknowledgment sent {"connection_id":190968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:05:13] local.INFO: TCP Data received {"connection_id":190970,"ip":"117.224.253.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:05:13] local.INFO: Processing buffer {"connection_id":190970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:05:13] local.INFO: IMEI packet received {"connection_id":190970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 09:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":190970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:05:14] local.INFO: TCP Data received {"connection_id":190970,"ip":"117.224.253.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d178c4e0012c65c58008bde580002800f22a..."} 
[2026-09-24 09:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d178c4e0012c65c58008bde580002800f22a..."} 
[2026-09-24 09:05:14] local.INFO: Processing buffer {"connection_id":190970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d178c4e0012c65c58008bde580002800f22a..."} 
[2026-09-24 09:05:14] local.INFO: Packet analysis {"connection_id":190970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d178"} 
[2026-09-24 09:05:14] local.INFO: Extracted packet for processing {"connection_id":190970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d178"} 
[2026-09-24 09:05:14] local.INFO: GPS Element Parsed {"raw_longitude":744867200,"raw_latitude":146662784,"longitude_deg":74.48672,"latitude_deg":14.6662784,"altitude":40,"angle":242,"satellites":42,"speed":35,"hex_longitude":"2c65c580","hex_latitude":"08bde580","is_valid_coordinates":true} 
[2026-09-24 09:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296508160001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 09:05:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7348889466998775808,"note":"Value kept but may cause issues"} 
[2026-09-24 09:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790220748000,"timestamp_ms":1790220748000,"timestamp_seconds":1790220748,"priority":1,"record_length":96,"hex_timestamp":"000001a0d178c4e0"} 
[2026-09-24 09:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-24 09:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 09:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 09:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296508160001,"66":28430,"194":206,"9":55808,"24":35,"16":3605341577150464,"44":7348889466998775808},"client_ip":"117.224.253.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,9,24,16,44]} 
[2026-09-24 09:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 09:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 09:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296508160001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:05:14] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-24 09:05:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-24 09:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:05:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":7348889466998775808,"description":"Unknown IO ID 44"} 
[2026-09-24 09:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296508160001,"power":28430,"unknown_194":206,"unknown_9":55808,"ignition":35,"odometer":null,"unknown_44":7348889466998775808}} 
[2026-09-24 09:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":190970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888900,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:05:14] local.INFO: GPS data processed {"connection_id":190970,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:05:14] local.INFO: Acknowledgment sent {"connection_id":190970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:05:39] local.INFO: TCP Data received {"connection_id":193847,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:05:39] local.INFO: Processing buffer {"connection_id":193847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:05:39] local.INFO: IMEI packet received {"connection_id":193847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":193847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:05:41] local.INFO: TCP Data received {"connection_id":190968,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17ab4f8012d0a688007058720000e00ea22..."} 
[2026-09-24 09:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17ab4f8012d0a688007058720000e00ea22..."} 
[2026-09-24 09:05:41] local.INFO: Processing buffer {"connection_id":190968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17ab4f8012d0a688007058720000e00ea22..."} 
[2026-09-24 09:05:41] local.INFO: Packet analysis {"connection_id":190968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17a"} 
[2026-09-24 09:05:41] local.INFO: Extracted packet for processing {"connection_id":190968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17a"} 
[2026-09-24 09:05:41] local.INFO: GPS Element Parsed {"raw_longitude":755656832,"raw_latitude":117802784,"longitude_deg":75.5656832,"latitude_deg":11.7802784,"altitude":14,"angle":234,"satellites":34,"speed":21,"hex_longitude":"2d0a6880","hex_latitude":"07058720","is_valid_coordinates":true} 
[2026-09-24 09:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296543488001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33585029347016704,"note":"Value kept but may cause issues"} 
[2026-09-24 09:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":750693793044992000,"note":"Value kept but may cause issues"} 
[2026-09-24 09:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790220875000,"timestamp_ms":1790220875000,"timestamp_seconds":1790220875,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17ab4f8"} 
[2026-09-24 09:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:05:41] 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-09-24 09:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-24 09:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190968,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190968,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296543488001,"66":14407,"153":206,"94":10240,"24":21,"16":33585029347016704,"45":750693793044992000},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-24 09:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296543488001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:05:41] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-24 09:05:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33585029347016704,"km_value":33585029347016.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":750693793044992000,"description":"Unknown IO ID 45"} 
[2026-09-24 09:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296543488001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":750693793044992000}} 
[2026-09-24 09:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":190968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888901,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:05:41] local.INFO: GPS data processed {"connection_id":190968,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:05:41] local.INFO: Acknowledgment sent {"connection_id":190968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:05:44] local.INFO: TCP Data received {"connection_id":193847,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:05:44] local.INFO: Processing buffer {"connection_id":193847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:05:44] local.INFO: IMEI packet received {"connection_id":193847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":193847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:05:45] local.INFO: TCP Data received {"connection_id":193847,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:05:45] local.INFO: Processing buffer {"connection_id":193847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d176adb8012d34c24006aa49300009013829..."} 
[2026-09-24 09:05:45] local.INFO: Packet analysis {"connection_id":193847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 09:05:45] local.INFO: Extracted packet for processing {"connection_id":193847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d176"} 
[2026-09-24 09:05:45] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296399360001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790220611000,"timestamp_ms":1790220611000,"timestamp_seconds":1790220611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d176adb8"} 
[2026-09-24 09:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 09:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296399360001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296399360001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:05:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:05:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296399360001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":193847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:05:45] local.INFO: GPS data processed {"connection_id":193847,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:05:45] local.INFO: Acknowledgment sent {"connection_id":193847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:05:45] local.INFO: TCP Data received {"connection_id":190970,"ip":"117.224.253.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1790b30012c65754008bdcde0001e010124..."} 
[2026-09-24 09:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1790b30012c65754008bdcde0001e010124..."} 
[2026-09-24 09:05:45] local.INFO: Processing buffer {"connection_id":190970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1790b30012c65754008bdcde0001e010124..."} 
[2026-09-24 09:05:45] local.INFO: Packet analysis {"connection_id":190970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d179"} 
[2026-09-24 09:05:45] local.INFO: Extracted packet for processing {"connection_id":190970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d179"} 
[2026-09-24 09:05:45] local.INFO: GPS Element Parsed {"raw_longitude":744846656,"raw_latitude":146656736,"longitude_deg":74.4846656,"latitude_deg":14.6656736,"altitude":30,"angle":257,"satellites":36,"speed":41,"hex_longitude":"2c657540","hex_latitude":"08bdcde0","is_valid_coordinates":true} 
[2026-09-24 09:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296511488001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 09:05:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7333408343276748800,"note":"Value kept but may cause issues"} 
[2026-09-24 09:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790220766000,"timestamp_ms":1790220766000,"timestamp_seconds":1790220766,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1790b30"} 
[2026-09-24 09:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 09:05:45] 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-09-24 09:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":190970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":190970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":190970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 09:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 09:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296511488001,"66":28256,"194":206,"9":55808,"24":41,"16":3605341577150464,"44":7333408343276748800},"client_ip":"117.224.253.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,9,24,16,44]} 
[2026-09-24 09:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 09:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 09:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296511488001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:05:45] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-24 09:05:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-24 09:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:05:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":7333408343276748800,"description":"Unknown IO ID 44"} 
[2026-09-24 09:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296511488001,"power":28256,"unknown_194":206,"unknown_9":55808,"ignition":41,"odometer":null,"unknown_44":7333408343276748800}} 
[2026-09-24 09:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":190970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888903,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:05:46] local.INFO: GPS data processed {"connection_id":190970,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:05:46] local.INFO: Acknowledgment sent {"connection_id":190970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:06:06] local.INFO: TCP Data received {"connection_id":192535,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192535,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:06:06] local.INFO: Processing buffer {"connection_id":192535,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:06:06] local.INFO: IMEI packet received {"connection_id":192535,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":192535,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:06:07] local.INFO: TCP Data received {"connection_id":191171,"ip":"117.224.253.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:06:07] local.INFO: Processing buffer {"connection_id":191171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:06:07] local.INFO: IMEI packet received {"connection_id":191171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 09:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":191171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:06:11] local.INFO: TCP Data received {"connection_id":192535,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192535,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:06:11] local.INFO: Processing buffer {"connection_id":192535,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:06:11] local.INFO: IMEI packet received {"connection_id":192535,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":192535,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:06:12] local.INFO: TCP Data received {"connection_id":192535,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17adc08012d0a53c007057ba8000d00f522..."} 
[2026-09-24 09:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17adc08012d0a53c007057ba8000d00f522..."} 
[2026-09-24 09:06:12] local.INFO: Processing buffer {"connection_id":192535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17adc08012d0a53c007057ba8000d00f522..."} 
[2026-09-24 09:06:12] local.INFO: Packet analysis {"connection_id":192535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17a"} 
[2026-09-24 09:06:12] local.INFO: Extracted packet for processing {"connection_id":192535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17a"} 
[2026-09-24 09:06:12] local.INFO: GPS Element Parsed {"raw_longitude":755651520,"raw_latitude":117799848,"longitude_deg":75.565152,"latitude_deg":11.7799848,"altitude":13,"angle":245,"satellites":34,"speed":15,"hex_longitude":"2d0a53c0","hex_latitude":"07057ba8","is_valid_coordinates":true} 
[2026-09-24 09:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296544000001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33585317109825536,"note":"Value kept but may cause issues"} 
[2026-09-24 09:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":749990105603055616,"note":"Value kept but may cause issues"} 
[2026-09-24 09:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790220885000,"timestamp_ms":1790220885000,"timestamp_seconds":1790220885,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17adc08"} 
[2026-09-24 09:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-24 09:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296544000001,"66":14428,"153":206,"94":10240,"24":15,"16":33585317109825536,"45":749990105603055616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-24 09:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296544000001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:06:12] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-24 09:06:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33585317109825536,"km_value":33585317109825.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":749990105603055616,"description":"Unknown IO ID 45"} 
[2026-09-24 09:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296544000001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":749990105603055616}} 
[2026-09-24 09:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":192535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888904,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:06:12] local.INFO: GPS data processed {"connection_id":192535,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:06:12] local.INFO: Acknowledgment sent {"connection_id":192535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:06:12] local.INFO: TCP Data received {"connection_id":191171,"ip":"117.224.253.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:06:12] local.INFO: Processing buffer {"connection_id":191171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:06:12] local.INFO: IMEI packet received {"connection_id":191171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 09:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":191171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:06:14] local.INFO: TCP Data received {"connection_id":191171,"ip":"117.224.253.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1795180012c65324008bdc4300019010c26..."} 
[2026-09-24 09:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1795180012c65324008bdc4300019010c26..."} 
[2026-09-24 09:06:14] local.INFO: Processing buffer {"connection_id":191171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1795180012c65324008bdc4300019010c26..."} 
[2026-09-24 09:06:14] local.INFO: Packet analysis {"connection_id":191171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d179"} 
[2026-09-24 09:06:14] local.INFO: Extracted packet for processing {"connection_id":191171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d179"} 
[2026-09-24 09:06:14] local.INFO: GPS Element Parsed {"raw_longitude":744829504,"raw_latitude":146654256,"longitude_deg":74.4829504,"latitude_deg":14.6654256,"altitude":25,"angle":268,"satellites":38,"speed":24,"hex_longitude":"2c653240","hex_latitude":"08bdc430","is_valid_coordinates":true} 
[2026-09-24 09:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296516096001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 09:06:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7310819976394170368,"note":"Value kept but may cause issues"} 
[2026-09-24 09:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790220784000,"timestamp_ms":1790220784000,"timestamp_seconds":1790220784,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1795180"} 
[2026-09-24 09:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 09:06:14] 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-09-24 09:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191171,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191171,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 09:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 09:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296516096001,"66":28256,"194":206,"9":55808,"24":24,"16":3605341577150464,"44":7310819976394170368},"client_ip":"117.224.253.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,9,24,16,44]} 
[2026-09-24 09:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 09:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 09:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296516096001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:06:14] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-24 09:06:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-24 09:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:06:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":7310819976394170368,"description":"Unknown IO ID 44"} 
[2026-09-24 09:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296516096001,"power":28256,"unknown_194":206,"unknown_9":55808,"ignition":24,"odometer":null,"unknown_44":7310819976394170368}} 
[2026-09-24 09:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":191171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888905,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:06:14] local.INFO: GPS data processed {"connection_id":191171,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:06:14] local.INFO: Acknowledgment sent {"connection_id":191171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:06:29] local.INFO: TCP Data received {"connection_id":190971,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:06:29] local.INFO: Processing buffer {"connection_id":190971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:06:29] local.INFO: IMEI packet received {"connection_id":190971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":190971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:06:34] local.INFO: TCP Data received {"connection_id":190971,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:06:34] local.INFO: Processing buffer {"connection_id":190971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:06:34] local.INFO: IMEI packet received {"connection_id":190971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":190971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:06:35] local.INFO: TCP Data received {"connection_id":190971,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:06:35] local.INFO: Processing buffer {"connection_id":190971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:06:35] local.INFO: Packet analysis {"connection_id":190971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17b"} 
[2026-09-24 09:06:35] local.INFO: Extracted packet for processing {"connection_id":190971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17b"} 
[2026-09-24 09:06:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296476416001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790220912000,"timestamp_ms":1790220912000,"timestamp_seconds":1790220912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17b4580"} 
[2026-09-24 09:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:06:35] 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-09-24 09: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-09-24 09:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296476416001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296476416001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:06:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:06:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296476416001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":190971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:06:35] local.INFO: GPS data processed {"connection_id":190971,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:06:35] local.INFO: Acknowledgment sent {"connection_id":190971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:06:44] local.INFO: TCP Data received {"connection_id":192535,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17c8da0012d0a4840070588b8000d011921..."} 
[2026-09-24 09:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17c8da0012d0a4840070588b8000d011921..."} 
[2026-09-24 09:06:44] local.INFO: Processing buffer {"connection_id":192535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17c8da0012d0a4840070588b8000d011921..."} 
[2026-09-24 09:06:44] local.INFO: Packet analysis {"connection_id":192535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17c"} 
[2026-09-24 09:06:44] local.INFO: Extracted packet for processing {"connection_id":192535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17c"} 
[2026-09-24 09:06:44] local.INFO: GPS Element Parsed {"raw_longitude":755648576,"raw_latitude":117803192,"longitude_deg":75.5648576,"latitude_deg":11.7803192,"altitude":13,"angle":281,"satellites":33,"speed":12,"hex_longitude":"2d0a4840","hex_latitude":"070588b8","is_valid_coordinates":true} 
[2026-09-24 09:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296574720001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33585574807863296,"note":"Value kept but may cause issues"} 
[2026-09-24 09:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":741264381325101056,"note":"Value kept but may cause issues"} 
[2026-09-24 09:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790220996000,"timestamp_ms":1790220996000,"timestamp_seconds":1790220996,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17c8da0"} 
[2026-09-24 09:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-24 09:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296574720001,"66":14428,"177":206,"94":10240,"24":12,"16":33585574807863296,"45":741264381325101056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-24 09:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296574720001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:06:44] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 09:06:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33585574807863296,"km_value":33585574807863.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":741264381325101056,"description":"Unknown IO ID 45"} 
[2026-09-24 09:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296574720001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":741264381325101056}} 
[2026-09-24 09:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":192535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888907,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:06:44] local.INFO: GPS data processed {"connection_id":192535,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:06:44] local.INFO: Acknowledgment sent {"connection_id":192535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:06:46] local.INFO: TCP Data received {"connection_id":191171,"ip":"117.224.253.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d179a388012c65324008bdc4300019010c26..."} 
[2026-09-24 09:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d179a388012c65324008bdc4300019010c26..."} 
[2026-09-24 09:06:46] local.INFO: Processing buffer {"connection_id":191171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d179a388012c65324008bdc4300019010c26..."} 
[2026-09-24 09:06:46] local.INFO: Packet analysis {"connection_id":191171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d179"} 
[2026-09-24 09:06:46] local.INFO: Extracted packet for processing {"connection_id":191171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d179"} 
[2026-09-24 09:06:46] local.INFO: GPS Element Parsed {"raw_longitude":744829504,"raw_latitude":146654256,"longitude_deg":74.4829504,"latitude_deg":14.6654256,"altitude":25,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2c653240","hex_latitude":"08bdc430","is_valid_coordinates":true} 
[2026-09-24 09:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296520704001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 09:06:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7291961152953921536,"note":"Value kept but may cause issues"} 
[2026-09-24 09:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790220805000,"timestamp_ms":1790220805000,"timestamp_seconds":1790220805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d179a388"} 
[2026-09-24 09:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 09:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191171,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191171,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 09:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 09:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296520704001,"66":28104,"194":206,"9":55808,"24":0,"16":3605341577150464,"44":7291961152953921536},"client_ip":"117.224.253.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,9,24,16,44]} 
[2026-09-24 09:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 09:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 09:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296520704001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:06:46] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-24 09:06:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-24 09:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:06:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":7291961152953921536,"description":"Unknown IO ID 44"} 
[2026-09-24 09:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296520704001,"power":28104,"unknown_194":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":7291961152953921536}} 
[2026-09-24 09:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":191171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888908,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:06:46] local.INFO: GPS data processed {"connection_id":191171,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:06:46] local.INFO: Acknowledgment sent {"connection_id":191171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:07:06] local.INFO: TCP Data received {"connection_id":190971,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:07:06] local.INFO: Processing buffer {"connection_id":190971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:07:06] local.INFO: Packet analysis {"connection_id":190971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17b"} 
[2026-09-24 09:07:06] local.INFO: Extracted packet for processing {"connection_id":190971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17b"} 
[2026-09-24 09:07:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296476416001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790220912000,"timestamp_ms":1790220912000,"timestamp_seconds":1790220912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17b4580"} 
[2026-09-24 09:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296476416001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296476416001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:07:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:07:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296476416001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":190971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:07:06] local.INFO: GPS data processed {"connection_id":190971,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:07:06] local.INFO: Acknowledgment sent {"connection_id":190971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:07:08] local.INFO: TCP Data received {"connection_id":192536,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192536,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:07:08] local.INFO: Processing buffer {"connection_id":192536,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:07:08] local.INFO: IMEI packet received {"connection_id":192536,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":192536,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:07:08] local.INFO: TCP Data received {"connection_id":192536,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192536,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:07:08] local.INFO: Processing buffer {"connection_id":192536,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:07:08] local.INFO: IMEI packet received {"connection_id":192536,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":192536,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:07:11] local.INFO: TCP Data received {"connection_id":192536,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192536,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:07:11] local.INFO: Processing buffer {"connection_id":192536,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:07:11] local.INFO: IMEI packet received {"connection_id":192536,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":192536,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:07:12] local.INFO: TCP Data received {"connection_id":192536,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17c9188012d0a4700070588b0000d010821..."} 
[2026-09-24 09:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17c9188012d0a4700070588b0000d010821..."} 
[2026-09-24 09:07:12] local.INFO: Processing buffer {"connection_id":192536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17c9188012d0a4700070588b0000d010821..."} 
[2026-09-24 09:07:12] local.INFO: Packet analysis {"connection_id":192536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17c"} 
[2026-09-24 09:07:12] local.INFO: Extracted packet for processing {"connection_id":192536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17c"} 
[2026-09-24 09:07:12] local.INFO: GPS Element Parsed {"raw_longitude":755648256,"raw_latitude":117803184,"longitude_deg":75.5648256,"latitude_deg":11.7803184,"altitude":13,"angle":264,"satellites":33,"speed":10,"hex_longitude":"2d0a4700","hex_latitude":"070588b0","is_valid_coordinates":true} 
[2026-09-24 09:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296574976001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33585591987732480,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740912537604241408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790220997000,"timestamp_ms":1790220997000,"timestamp_seconds":1790220997,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17c9188"} 
[2026-09-24 09:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-24 09:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192536,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192536,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296574976001,"66":14428,"177":206,"94":10240,"24":10,"16":33585591987732480,"45":740912537604241408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-24 09:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296574976001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:07:12] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 09:07:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33585591987732480,"km_value":33585591987732.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":740912537604241408,"description":"Unknown IO ID 45"} 
[2026-09-24 09:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296574976001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":740912537604241408}} 
[2026-09-24 09:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":192536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888910,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:07:12] local.INFO: GPS data processed {"connection_id":192536,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:07:12] local.INFO: Acknowledgment sent {"connection_id":192536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:07:13] local.INFO: TCP Data received {"connection_id":190972,"ip":"117.224.253.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:07:13] local.INFO: Processing buffer {"connection_id":190972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:07:13] local.INFO: IMEI packet received {"connection_id":190972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 09:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":190972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:07:13] local.INFO: TCP Data received {"connection_id":192536,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17c9570012d0a45c007058888000d00fb21..."} 
[2026-09-24 09:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17c9570012d0a45c007058888000d00fb21..."} 
[2026-09-24 09:07:13] local.INFO: Processing buffer {"connection_id":192536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17c9570012d0a45c007058888000d00fb21..."} 
[2026-09-24 09:07:13] local.INFO: Packet analysis {"connection_id":192536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17c"} 
[2026-09-24 09:07:13] local.INFO: Extracted packet for processing {"connection_id":192536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17c"} 
[2026-09-24 09:07:13] local.INFO: GPS Element Parsed {"raw_longitude":755647936,"raw_latitude":117803144,"longitude_deg":75.5647936,"latitude_deg":11.7803144,"altitude":13,"angle":251,"satellites":33,"speed":10,"hex_longitude":"2d0a45c0","hex_latitude":"07058888","is_valid_coordinates":true} 
[2026-09-24 09:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296575232001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33585604872634368,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740560693883351040,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790220998000,"timestamp_ms":1790220998000,"timestamp_seconds":1790220998,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17c9570"} 
[2026-09-24 09:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-24 09:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192536,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192536,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296575232001,"66":14428,"177":206,"94":10240,"24":10,"16":33585604872634368,"45":740560693883351040},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-24 09:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296575232001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:07:13] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 09:07:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33585604872634368,"km_value":33585604872634.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":740560693883351040,"description":"Unknown IO ID 45"} 
[2026-09-24 09:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296575232001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":740560693883351040}} 
[2026-09-24 09:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":192536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888911,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:07:13] local.INFO: GPS data processed {"connection_id":192536,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:07:13] local.INFO: Acknowledgment sent {"connection_id":192536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:07:16] local.INFO: TCP Data received {"connection_id":190972,"ip":"117.224.253.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:07:16] local.INFO: Processing buffer {"connection_id":190972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:07:16] local.INFO: IMEI packet received {"connection_id":190972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 09:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":190972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:07:17] local.INFO: TCP Data received {"connection_id":190972,"ip":"117.224.253.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d179e5f0012c65058008bdb6e0001f00f22a..."} 
[2026-09-24 09:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d179e5f0012c65058008bdb6e0001f00f22a..."} 
[2026-09-24 09:07:17] local.INFO: Processing buffer {"connection_id":190972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d179e5f0012c65058008bdb6e0001f00f22a..."} 
[2026-09-24 09:07:17] local.INFO: Packet analysis {"connection_id":190972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d179"} 
[2026-09-24 09:07:17] local.INFO: Extracted packet for processing {"connection_id":190972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d179"} 
[2026-09-24 09:07:17] local.INFO: GPS Element Parsed {"raw_longitude":744818048,"raw_latitude":146650848,"longitude_deg":74.4818048,"latitude_deg":14.6650848,"altitude":31,"angle":242,"satellites":42,"speed":14,"hex_longitude":"2c650580","hex_latitude":"08bdb6e0","is_valid_coordinates":true} 
[2026-09-24 09:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296526080001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7291961152953921536,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790220822000,"timestamp_ms":1790220822000,"timestamp_seconds":1790220822,"priority":1,"record_length":96,"hex_timestamp":"000001a0d179e5f0"} 
[2026-09-24 09:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-24 09:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 09:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 09:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296526080001,"66":28137,"194":206,"9":55808,"24":14,"16":3605341577150464,"44":7291961152953921536},"client_ip":"117.224.253.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,9,24,16,44]} 
[2026-09-24 09:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 09:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 09:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296526080001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:07:17] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-24 09:07:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-24 09:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:07:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":7291961152953921536,"description":"Unknown IO ID 44"} 
[2026-09-24 09:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296526080001,"power":28137,"unknown_194":206,"unknown_9":55808,"ignition":14,"odometer":null,"unknown_44":7291961152953921536}} 
[2026-09-24 09:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":190972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888912,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:07:17] local.INFO: GPS data processed {"connection_id":190972,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:07:17] local.INFO: Acknowledgment sent {"connection_id":190972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:07:18] local.INFO: TCP Data received {"connection_id":190972,"ip":"117.224.253.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17a37f8012c65058008bdb6e0001f00f22a..."} 
[2026-09-24 09:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17a37f8012c65058008bdb6e0001f00f22a..."} 
[2026-09-24 09:07:18] local.INFO: Processing buffer {"connection_id":190972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17a37f8012c65058008bdb6e0001f00f22a..."} 
[2026-09-24 09:07:18] local.INFO: Packet analysis {"connection_id":190972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17a"} 
[2026-09-24 09:07:18] local.INFO: Extracted packet for processing {"connection_id":190972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17a"} 
[2026-09-24 09:07:18] local.INFO: GPS Element Parsed {"raw_longitude":744818048,"raw_latitude":146650848,"longitude_deg":74.4818048,"latitude_deg":14.6650848,"altitude":31,"angle":242,"satellites":42,"speed":0,"hex_longitude":"2c650580","hex_latitude":"08bdb6e0","is_valid_coordinates":true} 
[2026-09-24 09:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296530432001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7279365147745247232,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790220843000,"timestamp_ms":1790220843000,"timestamp_seconds":1790220843,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17a37f8"} 
[2026-09-24 09:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:07:18] 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-09-24 09:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-24 09:07:18] 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-09-24 09:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 09:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 09:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296530432001,"66":28104,"194":206,"9":55808,"24":0,"16":3605341577150464,"44":7279365147745247232},"client_ip":"117.224.253.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,9,24,16,44]} 
[2026-09-24 09:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 09:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 09:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296530432001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:07:18] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-24 09:07:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-24 09:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:07:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":7279365147745247232,"description":"Unknown IO ID 44"} 
[2026-09-24 09:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296530432001,"power":28104,"unknown_194":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":7279365147745247232}} 
[2026-09-24 09:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":190972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888913,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:07:18] local.INFO: GPS data processed {"connection_id":190972,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:07:18] local.INFO: Acknowledgment sent {"connection_id":190972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:07:29] local.INFO: TCP Data received {"connection_id":193848,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:07:29] local.INFO: Processing buffer {"connection_id":193848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:07:29] local.INFO: IMEI packet received {"connection_id":193848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":193848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:07:34] local.INFO: TCP Data received {"connection_id":193848,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:07:34] local.INFO: Processing buffer {"connection_id":193848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:07:34] local.INFO: IMEI packet received {"connection_id":193848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":193848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:07:35] local.INFO: TCP Data received {"connection_id":193848,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:07:35] local.INFO: Processing buffer {"connection_id":193848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:07:35] local.INFO: Packet analysis {"connection_id":193848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17b"} 
[2026-09-24 09:07:35] local.INFO: Extracted packet for processing {"connection_id":193848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17b"} 
[2026-09-24 09:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296476416001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790220912000,"timestamp_ms":1790220912000,"timestamp_seconds":1790220912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17b4580"} 
[2026-09-24 09:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:07:35] 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-09-24 09:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296476416001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296476416001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:07:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:07:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296476416001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":193848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:07:35] local.INFO: GPS data processed {"connection_id":193848,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:07:35] local.INFO: Acknowledgment sent {"connection_id":193848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:07:44] local.INFO: TCP Data received {"connection_id":192536,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17d83b8012d0a494007058738000c008324..."} 
[2026-09-24 09:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17d83b8012d0a494007058738000c008324..."} 
[2026-09-24 09:07:44] local.INFO: Processing buffer {"connection_id":192536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17d83b8012d0a494007058738000c008324..."} 
[2026-09-24 09:07:44] local.INFO: Packet analysis {"connection_id":192536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17d"} 
[2026-09-24 09:07:44] local.INFO: Extracted packet for processing {"connection_id":192536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17d"} 
[2026-09-24 09:07:44] local.INFO: GPS Element Parsed {"raw_longitude":755648832,"raw_latitude":117802808,"longitude_deg":75.5648832,"latitude_deg":11.7802808,"altitude":12,"angle":131,"satellites":36,"speed":13,"hex_longitude":"2d0a4940","hex_latitude":"07058738","is_valid_coordinates":true} 
[2026-09-24 09:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296590848001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33586115973742592,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740842168860014592,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790221059000,"timestamp_ms":1790221059000,"timestamp_seconds":1790221059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17d83b8"} 
[2026-09-24 09:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-24 09:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192536,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192536,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296590848001,"66":14461,"177":206,"94":10240,"24":13,"16":33586115973742592,"45":740842168860014592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-24 09:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296590848001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:07:44] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 09:07:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33586115973742592,"km_value":33586115973742.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":740842168860014592,"description":"Unknown IO ID 45"} 
[2026-09-24 09:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296590848001,"power":14461,"unknown_177":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":740842168860014592}} 
[2026-09-24 09:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":192536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888915,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:07:44] local.INFO: GPS data processed {"connection_id":192536,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:07:44] local.INFO: Acknowledgment sent {"connection_id":192536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:07:49] local.INFO: TCP Data received {"connection_id":190972,"ip":"117.224.253.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17a8a00012c64dd4008bd9f10002000ed2a..."} 
[2026-09-24 09:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17a8a00012c64dd4008bd9f10002000ed2a..."} 
[2026-09-24 09:07:49] local.INFO: Processing buffer {"connection_id":190972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17a8a00012c64dd4008bd9f10002000ed2a..."} 
[2026-09-24 09:07:49] local.INFO: Packet analysis {"connection_id":190972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17a"} 
[2026-09-24 09:07:49] local.INFO: Extracted packet for processing {"connection_id":190972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17a"} 
[2026-09-24 09:07:49] local.INFO: GPS Element Parsed {"raw_longitude":744807744,"raw_latitude":146644752,"longitude_deg":74.4807744,"latitude_deg":14.6644752,"altitude":32,"angle":237,"satellites":42,"speed":0,"hex_longitude":"2c64dd40","hex_latitude":"08bd9f10","is_valid_coordinates":true} 
[2026-09-24 09:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296535808001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7279365147745247232,"note":"Value kept but may cause issues"} 
[2026-09-24 09:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790220864000,"timestamp_ms":1790220864000,"timestamp_seconds":1790220864,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17a8a00"} 
[2026-09-24 09:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-24 09:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 09:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 09:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296535808001,"66":28267,"194":206,"9":55808,"24":0,"16":3605341577150464,"44":7279365147745247232},"client_ip":"117.224.253.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,9,24,16,44]} 
[2026-09-24 09:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 09:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 09:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296535808001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:07:49] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-24 09:07:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-24 09:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:07:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":7279365147745247232,"description":"Unknown IO ID 44"} 
[2026-09-24 09:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296535808001,"power":28267,"unknown_194":206,"unknown_9":55808,"ignition":0,"odometer":null,"unknown_44":7279365147745247232}} 
[2026-09-24 09:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":190972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888916,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:07:49] local.INFO: GPS data processed {"connection_id":190972,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:07:49] local.INFO: Acknowledgment sent {"connection_id":190972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:08:06] local.INFO: TCP Data received {"connection_id":191172,"ip":"117.224.253.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:08:06] local.INFO: Processing buffer {"connection_id":191172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:08:06] local.INFO: IMEI packet received {"connection_id":191172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 09:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":191172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:08:06] local.INFO: TCP Data received {"connection_id":190973,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190973,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:08:06] local.INFO: Processing buffer {"connection_id":190973,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:08:06] local.INFO: IMEI packet received {"connection_id":190973,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":190973,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:08:06] local.INFO: TCP Data received {"connection_id":193848,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:08:06] local.INFO: Processing buffer {"connection_id":193848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:08:06] local.INFO: Packet analysis {"connection_id":193848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17b"} 
[2026-09-24 09:08:06] local.INFO: Extracted packet for processing {"connection_id":193848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17b"} 
[2026-09-24 09:08:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296476416001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790220912000,"timestamp_ms":1790220912000,"timestamp_seconds":1790220912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17b4580"} 
[2026-09-24 09:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296476416001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296476416001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:08:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:08:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296476416001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":193848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:08:07] local.INFO: GPS data processed {"connection_id":193848,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:08:07] local.INFO: Acknowledgment sent {"connection_id":193848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:08:07] local.INFO: TCP Data received {"connection_id":191172,"ip":"117.224.253.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:08:07] local.INFO: Processing buffer {"connection_id":191172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:08:07] local.INFO: IMEI packet received {"connection_id":191172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 09:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":191172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:08:08] local.INFO: TCP Data received {"connection_id":190973,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190973,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:08:08] local.INFO: Processing buffer {"connection_id":190973,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:08:08] local.INFO: IMEI packet received {"connection_id":190973,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":190973,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:08:11] local.INFO: TCP Data received {"connection_id":190973,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190973,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:08:11] local.INFO: Processing buffer {"connection_id":190973,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:08:11] local.INFO: IMEI packet received {"connection_id":190973,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":190973,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:08:12] local.INFO: TCP Data received {"connection_id":190973,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17d87a0012d0a49c007058600000c009423..."} 
[2026-09-24 09:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17d87a0012d0a49c007058600000c009423..."} 
[2026-09-24 09:08:12] local.INFO: Processing buffer {"connection_id":190973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17d87a0012d0a49c007058600000c009423..."} 
[2026-09-24 09:08:12] local.INFO: Packet analysis {"connection_id":190973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17d"} 
[2026-09-24 09:08:12] local.INFO: Extracted packet for processing {"connection_id":190973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17d"} 
[2026-09-24 09:08:12] local.INFO: GPS Element Parsed {"raw_longitude":755648960,"raw_latitude":117802496,"longitude_deg":75.564896,"latitude_deg":11.7802496,"altitude":12,"angle":148,"satellites":35,"speed":16,"hex_longitude":"2d0a49c0","hex_latitude":"07058600","is_valid_coordinates":true} 
[2026-09-24 09:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296591104001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33586133153611776,"note":"Value kept but may cause issues"} 
[2026-09-24 09:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":741194012580853760,"note":"Value kept but may cause issues"} 
[2026-09-24 09:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790221060000,"timestamp_ms":1790221060000,"timestamp_seconds":1790221060,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17d87a0"} 
[2026-09-24 09:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:08: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-09-24 09:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-24 09:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190973,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190973,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296591104001,"66":14461,"177":206,"94":10240,"24":16,"16":33586133153611776,"45":741194012580853760},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-24 09:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296591104001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:08:12] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 09:08:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33586133153611776,"km_value":33586133153611.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":741194012580853760,"description":"Unknown IO ID 45"} 
[2026-09-24 09:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296591104001,"power":14461,"unknown_177":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":741194012580853760}} 
[2026-09-24 09:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":190973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888918,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:08:12] local.INFO: GPS data processed {"connection_id":190973,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:08:12] local.INFO: Acknowledgment sent {"connection_id":190973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:08:13] local.INFO: TCP Data received {"connection_id":191172,"ip":"117.224.253.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:08:13] local.INFO: Processing buffer {"connection_id":191172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:08:13] local.INFO: IMEI packet received {"connection_id":191172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 09:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":191172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:08:19] local.INFO: TCP Data received {"connection_id":191172,"ip":"117.224.253.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17b74600100000000000000000000000000..."} 
[2026-09-24 09:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17b74600100000000000000000000000000..."} 
[2026-09-24 09:08:19] local.INFO: Processing buffer {"connection_id":191172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17b74600100000000000000000000000000..."} 
[2026-09-24 09:08:19] local.INFO: Packet analysis {"connection_id":191172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17b"} 
[2026-09-24 09:08:19] local.INFO: Extracted packet for processing {"connection_id":191172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17b"} 
[2026-09-24 09:08:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296541184001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 09:08:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7268035779931082752,"note":"Value kept but may cause issues"} 
[2026-09-24 09:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790220924000,"timestamp_ms":1790220924000,"timestamp_seconds":1790220924,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17b7460"} 
[2026-09-24 09:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:08: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-09-24 09: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":107,"data_length":795,"current_offset":136} 
[2026-09-24 09:08:19] 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-09-24 09: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-09-24 09:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191172,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191172,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 09:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 09:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":191172,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 09:08:19] local.INFO: GPS data processed {"connection_id":191172,"processed":0,"errors":0,"total":1} 
[2026-09-24 09:08:19] local.INFO: Acknowledgment sent {"connection_id":191172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:08:34] local.INFO: TCP Data received {"connection_id":193849,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:08:34] local.INFO: Processing buffer {"connection_id":193849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:08:34] local.INFO: IMEI packet received {"connection_id":193849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":193849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:08:39] local.INFO: TCP Data received {"connection_id":193849,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:08:39] local.INFO: Processing buffer {"connection_id":193849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:08:39] local.INFO: IMEI packet received {"connection_id":193849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":193849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:08:40] local.INFO: TCP Data received {"connection_id":193849,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:08:40] local.INFO: Processing buffer {"connection_id":193849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:08:40] local.INFO: Packet analysis {"connection_id":193849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17b"} 
[2026-09-24 09:08:40] local.INFO: Extracted packet for processing {"connection_id":193849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17b"} 
[2026-09-24 09:08:40] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296476416001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790220912000,"timestamp_ms":1790220912000,"timestamp_seconds":1790220912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17b4580"} 
[2026-09-24 09:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296476416001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296476416001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:08:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:08:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296476416001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":193849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:08:40] local.INFO: GPS data processed {"connection_id":193849,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:08:40] local.INFO: Acknowledgment sent {"connection_id":193849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:08:43] local.INFO: TCP Data received {"connection_id":190973,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17d8b88012d0a4ac007058478000c009f23..."} 
[2026-09-24 09:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17d8b88012d0a4ac007058478000c009f23..."} 
[2026-09-24 09:08:43] local.INFO: Processing buffer {"connection_id":190973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17d8b88012d0a4ac007058478000c009f23..."} 
[2026-09-24 09:08:43] local.INFO: Packet analysis {"connection_id":190973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17d"} 
[2026-09-24 09:08:43] local.INFO: Extracted packet for processing {"connection_id":190973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17d"} 
[2026-09-24 09:08:43] local.INFO: GPS Element Parsed {"raw_longitude":755649216,"raw_latitude":117802104,"longitude_deg":75.5649216,"latitude_deg":11.7802104,"altitude":12,"angle":159,"satellites":35,"speed":18,"hex_longitude":"2d0a4ac0","hex_latitude":"07058478","is_valid_coordinates":true} 
[2026-09-24 09:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296591360001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33586154628448256,"note":"Value kept but may cause issues"} 
[2026-09-24 09:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":741334750069129216,"note":"Value kept but may cause issues"} 
[2026-09-24 09:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790221061000,"timestamp_ms":1790221061000,"timestamp_seconds":1790221061,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17d8b88"} 
[2026-09-24 09:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-24 09:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190973,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190973,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296591360001,"66":14428,"177":206,"94":10240,"24":18,"16":33586154628448256,"45":741334750069129216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-24 09:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296591360001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:08:43] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 09:08:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33586154628448256,"km_value":33586154628448.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":741334750069129216,"description":"Unknown IO ID 45"} 
[2026-09-24 09:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296591360001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":741334750069129216}} 
[2026-09-24 09:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":190973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888920,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:08:44] local.INFO: GPS data processed {"connection_id":190973,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:08:44] local.INFO: Acknowledgment sent {"connection_id":190973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:08:45] local.INFO: TCP Data received {"connection_id":193849,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:08:45] local.INFO: Processing buffer {"connection_id":193849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:08:45] local.INFO: Packet analysis {"connection_id":193849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17b"} 
[2026-09-24 09:08:45] local.INFO: Extracted packet for processing {"connection_id":193849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17b"} 
[2026-09-24 09:08:45] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296476416001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790220912000,"timestamp_ms":1790220912000,"timestamp_seconds":1790220912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17b4580"} 
[2026-09-24 09:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:08:45] 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-09-24 09:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296476416001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296476416001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:08:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:08:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296476416001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":193849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:08:45] local.INFO: GPS data processed {"connection_id":193849,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:08:45] local.INFO: Acknowledgment sent {"connection_id":193849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:08:51] local.INFO: TCP Data received {"connection_id":191172,"ip":"117.224.253.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17d7800012c63d0c008bd49d0002100ed2d..."} 
[2026-09-24 09:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17d7800012c63d0c008bd49d0002100ed2d..."} 
[2026-09-24 09:08:51] local.INFO: Processing buffer {"connection_id":191172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17d7800012c63d0c008bd49d0002100ed2d..."} 
[2026-09-24 09:08:51] local.INFO: Packet analysis {"connection_id":191172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17d"} 
[2026-09-24 09:08:51] local.INFO: Extracted packet for processing {"connection_id":191172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17d"} 
[2026-09-24 09:08:51] local.INFO: GPS Element Parsed {"raw_longitude":744739008,"raw_latitude":146622928,"longitude_deg":74.4739008,"latitude_deg":14.6622928,"altitude":33,"angle":237,"satellites":45,"speed":25,"hex_longitude":"2c63d0c0","hex_latitude":"08bd49d0","is_valid_coordinates":true} 
[2026-09-24 09:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 09:08:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,195,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 09:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790221056000,"timestamp_ms":1790221056000,"timestamp_seconds":1790221056,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17d7800"} 
[2026-09-24 09:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 09:08:51] 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-09-24 09:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191172,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191172,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.253.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 09:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 09:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28137,"195":206,"9":55808,"24":25,"16":3605341577150464},"client_ip":"117.224.253.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,9,24,16]} 
[2026-09-24 09:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 09:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 09:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 09:08:51] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-24 09:08:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":55808,"description":"Unknown IO ID 9"} 
[2026-09-24 09:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:08:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28137,"unknown_195":206,"unknown_9":55808,"ignition":25,"odometer":null}} 
[2026-09-24 09:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":191172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888922,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:08:52] local.INFO: GPS data processed {"connection_id":191172,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:08:52] local.INFO: Acknowledgment sent {"connection_id":191172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:09:13] local.INFO: TCP Data received {"connection_id":192537,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192537,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:09:13] local.INFO: Processing buffer {"connection_id":192537,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:09:13] local.INFO: IMEI packet received {"connection_id":192537,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":192537,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:09:13] local.INFO: TCP Data received {"connection_id":192538,"ip":"117.224.253.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:09:13] local.INFO: Processing buffer {"connection_id":192538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:09:13] local.INFO: IMEI packet received {"connection_id":192538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 09:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":192538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:09:16] local.INFO: TCP Data received {"connection_id":192538,"ip":"117.224.253.37","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-24 09:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192538,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-24 09:09:16] local.INFO: Processing buffer {"connection_id":192538,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-24 09:09:16] local.INFO: IMEI packet received {"connection_id":192538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 09:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":192538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:09:17] local.INFO: TCP Data received {"connection_id":192537,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192537,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:09:17] local.INFO: Processing buffer {"connection_id":192537,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:09:17] local.INFO: IMEI packet received {"connection_id":192537,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":192537,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:09:18] local.INFO: TCP Data received {"connection_id":192537,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17e56a8012d0a434007054908000700ab23..."} 
[2026-09-24 09:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17e56a8012d0a434007054908000700ab23..."} 
[2026-09-24 09:09:18] local.INFO: Processing buffer {"connection_id":192537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17e56a8012d0a434007054908000700ab23..."} 
[2026-09-24 09:09:18] local.INFO: Packet analysis {"connection_id":192537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17e"} 
[2026-09-24 09:09:18] local.INFO: Extracted packet for processing {"connection_id":192537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17e"} 
[2026-09-24 09:09:18] local.INFO: GPS Element Parsed {"raw_longitude":755647296,"raw_latitude":117786888,"longitude_deg":75.5647296,"latitude_deg":11.7786888,"altitude":7,"angle":171,"satellites":35,"speed":10,"hex_longitude":"2d0a4340","hex_latitude":"07054908","is_valid_coordinates":true} 
[2026-09-24 09:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296604672001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33587060866547712,"note":"Value kept but may cause issues"} 
[2026-09-24 09:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":739575531460757504,"note":"Value kept but may cause issues"} 
[2026-09-24 09:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790221113000,"timestamp_ms":1790221113000,"timestamp_seconds":1790221113,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17e56a8"} 
[2026-09-24 09:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:09:18] 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-09-24 09:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-24 09:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":192537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":192537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":192537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296604672001,"66":14352,"177":206,"94":10240,"24":10,"16":33587060866547712,"45":739575531460757504},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-24 09:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296604672001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:09:18] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 09:09:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33587060866547712,"km_value":33587060866547.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":739575531460757504,"description":"Unknown IO ID 45"} 
[2026-09-24 09:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296604672001,"power":14352,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":739575531460757504}} 
[2026-09-24 09:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":192537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888923,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:09:18] local.INFO: GPS data processed {"connection_id":192537,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:09:18] local.INFO: Acknowledgment sent {"connection_id":192537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:09:29] local.INFO: TCP Data received {"connection_id":191173,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:09:29] local.INFO: Processing buffer {"connection_id":191173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:09:29] local.INFO: IMEI packet received {"connection_id":191173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":191173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:09:34] local.INFO: TCP Data received {"connection_id":191173,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:09:34] local.INFO: Processing buffer {"connection_id":191173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:09:34] local.INFO: IMEI packet received {"connection_id":191173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":191173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:09:36] local.INFO: TCP Data received {"connection_id":191173,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:09:36] local.INFO: Processing buffer {"connection_id":191173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:09:36] local.INFO: Packet analysis {"connection_id":191173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17b"} 
[2026-09-24 09:09:36] local.INFO: Extracted packet for processing {"connection_id":191173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17b"} 
[2026-09-24 09:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296476416001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790220912000,"timestamp_ms":1790220912000,"timestamp_seconds":1790220912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17b4580"} 
[2026-09-24 09:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296476416001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296476416001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:09:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:09:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296476416001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":191173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:09:36] local.INFO: GPS data processed {"connection_id":191173,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:09:36] local.INFO: Acknowledgment sent {"connection_id":191173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:09:50] local.INFO: TCP Data received {"connection_id":192537,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17e8d58012d0a4680070529a0000600b822..."} 
[2026-09-24 09:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17e8d58012d0a4680070529a0000600b822..."} 
[2026-09-24 09:09:50] local.INFO: Processing buffer {"connection_id":192537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17e8d58012d0a4680070529a0000600b822..."} 
[2026-09-24 09:09:50] local.INFO: Packet analysis {"connection_id":192537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17e"} 
[2026-09-24 09:09:50] local.INFO: Extracted packet for processing {"connection_id":192537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17e"} 
[2026-09-24 09:09:50] local.INFO: GPS Element Parsed {"raw_longitude":755648128,"raw_latitude":117778848,"longitude_deg":75.5648128,"latitude_deg":11.7778848,"altitude":6,"angle":184,"satellites":34,"speed":22,"hex_longitude":"2d0a4680","hex_latitude":"070529a0","is_valid_coordinates":true} 
[2026-09-24 09:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296604928001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33587456003538944,"note":"Value kept but may cause issues"} 
[2026-09-24 09:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":739505162716514304,"note":"Value kept but may cause issues"} 
[2026-09-24 09:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790221127000,"timestamp_ms":1790221127000,"timestamp_seconds":1790221127,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17e8d58"} 
[2026-09-24 09:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:09:50] 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-09-24 09:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-24 09:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143808,"note":"Value kept but may cause issues"} 
[2026-09-24 09:09:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 09:09:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3514691864,"note":"Value kept but may cause issues"} 
[2026-09-24 09:09:50] local.WARNING: Large IO value detected {"io_id":10,"raw_value":5872701634187886603,"note":"Value kept but may cause issues"} 
[2026-09-24 09:09:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 09:09:50] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504112116858880,"note":"Value kept but may cause issues"} 
[2026-09-24 09:09:50] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638057839097777,"note":"Value kept but may cause issues"} 
[2026-09-24 09:09:50] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5836929004162318592,"note":"Value kept but may cause issues"} 
[2026-09-24 09:09:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2008088782,"corrected_to":0} 
[2026-09-24 09:09:50] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3355520266,"note":"Value kept but may cause issues"} 
[2026-09-24 09:09:50] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2147943763,"note":"Value kept but may cause issues"} 
[2026-09-24 09:09:50] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-24 09:09:50] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3096955475463424,"note":"Value kept but may cause issues"} 
[2026-09-24 09:09:50] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,177,94,24,241,157,16,83,160,82,45,128,74,7,35,10,66,78,192,47,1,240,38,227,209,5,4,113,205,11,39,84,48,239,56,2,119,206,216],"length":628,"final_offset":758,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2008088782,"validated":0}]} 
[2026-09-24 09:09:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504591325078355968,"timestamp_seconds":504591325078355.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 09:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296604928001,"66":14450,"177":206,"94":10240,"24":22,"16":33587456003538944,"45":739505162716514304},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-24 09:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296604928001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:09:50] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 09:09:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33587456003538944,"km_value":33587456003538.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":739505162716514304,"description":"Unknown IO ID 45"} 
[2026-09-24 09:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296604928001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":739505162716514304}} 
[2026-09-24 09:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":192537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888925,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:09:51] local.INFO: GPS data processed {"connection_id":192537,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:09:51] local.INFO: Acknowledgment sent {"connection_id":192537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:10:06] local.INFO: TCP Data received {"connection_id":193850,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193850,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:10:06] local.INFO: Processing buffer {"connection_id":193850,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:10:06] local.INFO: IMEI packet received {"connection_id":193850,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":193850,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:10:07] local.INFO: TCP Data received {"connection_id":191173,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:10:07] local.INFO: Processing buffer {"connection_id":191173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:10:07] local.INFO: Packet analysis {"connection_id":191173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17b"} 
[2026-09-24 09:10:07] local.INFO: Extracted packet for processing {"connection_id":191173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17b"} 
[2026-09-24 09:10:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296476416001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790220912000,"timestamp_ms":1790220912000,"timestamp_seconds":1790220912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17b4580"} 
[2026-09-24 09:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296476416001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296476416001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:10:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:10:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296476416001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":191173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:10:07] local.INFO: GPS data processed {"connection_id":191173,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:10:07] local.INFO: Acknowledgment sent {"connection_id":191173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:10:07] local.INFO: TCP Data received {"connection_id":193850,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193850,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:10:07] local.INFO: Processing buffer {"connection_id":193850,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:10:07] local.INFO: IMEI packet received {"connection_id":193850,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":193850,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:10:09] local.INFO: TCP Data received {"connection_id":193850,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193850,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:10:09] local.INFO: Processing buffer {"connection_id":193850,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:10:09] local.INFO: IMEI packet received {"connection_id":193850,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":193850,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:10:10] local.INFO: TCP Data received {"connection_id":193850,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193850,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:10:10] local.INFO: Processing buffer {"connection_id":193850,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:10:10] local.INFO: IMEI packet received {"connection_id":193850,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":193850,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:10:29] local.INFO: TCP Data received {"connection_id":192539,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:10:29] local.INFO: Processing buffer {"connection_id":192539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:10:29] local.INFO: IMEI packet received {"connection_id":192539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":192539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:10:35] local.INFO: TCP Data received {"connection_id":192539,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:10:35] local.INFO: Processing buffer {"connection_id":192539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:10:35] local.INFO: IMEI packet received {"connection_id":192539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":192539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:10:36] local.INFO: TCP Data received {"connection_id":192539,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:10:36] local.INFO: Processing buffer {"connection_id":192539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17b4580012d34c24006aa49300009013828..."} 
[2026-09-24 09:10:36] local.INFO: Packet analysis {"connection_id":192539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17b"} 
[2026-09-24 09:10:36] local.INFO: Extracted packet for processing {"connection_id":192539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17b"} 
[2026-09-24 09:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296476416001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790220912000,"timestamp_ms":1790220912000,"timestamp_seconds":1790220912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17b4580"} 
[2026-09-24 09:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296476416001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296476416001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:10:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296476416001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":192539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:10:36] local.INFO: GPS data processed {"connection_id":192539,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:10:36] local.INFO: Acknowledgment sent {"connection_id":192539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:11:07] local.INFO: TCP Data received {"connection_id":192539,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:11:07] local.INFO: Processing buffer {"connection_id":192539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:11:07] local.INFO: Packet analysis {"connection_id":192539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17f"} 
[2026-09-24 09:11:07] local.INFO: Extracted packet for processing {"connection_id":192539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17f"} 
[2026-09-24 09:11:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296553472001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790221213000,"timestamp_ms":1790221213000,"timestamp_seconds":1790221213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17fdd48"} 
[2026-09-24 09:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296553472001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296553472001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:11:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:11:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296553472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":192539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:11:07] local.INFO: GPS data processed {"connection_id":192539,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:11:07] local.INFO: Acknowledgment sent {"connection_id":192539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:11:29] local.INFO: TCP Data received {"connection_id":193852,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:11:29] local.INFO: Processing buffer {"connection_id":193852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:11:29] local.INFO: IMEI packet received {"connection_id":193852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":193852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:11:34] local.INFO: TCP Data received {"connection_id":193852,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:11:34] local.INFO: Processing buffer {"connection_id":193852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:11:34] local.INFO: IMEI packet received {"connection_id":193852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":193852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:11:35] local.INFO: TCP Data received {"connection_id":193852,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:11:35] local.INFO: Processing buffer {"connection_id":193852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:11:35] local.INFO: Packet analysis {"connection_id":193852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17f"} 
[2026-09-24 09:11:35] local.INFO: Extracted packet for processing {"connection_id":193852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17f"} 
[2026-09-24 09:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296553472001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790221213000,"timestamp_ms":1790221213000,"timestamp_seconds":1790221213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17fdd48"} 
[2026-09-24 09:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296553472001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296553472001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:11:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:11:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296553472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":193852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:11:35] local.INFO: GPS data processed {"connection_id":193852,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:11:35] local.INFO: Acknowledgment sent {"connection_id":193852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:12:06] local.INFO: TCP Data received {"connection_id":193852,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:12:06] local.INFO: Processing buffer {"connection_id":193852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:12:06] local.INFO: Packet analysis {"connection_id":193852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17f"} 
[2026-09-24 09:12:06] local.INFO: Extracted packet for processing {"connection_id":193852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17f"} 
[2026-09-24 09:12:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296553472001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790221213000,"timestamp_ms":1790221213000,"timestamp_seconds":1790221213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17fdd48"} 
[2026-09-24 09:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296553472001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296553472001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:12:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:12:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296553472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":193852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:12:06] local.INFO: GPS data processed {"connection_id":193852,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:12:06] local.INFO: Acknowledgment sent {"connection_id":193852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:12:29] local.INFO: TCP Data received {"connection_id":193853,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:12:29] local.INFO: Processing buffer {"connection_id":193853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:12:29] local.INFO: IMEI packet received {"connection_id":193853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":193853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:12:34] local.INFO: TCP Data received {"connection_id":193853,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:12:34] local.INFO: Processing buffer {"connection_id":193853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:12:34] local.INFO: IMEI packet received {"connection_id":193853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":193853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:12:35] local.INFO: TCP Data received {"connection_id":193853,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:12:35] local.INFO: Processing buffer {"connection_id":193853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:12:35] local.INFO: Packet analysis {"connection_id":193853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17f"} 
[2026-09-24 09:12:35] local.INFO: Extracted packet for processing {"connection_id":193853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17f"} 
[2026-09-24 09:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296553472001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790221213000,"timestamp_ms":1790221213000,"timestamp_seconds":1790221213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17fdd48"} 
[2026-09-24 09:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296553472001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296553472001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:12:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:12:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296553472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":193853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:12:35] local.INFO: GPS data processed {"connection_id":193853,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:12:35] local.INFO: Acknowledgment sent {"connection_id":193853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:13:06] local.INFO: TCP Data received {"connection_id":193853,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:13:06] local.INFO: Processing buffer {"connection_id":193853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:13:06] local.INFO: Packet analysis {"connection_id":193853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17f"} 
[2026-09-24 09:13:06] local.INFO: Extracted packet for processing {"connection_id":193853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17f"} 
[2026-09-24 09:13:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296553472001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790221213000,"timestamp_ms":1790221213000,"timestamp_seconds":1790221213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17fdd48"} 
[2026-09-24 09:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296553472001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296553472001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:13:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:13:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296553472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":193853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:13:06] local.INFO: GPS data processed {"connection_id":193853,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:13:06] local.INFO: Acknowledgment sent {"connection_id":193853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:13:29] local.INFO: TCP Data received {"connection_id":191174,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:13:29] local.INFO: Processing buffer {"connection_id":191174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:13:29] local.INFO: IMEI packet received {"connection_id":191174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":191174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:13:34] local.INFO: TCP Data received {"connection_id":191174,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:13:34] local.INFO: Processing buffer {"connection_id":191174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:13:34] local.INFO: IMEI packet received {"connection_id":191174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":191174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:13:36] local.INFO: TCP Data received {"connection_id":191174,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:13:36] local.INFO: Processing buffer {"connection_id":191174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:13:36] local.INFO: Packet analysis {"connection_id":191174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17f"} 
[2026-09-24 09:13:36] local.INFO: Extracted packet for processing {"connection_id":191174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17f"} 
[2026-09-24 09:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296553472001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790221213000,"timestamp_ms":1790221213000,"timestamp_seconds":1790221213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17fdd48"} 
[2026-09-24 09:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296553472001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296553472001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:13:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:13:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296553472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":191174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:13:36] local.INFO: GPS data processed {"connection_id":191174,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:13:36] local.INFO: Acknowledgment sent {"connection_id":191174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:14:07] local.INFO: TCP Data received {"connection_id":191174,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:14:07] local.INFO: Processing buffer {"connection_id":191174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:14:07] local.INFO: Packet analysis {"connection_id":191174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17f"} 
[2026-09-24 09:14:07] local.INFO: Extracted packet for processing {"connection_id":191174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17f"} 
[2026-09-24 09:14:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296553472001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790221213000,"timestamp_ms":1790221213000,"timestamp_seconds":1790221213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17fdd48"} 
[2026-09-24 09:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296553472001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296553472001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:14:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:14:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296553472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":191174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:14:07] local.INFO: GPS data processed {"connection_id":191174,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:14:07] local.INFO: Acknowledgment sent {"connection_id":191174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:14:34] local.INFO: TCP Data received {"connection_id":193856,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:14:34] local.INFO: Processing buffer {"connection_id":193856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:14:34] local.INFO: IMEI packet received {"connection_id":193856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":193856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:14:39] local.INFO: TCP Data received {"connection_id":193856,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:14:39] local.INFO: Processing buffer {"connection_id":193856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:14:39] local.INFO: IMEI packet received {"connection_id":193856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":193856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:14:40] local.INFO: TCP Data received {"connection_id":193856,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:14:40] local.INFO: Processing buffer {"connection_id":193856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:14:40] local.INFO: Packet analysis {"connection_id":193856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17f"} 
[2026-09-24 09:14:40] local.INFO: Extracted packet for processing {"connection_id":193856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17f"} 
[2026-09-24 09:14:40] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296553472001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790221213000,"timestamp_ms":1790221213000,"timestamp_seconds":1790221213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17fdd48"} 
[2026-09-24 09:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296553472001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296553472001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:14:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:14:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296553472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":193856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:14:40] local.INFO: GPS data processed {"connection_id":193856,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:14:40] local.INFO: Acknowledgment sent {"connection_id":193856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:14:44] local.INFO: TCP Data received {"connection_id":193856,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:14:44] local.INFO: Processing buffer {"connection_id":193856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:14:44] local.INFO: Packet analysis {"connection_id":193856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17f"} 
[2026-09-24 09:14:44] local.INFO: Extracted packet for processing {"connection_id":193856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17f"} 
[2026-09-24 09:14:44] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296553472001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790221213000,"timestamp_ms":1790221213000,"timestamp_seconds":1790221213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17fdd48"} 
[2026-09-24 09:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296553472001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296553472001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:14:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:14:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296553472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":193856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:14:44] local.INFO: GPS data processed {"connection_id":193856,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:14:44] local.INFO: Acknowledgment sent {"connection_id":193856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:15:11] local.INFO: TCP Data received {"connection_id":192540,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192540,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:15:11] local.INFO: Processing buffer {"connection_id":192540,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:15:11] local.INFO: IMEI packet received {"connection_id":192540,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":192540,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:15:12] local.INFO: TCP Data received {"connection_id":192540,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1841f20012d0a97800704e220001c001e24..."} 
[2026-09-24 09:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1841f20012d0a97800704e220001c001e24..."} 
[2026-09-24 09:15:12] local.INFO: Processing buffer {"connection_id":192540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1841f20012d0a97800704e220001c001e24..."} 
[2026-09-24 09:15:12] local.INFO: Packet analysis {"connection_id":192540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:15:12] local.INFO: Extracted packet for processing {"connection_id":192540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:15:12] local.INFO: GPS Element Parsed {"raw_longitude":755668864,"raw_latitude":117760544,"longitude_deg":75.5668864,"latitude_deg":11.7760544,"altitude":28,"angle":30,"satellites":36,"speed":8,"hex_longitude":"2d0a9780","hex_latitude":"0704e220","is_valid_coordinates":true} 
[2026-09-24 09:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296701696001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33594396670689280,"note":"Value kept but may cause issues"} 
[2026-09-24 09:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":763078692009238528,"note":"Value kept but may cause issues"} 
[2026-09-24 09:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790221492000,"timestamp_ms":1790221492000,"timestamp_seconds":1790221492,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1841f20"} 
[2026-09-24 09:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-24 09:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192540,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192540,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296701696001,"66":14374,"177":206,"94":10240,"24":8,"16":33594396670689280,"45":763078692009238528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-24 09:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296701696001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:15:12] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 09:15:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33594396670689280,"km_value":33594396670689.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":763078692009238528,"description":"Unknown IO ID 45"} 
[2026-09-24 09:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296701696001,"power":14374,"unknown_177":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":763078692009238528}} 
[2026-09-24 09:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":192540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888937,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:15:12] local.INFO: GPS data processed {"connection_id":192540,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:15:12] local.INFO: Acknowledgment sent {"connection_id":192540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:15:29] local.INFO: TCP Data received {"connection_id":190975,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:15:29] local.INFO: Processing buffer {"connection_id":190975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:15:29] local.INFO: IMEI packet received {"connection_id":190975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":190975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:15:34] local.INFO: TCP Data received {"connection_id":190975,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:15:34] local.INFO: Processing buffer {"connection_id":190975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:15:34] local.INFO: IMEI packet received {"connection_id":190975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":190975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:15:35] local.INFO: TCP Data received {"connection_id":190975,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:15:35] local.INFO: Processing buffer {"connection_id":190975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d17fdd48012d34c24006aa4930000901382a..."} 
[2026-09-24 09:15:35] local.INFO: Packet analysis {"connection_id":190975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d17f"} 
[2026-09-24 09:15:35] local.INFO: Extracted packet for processing {"connection_id":190975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d17f"} 
[2026-09-24 09:15:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296553472001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790221213000,"timestamp_ms":1790221213000,"timestamp_seconds":1790221213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d17fdd48"} 
[2026-09-24 09:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296553472001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296553472001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:15:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:15:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296553472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":190975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:15:35] local.INFO: GPS data processed {"connection_id":190975,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:15:35] local.INFO: Acknowledgment sent {"connection_id":190975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:15:48] local.INFO: TCP Data received {"connection_id":192540,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1842308012d0a97c00704e320001d001223..."} 
[2026-09-24 09:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1842308012d0a97c00704e320001d001223..."} 
[2026-09-24 09:15:48] local.INFO: Processing buffer {"connection_id":192540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1842308012d0a97c00704e320001d001223..."} 
[2026-09-24 09:15:48] local.INFO: Packet analysis {"connection_id":192540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:15:48] local.INFO: Extracted packet for processing {"connection_id":192540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:15:48] local.INFO: GPS Element Parsed {"raw_longitude":755668928,"raw_latitude":117760800,"longitude_deg":75.5668928,"latitude_deg":11.77608,"altitude":29,"angle":18,"satellites":35,"speed":11,"hex_longitude":"2d0a97c0","hex_latitude":"0704e320","is_valid_coordinates":true} 
[2026-09-24 09:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296701952001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33594409555591168,"note":"Value kept but may cause issues"} 
[2026-09-24 09:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":763219429497643008,"note":"Value kept but may cause issues"} 
[2026-09-24 09:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790221493000,"timestamp_ms":1790221493000,"timestamp_seconds":1790221493,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1842308"} 
[2026-09-24 09:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-24 09:15:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192540,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192540,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296701952001,"66":14450,"177":206,"94":10240,"24":11,"16":33594409555591168,"45":763219429497643008},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-24 09:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296701952001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:15:48] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 09:15:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33594409555591168,"km_value":33594409555591.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":763219429497643008,"description":"Unknown IO ID 45"} 
[2026-09-24 09:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296701952001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":763219429497643008}} 
[2026-09-24 09:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":192540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888939,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:15:48] local.INFO: GPS data processed {"connection_id":192540,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:15:48] local.INFO: Acknowledgment sent {"connection_id":192540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:16:07] local.INFO: TCP Data received {"connection_id":190975,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:16:07] local.INFO: Processing buffer {"connection_id":190975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:16:07] local.INFO: Packet analysis {"connection_id":190975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:16:07] local.INFO: Extracted packet for processing {"connection_id":190975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:16:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296630528001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790221514000,"timestamp_ms":1790221514000,"timestamp_seconds":1790221514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1847510"} 
[2026-09-24 09:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 09:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296630528001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296630528001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:16:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:16:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296630528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":190975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:16:07] local.INFO: GPS data processed {"connection_id":190975,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:16:07] local.INFO: Acknowledgment sent {"connection_id":190975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:16:11] local.INFO: TCP Data received {"connection_id":191175,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191175,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:16:11] local.INFO: Processing buffer {"connection_id":191175,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:16:11] local.INFO: IMEI packet received {"connection_id":191175,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":191175,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:16:15] local.INFO: TCP Data received {"connection_id":191175,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191175,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:16:15] local.INFO: Processing buffer {"connection_id":191175,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:16:15] local.INFO: IMEI packet received {"connection_id":191175,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":191175,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:16:16] local.INFO: TCP Data received {"connection_id":191175,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191175,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:16:16] local.INFO: Processing buffer {"connection_id":191175,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:16:16] local.INFO: IMEI packet received {"connection_id":191175,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":191175,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:16:17] local.INFO: TCP Data received {"connection_id":191175,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d184fdc8012d0b56c00704f2480011006522..."} 
[2026-09-24 09:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d184fdc8012d0b56c00704f2480011006522..."} 
[2026-09-24 09:16:17] local.INFO: Processing buffer {"connection_id":191175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d184fdc8012d0b56c00704f2480011006522..."} 
[2026-09-24 09:16:17] local.INFO: Packet analysis {"connection_id":191175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:16:17] local.INFO: Extracted packet for processing {"connection_id":191175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:16:17] local.INFO: GPS Element Parsed {"raw_longitude":755717824,"raw_latitude":117764680,"longitude_deg":75.5717824,"latitude_deg":11.776468,"altitude":17,"angle":101,"satellites":34,"speed":22,"hex_longitude":"2d0b56c0","hex_latitude":"0704f248","is_valid_coordinates":true} 
[2026-09-24 09:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296713728001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33596879161786368,"note":"Value kept but may cause issues"} 
[2026-09-24 09:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":806988788377552896,"note":"Value kept but may cause issues"} 
[2026-09-24 09:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790221549000,"timestamp_ms":1790221549000,"timestamp_seconds":1790221549,"priority":1,"record_length":96,"hex_timestamp":"000001a0d184fdc8"} 
[2026-09-24 09:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-24 09:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296713728001,"66":13798,"177":206,"94":10240,"24":22,"16":33596879161786368,"45":806988788377552896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-24 09:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296713728001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:16:17] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 09:16:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33596879161786368,"km_value":33596879161786.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":806988788377552896,"description":"Unknown IO ID 45"} 
[2026-09-24 09:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296713728001,"power":13798,"unknown_177":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":806988788377552896}} 
[2026-09-24 09:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":191175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888941,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:16:18] local.INFO: GPS data processed {"connection_id":191175,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:16:18] local.INFO: Acknowledgment sent {"connection_id":191175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:16:29] local.INFO: TCP Data received {"connection_id":193857,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:16:29] local.INFO: Processing buffer {"connection_id":193857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:16:29] local.INFO: IMEI packet received {"connection_id":193857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":193857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:16:34] local.INFO: TCP Data received {"connection_id":193857,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:16:34] local.INFO: Processing buffer {"connection_id":193857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:16:34] local.INFO: IMEI packet received {"connection_id":193857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":193857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:16:35] local.INFO: TCP Data received {"connection_id":193857,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:16:35] local.INFO: Processing buffer {"connection_id":193857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:16:35] local.INFO: Packet analysis {"connection_id":193857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:16:35] local.INFO: Extracted packet for processing {"connection_id":193857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296630528001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790221514000,"timestamp_ms":1790221514000,"timestamp_seconds":1790221514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1847510"} 
[2026-09-24 09:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 09:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296630528001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296630528001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:16:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:16:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296630528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":193857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:16:35] local.INFO: GPS data processed {"connection_id":193857,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:16:35] local.INFO: Acknowledgment sent {"connection_id":193857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:16:49] local.INFO: TCP Data received {"connection_id":191175,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1850980012d0b5b000704f1800011005622..."} 
[2026-09-24 09:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1850980012d0b5b000704f1800011005622..."} 
[2026-09-24 09:16:49] local.INFO: Processing buffer {"connection_id":191175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1850980012d0b5b000704f1800011005622..."} 
[2026-09-24 09:16:49] local.INFO: Packet analysis {"connection_id":191175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d185"} 
[2026-09-24 09:16:49] local.INFO: Extracted packet for processing {"connection_id":191175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d185"} 
[2026-09-24 09:16:49] local.INFO: GPS Element Parsed {"raw_longitude":755718912,"raw_latitude":117764480,"longitude_deg":75.5718912,"latitude_deg":11.776448,"altitude":17,"angle":86,"satellites":34,"speed":8,"hex_longitude":"2d0b5b00","hex_latitude":"0704f180","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296716544001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33596930701393920,"note":"Value kept but may cause issues"} 
[2026-09-24 09:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":817051518794614784,"note":"Value kept but may cause issues"} 
[2026-09-24 09:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790221552000,"timestamp_ms":1790221552000,"timestamp_seconds":1790221552,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1850980"} 
[2026-09-24 09:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-24 09:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296716544001,"66":14515,"177":206,"94":10240,"24":8,"16":33596930701393920,"45":817051518794614784},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-24 09:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296716544001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:16:49] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 09:16:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33596930701393920,"km_value":33596930701393.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":817051518794614784,"description":"Unknown IO ID 45"} 
[2026-09-24 09:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296716544001,"power":14515,"unknown_177":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":817051518794614784}} 
[2026-09-24 09:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":191175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888943,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:16:49] local.INFO: GPS data processed {"connection_id":191175,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:16:49] local.INFO: Acknowledgment sent {"connection_id":191175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:17:06] local.INFO: TCP Data received {"connection_id":193857,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:17:06] local.INFO: Processing buffer {"connection_id":193857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:17:06] local.INFO: Packet analysis {"connection_id":193857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:17:06] local.INFO: Extracted packet for processing {"connection_id":193857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:17:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296630528001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790221514000,"timestamp_ms":1790221514000,"timestamp_seconds":1790221514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1847510"} 
[2026-09-24 09:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 09:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296630528001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296630528001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:17:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:17:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296630528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":193857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:17:06] local.INFO: GPS data processed {"connection_id":193857,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:17:06] local.INFO: Acknowledgment sent {"connection_id":193857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:17:20] local.INFO: TCP Data received {"connection_id":191176,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191176,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:17:20] local.INFO: Processing buffer {"connection_id":191176,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:17:20] local.INFO: IMEI packet received {"connection_id":191176,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":191176,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:17:21] local.INFO: TCP Data received {"connection_id":191176,"ip":"42.109.136.2","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-24 09:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191176,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-24 09:17:21] local.INFO: Processing buffer {"connection_id":191176,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-24 09:17:21] local.INFO: IMEI packet received {"connection_id":191176,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":191176,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:17:22] local.INFO: TCP Data received {"connection_id":191176,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d185e440012d0b674007050c700018006120..."} 
[2026-09-24 09:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d185e440012d0b674007050c700018006120..."} 
[2026-09-24 09:17:22] local.INFO: Processing buffer {"connection_id":191176,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a0d1..."} 
[2026-09-24 09:17:22] local.INFO: IMEI packet received {"connection_id":191176,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":191176,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:17:23] local.INFO: TCP Data received {"connection_id":191176,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d18622c0012d0b820007050a58001d005123..."} 
[2026-09-24 09:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d18622c0012d0b820007050a58001d005123..."} 
[2026-09-24 09:17:23] local.INFO: Processing buffer {"connection_id":191176,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0d185e440012d0b674007050c700018006120..."} 
[2026-09-24 09:17:23] local.INFO: Packet analysis {"connection_id":191176,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d185"} 
[2026-09-24 09:17:23] local.INFO: Extracted packet for processing {"connection_id":191176,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d185"} 
[2026-09-24 09:17:23] local.INFO: GPS Element Parsed {"raw_longitude":755722048,"raw_latitude":117771376,"longitude_deg":75.5722048,"latitude_deg":11.7771376,"altitude":24,"angle":97,"satellites":32,"speed":10,"hex_longitude":"2d0b6740","hex_latitude":"07050c70","is_valid_coordinates":true} 
[2026-09-24 09:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296731136001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33597385967927296,"note":"Value kept but may cause issues"} 
[2026-09-24 09:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":821132905958658048,"note":"Value kept but may cause issues"} 
[2026-09-24 09:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790221608000,"timestamp_ms":1790221608000,"timestamp_seconds":1790221608,"priority":1,"record_length":96,"hex_timestamp":"000001a0d185e440"} 
[2026-09-24 09:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-24 09:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:17: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-09-24 09:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296731136001,"66":14439,"177":206,"94":10240,"24":10,"16":33597385967927296,"45":821132905958658048},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-24 09:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296731136001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:17:23] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 09:17:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33597385967927296,"km_value":33597385967927.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":821132905958658048,"description":"Unknown IO ID 45"} 
[2026-09-24 09:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296731136001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":821132905958658048}} 
[2026-09-24 09:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":191176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888945,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:17:23] local.INFO: GPS data processed {"connection_id":191176,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:17:23] local.INFO: Acknowledgment sent {"connection_id":191176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:17:23] local.INFO: Packet analysis {"connection_id":191176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d186"} 
[2026-09-24 09:17:23] local.INFO: Extracted packet for processing {"connection_id":191176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d186"} 
[2026-09-24 09:17:23] local.INFO: GPS Element Parsed {"raw_longitude":755728896,"raw_latitude":117770840,"longitude_deg":75.5728896,"latitude_deg":11.777084,"altitude":29,"angle":81,"satellites":35,"speed":18,"hex_longitude":"2d0b8200","hex_latitude":"07050a58","is_valid_coordinates":true} 
[2026-09-24 09:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296731648001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33597716680409088,"note":"Value kept but may cause issues"} 
[2026-09-24 09:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":821695855912054784,"note":"Value kept but may cause issues"} 
[2026-09-24 09:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790221624000,"timestamp_ms":1790221624000,"timestamp_seconds":1790221624,"priority":1,"record_length":96,"hex_timestamp":"000001a0d18622c0"} 
[2026-09-24 09:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 09:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:17: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-09-24 09:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296731648001,"66":14428,"177":206,"94":10240,"24":18,"16":33597716680409088,"45":821695855912054784},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-24 09:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296731648001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:17:23] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 09:17:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33597716680409088,"km_value":33597716680409.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":821695855912054784,"description":"Unknown IO ID 45"} 
[2026-09-24 09:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296731648001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":821695855912054784}} 
[2026-09-24 09:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":191176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888946,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:17:23] local.INFO: GPS data processed {"connection_id":191176,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:17:23] local.INFO: Acknowledgment sent {"connection_id":191176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:17:23] local.INFO: TCP Data received {"connection_id":191176,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1863260012d0b8b0007050b10001d005f24..."} 
[2026-09-24 09:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1863260012d0b8b0007050b10001d005f24..."} 
[2026-09-24 09:17:23] local.INFO: Processing buffer {"connection_id":191176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1863260012d0b8b0007050b10001d005f24..."} 
[2026-09-24 09:17:23] local.INFO: Packet analysis {"connection_id":191176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d186"} 
[2026-09-24 09:17:23] local.INFO: Extracted packet for processing {"connection_id":191176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d186"} 
[2026-09-24 09:17:23] local.INFO: GPS Element Parsed {"raw_longitude":755731200,"raw_latitude":117771024,"longitude_deg":75.57312,"latitude_deg":11.7771024,"altitude":29,"angle":95,"satellites":36,"speed":23,"hex_longitude":"2d0b8b00","hex_latitude":"07050b10","is_valid_coordinates":true} 
[2026-09-24 09:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296735744001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33597824054591488,"note":"Value kept but may cause issues"} 
[2026-09-24 09:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829225311538927616,"note":"Value kept but may cause issues"} 
[2026-09-24 09:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790221628000,"timestamp_ms":1790221628000,"timestamp_seconds":1790221628,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1863260"} 
[2026-09-24 09:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-24 09:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:17: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-09-24 09:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296735744001,"66":14167,"177":206,"94":10240,"24":23,"16":33597824054591488,"45":829225311538927616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-24 09:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296735744001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:17:23] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 09:17:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33597824054591488,"km_value":33597824054591.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":829225311538927616,"description":"Unknown IO ID 45"} 
[2026-09-24 09:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296735744001,"power":14167,"unknown_177":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":829225311538927616}} 
[2026-09-24 09:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":191176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888947,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:17:24] local.INFO: GPS data processed {"connection_id":191176,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:17:24] local.INFO: Acknowledgment sent {"connection_id":191176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:17:34] local.INFO: TCP Data received {"connection_id":190976,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:17:34] local.INFO: Processing buffer {"connection_id":190976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:17:34] local.INFO: IMEI packet received {"connection_id":190976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":190976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:17:39] local.INFO: TCP Data received {"connection_id":190976,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:17:39] local.INFO: Processing buffer {"connection_id":190976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:17:39] local.INFO: IMEI packet received {"connection_id":190976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":190976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:17:40] local.INFO: TCP Data received {"connection_id":190976,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:17:40] local.INFO: Processing buffer {"connection_id":190976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:17:40] local.INFO: Packet analysis {"connection_id":190976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:17:40] local.INFO: Extracted packet for processing {"connection_id":190976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:17:40] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296630528001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790221514000,"timestamp_ms":1790221514000,"timestamp_seconds":1790221514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1847510"} 
[2026-09-24 09:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 09:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296630528001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296630528001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:17:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:17:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296630528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":190976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:17:40] local.INFO: GPS data processed {"connection_id":190976,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:17:40] local.INFO: Acknowledgment sent {"connection_id":190976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:17:44] local.INFO: TCP Data received {"connection_id":190976,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:17:44] local.INFO: Processing buffer {"connection_id":190976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:17:44] local.INFO: Packet analysis {"connection_id":190976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:17:44] local.INFO: Extracted packet for processing {"connection_id":190976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296630528001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790221514000,"timestamp_ms":1790221514000,"timestamp_seconds":1790221514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1847510"} 
[2026-09-24 09:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 09:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296630528001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296630528001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:17:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296630528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":190976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:17:44] local.INFO: GPS data processed {"connection_id":190976,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:17:44] local.INFO: Acknowledgment sent {"connection_id":190976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:18:12] local.INFO: TCP Data received {"connection_id":190977,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190977,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:18:12] local.INFO: Processing buffer {"connection_id":190977,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:18:12] local.INFO: IMEI packet received {"connection_id":190977,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":190977,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:18:16] local.INFO: TCP Data received {"connection_id":190977,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190977,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:18:16] local.INFO: Processing buffer {"connection_id":190977,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:18:16] local.INFO: IMEI packet received {"connection_id":190977,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":190977,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:18:17] local.INFO: TCP Data received {"connection_id":190977,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d18714f0012d0bca0007052e080023001123..."} 
[2026-09-24 09:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d18714f0012d0bca0007052e080023001123..."} 
[2026-09-24 09:18:17] local.INFO: Processing buffer {"connection_id":190977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d18714f0012d0bca0007052e080023001123..."} 
[2026-09-24 09:18:17] local.INFO: Packet analysis {"connection_id":190977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d187"} 
[2026-09-24 09:18:17] local.INFO: Extracted packet for processing {"connection_id":190977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d187"} 
[2026-09-24 09:18:17] local.INFO: GPS Element Parsed {"raw_longitude":755747328,"raw_latitude":117779976,"longitude_deg":75.5747328,"latitude_deg":11.7779976,"altitude":35,"angle":17,"satellites":35,"speed":12,"hex_longitude":"2d0bca00","hex_latitude":"07052e08","is_valid_coordinates":true} 
[2026-09-24 09:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296751360001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33599262868635648,"note":"Value kept but may cause issues"} 
[2026-09-24 09:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":849280403631822848,"note":"Value kept but may cause issues"} 
[2026-09-24 09:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790221686000,"timestamp_ms":1790221686000,"timestamp_seconds":1790221686,"priority":1,"record_length":96,"hex_timestamp":"000001a0d18714f0"} 
[2026-09-24 09:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-24 09:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190977,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190977,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296751360001,"66":14548,"97":206,"94":10240,"24":12,"16":33599262868635648,"45":849280403631822848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,94,24,16,45]} 
[2026-09-24 09:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296751360001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:18:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:18:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33599262868635648,"km_value":33599262868635.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":849280403631822848,"description":"Unknown IO ID 45"} 
[2026-09-24 09:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296751360001,"power":14548,"unknown_97":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":849280403631822848}} 
[2026-09-24 09:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":190977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888950,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:18:17] local.INFO: GPS data processed {"connection_id":190977,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:18:17] local.INFO: Acknowledgment sent {"connection_id":190977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:18:29] local.INFO: TCP Data received {"connection_id":192541,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:18:29] local.INFO: Processing buffer {"connection_id":192541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:18:29] local.INFO: IMEI packet received {"connection_id":192541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":192541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:18:34] local.INFO: TCP Data received {"connection_id":192541,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:18:34] local.INFO: Processing buffer {"connection_id":192541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:18:34] local.INFO: IMEI packet received {"connection_id":192541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":192541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:18:35] local.INFO: TCP Data received {"connection_id":192541,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:18:35] local.INFO: Processing buffer {"connection_id":192541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:18:35] local.INFO: Packet analysis {"connection_id":192541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:18:35] local.INFO: Extracted packet for processing {"connection_id":192541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:18:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296630528001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790221514000,"timestamp_ms":1790221514000,"timestamp_seconds":1790221514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1847510"} 
[2026-09-24 09:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 09:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296630528001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296630528001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:18:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:18:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296630528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":192541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:18:35] local.INFO: GPS data processed {"connection_id":192541,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:18:35] local.INFO: Acknowledgment sent {"connection_id":192541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:18:48] local.INFO: TCP Data received {"connection_id":190977,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1871cc0012d0bca00070531700023016623..."} 
[2026-09-24 09:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1871cc0012d0bca00070531700023016623..."} 
[2026-09-24 09:18:48] local.INFO: Processing buffer {"connection_id":190977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1871cc0012d0bca00070531700023016623..."} 
[2026-09-24 09:18:48] local.INFO: Packet analysis {"connection_id":190977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d187"} 
[2026-09-24 09:18:48] local.INFO: Extracted packet for processing {"connection_id":190977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d187"} 
[2026-09-24 09:18:48] local.INFO: GPS Element Parsed {"raw_longitude":755747328,"raw_latitude":117780848,"longitude_deg":75.5747328,"latitude_deg":11.7780848,"altitude":35,"angle":358,"satellites":35,"speed":18,"hex_longitude":"2d0bca00","hex_latitude":"07053170","is_valid_coordinates":true} 
[2026-09-24 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-09-24 09:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296751616001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33599305818308608,"note":"Value kept but may cause issues"} 
[2026-09-24 09:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":849491509864433664,"note":"Value kept but may cause issues"} 
[2026-09-24 09:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790221688000,"timestamp_ms":1790221688000,"timestamp_seconds":1790221688,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1871cc0"} 
[2026-09-24 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-09-24 09:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-24 09:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 09:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190977,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190977,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296751616001,"66":14548,"97":206,"94":10240,"24":18,"16":33599305818308608,"45":849491509864433664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,94,24,16,45]} 
[2026-09-24 09:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296751616001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:18:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:18:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33599305818308608,"km_value":33599305818308.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":849491509864433664,"description":"Unknown IO ID 45"} 
[2026-09-24 09:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296751616001,"power":14548,"unknown_97":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":849491509864433664}} 
[2026-09-24 09:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":190977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888952,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:18:48] local.INFO: GPS data processed {"connection_id":190977,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:18:48] local.INFO: Acknowledgment sent {"connection_id":190977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:19:06] local.INFO: TCP Data received {"connection_id":192541,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:19:06] local.INFO: Processing buffer {"connection_id":192541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:19:06] local.INFO: Packet analysis {"connection_id":192541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:19:06] local.INFO: Extracted packet for processing {"connection_id":192541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:19:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296630528001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790221514000,"timestamp_ms":1790221514000,"timestamp_seconds":1790221514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1847510"} 
[2026-09-24 09:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 09:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296630528001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296630528001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:19:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:19:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296630528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":192541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:19:06] local.INFO: GPS data processed {"connection_id":192541,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:19:06] local.INFO: Acknowledgment sent {"connection_id":192541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:19:07] local.INFO: TCP Data received {"connection_id":190978,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190978,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:19:07] local.INFO: Processing buffer {"connection_id":190978,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:19:07] local.INFO: IMEI packet received {"connection_id":190978,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":190978,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:19:11] local.INFO: TCP Data received {"connection_id":190978,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190978,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:19:11] local.INFO: Processing buffer {"connection_id":190978,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:19:11] local.INFO: IMEI packet received {"connection_id":190978,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":190978,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:19:12] local.INFO: TCP Data received {"connection_id":190978,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190978,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:19:12] local.INFO: Processing buffer {"connection_id":190978,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:19:12] local.INFO: IMEI packet received {"connection_id":190978,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":190978,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:19:18] local.INFO: TCP Data received {"connection_id":190978,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190978,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:19:18] local.INFO: Processing buffer {"connection_id":190978,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:19:18] local.INFO: IMEI packet received {"connection_id":190978,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":190978,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:19:19] local.INFO: TCP Data received {"connection_id":190978,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1873818012d0bcc00070546100023000a22..."} 
[2026-09-24 09:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1873818012d0bcc00070546100023000a22..."} 
[2026-09-24 09:19:19] local.INFO: Processing buffer {"connection_id":190978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1873818012d0bcc00070546100023000a22..."} 
[2026-09-24 09:19:19] local.INFO: Packet analysis {"connection_id":190978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d187"} 
[2026-09-24 09:19:19] local.INFO: Extracted packet for processing {"connection_id":190978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d187"} 
[2026-09-24 09:19:19] local.INFO: GPS Element Parsed {"raw_longitude":755747840,"raw_latitude":117786128,"longitude_deg":75.574784,"latitude_deg":11.7786128,"altitude":35,"angle":10,"satellites":34,"speed":37,"hex_longitude":"2d0bcc00","hex_latitude":"07054610","is_valid_coordinates":true} 
[2026-09-24 09:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296752128001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33599563516346368,"note":"Value kept but may cause issues"} 
[2026-09-24 09:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":849491509864656896,"note":"Value kept but may cause issues"} 
[2026-09-24 09:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790221695000,"timestamp_ms":1790221695000,"timestamp_seconds":1790221695,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1873818"} 
[2026-09-24 09:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-24 09:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190978,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190978,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296752128001,"66":14407,"97":206,"94":10240,"24":37,"16":33599563516346368,"45":849491509864656896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,94,24,16,45]} 
[2026-09-24 09:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296752128001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:19:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:19:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33599563516346368,"km_value":33599563516346.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":849491509864656896,"description":"Unknown IO ID 45"} 
[2026-09-24 09:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296752128001,"power":14407,"unknown_97":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":849491509864656896}} 
[2026-09-24 09:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":190978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888954,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:19:19] local.INFO: GPS data processed {"connection_id":190978,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:19:19] local.INFO: Acknowledgment sent {"connection_id":190978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:19:21] local.INFO: TCP Data received {"connection_id":190978,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1875b40012d0bcf8007056b70001b000722..."} 
[2026-09-24 09:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1875b40012d0bcf8007056b70001b000722..."} 
[2026-09-24 09:19:21] local.INFO: Processing buffer {"connection_id":190978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1875b40012d0bcf8007056b70001b000722..."} 
[2026-09-24 09:19:21] local.INFO: Packet analysis {"connection_id":190978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d187"} 
[2026-09-24 09:19:21] local.INFO: Extracted packet for processing {"connection_id":190978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d187"} 
[2026-09-24 09:19:21] local.INFO: GPS Element Parsed {"raw_longitude":755748736,"raw_latitude":117795696,"longitude_deg":75.5748736,"latitude_deg":11.7795696,"altitude":27,"angle":7,"satellites":34,"speed":42,"hex_longitude":"2d0bcf80","hex_latitude":"07056b70","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296753920001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33600027372814336,"note":"Value kept but may cause issues"} 
[2026-09-24 09:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":850054459819429888,"note":"Value kept but may cause issues"} 
[2026-09-24 09:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790221704000,"timestamp_ms":1790221704000,"timestamp_seconds":1790221704,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1875b40"} 
[2026-09-24 09:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-24 09:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":190978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":190978,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":190978,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296753920001,"66":14461,"164":206,"94":10240,"24":42,"16":33600027372814336,"45":850054459819429888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-24 09:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296753920001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:19:21] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-24 09:19:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33600027372814336,"km_value":33600027372814.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":850054459819429888,"description":"Unknown IO ID 45"} 
[2026-09-24 09:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296753920001,"power":14461,"unknown_164":206,"unknown_94":10240,"ignition":42,"odometer":null,"unknown_45":850054459819429888}} 
[2026-09-24 09:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":190978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888955,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:19:22] local.INFO: GPS data processed {"connection_id":190978,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:19:22] local.INFO: Acknowledgment sent {"connection_id":190978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:19:29] local.INFO: TCP Data received {"connection_id":190979,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:19:29] local.INFO: Processing buffer {"connection_id":190979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:19:29] local.INFO: IMEI packet received {"connection_id":190979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":190979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:19:34] local.INFO: TCP Data received {"connection_id":190979,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:19:34] local.INFO: Processing buffer {"connection_id":190979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:19:34] local.INFO: IMEI packet received {"connection_id":190979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":190979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:19:35] local.INFO: TCP Data received {"connection_id":190979,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:19:35] local.INFO: Processing buffer {"connection_id":190979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:19:35] local.INFO: Packet analysis {"connection_id":190979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:19:35] local.INFO: Extracted packet for processing {"connection_id":190979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:19:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296630528001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790221514000,"timestamp_ms":1790221514000,"timestamp_seconds":1790221514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1847510"} 
[2026-09-24 09:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 09:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296630528001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296630528001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:19:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:19:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296630528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":190979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:19:35] local.INFO: GPS data processed {"connection_id":190979,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:19:35] local.INFO: Acknowledgment sent {"connection_id":190979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:20:05] local.INFO: TCP Data received {"connection_id":191177,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191177,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:20:05] local.INFO: Processing buffer {"connection_id":191177,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:20:05] local.INFO: IMEI packet received {"connection_id":191177,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":191177,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:20:06] local.INFO: TCP Data received {"connection_id":191177,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191177,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:20:06] local.INFO: Processing buffer {"connection_id":191177,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:20:06] local.INFO: IMEI packet received {"connection_id":191177,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":191177,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:20:06] local.INFO: TCP Data received {"connection_id":190979,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:20:06] local.INFO: Processing buffer {"connection_id":190979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:20:06] local.INFO: Packet analysis {"connection_id":190979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:20:06] local.INFO: Extracted packet for processing {"connection_id":190979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:20:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296630528001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790221514000,"timestamp_ms":1790221514000,"timestamp_seconds":1790221514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1847510"} 
[2026-09-24 09:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 09:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296630528001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296630528001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:20:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:20:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296630528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":190979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:20:06] local.INFO: GPS data processed {"connection_id":190979,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:20:06] local.INFO: Acknowledgment sent {"connection_id":190979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:20:11] local.INFO: TCP Data received {"connection_id":191177,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191177,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:20:11] local.INFO: Processing buffer {"connection_id":191177,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:20:11] local.INFO: IMEI packet received {"connection_id":191177,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":191177,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:20:12] local.INFO: TCP Data received {"connection_id":191177,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1889b90012d0bdd000705f8d80019001423..."} 
[2026-09-24 09:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1889b90012d0bdd000705f8d80019001423..."} 
[2026-09-24 09:20:12] local.INFO: Processing buffer {"connection_id":191177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1889b90012d0bdd000705f8d80019001423..."} 
[2026-09-24 09:20:12] local.INFO: Packet analysis {"connection_id":191177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d188"} 
[2026-09-24 09:20:12] local.INFO: Extracted packet for processing {"connection_id":191177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d188"} 
[2026-09-24 09:20:12] local.INFO: GPS Element Parsed {"raw_longitude":755752192,"raw_latitude":117831896,"longitude_deg":75.5752192,"latitude_deg":11.7831896,"altitude":25,"angle":20,"satellites":35,"speed":10,"hex_longitude":"2d0bdd00","hex_latitude":"0705f8d8","is_valid_coordinates":true} 
[2026-09-24 09:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296776960001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33601852733915136,"note":"Value kept but may cause issues"} 
[2026-09-24 09:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":854628428202643456,"note":"Value kept but may cause issues"} 
[2026-09-24 09:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790221786000,"timestamp_ms":1790221786000,"timestamp_seconds":1790221786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1889b90"} 
[2026-09-24 09:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:20:12] 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-09-24 09:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 09:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191177,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191177,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296776960001,"66":14439,"164":206,"94":10240,"24":10,"16":33601852733915136,"45":854628428202643456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-24 09:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296776960001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:20:12] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-24 09:20:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33601852733915136,"km_value":33601852733915.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":854628428202643456,"description":"Unknown IO ID 45"} 
[2026-09-24 09:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296776960001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":854628428202643456}} 
[2026-09-24 09:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":191177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888958,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:20:12] local.INFO: GPS data processed {"connection_id":191177,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:20:12] local.INFO: Acknowledgment sent {"connection_id":191177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:20:29] local.INFO: TCP Data received {"connection_id":192542,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:20:29] local.INFO: Processing buffer {"connection_id":192542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:20:29] local.INFO: IMEI packet received {"connection_id":192542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":192542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:20:34] local.INFO: TCP Data received {"connection_id":192542,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:20:34] local.INFO: Processing buffer {"connection_id":192542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:20:34] local.INFO: IMEI packet received {"connection_id":192542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":192542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:20:35] local.INFO: TCP Data received {"connection_id":192542,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:20:35] local.INFO: Processing buffer {"connection_id":192542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1847510012d34c24006aa4930000901382c..."} 
[2026-09-24 09:20:35] local.INFO: Packet analysis {"connection_id":192542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:20:35] local.INFO: Extracted packet for processing {"connection_id":192542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d184"} 
[2026-09-24 09:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296630528001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790221514000,"timestamp_ms":1790221514000,"timestamp_seconds":1790221514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1847510"} 
[2026-09-24 09:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 09:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296630528001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296630528001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:20:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:20:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296630528001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":192542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:20:35] local.INFO: GPS data processed {"connection_id":192542,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:20:35] local.INFO: Acknowledgment sent {"connection_id":192542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:21:06] local.INFO: TCP Data received {"connection_id":192542,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:21:06] local.INFO: Processing buffer {"connection_id":192542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:21:06] local.INFO: Packet analysis {"connection_id":192542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d189"} 
[2026-09-24 09:21:06] local.INFO: Extracted packet for processing {"connection_id":192542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d189"} 
[2026-09-24 09:21:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296707584001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790221815000,"timestamp_ms":1790221815000,"timestamp_seconds":1790221815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1890cd8"} 
[2026-09-24 09:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296707584001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296707584001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:21:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:21:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296707584001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":192542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:21:06] local.INFO: GPS data processed {"connection_id":192542,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:21:06] local.INFO: Acknowledgment sent {"connection_id":192542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:21:18] local.INFO: TCP Data received {"connection_id":191177,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1889f78012d0bdd000705f9d00019000623..."} 
[2026-09-24 09:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1889f78012d0bdd000705f9d00019000623..."} 
[2026-09-24 09:21:18] local.INFO: Processing buffer {"connection_id":191177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1889f78012d0bdd000705f9d00019000623..."} 
[2026-09-24 09:21:18] local.INFO: Packet analysis {"connection_id":191177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d188"} 
[2026-09-24 09:21:18] local.INFO: Extracted packet for processing {"connection_id":191177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d188"} 
[2026-09-24 09:21:18] local.INFO: GPS Element Parsed {"raw_longitude":755752192,"raw_latitude":117832144,"longitude_deg":75.5752192,"latitude_deg":11.7832144,"altitude":25,"angle":6,"satellites":35,"speed":10,"hex_longitude":"2d0bdd00","hex_latitude":"0705f9d0","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296777216001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33601865618817024,"note":"Value kept but may cause issues"} 
[2026-09-24 09:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":854839534435227648,"note":"Value kept but may cause issues"} 
[2026-09-24 09:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790221787000,"timestamp_ms":1790221787000,"timestamp_seconds":1790221787,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1889f78"} 
[2026-09-24 09:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 09:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191177,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191177,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296777216001,"66":14428,"164":206,"94":10240,"24":10,"16":33601865618817024,"45":854839534435227648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-24 09:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296777216001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:21:18] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-24 09:21:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33601865618817024,"km_value":33601865618817.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":854839534435227648,"description":"Unknown IO ID 45"} 
[2026-09-24 09:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296777216001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":854839534435227648}} 
[2026-09-24 09:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":191177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888961,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:21:18] local.INFO: GPS data processed {"connection_id":191177,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:21:18] local.INFO: Acknowledgment sent {"connection_id":191177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:21:29] local.INFO: TCP Data received {"connection_id":192544,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:21:29] local.INFO: Processing buffer {"connection_id":192544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:21:29] local.INFO: IMEI packet received {"connection_id":192544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":192544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:21:34] local.INFO: TCP Data received {"connection_id":192544,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:21:34] local.INFO: Processing buffer {"connection_id":192544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:21:34] local.INFO: IMEI packet received {"connection_id":192544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":192544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:21:35] local.INFO: TCP Data received {"connection_id":192544,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:21:35] local.INFO: Processing buffer {"connection_id":192544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:21:35] local.INFO: Packet analysis {"connection_id":192544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d189"} 
[2026-09-24 09:21:35] local.INFO: Extracted packet for processing {"connection_id":192544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d189"} 
[2026-09-24 09:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296707584001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790221815000,"timestamp_ms":1790221815000,"timestamp_seconds":1790221815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1890cd8"} 
[2026-09-24 09:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296707584001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296707584001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:21:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:21:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296707584001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":192544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:21:35] local.INFO: GPS data processed {"connection_id":192544,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:21:35] local.INFO: Acknowledgment sent {"connection_id":192544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:22:06] local.INFO: TCP Data received {"connection_id":192544,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:22:06] local.INFO: Processing buffer {"connection_id":192544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:22:06] local.INFO: Packet analysis {"connection_id":192544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d189"} 
[2026-09-24 09:22:06] local.INFO: Extracted packet for processing {"connection_id":192544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d189"} 
[2026-09-24 09:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296707584001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790221815000,"timestamp_ms":1790221815000,"timestamp_seconds":1790221815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1890cd8"} 
[2026-09-24 09:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296707584001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296707584001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:22:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296707584001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":192544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:22:06] local.INFO: GPS data processed {"connection_id":192544,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:22:06] local.INFO: Acknowledgment sent {"connection_id":192544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:22:29] local.INFO: TCP Data received {"connection_id":190980,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:22:29] local.INFO: Processing buffer {"connection_id":190980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:22:29] local.INFO: IMEI packet received {"connection_id":190980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":190980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:22:34] local.INFO: TCP Data received {"connection_id":190980,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:22:34] local.INFO: Processing buffer {"connection_id":190980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:22:34] local.INFO: IMEI packet received {"connection_id":190980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":190980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:22:35] local.INFO: TCP Data received {"connection_id":190980,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:22:35] local.INFO: Processing buffer {"connection_id":190980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:22:35] local.INFO: Packet analysis {"connection_id":190980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d189"} 
[2026-09-24 09:22:35] local.INFO: Extracted packet for processing {"connection_id":190980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d189"} 
[2026-09-24 09:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296707584001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790221815000,"timestamp_ms":1790221815000,"timestamp_seconds":1790221815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1890cd8"} 
[2026-09-24 09:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296707584001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296707584001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:22:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:22:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296707584001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":190980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:22:35] local.INFO: GPS data processed {"connection_id":190980,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:22:35] local.INFO: Acknowledgment sent {"connection_id":190980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:23:06] local.INFO: TCP Data received {"connection_id":190980,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:23:06] local.INFO: Processing buffer {"connection_id":190980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:23:06] local.INFO: Packet analysis {"connection_id":190980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d189"} 
[2026-09-24 09:23:06] local.INFO: Extracted packet for processing {"connection_id":190980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d189"} 
[2026-09-24 09:23:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296707584001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790221815000,"timestamp_ms":1790221815000,"timestamp_seconds":1790221815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1890cd8"} 
[2026-09-24 09:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296707584001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296707584001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:23:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:23:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296707584001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":190980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:23:06] local.INFO: GPS data processed {"connection_id":190980,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:23:06] local.INFO: Acknowledgment sent {"connection_id":190980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:23:34] local.INFO: TCP Data received {"connection_id":192545,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:23:34] local.INFO: Processing buffer {"connection_id":192545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:23:34] local.INFO: IMEI packet received {"connection_id":192545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":192545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:23:39] local.INFO: TCP Data received {"connection_id":192545,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:23:39] local.INFO: Processing buffer {"connection_id":192545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:23:39] local.INFO: IMEI packet received {"connection_id":192545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":192545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:23:40] local.INFO: TCP Data received {"connection_id":192545,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:23:40] local.INFO: Processing buffer {"connection_id":192545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:23:40] local.INFO: Packet analysis {"connection_id":192545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d189"} 
[2026-09-24 09:23:40] local.INFO: Extracted packet for processing {"connection_id":192545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d189"} 
[2026-09-24 09:23:40] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296707584001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790221815000,"timestamp_ms":1790221815000,"timestamp_seconds":1790221815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1890cd8"} 
[2026-09-24 09:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296707584001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296707584001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:23:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:23:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296707584001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":192545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:23:40] local.INFO: GPS data processed {"connection_id":192545,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:23:40] local.INFO: Acknowledgment sent {"connection_id":192545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:23:44] local.INFO: TCP Data received {"connection_id":192545,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:23:44] local.INFO: Processing buffer {"connection_id":192545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:23:44] local.INFO: Packet analysis {"connection_id":192545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d189"} 
[2026-09-24 09:23:44] local.INFO: Extracted packet for processing {"connection_id":192545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d189"} 
[2026-09-24 09:23:44] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296707584001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790221815000,"timestamp_ms":1790221815000,"timestamp_seconds":1790221815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1890cd8"} 
[2026-09-24 09:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296707584001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296707584001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:23:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:23:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296707584001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":192545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:23:44] local.INFO: GPS data processed {"connection_id":192545,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:23:44] local.INFO: Acknowledgment sent {"connection_id":192545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:24:29] local.INFO: TCP Data received {"connection_id":193859,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:24:29] local.INFO: Processing buffer {"connection_id":193859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:24:29] local.INFO: IMEI packet received {"connection_id":193859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":193859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:24:34] local.INFO: TCP Data received {"connection_id":193859,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:24:34] local.INFO: Processing buffer {"connection_id":193859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:24:34] local.INFO: IMEI packet received {"connection_id":193859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":193859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:24:35] local.INFO: TCP Data received {"connection_id":193859,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:24:35] local.INFO: Processing buffer {"connection_id":193859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:24:35] local.INFO: Packet analysis {"connection_id":193859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d189"} 
[2026-09-24 09:24:35] local.INFO: Extracted packet for processing {"connection_id":193859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d189"} 
[2026-09-24 09:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296707584001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790221815000,"timestamp_ms":1790221815000,"timestamp_seconds":1790221815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1890cd8"} 
[2026-09-24 09:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296707584001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296707584001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:24:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:24:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296707584001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":193859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:24:35] local.INFO: GPS data processed {"connection_id":193859,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:24:35] local.INFO: Acknowledgment sent {"connection_id":193859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:25:06] local.INFO: TCP Data received {"connection_id":193859,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:25:06] local.INFO: Processing buffer {"connection_id":193859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:25:06] local.INFO: Packet analysis {"connection_id":193859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d189"} 
[2026-09-24 09:25:06] local.INFO: Extracted packet for processing {"connection_id":193859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d189"} 
[2026-09-24 09:25:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296707584001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790221815000,"timestamp_ms":1790221815000,"timestamp_seconds":1790221815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1890cd8"} 
[2026-09-24 09:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296707584001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296707584001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:25:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:25:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296707584001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":193859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:25:06] local.INFO: GPS data processed {"connection_id":193859,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:25:06] local.INFO: Acknowledgment sent {"connection_id":193859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:25:29] local.INFO: TCP Data received {"connection_id":193860,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:25:29] local.INFO: Processing buffer {"connection_id":193860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:25:29] local.INFO: IMEI packet received {"connection_id":193860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":193860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:25:34] local.INFO: TCP Data received {"connection_id":193860,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:25:34] local.INFO: Processing buffer {"connection_id":193860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:25:34] local.INFO: IMEI packet received {"connection_id":193860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":193860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:25:35] local.INFO: TCP Data received {"connection_id":193860,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:25:35] local.INFO: Processing buffer {"connection_id":193860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1890cd8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:25:35] local.INFO: Packet analysis {"connection_id":193860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d189"} 
[2026-09-24 09:25:35] local.INFO: Extracted packet for processing {"connection_id":193860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d189"} 
[2026-09-24 09:25:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296707584001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790221815000,"timestamp_ms":1790221815000,"timestamp_seconds":1790221815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1890cd8"} 
[2026-09-24 09:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296707584001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296707584001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:25:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:25:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296707584001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":193860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:25:35] local.INFO: GPS data processed {"connection_id":193860,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:25:35] local.INFO: Acknowledgment sent {"connection_id":193860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:26:08] local.INFO: TCP Data received {"connection_id":193860,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:26:08] local.INFO: Processing buffer {"connection_id":193860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:26:08] local.INFO: Packet analysis {"connection_id":193860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:26:08] local.INFO: Extracted packet for processing {"connection_id":193860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296784640001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790222116000,"timestamp_ms":1790222116000,"timestamp_seconds":1790222116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d18da4a0"} 
[2026-09-24 09:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:26:08] 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-09-24 09: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-09-24 09:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296784640001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296784640001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:26:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296784640001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":193860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:26:08] local.INFO: GPS data processed {"connection_id":193860,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:26:08] local.INFO: Acknowledgment sent {"connection_id":193860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:26:26] local.INFO: TCP Data received {"connection_id":192546,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192546,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:26:26] local.INFO: Processing buffer {"connection_id":192546,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:26:26] local.INFO: IMEI packet received {"connection_id":192546,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":192546,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:26:27] local.INFO: TCP Data received {"connection_id":192546,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d18ddf38012d0c3d0007062e90001f002024..."} 
[2026-09-24 09:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d18ddf38012d0c3d0007062e90001f002024..."} 
[2026-09-24 09:26:27] local.INFO: Processing buffer {"connection_id":192546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d18ddf38012d0c3d0007062e90001f002024..."} 
[2026-09-24 09:26:27] local.INFO: Packet analysis {"connection_id":192546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:26:27] local.INFO: Extracted packet for processing {"connection_id":192546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:26:27] local.INFO: GPS Element Parsed {"raw_longitude":755776768,"raw_latitude":117845648,"longitude_deg":75.5776768,"latitude_deg":11.7845648,"altitude":31,"angle":32,"satellites":36,"speed":11,"hex_longitude":"2d0c3d00","hex_latitude":"07062e90","is_valid_coordinates":true} 
[2026-09-24 09:26: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-09-24 09:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296865280001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33606890730553344,"note":"Value kept but may cause issues"} 
[2026-09-24 09:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881650025970374656,"note":"Value kept but may cause issues"} 
[2026-09-24 09:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790222131000,"timestamp_ms":1790222131000,"timestamp_seconds":1790222131,"priority":1,"record_length":96,"hex_timestamp":"000001a0d18ddf38"} 
[2026-09-24 09:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 09:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:26: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-09-24 09:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192546,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192546,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296865280001,"66":14407,"164":206,"94":10240,"24":11,"16":33606890730553344,"45":881650025970374656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-24 09:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296865280001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:26:27] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-24 09:26:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33606890730553344,"km_value":33606890730553.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":881650025970374656,"description":"Unknown IO ID 45"} 
[2026-09-24 09:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296865280001,"power":14407,"unknown_164":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":881650025970374656}} 
[2026-09-24 09:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":192546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888972,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:26:27] local.INFO: GPS data processed {"connection_id":192546,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:26:27] local.INFO: Acknowledgment sent {"connection_id":192546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:26:29] local.INFO: TCP Data received {"connection_id":192547,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:26:29] local.INFO: Processing buffer {"connection_id":192547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:26:29] local.INFO: IMEI packet received {"connection_id":192547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":192547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:26:34] local.INFO: TCP Data received {"connection_id":192547,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:26:34] local.INFO: Processing buffer {"connection_id":192547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:26:34] local.INFO: IMEI packet received {"connection_id":192547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":192547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:26:35] local.INFO: TCP Data received {"connection_id":192547,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:26:35] local.INFO: Processing buffer {"connection_id":192547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:26:35] local.INFO: Packet analysis {"connection_id":192547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:26:35] local.INFO: Extracted packet for processing {"connection_id":192547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:26:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296784640001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790222116000,"timestamp_ms":1790222116000,"timestamp_seconds":1790222116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d18da4a0"} 
[2026-09-24 09:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:26:35] 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-09-24 09:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296784640001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296784640001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:26:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:26:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296784640001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":192547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:26:35] local.INFO: GPS data processed {"connection_id":192547,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:26:35] local.INFO: Acknowledgment sent {"connection_id":192547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:27:06] local.INFO: TCP Data received {"connection_id":193861,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193861,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:27:06] local.INFO: Processing buffer {"connection_id":193861,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:27:06] local.INFO: IMEI packet received {"connection_id":193861,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":193861,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:27:06] local.INFO: TCP Data received {"connection_id":192547,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:27:06] local.INFO: Processing buffer {"connection_id":192547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:27:06] local.INFO: Packet analysis {"connection_id":192547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:27:06] local.INFO: Extracted packet for processing {"connection_id":192547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:27:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296784640001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790222116000,"timestamp_ms":1790222116000,"timestamp_seconds":1790222116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d18da4a0"} 
[2026-09-24 09:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296784640001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296784640001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:27:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:27:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296784640001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":192547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:27:06] local.INFO: GPS data processed {"connection_id":192547,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:27:06] local.INFO: Acknowledgment sent {"connection_id":192547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:27:07] local.INFO: TCP Data received {"connection_id":193861,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193861,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:27:07] local.INFO: Processing buffer {"connection_id":193861,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:27:07] local.INFO: IMEI packet received {"connection_id":193861,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":193861,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:27:11] local.INFO: TCP Data received {"connection_id":193861,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193861,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:27:11] local.INFO: Processing buffer {"connection_id":193861,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:27:11] local.INFO: IMEI packet received {"connection_id":193861,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":193861,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:27:12] local.INFO: TCP Data received {"connection_id":193861,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d18de320012d0c3d4007062fd8001f000224..."} 
[2026-09-24 09:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d18de320012d0c3d4007062fd8001f000224..."} 
[2026-09-24 09:27:12] local.INFO: Processing buffer {"connection_id":193861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d18de320012d0c3d4007062fd8001f000224..."} 
[2026-09-24 09:27:12] local.INFO: Packet analysis {"connection_id":193861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:27:12] local.INFO: Extracted packet for processing {"connection_id":193861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:27:12] local.INFO: GPS Element Parsed {"raw_longitude":755776832,"raw_latitude":117845976,"longitude_deg":75.5776832,"latitude_deg":11.7845976,"altitude":31,"angle":2,"satellites":36,"speed":12,"hex_longitude":"2d0c3d40","hex_latitude":"07062fd8","is_valid_coordinates":true} 
[2026-09-24 09:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296865536001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33606907910422528,"note":"Value kept but may cause issues"} 
[2026-09-24 09:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881861132202971136,"note":"Value kept but may cause issues"} 
[2026-09-24 09:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790222132000,"timestamp_ms":1790222132000,"timestamp_seconds":1790222132,"priority":1,"record_length":96,"hex_timestamp":"000001a0d18de320"} 
[2026-09-24 09:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-24 09:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296865536001,"66":14407,"164":206,"94":10240,"24":12,"16":33606907910422528,"45":881861132202971136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-24 09:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296865536001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:27:12] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-24 09:27:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33606907910422528,"km_value":33606907910422.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":881861132202971136,"description":"Unknown IO ID 45"} 
[2026-09-24 09:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296865536001,"power":14407,"unknown_164":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":881861132202971136}} 
[2026-09-24 09:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":193861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888975,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:27:12] local.INFO: GPS data processed {"connection_id":193861,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:27:12] local.INFO: Acknowledgment sent {"connection_id":193861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:27:29] local.INFO: TCP Data received {"connection_id":193862,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:27:29] local.INFO: Processing buffer {"connection_id":193862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:27:29] local.INFO: IMEI packet received {"connection_id":193862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":193862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:27:34] local.INFO: TCP Data received {"connection_id":193862,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:27:34] local.INFO: Processing buffer {"connection_id":193862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:27:34] local.INFO: IMEI packet received {"connection_id":193862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":193862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:27:36] local.INFO: TCP Data received {"connection_id":193862,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:27:36] local.INFO: Processing buffer {"connection_id":193862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:27:36] local.INFO: Packet analysis {"connection_id":193862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:27:36] local.INFO: Extracted packet for processing {"connection_id":193862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296784640001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790222116000,"timestamp_ms":1790222116000,"timestamp_seconds":1790222116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d18da4a0"} 
[2026-09-24 09:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296784640001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296784640001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:27:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:27:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296784640001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":193862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:27:36] local.INFO: GPS data processed {"connection_id":193862,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:27:36] local.INFO: Acknowledgment sent {"connection_id":193862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:27:43] local.INFO: TCP Data received {"connection_id":193861,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d18f94b8012d0c94000705fa800016009024..."} 
[2026-09-24 09:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d18f94b8012d0c94000705fa800016009024..."} 
[2026-09-24 09:27:43] local.INFO: Processing buffer {"connection_id":193861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d18f94b8012d0c94000705fa800016009024..."} 
[2026-09-24 09:27:43] local.INFO: Packet analysis {"connection_id":193861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d18f"} 
[2026-09-24 09:27:43] local.INFO: Extracted packet for processing {"connection_id":193861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d18f"} 
[2026-09-24 09:27:43] local.INFO: GPS Element Parsed {"raw_longitude":755799040,"raw_latitude":117832320,"longitude_deg":75.579904,"latitude_deg":11.783232,"altitude":22,"angle":144,"satellites":36,"speed":13,"hex_longitude":"2d0c9400","hex_latitude":"0705fa80","is_valid_coordinates":true} 
[2026-09-24 09:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296892160001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33608608717471744,"note":"Value kept but may cause issues"} 
[2026-09-24 09:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904308761592725504,"note":"Value kept but may cause issues"} 
[2026-09-24 09:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790222243000,"timestamp_ms":1790222243000,"timestamp_seconds":1790222243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d18f94b8"} 
[2026-09-24 09:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-24 09:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296892160001,"66":14439,"220":206,"94":10240,"24":13,"16":33608608717471744,"45":904308761592725504},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-24 09:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296892160001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:27:43] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-24 09:27:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33608608717471744,"km_value":33608608717471.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":904308761592725504,"description":"Unknown IO ID 45"} 
[2026-09-24 09:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296892160001,"power":14439,"unknown_220":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":904308761592725504}} 
[2026-09-24 09:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":193861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888977,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:27:43] local.INFO: GPS data processed {"connection_id":193861,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:27:43] local.INFO: Acknowledgment sent {"connection_id":193861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:28:06] local.INFO: TCP Data received {"connection_id":191179,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191179,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:28:06] local.INFO: Processing buffer {"connection_id":191179,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:28:06] local.INFO: IMEI packet received {"connection_id":191179,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":191179,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:28:07] local.INFO: TCP Data received {"connection_id":191179,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191179,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:28:07] local.INFO: Processing buffer {"connection_id":191179,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:28:07] local.INFO: IMEI packet received {"connection_id":191179,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":191179,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:28:08] local.INFO: TCP Data received {"connection_id":193862,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:28:08] local.INFO: Processing buffer {"connection_id":193862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:28:08] local.INFO: Packet analysis {"connection_id":193862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:28:08] local.INFO: Extracted packet for processing {"connection_id":193862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296784640001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790222116000,"timestamp_ms":1790222116000,"timestamp_seconds":1790222116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d18da4a0"} 
[2026-09-24 09:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:28:08] 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-09-24 09: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-09-24 09:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296784640001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296784640001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:28:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296784640001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":193862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:28:08] local.INFO: GPS data processed {"connection_id":193862,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:28:08] local.INFO: Acknowledgment sent {"connection_id":193862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:28:10] local.INFO: TCP Data received {"connection_id":191179,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191179,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:28:10] local.INFO: Processing buffer {"connection_id":191179,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:28:10] local.INFO: IMEI packet received {"connection_id":191179,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":191179,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:28:11] local.INFO: TCP Data received {"connection_id":191179,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191179,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:28:11] local.INFO: Processing buffer {"connection_id":191179,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:28:11] local.INFO: IMEI packet received {"connection_id":191179,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":191179,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:28:12] local.INFO: TCP Data received {"connection_id":191179,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d18fa070012d0c96000705f6800014009d24..."} 
[2026-09-24 09:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d18fa070012d0c96000705f6800014009d24..."} 
[2026-09-24 09:28:12] local.INFO: Processing buffer {"connection_id":191179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d18fa070012d0c96000705f6800014009d24..."} 
[2026-09-24 09:28:12] local.INFO: Packet analysis {"connection_id":191179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d18f"} 
[2026-09-24 09:28:12] local.INFO: Extracted packet for processing {"connection_id":191179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d18f"} 
[2026-09-24 09:28:12] local.INFO: GPS Element Parsed {"raw_longitude":755799552,"raw_latitude":117831296,"longitude_deg":75.5799552,"latitude_deg":11.7831296,"altitude":20,"angle":157,"satellites":36,"speed":17,"hex_longitude":"2d0c9600","hex_latitude":"0705f680","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296894208001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33608664552046592,"note":"Value kept but may cause issues"} 
[2026-09-24 09:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906349455173386240,"note":"Value kept but may cause issues"} 
[2026-09-24 09:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790222246000,"timestamp_ms":1790222246000,"timestamp_seconds":1790222246,"priority":1,"record_length":96,"hex_timestamp":"000001a0d18fa070"} 
[2026-09-24 09:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 09:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191179,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191179,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296894208001,"66":14298,"220":206,"94":10240,"24":17,"16":33608664552046592,"45":906349455173386240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-24 09:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296894208001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:28:12] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-24 09:28:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33608664552046592,"km_value":33608664552046.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":906349455173386240,"description":"Unknown IO ID 45"} 
[2026-09-24 09:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296894208001,"power":14298,"unknown_220":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":906349455173386240}} 
[2026-09-24 09:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":191179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888979,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:28:12] local.INFO: GPS data processed {"connection_id":191179,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:28:12] local.INFO: Acknowledgment sent {"connection_id":191179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:28:17] local.INFO: TCP Data received {"connection_id":191179,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d18fb010012d0c99400705f1100014009225..."} 
[2026-09-24 09:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d18fb010012d0c99400705f1100014009225..."} 
[2026-09-24 09:28:17] local.INFO: Processing buffer {"connection_id":191179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d18fb010012d0c99400705f1100014009225..."} 
[2026-09-24 09:28:17] local.INFO: Packet analysis {"connection_id":191179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d18f"} 
[2026-09-24 09:28:17] local.INFO: Extracted packet for processing {"connection_id":191179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d18f"} 
[2026-09-24 09:28:17] local.INFO: GPS Element Parsed {"raw_longitude":755800384,"raw_latitude":117829904,"longitude_deg":75.5800384,"latitude_deg":11.7829904,"altitude":20,"angle":146,"satellites":37,"speed":12,"hex_longitude":"2d0c9940","hex_latitude":"0705f110","is_valid_coordinates":true} 
[2026-09-24 09:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296894976001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33608741861457920,"note":"Value kept but may cause issues"} 
[2026-09-24 09:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906912405126545408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790222250000,"timestamp_ms":1790222250000,"timestamp_seconds":1790222250,"priority":1,"record_length":96,"hex_timestamp":"000001a0d18fb010"} 
[2026-09-24 09:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-24 09:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191179,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191179,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296894976001,"66":14515,"220":206,"94":10240,"24":12,"16":33608741861457920,"45":906912405126545408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-24 09:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296894976001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:28:17] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-24 09:28:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33608741861457920,"km_value":33608741861457.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":906912405126545408,"description":"Unknown IO ID 45"} 
[2026-09-24 09:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296894976001,"power":14515,"unknown_220":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":906912405126545408}} 
[2026-09-24 09:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":191179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888980,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:28:17] local.INFO: GPS data processed {"connection_id":191179,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:28:17] local.INFO: Acknowledgment sent {"connection_id":191179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:28:34] local.INFO: TCP Data received {"connection_id":190981,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:28:34] local.INFO: Processing buffer {"connection_id":190981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:28:34] local.INFO: IMEI packet received {"connection_id":190981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":190981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:28:39] local.INFO: TCP Data received {"connection_id":190981,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:28:39] local.INFO: Processing buffer {"connection_id":190981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:28:39] local.INFO: IMEI packet received {"connection_id":190981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":190981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:28:40] local.INFO: TCP Data received {"connection_id":190981,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:28:40] local.INFO: Processing buffer {"connection_id":190981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:28:40] local.INFO: Packet analysis {"connection_id":190981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:28:40] local.INFO: Extracted packet for processing {"connection_id":190981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:28:40] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296784640001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790222116000,"timestamp_ms":1790222116000,"timestamp_seconds":1790222116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d18da4a0"} 
[2026-09-24 09:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296784640001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296784640001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:28:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:28:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296784640001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":190981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:28:40] local.INFO: GPS data processed {"connection_id":190981,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:28:40] local.INFO: Acknowledgment sent {"connection_id":190981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:28:45] local.INFO: TCP Data received {"connection_id":190981,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:28:45] local.INFO: Processing buffer {"connection_id":190981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:28:45] local.INFO: Packet analysis {"connection_id":190981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:28:45] local.INFO: Extracted packet for processing {"connection_id":190981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:28:45] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296784640001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790222116000,"timestamp_ms":1790222116000,"timestamp_seconds":1790222116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d18da4a0"} 
[2026-09-24 09:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:28:45] 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-09-24 09:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":190981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":190981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":190981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296784640001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296784640001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:28:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:28:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296784640001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":190981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:28:45] local.INFO: GPS data processed {"connection_id":190981,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:28:45] local.INFO: Acknowledgment sent {"connection_id":190981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:28:48] local.INFO: TCP Data received {"connection_id":191179,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d18feaa8012d0ca5800705dfa00012009d24..."} 
[2026-09-24 09:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d18feaa8012d0ca5800705dfa00012009d24..."} 
[2026-09-24 09:28:48] local.INFO: Processing buffer {"connection_id":191179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d18feaa8012d0ca5800705dfa00012009d24..."} 
[2026-09-24 09:28:48] local.INFO: Packet analysis {"connection_id":191179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d18f"} 
[2026-09-24 09:28:48] local.INFO: Extracted packet for processing {"connection_id":191179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d18f"} 
[2026-09-24 09:28:48] local.INFO: GPS Element Parsed {"raw_longitude":755803520,"raw_latitude":117825440,"longitude_deg":75.580352,"latitude_deg":11.782544,"altitude":18,"angle":157,"satellites":36,"speed":12,"hex_longitude":"2d0ca580","hex_latitude":"0705dfa0","is_valid_coordinates":true} 
[2026-09-24 09:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296896000001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33609003854462976,"note":"Value kept but may cause issues"} 
[2026-09-24 09:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907827198800498688,"note":"Value kept but may cause issues"} 
[2026-09-24 09:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790222265000,"timestamp_ms":1790222265000,"timestamp_seconds":1790222265,"priority":1,"record_length":96,"hex_timestamp":"000001a0d18feaa8"} 
[2026-09-24 09:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-24 09:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191179,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191179,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296896000001,"66":14309,"220":206,"94":10240,"24":12,"16":33609003854462976,"45":907827198800498688},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-24 09:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296896000001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:28:48] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-24 09:28:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33609003854462976,"km_value":33609003854462.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":907827198800498688,"description":"Unknown IO ID 45"} 
[2026-09-24 09:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296896000001,"power":14309,"unknown_220":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":907827198800498688}} 
[2026-09-24 09:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":191179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888983,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:28:49] local.INFO: GPS data processed {"connection_id":191179,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:28:49] local.INFO: Acknowledgment sent {"connection_id":191179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:29:06] local.INFO: TCP Data received {"connection_id":192548,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192548,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:29:06] local.INFO: Processing buffer {"connection_id":192548,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:29:06] local.INFO: IMEI packet received {"connection_id":192548,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":192548,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:29:07] local.INFO: TCP Data received {"connection_id":192548,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192548,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:29:07] local.INFO: Processing buffer {"connection_id":192548,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:29:07] local.INFO: IMEI packet received {"connection_id":192548,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":192548,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:29:08] local.INFO: TCP Data received {"connection_id":192548,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192548,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:29:08] local.INFO: Processing buffer {"connection_id":192548,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:29:08] local.INFO: IMEI packet received {"connection_id":192548,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":192548,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:29:09] local.INFO: TCP Data received {"connection_id":192548,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192548,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:29:09] local.INFO: Processing buffer {"connection_id":192548,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:29:09] local.INFO: IMEI packet received {"connection_id":192548,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":192548,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:29:29] local.INFO: TCP Data received {"connection_id":191180,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:29:29] local.INFO: Processing buffer {"connection_id":191180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:29:29] local.INFO: IMEI packet received {"connection_id":191180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":191180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:29:34] local.INFO: TCP Data received {"connection_id":191180,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:29:34] local.INFO: Processing buffer {"connection_id":191180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:29:34] local.INFO: IMEI packet received {"connection_id":191180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":191180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:29:35] local.INFO: TCP Data received {"connection_id":191180,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:29:35] local.INFO: Processing buffer {"connection_id":191180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:29:35] local.INFO: Packet analysis {"connection_id":191180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:29:35] local.INFO: Extracted packet for processing {"connection_id":191180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296784640001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790222116000,"timestamp_ms":1790222116000,"timestamp_seconds":1790222116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d18da4a0"} 
[2026-09-24 09:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:29:35] 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-09-24 09:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296784640001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296784640001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:29:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:29:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296784640001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":191180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:29:35] local.INFO: GPS data processed {"connection_id":191180,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:29:35] local.INFO: Acknowledgment sent {"connection_id":191180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:30:07] local.INFO: TCP Data received {"connection_id":191180,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:30:07] local.INFO: Processing buffer {"connection_id":191180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:30:07] local.INFO: Packet analysis {"connection_id":191180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:30:07] local.INFO: Extracted packet for processing {"connection_id":191180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:30:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296784640001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790222116000,"timestamp_ms":1790222116000,"timestamp_seconds":1790222116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d18da4a0"} 
[2026-09-24 09:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296784640001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296784640001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:30:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:30:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296784640001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":191180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:30:07] local.INFO: GPS data processed {"connection_id":191180,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:30:07] local.INFO: Acknowledgment sent {"connection_id":191180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:30:29] local.INFO: TCP Data received {"connection_id":190983,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:30:29] local.INFO: Processing buffer {"connection_id":190983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:30:29] local.INFO: IMEI packet received {"connection_id":190983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":190983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:30:34] local.INFO: TCP Data received {"connection_id":190983,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:30:34] local.INFO: Processing buffer {"connection_id":190983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:30:34] local.INFO: IMEI packet received {"connection_id":190983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":190983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:30:35] local.INFO: TCP Data received {"connection_id":190983,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:30:35] local.INFO: Processing buffer {"connection_id":190983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d18da4a0012d34c24006aa4930000901382d..."} 
[2026-09-24 09:30:35] local.INFO: Packet analysis {"connection_id":190983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:30:35] local.INFO: Extracted packet for processing {"connection_id":190983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d18d"} 
[2026-09-24 09:30:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296784640001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790222116000,"timestamp_ms":1790222116000,"timestamp_seconds":1790222116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d18da4a0"} 
[2026-09-24 09:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:30:35] 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-09-24 09:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296784640001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296784640001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:30:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:30:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296784640001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":190983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:30:35] local.INFO: GPS data processed {"connection_id":190983,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:30:35] local.INFO: Acknowledgment sent {"connection_id":190983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:31:06] local.INFO: TCP Data received {"connection_id":190983,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:31:06] local.INFO: Processing buffer {"connection_id":190983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:31:06] local.INFO: Packet analysis {"connection_id":190983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d192"} 
[2026-09-24 09:31:06] local.INFO: Extracted packet for processing {"connection_id":190983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d192"} 
[2026-09-24 09:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296861696001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790222417000,"timestamp_ms":1790222417000,"timestamp_seconds":1790222417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1923c68"} 
[2026-09-24 09:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296861696001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296861696001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:31:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:31:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296861696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":190983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:31:06] local.INFO: GPS data processed {"connection_id":190983,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:31:06] local.INFO: Acknowledgment sent {"connection_id":190983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:31:29] local.INFO: TCP Data received {"connection_id":191181,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:31:29] local.INFO: Processing buffer {"connection_id":191181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:31:29] local.INFO: IMEI packet received {"connection_id":191181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":191181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:31:34] local.INFO: TCP Data received {"connection_id":191181,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:31:34] local.INFO: Processing buffer {"connection_id":191181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:31:34] local.INFO: IMEI packet received {"connection_id":191181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":191181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:31:35] local.INFO: TCP Data received {"connection_id":191181,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:31:35] local.INFO: Processing buffer {"connection_id":191181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:31:35] local.INFO: Packet analysis {"connection_id":191181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d192"} 
[2026-09-24 09:31:35] local.INFO: Extracted packet for processing {"connection_id":191181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d192"} 
[2026-09-24 09:31:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296861696001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790222417000,"timestamp_ms":1790222417000,"timestamp_seconds":1790222417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1923c68"} 
[2026-09-24 09:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296861696001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296861696001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:31:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:31:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296861696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":191181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:31:35] local.INFO: GPS data processed {"connection_id":191181,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:31:35] local.INFO: Acknowledgment sent {"connection_id":191181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:32:07] local.INFO: TCP Data received {"connection_id":191181,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:32:07] local.INFO: Processing buffer {"connection_id":191181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:32:07] local.INFO: Packet analysis {"connection_id":191181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d192"} 
[2026-09-24 09:32:07] local.INFO: Extracted packet for processing {"connection_id":191181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d192"} 
[2026-09-24 09:32:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296861696001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790222417000,"timestamp_ms":1790222417000,"timestamp_seconds":1790222417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1923c68"} 
[2026-09-24 09:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296861696001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296861696001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:32:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:32:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296861696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":191181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:32:07] local.INFO: GPS data processed {"connection_id":191181,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:32:07] local.INFO: Acknowledgment sent {"connection_id":191181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:32:29] local.INFO: TCP Data received {"connection_id":193863,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:32:29] local.INFO: Processing buffer {"connection_id":193863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:32:29] local.INFO: IMEI packet received {"connection_id":193863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":193863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:32:34] local.INFO: TCP Data received {"connection_id":193863,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:32:34] local.INFO: Processing buffer {"connection_id":193863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:32:34] local.INFO: IMEI packet received {"connection_id":193863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":193863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:32:35] local.INFO: TCP Data received {"connection_id":193863,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:32:35] local.INFO: Processing buffer {"connection_id":193863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:32:35] local.INFO: Packet analysis {"connection_id":193863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d192"} 
[2026-09-24 09:32:35] local.INFO: Extracted packet for processing {"connection_id":193863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d192"} 
[2026-09-24 09:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296861696001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790222417000,"timestamp_ms":1790222417000,"timestamp_seconds":1790222417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1923c68"} 
[2026-09-24 09:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296861696001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296861696001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:32:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:32:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296861696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":193863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:32:35] local.INFO: GPS data processed {"connection_id":193863,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:32:35] local.INFO: Acknowledgment sent {"connection_id":193863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:33:06] local.INFO: TCP Data received {"connection_id":193863,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:33:06] local.INFO: Processing buffer {"connection_id":193863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:33:06] local.INFO: Packet analysis {"connection_id":193863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d192"} 
[2026-09-24 09:33:06] local.INFO: Extracted packet for processing {"connection_id":193863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d192"} 
[2026-09-24 09:33:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296861696001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790222417000,"timestamp_ms":1790222417000,"timestamp_seconds":1790222417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1923c68"} 
[2026-09-24 09:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296861696001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296861696001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:33:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:33:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296861696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":193863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:33:06] local.INFO: GPS data processed {"connection_id":193863,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:33:06] local.INFO: Acknowledgment sent {"connection_id":193863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:33:34] local.INFO: TCP Data received {"connection_id":193864,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:33:34] local.INFO: Processing buffer {"connection_id":193864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:33:34] local.INFO: IMEI packet received {"connection_id":193864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":193864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:33:39] local.INFO: TCP Data received {"connection_id":193864,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:33:39] local.INFO: Processing buffer {"connection_id":193864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:33:39] local.INFO: IMEI packet received {"connection_id":193864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":193864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:33:40] local.INFO: TCP Data received {"connection_id":193864,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:33:40] local.INFO: Processing buffer {"connection_id":193864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:33:40] local.INFO: Packet analysis {"connection_id":193864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d192"} 
[2026-09-24 09:33:40] local.INFO: Extracted packet for processing {"connection_id":193864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d192"} 
[2026-09-24 09:33:40] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296861696001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790222417000,"timestamp_ms":1790222417000,"timestamp_seconds":1790222417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1923c68"} 
[2026-09-24 09:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296861696001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296861696001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:33:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:33:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296861696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":193864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:33:40] local.INFO: GPS data processed {"connection_id":193864,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:33:40] local.INFO: Acknowledgment sent {"connection_id":193864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:33:44] local.INFO: TCP Data received {"connection_id":193864,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:33:44] local.INFO: Processing buffer {"connection_id":193864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:33:44] local.INFO: Packet analysis {"connection_id":193864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d192"} 
[2026-09-24 09:33:44] local.INFO: Extracted packet for processing {"connection_id":193864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d192"} 
[2026-09-24 09:33:44] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296861696001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790222417000,"timestamp_ms":1790222417000,"timestamp_seconds":1790222417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1923c68"} 
[2026-09-24 09:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296861696001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296861696001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:33:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:33:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296861696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":193864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:33:44] local.INFO: GPS data processed {"connection_id":193864,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:33:44] local.INFO: Acknowledgment sent {"connection_id":193864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:34:11] local.INFO: TCP Data received {"connection_id":191183,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191183,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:34:11] local.INFO: Processing buffer {"connection_id":191183,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:34:11] local.INFO: IMEI packet received {"connection_id":191183,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":191183,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:34:16] local.INFO: TCP Data received {"connection_id":191183,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191183,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:34:16] local.INFO: Processing buffer {"connection_id":191183,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:34:16] local.INFO: IMEI packet received {"connection_id":191183,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":191183,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:34:17] local.INFO: TCP Data received {"connection_id":191183,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1958440012d0d35c0070472a0001200cd24..."} 
[2026-09-24 09:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1958440012d0d35c0070472a0001200cd24..."} 
[2026-09-24 09:34:17] local.INFO: Processing buffer {"connection_id":191183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1958440012d0d35c0070472a0001200cd24..."} 
[2026-09-24 09:34:17] local.INFO: Packet analysis {"connection_id":191183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d195"} 
[2026-09-24 09:34:17] local.INFO: Extracted packet for processing {"connection_id":191183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d195"} 
[2026-09-24 09:34:17] local.INFO: GPS Element Parsed {"raw_longitude":755840448,"raw_latitude":117732000,"longitude_deg":75.5840448,"latitude_deg":11.7732,"altitude":18,"angle":205,"satellites":36,"speed":13,"hex_longitude":"2d0d35c0","hex_latitude":"070472a0","is_valid_coordinates":true} 
[2026-09-24 09:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296993024001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33617065508077568,"note":"Value kept but may cause issues"} 
[2026-09-24 09:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952229876351793152,"note":"Value kept but may cause issues"} 
[2026-09-24 09:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790222632000,"timestamp_ms":1790222632000,"timestamp_seconds":1790222632,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1958440"} 
[2026-09-24 09:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-24 09:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296993024001,"66":14298,"17":206,"94":11008,"24":13,"16":33617065508077568,"45":952229876351793152},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-24 09:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296993024001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:34:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 09:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33617065508077568,"km_value":33617065508077.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":952229876351793152,"description":"Unknown IO ID 45"} 
[2026-09-24 09:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296993024001,"power":14298,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":952229876351793152}} 
[2026-09-24 09:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":191183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888994,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:34:17] local.INFO: GPS data processed {"connection_id":191183,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:34:17] local.INFO: Acknowledgment sent {"connection_id":191183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:34:29] local.INFO: TCP Data received {"connection_id":192551,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:34:29] local.INFO: Processing buffer {"connection_id":192551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:34:29] local.INFO: IMEI packet received {"connection_id":192551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":192551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:34:34] local.INFO: TCP Data received {"connection_id":192551,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:34:34] local.INFO: Processing buffer {"connection_id":192551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:34:34] local.INFO: IMEI packet received {"connection_id":192551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":192551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:34:35] local.INFO: TCP Data received {"connection_id":192551,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:34:35] local.INFO: Processing buffer {"connection_id":192551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:34:35] local.INFO: Packet analysis {"connection_id":192551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d192"} 
[2026-09-24 09:34:35] local.INFO: Extracted packet for processing {"connection_id":192551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d192"} 
[2026-09-24 09:34:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296861696001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790222417000,"timestamp_ms":1790222417000,"timestamp_seconds":1790222417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1923c68"} 
[2026-09-24 09:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296861696001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296861696001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:34:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:34:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296861696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":192551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:34:35] local.INFO: GPS data processed {"connection_id":192551,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:34:35] local.INFO: Acknowledgment sent {"connection_id":192551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:34:48] local.INFO: TCP Data received {"connection_id":191183,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1958ff8012d0d344007046f28001200c124..."} 
[2026-09-24 09:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1958ff8012d0d344007046f28001200c124..."} 
[2026-09-24 09:34:48] local.INFO: Processing buffer {"connection_id":191183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1958ff8012d0d344007046f28001200c124..."} 
[2026-09-24 09:34:48] local.INFO: Packet analysis {"connection_id":191183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d195"} 
[2026-09-24 09:34:48] local.INFO: Extracted packet for processing {"connection_id":191183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d195"} 
[2026-09-24 09:34:48] local.INFO: GPS Element Parsed {"raw_longitude":755840064,"raw_latitude":117731112,"longitude_deg":75.5840064,"latitude_deg":11.7731112,"altitude":18,"angle":193,"satellites":36,"speed":11,"hex_longitude":"2d0d3440","hex_latitude":"07046f28","is_valid_coordinates":true} 
[2026-09-24 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-09-24 09:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296993792001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33617112752717824,"note":"Value kept but may cause issues"} 
[2026-09-24 09:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951878032630652928,"note":"Value kept but may cause issues"} 
[2026-09-24 09:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790222635000,"timestamp_ms":1790222635000,"timestamp_seconds":1790222635,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1958ff8"} 
[2026-09-24 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-09-24 09:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-24 09:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 09:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296993792001,"66":14135,"17":206,"94":11008,"24":11,"16":33617112752717824,"45":951878032630652928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-24 09:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296993792001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:34:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 09:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33617112752717824,"km_value":33617112752717.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":951878032630652928,"description":"Unknown IO ID 45"} 
[2026-09-24 09:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296993792001,"power":14135,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":951878032630652928}} 
[2026-09-24 09:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":191183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888996,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:34:48] local.INFO: GPS data processed {"connection_id":191183,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:34:48] local.INFO: Acknowledgment sent {"connection_id":191183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:35:05] local.INFO: TCP Data received {"connection_id":193865,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193865,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:35:05] local.INFO: Processing buffer {"connection_id":193865,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:35:05] local.INFO: IMEI packet received {"connection_id":193865,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":193865,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:35:06] local.INFO: TCP Data received {"connection_id":193865,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193865,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:35:06] local.INFO: Processing buffer {"connection_id":193865,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:35:06] local.INFO: IMEI packet received {"connection_id":193865,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":193865,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:35:06] local.INFO: TCP Data received {"connection_id":192551,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:35:06] local.INFO: Processing buffer {"connection_id":192551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:35:06] local.INFO: Packet analysis {"connection_id":192551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d192"} 
[2026-09-24 09:35:06] local.INFO: Extracted packet for processing {"connection_id":192551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d192"} 
[2026-09-24 09:35:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296861696001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790222417000,"timestamp_ms":1790222417000,"timestamp_seconds":1790222417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1923c68"} 
[2026-09-24 09:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296861696001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296861696001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:35:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:35:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296861696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":192551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:35:06] local.INFO: GPS data processed {"connection_id":192551,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:35:06] local.INFO: Acknowledgment sent {"connection_id":192551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:35:07] local.INFO: TCP Data received {"connection_id":193865,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193865,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:35:07] local.INFO: Processing buffer {"connection_id":193865,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:35:07] local.INFO: IMEI packet received {"connection_id":193865,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":193865,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:35:11] local.INFO: TCP Data received {"connection_id":193865,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193865,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:35:11] local.INFO: Processing buffer {"connection_id":193865,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:35:11] local.INFO: IMEI packet received {"connection_id":193865,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":193865,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:35:12] local.INFO: TCP Data received {"connection_id":193865,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d195ab50012d0d330007046a80001200cf24..."} 
[2026-09-24 09:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d195ab50012d0d330007046a80001200cf24..."} 
[2026-09-24 09:35:12] local.INFO: Processing buffer {"connection_id":193865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d195ab50012d0d330007046a80001200cf24..."} 
[2026-09-24 09:35:12] local.INFO: Packet analysis {"connection_id":193865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d195"} 
[2026-09-24 09:35:12] local.INFO: Extracted packet for processing {"connection_id":193865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d195"} 
[2026-09-24 09:35:12] local.INFO: GPS Element Parsed {"raw_longitude":755839744,"raw_latitude":117729920,"longitude_deg":75.5839744,"latitude_deg":11.772992,"altitude":18,"angle":207,"satellites":36,"speed":6,"hex_longitude":"2d0d3300","hex_latitude":"07046a80","is_valid_coordinates":true} 
[2026-09-24 09:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296994560001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33617172882259968,"note":"Value kept but may cause issues"} 
[2026-09-24 09:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951455820165359616,"note":"Value kept but may cause issues"} 
[2026-09-24 09:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790222642000,"timestamp_ms":1790222642000,"timestamp_seconds":1790222642,"priority":1,"record_length":96,"hex_timestamp":"000001a0d195ab50"} 
[2026-09-24 09:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-24 09:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193865,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193865,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296994560001,"66":14548,"17":206,"94":11008,"24":6,"16":33617172882259968,"45":951455820165359616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-24 09:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296994560001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:35:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 09:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33617172882259968,"km_value":33617172882259.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":951455820165359616,"description":"Unknown IO ID 45"} 
[2026-09-24 09:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296994560001,"power":14548,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":951455820165359616}} 
[2026-09-24 09:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":193865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888998,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:35:12] local.INFO: GPS data processed {"connection_id":193865,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:35:12] local.INFO: Acknowledgment sent {"connection_id":193865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:35:29] local.INFO: TCP Data received {"connection_id":191184,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:35:29] local.INFO: Processing buffer {"connection_id":191184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:35:29] local.INFO: IMEI packet received {"connection_id":191184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":191184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:35:34] local.INFO: TCP Data received {"connection_id":191184,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:35:34] local.INFO: Processing buffer {"connection_id":191184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:35:34] local.INFO: IMEI packet received {"connection_id":191184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":191184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:35:35] local.INFO: TCP Data received {"connection_id":191184,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:35:35] local.INFO: Processing buffer {"connection_id":191184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1923c68012d34c24006aa4930000901382c..."} 
[2026-09-24 09:35:35] local.INFO: Packet analysis {"connection_id":191184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d192"} 
[2026-09-24 09:35:35] local.INFO: Extracted packet for processing {"connection_id":191184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d192"} 
[2026-09-24 09:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296861696001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790222417000,"timestamp_ms":1790222417000,"timestamp_seconds":1790222417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1923c68"} 
[2026-09-24 09:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296861696001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296861696001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:35:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:35:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296861696001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":191184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":888999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:35:35] local.INFO: GPS data processed {"connection_id":191184,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:35:35] local.INFO: Acknowledgment sent {"connection_id":191184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:35:43] local.INFO: TCP Data received {"connection_id":193865,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d195b320012d0d3280070468b8001200c224..."} 
[2026-09-24 09:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d195b320012d0d3280070468b8001200c224..."} 
[2026-09-24 09:35:43] local.INFO: Processing buffer {"connection_id":193865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d195b320012d0d3280070468b8001200c224..."} 
[2026-09-24 09:35:43] local.INFO: Packet analysis {"connection_id":193865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d195"} 
[2026-09-24 09:35:43] local.INFO: Extracted packet for processing {"connection_id":193865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d195"} 
[2026-09-24 09:35:43] local.INFO: GPS Element Parsed {"raw_longitude":755839616,"raw_latitude":117729464,"longitude_deg":75.5839616,"latitude_deg":11.7729464,"altitude":18,"angle":194,"satellites":36,"speed":9,"hex_longitude":"2d0d3280","hex_latitude":"070468b8","is_valid_coordinates":true} 
[2026-09-24 09:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296996352001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33617198652063744,"note":"Value kept but may cause issues"} 
[2026-09-24 09:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951103976444166144,"note":"Value kept but may cause issues"} 
[2026-09-24 09:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790222644000,"timestamp_ms":1790222644000,"timestamp_seconds":1790222644,"priority":1,"record_length":96,"hex_timestamp":"000001a0d195b320"} 
[2026-09-24 09:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-24 09:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193865,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193865,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296996352001,"66":14309,"17":206,"94":11008,"24":9,"16":33617198652063744,"45":951103976444166144},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-24 09:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296996352001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:35:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 09:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33617198652063744,"km_value":33617198652063.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":951103976444166144,"description":"Unknown IO ID 45"} 
[2026-09-24 09:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296996352001,"power":14309,"axis_x":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":951103976444166144}} 
[2026-09-24 09:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":193865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889000,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:35:43] local.INFO: GPS data processed {"connection_id":193865,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:35:43] local.INFO: Acknowledgment sent {"connection_id":193865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:36:06] local.INFO: TCP Data received {"connection_id":190984,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190984,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:36:06] local.INFO: Processing buffer {"connection_id":190984,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:36:06] local.INFO: IMEI packet received {"connection_id":190984,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":190984,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:36:07] local.INFO: TCP Data received {"connection_id":191184,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:36:07] local.INFO: Processing buffer {"connection_id":191184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:36:07] local.INFO: Packet analysis {"connection_id":191184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d196"} 
[2026-09-24 09:36:07] local.INFO: Extracted packet for processing {"connection_id":191184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d196"} 
[2026-09-24 09:36:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296938752001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790222718000,"timestamp_ms":1790222718000,"timestamp_seconds":1790222718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d196d430"} 
[2026-09-24 09:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296938752001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296938752001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:36:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:36:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296938752001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":191184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:36:07] local.INFO: GPS data processed {"connection_id":191184,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:36:07] local.INFO: Acknowledgment sent {"connection_id":191184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:36:11] local.INFO: TCP Data received {"connection_id":190984,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190984,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:36:11] local.INFO: Processing buffer {"connection_id":190984,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:36:11] local.INFO: IMEI packet received {"connection_id":190984,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":190984,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:36:12] local.INFO: TCP Data received {"connection_id":190984,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d195baf0012d0d324007046628001200b723..."} 
[2026-09-24 09:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d195baf0012d0d324007046628001200b723..."} 
[2026-09-24 09:36:12] local.INFO: Processing buffer {"connection_id":190984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d195baf0012d0d324007046628001200b723..."} 
[2026-09-24 09:36:12] local.INFO: Packet analysis {"connection_id":190984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d195"} 
[2026-09-24 09:36:12] local.INFO: Extracted packet for processing {"connection_id":190984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d195"} 
[2026-09-24 09:36:12] local.INFO: GPS Element Parsed {"raw_longitude":755839552,"raw_latitude":117728808,"longitude_deg":75.5839552,"latitude_deg":11.7728808,"altitude":18,"angle":183,"satellites":35,"speed":15,"hex_longitude":"2d0d3240","hex_latitude":"07046628","is_valid_coordinates":true} 
[2026-09-24 09:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296996864001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33617228716834816,"note":"Value kept but may cause issues"} 
[2026-09-24 09:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950963238955694080,"note":"Value kept but may cause issues"} 
[2026-09-24 09:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790222646000,"timestamp_ms":1790222646000,"timestamp_seconds":1790222646,"priority":1,"record_length":96,"hex_timestamp":"000001a0d195baf0"} 
[2026-09-24 09:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-24 09:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296996864001,"66":14407,"17":206,"94":11008,"24":15,"16":33617228716834816,"45":950963238955694080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-24 09:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296996864001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:36:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 09:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33617228716834816,"km_value":33617228716834.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":950963238955694080,"description":"Unknown IO ID 45"} 
[2026-09-24 09:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296996864001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":950963238955694080}} 
[2026-09-24 09:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":190984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889002,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:36:12] local.INFO: GPS data processed {"connection_id":190984,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:36:12] local.INFO: Acknowledgment sent {"connection_id":190984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:36:28] local.INFO: TCP Data received {"connection_id":193866,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:36:28] local.INFO: Processing buffer {"connection_id":193866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:36:28] local.INFO: IMEI packet received {"connection_id":193866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":193866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:36:34] local.INFO: TCP Data received {"connection_id":193866,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:36:34] local.INFO: Processing buffer {"connection_id":193866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:36:34] local.INFO: IMEI packet received {"connection_id":193866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":193866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:36:35] local.INFO: TCP Data received {"connection_id":193866,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:36:35] local.INFO: Processing buffer {"connection_id":193866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:36:35] local.INFO: Packet analysis {"connection_id":193866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d196"} 
[2026-09-24 09:36:35] local.INFO: Extracted packet for processing {"connection_id":193866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d196"} 
[2026-09-24 09:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 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-09-24 09:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296938752001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790222718000,"timestamp_ms":1790222718000,"timestamp_seconds":1790222718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d196d430"} 
[2026-09-24 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-09-24 09:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:36:35] 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-09-24 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-09-24 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-09-24 09:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296938752001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296938752001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:36:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:36:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296938752001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":193866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:36:35] local.INFO: GPS data processed {"connection_id":193866,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:36:35] local.INFO: Acknowledgment sent {"connection_id":193866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:36:43] local.INFO: TCP Data received {"connection_id":190984,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d197aef0012d0d2c000703d338001100a924..."} 
[2026-09-24 09:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d197aef0012d0d2c000703d338001100a924..."} 
[2026-09-24 09:36:43] local.INFO: Processing buffer {"connection_id":190984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d197aef0012d0d2c000703d338001100a924..."} 
[2026-09-24 09:36:43] local.INFO: Packet analysis {"connection_id":190984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d197"} 
[2026-09-24 09:36:43] local.INFO: Extracted packet for processing {"connection_id":190984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d197"} 
[2026-09-24 09:36:43] local.INFO: GPS Element Parsed {"raw_longitude":755837952,"raw_latitude":117691192,"longitude_deg":75.5837952,"latitude_deg":11.7691192,"altitude":17,"angle":169,"satellites":36,"speed":18,"hex_longitude":"2d0d2c00","hex_latitude":"0703d338","is_valid_coordinates":true} 
[2026-09-24 09:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297025280001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33619097027608576,"note":"Value kept but may cause issues"} 
[2026-09-24 09:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948218857925216256,"note":"Value kept but may cause issues"} 
[2026-09-24 09:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790222774000,"timestamp_ms":1790222774000,"timestamp_seconds":1790222774,"priority":1,"record_length":96,"hex_timestamp":"000001a0d197aef0"} 
[2026-09-24 09:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-24 09:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190984,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297025280001,"66":14265,"17":206,"94":11008,"24":18,"16":33619097027608576,"45":948218857925216256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-24 09:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297025280001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:36:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 09:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33619097027608576,"km_value":33619097027608.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":948218857925216256,"description":"Unknown IO ID 45"} 
[2026-09-24 09:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297025280001,"power":14265,"axis_x":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":948218857925216256}} 
[2026-09-24 09:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":190984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889004,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:36:43] local.INFO: GPS data processed {"connection_id":190984,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:36:43] local.INFO: Acknowledgment sent {"connection_id":190984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:37:06] local.INFO: TCP Data received {"connection_id":193866,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:37:06] local.INFO: Processing buffer {"connection_id":193866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:37:06] local.INFO: Packet analysis {"connection_id":193866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d196"} 
[2026-09-24 09:37:06] local.INFO: Extracted packet for processing {"connection_id":193866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d196"} 
[2026-09-24 09:37:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296938752001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790222718000,"timestamp_ms":1790222718000,"timestamp_seconds":1790222718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d196d430"} 
[2026-09-24 09:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296938752001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296938752001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:37:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:37:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296938752001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":193866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:37:06] local.INFO: GPS data processed {"connection_id":193866,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:37:06] local.INFO: Acknowledgment sent {"connection_id":193866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:37:06] local.INFO: TCP Data received {"connection_id":192552,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192552,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:37:06] local.INFO: Processing buffer {"connection_id":192552,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:37:06] local.INFO: IMEI packet received {"connection_id":192552,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":192552,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:37:07] local.INFO: TCP Data received {"connection_id":192552,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192552,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:37:07] local.INFO: Processing buffer {"connection_id":192552,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:37:07] local.INFO: IMEI packet received {"connection_id":192552,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":192552,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:37:07] local.INFO: TCP Data received {"connection_id":192552,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192552,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:37:07] local.INFO: Processing buffer {"connection_id":192552,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:37:07] local.INFO: IMEI packet received {"connection_id":192552,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":192552,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:37:08] local.INFO: TCP Data received {"connection_id":192552,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192552,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:37:08] local.INFO: Processing buffer {"connection_id":192552,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:37:08] local.INFO: IMEI packet received {"connection_id":192552,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":192552,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:37:29] local.INFO: TCP Data received {"connection_id":191185,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:37:29] local.INFO: Processing buffer {"connection_id":191185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:37:29] local.INFO: IMEI packet received {"connection_id":191185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":191185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:37:34] local.INFO: TCP Data received {"connection_id":191185,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:37:34] local.INFO: Processing buffer {"connection_id":191185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:37:34] local.INFO: IMEI packet received {"connection_id":191185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":191185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:37:35] local.INFO: TCP Data received {"connection_id":191185,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:37:35] local.INFO: Processing buffer {"connection_id":191185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:37:35] local.INFO: Packet analysis {"connection_id":191185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d196"} 
[2026-09-24 09:37:35] local.INFO: Extracted packet for processing {"connection_id":191185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d196"} 
[2026-09-24 09:37:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296938752001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790222718000,"timestamp_ms":1790222718000,"timestamp_seconds":1790222718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d196d430"} 
[2026-09-24 09:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:37:35] 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-09-24 09:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296938752001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296938752001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:37:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:37:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296938752001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":191185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:37:35] local.INFO: GPS data processed {"connection_id":191185,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:37:35] local.INFO: Acknowledgment sent {"connection_id":191185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:38:07] local.INFO: TCP Data received {"connection_id":191185,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:38:07] local.INFO: Processing buffer {"connection_id":191185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:38:07] local.INFO: Packet analysis {"connection_id":191185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d196"} 
[2026-09-24 09:38:07] local.INFO: Extracted packet for processing {"connection_id":191185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d196"} 
[2026-09-24 09:38:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296938752001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790222718000,"timestamp_ms":1790222718000,"timestamp_seconds":1790222718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d196d430"} 
[2026-09-24 09:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296938752001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296938752001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:38:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:38:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296938752001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":191185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:38:07] local.INFO: GPS data processed {"connection_id":191185,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:38:07] local.INFO: Acknowledgment sent {"connection_id":191185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:38:34] local.INFO: TCP Data received {"connection_id":190985,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:38:34] local.INFO: Processing buffer {"connection_id":190985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:38:34] local.INFO: IMEI packet received {"connection_id":190985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":190985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:38:39] local.INFO: TCP Data received {"connection_id":190985,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:38:39] local.INFO: Processing buffer {"connection_id":190985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:38:39] local.INFO: IMEI packet received {"connection_id":190985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":190985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:38:40] local.INFO: TCP Data received {"connection_id":190985,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:38:40] local.INFO: Processing buffer {"connection_id":190985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:38:40] local.INFO: Packet analysis {"connection_id":190985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d196"} 
[2026-09-24 09:38:40] local.INFO: Extracted packet for processing {"connection_id":190985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d196"} 
[2026-09-24 09:38:40] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296938752001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790222718000,"timestamp_ms":1790222718000,"timestamp_seconds":1790222718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d196d430"} 
[2026-09-24 09:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296938752001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296938752001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:38:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:38:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296938752001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":190985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:38:40] local.INFO: GPS data processed {"connection_id":190985,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:38:40] local.INFO: Acknowledgment sent {"connection_id":190985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:38:45] local.INFO: TCP Data received {"connection_id":190985,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:38:45] local.INFO: Processing buffer {"connection_id":190985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:38:45] local.INFO: Packet analysis {"connection_id":190985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d196"} 
[2026-09-24 09:38:45] local.INFO: Extracted packet for processing {"connection_id":190985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d196"} 
[2026-09-24 09:38:45] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296938752001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790222718000,"timestamp_ms":1790222718000,"timestamp_seconds":1790222718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d196d430"} 
[2026-09-24 09:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:38:45] 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-09-24 09:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":190985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":190985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":190985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296938752001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296938752001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:38:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:38:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296938752001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":190985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:38:45] local.INFO: GPS data processed {"connection_id":190985,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:38:45] local.INFO: Acknowledgment sent {"connection_id":190985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:39:29] local.INFO: TCP Data received {"connection_id":190987,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:39:29] local.INFO: Processing buffer {"connection_id":190987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:39:29] local.INFO: IMEI packet received {"connection_id":190987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":190987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:39:34] local.INFO: TCP Data received {"connection_id":190987,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:39:34] local.INFO: Processing buffer {"connection_id":190987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:39:34] local.INFO: IMEI packet received {"connection_id":190987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":190987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:39:35] local.INFO: TCP Data received {"connection_id":190987,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:39:35] local.INFO: Processing buffer {"connection_id":190987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:39:35] local.INFO: Packet analysis {"connection_id":190987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d196"} 
[2026-09-24 09:39:35] local.INFO: Extracted packet for processing {"connection_id":190987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d196"} 
[2026-09-24 09:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296938752001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790222718000,"timestamp_ms":1790222718000,"timestamp_seconds":1790222718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d196d430"} 
[2026-09-24 09:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:39:35] 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-09-24 09:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296938752001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296938752001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:39:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:39:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296938752001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":190987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:39:35] local.INFO: GPS data processed {"connection_id":190987,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:39:35] local.INFO: Acknowledgment sent {"connection_id":190987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:40:06] local.INFO: TCP Data received {"connection_id":190987,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:40:06] local.INFO: Processing buffer {"connection_id":190987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:40:06] local.INFO: Packet analysis {"connection_id":190987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d196"} 
[2026-09-24 09:40:06] local.INFO: Extracted packet for processing {"connection_id":190987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d196"} 
[2026-09-24 09:40:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296938752001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790222718000,"timestamp_ms":1790222718000,"timestamp_seconds":1790222718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d196d430"} 
[2026-09-24 09:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296938752001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296938752001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:40:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:40:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296938752001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":190987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:40:06] local.INFO: GPS data processed {"connection_id":190987,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:40:06] local.INFO: Acknowledgment sent {"connection_id":190987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:40:29] local.INFO: TCP Data received {"connection_id":192553,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:40:29] local.INFO: Processing buffer {"connection_id":192553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:40:29] local.INFO: IMEI packet received {"connection_id":192553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":192553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:40:34] local.INFO: TCP Data received {"connection_id":192553,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:40:34] local.INFO: Processing buffer {"connection_id":192553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:40:34] local.INFO: IMEI packet received {"connection_id":192553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":192553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:40:35] local.INFO: TCP Data received {"connection_id":192553,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:40:35] local.INFO: Processing buffer {"connection_id":192553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d196d430012d34c24006aa4930000901382b..."} 
[2026-09-24 09:40:35] local.INFO: Packet analysis {"connection_id":192553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d196"} 
[2026-09-24 09:40:35] local.INFO: Extracted packet for processing {"connection_id":192553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d196"} 
[2026-09-24 09:40:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458296938752001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790222718000,"timestamp_ms":1790222718000,"timestamp_seconds":1790222718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d196d430"} 
[2026-09-24 09:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 09:40:35] 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-09-24 09:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458296938752001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458296938752001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:40:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:40:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458296938752001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":192553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:40:35] local.INFO: GPS data processed {"connection_id":192553,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:40:35] local.INFO: Acknowledgment sent {"connection_id":192553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:41:06] local.INFO: TCP Data received {"connection_id":192553,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:41:06] local.INFO: Processing buffer {"connection_id":192553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:41:06] local.INFO: Packet analysis {"connection_id":192553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d19b"} 
[2026-09-24 09:41:06] local.INFO: Extracted packet for processing {"connection_id":192553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d19b"} 
[2026-09-24 09:41:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297015808001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790223019000,"timestamp_ms":1790223019000,"timestamp_seconds":1790223019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d19b6bf8"} 
[2026-09-24 09:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297015808001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297015808001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:41:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:41:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297015808001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":192553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:41:06] local.INFO: GPS data processed {"connection_id":192553,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:41:06] local.INFO: Acknowledgment sent {"connection_id":192553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:41:29] local.INFO: TCP Data received {"connection_id":192554,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:41:29] local.INFO: Processing buffer {"connection_id":192554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:41:29] local.INFO: IMEI packet received {"connection_id":192554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":192554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:41:34] local.INFO: TCP Data received {"connection_id":192554,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:41:34] local.INFO: Processing buffer {"connection_id":192554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:41:34] local.INFO: IMEI packet received {"connection_id":192554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":192554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:41:36] local.INFO: TCP Data received {"connection_id":192554,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:41:36] local.INFO: Processing buffer {"connection_id":192554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:41:36] local.INFO: Packet analysis {"connection_id":192554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d19b"} 
[2026-09-24 09:41:36] local.INFO: Extracted packet for processing {"connection_id":192554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d19b"} 
[2026-09-24 09:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297015808001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790223019000,"timestamp_ms":1790223019000,"timestamp_seconds":1790223019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d19b6bf8"} 
[2026-09-24 09:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297015808001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297015808001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:41:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:41:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297015808001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":192554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:41:36] local.INFO: GPS data processed {"connection_id":192554,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:41:36] local.INFO: Acknowledgment sent {"connection_id":192554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:42:07] local.INFO: TCP Data received {"connection_id":192554,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:42:07] local.INFO: Processing buffer {"connection_id":192554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:42:07] local.INFO: Packet analysis {"connection_id":192554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d19b"} 
[2026-09-24 09:42:07] local.INFO: Extracted packet for processing {"connection_id":192554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d19b"} 
[2026-09-24 09:42:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297015808001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790223019000,"timestamp_ms":1790223019000,"timestamp_seconds":1790223019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d19b6bf8"} 
[2026-09-24 09:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297015808001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297015808001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:42:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:42:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297015808001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":192554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:42:07] local.INFO: GPS data processed {"connection_id":192554,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:42:07] local.INFO: Acknowledgment sent {"connection_id":192554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:42:11] local.INFO: TCP Data received {"connection_id":192555,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192555,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:42:11] local.INFO: Processing buffer {"connection_id":192555,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:42:11] local.INFO: IMEI packet received {"connection_id":192555,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":192555,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:42:12] local.INFO: TCP Data received {"connection_id":192555,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d19cdb28012d0c92400704cd60002300d625..."} 
[2026-09-24 09:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d19cdb28012d0c92400704cd60002300d625..."} 
[2026-09-24 09:42:12] local.INFO: Processing buffer {"connection_id":192555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d19cdb28012d0c92400704cd60002300d625..."} 
[2026-09-24 09:42:12] local.INFO: Packet analysis {"connection_id":192555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d19c"} 
[2026-09-24 09:42:12] local.INFO: Extracted packet for processing {"connection_id":192555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d19c"} 
[2026-09-24 09:42:12] local.INFO: GPS Element Parsed {"raw_longitude":755798592,"raw_latitude":117755232,"longitude_deg":75.5798592,"latitude_deg":11.7755232,"altitude":35,"angle":214,"satellites":37,"speed":6,"hex_longitude":"2d0c9240","hex_latitude":"0704cd60","is_valid_coordinates":true} 
[2026-09-24 09:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297116672001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33624452851826688,"note":"Value kept but may cause issues"} 
[2026-09-24 09:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905927242688614400,"note":"Value kept but may cause issues"} 
[2026-09-24 09:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790223113000,"timestamp_ms":1790223113000,"timestamp_seconds":1790223113,"priority":1,"record_length":96,"hex_timestamp":"000001a0d19cdb28"} 
[2026-09-24 09:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 09:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192555,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192555,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297116672001,"66":14396,"95":206,"94":10240,"24":6,"16":33624452851826688,"45":905927242688614400},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-24 09:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297116672001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:42:12] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-24 09:42:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33624452851826688,"km_value":33624452851826.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":905927242688614400,"description":"Unknown IO ID 45"} 
[2026-09-24 09:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297116672001,"power":14396,"unknown_95":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":905927242688614400}} 
[2026-09-24 09:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":192555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889016,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:42:12] local.INFO: GPS data processed {"connection_id":192555,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:42:12] local.INFO: Acknowledgment sent {"connection_id":192555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:42:29] local.INFO: TCP Data received {"connection_id":192556,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:42:29] local.INFO: Processing buffer {"connection_id":192556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:42:29] local.INFO: IMEI packet received {"connection_id":192556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":192556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:42:34] local.INFO: TCP Data received {"connection_id":192556,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:42:34] local.INFO: Processing buffer {"connection_id":192556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:42:34] local.INFO: IMEI packet received {"connection_id":192556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":192556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:42:35] local.INFO: TCP Data received {"connection_id":192556,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:42:35] local.INFO: Processing buffer {"connection_id":192556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:42:35] local.INFO: Packet analysis {"connection_id":192556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d19b"} 
[2026-09-24 09:42:35] local.INFO: Extracted packet for processing {"connection_id":192556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d19b"} 
[2026-09-24 09:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297015808001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790223019000,"timestamp_ms":1790223019000,"timestamp_seconds":1790223019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d19b6bf8"} 
[2026-09-24 09:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297015808001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297015808001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:42:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:42:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297015808001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":192556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:42:35] local.INFO: GPS data processed {"connection_id":192556,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:42:35] local.INFO: Acknowledgment sent {"connection_id":192556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:42:44] local.INFO: TCP Data received {"connection_id":192555,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d19cdf10012d0c91c00704cca8002300b525..."} 
[2026-09-24 09:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d19cdf10012d0c91c00704cca8002300b525..."} 
[2026-09-24 09:42:44] local.INFO: Processing buffer {"connection_id":192555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d19cdf10012d0c91c00704cca8002300b525..."} 
[2026-09-24 09:42:44] local.INFO: Packet analysis {"connection_id":192555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d19c"} 
[2026-09-24 09:42:44] local.INFO: Extracted packet for processing {"connection_id":192555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d19c"} 
[2026-09-24 09:42:44] local.INFO: GPS Element Parsed {"raw_longitude":755798464,"raw_latitude":117755048,"longitude_deg":75.5798464,"latitude_deg":11.7755048,"altitude":35,"angle":181,"satellites":37,"speed":7,"hex_longitude":"2d0c91c0","hex_latitude":"0704cca8","is_valid_coordinates":true} 
[2026-09-24 09:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297116928001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33624461441761280,"note":"Value kept but may cause issues"} 
[2026-09-24 09:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905856873944408064,"note":"Value kept but may cause issues"} 
[2026-09-24 09:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790223114000,"timestamp_ms":1790223114000,"timestamp_seconds":1790223114,"priority":1,"record_length":96,"hex_timestamp":"000001a0d19cdf10"} 
[2026-09-24 09:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-24 09:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192555,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192555,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297116928001,"66":14396,"95":206,"94":10240,"24":7,"16":33624461441761280,"45":905856873944408064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-24 09:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297116928001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:42:44] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-24 09:42:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 09:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33624461441761280,"km_value":33624461441761.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":905856873944408064,"description":"Unknown IO ID 45"} 
[2026-09-24 09:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297116928001,"power":14396,"unknown_95":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":905856873944408064}} 
[2026-09-24 09:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":192555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889018,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:42:44] local.INFO: GPS data processed {"connection_id":192555,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:42:44] local.INFO: Acknowledgment sent {"connection_id":192555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:43:06] local.INFO: TCP Data received {"connection_id":192556,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:43:06] local.INFO: Processing buffer {"connection_id":192556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:43:06] local.INFO: Packet analysis {"connection_id":192556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d19b"} 
[2026-09-24 09:43:06] local.INFO: Extracted packet for processing {"connection_id":192556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d19b"} 
[2026-09-24 09:43:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297015808001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790223019000,"timestamp_ms":1790223019000,"timestamp_seconds":1790223019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d19b6bf8"} 
[2026-09-24 09:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297015808001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297015808001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:43:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:43:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297015808001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":192556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:43:06] local.INFO: GPS data processed {"connection_id":192556,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:43:06] local.INFO: Acknowledgment sent {"connection_id":192556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:43:17] local.INFO: TCP Data received {"connection_id":191188,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:43:17] local.INFO: Processing buffer {"connection_id":191188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:43:17] local.INFO: IMEI packet received {"connection_id":191188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":191188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:43:18] local.INFO: TCP Data received {"connection_id":191188,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:43:18] local.INFO: Processing buffer {"connection_id":191188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:43:18] local.INFO: IMEI packet received {"connection_id":191188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":191188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:43:19] local.INFO: TCP Data received {"connection_id":191188,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:43:19] local.INFO: Processing buffer {"connection_id":191188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:43:19] local.INFO: IMEI packet received {"connection_id":191188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":191188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:43:19] local.INFO: TCP Data received {"connection_id":191188,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:43:19] local.INFO: Processing buffer {"connection_id":191188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:43:19] local.INFO: IMEI packet received {"connection_id":191188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":191188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:43:34] local.INFO: TCP Data received {"connection_id":193868,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:43:34] local.INFO: Processing buffer {"connection_id":193868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:43:34] local.INFO: IMEI packet received {"connection_id":193868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":193868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:43:40] local.INFO: TCP Data received {"connection_id":193868,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:43:40] local.INFO: Processing buffer {"connection_id":193868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:43:40] local.INFO: IMEI packet received {"connection_id":193868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":193868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:43:41] local.INFO: TCP Data received {"connection_id":193868,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:43:41] local.INFO: Processing buffer {"connection_id":193868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:43:41] local.INFO: Packet analysis {"connection_id":193868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d19b"} 
[2026-09-24 09:43:41] local.INFO: Extracted packet for processing {"connection_id":193868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d19b"} 
[2026-09-24 09:43:41] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297015808001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790223019000,"timestamp_ms":1790223019000,"timestamp_seconds":1790223019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d19b6bf8"} 
[2026-09-24 09:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297015808001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297015808001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:43:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:43:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297015808001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":193868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:43:41] local.INFO: GPS data processed {"connection_id":193868,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:43:41] local.INFO: Acknowledgment sent {"connection_id":193868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:43:45] local.INFO: TCP Data received {"connection_id":193868,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:43:45] local.INFO: Processing buffer {"connection_id":193868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:43:45] local.INFO: Packet analysis {"connection_id":193868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d19b"} 
[2026-09-24 09:43:45] local.INFO: Extracted packet for processing {"connection_id":193868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d19b"} 
[2026-09-24 09:43:45] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297015808001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790223019000,"timestamp_ms":1790223019000,"timestamp_seconds":1790223019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d19b6bf8"} 
[2026-09-24 09:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297015808001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297015808001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:43:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:43:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297015808001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":193868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:43:45] local.INFO: GPS data processed {"connection_id":193868,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:43:45] local.INFO: Acknowledgment sent {"connection_id":193868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:44:29] local.INFO: TCP Data received {"connection_id":192557,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:44:29] local.INFO: Processing buffer {"connection_id":192557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:44:29] local.INFO: IMEI packet received {"connection_id":192557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":192557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:44:34] local.INFO: TCP Data received {"connection_id":192557,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:44:34] local.INFO: Processing buffer {"connection_id":192557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:44:34] local.INFO: IMEI packet received {"connection_id":192557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":192557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:44:35] local.INFO: TCP Data received {"connection_id":192557,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:44:35] local.INFO: Processing buffer {"connection_id":192557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:44:35] local.INFO: Packet analysis {"connection_id":192557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d19b"} 
[2026-09-24 09:44:35] local.INFO: Extracted packet for processing {"connection_id":192557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d19b"} 
[2026-09-24 09:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297015808001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790223019000,"timestamp_ms":1790223019000,"timestamp_seconds":1790223019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d19b6bf8"} 
[2026-09-24 09:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297015808001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297015808001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:44:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:44:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297015808001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":192557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:44:35] local.INFO: GPS data processed {"connection_id":192557,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:44:35] local.INFO: Acknowledgment sent {"connection_id":192557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:45:06] local.INFO: TCP Data received {"connection_id":192557,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:45:06] local.INFO: Processing buffer {"connection_id":192557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:45:06] local.INFO: Packet analysis {"connection_id":192557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d19b"} 
[2026-09-24 09:45:06] local.INFO: Extracted packet for processing {"connection_id":192557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d19b"} 
[2026-09-24 09:45:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297015808001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790223019000,"timestamp_ms":1790223019000,"timestamp_seconds":1790223019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d19b6bf8"} 
[2026-09-24 09:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297015808001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297015808001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:45:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:45:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297015808001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":192557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:45:06] local.INFO: GPS data processed {"connection_id":192557,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:45:06] local.INFO: Acknowledgment sent {"connection_id":192557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:45:29] local.INFO: TCP Data received {"connection_id":191189,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:45:29] local.INFO: Processing buffer {"connection_id":191189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:45:29] local.INFO: IMEI packet received {"connection_id":191189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":191189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:45:34] local.INFO: TCP Data received {"connection_id":191189,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:45:34] local.INFO: Processing buffer {"connection_id":191189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:45:34] local.INFO: IMEI packet received {"connection_id":191189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":191189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:45:35] local.INFO: TCP Data received {"connection_id":191189,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:45:35] local.INFO: Processing buffer {"connection_id":191189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d19b6bf8012d34c24006aa4930000901382c..."} 
[2026-09-24 09:45:35] local.INFO: Packet analysis {"connection_id":191189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d19b"} 
[2026-09-24 09:45:35] local.INFO: Extracted packet for processing {"connection_id":191189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d19b"} 
[2026-09-24 09:45:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297015808001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790223019000,"timestamp_ms":1790223019000,"timestamp_seconds":1790223019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d19b6bf8"} 
[2026-09-24 09:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297015808001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297015808001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:45:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:45:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297015808001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":191189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:45:35] local.INFO: GPS data processed {"connection_id":191189,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:45:35] local.INFO: Acknowledgment sent {"connection_id":191189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:46:06] local.INFO: TCP Data received {"connection_id":191189,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:46:06] local.INFO: Processing buffer {"connection_id":191189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:46:06] local.INFO: Packet analysis {"connection_id":191189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a0"} 
[2026-09-24 09:46:06] local.INFO: Extracted packet for processing {"connection_id":191189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a0"} 
[2026-09-24 09:46:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297092864001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790223320000,"timestamp_ms":1790223320000,"timestamp_seconds":1790223320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a003c0"} 
[2026-09-24 09:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297092864001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297092864001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:46:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:46:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297092864001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":191189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:46:06] local.INFO: GPS data processed {"connection_id":191189,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:46:06] local.INFO: Acknowledgment sent {"connection_id":191189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:46:28] local.INFO: TCP Data received {"connection_id":191190,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:46:28] local.INFO: Processing buffer {"connection_id":191190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:46:28] local.INFO: IMEI packet received {"connection_id":191190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":191190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:46:34] local.INFO: TCP Data received {"connection_id":191190,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:46:34] local.INFO: Processing buffer {"connection_id":191190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:46:34] local.INFO: IMEI packet received {"connection_id":191190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":191190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:46:35] local.INFO: TCP Data received {"connection_id":191190,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:46:35] local.INFO: Processing buffer {"connection_id":191190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:46:35] local.INFO: Packet analysis {"connection_id":191190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a0"} 
[2026-09-24 09:46:35] local.INFO: Extracted packet for processing {"connection_id":191190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a0"} 
[2026-09-24 09:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297092864001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790223320000,"timestamp_ms":1790223320000,"timestamp_seconds":1790223320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a003c0"} 
[2026-09-24 09:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297092864001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297092864001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:46:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:46:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297092864001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":191190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:46:35] local.INFO: GPS data processed {"connection_id":191190,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:46:35] local.INFO: Acknowledgment sent {"connection_id":191190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:47:07] local.INFO: TCP Data received {"connection_id":191190,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:47:07] local.INFO: Processing buffer {"connection_id":191190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:47:07] local.INFO: Packet analysis {"connection_id":191190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a0"} 
[2026-09-24 09:47:07] local.INFO: Extracted packet for processing {"connection_id":191190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a0"} 
[2026-09-24 09:47:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297092864001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790223320000,"timestamp_ms":1790223320000,"timestamp_seconds":1790223320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a003c0"} 
[2026-09-24 09:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297092864001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297092864001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:47:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:47:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297092864001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":191190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:47:07] local.INFO: GPS data processed {"connection_id":191190,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:47:07] local.INFO: Acknowledgment sent {"connection_id":191190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:47:34] local.INFO: TCP Data received {"connection_id":190990,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:47:34] local.INFO: Processing buffer {"connection_id":190990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:47:34] local.INFO: IMEI packet received {"connection_id":190990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":190990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:47:39] local.INFO: TCP Data received {"connection_id":190990,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:47:39] local.INFO: Processing buffer {"connection_id":190990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:47:39] local.INFO: IMEI packet received {"connection_id":190990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":190990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:47:40] local.INFO: TCP Data received {"connection_id":190990,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:47:40] local.INFO: Processing buffer {"connection_id":190990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:47:40] local.INFO: Packet analysis {"connection_id":190990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a0"} 
[2026-09-24 09:47:40] local.INFO: Extracted packet for processing {"connection_id":190990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a0"} 
[2026-09-24 09:47:40] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297092864001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790223320000,"timestamp_ms":1790223320000,"timestamp_seconds":1790223320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a003c0"} 
[2026-09-24 09:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297092864001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297092864001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:47:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:47:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297092864001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":190990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:47:40] local.INFO: GPS data processed {"connection_id":190990,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:47:40] local.INFO: Acknowledgment sent {"connection_id":190990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:47:44] local.INFO: TCP Data received {"connection_id":190990,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:47:44] local.INFO: Processing buffer {"connection_id":190990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:47:44] local.INFO: Packet analysis {"connection_id":190990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a0"} 
[2026-09-24 09:47:44] local.INFO: Extracted packet for processing {"connection_id":190990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a0"} 
[2026-09-24 09:47:44] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297092864001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790223320000,"timestamp_ms":1790223320000,"timestamp_seconds":1790223320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a003c0"} 
[2026-09-24 09:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297092864001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297092864001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:47:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:47:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297092864001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":190990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:47:44] local.INFO: GPS data processed {"connection_id":190990,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:47:44] local.INFO: Acknowledgment sent {"connection_id":190990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:48:21] local.INFO: TCP Data received {"connection_id":193869,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193869,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:48:21] local.INFO: Processing buffer {"connection_id":193869,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:48:21] local.INFO: IMEI packet received {"connection_id":193869,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":193869,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:48:22] local.INFO: TCP Data received {"connection_id":193869,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a226a0012d0c22c007035440001500f71e..."} 
[2026-09-24 09:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a226a0012d0c22c007035440001500f71e..."} 
[2026-09-24 09:48:22] local.INFO: Processing buffer {"connection_id":193869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a226a0012d0c22c007035440001500f71e..."} 
[2026-09-24 09:48:22] local.INFO: Packet analysis {"connection_id":193869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a2"} 
[2026-09-24 09:48:22] local.INFO: Extracted packet for processing {"connection_id":193869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a2"} 
[2026-09-24 09:48:22] local.INFO: GPS Element Parsed {"raw_longitude":755770048,"raw_latitude":117658688,"longitude_deg":75.5770048,"latitude_deg":11.7658688,"altitude":21,"angle":247,"satellites":30,"speed":14,"hex_longitude":"2d0c22c0","hex_latitude":"07035440","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297201920001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33630629014798336,"note":"Value kept but may cause issues"} 
[2026-09-24 09:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880172282295156736,"note":"Value kept but may cause issues"} 
[2026-09-24 09:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790223460000,"timestamp_ms":1790223460000,"timestamp_seconds":1790223460,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a226a0"} 
[2026-09-24 09:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-24 09:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297201920001,"66":14461,"37":206,"94":11008,"24":14,"16":33630629014798336,"45":880172282295156736},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 09:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297201920001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:48:22] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 09:48:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 09:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33630629014798336,"km_value":33630629014798.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":880172282295156736,"description":"Unknown IO ID 45"} 
[2026-09-24 09:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297201920001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":880172282295156736}} 
[2026-09-24 09:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":193869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889030,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:48:22] local.INFO: GPS data processed {"connection_id":193869,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:48:22] local.INFO: Acknowledgment sent {"connection_id":193869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:48:29] local.INFO: TCP Data received {"connection_id":192559,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:48:29] local.INFO: Processing buffer {"connection_id":192559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:48:29] local.INFO: IMEI packet received {"connection_id":192559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":192559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:48:34] local.INFO: TCP Data received {"connection_id":192559,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:48:34] local.INFO: Processing buffer {"connection_id":192559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:48:34] local.INFO: IMEI packet received {"connection_id":192559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":192559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:48:35] local.INFO: TCP Data received {"connection_id":192559,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:48:35] local.INFO: Processing buffer {"connection_id":192559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:48:35] local.INFO: Packet analysis {"connection_id":192559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a0"} 
[2026-09-24 09:48:35] local.INFO: Extracted packet for processing {"connection_id":192559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a0"} 
[2026-09-24 09:48:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297092864001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790223320000,"timestamp_ms":1790223320000,"timestamp_seconds":1790223320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a003c0"} 
[2026-09-24 09:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297092864001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297092864001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:48:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:48:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297092864001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":192559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:48:35] local.INFO: GPS data processed {"connection_id":192559,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:48:35] local.INFO: Acknowledgment sent {"connection_id":192559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:49:05] local.INFO: TCP Data received {"connection_id":192560,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192560,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:49:05] local.INFO: Processing buffer {"connection_id":192560,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:49:05] local.INFO: IMEI packet received {"connection_id":192560,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":192560,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:49:06] local.INFO: TCP Data received {"connection_id":192560,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192560,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:49:06] local.INFO: Processing buffer {"connection_id":192560,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:49:06] local.INFO: IMEI packet received {"connection_id":192560,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":192560,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:49:06] local.INFO: TCP Data received {"connection_id":192559,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:49:06] local.INFO: Processing buffer {"connection_id":192559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:49:06] local.INFO: Packet analysis {"connection_id":192559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a0"} 
[2026-09-24 09:49:06] local.INFO: Extracted packet for processing {"connection_id":192559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a0"} 
[2026-09-24 09:49:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297092864001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790223320000,"timestamp_ms":1790223320000,"timestamp_seconds":1790223320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a003c0"} 
[2026-09-24 09:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297092864001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297092864001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:49:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:49:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297092864001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":192559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:49:06] local.INFO: GPS data processed {"connection_id":192559,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:49:06] local.INFO: Acknowledgment sent {"connection_id":192559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:49:07] local.INFO: TCP Data received {"connection_id":192560,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192560,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:49:07] local.INFO: Processing buffer {"connection_id":192560,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:49:07] local.INFO: IMEI packet received {"connection_id":192560,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":192560,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:49:08] local.INFO: TCP Data received {"connection_id":192560,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192560,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:49:08] local.INFO: Processing buffer {"connection_id":192560,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:49:08] local.INFO: IMEI packet received {"connection_id":192560,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":192560,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:49:27] local.INFO: TCP Data received {"connection_id":193871,"ip":"147.185.132.14","data_length":1483,"data_hex":"16030105c6010005c203037fc3ec8b0823d219f78cf99593534cccd8e9457de5..."} 
[2026-09-24 09:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193871,"packet_length":1483,"packet_hex":"16030105c6010005c203037fc3ec8b0823d219f78cf99593534cccd8e9457de5..."} 
[2026-09-24 09:49:27] local.INFO: Processing buffer {"connection_id":193871,"buffer_length":1483,"buffer_hex":"16030105c6010005c203037fc3ec8b0823d219f78cf99593534cccd8e9457de5..."} 
[2026-09-24 09:49:27] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":193871,"buffer_length":1483,"first_bytes_hex":"16030105c6010005c203037fc3ec8b08"} 
[2026-09-24 09:49:27] local.INFO: TCP Data received {"connection_id":190991,"ip":"147.185.132.14","data_length":207,"data_hex":"16030100ca010000c60303cbad70728da7c8a9bbe24e6bf97572998d9e61eda7..."} 
[2026-09-24 09:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190991,"packet_length":207,"packet_hex":"16030100ca010000c60303cbad70728da7c8a9bbe24e6bf97572998d9e61eda7..."} 
[2026-09-24 09:49:27] local.INFO: Processing buffer {"connection_id":190991,"buffer_length":207,"buffer_hex":"16030100ca010000c60303cbad70728da7c8a9bbe24e6bf97572998d9e61eda7..."} 
[2026-09-24 09:49:27] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":190991,"buffer_length":207,"first_bytes_hex":"16030100ca010000c60303cbad70728d"} 
[2026-09-24 09:49:27] local.INFO: TCP Data received {"connection_id":190991,"ip":"147.185.132.14","data_length":7,"data_hex":"1503010002020a..."} 
[2026-09-24 09:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190991,"packet_length":7,"packet_hex":"1503010002020a..."} 
[2026-09-24 09:49:27] local.INFO: Processing buffer {"connection_id":190991,"buffer_length":7,"buffer_hex":"1503010002020a..."} 
[2026-09-24 09:49:28] local.INFO: TCP Data received {"connection_id":193870,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:49:28] local.INFO: Processing buffer {"connection_id":193870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:49:28] local.INFO: IMEI packet received {"connection_id":193870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":193870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:49:34] local.INFO: TCP Data received {"connection_id":193870,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:49:34] local.INFO: Processing buffer {"connection_id":193870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:49:34] local.INFO: IMEI packet received {"connection_id":193870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":193870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:49:35] local.INFO: TCP Data received {"connection_id":193870,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:49:35] local.INFO: Processing buffer {"connection_id":193870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:49:35] local.INFO: Packet analysis {"connection_id":193870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a0"} 
[2026-09-24 09:49:35] local.INFO: Extracted packet for processing {"connection_id":193870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a0"} 
[2026-09-24 09:49:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297092864001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790223320000,"timestamp_ms":1790223320000,"timestamp_seconds":1790223320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a003c0"} 
[2026-09-24 09:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297092864001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297092864001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:49:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:49:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297092864001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":193870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:49:35] local.INFO: GPS data processed {"connection_id":193870,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:49:35] local.INFO: Acknowledgment sent {"connection_id":193870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:50:07] local.INFO: TCP Data received {"connection_id":193870,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:50:07] local.INFO: Processing buffer {"connection_id":193870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:50:07] local.INFO: Packet analysis {"connection_id":193870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a0"} 
[2026-09-24 09:50:07] local.INFO: Extracted packet for processing {"connection_id":193870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a0"} 
[2026-09-24 09:50:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297092864001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790223320000,"timestamp_ms":1790223320000,"timestamp_seconds":1790223320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a003c0"} 
[2026-09-24 09:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297092864001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297092864001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:50:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:50:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297092864001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":193870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:50:07] local.INFO: GPS data processed {"connection_id":193870,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:50:07] local.INFO: Acknowledgment sent {"connection_id":193870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:50:29] local.INFO: TCP Data received {"connection_id":190992,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:50:29] local.INFO: Processing buffer {"connection_id":190992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:50:29] local.INFO: IMEI packet received {"connection_id":190992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":190992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:50:34] local.INFO: TCP Data received {"connection_id":190992,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:50:34] local.INFO: Processing buffer {"connection_id":190992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:50:34] local.INFO: IMEI packet received {"connection_id":190992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":190992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:50:35] local.INFO: TCP Data received {"connection_id":190992,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:50:35] local.INFO: Processing buffer {"connection_id":190992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a003c0012d34c24006aa4930000901382e..."} 
[2026-09-24 09:50:35] local.INFO: Packet analysis {"connection_id":190992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a0"} 
[2026-09-24 09:50:35] local.INFO: Extracted packet for processing {"connection_id":190992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a0"} 
[2026-09-24 09:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297092864001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790223320000,"timestamp_ms":1790223320000,"timestamp_seconds":1790223320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a003c0"} 
[2026-09-24 09:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297092864001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297092864001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:50:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:50:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297092864001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":190992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:50:35] local.INFO: GPS data processed {"connection_id":190992,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:50:35] local.INFO: Acknowledgment sent {"connection_id":190992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:51:06] local.INFO: TCP Data received {"connection_id":190992,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:51:06] local.INFO: Processing buffer {"connection_id":190992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:51:06] local.INFO: Packet analysis {"connection_id":190992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a4"} 
[2026-09-24 09:51:06] local.INFO: Extracted packet for processing {"connection_id":190992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a4"} 
[2026-09-24 09:51:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297169920001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790223621000,"timestamp_ms":1790223621000,"timestamp_seconds":1790223621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a49b88"} 
[2026-09-24 09:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 09:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297169920001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297169920001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:51:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:51:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297169920001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":190992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:51:06] local.INFO: GPS data processed {"connection_id":190992,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:51:06] local.INFO: Acknowledgment sent {"connection_id":190992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:51:28] local.INFO: TCP Data received {"connection_id":192562,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:51:28] local.INFO: Processing buffer {"connection_id":192562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:51:28] local.INFO: IMEI packet received {"connection_id":192562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":192562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:51:34] local.INFO: TCP Data received {"connection_id":192562,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:51:34] local.INFO: Processing buffer {"connection_id":192562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:51:34] local.INFO: IMEI packet received {"connection_id":192562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":192562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:51:35] local.INFO: TCP Data received {"connection_id":192562,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:51:35] local.INFO: Processing buffer {"connection_id":192562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:51:35] local.INFO: Packet analysis {"connection_id":192562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a4"} 
[2026-09-24 09:51:35] local.INFO: Extracted packet for processing {"connection_id":192562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a4"} 
[2026-09-24 09:51:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297169920001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790223621000,"timestamp_ms":1790223621000,"timestamp_seconds":1790223621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a49b88"} 
[2026-09-24 09:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 09:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297169920001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297169920001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:51:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:51:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297169920001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":192562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:51:35] local.INFO: GPS data processed {"connection_id":192562,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:51:35] local.INFO: Acknowledgment sent {"connection_id":192562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:52:06] local.INFO: TCP Data received {"connection_id":192562,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:52:06] local.INFO: Processing buffer {"connection_id":192562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:52:06] local.INFO: Packet analysis {"connection_id":192562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a4"} 
[2026-09-24 09:52:06] local.INFO: Extracted packet for processing {"connection_id":192562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a4"} 
[2026-09-24 09:52:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297169920001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790223621000,"timestamp_ms":1790223621000,"timestamp_seconds":1790223621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a49b88"} 
[2026-09-24 09:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 09:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297169920001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297169920001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:52:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:52:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297169920001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":192562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:52:06] local.INFO: GPS data processed {"connection_id":192562,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:52:06] local.INFO: Acknowledgment sent {"connection_id":192562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:52:37] local.INFO: TCP Data received {"connection_id":192563,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:52:37] local.INFO: Processing buffer {"connection_id":192563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:52:37] local.INFO: IMEI packet received {"connection_id":192563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":192563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:52:38] local.INFO: TCP Data received {"connection_id":192563,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:52:38] local.INFO: Processing buffer {"connection_id":192563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:52:38] local.INFO: IMEI packet received {"connection_id":192563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":192563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:52:40] local.INFO: TCP Data received {"connection_id":192563,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:52:40] local.INFO: Processing buffer {"connection_id":192563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:52:40] local.INFO: Packet analysis {"connection_id":192563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a4"} 
[2026-09-24 09:52:40] local.INFO: Extracted packet for processing {"connection_id":192563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a4"} 
[2026-09-24 09:52:40] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297169920001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790223621000,"timestamp_ms":1790223621000,"timestamp_seconds":1790223621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a49b88"} 
[2026-09-24 09:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 09:52:40] 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-09-24 09:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297169920001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297169920001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:52:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:52:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297169920001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":192563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:52:40] local.INFO: GPS data processed {"connection_id":192563,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:52:40] local.INFO: Acknowledgment sent {"connection_id":192563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:52:45] local.INFO: TCP Data received {"connection_id":192563,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:52:45] local.INFO: Processing buffer {"connection_id":192563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:52:45] local.INFO: Packet analysis {"connection_id":192563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a4"} 
[2026-09-24 09:52:45] local.INFO: Extracted packet for processing {"connection_id":192563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a4"} 
[2026-09-24 09:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297169920001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790223621000,"timestamp_ms":1790223621000,"timestamp_seconds":1790223621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a49b88"} 
[2026-09-24 09:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 09:52:45] 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-09-24 09:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297169920001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297169920001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:52:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297169920001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":192563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:52:45] local.INFO: GPS data processed {"connection_id":192563,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:52:45] local.INFO: Acknowledgment sent {"connection_id":192563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:53:28] local.INFO: TCP Data received {"connection_id":193873,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:53:28] local.INFO: Processing buffer {"connection_id":193873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:53:28] local.INFO: IMEI packet received {"connection_id":193873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":193873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:53:34] local.INFO: TCP Data received {"connection_id":193873,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:53:34] local.INFO: Processing buffer {"connection_id":193873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:53:34] local.INFO: IMEI packet received {"connection_id":193873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":193873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:53:35] local.INFO: TCP Data received {"connection_id":193873,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:53:35] local.INFO: Processing buffer {"connection_id":193873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:53:35] local.INFO: Packet analysis {"connection_id":193873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a4"} 
[2026-09-24 09:53:35] local.INFO: Extracted packet for processing {"connection_id":193873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a4"} 
[2026-09-24 09:53:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297169920001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790223621000,"timestamp_ms":1790223621000,"timestamp_seconds":1790223621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a49b88"} 
[2026-09-24 09:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 09:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297169920001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297169920001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:53:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:53:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297169920001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":193873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:53:35] local.INFO: GPS data processed {"connection_id":193873,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:53:35] local.INFO: Acknowledgment sent {"connection_id":193873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:54:07] local.INFO: TCP Data received {"connection_id":193873,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:54:07] local.INFO: Processing buffer {"connection_id":193873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:54:07] local.INFO: Packet analysis {"connection_id":193873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a4"} 
[2026-09-24 09:54:07] local.INFO: Extracted packet for processing {"connection_id":193873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a4"} 
[2026-09-24 09:54:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297169920001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790223621000,"timestamp_ms":1790223621000,"timestamp_seconds":1790223621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a49b88"} 
[2026-09-24 09:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 09:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297169920001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297169920001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:54:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:54:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297169920001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":193873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:54:07] local.INFO: GPS data processed {"connection_id":193873,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:54:07] local.INFO: Acknowledgment sent {"connection_id":193873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:54:12] local.INFO: TCP Data received {"connection_id":191192,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191192,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:54:12] local.INFO: Processing buffer {"connection_id":191192,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:54:12] local.INFO: IMEI packet received {"connection_id":191192,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":191192,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:54:13] local.INFO: TCP Data received {"connection_id":191192,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a7c808012d0af1400702c8280009007823..."} 
[2026-09-24 09:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a7c808012d0af1400702c8280009007823..."} 
[2026-09-24 09:54:13] local.INFO: Processing buffer {"connection_id":191192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a7c808012d0af1400702c8280009007823..."} 
[2026-09-24 09:54:13] local.INFO: Packet analysis {"connection_id":191192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a7"} 
[2026-09-24 09:54:13] local.INFO: Extracted packet for processing {"connection_id":191192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a7"} 
[2026-09-24 09:54:13] local.INFO: GPS Element Parsed {"raw_longitude":755691840,"raw_latitude":117622824,"longitude_deg":75.569184,"latitude_deg":11.7622824,"altitude":9,"angle":120,"satellites":35,"speed":9,"hex_longitude":"2d0af140","hex_latitude":"0702c828","is_valid_coordinates":true} 
[2026-09-24 09:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297299968001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33636427220647936,"note":"Value kept but may cause issues"} 
[2026-09-24 09:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788200333645508608,"note":"Value kept but may cause issues"} 
[2026-09-24 09:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790223829000,"timestamp_ms":1790223829000,"timestamp_seconds":1790223829,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a7c808"} 
[2026-09-24 09:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-24 09:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191192,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191192,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297299968001,"66":14580,"17":206,"94":11008,"24":9,"16":33636427220647936,"45":788200333645508608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-24 09:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297299968001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:54:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 09:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33636427220647936,"km_value":33636427220647.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":788200333645508608,"description":"Unknown IO ID 45"} 
[2026-09-24 09:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297299968001,"power":14580,"axis_x":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":788200333645508608}} 
[2026-09-24 09:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":191192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889043,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:54:13] local.INFO: GPS data processed {"connection_id":191192,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:54:13] local.INFO: Acknowledgment sent {"connection_id":191192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:54:29] local.INFO: TCP Data received {"connection_id":192564,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:54:29] local.INFO: Processing buffer {"connection_id":192564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:54:29] local.INFO: IMEI packet received {"connection_id":192564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":192564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:54:34] local.INFO: TCP Data received {"connection_id":192564,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:54:34] local.INFO: Processing buffer {"connection_id":192564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:54:34] local.INFO: IMEI packet received {"connection_id":192564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":192564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:54:35] local.INFO: TCP Data received {"connection_id":192564,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:54:35] local.INFO: Processing buffer {"connection_id":192564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:54:35] local.INFO: Packet analysis {"connection_id":192564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a4"} 
[2026-09-24 09:54:35] local.INFO: Extracted packet for processing {"connection_id":192564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a4"} 
[2026-09-24 09:54:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297169920001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790223621000,"timestamp_ms":1790223621000,"timestamp_seconds":1790223621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a49b88"} 
[2026-09-24 09:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 09:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297169920001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297169920001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:54:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:54:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297169920001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":192564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:54:35] local.INFO: GPS data processed {"connection_id":192564,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:54:35] local.INFO: Acknowledgment sent {"connection_id":192564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:54:45] local.INFO: TCP Data received {"connection_id":191192,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a7cbf0012d0af2800702c798000a006624..."} 
[2026-09-24 09:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a7cbf0012d0af2800702c798000a006624..."} 
[2026-09-24 09:54:45] local.INFO: Processing buffer {"connection_id":191192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a7cbf0012d0af2800702c798000a006624..."} 
[2026-09-24 09:54:45] local.INFO: Packet analysis {"connection_id":191192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a7"} 
[2026-09-24 09:54:45] local.INFO: Extracted packet for processing {"connection_id":191192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a7"} 
[2026-09-24 09:54:45] local.INFO: GPS Element Parsed {"raw_longitude":755692160,"raw_latitude":117622680,"longitude_deg":75.569216,"latitude_deg":11.762268,"altitude":10,"angle":102,"satellites":36,"speed":10,"hex_longitude":"2d0af280","hex_latitude":"0702c798","is_valid_coordinates":true} 
[2026-09-24 09:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297300224001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33636444400517120,"note":"Value kept but may cause issues"} 
[2026-09-24 09:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788481808622168064,"note":"Value kept but may cause issues"} 
[2026-09-24 09:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790223830000,"timestamp_ms":1790223830000,"timestamp_seconds":1790223830,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a7cbf0"} 
[2026-09-24 09:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-24 09:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191192,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191192,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 09:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 09:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 09:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297300224001,"66":14548,"17":206,"94":11008,"24":10,"16":33636444400517120,"45":788481808622168064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-24 09:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 09:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 09:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297300224001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:54:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 09:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33636444400517120,"km_value":33636444400517.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":788481808622168064,"description":"Unknown IO ID 45"} 
[2026-09-24 09:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297300224001,"power":14548,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":788481808622168064}} 
[2026-09-24 09:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":191192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889045,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:54:45] local.INFO: GPS data processed {"connection_id":191192,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:54:45] local.INFO: Acknowledgment sent {"connection_id":191192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:55:06] local.INFO: TCP Data received {"connection_id":192564,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:55:06] local.INFO: Processing buffer {"connection_id":192564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:55:06] local.INFO: Packet analysis {"connection_id":192564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a4"} 
[2026-09-24 09:55:06] local.INFO: Extracted packet for processing {"connection_id":192564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a4"} 
[2026-09-24 09:55:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297169920001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790223621000,"timestamp_ms":1790223621000,"timestamp_seconds":1790223621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a49b88"} 
[2026-09-24 09:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 09:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297169920001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297169920001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:55:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:55:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297169920001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":192564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:55:06] local.INFO: GPS data processed {"connection_id":192564,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:55:06] local.INFO: Acknowledgment sent {"connection_id":192564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:55:10] local.INFO: TCP Data received {"connection_id":191193,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191193,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:55:10] local.INFO: Processing buffer {"connection_id":191193,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:55:10] local.INFO: IMEI packet received {"connection_id":191193,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 09:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":191193,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:55:12] local.INFO: TCP Data received {"connection_id":191193,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191193,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:55:12] local.INFO: Processing buffer {"connection_id":191193,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 09:55:12] local.INFO: IMEI packet received {"connection_id":191193,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":191193,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:55:13] local.INFO: TCP Data received {"connection_id":191193,"ip":"42.109.136.2","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-24 09:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191193,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-24 09:55:13] local.INFO: Processing buffer {"connection_id":191193,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-24 09:55:13] local.INFO: IMEI packet received {"connection_id":191193,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 09:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":191193,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:55:28] local.INFO: TCP Data received {"connection_id":190995,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:55:28] local.INFO: Processing buffer {"connection_id":190995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:55:28] local.INFO: IMEI packet received {"connection_id":190995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":190995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:55:34] local.INFO: TCP Data received {"connection_id":190995,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:55:34] local.INFO: Processing buffer {"connection_id":190995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:55:34] local.INFO: IMEI packet received {"connection_id":190995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":190995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:55:36] local.INFO: TCP Data received {"connection_id":190995,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:55:36] local.INFO: Processing buffer {"connection_id":190995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a49b88012d34c24006aa4930000901382d..."} 
[2026-09-24 09:55:36] local.INFO: Packet analysis {"connection_id":190995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a4"} 
[2026-09-24 09:55:36] local.INFO: Extracted packet for processing {"connection_id":190995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a4"} 
[2026-09-24 09:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297169920001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790223621000,"timestamp_ms":1790223621000,"timestamp_seconds":1790223621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a49b88"} 
[2026-09-24 09:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 09:55:36] 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-09-24 09:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297169920001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297169920001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:55:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:55:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297169920001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":190995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:55:36] local.INFO: GPS data processed {"connection_id":190995,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:55:36] local.INFO: Acknowledgment sent {"connection_id":190995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:55:51] local.INFO: TCP Data received {"connection_id":192565,"ip":"117.224.122.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:55:51] local.INFO: Processing buffer {"connection_id":192565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:55:51] local.INFO: IMEI packet received {"connection_id":192565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 09:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":192565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:56:08] local.INFO: TCP Data received {"connection_id":190995,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:56:08] local.INFO: Processing buffer {"connection_id":190995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:56:08] local.INFO: Packet analysis {"connection_id":190995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 09:56:08] local.INFO: Extracted packet for processing {"connection_id":190995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 09:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297246976001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790223922000,"timestamp_ms":1790223922000,"timestamp_seconds":1790223922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a93350"} 
[2026-09-24 09:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297246976001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297246976001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:56:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297246976001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":190995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:56:08] local.INFO: GPS data processed {"connection_id":190995,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:56:08] local.INFO: Acknowledgment sent {"connection_id":190995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:56:22] local.INFO: TCP Data received {"connection_id":192567,"ip":"117.224.122.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192567,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:56:22] local.INFO: Processing buffer {"connection_id":192567,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:56:22] local.INFO: IMEI packet received {"connection_id":192567,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 09:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":192567,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:56:27] local.INFO: TCP Data received {"connection_id":192567,"ip":"117.224.122.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192567,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:56:27] local.INFO: Processing buffer {"connection_id":192567,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:56:27] local.INFO: IMEI packet received {"connection_id":192567,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 09:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":192567,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:56:29] local.INFO: TCP Data received {"connection_id":192567,"ip":"117.224.122.116","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a7eb30012c56b20008b07db0001f00d02a..."} 
[2026-09-24 09:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a7eb30012c56b20008b07db0001f00d02a..."} 
[2026-09-24 09:56:29] local.INFO: Processing buffer {"connection_id":192567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a7eb30012c56b20008b07db0001f00d02a..."} 
[2026-09-24 09:56:29] local.INFO: Packet analysis {"connection_id":192567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a7"} 
[2026-09-24 09:56:29] local.INFO: Extracted packet for processing {"connection_id":192567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a7"} 
[2026-09-24 09:56:29] local.INFO: GPS Element Parsed {"raw_longitude":743879168,"raw_latitude":145784240,"longitude_deg":74.3879168,"latitude_deg":14.578424,"altitude":31,"angle":208,"satellites":42,"speed":0,"hex_longitude":"2c56b200","hex_latitude":"08b07db0","is_valid_coordinates":true} 
[2026-09-24 09:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297297152001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 09:56:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6247055670437064704,"note":"Value kept but may cause issues"} 
[2026-09-24 09:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,195,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790223838000,"timestamp_ms":1790223838000,"timestamp_seconds":1790223838,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a7eb30"} 
[2026-09-24 09:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-24 09:56:29] 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-09-24 09:56:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":192567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":192567,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":192567,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.122.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 09:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 09:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297297152001,"66":28332,"145":206,"195":45056,"24":0,"16":3605341577150464,"44":6247055670437064704},"client_ip":"117.224.122.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,195,24,16,44]} 
[2026-09-24 09:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 09:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 09:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297297152001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:56:29] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-24 09:56:29] local.INFO: Unknown IO ID detected {"io_id":195,"value":45056,"description":"Unknown IO ID 195"} 
[2026-09-24 09:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:56:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":6247055670437064704,"description":"Unknown IO ID 44"} 
[2026-09-24 09:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297297152001,"power":28332,"unknown_145":206,"unknown_195":45056,"ignition":0,"odometer":null,"unknown_44":6247055670437064704}} 
[2026-09-24 09:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":192567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889049,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:56:29] local.INFO: GPS data processed {"connection_id":192567,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:56:29] local.INFO: Acknowledgment sent {"connection_id":192567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:56:34] local.INFO: TCP Data received {"connection_id":190996,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:56:34] local.INFO: Processing buffer {"connection_id":190996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:56:34] local.INFO: IMEI packet received {"connection_id":190996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":190996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:56:39] local.INFO: TCP Data received {"connection_id":190996,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:56:39] local.INFO: Processing buffer {"connection_id":190996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:56:39] local.INFO: IMEI packet received {"connection_id":190996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":190996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:56:40] local.INFO: TCP Data received {"connection_id":190996,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:56:40] local.INFO: Processing buffer {"connection_id":190996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:56:40] local.INFO: Packet analysis {"connection_id":190996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 09:56:40] local.INFO: Extracted packet for processing {"connection_id":190996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 09:56:40] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297246976001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790223922000,"timestamp_ms":1790223922000,"timestamp_seconds":1790223922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a93350"} 
[2026-09-24 09:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297246976001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297246976001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:56:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:56:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297246976001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":190996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:56:40] local.INFO: GPS data processed {"connection_id":190996,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:56:40] local.INFO: Acknowledgment sent {"connection_id":190996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:56:45] local.INFO: TCP Data received {"connection_id":190996,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:56:45] local.INFO: Processing buffer {"connection_id":190996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:56:45] local.INFO: Packet analysis {"connection_id":190996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 09:56:45] local.INFO: Extracted packet for processing {"connection_id":190996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 09:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297246976001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790223922000,"timestamp_ms":1790223922000,"timestamp_seconds":1790223922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a93350"} 
[2026-09-24 09:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":190996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":190996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":190996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297246976001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297246976001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:56:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:56:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297246976001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":190996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:56:45] local.INFO: GPS data processed {"connection_id":190996,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:56:45] local.INFO: Acknowledgment sent {"connection_id":190996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:57:07] local.INFO: TCP Data received {"connection_id":191195,"ip":"117.224.122.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:57:07] local.INFO: Processing buffer {"connection_id":191195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:57:07] local.INFO: IMEI packet received {"connection_id":191195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 09:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":191195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:57:12] local.INFO: TCP Data received {"connection_id":191195,"ip":"117.224.122.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:57:12] local.INFO: Processing buffer {"connection_id":191195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:57:12] local.INFO: IMEI packet received {"connection_id":191195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 09:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":191195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:57:14] local.INFO: TCP Data received {"connection_id":191195,"ip":"117.224.122.116","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a825c8012c56a64008b050d0002400bf29..."} 
[2026-09-24 09:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a825c8012c56a64008b050d0002400bf29..."} 
[2026-09-24 09:57:14] local.INFO: Processing buffer {"connection_id":191195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a825c8012c56a64008b050d0002400bf29..."} 
[2026-09-24 09:57:14] local.INFO: Packet analysis {"connection_id":191195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a8"} 
[2026-09-24 09:57:14] local.INFO: Extracted packet for processing {"connection_id":191195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a8"} 
[2026-09-24 09:57:14] local.INFO: GPS Element Parsed {"raw_longitude":743876160,"raw_latitude":145772752,"longitude_deg":74.387616,"latitude_deg":14.5772752,"altitude":36,"angle":191,"satellites":41,"speed":13,"hex_longitude":"2c56a640","hex_latitude":"08b050d0","is_valid_coordinates":true} 
[2026-09-24 09:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297302528001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 09:57:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6247055670437064704,"note":"Value kept but may cause issues"} 
[2026-09-24 09:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,195,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790223853000,"timestamp_ms":1790223853000,"timestamp_seconds":1790223853,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a825c8"} 
[2026-09-24 09:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:57: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-09-24 09:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 09:57:14] 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-09-24 09:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191195,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191195,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.122.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 09:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 09:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297302528001,"66":28202,"145":206,"195":45056,"24":13,"16":3605341577150464,"44":6247055670437064704},"client_ip":"117.224.122.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,195,24,16,44]} 
[2026-09-24 09:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 09:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 09:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297302528001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:57:14] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-24 09:57:14] local.INFO: Unknown IO ID detected {"io_id":195,"value":45056,"description":"Unknown IO ID 195"} 
[2026-09-24 09:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:57:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":6247055670437064704,"description":"Unknown IO ID 44"} 
[2026-09-24 09:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297302528001,"power":28202,"unknown_145":206,"unknown_195":45056,"ignition":13,"odometer":null,"unknown_44":6247055670437064704}} 
[2026-09-24 09:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":191195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889052,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:57:14] local.INFO: GPS data processed {"connection_id":191195,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:57:14] local.INFO: Acknowledgment sent {"connection_id":191195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:57:28] local.INFO: TCP Data received {"connection_id":191196,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:57:28] local.INFO: Processing buffer {"connection_id":191196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:57:28] local.INFO: IMEI packet received {"connection_id":191196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":191196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:57:34] local.INFO: TCP Data received {"connection_id":191196,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:57:34] local.INFO: Processing buffer {"connection_id":191196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:57:34] local.INFO: IMEI packet received {"connection_id":191196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":191196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:57:36] local.INFO: TCP Data received {"connection_id":191196,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:57:36] local.INFO: Processing buffer {"connection_id":191196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:57:36] local.INFO: Packet analysis {"connection_id":191196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 09:57:36] local.INFO: Extracted packet for processing {"connection_id":191196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 09:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297246976001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790223922000,"timestamp_ms":1790223922000,"timestamp_seconds":1790223922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a93350"} 
[2026-09-24 09:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297246976001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297246976001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:57:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:57:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297246976001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":191196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:57:36] local.INFO: GPS data processed {"connection_id":191196,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:57:36] local.INFO: Acknowledgment sent {"connection_id":191196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:57:45] local.INFO: TCP Data received {"connection_id":191195,"ip":"117.224.122.116","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a877d0012c56a64008b050d0002400bf29..."} 
[2026-09-24 09:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a877d0012c56a64008b050d0002400bf29..."} 
[2026-09-24 09:57:45] local.INFO: Processing buffer {"connection_id":191195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a877d0012c56a64008b050d0002400bf29..."} 
[2026-09-24 09:57:45] local.INFO: Packet analysis {"connection_id":191195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a8"} 
[2026-09-24 09:57:45] local.INFO: Extracted packet for processing {"connection_id":191195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a8"} 
[2026-09-24 09:57:45] local.INFO: GPS Element Parsed {"raw_longitude":743876160,"raw_latitude":145772752,"longitude_deg":74.387616,"latitude_deg":14.5772752,"altitude":36,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2c56a640","hex_latitude":"08b050d0","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297306368001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 09:57:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6243748339457773568,"note":"Value kept but may cause issues"} 
[2026-09-24 09:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,195,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790223874000,"timestamp_ms":1790223874000,"timestamp_seconds":1790223874,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a877d0"} 
[2026-09-24 09:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:57: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-09-24 09: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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-24 09:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191195,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191195,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.122.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 09:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 09:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297306368001,"66":28398,"145":206,"195":45056,"24":0,"16":3605341577150464,"44":6243748339457773568},"client_ip":"117.224.122.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,195,24,16,44]} 
[2026-09-24 09:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 09:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 09:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297306368001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:57:45] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-24 09:57:45] local.INFO: Unknown IO ID detected {"io_id":195,"value":45056,"description":"Unknown IO ID 195"} 
[2026-09-24 09:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:57:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":6243748339457773568,"description":"Unknown IO ID 44"} 
[2026-09-24 09:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297306368001,"power":28398,"unknown_145":206,"unknown_195":45056,"ignition":0,"odometer":null,"unknown_44":6243748339457773568}} 
[2026-09-24 09:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":191195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889054,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:57:45] local.INFO: GPS data processed {"connection_id":191195,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:57:45] local.INFO: Acknowledgment sent {"connection_id":191195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:58:08] local.INFO: TCP Data received {"connection_id":191196,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:58:08] local.INFO: Processing buffer {"connection_id":191196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:58:08] local.INFO: Packet analysis {"connection_id":191196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 09:58:08] local.INFO: Extracted packet for processing {"connection_id":191196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 09:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297246976001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790223922000,"timestamp_ms":1790223922000,"timestamp_seconds":1790223922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a93350"} 
[2026-09-24 09:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297246976001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297246976001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:58:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297246976001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":191196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:58:08] local.INFO: GPS data processed {"connection_id":191196,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:58:08] local.INFO: Acknowledgment sent {"connection_id":191196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:58:13] local.INFO: TCP Data received {"connection_id":192568,"ip":"117.224.122.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192568,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:58:13] local.INFO: Processing buffer {"connection_id":192568,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:58:13] local.INFO: IMEI packet received {"connection_id":192568,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 09:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":192568,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:58:17] local.INFO: TCP Data received {"connection_id":192568,"ip":"117.224.122.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192568,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:58:17] local.INFO: Processing buffer {"connection_id":192568,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:58:17] local.INFO: IMEI packet received {"connection_id":192568,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 09:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":192568,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:58:19] local.INFO: TCP Data received {"connection_id":192568,"ip":"117.224.122.116","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a8aa98012c56840008b02d90002601102a..."} 
[2026-09-24 09:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a8aa98012c56840008b02d90002601102a..."} 
[2026-09-24 09:58:19] local.INFO: Processing buffer {"connection_id":192568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a8aa98012c56840008b02d90002601102a..."} 
[2026-09-24 09:58:19] local.INFO: Packet analysis {"connection_id":192568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a8"} 
[2026-09-24 09:58:19] local.INFO: Extracted packet for processing {"connection_id":192568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a8"} 
[2026-09-24 09:58:19] local.INFO: GPS Element Parsed {"raw_longitude":743867392,"raw_latitude":145763728,"longitude_deg":74.3867392,"latitude_deg":14.5763728,"altitude":38,"angle":272,"satellites":42,"speed":23,"hex_longitude":"2c568400","hex_latitude":"08b02d90","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297311744001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 09:58:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6243748339457773568,"note":"Value kept but may cause issues"} 
[2026-09-24 09:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790223887000,"timestamp_ms":1790223887000,"timestamp_seconds":1790223887,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a8aa98"} 
[2026-09-24 09:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 09:58: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-09-24 09: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-09-24 09:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":192568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":192568,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":192568,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.122.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 09:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 09:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297311744001,"66":28267,"34":206,"9":56064,"24":23,"16":3605341577150464,"44":6243748339457773568},"client_ip":"117.224.122.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,9,24,16,44]} 
[2026-09-24 09:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 09:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 09:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297311744001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:58:19] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-24 09:58:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-24 09:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:58:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":6243748339457773568,"description":"Unknown IO ID 44"} 
[2026-09-24 09:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297311744001,"power":28267,"unknown_34":206,"unknown_9":56064,"ignition":23,"odometer":null,"unknown_44":6243748339457773568}} 
[2026-09-24 09:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":192568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889056,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:58:19] local.INFO: GPS data processed {"connection_id":192568,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:58:19] local.INFO: Acknowledgment sent {"connection_id":192568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:58:23] local.INFO: TCP Data received {"connection_id":192568,"ip":"117.224.122.116","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a91028012c5651c008b047a0001a00f425..."} 
[2026-09-24 09:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a91028012c5651c008b047a0001a00f425..."} 
[2026-09-24 09:58:23] local.INFO: Processing buffer {"connection_id":192568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a91028012c5651c008b047a0001a00f425..."} 
[2026-09-24 09:58:23] local.INFO: Packet analysis {"connection_id":192568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 09:58:23] local.INFO: Extracted packet for processing {"connection_id":192568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 09:58:23] local.INFO: GPS Element Parsed {"raw_longitude":743854528,"raw_latitude":145770400,"longitude_deg":74.3854528,"latitude_deg":14.57704,"altitude":26,"angle":244,"satellites":37,"speed":14,"hex_longitude":"2c5651c0","hex_latitude":"08b047a0","is_valid_coordinates":true} 
[2026-09-24 09:58: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-09-24 09:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297315072001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 09:58:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6234107821503123456,"note":"Value kept but may cause issues"} 
[2026-09-24 09:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790223913000,"timestamp_ms":1790223913000,"timestamp_seconds":1790223913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a91028"} 
[2026-09-24 09:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:58: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":107,"data_length":795,"current_offset":136} 
[2026-09-24 09:58:23] 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-09-24 09:58: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-09-24 09:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192568,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192568,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.122.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 09:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 09:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297315072001,"66":28300,"34":206,"9":56064,"24":14,"16":3605341577150464,"44":6234107821503123456},"client_ip":"117.224.122.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,9,24,16,44]} 
[2026-09-24 09:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 09:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 09:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297315072001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:58:23] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-24 09:58:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-24 09:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:58:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":6234107821503123456,"description":"Unknown IO ID 44"} 
[2026-09-24 09:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297315072001,"power":28300,"unknown_34":206,"unknown_9":56064,"ignition":14,"odometer":null,"unknown_44":6234107821503123456}} 
[2026-09-24 09:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":192568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889057,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:58:23] local.INFO: GPS data processed {"connection_id":192568,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:58:23] local.INFO: Acknowledgment sent {"connection_id":192568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:58:29] local.INFO: TCP Data received {"connection_id":190997,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:58:29] local.INFO: Processing buffer {"connection_id":190997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:58:29] local.INFO: IMEI packet received {"connection_id":190997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":190997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:58:34] local.INFO: TCP Data received {"connection_id":190997,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:58:34] local.INFO: Processing buffer {"connection_id":190997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:58:34] local.INFO: IMEI packet received {"connection_id":190997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":190997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:58:36] local.INFO: TCP Data received {"connection_id":190997,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:58:36] local.INFO: Processing buffer {"connection_id":190997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:58:36] local.INFO: Packet analysis {"connection_id":190997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 09:58:36] local.INFO: Extracted packet for processing {"connection_id":190997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 09:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297246976001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790223922000,"timestamp_ms":1790223922000,"timestamp_seconds":1790223922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a93350"} 
[2026-09-24 09:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":190997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":190997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":190997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297246976001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297246976001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:58:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:58:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297246976001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":190997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:58:36] local.INFO: GPS data processed {"connection_id":190997,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:58:36] local.INFO: Acknowledgment sent {"connection_id":190997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:59:07] local.INFO: TCP Data received {"connection_id":191197,"ip":"117.224.122.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:59:07] local.INFO: Processing buffer {"connection_id":191197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:59:07] local.INFO: IMEI packet received {"connection_id":191197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 09:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":191197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:59:08] local.INFO: TCP Data received {"connection_id":190997,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:59:08] local.INFO: Processing buffer {"connection_id":190997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:59:08] local.INFO: Packet analysis {"connection_id":190997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 09:59:08] local.INFO: Extracted packet for processing {"connection_id":190997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 09:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297246976001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790223922000,"timestamp_ms":1790223922000,"timestamp_seconds":1790223922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a93350"} 
[2026-09-24 09:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297246976001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297246976001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:59:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:59:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297246976001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":190997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:59:08] local.INFO: GPS data processed {"connection_id":190997,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:59:08] local.INFO: Acknowledgment sent {"connection_id":190997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:59:08] local.INFO: TCP Data received {"connection_id":191197,"ip":"117.224.122.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:59:08] local.INFO: Processing buffer {"connection_id":191197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:59:08] local.INFO: IMEI packet received {"connection_id":191197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 09:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":191197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:59:13] local.INFO: TCP Data received {"connection_id":191197,"ip":"117.224.122.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:59:13] local.INFO: Processing buffer {"connection_id":191197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 09:59:13] local.INFO: IMEI packet received {"connection_id":191197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 09:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":191197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:59:14] local.INFO: TCP Data received {"connection_id":191197,"ip":"117.224.122.116","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a9fa880100000000000000000000000000..."} 
[2026-09-24 09:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a9fa880100000000000000000000000000..."} 
[2026-09-24 09:59:14] local.INFO: Processing buffer {"connection_id":191197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a9fa880100000000000000000000000000..."} 
[2026-09-24 09:59:14] local.INFO: Packet analysis {"connection_id":191197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 09:59:14] local.INFO: Extracted packet for processing {"connection_id":191197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 09:59:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 09:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297321728001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 09:59:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6219963703925121024,"note":"Value kept but may cause issues"} 
[2026-09-24 09:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790223973000,"timestamp_ms":1790223973000,"timestamp_seconds":1790223973,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a9fa88"} 
[2026-09-24 09:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 09:59:14] 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-09-24 09:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.122.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 09:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 09:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":191197,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 09:59:14] local.INFO: GPS data processed {"connection_id":191197,"processed":0,"errors":0,"total":1} 
[2026-09-24 09:59:14] local.INFO: Acknowledgment sent {"connection_id":191197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:59:19] local.INFO: TCP Data received {"connection_id":191197,"ip":"117.224.122.116","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a96de8012c5634c008b00f60000a00ec2b..."} 
[2026-09-24 09:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a96de8012c5634c008b00f60000a00ec2b..."} 
[2026-09-24 09:59:19] local.INFO: Processing buffer {"connection_id":191197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a96de8012c5634c008b00f60000a00ec2b..."} 
[2026-09-24 09:59:19] local.INFO: Packet analysis {"connection_id":191197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 09:59:19] local.INFO: Extracted packet for processing {"connection_id":191197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 09:59:19] local.INFO: GPS Element Parsed {"raw_longitude":743847104,"raw_latitude":145756000,"longitude_deg":74.3847104,"latitude_deg":14.5756,"altitude":10,"angle":236,"satellites":43,"speed":26,"hex_longitude":"2c5634c0","hex_latitude":"08b00f60","is_valid_coordinates":true} 
[2026-09-24 09:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 09:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 09:59:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,34,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 09:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790223937000,"timestamp_ms":1790223937000,"timestamp_seconds":1790223937,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a96de8"} 
[2026-09-24 09:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:59: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 09:59:19] 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-09-24 09:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 09:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.122.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 09:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 09:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"34":206,"9":56064,"24":26,"16":3605341577150464},"client_ip":"117.224.122.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,9,24,16]} 
[2026-09-24 09:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 09:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 09:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 09:59:19] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-24 09:59:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-24 09:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:59:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_34":206,"unknown_9":56064,"ignition":26,"odometer":null}} 
[2026-09-24 09:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":191197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889060,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:59:19] local.INFO: GPS data processed {"connection_id":191197,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:59:19] local.INFO: Acknowledgment sent {"connection_id":191197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:59:28] local.INFO: TCP Data received {"connection_id":190998,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:59:28] local.INFO: Processing buffer {"connection_id":190998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:59:28] local.INFO: IMEI packet received {"connection_id":190998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 09:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":190998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 09:59:34] local.INFO: TCP Data received {"connection_id":190998,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:59:34] local.INFO: Processing buffer {"connection_id":190998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 09:59:34] local.INFO: IMEI packet received {"connection_id":190998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 09:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":190998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 09:59:35] local.INFO: TCP Data received {"connection_id":190998,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:59:35] local.INFO: Processing buffer {"connection_id":190998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 09:59:35] local.INFO: Packet analysis {"connection_id":190998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 09:59:35] local.INFO: Extracted packet for processing {"connection_id":190998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 09:59:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 09: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-09-24 09:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297246976001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 09:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 09:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790223922000,"timestamp_ms":1790223922000,"timestamp_seconds":1790223922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a93350"} 
[2026-09-24 09:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 09:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 09: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-09-24 09:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":190998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":190998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":190998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 09:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 09:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 09:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297246976001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 09:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 09:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 09:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297246976001,"description":"Unknown IO ID 0"} 
[2026-09-24 09:59:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 09:59:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 09:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 09:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 09:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297246976001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 09:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":190998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 09:59:35] local.INFO: GPS data processed {"connection_id":190998,"processed":1,"errors":0,"total":1} 
[2026-09-24 09:59:35] local.INFO: Acknowledgment sent {"connection_id":190998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 09:59:50] local.INFO: TCP Data received {"connection_id":191197,"ip":"117.224.122.116","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1aa58480100000000000000000000000000..."} 
[2026-09-24 09:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1aa58480100000000000000000000000000..."} 
[2026-09-24 09:59:50] local.INFO: Processing buffer {"connection_id":191197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1aa58480100000000000000000000000000..."} 
[2026-09-24 09:59:50] local.INFO: Packet analysis {"connection_id":191197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1aa"} 
[2026-09-24 09:59:50] local.INFO: Extracted packet for processing {"connection_id":191197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1aa"} 
[2026-09-24 09:59:50] 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-09-24 09:59: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-09-24 09:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297327872001,"note":"Value kept but may cause issues"} 
[2026-09-24 09:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 09:59:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6211800929596825600,"note":"Value kept but may cause issues"} 
[2026-09-24 09:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 09:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790223997000,"timestamp_ms":1790223997000,"timestamp_seconds":1790223997,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1aa5848"} 
[2026-09-24 09:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 09:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 09:59: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-09-24 09:59: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-09-24 09:59: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-09-24 09:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 09:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 09:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 09:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 09:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.122.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 09:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 09:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 09:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":191197,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 09:59:50] local.INFO: GPS data processed {"connection_id":191197,"processed":0,"errors":0,"total":1} 
[2026-09-24 09:59:50] local.INFO: Acknowledgment sent {"connection_id":191197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:00:06] local.INFO: TCP Data received {"connection_id":190998,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 10:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 10:00:06] local.INFO: Processing buffer {"connection_id":190998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 10:00:06] local.INFO: Packet analysis {"connection_id":190998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 10:00:06] local.INFO: Extracted packet for processing {"connection_id":190998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 10:00:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297246976001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790223922000,"timestamp_ms":1790223922000,"timestamp_seconds":1790223922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a93350"} 
[2026-09-24 10:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297246976001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297246976001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:00:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:00:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297246976001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":190998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:00:06] local.INFO: GPS data processed {"connection_id":190998,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:00:06] local.INFO: Acknowledgment sent {"connection_id":190998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:00:08] local.INFO: TCP Data received {"connection_id":191198,"ip":"117.224.122.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:00:08] local.INFO: Processing buffer {"connection_id":191198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:00:08] local.INFO: IMEI packet received {"connection_id":191198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 10:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":191198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:00:13] local.INFO: TCP Data received {"connection_id":191198,"ip":"117.224.122.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:00:13] local.INFO: Processing buffer {"connection_id":191198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:00:13] local.INFO: IMEI packet received {"connection_id":191198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 10:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":191198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:00:14] local.INFO: TCP Data received {"connection_id":191198,"ip":"117.224.122.116","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ac67a0012c56b34008ae3570000100ac2b..."} 
[2026-09-24 10:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ac67a0012c56b34008ae3570000100ac2b..."} 
[2026-09-24 10:00:14] local.INFO: Processing buffer {"connection_id":191198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ac67a0012c56b34008ae3570000100ac2b..."} 
[2026-09-24 10:00:14] local.INFO: Packet analysis {"connection_id":191198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ac"} 
[2026-09-24 10:00:14] local.INFO: Extracted packet for processing {"connection_id":191198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ac"} 
[2026-09-24 10:00:14] local.INFO: GPS Element Parsed {"raw_longitude":743879488,"raw_latitude":145634672,"longitude_deg":74.3879488,"latitude_deg":14.5634672,"altitude":1,"angle":172,"satellites":43,"speed":29,"hex_longitude":"2c56b340","hex_latitude":"08ae3570","is_valid_coordinates":true} 
[2026-09-24 10:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 10:00:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,43,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 10:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790224132000,"timestamp_ms":1790224132000,"timestamp_seconds":1790224132,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ac67a0"} 
[2026-09-24 10:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-24 10:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191198,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191198,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.122.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 10:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 10:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"43":206,"9":56064,"24":29,"16":3605341577150464},"client_ip":"117.224.122.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,9,24,16]} 
[2026-09-24 10:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 10:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 10:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 10:00:14] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-24 10:00:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-24 10:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:00:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_43":206,"unknown_9":56064,"ignition":29,"odometer":null}} 
[2026-09-24 10:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":191198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889063,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:00:14] local.INFO: GPS data processed {"connection_id":191198,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:00:14] local.INFO: Acknowledgment sent {"connection_id":191198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:00:28] local.INFO: TCP Data received {"connection_id":193875,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:00:28] local.INFO: Processing buffer {"connection_id":193875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:00:28] local.INFO: IMEI packet received {"connection_id":193875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":193875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:00:34] local.INFO: TCP Data received {"connection_id":193875,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:00:34] local.INFO: Processing buffer {"connection_id":193875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:00:34] local.INFO: IMEI packet received {"connection_id":193875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":193875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:00:35] local.INFO: TCP Data received {"connection_id":193875,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 10:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 10:00:35] local.INFO: Processing buffer {"connection_id":193875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1a93350012d34c24006aa4930000901382d..."} 
[2026-09-24 10:00:35] local.INFO: Packet analysis {"connection_id":193875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 10:00:35] local.INFO: Extracted packet for processing {"connection_id":193875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1a9"} 
[2026-09-24 10:00:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297246976001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790223922000,"timestamp_ms":1790223922000,"timestamp_seconds":1790223922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1a93350"} 
[2026-09-24 10:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297246976001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297246976001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:00:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:00:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297246976001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":193875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:00:35] local.INFO: GPS data processed {"connection_id":193875,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:00:35] local.INFO: Acknowledgment sent {"connection_id":193875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:00:46] local.INFO: TCP Data received {"connection_id":191198,"ip":"117.224.122.116","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ad52000100000000000000000000000000..."} 
[2026-09-24 10:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ad52000100000000000000000000000000..."} 
[2026-09-24 10:00:46] local.INFO: Processing buffer {"connection_id":191198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ad52000100000000000000000000000000..."} 
[2026-09-24 10:00:46] local.INFO: Packet analysis {"connection_id":191198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:00:46] local.INFO: Extracted packet for processing {"connection_id":191198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:00:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 10:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297377792001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 10:00:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6247407514119663616,"note":"Value kept but may cause issues"} 
[2026-09-24 10:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790224192000,"timestamp_ms":1790224192000,"timestamp_seconds":1790224192,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ad5200"} 
[2026-09-24 10:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:00: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-09-24 10:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 10:00:46] 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-09-24 10:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191198,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191198,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.122.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 10:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 10:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":191198,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 10:00:46] local.INFO: GPS data processed {"connection_id":191198,"processed":0,"errors":0,"total":1} 
[2026-09-24 10:00:46] local.INFO: Acknowledgment sent {"connection_id":191198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:01:06] local.INFO: TCP Data received {"connection_id":193875,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:01:06] local.INFO: Processing buffer {"connection_id":193875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:01:06] local.INFO: Packet analysis {"connection_id":193875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:01:06] local.INFO: Extracted packet for processing {"connection_id":193875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:01:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297324032001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790224223000,"timestamp_ms":1790224223000,"timestamp_seconds":1790224223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1adcb18"} 
[2026-09-24 10:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297324032001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297324032001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:01:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:01:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297324032001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":193875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:01:06] local.INFO: GPS data processed {"connection_id":193875,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:01:06] local.INFO: Acknowledgment sent {"connection_id":193875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:01:07] local.INFO: TCP Data received {"connection_id":193876,"ip":"117.224.122.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:01:07] local.INFO: Processing buffer {"connection_id":193876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:01:07] local.INFO: IMEI packet received {"connection_id":193876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 10:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":193876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:01:13] local.INFO: TCP Data received {"connection_id":193876,"ip":"117.224.122.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:01:13] local.INFO: Processing buffer {"connection_id":193876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:01:13] local.INFO: IMEI packet received {"connection_id":193876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 10:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":193876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:01:14] local.INFO: TCP Data received {"connection_id":193876,"ip":"117.224.122.116","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1acc178012c56c18008adf410000100a12c..."} 
[2026-09-24 10:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1acc178012c56c18008adf410000100a12c..."} 
[2026-09-24 10:01:14] local.INFO: Processing buffer {"connection_id":193876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1acc178012c56c18008adf410000100a12c..."} 
[2026-09-24 10:01:14] local.INFO: Packet analysis {"connection_id":193876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ac"} 
[2026-09-24 10:01:14] local.INFO: Extracted packet for processing {"connection_id":193876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ac"} 
[2026-09-24 10:01:14] local.INFO: GPS Element Parsed {"raw_longitude":743883136,"raw_latitude":145617936,"longitude_deg":74.3883136,"latitude_deg":14.5617936,"altitude":1,"angle":161,"satellites":44,"speed":39,"hex_longitude":"2c56c180","hex_latitude":"08adf410","is_valid_coordinates":true} 
[2026-09-24 10:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 10:01:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,43,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 10:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790224155000,"timestamp_ms":1790224155000,"timestamp_seconds":1790224155,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1acc178"} 
[2026-09-24 10:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 10:01:14] 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-09-24 10:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":193876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":193876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":193876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.122.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 10:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 10:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28278,"43":206,"9":56064,"24":39,"16":3605341577150464},"client_ip":"117.224.122.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,9,24,16]} 
[2026-09-24 10:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 10:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 10:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 10:01:14] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-24 10:01:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-24 10:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:01:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28278,"unknown_43":206,"unknown_9":56064,"ignition":39,"odometer":null}} 
[2026-09-24 10:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":193876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889066,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:01:14] local.INFO: GPS data processed {"connection_id":193876,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:01:14] local.INFO: Acknowledgment sent {"connection_id":193876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:01:34] local.INFO: TCP Data received {"connection_id":190999,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:01:34] local.INFO: Processing buffer {"connection_id":190999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:01:34] local.INFO: IMEI packet received {"connection_id":190999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":190999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:01:39] local.INFO: TCP Data received {"connection_id":190999,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:01:39] local.INFO: Processing buffer {"connection_id":190999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:01:39] local.INFO: IMEI packet received {"connection_id":190999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":190999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:01:40] local.INFO: TCP Data received {"connection_id":190999,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:01:40] local.INFO: Processing buffer {"connection_id":190999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:01:40] local.INFO: Packet analysis {"connection_id":190999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:01:40] local.INFO: Extracted packet for processing {"connection_id":190999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:01:40] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297324032001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790224223000,"timestamp_ms":1790224223000,"timestamp_seconds":1790224223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1adcb18"} 
[2026-09-24 10:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297324032001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297324032001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:01:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:01:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297324032001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":190999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:01:40] local.INFO: GPS data processed {"connection_id":190999,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:01:40] local.INFO: Acknowledgment sent {"connection_id":190999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:01:45] local.INFO: TCP Data received {"connection_id":193876,"ip":"117.224.122.116","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ad0bb0012c56e20008adb3100003008b2d..."} 
[2026-09-24 10:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ad0bb0012c56e20008adb3100003008b2d..."} 
[2026-09-24 10:01:45] local.INFO: Processing buffer {"connection_id":193876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ad0bb0012c56e20008adb3100003008b2d..."} 
[2026-09-24 10:01:45] local.INFO: Packet analysis {"connection_id":193876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:01:45] local.INFO: Extracted packet for processing {"connection_id":193876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:01:45] local.INFO: GPS Element Parsed {"raw_longitude":743891456,"raw_latitude":145601296,"longitude_deg":74.3891456,"latitude_deg":14.5601296,"altitude":3,"angle":139,"satellites":45,"speed":28,"hex_longitude":"2c56e200","hex_latitude":"08adb310","is_valid_coordinates":true} 
[2026-09-24 10:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297383680001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 10:01:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6251418532533506048,"note":"Value kept but may cause issues"} 
[2026-09-24 10:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790224174000,"timestamp_ms":1790224174000,"timestamp_seconds":1790224174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ad0bb0"} 
[2026-09-24 10:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 10:01:45] 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-09-24 10:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.122.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 10:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 10:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297383680001,"66":28300,"43":206,"9":56064,"24":28,"16":3605341577150464,"44":6251418532533506048},"client_ip":"117.224.122.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,9,24,16,44]} 
[2026-09-24 10:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 10:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 10:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297383680001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:01:45] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-24 10:01:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-24 10:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:01:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":6251418532533506048,"description":"Unknown IO ID 44"} 
[2026-09-24 10:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297383680001,"power":28300,"unknown_43":206,"unknown_9":56064,"ignition":28,"odometer":null,"unknown_44":6251418532533506048}} 
[2026-09-24 10:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":193876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889068,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:01:45] local.INFO: GPS data processed {"connection_id":193876,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:01:45] local.INFO: Acknowledgment sent {"connection_id":193876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:02:07] local.INFO: TCP Data received {"connection_id":191199,"ip":"117.224.122.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:02:07] local.INFO: Processing buffer {"connection_id":191199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:02:07] local.INFO: IMEI packet received {"connection_id":191199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 10:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":191199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:02:11] local.INFO: TCP Data received {"connection_id":190999,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:02:11] local.INFO: Processing buffer {"connection_id":190999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:02:11] local.INFO: Packet analysis {"connection_id":190999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:02:11] local.INFO: Extracted packet for processing {"connection_id":190999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:02:11] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297324032001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790224223000,"timestamp_ms":1790224223000,"timestamp_seconds":1790224223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1adcb18"} 
[2026-09-24 10:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297324032001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297324032001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:02:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:02:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297324032001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":190999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:02:11] local.INFO: GPS data processed {"connection_id":190999,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:02:11] local.INFO: Acknowledgment sent {"connection_id":190999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:02:12] local.INFO: TCP Data received {"connection_id":191199,"ip":"117.224.122.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:02:12] local.INFO: Processing buffer {"connection_id":191199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:02:12] local.INFO: IMEI packet received {"connection_id":191199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 10:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":191199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:02:13] local.INFO: TCP Data received {"connection_id":191199,"ip":"117.224.122.116","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1adf6100100000000000000000000000000..."} 
[2026-09-24 10:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1adf6100100000000000000000000000000..."} 
[2026-09-24 10:02:13] local.INFO: Processing buffer {"connection_id":191199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1adf6100100000000000000000000000000..."} 
[2026-09-24 10:02:13] local.INFO: Packet analysis {"connection_id":191199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:02:13] local.INFO: Extracted packet for processing {"connection_id":191199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:02:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 10:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297388544001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 10:02:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6260566469272342528,"note":"Value kept but may cause issues"} 
[2026-09-24 10:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790224234000,"timestamp_ms":1790224234000,"timestamp_seconds":1790224234,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1adf610"} 
[2026-09-24 10:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 10:02:13] 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-09-24 10:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.122.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 10:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 10:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":191199,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 10:02:13] local.INFO: GPS data processed {"connection_id":191199,"processed":0,"errors":0,"total":1} 
[2026-09-24 10:02:13] local.INFO: Acknowledgment sent {"connection_id":191199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:02:29] local.INFO: TCP Data received {"connection_id":192569,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:02:29] local.INFO: Processing buffer {"connection_id":192569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:02:29] local.INFO: IMEI packet received {"connection_id":192569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":192569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:02:34] local.INFO: TCP Data received {"connection_id":192569,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:02:34] local.INFO: Processing buffer {"connection_id":192569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:02:34] local.INFO: IMEI packet received {"connection_id":192569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":192569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:02:35] local.INFO: TCP Data received {"connection_id":192569,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:02:35] local.INFO: Processing buffer {"connection_id":192569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:02:35] local.INFO: Packet analysis {"connection_id":192569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:02:35] local.INFO: Extracted packet for processing {"connection_id":192569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297324032001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790224223000,"timestamp_ms":1790224223000,"timestamp_seconds":1790224223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1adcb18"} 
[2026-09-24 10:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297324032001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297324032001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:02:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297324032001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":192569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:02:35] local.INFO: GPS data processed {"connection_id":192569,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:02:35] local.INFO: Acknowledgment sent {"connection_id":192569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:02:45] local.INFO: TCP Data received {"connection_id":191199,"ip":"117.224.122.116","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ad80e0012c57094008ad85700004008f2d..."} 
[2026-09-24 10:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ad80e0012c57094008ad85700004008f2d..."} 
[2026-09-24 10:02:45] local.INFO: Processing buffer {"connection_id":191199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ad80e0012c57094008ad85700004008f2d..."} 
[2026-09-24 10:02:45] local.INFO: Packet analysis {"connection_id":191199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:02:45] local.INFO: Extracted packet for processing {"connection_id":191199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:02:45] local.INFO: GPS Element Parsed {"raw_longitude":743901504,"raw_latitude":145589616,"longitude_deg":74.3901504,"latitude_deg":14.5589616,"altitude":4,"angle":143,"satellites":45,"speed":29,"hex_longitude":"2c570940","hex_latitude":"08ad8570","is_valid_coordinates":true} 
[2026-09-24 10:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 10:02:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,43,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 10:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790224204000,"timestamp_ms":1790224204000,"timestamp_seconds":1790224204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ad80e0"} 
[2026-09-24 10:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 10:02: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-09-24 10:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.122.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 10:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 10:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"43":206,"9":56064,"24":29,"16":3605341577150464},"client_ip":"117.224.122.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,9,24,16]} 
[2026-09-24 10:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 10:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 10:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 10:02:45] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-24 10:02:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-24 10:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:02:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_43":206,"unknown_9":56064,"ignition":29,"odometer":null}} 
[2026-09-24 10:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":191199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889071,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:02:45] local.INFO: GPS data processed {"connection_id":191199,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:02:45] local.INFO: Acknowledgment sent {"connection_id":191199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:03:06] local.INFO: TCP Data received {"connection_id":192569,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:03:06] local.INFO: Processing buffer {"connection_id":192569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:03:06] local.INFO: Packet analysis {"connection_id":192569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:03:06] local.INFO: Extracted packet for processing {"connection_id":192569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:03:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297324032001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790224223000,"timestamp_ms":1790224223000,"timestamp_seconds":1790224223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1adcb18"} 
[2026-09-24 10:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297324032001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297324032001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:03:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:03:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297324032001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":192569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:03:06] local.INFO: GPS data processed {"connection_id":192569,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:03:06] local.INFO: Acknowledgment sent {"connection_id":192569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:03:07] local.INFO: TCP Data received {"connection_id":191200,"ip":"117.224.122.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191200,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:03:07] local.INFO: Processing buffer {"connection_id":191200,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:03:07] local.INFO: IMEI packet received {"connection_id":191200,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 10:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":191200,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:03:12] local.INFO: TCP Data received {"connection_id":191200,"ip":"117.224.122.116","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191200,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:03:12] local.INFO: Processing buffer {"connection_id":191200,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:03:12] local.INFO: IMEI packet received {"connection_id":191200,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 10:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":191200,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:03:13] local.INFO: TCP Data received {"connection_id":191200,"ip":"117.224.122.116","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1adcf00012c572c0008ad43600004009b2c..."} 
[2026-09-24 10:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1adcf00012c572c0008ad43600004009b2c..."} 
[2026-09-24 10:03:13] local.INFO: Processing buffer {"connection_id":191200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1adcf00012c572c0008ad43600004009b2c..."} 
[2026-09-24 10:03:13] local.INFO: Packet analysis {"connection_id":191200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:03:13] local.INFO: Extracted packet for processing {"connection_id":191200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:03:13] local.INFO: GPS Element Parsed {"raw_longitude":743910400,"raw_latitude":145572704,"longitude_deg":74.39104,"latitude_deg":14.5572704,"altitude":4,"angle":155,"satellites":44,"speed":40,"hex_longitude":"2c572c00","hex_latitude":"08ad4360","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297396224001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 10:03:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6271614362105245696,"note":"Value kept but may cause issues"} 
[2026-09-24 10:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790224224000,"timestamp_ms":1790224224000,"timestamp_seconds":1790224224,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1adcf00"} 
[2026-09-24 10:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 10:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191200,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191200,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.122.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 10:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 10:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297396224001,"66":28278,"43":206,"9":56064,"24":40,"16":3605341577150464,"44":6271614362105245696},"client_ip":"117.224.122.116","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,9,24,16,44]} 
[2026-09-24 10:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 10:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 10:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297396224001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:03:13] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-24 10:03:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-24 10:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:03:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":6271614362105245696,"description":"Unknown IO ID 44"} 
[2026-09-24 10:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297396224001,"power":28278,"unknown_43":206,"unknown_9":56064,"ignition":40,"odometer":null,"unknown_44":6271614362105245696}} 
[2026-09-24 10:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":191200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889073,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:03:13] local.INFO: GPS data processed {"connection_id":191200,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:03:13] local.INFO: Acknowledgment sent {"connection_id":191200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:03:28] local.INFO: TCP Data received {"connection_id":191000,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:03:28] local.INFO: Processing buffer {"connection_id":191000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:03:28] local.INFO: IMEI packet received {"connection_id":191000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":191000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:03:35] local.INFO: TCP Data received {"connection_id":191000,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:03:35] local.INFO: Processing buffer {"connection_id":191000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:03:35] local.INFO: IMEI packet received {"connection_id":191000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":191000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:03:36] local.INFO: TCP Data received {"connection_id":191000,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:03:36] local.INFO: Processing buffer {"connection_id":191000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:03:36] local.INFO: Packet analysis {"connection_id":191000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:03:36] local.INFO: Extracted packet for processing {"connection_id":191000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:03:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297324032001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790224223000,"timestamp_ms":1790224223000,"timestamp_seconds":1790224223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1adcb18"} 
[2026-09-24 10:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297324032001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297324032001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:03:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:03:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297324032001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":191000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:03:36] local.INFO: GPS data processed {"connection_id":191000,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:03:36] local.INFO: Acknowledgment sent {"connection_id":191000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:04:07] local.INFO: TCP Data received {"connection_id":191000,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:04:07] local.INFO: Processing buffer {"connection_id":191000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:04:07] local.INFO: Packet analysis {"connection_id":191000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:04:07] local.INFO: Extracted packet for processing {"connection_id":191000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:04:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297324032001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790224223000,"timestamp_ms":1790224223000,"timestamp_seconds":1790224223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1adcb18"} 
[2026-09-24 10:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297324032001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297324032001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:04:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:04:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297324032001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":191000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:04:07] local.INFO: GPS data processed {"connection_id":191000,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:04:07] local.INFO: Acknowledgment sent {"connection_id":191000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:04:28] local.INFO: TCP Data received {"connection_id":191001,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:04:28] local.INFO: Processing buffer {"connection_id":191001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:04:28] local.INFO: IMEI packet received {"connection_id":191001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":191001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:04:34] local.INFO: TCP Data received {"connection_id":191001,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:04:34] local.INFO: Processing buffer {"connection_id":191001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:04:34] local.INFO: IMEI packet received {"connection_id":191001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":191001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:04:35] local.INFO: TCP Data received {"connection_id":191001,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:04:35] local.INFO: Processing buffer {"connection_id":191001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:04:35] local.INFO: Packet analysis {"connection_id":191001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:04:35] local.INFO: Extracted packet for processing {"connection_id":191001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297324032001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790224223000,"timestamp_ms":1790224223000,"timestamp_seconds":1790224223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1adcb18"} 
[2026-09-24 10:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297324032001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297324032001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:04:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:04:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297324032001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":191001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:04:35] local.INFO: GPS data processed {"connection_id":191001,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:04:35] local.INFO: Acknowledgment sent {"connection_id":191001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:05:06] local.INFO: TCP Data received {"connection_id":191001,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:05:06] local.INFO: Processing buffer {"connection_id":191001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:05:06] local.INFO: Packet analysis {"connection_id":191001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:05:06] local.INFO: Extracted packet for processing {"connection_id":191001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:05:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297324032001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790224223000,"timestamp_ms":1790224223000,"timestamp_seconds":1790224223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1adcb18"} 
[2026-09-24 10:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297324032001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297324032001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:05:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:05:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297324032001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":191001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:05:06] local.INFO: GPS data processed {"connection_id":191001,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:05:06] local.INFO: Acknowledgment sent {"connection_id":191001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:05:29] local.INFO: TCP Data received {"connection_id":191002,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:05:29] local.INFO: Processing buffer {"connection_id":191002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:05:29] local.INFO: IMEI packet received {"connection_id":191002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":191002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:05:34] local.INFO: TCP Data received {"connection_id":191002,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:05:34] local.INFO: Processing buffer {"connection_id":191002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:05:34] local.INFO: IMEI packet received {"connection_id":191002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":191002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:05:35] local.INFO: TCP Data received {"connection_id":191002,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:05:35] local.INFO: Processing buffer {"connection_id":191002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1adcb18012d34c24006aa4930000901382c..."} 
[2026-09-24 10:05:35] local.INFO: Packet analysis {"connection_id":191002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:05:35] local.INFO: Extracted packet for processing {"connection_id":191002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ad"} 
[2026-09-24 10:05:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297324032001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790224223000,"timestamp_ms":1790224223000,"timestamp_seconds":1790224223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1adcb18"} 
[2026-09-24 10:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297324032001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297324032001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:05:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:05:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297324032001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":191002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:05:35] local.INFO: GPS data processed {"connection_id":191002,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:05:35] local.INFO: Acknowledgment sent {"connection_id":191002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:06:07] local.INFO: TCP Data received {"connection_id":191002,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:06:07] local.INFO: Processing buffer {"connection_id":191002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:06:07] local.INFO: Packet analysis {"connection_id":191002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1b2"} 
[2026-09-24 10:06:07] local.INFO: Extracted packet for processing {"connection_id":191002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1b2"} 
[2026-09-24 10:06:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297401088001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790224524000,"timestamp_ms":1790224524000,"timestamp_seconds":1790224524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1b262e0"} 
[2026-09-24 10:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297401088001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297401088001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:06:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:06:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297401088001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":191002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:06:07] local.INFO: GPS data processed {"connection_id":191002,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:06:07] local.INFO: Acknowledgment sent {"connection_id":191002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:06:34] local.INFO: TCP Data received {"connection_id":193877,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:06:34] local.INFO: Processing buffer {"connection_id":193877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:06:34] local.INFO: IMEI packet received {"connection_id":193877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":193877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:06:39] local.INFO: TCP Data received {"connection_id":193877,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:06:39] local.INFO: Processing buffer {"connection_id":193877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:06:39] local.INFO: IMEI packet received {"connection_id":193877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":193877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:06:40] local.INFO: TCP Data received {"connection_id":193877,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:06:40] local.INFO: Processing buffer {"connection_id":193877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:06:40] local.INFO: Packet analysis {"connection_id":193877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1b2"} 
[2026-09-24 10:06:40] local.INFO: Extracted packet for processing {"connection_id":193877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1b2"} 
[2026-09-24 10:06:40] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297401088001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790224524000,"timestamp_ms":1790224524000,"timestamp_seconds":1790224524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1b262e0"} 
[2026-09-24 10:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297401088001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297401088001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:06:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:06:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297401088001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":193877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:06:40] local.INFO: GPS data processed {"connection_id":193877,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:06:40] local.INFO: Acknowledgment sent {"connection_id":193877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:07:11] local.INFO: TCP Data received {"connection_id":193877,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:07:11] local.INFO: Processing buffer {"connection_id":193877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:07:11] local.INFO: Packet analysis {"connection_id":193877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1b2"} 
[2026-09-24 10:07:11] local.INFO: Extracted packet for processing {"connection_id":193877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1b2"} 
[2026-09-24 10:07:11] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297401088001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790224524000,"timestamp_ms":1790224524000,"timestamp_seconds":1790224524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1b262e0"} 
[2026-09-24 10:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297401088001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297401088001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:07:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:07:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297401088001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":193877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:07:11] local.INFO: GPS data processed {"connection_id":193877,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:07:11] local.INFO: Acknowledgment sent {"connection_id":193877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:07:28] local.INFO: TCP Data received {"connection_id":191201,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:07:28] local.INFO: Processing buffer {"connection_id":191201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:07:28] local.INFO: IMEI packet received {"connection_id":191201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":191201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:07:34] local.INFO: TCP Data received {"connection_id":191201,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:07:34] local.INFO: Processing buffer {"connection_id":191201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:07:34] local.INFO: IMEI packet received {"connection_id":191201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":191201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:07:35] local.INFO: TCP Data received {"connection_id":191201,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:07:35] local.INFO: Processing buffer {"connection_id":191201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:07:35] local.INFO: Packet analysis {"connection_id":191201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1b2"} 
[2026-09-24 10:07:35] local.INFO: Extracted packet for processing {"connection_id":191201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1b2"} 
[2026-09-24 10:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297401088001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790224524000,"timestamp_ms":1790224524000,"timestamp_seconds":1790224524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1b262e0"} 
[2026-09-24 10:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297401088001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297401088001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:07:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:07:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297401088001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":191201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:07:35] local.INFO: GPS data processed {"connection_id":191201,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:07:35] local.INFO: Acknowledgment sent {"connection_id":191201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:07:47] local.INFO: TCP Data received {"connection_id":192570,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:07:47] local.INFO: Processing buffer {"connection_id":192570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:07:47] local.INFO: IMEI packet received {"connection_id":192570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 10:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":192570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:08:07] local.INFO: TCP Data received {"connection_id":191201,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:08:07] local.INFO: Processing buffer {"connection_id":191201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:08:07] local.INFO: Packet analysis {"connection_id":191201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1b2"} 
[2026-09-24 10:08:07] local.INFO: Extracted packet for processing {"connection_id":191201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1b2"} 
[2026-09-24 10:08:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297401088001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790224524000,"timestamp_ms":1790224524000,"timestamp_seconds":1790224524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1b262e0"} 
[2026-09-24 10:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297401088001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297401088001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:08:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:08:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297401088001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":191201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:08:07] local.INFO: GPS data processed {"connection_id":191201,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:08:07] local.INFO: Acknowledgment sent {"connection_id":191201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:08:28] local.INFO: TCP Data received {"connection_id":191003,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:08:28] local.INFO: Processing buffer {"connection_id":191003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:08:28] local.INFO: IMEI packet received {"connection_id":191003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":191003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:08:35] local.INFO: TCP Data received {"connection_id":191003,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:08:35] local.INFO: Processing buffer {"connection_id":191003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:08:35] local.INFO: IMEI packet received {"connection_id":191003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":191003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:08:35] local.INFO: TCP Data received {"connection_id":193878,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:08:35] local.INFO: Processing buffer {"connection_id":193878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:08:35] local.INFO: IMEI packet received {"connection_id":193878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 10:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":193878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:08:35] local.INFO: TCP Data received {"connection_id":191003,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:08:35] local.INFO: Processing buffer {"connection_id":191003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:08:35] local.INFO: Packet analysis {"connection_id":191003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1b2"} 
[2026-09-24 10:08:35] local.INFO: Extracted packet for processing {"connection_id":191003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1b2"} 
[2026-09-24 10:08:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297401088001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790224524000,"timestamp_ms":1790224524000,"timestamp_seconds":1790224524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1b262e0"} 
[2026-09-24 10:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297401088001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297401088001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:08:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:08:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297401088001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":191003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:08:35] local.INFO: GPS data processed {"connection_id":191003,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:08:35] local.INFO: Acknowledgment sent {"connection_id":191003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:09:07] local.INFO: TCP Data received {"connection_id":191003,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:09:07] local.INFO: Processing buffer {"connection_id":191003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:09:07] local.INFO: Packet analysis {"connection_id":191003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1b2"} 
[2026-09-24 10:09:07] local.INFO: Extracted packet for processing {"connection_id":191003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1b2"} 
[2026-09-24 10:09:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297401088001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790224524000,"timestamp_ms":1790224524000,"timestamp_seconds":1790224524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1b262e0"} 
[2026-09-24 10:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297401088001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297401088001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:09:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:09:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297401088001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":191003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:09:07] local.INFO: GPS data processed {"connection_id":191003,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:09:07] local.INFO: Acknowledgment sent {"connection_id":191003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:09:23] local.INFO: TCP Data received {"connection_id":191202,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191202,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:09:23] local.INFO: Processing buffer {"connection_id":191202,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:09:23] local.INFO: IMEI packet received {"connection_id":191202,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 10:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":191202,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:09:28] local.INFO: TCP Data received {"connection_id":192571,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:09:28] local.INFO: Processing buffer {"connection_id":192571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:09:28] local.INFO: IMEI packet received {"connection_id":192571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":192571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:09:34] local.INFO: TCP Data received {"connection_id":192571,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:09:34] local.INFO: Processing buffer {"connection_id":192571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:09:34] local.INFO: IMEI packet received {"connection_id":192571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":192571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:09:35] local.INFO: TCP Data received {"connection_id":192571,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:09:35] local.INFO: Processing buffer {"connection_id":192571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:09:35] local.INFO: Packet analysis {"connection_id":192571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1b2"} 
[2026-09-24 10:09:35] local.INFO: Extracted packet for processing {"connection_id":192571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1b2"} 
[2026-09-24 10:09:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297401088001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790224524000,"timestamp_ms":1790224524000,"timestamp_seconds":1790224524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1b262e0"} 
[2026-09-24 10:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297401088001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297401088001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:09:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:09:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297401088001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":192571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:09:35] local.INFO: GPS data processed {"connection_id":192571,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:09:35] local.INFO: Acknowledgment sent {"connection_id":192571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:10:08] local.INFO: TCP Data received {"connection_id":192571,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:10:08] local.INFO: Processing buffer {"connection_id":192571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:10:08] local.INFO: Packet analysis {"connection_id":192571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1b2"} 
[2026-09-24 10:10:08] local.INFO: Extracted packet for processing {"connection_id":192571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1b2"} 
[2026-09-24 10:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 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-09-24 10:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297401088001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790224524000,"timestamp_ms":1790224524000,"timestamp_seconds":1790224524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1b262e0"} 
[2026-09-24 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-09-24 10:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 10:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297401088001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297401088001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:10:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297401088001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":192571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:10:08] local.INFO: GPS data processed {"connection_id":192571,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:10:08] local.INFO: Acknowledgment sent {"connection_id":192571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:10:34] local.INFO: TCP Data received {"connection_id":192572,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:10:34] local.INFO: Processing buffer {"connection_id":192572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:10:34] local.INFO: IMEI packet received {"connection_id":192572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":192572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:10:35] local.INFO: TCP Data received {"connection_id":192572,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:10:35] local.INFO: Processing buffer {"connection_id":192572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1b262e0012d34c24006aa4930000901382d..."} 
[2026-09-24 10:10:35] local.INFO: Packet analysis {"connection_id":192572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1b2"} 
[2026-09-24 10:10:35] local.INFO: Extracted packet for processing {"connection_id":192572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1b2"} 
[2026-09-24 10:10:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297401088001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790224524000,"timestamp_ms":1790224524000,"timestamp_seconds":1790224524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1b262e0"} 
[2026-09-24 10:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297401088001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297401088001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:10:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:10:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297401088001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":192572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:10:35] local.INFO: GPS data processed {"connection_id":192572,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:10:35] local.INFO: Acknowledgment sent {"connection_id":192572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:11:07] local.INFO: TCP Data received {"connection_id":192572,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:11:07] local.INFO: Processing buffer {"connection_id":192572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:11:07] local.INFO: Packet analysis {"connection_id":192572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1b6"} 
[2026-09-24 10:11:07] local.INFO: Extracted packet for processing {"connection_id":192572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1b6"} 
[2026-09-24 10:11:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297478144001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790224825000,"timestamp_ms":1790224825000,"timestamp_seconds":1790224825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1b6faa8"} 
[2026-09-24 10:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297478144001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297478144001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:11:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:11:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297478144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":192572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:11:07] local.INFO: GPS data processed {"connection_id":192572,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:11:07] local.INFO: Acknowledgment sent {"connection_id":192572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:11:29] local.INFO: TCP Data received {"connection_id":192574,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:11:29] local.INFO: Processing buffer {"connection_id":192574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:11:29] local.INFO: IMEI packet received {"connection_id":192574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":192574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:11:34] local.INFO: TCP Data received {"connection_id":192574,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:11:34] local.INFO: Processing buffer {"connection_id":192574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:11:34] local.INFO: IMEI packet received {"connection_id":192574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":192574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:11:35] local.INFO: TCP Data received {"connection_id":192574,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:11:35] local.INFO: Processing buffer {"connection_id":192574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:11:35] local.INFO: Packet analysis {"connection_id":192574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1b6"} 
[2026-09-24 10:11:35] local.INFO: Extracted packet for processing {"connection_id":192574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1b6"} 
[2026-09-24 10:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297478144001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790224825000,"timestamp_ms":1790224825000,"timestamp_seconds":1790224825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1b6faa8"} 
[2026-09-24 10:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297478144001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297478144001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:11:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:11:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297478144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":192574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:11:35] local.INFO: GPS data processed {"connection_id":192574,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:11:35] local.INFO: Acknowledgment sent {"connection_id":192574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:12:07] local.INFO: TCP Data received {"connection_id":192574,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:12:07] local.INFO: Processing buffer {"connection_id":192574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:12:07] local.INFO: Packet analysis {"connection_id":192574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1b6"} 
[2026-09-24 10:12:07] local.INFO: Extracted packet for processing {"connection_id":192574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1b6"} 
[2026-09-24 10:12:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297478144001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790224825000,"timestamp_ms":1790224825000,"timestamp_seconds":1790224825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1b6faa8"} 
[2026-09-24 10:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297478144001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297478144001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:12:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:12:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297478144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":192574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:12:07] local.INFO: GPS data processed {"connection_id":192574,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:12:07] local.INFO: Acknowledgment sent {"connection_id":192574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:12:28] local.INFO: TCP Data received {"connection_id":193879,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:12:28] local.INFO: Processing buffer {"connection_id":193879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:12:28] local.INFO: IMEI packet received {"connection_id":193879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":193879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:12:34] local.INFO: TCP Data received {"connection_id":193879,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:12:34] local.INFO: Processing buffer {"connection_id":193879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:12:34] local.INFO: IMEI packet received {"connection_id":193879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":193879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:12:35] local.INFO: TCP Data received {"connection_id":193879,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:12:35] local.INFO: Processing buffer {"connection_id":193879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:12:35] local.INFO: Packet analysis {"connection_id":193879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1b6"} 
[2026-09-24 10:12:35] local.INFO: Extracted packet for processing {"connection_id":193879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1b6"} 
[2026-09-24 10:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297478144001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790224825000,"timestamp_ms":1790224825000,"timestamp_seconds":1790224825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1b6faa8"} 
[2026-09-24 10:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297478144001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297478144001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:12:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:12:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297478144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":193879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:12:35] local.INFO: GPS data processed {"connection_id":193879,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:12:35] local.INFO: Acknowledgment sent {"connection_id":193879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:13:06] local.INFO: TCP Data received {"connection_id":193879,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:13:06] local.INFO: Processing buffer {"connection_id":193879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:13:06] local.INFO: Packet analysis {"connection_id":193879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1b6"} 
[2026-09-24 10:13:06] local.INFO: Extracted packet for processing {"connection_id":193879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1b6"} 
[2026-09-24 10:13:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297478144001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790224825000,"timestamp_ms":1790224825000,"timestamp_seconds":1790224825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1b6faa8"} 
[2026-09-24 10:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297478144001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297478144001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:13:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:13:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297478144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":193879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:13:06] local.INFO: GPS data processed {"connection_id":193879,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:13:06] local.INFO: Acknowledgment sent {"connection_id":193879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:13:28] local.INFO: TCP Data received {"connection_id":193880,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:13:28] local.INFO: Processing buffer {"connection_id":193880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:13:28] local.INFO: IMEI packet received {"connection_id":193880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":193880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:13:34] local.INFO: TCP Data received {"connection_id":193880,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:13:34] local.INFO: Processing buffer {"connection_id":193880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:13:34] local.INFO: IMEI packet received {"connection_id":193880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":193880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:13:36] local.INFO: TCP Data received {"connection_id":193880,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:13:36] local.INFO: Processing buffer {"connection_id":193880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:13:36] local.INFO: Packet analysis {"connection_id":193880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1b6"} 
[2026-09-24 10:13:36] local.INFO: Extracted packet for processing {"connection_id":193880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1b6"} 
[2026-09-24 10:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297478144001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790224825000,"timestamp_ms":1790224825000,"timestamp_seconds":1790224825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1b6faa8"} 
[2026-09-24 10:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297478144001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297478144001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:13:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:13:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297478144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":193880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:13:36] local.INFO: GPS data processed {"connection_id":193880,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:13:36] local.INFO: Acknowledgment sent {"connection_id":193880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:14:07] local.INFO: TCP Data received {"connection_id":193880,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:14:07] local.INFO: Processing buffer {"connection_id":193880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:14:07] local.INFO: Packet analysis {"connection_id":193880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1b6"} 
[2026-09-24 10:14:07] local.INFO: Extracted packet for processing {"connection_id":193880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1b6"} 
[2026-09-24 10:14:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297478144001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790224825000,"timestamp_ms":1790224825000,"timestamp_seconds":1790224825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1b6faa8"} 
[2026-09-24 10:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297478144001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297478144001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:14:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:14:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297478144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":193880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:14:07] local.INFO: GPS data processed {"connection_id":193880,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:14:07] local.INFO: Acknowledgment sent {"connection_id":193880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:14:34] local.INFO: TCP Data received {"connection_id":191005,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:14:34] local.INFO: Processing buffer {"connection_id":191005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:14:34] local.INFO: IMEI packet received {"connection_id":191005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":191005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:14:39] local.INFO: TCP Data received {"connection_id":191005,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:14:39] local.INFO: Processing buffer {"connection_id":191005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:14:39] local.INFO: IMEI packet received {"connection_id":191005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":191005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:14:40] local.INFO: TCP Data received {"connection_id":191005,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:14:40] local.INFO: Processing buffer {"connection_id":191005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:14:40] local.INFO: Packet analysis {"connection_id":191005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1b6"} 
[2026-09-24 10:14:40] local.INFO: Extracted packet for processing {"connection_id":191005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1b6"} 
[2026-09-24 10:14:40] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297478144001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790224825000,"timestamp_ms":1790224825000,"timestamp_seconds":1790224825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1b6faa8"} 
[2026-09-24 10:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297478144001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297478144001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:14:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:14:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297478144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":191005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:14:40] local.INFO: GPS data processed {"connection_id":191005,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:14:40] local.INFO: Acknowledgment sent {"connection_id":191005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:14:45] local.INFO: TCP Data received {"connection_id":191005,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:14:45] local.INFO: Processing buffer {"connection_id":191005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:14:45] local.INFO: Packet analysis {"connection_id":191005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1b6"} 
[2026-09-24 10:14:45] local.INFO: Extracted packet for processing {"connection_id":191005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1b6"} 
[2026-09-24 10:14:45] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297478144001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790224825000,"timestamp_ms":1790224825000,"timestamp_seconds":1790224825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1b6faa8"} 
[2026-09-24 10:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:14:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297478144001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297478144001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:14:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:14:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297478144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":191005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:14:45] local.INFO: GPS data processed {"connection_id":191005,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:14:45] local.INFO: Acknowledgment sent {"connection_id":191005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:15:28] local.INFO: TCP Data received {"connection_id":191006,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:15:28] local.INFO: Processing buffer {"connection_id":191006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:15:28] local.INFO: IMEI packet received {"connection_id":191006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":191006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:15:34] local.INFO: TCP Data received {"connection_id":191006,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:15:34] local.INFO: Processing buffer {"connection_id":191006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:15:34] local.INFO: IMEI packet received {"connection_id":191006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":191006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:15:35] local.INFO: TCP Data received {"connection_id":191006,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:15:35] local.INFO: Processing buffer {"connection_id":191006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1b6faa8012d34c24006aa4930000901382e..."} 
[2026-09-24 10:15:35] local.INFO: Packet analysis {"connection_id":191006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1b6"} 
[2026-09-24 10:15:35] local.INFO: Extracted packet for processing {"connection_id":191006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1b6"} 
[2026-09-24 10:15:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297478144001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790224825000,"timestamp_ms":1790224825000,"timestamp_seconds":1790224825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1b6faa8"} 
[2026-09-24 10:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297478144001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297478144001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:15:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:15:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297478144001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":191006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:15:35] local.INFO: GPS data processed {"connection_id":191006,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:15:35] local.INFO: Acknowledgment sent {"connection_id":191006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:16:07] local.INFO: TCP Data received {"connection_id":191006,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:16:07] local.INFO: Processing buffer {"connection_id":191006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:16:07] local.INFO: Packet analysis {"connection_id":191006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1bb"} 
[2026-09-24 10:16:07] local.INFO: Extracted packet for processing {"connection_id":191006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1bb"} 
[2026-09-24 10:16:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297555200001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790225126000,"timestamp_ms":1790225126000,"timestamp_seconds":1790225126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1bb9270"} 
[2026-09-24 10:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297555200001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297555200001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:16:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:16:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297555200001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":191006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:16:07] local.INFO: GPS data processed {"connection_id":191006,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:16:07] local.INFO: Acknowledgment sent {"connection_id":191006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:16:29] local.INFO: TCP Data received {"connection_id":192575,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:16:29] local.INFO: Processing buffer {"connection_id":192575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:16:29] local.INFO: IMEI packet received {"connection_id":192575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":192575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:16:34] local.INFO: TCP Data received {"connection_id":192575,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:16:34] local.INFO: Processing buffer {"connection_id":192575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:16:34] local.INFO: IMEI packet received {"connection_id":192575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":192575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:16:36] local.INFO: TCP Data received {"connection_id":192575,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:16:36] local.INFO: Processing buffer {"connection_id":192575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:16:36] local.INFO: Packet analysis {"connection_id":192575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1bb"} 
[2026-09-24 10:16:36] local.INFO: Extracted packet for processing {"connection_id":192575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1bb"} 
[2026-09-24 10:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297555200001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790225126000,"timestamp_ms":1790225126000,"timestamp_seconds":1790225126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1bb9270"} 
[2026-09-24 10:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297555200001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297555200001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:16:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:16:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297555200001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":192575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:16:36] local.INFO: GPS data processed {"connection_id":192575,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:16:36] local.INFO: Acknowledgment sent {"connection_id":192575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:17:08] local.INFO: TCP Data received {"connection_id":192575,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:17:08] local.INFO: Processing buffer {"connection_id":192575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:17:08] local.INFO: Packet analysis {"connection_id":192575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1bb"} 
[2026-09-24 10:17:08] local.INFO: Extracted packet for processing {"connection_id":192575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1bb"} 
[2026-09-24 10:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297555200001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790225126000,"timestamp_ms":1790225126000,"timestamp_seconds":1790225126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1bb9270"} 
[2026-09-24 10:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297555200001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297555200001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:17:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:17:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297555200001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":192575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:17:08] local.INFO: GPS data processed {"connection_id":192575,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:17:08] local.INFO: Acknowledgment sent {"connection_id":192575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:17:28] local.INFO: TCP Data received {"connection_id":191007,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:17:28] local.INFO: Processing buffer {"connection_id":191007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:17:28] local.INFO: IMEI packet received {"connection_id":191007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":191007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:17:34] local.INFO: TCP Data received {"connection_id":191007,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:17:34] local.INFO: Processing buffer {"connection_id":191007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:17:34] local.INFO: IMEI packet received {"connection_id":191007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":191007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:17:35] local.INFO: TCP Data received {"connection_id":191007,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:17:35] local.INFO: Processing buffer {"connection_id":191007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:17:35] local.INFO: Packet analysis {"connection_id":191007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1bb"} 
[2026-09-24 10:17:35] local.INFO: Extracted packet for processing {"connection_id":191007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1bb"} 
[2026-09-24 10:17:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297555200001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790225126000,"timestamp_ms":1790225126000,"timestamp_seconds":1790225126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1bb9270"} 
[2026-09-24 10:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297555200001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297555200001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:17:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:17:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297555200001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":191007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:17:35] local.INFO: GPS data processed {"connection_id":191007,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:17:35] local.INFO: Acknowledgment sent {"connection_id":191007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:18:06] local.INFO: TCP Data received {"connection_id":191007,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:18:06] local.INFO: Processing buffer {"connection_id":191007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:18:06] local.INFO: Packet analysis {"connection_id":191007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1bb"} 
[2026-09-24 10:18:06] local.INFO: Extracted packet for processing {"connection_id":191007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1bb"} 
[2026-09-24 10:18:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297555200001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790225126000,"timestamp_ms":1790225126000,"timestamp_seconds":1790225126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1bb9270"} 
[2026-09-24 10:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297555200001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297555200001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:18:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:18:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297555200001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":191007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:18:06] local.INFO: GPS data processed {"connection_id":191007,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:18:06] local.INFO: Acknowledgment sent {"connection_id":191007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:18:29] local.INFO: TCP Data received {"connection_id":191204,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:18:29] local.INFO: Processing buffer {"connection_id":191204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:18:29] local.INFO: IMEI packet received {"connection_id":191204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":191204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:18:34] local.INFO: TCP Data received {"connection_id":191204,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:18:34] local.INFO: Processing buffer {"connection_id":191204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:18:34] local.INFO: IMEI packet received {"connection_id":191204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":191204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:18:35] local.INFO: TCP Data received {"connection_id":191204,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:18:35] local.INFO: Processing buffer {"connection_id":191204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:18:35] local.INFO: Packet analysis {"connection_id":191204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1bb"} 
[2026-09-24 10:18:35] local.INFO: Extracted packet for processing {"connection_id":191204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1bb"} 
[2026-09-24 10:18:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297555200001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790225126000,"timestamp_ms":1790225126000,"timestamp_seconds":1790225126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1bb9270"} 
[2026-09-24 10:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297555200001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297555200001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:18:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:18:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297555200001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":191204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:18:35] local.INFO: GPS data processed {"connection_id":191204,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:18:35] local.INFO: Acknowledgment sent {"connection_id":191204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:19:07] local.INFO: TCP Data received {"connection_id":191204,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:19:07] local.INFO: Processing buffer {"connection_id":191204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:19:07] local.INFO: Packet analysis {"connection_id":191204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1bb"} 
[2026-09-24 10:19:07] local.INFO: Extracted packet for processing {"connection_id":191204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1bb"} 
[2026-09-24 10:19:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297555200001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790225126000,"timestamp_ms":1790225126000,"timestamp_seconds":1790225126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1bb9270"} 
[2026-09-24 10:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297555200001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297555200001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:19:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:19:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297555200001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":191204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:19:07] local.INFO: GPS data processed {"connection_id":191204,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:19:07] local.INFO: Acknowledgment sent {"connection_id":191204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:19:34] local.INFO: TCP Data received {"connection_id":193881,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:19:34] local.INFO: Processing buffer {"connection_id":193881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:19:34] local.INFO: IMEI packet received {"connection_id":193881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":193881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:19:39] local.INFO: TCP Data received {"connection_id":193881,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:19:39] local.INFO: Processing buffer {"connection_id":193881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:19:39] local.INFO: IMEI packet received {"connection_id":193881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":193881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:19:41] local.INFO: TCP Data received {"connection_id":193881,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:19:41] local.INFO: Processing buffer {"connection_id":193881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:19:41] local.INFO: Packet analysis {"connection_id":193881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1bb"} 
[2026-09-24 10:19:41] local.INFO: Extracted packet for processing {"connection_id":193881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1bb"} 
[2026-09-24 10:19:41] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297555200001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790225126000,"timestamp_ms":1790225126000,"timestamp_seconds":1790225126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1bb9270"} 
[2026-09-24 10:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297555200001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297555200001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:19:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:19:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297555200001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":193881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:19:41] local.INFO: GPS data processed {"connection_id":193881,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:19:41] local.INFO: Acknowledgment sent {"connection_id":193881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:19:44] local.INFO: TCP Data received {"connection_id":193881,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:19:44] local.INFO: Processing buffer {"connection_id":193881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:19:44] local.INFO: Packet analysis {"connection_id":193881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1bb"} 
[2026-09-24 10:19:44] local.INFO: Extracted packet for processing {"connection_id":193881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1bb"} 
[2026-09-24 10:19:44] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297555200001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790225126000,"timestamp_ms":1790225126000,"timestamp_seconds":1790225126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1bb9270"} 
[2026-09-24 10:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297555200001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297555200001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:19:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:19:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297555200001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":193881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:19:44] local.INFO: GPS data processed {"connection_id":193881,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:19:44] local.INFO: Acknowledgment sent {"connection_id":193881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:20:29] local.INFO: TCP Data received {"connection_id":192576,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:20:29] local.INFO: Processing buffer {"connection_id":192576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:20:29] local.INFO: IMEI packet received {"connection_id":192576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":192576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:20:34] local.INFO: TCP Data received {"connection_id":192576,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:20:34] local.INFO: Processing buffer {"connection_id":192576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:20:34] local.INFO: IMEI packet received {"connection_id":192576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":192576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:20:35] local.INFO: TCP Data received {"connection_id":192576,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:20:35] local.INFO: Processing buffer {"connection_id":192576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:20:35] local.INFO: Packet analysis {"connection_id":192576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1bb"} 
[2026-09-24 10:20:35] local.INFO: Extracted packet for processing {"connection_id":192576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1bb"} 
[2026-09-24 10:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297555200001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790225126000,"timestamp_ms":1790225126000,"timestamp_seconds":1790225126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1bb9270"} 
[2026-09-24 10:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297555200001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297555200001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:20:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:20:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297555200001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":192576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:20:35] local.INFO: GPS data processed {"connection_id":192576,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:20:35] local.INFO: Acknowledgment sent {"connection_id":192576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:20:40] local.INFO: TCP Data received {"connection_id":192576,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:20:40] local.INFO: Processing buffer {"connection_id":192576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1bb9270012d34c24006aa4930000901382d..."} 
[2026-09-24 10:20:40] local.INFO: Packet analysis {"connection_id":192576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1bb"} 
[2026-09-24 10:20:40] local.INFO: Extracted packet for processing {"connection_id":192576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1bb"} 
[2026-09-24 10:20:40] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297555200001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790225126000,"timestamp_ms":1790225126000,"timestamp_seconds":1790225126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1bb9270"} 
[2026-09-24 10:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297555200001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297555200001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:20:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:20:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297555200001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":192576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:20:40] local.INFO: GPS data processed {"connection_id":192576,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:20:40] local.INFO: Acknowledgment sent {"connection_id":192576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:21:12] local.INFO: TCP Data received {"connection_id":192576,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:21:12] local.INFO: Processing buffer {"connection_id":192576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:21:12] local.INFO: Packet analysis {"connection_id":192576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c0"} 
[2026-09-24 10:21:12] local.INFO: Extracted packet for processing {"connection_id":192576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c0"} 
[2026-09-24 10:21:12] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297632256001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790225427000,"timestamp_ms":1790225427000,"timestamp_seconds":1790225427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c02a38"} 
[2026-09-24 10:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297632256001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297632256001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:21:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:21:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297632256001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":192576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:21:12] local.INFO: GPS data processed {"connection_id":192576,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:21:12] local.INFO: Acknowledgment sent {"connection_id":192576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:21:28] local.INFO: TCP Data received {"connection_id":192577,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:21:28] local.INFO: Processing buffer {"connection_id":192577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:21:28] local.INFO: IMEI packet received {"connection_id":192577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":192577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:21:34] local.INFO: TCP Data received {"connection_id":192577,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:21:34] local.INFO: Processing buffer {"connection_id":192577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:21:34] local.INFO: IMEI packet received {"connection_id":192577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":192577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:21:35] local.INFO: TCP Data received {"connection_id":192577,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:21:35] local.INFO: Processing buffer {"connection_id":192577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:21:35] local.INFO: Packet analysis {"connection_id":192577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c0"} 
[2026-09-24 10:21:35] local.INFO: Extracted packet for processing {"connection_id":192577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c0"} 
[2026-09-24 10:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297632256001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790225427000,"timestamp_ms":1790225427000,"timestamp_seconds":1790225427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c02a38"} 
[2026-09-24 10:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297632256001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297632256001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:21:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:21:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297632256001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":192577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:21:35] local.INFO: GPS data processed {"connection_id":192577,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:21:35] local.INFO: Acknowledgment sent {"connection_id":192577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:22:06] local.INFO: TCP Data received {"connection_id":192577,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:22:06] local.INFO: Processing buffer {"connection_id":192577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:22:06] local.INFO: Packet analysis {"connection_id":192577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c0"} 
[2026-09-24 10:22:06] local.INFO: Extracted packet for processing {"connection_id":192577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c0"} 
[2026-09-24 10:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297632256001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790225427000,"timestamp_ms":1790225427000,"timestamp_seconds":1790225427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c02a38"} 
[2026-09-24 10:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297632256001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297632256001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:22:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297632256001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":192577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:22:06] local.INFO: GPS data processed {"connection_id":192577,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:22:06] local.INFO: Acknowledgment sent {"connection_id":192577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:22:28] local.INFO: TCP Data received {"connection_id":191205,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:22:28] local.INFO: Processing buffer {"connection_id":191205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:22:28] local.INFO: IMEI packet received {"connection_id":191205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":191205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:22:34] local.INFO: TCP Data received {"connection_id":191205,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:22:34] local.INFO: Processing buffer {"connection_id":191205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:22:34] local.INFO: IMEI packet received {"connection_id":191205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":191205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:22:36] local.INFO: TCP Data received {"connection_id":191205,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:22:36] local.INFO: Processing buffer {"connection_id":191205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:22:36] local.INFO: Packet analysis {"connection_id":191205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c0"} 
[2026-09-24 10:22:36] local.INFO: Extracted packet for processing {"connection_id":191205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c0"} 
[2026-09-24 10:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297632256001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790225427000,"timestamp_ms":1790225427000,"timestamp_seconds":1790225427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c02a38"} 
[2026-09-24 10:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297632256001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297632256001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:22:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:22:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297632256001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":191205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:22:36] local.INFO: GPS data processed {"connection_id":191205,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:22:36] local.INFO: Acknowledgment sent {"connection_id":191205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:23:09] local.INFO: TCP Data received {"connection_id":191205,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:23:09] local.INFO: Processing buffer {"connection_id":191205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:23:09] local.INFO: Packet analysis {"connection_id":191205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c0"} 
[2026-09-24 10:23:09] local.INFO: Extracted packet for processing {"connection_id":191205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c0"} 
[2026-09-24 10:23:09] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297632256001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790225427000,"timestamp_ms":1790225427000,"timestamp_seconds":1790225427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c02a38"} 
[2026-09-24 10:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297632256001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297632256001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:23:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:23:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297632256001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":191205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:23:09] local.INFO: GPS data processed {"connection_id":191205,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:23:09] local.INFO: Acknowledgment sent {"connection_id":191205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:23:28] local.INFO: TCP Data received {"connection_id":191206,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:23:28] local.INFO: Processing buffer {"connection_id":191206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:23:28] local.INFO: IMEI packet received {"connection_id":191206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":191206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:23:33] local.INFO: TCP Data received {"connection_id":191206,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:23:33] local.INFO: Processing buffer {"connection_id":191206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:23:33] local.INFO: IMEI packet received {"connection_id":191206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":191206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:23:34] local.INFO: TCP Data received {"connection_id":191206,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:23:34] local.INFO: Processing buffer {"connection_id":191206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:23:34] local.INFO: Packet analysis {"connection_id":191206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c0"} 
[2026-09-24 10:23:34] local.INFO: Extracted packet for processing {"connection_id":191206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c0"} 
[2026-09-24 10:23:34] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297632256001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790225427000,"timestamp_ms":1790225427000,"timestamp_seconds":1790225427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c02a38"} 
[2026-09-24 10:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297632256001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297632256001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:23:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:23:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297632256001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":191206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:23:34] local.INFO: GPS data processed {"connection_id":191206,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:23:34] local.INFO: Acknowledgment sent {"connection_id":191206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:24:06] local.INFO: TCP Data received {"connection_id":191206,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:24:06] local.INFO: Processing buffer {"connection_id":191206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:24:06] local.INFO: Packet analysis {"connection_id":191206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c0"} 
[2026-09-24 10:24:06] local.INFO: Extracted packet for processing {"connection_id":191206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c0"} 
[2026-09-24 10:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297632256001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790225427000,"timestamp_ms":1790225427000,"timestamp_seconds":1790225427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c02a38"} 
[2026-09-24 10:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297632256001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297632256001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:24:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297632256001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":191206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:24:06] local.INFO: GPS data processed {"connection_id":191206,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:24:06] local.INFO: Acknowledgment sent {"connection_id":191206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:24:34] local.INFO: TCP Data received {"connection_id":192578,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:24:34] local.INFO: Processing buffer {"connection_id":192578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:24:34] local.INFO: IMEI packet received {"connection_id":192578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":192578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:24:39] local.INFO: TCP Data received {"connection_id":192578,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:24:39] local.INFO: Processing buffer {"connection_id":192578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:24:39] local.INFO: IMEI packet received {"connection_id":192578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":192578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:24:40] local.INFO: TCP Data received {"connection_id":192578,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:24:40] local.INFO: Processing buffer {"connection_id":192578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:24:40] local.INFO: Packet analysis {"connection_id":192578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c0"} 
[2026-09-24 10:24:40] local.INFO: Extracted packet for processing {"connection_id":192578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c0"} 
[2026-09-24 10:24:40] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297632256001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790225427000,"timestamp_ms":1790225427000,"timestamp_seconds":1790225427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c02a38"} 
[2026-09-24 10:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297632256001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297632256001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:24:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:24:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297632256001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":192578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:24:40] local.INFO: GPS data processed {"connection_id":192578,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:24:40] local.INFO: Acknowledgment sent {"connection_id":192578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:24:45] local.INFO: TCP Data received {"connection_id":192578,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:24:45] local.INFO: Processing buffer {"connection_id":192578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:24:45] local.INFO: Packet analysis {"connection_id":192578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c0"} 
[2026-09-24 10:24:45] local.INFO: Extracted packet for processing {"connection_id":192578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c0"} 
[2026-09-24 10:24:45] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297632256001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790225427000,"timestamp_ms":1790225427000,"timestamp_seconds":1790225427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c02a38"} 
[2026-09-24 10:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297632256001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297632256001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:24:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:24:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297632256001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":192578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:24:45] local.INFO: GPS data processed {"connection_id":192578,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:24:45] local.INFO: Acknowledgment sent {"connection_id":192578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:25:02] local.INFO: TCP Data received {"connection_id":192579,"ip":"117.225.151.122","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192579,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:25:02] local.INFO: Processing buffer {"connection_id":192579,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:25:02] local.INFO: IMEI packet received {"connection_id":192579,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 10:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":192579,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:25:07] local.INFO: TCP Data received {"connection_id":192579,"ip":"117.225.151.122","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192579,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:25:07] local.INFO: Processing buffer {"connection_id":192579,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:25:07] local.INFO: IMEI packet received {"connection_id":192579,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 10:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":192579,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:25:08] local.INFO: TCP Data received {"connection_id":192579,"ip":"117.225.151.122","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c2be60012c5c7880089a89d0000d00d52b..."} 
[2026-09-24 10:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c2be60012c5c7880089a89d0000d00d52b..."} 
[2026-09-24 10:25:08] local.INFO: Processing buffer {"connection_id":192579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c2be60012c5c7880089a89d0000d00d52b..."} 
[2026-09-24 10:25:08] local.INFO: Packet analysis {"connection_id":192579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c2"} 
[2026-09-24 10:25:08] local.INFO: Extracted packet for processing {"connection_id":192579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c2"} 
[2026-09-24 10:25:08] local.INFO: GPS Element Parsed {"raw_longitude":744257664,"raw_latitude":144345552,"longitude_deg":74.4257664,"latitude_deg":14.4345552,"altitude":13,"angle":213,"satellites":43,"speed":38,"hex_longitude":"2c5c7880","hex_latitude":"089a89d0","is_valid_coordinates":true} 
[2026-09-24 10:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 10:25:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,163,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 10:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790225596000,"timestamp_ms":1790225596000,"timestamp_seconds":1790225596,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c2be60"} 
[2026-09-24 10:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:25:08] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 10:25: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-09-24 10:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 10:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 10:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28332,"163":206,"9":56064,"24":38,"16":3605341577150464},"client_ip":"117.225.151.122","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16]} 
[2026-09-24 10:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 10:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 10:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 10:25:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-24 10:25:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-24 10:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:25:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28332,"unknown_163":206,"unknown_9":56064,"ignition":38,"odometer":null}} 
[2026-09-24 10:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":192579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889119,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:25:08] local.INFO: GPS data processed {"connection_id":192579,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:25:08] local.INFO: Acknowledgment sent {"connection_id":192579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:25:28] local.INFO: TCP Data received {"connection_id":191008,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:25:28] local.INFO: Processing buffer {"connection_id":191008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:25:28] local.INFO: IMEI packet received {"connection_id":191008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":191008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:25:34] local.INFO: TCP Data received {"connection_id":191008,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:25:34] local.INFO: Processing buffer {"connection_id":191008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:25:34] local.INFO: IMEI packet received {"connection_id":191008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":191008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:25:36] local.INFO: TCP Data received {"connection_id":191008,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:25:36] local.INFO: Processing buffer {"connection_id":191008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c02a38012d34c24006aa4930000901382d..."} 
[2026-09-24 10:25:36] local.INFO: Packet analysis {"connection_id":191008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c0"} 
[2026-09-24 10:25:36] local.INFO: Extracted packet for processing {"connection_id":191008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c0"} 
[2026-09-24 10:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297632256001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790225427000,"timestamp_ms":1790225427000,"timestamp_seconds":1790225427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c02a38"} 
[2026-09-24 10:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297632256001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297632256001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:25:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:25:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297632256001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":191008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:25:36] local.INFO: GPS data processed {"connection_id":191008,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:25:36] local.INFO: Acknowledgment sent {"connection_id":191008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:25:39] local.INFO: TCP Data received {"connection_id":192579,"ip":"117.225.151.122","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c31068012c5c5140089a4fa0000d00d32e..."} 
[2026-09-24 10:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c31068012c5c5140089a4fa0000d00d32e..."} 
[2026-09-24 10:25:39] local.INFO: Processing buffer {"connection_id":192579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c31068012c5c5140089a4fa0000d00d32e..."} 
[2026-09-24 10:25:39] local.INFO: Packet analysis {"connection_id":192579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c3"} 
[2026-09-24 10:25:39] local.INFO: Extracted packet for processing {"connection_id":192579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c3"} 
[2026-09-24 10:25:39] local.INFO: GPS Element Parsed {"raw_longitude":744247616,"raw_latitude":144330656,"longitude_deg":74.4247616,"latitude_deg":14.4330656,"altitude":13,"angle":211,"satellites":46,"speed":39,"hex_longitude":"2c5c5140","hex_latitude":"089a4fa0","is_valid_coordinates":true} 
[2026-09-24 10:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297752576001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 10:25:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6663216423135465472,"note":"Value kept but may cause issues"} 
[2026-09-24 10:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790225617000,"timestamp_ms":1790225617000,"timestamp_seconds":1790225617,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c31068"} 
[2026-09-24 10:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 10:25:39] 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-09-24 10:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 10:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 10:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297752576001,"66":28376,"163":206,"9":56064,"24":39,"16":3605341577150464,"44":6663216423135465472},"client_ip":"117.225.151.122","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,9,24,16,44]} 
[2026-09-24 10:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 10:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 10:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297752576001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:25:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-24 10:25:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-24 10:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:25:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":6663216423135465472,"description":"Unknown IO ID 44"} 
[2026-09-24 10:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297752576001,"power":28376,"unknown_163":206,"unknown_9":56064,"ignition":39,"odometer":null,"unknown_44":6663216423135465472}} 
[2026-09-24 10:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":192579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889121,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:25:39] local.INFO: GPS data processed {"connection_id":192579,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:25:39] local.INFO: Acknowledgment sent {"connection_id":192579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:26:08] local.INFO: TCP Data received {"connection_id":191008,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:26:08] local.INFO: Processing buffer {"connection_id":191008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:26:08] local.INFO: Packet analysis {"connection_id":191008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:26:08] local.INFO: Extracted packet for processing {"connection_id":191008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297709312001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790225728000,"timestamp_ms":1790225728000,"timestamp_seconds":1790225728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c4c200"} 
[2026-09-24 10:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297709312001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297709312001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:26:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297709312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":191008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:26:08] local.INFO: GPS data processed {"connection_id":191008,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:26:08] local.INFO: Acknowledgment sent {"connection_id":191008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:26:12] local.INFO: TCP Data received {"connection_id":191009,"ip":"117.225.151.122","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:26:12] local.INFO: Processing buffer {"connection_id":191009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:26:12] local.INFO: IMEI packet received {"connection_id":191009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 10:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":191009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:26:13] local.INFO: TCP Data received {"connection_id":191009,"ip":"117.225.151.122","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-24 10:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191009,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-24 10:26:13] local.INFO: Processing buffer {"connection_id":191009,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-24 10:26:13] local.INFO: IMEI packet received {"connection_id":191009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 10:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":191009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:26:14] local.INFO: TCP Data received {"connection_id":191009,"ip":"117.225.151.122","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c36270012c5c3480089a2140000e00d42c..."} 
[2026-09-24 10:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c36270012c5c3480089a2140000e00d42c..."} 
[2026-09-24 10:26:14] local.INFO: Processing buffer {"connection_id":191009,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a0d1..."} 
[2026-09-24 10:26:14] local.INFO: IMEI packet received {"connection_id":191009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 10:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":191009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:26:15] local.INFO: TCP Data received {"connection_id":191009,"ip":"117.225.151.122","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c3b478012c5c1b400899fb70000e00d629..."} 
[2026-09-24 10:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c3b478012c5c1b400899fb70000e00d629..."} 
[2026-09-24 10:26:15] local.INFO: Processing buffer {"connection_id":191009,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0d1c36270012c5c3480089a2140000e00d42c..."} 
[2026-09-24 10:26:15] local.INFO: Packet analysis {"connection_id":191009,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d1c3"} 
[2026-09-24 10:26:15] local.INFO: Extracted packet for processing {"connection_id":191009,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c3"} 
[2026-09-24 10:26:15] local.INFO: GPS Element Parsed {"raw_longitude":744240256,"raw_latitude":144318784,"longitude_deg":74.4240256,"latitude_deg":14.4318784,"altitude":14,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2c5c3480","hex_latitude":"089a2140","is_valid_coordinates":true} 
[2026-09-24 10:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297757952001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 10:26:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6652168530295758848,"note":"Value kept but may cause issues"} 
[2026-09-24 10:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790225638000,"timestamp_ms":1790225638000,"timestamp_seconds":1790225638,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c36270"} 
[2026-09-24 10:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 10:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 10:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 10:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297757952001,"66":28398,"162":206,"9":56064,"24":0,"16":3605341577150464,"44":6652168530295758848},"client_ip":"117.225.151.122","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,9,24,16,44]} 
[2026-09-24 10:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 10:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 10:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297757952001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:26:15] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-24 10:26:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-24 10:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:26:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":6652168530295758848,"description":"Unknown IO ID 44"} 
[2026-09-24 10:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297757952001,"power":28398,"unknown_162":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":6652168530295758848}} 
[2026-09-24 10:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":191009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889123,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:26:16] local.INFO: GPS data processed {"connection_id":191009,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:26:16] local.INFO: Acknowledgment sent {"connection_id":191009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:26:16] local.INFO: Packet analysis {"connection_id":191009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c3"} 
[2026-09-24 10:26:16] local.INFO: Extracted packet for processing {"connection_id":191009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c3"} 
[2026-09-24 10:26:16] local.INFO: GPS Element Parsed {"raw_longitude":744233792,"raw_latitude":144309104,"longitude_deg":74.4233792,"latitude_deg":14.4309104,"altitude":14,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2c5c1b40","hex_latitude":"0899fb70","is_valid_coordinates":true} 
[2026-09-24 10:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297763328001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 10:26:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6644076124712288256,"note":"Value kept but may cause issues"} 
[2026-09-24 10:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790225659000,"timestamp_ms":1790225659000,"timestamp_seconds":1790225659,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c3b478"} 
[2026-09-24 10:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 10:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 10:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 10:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297763328001,"66":28267,"162":206,"9":56064,"24":0,"16":3605341577150464,"44":6644076124712288256},"client_ip":"117.225.151.122","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,9,24,16,44]} 
[2026-09-24 10:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 10:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 10:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297763328001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:26:16] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-24 10:26:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-24 10:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:26:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":6644076124712288256,"description":"Unknown IO ID 44"} 
[2026-09-24 10:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297763328001,"power":28267,"unknown_162":206,"unknown_9":56064,"ignition":0,"odometer":null,"unknown_44":6644076124712288256}} 
[2026-09-24 10:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":191009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889124,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:26:16] local.INFO: GPS data processed {"connection_id":191009,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:26:16] local.INFO: Acknowledgment sent {"connection_id":191009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:26:17] local.INFO: TCP Data received {"connection_id":191009,"ip":"117.225.151.122","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c49ed80100000000000000000000000000..."} 
[2026-09-24 10:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c49ed80100000000000000000000000000..."} 
[2026-09-24 10:26:17] local.INFO: Processing buffer {"connection_id":191009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c49ed80100000000000000000000000000..."} 
[2026-09-24 10:26:17] local.INFO: Packet analysis {"connection_id":191009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:26:17] local.INFO: Extracted packet for processing {"connection_id":191009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:26:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 10:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297768704001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 10:26:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6636968881547866112,"note":"Value kept but may cause issues"} 
[2026-09-24 10:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790225719000,"timestamp_ms":1790225719000,"timestamp_seconds":1790225719,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c49ed8"} 
[2026-09-24 10:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 10:26:17] 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-09-24 10:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 10:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 10:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":191009,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 10:26:17] local.INFO: GPS data processed {"connection_id":191009,"processed":0,"errors":0,"total":1} 
[2026-09-24 10:26:17] local.INFO: Acknowledgment sent {"connection_id":191009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:26:28] local.INFO: TCP Data received {"connection_id":191207,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:26:28] local.INFO: Processing buffer {"connection_id":191207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:26:28] local.INFO: IMEI packet received {"connection_id":191207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":191207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:26:34] local.INFO: TCP Data received {"connection_id":191207,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:26:34] local.INFO: Processing buffer {"connection_id":191207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:26:34] local.INFO: IMEI packet received {"connection_id":191207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":191207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:26:35] local.INFO: TCP Data received {"connection_id":191207,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:26:35] local.INFO: Processing buffer {"connection_id":191207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:26:35] local.INFO: Packet analysis {"connection_id":191207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:26:35] local.INFO: Extracted packet for processing {"connection_id":191207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:26:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297709312001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790225728000,"timestamp_ms":1790225728000,"timestamp_seconds":1790225728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c4c200"} 
[2026-09-24 10:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297709312001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297709312001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:26:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:26:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297709312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":191207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:26:35] local.INFO: GPS data processed {"connection_id":191207,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:26:35] local.INFO: Acknowledgment sent {"connection_id":191207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:26:49] local.INFO: TCP Data received {"connection_id":191009,"ip":"117.225.151.122","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c40e50012c5c03000899d890000d00d62f..."} 
[2026-09-24 10:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c40e50012c5c03000899d890000d00d62f..."} 
[2026-09-24 10:26:49] local.INFO: Processing buffer {"connection_id":191009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c40e50012c5c03000899d890000d00d62f..."} 
[2026-09-24 10:26:49] local.INFO: Packet analysis {"connection_id":191009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:26:49] local.INFO: Extracted packet for processing {"connection_id":191009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:26:49] local.INFO: GPS Element Parsed {"raw_longitude":744227584,"raw_latitude":144300176,"longitude_deg":74.4227584,"latitude_deg":14.4300176,"altitude":13,"angle":214,"satellites":47,"speed":10,"hex_longitude":"2c5c0300","hex_latitude":"0899d890","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 10:26:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,162,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 10:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790225682000,"timestamp_ms":1790225682000,"timestamp_seconds":1790225682,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c40e50"} 
[2026-09-24 10:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 10:26:49] 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-09-24 10: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-09-24 10:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 10:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 10:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28256,"162":206,"9":56064,"24":10,"16":3605341577150464},"client_ip":"117.225.151.122","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,9,24,16]} 
[2026-09-24 10:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 10:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 10:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 10:26:49] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-24 10:26:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":56064,"description":"Unknown IO ID 9"} 
[2026-09-24 10:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:26:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28256,"unknown_162":206,"unknown_9":56064,"ignition":10,"odometer":null}} 
[2026-09-24 10:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":191009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889126,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:26:49] local.INFO: GPS data processed {"connection_id":191009,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:26:49] local.INFO: Acknowledgment sent {"connection_id":191009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:27:07] local.INFO: TCP Data received {"connection_id":191207,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:27:07] local.INFO: Processing buffer {"connection_id":191207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:27:07] local.INFO: Packet analysis {"connection_id":191207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:27:07] local.INFO: Extracted packet for processing {"connection_id":191207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:27:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297709312001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790225728000,"timestamp_ms":1790225728000,"timestamp_seconds":1790225728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c4c200"} 
[2026-09-24 10:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297709312001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297709312001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:27:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:27:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297709312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":191207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:27:07] local.INFO: GPS data processed {"connection_id":191207,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:27:07] local.INFO: Acknowledgment sent {"connection_id":191207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:27:07] local.INFO: TCP Data received {"connection_id":192580,"ip":"117.225.151.122","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:27:07] local.INFO: Processing buffer {"connection_id":192580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:27:07] local.INFO: IMEI packet received {"connection_id":192580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 10:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":192580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:27:12] local.INFO: TCP Data received {"connection_id":192580,"ip":"117.225.151.122","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:27:12] local.INFO: Processing buffer {"connection_id":192580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:27:12] local.INFO: IMEI packet received {"connection_id":192580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 10:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":192580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:27:13] local.INFO: TCP Data received {"connection_id":192580,"ip":"117.225.151.122","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c4f8b00100000000000000000000000000..."} 
[2026-09-24 10:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c4f8b00100000000000000000000000000..."} 
[2026-09-24 10:27:13] local.INFO: Processing buffer {"connection_id":192580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c4f8b00100000000000000000000000000..."} 
[2026-09-24 10:27:13] local.INFO: Packet analysis {"connection_id":192580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:27:13] local.INFO: Extracted packet for processing {"connection_id":192580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:27:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 10:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297774592001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 10:27:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":6630143113360347136,"note":"Value kept but may cause issues"} 
[2026-09-24 10:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790225742000,"timestamp_ms":1790225742000,"timestamp_seconds":1790225742,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c4f8b0"} 
[2026-09-24 10:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 10:27:13] 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-09-24 10:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 10:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.151.122","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 10:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 10:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":192580,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 10:27:13] local.INFO: GPS data processed {"connection_id":192580,"processed":0,"errors":0,"total":1} 
[2026-09-24 10:27:13] local.INFO: Acknowledgment sent {"connection_id":192580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:27:29] local.INFO: TCP Data received {"connection_id":192581,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:27:29] local.INFO: Processing buffer {"connection_id":192581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:27:29] local.INFO: IMEI packet received {"connection_id":192581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":192581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:27:37] local.INFO: TCP Data received {"connection_id":192581,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:27:37] local.INFO: Processing buffer {"connection_id":192581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:27:37] local.INFO: IMEI packet received {"connection_id":192581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":192581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:27:38] local.INFO: TCP Data received {"connection_id":192581,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:27:38] local.INFO: Processing buffer {"connection_id":192581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:27:38] local.INFO: Packet analysis {"connection_id":192581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:27:38] local.INFO: Extracted packet for processing {"connection_id":192581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:27:38] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297709312001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790225728000,"timestamp_ms":1790225728000,"timestamp_seconds":1790225728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c4c200"} 
[2026-09-24 10:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297709312001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297709312001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:27:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:27:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297709312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":192581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:27:38] local.INFO: GPS data processed {"connection_id":192581,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:27:38] local.INFO: Acknowledgment sent {"connection_id":192581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:28:10] local.INFO: TCP Data received {"connection_id":192581,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:28:10] local.INFO: Processing buffer {"connection_id":192581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:28:10] local.INFO: Packet analysis {"connection_id":192581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:28:10] local.INFO: Extracted packet for processing {"connection_id":192581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297709312001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790225728000,"timestamp_ms":1790225728000,"timestamp_seconds":1790225728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c4c200"} 
[2026-09-24 10:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297709312001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297709312001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:28:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297709312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":192581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:28:10] local.INFO: GPS data processed {"connection_id":192581,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:28:10] local.INFO: Acknowledgment sent {"connection_id":192581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:28:34] local.INFO: TCP Data received {"connection_id":191010,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:28:34] local.INFO: Processing buffer {"connection_id":191010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:28:34] local.INFO: IMEI packet received {"connection_id":191010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":191010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:28:39] local.INFO: TCP Data received {"connection_id":191010,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:28:39] local.INFO: Processing buffer {"connection_id":191010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:28:39] local.INFO: IMEI packet received {"connection_id":191010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":191010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:28:40] local.INFO: TCP Data received {"connection_id":191010,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:28:40] local.INFO: Processing buffer {"connection_id":191010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:28:40] local.INFO: Packet analysis {"connection_id":191010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:28:40] local.INFO: Extracted packet for processing {"connection_id":191010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:28:40] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297709312001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790225728000,"timestamp_ms":1790225728000,"timestamp_seconds":1790225728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c4c200"} 
[2026-09-24 10:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297709312001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297709312001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:28:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:28:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297709312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":191010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:28:40] local.INFO: GPS data processed {"connection_id":191010,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:28:40] local.INFO: Acknowledgment sent {"connection_id":191010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:28:45] local.INFO: TCP Data received {"connection_id":191010,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:28:45] local.INFO: Processing buffer {"connection_id":191010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:28:45] local.INFO: Packet analysis {"connection_id":191010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:28:45] local.INFO: Extracted packet for processing {"connection_id":191010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:28:45] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297709312001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790225728000,"timestamp_ms":1790225728000,"timestamp_seconds":1790225728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c4c200"} 
[2026-09-24 10:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297709312001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297709312001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:28:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:28:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297709312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":191010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:28:45] local.INFO: GPS data processed {"connection_id":191010,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:28:45] local.INFO: Acknowledgment sent {"connection_id":191010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:29:28] local.INFO: TCP Data received {"connection_id":191208,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:29:28] local.INFO: Processing buffer {"connection_id":191208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:29:28] local.INFO: IMEI packet received {"connection_id":191208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":191208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:29:34] local.INFO: TCP Data received {"connection_id":191208,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:29:34] local.INFO: Processing buffer {"connection_id":191208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:29:34] local.INFO: IMEI packet received {"connection_id":191208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":191208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:29:35] local.INFO: TCP Data received {"connection_id":191208,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:29:35] local.INFO: Processing buffer {"connection_id":191208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:29:35] local.INFO: Packet analysis {"connection_id":191208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:29:35] local.INFO: Extracted packet for processing {"connection_id":191208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297709312001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790225728000,"timestamp_ms":1790225728000,"timestamp_seconds":1790225728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c4c200"} 
[2026-09-24 10:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297709312001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297709312001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:29:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:29:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297709312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":191208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:29:35] local.INFO: GPS data processed {"connection_id":191208,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:29:35] local.INFO: Acknowledgment sent {"connection_id":191208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:30:07] local.INFO: TCP Data received {"connection_id":191208,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:30:07] local.INFO: Processing buffer {"connection_id":191208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:30:07] local.INFO: Packet analysis {"connection_id":191208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:30:07] local.INFO: Extracted packet for processing {"connection_id":191208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:30:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297709312001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790225728000,"timestamp_ms":1790225728000,"timestamp_seconds":1790225728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c4c200"} 
[2026-09-24 10:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297709312001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297709312001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:30:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:30:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297709312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":191208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:30:07] local.INFO: GPS data processed {"connection_id":191208,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:30:07] local.INFO: Acknowledgment sent {"connection_id":191208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:30:29] local.INFO: TCP Data received {"connection_id":191011,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:30:29] local.INFO: Processing buffer {"connection_id":191011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:30:29] local.INFO: IMEI packet received {"connection_id":191011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":191011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:30:34] local.INFO: TCP Data received {"connection_id":191011,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:30:34] local.INFO: Processing buffer {"connection_id":191011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:30:34] local.INFO: IMEI packet received {"connection_id":191011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":191011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:30:35] local.INFO: TCP Data received {"connection_id":191011,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:30:35] local.INFO: Processing buffer {"connection_id":191011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:30:35] local.INFO: Packet analysis {"connection_id":191011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:30:35] local.INFO: Extracted packet for processing {"connection_id":191011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:30:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297709312001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790225728000,"timestamp_ms":1790225728000,"timestamp_seconds":1790225728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c4c200"} 
[2026-09-24 10:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297709312001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297709312001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:30:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:30:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297709312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":191011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:30:35] local.INFO: GPS data processed {"connection_id":191011,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:30:35] local.INFO: Acknowledgment sent {"connection_id":191011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:31:06] local.INFO: TCP Data received {"connection_id":191011,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:31:06] local.INFO: Processing buffer {"connection_id":191011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c4c200012d34c24006aa4930000901382e..."} 
[2026-09-24 10:31:06] local.INFO: Packet analysis {"connection_id":191011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:31:06] local.INFO: Extracted packet for processing {"connection_id":191011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c4"} 
[2026-09-24 10:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297709312001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790225728000,"timestamp_ms":1790225728000,"timestamp_seconds":1790225728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c4c200"} 
[2026-09-24 10:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297709312001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297709312001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:31:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:31:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297709312001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":191011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:31:06] local.INFO: GPS data processed {"connection_id":191011,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:31:06] local.INFO: Acknowledgment sent {"connection_id":191011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:31:28] local.INFO: TCP Data received {"connection_id":191209,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191209,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:31:28] local.INFO: Processing buffer {"connection_id":191209,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:31:28] local.INFO: IMEI packet received {"connection_id":191209,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 10:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":191209,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:31:28] local.INFO: TCP Data received {"connection_id":192582,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:31:28] local.INFO: Processing buffer {"connection_id":192582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:31:28] local.INFO: IMEI packet received {"connection_id":192582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":192582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:31:34] local.INFO: TCP Data received {"connection_id":192582,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:31:34] local.INFO: Processing buffer {"connection_id":192582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:31:34] local.INFO: IMEI packet received {"connection_id":192582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":192582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:31:35] local.INFO: TCP Data received {"connection_id":192582,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:31:35] local.INFO: Processing buffer {"connection_id":192582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:31:35] local.INFO: Packet analysis {"connection_id":192582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c9"} 
[2026-09-24 10:31:35] local.INFO: Extracted packet for processing {"connection_id":192582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c9"} 
[2026-09-24 10:31:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297786368001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790226029000,"timestamp_ms":1790226029000,"timestamp_seconds":1790226029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c959c8"} 
[2026-09-24 10:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297786368001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297786368001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:31:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:31:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297786368001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":192582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:31:35] local.INFO: GPS data processed {"connection_id":192582,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:31:35] local.INFO: Acknowledgment sent {"connection_id":192582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:32:07] local.INFO: TCP Data received {"connection_id":192582,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:32:07] local.INFO: Processing buffer {"connection_id":192582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:32:07] local.INFO: Packet analysis {"connection_id":192582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c9"} 
[2026-09-24 10:32:07] local.INFO: Extracted packet for processing {"connection_id":192582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c9"} 
[2026-09-24 10:32:07] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297786368001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790226029000,"timestamp_ms":1790226029000,"timestamp_seconds":1790226029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c959c8"} 
[2026-09-24 10:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297786368001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297786368001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:32:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:32:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297786368001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":192582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:32:07] local.INFO: GPS data processed {"connection_id":192582,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:32:07] local.INFO: Acknowledgment sent {"connection_id":192582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:32:34] local.INFO: TCP Data received {"connection_id":191012,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:32:34] local.INFO: Processing buffer {"connection_id":191012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:32:34] local.INFO: IMEI packet received {"connection_id":191012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":191012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:32:39] local.INFO: TCP Data received {"connection_id":191012,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:32:39] local.INFO: Processing buffer {"connection_id":191012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:32:39] local.INFO: IMEI packet received {"connection_id":191012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":191012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:32:41] local.INFO: TCP Data received {"connection_id":191012,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:32:41] local.INFO: Processing buffer {"connection_id":191012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:32:41] local.INFO: Packet analysis {"connection_id":191012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c9"} 
[2026-09-24 10:32:41] local.INFO: Extracted packet for processing {"connection_id":191012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c9"} 
[2026-09-24 10:32:41] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297786368001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790226029000,"timestamp_ms":1790226029000,"timestamp_seconds":1790226029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c959c8"} 
[2026-09-24 10:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297786368001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297786368001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:32:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:32:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297786368001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":191012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:32:41] local.INFO: GPS data processed {"connection_id":191012,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:32:41] local.INFO: Acknowledgment sent {"connection_id":191012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:32:45] local.INFO: TCP Data received {"connection_id":191012,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:32:45] local.INFO: Processing buffer {"connection_id":191012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:32:45] local.INFO: Packet analysis {"connection_id":191012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c9"} 
[2026-09-24 10:32:45] local.INFO: Extracted packet for processing {"connection_id":191012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c9"} 
[2026-09-24 10:32:45] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297786368001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790226029000,"timestamp_ms":1790226029000,"timestamp_seconds":1790226029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c959c8"} 
[2026-09-24 10:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297786368001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297786368001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:32:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:32:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297786368001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":191012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:32:45] local.INFO: GPS data processed {"connection_id":191012,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:32:45] local.INFO: Acknowledgment sent {"connection_id":191012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:33:29] local.INFO: TCP Data received {"connection_id":192583,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:33:29] local.INFO: Processing buffer {"connection_id":192583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:33:29] local.INFO: IMEI packet received {"connection_id":192583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":192583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:33:34] local.INFO: TCP Data received {"connection_id":192583,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:33:34] local.INFO: Processing buffer {"connection_id":192583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:33:34] local.INFO: IMEI packet received {"connection_id":192583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":192583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:33:36] local.INFO: TCP Data received {"connection_id":192583,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:33:36] local.INFO: Processing buffer {"connection_id":192583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:33:36] local.INFO: Packet analysis {"connection_id":192583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c9"} 
[2026-09-24 10:33:36] local.INFO: Extracted packet for processing {"connection_id":192583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c9"} 
[2026-09-24 10:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297786368001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790226029000,"timestamp_ms":1790226029000,"timestamp_seconds":1790226029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c959c8"} 
[2026-09-24 10:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297786368001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297786368001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:33:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:33:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297786368001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":192583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:33:36] local.INFO: GPS data processed {"connection_id":192583,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:33:36] local.INFO: Acknowledgment sent {"connection_id":192583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:34:09] local.INFO: TCP Data received {"connection_id":192583,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:34:09] local.INFO: Processing buffer {"connection_id":192583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:34:09] local.INFO: Packet analysis {"connection_id":192583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c9"} 
[2026-09-24 10:34:09] local.INFO: Extracted packet for processing {"connection_id":192583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c9"} 
[2026-09-24 10:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297786368001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790226029000,"timestamp_ms":1790226029000,"timestamp_seconds":1790226029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c959c8"} 
[2026-09-24 10:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297786368001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297786368001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297786368001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":192583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:34:09] local.INFO: GPS data processed {"connection_id":192583,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:34:09] local.INFO: Acknowledgment sent {"connection_id":192583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:34:29] local.INFO: TCP Data received {"connection_id":191013,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:34:29] local.INFO: Processing buffer {"connection_id":191013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:34:29] local.INFO: IMEI packet received {"connection_id":191013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":191013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:34:34] local.INFO: TCP Data received {"connection_id":191013,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:34:34] local.INFO: Processing buffer {"connection_id":191013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:34:34] local.INFO: IMEI packet received {"connection_id":191013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":191013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:34:35] local.INFO: TCP Data received {"connection_id":191013,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:34:35] local.INFO: Processing buffer {"connection_id":191013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:34:35] local.INFO: Packet analysis {"connection_id":191013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c9"} 
[2026-09-24 10:34:35] local.INFO: Extracted packet for processing {"connection_id":191013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c9"} 
[2026-09-24 10:34:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297786368001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790226029000,"timestamp_ms":1790226029000,"timestamp_seconds":1790226029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c959c8"} 
[2026-09-24 10:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297786368001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297786368001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:34:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:34:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297786368001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":191013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:34:35] local.INFO: GPS data processed {"connection_id":191013,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:34:35] local.INFO: Acknowledgment sent {"connection_id":191013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:35:06] local.INFO: TCP Data received {"connection_id":191013,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:35:06] local.INFO: Processing buffer {"connection_id":191013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:35:06] local.INFO: Packet analysis {"connection_id":191013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c9"} 
[2026-09-24 10:35:06] local.INFO: Extracted packet for processing {"connection_id":191013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c9"} 
[2026-09-24 10:35:06] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 10:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297786368001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790226029000,"timestamp_ms":1790226029000,"timestamp_seconds":1790226029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c959c8"} 
[2026-09-24 10:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297786368001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297786368001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:35:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:35:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297786368001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":191013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:35:06] local.INFO: GPS data processed {"connection_id":191013,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:35:06] local.INFO: Acknowledgment sent {"connection_id":191013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:35:28] local.INFO: TCP Data received {"connection_id":191211,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:35:28] local.INFO: Processing buffer {"connection_id":191211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:35:28] local.INFO: IMEI packet received {"connection_id":191211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":191211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:35:34] local.INFO: TCP Data received {"connection_id":191211,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:35:34] local.INFO: Processing buffer {"connection_id":191211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:35:34] local.INFO: IMEI packet received {"connection_id":191211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":191211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:35:35] local.INFO: TCP Data received {"connection_id":191211,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:35:35] local.INFO: Processing buffer {"connection_id":191211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1c959c8012d34c24006aa4930000901382d..."} 
[2026-09-24 10:35:35] local.INFO: Packet analysis {"connection_id":191211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1c9"} 
[2026-09-24 10:35:35] local.INFO: Extracted packet for processing {"connection_id":191211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1c9"} 
[2026-09-24 10:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111823152,"longitude_deg":75.843232,"latitude_deg":11.1823152,"altitude":9,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa4930","is_valid_coordinates":true} 
[2026-09-24 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-09-24 10:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297786368001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790226029000,"timestamp_ms":1790226029000,"timestamp_seconds":1790226029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1c959c8"} 
[2026-09-24 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-09-24 10:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 10:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 10:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297786368001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297786368001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:35:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:35:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297786368001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":191211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:35:35] local.INFO: GPS data processed {"connection_id":191211,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:35:35] local.INFO: Acknowledgment sent {"connection_id":191211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:36:07] local.INFO: TCP Data received {"connection_id":191211,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:36:07] local.INFO: Processing buffer {"connection_id":191211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:36:07] local.INFO: Packet analysis {"connection_id":191211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1cd"} 
[2026-09-24 10:36:07] local.INFO: Extracted packet for processing {"connection_id":191211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1cd"} 
[2026-09-24 10:36:07] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111823232,"longitude_deg":75.8431488,"latitude_deg":11.1823232,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4980","is_valid_coordinates":true} 
[2026-09-24 10:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297863424001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790226317000,"timestamp_ms":1790226317000,"timestamp_seconds":1790226317,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1cdbec8"} 
[2026-09-24 10:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 10:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297863424001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297863424001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:36:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:36:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297863424001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":191211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:36:07] local.INFO: GPS data processed {"connection_id":191211,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:36:07] local.INFO: Acknowledgment sent {"connection_id":191211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:36:28] local.INFO: TCP Data received {"connection_id":191014,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:36:28] local.INFO: Processing buffer {"connection_id":191014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:36:28] local.INFO: IMEI packet received {"connection_id":191014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":191014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:36:34] local.INFO: TCP Data received {"connection_id":191014,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:36:34] local.INFO: Processing buffer {"connection_id":191014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:36:34] local.INFO: IMEI packet received {"connection_id":191014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":191014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:36:35] local.INFO: TCP Data received {"connection_id":191014,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:36:35] local.INFO: Processing buffer {"connection_id":191014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:36:35] local.INFO: Packet analysis {"connection_id":191014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1cd"} 
[2026-09-24 10:36:35] local.INFO: Extracted packet for processing {"connection_id":191014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1cd"} 
[2026-09-24 10:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111823232,"longitude_deg":75.8431488,"latitude_deg":11.1823232,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4980","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297863424001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790226317000,"timestamp_ms":1790226317000,"timestamp_seconds":1790226317,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1cdbec8"} 
[2026-09-24 10:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 10:36:35] 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-09-24 10: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-09-24 10:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297863424001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297863424001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:36:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:36:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297863424001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":191014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:36:35] local.INFO: GPS data processed {"connection_id":191014,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:36:35] local.INFO: Acknowledgment sent {"connection_id":191014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:36:37] local.INFO: TCP Data received {"connection_id":192584,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:36:37] local.INFO: Processing buffer {"connection_id":192584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:36:37] local.INFO: IMEI packet received {"connection_id":192584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-24 10:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":192584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:36:42] local.INFO: TCP Data received {"connection_id":192584,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:36:42] local.INFO: Processing buffer {"connection_id":192584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:36:42] local.INFO: IMEI packet received {"connection_id":192584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-24 10:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":192584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:36:43] local.INFO: TCP Data received {"connection_id":192584,"ip":"42.106.6.22","data_length":93,"data_hex":"00000000000000518e01000000000000f2300100000000000000000000000000..."} 
[2026-09-24 10:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192584,"packet_length":93,"packet_hex":"00000000000000518e01000000000000f2300100000000000000000000000000..."} 
[2026-09-24 10:36:43] local.INFO: Processing buffer {"connection_id":192584,"buffer_length":93,"buffer_hex":"00000000000000518e01000000000000f2300100000000000000000000000000..."} 
[2026-09-24 10:36:43] local.INFO: Packet analysis {"connection_id":192584,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000000"} 
[2026-09-24 10:36:43] local.INFO: Extracted packet for processing {"connection_id":192584,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000000"} 
[2026-09-24 10:36:43] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 10:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-24 10:36:43] 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-09-24 10:36:43] 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-09-24 10:36:43] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:36:43] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-24 10:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192584,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-24 10:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-24 10:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-24 10:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-24 10:36:43] local.WARNING: DEBUG: No valid data to process  
[2026-09-24 10:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":192584,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-24 10:36:43] local.ERROR: GPS data processing failed {"connection_id":192584,"error":"No valid data to process"} 
[2026-09-24 10:36:43] local.INFO: Acknowledgment sent {"connection_id":192584,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-24 10:36:47] local.INFO: TCP Data received {"connection_id":193885,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:36:47] local.INFO: Processing buffer {"connection_id":193885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:36:47] local.INFO: IMEI packet received {"connection_id":193885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 10:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":193885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:37:06] local.INFO: TCP Data received {"connection_id":191014,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:37:06] local.INFO: Processing buffer {"connection_id":191014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:37:06] local.INFO: Packet analysis {"connection_id":191014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1cd"} 
[2026-09-24 10:37:06] local.INFO: Extracted packet for processing {"connection_id":191014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1cd"} 
[2026-09-24 10:37:06] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111823232,"longitude_deg":75.8431488,"latitude_deg":11.1823232,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4980","is_valid_coordinates":true} 
[2026-09-24 10:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297863424001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790226317000,"timestamp_ms":1790226317000,"timestamp_seconds":1790226317,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1cdbec8"} 
[2026-09-24 10:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 10:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297863424001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297863424001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:37:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:37:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297863424001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":191014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:37:06] local.INFO: GPS data processed {"connection_id":191014,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:37:06] local.INFO: Acknowledgment sent {"connection_id":191014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:37:17] local.INFO: TCP Data received {"connection_id":192585,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:37:17] local.INFO: Processing buffer {"connection_id":192585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:37:17] local.INFO: IMEI packet received {"connection_id":192585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 10:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":192585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:37:18] local.INFO: TCP Data received {"connection_id":192584,"ip":"42.106.6.22","data_length":93,"data_hex":"00000000000000518e01000001a0d1cf58f00100000000000000000000000000..."} 
[2026-09-24 10:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192584,"packet_length":93,"packet_hex":"00000000000000518e01000001a0d1cf58f00100000000000000000000000000..."} 
[2026-09-24 10:37:18] local.INFO: Processing buffer {"connection_id":192584,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0d1cf58f00100000000000000000000000000..."} 
[2026-09-24 10:37:18] local.INFO: Packet analysis {"connection_id":192584,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0d1cf"} 
[2026-09-24 10:37:18] local.INFO: Extracted packet for processing {"connection_id":192584,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0d1cf"} 
[2026-09-24 10:37: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-09-24 10:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-24 10:37:18] 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-09-24 10:37:18] 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-09-24 10:37:18] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:37:18] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-24 10:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":192584,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-24 10:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-24 10:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-24 10:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-24 10:37:18] local.WARNING: DEBUG: No valid data to process  
[2026-09-24 10:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":192584,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-24 10:37:18] local.ERROR: GPS data processing failed {"connection_id":192584,"error":"No valid data to process"} 
[2026-09-24 10:37:18] local.INFO: Acknowledgment sent {"connection_id":192584,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-24 10:37:34] local.INFO: TCP Data received {"connection_id":193886,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:37:34] local.INFO: Processing buffer {"connection_id":193886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:37:34] local.INFO: IMEI packet received {"connection_id":193886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":193886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:37:39] local.INFO: TCP Data received {"connection_id":193886,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:37:39] local.INFO: Processing buffer {"connection_id":193886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:37:39] local.INFO: IMEI packet received {"connection_id":193886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":193886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:37:41] local.INFO: TCP Data received {"connection_id":193886,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:37:41] local.INFO: Processing buffer {"connection_id":193886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:37:41] local.INFO: Packet analysis {"connection_id":193886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1cd"} 
[2026-09-24 10:37:41] local.INFO: Extracted packet for processing {"connection_id":193886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1cd"} 
[2026-09-24 10:37:41] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111823232,"longitude_deg":75.8431488,"latitude_deg":11.1823232,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4980","is_valid_coordinates":true} 
[2026-09-24 10:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297863424001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790226317000,"timestamp_ms":1790226317000,"timestamp_seconds":1790226317,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1cdbec8"} 
[2026-09-24 10:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 10:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297863424001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297863424001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:37:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:37:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297863424001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":193886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:37:42] local.INFO: GPS data processed {"connection_id":193886,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:37:42] local.INFO: Acknowledgment sent {"connection_id":193886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:37:45] local.INFO: TCP Data received {"connection_id":193886,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:37:45] local.INFO: Processing buffer {"connection_id":193886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:37:45] local.INFO: Packet analysis {"connection_id":193886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1cd"} 
[2026-09-24 10:37:45] local.INFO: Extracted packet for processing {"connection_id":193886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1cd"} 
[2026-09-24 10:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111823232,"longitude_deg":75.8431488,"latitude_deg":11.1823232,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4980","is_valid_coordinates":true} 
[2026-09-24 10:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297863424001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790226317000,"timestamp_ms":1790226317000,"timestamp_seconds":1790226317,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1cdbec8"} 
[2026-09-24 10:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 10:37:45] 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-09-24 10:37:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297863424001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297863424001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:37:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:37:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297863424001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":193886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:37:46] local.INFO: GPS data processed {"connection_id":193886,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:37:46] local.INFO: Acknowledgment sent {"connection_id":193886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:37:49] local.INFO: TCP Data received {"connection_id":192584,"ip":"42.106.6.22","data_length":93,"data_hex":"00000000000000518e01000001a0d1cf64a8012d7e000005d50ec0000e003b07..."} 
[2026-09-24 10:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192584,"packet_length":93,"packet_hex":"00000000000000518e01000001a0d1cf64a8012d7e000005d50ec0000e003b07..."} 
[2026-09-24 10:37:49] local.INFO: Processing buffer {"connection_id":192584,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0d1cf64a8012d7e000005d50ec0000e003b07..."} 
[2026-09-24 10:37:49] local.INFO: Packet analysis {"connection_id":192584,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0d1cf"} 
[2026-09-24 10:37:49] local.INFO: Extracted packet for processing {"connection_id":192584,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0d1cf"} 
[2026-09-24 10:37:49] local.INFO: GPS Element Parsed {"raw_longitude":763232256,"raw_latitude":97849024,"longitude_deg":76.3232256,"latitude_deg":9.7849024,"altitude":14,"angle":59,"satellites":7,"speed":1,"hex_longitude":"2d7e0000","hex_latitude":"05d50ec0","is_valid_coordinates":true} 
[2026-09-24 10:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-24 10:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:37:49] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:37:49] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-24 10:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":192584,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-24 10:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-24 10:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-24 10:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-24 10:37:49] local.WARNING: DEBUG: No valid data to process  
[2026-09-24 10:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":192584,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-24 10:37:49] local.ERROR: GPS data processing failed {"connection_id":192584,"error":"No valid data to process"} 
[2026-09-24 10:37:49] local.INFO: Acknowledgment sent {"connection_id":192584,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-24 10:38:19] local.INFO: TCP Data received {"connection_id":192584,"ip":"42.106.6.22","data_length":93,"data_hex":"00000000000000518e01000001a0d1cf6890012d7e000005d50ec8000e004a07..."} 
[2026-09-24 10:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192584,"packet_length":93,"packet_hex":"00000000000000518e01000001a0d1cf6890012d7e000005d50ec8000e004a07..."} 
[2026-09-24 10:38:20] local.INFO: Processing buffer {"connection_id":192584,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0d1cf6890012d7e000005d50ec8000e004a07..."} 
[2026-09-24 10:38:20] local.INFO: Packet analysis {"connection_id":192584,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0d1cf"} 
[2026-09-24 10:38:20] local.INFO: Extracted packet for processing {"connection_id":192584,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0d1cf"} 
[2026-09-24 10:38:20] local.INFO: GPS Element Parsed {"raw_longitude":763232256,"raw_latitude":97849032,"longitude_deg":76.3232256,"latitude_deg":9.7849032,"altitude":14,"angle":74,"satellites":7,"speed":1,"hex_longitude":"2d7e0000","hex_latitude":"05d50ec8","is_valid_coordinates":true} 
[2026-09-24 10: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":93,"current_offset":40} 
[2026-09-24 10:38:20] 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-09-24 10:38:20] 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-09-24 10:38:20] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:38:20] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-24 10:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":192584,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-24 10:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-24 10:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-24 10:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-24 10:38:20] local.WARNING: DEBUG: No valid data to process  
[2026-09-24 10:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":192584,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-24 10:38:20] local.ERROR: GPS data processing failed {"connection_id":192584,"error":"No valid data to process"} 
[2026-09-24 10:38:20] local.INFO: Acknowledgment sent {"connection_id":192584,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-24 10:38:29] local.INFO: TCP Data received {"connection_id":192586,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:38:29] local.INFO: Processing buffer {"connection_id":192586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:38:29] local.INFO: IMEI packet received {"connection_id":192586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":192586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:38:34] local.INFO: TCP Data received {"connection_id":192586,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:38:34] local.INFO: Processing buffer {"connection_id":192586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:38:34] local.INFO: IMEI packet received {"connection_id":192586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":192586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:38:36] local.INFO: TCP Data received {"connection_id":192586,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:38:36] local.INFO: Processing buffer {"connection_id":192586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:38:36] local.INFO: Packet analysis {"connection_id":192586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1cd"} 
[2026-09-24 10:38:36] local.INFO: Extracted packet for processing {"connection_id":192586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1cd"} 
[2026-09-24 10:38:36] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111823232,"longitude_deg":75.8431488,"latitude_deg":11.1823232,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4980","is_valid_coordinates":true} 
[2026-09-24 10:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297863424001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790226317000,"timestamp_ms":1790226317000,"timestamp_seconds":1790226317,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1cdbec8"} 
[2026-09-24 10:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 10:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297863424001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297863424001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:38:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:38:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297863424001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":192586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:38:36] local.INFO: GPS data processed {"connection_id":192586,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:38:36] local.INFO: Acknowledgment sent {"connection_id":192586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:38:47] local.INFO: TCP Data received {"connection_id":191015,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:38:47] local.INFO: Processing buffer {"connection_id":191015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:38:47] local.INFO: IMEI packet received {"connection_id":191015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 10:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":191015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:38:51] local.INFO: TCP Data received {"connection_id":192584,"ip":"42.106.6.22","data_length":93,"data_hex":"00000000000000518e01000001a0d1cfb6b0012d7e044005d511c00003004a0a..."} 
[2026-09-24 10:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192584,"packet_length":93,"packet_hex":"00000000000000518e01000001a0d1cfb6b0012d7e044005d511c00003004a0a..."} 
[2026-09-24 10:38:51] local.INFO: Processing buffer {"connection_id":192584,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0d1cfb6b0012d7e044005d511c00003004a0a..."} 
[2026-09-24 10:38:51] local.INFO: Packet analysis {"connection_id":192584,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0d1cf"} 
[2026-09-24 10:38:51] local.INFO: Extracted packet for processing {"connection_id":192584,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0d1cf"} 
[2026-09-24 10:38:51] local.INFO: GPS Element Parsed {"raw_longitude":763233344,"raw_latitude":97849792,"longitude_deg":76.3233344,"latitude_deg":9.7849792,"altitude":3,"angle":74,"satellites":10,"speed":0,"hex_longitude":"2d7e0440","hex_latitude":"05d511c0","is_valid_coordinates":true} 
[2026-09-24 10:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-24 10:38:51] 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-09-24 10:38:51] 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-09-24 10:38:51] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:38:51] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-24 10:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192584,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-24 10:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-24 10:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-24 10:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-24 10:38:51] local.WARNING: DEBUG: No valid data to process  
[2026-09-24 10:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":192584,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-24 10:38:51] local.ERROR: GPS data processing failed {"connection_id":192584,"error":"No valid data to process"} 
[2026-09-24 10:38:51] local.INFO: Acknowledgment sent {"connection_id":192584,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-24 10:39:07] local.INFO: TCP Data received {"connection_id":192586,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:39:07] local.INFO: Processing buffer {"connection_id":192586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:39:07] local.INFO: Packet analysis {"connection_id":192586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1cd"} 
[2026-09-24 10:39:07] local.INFO: Extracted packet for processing {"connection_id":192586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1cd"} 
[2026-09-24 10:39:07] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111823232,"longitude_deg":75.8431488,"latitude_deg":11.1823232,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4980","is_valid_coordinates":true} 
[2026-09-24 10:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297863424001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790226317000,"timestamp_ms":1790226317000,"timestamp_seconds":1790226317,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1cdbec8"} 
[2026-09-24 10:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 10:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297863424001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297863424001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:39:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:39:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297863424001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":192586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:39:07] local.INFO: GPS data processed {"connection_id":192586,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:39:07] local.INFO: Acknowledgment sent {"connection_id":192586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:39:22] local.INFO: TCP Data received {"connection_id":192584,"ip":"42.106.6.22","data_length":171,"data_hex":"000000000000009f8e02000001a0d1d008b8012d7e034005d511c00004004a0d..."} 
[2026-09-24 10:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192584,"packet_length":171,"packet_hex":"000000000000009f8e02000001a0d1d008b8012d7e034005d511c00004004a0d..."} 
[2026-09-24 10:39:22] local.INFO: Processing buffer {"connection_id":192584,"buffer_length":171,"buffer_hex":"000000000000009f8e02000001a0d1d008b8012d7e034005d511c00004004a0d..."} 
[2026-09-24 10:39:22] local.INFO: Packet analysis {"connection_id":192584,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e02000001a0d1d0"} 
[2026-09-24 10:39:22] local.INFO: Extracted packet for processing {"connection_id":192584,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e02000001a0d1d0"} 
[2026-09-24 10:39:22] local.INFO: GPS Element Parsed {"raw_longitude":763233088,"raw_latitude":97849792,"longitude_deg":76.3233088,"latitude_deg":9.7849792,"altitude":4,"angle":74,"satellites":13,"speed":0,"hex_longitude":"2d7e0340","hex_latitude":"05d511c0","is_valid_coordinates":true} 
[2026-09-24 10:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-09-24 10:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297970176001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587032293441536,"note":"Value kept but may cause issues"} 
[2026-09-24 10:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080453142479486976,"note":"Value kept but may cause issues"} 
[2026-09-24 10:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790226467000,"timestamp_ms":1790226467000,"timestamp_seconds":1790226467,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d008b8"} 
[2026-09-24 10:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":171,"current_offset":136} 
[2026-09-24 10:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:39:22] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192584,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-09-24 10:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-24 10:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-24 10:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297970176001,"66":13852,"111":206,"85":15104,"24":0,"16":135587032293441536,"45":9080453142479486976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-24 10:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-24 10:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-24 10:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297970176001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:39:22] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-24 10:39:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-24 10:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587032293441536,"km_value":135587032293441.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080453142479486976,"description":"Unknown IO ID 45"} 
[2026-09-24 10:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297970176001,"power":13852,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080453142479486976}} 
[2026-09-24 10:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":192584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:39:22] local.INFO: GPS data processed {"connection_id":192584,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:39:22] local.INFO: Acknowledgment sent {"connection_id":192584,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:39:29] local.INFO: TCP Data received {"connection_id":191212,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:39:29] local.INFO: Processing buffer {"connection_id":191212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:39:29] local.INFO: IMEI packet received {"connection_id":191212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":191212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:39:34] local.INFO: TCP Data received {"connection_id":191212,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:39:34] local.INFO: Processing buffer {"connection_id":191212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:39:34] local.INFO: IMEI packet received {"connection_id":191212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":191212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:39:35] local.INFO: TCP Data received {"connection_id":191212,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:39:35] local.INFO: Processing buffer {"connection_id":191212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:39:35] local.INFO: Packet analysis {"connection_id":191212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1cd"} 
[2026-09-24 10:39:35] local.INFO: Extracted packet for processing {"connection_id":191212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1cd"} 
[2026-09-24 10:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111823232,"longitude_deg":75.8431488,"latitude_deg":11.1823232,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4980","is_valid_coordinates":true} 
[2026-09-24 10:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297863424001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790226317000,"timestamp_ms":1790226317000,"timestamp_seconds":1790226317,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1cdbec8"} 
[2026-09-24 10:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 10:39:35] 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-09-24 10:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297863424001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297863424001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:39:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:39:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297863424001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":191212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:39:35] local.INFO: GPS data processed {"connection_id":191212,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:39:35] local.INFO: Acknowledgment sent {"connection_id":191212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:39:53] local.INFO: TCP Data received {"connection_id":192584,"ip":"42.106.6.22","data_length":249,"data_hex":"00000000000000ed8e03000001a0d1d05ac0012d7e030005d511480005004a0f..."} 
[2026-09-24 10:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192584,"packet_length":249,"packet_hex":"00000000000000ed8e03000001a0d1d05ac0012d7e030005d511480005004a0f..."} 
[2026-09-24 10:39:53] local.INFO: Processing buffer {"connection_id":192584,"buffer_length":249,"buffer_hex":"00000000000000ed8e03000001a0d1d05ac0012d7e030005d511480005004a0f..."} 
[2026-09-24 10:39:53] local.INFO: Packet analysis {"connection_id":192584,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e03000001a0d1d0"} 
[2026-09-24 10:39:53] local.INFO: Extracted packet for processing {"connection_id":192584,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e03000001a0d1d0"} 
[2026-09-24 10:39:53] local.INFO: GPS Element Parsed {"raw_longitude":763233024,"raw_latitude":97849672,"longitude_deg":76.3233024,"latitude_deg":9.7849672,"altitude":5,"angle":74,"satellites":15,"speed":0,"hex_longitude":"2d7e0300","hex_latitude":"05d51148","is_valid_coordinates":true} 
[2026-09-24 10:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-09-24 10:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297975552001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587040883376128,"note":"Value kept but may cause issues"} 
[2026-09-24 10:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080171667502776320,"note":"Value kept but may cause issues"} 
[2026-09-24 10:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790226488000,"timestamp_ms":1790226488000,"timestamp_seconds":1790226488,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d05ac0"} 
[2026-09-24 10:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":249,"current_offset":136} 
[2026-09-24 10:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:39:53] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":192584,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-09-24 10:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-24 10:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-24 10:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297975552001,"66":14026,"111":206,"85":15104,"24":0,"16":135587040883376128,"45":9080171667502776320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-24 10:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-24 10:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-24 10:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297975552001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:39:53] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-24 10:39:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-24 10:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587040883376128,"km_value":135587040883376.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080171667502776320,"description":"Unknown IO ID 45"} 
[2026-09-24 10:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297975552001,"power":14026,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080171667502776320}} 
[2026-09-24 10:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":192584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:39:53] local.INFO: GPS data processed {"connection_id":192584,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:39:53] local.INFO: Acknowledgment sent {"connection_id":192584,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:40:07] local.INFO: TCP Data received {"connection_id":191212,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:40:07] local.INFO: Processing buffer {"connection_id":191212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:40:07] local.INFO: Packet analysis {"connection_id":191212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1cd"} 
[2026-09-24 10:40:07] local.INFO: Extracted packet for processing {"connection_id":191212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1cd"} 
[2026-09-24 10:40:07] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111823232,"longitude_deg":75.8431488,"latitude_deg":11.1823232,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4980","is_valid_coordinates":true} 
[2026-09-24 10:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297863424001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790226317000,"timestamp_ms":1790226317000,"timestamp_seconds":1790226317,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1cdbec8"} 
[2026-09-24 10:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 10:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297863424001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297863424001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:40:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:40:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297863424001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":191212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:40:07] local.INFO: GPS data processed {"connection_id":191212,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:40:07] local.INFO: Acknowledgment sent {"connection_id":191212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:40:24] local.INFO: TCP Data received {"connection_id":192584,"ip":"42.106.6.22","data_length":327,"data_hex":"000000000000013b8e04000001a0d1d0acc8012d7e030005d511100005004a11..."} 
[2026-09-24 10:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192584,"packet_length":327,"packet_hex":"000000000000013b8e04000001a0d1d0acc8012d7e030005d511100005004a11..."} 
[2026-09-24 10:40:24] local.INFO: Processing buffer {"connection_id":192584,"buffer_length":327,"buffer_hex":"000000000000013b8e04000001a0d1d0acc8012d7e030005d511100005004a11..."} 
[2026-09-24 10:40:24] local.INFO: Packet analysis {"connection_id":192584,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e04000001a0d1d0"} 
[2026-09-24 10:40:24] local.INFO: Extracted packet for processing {"connection_id":192584,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e04000001a0d1d0"} 
[2026-09-24 10:40:24] local.INFO: GPS Element Parsed {"raw_longitude":763233024,"raw_latitude":97849616,"longitude_deg":76.3233024,"latitude_deg":9.7849616,"altitude":5,"angle":74,"satellites":17,"speed":0,"hex_longitude":"2d7e0300","hex_latitude":"05d51110","is_valid_coordinates":true} 
[2026-09-24 10:40: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":327,"current_offset":40} 
[2026-09-24 10:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297980928001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587045178343424,"note":"Value kept but may cause issues"} 
[2026-09-24 10:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080101298758567936,"note":"Value kept but may cause issues"} 
[2026-09-24 10:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790226509000,"timestamp_ms":1790226509000,"timestamp_seconds":1790226509,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d0acc8"} 
[2026-09-24 10:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":327,"current_offset":136} 
[2026-09-24 10:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:40:24] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":192584,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-09-24 10:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-24 10:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-24 10:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297980928001,"66":13765,"111":206,"85":15104,"24":0,"16":135587045178343424,"45":9080101298758567936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-24 10:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-24 10:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-24 10:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297980928001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:40:24] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-24 10:40:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-24 10:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587045178343424,"km_value":135587045178343.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080101298758567936,"description":"Unknown IO ID 45"} 
[2026-09-24 10:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297980928001,"power":13765,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080101298758567936}} 
[2026-09-24 10:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":192584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:40:24] local.INFO: GPS data processed {"connection_id":192584,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:40:24] local.INFO: Acknowledgment sent {"connection_id":192584,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:40:28] local.INFO: TCP Data received {"connection_id":192587,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:40:28] local.INFO: Processing buffer {"connection_id":192587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:40:28] local.INFO: IMEI packet received {"connection_id":192587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":192587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:40:34] local.INFO: TCP Data received {"connection_id":192587,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:40:34] local.INFO: Processing buffer {"connection_id":192587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:40:34] local.INFO: IMEI packet received {"connection_id":192587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":192587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:40:36] local.INFO: TCP Data received {"connection_id":192587,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:40:36] local.INFO: Processing buffer {"connection_id":192587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1cdbec8012d34bf0006aa4980000900f52b..."} 
[2026-09-24 10:40:36] local.INFO: Packet analysis {"connection_id":192587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1cd"} 
[2026-09-24 10:40:36] local.INFO: Extracted packet for processing {"connection_id":192587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1cd"} 
[2026-09-24 10:40:36] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111823232,"longitude_deg":75.8431488,"latitude_deg":11.1823232,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4980","is_valid_coordinates":true} 
[2026-09-24 10:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297863424001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432825024512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790226317000,"timestamp_ms":1790226317000,"timestamp_seconds":1790226317,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1cdbec8"} 
[2026-09-24 10:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 10:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297863424001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801671432825024512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297863424001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:40:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:40:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432825024512,"description":"Unknown IO ID 45"} 
[2026-09-24 10:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297863424001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432825024512}} 
[2026-09-24 10:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":192587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:40:36] local.INFO: GPS data processed {"connection_id":192587,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:40:36] local.INFO: Acknowledgment sent {"connection_id":192587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:40:55] local.INFO: TCP Data received {"connection_id":192584,"ip":"42.106.6.22","data_length":405,"data_hex":"00000000000001898e05000001a0d1d0fed0012d7e030005d510b00005004a13..."} 
[2026-09-24 10:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192584,"packet_length":405,"packet_hex":"00000000000001898e05000001a0d1d0fed0012d7e030005d510b00005004a13..."} 
[2026-09-24 10:40:55] local.INFO: Processing buffer {"connection_id":192584,"buffer_length":405,"buffer_hex":"00000000000001898e05000001a0d1d0fed0012d7e030005d510b00005004a13..."} 
[2026-09-24 10:40:55] local.INFO: Packet analysis {"connection_id":192584,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e05000001a0d1d0"} 
[2026-09-24 10:40:55] local.INFO: Extracted packet for processing {"connection_id":192584,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e05000001a0d1d0"} 
[2026-09-24 10:40:55] local.INFO: GPS Element Parsed {"raw_longitude":763233024,"raw_latitude":97849520,"longitude_deg":76.3233024,"latitude_deg":9.784952,"altitude":5,"angle":74,"satellites":19,"speed":0,"hex_longitude":"2d7e0300","hex_latitude":"05d510b0","is_valid_coordinates":true} 
[2026-09-24 10:40: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":405,"current_offset":40} 
[2026-09-24 10:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297986304001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587053768278016,"note":"Value kept but may cause issues"} 
[2026-09-24 10:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080101298758553600,"note":"Value kept but may cause issues"} 
[2026-09-24 10:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790226530000,"timestamp_ms":1790226530000,"timestamp_seconds":1790226530,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d0fed0"} 
[2026-09-24 10:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:40: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":53,"n8_eight_byte":197,"data_length":405,"current_offset":136} 
[2026-09-24 10:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:40:55] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192584,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-09-24 10:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-24 10:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-24 10:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297986304001,"66":13906,"111":206,"85":15104,"24":0,"16":135587053768278016,"45":9080101298758553600},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-24 10:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-24 10:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-24 10:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297986304001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:40:55] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-24 10:40:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-24 10:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587053768278016,"km_value":135587053768278.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080101298758553600,"description":"Unknown IO ID 45"} 
[2026-09-24 10:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297986304001,"power":13906,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080101298758553600}} 
[2026-09-24 10:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":192584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:40:55] local.INFO: GPS data processed {"connection_id":192584,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:40:55] local.INFO: Acknowledgment sent {"connection_id":192584,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:41:08] local.INFO: TCP Data received {"connection_id":192587,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:41:08] local.INFO: Processing buffer {"connection_id":192587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:41:08] local.INFO: Packet analysis {"connection_id":192587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1d2"} 
[2026-09-24 10:41:08] local.INFO: Extracted packet for processing {"connection_id":192587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1d2"} 
[2026-09-24 10:41:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297937152001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150735360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790226618000,"timestamp_ms":1790226618000,"timestamp_seconds":1790226618,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d25690"} 
[2026-09-24 10:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297937152001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800756639150735360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297937152001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:41:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:41:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150735360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297937152001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150735360}} 
[2026-09-24 10:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":192587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:41:08] local.INFO: GPS data processed {"connection_id":192587,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:41:08] local.INFO: Acknowledgment sent {"connection_id":192587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:41:26] local.INFO: TCP Data received {"connection_id":192584,"ip":"42.106.6.22","data_length":483,"data_hex":"00000000000001d78e06000001a0d1d13d50012d7e02c005d510b00005004a14..."} 
[2026-09-24 10:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192584,"packet_length":483,"packet_hex":"00000000000001d78e06000001a0d1d13d50012d7e02c005d510b00005004a14..."} 
[2026-09-24 10:41:26] local.INFO: Processing buffer {"connection_id":192584,"buffer_length":483,"buffer_hex":"00000000000001d78e06000001a0d1d13d50012d7e02c005d510b00005004a14..."} 
[2026-09-24 10:41:26] local.INFO: Packet analysis {"connection_id":192584,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e06000001a0d1d1"} 
[2026-09-24 10:41:26] local.INFO: Extracted packet for processing {"connection_id":192584,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e06000001a0d1d1"} 
[2026-09-24 10:41:26] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849520,"longitude_deg":76.323296,"latitude_deg":9.784952,"altitude":5,"angle":74,"satellites":20,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d510b0","is_valid_coordinates":true} 
[2026-09-24 10:41:26] 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":483,"current_offset":40} 
[2026-09-24 10:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297991680001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587058063245312,"note":"Value kept but may cause issues"} 
[2026-09-24 10:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080101298758529024,"note":"Value kept but may cause issues"} 
[2026-09-24 10:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790226546000,"timestamp_ms":1790226546000,"timestamp_seconds":1790226546,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d13d50"} 
[2026-09-24 10:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":483,"current_offset":136} 
[2026-09-24 10:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:41:26] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":192584,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-09-24 10:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-24 10:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-24 10:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297991680001,"66":13852,"111":206,"85":15104,"24":0,"16":135587058063245312,"45":9080101298758529024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-24 10:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-24 10:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-24 10:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297991680001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:41:26] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-24 10:41:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-24 10:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587058063245312,"km_value":135587058063245.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080101298758529024,"description":"Unknown IO ID 45"} 
[2026-09-24 10:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297991680001,"power":13852,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080101298758529024}} 
[2026-09-24 10:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":192584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:41:26] local.INFO: GPS data processed {"connection_id":192584,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:41:26] local.INFO: Acknowledgment sent {"connection_id":192584,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:41:34] local.INFO: TCP Data received {"connection_id":191213,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:41:34] local.INFO: Processing buffer {"connection_id":191213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:41:34] local.INFO: IMEI packet received {"connection_id":191213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":191213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:41:39] local.INFO: TCP Data received {"connection_id":191213,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:41:39] local.INFO: Processing buffer {"connection_id":191213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:41:39] local.INFO: IMEI packet received {"connection_id":191213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":191213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:41:40] local.INFO: TCP Data received {"connection_id":191213,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:41:40] local.INFO: Processing buffer {"connection_id":191213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:41:40] local.INFO: Packet analysis {"connection_id":191213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1d2"} 
[2026-09-24 10:41:40] local.INFO: Extracted packet for processing {"connection_id":191213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1d2"} 
[2026-09-24 10:41:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297937152001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150735360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790226618000,"timestamp_ms":1790226618000,"timestamp_seconds":1790226618,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d25690"} 
[2026-09-24 10:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297937152001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800756639150735360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297937152001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:41:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:41:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150735360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297937152001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150735360}} 
[2026-09-24 10:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":191213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:41:40] local.INFO: GPS data processed {"connection_id":191213,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:41:40] local.INFO: Acknowledgment sent {"connection_id":191213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:41:44] local.INFO: TCP Data received {"connection_id":191213,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:41:44] local.INFO: Processing buffer {"connection_id":191213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:41:44] local.INFO: Packet analysis {"connection_id":191213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1d2"} 
[2026-09-24 10:41:44] local.INFO: Extracted packet for processing {"connection_id":191213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1d2"} 
[2026-09-24 10:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297937152001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150735360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790226618000,"timestamp_ms":1790226618000,"timestamp_seconds":1790226618,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d25690"} 
[2026-09-24 10:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297937152001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800756639150735360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297937152001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:41:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:41:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150735360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297937152001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150735360}} 
[2026-09-24 10:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":191213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:41:44] local.INFO: GPS data processed {"connection_id":191213,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:41:44] local.INFO: Acknowledgment sent {"connection_id":191213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:41:57] local.INFO: TCP Data received {"connection_id":192584,"ip":"42.106.6.22","data_length":561,"data_hex":"00000000000002258e07000001a0d1d13d50012d7e02c005d510b00005004a14..."} 
[2026-09-24 10:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192584,"packet_length":561,"packet_hex":"00000000000002258e07000001a0d1d13d50012d7e02c005d510b00005004a14..."} 
[2026-09-24 10:41:57] local.INFO: Processing buffer {"connection_id":192584,"buffer_length":561,"buffer_hex":"00000000000002258e07000001a0d1d13d50012d7e02c005d510b00005004a14..."} 
[2026-09-24 10:41:57] local.INFO: Packet analysis {"connection_id":192584,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e07000001a0d1d1"} 
[2026-09-24 10:41:57] local.INFO: Extracted packet for processing {"connection_id":192584,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e07000001a0d1d1"} 
[2026-09-24 10:41:57] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849520,"longitude_deg":76.323296,"latitude_deg":9.784952,"altitude":5,"angle":74,"satellites":20,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d510b0","is_valid_coordinates":true} 
[2026-09-24 10:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":561,"current_offset":40} 
[2026-09-24 10:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297995776001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587058063245312,"note":"Value kept but may cause issues"} 
[2026-09-24 10:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014351360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790226546000,"timestamp_ms":1790226546000,"timestamp_seconds":1790226546,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d13d50"} 
[2026-09-24 10:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":561,"current_offset":136} 
[2026-09-24 10:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:41:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:41:57] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":192584,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-09-24 10:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-24 10:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-24 10:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297995776001,"66":13852,"111":206,"85":15104,"24":0,"16":135587058063245312,"45":9080030930014351360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-24 10:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-24 10:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-24 10:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297995776001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:41:57] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-24 10:41:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-24 10:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587058063245312,"km_value":135587058063245.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014351360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297995776001,"power":13852,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014351360}} 
[2026-09-24 10:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":192584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:41:57] local.INFO: GPS data processed {"connection_id":192584,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:41:57] local.INFO: Acknowledgment sent {"connection_id":192584,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:42:27] local.INFO: TCP Data received {"connection_id":192584,"ip":"42.106.6.22","data_length":561,"data_hex":"00000000000002258e07000001a0d1d13d50012d7e02c005d510b00005004a14..."} 
[2026-09-24 10:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192584,"packet_length":561,"packet_hex":"00000000000002258e07000001a0d1d13d50012d7e02c005d510b00005004a14..."} 
[2026-09-24 10:42:27] local.INFO: Processing buffer {"connection_id":192584,"buffer_length":561,"buffer_hex":"00000000000002258e07000001a0d1d13d50012d7e02c005d510b00005004a14..."} 
[2026-09-24 10:42:27] local.INFO: Packet analysis {"connection_id":192584,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e07000001a0d1d1"} 
[2026-09-24 10:42:27] local.INFO: Extracted packet for processing {"connection_id":192584,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e07000001a0d1d1"} 
[2026-09-24 10:42:27] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849520,"longitude_deg":76.323296,"latitude_deg":9.784952,"altitude":5,"angle":74,"satellites":20,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d510b0","is_valid_coordinates":true} 
[2026-09-24 10:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":561,"current_offset":40} 
[2026-09-24 10:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297995776001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587058063245312,"note":"Value kept but may cause issues"} 
[2026-09-24 10:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014351360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790226546000,"timestamp_ms":1790226546000,"timestamp_seconds":1790226546,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d13d50"} 
[2026-09-24 10:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":561,"current_offset":136} 
[2026-09-24 10:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:42:27] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192584,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-09-24 10:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-24 10:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-24 10:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297995776001,"66":13852,"111":206,"85":15104,"24":0,"16":135587058063245312,"45":9080030930014351360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-24 10:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-24 10:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-24 10:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297995776001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:42:27] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-24 10:42:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-24 10:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587058063245312,"km_value":135587058063245.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014351360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297995776001,"power":13852,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014351360}} 
[2026-09-24 10:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":192584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:42:27] local.INFO: GPS data processed {"connection_id":192584,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:42:27] local.INFO: Acknowledgment sent {"connection_id":192584,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:42:29] local.INFO: TCP Data received {"connection_id":193888,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:42:29] local.INFO: Processing buffer {"connection_id":193888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:42:29] local.INFO: IMEI packet received {"connection_id":193888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":193888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:42:34] local.INFO: TCP Data received {"connection_id":193888,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:42:34] local.INFO: Processing buffer {"connection_id":193888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:42:34] local.INFO: IMEI packet received {"connection_id":193888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":193888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:42:35] local.INFO: TCP Data received {"connection_id":193888,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:42:35] local.INFO: Processing buffer {"connection_id":193888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:42:35] local.INFO: Packet analysis {"connection_id":193888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1d2"} 
[2026-09-24 10:42:35] local.INFO: Extracted packet for processing {"connection_id":193888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1d2"} 
[2026-09-24 10:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297937152001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150735360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790226618000,"timestamp_ms":1790226618000,"timestamp_seconds":1790226618,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d25690"} 
[2026-09-24 10:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297937152001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800756639150735360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297937152001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:42:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:42:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150735360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297937152001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150735360}} 
[2026-09-24 10:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":193888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:42:35] local.INFO: GPS data processed {"connection_id":193888,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:42:35] local.INFO: Acknowledgment sent {"connection_id":193888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:43:07] local.INFO: TCP Data received {"connection_id":193888,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:43:07] local.INFO: Processing buffer {"connection_id":193888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:43:07] local.INFO: Packet analysis {"connection_id":193888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1d2"} 
[2026-09-24 10:43:07] local.INFO: Extracted packet for processing {"connection_id":193888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1d2"} 
[2026-09-24 10:43:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297937152001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150735360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790226618000,"timestamp_ms":1790226618000,"timestamp_seconds":1790226618,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d25690"} 
[2026-09-24 10:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297937152001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800756639150735360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297937152001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:43:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:43:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150735360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297937152001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150735360}} 
[2026-09-24 10:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":193888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:43:07] local.INFO: GPS data processed {"connection_id":193888,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:43:07] local.INFO: Acknowledgment sent {"connection_id":193888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:43:12] local.INFO: TCP Data received {"connection_id":191215,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191215,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:43:12] local.INFO: Processing buffer {"connection_id":191215,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:43:12] local.INFO: IMEI packet received {"connection_id":191215,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-24 10:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":191215,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:43:18] local.INFO: TCP Data received {"connection_id":191215,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191215,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:43:18] local.INFO: Processing buffer {"connection_id":191215,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:43:18] local.INFO: IMEI packet received {"connection_id":191215,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-24 10:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":191215,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:43:19] local.INFO: TCP Data received {"connection_id":191215,"ip":"42.106.6.22","data_length":561,"data_hex":"00000000000002258e07000001a0d1d13d50012d7e02c005d510b00005004a14..."} 
[2026-09-24 10:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191215,"packet_length":561,"packet_hex":"00000000000002258e07000001a0d1d13d50012d7e02c005d510b00005004a14..."} 
[2026-09-24 10:43:19] local.INFO: Processing buffer {"connection_id":191215,"buffer_length":561,"buffer_hex":"00000000000002258e07000001a0d1d13d50012d7e02c005d510b00005004a14..."} 
[2026-09-24 10:43:19] local.INFO: Packet analysis {"connection_id":191215,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e07000001a0d1d1"} 
[2026-09-24 10:43:19] local.INFO: Extracted packet for processing {"connection_id":191215,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e07000001a0d1d1"} 
[2026-09-24 10:43:19] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849520,"longitude_deg":76.323296,"latitude_deg":9.784952,"altitude":5,"angle":74,"satellites":20,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d510b0","is_valid_coordinates":true} 
[2026-09-24 10:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":561,"current_offset":40} 
[2026-09-24 10:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297995776001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587058063245312,"note":"Value kept but may cause issues"} 
[2026-09-24 10:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014351360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790226546000,"timestamp_ms":1790226546000,"timestamp_seconds":1790226546,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d13d50"} 
[2026-09-24 10:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":561,"current_offset":136} 
[2026-09-24 10:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:43:19] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191215,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-09-24 10:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-24 10:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-24 10:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297995776001,"66":13852,"111":206,"85":15104,"24":0,"16":135587058063245312,"45":9080030930014351360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-24 10:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-24 10:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-24 10:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297995776001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:43:19] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-24 10:43:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-24 10:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587058063245312,"km_value":135587058063245.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014351360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297995776001,"power":13852,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014351360}} 
[2026-09-24 10:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":191215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:43:19] local.INFO: GPS data processed {"connection_id":191215,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:43:19] local.INFO: Acknowledgment sent {"connection_id":191215,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:43:22] local.INFO: TCP Data received {"connection_id":191215,"ip":"42.106.6.22","data_length":561,"data_hex":"00000000000002258e07000001a0d1d13d50012d7e02c005d510b00005004a14..."} 
[2026-09-24 10:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191215,"packet_length":561,"packet_hex":"00000000000002258e07000001a0d1d13d50012d7e02c005d510b00005004a14..."} 
[2026-09-24 10:43:22] local.INFO: Processing buffer {"connection_id":191215,"buffer_length":561,"buffer_hex":"00000000000002258e07000001a0d1d13d50012d7e02c005d510b00005004a14..."} 
[2026-09-24 10:43:22] local.INFO: Packet analysis {"connection_id":191215,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e07000001a0d1d1"} 
[2026-09-24 10:43:22] local.INFO: Extracted packet for processing {"connection_id":191215,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e07000001a0d1d1"} 
[2026-09-24 10:43:22] local.INFO: GPS Element Parsed {"raw_longitude":763232960,"raw_latitude":97849520,"longitude_deg":76.323296,"latitude_deg":9.784952,"altitude":5,"angle":74,"satellites":20,"speed":0,"hex_longitude":"2d7e02c0","hex_latitude":"05d510b0","is_valid_coordinates":true} 
[2026-09-24 10:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":561,"current_offset":40} 
[2026-09-24 10:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297995776001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587058063245312,"note":"Value kept but may cause issues"} 
[2026-09-24 10:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014351360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790226546000,"timestamp_ms":1790226546000,"timestamp_seconds":1790226546,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d13d50"} 
[2026-09-24 10:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":561,"current_offset":136} 
[2026-09-24 10:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:43:22] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191215,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-09-24 10:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-24 10:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-24 10:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297995776001,"66":13852,"111":206,"85":15104,"24":0,"16":135587058063245312,"45":9080030930014351360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-24 10:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-24 10:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-24 10:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297995776001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:43:22] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-24 10:43:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-24 10:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587058063245312,"km_value":135587058063245.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014351360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297995776001,"power":13852,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014351360}} 
[2026-09-24 10:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":191215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:43:22] local.INFO: GPS data processed {"connection_id":191215,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:43:22] local.INFO: Acknowledgment sent {"connection_id":191215,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:43:29] local.INFO: TCP Data received {"connection_id":192588,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:43:29] local.INFO: Processing buffer {"connection_id":192588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:43:29] local.INFO: IMEI packet received {"connection_id":192588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":192588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:43:34] local.INFO: TCP Data received {"connection_id":192588,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:43:34] local.INFO: Processing buffer {"connection_id":192588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:43:34] local.INFO: IMEI packet received {"connection_id":192588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":192588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:43:35] local.INFO: TCP Data received {"connection_id":192588,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:43:35] local.INFO: Processing buffer {"connection_id":192588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:43:35] local.INFO: Packet analysis {"connection_id":192588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1d2"} 
[2026-09-24 10:43:35] local.INFO: Extracted packet for processing {"connection_id":192588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1d2"} 
[2026-09-24 10:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297937152001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150735360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790226618000,"timestamp_ms":1790226618000,"timestamp_seconds":1790226618,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d25690"} 
[2026-09-24 10:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297937152001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800756639150735360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297937152001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:43:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:43:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150735360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297937152001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150735360}} 
[2026-09-24 10:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":192588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:43:35] local.INFO: GPS data processed {"connection_id":192588,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:43:35] local.INFO: Acknowledgment sent {"connection_id":192588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:44:06] local.INFO: TCP Data received {"connection_id":192588,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:44:06] local.INFO: Processing buffer {"connection_id":192588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:44:06] local.INFO: Packet analysis {"connection_id":192588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1d2"} 
[2026-09-24 10:44:06] local.INFO: Extracted packet for processing {"connection_id":192588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1d2"} 
[2026-09-24 10:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297937152001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150735360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790226618000,"timestamp_ms":1790226618000,"timestamp_seconds":1790226618,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d25690"} 
[2026-09-24 10:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297937152001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800756639150735360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297937152001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:44:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:44:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150735360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297937152001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150735360}} 
[2026-09-24 10:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":192588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:44:06] local.INFO: GPS data processed {"connection_id":192588,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:44:06] local.INFO: Acknowledgment sent {"connection_id":192588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:44:07] local.INFO: TCP Data received {"connection_id":193889,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:44:07] local.INFO: Processing buffer {"connection_id":193889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:44:07] local.INFO: IMEI packet received {"connection_id":193889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-24 10:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":193889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:44:12] local.INFO: TCP Data received {"connection_id":193889,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:44:12] local.INFO: Processing buffer {"connection_id":193889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:44:12] local.INFO: IMEI packet received {"connection_id":193889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-24 10:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":193889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:44:13] local.INFO: TCP Data received {"connection_id":193889,"ip":"42.106.6.22","data_length":639,"data_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193889,"packet_length":639,"packet_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:44:13] local.INFO: Processing buffer {"connection_id":193889,"buffer_length":639,"buffer_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:44:13] local.INFO: Packet analysis {"connection_id":193889,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e08000001a0d1d5"} 
[2026-09-24 10:44:13] local.INFO: Extracted packet for processing {"connection_id":193889,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e08000001a0d1d5"} 
[2026-09-24 10:44:13] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":97849592,"longitude_deg":76.3232576,"latitude_deg":9.7849592,"altitude":4,"angle":74,"satellites":31,"speed":0,"hex_longitude":"2d7e0140","hex_latitude":"05d510f8","is_valid_coordinates":true} 
[2026-09-24 10:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":639,"current_offset":40} 
[2026-09-24 10:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297995776001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587058063245312,"note":"Value kept but may cause issues"} 
[2026-09-24 10:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014351360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790226850000,"timestamp_ms":1790226850000,"timestamp_seconds":1790226850,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d5e0d0"} 
[2026-09-24 10:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":639,"current_offset":136} 
[2026-09-24 10:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:44:13] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193889,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-09-24 10:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-24 10:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-24 10:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297995776001,"66":12852,"111":206,"85":15104,"24":0,"16":135587058063245312,"45":9080030930014351360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-24 10:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-24 10:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-24 10:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297995776001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:44:13] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-24 10:44:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-24 10:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587058063245312,"km_value":135587058063245.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014351360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297995776001,"power":12852,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014351360}} 
[2026-09-24 10:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":193889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889171,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:44:13] local.INFO: GPS data processed {"connection_id":193889,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:44:13] local.INFO: Acknowledgment sent {"connection_id":193889,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:44:13] local.INFO: TCP Data received {"connection_id":193890,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:44:13] local.INFO: Processing buffer {"connection_id":193890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:44:13] local.INFO: IMEI packet received {"connection_id":193890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 10:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":193890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:44:29] local.INFO: TCP Data received {"connection_id":191217,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:44:29] local.INFO: Processing buffer {"connection_id":191217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:44:29] local.INFO: IMEI packet received {"connection_id":191217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":191217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:44:34] local.INFO: TCP Data received {"connection_id":191217,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:44:34] local.INFO: Processing buffer {"connection_id":191217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:44:34] local.INFO: IMEI packet received {"connection_id":191217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":191217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:44:35] local.INFO: TCP Data received {"connection_id":191217,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:44:35] local.INFO: Processing buffer {"connection_id":191217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:44:35] local.INFO: Packet analysis {"connection_id":191217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1d2"} 
[2026-09-24 10:44:35] local.INFO: Extracted packet for processing {"connection_id":191217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1d2"} 
[2026-09-24 10:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297937152001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150735360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790226618000,"timestamp_ms":1790226618000,"timestamp_seconds":1790226618,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d25690"} 
[2026-09-24 10:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297937152001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800756639150735360},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297937152001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:44:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:44:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150735360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297937152001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150735360}} 
[2026-09-24 10:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":191217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:44:35] local.INFO: GPS data processed {"connection_id":191217,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:44:35] local.INFO: Acknowledgment sent {"connection_id":191217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:44:43] local.INFO: TCP Data received {"connection_id":193889,"ip":"42.106.6.22","data_length":639,"data_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193889,"packet_length":639,"packet_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:44:43] local.INFO: Processing buffer {"connection_id":193889,"buffer_length":639,"buffer_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:44:43] local.INFO: Packet analysis {"connection_id":193889,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e08000001a0d1d5"} 
[2026-09-24 10:44:43] local.INFO: Extracted packet for processing {"connection_id":193889,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e08000001a0d1d5"} 
[2026-09-24 10:44:43] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":97849592,"longitude_deg":76.3232576,"latitude_deg":9.7849592,"altitude":4,"angle":74,"satellites":31,"speed":0,"hex_longitude":"2d7e0140","hex_latitude":"05d510f8","is_valid_coordinates":true} 
[2026-09-24 10:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":639,"current_offset":40} 
[2026-09-24 10:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297995776001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587058063245312,"note":"Value kept but may cause issues"} 
[2026-09-24 10:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014351360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790226850000,"timestamp_ms":1790226850000,"timestamp_seconds":1790226850,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d5e0d0"} 
[2026-09-24 10:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":639,"current_offset":136} 
[2026-09-24 10:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:44:43] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193889,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-09-24 10:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-24 10:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-24 10:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297995776001,"66":12852,"111":206,"85":15104,"24":0,"16":135587058063245312,"45":9080030930014351360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-24 10:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-24 10:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-24 10:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297995776001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:44:43] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-24 10:44:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-24 10:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587058063245312,"km_value":135587058063245.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014351360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297995776001,"power":12852,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014351360}} 
[2026-09-24 10:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":193889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:44:43] local.INFO: GPS data processed {"connection_id":193889,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:44:43] local.INFO: Acknowledgment sent {"connection_id":193889,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:45:06] local.INFO: TCP Data received {"connection_id":191217,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:45:06] local.INFO: Processing buffer {"connection_id":191217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:45:06] local.INFO: Packet analysis {"connection_id":191217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1d2"} 
[2026-09-24 10:45:06] local.INFO: Extracted packet for processing {"connection_id":191217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1d2"} 
[2026-09-24 10:45:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297937152001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150735360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790226618000,"timestamp_ms":1790226618000,"timestamp_seconds":1790226618,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d25690"} 
[2026-09-24 10:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297937152001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800756639150735360},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297937152001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:45:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:45:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150735360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297937152001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150735360}} 
[2026-09-24 10:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":191217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:45:06] local.INFO: GPS data processed {"connection_id":191217,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:45:06] local.INFO: Acknowledgment sent {"connection_id":191217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:45:07] local.INFO: TCP Data received {"connection_id":191017,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:45:07] local.INFO: Processing buffer {"connection_id":191017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:45:07] local.INFO: IMEI packet received {"connection_id":191017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-24 10:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":191017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:45:12] local.INFO: TCP Data received {"connection_id":191017,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:45:12] local.INFO: Processing buffer {"connection_id":191017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:45:12] local.INFO: IMEI packet received {"connection_id":191017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-24 10:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":191017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:45:12] local.INFO: TCP Data received {"connection_id":191017,"ip":"42.106.6.22","data_length":639,"data_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191017,"packet_length":639,"packet_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:45:12] local.INFO: Processing buffer {"connection_id":191017,"buffer_length":639,"buffer_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:45:12] local.INFO: Packet analysis {"connection_id":191017,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e08000001a0d1d5"} 
[2026-09-24 10:45:12] local.INFO: Extracted packet for processing {"connection_id":191017,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e08000001a0d1d5"} 
[2026-09-24 10:45:12] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":97849592,"longitude_deg":76.3232576,"latitude_deg":9.7849592,"altitude":4,"angle":74,"satellites":31,"speed":0,"hex_longitude":"2d7e0140","hex_latitude":"05d510f8","is_valid_coordinates":true} 
[2026-09-24 10:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":639,"current_offset":40} 
[2026-09-24 10:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297995776001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587058063245312,"note":"Value kept but may cause issues"} 
[2026-09-24 10:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014351360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790226850000,"timestamp_ms":1790226850000,"timestamp_seconds":1790226850,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d5e0d0"} 
[2026-09-24 10:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":639,"current_offset":136} 
[2026-09-24 10:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:45:12] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191017,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-09-24 10:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-24 10:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-24 10:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297995776001,"66":12852,"111":206,"85":15104,"24":0,"16":135587058063245312,"45":9080030930014351360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-24 10:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-24 10:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-24 10:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297995776001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:45:12] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-24 10:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-24 10:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587058063245312,"km_value":135587058063245.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014351360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297995776001,"power":12852,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014351360}} 
[2026-09-24 10:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":191017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:45:12] local.INFO: GPS data processed {"connection_id":191017,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:45:12] local.INFO: Acknowledgment sent {"connection_id":191017,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:45:28] local.INFO: TCP Data received {"connection_id":193891,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:45:28] local.INFO: Processing buffer {"connection_id":193891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:45:28] local.INFO: IMEI packet received {"connection_id":193891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":193891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:45:34] local.INFO: TCP Data received {"connection_id":193891,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:45:34] local.INFO: Processing buffer {"connection_id":193891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:45:34] local.INFO: IMEI packet received {"connection_id":193891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":193891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:45:35] local.INFO: TCP Data received {"connection_id":193891,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:45:35] local.INFO: Processing buffer {"connection_id":193891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1d25690012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:45:35] local.INFO: Packet analysis {"connection_id":193891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1d2"} 
[2026-09-24 10:45:35] local.INFO: Extracted packet for processing {"connection_id":193891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1d2"} 
[2026-09-24 10:45:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297937152001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150735360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790226618000,"timestamp_ms":1790226618000,"timestamp_seconds":1790226618,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d25690"} 
[2026-09-24 10:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297937152001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800756639150735360},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297937152001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:45:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:45:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150735360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297937152001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150735360}} 
[2026-09-24 10:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":193891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:45:35] local.INFO: GPS data processed {"connection_id":193891,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:45:35] local.INFO: Acknowledgment sent {"connection_id":193891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:45:47] local.INFO: TCP Data received {"connection_id":191017,"ip":"42.106.6.22","data_length":639,"data_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191017,"packet_length":639,"packet_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:45:47] local.INFO: Processing buffer {"connection_id":191017,"buffer_length":639,"buffer_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:45:47] local.INFO: Packet analysis {"connection_id":191017,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e08000001a0d1d5"} 
[2026-09-24 10:45:47] local.INFO: Extracted packet for processing {"connection_id":191017,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e08000001a0d1d5"} 
[2026-09-24 10:45:47] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":97849592,"longitude_deg":76.3232576,"latitude_deg":9.7849592,"altitude":4,"angle":74,"satellites":31,"speed":0,"hex_longitude":"2d7e0140","hex_latitude":"05d510f8","is_valid_coordinates":true} 
[2026-09-24 10:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":639,"current_offset":40} 
[2026-09-24 10:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297995776001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587058063245312,"note":"Value kept but may cause issues"} 
[2026-09-24 10:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014351360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790226850000,"timestamp_ms":1790226850000,"timestamp_seconds":1790226850,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d5e0d0"} 
[2026-09-24 10:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":639,"current_offset":136} 
[2026-09-24 10:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:45:47] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191017,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-09-24 10:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-24 10:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-24 10:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297995776001,"66":12852,"111":206,"85":15104,"24":0,"16":135587058063245312,"45":9080030930014351360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-24 10:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-24 10:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-24 10:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297995776001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:45:47] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-24 10:45:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-24 10:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587058063245312,"km_value":135587058063245.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014351360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297995776001,"power":12852,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014351360}} 
[2026-09-24 10:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":191017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:45:47] local.INFO: GPS data processed {"connection_id":191017,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:45:47] local.INFO: Acknowledgment sent {"connection_id":191017,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:46:07] local.INFO: TCP Data received {"connection_id":192589,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:46:07] local.INFO: Processing buffer {"connection_id":192589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:46:07] local.INFO: IMEI packet received {"connection_id":192589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-24 10:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":192589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:46:07] local.INFO: TCP Data received {"connection_id":193891,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:46:07] local.INFO: Processing buffer {"connection_id":193891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:46:07] local.INFO: Packet analysis {"connection_id":193891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1d6"} 
[2026-09-24 10:46:07] local.INFO: Extracted packet for processing {"connection_id":193891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1d6"} 
[2026-09-24 10:46:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298014208001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790226919000,"timestamp_ms":1790226919000,"timestamp_seconds":1790226919,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d6ee58"} 
[2026-09-24 10:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298014208001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298014208001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:46:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:46:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298014208001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":193891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:46:07] local.INFO: GPS data processed {"connection_id":193891,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:46:07] local.INFO: Acknowledgment sent {"connection_id":193891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:46:12] local.INFO: TCP Data received {"connection_id":192589,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:46:12] local.INFO: Processing buffer {"connection_id":192589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:46:12] local.INFO: IMEI packet received {"connection_id":192589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-24 10:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":192589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:46:13] local.INFO: TCP Data received {"connection_id":192589,"ip":"42.106.6.22","data_length":639,"data_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192589,"packet_length":639,"packet_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:46:13] local.INFO: Processing buffer {"connection_id":192589,"buffer_length":639,"buffer_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:46:13] local.INFO: Packet analysis {"connection_id":192589,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e08000001a0d1d5"} 
[2026-09-24 10:46:13] local.INFO: Extracted packet for processing {"connection_id":192589,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e08000001a0d1d5"} 
[2026-09-24 10:46:13] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":97849592,"longitude_deg":76.3232576,"latitude_deg":9.7849592,"altitude":4,"angle":74,"satellites":31,"speed":0,"hex_longitude":"2d7e0140","hex_latitude":"05d510f8","is_valid_coordinates":true} 
[2026-09-24 10:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":639,"current_offset":40} 
[2026-09-24 10:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297995776001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587058063245312,"note":"Value kept but may cause issues"} 
[2026-09-24 10:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014351360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790226850000,"timestamp_ms":1790226850000,"timestamp_seconds":1790226850,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d5e0d0"} 
[2026-09-24 10:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":639,"current_offset":136} 
[2026-09-24 10:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:46:13] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192589,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-09-24 10:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-24 10:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-24 10:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297995776001,"66":12852,"111":206,"85":15104,"24":0,"16":135587058063245312,"45":9080030930014351360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-24 10:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-24 10:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-24 10:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297995776001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:46:13] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-24 10:46:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-24 10:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587058063245312,"km_value":135587058063245.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014351360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297995776001,"power":12852,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014351360}} 
[2026-09-24 10:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":192589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:46:13] local.INFO: GPS data processed {"connection_id":192589,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:46:13] local.INFO: Acknowledgment sent {"connection_id":192589,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:46:29] local.INFO: TCP Data received {"connection_id":191018,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:46:29] local.INFO: Processing buffer {"connection_id":191018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:46:29] local.INFO: IMEI packet received {"connection_id":191018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":191018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:46:34] local.INFO: TCP Data received {"connection_id":191018,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:46:34] local.INFO: Processing buffer {"connection_id":191018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:46:34] local.INFO: IMEI packet received {"connection_id":191018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":191018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:46:35] local.INFO: TCP Data received {"connection_id":191018,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:46:35] local.INFO: Processing buffer {"connection_id":191018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:46:35] local.INFO: Packet analysis {"connection_id":191018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1d6"} 
[2026-09-24 10:46:35] local.INFO: Extracted packet for processing {"connection_id":191018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1d6"} 
[2026-09-24 10:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298014208001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790226919000,"timestamp_ms":1790226919000,"timestamp_seconds":1790226919,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d6ee58"} 
[2026-09-24 10:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298014208001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298014208001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:46:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:46:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298014208001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":191018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:46:35] local.INFO: GPS data processed {"connection_id":191018,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:46:35] local.INFO: Acknowledgment sent {"connection_id":191018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:46:47] local.INFO: TCP Data received {"connection_id":192589,"ip":"42.106.6.22","data_length":639,"data_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192589,"packet_length":639,"packet_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:46:47] local.INFO: Processing buffer {"connection_id":192589,"buffer_length":639,"buffer_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:46:47] local.INFO: Packet analysis {"connection_id":192589,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e08000001a0d1d5"} 
[2026-09-24 10:46:47] local.INFO: Extracted packet for processing {"connection_id":192589,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e08000001a0d1d5"} 
[2026-09-24 10:46:47] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":97849592,"longitude_deg":76.3232576,"latitude_deg":9.7849592,"altitude":4,"angle":74,"satellites":31,"speed":0,"hex_longitude":"2d7e0140","hex_latitude":"05d510f8","is_valid_coordinates":true} 
[2026-09-24 10:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":639,"current_offset":40} 
[2026-09-24 10:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297995776001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587058063245312,"note":"Value kept but may cause issues"} 
[2026-09-24 10:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014351360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790226850000,"timestamp_ms":1790226850000,"timestamp_seconds":1790226850,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d5e0d0"} 
[2026-09-24 10:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":639,"current_offset":136} 
[2026-09-24 10:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:46:47] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":192589,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-09-24 10:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":192589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":192589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-24 10:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-24 10:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297995776001,"66":12852,"111":206,"85":15104,"24":0,"16":135587058063245312,"45":9080030930014351360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-24 10:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-24 10:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-24 10:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297995776001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:46:47] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-24 10:46:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-24 10:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587058063245312,"km_value":135587058063245.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014351360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297995776001,"power":12852,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014351360}} 
[2026-09-24 10:46:47] local.INFO: TCP Data received {"connection_id":191019,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191019,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:46:47] local.INFO: Processing buffer {"connection_id":191019,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:46:47] local.INFO: IMEI packet received {"connection_id":191019,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 10:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":191019,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":192589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:46:47] local.INFO: GPS data processed {"connection_id":192589,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:46:47] local.INFO: Acknowledgment sent {"connection_id":192589,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:47:07] local.INFO: TCP Data received {"connection_id":191218,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:47:07] local.INFO: Processing buffer {"connection_id":191218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:47:07] local.INFO: IMEI packet received {"connection_id":191218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-24 10:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":191218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:47:07] local.INFO: TCP Data received {"connection_id":191018,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:47:07] local.INFO: Processing buffer {"connection_id":191018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:47:07] local.INFO: Packet analysis {"connection_id":191018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1d6"} 
[2026-09-24 10:47:07] local.INFO: Extracted packet for processing {"connection_id":191018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1d6"} 
[2026-09-24 10:47:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298014208001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790226919000,"timestamp_ms":1790226919000,"timestamp_seconds":1790226919,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d6ee58"} 
[2026-09-24 10:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298014208001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298014208001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:47:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:47:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298014208001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":191018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:47:07] local.INFO: GPS data processed {"connection_id":191018,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:47:07] local.INFO: Acknowledgment sent {"connection_id":191018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:47:12] local.INFO: TCP Data received {"connection_id":191218,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:47:12] local.INFO: Processing buffer {"connection_id":191218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:47:12] local.INFO: IMEI packet received {"connection_id":191218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-24 10:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":191218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:47:13] local.INFO: TCP Data received {"connection_id":191218,"ip":"42.106.6.22","data_length":639,"data_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191218,"packet_length":639,"packet_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:47:13] local.INFO: Processing buffer {"connection_id":191218,"buffer_length":639,"buffer_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:47:13] local.INFO: Packet analysis {"connection_id":191218,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e08000001a0d1d5"} 
[2026-09-24 10:47:13] local.INFO: Extracted packet for processing {"connection_id":191218,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e08000001a0d1d5"} 
[2026-09-24 10:47:13] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":97849592,"longitude_deg":76.3232576,"latitude_deg":9.7849592,"altitude":4,"angle":74,"satellites":31,"speed":0,"hex_longitude":"2d7e0140","hex_latitude":"05d510f8","is_valid_coordinates":true} 
[2026-09-24 10: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":639,"current_offset":40} 
[2026-09-24 10:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297995776001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587058063245312,"note":"Value kept but may cause issues"} 
[2026-09-24 10:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014351360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790226850000,"timestamp_ms":1790226850000,"timestamp_seconds":1790226850,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d5e0d0"} 
[2026-09-24 10:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10: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":54,"n8_eight_byte":28,"data_length":639,"current_offset":136} 
[2026-09-24 10:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:47:13] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191218,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-09-24 10:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-24 10:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-24 10:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297995776001,"66":12852,"111":206,"85":15104,"24":0,"16":135587058063245312,"45":9080030930014351360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-24 10:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-24 10:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-24 10:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297995776001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:47:13] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-24 10:47:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-24 10:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587058063245312,"km_value":135587058063245.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014351360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297995776001,"power":12852,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014351360}} 
[2026-09-24 10:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":191218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:47:13] local.INFO: GPS data processed {"connection_id":191218,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:47:13] local.INFO: Acknowledgment sent {"connection_id":191218,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:47:29] local.INFO: TCP Data received {"connection_id":192590,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:47:29] local.INFO: Processing buffer {"connection_id":192590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:47:29] local.INFO: IMEI packet received {"connection_id":192590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":192590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:47:34] local.INFO: TCP Data received {"connection_id":192590,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:47:34] local.INFO: Processing buffer {"connection_id":192590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:47:34] local.INFO: IMEI packet received {"connection_id":192590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":192590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:47:36] local.INFO: TCP Data received {"connection_id":192590,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:47:36] local.INFO: Processing buffer {"connection_id":192590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:47:36] local.INFO: Packet analysis {"connection_id":192590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1d6"} 
[2026-09-24 10:47:36] local.INFO: Extracted packet for processing {"connection_id":192590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1d6"} 
[2026-09-24 10:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298014208001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790226919000,"timestamp_ms":1790226919000,"timestamp_seconds":1790226919,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d6ee58"} 
[2026-09-24 10:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298014208001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298014208001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:47:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:47:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298014208001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":192590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:47:36] local.INFO: GPS data processed {"connection_id":192590,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:47:36] local.INFO: Acknowledgment sent {"connection_id":192590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:47:47] local.INFO: TCP Data received {"connection_id":191218,"ip":"42.106.6.22","data_length":639,"data_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191218,"packet_length":639,"packet_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:47:47] local.INFO: Processing buffer {"connection_id":191218,"buffer_length":639,"buffer_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:47:47] local.INFO: Packet analysis {"connection_id":191218,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e08000001a0d1d5"} 
[2026-09-24 10:47:47] local.INFO: Extracted packet for processing {"connection_id":191218,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e08000001a0d1d5"} 
[2026-09-24 10:47:47] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":97849592,"longitude_deg":76.3232576,"latitude_deg":9.7849592,"altitude":4,"angle":74,"satellites":31,"speed":0,"hex_longitude":"2d7e0140","hex_latitude":"05d510f8","is_valid_coordinates":true} 
[2026-09-24 10:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":639,"current_offset":40} 
[2026-09-24 10:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297995776001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587058063245312,"note":"Value kept but may cause issues"} 
[2026-09-24 10:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014351360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790226850000,"timestamp_ms":1790226850000,"timestamp_seconds":1790226850,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d5e0d0"} 
[2026-09-24 10:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":639,"current_offset":136} 
[2026-09-24 10:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:47:47] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191218,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-09-24 10:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-24 10:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-24 10:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297995776001,"66":12852,"111":206,"85":15104,"24":0,"16":135587058063245312,"45":9080030930014351360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-24 10:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-24 10:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-24 10:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297995776001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:47:47] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-24 10:47:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-24 10:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587058063245312,"km_value":135587058063245.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014351360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297995776001,"power":12852,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014351360}} 
[2026-09-24 10:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":191218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:47:47] local.INFO: GPS data processed {"connection_id":191218,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:47:47] local.INFO: Acknowledgment sent {"connection_id":191218,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:48:07] local.INFO: TCP Data received {"connection_id":192590,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:48:07] local.INFO: Processing buffer {"connection_id":192590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:48:07] local.INFO: Packet analysis {"connection_id":192590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1d6"} 
[2026-09-24 10:48:07] local.INFO: Extracted packet for processing {"connection_id":192590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1d6"} 
[2026-09-24 10:48:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298014208001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790226919000,"timestamp_ms":1790226919000,"timestamp_seconds":1790226919,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d6ee58"} 
[2026-09-24 10:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298014208001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298014208001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:48:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:48:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298014208001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":192590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:48:07] local.INFO: GPS data processed {"connection_id":192590,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:48:07] local.INFO: Acknowledgment sent {"connection_id":192590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:48:12] local.INFO: TCP Data received {"connection_id":193893,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:48:12] local.INFO: Processing buffer {"connection_id":193893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:48:12] local.INFO: IMEI packet received {"connection_id":193893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-24 10:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":193893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:48:17] local.INFO: TCP Data received {"connection_id":193893,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:48:17] local.INFO: Processing buffer {"connection_id":193893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 10:48:17] local.INFO: IMEI packet received {"connection_id":193893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-24 10:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":193893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:48:18] local.INFO: TCP Data received {"connection_id":193893,"ip":"42.106.6.22","data_length":639,"data_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193893,"packet_length":639,"packet_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:48:18] local.INFO: Processing buffer {"connection_id":193893,"buffer_length":639,"buffer_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:48:18] local.INFO: Packet analysis {"connection_id":193893,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e08000001a0d1d5"} 
[2026-09-24 10:48:18] local.INFO: Extracted packet for processing {"connection_id":193893,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e08000001a0d1d5"} 
[2026-09-24 10:48:18] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":97849592,"longitude_deg":76.3232576,"latitude_deg":9.7849592,"altitude":4,"angle":74,"satellites":31,"speed":0,"hex_longitude":"2d7e0140","hex_latitude":"05d510f8","is_valid_coordinates":true} 
[2026-09-24 10:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":639,"current_offset":40} 
[2026-09-24 10:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297995776001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587058063245312,"note":"Value kept but may cause issues"} 
[2026-09-24 10:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014351360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790226850000,"timestamp_ms":1790226850000,"timestamp_seconds":1790226850,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d5e0d0"} 
[2026-09-24 10:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":639,"current_offset":136} 
[2026-09-24 10:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:48:18] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":193893,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-09-24 10:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":193893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":193893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-24 10:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-24 10:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297995776001,"66":12852,"111":206,"85":15104,"24":0,"16":135587058063245312,"45":9080030930014351360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-24 10:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-24 10:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-24 10:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297995776001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:48:18] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-24 10:48:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-24 10:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587058063245312,"km_value":135587058063245.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014351360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297995776001,"power":12852,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014351360}} 
[2026-09-24 10:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":193893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:48:18] local.INFO: GPS data processed {"connection_id":193893,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:48:18] local.INFO: Acknowledgment sent {"connection_id":193893,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:48:22] local.INFO: TCP Data received {"connection_id":193893,"ip":"42.106.6.22","data_length":639,"data_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193893,"packet_length":639,"packet_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:48:22] local.INFO: Processing buffer {"connection_id":193893,"buffer_length":639,"buffer_hex":"00000000000002738e08000001a0d1d5e0d0012d7e014005d510f80004004a1f..."} 
[2026-09-24 10:48:22] local.INFO: Packet analysis {"connection_id":193893,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e08000001a0d1d5"} 
[2026-09-24 10:48:22] local.INFO: Extracted packet for processing {"connection_id":193893,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e08000001a0d1d5"} 
[2026-09-24 10:48:22] local.INFO: GPS Element Parsed {"raw_longitude":763232576,"raw_latitude":97849592,"longitude_deg":76.3232576,"latitude_deg":9.7849592,"altitude":4,"angle":74,"satellites":31,"speed":0,"hex_longitude":"2d7e0140","hex_latitude":"05d510f8","is_valid_coordinates":true} 
[2026-09-24 10: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":639,"current_offset":40} 
[2026-09-24 10:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458297995776001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135587058063245312,"note":"Value kept but may cause issues"} 
[2026-09-24 10:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080030930014351360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790226850000,"timestamp_ms":1790226850000,"timestamp_seconds":1790226850,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d5e0d0"} 
[2026-09-24 10:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10: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":54,"n8_eight_byte":28,"data_length":639,"current_offset":136} 
[2026-09-24 10:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:48:22] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193893,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-09-24 10:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-24 10:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-24 10:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-24 10:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458297995776001,"66":12852,"111":206,"85":15104,"24":0,"16":135587058063245312,"45":9080030930014351360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-24 10:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-24 10:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-24 10:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458297995776001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:48:22] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-24 10:48:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-24 10:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135587058063245312,"km_value":135587058063245.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080030930014351360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458297995776001,"power":12852,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080030930014351360}} 
[2026-09-24 10:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":193893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:48:22] local.INFO: GPS data processed {"connection_id":193893,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:48:22] local.INFO: Acknowledgment sent {"connection_id":193893,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:48:29] local.INFO: TCP Data received {"connection_id":193894,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:48:29] local.INFO: Processing buffer {"connection_id":193894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:48:29] local.INFO: IMEI packet received {"connection_id":193894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":193894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:48:34] local.INFO: TCP Data received {"connection_id":193894,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:48:34] local.INFO: Processing buffer {"connection_id":193894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:48:34] local.INFO: IMEI packet received {"connection_id":193894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":193894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:48:35] local.INFO: TCP Data received {"connection_id":193894,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:48:35] local.INFO: Processing buffer {"connection_id":193894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:48:35] local.INFO: Packet analysis {"connection_id":193894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1d6"} 
[2026-09-24 10:48:35] local.INFO: Extracted packet for processing {"connection_id":193894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1d6"} 
[2026-09-24 10:48:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298014208001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790226919000,"timestamp_ms":1790226919000,"timestamp_seconds":1790226919,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d6ee58"} 
[2026-09-24 10:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298014208001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298014208001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:48:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:48:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298014208001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":193894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:48:35] local.INFO: GPS data processed {"connection_id":193894,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:48:35] local.INFO: Acknowledgment sent {"connection_id":193894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:49:07] local.INFO: TCP Data received {"connection_id":193894,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:49:07] local.INFO: Processing buffer {"connection_id":193894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:49:07] local.INFO: Packet analysis {"connection_id":193894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1d6"} 
[2026-09-24 10:49:07] local.INFO: Extracted packet for processing {"connection_id":193894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1d6"} 
[2026-09-24 10:49:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298014208001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790226919000,"timestamp_ms":1790226919000,"timestamp_seconds":1790226919,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d6ee58"} 
[2026-09-24 10:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298014208001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298014208001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:49:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:49:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298014208001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":193894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:49:07] local.INFO: GPS data processed {"connection_id":193894,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:49:07] local.INFO: Acknowledgment sent {"connection_id":193894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:49:28] local.INFO: TCP Data received {"connection_id":191220,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:49:28] local.INFO: Processing buffer {"connection_id":191220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:49:28] local.INFO: IMEI packet received {"connection_id":191220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":191220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:49:34] local.INFO: TCP Data received {"connection_id":191220,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:49:34] local.INFO: Processing buffer {"connection_id":191220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:49:34] local.INFO: IMEI packet received {"connection_id":191220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":191220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:49:35] local.INFO: TCP Data received {"connection_id":191220,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:49:35] local.INFO: Processing buffer {"connection_id":191220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:49:35] local.INFO: Packet analysis {"connection_id":191220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1d6"} 
[2026-09-24 10:49:35] local.INFO: Extracted packet for processing {"connection_id":191220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1d6"} 
[2026-09-24 10:49:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298014208001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790226919000,"timestamp_ms":1790226919000,"timestamp_seconds":1790226919,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d6ee58"} 
[2026-09-24 10:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298014208001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298014208001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:49:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:49:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298014208001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":191220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:49:35] local.INFO: GPS data processed {"connection_id":191220,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:49:35] local.INFO: Acknowledgment sent {"connection_id":191220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:50:07] local.INFO: TCP Data received {"connection_id":191220,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:50:07] local.INFO: Processing buffer {"connection_id":191220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:50:07] local.INFO: Packet analysis {"connection_id":191220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1d6"} 
[2026-09-24 10:50:07] local.INFO: Extracted packet for processing {"connection_id":191220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1d6"} 
[2026-09-24 10:50:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298014208001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790226919000,"timestamp_ms":1790226919000,"timestamp_seconds":1790226919,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d6ee58"} 
[2026-09-24 10:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298014208001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298014208001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:50:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:50:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298014208001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":191220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:50:07] local.INFO: GPS data processed {"connection_id":191220,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:50:07] local.INFO: Acknowledgment sent {"connection_id":191220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:50:34] local.INFO: TCP Data received {"connection_id":192592,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:50:34] local.INFO: Processing buffer {"connection_id":192592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:50:34] local.INFO: IMEI packet received {"connection_id":192592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":192592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:50:39] local.INFO: TCP Data received {"connection_id":192592,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:50:39] local.INFO: Processing buffer {"connection_id":192592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:50:39] local.INFO: IMEI packet received {"connection_id":192592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":192592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:50:40] local.INFO: TCP Data received {"connection_id":192592,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:50:40] local.INFO: Processing buffer {"connection_id":192592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:50:40] local.INFO: Packet analysis {"connection_id":192592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1d6"} 
[2026-09-24 10:50:40] local.INFO: Extracted packet for processing {"connection_id":192592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1d6"} 
[2026-09-24 10:50:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298014208001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790226919000,"timestamp_ms":1790226919000,"timestamp_seconds":1790226919,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d6ee58"} 
[2026-09-24 10:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298014208001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298014208001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:50:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:50:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298014208001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":192592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:50:40] local.INFO: GPS data processed {"connection_id":192592,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:50:40] local.INFO: Acknowledgment sent {"connection_id":192592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:50:44] local.INFO: TCP Data received {"connection_id":192592,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:50:44] local.INFO: Processing buffer {"connection_id":192592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1d6ee58012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:50:44] local.INFO: Packet analysis {"connection_id":192592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1d6"} 
[2026-09-24 10:50:44] local.INFO: Extracted packet for processing {"connection_id":192592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1d6"} 
[2026-09-24 10:50:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298014208001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790226919000,"timestamp_ms":1790226919000,"timestamp_seconds":1790226919,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1d6ee58"} 
[2026-09-24 10:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 10:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298014208001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298014208001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:50:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:50:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298014208001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":192592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:50:44] local.INFO: GPS data processed {"connection_id":192592,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:50:44] local.INFO: Acknowledgment sent {"connection_id":192592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:51:06] local.INFO: TCP Data received {"connection_id":192593,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:51:06] local.INFO: Processing buffer {"connection_id":192593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:51:06] local.INFO: IMEI packet received {"connection_id":192593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 10:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":192593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:51:07] local.INFO: TCP Data received {"connection_id":192593,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:51:07] local.INFO: Processing buffer {"connection_id":192593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:51:07] local.INFO: IMEI packet received {"connection_id":192593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 10:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":192593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:51:11] local.INFO: TCP Data received {"connection_id":192593,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:51:11] local.INFO: Processing buffer {"connection_id":192593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:51:11] local.INFO: IMEI packet received {"connection_id":192593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 10:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":192593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:51:11] local.INFO: TCP Data received {"connection_id":192593,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-24 10:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192593,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-24 10:51:11] local.INFO: Processing buffer {"connection_id":192593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-24 10:51:11] local.INFO: Packet analysis {"connection_id":192593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-24 10:51:11] local.INFO: Extracted packet for processing {"connection_id":192593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-24 10:51: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-09-24 10:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826488457854976,"note":"Value kept but may cause issues"} 
[2026-09-24 10:51:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 10:51:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 10:51:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-24 10:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192593,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192593,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-24 10:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192593,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-24 10:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-24 10:51:11] local.WARNING: DEBUG: No valid data to process  
[2026-09-24 10:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":192593,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-24 10:51:11] local.ERROR: GPS data processing failed {"connection_id":192593,"error":"No valid data to process"} 
[2026-09-24 10:51:11] local.INFO: Acknowledgment sent {"connection_id":192593,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-24 10:51:29] local.INFO: TCP Data received {"connection_id":193895,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:51:29] local.INFO: Processing buffer {"connection_id":193895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:51:29] local.INFO: IMEI packet received {"connection_id":193895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":193895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:51:34] local.INFO: TCP Data received {"connection_id":193895,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:51:34] local.INFO: Processing buffer {"connection_id":193895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:51:34] local.INFO: IMEI packet received {"connection_id":193895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":193895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:51:35] local.INFO: TCP Data received {"connection_id":193895,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:51:35] local.INFO: Processing buffer {"connection_id":193895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:51:35] local.INFO: Packet analysis {"connection_id":193895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1db"} 
[2026-09-24 10:51:35] local.INFO: Extracted packet for processing {"connection_id":193895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1db"} 
[2026-09-24 10:51:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 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-09-24 10:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298091264001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790227220000,"timestamp_ms":1790227220000,"timestamp_seconds":1790227220,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1db8620"} 
[2026-09-24 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-09-24 10:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 10:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 10:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298091264001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298091264001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:51:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:51:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298091264001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":193895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:51:35] local.INFO: GPS data processed {"connection_id":193895,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:51:35] local.INFO: Acknowledgment sent {"connection_id":193895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:51:42] local.INFO: TCP Data received {"connection_id":192593,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1dc8408012d196780071ff120003a008205..."} 
[2026-09-24 10:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1dc8408012d196780071ff120003a008205..."} 
[2026-09-24 10:51:42] local.INFO: Processing buffer {"connection_id":192593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1dc8408012d196780071ff120003a008205..."} 
[2026-09-24 10:51:42] local.INFO: Packet analysis {"connection_id":192593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1dc"} 
[2026-09-24 10:51:42] local.INFO: Extracted packet for processing {"connection_id":192593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1dc"} 
[2026-09-24 10:51:42] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533856,"longitude_deg":75.6639616,"latitude_deg":11.9533856,"altitude":58,"angle":130,"satellites":5,"speed":1,"hex_longitude":"2d196780","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-09-24 10:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826522817593344,"note":"Value kept but may cause issues"} 
[2026-09-24 10:51:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 10:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790227285000,"timestamp_ms":1790227285000,"timestamp_seconds":1790227285,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1dc8408"} 
[2026-09-24 10:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-24 10:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152921208237325312,"note":"Value kept but may cause issues"} 
[2026-09-24 10:51:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-24 10:51:42] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-7926335344172072959,"note":"Value kept but may cause issues"} 
[2026-09-24 10:51:42] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185681,"note":"Value kept but may cause issues"} 
[2026-09-24 10:51:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055319,"note":"Value kept but may cause issues"} 
[2026-09-24 10:51:42] local.WARNING: Large IO value detected {"io_id":66,"raw_value":606579457299710158,"note":"Value kept but may cause issues"} 
[2026-09-24 10:51:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4019191878,"note":"Value kept but may cause issues"} 
[2026-09-24 10:51:42] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3506894192197691031,"note":"Value kept but may cause issues"} 
[2026-09-24 10:51:42] local.WARNING: Large IO value detected {"io_id":70,"raw_value":97149548895404032,"note":"Value kept but may cause issues"} 
[2026-09-24 10:51:42] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513392284302442841,"note":"Value kept but may cause issues"} 
[2026-09-24 10:51:42] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,102,83,24,241,157,16,27,10,66,1,240,53,207,45,31,4,113,205,110,105,144,36,239,8,2,81,160,7,70,64,37],"length":534,"final_offset":664,"validated_count":32,"validation_warnings":[]} 
[2026-09-24 10:51:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 10:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 10:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 10:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12178,"102":206,"83":41984,"24":1,"16":22826522817593344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16]} 
[2026-09-24 10:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 10:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 10:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 10:51:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 10:51:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 10:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826522817593344,"km_value":22826522817593.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:51:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":1,"odometer":null}} 
[2026-09-24 10:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":192593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:51:42] local.INFO: GPS data processed {"connection_id":192593,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:51:42] local.INFO: Acknowledgment sent {"connection_id":192593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:52:07] local.INFO: TCP Data received {"connection_id":193895,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:52:07] local.INFO: Processing buffer {"connection_id":193895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:52:07] local.INFO: Packet analysis {"connection_id":193895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1db"} 
[2026-09-24 10:52:07] local.INFO: Extracted packet for processing {"connection_id":193895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1db"} 
[2026-09-24 10:52:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298091264001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790227220000,"timestamp_ms":1790227220000,"timestamp_seconds":1790227220,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1db8620"} 
[2026-09-24 10:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 10:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298091264001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298091264001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:52:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:52:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298091264001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":193895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:52:07] local.INFO: GPS data processed {"connection_id":193895,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:52:07] local.INFO: Acknowledgment sent {"connection_id":193895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:52:09] local.INFO: TCP Data received {"connection_id":191022,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:52:09] local.INFO: Processing buffer {"connection_id":191022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:52:09] local.INFO: IMEI packet received {"connection_id":191022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 10:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":191022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:52:13] local.INFO: TCP Data received {"connection_id":192593,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1dc8fc0012d196840071ff000003a009305..."} 
[2026-09-24 10:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1dc8fc0012d196840071ff000003a009305..."} 
[2026-09-24 10:52:13] local.INFO: Processing buffer {"connection_id":192593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1dc8fc0012d196840071ff000003a009305..."} 
[2026-09-24 10:52:13] local.INFO: Packet analysis {"connection_id":192593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1dc"} 
[2026-09-24 10:52:13] local.INFO: Extracted packet for processing {"connection_id":192593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1dc"} 
[2026-09-24 10:52:13] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533568,"longitude_deg":75.6639808,"latitude_deg":11.9533568,"altitude":58,"angle":147,"satellites":5,"speed":3,"hex_longitude":"2d196840","hex_latitude":"071ff000","is_valid_coordinates":true} 
[2026-09-24 10:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298184960001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22826535702495232,"note":"Value kept but may cause issues"} 
[2026-09-24 10:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638418432,"note":"Value kept but may cause issues"} 
[2026-09-24 10:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790227288000,"timestamp_ms":1790227288000,"timestamp_seconds":1790227288,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1dc8fc0"} 
[2026-09-24 10:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-24 10:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 10:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 10:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298184960001,"66":12156,"102":206,"83":41984,"24":3,"16":22826535702495232,"45":1830572541638418432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 10:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 10:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 10:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298184960001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:52:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 10:52:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 10:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22826535702495232,"km_value":22826535702495.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638418432,"description":"Unknown IO ID 45"} 
[2026-09-24 10:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298184960001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1830572541638418432}} 
[2026-09-24 10:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":192593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:52:13] local.INFO: GPS data processed {"connection_id":192593,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:52:13] local.INFO: Acknowledgment sent {"connection_id":192593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:52:28] local.INFO: TCP Data received {"connection_id":191222,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:52:28] local.INFO: Processing buffer {"connection_id":191222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:52:28] local.INFO: IMEI packet received {"connection_id":191222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":191222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:52:34] local.INFO: TCP Data received {"connection_id":191222,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:52:34] local.INFO: Processing buffer {"connection_id":191222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:52:34] local.INFO: IMEI packet received {"connection_id":191222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":191222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:52:35] local.INFO: TCP Data received {"connection_id":191222,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:52:35] local.INFO: Processing buffer {"connection_id":191222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:52:35] local.INFO: Packet analysis {"connection_id":191222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1db"} 
[2026-09-24 10:52:35] local.INFO: Extracted packet for processing {"connection_id":191222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1db"} 
[2026-09-24 10:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298091264001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790227220000,"timestamp_ms":1790227220000,"timestamp_seconds":1790227220,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1db8620"} 
[2026-09-24 10:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 10:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298091264001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298091264001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:52:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:52:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298091264001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":191222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:52:35] local.INFO: GPS data processed {"connection_id":191222,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:52:35] local.INFO: Acknowledgment sent {"connection_id":191222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:52:44] local.INFO: TCP Data received {"connection_id":192593,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1dda518012d19cb80071ff4980035001d05..."} 
[2026-09-24 10:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1dda518012d19cb80071ff4980035001d05..."} 
[2026-09-24 10:52:44] local.INFO: Processing buffer {"connection_id":192593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1dda518012d19cb80071ff4980035001d05..."} 
[2026-09-24 10:52:44] local.INFO: Packet analysis {"connection_id":192593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1dd"} 
[2026-09-24 10:52:44] local.INFO: Extracted packet for processing {"connection_id":192593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1dd"} 
[2026-09-24 10:52:44] local.INFO: GPS Element Parsed {"raw_longitude":756665216,"raw_latitude":119534744,"longitude_deg":75.6665216,"latitude_deg":11.9534744,"altitude":53,"angle":29,"satellites":5,"speed":15,"hex_longitude":"2d19cb80","hex_latitude":"071ff498","is_valid_coordinates":true} 
[2026-09-24 10:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298203648001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22827845667520512,"note":"Value kept but may cause issues"} 
[2026-09-24 10:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933077082112,"note":"Value kept but may cause issues"} 
[2026-09-24 10:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790227359000,"timestamp_ms":1790227359000,"timestamp_seconds":1790227359,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1dda518"} 
[2026-09-24 10:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-24 10:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 10:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 10:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298203648001,"66":14363,"101":206,"83":41984,"24":15,"16":22827845667520512,"45":1858508933077082112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-24 10:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 10:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 10:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298203648001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:52:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-24 10:52:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 10:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22827845667520512,"km_value":22827845667520.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933077082112,"description":"Unknown IO ID 45"} 
[2026-09-24 10:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298203648001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1858508933077082112}} 
[2026-09-24 10:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":192593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:52:44] local.INFO: GPS data processed {"connection_id":192593,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:52:44] local.INFO: Acknowledgment sent {"connection_id":192593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:53:06] local.INFO: TCP Data received {"connection_id":191222,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:53:06] local.INFO: Processing buffer {"connection_id":191222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:53:06] local.INFO: Packet analysis {"connection_id":191222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1db"} 
[2026-09-24 10:53:06] local.INFO: Extracted packet for processing {"connection_id":191222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1db"} 
[2026-09-24 10:53:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298091264001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790227220000,"timestamp_ms":1790227220000,"timestamp_seconds":1790227220,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1db8620"} 
[2026-09-24 10:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 10:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298091264001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298091264001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:53:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:53:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298091264001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":191222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:53:06] local.INFO: GPS data processed {"connection_id":191222,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:53:06] local.INFO: Acknowledgment sent {"connection_id":191222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:53:15] local.INFO: TCP Data received {"connection_id":192593,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1dda900012d19cbc0071ff6580035000d05..."} 
[2026-09-24 10:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1dda900012d19cbc0071ff6580035000d05..."} 
[2026-09-24 10:53:15] local.INFO: Processing buffer {"connection_id":192593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1dda900012d19cbc0071ff6580035000d05..."} 
[2026-09-24 10:53:15] local.INFO: Packet analysis {"connection_id":192593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1dd"} 
[2026-09-24 10:53:15] local.INFO: Extracted packet for processing {"connection_id":192593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1dd"} 
[2026-09-24 10:53:15] local.INFO: GPS Element Parsed {"raw_longitude":756665280,"raw_latitude":119535192,"longitude_deg":75.666528,"latitude_deg":11.9535192,"altitude":53,"angle":13,"satellites":5,"speed":16,"hex_longitude":"2d19cbc0","hex_latitude":"071ff658","is_valid_coordinates":true} 
[2026-09-24 10:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298203904001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22827867142356992,"note":"Value kept but may cause issues"} 
[2026-09-24 10:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858720039309711360,"note":"Value kept but may cause issues"} 
[2026-09-24 10:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790227360000,"timestamp_ms":1790227360000,"timestamp_seconds":1790227360,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1dda900"} 
[2026-09-24 10:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-24 10:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 10:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 10:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298203904001,"66":14363,"101":206,"83":41984,"24":16,"16":22827867142356992,"45":1858720039309711360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-24 10:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 10:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 10:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298203904001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:53:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-24 10:53:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 10:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22827867142356992,"km_value":22827867142356.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858720039309711360,"description":"Unknown IO ID 45"} 
[2026-09-24 10:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298203904001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1858720039309711360}} 
[2026-09-24 10:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":192593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:53:15] local.INFO: GPS data processed {"connection_id":192593,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:53:15] local.INFO: Acknowledgment sent {"connection_id":192593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:53:29] local.INFO: TCP Data received {"connection_id":192594,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:53:29] local.INFO: Processing buffer {"connection_id":192594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:53:29] local.INFO: IMEI packet received {"connection_id":192594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":192594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:53:34] local.INFO: TCP Data received {"connection_id":192594,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:53:34] local.INFO: Processing buffer {"connection_id":192594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:53:34] local.INFO: IMEI packet received {"connection_id":192594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":192594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:53:35] local.INFO: TCP Data received {"connection_id":192594,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:53:35] local.INFO: Processing buffer {"connection_id":192594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:53:35] local.INFO: Packet analysis {"connection_id":192594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1db"} 
[2026-09-24 10:53:35] local.INFO: Extracted packet for processing {"connection_id":192594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1db"} 
[2026-09-24 10:53:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298091264001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790227220000,"timestamp_ms":1790227220000,"timestamp_seconds":1790227220,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1db8620"} 
[2026-09-24 10:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 10:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298091264001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298091264001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:53:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:53:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298091264001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":192594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:53:35] local.INFO: GPS data processed {"connection_id":192594,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:53:35] local.INFO: Acknowledgment sent {"connection_id":192594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:53:46] local.INFO: TCP Data received {"connection_id":192593,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1de87a8012d19a7c007209508000e000505..."} 
[2026-09-24 10:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1de87a8012d19a7c007209508000e000505..."} 
[2026-09-24 10:53:46] local.INFO: Processing buffer {"connection_id":192593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1de87a8012d19a7c007209508000e000505..."} 
[2026-09-24 10:53:46] local.INFO: Packet analysis {"connection_id":192593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1de"} 
[2026-09-24 10:53:46] local.INFO: Extracted packet for processing {"connection_id":192593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1de"} 
[2026-09-24 10:53:46] local.INFO: GPS Element Parsed {"raw_longitude":756656064,"raw_latitude":119575816,"longitude_deg":75.6656064,"latitude_deg":11.9575816,"altitude":14,"angle":5,"satellites":5,"speed":39,"hex_longitude":"2d19a7c0","hex_latitude":"07209508","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298218496001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22830147769991168,"note":"Value kept but may cause issues"} 
[2026-09-24 10:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848305465181741056,"note":"Value kept but may cause issues"} 
[2026-09-24 10:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790227417000,"timestamp_ms":1790227417000,"timestamp_seconds":1790227417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1de87a8"} 
[2026-09-24 10:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-24 10:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":192593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":192593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":192593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 10:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 10:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298218496001,"66":14265,"103":206,"83":41984,"24":39,"16":22830147769991168,"45":1848305465181741056},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 10:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 10:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 10:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298218496001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:53:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 10:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 10:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22830147769991168,"km_value":22830147769991.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848305465181741056,"description":"Unknown IO ID 45"} 
[2026-09-24 10:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298218496001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1848305465181741056}} 
[2026-09-24 10:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":192593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:53:46] local.INFO: GPS data processed {"connection_id":192593,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:53:46] local.INFO: Acknowledgment sent {"connection_id":192593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:54:07] local.INFO: TCP Data received {"connection_id":192594,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:54:08] local.INFO: Processing buffer {"connection_id":192594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:54:08] local.INFO: Packet analysis {"connection_id":192594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1db"} 
[2026-09-24 10:54:08] local.INFO: Extracted packet for processing {"connection_id":192594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1db"} 
[2026-09-24 10:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298091264001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790227220000,"timestamp_ms":1790227220000,"timestamp_seconds":1790227220,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1db8620"} 
[2026-09-24 10:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 10:54: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-09-24 10: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-09-24 10:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298091264001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298091264001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:54:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298091264001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":192594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:54:08] local.INFO: GPS data processed {"connection_id":192594,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:54:08] local.INFO: Acknowledgment sent {"connection_id":192594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:54:17] local.INFO: TCP Data received {"connection_id":192593,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1de8b90012d19a94007209860000d001105..."} 
[2026-09-24 10:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1de8b90012d19a94007209860000d001105..."} 
[2026-09-24 10:54:17] local.INFO: Processing buffer {"connection_id":192593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1de8b90012d19a94007209860000d001105..."} 
[2026-09-24 10:54:17] local.INFO: Packet analysis {"connection_id":192593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1de"} 
[2026-09-24 10:54:17] local.INFO: Extracted packet for processing {"connection_id":192593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1de"} 
[2026-09-24 10:54:17] local.INFO: GPS Element Parsed {"raw_longitude":756656448,"raw_latitude":119576672,"longitude_deg":75.6656448,"latitude_deg":11.9576672,"altitude":13,"angle":17,"satellites":5,"speed":37,"hex_longitude":"2d19a940","hex_latitude":"07209860","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298218752001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22830190719664128,"note":"Value kept but may cause issues"} 
[2026-09-24 10:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848657308902819840,"note":"Value kept but may cause issues"} 
[2026-09-24 10:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790227418000,"timestamp_ms":1790227418000,"timestamp_seconds":1790227418,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1de8b90"} 
[2026-09-24 10:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-24 10:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":192593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":192593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":192593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 10:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 10:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298218752001,"66":14265,"103":206,"83":41984,"24":37,"16":22830190719664128,"45":1848657308902819840},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 10:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 10:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 10:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298218752001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:54:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 10:54:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 10:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22830190719664128,"km_value":22830190719664.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848657308902819840,"description":"Unknown IO ID 45"} 
[2026-09-24 10:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298218752001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1848657308902819840}} 
[2026-09-24 10:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":192593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:54:17] local.INFO: GPS data processed {"connection_id":192593,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:54:17] local.INFO: Acknowledgment sent {"connection_id":192593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:54:34] local.INFO: TCP Data received {"connection_id":191025,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:54:34] local.INFO: Processing buffer {"connection_id":191025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:54:34] local.INFO: IMEI packet received {"connection_id":191025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":191025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:54:39] local.INFO: TCP Data received {"connection_id":191025,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:54:39] local.INFO: Processing buffer {"connection_id":191025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:54:39] local.INFO: IMEI packet received {"connection_id":191025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":191025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:54:41] local.INFO: TCP Data received {"connection_id":191025,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:54:41] local.INFO: Processing buffer {"connection_id":191025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:54:41] local.INFO: Packet analysis {"connection_id":191025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1db"} 
[2026-09-24 10:54:41] local.INFO: Extracted packet for processing {"connection_id":191025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1db"} 
[2026-09-24 10:54:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298091264001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790227220000,"timestamp_ms":1790227220000,"timestamp_seconds":1790227220,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1db8620"} 
[2026-09-24 10:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 10:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298091264001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298091264001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:54:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:54:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298091264001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":191025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:54:41] local.INFO: GPS data processed {"connection_id":191025,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:54:41] local.INFO: Acknowledgment sent {"connection_id":191025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:54:44] local.INFO: TCP Data received {"connection_id":191025,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:54:44] local.INFO: Processing buffer {"connection_id":191025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:54:44] local.INFO: Packet analysis {"connection_id":191025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1db"} 
[2026-09-24 10:54:44] local.INFO: Extracted packet for processing {"connection_id":191025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1db"} 
[2026-09-24 10:54:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298091264001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790227220000,"timestamp_ms":1790227220000,"timestamp_seconds":1790227220,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1db8620"} 
[2026-09-24 10:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 10:54:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:54:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298091264001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298091264001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:54:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:54:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298091264001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":191025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:54:44] local.INFO: GPS data processed {"connection_id":191025,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:54:44] local.INFO: Acknowledgment sent {"connection_id":191025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:54:48] local.INFO: TCP Data received {"connection_id":192593,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1df4328012d1931000720b660000d012e07..."} 
[2026-09-24 10:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1df4328012d1931000720b660000d012e07..."} 
[2026-09-24 10:54:48] local.INFO: Processing buffer {"connection_id":192593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1df4328012d1931000720b660000d012e07..."} 
[2026-09-24 10:54:48] local.INFO: Packet analysis {"connection_id":192593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1df"} 
[2026-09-24 10:54:48] local.INFO: Extracted packet for processing {"connection_id":192593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1df"} 
[2026-09-24 10:54:48] local.INFO: GPS Element Parsed {"raw_longitude":756625664,"raw_latitude":119584352,"longitude_deg":75.6625664,"latitude_deg":11.9584352,"altitude":13,"angle":302,"satellites":7,"speed":42,"hex_longitude":"2d193100","hex_latitude":"0720b660","is_valid_coordinates":true} 
[2026-09-24 10:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298230016001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22832144929783808,"note":"Value kept but may cause issues"} 
[2026-09-24 10:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819383911326593024,"note":"Value kept but may cause issues"} 
[2026-09-24 10:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790227465000,"timestamp_ms":1790227465000,"timestamp_seconds":1790227465,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1df4328"} 
[2026-09-24 10:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-24 10:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 10:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 10:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298230016001,"66":14396,"103":206,"83":41984,"24":42,"16":22832144929783808,"45":1819383911326593024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 10:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 10:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 10:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298230016001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:54:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 10:54:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 10:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22832144929783808,"km_value":22832144929783.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819383911326593024,"description":"Unknown IO ID 45"} 
[2026-09-24 10:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298230016001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1819383911326593024}} 
[2026-09-24 10:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":192593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:54:49] local.INFO: GPS data processed {"connection_id":192593,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:54:49] local.INFO: Acknowledgment sent {"connection_id":192593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:55:19] local.INFO: TCP Data received {"connection_id":192593,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1df6268012d1914800720c4180008012207..."} 
[2026-09-24 10:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1df6268012d1914800720c4180008012207..."} 
[2026-09-24 10:55:19] local.INFO: Processing buffer {"connection_id":192593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1df6268012d1914800720c4180008012207..."} 
[2026-09-24 10:55:19] local.INFO: Packet analysis {"connection_id":192593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1df"} 
[2026-09-24 10:55:19] local.INFO: Extracted packet for processing {"connection_id":192593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1df"} 
[2026-09-24 10:55:19] local.INFO: GPS Element Parsed {"raw_longitude":756618368,"raw_latitude":119587864,"longitude_deg":75.6618368,"latitude_deg":11.9587864,"altitude":8,"angle":290,"satellites":7,"speed":40,"hex_longitude":"2d191480","hex_latitude":"0720c418","is_valid_coordinates":true} 
[2026-09-24 10:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298231040001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22832535771807744,"note":"Value kept but may cause issues"} 
[2026-09-24 10:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1815232155420614656,"note":"Value kept but may cause issues"} 
[2026-09-24 10:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790227473000,"timestamp_ms":1790227473000,"timestamp_seconds":1790227473,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1df6268"} 
[2026-09-24 10:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-24 10:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":192593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":192593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":192593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 10:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 10:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298231040001,"66":14298,"103":206,"83":41984,"24":40,"16":22832535771807744,"45":1815232155420614656},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 10:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 10:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 10:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298231040001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:55:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 10:55:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 10:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22832535771807744,"km_value":22832535771807.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1815232155420614656,"description":"Unknown IO ID 45"} 
[2026-09-24 10:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298231040001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1815232155420614656}} 
[2026-09-24 10:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":192593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:55:19] local.INFO: GPS data processed {"connection_id":192593,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:55:19] local.INFO: Acknowledgment sent {"connection_id":192593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:55:28] local.INFO: TCP Data received {"connection_id":192595,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:55:28] local.INFO: Processing buffer {"connection_id":192595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:55:28] local.INFO: IMEI packet received {"connection_id":192595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":192595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:55:34] local.INFO: TCP Data received {"connection_id":192595,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:55:34] local.INFO: Processing buffer {"connection_id":192595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:55:34] local.INFO: IMEI packet received {"connection_id":192595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":192595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:55:35] local.INFO: TCP Data received {"connection_id":192595,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:55:35] local.INFO: Processing buffer {"connection_id":192595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1db8620012d34c14006aa4940000900f52a..."} 
[2026-09-24 10:55:35] local.INFO: Packet analysis {"connection_id":192595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1db"} 
[2026-09-24 10:55:35] local.INFO: Extracted packet for processing {"connection_id":192595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1db"} 
[2026-09-24 10:55:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298091264001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790227220000,"timestamp_ms":1790227220000,"timestamp_seconds":1790227220,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1db8620"} 
[2026-09-24 10:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 10:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298091264001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298091264001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:55:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:55:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298091264001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":192595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:55:35] local.INFO: GPS data processed {"connection_id":192595,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:55:35] local.INFO: Acknowledgment sent {"connection_id":192595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:55:44] local.INFO: TCP Data received {"connection_id":191223,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:55:44] local.INFO: Processing buffer {"connection_id":191223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:55:44] local.INFO: IMEI packet received {"connection_id":191223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 10:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":191223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:55:45] local.INFO: TCP Data received {"connection_id":191223,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:55:45] local.INFO: Processing buffer {"connection_id":191223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:55:45] local.INFO: IMEI packet received {"connection_id":191223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 10:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":191223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:55:46] local.INFO: TCP Data received {"connection_id":191223,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:55:46] local.INFO: Processing buffer {"connection_id":191223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:55:46] local.INFO: IMEI packet received {"connection_id":191223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 10:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":191223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:55:49] local.INFO: TCP Data received {"connection_id":191223,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:55:49] local.INFO: Processing buffer {"connection_id":191223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:55:49] local.INFO: IMEI packet received {"connection_id":191223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 10:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":191223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:55:51] local.INFO: TCP Data received {"connection_id":191223,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e02d88012d18be40072147280018016208..."} 
[2026-09-24 10:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e02d88012d18be40072147280018016208..."} 
[2026-09-24 10:55:51] local.INFO: Processing buffer {"connection_id":191223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e02d88012d18be40072147280018016208..."} 
[2026-09-24 10:55:51] local.INFO: Packet analysis {"connection_id":191223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 10:55:51] local.INFO: Extracted packet for processing {"connection_id":191223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 10:55:51] local.INFO: GPS Element Parsed {"raw_longitude":756596288,"raw_latitude":119621416,"longitude_deg":75.6596288,"latitude_deg":11.9621416,"altitude":24,"angle":354,"satellites":8,"speed":35,"hex_longitude":"2d18be40","hex_latitude":"07214728","is_valid_coordinates":true} 
[2026-09-24 10:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298245888001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22834601651077120,"note":"Value kept but may cause issues"} 
[2026-09-24 10:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783144008084656128,"note":"Value kept but may cause issues"} 
[2026-09-24 10:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790227525000,"timestamp_ms":1790227525000,"timestamp_seconds":1790227525,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e02d88"} 
[2026-09-24 10:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-24 10:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 10:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 10:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298245888001,"66":14265,"103":206,"83":41984,"24":35,"16":22834601651077120,"45":1783144008084656128},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 10:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 10:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 10:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298245888001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:55:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 10:55:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 10:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22834601651077120,"km_value":22834601651077.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783144008084656128,"description":"Unknown IO ID 45"} 
[2026-09-24 10:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298245888001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1783144008084656128}} 
[2026-09-24 10:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":191223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:55:51] local.INFO: GPS data processed {"connection_id":191223,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:55:51] local.INFO: Acknowledgment sent {"connection_id":191223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:56:06] local.INFO: TCP Data received {"connection_id":192595,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:56:06] local.INFO: Processing buffer {"connection_id":192595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:56:06] local.INFO: Packet analysis {"connection_id":192595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 10:56:06] local.INFO: Extracted packet for processing {"connection_id":192595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 10:56:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10: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-09-24 10:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298168320001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790227521000,"timestamp_ms":1790227521000,"timestamp_seconds":1790227521,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e01de8"} 
[2026-09-24 10:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 10:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10: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-09-24 10:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298168320001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298168320001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:56:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:56:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298168320001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":192595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:56:06] local.INFO: GPS data processed {"connection_id":192595,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:56:06] local.INFO: Acknowledgment sent {"connection_id":192595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:56:23] local.INFO: TCP Data received {"connection_id":191223,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e04110012d18bc40072156280021014e08..."} 
[2026-09-24 10:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e04110012d18bc40072156280021014e08..."} 
[2026-09-24 10:56:23] local.INFO: Processing buffer {"connection_id":191223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e04110012d18bc40072156280021014e08..."} 
[2026-09-24 10:56:23] local.INFO: Packet analysis {"connection_id":191223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 10:56:23] local.INFO: Extracted packet for processing {"connection_id":191223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 10:56:23] local.INFO: GPS Element Parsed {"raw_longitude":756595776,"raw_latitude":119625256,"longitude_deg":75.6595776,"latitude_deg":11.9625256,"altitude":33,"angle":334,"satellites":8,"speed":32,"hex_longitude":"2d18bc40","hex_latitude":"07215628","is_valid_coordinates":true} 
[2026-09-24 10:56: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-09-24 10:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298246400001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22834790629638144,"note":"Value kept but may cause issues"} 
[2026-09-24 10:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782932901852555264,"note":"Value kept but may cause issues"} 
[2026-09-24 10:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790227530000,"timestamp_ms":1790227530000,"timestamp_seconds":1790227530,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e04110"} 
[2026-09-24 10:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-24 10:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:56: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-09-24 10:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 10:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 10:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298246400001,"66":14298,"103":206,"83":41984,"24":32,"16":22834790629638144,"45":1782932901852555264},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 10:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 10:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 10:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298246400001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:56:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 10:56:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 10:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22834790629638144,"km_value":22834790629638.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782932901852555264,"description":"Unknown IO ID 45"} 
[2026-09-24 10:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298246400001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1782932901852555264}} 
[2026-09-24 10:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":191223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:56:23] local.INFO: GPS data processed {"connection_id":191223,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:56:23] local.INFO: Acknowledgment sent {"connection_id":191223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:56:28] local.INFO: TCP Data received {"connection_id":191027,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:56:28] local.INFO: Processing buffer {"connection_id":191027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:56:28] local.INFO: IMEI packet received {"connection_id":191027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":191027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:56:34] local.INFO: TCP Data received {"connection_id":191027,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:56:34] local.INFO: Processing buffer {"connection_id":191027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:56:34] local.INFO: IMEI packet received {"connection_id":191027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":191027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:56:35] local.INFO: TCP Data received {"connection_id":191027,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:56:35] local.INFO: Processing buffer {"connection_id":191027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:56:35] local.INFO: Packet analysis {"connection_id":191027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 10:56:35] local.INFO: Extracted packet for processing {"connection_id":191027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 10:56:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298168320001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790227521000,"timestamp_ms":1790227521000,"timestamp_seconds":1790227521,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e01de8"} 
[2026-09-24 10:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 10:56:35] 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-09-24 10:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298168320001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298168320001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:56:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:56:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298168320001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":191027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:56:35] local.INFO: GPS data processed {"connection_id":191027,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:56:35] local.INFO: Acknowledgment sent {"connection_id":191027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:56:54] local.INFO: TCP Data received {"connection_id":191223,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e048e0012d18b8c007215bc00021014009..."} 
[2026-09-24 10:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e048e0012d18b8c007215bc00021014009..."} 
[2026-09-24 10:56:54] local.INFO: Processing buffer {"connection_id":191223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e048e0012d18b8c007215bc00021014009..."} 
[2026-09-24 10:56:54] local.INFO: Packet analysis {"connection_id":191223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 10:56:54] local.INFO: Extracted packet for processing {"connection_id":191223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 10:56:54] local.INFO: GPS Element Parsed {"raw_longitude":756594880,"raw_latitude":119626688,"longitude_deg":75.659488,"latitude_deg":11.9626688,"altitude":33,"angle":320,"satellites":9,"speed":35,"hex_longitude":"2d18b8c0","hex_latitude":"07215bc0","is_valid_coordinates":true} 
[2026-09-24 10:56: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-09-24 10:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298247680001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22834872234016768,"note":"Value kept but may cause issues"} 
[2026-09-24 10:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782369951900116992,"note":"Value kept but may cause issues"} 
[2026-09-24 10:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790227532000,"timestamp_ms":1790227532000,"timestamp_seconds":1790227532,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e048e0"} 
[2026-09-24 10:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-24 10:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:56: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-09-24 10:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":191223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":191223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":191223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 10:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 10:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298247680001,"66":14341,"103":206,"83":41984,"24":35,"16":22834872234016768,"45":1782369951900116992},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 10:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 10:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 10:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298247680001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:56:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 10:56:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 10:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22834872234016768,"km_value":22834872234016.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782369951900116992,"description":"Unknown IO ID 45"} 
[2026-09-24 10:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298247680001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1782369951900116992}} 
[2026-09-24 10:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":191223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:56:54] local.INFO: GPS data processed {"connection_id":191223,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:56:54] local.INFO: Acknowledgment sent {"connection_id":191223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:57:07] local.INFO: TCP Data received {"connection_id":191027,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:57:07] local.INFO: Processing buffer {"connection_id":191027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:57:07] local.INFO: Packet analysis {"connection_id":191027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 10:57:07] local.INFO: Extracted packet for processing {"connection_id":191027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 10:57:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298168320001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790227521000,"timestamp_ms":1790227521000,"timestamp_seconds":1790227521,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e01de8"} 
[2026-09-24 10:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 10:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298168320001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298168320001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:57:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:57:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298168320001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":191027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:57:07] local.INFO: GPS data processed {"connection_id":191027,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:57:07] local.INFO: Acknowledgment sent {"connection_id":191027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:57:25] local.INFO: TCP Data received {"connection_id":191223,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e198d0012d1830800721c730005200230d..."} 
[2026-09-24 10:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e198d0012d1830800721c730005200230d..."} 
[2026-09-24 10:57:25] local.INFO: Processing buffer {"connection_id":191223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e198d0012d1830800721c730005200230d..."} 
[2026-09-24 10:57:25] local.INFO: Packet analysis {"connection_id":191223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e1"} 
[2026-09-24 10:57:25] local.INFO: Extracted packet for processing {"connection_id":191223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e1"} 
[2026-09-24 10:57:25] local.INFO: GPS Element Parsed {"raw_longitude":756560000,"raw_latitude":119654192,"longitude_deg":75.656,"latitude_deg":11.9654192,"altitude":82,"angle":35,"satellites":13,"speed":10,"hex_longitude":"2d183080","hex_latitude":"0721c730","is_valid_coordinates":true} 
[2026-09-24 10:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298265088001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22837547998642176,"note":"Value kept but may cause issues"} 
[2026-09-24 10:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841064448,"note":"Value kept but may cause issues"} 
[2026-09-24 10:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790227618000,"timestamp_ms":1790227618000,"timestamp_seconds":1790227618,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e198d0"} 
[2026-09-24 10:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-24 10:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":191223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":191223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":191223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 10:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 10:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298265088001,"66":14211,"105":206,"83":41984,"24":10,"16":22837547998642176,"45":1737826536841064448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 10:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 10:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 10:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298265088001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:57:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 10:57:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 10:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22837547998642176,"km_value":22837547998642.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841064448,"description":"Unknown IO ID 45"} 
[2026-09-24 10:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298265088001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737826536841064448}} 
[2026-09-24 10:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":191223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:57:25] local.INFO: GPS data processed {"connection_id":191223,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:57:25] local.INFO: Acknowledgment sent {"connection_id":191223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:57:34] local.INFO: TCP Data received {"connection_id":193897,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:57:34] local.INFO: Processing buffer {"connection_id":193897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:57:34] local.INFO: IMEI packet received {"connection_id":193897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":193897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:57:35] local.INFO: TCP Data received {"connection_id":193897,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:57:35] local.INFO: Processing buffer {"connection_id":193897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:57:35] local.INFO: Packet analysis {"connection_id":193897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 10:57:35] local.INFO: Extracted packet for processing {"connection_id":193897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 10:57:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298168320001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790227521000,"timestamp_ms":1790227521000,"timestamp_seconds":1790227521,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e01de8"} 
[2026-09-24 10:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 10:57:35] 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-09-24 10:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298168320001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298168320001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:57:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:57:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298168320001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":193897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:57:35] local.INFO: GPS data processed {"connection_id":193897,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:57:35] local.INFO: Acknowledgment sent {"connection_id":193897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:57:45] local.INFO: TCP Data received {"connection_id":192596,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:57:45] local.INFO: Processing buffer {"connection_id":192596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:57:45] local.INFO: IMEI packet received {"connection_id":192596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 10:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":192596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:57:46] local.INFO: TCP Data received {"connection_id":192596,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:57:46] local.INFO: Processing buffer {"connection_id":192596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:57:46] local.INFO: IMEI packet received {"connection_id":192596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 10:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":192596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:57:51] local.INFO: TCP Data received {"connection_id":192596,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:57:51] local.INFO: Processing buffer {"connection_id":192596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:57:51] local.INFO: IMEI packet received {"connection_id":192596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 10:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":192596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:57:51] local.INFO: TCP Data received {"connection_id":192596,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e1d368012d1844000721e500005800220e..."} 
[2026-09-24 10:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e1d368012d1844000721e500005800220e..."} 
[2026-09-24 10:57:51] local.INFO: Processing buffer {"connection_id":192596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e1d368012d1844000721e500005800220e..."} 
[2026-09-24 10:57:51] local.INFO: Packet analysis {"connection_id":192596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e1"} 
[2026-09-24 10:57:51] local.INFO: Extracted packet for processing {"connection_id":192596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e1"} 
[2026-09-24 10:57:51] local.INFO: GPS Element Parsed {"raw_longitude":756564992,"raw_latitude":119661824,"longitude_deg":75.6564992,"latitude_deg":11.9661824,"altitude":88,"angle":34,"satellites":14,"speed":33,"hex_longitude":"2d184400","hex_latitude":"0721e500","is_valid_coordinates":true} 
[2026-09-24 10:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298270208001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22837986085306368,"note":"Value kept but may cause issues"} 
[2026-09-24 10:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743033823912210432,"note":"Value kept but may cause issues"} 
[2026-09-24 10:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790227633000,"timestamp_ms":1790227633000,"timestamp_seconds":1790227633,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e1d368"} 
[2026-09-24 10:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-24 10:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 10:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 10:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298270208001,"66":13928,"105":206,"83":41984,"24":33,"16":22837986085306368,"45":1743033823912210432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 10:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 10:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 10:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298270208001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:57:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 10:57:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 10:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22837986085306368,"km_value":22837986085306.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743033823912210432,"description":"Unknown IO ID 45"} 
[2026-09-24 10:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298270208001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1743033823912210432}} 
[2026-09-24 10:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":192596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:57:51] local.INFO: GPS data processed {"connection_id":192596,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:57:51] local.INFO: Acknowledgment sent {"connection_id":192596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:58:05] local.INFO: TCP Data received {"connection_id":192598,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:58:05] local.INFO: Processing buffer {"connection_id":192598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 10:58:05] local.INFO: IMEI packet received {"connection_id":192598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 10:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":192598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:58:06] local.INFO: TCP Data received {"connection_id":193897,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:58:06] local.INFO: Processing buffer {"connection_id":193897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:58:06] local.INFO: Packet analysis {"connection_id":193897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 10:58:06] local.INFO: Extracted packet for processing {"connection_id":193897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 10:58:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298168320001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790227521000,"timestamp_ms":1790227521000,"timestamp_seconds":1790227521,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e01de8"} 
[2026-09-24 10:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 10:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298168320001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298168320001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:58:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:58:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298168320001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":193897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:58:06] local.INFO: GPS data processed {"connection_id":193897,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:58:06] local.INFO: Acknowledgment sent {"connection_id":193897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:58:23] local.INFO: TCP Data received {"connection_id":192596,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e1fa78012d1857c0072201e8005c00230e..."} 
[2026-09-24 10:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e1fa78012d1857c0072201e8005c00230e..."} 
[2026-09-24 10:58:23] local.INFO: Processing buffer {"connection_id":192596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e1fa78012d1857c0072201e8005c00230e..."} 
[2026-09-24 10:58:23] local.INFO: Packet analysis {"connection_id":192596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e1"} 
[2026-09-24 10:58:23] local.INFO: Extracted packet for processing {"connection_id":192596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e1"} 
[2026-09-24 10:58:23] local.INFO: GPS Element Parsed {"raw_longitude":756570048,"raw_latitude":119669224,"longitude_deg":75.6570048,"latitude_deg":11.9669224,"altitude":92,"angle":35,"satellites":14,"speed":35,"hex_longitude":"2d1857c0","hex_latitude":"072201e8","is_valid_coordinates":true} 
[2026-09-24 10:58: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-09-24 10:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298274048001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22838419877003264,"note":"Value kept but may cause issues"} 
[2026-09-24 10:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748522585960022016,"note":"Value kept but may cause issues"} 
[2026-09-24 10:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790227643000,"timestamp_ms":1790227643000,"timestamp_seconds":1790227643,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e1fa78"} 
[2026-09-24 10:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 10:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-24 10:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:58: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-09-24 10:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 10:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 10:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 10:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298274048001,"66":14298,"105":206,"83":41984,"24":35,"16":22838419877003264,"45":1748522585960022016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 10:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 10:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 10:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298274048001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:58:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 10:58:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 10:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22838419877003264,"km_value":22838419877003.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748522585960022016,"description":"Unknown IO ID 45"} 
[2026-09-24 10:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298274048001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1748522585960022016}} 
[2026-09-24 10:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":192596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:58:23] local.INFO: GPS data processed {"connection_id":192596,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:58:23] local.INFO: Acknowledgment sent {"connection_id":192596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:58:29] local.INFO: TCP Data received {"connection_id":191224,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:58:29] local.INFO: Processing buffer {"connection_id":191224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:58:29] local.INFO: IMEI packet received {"connection_id":191224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":191224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:58:34] local.INFO: TCP Data received {"connection_id":191224,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:58:34] local.INFO: Processing buffer {"connection_id":191224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:58:34] local.INFO: IMEI packet received {"connection_id":191224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":191224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:58:35] local.INFO: TCP Data received {"connection_id":191224,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:58:35] local.INFO: Processing buffer {"connection_id":191224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:58:35] local.INFO: Packet analysis {"connection_id":191224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 10:58:35] local.INFO: Extracted packet for processing {"connection_id":191224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 10:58:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298168320001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790227521000,"timestamp_ms":1790227521000,"timestamp_seconds":1790227521,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e01de8"} 
[2026-09-24 10:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 10:58:35] 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-09-24 10:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298168320001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298168320001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:58:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:58:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298168320001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":191224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:58:35] local.INFO: GPS data processed {"connection_id":191224,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:58:35] local.INFO: Acknowledgment sent {"connection_id":191224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:58:46] local.INFO: TCP Data received {"connection_id":191028,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:58:46] local.INFO: Processing buffer {"connection_id":191028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 10:58:46] local.INFO: IMEI packet received {"connection_id":191028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 10:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":191028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:58:58] local.INFO: TCP Data received {"connection_id":191028,"ip":"42.106.6.21","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-24 10:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191028,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-24 10:58:58] local.INFO: Processing buffer {"connection_id":191028,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-24 10:58:58] local.INFO: IMEI packet received {"connection_id":191028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 10:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":191028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:59:07] local.INFO: TCP Data received {"connection_id":191224,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:59:07] local.INFO: Processing buffer {"connection_id":191224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:59:07] local.INFO: Packet analysis {"connection_id":191224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 10:59:07] local.INFO: Extracted packet for processing {"connection_id":191224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 10:59:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298168320001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790227521000,"timestamp_ms":1790227521000,"timestamp_seconds":1790227521,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e01de8"} 
[2026-09-24 10:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 10:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 10:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298168320001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298168320001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:59:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:59:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298168320001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":191224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:59:07] local.INFO: GPS data processed {"connection_id":191224,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:59:07] local.INFO: Acknowledgment sent {"connection_id":191224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 10:59:29] local.INFO: TCP Data received {"connection_id":193898,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:59:29] local.INFO: Processing buffer {"connection_id":193898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:59:29] local.INFO: IMEI packet received {"connection_id":193898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 10:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":193898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 10:59:34] local.INFO: TCP Data received {"connection_id":193898,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:59:34] local.INFO: Processing buffer {"connection_id":193898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 10:59:34] local.INFO: IMEI packet received {"connection_id":193898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 10:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":193898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 10:59:35] local.INFO: TCP Data received {"connection_id":193898,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:59:35] local.INFO: Processing buffer {"connection_id":193898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 10:59:35] local.INFO: Packet analysis {"connection_id":193898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 10:59:35] local.INFO: Extracted packet for processing {"connection_id":193898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 10:59:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 10:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 10:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298168320001,"note":"Value kept but may cause issues"} 
[2026-09-24 10:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 10:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 10:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 10:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790227521000,"timestamp_ms":1790227521000,"timestamp_seconds":1790227521,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e01de8"} 
[2026-09-24 10:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 10:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 10:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 10:59:35] 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-09-24 10:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 10:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 10:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 10:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 10:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 10:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 10:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 10:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 10:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298168320001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 10:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 10:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 10:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298168320001,"description":"Unknown IO ID 0"} 
[2026-09-24 10:59:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 10:59:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 10:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 10:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 10:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298168320001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 10:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":193898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 10:59:35] local.INFO: GPS data processed {"connection_id":193898,"processed":1,"errors":0,"total":1} 
[2026-09-24 10:59:35] local.INFO: Acknowledgment sent {"connection_id":193898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:00:07] local.INFO: TCP Data received {"connection_id":193898,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 11:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 11:00:07] local.INFO: Processing buffer {"connection_id":193898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 11:00:07] local.INFO: Packet analysis {"connection_id":193898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 11:00:07] local.INFO: Extracted packet for processing {"connection_id":193898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 11:00:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298168320001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790227521000,"timestamp_ms":1790227521000,"timestamp_seconds":1790227521,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e01de8"} 
[2026-09-24 11:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298168320001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298168320001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:00:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:00:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298168320001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":193898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:00:07] local.INFO: GPS data processed {"connection_id":193898,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:00:07] local.INFO: Acknowledgment sent {"connection_id":193898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:00:29] local.INFO: TCP Data received {"connection_id":193899,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:00:29] local.INFO: Processing buffer {"connection_id":193899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:00:29] local.INFO: IMEI packet received {"connection_id":193899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":193899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:00:34] local.INFO: TCP Data received {"connection_id":193899,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:00:34] local.INFO: Processing buffer {"connection_id":193899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:00:34] local.INFO: IMEI packet received {"connection_id":193899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":193899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:00:36] local.INFO: TCP Data received {"connection_id":193899,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 11:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 11:00:36] local.INFO: Processing buffer {"connection_id":193899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e01de8012d34c14006aa4940000900f52b..."} 
[2026-09-24 11:00:36] local.INFO: Packet analysis {"connection_id":193899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 11:00:36] local.INFO: Extracted packet for processing {"connection_id":193899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e0"} 
[2026-09-24 11:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298168320001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790227521000,"timestamp_ms":1790227521000,"timestamp_seconds":1790227521,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e01de8"} 
[2026-09-24 11:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298168320001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298168320001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:00:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298168320001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":193899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:00:36] local.INFO: GPS data processed {"connection_id":193899,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:00:36] local.INFO: Acknowledgment sent {"connection_id":193899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:01:07] local.INFO: TCP Data received {"connection_id":193899,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:01:07] local.INFO: Processing buffer {"connection_id":193899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:01:07] local.INFO: Packet analysis {"connection_id":193899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e4"} 
[2026-09-24 11:01:07] local.INFO: Extracted packet for processing {"connection_id":193899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e4"} 
[2026-09-24 11:01:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298245376001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790227822000,"timestamp_ms":1790227822000,"timestamp_seconds":1790227822,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e4b5b0"} 
[2026-09-24 11:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 11:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298245376001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298245376001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:01:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:01:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298245376001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":193899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:01:07] local.INFO: GPS data processed {"connection_id":193899,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:01:07] local.INFO: Acknowledgment sent {"connection_id":193899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:01:34] local.INFO: TCP Data received {"connection_id":191227,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:01:34] local.INFO: Processing buffer {"connection_id":191227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:01:34] local.INFO: IMEI packet received {"connection_id":191227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":191227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:01:39] local.INFO: TCP Data received {"connection_id":191227,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:01:39] local.INFO: Processing buffer {"connection_id":191227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:01:39] local.INFO: IMEI packet received {"connection_id":191227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":191227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:01:41] local.INFO: TCP Data received {"connection_id":191227,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:01:41] local.INFO: Processing buffer {"connection_id":191227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:01:41] local.INFO: Packet analysis {"connection_id":191227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e4"} 
[2026-09-24 11:01:41] local.INFO: Extracted packet for processing {"connection_id":191227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e4"} 
[2026-09-24 11:01:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298245376001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790227822000,"timestamp_ms":1790227822000,"timestamp_seconds":1790227822,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e4b5b0"} 
[2026-09-24 11:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 11:01:41] 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-09-24 11:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298245376001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298245376001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:01:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:01:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298245376001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":191227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:01:41] local.INFO: GPS data processed {"connection_id":191227,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:01:41] local.INFO: Acknowledgment sent {"connection_id":191227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:02:02] local.INFO: TCP Data received {"connection_id":192597,"ip":"42.106.6.26","data_length":18,"data_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-24 11:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192597,"packet_length":18,"packet_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-24 11:02:02] local.INFO: Processing buffer {"connection_id":192597,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-24 11:02:02] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":192597,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800be64bc2"} 
[2026-09-24 11:02:13] local.INFO: TCP Data received {"connection_id":191227,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:02:13] local.INFO: Processing buffer {"connection_id":191227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:02:13] local.INFO: Packet analysis {"connection_id":191227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e4"} 
[2026-09-24 11:02:13] local.INFO: Extracted packet for processing {"connection_id":191227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e4"} 
[2026-09-24 11:02:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298245376001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790227822000,"timestamp_ms":1790227822000,"timestamp_seconds":1790227822,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e4b5b0"} 
[2026-09-24 11:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 11:02: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-09-24 11:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298245376001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298245376001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:02:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:02:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298245376001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":191227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:02:13] local.INFO: GPS data processed {"connection_id":191227,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:02:13] local.INFO: Acknowledgment sent {"connection_id":191227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:02:29] local.INFO: TCP Data received {"connection_id":191031,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:02:29] local.INFO: Processing buffer {"connection_id":191031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:02:29] local.INFO: IMEI packet received {"connection_id":191031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":191031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:02:32] local.INFO: TCP Data received {"connection_id":192597,"ip":"42.106.6.26","data_length":18,"data_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-24 11:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192597,"packet_length":18,"packet_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-24 11:02:32] local.INFO: Processing buffer {"connection_id":192597,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-24 11:02:32] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":192597,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800be64bc2"} 
[2026-09-24 11:02:34] local.INFO: TCP Data received {"connection_id":191031,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:02:34] local.INFO: Processing buffer {"connection_id":191031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:02:34] local.INFO: IMEI packet received {"connection_id":191031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":191031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:02:35] local.INFO: TCP Data received {"connection_id":191031,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:02:35] local.INFO: Processing buffer {"connection_id":191031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:02:35] local.INFO: Packet analysis {"connection_id":191031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e4"} 
[2026-09-24 11:02:35] local.INFO: Extracted packet for processing {"connection_id":191031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e4"} 
[2026-09-24 11:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298245376001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790227822000,"timestamp_ms":1790227822000,"timestamp_seconds":1790227822,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e4b5b0"} 
[2026-09-24 11:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 11:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298245376001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298245376001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:02:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298245376001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":191031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:02:35] local.INFO: GPS data processed {"connection_id":191031,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:02:35] local.INFO: Acknowledgment sent {"connection_id":191031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:03:07] local.INFO: TCP Data received {"connection_id":191031,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:03:07] local.INFO: Processing buffer {"connection_id":191031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:03:07] local.INFO: Packet analysis {"connection_id":191031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e4"} 
[2026-09-24 11:03:07] local.INFO: Extracted packet for processing {"connection_id":191031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e4"} 
[2026-09-24 11:03:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298245376001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790227822000,"timestamp_ms":1790227822000,"timestamp_seconds":1790227822,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e4b5b0"} 
[2026-09-24 11:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 11:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298245376001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298245376001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:03:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:03:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298245376001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":191031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:03:07] local.INFO: GPS data processed {"connection_id":191031,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:03:07] local.INFO: Acknowledgment sent {"connection_id":191031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:03:29] local.INFO: TCP Data received {"connection_id":191229,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:03:29] local.INFO: Processing buffer {"connection_id":191229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:03:29] local.INFO: IMEI packet received {"connection_id":191229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":191229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:03:32] local.INFO: TCP Data received {"connection_id":192600,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:03:32] local.INFO: Processing buffer {"connection_id":192600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:03:32] local.INFO: IMEI packet received {"connection_id":192600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 11:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":192600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:03:34] local.INFO: TCP Data received {"connection_id":191229,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:03:34] local.INFO: Processing buffer {"connection_id":191229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:03:34] local.INFO: IMEI packet received {"connection_id":191229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":191229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:03:35] local.INFO: TCP Data received {"connection_id":191229,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:03:35] local.INFO: Processing buffer {"connection_id":191229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:03:35] local.INFO: Packet analysis {"connection_id":191229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e4"} 
[2026-09-24 11:03:35] local.INFO: Extracted packet for processing {"connection_id":191229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e4"} 
[2026-09-24 11:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298245376001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790227822000,"timestamp_ms":1790227822000,"timestamp_seconds":1790227822,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e4b5b0"} 
[2026-09-24 11:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 11:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298245376001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298245376001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:03:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:03:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298245376001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":191229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:03:35] local.INFO: GPS data processed {"connection_id":191229,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:03:35] local.INFO: Acknowledgment sent {"connection_id":191229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:04:01] local.INFO: TCP Data received {"connection_id":192601,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:04:01] local.INFO: Processing buffer {"connection_id":192601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:04:01] local.INFO: IMEI packet received {"connection_id":192601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":192601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:04:02] local.INFO: TCP Data received {"connection_id":192601,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e5f600012d1a71c007240b70002f003916..."} 
[2026-09-24 11:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e5f600012d1a71c007240b70002f003916..."} 
[2026-09-24 11:04:02] local.INFO: Processing buffer {"connection_id":192601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e5f600012d1a71c007240b70002f003916..."} 
[2026-09-24 11:04:02] local.INFO: Packet analysis {"connection_id":192601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e5"} 
[2026-09-24 11:04:02] local.INFO: Extracted packet for processing {"connection_id":192601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e5"} 
[2026-09-24 11:04:02] local.INFO: GPS Element Parsed {"raw_longitude":756707776,"raw_latitude":119802736,"longitude_deg":75.6707776,"latitude_deg":11.9802736,"altitude":47,"angle":57,"satellites":22,"speed":24,"hex_longitude":"2d1a71c0","hex_latitude":"07240b70","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298341632001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22848796517990400,"note":"Value kept but may cause issues"} 
[2026-09-24 11:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901574604581795840,"note":"Value kept but may cause issues"} 
[2026-09-24 11:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790227904000,"timestamp_ms":1790227904000,"timestamp_seconds":1790227904,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e5f600"} 
[2026-09-24 11:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-24 11:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298341632001,"66":13972,"43":206,"83":42752,"24":24,"16":22848796517990400,"45":1901574604581795840},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-24 11:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298341632001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:04:02] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-24 11:04:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22848796517990400,"km_value":22848796517990.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901574604581795840,"description":"Unknown IO ID 45"} 
[2026-09-24 11:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298341632001,"power":13972,"unknown_43":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1901574604581795840}} 
[2026-09-24 11:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":192601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:04:02] local.INFO: GPS data processed {"connection_id":192601,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:04:02] local.INFO: Acknowledgment sent {"connection_id":192601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:04:07] local.INFO: TCP Data received {"connection_id":191229,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:04:07] local.INFO: Processing buffer {"connection_id":191229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:04:07] local.INFO: Packet analysis {"connection_id":191229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e4"} 
[2026-09-24 11:04:07] local.INFO: Extracted packet for processing {"connection_id":191229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e4"} 
[2026-09-24 11:04:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298245376001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790227822000,"timestamp_ms":1790227822000,"timestamp_seconds":1790227822,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e4b5b0"} 
[2026-09-24 11:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 11:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298245376001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298245376001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:04:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:04:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298245376001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":191229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:04:07] local.INFO: GPS data processed {"connection_id":191229,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:04:07] local.INFO: Acknowledgment sent {"connection_id":191229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:04:12] local.INFO: TCP Data received {"connection_id":193902,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:04:12] local.INFO: Processing buffer {"connection_id":193902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:04:12] local.INFO: IMEI packet received {"connection_id":193902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 11:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":193902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:04:28] local.INFO: TCP Data received {"connection_id":192602,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:04:28] local.INFO: Processing buffer {"connection_id":192602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:04:28] local.INFO: IMEI packet received {"connection_id":192602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":192602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:04:34] local.INFO: TCP Data received {"connection_id":192602,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:04:34] local.INFO: Processing buffer {"connection_id":192602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:04:34] local.INFO: IMEI packet received {"connection_id":192602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":192602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:04:35] local.INFO: TCP Data received {"connection_id":192602,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:04:35] local.INFO: Processing buffer {"connection_id":192602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:04:35] local.INFO: Packet analysis {"connection_id":192602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e4"} 
[2026-09-24 11:04:35] local.INFO: Extracted packet for processing {"connection_id":192602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e4"} 
[2026-09-24 11:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298245376001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790227822000,"timestamp_ms":1790227822000,"timestamp_seconds":1790227822,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e4b5b0"} 
[2026-09-24 11:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 11:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298245376001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298245376001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:04:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:04:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298245376001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":192602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:04:35] local.INFO: GPS data processed {"connection_id":192602,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:04:35] local.INFO: Acknowledgment sent {"connection_id":192602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:04:54] local.INFO: TCP Data received {"connection_id":193903,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:04:54] local.INFO: Processing buffer {"connection_id":193903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:04:54] local.INFO: IMEI packet received {"connection_id":193903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":193903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:04:55] local.INFO: TCP Data received {"connection_id":193903,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:04:55] local.INFO: Processing buffer {"connection_id":193903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:04:55] local.INFO: IMEI packet received {"connection_id":193903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":193903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:04:55] local.INFO: TCP Data received {"connection_id":193903,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e81cc8012d1b54000724bce8002c001a19..."} 
[2026-09-24 11:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e81cc8012d1b54000724bce8002c001a19..."} 
[2026-09-24 11:04:55] local.INFO: Processing buffer {"connection_id":193903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e81cc8012d1b54000724bce8002c001a19..."} 
[2026-09-24 11:04:55] local.INFO: Packet analysis {"connection_id":193903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e8"} 
[2026-09-24 11:04:55] local.INFO: Extracted packet for processing {"connection_id":193903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e8"} 
[2026-09-24 11:04:55] local.INFO: GPS Element Parsed {"raw_longitude":756765696,"raw_latitude":119848168,"longitude_deg":75.6765696,"latitude_deg":11.9848168,"altitude":44,"angle":26,"satellites":25,"speed":18,"hex_longitude":"2d1b5400","hex_latitude":"0724bce8","is_valid_coordinates":true} 
[2026-09-24 11:04: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-09-24 11:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298377984001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22852395700584448,"note":"Value kept but may cause issues"} 
[2026-09-24 11:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967650855376508928,"note":"Value kept but may cause issues"} 
[2026-09-24 11:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790228045000,"timestamp_ms":1790228045000,"timestamp_seconds":1790228045,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e81cc8"} 
[2026-09-24 11:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-24 11:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:04: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-09-24 11:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":193903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":193903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":193903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298377984001,"66":14265,"136":206,"83":42752,"24":18,"16":22852395700584448,"45":1967650855376508928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-24 11:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298377984001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:04:55] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-24 11:04:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22852395700584448,"km_value":22852395700584.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967650855376508928,"description":"Unknown IO ID 45"} 
[2026-09-24 11:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298377984001,"power":14265,"unknown_136":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1967650855376508928}} 
[2026-09-24 11:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":193903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:04:55] local.INFO: GPS data processed {"connection_id":193903,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:04:55] local.INFO: Acknowledgment sent {"connection_id":193903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:04:56] local.INFO: TCP Data received {"connection_id":193903,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e82c68012d1b57000724c540002c000b18..."} 
[2026-09-24 11:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e82c68012d1b57000724c540002c000b18..."} 
[2026-09-24 11:04:56] local.INFO: Processing buffer {"connection_id":193903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e82c68012d1b57000724c540002c000b18..."} 
[2026-09-24 11:04:56] local.INFO: Packet analysis {"connection_id":193903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e8"} 
[2026-09-24 11:04:56] local.INFO: Extracted packet for processing {"connection_id":193903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e8"} 
[2026-09-24 11:04:56] local.INFO: GPS Element Parsed {"raw_longitude":756766464,"raw_latitude":119850304,"longitude_deg":75.6766464,"latitude_deg":11.9850304,"altitude":44,"angle":11,"satellites":24,"speed":23,"hex_longitude":"2d1b5700","hex_latitude":"0724c540","is_valid_coordinates":true} 
[2026-09-24 11:04: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-09-24 11:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298379520001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22852507369734144,"note":"Value kept but may cause issues"} 
[2026-09-24 11:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969198967748880384,"note":"Value kept but may cause issues"} 
[2026-09-24 11:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790228049000,"timestamp_ms":1790228049000,"timestamp_seconds":1790228049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e82c68"} 
[2026-09-24 11:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-24 11:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:04: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-09-24 11:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":193903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":193903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":193903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298379520001,"66":14298,"136":206,"83":42752,"24":23,"16":22852507369734144,"45":1969198967748880384},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-24 11:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298379520001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:04:56] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-24 11:04:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22852507369734144,"km_value":22852507369734.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969198967748880384,"description":"Unknown IO ID 45"} 
[2026-09-24 11:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298379520001,"power":14298,"unknown_136":206,"unknown_83":42752,"ignition":23,"odometer":null,"unknown_45":1969198967748880384}} 
[2026-09-24 11:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":193903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:04:56] local.INFO: GPS data processed {"connection_id":193903,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:04:56] local.INFO: Acknowledgment sent {"connection_id":193903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:05:07] local.INFO: TCP Data received {"connection_id":192602,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:05:07] local.INFO: Processing buffer {"connection_id":192602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:05:07] local.INFO: Packet analysis {"connection_id":192602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e4"} 
[2026-09-24 11:05:07] local.INFO: Extracted packet for processing {"connection_id":192602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e4"} 
[2026-09-24 11:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298245376001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790227822000,"timestamp_ms":1790227822000,"timestamp_seconds":1790227822,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e4b5b0"} 
[2026-09-24 11:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 11:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298245376001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298245376001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:05:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:05:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298245376001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":192602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:05:07] local.INFO: GPS data processed {"connection_id":192602,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:05:07] local.INFO: Acknowledgment sent {"connection_id":192602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:05:27] local.INFO: TCP Data received {"connection_id":193903,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e85378012d1b59800724dd98002b016719..."} 
[2026-09-24 11:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e85378012d1b59800724dd98002b016719..."} 
[2026-09-24 11:05:27] local.INFO: Processing buffer {"connection_id":193903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e85378012d1b59800724dd98002b016719..."} 
[2026-09-24 11:05:27] local.INFO: Packet analysis {"connection_id":193903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e8"} 
[2026-09-24 11:05:27] local.INFO: Extracted packet for processing {"connection_id":193903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e8"} 
[2026-09-24 11:05:27] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":119856536,"longitude_deg":75.6767104,"latitude_deg":11.9856536,"altitude":43,"angle":359,"satellites":25,"speed":28,"hex_longitude":"2d1b5980","hex_latitude":"0724dd98","is_valid_coordinates":true} 
[2026-09-24 11:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298380544001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22852812312412160,"note":"Value kept but may cause issues"} 
[2026-09-24 11:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970043392679559168,"note":"Value kept but may cause issues"} 
[2026-09-24 11:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790228059000,"timestamp_ms":1790228059000,"timestamp_seconds":1790228059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e85378"} 
[2026-09-24 11:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-24 11:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":193903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":193903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":193903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298380544001,"66":14265,"136":206,"83":42752,"24":28,"16":22852812312412160,"45":1970043392679559168},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-24 11:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298380544001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:05:27] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-24 11:05:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22852812312412160,"km_value":22852812312412.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970043392679559168,"description":"Unknown IO ID 45"} 
[2026-09-24 11:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298380544001,"power":14265,"unknown_136":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":1970043392679559168}} 
[2026-09-24 11:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":193903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:05:28] local.INFO: GPS data processed {"connection_id":193903,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:05:28] local.INFO: Acknowledgment sent {"connection_id":193903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:05:28] local.INFO: TCP Data received {"connection_id":192603,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:05:28] local.INFO: Processing buffer {"connection_id":192603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:05:28] local.INFO: IMEI packet received {"connection_id":192603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":192603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:05:35] local.INFO: TCP Data received {"connection_id":192603,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:05:35] local.INFO: Processing buffer {"connection_id":192603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:05:35] local.INFO: IMEI packet received {"connection_id":192603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":192603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:05:38] local.INFO: TCP Data received {"connection_id":192603,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:05:38] local.INFO: Processing buffer {"connection_id":192603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:05:38] local.INFO: IMEI packet received {"connection_id":192603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":192603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:05:40] local.INFO: TCP Data received {"connection_id":192603,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:05:40] local.INFO: Processing buffer {"connection_id":192603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e4b5b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:05:40] local.INFO: Packet analysis {"connection_id":192603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e4"} 
[2026-09-24 11:05:40] local.INFO: Extracted packet for processing {"connection_id":192603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e4"} 
[2026-09-24 11:05:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298245376001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790227822000,"timestamp_ms":1790227822000,"timestamp_seconds":1790227822,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e4b5b0"} 
[2026-09-24 11:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 11:05:40] 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-09-24 11:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298245376001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298245376001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:05:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:05:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298245376001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":192603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:05:40] local.INFO: GPS data processed {"connection_id":192603,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:05:40] local.INFO: Acknowledgment sent {"connection_id":192603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:05:51] local.INFO: TCP Data received {"connection_id":191230,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:05:51] local.INFO: Processing buffer {"connection_id":191230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:05:51] local.INFO: IMEI packet received {"connection_id":191230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":191230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:05:51] local.INFO: TCP Data received {"connection_id":191230,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:05:51] local.INFO: Processing buffer {"connection_id":191230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:05:51] local.INFO: IMEI packet received {"connection_id":191230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":191230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:05:55] local.INFO: TCP Data received {"connection_id":191230,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:05:55] local.INFO: Processing buffer {"connection_id":191230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:05:55] local.INFO: IMEI packet received {"connection_id":191230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":191230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:05:56] local.INFO: TCP Data received {"connection_id":191230,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e86ae8012d1b58000724ee88002d015b19..."} 
[2026-09-24 11:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e86ae8012d1b58000724ee88002d015b19..."} 
[2026-09-24 11:05:56] local.INFO: Processing buffer {"connection_id":191230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e86ae8012d1b58000724ee88002d015b19..."} 
[2026-09-24 11:05:56] local.INFO: Packet analysis {"connection_id":191230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e8"} 
[2026-09-24 11:05:56] local.INFO: Extracted packet for processing {"connection_id":191230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e8"} 
[2026-09-24 11:05:56] local.INFO: GPS Element Parsed {"raw_longitude":756766720,"raw_latitude":119860872,"longitude_deg":75.676672,"latitude_deg":11.9860872,"altitude":45,"angle":347,"satellites":25,"speed":33,"hex_longitude":"2d1b5800","hex_latitude":"0724ee88","is_valid_coordinates":true} 
[2026-09-24 11:05: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-09-24 11:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298383104001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22853022765809664,"note":"Value kept but may cause issues"} 
[2026-09-24 11:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747080122931200,"note":"Value kept but may cause issues"} 
[2026-09-24 11:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790228065000,"timestamp_ms":1790228065000,"timestamp_seconds":1790228065,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e86ae8"} 
[2026-09-24 11:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-24 11:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:05: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-09-24 11:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":191230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":191230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":191230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298383104001,"66":14233,"136":206,"83":42752,"24":33,"16":22853022765809664,"45":1970747080122931200},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-24 11:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298383104001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:05:56] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-24 11:05:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22853022765809664,"km_value":22853022765809.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747080122931200,"description":"Unknown IO ID 45"} 
[2026-09-24 11:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298383104001,"power":14233,"unknown_136":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1970747080122931200}} 
[2026-09-24 11:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":191230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:05:56] local.INFO: GPS data processed {"connection_id":191230,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:05:56] local.INFO: Acknowledgment sent {"connection_id":191230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:06:14] local.INFO: TCP Data received {"connection_id":192603,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:06:14] local.INFO: Processing buffer {"connection_id":192603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:06:14] local.INFO: Packet analysis {"connection_id":192603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:06:14] local.INFO: Extracted packet for processing {"connection_id":192603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:06:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298322432001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790228122000,"timestamp_ms":1790228122000,"timestamp_seconds":1790228122,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e94990"} 
[2026-09-24 11:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":192603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":192603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":192603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298322432001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298322432001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:06:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:06:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298322432001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":192603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:06:14] local.INFO: GPS data processed {"connection_id":192603,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:06:14] local.INFO: Acknowledgment sent {"connection_id":192603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:06:27] local.INFO: TCP Data received {"connection_id":191230,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e9c2a8012d1b7500072595c80023012c1a..."} 
[2026-09-24 11:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e9c2a8012d1b7500072595c80023012c1a..."} 
[2026-09-24 11:06:27] local.INFO: Processing buffer {"connection_id":191230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e9c2a8012d1b7500072595c80023012c1a..."} 
[2026-09-24 11:06:27] local.INFO: Packet analysis {"connection_id":191230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:06:27] local.INFO: Extracted packet for processing {"connection_id":191230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:06:27] local.INFO: GPS Element Parsed {"raw_longitude":756774144,"raw_latitude":119903688,"longitude_deg":75.6774144,"latitude_deg":11.9903688,"altitude":35,"angle":300,"satellites":26,"speed":9,"hex_longitude":"2d1b7500","hex_latitude":"072595c8","is_valid_coordinates":true} 
[2026-09-24 11:06: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-09-24 11:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298406144001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855178839392256,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979261698180323328,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790228153000,"timestamp_ms":1790228153000,"timestamp_seconds":1790228153,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e9c2a8"} 
[2026-09-24 11:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-24 11:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:06: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-09-24 11:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298406144001,"66":13319,"216":206,"83":42752,"24":9,"16":22855178839392256,"45":1979261698180323328},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298406144001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:06:27] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:06:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855178839392256,"km_value":22855178839392.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979261698180323328,"description":"Unknown IO ID 45"} 
[2026-09-24 11:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298406144001,"power":13319,"unknown_216":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1979261698180323328}} 
[2026-09-24 11:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":191230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:06:27] local.INFO: GPS data processed {"connection_id":191230,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:06:27] local.INFO: Acknowledgment sent {"connection_id":191230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:06:34] local.INFO: TCP Data received {"connection_id":191034,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:06:34] local.INFO: Processing buffer {"connection_id":191034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:06:34] local.INFO: IMEI packet received {"connection_id":191034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":191034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:06:39] local.INFO: TCP Data received {"connection_id":191034,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:06:39] local.INFO: Processing buffer {"connection_id":191034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:06:39] local.INFO: IMEI packet received {"connection_id":191034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":191034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:06:39] local.INFO: TCP Data received {"connection_id":191034,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:06:39] local.INFO: Processing buffer {"connection_id":191034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:06:39] local.INFO: Packet analysis {"connection_id":191034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:06:39] local.INFO: Extracted packet for processing {"connection_id":191034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:06:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298322432001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790228122000,"timestamp_ms":1790228122000,"timestamp_seconds":1790228122,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e94990"} 
[2026-09-24 11:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:06:39] 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-09-24 11:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298322432001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298322432001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:06:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:06:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298322432001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":191034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:06:39] local.INFO: GPS data processed {"connection_id":191034,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:06:39] local.INFO: Acknowledgment sent {"connection_id":191034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:06:44] local.INFO: TCP Data received {"connection_id":191034,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:06:44] local.INFO: Processing buffer {"connection_id":191034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:06:44] local.INFO: Packet analysis {"connection_id":191034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:06:44] local.INFO: Extracted packet for processing {"connection_id":191034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298322432001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790228122000,"timestamp_ms":1790228122000,"timestamp_seconds":1790228122,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e94990"} 
[2026-09-24 11:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:06:44] 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-09-24 11:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298322432001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298322432001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:06:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:06:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298322432001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":191034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:06:44] local.INFO: GPS data processed {"connection_id":191034,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:06:44] local.INFO: Acknowledgment sent {"connection_id":191034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:06:46] local.INFO: TCP Data received {"connection_id":193904,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:06:46] local.INFO: Processing buffer {"connection_id":193904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:06:46] local.INFO: IMEI packet received {"connection_id":193904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":193904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:06:50] local.INFO: TCP Data received {"connection_id":193904,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:06:50] local.INFO: Processing buffer {"connection_id":193904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:06:50] local.INFO: IMEI packet received {"connection_id":193904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":193904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:06:50] local.INFO: TCP Data received {"connection_id":193904,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e9ca78012d1b7340072596e0002301371a..."} 
[2026-09-24 11:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e9ca78012d1b7340072596e0002301371a..."} 
[2026-09-24 11:06:50] local.INFO: Processing buffer {"connection_id":193904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e9ca78012d1b7340072596e0002301371a..."} 
[2026-09-24 11:06:50] local.INFO: Packet analysis {"connection_id":193904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:06:50] local.INFO: Extracted packet for processing {"connection_id":193904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:06:50] local.INFO: GPS Element Parsed {"raw_longitude":756773696,"raw_latitude":119903968,"longitude_deg":75.6773696,"latitude_deg":11.9903968,"altitude":35,"angle":311,"satellites":26,"speed":9,"hex_longitude":"2d1b7340","hex_latitude":"072596e0","is_valid_coordinates":true} 
[2026-09-24 11:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298407168001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855204609196032,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978487641994545152,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790228155000,"timestamp_ms":1790228155000,"timestamp_seconds":1790228155,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e9ca78"} 
[2026-09-24 11:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-24 11:06:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:50] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3521728864,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:50] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3915960321,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:50] local.WARNING: Large IO value detected {"io_id":37,"raw_value":6696852839175363072,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724304078,"corrected_to":0} 
[2026-09-24 11:06:50] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951403,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:50] local.WARNING: Large IO value detected {"io_id":185,"raw_value":57749838217761700,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:50] local.WARNING: Large IO value detected {"io_id":233,"raw_value":4174838147817439239,"note":"Value kept but may cause issues"} 
[2026-09-24 11:06:50] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,216,83,24,241,157,16,50,160,179,45,192,147,34,26,10,66,163,64,144,35,128,1,240,5,227,209,37,4,113,205,18,89,109,88,239,54,44,2,81,7,42,185,233],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":724304078,"validated":0}]} 
[2026-09-24 11:06:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522345756485550080,"timestamp_seconds":2522345756485550.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 11:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":193904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":193904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":193904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298407168001,"66":12950,"216":206,"83":42752,"24":9,"16":22855204609196032,"45":1978487641994545152},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298407168001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:06:50] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:06:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855204609196032,"km_value":22855204609196.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978487641994545152,"description":"Unknown IO ID 45"} 
[2026-09-24 11:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298407168001,"power":12950,"unknown_216":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1978487641994545152}} 
[2026-09-24 11:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":193904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:06:50] local.INFO: GPS data processed {"connection_id":193904,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:06:50] local.INFO: Acknowledgment sent {"connection_id":193904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:07:21] local.INFO: TCP Data received {"connection_id":193904,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e9d248012d1b7200072597b8002401251a..."} 
[2026-09-24 11:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e9d248012d1b7200072597b8002401251a..."} 
[2026-09-24 11:07:21] local.INFO: Processing buffer {"connection_id":193904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e9d248012d1b7200072597b8002401251a..."} 
[2026-09-24 11:07:21] local.INFO: Packet analysis {"connection_id":193904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:07:21] local.INFO: Extracted packet for processing {"connection_id":193904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:07:21] local.INFO: GPS Element Parsed {"raw_longitude":756773376,"raw_latitude":119904184,"longitude_deg":75.6773376,"latitude_deg":11.9904184,"altitude":36,"angle":293,"satellites":26,"speed":6,"hex_longitude":"2d1b7200","hex_latitude":"072597b8","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298407680001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855221789065216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060785373184,"note":"Value kept but may cause issues"} 
[2026-09-24 11:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790228157000,"timestamp_ms":1790228157000,"timestamp_seconds":1790228157,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e9d248"} 
[2026-09-24 11:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-24 11:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298407680001,"66":13276,"216":206,"83":42752,"24":6,"16":22855221789065216,"45":1977995060785373184},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298407680001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:07:21] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:07:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855221789065216,"km_value":22855221789065.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060785373184,"description":"Unknown IO ID 45"} 
[2026-09-24 11:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298407680001,"power":13276,"unknown_216":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1977995060785373184}} 
[2026-09-24 11:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":193904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:07:22] local.INFO: GPS data processed {"connection_id":193904,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:07:22] local.INFO: Acknowledgment sent {"connection_id":193904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:07:29] local.INFO: TCP Data received {"connection_id":191231,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:07:29] local.INFO: Processing buffer {"connection_id":191231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:07:29] local.INFO: IMEI packet received {"connection_id":191231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":191231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:07:34] local.INFO: TCP Data received {"connection_id":191231,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:07:34] local.INFO: Processing buffer {"connection_id":191231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:07:34] local.INFO: IMEI packet received {"connection_id":191231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":191231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:07:35] local.INFO: TCP Data received {"connection_id":191231,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:07:35] local.INFO: Processing buffer {"connection_id":191231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:07:35] local.INFO: Packet analysis {"connection_id":191231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:07:35] local.INFO: Extracted packet for processing {"connection_id":191231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298322432001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790228122000,"timestamp_ms":1790228122000,"timestamp_seconds":1790228122,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e94990"} 
[2026-09-24 11:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:07:35] 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-09-24 11:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298322432001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298322432001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:07:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:07:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298322432001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":191231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:07:35] local.INFO: GPS data processed {"connection_id":191231,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:07:35] local.INFO: Acknowledgment sent {"connection_id":191231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:07:45] local.INFO: TCP Data received {"connection_id":192604,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:07:45] local.INFO: Processing buffer {"connection_id":192604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:07:45] local.INFO: IMEI packet received {"connection_id":192604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":192604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:07:51] local.INFO: TCP Data received {"connection_id":192604,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:07:51] local.INFO: Processing buffer {"connection_id":192604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:07:51] local.INFO: IMEI packet received {"connection_id":192604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":192604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:07:51] local.INFO: TCP Data received {"connection_id":192604,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ea1c80012d1b7180072597f8002501251a..."} 
[2026-09-24 11:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ea1c80012d1b7180072597f8002501251a..."} 
[2026-09-24 11:07:51] local.INFO: Processing buffer {"connection_id":192604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ea1c80012d1b7180072597f8002501251a..."} 
[2026-09-24 11:07:51] local.INFO: Packet analysis {"connection_id":192604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ea"} 
[2026-09-24 11:07:51] local.INFO: Extracted packet for processing {"connection_id":192604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ea"} 
[2026-09-24 11:07:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":26,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298408192001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977643217064540160,"note":"Value kept but may cause issues"} 
[2026-09-24 11:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790228176000,"timestamp_ms":1790228176000,"timestamp_seconds":1790228176,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ea1c80"} 
[2026-09-24 11:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-24 11:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:07: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-09-24 11:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298408192001,"66":13276,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977643217064540160},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298408192001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:07:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:07:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977643217064540160,"description":"Unknown IO ID 45"} 
[2026-09-24 11:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298408192001,"power":13276,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977643217064540160}} 
[2026-09-24 11:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":192604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:07:51] local.INFO: GPS data processed {"connection_id":192604,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:07:51] local.INFO: Acknowledgment sent {"connection_id":192604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:08:07] local.INFO: TCP Data received {"connection_id":191231,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:08:07] local.INFO: Processing buffer {"connection_id":191231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:08:07] local.INFO: Packet analysis {"connection_id":191231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:08:07] local.INFO: Extracted packet for processing {"connection_id":191231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:08:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298322432001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790228122000,"timestamp_ms":1790228122000,"timestamp_seconds":1790228122,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e94990"} 
[2026-09-24 11:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298322432001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298322432001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:08:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:08:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298322432001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":191231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:08:07] local.INFO: GPS data processed {"connection_id":191231,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:08:07] local.INFO: Acknowledgment sent {"connection_id":191231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:08:22] local.INFO: TCP Data received {"connection_id":192604,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ea6aa0012d1b7180072597f8002501251b..."} 
[2026-09-24 11:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ea6aa0012d1b7180072597f8002501251b..."} 
[2026-09-24 11:08:22] local.INFO: Processing buffer {"connection_id":192604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ea6aa0012d1b7180072597f8002501251b..."} 
[2026-09-24 11:08:22] local.INFO: Packet analysis {"connection_id":192604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ea"} 
[2026-09-24 11:08:22] local.INFO: Extracted packet for processing {"connection_id":192604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ea"} 
[2026-09-24 11:08:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":27,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298413056001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790228196000,"timestamp_ms":1790228196000,"timestamp_seconds":1790228196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ea6aa0"} 
[2026-09-24 11:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-24 11:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298413056001,"66":13156,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298413056001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:08:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:08:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298413056001,"power":13156,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":192604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:08:22] local.INFO: GPS data processed {"connection_id":192604,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:08:22] local.INFO: Acknowledgment sent {"connection_id":192604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:08:29] local.INFO: TCP Data received {"connection_id":191233,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:08:29] local.INFO: Processing buffer {"connection_id":191233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:08:29] local.INFO: IMEI packet received {"connection_id":191233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":191233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:08:34] local.INFO: TCP Data received {"connection_id":191233,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:08:34] local.INFO: Processing buffer {"connection_id":191233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:08:34] local.INFO: IMEI packet received {"connection_id":191233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":191233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:08:36] local.INFO: TCP Data received {"connection_id":191233,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:08:36] local.INFO: Processing buffer {"connection_id":191233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:08:36] local.INFO: Packet analysis {"connection_id":191233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:08:36] local.INFO: Extracted packet for processing {"connection_id":191233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298322432001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790228122000,"timestamp_ms":1790228122000,"timestamp_seconds":1790228122,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e94990"} 
[2026-09-24 11:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298322432001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298322432001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:08:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298322432001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":191233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:08:36] local.INFO: GPS data processed {"connection_id":191233,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:08:36] local.INFO: Acknowledgment sent {"connection_id":191233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:08:45] local.INFO: TCP Data received {"connection_id":191234,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:08:45] local.INFO: Processing buffer {"connection_id":191234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:08:45] local.INFO: IMEI packet received {"connection_id":191234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":191234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:08:50] local.INFO: TCP Data received {"connection_id":191234,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:08:50] local.INFO: Processing buffer {"connection_id":191234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:08:50] local.INFO: IMEI packet received {"connection_id":191234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":191234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:08:51] local.INFO: TCP Data received {"connection_id":191234,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1eab4d8012d1b7180072597f8002501251d..."} 
[2026-09-24 11:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1eab4d8012d1b7180072597f8002501251d..."} 
[2026-09-24 11:08:51] local.INFO: Processing buffer {"connection_id":191234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1eab4d8012d1b7180072597f8002501251d..."} 
[2026-09-24 11:08:51] local.INFO: Packet analysis {"connection_id":191234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ea"} 
[2026-09-24 11:08:51] local.INFO: Extracted packet for processing {"connection_id":191234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ea"} 
[2026-09-24 11:08:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":29,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298418176001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790228215000,"timestamp_ms":1790228215000,"timestamp_seconds":1790228215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1eab4d8"} 
[2026-09-24 11:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-24 11:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298418176001,"66":13156,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298418176001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:08:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:08:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298418176001,"power":13156,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":191234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:08:51] local.INFO: GPS data processed {"connection_id":191234,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:08:51] local.INFO: Acknowledgment sent {"connection_id":191234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:09:08] local.INFO: TCP Data received {"connection_id":191233,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:09:08] local.INFO: Processing buffer {"connection_id":191233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:09:08] local.INFO: Packet analysis {"connection_id":191233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:09:08] local.INFO: Extracted packet for processing {"connection_id":191233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298322432001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790228122000,"timestamp_ms":1790228122000,"timestamp_seconds":1790228122,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e94990"} 
[2026-09-24 11:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:09:08] 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-09-24 11:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298322432001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298322432001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:09:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298322432001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":191233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:09:08] local.INFO: GPS data processed {"connection_id":191233,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:09:08] local.INFO: Acknowledgment sent {"connection_id":191233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:09:23] local.INFO: TCP Data received {"connection_id":191234,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1eaff10012d1b7180072597f8002501251c..."} 
[2026-09-24 11:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1eaff10012d1b7180072597f8002501251c..."} 
[2026-09-24 11:09:23] local.INFO: Processing buffer {"connection_id":191234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1eaff10012d1b7180072597f8002501251c..."} 
[2026-09-24 11:09:23] local.INFO: Packet analysis {"connection_id":191234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ea"} 
[2026-09-24 11:09:23] local.INFO: Extracted packet for processing {"connection_id":191234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ea"} 
[2026-09-24 11:09:23] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":28,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:09: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-09-24 11:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298423040001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790228234000,"timestamp_ms":1790228234000,"timestamp_seconds":1790228234,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1eaff10"} 
[2026-09-24 11:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-24 11:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:09: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-09-24 11:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298423040001,"66":13091,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298423040001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:09:23] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:09:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298423040001,"power":13091,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":191234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:09:23] local.INFO: GPS data processed {"connection_id":191234,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:09:23] local.INFO: Acknowledgment sent {"connection_id":191234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:09:28] local.INFO: TCP Data received {"connection_id":191235,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:09:28] local.INFO: Processing buffer {"connection_id":191235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:09:28] local.INFO: IMEI packet received {"connection_id":191235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":191235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:09:33] local.INFO: TCP Data received {"connection_id":191235,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:09:33] local.INFO: Processing buffer {"connection_id":191235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:09:33] local.INFO: IMEI packet received {"connection_id":191235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":191235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:09:35] local.INFO: TCP Data received {"connection_id":191235,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:09:35] local.INFO: Processing buffer {"connection_id":191235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:09:35] local.INFO: Packet analysis {"connection_id":191235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:09:35] local.INFO: Extracted packet for processing {"connection_id":191235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:09:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298322432001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790228122000,"timestamp_ms":1790228122000,"timestamp_seconds":1790228122,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e94990"} 
[2026-09-24 11:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:09:35] 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-09-24 11:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298322432001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298322432001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:09:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:09:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298322432001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":191235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:09:35] local.INFO: GPS data processed {"connection_id":191235,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:09:35] local.INFO: Acknowledgment sent {"connection_id":191235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:09:44] local.INFO: TCP Data received {"connection_id":193905,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:09:44] local.INFO: Processing buffer {"connection_id":193905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:09:44] local.INFO: IMEI packet received {"connection_id":193905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 11:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":193905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:09:50] local.INFO: TCP Data received {"connection_id":191236,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:09:50] local.INFO: Processing buffer {"connection_id":191236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:09:50] local.INFO: IMEI packet received {"connection_id":191236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":191236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:09:55] local.INFO: TCP Data received {"connection_id":191236,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:09:55] local.INFO: Processing buffer {"connection_id":191236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:09:55] local.INFO: IMEI packet received {"connection_id":191236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":191236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:09:56] local.INFO: TCP Data received {"connection_id":191236,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1eb4d30012d1b7180072597f8002501251c..."} 
[2026-09-24 11:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1eb4d30012d1b7180072597f8002501251c..."} 
[2026-09-24 11:09:56] local.INFO: Processing buffer {"connection_id":191236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1eb4d30012d1b7180072597f8002501251c..."} 
[2026-09-24 11:09:56] local.INFO: Packet analysis {"connection_id":191236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1eb"} 
[2026-09-24 11:09:56] local.INFO: Extracted packet for processing {"connection_id":191236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1eb"} 
[2026-09-24 11:09:56] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":28,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298427904001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790228254000,"timestamp_ms":1790228254000,"timestamp_seconds":1790228254,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1eb4d30"} 
[2026-09-24 11:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-24 11:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":191236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":191236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":191236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298427904001,"66":13059,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298427904001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:09:56] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:09:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298427904001,"power":13059,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":191236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:09:56] local.INFO: GPS data processed {"connection_id":191236,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:09:56] local.INFO: Acknowledgment sent {"connection_id":191236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:10:07] local.INFO: TCP Data received {"connection_id":191235,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:10:07] local.INFO: Processing buffer {"connection_id":191235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:10:07] local.INFO: Packet analysis {"connection_id":191235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:10:07] local.INFO: Extracted packet for processing {"connection_id":191235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:10:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298322432001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790228122000,"timestamp_ms":1790228122000,"timestamp_seconds":1790228122,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e94990"} 
[2026-09-24 11:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298322432001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298322432001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:10:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:10:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298322432001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":191235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:10:07] local.INFO: GPS data processed {"connection_id":191235,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:10:07] local.INFO: Acknowledgment sent {"connection_id":191235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:10:10] local.INFO: TCP Data received {"connection_id":191237,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:10:10] local.INFO: Processing buffer {"connection_id":191237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:10:10] local.INFO: IMEI packet received {"connection_id":191237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 11:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":191237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:10:27] local.INFO: TCP Data received {"connection_id":191236,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1eb9768012d1b7180072597f8002501251d..."} 
[2026-09-24 11:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1eb9768012d1b7180072597f8002501251d..."} 
[2026-09-24 11:10:27] local.INFO: Processing buffer {"connection_id":191236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1eb9768012d1b7180072597f8002501251d..."} 
[2026-09-24 11:10:27] local.INFO: Packet analysis {"connection_id":191236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1eb"} 
[2026-09-24 11:10:27] local.INFO: Extracted packet for processing {"connection_id":191236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1eb"} 
[2026-09-24 11:10:27] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":29,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:10: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-09-24 11:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298433024001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790228273000,"timestamp_ms":1790228273000,"timestamp_seconds":1790228273,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1eb9768"} 
[2026-09-24 11:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-24 11:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161184144746,"note":"Value kept but may cause issues"} 
[2026-09-24 11:10:27] local.WARNING: Large IO value detected {"io_id":216,"raw_value":58075821928611849,"note":"Value kept but may cause issues"} 
[2026-09-24 11:10:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:10:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 11:10:27] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-09-24 11:10:27] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3521759864,"note":"Value kept but may cause issues"} 
[2026-09-24 11:10:27] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2549612581,"note":"Value kept but may cause issues"} 
[2026-09-24 11:10:27] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3927736321,"note":"Value kept but may cause issues"} 
[2026-09-24 11:10:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-09-24 11:10:27] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040106,"note":"Value kept but may cause issues"} 
[2026-09-24 11:10:27] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,216,83,24,241,157,16,50,160,255,45,128,151,37,28,10,66,180,29,106,1,240,100,227,209,4,113,205,210,114,184,26,239,51,2,81,7,35,9],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1792540878,"validated":0}]} 
[2026-09-24 11:10:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2666453256569356288,"timestamp_seconds":2666453256569356.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 11:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298433024001,"66":13015,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298433024001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:10:27] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:10:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298433024001,"power":13015,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":191236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:10:27] local.INFO: GPS data processed {"connection_id":191236,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:10:27] local.INFO: Acknowledgment sent {"connection_id":191236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:10:28] local.INFO: TCP Data received {"connection_id":193906,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:10:28] local.INFO: Processing buffer {"connection_id":193906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:10:28] local.INFO: IMEI packet received {"connection_id":193906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":193906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:10:34] local.INFO: TCP Data received {"connection_id":193906,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:10:34] local.INFO: Processing buffer {"connection_id":193906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:10:34] local.INFO: IMEI packet received {"connection_id":193906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":193906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:10:35] local.INFO: TCP Data received {"connection_id":193906,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:10:35] local.INFO: Processing buffer {"connection_id":193906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1e94990012d34c14006aa4940000900f528..."} 
[2026-09-24 11:10:35] local.INFO: Packet analysis {"connection_id":193906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:10:35] local.INFO: Extracted packet for processing {"connection_id":193906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1e9"} 
[2026-09-24 11:10:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298322432001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790228122000,"timestamp_ms":1790228122000,"timestamp_seconds":1790228122,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1e94990"} 
[2026-09-24 11:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:10:35] 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-09-24 11: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-09-24 11:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298322432001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298322432001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:10:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:10:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298322432001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":193906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:10:35] local.INFO: GPS data processed {"connection_id":193906,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:10:35] local.INFO: Acknowledgment sent {"connection_id":193906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:10:45] local.INFO: TCP Data received {"connection_id":191035,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:10:45] local.INFO: Processing buffer {"connection_id":191035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:10:45] local.INFO: IMEI packet received {"connection_id":191035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":191035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:10:50] local.INFO: TCP Data received {"connection_id":191035,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:10:50] local.INFO: Processing buffer {"connection_id":191035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:10:50] local.INFO: IMEI packet received {"connection_id":191035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":191035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:10:51] local.INFO: TCP Data received {"connection_id":191035,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ebe1a0012d1b7180072597f8002501251e..."} 
[2026-09-24 11:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ebe1a0012d1b7180072597f8002501251e..."} 
[2026-09-24 11:10:51] local.INFO: Processing buffer {"connection_id":191035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ebe1a0012d1b7180072597f8002501251e..."} 
[2026-09-24 11:10:51] local.INFO: Packet analysis {"connection_id":191035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1eb"} 
[2026-09-24 11:10:51] local.INFO: Extracted packet for processing {"connection_id":191035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1eb"} 
[2026-09-24 11:10:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":30,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298437888001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790228292000,"timestamp_ms":1790228292000,"timestamp_seconds":1790228292,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ebe1a0"} 
[2026-09-24 11:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-24 11:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298437888001,"66":13015,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298437888001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:10:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:10:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298437888001,"power":13015,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":191035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:10:51] local.INFO: GPS data processed {"connection_id":191035,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:10:51] local.INFO: Acknowledgment sent {"connection_id":191035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:11:07] local.INFO: TCP Data received {"connection_id":193906,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:11:07] local.INFO: Processing buffer {"connection_id":193906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:11:07] local.INFO: Packet analysis {"connection_id":193906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:11:07] local.INFO: Extracted packet for processing {"connection_id":193906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:11:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298399232001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790228424000,"timestamp_ms":1790228424000,"timestamp_seconds":1790228424,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ede540"} 
[2026-09-24 11:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 11:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298399232001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298399232001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:11:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:11:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298399232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":193906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:11:07] local.INFO: GPS data processed {"connection_id":193906,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:11:07] local.INFO: Acknowledgment sent {"connection_id":193906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:11:22] local.INFO: TCP Data received {"connection_id":191035,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ec2fc0012d1b7180072597f8002501251b..."} 
[2026-09-24 11:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ec2fc0012d1b7180072597f8002501251b..."} 
[2026-09-24 11:11:22] local.INFO: Processing buffer {"connection_id":191035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ec2fc0012d1b7180072597f8002501251b..."} 
[2026-09-24 11:11:22] local.INFO: Packet analysis {"connection_id":191035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ec"} 
[2026-09-24 11:11:22] local.INFO: Extracted packet for processing {"connection_id":191035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ec"} 
[2026-09-24 11:11:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":27,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298442752001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790228312000,"timestamp_ms":1790228312000,"timestamp_seconds":1790228312,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ec2fc0"} 
[2026-09-24 11:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-24 11:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298442752001,"66":12961,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298442752001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:11:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:11:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298442752001,"power":12961,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":191035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:11:22] local.INFO: GPS data processed {"connection_id":191035,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:11:22] local.INFO: Acknowledgment sent {"connection_id":191035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:11:34] local.INFO: TCP Data received {"connection_id":191238,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:11:34] local.INFO: Processing buffer {"connection_id":191238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:11:34] local.INFO: IMEI packet received {"connection_id":191238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":191238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:11:39] local.INFO: TCP Data received {"connection_id":191238,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:11:39] local.INFO: Processing buffer {"connection_id":191238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:11:39] local.INFO: IMEI packet received {"connection_id":191238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":191238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:11:40] local.INFO: TCP Data received {"connection_id":191238,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:11:40] local.INFO: Processing buffer {"connection_id":191238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:11:40] local.INFO: Packet analysis {"connection_id":191238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:11:40] local.INFO: Extracted packet for processing {"connection_id":191238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:11:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298399232001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790228424000,"timestamp_ms":1790228424000,"timestamp_seconds":1790228424,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ede540"} 
[2026-09-24 11:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 11:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298399232001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298399232001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:11:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:11:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298399232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":191238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:11:40] local.INFO: GPS data processed {"connection_id":191238,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:11:40] local.INFO: Acknowledgment sent {"connection_id":191238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:11:43] local.INFO: TCP Data received {"connection_id":191036,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:11:43] local.INFO: Processing buffer {"connection_id":191036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:11:43] local.INFO: IMEI packet received {"connection_id":191036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":191036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:11:45] local.INFO: TCP Data received {"connection_id":191036,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:11:45] local.INFO: Processing buffer {"connection_id":191036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:11:45] local.INFO: IMEI packet received {"connection_id":191036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":191036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:11:50] local.INFO: TCP Data received {"connection_id":191036,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:11:50] local.INFO: Processing buffer {"connection_id":191036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:11:50] local.INFO: IMEI packet received {"connection_id":191036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":191036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:11:51] local.INFO: TCP Data received {"connection_id":191036,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ec79f8012d1b7180072597f8002501251f..."} 
[2026-09-24 11:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ec79f8012d1b7180072597f8002501251f..."} 
[2026-09-24 11:11:51] local.INFO: Processing buffer {"connection_id":191036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ec79f8012d1b7180072597f8002501251f..."} 
[2026-09-24 11:11:51] local.INFO: Packet analysis {"connection_id":191036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ec"} 
[2026-09-24 11:11:51] local.INFO: Extracted packet for processing {"connection_id":191036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ec"} 
[2026-09-24 11:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":31,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298447872001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790228331000,"timestamp_ms":1790228331000,"timestamp_seconds":1790228331,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ec79f8"} 
[2026-09-24 11:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-24 11:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298447872001,"66":12950,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298447872001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:11:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:11:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298447872001,"power":12950,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":191036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:11:51] local.INFO: GPS data processed {"connection_id":191036,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:11:51] local.INFO: Acknowledgment sent {"connection_id":191036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:12:12] local.INFO: TCP Data received {"connection_id":191238,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:12:12] local.INFO: Processing buffer {"connection_id":191238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:12:12] local.INFO: Packet analysis {"connection_id":191238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:12:12] local.INFO: Extracted packet for processing {"connection_id":191238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:12:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298399232001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790228424000,"timestamp_ms":1790228424000,"timestamp_seconds":1790228424,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ede540"} 
[2026-09-24 11:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 11:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298399232001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298399232001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:12:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:12:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298399232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":191238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:12:12] local.INFO: GPS data processed {"connection_id":191238,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:12:12] local.INFO: Acknowledgment sent {"connection_id":191238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:12:22] local.INFO: TCP Data received {"connection_id":191036,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ecc818012d1b7180072597f8002501251e..."} 
[2026-09-24 11:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ecc818012d1b7180072597f8002501251e..."} 
[2026-09-24 11:12:22] local.INFO: Processing buffer {"connection_id":191036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ecc818012d1b7180072597f8002501251e..."} 
[2026-09-24 11:12:22] local.INFO: Packet analysis {"connection_id":191036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ec"} 
[2026-09-24 11:12:22] local.INFO: Extracted packet for processing {"connection_id":191036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ec"} 
[2026-09-24 11:12:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":30,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298452736001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790228351000,"timestamp_ms":1790228351000,"timestamp_seconds":1790228351,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ecc818"} 
[2026-09-24 11:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-24 11:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298452736001,"66":12939,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298452736001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:12:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:12:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298452736001,"power":12939,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":191036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:12:22] local.INFO: GPS data processed {"connection_id":191036,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:12:22] local.INFO: Acknowledgment sent {"connection_id":191036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:12:29] local.INFO: TCP Data received {"connection_id":191239,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:12:29] local.INFO: Processing buffer {"connection_id":191239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:12:29] local.INFO: IMEI packet received {"connection_id":191239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":191239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:12:34] local.INFO: TCP Data received {"connection_id":191239,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:12:34] local.INFO: Processing buffer {"connection_id":191239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:12:34] local.INFO: IMEI packet received {"connection_id":191239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":191239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:12:35] local.INFO: TCP Data received {"connection_id":191239,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:12:35] local.INFO: Processing buffer {"connection_id":191239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:12:35] local.INFO: Packet analysis {"connection_id":191239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:12:35] local.INFO: Extracted packet for processing {"connection_id":191239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298399232001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790228424000,"timestamp_ms":1790228424000,"timestamp_seconds":1790228424,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ede540"} 
[2026-09-24 11:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 11:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298399232001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298399232001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:12:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:12:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298399232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":191239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:12:35] local.INFO: GPS data processed {"connection_id":191239,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:12:35] local.INFO: Acknowledgment sent {"connection_id":191239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:12:45] local.INFO: TCP Data received {"connection_id":192606,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:12:45] local.INFO: Processing buffer {"connection_id":192606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:12:45] local.INFO: IMEI packet received {"connection_id":192606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":192606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:12:46] local.INFO: TCP Data received {"connection_id":192606,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:12:46] local.INFO: Processing buffer {"connection_id":192606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:12:46] local.INFO: IMEI packet received {"connection_id":192606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":192606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:12:51] local.INFO: TCP Data received {"connection_id":192606,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:12:51] local.INFO: Processing buffer {"connection_id":192606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:12:51] local.INFO: IMEI packet received {"connection_id":192606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":192606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:12:51] local.INFO: TCP Data received {"connection_id":192606,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ed1250012d1b7180072597f8002501251e..."} 
[2026-09-24 11:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ed1250012d1b7180072597f8002501251e..."} 
[2026-09-24 11:12:51] local.INFO: Processing buffer {"connection_id":192606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ed1250012d1b7180072597f8002501251e..."} 
[2026-09-24 11:12:51] local.INFO: Packet analysis {"connection_id":192606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:12:51] local.INFO: Extracted packet for processing {"connection_id":192606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:12:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":30,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298457856001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790228370000,"timestamp_ms":1790228370000,"timestamp_seconds":1790228370,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ed1250"} 
[2026-09-24 11:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-24 11:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298457856001,"66":12885,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298457856001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:12:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:12:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298457856001,"power":12885,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":192606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:12:51] local.INFO: GPS data processed {"connection_id":192606,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:12:51] local.INFO: Acknowledgment sent {"connection_id":192606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:13:06] local.INFO: TCP Data received {"connection_id":191239,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:13:06] local.INFO: Processing buffer {"connection_id":191239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:13:06] local.INFO: Packet analysis {"connection_id":191239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:13:06] local.INFO: Extracted packet for processing {"connection_id":191239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:13:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298399232001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790228424000,"timestamp_ms":1790228424000,"timestamp_seconds":1790228424,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ede540"} 
[2026-09-24 11:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 11:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298399232001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298399232001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:13:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:13:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298399232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":191239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:13:06] local.INFO: GPS data processed {"connection_id":191239,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:13:06] local.INFO: Acknowledgment sent {"connection_id":191239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:13:22] local.INFO: TCP Data received {"connection_id":192606,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ed6070012d1b7180072597f8002501251d..."} 
[2026-09-24 11:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ed6070012d1b7180072597f8002501251d..."} 
[2026-09-24 11:13:22] local.INFO: Processing buffer {"connection_id":192606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ed6070012d1b7180072597f8002501251d..."} 
[2026-09-24 11:13:22] local.INFO: Packet analysis {"connection_id":192606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:13:22] local.INFO: Extracted packet for processing {"connection_id":192606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:13:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":29,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298462720001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790228390000,"timestamp_ms":1790228390000,"timestamp_seconds":1790228390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ed6070"} 
[2026-09-24 11:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-24 11:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298462720001,"66":12885,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298462720001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:13:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:13:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298462720001,"power":12885,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":192606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:13:23] local.INFO: GPS data processed {"connection_id":192606,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:13:23] local.INFO: Acknowledgment sent {"connection_id":192606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:13:29] local.INFO: TCP Data received {"connection_id":192607,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:13:29] local.INFO: Processing buffer {"connection_id":192607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:13:29] local.INFO: IMEI packet received {"connection_id":192607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":192607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:13:34] local.INFO: TCP Data received {"connection_id":192607,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:13:34] local.INFO: Processing buffer {"connection_id":192607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:13:34] local.INFO: IMEI packet received {"connection_id":192607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":192607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:13:36] local.INFO: TCP Data received {"connection_id":192607,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:13:36] local.INFO: Processing buffer {"connection_id":192607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:13:36] local.INFO: Packet analysis {"connection_id":192607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:13:36] local.INFO: Extracted packet for processing {"connection_id":192607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298399232001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790228424000,"timestamp_ms":1790228424000,"timestamp_seconds":1790228424,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ede540"} 
[2026-09-24 11:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 11:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298399232001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298399232001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:13:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:13:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298399232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":192607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:13:36] local.INFO: GPS data processed {"connection_id":192607,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:13:36] local.INFO: Acknowledgment sent {"connection_id":192607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:13:45] local.INFO: TCP Data received {"connection_id":192608,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:13:45] local.INFO: Processing buffer {"connection_id":192608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:13:45] local.INFO: IMEI packet received {"connection_id":192608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":192608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:13:49] local.INFO: TCP Data received {"connection_id":192608,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:13:49] local.INFO: Processing buffer {"connection_id":192608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:13:49] local.INFO: IMEI packet received {"connection_id":192608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":192608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:13:50] local.INFO: TCP Data received {"connection_id":192608,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1edae90012d1b7180072597f8002501251f..."} 
[2026-09-24 11:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1edae90012d1b7180072597f8002501251f..."} 
[2026-09-24 11:13:50] local.INFO: Processing buffer {"connection_id":192608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1edae90012d1b7180072597f8002501251f..."} 
[2026-09-24 11:13:50] local.INFO: Packet analysis {"connection_id":192608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:13:50] local.INFO: Extracted packet for processing {"connection_id":192608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:13:50] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":31,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298467840001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790228410000,"timestamp_ms":1790228410000,"timestamp_seconds":1790228410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1edae90"} 
[2026-09-24 11:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-24 11:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298467840001,"66":12863,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298467840001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:13:50] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:13:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298467840001,"power":12863,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":192608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:13:50] local.INFO: GPS data processed {"connection_id":192608,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:13:50] local.INFO: Acknowledgment sent {"connection_id":192608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:14:07] local.INFO: TCP Data received {"connection_id":192607,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:14:08] local.INFO: Processing buffer {"connection_id":192607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:14:08] local.INFO: Packet analysis {"connection_id":192607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:14:08] local.INFO: Extracted packet for processing {"connection_id":192607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:14:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 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-09-24 11:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298399232001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790228424000,"timestamp_ms":1790228424000,"timestamp_seconds":1790228424,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ede540"} 
[2026-09-24 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-09-24 11:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 11:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 11:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298399232001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298399232001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:14:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:14:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298399232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":192607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:14:08] local.INFO: GPS data processed {"connection_id":192607,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:14:08] local.INFO: Acknowledgment sent {"connection_id":192607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:14:21] local.INFO: TCP Data received {"connection_id":192608,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1edfcb0012d1b7180072597f8002501251f..."} 
[2026-09-24 11:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1edfcb0012d1b7180072597f8002501251f..."} 
[2026-09-24 11:14:21] local.INFO: Processing buffer {"connection_id":192608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1edfcb0012d1b7180072597f8002501251f..."} 
[2026-09-24 11:14:21] local.INFO: Packet analysis {"connection_id":192608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:14:21] local.INFO: Extracted packet for processing {"connection_id":192608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:14:21] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":31,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298472960001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790228430000,"timestamp_ms":1790228430000,"timestamp_seconds":1790228430,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1edfcb0"} 
[2026-09-24 11:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-24 11:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":192608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":192608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":192608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298472960001,"66":12863,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298472960001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:14:21] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:14:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298472960001,"power":12863,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":192608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:14:21] local.INFO: GPS data processed {"connection_id":192608,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:14:21] local.INFO: Acknowledgment sent {"connection_id":192608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:14:28] local.INFO: TCP Data received {"connection_id":191037,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:14:28] local.INFO: Processing buffer {"connection_id":191037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:14:28] local.INFO: IMEI packet received {"connection_id":191037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":191037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:14:34] local.INFO: TCP Data received {"connection_id":191037,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:14:34] local.INFO: Processing buffer {"connection_id":191037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:14:34] local.INFO: IMEI packet received {"connection_id":191037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":191037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:14:35] local.INFO: TCP Data received {"connection_id":191037,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:14:35] local.INFO: Processing buffer {"connection_id":191037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:14:35] local.INFO: Packet analysis {"connection_id":191037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:14:35] local.INFO: Extracted packet for processing {"connection_id":191037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298399232001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790228424000,"timestamp_ms":1790228424000,"timestamp_seconds":1790228424,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ede540"} 
[2026-09-24 11:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 11:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298399232001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298399232001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:14:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:14:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298399232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":191037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:14:35] local.INFO: GPS data processed {"connection_id":191037,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:14:35] local.INFO: Acknowledgment sent {"connection_id":191037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:14:45] local.INFO: TCP Data received {"connection_id":192610,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:14:45] local.INFO: Processing buffer {"connection_id":192610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:14:45] local.INFO: IMEI packet received {"connection_id":192610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":192610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:14:50] local.INFO: TCP Data received {"connection_id":192610,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:14:50] local.INFO: Processing buffer {"connection_id":192610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:14:50] local.INFO: IMEI packet received {"connection_id":192610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":192610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:14:53] local.INFO: TCP Data received {"connection_id":192610,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ee46e8012d1b7180072597f8002501251f..."} 
[2026-09-24 11:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ee46e8012d1b7180072597f8002501251f..."} 
[2026-09-24 11:14:53] local.INFO: Processing buffer {"connection_id":192610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ee46e8012d1b7180072597f8002501251f..."} 
[2026-09-24 11:14:53] local.INFO: Packet analysis {"connection_id":192610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ee"} 
[2026-09-24 11:14:53] local.INFO: Extracted packet for processing {"connection_id":192610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ee"} 
[2026-09-24 11:14:53] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":31,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298478080001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790228449000,"timestamp_ms":1790228449000,"timestamp_seconds":1790228449,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ee46e8"} 
[2026-09-24 11:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-24 11:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":192610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":192610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":192610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298478080001,"66":12798,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298478080001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:14:53] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:14:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298478080001,"power":12798,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":192610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:14:54] local.INFO: GPS data processed {"connection_id":192610,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:14:54] local.INFO: Acknowledgment sent {"connection_id":192610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:15:08] local.INFO: TCP Data received {"connection_id":191037,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:15:08] local.INFO: Processing buffer {"connection_id":191037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:15:08] local.INFO: Packet analysis {"connection_id":191037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:15:08] local.INFO: Extracted packet for processing {"connection_id":191037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:15:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298399232001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790228424000,"timestamp_ms":1790228424000,"timestamp_seconds":1790228424,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ede540"} 
[2026-09-24 11:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 11:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298399232001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298399232001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:15:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:15:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298399232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":191037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:15:08] local.INFO: GPS data processed {"connection_id":191037,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:15:08] local.INFO: Acknowledgment sent {"connection_id":191037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:15:25] local.INFO: TCP Data received {"connection_id":192610,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ee9508012d1b7180072597f8002501251e..."} 
[2026-09-24 11:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ee9508012d1b7180072597f8002501251e..."} 
[2026-09-24 11:15:25] local.INFO: Processing buffer {"connection_id":192610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ee9508012d1b7180072597f8002501251e..."} 
[2026-09-24 11:15:25] local.INFO: Packet analysis {"connection_id":192610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ee"} 
[2026-09-24 11:15:25] local.INFO: Extracted packet for processing {"connection_id":192610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ee"} 
[2026-09-24 11:15:25] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":30,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298482944001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790228469000,"timestamp_ms":1790228469000,"timestamp_seconds":1790228469,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ee9508"} 
[2026-09-24 11:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 11:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":192610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":192610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":192610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298482944001,"66":12809,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298482944001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:15:25] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:15:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298482944001,"power":12809,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":192610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:15:25] local.INFO: GPS data processed {"connection_id":192610,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:15:25] local.INFO: Acknowledgment sent {"connection_id":192610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:15:34] local.INFO: TCP Data received {"connection_id":192611,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:15:34] local.INFO: Processing buffer {"connection_id":192611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:15:34] local.INFO: IMEI packet received {"connection_id":192611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":192611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:15:39] local.INFO: TCP Data received {"connection_id":192611,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:15:39] local.INFO: Processing buffer {"connection_id":192611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:15:39] local.INFO: IMEI packet received {"connection_id":192611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":192611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:15:40] local.INFO: TCP Data received {"connection_id":192611,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:15:40] local.INFO: Processing buffer {"connection_id":192611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:15:40] local.INFO: Packet analysis {"connection_id":192611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:15:40] local.INFO: Extracted packet for processing {"connection_id":192611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:15:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298399232001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790228424000,"timestamp_ms":1790228424000,"timestamp_seconds":1790228424,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ede540"} 
[2026-09-24 11:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 11:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298399232001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298399232001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:15:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:15:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298399232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":192611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:15:40] local.INFO: GPS data processed {"connection_id":192611,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:15:40] local.INFO: Acknowledgment sent {"connection_id":192611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:15:45] local.INFO: TCP Data received {"connection_id":192611,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:15:45] local.INFO: Processing buffer {"connection_id":192611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ede540012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:15:45] local.INFO: Packet analysis {"connection_id":192611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:15:45] local.INFO: Extracted packet for processing {"connection_id":192611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ed"} 
[2026-09-24 11:15:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298399232001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790228424000,"timestamp_ms":1790228424000,"timestamp_seconds":1790228424,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ede540"} 
[2026-09-24 11:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 11:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298399232001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298399232001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:15:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:15:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298399232001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":192611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:15:45] local.INFO: GPS data processed {"connection_id":192611,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:15:45] local.INFO: Acknowledgment sent {"connection_id":192611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:15:45] local.INFO: TCP Data received {"connection_id":191038,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:15:45] local.INFO: Processing buffer {"connection_id":191038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:15:45] local.INFO: IMEI packet received {"connection_id":191038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":191038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:15:51] local.INFO: TCP Data received {"connection_id":191038,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:15:51] local.INFO: Processing buffer {"connection_id":191038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:15:51] local.INFO: IMEI packet received {"connection_id":191038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":191038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:15:56] local.INFO: TCP Data received {"connection_id":191038,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1eee328012d1b7180072597f8002501251c..."} 
[2026-09-24 11:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1eee328012d1b7180072597f8002501251c..."} 
[2026-09-24 11:15:56] local.INFO: Processing buffer {"connection_id":191038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1eee328012d1b7180072597f8002501251c..."} 
[2026-09-24 11:15:56] local.INFO: Packet analysis {"connection_id":191038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ee"} 
[2026-09-24 11:15:56] local.INFO: Extracted packet for processing {"connection_id":191038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ee"} 
[2026-09-24 11:15:56] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":28,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298488064001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790228489000,"timestamp_ms":1790228489000,"timestamp_seconds":1790228489,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1eee328"} 
[2026-09-24 11:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-24 11:15:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:56] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512643663409581,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:56] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3521955864,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:56] local.WARNING: Large IO value detected {"io_id":209,"raw_value":-1406820724641140352,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:56] local.WARNING: Large IO value detected {"io_id":113,"raw_value":2147952023,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-09-24 11:15:56] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2708906380391163167,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:56] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-24 11:15:56] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,216,83,24,241,157,16,50,160,70,45,128,151,37,31,10,66,252,174,1,240,63,227,209,4,113,205,18,248,30,239,2,81,7,167,182],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1792540878,"validated":0}]} 
[2026-09-24 11:15:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2666453265159290880,"timestamp_seconds":2666453265159291.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 11:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":191038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":191038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":191038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298488064001,"66":12798,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298488064001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:15:56] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:15:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298488064001,"power":12798,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":191038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:15:56] local.INFO: GPS data processed {"connection_id":191038,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:15:56] local.INFO: Acknowledgment sent {"connection_id":191038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:16:27] local.INFO: TCP Data received {"connection_id":191038,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ef2d60012d1b7180072597f8002501251f..."} 
[2026-09-24 11:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ef2d60012d1b7180072597f8002501251f..."} 
[2026-09-24 11:16:27] local.INFO: Processing buffer {"connection_id":191038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ef2d60012d1b7180072597f8002501251f..."} 
[2026-09-24 11:16:27] local.INFO: Packet analysis {"connection_id":191038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ef"} 
[2026-09-24 11:16:27] local.INFO: Extracted packet for processing {"connection_id":191038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ef"} 
[2026-09-24 11:16:27] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":31,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298493184001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790228508000,"timestamp_ms":1790228508000,"timestamp_seconds":1790228508,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ef2d60"} 
[2026-09-24 11:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 11:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298493184001,"66":12743,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298493184001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:16:27] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:16:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298493184001,"power":12743,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":191038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:16:27] local.INFO: GPS data processed {"connection_id":191038,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:16:27] local.INFO: Acknowledgment sent {"connection_id":191038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:16:29] local.INFO: TCP Data received {"connection_id":191039,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:16:29] local.INFO: Processing buffer {"connection_id":191039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:16:29] local.INFO: IMEI packet received {"connection_id":191039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":191039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:16:36] local.INFO: TCP Data received {"connection_id":191039,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:16:36] local.INFO: Processing buffer {"connection_id":191039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:16:36] local.INFO: IMEI packet received {"connection_id":191039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":191039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:16:38] local.INFO: TCP Data received {"connection_id":191039,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:16:38] local.INFO: Processing buffer {"connection_id":191039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:16:38] local.INFO: Packet analysis {"connection_id":191039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f2"} 
[2026-09-24 11:16:38] local.INFO: Extracted packet for processing {"connection_id":191039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f2"} 
[2026-09-24 11:16:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298476544001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790228724000,"timestamp_ms":1790228724000,"timestamp_seconds":1790228724,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f27920"} 
[2026-09-24 11:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298476544001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298476544001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:16:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:16:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298476544001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":191039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:16:38] local.INFO: GPS data processed {"connection_id":191039,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:16:38] local.INFO: Acknowledgment sent {"connection_id":191039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:16:42] local.INFO: TCP Data received {"connection_id":191040,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:16:42] local.INFO: Processing buffer {"connection_id":191040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:16:42] local.INFO: IMEI packet received {"connection_id":191040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 11:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":191040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:16:50] local.INFO: TCP Data received {"connection_id":193907,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:16:50] local.INFO: Processing buffer {"connection_id":193907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:16:50] local.INFO: IMEI packet received {"connection_id":193907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":193907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:16:56] local.INFO: TCP Data received {"connection_id":193907,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:16:56] local.INFO: Processing buffer {"connection_id":193907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:16:56] local.INFO: IMEI packet received {"connection_id":193907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":193907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:16:56] local.INFO: TCP Data received {"connection_id":193907,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ef7b80012d1b7180072597f80025012521..."} 
[2026-09-24 11:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ef7b80012d1b7180072597f80025012521..."} 
[2026-09-24 11:16:56] local.INFO: Processing buffer {"connection_id":193907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ef7b80012d1b7180072597f80025012521..."} 
[2026-09-24 11:16:56] local.INFO: Packet analysis {"connection_id":193907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ef"} 
[2026-09-24 11:16:56] local.INFO: Extracted packet for processing {"connection_id":193907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ef"} 
[2026-09-24 11:16:56] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":33,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:16: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-09-24 11:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298498048001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790228528000,"timestamp_ms":1790228528000,"timestamp_seconds":1790228528,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ef7b80"} 
[2026-09-24 11:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-24 11:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:16: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-09-24 11:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":193907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":193907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":193907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298498048001,"66":12798,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298498048001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:16:56] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:16:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298498048001,"power":12798,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":193907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:16:57] local.INFO: GPS data processed {"connection_id":193907,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:16:57] local.INFO: Acknowledgment sent {"connection_id":193907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:17:10] local.INFO: TCP Data received {"connection_id":191039,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:17:10] local.INFO: Processing buffer {"connection_id":191039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:17:10] local.INFO: Packet analysis {"connection_id":191039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f2"} 
[2026-09-24 11:17:10] local.INFO: Extracted packet for processing {"connection_id":191039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f2"} 
[2026-09-24 11:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298476544001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790228724000,"timestamp_ms":1790228724000,"timestamp_seconds":1790228724,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f27920"} 
[2026-09-24 11:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:17: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-09-24 11:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298476544001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298476544001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:17:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:17:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298476544001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":191039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:17:10] local.INFO: GPS data processed {"connection_id":191039,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:17:10] local.INFO: Acknowledgment sent {"connection_id":191039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:17:15] local.INFO: TCP Data received {"connection_id":191041,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:17:15] local.INFO: Processing buffer {"connection_id":191041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:17:15] local.INFO: IMEI packet received {"connection_id":191041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 11:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":191041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:17:28] local.INFO: TCP Data received {"connection_id":193907,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f301d8012d1b7180072597f80025012522..."} 
[2026-09-24 11:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f301d8012d1b7180072597f80025012522..."} 
[2026-09-24 11:17:28] local.INFO: Processing buffer {"connection_id":193907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f301d8012d1b7180072597f80025012522..."} 
[2026-09-24 11:17:28] local.INFO: Packet analysis {"connection_id":193907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f3"} 
[2026-09-24 11:17:28] local.INFO: Extracted packet for processing {"connection_id":193907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f3"} 
[2026-09-24 11:17:28] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":34,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298556928001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790228759000,"timestamp_ms":1790228759000,"timestamp_seconds":1790228759,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f301d8"} 
[2026-09-24 11:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 11:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":193907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":193907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":193907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298556928001,"66":12689,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298556928001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:17:28] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:17:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298556928001,"power":12689,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":193907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:17:28] local.INFO: GPS data processed {"connection_id":193907,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:17:28] local.INFO: Acknowledgment sent {"connection_id":193907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:17:28] local.INFO: TCP Data received {"connection_id":191241,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:17:28] local.INFO: Processing buffer {"connection_id":191241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:17:28] local.INFO: IMEI packet received {"connection_id":191241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":191241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:17:34] local.INFO: TCP Data received {"connection_id":191241,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:17:34] local.INFO: Processing buffer {"connection_id":191241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:17:34] local.INFO: IMEI packet received {"connection_id":191241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":191241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:17:36] local.INFO: TCP Data received {"connection_id":191241,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:17:36] local.INFO: Processing buffer {"connection_id":191241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:17:36] local.INFO: Packet analysis {"connection_id":191241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f2"} 
[2026-09-24 11:17:36] local.INFO: Extracted packet for processing {"connection_id":191241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f2"} 
[2026-09-24 11:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298476544001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790228724000,"timestamp_ms":1790228724000,"timestamp_seconds":1790228724,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f27920"} 
[2026-09-24 11:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298476544001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298476544001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:17:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298476544001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":191241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:17:36] local.INFO: GPS data processed {"connection_id":191241,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:17:36] local.INFO: Acknowledgment sent {"connection_id":191241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:17:45] local.INFO: TCP Data received {"connection_id":191042,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:17:45] local.INFO: Processing buffer {"connection_id":191042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:17:45] local.INFO: IMEI packet received {"connection_id":191042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":191042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:17:50] local.INFO: TCP Data received {"connection_id":191042,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:17:50] local.INFO: Processing buffer {"connection_id":191042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:17:50] local.INFO: IMEI packet received {"connection_id":191042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":191042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:17:51] local.INFO: TCP Data received {"connection_id":191042,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f353e0012d1b7180072597f80025012522..."} 
[2026-09-24 11:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f353e0012d1b7180072597f80025012522..."} 
[2026-09-24 11:17:51] local.INFO: Processing buffer {"connection_id":191042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f353e0012d1b7180072597f80025012522..."} 
[2026-09-24 11:17:51] local.INFO: Packet analysis {"connection_id":191042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f3"} 
[2026-09-24 11:17:51] local.INFO: Extracted packet for processing {"connection_id":191042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f3"} 
[2026-09-24 11:17:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":34,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298562304001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790228780000,"timestamp_ms":1790228780000,"timestamp_seconds":1790228780,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f353e0"} 
[2026-09-24 11:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-24 11:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298562304001,"66":12667,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298562304001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:17:51] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:17:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298562304001,"power":12667,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":191042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:17:51] local.INFO: GPS data processed {"connection_id":191042,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:17:51] local.INFO: Acknowledgment sent {"connection_id":191042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:18:08] local.INFO: TCP Data received {"connection_id":191241,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:18:08] local.INFO: Processing buffer {"connection_id":191241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:18:08] local.INFO: Packet analysis {"connection_id":191241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f2"} 
[2026-09-24 11:18:08] local.INFO: Extracted packet for processing {"connection_id":191241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f2"} 
[2026-09-24 11:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 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-09-24 11:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298476544001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790228724000,"timestamp_ms":1790228724000,"timestamp_seconds":1790228724,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f27920"} 
[2026-09-24 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-09-24 11:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:18:08] 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-09-24 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-09-24 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-09-24 11:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298476544001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298476544001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:18:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:18:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298476544001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":191241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:18:08] local.INFO: GPS data processed {"connection_id":191241,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:18:08] local.INFO: Acknowledgment sent {"connection_id":191241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:18:22] local.INFO: TCP Data received {"connection_id":191042,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f3a5e8012d1b7180072597f80025012522..."} 
[2026-09-24 11:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f3a5e8012d1b7180072597f80025012522..."} 
[2026-09-24 11:18:22] local.INFO: Processing buffer {"connection_id":191042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f3a5e8012d1b7180072597f80025012522..."} 
[2026-09-24 11:18:22] local.INFO: Packet analysis {"connection_id":191042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f3"} 
[2026-09-24 11:18:22] local.INFO: Extracted packet for processing {"connection_id":191042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f3"} 
[2026-09-24 11:18:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":34,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298567680001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790228801000,"timestamp_ms":1790228801000,"timestamp_seconds":1790228801,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f3a5e8"} 
[2026-09-24 11:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-24 11:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298567680001,"66":12645,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298567680001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:18:22] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:18:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298567680001,"power":12645,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":191042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:18:23] local.INFO: GPS data processed {"connection_id":191042,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:18:23] local.INFO: Acknowledgment sent {"connection_id":191042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:18:28] local.INFO: TCP Data received {"connection_id":191242,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:18:28] local.INFO: Processing buffer {"connection_id":191242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:18:28] local.INFO: IMEI packet received {"connection_id":191242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":191242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:18:34] local.INFO: TCP Data received {"connection_id":191242,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:18:34] local.INFO: Processing buffer {"connection_id":191242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:18:34] local.INFO: IMEI packet received {"connection_id":191242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":191242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:18:35] local.INFO: TCP Data received {"connection_id":191242,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:18:35] local.INFO: Processing buffer {"connection_id":191242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:18:35] local.INFO: Packet analysis {"connection_id":191242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f2"} 
[2026-09-24 11:18:35] local.INFO: Extracted packet for processing {"connection_id":191242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f2"} 
[2026-09-24 11:18:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298476544001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790228724000,"timestamp_ms":1790228724000,"timestamp_seconds":1790228724,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f27920"} 
[2026-09-24 11:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:18:35] 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-09-24 11:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298476544001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298476544001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:18:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:18:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298476544001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":191242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:18:35] local.INFO: GPS data processed {"connection_id":191242,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:18:35] local.INFO: Acknowledgment sent {"connection_id":191242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:18:43] local.INFO: TCP Data received {"connection_id":191243,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:18:43] local.INFO: Processing buffer {"connection_id":191243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:18:43] local.INFO: IMEI packet received {"connection_id":191243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":191243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:18:46] local.INFO: TCP Data received {"connection_id":191243,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:18:46] local.INFO: Processing buffer {"connection_id":191243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:18:46] local.INFO: IMEI packet received {"connection_id":191243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":191243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:18:50] local.INFO: TCP Data received {"connection_id":191243,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:18:50] local.INFO: Processing buffer {"connection_id":191243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:18:50] local.INFO: IMEI packet received {"connection_id":191243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":191243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:18:51] local.INFO: TCP Data received {"connection_id":191243,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f3f7f0012d1b7180072597f80025012522..."} 
[2026-09-24 11:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f3f7f0012d1b7180072597f80025012522..."} 
[2026-09-24 11:18:51] local.INFO: Processing buffer {"connection_id":191243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f3f7f0012d1b7180072597f80025012522..."} 
[2026-09-24 11:18:51] local.INFO: Packet analysis {"connection_id":191243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f3"} 
[2026-09-24 11:18:51] local.INFO: Extracted packet for processing {"connection_id":191243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f3"} 
[2026-09-24 11:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":34,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298573056001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790228822000,"timestamp_ms":1790228822000,"timestamp_seconds":1790228822,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f3f7f0"} 
[2026-09-24 11:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-24 11:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298573056001,"66":12667,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298573056001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:18:51] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:18:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298573056001,"power":12667,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":191243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:18:51] local.INFO: GPS data processed {"connection_id":191243,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:18:51] local.INFO: Acknowledgment sent {"connection_id":191243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:19:07] local.INFO: TCP Data received {"connection_id":191242,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:19:07] local.INFO: Processing buffer {"connection_id":191242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:19:07] local.INFO: Packet analysis {"connection_id":191242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f2"} 
[2026-09-24 11:19:07] local.INFO: Extracted packet for processing {"connection_id":191242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f2"} 
[2026-09-24 11:19:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298476544001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790228724000,"timestamp_ms":1790228724000,"timestamp_seconds":1790228724,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f27920"} 
[2026-09-24 11:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298476544001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298476544001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:19:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:19:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298476544001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":191242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:19:07] local.INFO: GPS data processed {"connection_id":191242,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:19:07] local.INFO: Acknowledgment sent {"connection_id":191242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:19:22] local.INFO: TCP Data received {"connection_id":191243,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f449f8012d1b7180072597f80025012524..."} 
[2026-09-24 11:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f449f8012d1b7180072597f80025012524..."} 
[2026-09-24 11:19:22] local.INFO: Processing buffer {"connection_id":191243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f449f8012d1b7180072597f80025012524..."} 
[2026-09-24 11:19:22] local.INFO: Packet analysis {"connection_id":191243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f4"} 
[2026-09-24 11:19:22] local.INFO: Extracted packet for processing {"connection_id":191243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f4"} 
[2026-09-24 11:19:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":36,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298578432001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790228843000,"timestamp_ms":1790228843000,"timestamp_seconds":1790228843,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f449f8"} 
[2026-09-24 11:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-24 11:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298578432001,"66":12667,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298578432001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:19:22] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:19:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298578432001,"power":12667,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":191243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:19:23] local.INFO: GPS data processed {"connection_id":191243,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:19:23] local.INFO: Acknowledgment sent {"connection_id":191243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:19:28] local.INFO: TCP Data received {"connection_id":191043,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:19:28] local.INFO: Processing buffer {"connection_id":191043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:19:28] local.INFO: IMEI packet received {"connection_id":191043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":191043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:19:34] local.INFO: TCP Data received {"connection_id":191043,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:19:34] local.INFO: Processing buffer {"connection_id":191043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:19:34] local.INFO: IMEI packet received {"connection_id":191043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":191043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:19:36] local.INFO: TCP Data received {"connection_id":191043,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:19:36] local.INFO: Processing buffer {"connection_id":191043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:19:36] local.INFO: Packet analysis {"connection_id":191043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f2"} 
[2026-09-24 11:19:36] local.INFO: Extracted packet for processing {"connection_id":191043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f2"} 
[2026-09-24 11:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298476544001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790228724000,"timestamp_ms":1790228724000,"timestamp_seconds":1790228724,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f27920"} 
[2026-09-24 11:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298476544001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298476544001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:19:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:19:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298476544001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":191043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:19:36] local.INFO: GPS data processed {"connection_id":191043,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:19:36] local.INFO: Acknowledgment sent {"connection_id":191043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:19:45] local.INFO: TCP Data received {"connection_id":191044,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:19:46] local.INFO: Processing buffer {"connection_id":191044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:19:46] local.INFO: IMEI packet received {"connection_id":191044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":191044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:19:46] local.INFO: TCP Data received {"connection_id":191044,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:19:46] local.INFO: Processing buffer {"connection_id":191044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:19:46] local.INFO: IMEI packet received {"connection_id":191044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":191044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:19:51] local.INFO: TCP Data received {"connection_id":191044,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:19:51] local.INFO: Processing buffer {"connection_id":191044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:19:51] local.INFO: IMEI packet received {"connection_id":191044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":191044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:19:51] local.INFO: TCP Data received {"connection_id":191044,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f49c00012d1b7180072597f80025012522..."} 
[2026-09-24 11:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f49c00012d1b7180072597f80025012522..."} 
[2026-09-24 11:19:51] local.INFO: Processing buffer {"connection_id":191044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f49c00012d1b7180072597f80025012522..."} 
[2026-09-24 11:19:51] local.INFO: Packet analysis {"connection_id":191044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f4"} 
[2026-09-24 11:19:51] local.INFO: Extracted packet for processing {"connection_id":191044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f4"} 
[2026-09-24 11:19:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":34,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298583808001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790228864000,"timestamp_ms":1790228864000,"timestamp_seconds":1790228864,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f49c00"} 
[2026-09-24 11:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-24 11:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298583808001,"66":12645,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298583808001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:19:51] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:19:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298583808001,"power":12645,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":191044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:19:51] local.INFO: GPS data processed {"connection_id":191044,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:19:51] local.INFO: Acknowledgment sent {"connection_id":191044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:20:08] local.INFO: TCP Data received {"connection_id":191043,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:20:08] local.INFO: Processing buffer {"connection_id":191043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:20:08] local.INFO: Packet analysis {"connection_id":191043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f2"} 
[2026-09-24 11:20:08] local.INFO: Extracted packet for processing {"connection_id":191043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f2"} 
[2026-09-24 11:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298476544001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790228724000,"timestamp_ms":1790228724000,"timestamp_seconds":1790228724,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f27920"} 
[2026-09-24 11:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:20:08] 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-09-24 11: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-09-24 11:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298476544001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298476544001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:20:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:20:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298476544001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":191043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:20:08] local.INFO: GPS data processed {"connection_id":191043,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:20:08] local.INFO: Acknowledgment sent {"connection_id":191043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:20:23] local.INFO: TCP Data received {"connection_id":191044,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f4ee08012d1b7180072597f80025012522..."} 
[2026-09-24 11:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f4ee08012d1b7180072597f80025012522..."} 
[2026-09-24 11:20:23] local.INFO: Processing buffer {"connection_id":191044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f4ee08012d1b7180072597f80025012522..."} 
[2026-09-24 11:20:23] local.INFO: Packet analysis {"connection_id":191044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f4"} 
[2026-09-24 11:20:23] local.INFO: Extracted packet for processing {"connection_id":191044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f4"} 
[2026-09-24 11:20:23] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":34,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298589184001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790228885000,"timestamp_ms":1790228885000,"timestamp_seconds":1790228885,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f4ee08"} 
[2026-09-24 11:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-24 11:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298589184001,"66":12428,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298589184001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:20:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:20:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298589184001,"power":12428,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":191044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:20:23] local.INFO: GPS data processed {"connection_id":191044,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:20:23] local.INFO: Acknowledgment sent {"connection_id":191044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:20:34] local.INFO: TCP Data received {"connection_id":191046,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:20:34] local.INFO: Processing buffer {"connection_id":191046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:20:34] local.INFO: IMEI packet received {"connection_id":191046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":191046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:20:39] local.INFO: TCP Data received {"connection_id":191046,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:20:39] local.INFO: Processing buffer {"connection_id":191046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:20:39] local.INFO: IMEI packet received {"connection_id":191046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":191046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:20:40] local.INFO: TCP Data received {"connection_id":191046,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:20:40] local.INFO: Processing buffer {"connection_id":191046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:20:40] local.INFO: Packet analysis {"connection_id":191046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f2"} 
[2026-09-24 11:20:40] local.INFO: Extracted packet for processing {"connection_id":191046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f2"} 
[2026-09-24 11:20:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298476544001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790228724000,"timestamp_ms":1790228724000,"timestamp_seconds":1790228724,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f27920"} 
[2026-09-24 11:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298476544001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298476544001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:20:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:20:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298476544001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":191046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:20:40] local.INFO: GPS data processed {"connection_id":191046,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:20:40] local.INFO: Acknowledgment sent {"connection_id":191046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:20:44] local.INFO: TCP Data received {"connection_id":191046,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:20:44] local.INFO: Processing buffer {"connection_id":191046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f27920012d34c14006aa4940000900f52a..."} 
[2026-09-24 11:20:44] local.INFO: Packet analysis {"connection_id":191046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f2"} 
[2026-09-24 11:20:44] local.INFO: Extracted packet for processing {"connection_id":191046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f2"} 
[2026-09-24 11:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298476544001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790228724000,"timestamp_ms":1790228724000,"timestamp_seconds":1790228724,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f27920"} 
[2026-09-24 11:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:20:44] 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-09-24 11:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298476544001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298476544001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:20:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:20:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298476544001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":191046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:20:44] local.INFO: GPS data processed {"connection_id":191046,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:20:44] local.INFO: Acknowledgment sent {"connection_id":191046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:20:46] local.INFO: TCP Data received {"connection_id":191047,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:20:46] local.INFO: Processing buffer {"connection_id":191047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:20:46] local.INFO: IMEI packet received {"connection_id":191047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":191047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:20:50] local.INFO: TCP Data received {"connection_id":191047,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:20:50] local.INFO: Processing buffer {"connection_id":191047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:20:50] local.INFO: IMEI packet received {"connection_id":191047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":191047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:20:50] local.INFO: TCP Data received {"connection_id":191047,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f54010012d1b7180072597f80025012524..."} 
[2026-09-24 11:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f54010012d1b7180072597f80025012524..."} 
[2026-09-24 11:20:50] local.INFO: Processing buffer {"connection_id":191047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f54010012d1b7180072597f80025012524..."} 
[2026-09-24 11:20:50] local.INFO: Packet analysis {"connection_id":191047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f5"} 
[2026-09-24 11:20:50] local.INFO: Extracted packet for processing {"connection_id":191047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f5"} 
[2026-09-24 11:20:50] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":36,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:20: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-09-24 11:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298594560001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790228906000,"timestamp_ms":1790228906000,"timestamp_seconds":1790228906,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f54010"} 
[2026-09-24 11:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 11:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:20: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-09-24 11:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298594560001,"66":12580,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298594560001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:20:50] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:20:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298594560001,"power":12580,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":191047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:20:50] local.INFO: GPS data processed {"connection_id":191047,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:20:50] local.INFO: Acknowledgment sent {"connection_id":191047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:21:21] local.INFO: TCP Data received {"connection_id":191047,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f59218012d1b7180072597f80025012524..."} 
[2026-09-24 11:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f59218012d1b7180072597f80025012524..."} 
[2026-09-24 11:21:21] local.INFO: Processing buffer {"connection_id":191047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f59218012d1b7180072597f80025012524..."} 
[2026-09-24 11:21:21] local.INFO: Packet analysis {"connection_id":191047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f5"} 
[2026-09-24 11:21:21] local.INFO: Extracted packet for processing {"connection_id":191047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f5"} 
[2026-09-24 11:21:21] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":36,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298599936001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790228927000,"timestamp_ms":1790228927000,"timestamp_seconds":1790228927,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f59218"} 
[2026-09-24 11:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-24 11:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298599936001,"66":12558,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298599936001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:21:21] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:21:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298599936001,"power":12558,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":191047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:21:21] local.INFO: GPS data processed {"connection_id":191047,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:21:21] local.INFO: Acknowledgment sent {"connection_id":191047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:21:29] local.INFO: TCP Data received {"connection_id":192613,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:21:29] local.INFO: Processing buffer {"connection_id":192613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:21:29] local.INFO: IMEI packet received {"connection_id":192613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":192613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:21:34] local.INFO: TCP Data received {"connection_id":192613,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:21:34] local.INFO: Processing buffer {"connection_id":192613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:21:34] local.INFO: IMEI packet received {"connection_id":192613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":192613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:21:36] local.INFO: TCP Data received {"connection_id":192613,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:21:36] local.INFO: Processing buffer {"connection_id":192613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:21:36] local.INFO: Packet analysis {"connection_id":192613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:21:36] local.INFO: Extracted packet for processing {"connection_id":192613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298553344001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790229025000,"timestamp_ms":1790229025000,"timestamp_seconds":1790229025,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f710e8"} 
[2026-09-24 11:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 11:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298553344001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298553344001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:21:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:21:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298553344001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":192613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:21:36] local.INFO: GPS data processed {"connection_id":192613,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:21:36] local.INFO: Acknowledgment sent {"connection_id":192613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:21:45] local.INFO: TCP Data received {"connection_id":192614,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:21:45] local.INFO: Processing buffer {"connection_id":192614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:21:45] local.INFO: IMEI packet received {"connection_id":192614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":192614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:21:50] local.INFO: TCP Data received {"connection_id":192614,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:21:50] local.INFO: Processing buffer {"connection_id":192614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:21:50] local.INFO: IMEI packet received {"connection_id":192614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":192614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:21:51] local.INFO: TCP Data received {"connection_id":192614,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f5e420012d1b7180072597f80025012524..."} 
[2026-09-24 11:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f5e420012d1b7180072597f80025012524..."} 
[2026-09-24 11:21:51] local.INFO: Processing buffer {"connection_id":192614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f5e420012d1b7180072597f80025012524..."} 
[2026-09-24 11:21:51] local.INFO: Packet analysis {"connection_id":192614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f5"} 
[2026-09-24 11:21:51] local.INFO: Extracted packet for processing {"connection_id":192614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f5"} 
[2026-09-24 11:21:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":36,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:21: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-09-24 11:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298605312001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790228948000,"timestamp_ms":1790228948000,"timestamp_seconds":1790228948,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f5e420"} 
[2026-09-24 11:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 11:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 11:21:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:21:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 11:21:51] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-09-24 11:21:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3522405864,"note":"Value kept but may cause issues"} 
[2026-09-24 11:21:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250316350767601656,"note":"Value kept but may cause issues"} 
[2026-09-24 11:21:51] local.WARNING: Large IO value detected {"io_id":209,"raw_value":4098488321,"note":"Value kept but may cause issues"} 
[2026-09-24 11:21:51] local.WARNING: Large IO value detected {"io_id":113,"raw_value":2147952023,"note":"Value kept but may cause issues"} 
[2026-09-24 11:21:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-09-24 11:21:51] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":4026608923,"corrected_to":0} 
[2026-09-24 11:21:51] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-2810019308799780864,"note":"Value kept but may cause issues"} 
[2026-09-24 11:21:51] local.WARNING: Large IO value detected {"io_id":48,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 11:21:51] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-24 11:21:51] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,217,83,24,241,157,16,50,160,64,45,128,151,37,36,10,66,238,34,156,1,240,101,227,209,4,113,205,247,248,239,49,2,81,7,106,48,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1792606414,"validated":0},{"io_id":247,"original":4026608923,"validated":0}]} 
[2026-09-24 11:21:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2666453290929094656,"timestamp_seconds":2666453290929094.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 11:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298605312001,"66":12602,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298605312001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:21:51] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:21:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298605312001,"power":12602,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":192614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:21:51] local.INFO: GPS data processed {"connection_id":192614,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:21:51] local.INFO: Acknowledgment sent {"connection_id":192614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:22:07] local.INFO: TCP Data received {"connection_id":192613,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:22:07] local.INFO: Processing buffer {"connection_id":192613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:22:07] local.INFO: Packet analysis {"connection_id":192613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:22:07] local.INFO: Extracted packet for processing {"connection_id":192613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:22:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298553344001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790229025000,"timestamp_ms":1790229025000,"timestamp_seconds":1790229025,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f710e8"} 
[2026-09-24 11:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 11:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298553344001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298553344001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:22:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:22:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298553344001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":192613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:22:07] local.INFO: GPS data processed {"connection_id":192613,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:22:07] local.INFO: Acknowledgment sent {"connection_id":192613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:22:22] local.INFO: TCP Data received {"connection_id":192614,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f63628012d1b7180072597f80025012524..."} 
[2026-09-24 11:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f63628012d1b7180072597f80025012524..."} 
[2026-09-24 11:22:22] local.INFO: Processing buffer {"connection_id":192614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f63628012d1b7180072597f80025012524..."} 
[2026-09-24 11:22:22] local.INFO: Packet analysis {"connection_id":192614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f6"} 
[2026-09-24 11:22:22] local.INFO: Extracted packet for processing {"connection_id":192614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f6"} 
[2026-09-24 11:22:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":36,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298610688001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790228969000,"timestamp_ms":1790228969000,"timestamp_seconds":1790228969,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f63628"} 
[2026-09-24 11:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-24 11:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298610688001,"66":12645,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298610688001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:22:22] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:22:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298610688001,"power":12645,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":192614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:22:23] local.INFO: GPS data processed {"connection_id":192614,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:22:23] local.INFO: Acknowledgment sent {"connection_id":192614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:22:28] local.INFO: TCP Data received {"connection_id":191048,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:22:28] local.INFO: Processing buffer {"connection_id":191048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:22:28] local.INFO: IMEI packet received {"connection_id":191048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":191048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:22:34] local.INFO: TCP Data received {"connection_id":191048,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:22:34] local.INFO: Processing buffer {"connection_id":191048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:22:34] local.INFO: IMEI packet received {"connection_id":191048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":191048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:22:35] local.INFO: TCP Data received {"connection_id":191048,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:22:35] local.INFO: Processing buffer {"connection_id":191048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:22:35] local.INFO: Packet analysis {"connection_id":191048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:22:35] local.INFO: Extracted packet for processing {"connection_id":191048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298553344001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790229025000,"timestamp_ms":1790229025000,"timestamp_seconds":1790229025,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f710e8"} 
[2026-09-24 11:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 11:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298553344001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298553344001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:22:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:22:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298553344001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":191048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:22:35] local.INFO: GPS data processed {"connection_id":191048,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:22:35] local.INFO: Acknowledgment sent {"connection_id":191048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:22:45] local.INFO: TCP Data received {"connection_id":191244,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:22:45] local.INFO: Processing buffer {"connection_id":191244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:22:45] local.INFO: IMEI packet received {"connection_id":191244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":191244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:22:47] local.INFO: TCP Data received {"connection_id":191245,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:22:47] local.INFO: Processing buffer {"connection_id":191245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:22:47] local.INFO: IMEI packet received {"connection_id":191245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 11:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":191245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:22:50] local.INFO: TCP Data received {"connection_id":191244,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:22:50] local.INFO: Processing buffer {"connection_id":191244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:22:50] local.INFO: IMEI packet received {"connection_id":191244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":191244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:22:51] local.INFO: TCP Data received {"connection_id":191244,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f68830012d1b7180072597f80025012525..."} 
[2026-09-24 11:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f68830012d1b7180072597f80025012525..."} 
[2026-09-24 11:22:51] local.INFO: Processing buffer {"connection_id":191244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f68830012d1b7180072597f80025012525..."} 
[2026-09-24 11:22:51] local.INFO: Packet analysis {"connection_id":191244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f6"} 
[2026-09-24 11:22:51] local.INFO: Extracted packet for processing {"connection_id":191244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f6"} 
[2026-09-24 11:22:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":37,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298616064001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790228990000,"timestamp_ms":1790228990000,"timestamp_seconds":1790228990,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f68830"} 
[2026-09-24 11:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-24 11:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298616064001,"66":12580,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298616064001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:22:51] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:22:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298616064001,"power":12580,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":191244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:22:51] local.INFO: GPS data processed {"connection_id":191244,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:22:51] local.INFO: Acknowledgment sent {"connection_id":191244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:23:15] local.INFO: TCP Data received {"connection_id":191048,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:23:15] local.INFO: Processing buffer {"connection_id":191048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:23:15] local.INFO: Packet analysis {"connection_id":191048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:23:15] local.INFO: Extracted packet for processing {"connection_id":191048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298553344001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790229025000,"timestamp_ms":1790229025000,"timestamp_seconds":1790229025,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f710e8"} 
[2026-09-24 11:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 11:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298553344001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298553344001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298553344001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":191048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:23:15] local.INFO: GPS data processed {"connection_id":191048,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:23:15] local.INFO: Acknowledgment sent {"connection_id":191048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:23:17] local.INFO: TCP Data received {"connection_id":192615,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:23:17] local.INFO: Processing buffer {"connection_id":192615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:23:17] local.INFO: IMEI packet received {"connection_id":192615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 11:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":192615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:23:22] local.INFO: TCP Data received {"connection_id":191244,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f6da38012d1b7180072597f80025012525..."} 
[2026-09-24 11:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f6da38012d1b7180072597f80025012525..."} 
[2026-09-24 11:23:22] local.INFO: Processing buffer {"connection_id":191244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f6da38012d1b7180072597f80025012525..."} 
[2026-09-24 11:23:22] local.INFO: Packet analysis {"connection_id":191244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f6"} 
[2026-09-24 11:23:22] local.INFO: Extracted packet for processing {"connection_id":191244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f6"} 
[2026-09-24 11:23:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":37,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:23: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-09-24 11:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298621440001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790229011000,"timestamp_ms":1790229011000,"timestamp_seconds":1790229011,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f6da38"} 
[2026-09-24 11:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-24 11:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:23: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-09-24 11:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298621440001,"66":12548,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298621440001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:23:22] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:23:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298621440001,"power":12548,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":191244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:23:23] local.INFO: GPS data processed {"connection_id":191244,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:23:23] local.INFO: Acknowledgment sent {"connection_id":191244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:23:29] local.INFO: TCP Data received {"connection_id":191246,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:23:29] local.INFO: Processing buffer {"connection_id":191246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:23:29] local.INFO: IMEI packet received {"connection_id":191246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":191246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:23:34] local.INFO: TCP Data received {"connection_id":191246,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:23:34] local.INFO: Processing buffer {"connection_id":191246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:23:34] local.INFO: IMEI packet received {"connection_id":191246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":191246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:23:35] local.INFO: TCP Data received {"connection_id":191246,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:23:35] local.INFO: Processing buffer {"connection_id":191246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:23:35] local.INFO: Packet analysis {"connection_id":191246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:23:35] local.INFO: Extracted packet for processing {"connection_id":191246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:23:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298553344001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790229025000,"timestamp_ms":1790229025000,"timestamp_seconds":1790229025,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f710e8"} 
[2026-09-24 11:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 11:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298553344001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298553344001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:23:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:23:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298553344001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":191246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:23:35] local.INFO: GPS data processed {"connection_id":191246,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:23:35] local.INFO: Acknowledgment sent {"connection_id":191246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:23:50] local.INFO: TCP Data received {"connection_id":193910,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:23:50] local.INFO: Processing buffer {"connection_id":193910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:23:50] local.INFO: IMEI packet received {"connection_id":193910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":193910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:23:56] local.INFO: TCP Data received {"connection_id":193910,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:23:56] local.INFO: Processing buffer {"connection_id":193910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:23:56] local.INFO: IMEI packet received {"connection_id":193910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":193910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:23:56] local.INFO: TCP Data received {"connection_id":193910,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f72c40012d1b7180072597f80025012523..."} 
[2026-09-24 11:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f72c40012d1b7180072597f80025012523..."} 
[2026-09-24 11:23:56] local.INFO: Processing buffer {"connection_id":193910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f72c40012d1b7180072597f80025012523..."} 
[2026-09-24 11:23:56] local.INFO: Packet analysis {"connection_id":193910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:23:56] local.INFO: Extracted packet for processing {"connection_id":193910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:23:56] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":35,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298626816001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790229032000,"timestamp_ms":1790229032000,"timestamp_seconds":1790229032,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f72c40"} 
[2026-09-24 11:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 11:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-24 11:23:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:23:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 11:23:56] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-09-24 11:23:56] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3522489864,"note":"Value kept but may cause issues"} 
[2026-09-24 11:23:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184189165773,"note":"Value kept but may cause issues"} 
[2026-09-24 11:23:56] local.WARNING: Large IO value detected {"io_id":209,"raw_value":4119992321,"note":"Value kept but may cause issues"} 
[2026-09-24 11:23:56] local.WARNING: Large IO value detected {"io_id":113,"raw_value":2147952023,"note":"Value kept but may cause issues"} 
[2026-09-24 11:23:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-09-24 11:23:56] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-2810019308799780864,"note":"Value kept but may cause issues"} 
[2026-09-24 11:23:56] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,217,83,24,241,157,16,50,160,136,45,128,151,37,10,66,54,36,228,1,240,58,227,209,4,113,205,64,248,239,49,2,81,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-09-24 11:23:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2666453295224061952,"timestamp_seconds":2666453295224062.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 11:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":193910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":193910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":193910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298626816001,"66":12558,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298626816001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:23:56] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:23:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298626816001,"power":12558,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":193910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:23:57] local.INFO: GPS data processed {"connection_id":193910,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:23:57] local.INFO: Acknowledgment sent {"connection_id":193910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:24:06] local.INFO: TCP Data received {"connection_id":191246,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:24:06] local.INFO: Processing buffer {"connection_id":191246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:24:06] local.INFO: Packet analysis {"connection_id":191246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:24:06] local.INFO: Extracted packet for processing {"connection_id":191246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298553344001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790229025000,"timestamp_ms":1790229025000,"timestamp_seconds":1790229025,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f710e8"} 
[2026-09-24 11:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 11:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298553344001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298553344001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:24:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298553344001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":191246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:24:06] local.INFO: GPS data processed {"connection_id":191246,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:24:06] local.INFO: Acknowledgment sent {"connection_id":191246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:24:28] local.INFO: TCP Data received {"connection_id":193910,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f77e48012d1b7180072597f80025012524..."} 
[2026-09-24 11:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f77e48012d1b7180072597f80025012524..."} 
[2026-09-24 11:24:28] local.INFO: Processing buffer {"connection_id":193910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f77e48012d1b7180072597f80025012524..."} 
[2026-09-24 11:24:28] local.INFO: Packet analysis {"connection_id":193910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:24:28] local.INFO: Extracted packet for processing {"connection_id":193910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:24:28] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":36,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:24: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-09-24 11:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298632192001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790229053000,"timestamp_ms":1790229053000,"timestamp_seconds":1790229053,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f77e48"} 
[2026-09-24 11:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 11:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:28] local.WARNING: Large IO value detected {"io_id":50,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:28] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3522510864,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250316350767601656,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:28] local.WARNING: Large IO value detected {"io_id":209,"raw_value":4125368321,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:28] local.WARNING: Large IO value detected {"io_id":113,"raw_value":2147952023,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-09-24 11:24:28] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-2810019308799780864,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:28] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,217,83,24,241,157,16,50,160,218,45,128,151,37,10,66,136,54,1,240,101,227,209,4,113,205,146,248,36,239,49,2,81,7,106,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-09-24 11:24:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2666453286634127360,"timestamp_seconds":2666453286634127.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 11:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":193910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":193910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":193910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298632192001,"66":12591,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298632192001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:24:28] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:24:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298632192001,"power":12591,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":193910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:24:28] local.INFO: GPS data processed {"connection_id":193910,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:24:28] local.INFO: Acknowledgment sent {"connection_id":193910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:24:34] local.INFO: TCP Data received {"connection_id":192616,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:24:34] local.INFO: Processing buffer {"connection_id":192616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:24:34] local.INFO: IMEI packet received {"connection_id":192616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":192616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:24:39] local.INFO: TCP Data received {"connection_id":192616,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:24:39] local.INFO: Processing buffer {"connection_id":192616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:24:39] local.INFO: IMEI packet received {"connection_id":192616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":192616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:24:40] local.INFO: TCP Data received {"connection_id":192616,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:24:40] local.INFO: Processing buffer {"connection_id":192616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:24:40] local.INFO: Packet analysis {"connection_id":192616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:24:40] local.INFO: Extracted packet for processing {"connection_id":192616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:24:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298553344001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790229025000,"timestamp_ms":1790229025000,"timestamp_seconds":1790229025,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f710e8"} 
[2026-09-24 11:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 11:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298553344001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298553344001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:24:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:24:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298553344001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":192616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:24:40] local.INFO: GPS data processed {"connection_id":192616,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:24:40] local.INFO: Acknowledgment sent {"connection_id":192616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:24:45] local.INFO: TCP Data received {"connection_id":192616,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:24:45] local.INFO: Processing buffer {"connection_id":192616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:24:45] local.INFO: Packet analysis {"connection_id":192616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:24:45] local.INFO: Extracted packet for processing {"connection_id":192616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:24:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298553344001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790229025000,"timestamp_ms":1790229025000,"timestamp_seconds":1790229025,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f710e8"} 
[2026-09-24 11:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 11:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298553344001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298553344001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:24:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:24:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298553344001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":192616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:24:45] local.INFO: GPS data processed {"connection_id":192616,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:24:45] local.INFO: Acknowledgment sent {"connection_id":192616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:24:45] local.INFO: TCP Data received {"connection_id":191248,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:24:45] local.INFO: Processing buffer {"connection_id":191248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:24:45] local.INFO: IMEI packet received {"connection_id":191248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":191248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:24:51] local.INFO: TCP Data received {"connection_id":191248,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:24:51] local.INFO: Processing buffer {"connection_id":191248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:24:51] local.INFO: IMEI packet received {"connection_id":191248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":191248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:24:52] local.INFO: TCP Data received {"connection_id":191248,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f7d050012d1b7180072597f80025012524..."} 
[2026-09-24 11:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f7d050012d1b7180072597f80025012524..."} 
[2026-09-24 11:24:52] local.INFO: Processing buffer {"connection_id":191248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f7d050012d1b7180072597f80025012524..."} 
[2026-09-24 11:24:52] local.INFO: Packet analysis {"connection_id":191248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:24:52] local.INFO: Extracted packet for processing {"connection_id":191248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:24:52] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":36,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298637568001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790229074000,"timestamp_ms":1790229074000,"timestamp_seconds":1790229074,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f7d050"} 
[2026-09-24 11:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 11:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298637568001,"66":12591,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298637568001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:24:52] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:24:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298637568001,"power":12591,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":191248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:24:52] local.INFO: GPS data processed {"connection_id":191248,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:24:52] local.INFO: Acknowledgment sent {"connection_id":191248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:25:23] local.INFO: TCP Data received {"connection_id":191248,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f82258012d1b7180072597f80025012524..."} 
[2026-09-24 11:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f82258012d1b7180072597f80025012524..."} 
[2026-09-24 11:25:23] local.INFO: Processing buffer {"connection_id":191248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f82258012d1b7180072597f80025012524..."} 
[2026-09-24 11:25:23] local.INFO: Packet analysis {"connection_id":191248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f8"} 
[2026-09-24 11:25:23] local.INFO: Extracted packet for processing {"connection_id":191248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f8"} 
[2026-09-24 11:25:23] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":36,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298642944001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790229095000,"timestamp_ms":1790229095000,"timestamp_seconds":1790229095,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f82258"} 
[2026-09-24 11:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 11:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298642944001,"66":12591,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298642944001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:25:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:25:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298642944001,"power":12591,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":191248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:25:23] local.INFO: GPS data processed {"connection_id":191248,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:25:23] local.INFO: Acknowledgment sent {"connection_id":191248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:25:29] local.INFO: TCP Data received {"connection_id":192617,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:25:29] local.INFO: Processing buffer {"connection_id":192617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:25:29] local.INFO: IMEI packet received {"connection_id":192617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":192617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:25:34] local.INFO: TCP Data received {"connection_id":192617,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:25:34] local.INFO: Processing buffer {"connection_id":192617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:25:34] local.INFO: IMEI packet received {"connection_id":192617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":192617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:25:35] local.INFO: TCP Data received {"connection_id":192617,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:25:35] local.INFO: Processing buffer {"connection_id":192617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f710e8012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:25:35] local.INFO: Packet analysis {"connection_id":192617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:25:35] local.INFO: Extracted packet for processing {"connection_id":192617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f7"} 
[2026-09-24 11:25:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298553344001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790229025000,"timestamp_ms":1790229025000,"timestamp_seconds":1790229025,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f710e8"} 
[2026-09-24 11:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 11:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298553344001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298553344001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:25:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:25:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298553344001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":192617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:25:35] local.INFO: GPS data processed {"connection_id":192617,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:25:35] local.INFO: Acknowledgment sent {"connection_id":192617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:25:43] local.INFO: TCP Data received {"connection_id":191049,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:25:43] local.INFO: Processing buffer {"connection_id":191049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:25:43] local.INFO: IMEI packet received {"connection_id":191049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":191049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:25:45] local.INFO: TCP Data received {"connection_id":191049,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:25:46] local.INFO: Processing buffer {"connection_id":191049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:25:46] local.INFO: IMEI packet received {"connection_id":191049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":191049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:25:51] local.INFO: TCP Data received {"connection_id":191049,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:25:51] local.INFO: Processing buffer {"connection_id":191049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:25:51] local.INFO: IMEI packet received {"connection_id":191049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":191049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:25:52] local.INFO: TCP Data received {"connection_id":191049,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f87460012d1b7180072597f80025012521..."} 
[2026-09-24 11:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f87460012d1b7180072597f80025012521..."} 
[2026-09-24 11:25:52] local.INFO: Processing buffer {"connection_id":191049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f87460012d1b7180072597f80025012521..."} 
[2026-09-24 11:25:52] local.INFO: Packet analysis {"connection_id":191049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f8"} 
[2026-09-24 11:25:52] local.INFO: Extracted packet for processing {"connection_id":191049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f8"} 
[2026-09-24 11:25:52] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":33,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298648320001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790229116000,"timestamp_ms":1790229116000,"timestamp_seconds":1790229116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f87460"} 
[2026-09-24 11:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 11:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298648320001,"66":12591,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298648320001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:25:52] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:25:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298648320001,"power":12591,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":191049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:25:52] local.INFO: GPS data processed {"connection_id":191049,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:25:52] local.INFO: Acknowledgment sent {"connection_id":191049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:26:07] local.INFO: TCP Data received {"connection_id":192617,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:26:07] local.INFO: Processing buffer {"connection_id":192617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:26:07] local.INFO: Packet analysis {"connection_id":192617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1fb"} 
[2026-09-24 11:26:07] local.INFO: Extracted packet for processing {"connection_id":192617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1fb"} 
[2026-09-24 11:26:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298630400001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790229326000,"timestamp_ms":1790229326000,"timestamp_seconds":1790229326,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1fba8b0"} 
[2026-09-24 11:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 11:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298630400001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298630400001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:26:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:26:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298630400001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":192617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:26:07] local.INFO: GPS data processed {"connection_id":192617,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:26:07] local.INFO: Acknowledgment sent {"connection_id":192617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:26:23] local.INFO: TCP Data received {"connection_id":191049,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f8c668012d1b7180072597f80025012522..."} 
[2026-09-24 11:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f8c668012d1b7180072597f80025012522..."} 
[2026-09-24 11:26:23] local.INFO: Processing buffer {"connection_id":191049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f8c668012d1b7180072597f80025012522..."} 
[2026-09-24 11:26:23] local.INFO: Packet analysis {"connection_id":191049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f8"} 
[2026-09-24 11:26:23] local.INFO: Extracted packet for processing {"connection_id":191049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f8"} 
[2026-09-24 11:26:23] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":34,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298653696001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790229137000,"timestamp_ms":1790229137000,"timestamp_seconds":1790229137,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f8c668"} 
[2026-09-24 11:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 11:26:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298653696001,"66":12558,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298653696001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:26:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:26:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298653696001,"power":12558,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":191049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:26:23] local.INFO: GPS data processed {"connection_id":191049,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:26:23] local.INFO: Acknowledgment sent {"connection_id":191049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:26:28] local.INFO: TCP Data received {"connection_id":193912,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:26:28] local.INFO: Processing buffer {"connection_id":193912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:26:28] local.INFO: IMEI packet received {"connection_id":193912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":193912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:26:34] local.INFO: TCP Data received {"connection_id":193912,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:26:34] local.INFO: Processing buffer {"connection_id":193912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:26:34] local.INFO: IMEI packet received {"connection_id":193912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":193912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:26:36] local.INFO: TCP Data received {"connection_id":193912,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:26:36] local.INFO: Processing buffer {"connection_id":193912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:26:36] local.INFO: Packet analysis {"connection_id":193912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1fb"} 
[2026-09-24 11:26:36] local.INFO: Extracted packet for processing {"connection_id":193912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1fb"} 
[2026-09-24 11:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298630400001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790229326000,"timestamp_ms":1790229326000,"timestamp_seconds":1790229326,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1fba8b0"} 
[2026-09-24 11:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 11:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298630400001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298630400001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:26:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:26:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298630400001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":193912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:26:36] local.INFO: GPS data processed {"connection_id":193912,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:26:36] local.INFO: Acknowledgment sent {"connection_id":193912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:26:45] local.INFO: TCP Data received {"connection_id":191249,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:26:45] local.INFO: Processing buffer {"connection_id":191249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:26:45] local.INFO: IMEI packet received {"connection_id":191249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":191249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:26:46] local.INFO: TCP Data received {"connection_id":191249,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:26:46] local.INFO: Processing buffer {"connection_id":191249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:26:46] local.INFO: IMEI packet received {"connection_id":191249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":191249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:26:50] local.INFO: TCP Data received {"connection_id":191249,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:26:50] local.INFO: Processing buffer {"connection_id":191249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:26:50] local.INFO: IMEI packet received {"connection_id":191249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":191249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:26:51] local.INFO: TCP Data received {"connection_id":191249,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f91870012d1b7180072597f80025012524..."} 
[2026-09-24 11:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f91870012d1b7180072597f80025012524..."} 
[2026-09-24 11:26:51] local.INFO: Processing buffer {"connection_id":191249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f91870012d1b7180072597f80025012524..."} 
[2026-09-24 11:26:51] local.INFO: Packet analysis {"connection_id":191249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f9"} 
[2026-09-24 11:26:51] local.INFO: Extracted packet for processing {"connection_id":191249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f9"} 
[2026-09-24 11:26:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":36,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298659072001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790229158000,"timestamp_ms":1790229158000,"timestamp_seconds":1790229158,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f91870"} 
[2026-09-24 11:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 11:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 11:26:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:26:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 11:26:51] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-09-24 11:26:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3522615864,"note":"Value kept but may cause issues"} 
[2026-09-24 11:26:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250316350767601656,"note":"Value kept but may cause issues"} 
[2026-09-24 11:26:51] local.WARNING: Large IO value detected {"io_id":209,"raw_value":4152248321,"note":"Value kept but may cause issues"} 
[2026-09-24 11:26:51] local.WARNING: Large IO value detected {"io_id":113,"raw_value":2147952023,"note":"Value kept but may cause issues"} 
[2026-09-24 11:26:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-09-24 11:26:51] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-2810019308799780864,"note":"Value kept but may cause issues"} 
[2026-09-24 11:26:51] local.WARNING: Large IO value detected {"io_id":51,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 11:26:51] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-24 11:26:51] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,217,83,24,241,157,16,50,160,116,45,128,151,37,33,10,66,34,36,208,1,240,47,227,209,4,113,205,44,248,35,239,49,2,81,7,106,51,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-09-24 11:26:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2666453282339160064,"timestamp_seconds":2666453282339160.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 11:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298659072001,"66":12548,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298659072001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:26:51] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:26:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298659072001,"power":12548,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":191249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:26:51] local.INFO: GPS data processed {"connection_id":191249,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:26:51] local.INFO: Acknowledgment sent {"connection_id":191249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:27:07] local.INFO: TCP Data received {"connection_id":193912,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:27:07] local.INFO: Processing buffer {"connection_id":193912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:27:07] local.INFO: Packet analysis {"connection_id":193912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1fb"} 
[2026-09-24 11:27:07] local.INFO: Extracted packet for processing {"connection_id":193912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1fb"} 
[2026-09-24 11:27:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298630400001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790229326000,"timestamp_ms":1790229326000,"timestamp_seconds":1790229326,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1fba8b0"} 
[2026-09-24 11:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 11:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298630400001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298630400001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:27:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:27:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298630400001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":193912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:27:07] local.INFO: GPS data processed {"connection_id":193912,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:27:07] local.INFO: Acknowledgment sent {"connection_id":193912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:27:22] local.INFO: TCP Data received {"connection_id":191249,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f96a78012d1b7180072597f80025012525..."} 
[2026-09-24 11:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f96a78012d1b7180072597f80025012525..."} 
[2026-09-24 11:27:22] local.INFO: Processing buffer {"connection_id":191249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f96a78012d1b7180072597f80025012525..."} 
[2026-09-24 11:27:22] local.INFO: Packet analysis {"connection_id":191249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f9"} 
[2026-09-24 11:27:22] local.INFO: Extracted packet for processing {"connection_id":191249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f9"} 
[2026-09-24 11:27:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":37,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298664448001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790229179000,"timestamp_ms":1790229179000,"timestamp_seconds":1790229179,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f96a78"} 
[2026-09-24 11:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 11:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-24 11:27:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:27:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 11:27:22] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-09-24 11:27:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3522636864,"note":"Value kept but may cause issues"} 
[2026-09-24 11:27:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-24 11:27:22] local.WARNING: Large IO value detected {"io_id":209,"raw_value":4157624321,"note":"Value kept but may cause issues"} 
[2026-09-24 11:27:22] local.WARNING: Large IO value detected {"io_id":113,"raw_value":2147952023,"note":"Value kept but may cause issues"} 
[2026-09-24 11:27:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-09-24 11:27:22] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-2810019308799780864,"note":"Value kept but may cause issues"} 
[2026-09-24 11:27:22] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,217,83,24,241,157,16,50,160,198,45,128,151,37,34,10,66,116,33,1,240,47,227,209,4,113,205,126,248,36,239,49,2,81,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-09-24 11:27:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2666453290929094656,"timestamp_seconds":2666453290929094.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 11:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298664448001,"66":12526,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298664448001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:27:22] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:27:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298664448001,"power":12526,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":191249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:27:23] local.INFO: GPS data processed {"connection_id":191249,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:27:23] local.INFO: Acknowledgment sent {"connection_id":191249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:27:28] local.INFO: TCP Data received {"connection_id":191051,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:27:28] local.INFO: Processing buffer {"connection_id":191051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:27:28] local.INFO: IMEI packet received {"connection_id":191051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":191051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:27:34] local.INFO: TCP Data received {"connection_id":191051,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:27:34] local.INFO: Processing buffer {"connection_id":191051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:27:34] local.INFO: IMEI packet received {"connection_id":191051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":191051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:27:35] local.INFO: TCP Data received {"connection_id":191051,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:27:35] local.INFO: Processing buffer {"connection_id":191051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:27:35] local.INFO: Packet analysis {"connection_id":191051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1fb"} 
[2026-09-24 11:27:35] local.INFO: Extracted packet for processing {"connection_id":191051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1fb"} 
[2026-09-24 11:27:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298630400001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790229326000,"timestamp_ms":1790229326000,"timestamp_seconds":1790229326,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1fba8b0"} 
[2026-09-24 11:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 11:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298630400001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298630400001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:27:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:27:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298630400001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":191051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:27:35] local.INFO: GPS data processed {"connection_id":191051,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:27:35] local.INFO: Acknowledgment sent {"connection_id":191051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:27:45] local.INFO: TCP Data received {"connection_id":191052,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:27:45] local.INFO: Processing buffer {"connection_id":191052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:27:45] local.INFO: IMEI packet received {"connection_id":191052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":191052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:27:49] local.INFO: TCP Data received {"connection_id":191052,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:27:49] local.INFO: Processing buffer {"connection_id":191052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:27:49] local.INFO: IMEI packet received {"connection_id":191052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":191052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:27:50] local.INFO: TCP Data received {"connection_id":191052,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1f9bc80012d1b7180072597f80025012525..."} 
[2026-09-24 11:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1f9bc80012d1b7180072597f80025012525..."} 
[2026-09-24 11:27:50] local.INFO: Processing buffer {"connection_id":191052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1f9bc80012d1b7180072597f80025012525..."} 
[2026-09-24 11:27:50] local.INFO: Packet analysis {"connection_id":191052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1f9"} 
[2026-09-24 11:27:50] local.INFO: Extracted packet for processing {"connection_id":191052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1f9"} 
[2026-09-24 11:27:50] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":37,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:27: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-09-24 11:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298669824001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790229200000,"timestamp_ms":1790229200000,"timestamp_seconds":1790229200,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1f9bc80"} 
[2026-09-24 11:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 11:27:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:27: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-09-24 11:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298669824001,"66":12558,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298669824001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:27:50] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:27:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298669824001,"power":12558,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":191052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:27:50] local.INFO: GPS data processed {"connection_id":191052,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:27:50] local.INFO: Acknowledgment sent {"connection_id":191052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:28:06] local.INFO: TCP Data received {"connection_id":191051,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:28:06] local.INFO: Processing buffer {"connection_id":191051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:28:06] local.INFO: Packet analysis {"connection_id":191051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1fb"} 
[2026-09-24 11:28:06] local.INFO: Extracted packet for processing {"connection_id":191051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1fb"} 
[2026-09-24 11:28:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298630400001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790229326000,"timestamp_ms":1790229326000,"timestamp_seconds":1790229326,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1fba8b0"} 
[2026-09-24 11:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 11:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298630400001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298630400001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:28:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:28:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298630400001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":191051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:28:06] local.INFO: GPS data processed {"connection_id":191051,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:28:06] local.INFO: Acknowledgment sent {"connection_id":191051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:28:21] local.INFO: TCP Data received {"connection_id":191052,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1fa0e88012d1b7180072597f80025012525..."} 
[2026-09-24 11:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1fa0e88012d1b7180072597f80025012525..."} 
[2026-09-24 11:28:21] local.INFO: Processing buffer {"connection_id":191052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1fa0e88012d1b7180072597f80025012525..."} 
[2026-09-24 11:28:21] local.INFO: Packet analysis {"connection_id":191052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1fa"} 
[2026-09-24 11:28:21] local.INFO: Extracted packet for processing {"connection_id":191052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1fa"} 
[2026-09-24 11:28:21] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":37,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298675200001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790229221000,"timestamp_ms":1790229221000,"timestamp_seconds":1790229221,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1fa0e88"} 
[2026-09-24 11:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 11:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:21] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:21] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3522678864,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:21] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-2810019308799780864,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250316350767601656,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:21] local.WARNING: Large IO value detected {"io_id":209,"raw_value":4168376321,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:21] local.WARNING: Large IO value detected {"io_id":113,"raw_value":2147952023,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-09-24 11:28:21] local.WARNING: Large IO value detected {"io_id":51,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:21] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:21] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,217,83,24,241,157,16,50,160,106,45,128,151,37,10,66,36,198,1,240,14,227,209,4,113,205,34,248,239,49,2,81,7,51,206],"length":575,"final_offset":705,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-09-24 11:28:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2666453295224061952,"timestamp_seconds":2666453295224062.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 11:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298675200001,"66":12558,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298675200001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:28:21] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:28:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298675200001,"power":12558,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":191052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:28:22] local.INFO: GPS data processed {"connection_id":191052,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:28:22] local.INFO: Acknowledgment sent {"connection_id":191052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:28:34] local.INFO: TCP Data received {"connection_id":191053,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:28:34] local.INFO: Processing buffer {"connection_id":191053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:28:34] local.INFO: IMEI packet received {"connection_id":191053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":191053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:28:39] local.INFO: TCP Data received {"connection_id":191053,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:28:39] local.INFO: Processing buffer {"connection_id":191053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:28:39] local.INFO: IMEI packet received {"connection_id":191053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":191053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:28:40] local.INFO: TCP Data received {"connection_id":191053,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:28:40] local.INFO: Processing buffer {"connection_id":191053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:28:40] local.INFO: Packet analysis {"connection_id":191053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1fb"} 
[2026-09-24 11:28:40] local.INFO: Extracted packet for processing {"connection_id":191053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1fb"} 
[2026-09-24 11:28:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298630400001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790229326000,"timestamp_ms":1790229326000,"timestamp_seconds":1790229326,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1fba8b0"} 
[2026-09-24 11:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 11:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298630400001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298630400001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:28:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:28:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298630400001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":191053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:28:40] local.INFO: GPS data processed {"connection_id":191053,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:28:40] local.INFO: Acknowledgment sent {"connection_id":191053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:28:44] local.INFO: TCP Data received {"connection_id":191053,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:28:44] local.INFO: Processing buffer {"connection_id":191053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:28:44] local.INFO: Packet analysis {"connection_id":191053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1fb"} 
[2026-09-24 11:28:44] local.INFO: Extracted packet for processing {"connection_id":191053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1fb"} 
[2026-09-24 11:28:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298630400001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790229326000,"timestamp_ms":1790229326000,"timestamp_seconds":1790229326,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1fba8b0"} 
[2026-09-24 11:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 11:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:28:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298630400001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298630400001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:28:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:28:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298630400001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":191053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:28:44] local.INFO: GPS data processed {"connection_id":191053,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:28:44] local.INFO: Acknowledgment sent {"connection_id":191053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:28:45] local.INFO: TCP Data received {"connection_id":193913,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:28:45] local.INFO: Processing buffer {"connection_id":193913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:28:45] local.INFO: IMEI packet received {"connection_id":193913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":193913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:28:50] local.INFO: TCP Data received {"connection_id":193913,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:28:50] local.INFO: Processing buffer {"connection_id":193913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:28:50] local.INFO: IMEI packet received {"connection_id":193913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":193913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:28:51] local.INFO: TCP Data received {"connection_id":193913,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1fa6090012d1b7180072597f80025012525..."} 
[2026-09-24 11:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1fa6090012d1b7180072597f80025012525..."} 
[2026-09-24 11:28:51] local.INFO: Processing buffer {"connection_id":193913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1fa6090012d1b7180072597f80025012525..."} 
[2026-09-24 11:28:51] local.INFO: Packet analysis {"connection_id":193913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1fa"} 
[2026-09-24 11:28:51] local.INFO: Extracted packet for processing {"connection_id":193913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1fa"} 
[2026-09-24 11:28:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":37,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298680576001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790229242000,"timestamp_ms":1790229242000,"timestamp_seconds":1790229242,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1fa6090"} 
[2026-09-24 11:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 11:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:51] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3522699864,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:51] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-2810019308799780864,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250316350767601656,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:51] local.WARNING: Large IO value detected {"io_id":209,"raw_value":4173752321,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:51] local.WARNING: Large IO value detected {"io_id":113,"raw_value":2147952023,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-09-24 11:28:51] local.WARNING: Large IO value detected {"io_id":52,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:51] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-24 11:28:51] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,217,83,24,241,157,16,50,160,188,45,128,151,37,10,66,106,1,240,4,227,209,113,205,116,248,33,239,49,2,81,7,52,206],"length":575,"final_offset":705,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-09-24 11:28:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2666453295224061952,"timestamp_seconds":2666453295224062.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 11:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298680576001,"66":12548,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298680576001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:28:51] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:28:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298680576001,"power":12548,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":193913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:28:51] local.INFO: GPS data processed {"connection_id":193913,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:28:51] local.INFO: Acknowledgment sent {"connection_id":193913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:29:19] local.INFO: TCP Data received {"connection_id":192620,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:29:19] local.INFO: Processing buffer {"connection_id":192620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:29:19] local.INFO: IMEI packet received {"connection_id":192620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 11:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":192620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:29:22] local.INFO: TCP Data received {"connection_id":193913,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1fde6e8012d1b7180072597f80025012525..."} 
[2026-09-24 11:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1fde6e8012d1b7180072597f80025012525..."} 
[2026-09-24 11:29:22] local.INFO: Processing buffer {"connection_id":193913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1fde6e8012d1b7180072597f80025012525..."} 
[2026-09-24 11:29:22] local.INFO: Packet analysis {"connection_id":193913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1fd"} 
[2026-09-24 11:29:22] local.INFO: Extracted packet for processing {"connection_id":193913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1fd"} 
[2026-09-24 11:29:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":37,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298739712001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790229473000,"timestamp_ms":1790229473000,"timestamp_seconds":1790229473,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1fde6e8"} 
[2026-09-24 11:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 11:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298739712001,"66":12504,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298739712001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:29:22] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:29:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298739712001,"power":12504,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":193913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:29:22] local.INFO: GPS data processed {"connection_id":193913,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:29:22] local.INFO: Acknowledgment sent {"connection_id":193913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:29:29] local.INFO: TCP Data received {"connection_id":191250,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:29:29] local.INFO: Processing buffer {"connection_id":191250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:29:29] local.INFO: IMEI packet received {"connection_id":191250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":191250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:29:34] local.INFO: TCP Data received {"connection_id":191250,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:29:34] local.INFO: Processing buffer {"connection_id":191250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:29:34] local.INFO: IMEI packet received {"connection_id":191250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":191250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:29:35] local.INFO: TCP Data received {"connection_id":191250,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:29:35] local.INFO: Processing buffer {"connection_id":191250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:29:35] local.INFO: Packet analysis {"connection_id":191250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1fb"} 
[2026-09-24 11:29:35] local.INFO: Extracted packet for processing {"connection_id":191250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1fb"} 
[2026-09-24 11:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298630400001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790229326000,"timestamp_ms":1790229326000,"timestamp_seconds":1790229326,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1fba8b0"} 
[2026-09-24 11:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 11:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298630400001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298630400001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:29:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:29:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298630400001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":191250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:29:35] local.INFO: GPS data processed {"connection_id":191250,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:29:35] local.INFO: Acknowledgment sent {"connection_id":191250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:29:51] local.INFO: TCP Data received {"connection_id":191054,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:29:51] local.INFO: Processing buffer {"connection_id":191054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:29:51] local.INFO: IMEI packet received {"connection_id":191054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":191054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:29:56] local.INFO: TCP Data received {"connection_id":191054,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:29:56] local.INFO: Processing buffer {"connection_id":191054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:29:56] local.INFO: IMEI packet received {"connection_id":191054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":191054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:29:56] local.INFO: TCP Data received {"connection_id":191054,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1fe38f0012d1b7180072597f80025012526..."} 
[2026-09-24 11:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1fe38f0012d1b7180072597f80025012526..."} 
[2026-09-24 11:29:56] local.INFO: Processing buffer {"connection_id":191054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1fe38f0012d1b7180072597f80025012526..."} 
[2026-09-24 11:29:56] local.INFO: Packet analysis {"connection_id":191054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1fe"} 
[2026-09-24 11:29:56] local.INFO: Extracted packet for processing {"connection_id":191054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1fe"} 
[2026-09-24 11:29:56] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":38,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:29: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-09-24 11:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298745088001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790229494000,"timestamp_ms":1790229494000,"timestamp_seconds":1790229494,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1fe38f0"} 
[2026-09-24 11:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 11:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:29: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-09-24 11:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":191054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":191054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":191054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298745088001,"66":12504,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298745088001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:29:56] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:29:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298745088001,"power":12504,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":191054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:29:56] local.INFO: GPS data processed {"connection_id":191054,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:29:56] local.INFO: Acknowledgment sent {"connection_id":191054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:29:57] local.INFO: TCP Data received {"connection_id":191054,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1fe8af8012d1b7180072597f80025012523..."} 
[2026-09-24 11:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1fe8af8012d1b7180072597f80025012523..."} 
[2026-09-24 11:29:57] local.INFO: Processing buffer {"connection_id":191054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1fe8af8012d1b7180072597f80025012523..."} 
[2026-09-24 11:29:57] local.INFO: Packet analysis {"connection_id":191054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1fe"} 
[2026-09-24 11:29:57] local.INFO: Extracted packet for processing {"connection_id":191054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1fe"} 
[2026-09-24 11:29:57] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":35,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298750464001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790229515000,"timestamp_ms":1790229515000,"timestamp_seconds":1790229515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1fe8af8"} 
[2026-09-24 11:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 11:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":191054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":191054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":191054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298750464001,"66":12504,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298750464001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:29:57] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:29:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298750464001,"power":12504,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":191054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:29:57] local.INFO: GPS data processed {"connection_id":191054,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:29:57] local.INFO: Acknowledgment sent {"connection_id":191054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:30:06] local.INFO: TCP Data received {"connection_id":191250,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:30:06] local.INFO: Processing buffer {"connection_id":191250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:30:06] local.INFO: Packet analysis {"connection_id":191250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1fb"} 
[2026-09-24 11:30:06] local.INFO: Extracted packet for processing {"connection_id":191250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1fb"} 
[2026-09-24 11:30:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298630400001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790229326000,"timestamp_ms":1790229326000,"timestamp_seconds":1790229326,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1fba8b0"} 
[2026-09-24 11:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 11:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298630400001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298630400001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:30:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:30:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298630400001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":191250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:30:06] local.INFO: GPS data processed {"connection_id":191250,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:30:06] local.INFO: Acknowledgment sent {"connection_id":191250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:30:07] local.INFO: TCP Data received {"connection_id":192621,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:30:07] local.INFO: Processing buffer {"connection_id":192621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:30:07] local.INFO: IMEI packet received {"connection_id":192621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 11:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":192621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:30:28] local.INFO: TCP Data received {"connection_id":191054,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1fedd00012d1b7180072597f80025012525..."} 
[2026-09-24 11:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1fedd00012d1b7180072597f80025012525..."} 
[2026-09-24 11:30:28] local.INFO: Processing buffer {"connection_id":191054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1fedd00012d1b7180072597f80025012525..."} 
[2026-09-24 11:30:28] local.INFO: Packet analysis {"connection_id":191054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1fe"} 
[2026-09-24 11:30:28] local.INFO: Extracted packet for processing {"connection_id":191054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1fe"} 
[2026-09-24 11:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":37,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298755840001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790229536000,"timestamp_ms":1790229536000,"timestamp_seconds":1790229536,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1fedd00"} 
[2026-09-24 11:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 11:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":191054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":191054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":191054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298755840001,"66":12526,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298755840001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:30:28] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:30:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298755840001,"power":12526,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":191054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:30:28] local.INFO: GPS data processed {"connection_id":191054,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:30:28] local.INFO: Acknowledgment sent {"connection_id":191054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:30:28] local.INFO: TCP Data received {"connection_id":191251,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:30:28] local.INFO: Processing buffer {"connection_id":191251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:30:28] local.INFO: IMEI packet received {"connection_id":191251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":191251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:30:34] local.INFO: TCP Data received {"connection_id":191251,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:30:34] local.INFO: Processing buffer {"connection_id":191251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:30:34] local.INFO: IMEI packet received {"connection_id":191251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":191251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:30:35] local.INFO: TCP Data received {"connection_id":191251,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:30:35] local.INFO: Processing buffer {"connection_id":191251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1fba8b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:30:35] local.INFO: Packet analysis {"connection_id":191251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1fb"} 
[2026-09-24 11:30:35] local.INFO: Extracted packet for processing {"connection_id":191251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1fb"} 
[2026-09-24 11:30:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298630400001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790229326000,"timestamp_ms":1790229326000,"timestamp_seconds":1790229326,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1fba8b0"} 
[2026-09-24 11:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 11:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298630400001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298630400001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:30:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:30:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298630400001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":191251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:30:35] local.INFO: GPS data processed {"connection_id":191251,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:30:35] local.INFO: Acknowledgment sent {"connection_id":191251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:30:45] local.INFO: TCP Data received {"connection_id":192622,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:30:45] local.INFO: Processing buffer {"connection_id":192622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:30:45] local.INFO: IMEI packet received {"connection_id":192622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":192622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:30:50] local.INFO: TCP Data received {"connection_id":192622,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:30:50] local.INFO: Processing buffer {"connection_id":192622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:30:50] local.INFO: IMEI packet received {"connection_id":192622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":192622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:30:51] local.INFO: TCP Data received {"connection_id":192622,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ff2f08012d1b7180072597f80025012525..."} 
[2026-09-24 11:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ff2f08012d1b7180072597f80025012525..."} 
[2026-09-24 11:30:51] local.INFO: Processing buffer {"connection_id":192622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ff2f08012d1b7180072597f80025012525..."} 
[2026-09-24 11:30:51] local.INFO: Packet analysis {"connection_id":192622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ff"} 
[2026-09-24 11:30:51] local.INFO: Extracted packet for processing {"connection_id":192622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ff"} 
[2026-09-24 11:30:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":37,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298761216001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790229557000,"timestamp_ms":1790229557000,"timestamp_seconds":1790229557,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ff2f08"} 
[2026-09-24 11:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 11:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298761216001,"66":12526,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298761216001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:30:51] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:30:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298761216001,"power":12526,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":192622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:30:51] local.INFO: GPS data processed {"connection_id":192622,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:30:51] local.INFO: Acknowledgment sent {"connection_id":192622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:30:56] local.INFO: TCP Data received {"connection_id":192622,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ff8110012d1b7180072597f80025012523..."} 
[2026-09-24 11:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ff8110012d1b7180072597f80025012523..."} 
[2026-09-24 11:30:56] local.INFO: Processing buffer {"connection_id":192622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ff8110012d1b7180072597f80025012523..."} 
[2026-09-24 11:30:56] local.INFO: Packet analysis {"connection_id":192622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ff"} 
[2026-09-24 11:30:56] local.INFO: Extracted packet for processing {"connection_id":192622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ff"} 
[2026-09-24 11:30:56] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":35,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298766592001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790229578000,"timestamp_ms":1790229578000,"timestamp_seconds":1790229578,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ff8110"} 
[2026-09-24 11:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 11:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298766592001,"66":12526,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298766592001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:30:56] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:30:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298766592001,"power":12526,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":192622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:30:56] local.INFO: GPS data processed {"connection_id":192622,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:30:56] local.INFO: Acknowledgment sent {"connection_id":192622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:31:07] local.INFO: TCP Data received {"connection_id":191251,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:31:07] local.INFO: Processing buffer {"connection_id":191251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:31:07] local.INFO: Packet analysis {"connection_id":191251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:31:07] local.INFO: Extracted packet for processing {"connection_id":191251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298707456001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790229627000,"timestamp_ms":1790229627000,"timestamp_seconds":1790229627,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2004078"} 
[2026-09-24 11:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298707456001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298707456001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:31:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:31:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298707456001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":191251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:31:07] local.INFO: GPS data processed {"connection_id":191251,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:31:07] local.INFO: Acknowledgment sent {"connection_id":191251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:31:27] local.INFO: TCP Data received {"connection_id":192622,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d1ffd318012d1b7180072597f80025012524..."} 
[2026-09-24 11:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d1ffd318012d1b7180072597f80025012524..."} 
[2026-09-24 11:31:27] local.INFO: Processing buffer {"connection_id":192622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d1ffd318012d1b7180072597f80025012524..."} 
[2026-09-24 11:31:27] local.INFO: Packet analysis {"connection_id":192622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d1ff"} 
[2026-09-24 11:31:27] local.INFO: Extracted packet for processing {"connection_id":192622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d1ff"} 
[2026-09-24 11:31:27] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":36,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:31: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-09-24 11:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298771968001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790229599000,"timestamp_ms":1790229599000,"timestamp_seconds":1790229599,"priority":1,"record_length":96,"hex_timestamp":"000001a0d1ffd318"} 
[2026-09-24 11:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 11:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:31: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-09-24 11:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298771968001,"66":12526,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298771968001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:31:27] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:31:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298771968001,"power":12526,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":192622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:31:27] local.INFO: GPS data processed {"connection_id":192622,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:31:27] local.INFO: Acknowledgment sent {"connection_id":192622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:31:34] local.INFO: TCP Data received {"connection_id":193914,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:31:34] local.INFO: Processing buffer {"connection_id":193914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:31:34] local.INFO: IMEI packet received {"connection_id":193914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":193914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:31:39] local.INFO: TCP Data received {"connection_id":193914,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:31:39] local.INFO: Processing buffer {"connection_id":193914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:31:39] local.INFO: IMEI packet received {"connection_id":193914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":193914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:31:40] local.INFO: TCP Data received {"connection_id":193914,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:31:40] local.INFO: Processing buffer {"connection_id":193914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:31:40] local.INFO: Packet analysis {"connection_id":193914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:31:40] local.INFO: Extracted packet for processing {"connection_id":193914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:31:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298707456001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790229627000,"timestamp_ms":1790229627000,"timestamp_seconds":1790229627,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2004078"} 
[2026-09-24 11:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298707456001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298707456001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:31:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:31:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298707456001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":193914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:31:40] local.INFO: GPS data processed {"connection_id":193914,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:31:40] local.INFO: Acknowledgment sent {"connection_id":193914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:31:44] local.INFO: TCP Data received {"connection_id":193914,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:31:44] local.INFO: Processing buffer {"connection_id":193914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:31:44] local.INFO: Packet analysis {"connection_id":193914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:31:44] local.INFO: Extracted packet for processing {"connection_id":193914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:31:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298707456001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790229627000,"timestamp_ms":1790229627000,"timestamp_seconds":1790229627,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2004078"} 
[2026-09-24 11:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:31:44] 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-09-24 11:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298707456001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298707456001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:31:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:31:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298707456001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":193914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:31:44] local.INFO: GPS data processed {"connection_id":193914,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:31:44] local.INFO: Acknowledgment sent {"connection_id":193914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:31:45] local.INFO: TCP Data received {"connection_id":193915,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:31:45] local.INFO: Processing buffer {"connection_id":193915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:31:45] local.INFO: IMEI packet received {"connection_id":193915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":193915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:31:51] local.INFO: TCP Data received {"connection_id":193915,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:31:51] local.INFO: Processing buffer {"connection_id":193915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:31:51] local.INFO: IMEI packet received {"connection_id":193915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":193915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:31:52] local.INFO: TCP Data received {"connection_id":193915,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2002520012d1b7180072597f80025012526..."} 
[2026-09-24 11:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2002520012d1b7180072597f80025012526..."} 
[2026-09-24 11:31:52] local.INFO: Processing buffer {"connection_id":193915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2002520012d1b7180072597f80025012526..."} 
[2026-09-24 11:31:52] local.INFO: Packet analysis {"connection_id":193915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:31:52] local.INFO: Extracted packet for processing {"connection_id":193915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:31:52] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":38,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298777344001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790229620000,"timestamp_ms":1790229620000,"timestamp_seconds":1790229620,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2002520"} 
[2026-09-24 11:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 11:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":193915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":193915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":193915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298777344001,"66":12504,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298777344001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:31:52] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:31:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298777344001,"power":12504,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":193915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:31:52] local.INFO: GPS data processed {"connection_id":193915,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:31:52] local.INFO: Acknowledgment sent {"connection_id":193915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:32:23] local.INFO: TCP Data received {"connection_id":193915,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2007728012d1b7180072597f80025012527..."} 
[2026-09-24 11:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2007728012d1b7180072597f80025012527..."} 
[2026-09-24 11:32:23] local.INFO: Processing buffer {"connection_id":193915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2007728012d1b7180072597f80025012527..."} 
[2026-09-24 11:32:23] local.INFO: Packet analysis {"connection_id":193915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:32:23] local.INFO: Extracted packet for processing {"connection_id":193915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:32:23] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":39,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298782720001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790229641000,"timestamp_ms":1790229641000,"timestamp_seconds":1790229641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2007728"} 
[2026-09-24 11:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 11:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":193915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":193915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":193915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298782720001,"66":12526,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298782720001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:32:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:32:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298782720001,"power":12526,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":193915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:32:23] local.INFO: GPS data processed {"connection_id":193915,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:32:23] local.INFO: Acknowledgment sent {"connection_id":193915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:32:29] local.INFO: TCP Data received {"connection_id":192624,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:32:29] local.INFO: Processing buffer {"connection_id":192624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:32:29] local.INFO: IMEI packet received {"connection_id":192624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":192624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:32:34] local.INFO: TCP Data received {"connection_id":192624,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:32:34] local.INFO: Processing buffer {"connection_id":192624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:32:34] local.INFO: IMEI packet received {"connection_id":192624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":192624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:32:36] local.INFO: TCP Data received {"connection_id":192624,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:32:36] local.INFO: Processing buffer {"connection_id":192624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:32:36] local.INFO: Packet analysis {"connection_id":192624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:32:36] local.INFO: Extracted packet for processing {"connection_id":192624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298707456001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790229627000,"timestamp_ms":1790229627000,"timestamp_seconds":1790229627,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2004078"} 
[2026-09-24 11:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298707456001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298707456001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:32:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:32:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298707456001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":192624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:32:36] local.INFO: GPS data processed {"connection_id":192624,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:32:36] local.INFO: Acknowledgment sent {"connection_id":192624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:32:43] local.INFO: TCP Data received {"connection_id":191253,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:32:43] local.INFO: Processing buffer {"connection_id":191253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:32:43] local.INFO: IMEI packet received {"connection_id":191253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":191253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:32:45] local.INFO: TCP Data received {"connection_id":191253,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:32:46] local.INFO: Processing buffer {"connection_id":191253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:32:46] local.INFO: IMEI packet received {"connection_id":191253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":191253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:32:51] local.INFO: TCP Data received {"connection_id":191253,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:32:51] local.INFO: Processing buffer {"connection_id":191253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:32:51] local.INFO: IMEI packet received {"connection_id":191253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":191253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:32:52] local.INFO: TCP Data received {"connection_id":191253,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d200c930012d1b7180072597f80025012528..."} 
[2026-09-24 11:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d200c930012d1b7180072597f80025012528..."} 
[2026-09-24 11:32:52] local.INFO: Processing buffer {"connection_id":191253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d200c930012d1b7180072597f80025012528..."} 
[2026-09-24 11:32:52] local.INFO: Packet analysis {"connection_id":191253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:32:52] local.INFO: Extracted packet for processing {"connection_id":191253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:32:52] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":40,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298788096001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790229662000,"timestamp_ms":1790229662000,"timestamp_seconds":1790229662,"priority":1,"record_length":96,"hex_timestamp":"000001a0d200c930"} 
[2026-09-24 11:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 11:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298788096001,"66":12515,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298788096001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:32:52] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:32:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298788096001,"power":12515,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":191253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:32:52] local.INFO: GPS data processed {"connection_id":191253,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:32:52] local.INFO: Acknowledgment sent {"connection_id":191253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:33:07] local.INFO: TCP Data received {"connection_id":192624,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:33:07] local.INFO: Processing buffer {"connection_id":192624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:33:07] local.INFO: Packet analysis {"connection_id":192624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:33:07] local.INFO: Extracted packet for processing {"connection_id":192624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:33:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298707456001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790229627000,"timestamp_ms":1790229627000,"timestamp_seconds":1790229627,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2004078"} 
[2026-09-24 11:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298707456001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298707456001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:33:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:33:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298707456001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":192624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:33:07] local.INFO: GPS data processed {"connection_id":192624,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:33:07] local.INFO: Acknowledgment sent {"connection_id":192624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:33:23] local.INFO: TCP Data received {"connection_id":191253,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2011b38012d1b7180072597f80025012525..."} 
[2026-09-24 11:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2011b38012d1b7180072597f80025012525..."} 
[2026-09-24 11:33:23] local.INFO: Processing buffer {"connection_id":191253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2011b38012d1b7180072597f80025012525..."} 
[2026-09-24 11:33:23] local.INFO: Packet analysis {"connection_id":191253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d201"} 
[2026-09-24 11:33:23] local.INFO: Extracted packet for processing {"connection_id":191253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d201"} 
[2026-09-24 11:33:23] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":37,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298793472001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790229683000,"timestamp_ms":1790229683000,"timestamp_seconds":1790229683,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2011b38"} 
[2026-09-24 11:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-24 11:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298793472001,"66":12526,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298793472001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:33:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:33:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298793472001,"power":12526,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":191253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:33:23] local.INFO: GPS data processed {"connection_id":191253,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:33:23] local.INFO: Acknowledgment sent {"connection_id":191253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:33:29] local.INFO: TCP Data received {"connection_id":193916,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:33:29] local.INFO: Processing buffer {"connection_id":193916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:33:29] local.INFO: IMEI packet received {"connection_id":193916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":193916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:33:34] local.INFO: TCP Data received {"connection_id":193916,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:33:34] local.INFO: Processing buffer {"connection_id":193916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:33:34] local.INFO: IMEI packet received {"connection_id":193916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":193916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:33:34] local.INFO: TCP Data received {"connection_id":193916,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:33:34] local.INFO: Processing buffer {"connection_id":193916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:33:34] local.INFO: Packet analysis {"connection_id":193916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:33:34] local.INFO: Extracted packet for processing {"connection_id":193916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:33:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298707456001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790229627000,"timestamp_ms":1790229627000,"timestamp_seconds":1790229627,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2004078"} 
[2026-09-24 11:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298707456001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298707456001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:33:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:33:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298707456001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":193916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:33:34] local.INFO: GPS data processed {"connection_id":193916,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:33:34] local.INFO: Acknowledgment sent {"connection_id":193916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:33:45] local.INFO: TCP Data received {"connection_id":192625,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:33:45] local.INFO: Processing buffer {"connection_id":192625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:33:45] local.INFO: IMEI packet received {"connection_id":192625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":192625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:33:46] local.INFO: TCP Data received {"connection_id":192625,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:33:46] local.INFO: Processing buffer {"connection_id":192625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:33:46] local.INFO: IMEI packet received {"connection_id":192625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":192625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:33:50] local.INFO: TCP Data received {"connection_id":192625,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:33:50] local.INFO: Processing buffer {"connection_id":192625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:33:50] local.INFO: IMEI packet received {"connection_id":192625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":192625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:33:51] local.INFO: TCP Data received {"connection_id":192625,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2016d40012d1b7180072597f80025012523..."} 
[2026-09-24 11:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2016d40012d1b7180072597f80025012523..."} 
[2026-09-24 11:33:51] local.INFO: Processing buffer {"connection_id":192625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2016d40012d1b7180072597f80025012523..."} 
[2026-09-24 11:33:51] local.INFO: Packet analysis {"connection_id":192625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d201"} 
[2026-09-24 11:33:51] local.INFO: Extracted packet for processing {"connection_id":192625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d201"} 
[2026-09-24 11:33:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":35,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298798848001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790229704000,"timestamp_ms":1790229704000,"timestamp_seconds":1790229704,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2016d40"} 
[2026-09-24 11:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 11:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298798848001,"66":12515,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298798848001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:33:51] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:33:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298798848001,"power":12515,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":192625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:33:51] local.INFO: GPS data processed {"connection_id":192625,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:33:51] local.INFO: Acknowledgment sent {"connection_id":192625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:34:06] local.INFO: TCP Data received {"connection_id":193916,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:34:06] local.INFO: Processing buffer {"connection_id":193916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:34:06] local.INFO: Packet analysis {"connection_id":193916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:34:06] local.INFO: Extracted packet for processing {"connection_id":193916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:34:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298707456001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790229627000,"timestamp_ms":1790229627000,"timestamp_seconds":1790229627,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2004078"} 
[2026-09-24 11:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298707456001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298707456001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:34:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:34:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298707456001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":193916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:34:06] local.INFO: GPS data processed {"connection_id":193916,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:34:06] local.INFO: Acknowledgment sent {"connection_id":193916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:34:22] local.INFO: TCP Data received {"connection_id":192625,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d201bf48012d1b7180072597f80025012526..."} 
[2026-09-24 11:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d201bf48012d1b7180072597f80025012526..."} 
[2026-09-24 11:34:22] local.INFO: Processing buffer {"connection_id":192625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d201bf48012d1b7180072597f80025012526..."} 
[2026-09-24 11:34:22] local.INFO: Packet analysis {"connection_id":192625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d201"} 
[2026-09-24 11:34:22] local.INFO: Extracted packet for processing {"connection_id":192625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d201"} 
[2026-09-24 11:34:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":38,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298804224001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790229725000,"timestamp_ms":1790229725000,"timestamp_seconds":1790229725,"priority":1,"record_length":96,"hex_timestamp":"000001a0d201bf48"} 
[2026-09-24 11:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-24 11:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298804224001,"66":12461,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298804224001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:34:22] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:34:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298804224001,"power":12461,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":192625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:34:22] local.INFO: GPS data processed {"connection_id":192625,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:34:22] local.INFO: Acknowledgment sent {"connection_id":192625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:34:29] local.INFO: TCP Data received {"connection_id":192626,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:34:29] local.INFO: Processing buffer {"connection_id":192626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:34:29] local.INFO: IMEI packet received {"connection_id":192626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":192626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:34:34] local.INFO: TCP Data received {"connection_id":192626,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:34:34] local.INFO: Processing buffer {"connection_id":192626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:34:34] local.INFO: IMEI packet received {"connection_id":192626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":192626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:34:35] local.INFO: TCP Data received {"connection_id":192626,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:34:35] local.INFO: Processing buffer {"connection_id":192626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:34:35] local.INFO: Packet analysis {"connection_id":192626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:34:35] local.INFO: Extracted packet for processing {"connection_id":192626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:34:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298707456001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790229627000,"timestamp_ms":1790229627000,"timestamp_seconds":1790229627,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2004078"} 
[2026-09-24 11:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:34:35] 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-09-24 11:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298707456001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298707456001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:34:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:34:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298707456001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":192626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:34:35] local.INFO: GPS data processed {"connection_id":192626,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:34:35] local.INFO: Acknowledgment sent {"connection_id":192626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:34:45] local.INFO: TCP Data received {"connection_id":193917,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:34:45] local.INFO: Processing buffer {"connection_id":193917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:34:45] local.INFO: IMEI packet received {"connection_id":193917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":193917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:34:49] local.INFO: TCP Data received {"connection_id":193917,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:34:49] local.INFO: Processing buffer {"connection_id":193917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:34:49] local.INFO: IMEI packet received {"connection_id":193917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":193917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:34:50] local.INFO: TCP Data received {"connection_id":193917,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2021150012d1b7180072597f80025012526..."} 
[2026-09-24 11:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2021150012d1b7180072597f80025012526..."} 
[2026-09-24 11:34:50] local.INFO: Processing buffer {"connection_id":193917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2021150012d1b7180072597f80025012526..."} 
[2026-09-24 11:34:50] local.INFO: Packet analysis {"connection_id":193917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d202"} 
[2026-09-24 11:34:50] local.INFO: Extracted packet for processing {"connection_id":193917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d202"} 
[2026-09-24 11:34:50] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":38,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:34: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-09-24 11:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298809600001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790229746000,"timestamp_ms":1790229746000,"timestamp_seconds":1790229746,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2021150"} 
[2026-09-24 11:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 11:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:34: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-09-24 11:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":193917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":193917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":193917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298809600001,"66":12504,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298809600001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:34:50] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:34:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298809600001,"power":12504,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":193917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:34:50] local.INFO: GPS data processed {"connection_id":193917,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:34:50] local.INFO: Acknowledgment sent {"connection_id":193917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:35:07] local.INFO: TCP Data received {"connection_id":192626,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:35:07] local.INFO: Processing buffer {"connection_id":192626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:35:07] local.INFO: Packet analysis {"connection_id":192626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:35:07] local.INFO: Extracted packet for processing {"connection_id":192626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:35:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298707456001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790229627000,"timestamp_ms":1790229627000,"timestamp_seconds":1790229627,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2004078"} 
[2026-09-24 11:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298707456001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298707456001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:35:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:35:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298707456001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":192626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:35:07] local.INFO: GPS data processed {"connection_id":192626,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:35:07] local.INFO: Acknowledgment sent {"connection_id":192626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:35:21] local.INFO: TCP Data received {"connection_id":193917,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2026358012d1b7180072597f80025012526..."} 
[2026-09-24 11:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2026358012d1b7180072597f80025012526..."} 
[2026-09-24 11:35:21] local.INFO: Processing buffer {"connection_id":193917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2026358012d1b7180072597f80025012526..."} 
[2026-09-24 11:35:21] local.INFO: Packet analysis {"connection_id":193917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d202"} 
[2026-09-24 11:35:21] local.INFO: Extracted packet for processing {"connection_id":193917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d202"} 
[2026-09-24 11:35:21] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":38,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298814976001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790229767000,"timestamp_ms":1790229767000,"timestamp_seconds":1790229767,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2026358"} 
[2026-09-24 11:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 11:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298814976001,"66":12504,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298814976001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:35:21] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:35:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298814976001,"power":12504,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":193917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:35:21] local.INFO: GPS data processed {"connection_id":193917,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:35:21] local.INFO: Acknowledgment sent {"connection_id":193917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:35:28] local.INFO: TCP Data received {"connection_id":191254,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:35:28] local.INFO: Processing buffer {"connection_id":191254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:35:28] local.INFO: IMEI packet received {"connection_id":191254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":191254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:35:34] local.INFO: TCP Data received {"connection_id":191254,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:35:34] local.INFO: Processing buffer {"connection_id":191254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:35:34] local.INFO: IMEI packet received {"connection_id":191254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":191254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:35:35] local.INFO: TCP Data received {"connection_id":191254,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:35:35] local.INFO: Processing buffer {"connection_id":191254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:35:35] local.INFO: Packet analysis {"connection_id":191254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:35:35] local.INFO: Extracted packet for processing {"connection_id":191254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298707456001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790229627000,"timestamp_ms":1790229627000,"timestamp_seconds":1790229627,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2004078"} 
[2026-09-24 11:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:35:35] 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-09-24 11: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-09-24 11:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298707456001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298707456001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:35:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:35:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298707456001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":191254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:35:35] local.INFO: GPS data processed {"connection_id":191254,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:35:35] local.INFO: Acknowledgment sent {"connection_id":191254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:35:37] local.INFO: TCP Data received {"connection_id":192627,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:35:37] local.INFO: Processing buffer {"connection_id":192627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:35:37] local.INFO: IMEI packet received {"connection_id":192627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 11:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":192627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:35:45] local.INFO: TCP Data received {"connection_id":192628,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:35:45] local.INFO: Processing buffer {"connection_id":192628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:35:45] local.INFO: IMEI packet received {"connection_id":192628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":192628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:35:50] local.INFO: TCP Data received {"connection_id":192628,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:35:50] local.INFO: Processing buffer {"connection_id":192628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:35:50] local.INFO: IMEI packet received {"connection_id":192628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":192628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:35:51] local.INFO: TCP Data received {"connection_id":192628,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d202b560012d1b7180072597f80025012525..."} 
[2026-09-24 11:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d202b560012d1b7180072597f80025012525..."} 
[2026-09-24 11:35:51] local.INFO: Processing buffer {"connection_id":192628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d202b560012d1b7180072597f80025012525..."} 
[2026-09-24 11:35:51] local.INFO: Packet analysis {"connection_id":192628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d202"} 
[2026-09-24 11:35:51] local.INFO: Extracted packet for processing {"connection_id":192628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d202"} 
[2026-09-24 11:35:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":37,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298820352001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790229788000,"timestamp_ms":1790229788000,"timestamp_seconds":1790229788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d202b560"} 
[2026-09-24 11:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 11:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298820352001,"66":12461,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298820352001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:35:51] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:35:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298820352001,"power":12461,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":192628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:35:51] local.INFO: GPS data processed {"connection_id":192628,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:35:51] local.INFO: Acknowledgment sent {"connection_id":192628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:36:07] local.INFO: TCP Data received {"connection_id":191254,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:36:07] local.INFO: Processing buffer {"connection_id":191254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2004078012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:36:07] local.INFO: Packet analysis {"connection_id":191254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:36:07] local.INFO: Extracted packet for processing {"connection_id":191254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d200"} 
[2026-09-24 11:36:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298707456001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790229627000,"timestamp_ms":1790229627000,"timestamp_seconds":1790229627,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2004078"} 
[2026-09-24 11:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298707456001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298707456001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:36:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:36:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298707456001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":191254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:36:07] local.INFO: GPS data processed {"connection_id":191254,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:36:07] local.INFO: Acknowledgment sent {"connection_id":191254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:36:07] local.INFO: TCP Data received {"connection_id":193918,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:36:07] local.INFO: Processing buffer {"connection_id":193918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:36:07] local.INFO: IMEI packet received {"connection_id":193918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 11:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":193918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:36:23] local.INFO: TCP Data received {"connection_id":192628,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2030768012d1b7180072597f80025012527..."} 
[2026-09-24 11:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2030768012d1b7180072597f80025012527..."} 
[2026-09-24 11:36:23] local.INFO: Processing buffer {"connection_id":192628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2030768012d1b7180072597f80025012527..."} 
[2026-09-24 11:36:23] local.INFO: Packet analysis {"connection_id":192628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d203"} 
[2026-09-24 11:36:23] local.INFO: Extracted packet for processing {"connection_id":192628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d203"} 
[2026-09-24 11:36:23] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":39,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298825728001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790229809000,"timestamp_ms":1790229809000,"timestamp_seconds":1790229809,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2030768"} 
[2026-09-24 11:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 11:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298825728001,"66":12504,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298825728001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:36:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:36:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298825728001,"power":12504,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":192628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:36:23] local.INFO: GPS data processed {"connection_id":192628,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:36:23] local.INFO: Acknowledgment sent {"connection_id":192628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:36:34] local.INFO: TCP Data received {"connection_id":193919,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:36:34] local.INFO: Processing buffer {"connection_id":193919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:36:34] local.INFO: IMEI packet received {"connection_id":193919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":193919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:36:39] local.INFO: TCP Data received {"connection_id":193919,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:36:39] local.INFO: Processing buffer {"connection_id":193919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:36:39] local.INFO: IMEI packet received {"connection_id":193919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":193919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:36:40] local.INFO: TCP Data received {"connection_id":193919,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:36:40] local.INFO: Processing buffer {"connection_id":193919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:36:40] local.INFO: Packet analysis {"connection_id":193919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:36:40] local.INFO: Extracted packet for processing {"connection_id":193919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:36:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298784512001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790229928000,"timestamp_ms":1790229928000,"timestamp_seconds":1790229928,"priority":1,"record_length":96,"hex_timestamp":"000001a0d204d840"} 
[2026-09-24 11:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298784512001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298784512001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:36:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:36:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298784512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":193919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:36:40] local.INFO: GPS data processed {"connection_id":193919,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:36:40] local.INFO: Acknowledgment sent {"connection_id":193919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:36:44] local.INFO: TCP Data received {"connection_id":193919,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:36:44] local.INFO: Processing buffer {"connection_id":193919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:36:44] local.INFO: Packet analysis {"connection_id":193919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:36:44] local.INFO: Extracted packet for processing {"connection_id":193919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:36:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298784512001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790229928000,"timestamp_ms":1790229928000,"timestamp_seconds":1790229928,"priority":1,"record_length":96,"hex_timestamp":"000001a0d204d840"} 
[2026-09-24 11:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:36:44] 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-09-24 11:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298784512001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298784512001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:36:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:36:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298784512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":193919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:36:44] local.INFO: GPS data processed {"connection_id":193919,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:36:44] local.INFO: Acknowledgment sent {"connection_id":193919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:36:45] local.INFO: TCP Data received {"connection_id":193920,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:36:45] local.INFO: Processing buffer {"connection_id":193920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:36:45] local.INFO: IMEI packet received {"connection_id":193920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":193920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:36:50] local.INFO: TCP Data received {"connection_id":193920,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:36:50] local.INFO: Processing buffer {"connection_id":193920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:36:50] local.INFO: IMEI packet received {"connection_id":193920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":193920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:36:51] local.INFO: TCP Data received {"connection_id":193920,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2035970012d1b7180072597f80025012527..."} 
[2026-09-24 11:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2035970012d1b7180072597f80025012527..."} 
[2026-09-24 11:36:51] local.INFO: Processing buffer {"connection_id":193920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2035970012d1b7180072597f80025012527..."} 
[2026-09-24 11:36:51] local.INFO: Packet analysis {"connection_id":193920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d203"} 
[2026-09-24 11:36:51] local.INFO: Extracted packet for processing {"connection_id":193920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d203"} 
[2026-09-24 11:36:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":39,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298831104001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790229830000,"timestamp_ms":1790229830000,"timestamp_seconds":1790229830,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2035970"} 
[2026-09-24 11:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 11:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298831104001,"66":12461,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298831104001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:36:51] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:36:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298831104001,"power":12461,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":193920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:36:51] local.INFO: GPS data processed {"connection_id":193920,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:36:51] local.INFO: Acknowledgment sent {"connection_id":193920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:37:22] local.INFO: TCP Data received {"connection_id":193920,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d203ab78012d1b7180072597f80025012523..."} 
[2026-09-24 11:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d203ab78012d1b7180072597f80025012523..."} 
[2026-09-24 11:37:22] local.INFO: Processing buffer {"connection_id":193920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d203ab78012d1b7180072597f80025012523..."} 
[2026-09-24 11:37:22] local.INFO: Packet analysis {"connection_id":193920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d203"} 
[2026-09-24 11:37:22] local.INFO: Extracted packet for processing {"connection_id":193920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d203"} 
[2026-09-24 11:37:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":35,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298836480001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790229851000,"timestamp_ms":1790229851000,"timestamp_seconds":1790229851,"priority":1,"record_length":96,"hex_timestamp":"000001a0d203ab78"} 
[2026-09-24 11:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 11:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298836480001,"66":12461,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298836480001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:37:22] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:37:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298836480001,"power":12461,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":193920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:37:22] local.INFO: GPS data processed {"connection_id":193920,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:37:22] local.INFO: Acknowledgment sent {"connection_id":193920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:37:29] local.INFO: TCP Data received {"connection_id":192629,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:37:29] local.INFO: Processing buffer {"connection_id":192629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:37:29] local.INFO: IMEI packet received {"connection_id":192629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":192629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:37:34] local.INFO: TCP Data received {"connection_id":192629,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:37:34] local.INFO: Processing buffer {"connection_id":192629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:37:34] local.INFO: IMEI packet received {"connection_id":192629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":192629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:37:35] local.INFO: TCP Data received {"connection_id":192629,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:37:35] local.INFO: Processing buffer {"connection_id":192629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:37:35] local.INFO: Packet analysis {"connection_id":192629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:37:35] local.INFO: Extracted packet for processing {"connection_id":192629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:37:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298784512001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790229928000,"timestamp_ms":1790229928000,"timestamp_seconds":1790229928,"priority":1,"record_length":96,"hex_timestamp":"000001a0d204d840"} 
[2026-09-24 11:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:37:35] 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-09-24 11:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298784512001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298784512001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:37:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:37:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298784512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":192629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:37:35] local.INFO: GPS data processed {"connection_id":192629,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:37:35] local.INFO: Acknowledgment sent {"connection_id":192629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:37:45] local.INFO: TCP Data received {"connection_id":191255,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:37:45] local.INFO: Processing buffer {"connection_id":191255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:37:45] local.INFO: IMEI packet received {"connection_id":191255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":191255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:37:51] local.INFO: TCP Data received {"connection_id":191255,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:37:51] local.INFO: Processing buffer {"connection_id":191255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:37:51] local.INFO: IMEI packet received {"connection_id":191255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":191255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:37:51] local.INFO: TCP Data received {"connection_id":191255,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d203fd80012d1b7180072597f80025012525..."} 
[2026-09-24 11:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d203fd80012d1b7180072597f80025012525..."} 
[2026-09-24 11:37:51] local.INFO: Processing buffer {"connection_id":191255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d203fd80012d1b7180072597f80025012525..."} 
[2026-09-24 11:37:51] local.INFO: Packet analysis {"connection_id":191255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d203"} 
[2026-09-24 11:37:51] local.INFO: Extracted packet for processing {"connection_id":191255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d203"} 
[2026-09-24 11:37:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":37,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298841856001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790229872000,"timestamp_ms":1790229872000,"timestamp_seconds":1790229872,"priority":1,"record_length":96,"hex_timestamp":"000001a0d203fd80"} 
[2026-09-24 11:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 11:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298841856001,"66":12504,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298841856001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:37:51] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:37:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298841856001,"power":12504,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":191255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:37:51] local.INFO: GPS data processed {"connection_id":191255,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:37:51] local.INFO: Acknowledgment sent {"connection_id":191255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:38:06] local.INFO: TCP Data received {"connection_id":192629,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:38:06] local.INFO: Processing buffer {"connection_id":192629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:38:06] local.INFO: Packet analysis {"connection_id":192629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:38:06] local.INFO: Extracted packet for processing {"connection_id":192629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:38:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298784512001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790229928000,"timestamp_ms":1790229928000,"timestamp_seconds":1790229928,"priority":1,"record_length":96,"hex_timestamp":"000001a0d204d840"} 
[2026-09-24 11:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298784512001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298784512001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:38:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:38:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298784512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":192629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:38:06] local.INFO: GPS data processed {"connection_id":192629,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:38:06] local.INFO: Acknowledgment sent {"connection_id":192629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:38:22] local.INFO: TCP Data received {"connection_id":191255,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2044f88012d1b7180072597f80025012524..."} 
[2026-09-24 11:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2044f88012d1b7180072597f80025012524..."} 
[2026-09-24 11:38:22] local.INFO: Processing buffer {"connection_id":191255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2044f88012d1b7180072597f80025012524..."} 
[2026-09-24 11:38:22] local.INFO: Packet analysis {"connection_id":191255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:38:22] local.INFO: Extracted packet for processing {"connection_id":191255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:38:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":36,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298847232001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790229893000,"timestamp_ms":1790229893000,"timestamp_seconds":1790229893,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2044f88"} 
[2026-09-24 11:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 11:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298847232001,"66":12461,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298847232001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:38:22] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:38:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298847232001,"power":12461,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":191255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:38:22] local.INFO: GPS data processed {"connection_id":191255,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:38:22] local.INFO: Acknowledgment sent {"connection_id":191255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:38:29] local.INFO: TCP Data received {"connection_id":192631,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:38:29] local.INFO: Processing buffer {"connection_id":192631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:38:29] local.INFO: IMEI packet received {"connection_id":192631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":192631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:38:34] local.INFO: TCP Data received {"connection_id":192631,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:38:34] local.INFO: Processing buffer {"connection_id":192631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:38:34] local.INFO: IMEI packet received {"connection_id":192631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":192631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:38:35] local.INFO: TCP Data received {"connection_id":192631,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:38:35] local.INFO: Processing buffer {"connection_id":192631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:38:35] local.INFO: Packet analysis {"connection_id":192631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:38:35] local.INFO: Extracted packet for processing {"connection_id":192631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:38:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298784512001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790229928000,"timestamp_ms":1790229928000,"timestamp_seconds":1790229928,"priority":1,"record_length":96,"hex_timestamp":"000001a0d204d840"} 
[2026-09-24 11:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:38:35] 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-09-24 11: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-09-24 11:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298784512001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298784512001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:38:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:38:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298784512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":192631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:38:35] local.INFO: GPS data processed {"connection_id":192631,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:38:35] local.INFO: Acknowledgment sent {"connection_id":192631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:38:50] local.INFO: TCP Data received {"connection_id":191256,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:38:50] local.INFO: Processing buffer {"connection_id":191256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:38:50] local.INFO: IMEI packet received {"connection_id":191256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":191256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:38:55] local.INFO: TCP Data received {"connection_id":191256,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:38:55] local.INFO: Processing buffer {"connection_id":191256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:38:55] local.INFO: IMEI packet received {"connection_id":191256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":191256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:38:56] local.INFO: TCP Data received {"connection_id":191256,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d204a190012d1b7180072597f80025012526..."} 
[2026-09-24 11:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d204a190012d1b7180072597f80025012526..."} 
[2026-09-24 11:38:56] local.INFO: Processing buffer {"connection_id":191256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d204a190012d1b7180072597f80025012526..."} 
[2026-09-24 11:38:56] local.INFO: Packet analysis {"connection_id":191256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:38:56] local.INFO: Extracted packet for processing {"connection_id":191256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:38:56] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":38,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:38: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-09-24 11:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298852608001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790229914000,"timestamp_ms":1790229914000,"timestamp_seconds":1790229914,"priority":1,"record_length":96,"hex_timestamp":"000001a0d204a190"} 
[2026-09-24 11:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 11:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:38: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-09-24 11:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":191256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":191256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":191256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298852608001,"66":12439,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298852608001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:38:56] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:38:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298852608001,"power":12439,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":191256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:38:56] local.INFO: GPS data processed {"connection_id":191256,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:38:56] local.INFO: Acknowledgment sent {"connection_id":191256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:39:01] local.INFO: TCP Data received {"connection_id":191256,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d204f398012d1b7180072597f80025012523..."} 
[2026-09-24 11:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d204f398012d1b7180072597f80025012523..."} 
[2026-09-24 11:39:01] local.INFO: Processing buffer {"connection_id":191256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d204f398012d1b7180072597f80025012523..."} 
[2026-09-24 11:39:01] local.INFO: Packet analysis {"connection_id":191256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:39:01] local.INFO: Extracted packet for processing {"connection_id":191256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:39:01] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":35,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298857984001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790229935000,"timestamp_ms":1790229935000,"timestamp_seconds":1790229935,"priority":1,"record_length":96,"hex_timestamp":"000001a0d204f398"} 
[2026-09-24 11:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 11:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":191256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":191256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":191256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298857984001,"66":12504,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298857984001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:39:01] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:39:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298857984001,"power":12504,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":191256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:39:01] local.INFO: GPS data processed {"connection_id":191256,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:39:01] local.INFO: Acknowledgment sent {"connection_id":191256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:39:06] local.INFO: TCP Data received {"connection_id":192631,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:39:06] local.INFO: Processing buffer {"connection_id":192631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:39:06] local.INFO: Packet analysis {"connection_id":192631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:39:06] local.INFO: Extracted packet for processing {"connection_id":192631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:39:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298784512001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790229928000,"timestamp_ms":1790229928000,"timestamp_seconds":1790229928,"priority":1,"record_length":96,"hex_timestamp":"000001a0d204d840"} 
[2026-09-24 11:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298784512001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298784512001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:39:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:39:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298784512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":192631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:39:06] local.INFO: GPS data processed {"connection_id":192631,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:39:06] local.INFO: Acknowledgment sent {"connection_id":192631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:39:28] local.INFO: TCP Data received {"connection_id":191060,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:39:28] local.INFO: Processing buffer {"connection_id":191060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:39:28] local.INFO: IMEI packet received {"connection_id":191060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":191060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:39:34] local.INFO: TCP Data received {"connection_id":191060,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:39:34] local.INFO: Processing buffer {"connection_id":191060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:39:34] local.INFO: IMEI packet received {"connection_id":191060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":191060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:39:37] local.INFO: TCP Data received {"connection_id":191060,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:39:37] local.INFO: Processing buffer {"connection_id":191060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:39:37] local.INFO: Packet analysis {"connection_id":191060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:39:37] local.INFO: Extracted packet for processing {"connection_id":191060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298784512001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790229928000,"timestamp_ms":1790229928000,"timestamp_seconds":1790229928,"priority":1,"record_length":96,"hex_timestamp":"000001a0d204d840"} 
[2026-09-24 11:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298784512001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298784512001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298784512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":191060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:39:37] local.INFO: GPS data processed {"connection_id":191060,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:39:37] local.INFO: Acknowledgment sent {"connection_id":191060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:39:44] local.INFO: TCP Data received {"connection_id":191257,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:39:44] local.INFO: Processing buffer {"connection_id":191257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:39:44] local.INFO: IMEI packet received {"connection_id":191257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":191257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:39:45] local.INFO: TCP Data received {"connection_id":191257,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:39:45] local.INFO: Processing buffer {"connection_id":191257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:39:45] local.INFO: IMEI packet received {"connection_id":191257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":191257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:39:51] local.INFO: TCP Data received {"connection_id":191257,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:39:51] local.INFO: Processing buffer {"connection_id":191257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:39:51] local.INFO: IMEI packet received {"connection_id":191257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":191257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:39:51] local.INFO: TCP Data received {"connection_id":191257,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20545a0012d1b7180072597f8002501252b..."} 
[2026-09-24 11:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20545a0012d1b7180072597f8002501252b..."} 
[2026-09-24 11:39:51] local.INFO: Processing buffer {"connection_id":191257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20545a0012d1b7180072597f8002501252b..."} 
[2026-09-24 11:39:51] local.INFO: Packet analysis {"connection_id":191257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d205"} 
[2026-09-24 11:39:51] local.INFO: Extracted packet for processing {"connection_id":191257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d205"} 
[2026-09-24 11:39:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298863360001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790229956000,"timestamp_ms":1790229956000,"timestamp_seconds":1790229956,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20545a0"} 
[2026-09-24 11:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 11:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298863360001,"66":12461,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298863360001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:39:51] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:39:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298863360001,"power":12461,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":191257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:39:52] local.INFO: GPS data processed {"connection_id":191257,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:39:52] local.INFO: Acknowledgment sent {"connection_id":191257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:40:08] local.INFO: TCP Data received {"connection_id":191060,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:40:08] local.INFO: Processing buffer {"connection_id":191060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:40:08] local.INFO: Packet analysis {"connection_id":191060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:40:08] local.INFO: Extracted packet for processing {"connection_id":191060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:40:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298784512001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790229928000,"timestamp_ms":1790229928000,"timestamp_seconds":1790229928,"priority":1,"record_length":96,"hex_timestamp":"000001a0d204d840"} 
[2026-09-24 11:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:40:08] 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-09-24 11: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-09-24 11:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298784512001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298784512001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:40:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:40:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298784512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":191060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:40:08] local.INFO: GPS data processed {"connection_id":191060,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:40:08] local.INFO: Acknowledgment sent {"connection_id":191060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:40:23] local.INFO: TCP Data received {"connection_id":191257,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20597a8012d1b7180072597f80025012529..."} 
[2026-09-24 11:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20597a8012d1b7180072597f80025012529..."} 
[2026-09-24 11:40:23] local.INFO: Processing buffer {"connection_id":191257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20597a8012d1b7180072597f80025012529..."} 
[2026-09-24 11:40:23] local.INFO: Packet analysis {"connection_id":191257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d205"} 
[2026-09-24 11:40:23] local.INFO: Extracted packet for processing {"connection_id":191257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d205"} 
[2026-09-24 11:40:23] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298868736001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790229977000,"timestamp_ms":1790229977000,"timestamp_seconds":1790229977,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20597a8"} 
[2026-09-24 11:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 11:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:40:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298868736001,"66":12504,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298868736001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:40:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:40:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298868736001,"power":12504,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":191257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:40:23] local.INFO: GPS data processed {"connection_id":191257,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:40:23] local.INFO: Acknowledgment sent {"connection_id":191257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:40:28] local.INFO: TCP Data received {"connection_id":192632,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:40:28] local.INFO: Processing buffer {"connection_id":192632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:40:28] local.INFO: IMEI packet received {"connection_id":192632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":192632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:40:34] local.INFO: TCP Data received {"connection_id":192632,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:40:34] local.INFO: Processing buffer {"connection_id":192632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:40:34] local.INFO: IMEI packet received {"connection_id":192632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":192632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:40:35] local.INFO: TCP Data received {"connection_id":192632,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:40:35] local.INFO: Processing buffer {"connection_id":192632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:40:35] local.INFO: Packet analysis {"connection_id":192632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:40:35] local.INFO: Extracted packet for processing {"connection_id":192632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:40:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298784512001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790229928000,"timestamp_ms":1790229928000,"timestamp_seconds":1790229928,"priority":1,"record_length":96,"hex_timestamp":"000001a0d204d840"} 
[2026-09-24 11:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:40:35] 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-09-24 11:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298784512001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298784512001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:40:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:40:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298784512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":192632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:40:35] local.INFO: GPS data processed {"connection_id":192632,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:40:35] local.INFO: Acknowledgment sent {"connection_id":192632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:40:45] local.INFO: TCP Data received {"connection_id":191061,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:40:45] local.INFO: Processing buffer {"connection_id":191061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:40:45] local.INFO: IMEI packet received {"connection_id":191061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":191061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:40:46] local.INFO: TCP Data received {"connection_id":191061,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:40:46] local.INFO: Processing buffer {"connection_id":191061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:40:46] local.INFO: IMEI packet received {"connection_id":191061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":191061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:40:50] local.INFO: TCP Data received {"connection_id":191061,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:40:50] local.INFO: Processing buffer {"connection_id":191061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:40:50] local.INFO: IMEI packet received {"connection_id":191061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":191061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:40:51] local.INFO: TCP Data received {"connection_id":191061,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d205e9b0012d1b7180072597f8002501252a..."} 
[2026-09-24 11:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d205e9b0012d1b7180072597f8002501252a..."} 
[2026-09-24 11:40:51] local.INFO: Processing buffer {"connection_id":191061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d205e9b0012d1b7180072597f8002501252a..."} 
[2026-09-24 11:40:51] local.INFO: Packet analysis {"connection_id":191061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d205"} 
[2026-09-24 11:40:51] local.INFO: Extracted packet for processing {"connection_id":191061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d205"} 
[2026-09-24 11:40:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298874112001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790229998000,"timestamp_ms":1790229998000,"timestamp_seconds":1790229998,"priority":1,"record_length":96,"hex_timestamp":"000001a0d205e9b0"} 
[2026-09-24 11:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 11:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298874112001,"66":12504,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298874112001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:40:51] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:40:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298874112001,"power":12504,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":191061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:40:51] local.INFO: GPS data processed {"connection_id":191061,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:40:51] local.INFO: Acknowledgment sent {"connection_id":191061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:41:10] local.INFO: TCP Data received {"connection_id":192632,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:41:10] local.INFO: Processing buffer {"connection_id":192632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d204d840012d34c14006aa4940000900f52c..."} 
[2026-09-24 11:41:10] local.INFO: Packet analysis {"connection_id":192632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:41:10] local.INFO: Extracted packet for processing {"connection_id":192632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d204"} 
[2026-09-24 11:41:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298784512001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790229928000,"timestamp_ms":1790229928000,"timestamp_seconds":1790229928,"priority":1,"record_length":96,"hex_timestamp":"000001a0d204d840"} 
[2026-09-24 11:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:41: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-09-24 11:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298784512001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298784512001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:41:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:41:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298784512001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":192632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:41:10] local.INFO: GPS data processed {"connection_id":192632,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:41:10] local.INFO: Acknowledgment sent {"connection_id":192632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:41:22] local.INFO: TCP Data received {"connection_id":191061,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2063bb8012d1b7180072597f80025012529..."} 
[2026-09-24 11:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2063bb8012d1b7180072597f80025012529..."} 
[2026-09-24 11:41:22] local.INFO: Processing buffer {"connection_id":191061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2063bb8012d1b7180072597f80025012529..."} 
[2026-09-24 11:41:22] local.INFO: Packet analysis {"connection_id":191061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d206"} 
[2026-09-24 11:41:22] local.INFO: Extracted packet for processing {"connection_id":191061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d206"} 
[2026-09-24 11:41:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298879488001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790230019000,"timestamp_ms":1790230019000,"timestamp_seconds":1790230019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2063bb8"} 
[2026-09-24 11:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 11:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298879488001,"66":12461,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298879488001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:41:22] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:41:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298879488001,"power":12461,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":191061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:41:23] local.INFO: GPS data processed {"connection_id":191061,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:41:23] local.INFO: Acknowledgment sent {"connection_id":191061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:41:32] local.INFO: TCP Data received {"connection_id":193922,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:41:32] local.INFO: Processing buffer {"connection_id":193922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:41:32] local.INFO: IMEI packet received {"connection_id":193922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 11:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":193922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:41:34] local.INFO: TCP Data received {"connection_id":192633,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:41:34] local.INFO: Processing buffer {"connection_id":192633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:41:34] local.INFO: IMEI packet received {"connection_id":192633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":192633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:41:39] local.INFO: TCP Data received {"connection_id":192633,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:41:39] local.INFO: Processing buffer {"connection_id":192633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:41:39] local.INFO: IMEI packet received {"connection_id":192633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":192633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:41:40] local.INFO: TCP Data received {"connection_id":192633,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:41:40] local.INFO: Processing buffer {"connection_id":192633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:41:40] local.INFO: Packet analysis {"connection_id":192633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d209"} 
[2026-09-24 11:41:40] local.INFO: Extracted packet for processing {"connection_id":192633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d209"} 
[2026-09-24 11:41:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298861568001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790230229000,"timestamp_ms":1790230229000,"timestamp_seconds":1790230229,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2097008"} 
[2026-09-24 11:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 11:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298861568001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298861568001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:41:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:41:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298861568001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":192633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:41:40] local.INFO: GPS data processed {"connection_id":192633,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:41:40] local.INFO: Acknowledgment sent {"connection_id":192633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:41:45] local.INFO: TCP Data received {"connection_id":191062,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:41:45] local.INFO: Processing buffer {"connection_id":191062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:41:45] local.INFO: IMEI packet received {"connection_id":191062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":191062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:41:49] local.INFO: TCP Data received {"connection_id":191062,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:41:49] local.INFO: Processing buffer {"connection_id":191062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:41:49] local.INFO: IMEI packet received {"connection_id":191062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":191062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:41:50] local.INFO: TCP Data received {"connection_id":191062,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2068dc0012d1b7180072597f8002501252a..."} 
[2026-09-24 11:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2068dc0012d1b7180072597f8002501252a..."} 
[2026-09-24 11:41:50] local.INFO: Processing buffer {"connection_id":191062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2068dc0012d1b7180072597f8002501252a..."} 
[2026-09-24 11:41:50] local.INFO: Packet analysis {"connection_id":191062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d206"} 
[2026-09-24 11:41:50] local.INFO: Extracted packet for processing {"connection_id":191062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d206"} 
[2026-09-24 11:41:50] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298884864001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790230040000,"timestamp_ms":1790230040000,"timestamp_seconds":1790230040,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2068dc0"} 
[2026-09-24 11:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 11:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298884864001,"66":12504,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298884864001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:41:50] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:41:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298884864001,"power":12504,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":191062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:41:50] local.INFO: GPS data processed {"connection_id":191062,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:41:50] local.INFO: Acknowledgment sent {"connection_id":191062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:42:08] local.INFO: TCP Data received {"connection_id":191063,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:42:08] local.INFO: Processing buffer {"connection_id":191063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:42:08] local.INFO: IMEI packet received {"connection_id":191063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 11:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":191063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:42:12] local.INFO: TCP Data received {"connection_id":192633,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:42:12] local.INFO: Processing buffer {"connection_id":192633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:42:12] local.INFO: Packet analysis {"connection_id":192633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d209"} 
[2026-09-24 11:42:12] local.INFO: Extracted packet for processing {"connection_id":192633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d209"} 
[2026-09-24 11:42:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298861568001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790230229000,"timestamp_ms":1790230229000,"timestamp_seconds":1790230229,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2097008"} 
[2026-09-24 11:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 11:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298861568001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298861568001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:42:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:42:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298861568001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":192633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:42:12] local.INFO: GPS data processed {"connection_id":192633,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:42:12] local.INFO: Acknowledgment sent {"connection_id":192633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:42:21] local.INFO: TCP Data received {"connection_id":191062,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d206dfc8012d1b7180072597f8002501252a..."} 
[2026-09-24 11:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d206dfc8012d1b7180072597f8002501252a..."} 
[2026-09-24 11:42:21] local.INFO: Processing buffer {"connection_id":191062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d206dfc8012d1b7180072597f8002501252a..."} 
[2026-09-24 11:42:21] local.INFO: Packet analysis {"connection_id":191062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d206"} 
[2026-09-24 11:42:21] local.INFO: Extracted packet for processing {"connection_id":191062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d206"} 
[2026-09-24 11:42:21] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298890240001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790230061000,"timestamp_ms":1790230061000,"timestamp_seconds":1790230061,"priority":1,"record_length":96,"hex_timestamp":"000001a0d206dfc8"} 
[2026-09-24 11:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 11:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298890240001,"66":12504,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298890240001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:42:21] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:42:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298890240001,"power":12504,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":191062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:42:21] local.INFO: GPS data processed {"connection_id":191062,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:42:21] local.INFO: Acknowledgment sent {"connection_id":191062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:42:28] local.INFO: TCP Data received {"connection_id":193923,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:42:28] local.INFO: Processing buffer {"connection_id":193923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:42:28] local.INFO: IMEI packet received {"connection_id":193923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":193923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:42:34] local.INFO: TCP Data received {"connection_id":193923,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:42:34] local.INFO: Processing buffer {"connection_id":193923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:42:34] local.INFO: IMEI packet received {"connection_id":193923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":193923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:42:35] local.INFO: TCP Data received {"connection_id":193923,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:42:35] local.INFO: Processing buffer {"connection_id":193923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:42:35] local.INFO: Packet analysis {"connection_id":193923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d209"} 
[2026-09-24 11:42:35] local.INFO: Extracted packet for processing {"connection_id":193923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d209"} 
[2026-09-24 11:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298861568001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790230229000,"timestamp_ms":1790230229000,"timestamp_seconds":1790230229,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2097008"} 
[2026-09-24 11:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 11:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298861568001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298861568001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:42:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:42:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298861568001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":193923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:42:35] local.INFO: GPS data processed {"connection_id":193923,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:42:35] local.INFO: Acknowledgment sent {"connection_id":193923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:42:45] local.INFO: TCP Data received {"connection_id":191258,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:42:45] local.INFO: Processing buffer {"connection_id":191258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:42:45] local.INFO: IMEI packet received {"connection_id":191258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":191258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:42:50] local.INFO: TCP Data received {"connection_id":191258,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:42:50] local.INFO: Processing buffer {"connection_id":191258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:42:50] local.INFO: IMEI packet received {"connection_id":191258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":191258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:42:51] local.INFO: TCP Data received {"connection_id":191258,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20731d0012d1b7180072597f8002501252a..."} 
[2026-09-24 11:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20731d0012d1b7180072597f8002501252a..."} 
[2026-09-24 11:42:51] local.INFO: Processing buffer {"connection_id":191258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20731d0012d1b7180072597f8002501252a..."} 
[2026-09-24 11:42:51] local.INFO: Packet analysis {"connection_id":191258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d207"} 
[2026-09-24 11:42:51] local.INFO: Extracted packet for processing {"connection_id":191258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d207"} 
[2026-09-24 11:42:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298895616001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790230082000,"timestamp_ms":1790230082000,"timestamp_seconds":1790230082,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20731d0"} 
[2026-09-24 11:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 11:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298895616001,"66":12461,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298895616001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:42:51] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:42:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298895616001,"power":12461,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":191258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:42:51] local.INFO: GPS data processed {"connection_id":191258,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:42:51] local.INFO: Acknowledgment sent {"connection_id":191258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:43:06] local.INFO: TCP Data received {"connection_id":193923,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:43:06] local.INFO: Processing buffer {"connection_id":193923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:43:06] local.INFO: Packet analysis {"connection_id":193923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d209"} 
[2026-09-24 11:43:06] local.INFO: Extracted packet for processing {"connection_id":193923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d209"} 
[2026-09-24 11:43:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298861568001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790230229000,"timestamp_ms":1790230229000,"timestamp_seconds":1790230229,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2097008"} 
[2026-09-24 11:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 11:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298861568001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298861568001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:43:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:43:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298861568001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":193923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:43:06] local.INFO: GPS data processed {"connection_id":193923,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:43:06] local.INFO: Acknowledgment sent {"connection_id":193923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:43:23] local.INFO: TCP Data received {"connection_id":191258,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20ab828012d1b7180072597f8002501252b..."} 
[2026-09-24 11:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20ab828012d1b7180072597f8002501252b..."} 
[2026-09-24 11:43:23] local.INFO: Processing buffer {"connection_id":191258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20ab828012d1b7180072597f8002501252b..."} 
[2026-09-24 11:43:23] local.INFO: Packet analysis {"connection_id":191258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20a"} 
[2026-09-24 11:43:23] local.INFO: Extracted packet for processing {"connection_id":191258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20a"} 
[2026-09-24 11:43:23] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:43: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-09-24 11:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298954752001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790230313000,"timestamp_ms":1790230313000,"timestamp_seconds":1790230313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20ab828"} 
[2026-09-24 11:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 11:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:43: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-09-24 11:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298954752001,"66":12461,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298954752001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:43:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:43:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298954752001,"power":12461,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":191258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:43:23] local.INFO: GPS data processed {"connection_id":191258,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:43:23] local.INFO: Acknowledgment sent {"connection_id":191258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:43:28] local.INFO: TCP Data received {"connection_id":193924,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:43:28] local.INFO: Processing buffer {"connection_id":193924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:43:28] local.INFO: IMEI packet received {"connection_id":193924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":193924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:43:34] local.INFO: TCP Data received {"connection_id":193924,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:43:34] local.INFO: Processing buffer {"connection_id":193924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:43:34] local.INFO: IMEI packet received {"connection_id":193924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":193924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:43:35] local.INFO: TCP Data received {"connection_id":193924,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:43:35] local.INFO: Processing buffer {"connection_id":193924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:43:35] local.INFO: Packet analysis {"connection_id":193924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d209"} 
[2026-09-24 11:43:35] local.INFO: Extracted packet for processing {"connection_id":193924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d209"} 
[2026-09-24 11:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298861568001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790230229000,"timestamp_ms":1790230229000,"timestamp_seconds":1790230229,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2097008"} 
[2026-09-24 11:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 11:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298861568001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298861568001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:43:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:43:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298861568001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":193924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:43:35] local.INFO: GPS data processed {"connection_id":193924,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:43:35] local.INFO: Acknowledgment sent {"connection_id":193924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:43:45] local.INFO: TCP Data received {"connection_id":191259,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:43:45] local.INFO: Processing buffer {"connection_id":191259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:43:45] local.INFO: IMEI packet received {"connection_id":191259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":191259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:43:50] local.INFO: TCP Data received {"connection_id":191259,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:43:50] local.INFO: Processing buffer {"connection_id":191259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:43:50] local.INFO: IMEI packet received {"connection_id":191259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":191259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:43:51] local.INFO: TCP Data received {"connection_id":191259,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20b0a30012d1b7180072597f80025012529..."} 
[2026-09-24 11:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20b0a30012d1b7180072597f80025012529..."} 
[2026-09-24 11:43:51] local.INFO: Processing buffer {"connection_id":191259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20b0a30012d1b7180072597f80025012529..."} 
[2026-09-24 11:43:51] local.INFO: Packet analysis {"connection_id":191259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20b"} 
[2026-09-24 11:43:51] local.INFO: Extracted packet for processing {"connection_id":191259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20b"} 
[2026-09-24 11:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298960128001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790230334000,"timestamp_ms":1790230334000,"timestamp_seconds":1790230334,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20b0a30"} 
[2026-09-24 11:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 11:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298960128001,"66":12428,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298960128001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:43:51] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:43:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298960128001,"power":12428,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":191259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:43:51] local.INFO: GPS data processed {"connection_id":191259,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:43:51] local.INFO: Acknowledgment sent {"connection_id":191259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:44:08] local.INFO: TCP Data received {"connection_id":193924,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:44:08] local.INFO: Processing buffer {"connection_id":193924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:44:08] local.INFO: Packet analysis {"connection_id":193924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d209"} 
[2026-09-24 11:44:08] local.INFO: Extracted packet for processing {"connection_id":193924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d209"} 
[2026-09-24 11:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 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-09-24 11:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298861568001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790230229000,"timestamp_ms":1790230229000,"timestamp_seconds":1790230229,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2097008"} 
[2026-09-24 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-09-24 11:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":47,"data_length":795,"current_offset":136} 
[2026-09-24 11:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 11:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298861568001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298861568001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:44:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298861568001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":193924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:44:08] local.INFO: GPS data processed {"connection_id":193924,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:44:08] local.INFO: Acknowledgment sent {"connection_id":193924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:44:22] local.INFO: TCP Data received {"connection_id":191259,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20b5c38012d1b7180072597f80025012527..."} 
[2026-09-24 11:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20b5c38012d1b7180072597f80025012527..."} 
[2026-09-24 11:44:22] local.INFO: Processing buffer {"connection_id":191259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20b5c38012d1b7180072597f80025012527..."} 
[2026-09-24 11:44:22] local.INFO: Packet analysis {"connection_id":191259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20b"} 
[2026-09-24 11:44:22] local.INFO: Extracted packet for processing {"connection_id":191259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20b"} 
[2026-09-24 11:44:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":39,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298965504001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790230355000,"timestamp_ms":1790230355000,"timestamp_seconds":1790230355,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20b5c38"} 
[2026-09-24 11:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 11:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298965504001,"66":12461,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 11:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298965504001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:44:22] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 11:44:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298965504001,"power":12461,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":191259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:44:23] local.INFO: GPS data processed {"connection_id":191259,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:44:23] local.INFO: Acknowledgment sent {"connection_id":191259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:44:28] local.INFO: TCP Data received {"connection_id":191260,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:44:28] local.INFO: Processing buffer {"connection_id":191260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:44:28] local.INFO: IMEI packet received {"connection_id":191260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":191260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:44:34] local.INFO: TCP Data received {"connection_id":191260,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:44:34] local.INFO: Processing buffer {"connection_id":191260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:44:34] local.INFO: IMEI packet received {"connection_id":191260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":191260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:44:36] local.INFO: TCP Data received {"connection_id":191260,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:44:36] local.INFO: Processing buffer {"connection_id":191260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:44:36] local.INFO: Packet analysis {"connection_id":191260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d209"} 
[2026-09-24 11:44:36] local.INFO: Extracted packet for processing {"connection_id":191260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d209"} 
[2026-09-24 11:44:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298861568001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790230229000,"timestamp_ms":1790230229000,"timestamp_seconds":1790230229,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2097008"} 
[2026-09-24 11:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 11:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298861568001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298861568001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:44:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:44:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298861568001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":191260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:44:36] local.INFO: GPS data processed {"connection_id":191260,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:44:36] local.INFO: Acknowledgment sent {"connection_id":191260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:44:50] local.INFO: TCP Data received {"connection_id":193926,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:44:50] local.INFO: Processing buffer {"connection_id":193926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:44:50] local.INFO: IMEI packet received {"connection_id":193926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":193926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:44:55] local.INFO: TCP Data received {"connection_id":193926,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:44:55] local.INFO: Processing buffer {"connection_id":193926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:44:55] local.INFO: IMEI packet received {"connection_id":193926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":193926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:44:56] local.INFO: TCP Data received {"connection_id":193926,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20bae40012d1b7180072597f80025012529..."} 
[2026-09-24 11:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20bae40012d1b7180072597f80025012529..."} 
[2026-09-24 11:44:56] local.INFO: Processing buffer {"connection_id":193926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20bae40012d1b7180072597f80025012529..."} 
[2026-09-24 11:44:56] local.INFO: Packet analysis {"connection_id":193926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20b"} 
[2026-09-24 11:44:56] local.INFO: Extracted packet for processing {"connection_id":193926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20b"} 
[2026-09-24 11:44:56] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298970880001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790230376000,"timestamp_ms":1790230376000,"timestamp_seconds":1790230376,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20bae40"} 
[2026-09-24 11:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 11:44:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":193926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":193926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":193926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298970880001,"66":12461,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298970880001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:44:56] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:44:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298970880001,"power":12461,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":193926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:44:56] local.INFO: GPS data processed {"connection_id":193926,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:44:56] local.INFO: Acknowledgment sent {"connection_id":193926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:44:59] local.INFO: TCP Data received {"connection_id":193926,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20c0048012d1b7180072597f8002501252b..."} 
[2026-09-24 11:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20c0048012d1b7180072597f8002501252b..."} 
[2026-09-24 11:44:59] local.INFO: Processing buffer {"connection_id":193926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20c0048012d1b7180072597f8002501252b..."} 
[2026-09-24 11:44:59] local.INFO: Packet analysis {"connection_id":193926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20c"} 
[2026-09-24 11:44:59] local.INFO: Extracted packet for processing {"connection_id":193926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20c"} 
[2026-09-24 11:44:59] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 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-09-24 11:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298976256001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790230397000,"timestamp_ms":1790230397000,"timestamp_seconds":1790230397,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20c0048"} 
[2026-09-24 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-09-24 11:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 11:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 11:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":193926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":193926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":193926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298976256001,"66":12385,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298976256001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:44:59] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:44:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298976256001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":193926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:44:59] local.INFO: GPS data processed {"connection_id":193926,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:44:59] local.INFO: Acknowledgment sent {"connection_id":193926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:45:07] local.INFO: TCP Data received {"connection_id":191260,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:45:07] local.INFO: Processing buffer {"connection_id":191260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:45:07] local.INFO: Packet analysis {"connection_id":191260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d209"} 
[2026-09-24 11:45:07] local.INFO: Extracted packet for processing {"connection_id":191260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d209"} 
[2026-09-24 11:45:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298861568001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790230229000,"timestamp_ms":1790230229000,"timestamp_seconds":1790230229,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2097008"} 
[2026-09-24 11:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 11:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298861568001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298861568001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:45:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:45:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298861568001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":191260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:45:07] local.INFO: GPS data processed {"connection_id":191260,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:45:07] local.INFO: Acknowledgment sent {"connection_id":191260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:45:29] local.INFO: TCP Data received {"connection_id":193926,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20c5250012d1b7180072597f80025012529..."} 
[2026-09-24 11:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20c5250012d1b7180072597f80025012529..."} 
[2026-09-24 11:45:29] local.INFO: Processing buffer {"connection_id":193926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20c5250012d1b7180072597f80025012529..."} 
[2026-09-24 11:45:29] local.INFO: Packet analysis {"connection_id":193926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20c"} 
[2026-09-24 11:45:29] local.INFO: Extracted packet for processing {"connection_id":193926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20c"} 
[2026-09-24 11:45:29] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298981632001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790230418000,"timestamp_ms":1790230418000,"timestamp_seconds":1790230418,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20c5250"} 
[2026-09-24 11:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 11:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":193926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":193926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":193926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298981632001,"66":12461,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298981632001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:45:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:45:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298981632001,"power":12461,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":193926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:45:29] local.INFO: GPS data processed {"connection_id":193926,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:45:29] local.INFO: Acknowledgment sent {"connection_id":193926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:45:34] local.INFO: TCP Data received {"connection_id":193927,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:45:34] local.INFO: Processing buffer {"connection_id":193927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:45:34] local.INFO: IMEI packet received {"connection_id":193927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":193927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:45:39] local.INFO: TCP Data received {"connection_id":193927,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:45:39] local.INFO: Processing buffer {"connection_id":193927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:45:39] local.INFO: IMEI packet received {"connection_id":193927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":193927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:45:40] local.INFO: TCP Data received {"connection_id":193927,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:45:40] local.INFO: Processing buffer {"connection_id":193927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:45:40] local.INFO: Packet analysis {"connection_id":193927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d209"} 
[2026-09-24 11:45:40] local.INFO: Extracted packet for processing {"connection_id":193927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d209"} 
[2026-09-24 11:45:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298861568001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790230229000,"timestamp_ms":1790230229000,"timestamp_seconds":1790230229,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2097008"} 
[2026-09-24 11:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 11:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298861568001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298861568001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:45:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:45:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298861568001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":193927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:45:40] local.INFO: GPS data processed {"connection_id":193927,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:45:40] local.INFO: Acknowledgment sent {"connection_id":193927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:45:44] local.INFO: TCP Data received {"connection_id":193927,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:45:44] local.INFO: Processing buffer {"connection_id":193927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2097008012d34c14006aa4940000900f530..."} 
[2026-09-24 11:45:44] local.INFO: Packet analysis {"connection_id":193927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d209"} 
[2026-09-24 11:45:44] local.INFO: Extracted packet for processing {"connection_id":193927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d209"} 
[2026-09-24 11:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298861568001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790230229000,"timestamp_ms":1790230229000,"timestamp_seconds":1790230229,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2097008"} 
[2026-09-24 11:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 11:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298861568001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298861568001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:45:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298861568001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":193927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:45:44] local.INFO: GPS data processed {"connection_id":193927,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:45:44] local.INFO: Acknowledgment sent {"connection_id":193927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:45:45] local.INFO: TCP Data received {"connection_id":192636,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:45:45] local.INFO: Processing buffer {"connection_id":192636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:45:45] local.INFO: IMEI packet received {"connection_id":192636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":192636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:45:50] local.INFO: TCP Data received {"connection_id":192636,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:45:50] local.INFO: Processing buffer {"connection_id":192636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:45:50] local.INFO: IMEI packet received {"connection_id":192636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":192636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:45:51] local.INFO: TCP Data received {"connection_id":192636,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20ca458012d1b7180072597f8002501252c..."} 
[2026-09-24 11:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20ca458012d1b7180072597f8002501252c..."} 
[2026-09-24 11:45:51] local.INFO: Processing buffer {"connection_id":192636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20ca458012d1b7180072597f8002501252c..."} 
[2026-09-24 11:45:51] local.INFO: Packet analysis {"connection_id":192636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20c"} 
[2026-09-24 11:45:51] local.INFO: Extracted packet for processing {"connection_id":192636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20c"} 
[2026-09-24 11:45:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":44,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298987008001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790230439000,"timestamp_ms":1790230439000,"timestamp_seconds":1790230439,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20ca458"} 
[2026-09-24 11:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 11:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298987008001,"66":12439,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298987008001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:45:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:45:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298987008001,"power":12439,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":192636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:45:51] local.INFO: GPS data processed {"connection_id":192636,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:45:51] local.INFO: Acknowledgment sent {"connection_id":192636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:46:22] local.INFO: TCP Data received {"connection_id":192636,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20cf660012d1b7180072597f80025012529..."} 
[2026-09-24 11:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20cf660012d1b7180072597f80025012529..."} 
[2026-09-24 11:46:22] local.INFO: Processing buffer {"connection_id":192636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20cf660012d1b7180072597f80025012529..."} 
[2026-09-24 11:46:22] local.INFO: Packet analysis {"connection_id":192636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20c"} 
[2026-09-24 11:46:22] local.INFO: Extracted packet for processing {"connection_id":192636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20c"} 
[2026-09-24 11:46:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298992384001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790230460000,"timestamp_ms":1790230460000,"timestamp_seconds":1790230460,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20cf660"} 
[2026-09-24 11:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 11:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298992384001,"66":12428,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298992384001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:46:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:46:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298992384001,"power":12428,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":192636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:46:23] local.INFO: GPS data processed {"connection_id":192636,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:46:23] local.INFO: Acknowledgment sent {"connection_id":192636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:46:29] local.INFO: TCP Data received {"connection_id":191261,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:46:29] local.INFO: Processing buffer {"connection_id":191261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:46:29] local.INFO: IMEI packet received {"connection_id":191261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":191261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:46:34] local.INFO: TCP Data received {"connection_id":191261,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:46:34] local.INFO: Processing buffer {"connection_id":191261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:46:34] local.INFO: IMEI packet received {"connection_id":191261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":191261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:46:35] local.INFO: TCP Data received {"connection_id":191261,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:46:35] local.INFO: Processing buffer {"connection_id":191261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:46:35] local.INFO: Packet analysis {"connection_id":191261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:46:35] local.INFO: Extracted packet for processing {"connection_id":191261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298938624001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790230530000,"timestamp_ms":1790230530000,"timestamp_seconds":1790230530,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20e07d0"} 
[2026-09-24 11:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 11:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298938624001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298938624001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:46:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:46:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298938624001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":191261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:46:35] local.INFO: GPS data processed {"connection_id":191261,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:46:35] local.INFO: Acknowledgment sent {"connection_id":191261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:46:43] local.INFO: TCP Data received {"connection_id":192637,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:46:43] local.INFO: Processing buffer {"connection_id":192637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:46:43] local.INFO: IMEI packet received {"connection_id":192637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":192637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:46:45] local.INFO: TCP Data received {"connection_id":192637,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:46:45] local.INFO: Processing buffer {"connection_id":192637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:46:45] local.INFO: IMEI packet received {"connection_id":192637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":192637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:46:50] local.INFO: TCP Data received {"connection_id":192637,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:46:50] local.INFO: Processing buffer {"connection_id":192637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:46:50] local.INFO: IMEI packet received {"connection_id":192637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":192637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:46:51] local.INFO: TCP Data received {"connection_id":192637,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20d4868012d1b7180072597f8002501252b..."} 
[2026-09-24 11:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20d4868012d1b7180072597f8002501252b..."} 
[2026-09-24 11:46:51] local.INFO: Processing buffer {"connection_id":192637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20d4868012d1b7180072597f8002501252b..."} 
[2026-09-24 11:46:51] local.INFO: Packet analysis {"connection_id":192637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20d"} 
[2026-09-24 11:46:51] local.INFO: Extracted packet for processing {"connection_id":192637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20d"} 
[2026-09-24 11:46:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298997760001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790230481000,"timestamp_ms":1790230481000,"timestamp_seconds":1790230481,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20d4868"} 
[2026-09-24 11:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 11:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298997760001,"66":12428,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298997760001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:46:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:46:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298997760001,"power":12428,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":192637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:46:51] local.INFO: GPS data processed {"connection_id":192637,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:46:51] local.INFO: Acknowledgment sent {"connection_id":192637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:47:08] local.INFO: TCP Data received {"connection_id":191261,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:47:08] local.INFO: Processing buffer {"connection_id":191261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:47:08] local.INFO: Packet analysis {"connection_id":191261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:47:08] local.INFO: Extracted packet for processing {"connection_id":191261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298938624001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790230530000,"timestamp_ms":1790230530000,"timestamp_seconds":1790230530,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20e07d0"} 
[2026-09-24 11:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11: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":97,"data_length":795,"current_offset":136} 
[2026-09-24 11:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298938624001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298938624001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:47:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:47:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298938624001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":191261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:47:08] local.INFO: GPS data processed {"connection_id":191261,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:47:08] local.INFO: Acknowledgment sent {"connection_id":191261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:47:22] local.INFO: TCP Data received {"connection_id":192637,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20d9a70012d1b7180072597f8002501252b..."} 
[2026-09-24 11:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20d9a70012d1b7180072597f8002501252b..."} 
[2026-09-24 11:47:22] local.INFO: Processing buffer {"connection_id":192637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20d9a70012d1b7180072597f8002501252b..."} 
[2026-09-24 11:47:22] local.INFO: Packet analysis {"connection_id":192637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20d"} 
[2026-09-24 11:47:22] local.INFO: Extracted packet for processing {"connection_id":192637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20d"} 
[2026-09-24 11:47:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299003136001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790230502000,"timestamp_ms":1790230502000,"timestamp_seconds":1790230502,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20d9a70"} 
[2026-09-24 11:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 11:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299003136001,"66":12428,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299003136001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:47:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:47:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299003136001,"power":12428,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":192637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:47:22] local.INFO: GPS data processed {"connection_id":192637,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:47:22] local.INFO: Acknowledgment sent {"connection_id":192637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:47:27] local.INFO: TCP Data received {"connection_id":191065,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191065,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:47:27] local.INFO: Processing buffer {"connection_id":191065,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:47:27] local.INFO: IMEI packet received {"connection_id":191065,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 11:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":191065,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:47:28] local.INFO: TCP Data received {"connection_id":192638,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:47:28] local.INFO: Processing buffer {"connection_id":192638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:47:28] local.INFO: IMEI packet received {"connection_id":192638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":192638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:47:34] local.INFO: TCP Data received {"connection_id":192638,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:47:34] local.INFO: Processing buffer {"connection_id":192638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:47:34] local.INFO: IMEI packet received {"connection_id":192638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":192638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:47:34] local.INFO: TCP Data received {"connection_id":192638,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:47:35] local.INFO: Processing buffer {"connection_id":192638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:47:35] local.INFO: Packet analysis {"connection_id":192638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:47:35] local.INFO: Extracted packet for processing {"connection_id":192638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298938624001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790230530000,"timestamp_ms":1790230530000,"timestamp_seconds":1790230530,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20e07d0"} 
[2026-09-24 11:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 11:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298938624001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298938624001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:47:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:47:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298938624001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":192638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:47:35] local.INFO: GPS data processed {"connection_id":192638,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:47:35] local.INFO: Acknowledgment sent {"connection_id":192638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:47:45] local.INFO: TCP Data received {"connection_id":192639,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:47:45] local.INFO: Processing buffer {"connection_id":192639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:47:45] local.INFO: IMEI packet received {"connection_id":192639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":192639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:47:46] local.INFO: TCP Data received {"connection_id":192639,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:47:46] local.INFO: Processing buffer {"connection_id":192639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:47:46] local.INFO: IMEI packet received {"connection_id":192639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":192639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:47:50] local.INFO: TCP Data received {"connection_id":192639,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:47:50] local.INFO: Processing buffer {"connection_id":192639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:47:50] local.INFO: IMEI packet received {"connection_id":192639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":192639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:47:51] local.INFO: TCP Data received {"connection_id":192639,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20dec78012d1b7180072597f80025012523..."} 
[2026-09-24 11:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20dec78012d1b7180072597f80025012523..."} 
[2026-09-24 11:47:51] local.INFO: Processing buffer {"connection_id":192639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20dec78012d1b7180072597f80025012523..."} 
[2026-09-24 11:47:51] local.INFO: Packet analysis {"connection_id":192639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20d"} 
[2026-09-24 11:47:51] local.INFO: Extracted packet for processing {"connection_id":192639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20d"} 
[2026-09-24 11:47:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":35,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299008512001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790230523000,"timestamp_ms":1790230523000,"timestamp_seconds":1790230523,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20dec78"} 
[2026-09-24 11:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 11:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299008512001,"66":12406,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299008512001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:47:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:47:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299008512001,"power":12406,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":192639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:47:51] local.INFO: GPS data processed {"connection_id":192639,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:47:51] local.INFO: Acknowledgment sent {"connection_id":192639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:48:07] local.INFO: TCP Data received {"connection_id":191066,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:48:07] local.INFO: Processing buffer {"connection_id":191066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:48:07] local.INFO: IMEI packet received {"connection_id":191066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 11:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":191066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:48:07] local.INFO: TCP Data received {"connection_id":192638,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:48:07] local.INFO: Processing buffer {"connection_id":192638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:48:07] local.INFO: Packet analysis {"connection_id":192638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:48:07] local.INFO: Extracted packet for processing {"connection_id":192638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:48:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298938624001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790230530000,"timestamp_ms":1790230530000,"timestamp_seconds":1790230530,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20e07d0"} 
[2026-09-24 11:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 11:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298938624001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298938624001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:48:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:48:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298938624001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":192638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:48:07] local.INFO: GPS data processed {"connection_id":192638,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:48:07] local.INFO: Acknowledgment sent {"connection_id":192638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:48:22] local.INFO: TCP Data received {"connection_id":192639,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20e3e80012d1b7180072597f80025012529..."} 
[2026-09-24 11:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20e3e80012d1b7180072597f80025012529..."} 
[2026-09-24 11:48:22] local.INFO: Processing buffer {"connection_id":192639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20e3e80012d1b7180072597f80025012529..."} 
[2026-09-24 11:48:22] local.INFO: Packet analysis {"connection_id":192639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:48:22] local.INFO: Extracted packet for processing {"connection_id":192639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:48:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299013888001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790230544000,"timestamp_ms":1790230544000,"timestamp_seconds":1790230544,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20e3e80"} 
[2026-09-24 11:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 11:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299013888001,"66":12385,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299013888001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:48:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:48:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299013888001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":192639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:48:22] local.INFO: GPS data processed {"connection_id":192639,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:48:22] local.INFO: Acknowledgment sent {"connection_id":192639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:48:28] local.INFO: TCP Data received {"connection_id":193928,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:48:28] local.INFO: Processing buffer {"connection_id":193928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:48:28] local.INFO: IMEI packet received {"connection_id":193928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":193928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:48:34] local.INFO: TCP Data received {"connection_id":193928,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:48:34] local.INFO: Processing buffer {"connection_id":193928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:48:34] local.INFO: IMEI packet received {"connection_id":193928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":193928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:48:34] local.INFO: TCP Data received {"connection_id":193928,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:48:34] local.INFO: Processing buffer {"connection_id":193928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:48:34] local.INFO: Packet analysis {"connection_id":193928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:48:34] local.INFO: Extracted packet for processing {"connection_id":193928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:48:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298938624001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790230530000,"timestamp_ms":1790230530000,"timestamp_seconds":1790230530,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20e07d0"} 
[2026-09-24 11:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 11:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298938624001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298938624001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:48:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:48:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298938624001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":193928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:48:34] local.INFO: GPS data processed {"connection_id":193928,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:48:34] local.INFO: Acknowledgment sent {"connection_id":193928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:48:45] local.INFO: TCP Data received {"connection_id":191067,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:48:45] local.INFO: Processing buffer {"connection_id":191067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:48:45] local.INFO: IMEI packet received {"connection_id":191067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":191067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:48:49] local.INFO: TCP Data received {"connection_id":191067,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:48:49] local.INFO: Processing buffer {"connection_id":191067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:48:49] local.INFO: IMEI packet received {"connection_id":191067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":191067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:48:50] local.INFO: TCP Data received {"connection_id":191067,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20e9088012d1b7180072597f8002501252a..."} 
[2026-09-24 11:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20e9088012d1b7180072597f8002501252a..."} 
[2026-09-24 11:48:50] local.INFO: Processing buffer {"connection_id":191067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20e9088012d1b7180072597f8002501252a..."} 
[2026-09-24 11:48:50] local.INFO: Packet analysis {"connection_id":191067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:48:50] local.INFO: Extracted packet for processing {"connection_id":191067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:48:50] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299019264001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790230565000,"timestamp_ms":1790230565000,"timestamp_seconds":1790230565,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20e9088"} 
[2026-09-24 11:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 11:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299019264001,"66":12428,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299019264001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:48:50] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:48:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299019264001,"power":12428,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":191067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:48:50] local.INFO: GPS data processed {"connection_id":191067,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:48:50] local.INFO: Acknowledgment sent {"connection_id":191067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:49:06] local.INFO: TCP Data received {"connection_id":193928,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:49:06] local.INFO: Processing buffer {"connection_id":193928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:49:06] local.INFO: Packet analysis {"connection_id":193928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:49:06] local.INFO: Extracted packet for processing {"connection_id":193928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:49:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298938624001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790230530000,"timestamp_ms":1790230530000,"timestamp_seconds":1790230530,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20e07d0"} 
[2026-09-24 11:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 11:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298938624001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298938624001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:49:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:49:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298938624001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":193928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:49:06] local.INFO: GPS data processed {"connection_id":193928,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:49:06] local.INFO: Acknowledgment sent {"connection_id":193928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:49:21] local.INFO: TCP Data received {"connection_id":191067,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20ee290012d1b7180072597f80025012529..."} 
[2026-09-24 11:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20ee290012d1b7180072597f80025012529..."} 
[2026-09-24 11:49:21] local.INFO: Processing buffer {"connection_id":191067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20ee290012d1b7180072597f80025012529..."} 
[2026-09-24 11:49:21] local.INFO: Packet analysis {"connection_id":191067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:49:21] local.INFO: Extracted packet for processing {"connection_id":191067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:49:21] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299024640001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790230586000,"timestamp_ms":1790230586000,"timestamp_seconds":1790230586,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20ee290"} 
[2026-09-24 11:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 11:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299024640001,"66":12428,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299024640001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:49:21] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:49:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299024640001,"power":12428,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":191067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:49:21] local.INFO: GPS data processed {"connection_id":191067,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:49:21] local.INFO: Acknowledgment sent {"connection_id":191067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:49:34] local.INFO: TCP Data received {"connection_id":191068,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:49:34] local.INFO: Processing buffer {"connection_id":191068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:49:34] local.INFO: IMEI packet received {"connection_id":191068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":191068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:49:39] local.INFO: TCP Data received {"connection_id":191068,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:49:39] local.INFO: Processing buffer {"connection_id":191068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:49:39] local.INFO: IMEI packet received {"connection_id":191068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":191068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:49:39] local.INFO: TCP Data received {"connection_id":191068,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:49:39] local.INFO: Processing buffer {"connection_id":191068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:49:39] local.INFO: Packet analysis {"connection_id":191068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:49:39] local.INFO: Extracted packet for processing {"connection_id":191068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:49:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298938624001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790230530000,"timestamp_ms":1790230530000,"timestamp_seconds":1790230530,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20e07d0"} 
[2026-09-24 11:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 11:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298938624001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298938624001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:49:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:49:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298938624001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":191068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:49:39] local.INFO: GPS data processed {"connection_id":191068,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:49:39] local.INFO: Acknowledgment sent {"connection_id":191068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:49:45] local.INFO: TCP Data received {"connection_id":192640,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:49:45] local.INFO: Processing buffer {"connection_id":192640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:49:45] local.INFO: IMEI packet received {"connection_id":192640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":192640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:49:50] local.INFO: TCP Data received {"connection_id":192640,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:49:50] local.INFO: Processing buffer {"connection_id":192640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:49:50] local.INFO: IMEI packet received {"connection_id":192640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":192640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:49:51] local.INFO: TCP Data received {"connection_id":192640,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20f3498012d1b7180072597f80025012529..."} 
[2026-09-24 11:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20f3498012d1b7180072597f80025012529..."} 
[2026-09-24 11:49:51] local.INFO: Processing buffer {"connection_id":192640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20f3498012d1b7180072597f80025012529..."} 
[2026-09-24 11:49:51] local.INFO: Packet analysis {"connection_id":192640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20f"} 
[2026-09-24 11:49:51] local.INFO: Extracted packet for processing {"connection_id":192640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20f"} 
[2026-09-24 11:49:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299030016001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790230607000,"timestamp_ms":1790230607000,"timestamp_seconds":1790230607,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20f3498"} 
[2026-09-24 11:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 11:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299030016001,"66":12406,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299030016001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:49:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:49:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299030016001,"power":12406,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":192640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:49:51] local.INFO: GPS data processed {"connection_id":192640,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:49:51] local.INFO: Acknowledgment sent {"connection_id":192640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:50:11] local.INFO: TCP Data received {"connection_id":191068,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:50:11] local.INFO: Processing buffer {"connection_id":191068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:50:11] local.INFO: Packet analysis {"connection_id":191068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:50:11] local.INFO: Extracted packet for processing {"connection_id":191068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:50:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298938624001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790230530000,"timestamp_ms":1790230530000,"timestamp_seconds":1790230530,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20e07d0"} 
[2026-09-24 11:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 11:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298938624001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298938624001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:50:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:50:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298938624001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":191068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:50:11] local.INFO: GPS data processed {"connection_id":191068,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:50:11] local.INFO: Acknowledgment sent {"connection_id":191068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:50:22] local.INFO: TCP Data received {"connection_id":192640,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20f86a0012d1b7180072597f80025012528..."} 
[2026-09-24 11:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20f86a0012d1b7180072597f80025012528..."} 
[2026-09-24 11:50:22] local.INFO: Processing buffer {"connection_id":192640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20f86a0012d1b7180072597f80025012528..."} 
[2026-09-24 11:50:22] local.INFO: Packet analysis {"connection_id":192640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20f"} 
[2026-09-24 11:50:22] local.INFO: Extracted packet for processing {"connection_id":192640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20f"} 
[2026-09-24 11:50:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":40,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299035392001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790230628000,"timestamp_ms":1790230628000,"timestamp_seconds":1790230628,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20f86a0"} 
[2026-09-24 11:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 11:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299035392001,"66":12374,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299035392001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:50:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:50:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299035392001,"power":12374,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":192640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:50:22] local.INFO: GPS data processed {"connection_id":192640,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:50:22] local.INFO: Acknowledgment sent {"connection_id":192640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:50:28] local.INFO: TCP Data received {"connection_id":193929,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:50:28] local.INFO: Processing buffer {"connection_id":193929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:50:28] local.INFO: IMEI packet received {"connection_id":193929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":193929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:50:34] local.INFO: TCP Data received {"connection_id":193929,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:50:34] local.INFO: Processing buffer {"connection_id":193929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:50:34] local.INFO: IMEI packet received {"connection_id":193929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":193929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:50:35] local.INFO: TCP Data received {"connection_id":193929,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:50:35] local.INFO: Processing buffer {"connection_id":193929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:50:35] local.INFO: Packet analysis {"connection_id":193929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:50:35] local.INFO: Extracted packet for processing {"connection_id":193929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298938624001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790230530000,"timestamp_ms":1790230530000,"timestamp_seconds":1790230530,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20e07d0"} 
[2026-09-24 11:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 11:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298938624001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298938624001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:50:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:50:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298938624001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":193929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:50:35] local.INFO: GPS data processed {"connection_id":193929,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:50:35] local.INFO: Acknowledgment sent {"connection_id":193929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:50:50] local.INFO: TCP Data received {"connection_id":193930,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:50:50] local.INFO: Processing buffer {"connection_id":193930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:50:50] local.INFO: IMEI packet received {"connection_id":193930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":193930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:50:55] local.INFO: TCP Data received {"connection_id":193930,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:50:55] local.INFO: Processing buffer {"connection_id":193930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:50:55] local.INFO: IMEI packet received {"connection_id":193930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":193930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:50:56] local.INFO: TCP Data received {"connection_id":193930,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20fd8a8012d1b7180072597f80025012526..."} 
[2026-09-24 11:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20fd8a8012d1b7180072597f80025012526..."} 
[2026-09-24 11:50:56] local.INFO: Processing buffer {"connection_id":193930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20fd8a8012d1b7180072597f80025012526..."} 
[2026-09-24 11:50:56] local.INFO: Packet analysis {"connection_id":193930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20f"} 
[2026-09-24 11:50:56] local.INFO: Extracted packet for processing {"connection_id":193930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20f"} 
[2026-09-24 11:50:56] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":38,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299040768001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790230649000,"timestamp_ms":1790230649000,"timestamp_seconds":1790230649,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20fd8a8"} 
[2026-09-24 11:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-24 11:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":193930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":193930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":193930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299040768001,"66":12406,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299040768001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:50:56] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:50:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299040768001,"power":12406,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":193930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:50:56] local.INFO: GPS data processed {"connection_id":193930,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:50:56] local.INFO: Acknowledgment sent {"connection_id":193930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:50:57] local.INFO: TCP Data received {"connection_id":193930,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2102ab0012d1b7180072597f8002501252a..."} 
[2026-09-24 11:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2102ab0012d1b7180072597f8002501252a..."} 
[2026-09-24 11:50:57] local.INFO: Processing buffer {"connection_id":193930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2102ab0012d1b7180072597f8002501252a..."} 
[2026-09-24 11:50:57] local.INFO: Packet analysis {"connection_id":193930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d210"} 
[2026-09-24 11:50:57] local.INFO: Extracted packet for processing {"connection_id":193930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d210"} 
[2026-09-24 11:50:57] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299046144001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790230670000,"timestamp_ms":1790230670000,"timestamp_seconds":1790230670,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2102ab0"} 
[2026-09-24 11:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 11:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":193930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":193930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":193930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299046144001,"66":12406,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299046144001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:50:57] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:50:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299046144001,"power":12406,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":193930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:50:57] local.INFO: GPS data processed {"connection_id":193930,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:50:57] local.INFO: Acknowledgment sent {"connection_id":193930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:51:06] local.INFO: TCP Data received {"connection_id":193929,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:51:06] local.INFO: Processing buffer {"connection_id":193929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d20e07d0012d34c14006aa4940000900f52f..."} 
[2026-09-24 11:51:06] local.INFO: Packet analysis {"connection_id":193929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:51:06] local.INFO: Extracted packet for processing {"connection_id":193929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d20e"} 
[2026-09-24 11:51:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458298938624001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790230530000,"timestamp_ms":1790230530000,"timestamp_seconds":1790230530,"priority":1,"record_length":96,"hex_timestamp":"000001a0d20e07d0"} 
[2026-09-24 11:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 11:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458298938624001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458298938624001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:51:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:51:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458298938624001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":193929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:51:06] local.INFO: GPS data processed {"connection_id":193929,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:51:06] local.INFO: Acknowledgment sent {"connection_id":193929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:51:28] local.INFO: TCP Data received {"connection_id":193930,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2107cb8012d1b7180072597f80025012529..."} 
[2026-09-24 11:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2107cb8012d1b7180072597f80025012529..."} 
[2026-09-24 11:51:28] local.INFO: Processing buffer {"connection_id":193930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2107cb8012d1b7180072597f80025012529..."} 
[2026-09-24 11:51:28] local.INFO: Packet analysis {"connection_id":193930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d210"} 
[2026-09-24 11:51:28] local.INFO: Extracted packet for processing {"connection_id":193930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d210"} 
[2026-09-24 11:51:28] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299051520001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790230691000,"timestamp_ms":1790230691000,"timestamp_seconds":1790230691,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2107cb8"} 
[2026-09-24 11:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 11:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":193930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":193930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":193930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299051520001,"66":12406,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299051520001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:51:28] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:51:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299051520001,"power":12406,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":193930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:51:28] local.INFO: GPS data processed {"connection_id":193930,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:51:28] local.INFO: Acknowledgment sent {"connection_id":193930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:51:30] local.INFO: TCP Data received {"connection_id":192643,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:51:30] local.INFO: Processing buffer {"connection_id":192643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:51:30] local.INFO: IMEI packet received {"connection_id":192643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":192643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:51:34] local.INFO: TCP Data received {"connection_id":192643,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:51:34] local.INFO: Processing buffer {"connection_id":192643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:51:34] local.INFO: IMEI packet received {"connection_id":192643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":192643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:51:34] local.INFO: TCP Data received {"connection_id":192643,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:51:34] local.INFO: Processing buffer {"connection_id":192643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:51:34] local.INFO: Packet analysis {"connection_id":192643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:51:34] local.INFO: Extracted packet for processing {"connection_id":192643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:51:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299015680001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790230831000,"timestamp_ms":1790230831000,"timestamp_seconds":1790230831,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2129f98"} 
[2026-09-24 11:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299015680001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299015680001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:51:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:51:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299015680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":192643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:51:34] local.INFO: GPS data processed {"connection_id":192643,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:51:34] local.INFO: Acknowledgment sent {"connection_id":192643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:51:45] local.INFO: TCP Data received {"connection_id":191069,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:51:45] local.INFO: Processing buffer {"connection_id":191069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:51:45] local.INFO: IMEI packet received {"connection_id":191069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":191069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:51:50] local.INFO: TCP Data received {"connection_id":191069,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:51:50] local.INFO: Processing buffer {"connection_id":191069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:51:50] local.INFO: IMEI packet received {"connection_id":191069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":191069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:51:51] local.INFO: TCP Data received {"connection_id":191069,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d210cec0012d1b7180072597f80025012528..."} 
[2026-09-24 11:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d210cec0012d1b7180072597f80025012528..."} 
[2026-09-24 11:51:51] local.INFO: Processing buffer {"connection_id":191069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d210cec0012d1b7180072597f80025012528..."} 
[2026-09-24 11:51:51] local.INFO: Packet analysis {"connection_id":191069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d210"} 
[2026-09-24 11:51:51] local.INFO: Extracted packet for processing {"connection_id":191069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d210"} 
[2026-09-24 11:51:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":40,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299056896001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790230712000,"timestamp_ms":1790230712000,"timestamp_seconds":1790230712,"priority":1,"record_length":96,"hex_timestamp":"000001a0d210cec0"} 
[2026-09-24 11:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 11:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299056896001,"66":12385,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299056896001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:51:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:51:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299056896001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":191069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:51:51] local.INFO: GPS data processed {"connection_id":191069,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:51:51] local.INFO: Acknowledgment sent {"connection_id":191069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:51:56] local.INFO: TCP Data received {"connection_id":191069,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21120c8012d1b7180072597f80025012528..."} 
[2026-09-24 11:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21120c8012d1b7180072597f80025012528..."} 
[2026-09-24 11:51:56] local.INFO: Processing buffer {"connection_id":191069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21120c8012d1b7180072597f80025012528..."} 
[2026-09-24 11:51:56] local.INFO: Packet analysis {"connection_id":191069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d211"} 
[2026-09-24 11:51:56] local.INFO: Extracted packet for processing {"connection_id":191069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d211"} 
[2026-09-24 11:51:56] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":40,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299062272001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790230733000,"timestamp_ms":1790230733000,"timestamp_seconds":1790230733,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21120c8"} 
[2026-09-24 11:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 11:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":191069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":191069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":191069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299062272001,"66":12385,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299062272001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:51:56] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:51:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299062272001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":191069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:51:56] local.INFO: GPS data processed {"connection_id":191069,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:51:56] local.INFO: Acknowledgment sent {"connection_id":191069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:52:06] local.INFO: TCP Data received {"connection_id":192643,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:52:06] local.INFO: Processing buffer {"connection_id":192643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:52:06] local.INFO: Packet analysis {"connection_id":192643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:52:06] local.INFO: Extracted packet for processing {"connection_id":192643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:52:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299015680001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790230831000,"timestamp_ms":1790230831000,"timestamp_seconds":1790230831,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2129f98"} 
[2026-09-24 11:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299015680001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299015680001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:52:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:52:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299015680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":192643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:52:06] local.INFO: GPS data processed {"connection_id":192643,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:52:06] local.INFO: Acknowledgment sent {"connection_id":192643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:52:27] local.INFO: TCP Data received {"connection_id":191069,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21172d0012d1b7180072597f80025012529..."} 
[2026-09-24 11:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21172d0012d1b7180072597f80025012529..."} 
[2026-09-24 11:52:27] local.INFO: Processing buffer {"connection_id":191069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21172d0012d1b7180072597f80025012529..."} 
[2026-09-24 11:52:27] local.INFO: Packet analysis {"connection_id":191069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d211"} 
[2026-09-24 11:52:27] local.INFO: Extracted packet for processing {"connection_id":191069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d211"} 
[2026-09-24 11:52:27] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299067648001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790230754000,"timestamp_ms":1790230754000,"timestamp_seconds":1790230754,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21172d0"} 
[2026-09-24 11:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 11:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299067648001,"66":12374,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299067648001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:52:27] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:52:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299067648001,"power":12374,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":191069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:52:27] local.INFO: GPS data processed {"connection_id":191069,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:52:27] local.INFO: Acknowledgment sent {"connection_id":191069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:52:28] local.INFO: TCP Data received {"connection_id":191264,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:52:28] local.INFO: Processing buffer {"connection_id":191264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:52:28] local.INFO: IMEI packet received {"connection_id":191264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":191264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:52:34] local.INFO: TCP Data received {"connection_id":191264,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:52:34] local.INFO: Processing buffer {"connection_id":191264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:52:34] local.INFO: IMEI packet received {"connection_id":191264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":191264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:52:34] local.INFO: TCP Data received {"connection_id":191264,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:52:34] local.INFO: Processing buffer {"connection_id":191264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:52:34] local.INFO: Packet analysis {"connection_id":191264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:52:34] local.INFO: Extracted packet for processing {"connection_id":191264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:52:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299015680001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790230831000,"timestamp_ms":1790230831000,"timestamp_seconds":1790230831,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2129f98"} 
[2026-09-24 11:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299015680001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299015680001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:52:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:52:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299015680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":191264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:52:34] local.INFO: GPS data processed {"connection_id":191264,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:52:34] local.INFO: Acknowledgment sent {"connection_id":191264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:52:45] local.INFO: TCP Data received {"connection_id":193931,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:52:45] local.INFO: Processing buffer {"connection_id":193931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:52:45] local.INFO: IMEI packet received {"connection_id":193931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":193931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:52:50] local.INFO: TCP Data received {"connection_id":193931,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:52:50] local.INFO: Processing buffer {"connection_id":193931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:52:50] local.INFO: IMEI packet received {"connection_id":193931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":193931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:52:51] local.INFO: TCP Data received {"connection_id":193931,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d211c4d8012d1b7180072597f8002501252c..."} 
[2026-09-24 11:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d211c4d8012d1b7180072597f8002501252c..."} 
[2026-09-24 11:52:51] local.INFO: Processing buffer {"connection_id":193931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d211c4d8012d1b7180072597f8002501252c..."} 
[2026-09-24 11:52:51] local.INFO: Packet analysis {"connection_id":193931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d211"} 
[2026-09-24 11:52:51] local.INFO: Extracted packet for processing {"connection_id":193931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d211"} 
[2026-09-24 11:52:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":44,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299073024001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790230775000,"timestamp_ms":1790230775000,"timestamp_seconds":1790230775,"priority":1,"record_length":96,"hex_timestamp":"000001a0d211c4d8"} 
[2026-09-24 11:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-24 11:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299073024001,"66":12406,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299073024001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:52:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:52:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299073024001,"power":12406,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":193931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:52:51] local.INFO: GPS data processed {"connection_id":193931,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:52:51] local.INFO: Acknowledgment sent {"connection_id":193931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:53:06] local.INFO: TCP Data received {"connection_id":191264,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:53:06] local.INFO: Processing buffer {"connection_id":191264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:53:06] local.INFO: Packet analysis {"connection_id":191264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:53:06] local.INFO: Extracted packet for processing {"connection_id":191264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:53:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299015680001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790230831000,"timestamp_ms":1790230831000,"timestamp_seconds":1790230831,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2129f98"} 
[2026-09-24 11:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299015680001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299015680001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:53:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:53:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299015680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":191264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:53:06] local.INFO: GPS data processed {"connection_id":191264,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:53:06] local.INFO: Acknowledgment sent {"connection_id":191264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:53:22] local.INFO: TCP Data received {"connection_id":193931,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21216e0012d1b7180072597f8002501252a..."} 
[2026-09-24 11:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21216e0012d1b7180072597f8002501252a..."} 
[2026-09-24 11:53:22] local.INFO: Processing buffer {"connection_id":193931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21216e0012d1b7180072597f8002501252a..."} 
[2026-09-24 11:53:22] local.INFO: Packet analysis {"connection_id":193931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:53:22] local.INFO: Extracted packet for processing {"connection_id":193931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:53:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299078400001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790230796000,"timestamp_ms":1790230796000,"timestamp_seconds":1790230796,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21216e0"} 
[2026-09-24 11:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 11:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299078400001,"66":12374,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299078400001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:53:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:53:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299078400001,"power":12374,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":193931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:53:23] local.INFO: GPS data processed {"connection_id":193931,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:53:23] local.INFO: Acknowledgment sent {"connection_id":193931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:53:28] local.INFO: TCP Data received {"connection_id":192644,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:53:28] local.INFO: Processing buffer {"connection_id":192644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:53:28] local.INFO: IMEI packet received {"connection_id":192644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":192644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:53:32] local.INFO: TCP Data received {"connection_id":191070,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:53:32] local.INFO: Processing buffer {"connection_id":191070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:53:32] local.INFO: IMEI packet received {"connection_id":191070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 11:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":191070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:53:35] local.INFO: TCP Data received {"connection_id":192644,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:53:35] local.INFO: Processing buffer {"connection_id":192644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:53:35] local.INFO: IMEI packet received {"connection_id":192644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":192644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:53:36] local.INFO: TCP Data received {"connection_id":192644,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:53:36] local.INFO: Processing buffer {"connection_id":192644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:53:36] local.INFO: Packet analysis {"connection_id":192644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:53:36] local.INFO: Extracted packet for processing {"connection_id":192644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299015680001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790230831000,"timestamp_ms":1790230831000,"timestamp_seconds":1790230831,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2129f98"} 
[2026-09-24 11:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299015680001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299015680001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:53:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:53:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299015680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":192644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:53:36] local.INFO: GPS data processed {"connection_id":192644,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:53:36] local.INFO: Acknowledgment sent {"connection_id":192644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:53:43] local.INFO: TCP Data received {"connection_id":191265,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:53:43] local.INFO: Processing buffer {"connection_id":191265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:53:43] local.INFO: IMEI packet received {"connection_id":191265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":191265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:53:45] local.INFO: TCP Data received {"connection_id":191265,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:53:45] local.INFO: Processing buffer {"connection_id":191265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:53:45] local.INFO: IMEI packet received {"connection_id":191265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":191265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:53:50] local.INFO: TCP Data received {"connection_id":191265,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:53:50] local.INFO: Processing buffer {"connection_id":191265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:53:50] local.INFO: IMEI packet received {"connection_id":191265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":191265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:53:51] local.INFO: TCP Data received {"connection_id":191265,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21268e8012d1b7180072597f8002501252a..."} 
[2026-09-24 11:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21268e8012d1b7180072597f8002501252a..."} 
[2026-09-24 11:53:51] local.INFO: Processing buffer {"connection_id":191265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21268e8012d1b7180072597f8002501252a..."} 
[2026-09-24 11:53:51] local.INFO: Packet analysis {"connection_id":191265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:53:51] local.INFO: Extracted packet for processing {"connection_id":191265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:53:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299083776001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790230817000,"timestamp_ms":1790230817000,"timestamp_seconds":1790230817,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21268e8"} 
[2026-09-24 11:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-24 11:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299083776001,"66":12385,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299083776001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:53:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:53:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299083776001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":191265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:53:51] local.INFO: GPS data processed {"connection_id":191265,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:53:51] local.INFO: Acknowledgment sent {"connection_id":191265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:54:08] local.INFO: TCP Data received {"connection_id":192644,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:54:08] local.INFO: Processing buffer {"connection_id":192644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:54:08] local.INFO: Packet analysis {"connection_id":192644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:54:08] local.INFO: Extracted packet for processing {"connection_id":192644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299015680001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790230831000,"timestamp_ms":1790230831000,"timestamp_seconds":1790230831,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2129f98"} 
[2026-09-24 11:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:54:08] 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-09-24 11: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-09-24 11:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299015680001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299015680001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:54:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299015680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":192644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:54:08] local.INFO: GPS data processed {"connection_id":192644,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:54:08] local.INFO: Acknowledgment sent {"connection_id":192644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:54:13] local.INFO: TCP Data received {"connection_id":192645,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192645,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:54:13] local.INFO: Processing buffer {"connection_id":192645,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:54:13] local.INFO: IMEI packet received {"connection_id":192645,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 11:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":192645,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:54:23] local.INFO: TCP Data received {"connection_id":191265,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d212baf0012d1b7180072597f8002501252a..."} 
[2026-09-24 11:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d212baf0012d1b7180072597f8002501252a..."} 
[2026-09-24 11:54:23] local.INFO: Processing buffer {"connection_id":191265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d212baf0012d1b7180072597f8002501252a..."} 
[2026-09-24 11:54:23] local.INFO: Packet analysis {"connection_id":191265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:54:23] local.INFO: Extracted packet for processing {"connection_id":191265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:54:23] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:54: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-09-24 11:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299089152001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790230838000,"timestamp_ms":1790230838000,"timestamp_seconds":1790230838,"priority":1,"record_length":96,"hex_timestamp":"000001a0d212baf0"} 
[2026-09-24 11:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 11:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:54:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299089152001,"66":12406,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299089152001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:54:23] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:54:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299089152001,"power":12406,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":191265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:54:23] local.INFO: GPS data processed {"connection_id":191265,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:54:23] local.INFO: Acknowledgment sent {"connection_id":191265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:54:34] local.INFO: TCP Data received {"connection_id":193932,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:54:34] local.INFO: Processing buffer {"connection_id":193932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:54:34] local.INFO: IMEI packet received {"connection_id":193932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":193932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:54:39] local.INFO: TCP Data received {"connection_id":193932,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:54:39] local.INFO: Processing buffer {"connection_id":193932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:54:39] local.INFO: IMEI packet received {"connection_id":193932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":193932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:54:40] local.INFO: TCP Data received {"connection_id":193932,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:54:40] local.INFO: Processing buffer {"connection_id":193932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:54:40] local.INFO: Packet analysis {"connection_id":193932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:54:40] local.INFO: Extracted packet for processing {"connection_id":193932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:54:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299015680001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790230831000,"timestamp_ms":1790230831000,"timestamp_seconds":1790230831,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2129f98"} 
[2026-09-24 11:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299015680001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299015680001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:54:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:54:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299015680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":193932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:54:40] local.INFO: GPS data processed {"connection_id":193932,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:54:40] local.INFO: Acknowledgment sent {"connection_id":193932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:54:44] local.INFO: TCP Data received {"connection_id":193932,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:54:44] local.INFO: Processing buffer {"connection_id":193932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:54:44] local.INFO: Packet analysis {"connection_id":193932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:54:44] local.INFO: Extracted packet for processing {"connection_id":193932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:54:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299015680001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790230831000,"timestamp_ms":1790230831000,"timestamp_seconds":1790230831,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2129f98"} 
[2026-09-24 11:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:54:44] 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-09-24 11:54:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299015680001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299015680001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:54:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:54:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299015680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":193932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:54:44] local.INFO: GPS data processed {"connection_id":193932,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:54:44] local.INFO: Acknowledgment sent {"connection_id":193932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:54:45] local.INFO: TCP Data received {"connection_id":192646,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:54:45] local.INFO: Processing buffer {"connection_id":192646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:54:45] local.INFO: IMEI packet received {"connection_id":192646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":192646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:54:46] local.INFO: TCP Data received {"connection_id":192646,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:54:46] local.INFO: Processing buffer {"connection_id":192646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:54:46] local.INFO: IMEI packet received {"connection_id":192646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":192646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:54:50] local.INFO: TCP Data received {"connection_id":192646,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:54:50] local.INFO: Processing buffer {"connection_id":192646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:54:50] local.INFO: IMEI packet received {"connection_id":192646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":192646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:54:51] local.INFO: TCP Data received {"connection_id":192646,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2130cf8012d1b7180072597f8002501252b..."} 
[2026-09-24 11:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2130cf8012d1b7180072597f8002501252b..."} 
[2026-09-24 11:54:51] local.INFO: Processing buffer {"connection_id":192646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2130cf8012d1b7180072597f8002501252b..."} 
[2026-09-24 11:54:51] local.INFO: Packet analysis {"connection_id":192646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d213"} 
[2026-09-24 11:54:51] local.INFO: Extracted packet for processing {"connection_id":192646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d213"} 
[2026-09-24 11:54:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299094528001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790230859000,"timestamp_ms":1790230859000,"timestamp_seconds":1790230859,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2130cf8"} 
[2026-09-24 11:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 11:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299094528001,"66":12385,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299094528001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:54:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:54:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299094528001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":192646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:54:51] local.INFO: GPS data processed {"connection_id":192646,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:54:51] local.INFO: Acknowledgment sent {"connection_id":192646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:55:22] local.INFO: TCP Data received {"connection_id":192646,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2135f00012d1b7180072597f8002501252a..."} 
[2026-09-24 11:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2135f00012d1b7180072597f8002501252a..."} 
[2026-09-24 11:55:22] local.INFO: Processing buffer {"connection_id":192646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2135f00012d1b7180072597f8002501252a..."} 
[2026-09-24 11:55:22] local.INFO: Packet analysis {"connection_id":192646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d213"} 
[2026-09-24 11:55:22] local.INFO: Extracted packet for processing {"connection_id":192646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d213"} 
[2026-09-24 11:55:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299099904001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790230880000,"timestamp_ms":1790230880000,"timestamp_seconds":1790230880,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2135f00"} 
[2026-09-24 11:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 11:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299099904001,"66":12341,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299099904001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:55:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:55:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299099904001,"power":12341,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":192646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:55:23] local.INFO: GPS data processed {"connection_id":192646,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:55:23] local.INFO: Acknowledgment sent {"connection_id":192646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:55:29] local.INFO: TCP Data received {"connection_id":193933,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:55:29] local.INFO: Processing buffer {"connection_id":193933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:55:29] local.INFO: IMEI packet received {"connection_id":193933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":193933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:55:34] local.INFO: TCP Data received {"connection_id":193933,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:55:34] local.INFO: Processing buffer {"connection_id":193933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:55:34] local.INFO: IMEI packet received {"connection_id":193933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":193933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:55:34] local.INFO: TCP Data received {"connection_id":193933,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:55:34] local.INFO: Processing buffer {"connection_id":193933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:55:34] local.INFO: Packet analysis {"connection_id":193933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:55:34] local.INFO: Extracted packet for processing {"connection_id":193933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:55:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299015680001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790230831000,"timestamp_ms":1790230831000,"timestamp_seconds":1790230831,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2129f98"} 
[2026-09-24 11:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299015680001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299015680001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:55:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:55:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299015680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":193933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:55:34] local.INFO: GPS data processed {"connection_id":193933,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:55:34] local.INFO: Acknowledgment sent {"connection_id":193933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:55:45] local.INFO: TCP Data received {"connection_id":191071,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:55:45] local.INFO: Processing buffer {"connection_id":191071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:55:45] local.INFO: IMEI packet received {"connection_id":191071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":191071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:55:49] local.INFO: TCP Data received {"connection_id":191071,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:55:49] local.INFO: Processing buffer {"connection_id":191071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:55:49] local.INFO: IMEI packet received {"connection_id":191071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":191071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:55:50] local.INFO: TCP Data received {"connection_id":191071,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d213b108012d1b7180072597f8002501252c..."} 
[2026-09-24 11:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d213b108012d1b7180072597f8002501252c..."} 
[2026-09-24 11:55:50] local.INFO: Processing buffer {"connection_id":191071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d213b108012d1b7180072597f8002501252c..."} 
[2026-09-24 11:55:50] local.INFO: Packet analysis {"connection_id":191071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d213"} 
[2026-09-24 11:55:50] local.INFO: Extracted packet for processing {"connection_id":191071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d213"} 
[2026-09-24 11:55:50] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":44,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299105280001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790230901000,"timestamp_ms":1790230901000,"timestamp_seconds":1790230901,"priority":1,"record_length":96,"hex_timestamp":"000001a0d213b108"} 
[2026-09-24 11:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 11:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299105280001,"66":12406,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299105280001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:55:50] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:55:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299105280001,"power":12406,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":191071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:55:50] local.INFO: GPS data processed {"connection_id":191071,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:55:50] local.INFO: Acknowledgment sent {"connection_id":191071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:56:06] local.INFO: TCP Data received {"connection_id":193933,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:56:06] local.INFO: Processing buffer {"connection_id":193933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2129f98012d34c14006aa4940000900f52e..."} 
[2026-09-24 11:56:06] local.INFO: Packet analysis {"connection_id":193933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:56:06] local.INFO: Extracted packet for processing {"connection_id":193933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d212"} 
[2026-09-24 11:56:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299015680001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790230831000,"timestamp_ms":1790230831000,"timestamp_seconds":1790230831,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2129f98"} 
[2026-09-24 11:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 11:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299015680001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299015680001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:56:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:56:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299015680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":193933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:56:06] local.INFO: GPS data processed {"connection_id":193933,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:56:06] local.INFO: Acknowledgment sent {"connection_id":193933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:56:21] local.INFO: TCP Data received {"connection_id":191071,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2140310012d1b7180072597f8002501252a..."} 
[2026-09-24 11:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2140310012d1b7180072597f8002501252a..."} 
[2026-09-24 11:56:21] local.INFO: Processing buffer {"connection_id":191071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2140310012d1b7180072597f8002501252a..."} 
[2026-09-24 11:56:21] local.INFO: Packet analysis {"connection_id":191071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d214"} 
[2026-09-24 11:56:21] local.INFO: Extracted packet for processing {"connection_id":191071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d214"} 
[2026-09-24 11:56:21] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299110656001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790230922000,"timestamp_ms":1790230922000,"timestamp_seconds":1790230922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2140310"} 
[2026-09-24 11:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 11:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299110656001,"66":12385,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299110656001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:56:21] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:56:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299110656001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":191071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:56:21] local.INFO: GPS data processed {"connection_id":191071,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:56:21] local.INFO: Acknowledgment sent {"connection_id":191071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:56:28] local.INFO: TCP Data received {"connection_id":192648,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:56:28] local.INFO: Processing buffer {"connection_id":192648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:56:28] local.INFO: IMEI packet received {"connection_id":192648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":192648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:56:34] local.INFO: TCP Data received {"connection_id":192648,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:56:34] local.INFO: Processing buffer {"connection_id":192648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:56:34] local.INFO: IMEI packet received {"connection_id":192648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":192648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:56:35] local.INFO: TCP Data received {"connection_id":192648,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:56:35] local.INFO: Processing buffer {"connection_id":192648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:56:35] local.INFO: Packet analysis {"connection_id":192648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d217"} 
[2026-09-24 11:56:35] local.INFO: Extracted packet for processing {"connection_id":192648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d217"} 
[2026-09-24 11:56:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299092736001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790231132000,"timestamp_ms":1790231132000,"timestamp_seconds":1790231132,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2173760"} 
[2026-09-24 11:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 11:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299092736001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299092736001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:56:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:56:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299092736001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":192648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:56:35] local.INFO: GPS data processed {"connection_id":192648,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:56:35] local.INFO: Acknowledgment sent {"connection_id":192648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:56:45] local.INFO: TCP Data received {"connection_id":191072,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:56:45] local.INFO: Processing buffer {"connection_id":191072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:56:45] local.INFO: IMEI packet received {"connection_id":191072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":191072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:56:50] local.INFO: TCP Data received {"connection_id":191072,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:56:50] local.INFO: Processing buffer {"connection_id":191072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:56:50] local.INFO: IMEI packet received {"connection_id":191072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":191072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:56:51] local.INFO: TCP Data received {"connection_id":191072,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2145518012d1b7180072597f80025012529..."} 
[2026-09-24 11:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2145518012d1b7180072597f80025012529..."} 
[2026-09-24 11:56:51] local.INFO: Processing buffer {"connection_id":191072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2145518012d1b7180072597f80025012529..."} 
[2026-09-24 11:56:51] local.INFO: Packet analysis {"connection_id":191072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d214"} 
[2026-09-24 11:56:51] local.INFO: Extracted packet for processing {"connection_id":191072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d214"} 
[2026-09-24 11:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299116032001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790230943000,"timestamp_ms":1790230943000,"timestamp_seconds":1790230943,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2145518"} 
[2026-09-24 11:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 11:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299116032001,"66":12385,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299116032001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:56:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:56:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299116032001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":191072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:56:51] local.INFO: GPS data processed {"connection_id":191072,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:56:51] local.INFO: Acknowledgment sent {"connection_id":191072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:57:06] local.INFO: TCP Data received {"connection_id":192648,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:57:06] local.INFO: Processing buffer {"connection_id":192648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:57:06] local.INFO: Packet analysis {"connection_id":192648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d217"} 
[2026-09-24 11:57:06] local.INFO: Extracted packet for processing {"connection_id":192648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d217"} 
[2026-09-24 11:57:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299092736001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790231132000,"timestamp_ms":1790231132000,"timestamp_seconds":1790231132,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2173760"} 
[2026-09-24 11:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 11:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299092736001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299092736001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:57:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:57:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299092736001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":192648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:57:06] local.INFO: GPS data processed {"connection_id":192648,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:57:06] local.INFO: Acknowledgment sent {"connection_id":192648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:57:22] local.INFO: TCP Data received {"connection_id":191072,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d214a720012d1b7180072597f8002501252b..."} 
[2026-09-24 11:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d214a720012d1b7180072597f8002501252b..."} 
[2026-09-24 11:57:22] local.INFO: Processing buffer {"connection_id":191072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d214a720012d1b7180072597f8002501252b..."} 
[2026-09-24 11:57:22] local.INFO: Packet analysis {"connection_id":191072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d214"} 
[2026-09-24 11:57:22] local.INFO: Extracted packet for processing {"connection_id":191072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d214"} 
[2026-09-24 11:57:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299121408001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790230964000,"timestamp_ms":1790230964000,"timestamp_seconds":1790230964,"priority":1,"record_length":96,"hex_timestamp":"000001a0d214a720"} 
[2026-09-24 11:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 11:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299121408001,"66":12385,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299121408001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:57:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:57:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299121408001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":191072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:57:23] local.INFO: GPS data processed {"connection_id":191072,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:57:23] local.INFO: Acknowledgment sent {"connection_id":191072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:57:28] local.INFO: TCP Data received {"connection_id":193934,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:57:28] local.INFO: Processing buffer {"connection_id":193934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:57:28] local.INFO: IMEI packet received {"connection_id":193934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":193934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:57:34] local.INFO: TCP Data received {"connection_id":193934,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:57:34] local.INFO: Processing buffer {"connection_id":193934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:57:34] local.INFO: IMEI packet received {"connection_id":193934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":193934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:57:35] local.INFO: TCP Data received {"connection_id":193934,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:57:35] local.INFO: Processing buffer {"connection_id":193934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:57:35] local.INFO: Packet analysis {"connection_id":193934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d217"} 
[2026-09-24 11:57:35] local.INFO: Extracted packet for processing {"connection_id":193934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d217"} 
[2026-09-24 11:57:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299092736001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790231132000,"timestamp_ms":1790231132000,"timestamp_seconds":1790231132,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2173760"} 
[2026-09-24 11:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 11:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299092736001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299092736001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:57:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:57:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299092736001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":193934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:57:35] local.INFO: GPS data processed {"connection_id":193934,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:57:35] local.INFO: Acknowledgment sent {"connection_id":193934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:57:50] local.INFO: TCP Data received {"connection_id":191267,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:57:50] local.INFO: Processing buffer {"connection_id":191267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:57:50] local.INFO: IMEI packet received {"connection_id":191267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":191267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:57:56] local.INFO: TCP Data received {"connection_id":191267,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:57:56] local.INFO: Processing buffer {"connection_id":191267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:57:56] local.INFO: IMEI packet received {"connection_id":191267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":191267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:57:56] local.INFO: TCP Data received {"connection_id":191267,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2182d78012d1b7180072597f80025012526..."} 
[2026-09-24 11:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2182d78012d1b7180072597f80025012526..."} 
[2026-09-24 11:57:56] local.INFO: Processing buffer {"connection_id":191267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2182d78012d1b7180072597f80025012526..."} 
[2026-09-24 11:57:56] local.INFO: Packet analysis {"connection_id":191267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d218"} 
[2026-09-24 11:57:56] local.INFO: Extracted packet for processing {"connection_id":191267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d218"} 
[2026-09-24 11:57:56] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":38,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299180544001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790231195000,"timestamp_ms":1790231195000,"timestamp_seconds":1790231195,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2182d78"} 
[2026-09-24 11:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-24 11:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":191267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":191267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":191267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299180544001,"66":12385,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299180544001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:57:56] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:57:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299180544001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":191267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:57:56] local.INFO: GPS data processed {"connection_id":191267,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:57:56] local.INFO: Acknowledgment sent {"connection_id":191267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:57:57] local.INFO: TCP Data received {"connection_id":191267,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2187f80012d1b7180072597f80025012529..."} 
[2026-09-24 11:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2187f80012d1b7180072597f80025012529..."} 
[2026-09-24 11:57:57] local.INFO: Processing buffer {"connection_id":191267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2187f80012d1b7180072597f80025012529..."} 
[2026-09-24 11:57:57] local.INFO: Packet analysis {"connection_id":191267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d218"} 
[2026-09-24 11:57:57] local.INFO: Extracted packet for processing {"connection_id":191267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d218"} 
[2026-09-24 11:57:57] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:57: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-09-24 11:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299185920001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790231216000,"timestamp_ms":1790231216000,"timestamp_seconds":1790231216,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2187f80"} 
[2026-09-24 11:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 11:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:57: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-09-24 11:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":191267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":191267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":191267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299185920001,"66":12330,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299185920001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:57:57] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:57:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299185920001,"power":12330,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":191267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:57:57] local.INFO: GPS data processed {"connection_id":191267,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:57:57] local.INFO: Acknowledgment sent {"connection_id":191267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:58:06] local.INFO: TCP Data received {"connection_id":193934,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:58:06] local.INFO: Processing buffer {"connection_id":193934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:58:06] local.INFO: Packet analysis {"connection_id":193934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d217"} 
[2026-09-24 11:58:06] local.INFO: Extracted packet for processing {"connection_id":193934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d217"} 
[2026-09-24 11:58:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299092736001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790231132000,"timestamp_ms":1790231132000,"timestamp_seconds":1790231132,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2173760"} 
[2026-09-24 11:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 11:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299092736001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299092736001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:58:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:58:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299092736001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":193934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:58:06] local.INFO: GPS data processed {"connection_id":193934,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:58:06] local.INFO: Acknowledgment sent {"connection_id":193934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:58:28] local.INFO: TCP Data received {"connection_id":191267,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d218d188012d1b7180072597f80025012527..."} 
[2026-09-24 11:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d218d188012d1b7180072597f80025012527..."} 
[2026-09-24 11:58:28] local.INFO: Processing buffer {"connection_id":191267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d218d188012d1b7180072597f80025012527..."} 
[2026-09-24 11:58:28] local.INFO: Packet analysis {"connection_id":191267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d218"} 
[2026-09-24 11:58:28] local.INFO: Extracted packet for processing {"connection_id":191267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d218"} 
[2026-09-24 11:58:28] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":39,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299191296001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790231237000,"timestamp_ms":1790231237000,"timestamp_seconds":1790231237,"priority":1,"record_length":96,"hex_timestamp":"000001a0d218d188"} 
[2026-09-24 11:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-24 11:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":191267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":191267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":191267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299191296001,"66":12374,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299191296001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:58:28] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:58:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299191296001,"power":12374,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":191267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:58:28] local.INFO: GPS data processed {"connection_id":191267,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:58:28] local.INFO: Acknowledgment sent {"connection_id":191267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:58:28] local.INFO: TCP Data received {"connection_id":192651,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:58:28] local.INFO: Processing buffer {"connection_id":192651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:58:28] local.INFO: IMEI packet received {"connection_id":192651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":192651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:58:34] local.INFO: TCP Data received {"connection_id":192651,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:58:34] local.INFO: Processing buffer {"connection_id":192651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:58:34] local.INFO: IMEI packet received {"connection_id":192651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":192651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:58:34] local.INFO: TCP Data received {"connection_id":192651,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:58:34] local.INFO: Processing buffer {"connection_id":192651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:58:34] local.INFO: Packet analysis {"connection_id":192651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d217"} 
[2026-09-24 11:58:34] local.INFO: Extracted packet for processing {"connection_id":192651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d217"} 
[2026-09-24 11:58:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299092736001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790231132000,"timestamp_ms":1790231132000,"timestamp_seconds":1790231132,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2173760"} 
[2026-09-24 11:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 11:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299092736001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299092736001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:58:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:58:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299092736001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":192651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:58:35] local.INFO: GPS data processed {"connection_id":192651,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:58:35] local.INFO: Acknowledgment sent {"connection_id":192651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:58:45] local.INFO: TCP Data received {"connection_id":191073,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:58:45] local.INFO: Processing buffer {"connection_id":191073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:58:45] local.INFO: IMEI packet received {"connection_id":191073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":191073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:58:50] local.INFO: TCP Data received {"connection_id":191073,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:58:50] local.INFO: Processing buffer {"connection_id":191073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:58:50] local.INFO: IMEI packet received {"connection_id":191073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":191073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:58:51] local.INFO: TCP Data received {"connection_id":191073,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2192390012d1b7180072597f80025012528..."} 
[2026-09-24 11:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2192390012d1b7180072597f80025012528..."} 
[2026-09-24 11:58:51] local.INFO: Processing buffer {"connection_id":191073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2192390012d1b7180072597f80025012528..."} 
[2026-09-24 11:58:51] local.INFO: Packet analysis {"connection_id":191073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d219"} 
[2026-09-24 11:58:51] local.INFO: Extracted packet for processing {"connection_id":191073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d219"} 
[2026-09-24 11:58:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":40,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11: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-09-24 11:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299196672001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790231258000,"timestamp_ms":1790231258000,"timestamp_seconds":1790231258,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2192390"} 
[2026-09-24 11:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-24 11:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11: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-09-24 11:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299196672001,"66":12385,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299196672001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:58:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:58:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299196672001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":191073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:58:51] local.INFO: GPS data processed {"connection_id":191073,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:58:51] local.INFO: Acknowledgment sent {"connection_id":191073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:58:56] local.INFO: TCP Data received {"connection_id":191073,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2197598012d1b7180072597f80025012529..."} 
[2026-09-24 11:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2197598012d1b7180072597f80025012529..."} 
[2026-09-24 11:58:56] local.INFO: Processing buffer {"connection_id":191073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2197598012d1b7180072597f80025012529..."} 
[2026-09-24 11:58:56] local.INFO: Packet analysis {"connection_id":191073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d219"} 
[2026-09-24 11:58:56] local.INFO: Extracted packet for processing {"connection_id":191073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d219"} 
[2026-09-24 11:58:56] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299202048001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790231279000,"timestamp_ms":1790231279000,"timestamp_seconds":1790231279,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2197598"} 
[2026-09-24 11:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 11:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":191073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":191073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":191073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299202048001,"66":12385,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299202048001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:58:56] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:58:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299202048001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":191073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:58:56] local.INFO: GPS data processed {"connection_id":191073,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:58:56] local.INFO: Acknowledgment sent {"connection_id":191073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:59:06] local.INFO: TCP Data received {"connection_id":192651,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:59:06] local.INFO: Processing buffer {"connection_id":192651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:59:06] local.INFO: Packet analysis {"connection_id":192651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d217"} 
[2026-09-24 11:59:06] local.INFO: Extracted packet for processing {"connection_id":192651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d217"} 
[2026-09-24 11:59:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299092736001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790231132000,"timestamp_ms":1790231132000,"timestamp_seconds":1790231132,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2173760"} 
[2026-09-24 11:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 11:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299092736001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299092736001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:59:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:59:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299092736001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":192651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:59:06] local.INFO: GPS data processed {"connection_id":192651,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:59:06] local.INFO: Acknowledgment sent {"connection_id":192651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:59:27] local.INFO: TCP Data received {"connection_id":191073,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d219c7a0012d1b7180072597f80025012528..."} 
[2026-09-24 11:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d219c7a0012d1b7180072597f80025012528..."} 
[2026-09-24 11:59:27] local.INFO: Processing buffer {"connection_id":191073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d219c7a0012d1b7180072597f80025012528..."} 
[2026-09-24 11:59:27] local.INFO: Packet analysis {"connection_id":191073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d219"} 
[2026-09-24 11:59:27] local.INFO: Extracted packet for processing {"connection_id":191073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d219"} 
[2026-09-24 11:59:27] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":40,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299207424001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790231300000,"timestamp_ms":1790231300000,"timestamp_seconds":1790231300,"priority":1,"record_length":96,"hex_timestamp":"000001a0d219c7a0"} 
[2026-09-24 11:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 11:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299207424001,"66":12385,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299207424001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:59:27] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:59:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299207424001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":191073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:59:27] local.INFO: GPS data processed {"connection_id":191073,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:59:27] local.INFO: Acknowledgment sent {"connection_id":191073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:59:34] local.INFO: TCP Data received {"connection_id":191074,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:59:34] local.INFO: Processing buffer {"connection_id":191074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:59:34] local.INFO: IMEI packet received {"connection_id":191074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 11:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":191074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:59:36] local.INFO: TCP Data received {"connection_id":191268,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191268,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:59:36] local.INFO: Processing buffer {"connection_id":191268,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 11:59:36] local.INFO: IMEI packet received {"connection_id":191268,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 11:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":191268,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:59:39] local.INFO: TCP Data received {"connection_id":191074,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:59:39] local.INFO: Processing buffer {"connection_id":191074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 11:59:39] local.INFO: IMEI packet received {"connection_id":191074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 11:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":191074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:59:40] local.INFO: TCP Data received {"connection_id":191074,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:59:40] local.INFO: Processing buffer {"connection_id":191074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:59:40] local.INFO: Packet analysis {"connection_id":191074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d217"} 
[2026-09-24 11:59:40] local.INFO: Extracted packet for processing {"connection_id":191074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d217"} 
[2026-09-24 11:59:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299092736001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790231132000,"timestamp_ms":1790231132000,"timestamp_seconds":1790231132,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2173760"} 
[2026-09-24 11:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 11:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299092736001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299092736001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:59:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:59:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299092736001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":191074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:59:40] local.INFO: GPS data processed {"connection_id":191074,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:59:40] local.INFO: Acknowledgment sent {"connection_id":191074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:59:45] local.INFO: TCP Data received {"connection_id":191074,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:59:45] local.INFO: Processing buffer {"connection_id":191074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 11:59:45] local.INFO: Packet analysis {"connection_id":191074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d217"} 
[2026-09-24 11:59:45] local.INFO: Extracted packet for processing {"connection_id":191074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d217"} 
[2026-09-24 11:59:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 11:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299092736001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 11:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 11:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790231132000,"timestamp_ms":1790231132000,"timestamp_seconds":1790231132,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2173760"} 
[2026-09-24 11:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 11:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 11:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 11:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 11:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 11:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299092736001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 11:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 11:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 11:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299092736001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:59:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 11:59:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 11:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 11:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299092736001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 11:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":191074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:59:45] local.INFO: GPS data processed {"connection_id":191074,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:59:45] local.INFO: Acknowledgment sent {"connection_id":191074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 11:59:45] local.INFO: TCP Data received {"connection_id":192652,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:59:45] local.INFO: Processing buffer {"connection_id":192652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:59:45] local.INFO: IMEI packet received {"connection_id":192652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 11:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":192652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 11:59:50] local.INFO: TCP Data received {"connection_id":192652,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:59:50] local.INFO: Processing buffer {"connection_id":192652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 11:59:50] local.INFO: IMEI packet received {"connection_id":192652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 11:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":192652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 11:59:51] local.INFO: TCP Data received {"connection_id":192652,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21a19a8012d1b7180072597f80025012529..."} 
[2026-09-24 11:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21a19a8012d1b7180072597f80025012529..."} 
[2026-09-24 11:59:51] local.INFO: Processing buffer {"connection_id":192652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21a19a8012d1b7180072597f80025012529..."} 
[2026-09-24 11:59:51] local.INFO: Packet analysis {"connection_id":192652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21a"} 
[2026-09-24 11:59:51] local.INFO: Extracted packet for processing {"connection_id":192652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21a"} 
[2026-09-24 11:59:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 11:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 11:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299212800001,"note":"Value kept but may cause issues"} 
[2026-09-24 11:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 11:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 11:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 11:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790231321000,"timestamp_ms":1790231321000,"timestamp_seconds":1790231321,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21a19a8"} 
[2026-09-24 11:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 11:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 11:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 11:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 11:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 11:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 11:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 11:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 11:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 11:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 11:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 11:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 11:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299212800001,"66":12385,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 11:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 11:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 11:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299212800001,"description":"Unknown IO ID 0"} 
[2026-09-24 11:59:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 11:59:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 11:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 11:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 11:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299212800001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 11:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":192652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 11:59:51] local.INFO: GPS data processed {"connection_id":192652,"processed":1,"errors":0,"total":1} 
[2026-09-24 11:59:51] local.INFO: Acknowledgment sent {"connection_id":192652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:00:12] local.INFO: TCP Data received {"connection_id":191075,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:00:12] local.INFO: Processing buffer {"connection_id":191075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:00:12] local.INFO: IMEI packet received {"connection_id":191075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 12:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":191075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:00:22] local.INFO: TCP Data received {"connection_id":192652,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21a6bb0012d1b7180072597f8002501252a..."} 
[2026-09-24 12:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21a6bb0012d1b7180072597f8002501252a..."} 
[2026-09-24 12:00:22] local.INFO: Processing buffer {"connection_id":192652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21a6bb0012d1b7180072597f8002501252a..."} 
[2026-09-24 12:00:22] local.INFO: Packet analysis {"connection_id":192652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21a"} 
[2026-09-24 12:00:22] local.INFO: Extracted packet for processing {"connection_id":192652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21a"} 
[2026-09-24 12:00:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299218176001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 12:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 12:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790231342000,"timestamp_ms":1790231342000,"timestamp_seconds":1790231342,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21a6bb0"} 
[2026-09-24 12:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 12:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299218176001,"66":12385,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299218176001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:00:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:00:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 12:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299218176001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 12:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":192652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:00:22] local.INFO: GPS data processed {"connection_id":192652,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:00:22] local.INFO: Acknowledgment sent {"connection_id":192652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:00:29] local.INFO: TCP Data received {"connection_id":191076,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:00:29] local.INFO: Processing buffer {"connection_id":191076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:00:29] local.INFO: IMEI packet received {"connection_id":191076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":191076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:00:34] local.INFO: TCP Data received {"connection_id":191076,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:00:34] local.INFO: Processing buffer {"connection_id":191076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:00:34] local.INFO: IMEI packet received {"connection_id":191076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":191076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:00:35] local.INFO: TCP Data received {"connection_id":191076,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:00:35] local.INFO: Processing buffer {"connection_id":191076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:00:35] local.INFO: Packet analysis {"connection_id":191076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d217"} 
[2026-09-24 12:00:35] local.INFO: Extracted packet for processing {"connection_id":191076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d217"} 
[2026-09-24 12:00:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299092736001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790231132000,"timestamp_ms":1790231132000,"timestamp_seconds":1790231132,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2173760"} 
[2026-09-24 12:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 12:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299092736001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299092736001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:00:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:00:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299092736001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":191076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:00:35] local.INFO: GPS data processed {"connection_id":191076,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:00:35] local.INFO: Acknowledgment sent {"connection_id":191076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:00:43] local.INFO: TCP Data received {"connection_id":193935,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:00:43] local.INFO: Processing buffer {"connection_id":193935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:00:43] local.INFO: IMEI packet received {"connection_id":193935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":193935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:00:45] local.INFO: TCP Data received {"connection_id":193935,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:00:45] local.INFO: Processing buffer {"connection_id":193935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:00:45] local.INFO: IMEI packet received {"connection_id":193935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":193935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:00:50] local.INFO: TCP Data received {"connection_id":193935,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:00:50] local.INFO: Processing buffer {"connection_id":193935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:00:50] local.INFO: IMEI packet received {"connection_id":193935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":193935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:00:51] local.INFO: TCP Data received {"connection_id":193935,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21abdb8012d1b7180072597f80025012529..."} 
[2026-09-24 12:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21abdb8012d1b7180072597f80025012529..."} 
[2026-09-24 12:00:51] local.INFO: Processing buffer {"connection_id":193935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21abdb8012d1b7180072597f80025012529..."} 
[2026-09-24 12:00:51] local.INFO: Packet analysis {"connection_id":193935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21a"} 
[2026-09-24 12:00:51] local.INFO: Extracted packet for processing {"connection_id":193935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21a"} 
[2026-09-24 12:00:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 12:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299223552001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 12:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 12:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790231363000,"timestamp_ms":1790231363000,"timestamp_seconds":1790231363,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21abdb8"} 
[2026-09-24 12:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 12:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:00: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-09-24 12:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299223552001,"66":12385,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299223552001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:00:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:00:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 12:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299223552001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 12:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":193935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:00:51] local.INFO: GPS data processed {"connection_id":193935,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:00:51] local.INFO: Acknowledgment sent {"connection_id":193935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:01:06] local.INFO: TCP Data received {"connection_id":191076,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:01:06] local.INFO: Processing buffer {"connection_id":191076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2173760012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:01:06] local.INFO: Packet analysis {"connection_id":191076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d217"} 
[2026-09-24 12:01:06] local.INFO: Extracted packet for processing {"connection_id":191076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d217"} 
[2026-09-24 12:01:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299092736001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790231132000,"timestamp_ms":1790231132000,"timestamp_seconds":1790231132,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2173760"} 
[2026-09-24 12:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 12:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299092736001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299092736001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:01:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:01:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299092736001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":191076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:01:06] local.INFO: GPS data processed {"connection_id":191076,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:01:06] local.INFO: Acknowledgment sent {"connection_id":191076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:01:22] local.INFO: TCP Data received {"connection_id":193935,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21b0fc0012d1b7180072597f80025012529..."} 
[2026-09-24 12:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21b0fc0012d1b7180072597f80025012529..."} 
[2026-09-24 12:01:22] local.INFO: Processing buffer {"connection_id":193935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21b0fc0012d1b7180072597f80025012529..."} 
[2026-09-24 12:01:22] local.INFO: Packet analysis {"connection_id":193935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:01:22] local.INFO: Extracted packet for processing {"connection_id":193935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:01:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 12:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299228928001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 12:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 12:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790231384000,"timestamp_ms":1790231384000,"timestamp_seconds":1790231384,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21b0fc0"} 
[2026-09-24 12:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 12:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299228928001,"66":12385,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299228928001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:01:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:01:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 12:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299228928001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 12:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":193935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:01:23] local.INFO: GPS data processed {"connection_id":193935,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:01:23] local.INFO: Acknowledgment sent {"connection_id":193935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:01:28] local.INFO: TCP Data received {"connection_id":192653,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:01:28] local.INFO: Processing buffer {"connection_id":192653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:01:28] local.INFO: IMEI packet received {"connection_id":192653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":192653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:01:34] local.INFO: TCP Data received {"connection_id":192653,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:01:34] local.INFO: Processing buffer {"connection_id":192653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:01:34] local.INFO: IMEI packet received {"connection_id":192653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":192653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:01:34] local.INFO: TCP Data received {"connection_id":192653,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:01:34] local.INFO: Processing buffer {"connection_id":192653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:01:34] local.INFO: Packet analysis {"connection_id":192653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:01:34] local.INFO: Extracted packet for processing {"connection_id":192653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:01:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299169792001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790231433000,"timestamp_ms":1790231433000,"timestamp_seconds":1790231433,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21bcf28"} 
[2026-09-24 12:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299169792001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299169792001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:01:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:01:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299169792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":192653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:01:34] local.INFO: GPS data processed {"connection_id":192653,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:01:34] local.INFO: Acknowledgment sent {"connection_id":192653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:01:45] local.INFO: TCP Data received {"connection_id":192654,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:01:45] local.INFO: Processing buffer {"connection_id":192654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:01:45] local.INFO: IMEI packet received {"connection_id":192654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":192654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:01:46] local.INFO: TCP Data received {"connection_id":192654,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:01:46] local.INFO: Processing buffer {"connection_id":192654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:01:46] local.INFO: IMEI packet received {"connection_id":192654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":192654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:01:50] local.INFO: TCP Data received {"connection_id":192654,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:01:50] local.INFO: Processing buffer {"connection_id":192654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:01:50] local.INFO: IMEI packet received {"connection_id":192654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":192654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:01:51] local.INFO: TCP Data received {"connection_id":192654,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21b61c8012d1b7180072597f80025012528..."} 
[2026-09-24 12:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21b61c8012d1b7180072597f80025012528..."} 
[2026-09-24 12:01:51] local.INFO: Processing buffer {"connection_id":192654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21b61c8012d1b7180072597f80025012528..."} 
[2026-09-24 12:01:51] local.INFO: Packet analysis {"connection_id":192654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:01:51] local.INFO: Extracted packet for processing {"connection_id":192654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:01:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":40,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 12:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299234304001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 12:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 12:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790231405000,"timestamp_ms":1790231405000,"timestamp_seconds":1790231405,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21b61c8"} 
[2026-09-24 12:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 12:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299234304001,"66":12341,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299234304001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:01:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:01:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 12:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299234304001,"power":12341,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 12:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":192654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:01:51] local.INFO: GPS data processed {"connection_id":192654,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:01:51] local.INFO: Acknowledgment sent {"connection_id":192654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:02:06] local.INFO: TCP Data received {"connection_id":192653,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:02:06] local.INFO: Processing buffer {"connection_id":192653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:02:06] local.INFO: Packet analysis {"connection_id":192653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:02:06] local.INFO: Extracted packet for processing {"connection_id":192653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:02:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299169792001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790231433000,"timestamp_ms":1790231433000,"timestamp_seconds":1790231433,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21bcf28"} 
[2026-09-24 12:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299169792001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299169792001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:02:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:02:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299169792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":192653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:02:06] local.INFO: GPS data processed {"connection_id":192653,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:02:06] local.INFO: Acknowledgment sent {"connection_id":192653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:02:22] local.INFO: TCP Data received {"connection_id":192654,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21bb3d0012d1b7180072597f8002501252b..."} 
[2026-09-24 12:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21bb3d0012d1b7180072597f8002501252b..."} 
[2026-09-24 12:02:22] local.INFO: Processing buffer {"connection_id":192654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21bb3d0012d1b7180072597f8002501252b..."} 
[2026-09-24 12:02:22] local.INFO: Packet analysis {"connection_id":192654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:02:22] local.INFO: Extracted packet for processing {"connection_id":192654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:02:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 12:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299239680001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 12:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 12:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790231426000,"timestamp_ms":1790231426000,"timestamp_seconds":1790231426,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21bb3d0"} 
[2026-09-24 12:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 12:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299239680001,"66":12385,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299239680001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:02:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:02:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 12:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299239680001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 12:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":192654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:02:22] local.INFO: GPS data processed {"connection_id":192654,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:02:22] local.INFO: Acknowledgment sent {"connection_id":192654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:02:28] local.INFO: TCP Data received {"connection_id":193937,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:02:28] local.INFO: Processing buffer {"connection_id":193937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:02:28] local.INFO: IMEI packet received {"connection_id":193937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":193937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:02:34] local.INFO: TCP Data received {"connection_id":193937,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:02:34] local.INFO: Processing buffer {"connection_id":193937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:02:34] local.INFO: IMEI packet received {"connection_id":193937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":193937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:02:34] local.INFO: TCP Data received {"connection_id":193937,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:02:34] local.INFO: Processing buffer {"connection_id":193937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:02:34] local.INFO: Packet analysis {"connection_id":193937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:02:34] local.INFO: Extracted packet for processing {"connection_id":193937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:02:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299169792001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790231433000,"timestamp_ms":1790231433000,"timestamp_seconds":1790231433,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21bcf28"} 
[2026-09-24 12:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299169792001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299169792001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:02:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:02:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299169792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":193937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:02:34] local.INFO: GPS data processed {"connection_id":193937,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:02:34] local.INFO: Acknowledgment sent {"connection_id":193937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:02:45] local.INFO: TCP Data received {"connection_id":191077,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:02:45] local.INFO: Processing buffer {"connection_id":191077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:02:45] local.INFO: IMEI packet received {"connection_id":191077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":191077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:02:49] local.INFO: TCP Data received {"connection_id":191077,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:02:49] local.INFO: Processing buffer {"connection_id":191077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:02:49] local.INFO: IMEI packet received {"connection_id":191077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":191077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:02:50] local.INFO: TCP Data received {"connection_id":191077,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21c05d8012d1b7180072597f80025012529..."} 
[2026-09-24 12:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21c05d8012d1b7180072597f80025012529..."} 
[2026-09-24 12:02:50] local.INFO: Processing buffer {"connection_id":191077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21c05d8012d1b7180072597f80025012529..."} 
[2026-09-24 12:02:50] local.INFO: Packet analysis {"connection_id":191077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21c"} 
[2026-09-24 12:02:50] local.INFO: Extracted packet for processing {"connection_id":191077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21c"} 
[2026-09-24 12:02:50] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 12:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299245056001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 12:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 12:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790231447000,"timestamp_ms":1790231447000,"timestamp_seconds":1790231447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21c05d8"} 
[2026-09-24 12:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 12:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299245056001,"66":12385,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299245056001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:02:50] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:02:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 12:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299245056001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 12:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":191077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:02:51] local.INFO: GPS data processed {"connection_id":191077,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:02:51] local.INFO: Acknowledgment sent {"connection_id":191077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:03:08] local.INFO: TCP Data received {"connection_id":193937,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:03:08] local.INFO: Processing buffer {"connection_id":193937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:03:08] local.INFO: Packet analysis {"connection_id":193937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:03:08] local.INFO: Extracted packet for processing {"connection_id":193937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299169792001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790231433000,"timestamp_ms":1790231433000,"timestamp_seconds":1790231433,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21bcf28"} 
[2026-09-24 12:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:03:08] 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-09-24 12:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299169792001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299169792001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:03:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:03:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299169792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":193937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:03:08] local.INFO: GPS data processed {"connection_id":193937,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:03:08] local.INFO: Acknowledgment sent {"connection_id":193937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:03:22] local.INFO: TCP Data received {"connection_id":191077,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21c57e0012d1b7180072597f80025012529..."} 
[2026-09-24 12:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21c57e0012d1b7180072597f80025012529..."} 
[2026-09-24 12:03:22] local.INFO: Processing buffer {"connection_id":191077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21c57e0012d1b7180072597f80025012529..."} 
[2026-09-24 12:03:22] local.INFO: Packet analysis {"connection_id":191077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21c"} 
[2026-09-24 12:03:22] local.INFO: Extracted packet for processing {"connection_id":191077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21c"} 
[2026-09-24 12:03:22] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 12:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299250432001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 12:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 12:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790231468000,"timestamp_ms":1790231468000,"timestamp_seconds":1790231468,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21c57e0"} 
[2026-09-24 12:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 12:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299250432001,"66":12341,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299250432001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:03:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:03:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 12:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299250432001,"power":12341,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 12:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":191077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:03:22] local.INFO: GPS data processed {"connection_id":191077,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:03:22] local.INFO: Acknowledgment sent {"connection_id":191077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:03:34] local.INFO: TCP Data received {"connection_id":191270,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:03:34] local.INFO: Processing buffer {"connection_id":191270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:03:34] local.INFO: IMEI packet received {"connection_id":191270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":191270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:03:39] local.INFO: TCP Data received {"connection_id":191270,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:03:39] local.INFO: Processing buffer {"connection_id":191270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:03:39] local.INFO: IMEI packet received {"connection_id":191270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":191270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:03:40] local.INFO: TCP Data received {"connection_id":191270,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:03:40] local.INFO: Processing buffer {"connection_id":191270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:03:40] local.INFO: Packet analysis {"connection_id":191270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:03:40] local.INFO: Extracted packet for processing {"connection_id":191270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:03:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299169792001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790231433000,"timestamp_ms":1790231433000,"timestamp_seconds":1790231433,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21bcf28"} 
[2026-09-24 12:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299169792001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299169792001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:03:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:03:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299169792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":191270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:03:40] local.INFO: GPS data processed {"connection_id":191270,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:03:40] local.INFO: Acknowledgment sent {"connection_id":191270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:03:45] local.INFO: TCP Data received {"connection_id":191078,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:03:45] local.INFO: Processing buffer {"connection_id":191078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:03:45] local.INFO: IMEI packet received {"connection_id":191078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":191078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:03:49] local.INFO: TCP Data received {"connection_id":191270,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:03:49] local.INFO: Processing buffer {"connection_id":191270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:03:49] local.INFO: Packet analysis {"connection_id":191270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:03:49] local.INFO: Extracted packet for processing {"connection_id":191270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:03:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299169792001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790231433000,"timestamp_ms":1790231433000,"timestamp_seconds":1790231433,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21bcf28"} 
[2026-09-24 12:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:03:49] 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-09-24 12:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299169792001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299169792001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:03:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:03:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299169792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":191270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:03:49] local.INFO: GPS data processed {"connection_id":191270,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:03:49] local.INFO: Acknowledgment sent {"connection_id":191270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:03:50] local.INFO: TCP Data received {"connection_id":191078,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:03:50] local.INFO: Processing buffer {"connection_id":191078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:03:50] local.INFO: IMEI packet received {"connection_id":191078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":191078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:03:51] local.INFO: TCP Data received {"connection_id":191078,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21ca9e8012d1b7180072597f80025012529..."} 
[2026-09-24 12:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21ca9e8012d1b7180072597f80025012529..."} 
[2026-09-24 12:03:51] local.INFO: Processing buffer {"connection_id":191078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21ca9e8012d1b7180072597f80025012529..."} 
[2026-09-24 12:03:51] local.INFO: Packet analysis {"connection_id":191078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21c"} 
[2026-09-24 12:03:51] local.INFO: Extracted packet for processing {"connection_id":191078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21c"} 
[2026-09-24 12:03:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 12:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299255808001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 12:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 12:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790231489000,"timestamp_ms":1790231489000,"timestamp_seconds":1790231489,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21ca9e8"} 
[2026-09-24 12:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 12:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299255808001,"66":12385,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299255808001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:03:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:03:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 12:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299255808001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 12:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":191078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:03:52] local.INFO: GPS data processed {"connection_id":191078,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:03:52] local.INFO: Acknowledgment sent {"connection_id":191078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:04:23] local.INFO: TCP Data received {"connection_id":191078,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21cfbf0012d1b7180072597f80025012529..."} 
[2026-09-24 12:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21cfbf0012d1b7180072597f80025012529..."} 
[2026-09-24 12:04:23] local.INFO: Processing buffer {"connection_id":191078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21cfbf0012d1b7180072597f80025012529..."} 
[2026-09-24 12:04:23] local.INFO: Packet analysis {"connection_id":191078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21c"} 
[2026-09-24 12:04:23] local.INFO: Extracted packet for processing {"connection_id":191078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21c"} 
[2026-09-24 12:04:23] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 12:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299261184001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 12:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 12:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790231510000,"timestamp_ms":1790231510000,"timestamp_seconds":1790231510,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21cfbf0"} 
[2026-09-24 12:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 12:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299261184001,"66":12319,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299261184001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:04:23] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:04:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 12:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299261184001,"power":12319,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 12:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":191078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:04:23] local.INFO: GPS data processed {"connection_id":191078,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:04:23] local.INFO: Acknowledgment sent {"connection_id":191078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:04:29] local.INFO: TCP Data received {"connection_id":193939,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:04:29] local.INFO: Processing buffer {"connection_id":193939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:04:29] local.INFO: IMEI packet received {"connection_id":193939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":193939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:04:34] local.INFO: TCP Data received {"connection_id":193939,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:04:34] local.INFO: Processing buffer {"connection_id":193939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:04:34] local.INFO: IMEI packet received {"connection_id":193939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":193939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:04:34] local.INFO: TCP Data received {"connection_id":193939,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:04:34] local.INFO: Processing buffer {"connection_id":193939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:04:34] local.INFO: Packet analysis {"connection_id":193939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:04:34] local.INFO: Extracted packet for processing {"connection_id":193939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:04:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299169792001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790231433000,"timestamp_ms":1790231433000,"timestamp_seconds":1790231433,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21bcf28"} 
[2026-09-24 12:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299169792001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299169792001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:04:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:04:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299169792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":193939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:04:34] local.INFO: GPS data processed {"connection_id":193939,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:04:34] local.INFO: Acknowledgment sent {"connection_id":193939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:04:51] local.INFO: TCP Data received {"connection_id":192656,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:04:51] local.INFO: Processing buffer {"connection_id":192656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:04:51] local.INFO: IMEI packet received {"connection_id":192656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":192656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:04:55] local.INFO: TCP Data received {"connection_id":192656,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:04:55] local.INFO: Processing buffer {"connection_id":192656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:04:55] local.INFO: IMEI packet received {"connection_id":192656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":192656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:04:56] local.INFO: TCP Data received {"connection_id":192656,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21d4df8012d1b7180072597f80025012529..."} 
[2026-09-24 12:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21d4df8012d1b7180072597f80025012529..."} 
[2026-09-24 12:04:56] local.INFO: Processing buffer {"connection_id":192656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21d4df8012d1b7180072597f80025012529..."} 
[2026-09-24 12:04:56] local.INFO: Packet analysis {"connection_id":192656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21d"} 
[2026-09-24 12:04:56] local.INFO: Extracted packet for processing {"connection_id":192656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21d"} 
[2026-09-24 12:04:56] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 12:04: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-09-24 12:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299266560001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 12:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 12:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790231531000,"timestamp_ms":1790231531000,"timestamp_seconds":1790231531,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21d4df8"} 
[2026-09-24 12:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-24 12:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:04: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-09-24 12:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299266560001,"66":12385,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299266560001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:04:56] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:04:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 12:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299266560001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 12:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":192656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:04:56] local.INFO: GPS data processed {"connection_id":192656,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:04:56] local.INFO: Acknowledgment sent {"connection_id":192656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:04:57] local.INFO: TCP Data received {"connection_id":192656,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21da000012d1b7180072597f80025012528..."} 
[2026-09-24 12:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21da000012d1b7180072597f80025012528..."} 
[2026-09-24 12:04:57] local.INFO: Processing buffer {"connection_id":192656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21da000012d1b7180072597f80025012528..."} 
[2026-09-24 12:04:57] local.INFO: Packet analysis {"connection_id":192656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21d"} 
[2026-09-24 12:04:57] local.INFO: Extracted packet for processing {"connection_id":192656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21d"} 
[2026-09-24 12:04:57] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":40,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299271936001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 12:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 12:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790231552000,"timestamp_ms":1790231552000,"timestamp_seconds":1790231552,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21da000"} 
[2026-09-24 12:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 12:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":192656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":192656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":192656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299271936001,"66":12363,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299271936001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:04:57] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:04:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 12:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299271936001,"power":12363,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 12:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":192656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:04:57] local.INFO: GPS data processed {"connection_id":192656,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:04:57] local.INFO: Acknowledgment sent {"connection_id":192656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:05:06] local.INFO: TCP Data received {"connection_id":193939,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:05:06] local.INFO: Processing buffer {"connection_id":193939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:05:06] local.INFO: Packet analysis {"connection_id":193939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:05:06] local.INFO: Extracted packet for processing {"connection_id":193939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:05:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299169792001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790231433000,"timestamp_ms":1790231433000,"timestamp_seconds":1790231433,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21bcf28"} 
[2026-09-24 12:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299169792001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299169792001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:05:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:05:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299169792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":193939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:05:06] local.INFO: GPS data processed {"connection_id":193939,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:05:06] local.INFO: Acknowledgment sent {"connection_id":193939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:05:28] local.INFO: TCP Data received {"connection_id":192656,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21df208012d1b7180072597f80025012527..."} 
[2026-09-24 12:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21df208012d1b7180072597f80025012527..."} 
[2026-09-24 12:05:28] local.INFO: Processing buffer {"connection_id":192656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21df208012d1b7180072597f80025012527..."} 
[2026-09-24 12:05:28] local.INFO: Packet analysis {"connection_id":192656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21d"} 
[2026-09-24 12:05:28] local.INFO: Extracted packet for processing {"connection_id":192656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21d"} 
[2026-09-24 12:05:28] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":39,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 12:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299277312001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 12:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 12:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790231573000,"timestamp_ms":1790231573000,"timestamp_seconds":1790231573,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21df208"} 
[2026-09-24 12:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-24 12:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:05: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-09-24 12:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299277312001,"66":12385,"216":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299277312001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:05:28] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:05:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 12:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299277312001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 12:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":192656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:05:28] local.INFO: GPS data processed {"connection_id":192656,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:05:28] local.INFO: Acknowledgment sent {"connection_id":192656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:05:28] local.INFO: TCP Data received {"connection_id":191271,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:05:28] local.INFO: Processing buffer {"connection_id":191271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:05:28] local.INFO: IMEI packet received {"connection_id":191271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":191271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:05:34] local.INFO: TCP Data received {"connection_id":191271,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:05:34] local.INFO: Processing buffer {"connection_id":191271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:05:34] local.INFO: IMEI packet received {"connection_id":191271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":191271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:05:35] local.INFO: TCP Data received {"connection_id":191271,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:05:35] local.INFO: Processing buffer {"connection_id":191271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:05:35] local.INFO: Packet analysis {"connection_id":191271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:05:35] local.INFO: Extracted packet for processing {"connection_id":191271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:05:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299169792001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790231433000,"timestamp_ms":1790231433000,"timestamp_seconds":1790231433,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21bcf28"} 
[2026-09-24 12:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:05:35] 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-09-24 12:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299169792001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299169792001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:05:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:05:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299169792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":191271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:05:35] local.INFO: GPS data processed {"connection_id":191271,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:05:35] local.INFO: Acknowledgment sent {"connection_id":191271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:05:45] local.INFO: TCP Data received {"connection_id":192657,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:05:45] local.INFO: Processing buffer {"connection_id":192657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:05:45] local.INFO: IMEI packet received {"connection_id":192657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":192657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:05:51] local.INFO: TCP Data received {"connection_id":192657,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:05:51] local.INFO: Processing buffer {"connection_id":192657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:05:51] local.INFO: IMEI packet received {"connection_id":192657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":192657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:05:52] local.INFO: TCP Data received {"connection_id":192657,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21e4410012d1b7180072597f80025012529..."} 
[2026-09-24 12:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21e4410012d1b7180072597f80025012529..."} 
[2026-09-24 12:05:52] local.INFO: Processing buffer {"connection_id":192657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21e4410012d1b7180072597f80025012529..."} 
[2026-09-24 12:05:52] local.INFO: Packet analysis {"connection_id":192657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21e"} 
[2026-09-24 12:05:52] local.INFO: Extracted packet for processing {"connection_id":192657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21e"} 
[2026-09-24 12:05:52] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 12:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299282688001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 12:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 12:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790231594000,"timestamp_ms":1790231594000,"timestamp_seconds":1790231594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21e4410"} 
[2026-09-24 12:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 12:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":192657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":192657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":192657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299282688001,"66":12341,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 12:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299282688001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:05:52] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 12:05:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 12:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299282688001,"power":12341,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 12:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":192657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:05:52] local.INFO: GPS data processed {"connection_id":192657,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:05:52] local.INFO: Acknowledgment sent {"connection_id":192657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:06:06] local.INFO: TCP Data received {"connection_id":191271,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:06:06] local.INFO: Processing buffer {"connection_id":191271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21bcf28012d34c14006aa4940000900f52d..."} 
[2026-09-24 12:06:06] local.INFO: Packet analysis {"connection_id":191271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:06:06] local.INFO: Extracted packet for processing {"connection_id":191271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21b"} 
[2026-09-24 12:06:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299169792001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790231433000,"timestamp_ms":1790231433000,"timestamp_seconds":1790231433,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21bcf28"} 
[2026-09-24 12:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299169792001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299169792001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:06:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:06:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299169792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":191271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:06:06] local.INFO: GPS data processed {"connection_id":191271,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:06:06] local.INFO: Acknowledgment sent {"connection_id":191271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:06:07] local.INFO: TCP Data received {"connection_id":191272,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191272,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:06:07] local.INFO: Processing buffer {"connection_id":191272,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:06:07] local.INFO: IMEI packet received {"connection_id":191272,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 12:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":191272,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:06:23] local.INFO: TCP Data received {"connection_id":192657,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21e9618012d1b7180072597f80025012529..."} 
[2026-09-24 12:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21e9618012d1b7180072597f80025012529..."} 
[2026-09-24 12:06:23] local.INFO: Processing buffer {"connection_id":192657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21e9618012d1b7180072597f80025012529..."} 
[2026-09-24 12:06:23] local.INFO: Packet analysis {"connection_id":192657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21e"} 
[2026-09-24 12:06:23] local.INFO: Extracted packet for processing {"connection_id":192657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21e"} 
[2026-09-24 12:06:23] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 12:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299288064001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 12:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 12:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790231615000,"timestamp_ms":1790231615000,"timestamp_seconds":1790231615,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21e9618"} 
[2026-09-24 12:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 12:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299288064001,"66":12385,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 12:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299288064001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:06:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 12:06:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 12:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299288064001,"power":12385,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 12:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":192657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:06:23] local.INFO: GPS data processed {"connection_id":192657,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:06:23] local.INFO: Acknowledgment sent {"connection_id":192657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:06:34] local.INFO: TCP Data received {"connection_id":191080,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:06:34] local.INFO: Processing buffer {"connection_id":191080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:06:34] local.INFO: IMEI packet received {"connection_id":191080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":191080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:06:39] local.INFO: TCP Data received {"connection_id":191080,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:06:39] local.INFO: Processing buffer {"connection_id":191080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:06:39] local.INFO: IMEI packet received {"connection_id":191080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":191080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:06:40] local.INFO: TCP Data received {"connection_id":191080,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:06:40] local.INFO: Processing buffer {"connection_id":191080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:06:40] local.INFO: Packet analysis {"connection_id":191080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d220"} 
[2026-09-24 12:06:40] local.INFO: Extracted packet for processing {"connection_id":191080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d220"} 
[2026-09-24 12:06:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299246848001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790231734000,"timestamp_ms":1790231734000,"timestamp_seconds":1790231734,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22066f0"} 
[2026-09-24 12:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299246848001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299246848001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:06:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:06:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299246848001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":191080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:06:40] local.INFO: GPS data processed {"connection_id":191080,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:06:40] local.INFO: Acknowledgment sent {"connection_id":191080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:06:45] local.INFO: TCP Data received {"connection_id":193940,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:06:45] local.INFO: Processing buffer {"connection_id":193940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:06:45] local.INFO: IMEI packet received {"connection_id":193940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":193940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:06:47] local.INFO: TCP Data received {"connection_id":191080,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:06:47] local.INFO: Processing buffer {"connection_id":191080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:06:47] local.INFO: Packet analysis {"connection_id":191080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d220"} 
[2026-09-24 12:06:47] local.INFO: Extracted packet for processing {"connection_id":191080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d220"} 
[2026-09-24 12:06:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299246848001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790231734000,"timestamp_ms":1790231734000,"timestamp_seconds":1790231734,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22066f0"} 
[2026-09-24 12:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:06:47] 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-09-24 12:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299246848001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299246848001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:06:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:06:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299246848001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":191080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:06:47] local.INFO: GPS data processed {"connection_id":191080,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:06:47] local.INFO: Acknowledgment sent {"connection_id":191080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:06:51] local.INFO: TCP Data received {"connection_id":193940,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:06:51] local.INFO: Processing buffer {"connection_id":193940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:06:51] local.INFO: IMEI packet received {"connection_id":193940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":193940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:06:52] local.INFO: TCP Data received {"connection_id":193940,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21ee820012d1b7180072597f8002501252b..."} 
[2026-09-24 12:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21ee820012d1b7180072597f8002501252b..."} 
[2026-09-24 12:06:52] local.INFO: Processing buffer {"connection_id":193940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21ee820012d1b7180072597f8002501252b..."} 
[2026-09-24 12:06:52] local.INFO: Packet analysis {"connection_id":193940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21e"} 
[2026-09-24 12:06:52] local.INFO: Extracted packet for processing {"connection_id":193940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21e"} 
[2026-09-24 12:06:52] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 12:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299293440001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 12:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 12:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790231636000,"timestamp_ms":1790231636000,"timestamp_seconds":1790231636,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21ee820"} 
[2026-09-24 12:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 12:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":193940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":193940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":193940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299293440001,"66":12385,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 12:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299293440001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:06:52] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 12:06:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 12:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299293440001,"power":12385,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 12:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":193940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:06:52] local.INFO: GPS data processed {"connection_id":193940,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:06:52] local.INFO: Acknowledgment sent {"connection_id":193940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:07:23] local.INFO: TCP Data received {"connection_id":193940,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21f3a28012d1b7180072597f8002501252b..."} 
[2026-09-24 12:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21f3a28012d1b7180072597f8002501252b..."} 
[2026-09-24 12:07:23] local.INFO: Processing buffer {"connection_id":193940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21f3a28012d1b7180072597f8002501252b..."} 
[2026-09-24 12:07:23] local.INFO: Packet analysis {"connection_id":193940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21f"} 
[2026-09-24 12:07:23] local.INFO: Extracted packet for processing {"connection_id":193940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21f"} 
[2026-09-24 12:07:23] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 12:07: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-09-24 12:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299298816001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 12:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 12:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790231657000,"timestamp_ms":1790231657000,"timestamp_seconds":1790231657,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21f3a28"} 
[2026-09-24 12:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 12:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:07: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-09-24 12:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":193940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":193940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":193940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299298816001,"66":12374,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 12:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299298816001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:07:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 12:07:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 12:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299298816001,"power":12374,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 12:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":193940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:07:23] local.INFO: GPS data processed {"connection_id":193940,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:07:23] local.INFO: Acknowledgment sent {"connection_id":193940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:07:29] local.INFO: TCP Data received {"connection_id":191274,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:07:29] local.INFO: Processing buffer {"connection_id":191274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:07:29] local.INFO: IMEI packet received {"connection_id":191274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":191274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:07:34] local.INFO: TCP Data received {"connection_id":191274,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:07:34] local.INFO: Processing buffer {"connection_id":191274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:07:34] local.INFO: IMEI packet received {"connection_id":191274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":191274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:07:35] local.INFO: TCP Data received {"connection_id":191274,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:07:35] local.INFO: Processing buffer {"connection_id":191274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:07:35] local.INFO: Packet analysis {"connection_id":191274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d220"} 
[2026-09-24 12:07:35] local.INFO: Extracted packet for processing {"connection_id":191274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d220"} 
[2026-09-24 12:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299246848001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790231734000,"timestamp_ms":1790231734000,"timestamp_seconds":1790231734,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22066f0"} 
[2026-09-24 12:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:07:35] 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-09-24 12:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299246848001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299246848001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:07:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:07:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299246848001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":191274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:07:35] local.INFO: GPS data processed {"connection_id":191274,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:07:35] local.INFO: Acknowledgment sent {"connection_id":191274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:07:43] local.INFO: TCP Data received {"connection_id":191275,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:07:43] local.INFO: Processing buffer {"connection_id":191275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:07:43] local.INFO: IMEI packet received {"connection_id":191275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":191275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:07:47] local.INFO: TCP Data received {"connection_id":191275,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:07:47] local.INFO: Processing buffer {"connection_id":191275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:07:47] local.INFO: IMEI packet received {"connection_id":191275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":191275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:07:55] local.INFO: TCP Data received {"connection_id":191275,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:07:55] local.INFO: Processing buffer {"connection_id":191275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:07:55] local.INFO: IMEI packet received {"connection_id":191275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":191275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:07:57] local.INFO: TCP Data received {"connection_id":191275,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21f8c30012d1b7180072597f8002501252a..."} 
[2026-09-24 12:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21f8c30012d1b7180072597f8002501252a..."} 
[2026-09-24 12:07:57] local.INFO: Processing buffer {"connection_id":191275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21f8c30012d1b7180072597f8002501252a..."} 
[2026-09-24 12:07:57] local.INFO: Packet analysis {"connection_id":191275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21f"} 
[2026-09-24 12:07:57] local.INFO: Extracted packet for processing {"connection_id":191275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21f"} 
[2026-09-24 12:07:57] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 12:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299304192001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 12:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 12:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790231678000,"timestamp_ms":1790231678000,"timestamp_seconds":1790231678,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21f8c30"} 
[2026-09-24 12:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-24 12:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":191275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":191275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":191275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299304192001,"66":12385,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 12:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299304192001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:07:57] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 12:07:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 12:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299304192001,"power":12385,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 12:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":191275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:07:57] local.INFO: GPS data processed {"connection_id":191275,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:07:57] local.INFO: Acknowledgment sent {"connection_id":191275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:08:06] local.INFO: TCP Data received {"connection_id":191274,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:08:06] local.INFO: Processing buffer {"connection_id":191274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:08:06] local.INFO: Packet analysis {"connection_id":191274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d220"} 
[2026-09-24 12:08:06] local.INFO: Extracted packet for processing {"connection_id":191274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d220"} 
[2026-09-24 12:08:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299246848001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790231734000,"timestamp_ms":1790231734000,"timestamp_seconds":1790231734,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22066f0"} 
[2026-09-24 12:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299246848001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299246848001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:08:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:08:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299246848001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":191274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:08:06] local.INFO: GPS data processed {"connection_id":191274,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:08:06] local.INFO: Acknowledgment sent {"connection_id":191274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:08:28] local.INFO: TCP Data received {"connection_id":191275,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d21fde38012d1b7180072597f8002501252b..."} 
[2026-09-24 12:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d21fde38012d1b7180072597f8002501252b..."} 
[2026-09-24 12:08:28] local.INFO: Processing buffer {"connection_id":191275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d21fde38012d1b7180072597f8002501252b..."} 
[2026-09-24 12:08:28] local.INFO: Packet analysis {"connection_id":191275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d21f"} 
[2026-09-24 12:08:28] local.INFO: Extracted packet for processing {"connection_id":191275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d21f"} 
[2026-09-24 12:08:28] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 12:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299309568001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 12:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 12:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790231699000,"timestamp_ms":1790231699000,"timestamp_seconds":1790231699,"priority":1,"record_length":96,"hex_timestamp":"000001a0d21fde38"} 
[2026-09-24 12:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 12:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":191275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":191275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":191275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299309568001,"66":12385,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 12:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299309568001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:08:28] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 12:08:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 12:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299309568001,"power":12385,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 12:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":191275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:08:28] local.INFO: GPS data processed {"connection_id":191275,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:08:28] local.INFO: Acknowledgment sent {"connection_id":191275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:08:28] local.INFO: TCP Data received {"connection_id":192659,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:08:28] local.INFO: Processing buffer {"connection_id":192659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:08:28] local.INFO: IMEI packet received {"connection_id":192659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":192659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:08:34] local.INFO: TCP Data received {"connection_id":192659,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:08:34] local.INFO: Processing buffer {"connection_id":192659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:08:34] local.INFO: IMEI packet received {"connection_id":192659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":192659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:08:36] local.INFO: TCP Data received {"connection_id":192659,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:08:36] local.INFO: Processing buffer {"connection_id":192659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:08:36] local.INFO: Packet analysis {"connection_id":192659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d220"} 
[2026-09-24 12:08:36] local.INFO: Extracted packet for processing {"connection_id":192659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d220"} 
[2026-09-24 12:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299246848001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790231734000,"timestamp_ms":1790231734000,"timestamp_seconds":1790231734,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22066f0"} 
[2026-09-24 12:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299246848001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299246848001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:08:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299246848001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":192659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:08:36] local.INFO: GPS data processed {"connection_id":192659,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:08:36] local.INFO: Acknowledgment sent {"connection_id":192659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:08:45] local.INFO: TCP Data received {"connection_id":191081,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:08:45] local.INFO: Processing buffer {"connection_id":191081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:08:45] local.INFO: IMEI packet received {"connection_id":191081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":191081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:08:46] local.INFO: TCP Data received {"connection_id":191081,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:08:46] local.INFO: Processing buffer {"connection_id":191081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:08:46] local.INFO: IMEI packet received {"connection_id":191081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":191081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:08:50] local.INFO: TCP Data received {"connection_id":191081,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:08:50] local.INFO: Processing buffer {"connection_id":191081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:08:50] local.INFO: IMEI packet received {"connection_id":191081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":191081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:08:51] local.INFO: TCP Data received {"connection_id":191081,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2203040012d1b7180072597f8002501252b..."} 
[2026-09-24 12:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2203040012d1b7180072597f8002501252b..."} 
[2026-09-24 12:08:51] local.INFO: Processing buffer {"connection_id":191081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2203040012d1b7180072597f8002501252b..."} 
[2026-09-24 12:08:51] local.INFO: Packet analysis {"connection_id":191081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d220"} 
[2026-09-24 12:08:51] local.INFO: Extracted packet for processing {"connection_id":191081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d220"} 
[2026-09-24 12:08:51] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119904248,"longitude_deg":75.6773248,"latitude_deg":11.9904248,"altitude":37,"angle":293,"satellites":43,"speed":0,"hex_longitude":"2d1b7180","hex_latitude":"072597f8","is_valid_coordinates":true} 
[2026-09-24 12:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299314944001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855230378999808,"note":"Value kept but may cause issues"} 
[2026-09-24 12:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479576201216,"note":"Value kept but may cause issues"} 
[2026-09-24 12:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790231720000,"timestamp_ms":1790231720000,"timestamp_seconds":1790231720,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2203040"} 
[2026-09-24 12:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 12:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299314944001,"66":12385,"217":206,"83":42752,"24":0,"16":22855230378999808,"45":1977502479576201216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-09-24 12:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299314944001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:08:51] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 12:08:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855230378999808,"km_value":22855230378999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479576201216,"description":"Unknown IO ID 45"} 
[2026-09-24 12:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299314944001,"power":12385,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977502479576201216}} 
[2026-09-24 12:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":191081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:08:51] local.INFO: GPS data processed {"connection_id":191081,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:08:51] local.INFO: Acknowledgment sent {"connection_id":191081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:09:08] local.INFO: TCP Data received {"connection_id":192659,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:09:08] local.INFO: Processing buffer {"connection_id":192659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:09:08] local.INFO: Packet analysis {"connection_id":192659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d220"} 
[2026-09-24 12:09:08] local.INFO: Extracted packet for processing {"connection_id":192659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d220"} 
[2026-09-24 12:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299246848001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790231734000,"timestamp_ms":1790231734000,"timestamp_seconds":1790231734,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22066f0"} 
[2026-09-24 12:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:09:08] 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-09-24 12:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299246848001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299246848001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:09:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299246848001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":192659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:09:08] local.INFO: GPS data processed {"connection_id":192659,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:09:08] local.INFO: Acknowledgment sent {"connection_id":192659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:09:22] local.INFO: TCP Data received {"connection_id":191081,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2231a58012d1b7280072596c0002600622c..."} 
[2026-09-24 12:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2231a58012d1b7280072596c0002600622c..."} 
[2026-09-24 12:09:22] local.INFO: Processing buffer {"connection_id":191081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2231a58012d1b7280072596c0002600622c..."} 
[2026-09-24 12:09:22] local.INFO: Packet analysis {"connection_id":191081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d223"} 
[2026-09-24 12:09:22] local.INFO: Extracted packet for processing {"connection_id":191081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d223"} 
[2026-09-24 12:09:22] local.INFO: GPS Element Parsed {"raw_longitude":756773504,"raw_latitude":119903936,"longitude_deg":75.6773504,"latitude_deg":11.9903936,"altitude":38,"angle":98,"satellites":44,"speed":3,"hex_longitude":"2d1b7280","hex_latitude":"072596c0","is_valid_coordinates":true} 
[2026-09-24 12:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299368960001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855260443770880,"note":"Value kept but may cause issues"} 
[2026-09-24 12:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977713585808654336,"note":"Value kept but may cause issues"} 
[2026-09-24 12:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790231911000,"timestamp_ms":1790231911000,"timestamp_seconds":1790231911,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2231a58"} 
[2026-09-24 12:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-24 12:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299368960001,"66":14135,"216":206,"83":42752,"24":3,"16":22855260443770880,"45":1977713585808654336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299368960001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:09:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:09:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855260443770880,"km_value":22855260443770.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977713585808654336,"description":"Unknown IO ID 45"} 
[2026-09-24 12:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299368960001,"power":14135,"unknown_216":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1977713585808654336}} 
[2026-09-24 12:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":191081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:09:22] local.INFO: GPS data processed {"connection_id":191081,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:09:22] local.INFO: Acknowledgment sent {"connection_id":191081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:09:28] local.INFO: TCP Data received {"connection_id":191276,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:09:28] local.INFO: Processing buffer {"connection_id":191276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:09:28] local.INFO: IMEI packet received {"connection_id":191276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":191276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:09:34] local.INFO: TCP Data received {"connection_id":191276,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:09:34] local.INFO: Processing buffer {"connection_id":191276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:09:34] local.INFO: IMEI packet received {"connection_id":191276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":191276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:09:35] local.INFO: TCP Data received {"connection_id":191276,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:09:35] local.INFO: Processing buffer {"connection_id":191276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:09:35] local.INFO: Packet analysis {"connection_id":191276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d220"} 
[2026-09-24 12:09:35] local.INFO: Extracted packet for processing {"connection_id":191276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d220"} 
[2026-09-24 12:09:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299246848001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790231734000,"timestamp_ms":1790231734000,"timestamp_seconds":1790231734,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22066f0"} 
[2026-09-24 12:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:09:35] 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-09-24 12:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299246848001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299246848001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:09:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:09:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299246848001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":191276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:09:35] local.INFO: GPS data processed {"connection_id":191276,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:09:35] local.INFO: Acknowledgment sent {"connection_id":191276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:09:45] local.INFO: TCP Data received {"connection_id":192660,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:09:45] local.INFO: Processing buffer {"connection_id":192660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:09:45] local.INFO: IMEI packet received {"connection_id":192660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":192660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:09:50] local.INFO: TCP Data received {"connection_id":192660,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:09:50] local.INFO: Processing buffer {"connection_id":192660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:09:50] local.INFO: IMEI packet received {"connection_id":192660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":192660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:09:51] local.INFO: TCP Data received {"connection_id":192660,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22331c8012d1b754007259648002600762b..."} 
[2026-09-24 12:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22331c8012d1b754007259648002600762b..."} 
[2026-09-24 12:09:51] local.INFO: Processing buffer {"connection_id":192660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22331c8012d1b754007259648002600762b..."} 
[2026-09-24 12:09:51] local.INFO: Packet analysis {"connection_id":192660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d223"} 
[2026-09-24 12:09:51] local.INFO: Extracted packet for processing {"connection_id":192660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d223"} 
[2026-09-24 12:09:51] local.INFO: GPS Element Parsed {"raw_longitude":756774208,"raw_latitude":119903816,"longitude_deg":75.6774208,"latitude_deg":11.9903816,"altitude":38,"angle":118,"satellites":43,"speed":6,"hex_longitude":"2d1b7540","hex_latitude":"07259648","is_valid_coordinates":true} 
[2026-09-24 12:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299369216001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855294803509248,"note":"Value kept but may cause issues"} 
[2026-09-24 12:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977783954552832000,"note":"Value kept but may cause issues"} 
[2026-09-24 12:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790231917000,"timestamp_ms":1790231917000,"timestamp_seconds":1790231917,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22331c8"} 
[2026-09-24 12:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-24 12:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299369216001,"66":13993,"216":206,"83":42752,"24":6,"16":22855294803509248,"45":1977783954552832000},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299369216001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:09:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:09:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855294803509248,"km_value":22855294803509.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977783954552832000,"description":"Unknown IO ID 45"} 
[2026-09-24 12:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299369216001,"power":13993,"unknown_216":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1977783954552832000}} 
[2026-09-24 12:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":192660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:09:51] local.INFO: GPS data processed {"connection_id":192660,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:09:51] local.INFO: Acknowledgment sent {"connection_id":192660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:10:06] local.INFO: TCP Data received {"connection_id":191276,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:10:06] local.INFO: Processing buffer {"connection_id":191276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:10:06] local.INFO: Packet analysis {"connection_id":191276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d220"} 
[2026-09-24 12:10:06] local.INFO: Extracted packet for processing {"connection_id":191276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d220"} 
[2026-09-24 12:10:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299246848001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790231734000,"timestamp_ms":1790231734000,"timestamp_seconds":1790231734,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22066f0"} 
[2026-09-24 12:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299246848001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299246848001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:10:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:10:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299246848001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":191276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:10:06] local.INFO: GPS data processed {"connection_id":191276,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:10:06] local.INFO: Acknowledgment sent {"connection_id":191276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:10:22] local.INFO: TCP Data received {"connection_id":192660,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2233998012d1b764007259588002500892b..."} 
[2026-09-24 12:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2233998012d1b764007259588002500892b..."} 
[2026-09-24 12:10:22] local.INFO: Processing buffer {"connection_id":192660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2233998012d1b764007259588002500892b..."} 
[2026-09-24 12:10:22] local.INFO: Packet analysis {"connection_id":192660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d223"} 
[2026-09-24 12:10:22] local.INFO: Extracted packet for processing {"connection_id":192660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d223"} 
[2026-09-24 12:10:22] local.INFO: GPS Element Parsed {"raw_longitude":756774464,"raw_latitude":119903624,"longitude_deg":75.6774464,"latitude_deg":11.9903624,"altitude":37,"angle":137,"satellites":43,"speed":7,"hex_longitude":"2d1b7640","hex_latitude":"07259588","is_valid_coordinates":true} 
[2026-09-24 12:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299370752001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855307688411136,"note":"Value kept but may cause issues"} 
[2026-09-24 12:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978558010738755584,"note":"Value kept but may cause issues"} 
[2026-09-24 12:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790231919000,"timestamp_ms":1790231919000,"timestamp_seconds":1790231919,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2233998"} 
[2026-09-24 12:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-24 12:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299370752001,"66":14048,"216":206,"83":42752,"24":7,"16":22855307688411136,"45":1978558010738755584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299370752001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:10:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:10:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855307688411136,"km_value":22855307688411.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978558010738755584,"description":"Unknown IO ID 45"} 
[2026-09-24 12:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299370752001,"power":14048,"unknown_216":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1978558010738755584}} 
[2026-09-24 12:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":192660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:10:22] local.INFO: GPS data processed {"connection_id":192660,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:10:22] local.INFO: Acknowledgment sent {"connection_id":192660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:10:28] local.INFO: TCP Data received {"connection_id":191082,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:10:28] local.INFO: Processing buffer {"connection_id":191082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:10:28] local.INFO: IMEI packet received {"connection_id":191082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":191082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:10:34] local.INFO: TCP Data received {"connection_id":191082,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:10:34] local.INFO: Processing buffer {"connection_id":191082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:10:34] local.INFO: IMEI packet received {"connection_id":191082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":191082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:10:35] local.INFO: TCP Data received {"connection_id":191082,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:10:35] local.INFO: Processing buffer {"connection_id":191082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:10:35] local.INFO: Packet analysis {"connection_id":191082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d220"} 
[2026-09-24 12:10:35] local.INFO: Extracted packet for processing {"connection_id":191082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d220"} 
[2026-09-24 12:10:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299246848001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790231734000,"timestamp_ms":1790231734000,"timestamp_seconds":1790231734,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22066f0"} 
[2026-09-24 12:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:10:35] 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-09-24 12: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-09-24 12:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299246848001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299246848001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:10:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:10:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299246848001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":191082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:10:35] local.INFO: GPS data processed {"connection_id":191082,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:10:35] local.INFO: Acknowledgment sent {"connection_id":191082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:10:45] local.INFO: TCP Data received {"connection_id":191277,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:10:45] local.INFO: Processing buffer {"connection_id":191277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:10:45] local.INFO: IMEI packet received {"connection_id":191277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":191277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:10:50] local.INFO: TCP Data received {"connection_id":191277,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:10:50] local.INFO: Processing buffer {"connection_id":191277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:10:50] local.INFO: IMEI packet received {"connection_id":191277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":191277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:10:51] local.INFO: TCP Data received {"connection_id":191277,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2234d20012d1b77c007259360002500952a..."} 
[2026-09-24 12:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2234d20012d1b77c007259360002500952a..."} 
[2026-09-24 12:10:51] local.INFO: Processing buffer {"connection_id":191277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2234d20012d1b77c007259360002500952a..."} 
[2026-09-24 12:10:51] local.INFO: Packet analysis {"connection_id":191277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d223"} 
[2026-09-24 12:10:51] local.INFO: Extracted packet for processing {"connection_id":191277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d223"} 
[2026-09-24 12:10:51] local.INFO: GPS Element Parsed {"raw_longitude":756774848,"raw_latitude":119903072,"longitude_deg":75.6774848,"latitude_deg":11.9903072,"altitude":37,"angle":149,"satellites":42,"speed":4,"hex_longitude":"2d1b77c0","hex_latitude":"07259360","is_valid_coordinates":true} 
[2026-09-24 12:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299371264001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855342048149504,"note":"Value kept but may cause issues"} 
[2026-09-24 12:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978839485715417088,"note":"Value kept but may cause issues"} 
[2026-09-24 12:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790231924000,"timestamp_ms":1790231924000,"timestamp_seconds":1790231924,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2234d20"} 
[2026-09-24 12:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-24 12:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299371264001,"66":14102,"216":206,"83":42752,"24":4,"16":22855342048149504,"45":1978839485715417088},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299371264001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:10:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:10:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855342048149504,"km_value":22855342048149.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978839485715417088,"description":"Unknown IO ID 45"} 
[2026-09-24 12:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299371264001,"power":14102,"unknown_216":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1978839485715417088}} 
[2026-09-24 12:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":191277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:10:51] local.INFO: GPS data processed {"connection_id":191277,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:10:51] local.INFO: Acknowledgment sent {"connection_id":191277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:11:07] local.INFO: TCP Data received {"connection_id":191082,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:11:07] local.INFO: Processing buffer {"connection_id":191082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22066f0012d34c14006aa4940000900f52f..."} 
[2026-09-24 12:11:07] local.INFO: Packet analysis {"connection_id":191082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d220"} 
[2026-09-24 12:11:07] local.INFO: Extracted packet for processing {"connection_id":191082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d220"} 
[2026-09-24 12:11:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299246848001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790231734000,"timestamp_ms":1790231734000,"timestamp_seconds":1790231734,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22066f0"} 
[2026-09-24 12:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299246848001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299246848001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:11:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:11:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299246848001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":191082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:11:07] local.INFO: GPS data processed {"connection_id":191082,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:11:07] local.INFO: Acknowledgment sent {"connection_id":191082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:11:22] local.INFO: TCP Data received {"connection_id":191277,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d224cbf0012d1b708007258290002f002e26..."} 
[2026-09-24 12:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d224cbf0012d1b708007258290002f002e26..."} 
[2026-09-24 12:11:22] local.INFO: Processing buffer {"connection_id":191277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d224cbf0012d1b708007258290002f002e26..."} 
[2026-09-24 12:11:22] local.INFO: Packet analysis {"connection_id":191277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:11:22] local.INFO: Extracted packet for processing {"connection_id":191277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:11:22] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":119898768,"longitude_deg":75.6772992,"latitude_deg":11.9898768,"altitude":47,"angle":46,"satellites":38,"speed":7,"hex_longitude":"2d1b7080","hex_latitude":"07258290","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299397376001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855659875729408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853881344,"note":"Value kept but may cause issues"} 
[2026-09-24 12:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790232022000,"timestamp_ms":1790232022000,"timestamp_seconds":1790232022,"priority":1,"record_length":96,"hex_timestamp":"000001a0d224cbf0"} 
[2026-09-24 12:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-24 12:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299397376001,"66":13102,"216":206,"83":42752,"24":7,"16":22855659875729408,"45":1977150635853881344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299397376001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:11:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:11:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855659875729408,"km_value":22855659875729.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853881344,"description":"Unknown IO ID 45"} 
[2026-09-24 12:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299397376001,"power":13102,"unknown_216":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1977150635853881344}} 
[2026-09-24 12:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":191277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:11:22] local.INFO: GPS data processed {"connection_id":191277,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:11:22] local.INFO: Acknowledgment sent {"connection_id":191277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:11:34] local.INFO: TCP Data received {"connection_id":193942,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:11:34] local.INFO: Processing buffer {"connection_id":193942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:11:34] local.INFO: IMEI packet received {"connection_id":193942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":193942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:11:39] local.INFO: TCP Data received {"connection_id":193942,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:11:39] local.INFO: Processing buffer {"connection_id":193942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:11:39] local.INFO: IMEI packet received {"connection_id":193942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":193942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:11:39] local.INFO: TCP Data received {"connection_id":193942,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:11:39] local.INFO: Processing buffer {"connection_id":193942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:11:39] local.INFO: Packet analysis {"connection_id":193942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:11:39] local.INFO: Extracted packet for processing {"connection_id":193942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:11:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299323904001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790232035000,"timestamp_ms":1790232035000,"timestamp_seconds":1790232035,"priority":1,"record_length":96,"hex_timestamp":"000001a0d224feb8"} 
[2026-09-24 12:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:11:39] 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-09-24 12:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299323904001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299323904001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:11:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:11:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299323904001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":193942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:11:39] local.INFO: GPS data processed {"connection_id":193942,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:11:39] local.INFO: Acknowledgment sent {"connection_id":193942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:11:47] local.INFO: TCP Data received {"connection_id":191278,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:11:47] local.INFO: Processing buffer {"connection_id":191278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:11:47] local.INFO: IMEI packet received {"connection_id":191278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":191278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:11:50] local.INFO: TCP Data received {"connection_id":191278,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:11:50] local.INFO: Processing buffer {"connection_id":191278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:11:50] local.INFO: IMEI packet received {"connection_id":191278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":191278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:11:57] local.INFO: TCP Data received {"connection_id":191278,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:11:57] local.INFO: Processing buffer {"connection_id":191278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:11:57] local.INFO: IMEI packet received {"connection_id":191278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":191278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:11:57] local.INFO: TCP Data received {"connection_id":191278,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d224d3c0012d1b718007258380002f001f29..."} 
[2026-09-24 12:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d224d3c0012d1b718007258380002f001f29..."} 
[2026-09-24 12:11:57] local.INFO: Processing buffer {"connection_id":191278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d224d3c0012d1b718007258380002f001f29..."} 
[2026-09-24 12:11:57] local.INFO: Packet analysis {"connection_id":191278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:11:57] local.INFO: Extracted packet for processing {"connection_id":191278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:11:57] local.INFO: GPS Element Parsed {"raw_longitude":756773248,"raw_latitude":119899008,"longitude_deg":75.6773248,"latitude_deg":11.9899008,"altitude":47,"angle":31,"satellites":41,"speed":6,"hex_longitude":"2d1b7180","hex_latitude":"07258380","is_valid_coordinates":true} 
[2026-09-24 12:11: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-09-24 12:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299397632001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855677055598592,"note":"Value kept but may cause issues"} 
[2026-09-24 12:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004598087680,"note":"Value kept but may cause issues"} 
[2026-09-24 12:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790232024000,"timestamp_ms":1790232024000,"timestamp_seconds":1790232024,"priority":1,"record_length":96,"hex_timestamp":"000001a0d224d3c0"} 
[2026-09-24 12:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-24 12:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:11: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-09-24 12:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":191278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":191278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":191278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299397632001,"66":13156,"216":206,"83":42752,"24":6,"16":22855677055598592,"45":1977221004598087680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299397632001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:11:57] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:11:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855677055598592,"km_value":22855677055598.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004598087680,"description":"Unknown IO ID 45"} 
[2026-09-24 12:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299397632001,"power":13156,"unknown_216":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1977221004598087680}} 
[2026-09-24 12:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":191278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:11:58] local.INFO: GPS data processed {"connection_id":191278,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:11:58] local.INFO: Acknowledgment sent {"connection_id":191278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:12:11] local.INFO: TCP Data received {"connection_id":193942,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:12:11] local.INFO: Processing buffer {"connection_id":193942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:12:11] local.INFO: Packet analysis {"connection_id":193942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:12:11] local.INFO: Extracted packet for processing {"connection_id":193942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:12:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299323904001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790232035000,"timestamp_ms":1790232035000,"timestamp_seconds":1790232035,"priority":1,"record_length":96,"hex_timestamp":"000001a0d224feb8"} 
[2026-09-24 12:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299323904001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299323904001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:12:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:12:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299323904001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":193942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:12:11] local.INFO: GPS data processed {"connection_id":193942,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:12:11] local.INFO: Acknowledgment sent {"connection_id":193942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:12:12] local.INFO: TCP Data received {"connection_id":191083,"ip":"117.225.137.65","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:12:12] local.INFO: Processing buffer {"connection_id":191083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:12:12] local.INFO: IMEI packet received {"connection_id":191083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 12:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":191083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:12:17] local.INFO: TCP Data received {"connection_id":191083,"ip":"117.225.137.65","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:12:17] local.INFO: Processing buffer {"connection_id":191083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:12:17] local.INFO: IMEI packet received {"connection_id":191083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 12:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":191083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:12:18] local.INFO: TCP Data received {"connection_id":191083,"ip":"117.225.137.65","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2251628012c7a5e8008456ed0002200662d..."} 
[2026-09-24 12:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2251628012c7a5e8008456ed0002200662d..."} 
[2026-09-24 12:12:18] local.INFO: Processing buffer {"connection_id":191083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2251628012c7a5e8008456ed0002200662d..."} 
[2026-09-24 12:12:18] local.INFO: Packet analysis {"connection_id":191083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d225"} 
[2026-09-24 12:12:18] local.INFO: Extracted packet for processing {"connection_id":191083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d225"} 
[2026-09-24 12:12:18] local.INFO: GPS Element Parsed {"raw_longitude":746217088,"raw_latitude":138768080,"longitude_deg":74.6217088,"latitude_deg":13.876808,"altitude":34,"angle":102,"satellites":45,"speed":56,"hex_longitude":"2c7a5e80","hex_latitude":"08456ed0","is_valid_coordinates":true} 
[2026-09-24 12:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299399168001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 12:12:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8803833619596488704,"note":"Value kept but may cause issues"} 
[2026-09-24 12:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790232041000,"timestamp_ms":1790232041000,"timestamp_seconds":1790232041,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2251628"} 
[2026-09-24 12:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:12: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-09-24 12:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 12:12: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-09-24 12:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 12:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 12:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 12:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 12:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299399168001,"66":28452,"139":206,"9":53760,"24":56,"16":3605341577150464,"44":8803833619596488704},"client_ip":"117.225.137.65","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,9,24,16,44]} 
[2026-09-24 12:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 12:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 12:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299399168001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:12:18] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-24 12:12:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 12:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:12:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":8803833619596488704,"description":"Unknown IO ID 44"} 
[2026-09-24 12:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299399168001,"power":28452,"unknown_139":206,"unknown_9":53760,"ignition":56,"odometer":null,"unknown_44":8803833619596488704}} 
[2026-09-24 12:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":191083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889516,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:12:18] local.INFO: GPS data processed {"connection_id":191083,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:12:18] local.INFO: Acknowledgment sent {"connection_id":191083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:12:25] local.INFO: TCP Data received {"connection_id":191083,"ip":"117.225.137.65","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22554a8012c7ac28008456b900018005a2e..."} 
[2026-09-24 12:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22554a8012c7ac28008456b900018005a2e..."} 
[2026-09-24 12:12:25] local.INFO: Processing buffer {"connection_id":191083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22554a8012c7ac28008456b900018005a2e..."} 
[2026-09-24 12:12:25] local.INFO: Packet analysis {"connection_id":191083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d225"} 
[2026-09-24 12:12:25] local.INFO: Extracted packet for processing {"connection_id":191083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d225"} 
[2026-09-24 12:12:25] local.INFO: GPS Element Parsed {"raw_longitude":746242688,"raw_latitude":138767248,"longitude_deg":74.6242688,"latitude_deg":13.8767248,"altitude":24,"angle":90,"satellites":46,"speed":64,"hex_longitude":"2c7ac280","hex_latitude":"08456b90","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299402496001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 12:12:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8817625893450993664,"note":"Value kept but may cause issues"} 
[2026-09-24 12:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790232057000,"timestamp_ms":1790232057000,"timestamp_seconds":1790232057,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22554a8"} 
[2026-09-24 12:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12: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":36,"data_length":795,"current_offset":136} 
[2026-09-24 12:12:25] 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-09-24 12: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-09-24 12:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":191083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":191083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 12:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":191083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 12:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 12:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 12:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299402496001,"66":27974,"137":206,"9":53760,"24":64,"16":3605341577150464,"44":8817625893450993664},"client_ip":"117.225.137.65","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,9,24,16,44]} 
[2026-09-24 12:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 12:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 12:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299402496001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:12:25] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-24 12:12:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 12:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:12:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":8817625893450993664,"description":"Unknown IO ID 44"} 
[2026-09-24 12:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299402496001,"power":27974,"unknown_137":206,"unknown_9":53760,"ignition":64,"odometer":null,"unknown_44":8817625893450993664}} 
[2026-09-24 12:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":191083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889517,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:12:26] local.INFO: GPS data processed {"connection_id":191083,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:12:26] local.INFO: Acknowledgment sent {"connection_id":191083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:12:28] local.INFO: TCP Data received {"connection_id":191084,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:12:28] local.INFO: Processing buffer {"connection_id":191084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:12:28] local.INFO: IMEI packet received {"connection_id":191084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":191084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:12:30] local.INFO: TCP Data received {"connection_id":191278,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d224df78012d1b7280072584c8002e00322a..."} 
[2026-09-24 12:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d224df78012d1b7280072584c8002e00322a..."} 
[2026-09-24 12:12:30] local.INFO: Processing buffer {"connection_id":191278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d224df78012d1b7280072584c8002e00322a..."} 
[2026-09-24 12:12:30] local.INFO: Packet analysis {"connection_id":191278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:12:30] local.INFO: Extracted packet for processing {"connection_id":191278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:12:30] local.INFO: GPS Element Parsed {"raw_longitude":756773504,"raw_latitude":119899336,"longitude_deg":75.6773504,"latitude_deg":11.9899336,"altitude":46,"angle":50,"satellites":42,"speed":6,"hex_longitude":"2d1b7280","hex_latitude":"072584c8","is_valid_coordinates":true} 
[2026-09-24 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-09-24 12:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299398144001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855698530435072,"note":"Value kept but may cause issues"} 
[2026-09-24 12:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977502479574859776,"note":"Value kept but may cause issues"} 
[2026-09-24 12:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790232027000,"timestamp_ms":1790232027000,"timestamp_seconds":1790232027,"priority":1,"record_length":96,"hex_timestamp":"000001a0d224df78"} 
[2026-09-24 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-09-24 12:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-24 12:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 12:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":191278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":191278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":191278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299398144001,"66":13135,"216":206,"83":42752,"24":6,"16":22855698530435072,"45":1977502479574859776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299398144001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:12:30] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:12:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855698530435072,"km_value":22855698530435.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977502479574859776,"description":"Unknown IO ID 45"} 
[2026-09-24 12:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299398144001,"power":13135,"unknown_216":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1977502479574859776}} 
[2026-09-24 12:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":191278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:12:30] local.INFO: GPS data processed {"connection_id":191278,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:12:30] local.INFO: Acknowledgment sent {"connection_id":191278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:12:34] local.INFO: TCP Data received {"connection_id":191084,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:12:34] local.INFO: Processing buffer {"connection_id":191084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:12:34] local.INFO: IMEI packet received {"connection_id":191084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":191084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:12:35] local.INFO: TCP Data received {"connection_id":191084,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:12:35] local.INFO: Processing buffer {"connection_id":191084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:12:35] local.INFO: Packet analysis {"connection_id":191084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:12:35] local.INFO: Extracted packet for processing {"connection_id":191084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299323904001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790232035000,"timestamp_ms":1790232035000,"timestamp_seconds":1790232035,"priority":1,"record_length":96,"hex_timestamp":"000001a0d224feb8"} 
[2026-09-24 12:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:12:35] 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-09-24 12:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299323904001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299323904001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:12:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:12:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299323904001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":191084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:12:35] local.INFO: GPS data processed {"connection_id":191084,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:12:35] local.INFO: Acknowledgment sent {"connection_id":191084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:12:45] local.INFO: TCP Data received {"connection_id":191279,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:12:45] local.INFO: Processing buffer {"connection_id":191279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:12:45] local.INFO: IMEI packet received {"connection_id":191279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":191279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:12:50] local.INFO: TCP Data received {"connection_id":191279,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:12:50] local.INFO: Processing buffer {"connection_id":191279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:12:50] local.INFO: IMEI packet received {"connection_id":191279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":191279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:12:51] local.INFO: TCP Data received {"connection_id":191279,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2253180012d1b738007258620002e003127..."} 
[2026-09-24 12:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2253180012d1b738007258620002e003127..."} 
[2026-09-24 12:12:51] local.INFO: Processing buffer {"connection_id":191279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2253180012d1b738007258620002e003127..."} 
[2026-09-24 12:12:51] local.INFO: Packet analysis {"connection_id":191279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d225"} 
[2026-09-24 12:12:51] local.INFO: Extracted packet for processing {"connection_id":191279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d225"} 
[2026-09-24 12:12:51] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":39,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299398912001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977783954551654400,"note":"Value kept but may cause issues"} 
[2026-09-24 12:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790232048000,"timestamp_ms":1790232048000,"timestamp_seconds":1790232048,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2253180"} 
[2026-09-24 12:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-24 12:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299398912001,"66":12982,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1977783954551654400},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299398912001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:12:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:12:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977783954551654400,"description":"Unknown IO ID 45"} 
[2026-09-24 12:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299398912001,"power":12982,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977783954551654400}} 
[2026-09-24 12:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":191279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:12:51] local.INFO: GPS data processed {"connection_id":191279,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:12:51] local.INFO: Acknowledgment sent {"connection_id":191279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:13:04] local.INFO: TCP Data received {"connection_id":191280,"ip":"117.225.137.65","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191280,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:13:04] local.INFO: Processing buffer {"connection_id":191280,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:13:04] local.INFO: IMEI packet received {"connection_id":191280,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 12:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":191280,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:13:06] local.INFO: TCP Data received {"connection_id":191084,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:13:06] local.INFO: Processing buffer {"connection_id":191084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:13:06] local.INFO: Packet analysis {"connection_id":191084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:13:06] local.INFO: Extracted packet for processing {"connection_id":191084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:13:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299323904001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790232035000,"timestamp_ms":1790232035000,"timestamp_seconds":1790232035,"priority":1,"record_length":96,"hex_timestamp":"000001a0d224feb8"} 
[2026-09-24 12:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299323904001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299323904001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:13:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:13:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299323904001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":191084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:13:06] local.INFO: GPS data processed {"connection_id":191084,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:13:06] local.INFO: Acknowledgment sent {"connection_id":191084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:13:07] local.INFO: TCP Data received {"connection_id":191280,"ip":"117.225.137.65","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191280,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:13:07] local.INFO: Processing buffer {"connection_id":191280,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:13:07] local.INFO: IMEI packet received {"connection_id":191280,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 12:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":191280,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:13:10] local.INFO: TCP Data received {"connection_id":191280,"ip":"117.225.137.65","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191280,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:13:10] local.INFO: Processing buffer {"connection_id":191280,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:13:10] local.INFO: IMEI packet received {"connection_id":191280,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 12:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":191280,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:13:12] local.INFO: TCP Data received {"connection_id":191280,"ip":"117.225.137.65","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2258f40012c7b1f4008456810001400662d..."} 
[2026-09-24 12:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2258f40012c7b1f4008456810001400662d..."} 
[2026-09-24 12:13:12] local.INFO: Processing buffer {"connection_id":191280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2258f40012c7b1f4008456810001400662d..."} 
[2026-09-24 12:13:12] local.INFO: Packet analysis {"connection_id":191280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d225"} 
[2026-09-24 12:13:12] local.INFO: Extracted packet for processing {"connection_id":191280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d225"} 
[2026-09-24 12:13:12] local.INFO: GPS Element Parsed {"raw_longitude":746266432,"raw_latitude":138766352,"longitude_deg":74.6266432,"latitude_deg":13.8766352,"altitude":20,"angle":102,"satellites":45,"speed":58,"hex_longitude":"2c7b1f40","hex_latitude":"08456810","is_valid_coordinates":true} 
[2026-09-24 12:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299406592001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 12:13:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8845773391121846272,"note":"Value kept but may cause issues"} 
[2026-09-24 12:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790232072000,"timestamp_ms":1790232072000,"timestamp_seconds":1790232072,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2258f40"} 
[2026-09-24 12:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-24 12:13:12] 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-09-24 12:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191280,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 12:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191280,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 12:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 12:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 12:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299406592001,"66":28354,"137":206,"9":53760,"24":58,"16":3605341577150464,"44":8845773391121846272},"client_ip":"117.225.137.65","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,9,24,16,44]} 
[2026-09-24 12:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 12:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 12:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299406592001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:13:12] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-24 12:13:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 12:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:13:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":8845773391121846272,"description":"Unknown IO ID 44"} 
[2026-09-24 12:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299406592001,"power":28354,"unknown_137":206,"unknown_9":53760,"ignition":58,"odometer":null,"unknown_44":8845773391121846272}} 
[2026-09-24 12:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":191280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889522,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:13:12] local.INFO: GPS data processed {"connection_id":191280,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:13:12] local.INFO: Acknowledgment sent {"connection_id":191280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:13:22] local.INFO: TCP Data received {"connection_id":191279,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2258388012d1b738007258620002e003127..."} 
[2026-09-24 12:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2258388012d1b738007258620002e003127..."} 
[2026-09-24 12:13:22] local.INFO: Processing buffer {"connection_id":191279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2258388012d1b738007258620002e003127..."} 
[2026-09-24 12:13:22] local.INFO: Packet analysis {"connection_id":191279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d225"} 
[2026-09-24 12:13:22] local.INFO: Extracted packet for processing {"connection_id":191279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d225"} 
[2026-09-24 12:13:22] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":39,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299404288001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790232069000,"timestamp_ms":1790232069000,"timestamp_seconds":1790232069,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2258388"} 
[2026-09-24 12:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-24 12:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299404288001,"66":12950,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299404288001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:13:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:13:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299404288001,"power":12950,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":191279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:13:22] local.INFO: GPS data processed {"connection_id":191279,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:13:22] local.INFO: Acknowledgment sent {"connection_id":191279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:13:28] local.INFO: TCP Data received {"connection_id":191085,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:13:28] local.INFO: Processing buffer {"connection_id":191085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:13:28] local.INFO: IMEI packet received {"connection_id":191085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":191085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:13:34] local.INFO: TCP Data received {"connection_id":191085,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:13:34] local.INFO: Processing buffer {"connection_id":191085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:13:34] local.INFO: IMEI packet received {"connection_id":191085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":191085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:13:35] local.INFO: TCP Data received {"connection_id":191085,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:13:35] local.INFO: Processing buffer {"connection_id":191085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:13:35] local.INFO: Packet analysis {"connection_id":191085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:13:35] local.INFO: Extracted packet for processing {"connection_id":191085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:13:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299323904001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790232035000,"timestamp_ms":1790232035000,"timestamp_seconds":1790232035,"priority":1,"record_length":96,"hex_timestamp":"000001a0d224feb8"} 
[2026-09-24 12:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:13:35] 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-09-24 12:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299323904001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299323904001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:13:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:13:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299323904001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":191085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:13:35] local.INFO: GPS data processed {"connection_id":191085,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:13:35] local.INFO: Acknowledgment sent {"connection_id":191085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:13:44] local.INFO: TCP Data received {"connection_id":191280,"ip":"117.225.137.65","data_length":795,"data_hex":"000000000000030f8e0a000001a0d225cdc0012c7b610008452ed0000d00a12e..."} 
[2026-09-24 12:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d225cdc0012c7b610008452ed0000d00a12e..."} 
[2026-09-24 12:13:44] local.INFO: Processing buffer {"connection_id":191280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d225cdc0012c7b610008452ed0000d00a12e..."} 
[2026-09-24 12:13:44] local.INFO: Packet analysis {"connection_id":191280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d225"} 
[2026-09-24 12:13:44] local.INFO: Extracted packet for processing {"connection_id":191280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d225"} 
[2026-09-24 12:13:44] local.INFO: GPS Element Parsed {"raw_longitude":746283264,"raw_latitude":138751696,"longitude_deg":74.6283264,"latitude_deg":13.8751696,"altitude":13,"angle":161,"satellites":46,"speed":57,"hex_longitude":"2c7b6100","hex_latitude":"08452ed0","is_valid_coordinates":true} 
[2026-09-24 12:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299410432001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 12:13:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8871880195211530240,"note":"Value kept but may cause issues"} 
[2026-09-24 12:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790232088000,"timestamp_ms":1790232088000,"timestamp_seconds":1790232088,"priority":1,"record_length":96,"hex_timestamp":"000001a0d225cdc0"} 
[2026-09-24 12:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 12:13:44] 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-09-24 12:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191280,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 12:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191280,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 12:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 12:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 12:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299410432001,"66":28354,"137":206,"9":53760,"24":57,"16":3605341577150464,"44":8871880195211530240},"client_ip":"117.225.137.65","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,9,24,16,44]} 
[2026-09-24 12:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 12:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 12:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299410432001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:13:44] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-24 12:13:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 12:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:13:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":8871880195211530240,"description":"Unknown IO ID 44"} 
[2026-09-24 12:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299410432001,"power":28354,"unknown_137":206,"unknown_9":53760,"ignition":57,"odometer":null,"unknown_44":8871880195211530240}} 
[2026-09-24 12:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":191280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889525,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:13:44] local.INFO: GPS data processed {"connection_id":191280,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:13:44] local.INFO: Acknowledgment sent {"connection_id":191280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:13:45] local.INFO: TCP Data received {"connection_id":193943,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:13:45] local.INFO: Processing buffer {"connection_id":193943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:13:45] local.INFO: IMEI packet received {"connection_id":193943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":193943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:13:50] local.INFO: TCP Data received {"connection_id":193943,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:13:50] local.INFO: Processing buffer {"connection_id":193943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:13:50] local.INFO: IMEI packet received {"connection_id":193943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":193943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:13:51] local.INFO: TCP Data received {"connection_id":193943,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d225d590012d1b738007258620002e003129..."} 
[2026-09-24 12:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d225d590012d1b738007258620002e003129..."} 
[2026-09-24 12:13:51] local.INFO: Processing buffer {"connection_id":193943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d225d590012d1b738007258620002e003129..."} 
[2026-09-24 12:13:51] local.INFO: Packet analysis {"connection_id":193943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d225"} 
[2026-09-24 12:13:51] local.INFO: Extracted packet for processing {"connection_id":193943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d225"} 
[2026-09-24 12:13:51] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299409664001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790232090000,"timestamp_ms":1790232090000,"timestamp_seconds":1790232090,"priority":1,"record_length":96,"hex_timestamp":"000001a0d225d590"} 
[2026-09-24 12:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-24 12:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299409664001,"66":12939,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299409664001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:13:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:13:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299409664001,"power":12939,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":193943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:13:51] local.INFO: GPS data processed {"connection_id":193943,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:13:51] local.INFO: Acknowledgment sent {"connection_id":193943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:14:07] local.INFO: TCP Data received {"connection_id":191086,"ip":"117.225.137.65","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:14:07] local.INFO: Processing buffer {"connection_id":191086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:14:07] local.INFO: IMEI packet received {"connection_id":191086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 12:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":191086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:14:07] local.INFO: TCP Data received {"connection_id":191085,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:14:07] local.INFO: Processing buffer {"connection_id":191085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:14:07] local.INFO: Packet analysis {"connection_id":191085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:14:07] local.INFO: Extracted packet for processing {"connection_id":191085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:14:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299323904001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790232035000,"timestamp_ms":1790232035000,"timestamp_seconds":1790232035,"priority":1,"record_length":96,"hex_timestamp":"000001a0d224feb8"} 
[2026-09-24 12:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299323904001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299323904001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:14:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:14:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299323904001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":191085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:14:07] local.INFO: GPS data processed {"connection_id":191085,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:14:07] local.INFO: Acknowledgment sent {"connection_id":191085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:14:12] local.INFO: TCP Data received {"connection_id":191086,"ip":"117.225.137.65","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:14:12] local.INFO: Processing buffer {"connection_id":191086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:14:12] local.INFO: IMEI packet received {"connection_id":191086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 12:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":191086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:14:13] local.INFO: TCP Data received {"connection_id":191086,"ip":"117.225.137.65","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2260c40012c7b64000844d220000900b52f..."} 
[2026-09-24 12:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2260c40012c7b64000844d220000900b52f..."} 
[2026-09-24 12:14:13] local.INFO: Processing buffer {"connection_id":191086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2260c40012c7b64000844d220000900b52f..."} 
[2026-09-24 12:14:13] local.INFO: Packet analysis {"connection_id":191086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d226"} 
[2026-09-24 12:14:13] local.INFO: Extracted packet for processing {"connection_id":191086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d226"} 
[2026-09-24 12:14:13] local.INFO: GPS Element Parsed {"raw_longitude":746284032,"raw_latitude":138727968,"longitude_deg":74.6284032,"latitude_deg":13.8727968,"altitude":9,"angle":181,"satellites":47,"speed":60,"hex_longitude":"2c7b6400","hex_latitude":"0844d220","is_valid_coordinates":true} 
[2026-09-24 12:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299414528001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 12:14:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8890387174926503936,"note":"Value kept but may cause issues"} 
[2026-09-24 12:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790232104000,"timestamp_ms":1790232104000,"timestamp_seconds":1790232104,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2260c40"} 
[2026-09-24 12:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 12:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 12:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 12:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 12:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 12:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299414528001,"66":28354,"137":206,"9":53760,"24":60,"16":3605341577150464,"44":8890387174926503936},"client_ip":"117.225.137.65","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,9,24,16,44]} 
[2026-09-24 12:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 12:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 12:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299414528001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:14:13] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-24 12:14:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 12:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:14:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":8890387174926503936,"description":"Unknown IO ID 44"} 
[2026-09-24 12:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299414528001,"power":28354,"unknown_137":206,"unknown_9":53760,"ignition":60,"odometer":null,"unknown_44":8890387174926503936}} 
[2026-09-24 12:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":191086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889528,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:14:13] local.INFO: GPS data processed {"connection_id":191086,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:14:13] local.INFO: Acknowledgment sent {"connection_id":191086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:14:22] local.INFO: TCP Data received {"connection_id":193943,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2262798012d1b738007258620002e003127..."} 
[2026-09-24 12:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2262798012d1b738007258620002e003127..."} 
[2026-09-24 12:14:22] local.INFO: Processing buffer {"connection_id":193943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2262798012d1b738007258620002e003127..."} 
[2026-09-24 12:14:22] local.INFO: Packet analysis {"connection_id":193943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d226"} 
[2026-09-24 12:14:22] local.INFO: Extracted packet for processing {"connection_id":193943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d226"} 
[2026-09-24 12:14:22] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":39,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299415040001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790232111000,"timestamp_ms":1790232111000,"timestamp_seconds":1790232111,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2262798"} 
[2026-09-24 12:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-24 12:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299415040001,"66":12874,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299415040001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:14:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:14:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299415040001,"power":12874,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":193943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:14:22] local.INFO: GPS data processed {"connection_id":193943,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:14:22] local.INFO: Acknowledgment sent {"connection_id":193943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:14:29] local.INFO: TCP Data received {"connection_id":191281,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:14:29] local.INFO: Processing buffer {"connection_id":191281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:14:29] local.INFO: IMEI packet received {"connection_id":191281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":191281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:14:34] local.INFO: TCP Data received {"connection_id":191281,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:14:34] local.INFO: Processing buffer {"connection_id":191281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:14:34] local.INFO: IMEI packet received {"connection_id":191281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":191281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:14:35] local.INFO: TCP Data received {"connection_id":191281,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:14:35] local.INFO: Processing buffer {"connection_id":191281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:14:35] local.INFO: Packet analysis {"connection_id":191281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:14:35] local.INFO: Extracted packet for processing {"connection_id":191281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299323904001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790232035000,"timestamp_ms":1790232035000,"timestamp_seconds":1790232035,"priority":1,"record_length":96,"hex_timestamp":"000001a0d224feb8"} 
[2026-09-24 12:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:14:35] 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-09-24 12: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-09-24 12:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299323904001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299323904001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:14:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:14:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299323904001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":191281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:14:35] local.INFO: GPS data processed {"connection_id":191281,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:14:35] local.INFO: Acknowledgment sent {"connection_id":191281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:14:45] local.INFO: TCP Data received {"connection_id":191086,"ip":"117.225.137.65","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2265e48012c7b610008447590000800b62d..."} 
[2026-09-24 12:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2265e48012c7b610008447590000800b62d..."} 
[2026-09-24 12:14:45] local.INFO: Processing buffer {"connection_id":191086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2265e48012c7b610008447590000800b62d..."} 
[2026-09-24 12:14:45] local.INFO: Packet analysis {"connection_id":191086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d226"} 
[2026-09-24 12:14:45] local.INFO: Extracted packet for processing {"connection_id":191086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d226"} 
[2026-09-24 12:14:45] local.INFO: GPS Element Parsed {"raw_longitude":746283264,"raw_latitude":138704272,"longitude_deg":74.6283264,"latitude_deg":13.8704272,"altitude":8,"angle":182,"satellites":45,"speed":0,"hex_longitude":"2c7b6100","hex_latitude":"08447590","is_valid_coordinates":true} 
[2026-09-24 12:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299418624001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 12:14:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8891231599850561536,"note":"Value kept but may cause issues"} 
[2026-09-24 12:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790232125000,"timestamp_ms":1790232125000,"timestamp_seconds":1790232125,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2265e48"} 
[2026-09-24 12:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:14: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-09-24 12:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 12:14: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-09-24 12:14:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 12:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 12:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 12:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 12:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299418624001,"66":28430,"138":206,"9":53760,"24":0,"16":3605341577150464,"44":8891231599850561536},"client_ip":"117.225.137.65","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,9,24,16,44]} 
[2026-09-24 12:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 12:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 12:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299418624001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:14:45] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-24 12:14:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 12:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:14:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":8891231599850561536,"description":"Unknown IO ID 44"} 
[2026-09-24 12:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299418624001,"power":28430,"unknown_138":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":8891231599850561536}} 
[2026-09-24 12:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":191086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889531,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:14:45] local.INFO: GPS data processed {"connection_id":191086,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:14:45] local.INFO: Acknowledgment sent {"connection_id":191086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:14:45] local.INFO: TCP Data received {"connection_id":191087,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:14:45] local.INFO: Processing buffer {"connection_id":191087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:14:45] local.INFO: IMEI packet received {"connection_id":191087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":191087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:14:50] local.INFO: TCP Data received {"connection_id":191087,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:14:50] local.INFO: Processing buffer {"connection_id":191087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:14:50] local.INFO: IMEI packet received {"connection_id":191087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":191087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:14:51] local.INFO: TCP Data received {"connection_id":191087,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22679a0012d1b738007258620002e003128..."} 
[2026-09-24 12:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22679a0012d1b738007258620002e003128..."} 
[2026-09-24 12:14:51] local.INFO: Processing buffer {"connection_id":191087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22679a0012d1b738007258620002e003128..."} 
[2026-09-24 12:14:51] local.INFO: Packet analysis {"connection_id":191087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d226"} 
[2026-09-24 12:14:51] local.INFO: Extracted packet for processing {"connection_id":191087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d226"} 
[2026-09-24 12:14:51] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":40,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299420416001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790232132000,"timestamp_ms":1790232132000,"timestamp_seconds":1790232132,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22679a0"} 
[2026-09-24 12:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-24 12:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299420416001,"66":12809,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299420416001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:14:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:14:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299420416001,"power":12809,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":191087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:14:51] local.INFO: GPS data processed {"connection_id":191087,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:14:51] local.INFO: Acknowledgment sent {"connection_id":191087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:15:07] local.INFO: TCP Data received {"connection_id":193944,"ip":"117.225.137.65","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:15:07] local.INFO: Processing buffer {"connection_id":193944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:15:07] local.INFO: IMEI packet received {"connection_id":193944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 12:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":193944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:15:08] local.INFO: TCP Data received {"connection_id":191281,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:15:08] local.INFO: Processing buffer {"connection_id":191281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:15:08] local.INFO: Packet analysis {"connection_id":191281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:15:08] local.INFO: Extracted packet for processing {"connection_id":191281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:15:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 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-09-24 12:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299323904001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790232035000,"timestamp_ms":1790232035000,"timestamp_seconds":1790232035,"priority":1,"record_length":96,"hex_timestamp":"000001a0d224feb8"} 
[2026-09-24 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-09-24 12:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:15:08] 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-09-24 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-09-24 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-09-24 12:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299323904001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299323904001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:15:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:15:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299323904001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":191281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:15:08] local.INFO: GPS data processed {"connection_id":191281,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:15:08] local.INFO: Acknowledgment sent {"connection_id":191281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:15:09] local.INFO: TCP Data received {"connection_id":193944,"ip":"117.225.137.65","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:15:09] local.INFO: Processing buffer {"connection_id":193944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:15:09] local.INFO: IMEI packet received {"connection_id":193944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 12:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":193944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:15:14] local.INFO: TCP Data received {"connection_id":193944,"ip":"117.225.137.65","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:15:14] local.INFO: Processing buffer {"connection_id":193944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:15:14] local.INFO: IMEI packet received {"connection_id":193944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 12:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":193944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:15:16] local.INFO: TCP Data received {"connection_id":193944,"ip":"117.225.137.65","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22740d80100000000000000000000000000..."} 
[2026-09-24 12:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22740d80100000000000000000000000000..."} 
[2026-09-24 12:15:16] local.INFO: Processing buffer {"connection_id":193944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22740d80100000000000000000000000000..."} 
[2026-09-24 12:15:16] local.INFO: Packet analysis {"connection_id":193944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d227"} 
[2026-09-24 12:15:16] local.INFO: Extracted packet for processing {"connection_id":193944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d227"} 
[2026-09-24 12:15:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 12:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299424000001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":8890387174914363392,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790232183000,"timestamp_ms":1790232183000,"timestamp_seconds":1790232183,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22740d8"} 
[2026-09-24 12:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 12:15:16] 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-09-24 12:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":193944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":193944,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 12:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":193944,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 12:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.137.65","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 12:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 12:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":193944,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 12:15:16] local.INFO: GPS data processed {"connection_id":193944,"processed":0,"errors":0,"total":1} 
[2026-09-24 12:15:16] local.INFO: Acknowledgment sent {"connection_id":193944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:15:22] local.INFO: TCP Data received {"connection_id":191087,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d226cba8012d1b738007258620002e00312a..."} 
[2026-09-24 12:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d226cba8012d1b738007258620002e00312a..."} 
[2026-09-24 12:15:22] local.INFO: Processing buffer {"connection_id":191087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d226cba8012d1b738007258620002e00312a..."} 
[2026-09-24 12:15:22] local.INFO: Packet analysis {"connection_id":191087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d226"} 
[2026-09-24 12:15:22] local.INFO: Extracted packet for processing {"connection_id":191087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d226"} 
[2026-09-24 12:15:22] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":42,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299425792001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790232153000,"timestamp_ms":1790232153000,"timestamp_seconds":1790232153,"priority":1,"record_length":96,"hex_timestamp":"000001a0d226cba8"} 
[2026-09-24 12:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-24 12:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":504403158433268736,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:22] local.WARNING: Large IO value detected {"io_id":51,"raw_value":7205985262566952531,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3525628864,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:22] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:22] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2651476693480075392,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:22] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2250244142,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-09-24 12:15:22] local.WARNING: Large IO value detected {"io_id":114,"raw_value":2147952004,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3014706,"corrected_to":0} 
[2026-09-24 12:15:22] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2702881056838659622,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:22] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:22] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,51,160,39,45,128,134,46,10,66,213,41,131,1,240,150,227,210,37,4,113,205,223,114,200,42,239,2,81,7,47,6,167,30],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1792540878,"validated":0},{"io_id":200,"original":3014706,"validated":0}]} 
[2026-09-24 12:15:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314703373613137920,"timestamp_seconds":3314703373613138.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 12:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299425792001,"66":12776,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299425792001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:15:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:15:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299425792001,"power":12776,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":191087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:15:22] local.INFO: GPS data processed {"connection_id":191087,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:15:22] local.INFO: Acknowledgment sent {"connection_id":191087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:15:34] local.INFO: TCP Data received {"connection_id":192661,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:15:34] local.INFO: Processing buffer {"connection_id":192661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:15:34] local.INFO: IMEI packet received {"connection_id":192661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":192661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:15:39] local.INFO: TCP Data received {"connection_id":192661,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:15:39] local.INFO: Processing buffer {"connection_id":192661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:15:39] local.INFO: IMEI packet received {"connection_id":192661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":192661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:15:40] local.INFO: TCP Data received {"connection_id":192661,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:15:40] local.INFO: Processing buffer {"connection_id":192661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:15:40] local.INFO: Packet analysis {"connection_id":192661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:15:40] local.INFO: Extracted packet for processing {"connection_id":192661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:15:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299323904001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790232035000,"timestamp_ms":1790232035000,"timestamp_seconds":1790232035,"priority":1,"record_length":96,"hex_timestamp":"000001a0d224feb8"} 
[2026-09-24 12:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299323904001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299323904001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:15:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:15:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299323904001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":192661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:15:40] local.INFO: GPS data processed {"connection_id":192661,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:15:40] local.INFO: Acknowledgment sent {"connection_id":192661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:15:44] local.INFO: TCP Data received {"connection_id":192661,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:15:44] local.INFO: Processing buffer {"connection_id":192661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d224feb8012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:15:44] local.INFO: Packet analysis {"connection_id":192661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:15:44] local.INFO: Extracted packet for processing {"connection_id":192661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d224"} 
[2026-09-24 12:15:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299323904001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790232035000,"timestamp_ms":1790232035000,"timestamp_seconds":1790232035,"priority":1,"record_length":96,"hex_timestamp":"000001a0d224feb8"} 
[2026-09-24 12:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:15:44] 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-09-24 12:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299323904001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299323904001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:15:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:15:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299323904001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":192661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:15:44] local.INFO: GPS data processed {"connection_id":192661,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:15:44] local.INFO: Acknowledgment sent {"connection_id":192661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:15:45] local.INFO: TCP Data received {"connection_id":193945,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:15:45] local.INFO: Processing buffer {"connection_id":193945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:15:45] local.INFO: IMEI packet received {"connection_id":193945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":193945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:15:51] local.INFO: TCP Data received {"connection_id":193945,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:15:51] local.INFO: Processing buffer {"connection_id":193945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:15:51] local.INFO: IMEI packet received {"connection_id":193945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":193945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:15:52] local.INFO: TCP Data received {"connection_id":193945,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2271db0012d1b738007258620002e003128..."} 
[2026-09-24 12:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2271db0012d1b738007258620002e003128..."} 
[2026-09-24 12:15:52] local.INFO: Processing buffer {"connection_id":193945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2271db0012d1b738007258620002e003128..."} 
[2026-09-24 12:15:52] local.INFO: Packet analysis {"connection_id":193945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d227"} 
[2026-09-24 12:15:52] local.INFO: Extracted packet for processing {"connection_id":193945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d227"} 
[2026-09-24 12:15:52] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":40,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299431168001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790232174000,"timestamp_ms":1790232174000,"timestamp_seconds":1790232174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2271db0"} 
[2026-09-24 12:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-24 12:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":193945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":193945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":193945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299431168001,"66":12722,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299431168001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:15:52] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:15:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299431168001,"power":12722,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":193945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:15:52] local.INFO: GPS data processed {"connection_id":193945,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:15:52] local.INFO: Acknowledgment sent {"connection_id":193945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:16:23] local.INFO: TCP Data received {"connection_id":193945,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2276fb8012d1b738007258620002e003128..."} 
[2026-09-24 12:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2276fb8012d1b738007258620002e003128..."} 
[2026-09-24 12:16:23] local.INFO: Processing buffer {"connection_id":193945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2276fb8012d1b738007258620002e003128..."} 
[2026-09-24 12:16:23] local.INFO: Packet analysis {"connection_id":193945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d227"} 
[2026-09-24 12:16:23] local.INFO: Extracted packet for processing {"connection_id":193945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d227"} 
[2026-09-24 12:16:23] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":40,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299436544001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790232195000,"timestamp_ms":1790232195000,"timestamp_seconds":1790232195,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2276fb8"} 
[2026-09-24 12:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 12:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:16:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":193945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":193945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":193945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299436544001,"66":12667,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299436544001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:16:23] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:16:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299436544001,"power":12667,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":193945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:16:23] local.INFO: GPS data processed {"connection_id":193945,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:16:23] local.INFO: Acknowledgment sent {"connection_id":193945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:16:29] local.INFO: TCP Data received {"connection_id":191088,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:16:29] local.INFO: Processing buffer {"connection_id":191088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:16:29] local.INFO: IMEI packet received {"connection_id":191088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":191088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:16:34] local.INFO: TCP Data received {"connection_id":191088,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:16:34] local.INFO: Processing buffer {"connection_id":191088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:16:34] local.INFO: IMEI packet received {"connection_id":191088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":191088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:16:35] local.INFO: TCP Data received {"connection_id":191088,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:16:35] local.INFO: Processing buffer {"connection_id":191088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:16:35] local.INFO: Packet analysis {"connection_id":191088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:16:35] local.INFO: Extracted packet for processing {"connection_id":191088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299400960001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790232336000,"timestamp_ms":1790232336000,"timestamp_seconds":1790232336,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2299680"} 
[2026-09-24 12:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299400960001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299400960001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:16:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:16:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299400960001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":191088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:16:35] local.INFO: GPS data processed {"connection_id":191088,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:16:35] local.INFO: Acknowledgment sent {"connection_id":191088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:16:45] local.INFO: TCP Data received {"connection_id":191089,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:16:45] local.INFO: Processing buffer {"connection_id":191089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:16:45] local.INFO: IMEI packet received {"connection_id":191089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":191089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:16:50] local.INFO: TCP Data received {"connection_id":191089,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:16:50] local.INFO: Processing buffer {"connection_id":191089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:16:50] local.INFO: IMEI packet received {"connection_id":191089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":191089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:16:51] local.INFO: TCP Data received {"connection_id":191089,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d227c1c0012d1b738007258620002e003126..."} 
[2026-09-24 12:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d227c1c0012d1b738007258620002e003126..."} 
[2026-09-24 12:16:51] local.INFO: Processing buffer {"connection_id":191089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d227c1c0012d1b738007258620002e003126..."} 
[2026-09-24 12:16:51] local.INFO: Packet analysis {"connection_id":191089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d227"} 
[2026-09-24 12:16:51] local.INFO: Extracted packet for processing {"connection_id":191089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d227"} 
[2026-09-24 12:16:51] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":38,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299441920001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790232216000,"timestamp_ms":1790232216000,"timestamp_seconds":1790232216,"priority":1,"record_length":96,"hex_timestamp":"000001a0d227c1c0"} 
[2026-09-24 12:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-24 12:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299441920001,"66":12667,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299441920001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:16:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:16:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299441920001,"power":12667,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":191089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:16:51] local.INFO: GPS data processed {"connection_id":191089,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:16:51] local.INFO: Acknowledgment sent {"connection_id":191089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:17:07] local.INFO: TCP Data received {"connection_id":191088,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:17:07] local.INFO: Processing buffer {"connection_id":191088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:17:07] local.INFO: Packet analysis {"connection_id":191088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:17:07] local.INFO: Extracted packet for processing {"connection_id":191088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:17:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299400960001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790232336000,"timestamp_ms":1790232336000,"timestamp_seconds":1790232336,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2299680"} 
[2026-09-24 12:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299400960001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299400960001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:17:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:17:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299400960001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":191088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:17:07] local.INFO: GPS data processed {"connection_id":191088,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:17:07] local.INFO: Acknowledgment sent {"connection_id":191088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:17:22] local.INFO: TCP Data received {"connection_id":191089,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22813c8012d1b738007258620002e003129..."} 
[2026-09-24 12:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22813c8012d1b738007258620002e003129..."} 
[2026-09-24 12:17:22] local.INFO: Processing buffer {"connection_id":191089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22813c8012d1b738007258620002e003129..."} 
[2026-09-24 12:17:22] local.INFO: Packet analysis {"connection_id":191089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d228"} 
[2026-09-24 12:17:22] local.INFO: Extracted packet for processing {"connection_id":191089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d228"} 
[2026-09-24 12:17:22] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299447296001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790232237000,"timestamp_ms":1790232237000,"timestamp_seconds":1790232237,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22813c8"} 
[2026-09-24 12:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-24 12:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299447296001,"66":12613,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299447296001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:17:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:17:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299447296001,"power":12613,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":191089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:17:22] local.INFO: GPS data processed {"connection_id":191089,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:17:22] local.INFO: Acknowledgment sent {"connection_id":191089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:17:28] local.INFO: TCP Data received {"connection_id":191090,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:17:28] local.INFO: Processing buffer {"connection_id":191090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:17:28] local.INFO: IMEI packet received {"connection_id":191090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":191090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:17:34] local.INFO: TCP Data received {"connection_id":191090,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:17:34] local.INFO: Processing buffer {"connection_id":191090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:17:34] local.INFO: IMEI packet received {"connection_id":191090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":191090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:17:34] local.INFO: TCP Data received {"connection_id":191090,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:17:34] local.INFO: Processing buffer {"connection_id":191090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:17:34] local.INFO: Packet analysis {"connection_id":191090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:17:34] local.INFO: Extracted packet for processing {"connection_id":191090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:17:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299400960001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790232336000,"timestamp_ms":1790232336000,"timestamp_seconds":1790232336,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2299680"} 
[2026-09-24 12:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299400960001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299400960001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:17:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:17:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299400960001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":191090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:17:34] local.INFO: GPS data processed {"connection_id":191090,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:17:34] local.INFO: Acknowledgment sent {"connection_id":191090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:17:45] local.INFO: TCP Data received {"connection_id":191091,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:17:45] local.INFO: Processing buffer {"connection_id":191091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:17:45] local.INFO: IMEI packet received {"connection_id":191091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":191091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:17:50] local.INFO: TCP Data received {"connection_id":191091,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:17:50] local.INFO: Processing buffer {"connection_id":191091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:17:50] local.INFO: IMEI packet received {"connection_id":191091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":191091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:17:51] local.INFO: TCP Data received {"connection_id":191091,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22865d0012d1b738007258620002e003129..."} 
[2026-09-24 12:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22865d0012d1b738007258620002e003129..."} 
[2026-09-24 12:17:51] local.INFO: Processing buffer {"connection_id":191091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22865d0012d1b738007258620002e003129..."} 
[2026-09-24 12:17:51] local.INFO: Packet analysis {"connection_id":191091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d228"} 
[2026-09-24 12:17:51] local.INFO: Extracted packet for processing {"connection_id":191091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d228"} 
[2026-09-24 12:17:51] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299452672001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790232258000,"timestamp_ms":1790232258000,"timestamp_seconds":1790232258,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22865d0"} 
[2026-09-24 12:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-24 12:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299452672001,"66":12591,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299452672001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:17:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:17:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299452672001,"power":12591,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":191091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:17:52] local.INFO: GPS data processed {"connection_id":191091,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:17:52] local.INFO: Acknowledgment sent {"connection_id":191091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:18:06] local.INFO: TCP Data received {"connection_id":191090,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:18:06] local.INFO: Processing buffer {"connection_id":191090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:18:06] local.INFO: Packet analysis {"connection_id":191090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:18:06] local.INFO: Extracted packet for processing {"connection_id":191090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:18:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299400960001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790232336000,"timestamp_ms":1790232336000,"timestamp_seconds":1790232336,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2299680"} 
[2026-09-24 12:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299400960001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299400960001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:18:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:18:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299400960001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":191090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:18:06] local.INFO: GPS data processed {"connection_id":191090,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:18:06] local.INFO: Acknowledgment sent {"connection_id":191090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:18:22] local.INFO: TCP Data received {"connection_id":191091,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d228b7d8012d1b738007258620002e003128..."} 
[2026-09-24 12:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d228b7d8012d1b738007258620002e003128..."} 
[2026-09-24 12:18:22] local.INFO: Processing buffer {"connection_id":191091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d228b7d8012d1b738007258620002e003128..."} 
[2026-09-24 12:18:22] local.INFO: Packet analysis {"connection_id":191091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d228"} 
[2026-09-24 12:18:22] local.INFO: Extracted packet for processing {"connection_id":191091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d228"} 
[2026-09-24 12:18:22] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":40,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299458048001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790232279000,"timestamp_ms":1790232279000,"timestamp_seconds":1790232279,"priority":1,"record_length":96,"hex_timestamp":"000001a0d228b7d8"} 
[2026-09-24 12:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299458048001,"66":12558,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299458048001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:18:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:18:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299458048001,"power":12558,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":191091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:18:22] local.INFO: GPS data processed {"connection_id":191091,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:18:22] local.INFO: Acknowledgment sent {"connection_id":191091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:18:28] local.INFO: TCP Data received {"connection_id":192662,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:18:28] local.INFO: Processing buffer {"connection_id":192662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:18:28] local.INFO: IMEI packet received {"connection_id":192662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":192662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:18:33] local.INFO: TCP Data received {"connection_id":192662,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:18:33] local.INFO: Processing buffer {"connection_id":192662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:18:33] local.INFO: IMEI packet received {"connection_id":192662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":192662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:18:35] local.INFO: TCP Data received {"connection_id":192662,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:18:35] local.INFO: Processing buffer {"connection_id":192662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:18:35] local.INFO: Packet analysis {"connection_id":192662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:18:35] local.INFO: Extracted packet for processing {"connection_id":192662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:18:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299400960001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790232336000,"timestamp_ms":1790232336000,"timestamp_seconds":1790232336,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2299680"} 
[2026-09-24 12:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299400960001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299400960001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:18:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:18:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299400960001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":192662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:18:35] local.INFO: GPS data processed {"connection_id":192662,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:18:35] local.INFO: Acknowledgment sent {"connection_id":192662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:18:47] local.INFO: TCP Data received {"connection_id":193946,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:18:47] local.INFO: Processing buffer {"connection_id":193946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:18:47] local.INFO: IMEI packet received {"connection_id":193946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":193946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:18:50] local.INFO: TCP Data received {"connection_id":193946,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:18:50] local.INFO: Processing buffer {"connection_id":193946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:18:50] local.INFO: IMEI packet received {"connection_id":193946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":193946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:18:55] local.INFO: TCP Data received {"connection_id":193946,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:18:55] local.INFO: Processing buffer {"connection_id":193946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:18:55] local.INFO: IMEI packet received {"connection_id":193946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":193946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:18:56] local.INFO: TCP Data received {"connection_id":193946,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22909e0012d1b738007258620002e003128..."} 
[2026-09-24 12:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22909e0012d1b738007258620002e003128..."} 
[2026-09-24 12:18:56] local.INFO: Processing buffer {"connection_id":193946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22909e0012d1b738007258620002e003128..."} 
[2026-09-24 12:18:56] local.INFO: Packet analysis {"connection_id":193946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:18:56] local.INFO: Extracted packet for processing {"connection_id":193946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:18:56] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":40,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299463424001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790232300000,"timestamp_ms":1790232300000,"timestamp_seconds":1790232300,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22909e0"} 
[2026-09-24 12:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 12:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:56] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3525757864,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250318549790852640,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:56] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2250244142,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-09-24 12:18:56] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2952867099,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:56] local.WARNING: Large IO value detected {"io_id":115,"raw_value":2147952006,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:56] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397034,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:56] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-2882076902837708800,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:56] local.WARNING: Large IO value detected {"io_id":62,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:56] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-09-24 12:18:56] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,51,160,101,45,128,134,46,41,10,66,19,193,1,240,123,227,210,37,4,113,205,29,115,32,40,239,49,2,81,7,106,62,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1792540878,"validated":0}]} 
[2026-09-24 12:18:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314703373613137920,"timestamp_seconds":3314703373613138.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 12:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":193946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":193946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":193946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299463424001,"66":12537,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299463424001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:18:56] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:18:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299463424001,"power":12537,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":193946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:18:56] local.INFO: GPS data processed {"connection_id":193946,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:18:56] local.INFO: Acknowledgment sent {"connection_id":193946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:19:00] local.INFO: TCP Data received {"connection_id":193946,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2295be8012d1b738007258620002e003129..."} 
[2026-09-24 12:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2295be8012d1b738007258620002e003129..."} 
[2026-09-24 12:19:00] local.INFO: Processing buffer {"connection_id":193946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2295be8012d1b738007258620002e003129..."} 
[2026-09-24 12:19:00] local.INFO: Packet analysis {"connection_id":193946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:19:00] local.INFO: Extracted packet for processing {"connection_id":193946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:19:00] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299468800001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790232321000,"timestamp_ms":1790232321000,"timestamp_seconds":1790232321,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2295be8"} 
[2026-09-24 12:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 12:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299468800001,"66":12537,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299468800001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:19:00] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:19:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299468800001,"power":12537,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":193946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:19:01] local.INFO: GPS data processed {"connection_id":193946,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:19:01] local.INFO: Acknowledgment sent {"connection_id":193946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:19:06] local.INFO: TCP Data received {"connection_id":192662,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:19:06] local.INFO: Processing buffer {"connection_id":192662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:19:06] local.INFO: Packet analysis {"connection_id":192662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:19:06] local.INFO: Extracted packet for processing {"connection_id":192662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:19:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299400960001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790232336000,"timestamp_ms":1790232336000,"timestamp_seconds":1790232336,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2299680"} 
[2026-09-24 12:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299400960001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299400960001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:19:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:19:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299400960001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":192662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:19:06] local.INFO: GPS data processed {"connection_id":192662,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:19:06] local.INFO: Acknowledgment sent {"connection_id":192662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:19:34] local.INFO: TCP Data received {"connection_id":191282,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:19:34] local.INFO: Processing buffer {"connection_id":191282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:19:34] local.INFO: IMEI packet received {"connection_id":191282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":191282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:19:38] local.INFO: TCP Data received {"connection_id":191282,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:19:38] local.INFO: Processing buffer {"connection_id":191282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:19:38] local.INFO: IMEI packet received {"connection_id":191282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":191282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:19:39] local.INFO: TCP Data received {"connection_id":191282,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:19:39] local.INFO: Processing buffer {"connection_id":191282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:19:39] local.INFO: Packet analysis {"connection_id":191282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:19:39] local.INFO: Extracted packet for processing {"connection_id":191282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:19:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299400960001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790232336000,"timestamp_ms":1790232336000,"timestamp_seconds":1790232336,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2299680"} 
[2026-09-24 12:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299400960001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299400960001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:19:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:19:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299400960001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":191282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:19:39] local.INFO: GPS data processed {"connection_id":191282,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:19:39] local.INFO: Acknowledgment sent {"connection_id":191282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:19:44] local.INFO: TCP Data received {"connection_id":191282,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:19:44] local.INFO: Processing buffer {"connection_id":191282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:19:44] local.INFO: Packet analysis {"connection_id":191282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:19:44] local.INFO: Extracted packet for processing {"connection_id":191282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:19:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299400960001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790232336000,"timestamp_ms":1790232336000,"timestamp_seconds":1790232336,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2299680"} 
[2026-09-24 12:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299400960001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299400960001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:19:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:19:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299400960001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":191282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:19:44] local.INFO: GPS data processed {"connection_id":191282,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:19:44] local.INFO: Acknowledgment sent {"connection_id":191282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:19:45] local.INFO: TCP Data received {"connection_id":191092,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:19:45] local.INFO: Processing buffer {"connection_id":191092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:19:45] local.INFO: IMEI packet received {"connection_id":191092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":191092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:19:50] local.INFO: TCP Data received {"connection_id":191092,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:19:50] local.INFO: Processing buffer {"connection_id":191092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:19:50] local.INFO: IMEI packet received {"connection_id":191092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":191092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:19:51] local.INFO: TCP Data received {"connection_id":191092,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d229adf0012d1b738007258620002e00312a..."} 
[2026-09-24 12:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d229adf0012d1b738007258620002e00312a..."} 
[2026-09-24 12:19:51] local.INFO: Processing buffer {"connection_id":191092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d229adf0012d1b738007258620002e00312a..."} 
[2026-09-24 12:19:51] local.INFO: Packet analysis {"connection_id":191092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:19:51] local.INFO: Extracted packet for processing {"connection_id":191092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:19:51] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":42,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299474176001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790232342000,"timestamp_ms":1790232342000,"timestamp_seconds":1790232342,"priority":1,"record_length":96,"hex_timestamp":"000001a0d229adf0"} 
[2026-09-24 12:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 12:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299474176001,"66":12406,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299474176001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:19:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:19:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299474176001,"power":12406,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":191092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:19:51] local.INFO: GPS data processed {"connection_id":191092,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:19:51] local.INFO: Acknowledgment sent {"connection_id":191092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:19:52] local.INFO: TCP Data received {"connection_id":191092,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d229fff8012d1b738007258620002e003127..."} 
[2026-09-24 12:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d229fff8012d1b738007258620002e003127..."} 
[2026-09-24 12:19:52] local.INFO: Processing buffer {"connection_id":191092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d229fff8012d1b738007258620002e003127..."} 
[2026-09-24 12:19:52] local.INFO: Packet analysis {"connection_id":191092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:19:52] local.INFO: Extracted packet for processing {"connection_id":191092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:19:52] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":39,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299479552001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790232363000,"timestamp_ms":1790232363000,"timestamp_seconds":1790232363,"priority":1,"record_length":96,"hex_timestamp":"000001a0d229fff8"} 
[2026-09-24 12:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 12:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299479552001,"66":12461,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299479552001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:19:52] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:19:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299479552001,"power":12461,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":191092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:19:52] local.INFO: GPS data processed {"connection_id":191092,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:19:52] local.INFO: Acknowledgment sent {"connection_id":191092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:20:23] local.INFO: TCP Data received {"connection_id":191092,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22a5200012d1b738007258620002e003128..."} 
[2026-09-24 12:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22a5200012d1b738007258620002e003128..."} 
[2026-09-24 12:20:23] local.INFO: Processing buffer {"connection_id":191092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22a5200012d1b738007258620002e003128..."} 
[2026-09-24 12:20:23] local.INFO: Packet analysis {"connection_id":191092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d22a"} 
[2026-09-24 12:20:23] local.INFO: Extracted packet for processing {"connection_id":191092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d22a"} 
[2026-09-24 12:20:23] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":40,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299484928001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790232384000,"timestamp_ms":1790232384000,"timestamp_seconds":1790232384,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22a5200"} 
[2026-09-24 12:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 12:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299484928001,"66":12461,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299484928001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:20:23] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:20:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299484928001,"power":12461,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":191092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:20:23] local.INFO: GPS data processed {"connection_id":191092,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:20:23] local.INFO: Acknowledgment sent {"connection_id":191092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:20:29] local.INFO: TCP Data received {"connection_id":192663,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:20:29] local.INFO: Processing buffer {"connection_id":192663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:20:29] local.INFO: IMEI packet received {"connection_id":192663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":192663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:20:34] local.INFO: TCP Data received {"connection_id":192663,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:20:34] local.INFO: Processing buffer {"connection_id":192663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:20:34] local.INFO: IMEI packet received {"connection_id":192663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":192663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:20:34] local.INFO: TCP Data received {"connection_id":192663,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:20:34] local.INFO: Processing buffer {"connection_id":192663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:20:34] local.INFO: Packet analysis {"connection_id":192663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:20:34] local.INFO: Extracted packet for processing {"connection_id":192663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:20:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299400960001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790232336000,"timestamp_ms":1790232336000,"timestamp_seconds":1790232336,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2299680"} 
[2026-09-24 12:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299400960001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299400960001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:20:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:20:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299400960001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":192663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:20:34] local.INFO: GPS data processed {"connection_id":192663,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:20:34] local.INFO: Acknowledgment sent {"connection_id":192663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:20:45] local.INFO: TCP Data received {"connection_id":193947,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:20:45] local.INFO: Processing buffer {"connection_id":193947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:20:45] local.INFO: IMEI packet received {"connection_id":193947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":193947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:20:50] local.INFO: TCP Data received {"connection_id":193947,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:20:50] local.INFO: Processing buffer {"connection_id":193947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:20:50] local.INFO: IMEI packet received {"connection_id":193947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":193947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:20:51] local.INFO: TCP Data received {"connection_id":193947,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22aa408012d1b738007258620002e003128..."} 
[2026-09-24 12:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22aa408012d1b738007258620002e003128..."} 
[2026-09-24 12:20:51] local.INFO: Processing buffer {"connection_id":193947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22aa408012d1b738007258620002e003128..."} 
[2026-09-24 12:20:51] local.INFO: Packet analysis {"connection_id":193947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d22a"} 
[2026-09-24 12:20:51] local.INFO: Extracted packet for processing {"connection_id":193947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d22a"} 
[2026-09-24 12:20:51] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":40,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299490304001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790232405000,"timestamp_ms":1790232405000,"timestamp_seconds":1790232405,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22aa408"} 
[2026-09-24 12:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 12:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299490304001,"66":12428,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299490304001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:20:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:20:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299490304001,"power":12428,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":193947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:20:51] local.INFO: GPS data processed {"connection_id":193947,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:20:51] local.INFO: Acknowledgment sent {"connection_id":193947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:20:54] local.INFO: TCP Data received {"connection_id":193947,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22af610012d1b738007258620002e00312a..."} 
[2026-09-24 12:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22af610012d1b738007258620002e00312a..."} 
[2026-09-24 12:20:54] local.INFO: Processing buffer {"connection_id":193947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22af610012d1b738007258620002e00312a..."} 
[2026-09-24 12:20:54] local.INFO: Packet analysis {"connection_id":193947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d22a"} 
[2026-09-24 12:20:54] local.INFO: Extracted packet for processing {"connection_id":193947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d22a"} 
[2026-09-24 12:20:54] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":42,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299495680001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790232426000,"timestamp_ms":1790232426000,"timestamp_seconds":1790232426,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22af610"} 
[2026-09-24 12:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 12:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":193947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":193947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":193947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299495680001,"66":12428,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299495680001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:20:54] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:20:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299495680001,"power":12428,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":193947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:20:54] local.INFO: GPS data processed {"connection_id":193947,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:20:54] local.INFO: Acknowledgment sent {"connection_id":193947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:21:06] local.INFO: TCP Data received {"connection_id":192663,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:21:06] local.INFO: Processing buffer {"connection_id":192663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2299680012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:21:06] local.INFO: Packet analysis {"connection_id":192663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:21:06] local.INFO: Extracted packet for processing {"connection_id":192663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d229"} 
[2026-09-24 12:21:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299400960001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790232336000,"timestamp_ms":1790232336000,"timestamp_seconds":1790232336,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2299680"} 
[2026-09-24 12:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299400960001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299400960001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:21:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:21:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299400960001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":192663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:21:06] local.INFO: GPS data processed {"connection_id":192663,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:21:06] local.INFO: Acknowledgment sent {"connection_id":192663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:21:25] local.INFO: TCP Data received {"connection_id":193947,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22b4818012d1b738007258620002e003129..."} 
[2026-09-24 12:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22b4818012d1b738007258620002e003129..."} 
[2026-09-24 12:21:25] local.INFO: Processing buffer {"connection_id":193947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22b4818012d1b738007258620002e003129..."} 
[2026-09-24 12:21:25] local.INFO: Packet analysis {"connection_id":193947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d22b"} 
[2026-09-24 12:21:25] local.INFO: Extracted packet for processing {"connection_id":193947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d22b"} 
[2026-09-24 12:21:25] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299501056001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790232447000,"timestamp_ms":1790232447000,"timestamp_seconds":1790232447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22b4818"} 
[2026-09-24 12:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 12:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":193947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":193947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":193947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299501056001,"66":12428,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299501056001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:21:25] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:21:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299501056001,"power":12428,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":193947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:21:25] local.INFO: GPS data processed {"connection_id":193947,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:21:25] local.INFO: Acknowledgment sent {"connection_id":193947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:21:28] local.INFO: TCP Data received {"connection_id":191093,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:21:28] local.INFO: Processing buffer {"connection_id":191093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:21:28] local.INFO: IMEI packet received {"connection_id":191093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":191093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:21:33] local.INFO: TCP Data received {"connection_id":191093,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:21:33] local.INFO: Processing buffer {"connection_id":191093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:21:33] local.INFO: IMEI packet received {"connection_id":191093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":191093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:21:35] local.INFO: TCP Data received {"connection_id":191093,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:21:35] local.INFO: Processing buffer {"connection_id":191093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:21:35] local.INFO: Packet analysis {"connection_id":191093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d22e"} 
[2026-09-24 12:21:35] local.INFO: Extracted packet for processing {"connection_id":191093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d22e"} 
[2026-09-24 12:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299478016001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790232637000,"timestamp_ms":1790232637000,"timestamp_seconds":1790232637,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22e2e48"} 
[2026-09-24 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-09-24 12:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:21:35] 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-09-24 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-09-24 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-09-24 12:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299478016001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299478016001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:21:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:21:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299478016001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":191093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:21:35] local.INFO: GPS data processed {"connection_id":191093,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:21:35] local.INFO: Acknowledgment sent {"connection_id":191093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:21:45] local.INFO: TCP Data received {"connection_id":193948,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:21:45] local.INFO: Processing buffer {"connection_id":193948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:21:45] local.INFO: IMEI packet received {"connection_id":193948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":193948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:21:50] local.INFO: TCP Data received {"connection_id":193948,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:21:50] local.INFO: Processing buffer {"connection_id":193948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:21:50] local.INFO: IMEI packet received {"connection_id":193948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":193948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:21:51] local.INFO: TCP Data received {"connection_id":193948,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22b9a20012d1b738007258620002e003128..."} 
[2026-09-24 12:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22b9a20012d1b738007258620002e003128..."} 
[2026-09-24 12:21:51] local.INFO: Processing buffer {"connection_id":193948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22b9a20012d1b738007258620002e003128..."} 
[2026-09-24 12:21:51] local.INFO: Packet analysis {"connection_id":193948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d22b"} 
[2026-09-24 12:21:51] local.INFO: Extracted packet for processing {"connection_id":193948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d22b"} 
[2026-09-24 12:21:51] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":40,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:21: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-09-24 12:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299506432001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790232468000,"timestamp_ms":1790232468000,"timestamp_seconds":1790232468,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22b9a20"} 
[2026-09-24 12:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 12:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:21: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-09-24 12:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299506432001,"66":12385,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299506432001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:21:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:21:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299506432001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":193948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:21:51] local.INFO: GPS data processed {"connection_id":193948,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:21:51] local.INFO: Acknowledgment sent {"connection_id":193948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:22:06] local.INFO: TCP Data received {"connection_id":191093,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:22:06] local.INFO: Processing buffer {"connection_id":191093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:22:06] local.INFO: Packet analysis {"connection_id":191093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d22e"} 
[2026-09-24 12:22:06] local.INFO: Extracted packet for processing {"connection_id":191093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d22e"} 
[2026-09-24 12:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299478016001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790232637000,"timestamp_ms":1790232637000,"timestamp_seconds":1790232637,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22e2e48"} 
[2026-09-24 12:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299478016001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299478016001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:22:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299478016001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":191093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:22:06] local.INFO: GPS data processed {"connection_id":191093,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:22:06] local.INFO: Acknowledgment sent {"connection_id":191093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:22:22] local.INFO: TCP Data received {"connection_id":193948,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22bec28012d1b738007258620002e00312a..."} 
[2026-09-24 12:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22bec28012d1b738007258620002e00312a..."} 
[2026-09-24 12:22:22] local.INFO: Processing buffer {"connection_id":193948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22bec28012d1b738007258620002e00312a..."} 
[2026-09-24 12:22:22] local.INFO: Packet analysis {"connection_id":193948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d22b"} 
[2026-09-24 12:22:22] local.INFO: Extracted packet for processing {"connection_id":193948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d22b"} 
[2026-09-24 12:22:22] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":42,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299511808001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790232489000,"timestamp_ms":1790232489000,"timestamp_seconds":1790232489,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22bec28"} 
[2026-09-24 12:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 12:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299511808001,"66":12406,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299511808001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:22:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:22:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299511808001,"power":12406,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":193948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:22:22] local.INFO: GPS data processed {"connection_id":193948,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:22:22] local.INFO: Acknowledgment sent {"connection_id":193948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:22:28] local.INFO: TCP Data received {"connection_id":191283,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:22:28] local.INFO: Processing buffer {"connection_id":191283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:22:28] local.INFO: IMEI packet received {"connection_id":191283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":191283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:22:34] local.INFO: TCP Data received {"connection_id":191283,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:22:34] local.INFO: Processing buffer {"connection_id":191283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:22:34] local.INFO: IMEI packet received {"connection_id":191283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":191283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:22:34] local.INFO: TCP Data received {"connection_id":191283,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:22:34] local.INFO: Processing buffer {"connection_id":191283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:22:34] local.INFO: Packet analysis {"connection_id":191283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d22e"} 
[2026-09-24 12:22:34] local.INFO: Extracted packet for processing {"connection_id":191283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d22e"} 
[2026-09-24 12:22:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299478016001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790232637000,"timestamp_ms":1790232637000,"timestamp_seconds":1790232637,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22e2e48"} 
[2026-09-24 12:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:22:34] 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-09-24 12:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299478016001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299478016001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:22:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:22:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299478016001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":191283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:22:35] local.INFO: GPS data processed {"connection_id":191283,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:22:35] local.INFO: Acknowledgment sent {"connection_id":191283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:22:45] local.INFO: TCP Data received {"connection_id":192664,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:22:45] local.INFO: Processing buffer {"connection_id":192664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:22:45] local.INFO: IMEI packet received {"connection_id":192664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":192664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:22:50] local.INFO: TCP Data received {"connection_id":192664,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:22:50] local.INFO: Processing buffer {"connection_id":192664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:22:50] local.INFO: IMEI packet received {"connection_id":192664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":192664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:22:51] local.INFO: TCP Data received {"connection_id":192664,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22c3e30012d1b738007258620002e003126..."} 
[2026-09-24 12:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22c3e30012d1b738007258620002e003126..."} 
[2026-09-24 12:22:51] local.INFO: Processing buffer {"connection_id":192664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22c3e30012d1b738007258620002e003126..."} 
[2026-09-24 12:22:51] local.INFO: Packet analysis {"connection_id":192664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d22c"} 
[2026-09-24 12:22:51] local.INFO: Extracted packet for processing {"connection_id":192664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d22c"} 
[2026-09-24 12:22:51] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":38,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299517184001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790232510000,"timestamp_ms":1790232510000,"timestamp_seconds":1790232510,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22c3e30"} 
[2026-09-24 12:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 12:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299517184001,"66":12341,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299517184001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:22:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:22:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299517184001,"power":12341,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":192664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:22:51] local.INFO: GPS data processed {"connection_id":192664,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:22:51] local.INFO: Acknowledgment sent {"connection_id":192664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:23:06] local.INFO: TCP Data received {"connection_id":191283,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:23:06] local.INFO: Processing buffer {"connection_id":191283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:23:06] local.INFO: Packet analysis {"connection_id":191283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d22e"} 
[2026-09-24 12:23:06] local.INFO: Extracted packet for processing {"connection_id":191283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d22e"} 
[2026-09-24 12:23:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299478016001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790232637000,"timestamp_ms":1790232637000,"timestamp_seconds":1790232637,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22e2e48"} 
[2026-09-24 12:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299478016001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299478016001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:23:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:23:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299478016001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":191283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:23:06] local.INFO: GPS data processed {"connection_id":191283,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:23:06] local.INFO: Acknowledgment sent {"connection_id":191283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:23:22] local.INFO: TCP Data received {"connection_id":192664,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22c9038012d1b738007258620002e003129..."} 
[2026-09-24 12:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22c9038012d1b738007258620002e003129..."} 
[2026-09-24 12:23:22] local.INFO: Processing buffer {"connection_id":192664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22c9038012d1b738007258620002e003129..."} 
[2026-09-24 12:23:22] local.INFO: Packet analysis {"connection_id":192664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d22c"} 
[2026-09-24 12:23:22] local.INFO: Extracted packet for processing {"connection_id":192664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d22c"} 
[2026-09-24 12:23:22] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":41,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:23: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-09-24 12:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299522560001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790232531000,"timestamp_ms":1790232531000,"timestamp_seconds":1790232531,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22c9038"} 
[2026-09-24 12:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 12:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:23: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-09-24 12:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299522560001,"66":12385,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299522560001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:23:22] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:23:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299522560001,"power":12385,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":192664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:23:22] local.INFO: GPS data processed {"connection_id":192664,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:23:22] local.INFO: Acknowledgment sent {"connection_id":192664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:23:28] local.INFO: TCP Data received {"connection_id":191094,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:23:28] local.INFO: Processing buffer {"connection_id":191094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:23:28] local.INFO: IMEI packet received {"connection_id":191094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":191094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:23:34] local.INFO: TCP Data received {"connection_id":191094,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:23:34] local.INFO: Processing buffer {"connection_id":191094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:23:34] local.INFO: IMEI packet received {"connection_id":191094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":191094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:23:35] local.INFO: TCP Data received {"connection_id":191094,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:23:35] local.INFO: Processing buffer {"connection_id":191094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:23:35] local.INFO: Packet analysis {"connection_id":191094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d22e"} 
[2026-09-24 12:23:35] local.INFO: Extracted packet for processing {"connection_id":191094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d22e"} 
[2026-09-24 12:23:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299478016001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790232637000,"timestamp_ms":1790232637000,"timestamp_seconds":1790232637,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22e2e48"} 
[2026-09-24 12:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:23:35] 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-09-24 12:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299478016001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299478016001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:23:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:23:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299478016001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":191094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:23:35] local.INFO: GPS data processed {"connection_id":191094,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:23:35] local.INFO: Acknowledgment sent {"connection_id":191094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:23:45] local.INFO: TCP Data received {"connection_id":193949,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:23:45] local.INFO: Processing buffer {"connection_id":193949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:23:45] local.INFO: IMEI packet received {"connection_id":193949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":193949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:23:50] local.INFO: TCP Data received {"connection_id":193949,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:23:50] local.INFO: Processing buffer {"connection_id":193949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:23:50] local.INFO: IMEI packet received {"connection_id":193949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":193949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:23:51] local.INFO: TCP Data received {"connection_id":193949,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22ce240012d1b738007258620002e00312a..."} 
[2026-09-24 12:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22ce240012d1b738007258620002e00312a..."} 
[2026-09-24 12:23:51] local.INFO: Processing buffer {"connection_id":193949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22ce240012d1b738007258620002e00312a..."} 
[2026-09-24 12:23:51] local.INFO: Packet analysis {"connection_id":193949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d22c"} 
[2026-09-24 12:23:51] local.INFO: Extracted packet for processing {"connection_id":193949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d22c"} 
[2026-09-24 12:23:51] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899680,"longitude_deg":75.677376,"latitude_deg":11.989968,"altitude":46,"angle":49,"satellites":42,"speed":0,"hex_longitude":"2d1b7380","hex_latitude":"07258620","is_valid_coordinates":true} 
[2026-09-24 12:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299527936001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855724300238848,"note":"Value kept but may cause issues"} 
[2026-09-24 12:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528453120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790232552000,"timestamp_ms":1790232552000,"timestamp_seconds":1790232552,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22ce240"} 
[2026-09-24 12:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 12:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299527936001,"66":12341,"216":206,"83":42752,"24":0,"16":22855724300238848,"45":1978065429528453120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299527936001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:23:51] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:23:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855724300238848,"km_value":22855724300238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528453120,"description":"Unknown IO ID 45"} 
[2026-09-24 12:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299527936001,"power":12341,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978065429528453120}} 
[2026-09-24 12:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":193949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:23:51] local.INFO: GPS data processed {"connection_id":193949,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:23:51] local.INFO: Acknowledgment sent {"connection_id":193949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:24:07] local.INFO: TCP Data received {"connection_id":191094,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:24:07] local.INFO: Processing buffer {"connection_id":191094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:24:07] local.INFO: Packet analysis {"connection_id":191094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d22e"} 
[2026-09-24 12:24:07] local.INFO: Extracted packet for processing {"connection_id":191094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d22e"} 
[2026-09-24 12:24:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299478016001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790232637000,"timestamp_ms":1790232637000,"timestamp_seconds":1790232637,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22e2e48"} 
[2026-09-24 12:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:24:07] 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-09-24 12:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299478016001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299478016001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:24:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:24:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299478016001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":191094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:24:07] local.INFO: GPS data processed {"connection_id":191094,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:24:07] local.INFO: Acknowledgment sent {"connection_id":191094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:24:23] local.INFO: TCP Data received {"connection_id":193949,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d230d210012d1b724007258678002600ec27..."} 
[2026-09-24 12:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d230d210012d1b724007258678002600ec27..."} 
[2026-09-24 12:24:23] local.INFO: Processing buffer {"connection_id":193949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d230d210012d1b724007258678002600ec27..."} 
[2026-09-24 12:24:23] local.INFO: Packet analysis {"connection_id":193949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d230"} 
[2026-09-24 12:24:23] local.INFO: Extracted packet for processing {"connection_id":193949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d230"} 
[2026-09-24 12:24:23] local.INFO: GPS Element Parsed {"raw_longitude":756773440,"raw_latitude":119899768,"longitude_deg":75.677344,"latitude_deg":11.9899768,"altitude":38,"angle":236,"satellites":39,"speed":4,"hex_longitude":"2d1b7240","hex_latitude":"07258678","is_valid_coordinates":true} 
[2026-09-24 12:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299599104001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855741480108032,"note":"Value kept but may cause issues"} 
[2026-09-24 12:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977783954551779328,"note":"Value kept but may cause issues"} 
[2026-09-24 12:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790232810000,"timestamp_ms":1790232810000,"timestamp_seconds":1790232810,"priority":1,"record_length":96,"hex_timestamp":"000001a0d230d210"} 
[2026-09-24 12:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-24 12:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":193949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":193949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":193949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299599104001,"66":14113,"216":206,"83":42752,"24":4,"16":22855741480108032,"45":1977783954551779328},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299599104001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:24:23] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:24:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855741480108032,"km_value":22855741480108.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977783954551779328,"description":"Unknown IO ID 45"} 
[2026-09-24 12:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299599104001,"power":14113,"unknown_216":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1977783954551779328}} 
[2026-09-24 12:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":193949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:24:23] local.INFO: GPS data processed {"connection_id":193949,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:24:23] local.INFO: Acknowledgment sent {"connection_id":193949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:24:33] local.INFO: TCP Data received {"connection_id":191095,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:24:33] local.INFO: Processing buffer {"connection_id":191095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:24:33] local.INFO: IMEI packet received {"connection_id":191095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":191095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:24:38] local.INFO: TCP Data received {"connection_id":191095,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:24:38] local.INFO: Processing buffer {"connection_id":191095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:24:38] local.INFO: IMEI packet received {"connection_id":191095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":191095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:24:39] local.INFO: TCP Data received {"connection_id":191095,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:24:39] local.INFO: Processing buffer {"connection_id":191095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:24:39] local.INFO: Packet analysis {"connection_id":191095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d22e"} 
[2026-09-24 12:24:39] local.INFO: Extracted packet for processing {"connection_id":191095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d22e"} 
[2026-09-24 12:24:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299478016001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790232637000,"timestamp_ms":1790232637000,"timestamp_seconds":1790232637,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22e2e48"} 
[2026-09-24 12:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:24:39] 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-09-24 12:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299478016001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299478016001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:24:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:24:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299478016001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":191095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:24:40] local.INFO: GPS data processed {"connection_id":191095,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:24:40] local.INFO: Acknowledgment sent {"connection_id":191095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:24:44] local.INFO: TCP Data received {"connection_id":191095,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:24:44] local.INFO: Processing buffer {"connection_id":191095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:24:44] local.INFO: Packet analysis {"connection_id":191095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d22e"} 
[2026-09-24 12:24:44] local.INFO: Extracted packet for processing {"connection_id":191095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d22e"} 
[2026-09-24 12:24:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299478016001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790232637000,"timestamp_ms":1790232637000,"timestamp_seconds":1790232637,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22e2e48"} 
[2026-09-24 12:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:24:44] 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-09-24 12:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299478016001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299478016001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:24:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:24:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299478016001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":191095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:24:44] local.INFO: GPS data processed {"connection_id":191095,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:24:44] local.INFO: Acknowledgment sent {"connection_id":191095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:24:45] local.INFO: TCP Data received {"connection_id":191096,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:24:45] local.INFO: Processing buffer {"connection_id":191096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:24:45] local.INFO: IMEI packet received {"connection_id":191096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":191096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:24:52] local.INFO: TCP Data received {"connection_id":191096,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:24:52] local.INFO: Processing buffer {"connection_id":191096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:24:52] local.INFO: IMEI packet received {"connection_id":191096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":191096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:24:52] local.INFO: TCP Data received {"connection_id":191096,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:24:52] local.INFO: Processing buffer {"connection_id":191096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:24:52] local.INFO: IMEI packet received {"connection_id":191096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":191096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:24:56] local.INFO: TCP Data received {"connection_id":191096,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d230d5f8012d1b720007258608002600c828..."} 
[2026-09-24 12:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d230d5f8012d1b720007258608002600c828..."} 
[2026-09-24 12:24:56] local.INFO: Processing buffer {"connection_id":191096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d230d5f8012d1b720007258608002600c828..."} 
[2026-09-24 12:24:56] local.INFO: Packet analysis {"connection_id":191096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d230"} 
[2026-09-24 12:24:56] local.INFO: Extracted packet for processing {"connection_id":191096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d230"} 
[2026-09-24 12:24:56] local.INFO: GPS Element Parsed {"raw_longitude":756773376,"raw_latitude":119899656,"longitude_deg":75.6773376,"latitude_deg":11.9899656,"altitude":38,"angle":200,"satellites":40,"speed":6,"hex_longitude":"2d1b7200","hex_latitude":"07258608","is_valid_coordinates":true} 
[2026-09-24 12:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299599360001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855750070042624,"note":"Value kept but may cause issues"} 
[2026-09-24 12:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977713585807587328,"note":"Value kept but may cause issues"} 
[2026-09-24 12:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790232811000,"timestamp_ms":1790232811000,"timestamp_seconds":1790232811,"priority":1,"record_length":96,"hex_timestamp":"000001a0d230d5f8"} 
[2026-09-24 12:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-24 12:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":191096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":191096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":191096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299599360001,"66":14113,"216":206,"83":42752,"24":6,"16":22855750070042624,"45":1977713585807587328},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299599360001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:24:56] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:24:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855750070042624,"km_value":22855750070042.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977713585807587328,"description":"Unknown IO ID 45"} 
[2026-09-24 12:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299599360001,"power":14113,"unknown_216":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1977713585807587328}} 
[2026-09-24 12:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":191096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:24:56] local.INFO: GPS data processed {"connection_id":191096,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:24:56] local.INFO: Acknowledgment sent {"connection_id":191096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:24:58] local.INFO: TCP Data received {"connection_id":191096,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d230d9e0012d1b720007258558002600b928..."} 
[2026-09-24 12:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d230d9e0012d1b720007258558002600b928..."} 
[2026-09-24 12:24:58] local.INFO: Processing buffer {"connection_id":191096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d230d9e0012d1b720007258558002600b928..."} 
[2026-09-24 12:24:58] local.INFO: Packet analysis {"connection_id":191096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d230"} 
[2026-09-24 12:24:58] local.INFO: Extracted packet for processing {"connection_id":191096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d230"} 
[2026-09-24 12:24:58] local.INFO: GPS Element Parsed {"raw_longitude":756773376,"raw_latitude":119899480,"longitude_deg":75.6773376,"latitude_deg":11.989948,"altitude":38,"angle":185,"satellites":40,"speed":7,"hex_longitude":"2d1b7200","hex_latitude":"07258558","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299599616001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22855754365009920,"note":"Value kept but may cause issues"} 
[2026-09-24 12:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977643217063380992,"note":"Value kept but may cause issues"} 
[2026-09-24 12:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790232812000,"timestamp_ms":1790232812000,"timestamp_seconds":1790232812,"priority":1,"record_length":96,"hex_timestamp":"000001a0d230d9e0"} 
[2026-09-24 12:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-24 12:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":191096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":191096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":191096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299599616001,"66":13656,"216":206,"83":42752,"24":7,"16":22855754365009920,"45":1977643217063380992},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299599616001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:24:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:24:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22855754365009920,"km_value":22855754365009.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977643217063380992,"description":"Unknown IO ID 45"} 
[2026-09-24 12:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299599616001,"power":13656,"unknown_216":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1977643217063380992}} 
[2026-09-24 12:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":191096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:24:58] local.INFO: GPS data processed {"connection_id":191096,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:24:58] local.INFO: Acknowledgment sent {"connection_id":191096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:25:29] local.INFO: TCP Data received {"connection_id":191284,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:25:29] local.INFO: Processing buffer {"connection_id":191284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:25:29] local.INFO: IMEI packet received {"connection_id":191284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":191284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:25:30] local.INFO: TCP Data received {"connection_id":191096,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2312800012d1b6d4007256228002900c029..."} 
[2026-09-24 12:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2312800012d1b6d4007256228002900c029..."} 
[2026-09-24 12:25:30] local.INFO: Processing buffer {"connection_id":191096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2312800012d1b6d4007256228002900c029..."} 
[2026-09-24 12:25:30] local.INFO: Packet analysis {"connection_id":191096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d231"} 
[2026-09-24 12:25:30] local.INFO: Extracted packet for processing {"connection_id":191096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d231"} 
[2026-09-24 12:25:30] local.INFO: GPS Element Parsed {"raw_longitude":756772160,"raw_latitude":119890472,"longitude_deg":75.677216,"latitude_deg":11.9890472,"altitude":41,"angle":192,"satellites":41,"speed":18,"hex_longitude":"2d1b6d40","hex_latitude":"07256228","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299599872001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22856201041608704,"note":"Value kept but may cause issues"} 
[2026-09-24 12:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977643217063335936,"note":"Value kept but may cause issues"} 
[2026-09-24 12:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790232832000,"timestamp_ms":1790232832000,"timestamp_seconds":1790232832,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2312800"} 
[2026-09-24 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-09-24 12:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-24 12:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 12:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":191096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":191096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":191096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299599872001,"66":14157,"216":206,"83":42752,"24":18,"16":22856201041608704,"45":1977643217063335936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299599872001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:25:30] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:25:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22856201041608704,"km_value":22856201041608.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977643217063335936,"description":"Unknown IO ID 45"} 
[2026-09-24 12:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299599872001,"power":14157,"unknown_216":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1977643217063335936}} 
[2026-09-24 12:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":191096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:25:30] local.INFO: GPS data processed {"connection_id":191096,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:25:30] local.INFO: Acknowledgment sent {"connection_id":191096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:25:34] local.INFO: TCP Data received {"connection_id":191284,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:25:34] local.INFO: Processing buffer {"connection_id":191284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:25:34] local.INFO: IMEI packet received {"connection_id":191284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":191284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:25:34] local.INFO: TCP Data received {"connection_id":191284,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:25:34] local.INFO: Processing buffer {"connection_id":191284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:25:34] local.INFO: Packet analysis {"connection_id":191284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d22e"} 
[2026-09-24 12:25:34] local.INFO: Extracted packet for processing {"connection_id":191284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d22e"} 
[2026-09-24 12:25:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299478016001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790232637000,"timestamp_ms":1790232637000,"timestamp_seconds":1790232637,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22e2e48"} 
[2026-09-24 12:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:25:34] 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-09-24 12:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299478016001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299478016001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:25:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:25:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299478016001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":191284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:25:34] local.INFO: GPS data processed {"connection_id":191284,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:25:34] local.INFO: Acknowledgment sent {"connection_id":191284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:25:37] local.INFO: TCP Data received {"connection_id":193950,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:25:37] local.INFO: Processing buffer {"connection_id":193950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:25:37] local.INFO: IMEI packet received {"connection_id":193950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 12:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":193950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:25:46] local.INFO: TCP Data received {"connection_id":192665,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:25:46] local.INFO: Processing buffer {"connection_id":192665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:25:46] local.INFO: IMEI packet received {"connection_id":192665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":192665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:26:06] local.INFO: TCP Data received {"connection_id":191284,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:26:06] local.INFO: Processing buffer {"connection_id":191284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d22e2e48012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:26:06] local.INFO: Packet analysis {"connection_id":191284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d22e"} 
[2026-09-24 12:26:06] local.INFO: Extracted packet for processing {"connection_id":191284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d22e"} 
[2026-09-24 12:26:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299478016001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790232637000,"timestamp_ms":1790232637000,"timestamp_seconds":1790232637,"priority":1,"record_length":96,"hex_timestamp":"000001a0d22e2e48"} 
[2026-09-24 12:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299478016001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299478016001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:26:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:26:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299478016001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":191284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:26:06] local.INFO: GPS data processed {"connection_id":191284,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:26:06] local.INFO: Acknowledgment sent {"connection_id":191284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:26:07] local.INFO: TCP Data received {"connection_id":192665,"ip":"42.106.6.21","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-24 12:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192665,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-24 12:26:07] local.INFO: Processing buffer {"connection_id":192665,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-24 12:26:07] local.INFO: IMEI packet received {"connection_id":192665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":192665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:26:09] local.INFO: TCP Data received {"connection_id":192665,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2316a68012d1b658007254008002600bf2a..."} 
[2026-09-24 12:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2316a68012d1b658007254008002600bf2a..."} 
[2026-09-24 12:26:09] local.INFO: Processing buffer {"connection_id":192665,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0d2..."} 
[2026-09-24 12:26:09] local.INFO: IMEI packet received {"connection_id":192665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":192665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:26:10] local.INFO: TCP Data received {"connection_id":192665,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d231a118012d1b5dc007251e20002500bc2a..."} 
[2026-09-24 12:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d231a118012d1b5dc007251e20002500bc2a..."} 
[2026-09-24 12:26:10] local.INFO: Processing buffer {"connection_id":192665,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0d2316a68012d1b658007254008002600bf2a..."} 
[2026-09-24 12:26:10] local.INFO: Packet analysis {"connection_id":192665,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d231"} 
[2026-09-24 12:26:10] local.INFO: Extracted packet for processing {"connection_id":192665,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d231"} 
[2026-09-24 12:26:10] local.INFO: GPS Element Parsed {"raw_longitude":756770176,"raw_latitude":119881736,"longitude_deg":75.6770176,"latitude_deg":11.9881736,"altitude":38,"angle":191,"satellites":42,"speed":26,"hex_longitude":"2d1b6580","hex_latitude":"07254008","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299604992001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22856634833305600,"note":"Value kept but may cause issues"} 
[2026-09-24 12:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976306210921654272,"note":"Value kept but may cause issues"} 
[2026-09-24 12:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790232849000,"timestamp_ms":1790232849000,"timestamp_seconds":1790232849,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2316a68"} 
[2026-09-24 12:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-24 12:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299604992001,"66":14211,"216":206,"83":42752,"24":26,"16":22856634833305600,"45":1976306210921654272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299604992001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:26:10] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:26:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22856634833305600,"km_value":22856634833305.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976306210921654272,"description":"Unknown IO ID 45"} 
[2026-09-24 12:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299604992001,"power":14211,"unknown_216":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":1976306210921654272}} 
[2026-09-24 12:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":192665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:26:10] local.INFO: GPS data processed {"connection_id":192665,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:26:10] local.INFO: Acknowledgment sent {"connection_id":192665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:26:10] local.INFO: Packet analysis {"connection_id":192665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d231"} 
[2026-09-24 12:26:10] local.INFO: Extracted packet for processing {"connection_id":192665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d231"} 
[2026-09-24 12:26:10] local.INFO: GPS Element Parsed {"raw_longitude":756768192,"raw_latitude":119873056,"longitude_deg":75.6768192,"latitude_deg":11.9873056,"altitude":37,"angle":188,"satellites":42,"speed":24,"hex_longitude":"2d1b5dc0","hex_latitude":"07251e20","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299609344001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22857064330035200,"note":"Value kept but may cause issues"} 
[2026-09-24 12:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974124779849910272,"note":"Value kept but may cause issues"} 
[2026-09-24 12:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790232863000,"timestamp_ms":1790232863000,"timestamp_seconds":1790232863,"priority":1,"record_length":96,"hex_timestamp":"000001a0d231a118"} 
[2026-09-24 12:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-24 12:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299609344001,"66":14157,"216":206,"83":42752,"24":24,"16":22857064330035200,"45":1974124779849910272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299609344001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:26:10] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:26:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22857064330035200,"km_value":22857064330035.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974124779849910272,"description":"Unknown IO ID 45"} 
[2026-09-24 12:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299609344001,"power":14157,"unknown_216":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1974124779849910272}} 
[2026-09-24 12:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":192665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:26:10] local.INFO: GPS data processed {"connection_id":192665,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:26:10] local.INFO: Acknowledgment sent {"connection_id":192665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:26:11] local.INFO: TCP Data received {"connection_id":192665,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d231e768012d1b58c00724fe58002900af29..."} 
[2026-09-24 12:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d231e768012d1b58c00724fe58002900af29..."} 
[2026-09-24 12:26:11] local.INFO: Processing buffer {"connection_id":192665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d231e768012d1b58c00724fe58002900af29..."} 
[2026-09-24 12:26:11] local.INFO: Packet analysis {"connection_id":192665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d231"} 
[2026-09-24 12:26:11] local.INFO: Extracted packet for processing {"connection_id":192665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d231"} 
[2026-09-24 12:26:11] local.INFO: GPS Element Parsed {"raw_longitude":756766912,"raw_latitude":119864920,"longitude_deg":75.6766912,"latitude_deg":11.986492,"altitude":41,"angle":175,"satellites":41,"speed":22,"hex_longitude":"2d1b58c0","hex_latitude":"0724fe58","is_valid_coordinates":true} 
[2026-09-24 12:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299612928001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22857468056961024,"note":"Value kept but may cause issues"} 
[2026-09-24 12:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971943348778180608,"note":"Value kept but may cause issues"} 
[2026-09-24 12:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790232881000,"timestamp_ms":1790232881000,"timestamp_seconds":1790232881,"priority":1,"record_length":96,"hex_timestamp":"000001a0d231e768"} 
[2026-09-24 12:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-24 12:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299612928001,"66":14233,"216":206,"83":42752,"24":22,"16":22857468056961024,"45":1971943348778180608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-24 12:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299612928001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:26:11] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 12:26:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22857468056961024,"km_value":22857468056961.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971943348778180608,"description":"Unknown IO ID 45"} 
[2026-09-24 12:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299612928001,"power":14233,"unknown_216":206,"unknown_83":42752,"ignition":22,"odometer":null,"unknown_45":1971943348778180608}} 
[2026-09-24 12:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":192665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:26:11] local.INFO: GPS data processed {"connection_id":192665,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:26:11] local.INFO: Acknowledgment sent {"connection_id":192665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:26:29] local.INFO: TCP Data received {"connection_id":192667,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:26:29] local.INFO: Processing buffer {"connection_id":192667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:26:29] local.INFO: IMEI packet received {"connection_id":192667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":192667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:26:33] local.INFO: TCP Data received {"connection_id":192667,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:26:33] local.INFO: Processing buffer {"connection_id":192667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:26:33] local.INFO: IMEI packet received {"connection_id":192667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":192667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:26:35] local.INFO: TCP Data received {"connection_id":192667,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:26:35] local.INFO: Processing buffer {"connection_id":192667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:26:35] local.INFO: Packet analysis {"connection_id":192667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:26:35] local.INFO: Extracted packet for processing {"connection_id":192667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:26:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299555072001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790232938000,"timestamp_ms":1790232938000,"timestamp_seconds":1790232938,"priority":1,"record_length":96,"hex_timestamp":"000001a0d232c610"} 
[2026-09-24 12:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 12:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299555072001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299555072001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:26:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:26:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299555072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":192667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:26:35] local.INFO: GPS data processed {"connection_id":192667,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:26:35] local.INFO: Acknowledgment sent {"connection_id":192667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:26:45] local.INFO: TCP Data received {"connection_id":193951,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:26:45] local.INFO: Processing buffer {"connection_id":193951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:26:45] local.INFO: IMEI packet received {"connection_id":193951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":193951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:26:48] local.INFO: TCP Data received {"connection_id":193951,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:26:48] local.INFO: Processing buffer {"connection_id":193951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:26:48] local.INFO: IMEI packet received {"connection_id":193951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":193951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:26:50] local.INFO: TCP Data received {"connection_id":193951,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:26:50] local.INFO: Processing buffer {"connection_id":193951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:26:50] local.INFO: IMEI packet received {"connection_id":193951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":193951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:26:51] local.INFO: TCP Data received {"connection_id":193951,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2321a30012d1b5bc00724daa8002900b82a..."} 
[2026-09-24 12:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2321a30012d1b5bc00724daa8002900b82a..."} 
[2026-09-24 12:26:51] local.INFO: Processing buffer {"connection_id":193951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2321a30012d1b5bc00724daa8002900b82a..."} 
[2026-09-24 12:26:51] local.INFO: Packet analysis {"connection_id":193951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:26:51] local.INFO: Extracted packet for processing {"connection_id":193951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:26:51] local.INFO: GPS Element Parsed {"raw_longitude":756767680,"raw_latitude":119855784,"longitude_deg":75.676768,"latitude_deg":11.9855784,"altitude":41,"angle":184,"satellites":42,"speed":30,"hex_longitude":"2d1b5bc0","hex_latitude":"0724daa8","is_valid_coordinates":true} 
[2026-09-24 12:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299617536001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22857914733559808,"note":"Value kept but may cause issues"} 
[2026-09-24 12:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970535973892544512,"note":"Value kept but may cause issues"} 
[2026-09-24 12:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790232894000,"timestamp_ms":1790232894000,"timestamp_seconds":1790232894,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2321a30"} 
[2026-09-24 12:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-24 12:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299617536001,"66":14048,"136":206,"83":42752,"24":30,"16":22857914733559808,"45":1970535973892544512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-24 12:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299617536001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:26:51] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-24 12:26:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22857914733559808,"km_value":22857914733559.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970535973892544512,"description":"Unknown IO ID 45"} 
[2026-09-24 12:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299617536001,"power":14048,"unknown_136":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1970535973892544512}} 
[2026-09-24 12:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":193951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:26:51] local.INFO: GPS data processed {"connection_id":193951,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:26:51] local.INFO: Acknowledgment sent {"connection_id":193951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:27:06] local.INFO: TCP Data received {"connection_id":192667,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:27:06] local.INFO: Processing buffer {"connection_id":192667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:27:06] local.INFO: Packet analysis {"connection_id":192667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:27:06] local.INFO: Extracted packet for processing {"connection_id":192667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:27:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299555072001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790232938000,"timestamp_ms":1790232938000,"timestamp_seconds":1790232938,"priority":1,"record_length":96,"hex_timestamp":"000001a0d232c610"} 
[2026-09-24 12:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 12:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299555072001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299555072001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:27:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:27:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299555072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":192667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:27:06] local.INFO: GPS data processed {"connection_id":192667,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:27:06] local.INFO: Acknowledgment sent {"connection_id":192667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:27:22] local.INFO: TCP Data received {"connection_id":193951,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2324140012d1b57800724c0d8002700c92a..."} 
[2026-09-24 12:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2324140012d1b57800724c0d8002700c92a..."} 
[2026-09-24 12:27:22] local.INFO: Processing buffer {"connection_id":193951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2324140012d1b57800724c0d8002700c92a..."} 
[2026-09-24 12:27:22] local.INFO: Packet analysis {"connection_id":193951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:27:22] local.INFO: Extracted packet for processing {"connection_id":193951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:27:22] local.INFO: GPS Element Parsed {"raw_longitude":756766592,"raw_latitude":119849176,"longitude_deg":75.6766592,"latitude_deg":11.9849176,"altitude":39,"angle":201,"satellites":42,"speed":24,"hex_longitude":"2d1b5780","hex_latitude":"0724c0d8","is_valid_coordinates":true} 
[2026-09-24 12:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299620864001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22858236856107008,"note":"Value kept but may cause issues"} 
[2026-09-24 12:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971380398820337664,"note":"Value kept but may cause issues"} 
[2026-09-24 12:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790232904000,"timestamp_ms":1790232904000,"timestamp_seconds":1790232904,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2324140"} 
[2026-09-24 12:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-24 12:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299620864001,"66":13906,"136":206,"83":42752,"24":24,"16":22858236856107008,"45":1971380398820337664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-24 12:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299620864001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:27:22] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-24 12:27:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22858236856107008,"km_value":22858236856107.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971380398820337664,"description":"Unknown IO ID 45"} 
[2026-09-24 12:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299620864001,"power":13906,"unknown_136":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1971380398820337664}} 
[2026-09-24 12:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":193951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:27:22] local.INFO: GPS data processed {"connection_id":193951,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:27:22] local.INFO: Acknowledgment sent {"connection_id":193951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:27:28] local.INFO: TCP Data received {"connection_id":193952,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:27:28] local.INFO: Processing buffer {"connection_id":193952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:27:28] local.INFO: IMEI packet received {"connection_id":193952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":193952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:27:33] local.INFO: TCP Data received {"connection_id":193952,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:27:33] local.INFO: Processing buffer {"connection_id":193952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:27:33] local.INFO: IMEI packet received {"connection_id":193952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":193952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:27:35] local.INFO: TCP Data received {"connection_id":193952,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:27:35] local.INFO: Processing buffer {"connection_id":193952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:27:35] local.INFO: Packet analysis {"connection_id":193952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:27:35] local.INFO: Extracted packet for processing {"connection_id":193952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:27:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299555072001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790232938000,"timestamp_ms":1790232938000,"timestamp_seconds":1790232938,"priority":1,"record_length":96,"hex_timestamp":"000001a0d232c610"} 
[2026-09-24 12:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 12:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299555072001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299555072001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:27:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:27:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299555072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":193952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:27:35] local.INFO: GPS data processed {"connection_id":193952,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:27:35] local.INFO: Acknowledgment sent {"connection_id":193952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:27:45] local.INFO: TCP Data received {"connection_id":193953,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:27:45] local.INFO: Processing buffer {"connection_id":193953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:27:45] local.INFO: IMEI packet received {"connection_id":193953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":193953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:27:50] local.INFO: TCP Data received {"connection_id":193953,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:27:50] local.INFO: Processing buffer {"connection_id":193953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:27:50] local.INFO: IMEI packet received {"connection_id":193953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":193953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:27:51] local.INFO: TCP Data received {"connection_id":193953,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23250e0012d1b52c00724b8c0002600d72a..."} 
[2026-09-24 12:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23250e0012d1b52c00724b8c0002600d72a..."} 
[2026-09-24 12:27:51] local.INFO: Processing buffer {"connection_id":193953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23250e0012d1b52c00724b8c0002600d72a..."} 
[2026-09-24 12:27:51] local.INFO: Packet analysis {"connection_id":193953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:27:51] local.INFO: Extracted packet for processing {"connection_id":193953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:27:51] local.INFO: GPS Element Parsed {"raw_longitude":756765376,"raw_latitude":119847104,"longitude_deg":75.6765376,"latitude_deg":11.9847104,"altitude":38,"angle":215,"satellites":42,"speed":21,"hex_longitude":"2d1b52c0","hex_latitude":"0724b8c0","is_valid_coordinates":true} 
[2026-09-24 12:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299623424001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22858357115191296,"note":"Value kept but may cause issues"} 
[2026-09-24 12:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970184130167625728,"note":"Value kept but may cause issues"} 
[2026-09-24 12:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790232908000,"timestamp_ms":1790232908000,"timestamp_seconds":1790232908,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23250e0"} 
[2026-09-24 12:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-24 12:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299623424001,"66":14004,"136":206,"83":42752,"24":21,"16":22858357115191296,"45":1970184130167625728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-24 12:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299623424001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:27:51] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-24 12:27:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22858357115191296,"km_value":22858357115191.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970184130167625728,"description":"Unknown IO ID 45"} 
[2026-09-24 12:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299623424001,"power":14004,"unknown_136":206,"unknown_83":42752,"ignition":21,"odometer":null,"unknown_45":1970184130167625728}} 
[2026-09-24 12:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":193953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:27:51] local.INFO: GPS data processed {"connection_id":193953,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:27:51] local.INFO: Acknowledgment sent {"connection_id":193953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:28:06] local.INFO: TCP Data received {"connection_id":193952,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:28:06] local.INFO: Processing buffer {"connection_id":193952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:28:06] local.INFO: Packet analysis {"connection_id":193952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:28:06] local.INFO: Extracted packet for processing {"connection_id":193952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:28:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299555072001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790232938000,"timestamp_ms":1790232938000,"timestamp_seconds":1790232938,"priority":1,"record_length":96,"hex_timestamp":"000001a0d232c610"} 
[2026-09-24 12:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 12:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299555072001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299555072001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:28:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:28:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299555072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":193952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:28:06] local.INFO: GPS data processed {"connection_id":193952,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:28:06] local.INFO: Acknowledgment sent {"connection_id":193952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:28:22] local.INFO: TCP Data received {"connection_id":193953,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2345480012d1a6d00072407a8002c00ea25..."} 
[2026-09-24 12:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2345480012d1a6d00072407a8002c00ea25..."} 
[2026-09-24 12:28:22] local.INFO: Processing buffer {"connection_id":193953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2345480012d1a6d00072407a8002c00ea25..."} 
[2026-09-24 12:28:22] local.INFO: Packet analysis {"connection_id":193953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d234"} 
[2026-09-24 12:28:22] local.INFO: Extracted packet for processing {"connection_id":193953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d234"} 
[2026-09-24 12:28:22] local.INFO: GPS Element Parsed {"raw_longitude":756706560,"raw_latitude":119801768,"longitude_deg":75.670656,"latitude_deg":11.9801768,"altitude":44,"angle":234,"satellites":37,"speed":30,"hex_longitude":"2d1a6d00","hex_latitude":"072407a8","is_valid_coordinates":true} 
[2026-09-24 12:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299653888001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22861982067589120,"note":"Value kept but may cause issues"} 
[2026-09-24 12:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910652172581998592,"note":"Value kept but may cause issues"} 
[2026-09-24 12:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790233040000,"timestamp_ms":1790233040000,"timestamp_seconds":1790233040,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2345480"} 
[2026-09-24 12:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-24 12:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299653888001,"66":14211,"43":206,"83":42752,"24":30,"16":22861982067589120,"45":1910652172581998592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-24 12:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299653888001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:28:22] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-24 12:28:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22861982067589120,"km_value":22861982067589.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910652172581998592,"description":"Unknown IO ID 45"} 
[2026-09-24 12:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299653888001,"power":14211,"unknown_43":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1910652172581998592}} 
[2026-09-24 12:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":193953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:28:23] local.INFO: GPS data processed {"connection_id":193953,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:28:23] local.INFO: Acknowledgment sent {"connection_id":193953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:28:28] local.INFO: TCP Data received {"connection_id":193954,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:28:28] local.INFO: Processing buffer {"connection_id":193954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:28:28] local.INFO: IMEI packet received {"connection_id":193954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":193954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:28:34] local.INFO: TCP Data received {"connection_id":193954,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:28:34] local.INFO: Processing buffer {"connection_id":193954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:28:34] local.INFO: IMEI packet received {"connection_id":193954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":193954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:28:35] local.INFO: TCP Data received {"connection_id":193954,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:28:35] local.INFO: Processing buffer {"connection_id":193954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:28:35] local.INFO: Packet analysis {"connection_id":193954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:28:35] local.INFO: Extracted packet for processing {"connection_id":193954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:28:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299555072001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790232938000,"timestamp_ms":1790232938000,"timestamp_seconds":1790232938,"priority":1,"record_length":96,"hex_timestamp":"000001a0d232c610"} 
[2026-09-24 12:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 12:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299555072001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299555072001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:28:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:28:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299555072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":193954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:28:35] local.INFO: GPS data processed {"connection_id":193954,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:28:35] local.INFO: Acknowledgment sent {"connection_id":193954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:28:48] local.INFO: TCP Data received {"connection_id":191285,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:28:48] local.INFO: Processing buffer {"connection_id":191285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:28:48] local.INFO: IMEI packet received {"connection_id":191285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":191285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:28:50] local.INFO: TCP Data received {"connection_id":191285,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:28:50] local.INFO: Processing buffer {"connection_id":191285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:28:50] local.INFO: IMEI packet received {"connection_id":191285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":191285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:28:55] local.INFO: TCP Data received {"connection_id":191285,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:28:55] local.INFO: Processing buffer {"connection_id":191285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:28:55] local.INFO: IMEI packet received {"connection_id":191285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":191285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:28:56] local.INFO: TCP Data received {"connection_id":191285,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2346808012d1a60800723fc90002c00dd2a..."} 
[2026-09-24 12:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2346808012d1a60800723fc90002c00dd2a..."} 
[2026-09-24 12:28:56] local.INFO: Processing buffer {"connection_id":191285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2346808012d1a60800723fc90002c00dd2a..."} 
[2026-09-24 12:28:56] local.INFO: Packet analysis {"connection_id":191285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d234"} 
[2026-09-24 12:28:56] local.INFO: Extracted packet for processing {"connection_id":191285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d234"} 
[2026-09-24 12:28:56] local.INFO: GPS Element Parsed {"raw_longitude":756703360,"raw_latitude":119798928,"longitude_deg":75.670336,"latitude_deg":11.9798928,"altitude":44,"angle":221,"satellites":42,"speed":34,"hex_longitude":"2d1a6080","hex_latitude":"0723fc90","is_valid_coordinates":true} 
[2026-09-24 12:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299658240001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22862188226019328,"note":"Value kept but may cause issues"} 
[2026-09-24 12:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904178248116840448,"note":"Value kept but may cause issues"} 
[2026-09-24 12:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790233045000,"timestamp_ms":1790233045000,"timestamp_seconds":1790233045,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2346808"} 
[2026-09-24 12:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-24 12:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":191285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":191285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":191285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299658240001,"66":14233,"43":206,"83":42752,"24":34,"16":22862188226019328,"45":1904178248116840448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-24 12:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299658240001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:28:56] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-24 12:28:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22862188226019328,"km_value":22862188226019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904178248116840448,"description":"Unknown IO ID 45"} 
[2026-09-24 12:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299658240001,"power":14233,"unknown_43":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1904178248116840448}} 
[2026-09-24 12:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":191285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:28:56] local.INFO: GPS data processed {"connection_id":191285,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:28:56] local.INFO: Acknowledgment sent {"connection_id":191285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:28:58] local.INFO: TCP Data received {"connection_id":191285,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2348360012d1a52000723e990002c00d22a..."} 
[2026-09-24 12:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2348360012d1a52000723e990002c00d22a..."} 
[2026-09-24 12:28:58] local.INFO: Processing buffer {"connection_id":191285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2348360012d1a52000723e990002c00d22a..."} 
[2026-09-24 12:28:58] local.INFO: Packet analysis {"connection_id":191285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d234"} 
[2026-09-24 12:28:58] local.INFO: Extracted packet for processing {"connection_id":191285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d234"} 
[2026-09-24 12:28:58] local.INFO: GPS Element Parsed {"raw_longitude":756699648,"raw_latitude":119794064,"longitude_deg":75.6699648,"latitude_deg":11.9794064,"altitude":44,"angle":210,"satellites":42,"speed":33,"hex_longitude":"2d1a5200","hex_latitude":"0723e990","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299659520001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22862480283795456,"note":"Value kept but may cause issues"} 
[2026-09-24 12:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900659810907230208,"note":"Value kept but may cause issues"} 
[2026-09-24 12:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790233052000,"timestamp_ms":1790233052000,"timestamp_seconds":1790233052,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2348360"} 
[2026-09-24 12:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-24 12:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":191285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":191285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":191285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299659520001,"66":14233,"42":206,"83":42752,"24":33,"16":22862480283795456,"45":1900659810907230208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-24 12:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299659520001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:28:58] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-24 12:28:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22862480283795456,"km_value":22862480283795.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900659810907230208,"description":"Unknown IO ID 45"} 
[2026-09-24 12:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299659520001,"power":14233,"unknown_42":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1900659810907230208}} 
[2026-09-24 12:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":191285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:28:58] local.INFO: GPS data processed {"connection_id":191285,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:28:58] local.INFO: Acknowledgment sent {"connection_id":191285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:29:07] local.INFO: TCP Data received {"connection_id":193954,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:29:07] local.INFO: Processing buffer {"connection_id":193954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:29:07] local.INFO: Packet analysis {"connection_id":193954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:29:07] local.INFO: Extracted packet for processing {"connection_id":193954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:29:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299555072001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790232938000,"timestamp_ms":1790232938000,"timestamp_seconds":1790232938,"priority":1,"record_length":96,"hex_timestamp":"000001a0d232c610"} 
[2026-09-24 12:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 12:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299555072001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299555072001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:29:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:29:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299555072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":193954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:29:07] local.INFO: GPS data processed {"connection_id":193954,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:29:07] local.INFO: Acknowledgment sent {"connection_id":193954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:29:29] local.INFO: TCP Data received {"connection_id":191285,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d234b240012d1a3fc00723cbc8002c00d62a..."} 
[2026-09-24 12:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d234b240012d1a3fc00723cbc8002c00d62a..."} 
[2026-09-24 12:29:29] local.INFO: Processing buffer {"connection_id":191285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d234b240012d1a3fc00723cbc8002c00d62a..."} 
[2026-09-24 12:29:29] local.INFO: Packet analysis {"connection_id":191285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d234"} 
[2026-09-24 12:29:29] local.INFO: Extracted packet for processing {"connection_id":191285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d234"} 
[2026-09-24 12:29:29] local.INFO: GPS Element Parsed {"raw_longitude":756694976,"raw_latitude":119786440,"longitude_deg":75.6694976,"latitude_deg":11.978644,"altitude":44,"angle":214,"satellites":42,"speed":24,"hex_longitude":"2d1a3fc0","hex_latitude":"0723cbc8","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299661312001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22862914075492352,"note":"Value kept but may cause issues"} 
[2026-09-24 12:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1896578423743680512,"note":"Value kept but may cause issues"} 
[2026-09-24 12:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790233064000,"timestamp_ms":1790233064000,"timestamp_seconds":1790233064,"priority":1,"record_length":96,"hex_timestamp":"000001a0d234b240"} 
[2026-09-24 12:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-24 12:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":191285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":191285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":191285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299661312001,"66":14243,"42":206,"83":42752,"24":24,"16":22862914075492352,"45":1896578423743680512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-24 12:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299661312001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:29:29] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-24 12:29:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22862914075492352,"km_value":22862914075492.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1896578423743680512,"description":"Unknown IO ID 45"} 
[2026-09-24 12:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299661312001,"power":14243,"unknown_42":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1896578423743680512}} 
[2026-09-24 12:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":191285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:29:29] local.INFO: GPS data processed {"connection_id":191285,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:29:29] local.INFO: Acknowledgment sent {"connection_id":191285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:29:33] local.INFO: TCP Data received {"connection_id":192669,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:29:33] local.INFO: Processing buffer {"connection_id":192669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:29:33] local.INFO: IMEI packet received {"connection_id":192669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":192669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:29:38] local.INFO: TCP Data received {"connection_id":192669,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:29:38] local.INFO: Processing buffer {"connection_id":192669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:29:38] local.INFO: IMEI packet received {"connection_id":192669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":192669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:29:39] local.INFO: TCP Data received {"connection_id":192669,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:29:39] local.INFO: Processing buffer {"connection_id":192669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:29:39] local.INFO: Packet analysis {"connection_id":192669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:29:39] local.INFO: Extracted packet for processing {"connection_id":192669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:29:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299555072001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790232938000,"timestamp_ms":1790232938000,"timestamp_seconds":1790232938,"priority":1,"record_length":96,"hex_timestamp":"000001a0d232c610"} 
[2026-09-24 12:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 12:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299555072001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299555072001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:29:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:29:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299555072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":192669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:29:39] local.INFO: GPS data processed {"connection_id":192669,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:29:39] local.INFO: Acknowledgment sent {"connection_id":192669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:29:44] local.INFO: TCP Data received {"connection_id":192669,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:29:44] local.INFO: Processing buffer {"connection_id":192669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:29:44] local.INFO: Packet analysis {"connection_id":192669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:29:44] local.INFO: Extracted packet for processing {"connection_id":192669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:29:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299555072001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790232938000,"timestamp_ms":1790232938000,"timestamp_seconds":1790232938,"priority":1,"record_length":96,"hex_timestamp":"000001a0d232c610"} 
[2026-09-24 12:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 12:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299555072001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299555072001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:29:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:29:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299555072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":192669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:29:45] local.INFO: GPS data processed {"connection_id":192669,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:29:45] local.INFO: Acknowledgment sent {"connection_id":192669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:29:45] local.INFO: TCP Data received {"connection_id":193955,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:29:45] local.INFO: Processing buffer {"connection_id":193955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:29:45] local.INFO: IMEI packet received {"connection_id":193955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":193955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:29:50] local.INFO: TCP Data received {"connection_id":193955,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:29:50] local.INFO: Processing buffer {"connection_id":193955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:29:50] local.INFO: IMEI packet received {"connection_id":193955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":193955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:29:51] local.INFO: TCP Data received {"connection_id":193955,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d234cd98012d1a34400723be70002d00e52b..."} 
[2026-09-24 12:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d234cd98012d1a34400723be70002d00e52b..."} 
[2026-09-24 12:29:51] local.INFO: Processing buffer {"connection_id":193955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d234cd98012d1a34400723be70002d00e52b..."} 
[2026-09-24 12:29:51] local.INFO: Packet analysis {"connection_id":193955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d234"} 
[2026-09-24 12:29:51] local.INFO: Extracted packet for processing {"connection_id":193955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d234"} 
[2026-09-24 12:29:51] local.INFO: GPS Element Parsed {"raw_longitude":756692032,"raw_latitude":119783024,"longitude_deg":75.6692032,"latitude_deg":11.9783024,"altitude":45,"angle":229,"satellites":43,"speed":31,"hex_longitude":"2d1a3440","hex_latitude":"0723be70","is_valid_coordinates":true} 
[2026-09-24 12:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299664384001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22863128823857152,"note":"Value kept but may cause issues"} 
[2026-09-24 12:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891441505416759296,"note":"Value kept but may cause issues"} 
[2026-09-24 12:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790233071000,"timestamp_ms":1790233071000,"timestamp_seconds":1790233071,"priority":1,"record_length":96,"hex_timestamp":"000001a0d234cd98"} 
[2026-09-24 12:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-24 12:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299664384001,"66":14265,"42":206,"83":42752,"24":31,"16":22863128823857152,"45":1891441505416759296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-24 12:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299664384001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:29:51] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-24 12:29:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22863128823857152,"km_value":22863128823857.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891441505416759296,"description":"Unknown IO ID 45"} 
[2026-09-24 12:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299664384001,"power":14265,"unknown_42":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1891441505416759296}} 
[2026-09-24 12:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":193955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:29:51] local.INFO: GPS data processed {"connection_id":193955,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:29:51] local.INFO: Acknowledgment sent {"connection_id":193955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:30:26] local.INFO: TCP Data received {"connection_id":193955,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d234e508012d1a21c00723b208002e00f12c..."} 
[2026-09-24 12:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d234e508012d1a21c00723b208002e00f12c..."} 
[2026-09-24 12:30:26] local.INFO: Processing buffer {"connection_id":193955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d234e508012d1a21c00723b208002e00f12c..."} 
[2026-09-24 12:30:26] local.INFO: Packet analysis {"connection_id":193955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d234"} 
[2026-09-24 12:30:26] local.INFO: Extracted packet for processing {"connection_id":193955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d234"} 
[2026-09-24 12:30:26] local.INFO: GPS Element Parsed {"raw_longitude":756687296,"raw_latitude":119779848,"longitude_deg":75.6687296,"latitude_deg":11.9779848,"altitude":46,"angle":241,"satellites":44,"speed":41,"hex_longitude":"2d1a21c0","hex_latitude":"0723b208","is_valid_coordinates":true} 
[2026-09-24 12:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299666176001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22863399406796800,"note":"Value kept but may cause issues"} 
[2026-09-24 12:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888204543183712256,"note":"Value kept but may cause issues"} 
[2026-09-24 12:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790233077000,"timestamp_ms":1790233077000,"timestamp_seconds":1790233077,"priority":1,"record_length":96,"hex_timestamp":"000001a0d234e508"} 
[2026-09-24 12:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-24 12:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":193955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":193955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":193955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299666176001,"66":13330,"42":206,"83":42752,"24":41,"16":22863399406796800,"45":1888204543183712256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-24 12:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299666176001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:30:26] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-24 12:30:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22863399406796800,"km_value":22863399406796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888204543183712256,"description":"Unknown IO ID 45"} 
[2026-09-24 12:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299666176001,"power":13330,"unknown_42":206,"unknown_83":42752,"ignition":41,"odometer":null,"unknown_45":1888204543183712256}} 
[2026-09-24 12:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":193955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:30:26] local.INFO: GPS data processed {"connection_id":193955,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:30:26] local.INFO: Acknowledgment sent {"connection_id":193955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:30:28] local.INFO: TCP Data received {"connection_id":191099,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:30:28] local.INFO: Processing buffer {"connection_id":191099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:30:28] local.INFO: IMEI packet received {"connection_id":191099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":191099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:30:33] local.INFO: TCP Data received {"connection_id":191099,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:30:33] local.INFO: Processing buffer {"connection_id":191099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:30:33] local.INFO: IMEI packet received {"connection_id":191099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":191099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:30:34] local.INFO: TCP Data received {"connection_id":191099,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:30:34] local.INFO: Processing buffer {"connection_id":191099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:30:34] local.INFO: Packet analysis {"connection_id":191099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:30:34] local.INFO: Extracted packet for processing {"connection_id":191099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:30:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299555072001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790232938000,"timestamp_ms":1790232938000,"timestamp_seconds":1790232938,"priority":1,"record_length":96,"hex_timestamp":"000001a0d232c610"} 
[2026-09-24 12:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 12:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299555072001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299555072001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:30:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:30:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299555072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":191099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:30:34] local.INFO: GPS data processed {"connection_id":191099,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:30:34] local.INFO: Acknowledgment sent {"connection_id":191099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:30:45] local.INFO: TCP Data received {"connection_id":192670,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:30:45] local.INFO: Processing buffer {"connection_id":192670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:30:45] local.INFO: IMEI packet received {"connection_id":192670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":192670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:30:50] local.INFO: TCP Data received {"connection_id":192670,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:30:50] local.INFO: Processing buffer {"connection_id":192670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:30:50] local.INFO: IMEI packet received {"connection_id":192670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":192670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:30:51] local.INFO: TCP Data received {"connection_id":192670,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d234f4a8012d1a12000723ab88002f00fd2c..."} 
[2026-09-24 12:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d234f4a8012d1a12000723ab88002f00fd2c..."} 
[2026-09-24 12:30:51] local.INFO: Processing buffer {"connection_id":192670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d234f4a8012d1a12000723ab88002f00fd2c..."} 
[2026-09-24 12:30:51] local.INFO: Packet analysis {"connection_id":192670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d234"} 
[2026-09-24 12:30:51] local.INFO: Extracted packet for processing {"connection_id":192670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d234"} 
[2026-09-24 12:30:51] local.INFO: GPS Element Parsed {"raw_longitude":756683264,"raw_latitude":119778184,"longitude_deg":75.6683264,"latitude_deg":11.9778184,"altitude":47,"angle":253,"satellites":44,"speed":43,"hex_longitude":"2d1a1200","hex_latitude":"0723ab88","is_valid_coordinates":true} 
[2026-09-24 12:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299667712001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22863609860194304,"note":"Value kept but may cause issues"} 
[2026-09-24 12:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882997256113752064,"note":"Value kept but may cause issues"} 
[2026-09-24 12:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790233081000,"timestamp_ms":1790233081000,"timestamp_seconds":1790233081,"priority":1,"record_length":96,"hex_timestamp":"000001a0d234f4a8"} 
[2026-09-24 12:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-24 12:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-24 12:30:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-24 12:30:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 12:30:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3526627864,"note":"Value kept but may cause issues"} 
[2026-09-24 12:30:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596653774,"corrected_to":0} 
[2026-09-24 12:30:51] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":51200,"corrected_to":0} 
[2026-09-24 12:30:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250127234767532688,"note":"Value kept but may cause issues"} 
[2026-09-24 12:30:51] local.WARNING: Large IO value detected {"io_id":35,"raw_value":4237295660,"note":"Value kept but may cause issues"} 
[2026-09-24 12:30:51] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2147560730,"note":"Value kept but may cause issues"} 
[2026-09-24 12:30:51] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2197867871,"note":"Value kept but may cause issues"} 
[2026-09-24 12:30:51] local.WARNING: Large IO value detected {"io_id":163,"raw_value":57807008527438759,"note":"Value kept but may cause issues"} 
[2026-09-24 12:30:51] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-2073906335171919865,"note":"Value kept but may cause issues"} 
[2026-09-24 12:30:51] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2587318166329240832,"note":"Value kept but may cause issues"} 
[2026-09-24 12:30:51] local.WARNING: Large IO value detected {"io_id":28,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-24 12:30:51] local.WARNING: Large IO value detected {"io_id":95,"raw_value":3098703402310309888,"note":"Value kept but may cause issues"} 
[2026-09-24 12:30:51] local.WARNING: Large IO value detected {"io_id":65,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 12:30:51] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,42,83,24,241,157,16,58,160,205,45,64,190,43,10,66,57,178,192,203,44,131,1,240,153,227,210,35,4,113,34,84,109,168,37,239,55,2,81,7,19,163,51,36,28,95,65],"length":626,"final_offset":756,"validated_count":47,"validation_warnings":[{"io_id":205,"original":1596653774,"validated":0},{"io_id":203,"original":51200,"validated":0}]} 
[2026-09-24 12:30:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314914497028227072,"timestamp_seconds":3314914497028227.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 12:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299667712001,"66":13222,"42":206,"83":42752,"24":43,"16":22863609860194304,"45":1882997256113752064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-24 12:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299667712001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:30:51] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-24 12:30:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22863609860194304,"km_value":22863609860194.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882997256113752064,"description":"Unknown IO ID 45"} 
[2026-09-24 12:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299667712001,"power":13222,"unknown_42":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1882997256113752064}} 
[2026-09-24 12:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":192670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:30:51] local.INFO: GPS data processed {"connection_id":192670,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:30:51] local.INFO: Acknowledgment sent {"connection_id":192670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:31:06] local.INFO: TCP Data received {"connection_id":191099,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:31:06] local.INFO: Processing buffer {"connection_id":191099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d232c610012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:31:06] local.INFO: Packet analysis {"connection_id":191099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:31:06] local.INFO: Extracted packet for processing {"connection_id":191099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d232"} 
[2026-09-24 12:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299555072001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790232938000,"timestamp_ms":1790232938000,"timestamp_seconds":1790232938,"priority":1,"record_length":96,"hex_timestamp":"000001a0d232c610"} 
[2026-09-24 12:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 12:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299555072001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299555072001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:31:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:31:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299555072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":191099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:31:06] local.INFO: GPS data processed {"connection_id":191099,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:31:06] local.INFO: Acknowledgment sent {"connection_id":191099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:31:22] local.INFO: TCP Data received {"connection_id":192670,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23517d0012d19ec800723a618003101072b..."} 
[2026-09-24 12:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23517d0012d19ec800723a618003101072b..."} 
[2026-09-24 12:31:22] local.INFO: Processing buffer {"connection_id":192670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23517d0012d19ec800723a618003101072b..."} 
[2026-09-24 12:31:22] local.INFO: Packet analysis {"connection_id":192670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d235"} 
[2026-09-24 12:31:22] local.INFO: Extracted packet for processing {"connection_id":192670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d235"} 
[2026-09-24 12:31:22] local.INFO: GPS Element Parsed {"raw_longitude":756673664,"raw_latitude":119776792,"longitude_deg":75.6673664,"latitude_deg":11.9776792,"altitude":49,"angle":263,"satellites":43,"speed":40,"hex_longitude":"2d19ec80","hex_latitude":"0723a618","is_valid_coordinates":true} 
[2026-09-24 12:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299668736001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22864069421694976,"note":"Value kept but may cause issues"} 
[2026-09-24 12:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878564025230133248,"note":"Value kept but may cause issues"} 
[2026-09-24 12:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790233090000,"timestamp_ms":1790233090000,"timestamp_seconds":1790233090,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23517d0"} 
[2026-09-24 12:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-24 12:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299668736001,"66":13222,"42":206,"83":42752,"24":40,"16":22864069421694976,"45":1878564025230133248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-24 12:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299668736001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:31:22] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-24 12:31:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22864069421694976,"km_value":22864069421694.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878564025230133248,"description":"Unknown IO ID 45"} 
[2026-09-24 12:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299668736001,"power":13222,"unknown_42":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":1878564025230133248}} 
[2026-09-24 12:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":192670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:31:22] local.INFO: GPS data processed {"connection_id":192670,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:31:22] local.INFO: Acknowledgment sent {"connection_id":192670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:31:24] local.INFO: TCP Data received {"connection_id":192671,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:31:24] local.INFO: Processing buffer {"connection_id":192671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:31:24] local.INFO: IMEI packet received {"connection_id":192671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 12:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":192671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:31:28] local.INFO: TCP Data received {"connection_id":193957,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:31:28] local.INFO: Processing buffer {"connection_id":193957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:31:28] local.INFO: IMEI packet received {"connection_id":193957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":193957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:31:33] local.INFO: TCP Data received {"connection_id":193957,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:31:33] local.INFO: Processing buffer {"connection_id":193957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:31:33] local.INFO: IMEI packet received {"connection_id":193957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":193957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:31:35] local.INFO: TCP Data received {"connection_id":193957,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:31:35] local.INFO: Processing buffer {"connection_id":193957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:31:35] local.INFO: Packet analysis {"connection_id":193957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d237"} 
[2026-09-24 12:31:35] local.INFO: Extracted packet for processing {"connection_id":193957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d237"} 
[2026-09-24 12:31:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299632128001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790233239000,"timestamp_ms":1790233239000,"timestamp_seconds":1790233239,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2375dd8"} 
[2026-09-24 12:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:31:35] 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-09-24 12:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299632128001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299632128001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:31:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:31:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299632128001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":193957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:31:35] local.INFO: GPS data processed {"connection_id":193957,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:31:35] local.INFO: Acknowledgment sent {"connection_id":193957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:31:45] local.INFO: TCP Data received {"connection_id":191286,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:31:45] local.INFO: Processing buffer {"connection_id":191286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:31:45] local.INFO: IMEI packet received {"connection_id":191286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":191286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:31:50] local.INFO: TCP Data received {"connection_id":191286,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:31:50] local.INFO: Processing buffer {"connection_id":191286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:31:50] local.INFO: IMEI packet received {"connection_id":191286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":191286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:31:51] local.INFO: TCP Data received {"connection_id":191286,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2353ee0012d19c8400723a1400037010629..."} 
[2026-09-24 12:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2353ee0012d19c8400723a1400037010629..."} 
[2026-09-24 12:31:51] local.INFO: Processing buffer {"connection_id":191286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2353ee0012d19c8400723a1400037010629..."} 
[2026-09-24 12:31:51] local.INFO: Packet analysis {"connection_id":191286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d235"} 
[2026-09-24 12:31:51] local.INFO: Extracted packet for processing {"connection_id":191286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d235"} 
[2026-09-24 12:31:51] local.INFO: GPS Element Parsed {"raw_longitude":756664384,"raw_latitude":119775552,"longitude_deg":75.6664384,"latitude_deg":11.9775552,"altitude":55,"angle":262,"satellites":41,"speed":35,"hex_longitude":"2d19c840","hex_latitude":"0723a140","is_valid_coordinates":true} 
[2026-09-24 12:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299671040001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22864516098293760,"note":"Value kept but may cause issues"} 
[2026-09-24 12:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868008713603127296,"note":"Value kept but may cause issues"} 
[2026-09-24 12:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790233100000,"timestamp_ms":1790233100000,"timestamp_seconds":1790233100,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2353ee0"} 
[2026-09-24 12:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-24 12:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299671040001,"66":13167,"42":206,"83":42752,"24":35,"16":22864516098293760,"45":1868008713603127296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-24 12:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299671040001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:31:51] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-24 12:31:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22864516098293760,"km_value":22864516098293.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868008713603127296,"description":"Unknown IO ID 45"} 
[2026-09-24 12:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299671040001,"power":13167,"unknown_42":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1868008713603127296}} 
[2026-09-24 12:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":191286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:31:51] local.INFO: GPS data processed {"connection_id":191286,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:31:51] local.INFO: Acknowledgment sent {"connection_id":191286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:32:07] local.INFO: TCP Data received {"connection_id":193957,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:32:07] local.INFO: Processing buffer {"connection_id":193957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:32:07] local.INFO: Packet analysis {"connection_id":193957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d237"} 
[2026-09-24 12:32:07] local.INFO: Extracted packet for processing {"connection_id":193957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d237"} 
[2026-09-24 12:32:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299632128001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790233239000,"timestamp_ms":1790233239000,"timestamp_seconds":1790233239,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2375dd8"} 
[2026-09-24 12:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299632128001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299632128001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:32:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:32:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299632128001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":193957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:32:07] local.INFO: GPS data processed {"connection_id":193957,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:32:07] local.INFO: Acknowledgment sent {"connection_id":193957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:32:22] local.INFO: TCP Data received {"connection_id":191286,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23569d8012d19a44007239c80003d010527..."} 
[2026-09-24 12:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23569d8012d19a44007239c80003d010527..."} 
[2026-09-24 12:32:22] local.INFO: Processing buffer {"connection_id":191286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23569d8012d19a44007239c80003d010527..."} 
[2026-09-24 12:32:22] local.INFO: Packet analysis {"connection_id":191286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d235"} 
[2026-09-24 12:32:22] local.INFO: Extracted packet for processing {"connection_id":191286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d235"} 
[2026-09-24 12:32:22] local.INFO: GPS Element Parsed {"raw_longitude":756655168,"raw_latitude":119774336,"longitude_deg":75.6655168,"latitude_deg":11.9774336,"altitude":61,"angle":261,"satellites":39,"speed":30,"hex_longitude":"2d19a440","hex_latitude":"07239c80","is_valid_coordinates":true} 
[2026-09-24 12:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299673600001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22864954184957952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857805245697048576,"note":"Value kept but may cause issues"} 
[2026-09-24 12:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790233111000,"timestamp_ms":1790233111000,"timestamp_seconds":1790233111,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23569d8"} 
[2026-09-24 12:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-24 12:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299673600001,"66":13156,"42":206,"83":42752,"24":30,"16":22864954184957952,"45":1857805245697048576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-24 12:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299673600001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:32:22] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-24 12:32:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22864954184957952,"km_value":22864954184957.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857805245697048576,"description":"Unknown IO ID 45"} 
[2026-09-24 12:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299673600001,"power":13156,"unknown_42":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1857805245697048576}} 
[2026-09-24 12:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":191286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:32:22] local.INFO: GPS data processed {"connection_id":191286,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:32:22] local.INFO: Acknowledgment sent {"connection_id":191286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:32:28] local.INFO: TCP Data received {"connection_id":192672,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:32:28] local.INFO: Processing buffer {"connection_id":192672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:32:28] local.INFO: IMEI packet received {"connection_id":192672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":192672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:32:33] local.INFO: TCP Data received {"connection_id":192672,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:32:33] local.INFO: Processing buffer {"connection_id":192672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:32:33] local.INFO: IMEI packet received {"connection_id":192672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":192672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:32:35] local.INFO: TCP Data received {"connection_id":192672,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:32:35] local.INFO: Processing buffer {"connection_id":192672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:32:35] local.INFO: Packet analysis {"connection_id":192672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d237"} 
[2026-09-24 12:32:35] local.INFO: Extracted packet for processing {"connection_id":192672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d237"} 
[2026-09-24 12:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299632128001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790233239000,"timestamp_ms":1790233239000,"timestamp_seconds":1790233239,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2375dd8"} 
[2026-09-24 12:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:32:35] 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-09-24 12:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299632128001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299632128001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:32:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:32:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299632128001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":192672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:32:35] local.INFO: GPS data processed {"connection_id":192672,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:32:35] local.INFO: Acknowledgment sent {"connection_id":192672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:32:45] local.INFO: TCP Data received {"connection_id":191100,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:32:45] local.INFO: Processing buffer {"connection_id":191100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:32:45] local.INFO: IMEI packet received {"connection_id":191100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":191100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:32:50] local.INFO: TCP Data received {"connection_id":191100,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:32:50] local.INFO: Processing buffer {"connection_id":191100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:32:50] local.INFO: IMEI packet received {"connection_id":191100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":191100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:32:51] local.INFO: TCP Data received {"connection_id":191100,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d235bbe0012d199580072399d8003d00ff27..."} 
[2026-09-24 12:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d235bbe0012d199580072399d8003d00ff27..."} 
[2026-09-24 12:32:51] local.INFO: Processing buffer {"connection_id":191100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d235bbe0012d199580072399d8003d00ff27..."} 
[2026-09-24 12:32:51] local.INFO: Packet analysis {"connection_id":191100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d235"} 
[2026-09-24 12:32:51] local.INFO: Extracted packet for processing {"connection_id":191100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d235"} 
[2026-09-24 12:32:51] local.INFO: GPS Element Parsed {"raw_longitude":756651392,"raw_latitude":119773656,"longitude_deg":75.6651392,"latitude_deg":11.9773656,"altitude":61,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d199580","hex_latitude":"072399d8","is_valid_coordinates":true} 
[2026-09-24 12:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299676416001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22865147458486272,"note":"Value kept but may cause issues"} 
[2026-09-24 12:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847672146535153664,"note":"Value kept but may cause issues"} 
[2026-09-24 12:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790233132000,"timestamp_ms":1790233132000,"timestamp_seconds":1790233132,"priority":1,"record_length":96,"hex_timestamp":"000001a0d235bbe0"} 
[2026-09-24 12:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-24 12:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299676416001,"66":13004,"42":206,"83":42752,"24":0,"16":22865147458486272,"45":1847672146535153664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-24 12:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299676416001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:32:51] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-24 12:32:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22865147458486272,"km_value":22865147458486.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847672146535153664,"description":"Unknown IO ID 45"} 
[2026-09-24 12:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299676416001,"power":13004,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1847672146535153664}} 
[2026-09-24 12:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":191100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:32:51] local.INFO: GPS data processed {"connection_id":191100,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:32:51] local.INFO: Acknowledgment sent {"connection_id":191100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:33:06] local.INFO: TCP Data received {"connection_id":192672,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:33:06] local.INFO: Processing buffer {"connection_id":192672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:33:06] local.INFO: Packet analysis {"connection_id":192672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d237"} 
[2026-09-24 12:33:06] local.INFO: Extracted packet for processing {"connection_id":192672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d237"} 
[2026-09-24 12:33:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299632128001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790233239000,"timestamp_ms":1790233239000,"timestamp_seconds":1790233239,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2375dd8"} 
[2026-09-24 12:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299632128001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299632128001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:33:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:33:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299632128001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":192672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:33:06] local.INFO: GPS data processed {"connection_id":192672,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:33:06] local.INFO: Acknowledgment sent {"connection_id":192672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:33:25] local.INFO: TCP Data received {"connection_id":191100,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2360de8012d199580072399d8003d00ff2a..."} 
[2026-09-24 12:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2360de8012d199580072399d8003d00ff2a..."} 
[2026-09-24 12:33:25] local.INFO: Processing buffer {"connection_id":191100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2360de8012d199580072399d8003d00ff2a..."} 
[2026-09-24 12:33:25] local.INFO: Packet analysis {"connection_id":191100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d236"} 
[2026-09-24 12:33:25] local.INFO: Extracted packet for processing {"connection_id":191100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d236"} 
[2026-09-24 12:33:25] local.INFO: GPS Element Parsed {"raw_longitude":756651392,"raw_latitude":119773656,"longitude_deg":75.6651392,"latitude_deg":11.9773656,"altitude":61,"angle":255,"satellites":42,"speed":0,"hex_longitude":"2d199580","hex_latitude":"072399d8","is_valid_coordinates":true} 
[2026-09-24 12:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299681792001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22865147458486272,"note":"Value kept but may cause issues"} 
[2026-09-24 12:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843520390628497408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790233153000,"timestamp_ms":1790233153000,"timestamp_seconds":1790233153,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2360de8"} 
[2026-09-24 12:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-24 12:33:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:33:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":191100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":191100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":191100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299681792001,"66":13004,"42":206,"83":42752,"24":0,"16":22865147458486272,"45":1843520390628497408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-24 12:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299681792001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:33:25] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-24 12:33:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22865147458486272,"km_value":22865147458486.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843520390628497408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299681792001,"power":13004,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1843520390628497408}} 
[2026-09-24 12:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":191100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:33:25] local.INFO: GPS data processed {"connection_id":191100,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:33:25] local.INFO: Acknowledgment sent {"connection_id":191100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:33:28] local.INFO: TCP Data received {"connection_id":192673,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:33:28] local.INFO: Processing buffer {"connection_id":192673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:33:28] local.INFO: IMEI packet received {"connection_id":192673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":192673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:33:33] local.INFO: TCP Data received {"connection_id":192673,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:33:33] local.INFO: Processing buffer {"connection_id":192673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:33:33] local.INFO: IMEI packet received {"connection_id":192673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":192673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:33:37] local.INFO: TCP Data received {"connection_id":192673,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:33:37] local.INFO: Processing buffer {"connection_id":192673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:33:37] local.INFO: Packet analysis {"connection_id":192673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d237"} 
[2026-09-24 12:33:37] local.INFO: Extracted packet for processing {"connection_id":192673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d237"} 
[2026-09-24 12:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299632128001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790233239000,"timestamp_ms":1790233239000,"timestamp_seconds":1790233239,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2375dd8"} 
[2026-09-24 12:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299632128001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299632128001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:33:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299632128001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":192673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:33:37] local.INFO: GPS data processed {"connection_id":192673,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:33:37] local.INFO: Acknowledgment sent {"connection_id":192673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:33:45] local.INFO: TCP Data received {"connection_id":191101,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:33:45] local.INFO: Processing buffer {"connection_id":191101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:33:45] local.INFO: IMEI packet received {"connection_id":191101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":191101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:33:50] local.INFO: TCP Data received {"connection_id":191101,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:33:50] local.INFO: Processing buffer {"connection_id":191101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:33:50] local.INFO: IMEI packet received {"connection_id":191101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":191101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:33:51] local.INFO: TCP Data received {"connection_id":191101,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2365ff0012d199580072399d8003d00ff2a..."} 
[2026-09-24 12:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2365ff0012d199580072399d8003d00ff2a..."} 
[2026-09-24 12:33:51] local.INFO: Processing buffer {"connection_id":191101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2365ff0012d199580072399d8003d00ff2a..."} 
[2026-09-24 12:33:51] local.INFO: Packet analysis {"connection_id":191101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d236"} 
[2026-09-24 12:33:51] local.INFO: Extracted packet for processing {"connection_id":191101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d236"} 
[2026-09-24 12:33:51] local.INFO: GPS Element Parsed {"raw_longitude":756651392,"raw_latitude":119773656,"longitude_deg":75.6651392,"latitude_deg":11.9773656,"altitude":61,"angle":255,"satellites":42,"speed":0,"hex_longitude":"2d199580","hex_latitude":"072399d8","is_valid_coordinates":true} 
[2026-09-24 12:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299687168001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22865147458486272,"note":"Value kept but may cause issues"} 
[2026-09-24 12:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843520390628497408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790233174000,"timestamp_ms":1790233174000,"timestamp_seconds":1790233174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2365ff0"} 
[2026-09-24 12:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-24 12:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299687168001,"66":12950,"42":206,"83":42752,"24":0,"16":22865147458486272,"45":1843520390628497408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-24 12:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299687168001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:33:51] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-24 12:33:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22865147458486272,"km_value":22865147458486.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843520390628497408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299687168001,"power":12950,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1843520390628497408}} 
[2026-09-24 12:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":191101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:33:51] local.INFO: GPS data processed {"connection_id":191101,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:33:51] local.INFO: Acknowledgment sent {"connection_id":191101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:34:08] local.INFO: TCP Data received {"connection_id":192673,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:34:08] local.INFO: Processing buffer {"connection_id":192673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:34:08] local.INFO: Packet analysis {"connection_id":192673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d237"} 
[2026-09-24 12:34:08] local.INFO: Extracted packet for processing {"connection_id":192673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d237"} 
[2026-09-24 12:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299632128001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790233239000,"timestamp_ms":1790233239000,"timestamp_seconds":1790233239,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2375dd8"} 
[2026-09-24 12:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:34:08] 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-09-24 12:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299632128001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299632128001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:34:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:34:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299632128001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":192673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:34:08] local.INFO: GPS data processed {"connection_id":192673,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:34:08] local.INFO: Acknowledgment sent {"connection_id":192673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:34:22] local.INFO: TCP Data received {"connection_id":191101,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d236b1f8012d199580072399d8003d00ff2b..."} 
[2026-09-24 12:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d236b1f8012d199580072399d8003d00ff2b..."} 
[2026-09-24 12:34:22] local.INFO: Processing buffer {"connection_id":191101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d236b1f8012d199580072399d8003d00ff2b..."} 
[2026-09-24 12:34:22] local.INFO: Packet analysis {"connection_id":191101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d236"} 
[2026-09-24 12:34:22] local.INFO: Extracted packet for processing {"connection_id":191101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d236"} 
[2026-09-24 12:34:22] local.INFO: GPS Element Parsed {"raw_longitude":756651392,"raw_latitude":119773656,"longitude_deg":75.6651392,"latitude_deg":11.9773656,"altitude":61,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d199580","hex_latitude":"072399d8","is_valid_coordinates":true} 
[2026-09-24 12:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299692544001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22865147458486272,"note":"Value kept but may cause issues"} 
[2026-09-24 12:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843520390628497408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790233195000,"timestamp_ms":1790233195000,"timestamp_seconds":1790233195,"priority":1,"record_length":96,"hex_timestamp":"000001a0d236b1f8"} 
[2026-09-24 12:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-24 12:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299692544001,"66":12885,"42":206,"83":42752,"24":0,"16":22865147458486272,"45":1843520390628497408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-24 12:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299692544001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:34:22] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-24 12:34:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22865147458486272,"km_value":22865147458486.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843520390628497408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299692544001,"power":12885,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1843520390628497408}} 
[2026-09-24 12:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":191101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:34:22] local.INFO: GPS data processed {"connection_id":191101,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:34:22] local.INFO: Acknowledgment sent {"connection_id":191101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:34:33] local.INFO: TCP Data received {"connection_id":193960,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:34:33] local.INFO: Processing buffer {"connection_id":193960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:34:33] local.INFO: IMEI packet received {"connection_id":193960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":193960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:34:38] local.INFO: TCP Data received {"connection_id":193960,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:34:38] local.INFO: Processing buffer {"connection_id":193960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:34:38] local.INFO: IMEI packet received {"connection_id":193960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":193960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:34:39] local.INFO: TCP Data received {"connection_id":193960,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:34:39] local.INFO: Processing buffer {"connection_id":193960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:34:39] local.INFO: Packet analysis {"connection_id":193960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d237"} 
[2026-09-24 12:34:39] local.INFO: Extracted packet for processing {"connection_id":193960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d237"} 
[2026-09-24 12:34:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299632128001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790233239000,"timestamp_ms":1790233239000,"timestamp_seconds":1790233239,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2375dd8"} 
[2026-09-24 12:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:34:39] 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-09-24 12:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299632128001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299632128001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:34:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:34:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299632128001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":193960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:34:39] local.INFO: GPS data processed {"connection_id":193960,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:34:39] local.INFO: Acknowledgment sent {"connection_id":193960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:34:44] local.INFO: TCP Data received {"connection_id":193960,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:34:44] local.INFO: Processing buffer {"connection_id":193960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:34:44] local.INFO: Packet analysis {"connection_id":193960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d237"} 
[2026-09-24 12:34:44] local.INFO: Extracted packet for processing {"connection_id":193960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d237"} 
[2026-09-24 12:34:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299632128001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790233239000,"timestamp_ms":1790233239000,"timestamp_seconds":1790233239,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2375dd8"} 
[2026-09-24 12:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:34:44] 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-09-24 12:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299632128001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299632128001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:34:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:34:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299632128001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":193960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:34:44] local.INFO: GPS data processed {"connection_id":193960,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:34:44] local.INFO: Acknowledgment sent {"connection_id":193960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:34:51] local.INFO: TCP Data received {"connection_id":191102,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:34:51] local.INFO: Processing buffer {"connection_id":191102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:34:51] local.INFO: IMEI packet received {"connection_id":191102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":191102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:35:05] local.INFO: TCP Data received {"connection_id":191102,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:35:05] local.INFO: Processing buffer {"connection_id":191102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:35:05] local.INFO: IMEI packet received {"connection_id":191102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":191102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:35:18] local.INFO: TCP Data received {"connection_id":191102,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2370400012d199580072399d8003d00ff2b..."} 
[2026-09-24 12:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2370400012d199580072399d8003d00ff2b..."} 
[2026-09-24 12:35:18] local.INFO: Processing buffer {"connection_id":191102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2370400012d199580072399d8003d00ff2b..."} 
[2026-09-24 12:35:18] local.INFO: Packet analysis {"connection_id":191102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d237"} 
[2026-09-24 12:35:18] local.INFO: Extracted packet for processing {"connection_id":191102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d237"} 
[2026-09-24 12:35:18] local.INFO: GPS Element Parsed {"raw_longitude":756651392,"raw_latitude":119773656,"longitude_deg":75.6651392,"latitude_deg":11.9773656,"altitude":61,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d199580","hex_latitude":"072399d8","is_valid_coordinates":true} 
[2026-09-24 12:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299697920001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22865147458486272,"note":"Value kept but may cause issues"} 
[2026-09-24 12:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843520390628497408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790233216000,"timestamp_ms":1790233216000,"timestamp_seconds":1790233216,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2370400"} 
[2026-09-24 12:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-24 12:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299697920001,"66":12841,"42":206,"83":42752,"24":0,"16":22865147458486272,"45":1843520390628497408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-24 12:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299697920001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:35:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-24 12:35:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22865147458486272,"km_value":22865147458486.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843520390628497408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299697920001,"power":12841,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1843520390628497408}} 
[2026-09-24 12:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":191102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:35:18] local.INFO: GPS data processed {"connection_id":191102,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:35:18] local.INFO: Acknowledgment sent {"connection_id":191102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:35:19] local.INFO: TCP Data received {"connection_id":191102,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23b0370012d19940007239ae8003d01232a..."} 
[2026-09-24 12:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23b0370012d19940007239ae8003d01232a..."} 
[2026-09-24 12:35:19] local.INFO: Processing buffer {"connection_id":191102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23b0370012d19940007239ae8003d01232a..."} 
[2026-09-24 12:35:19] local.INFO: Packet analysis {"connection_id":191102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:35:19] local.INFO: Extracted packet for processing {"connection_id":191102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:35:19] local.INFO: GPS Element Parsed {"raw_longitude":756651008,"raw_latitude":119773928,"longitude_deg":75.6651008,"latitude_deg":11.9773928,"altitude":61,"angle":291,"satellites":42,"speed":5,"hex_longitude":"2d199400","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299769856001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22865168933322752,"note":"Value kept but may cause issues"} 
[2026-09-24 12:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843309284396007424,"note":"Value kept but may cause issues"} 
[2026-09-24 12:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790233478000,"timestamp_ms":1790233478000,"timestamp_seconds":1790233478,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23b0370"} 
[2026-09-24 12:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-24 12:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299769856001,"66":14189,"137":206,"83":42752,"24":5,"16":22865168933322752,"45":1843309284396007424},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-24 12:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299769856001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:35:19] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-24 12:35:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22865168933322752,"km_value":22865168933322.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843309284396007424,"description":"Unknown IO ID 45"} 
[2026-09-24 12:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299769856001,"power":14189,"unknown_137":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1843309284396007424}} 
[2026-09-24 12:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":191102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:35:19] local.INFO: GPS data processed {"connection_id":191102,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:35:19] local.INFO: Acknowledgment sent {"connection_id":191102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:35:28] local.INFO: TCP Data received {"connection_id":191103,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:35:28] local.INFO: Processing buffer {"connection_id":191103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:35:28] local.INFO: IMEI packet received {"connection_id":191103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":191103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:35:33] local.INFO: TCP Data received {"connection_id":191103,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:35:33] local.INFO: Processing buffer {"connection_id":191103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:35:33] local.INFO: IMEI packet received {"connection_id":191103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":191103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:35:34] local.INFO: TCP Data received {"connection_id":191103,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:35:34] local.INFO: Processing buffer {"connection_id":191103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:35:34] local.INFO: Packet analysis {"connection_id":191103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d237"} 
[2026-09-24 12:35:34] local.INFO: Extracted packet for processing {"connection_id":191103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d237"} 
[2026-09-24 12:35:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299632128001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790233239000,"timestamp_ms":1790233239000,"timestamp_seconds":1790233239,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2375dd8"} 
[2026-09-24 12:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299632128001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299632128001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:35:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:35:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299632128001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":191103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:35:34] local.INFO: GPS data processed {"connection_id":191103,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:35:34] local.INFO: Acknowledgment sent {"connection_id":191103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:35:45] local.INFO: TCP Data received {"connection_id":192675,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:35:45] local.INFO: Processing buffer {"connection_id":192675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:35:45] local.INFO: IMEI packet received {"connection_id":192675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":192675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:35:46] local.INFO: TCP Data received {"connection_id":192675,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:35:46] local.INFO: Processing buffer {"connection_id":192675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:35:46] local.INFO: IMEI packet received {"connection_id":192675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":192675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:35:53] local.INFO: TCP Data received {"connection_id":192675,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:35:53] local.INFO: Processing buffer {"connection_id":192675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:35:53] local.INFO: IMEI packet received {"connection_id":192675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":192675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:35:54] local.INFO: TCP Data received {"connection_id":192675,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23b0758012d19938007239b00003d010c2b..."} 
[2026-09-24 12:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23b0758012d19938007239b00003d010c2b..."} 
[2026-09-24 12:35:54] local.INFO: Processing buffer {"connection_id":192675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23b0758012d19938007239b00003d010c2b..."} 
[2026-09-24 12:35:54] local.INFO: Packet analysis {"connection_id":192675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:35:54] local.INFO: Extracted packet for processing {"connection_id":192675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:35:54] local.INFO: GPS Element Parsed {"raw_longitude":756650880,"raw_latitude":119773952,"longitude_deg":75.665088,"latitude_deg":11.9773952,"altitude":61,"angle":268,"satellites":43,"speed":8,"hex_longitude":"2d199380","hex_latitude":"07239b00","is_valid_coordinates":true} 
[2026-09-24 12:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299770368001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22865177523257344,"note":"Value kept but may cause issues"} 
[2026-09-24 12:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843098178163501056,"note":"Value kept but may cause issues"} 
[2026-09-24 12:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790233479000,"timestamp_ms":1790233479000,"timestamp_seconds":1790233479,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23b0758"} 
[2026-09-24 12:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-24 12:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299770368001,"66":14189,"186":206,"83":42752,"24":8,"16":22865177523257344,"45":1843098178163501056},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-09-24 12:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299770368001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:35:54] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-24 12:35:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22865177523257344,"km_value":22865177523257.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843098178163501056,"description":"Unknown IO ID 45"} 
[2026-09-24 12:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299770368001,"power":14189,"unknown_186":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1843098178163501056}} 
[2026-09-24 12:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":192675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:35:54] local.INFO: GPS data processed {"connection_id":192675,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:35:54] local.INFO: Acknowledgment sent {"connection_id":192675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:36:07] local.INFO: TCP Data received {"connection_id":191103,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:36:07] local.INFO: Processing buffer {"connection_id":191103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2375dd8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:36:07] local.INFO: Packet analysis {"connection_id":191103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d237"} 
[2026-09-24 12:36:07] local.INFO: Extracted packet for processing {"connection_id":191103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d237"} 
[2026-09-24 12:36:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299632128001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790233239000,"timestamp_ms":1790233239000,"timestamp_seconds":1790233239,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2375dd8"} 
[2026-09-24 12:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 12:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299632128001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299632128001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:36:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:36:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299632128001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":191103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:36:07] local.INFO: GPS data processed {"connection_id":191103,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:36:07] local.INFO: Acknowledgment sent {"connection_id":191103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:36:29] local.INFO: TCP Data received {"connection_id":193962,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:36:29] local.INFO: Processing buffer {"connection_id":193962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:36:29] local.INFO: IMEI packet received {"connection_id":193962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":193962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:36:33] local.INFO: TCP Data received {"connection_id":193962,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:36:33] local.INFO: Processing buffer {"connection_id":193962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:36:33] local.INFO: IMEI packet received {"connection_id":193962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":193962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:36:34] local.INFO: TCP Data received {"connection_id":193962,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:36:34] local.INFO: Processing buffer {"connection_id":193962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:36:34] local.INFO: Packet analysis {"connection_id":193962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:36:34] local.INFO: Extracted packet for processing {"connection_id":193962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:36:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299709184001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790233540000,"timestamp_ms":1790233540000,"timestamp_seconds":1790233540,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23bf5a0"} 
[2026-09-24 12:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:36:34] 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-09-24 12: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-09-24 12:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299709184001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299709184001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:36:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:36:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299709184001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":193962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:36:34] local.INFO: GPS data processed {"connection_id":193962,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:36:34] local.INFO: Acknowledgment sent {"connection_id":193962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:36:45] local.INFO: TCP Data received {"connection_id":192676,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:36:45] local.INFO: Processing buffer {"connection_id":192676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:36:45] local.INFO: IMEI packet received {"connection_id":192676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":192676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:36:47] local.INFO: TCP Data received {"connection_id":193961,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:36:47] local.INFO: Processing buffer {"connection_id":193961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:36:47] local.INFO: IMEI packet received {"connection_id":193961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 12:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":193961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:36:48] local.INFO: TCP Data received {"connection_id":192676,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:36:48] local.INFO: Processing buffer {"connection_id":192676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:36:48] local.INFO: IMEI packet received {"connection_id":192676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":192676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:36:50] local.INFO: TCP Data received {"connection_id":192676,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:36:50] local.INFO: Processing buffer {"connection_id":192676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:36:50] local.INFO: IMEI packet received {"connection_id":192676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":192676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:36:51] local.INFO: TCP Data received {"connection_id":192676,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23c3038012d18f8000722f828006100f329..."} 
[2026-09-24 12:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23c3038012d18f8000722f828006100f329..."} 
[2026-09-24 12:36:51] local.INFO: Processing buffer {"connection_id":192676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23c3038012d18f8000722f828006100f329..."} 
[2026-09-24 12:36:51] local.INFO: Packet analysis {"connection_id":192676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d23c"} 
[2026-09-24 12:36:51] local.INFO: Extracted packet for processing {"connection_id":192676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d23c"} 
[2026-09-24 12:36:51] local.INFO: GPS Element Parsed {"raw_longitude":756611072,"raw_latitude":119732264,"longitude_deg":75.6611072,"latitude_deg":11.9732264,"altitude":97,"angle":243,"satellites":41,"speed":33,"hex_longitude":"2d18f800","hex_latitude":"0722f828","is_valid_coordinates":true} 
[2026-09-24 12:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299789568001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22868003611738112,"note":"Value kept but may cause issues"} 
[2026-09-24 12:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800736194158143488,"note":"Value kept but may cause issues"} 
[2026-09-24 12:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790233555000,"timestamp_ms":1790233555000,"timestamp_seconds":1790233555,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23c3038"} 
[2026-09-24 12:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-24 12:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299789568001,"66":14233,"177":206,"83":42752,"24":33,"16":22868003611738112,"45":1800736194158143488},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-09-24 12:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299789568001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:36:51] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 12:36:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22868003611738112,"km_value":22868003611738.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800736194158143488,"description":"Unknown IO ID 45"} 
[2026-09-24 12:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299789568001,"power":14233,"unknown_177":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1800736194158143488}} 
[2026-09-24 12:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":192676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:36:51] local.INFO: GPS data processed {"connection_id":192676,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:36:51] local.INFO: Acknowledgment sent {"connection_id":192676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:36:55] local.INFO: TCP Data received {"connection_id":192676,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23c3808012d18f1c00722f6580062010727..."} 
[2026-09-24 12:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23c3808012d18f1c00722f6580062010727..."} 
[2026-09-24 12:36:55] local.INFO: Processing buffer {"connection_id":192676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23c3808012d18f1c00722f6580062010727..."} 
[2026-09-24 12:36:55] local.INFO: Packet analysis {"connection_id":192676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d23c"} 
[2026-09-24 12:36:55] local.INFO: Extracted packet for processing {"connection_id":192676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d23c"} 
[2026-09-24 12:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756609472,"raw_latitude":119731800,"longitude_deg":75.6609472,"latitude_deg":11.97318,"altitude":98,"angle":263,"satellites":39,"speed":33,"hex_longitude":"2d18f1c0","hex_latitude":"0722f658","is_valid_coordinates":true} 
[2026-09-24 12:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299790080001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22868085216116736,"note":"Value kept but may cause issues"} 
[2026-09-24 12:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799188081785972736,"note":"Value kept but may cause issues"} 
[2026-09-24 12:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790233557000,"timestamp_ms":1790233557000,"timestamp_seconds":1790233557,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23c3808"} 
[2026-09-24 12:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-24 12:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299790080001,"66":14254,"177":206,"83":42752,"24":33,"16":22868085216116736,"45":1799188081785972736},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-09-24 12:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299790080001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:36:55] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 12:36:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-24 12:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22868085216116736,"km_value":22868085216116.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799188081785972736,"description":"Unknown IO ID 45"} 
[2026-09-24 12:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299790080001,"power":14254,"unknown_177":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1799188081785972736}} 
[2026-09-24 12:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":192676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:36:55] local.INFO: GPS data processed {"connection_id":192676,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:36:55] local.INFO: Acknowledgment sent {"connection_id":192676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:37:06] local.INFO: TCP Data received {"connection_id":193962,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:37:06] local.INFO: Processing buffer {"connection_id":193962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:37:06] local.INFO: Packet analysis {"connection_id":193962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:37:06] local.INFO: Extracted packet for processing {"connection_id":193962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:37:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299709184001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790233540000,"timestamp_ms":1790233540000,"timestamp_seconds":1790233540,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23bf5a0"} 
[2026-09-24 12:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299709184001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299709184001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:37:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:37:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299709184001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":193962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:37:06] local.INFO: GPS data processed {"connection_id":193962,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:37:06] local.INFO: Acknowledgment sent {"connection_id":193962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:37:07] local.INFO: TCP Data received {"connection_id":192677,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:37:07] local.INFO: Processing buffer {"connection_id":192677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:37:07] local.INFO: IMEI packet received {"connection_id":192677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 12:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":192677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:37:28] local.INFO: TCP Data received {"connection_id":193963,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:37:28] local.INFO: Processing buffer {"connection_id":193963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:37:28] local.INFO: IMEI packet received {"connection_id":193963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":193963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:37:34] local.INFO: TCP Data received {"connection_id":193963,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:37:34] local.INFO: Processing buffer {"connection_id":193963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:37:34] local.INFO: IMEI packet received {"connection_id":193963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":193963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:37:35] local.INFO: TCP Data received {"connection_id":193963,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:37:35] local.INFO: Processing buffer {"connection_id":193963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:37:35] local.INFO: Packet analysis {"connection_id":193963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:37:35] local.INFO: Extracted packet for processing {"connection_id":193963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:37:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299709184001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790233540000,"timestamp_ms":1790233540000,"timestamp_seconds":1790233540,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23bf5a0"} 
[2026-09-24 12:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:37:35] 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-09-24 12:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299709184001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299709184001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:37:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:37:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299709184001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":193963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:37:35] local.INFO: GPS data processed {"connection_id":193963,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:37:35] local.INFO: Acknowledgment sent {"connection_id":193963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:37:45] local.INFO: TCP Data received {"connection_id":193964,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:37:45] local.INFO: Processing buffer {"connection_id":193964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:37:45] local.INFO: IMEI packet received {"connection_id":193964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":193964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:37:46] local.INFO: TCP Data received {"connection_id":193964,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:37:46] local.INFO: Processing buffer {"connection_id":193964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:37:46] local.INFO: IMEI packet received {"connection_id":193964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":193964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:37:50] local.INFO: TCP Data received {"connection_id":193964,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:37:50] local.INFO: Processing buffer {"connection_id":193964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:37:50] local.INFO: IMEI packet received {"connection_id":193964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":193964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:37:53] local.INFO: TCP Data received {"connection_id":193964,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23cd448012d18a2800722c578006800bd2d..."} 
[2026-09-24 12:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23cd448012d18a2800722c578006800bd2d..."} 
[2026-09-24 12:37:53] local.INFO: Processing buffer {"connection_id":193964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23cd448012d18a2800722c578006800bd2d..."} 
[2026-09-24 12:37:53] local.INFO: Packet analysis {"connection_id":193964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d23c"} 
[2026-09-24 12:37:53] local.INFO: Extracted packet for processing {"connection_id":193964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d23c"} 
[2026-09-24 12:37:53] local.INFO: GPS Element Parsed {"raw_longitude":756589184,"raw_latitude":119719288,"longitude_deg":75.6589184,"latitude_deg":11.9719288,"altitude":104,"angle":189,"satellites":45,"speed":30,"hex_longitude":"2d18a280","hex_latitude":"0722c578","is_valid_coordinates":true} 
[2026-09-24 12:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299800320001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22869558389899264,"note":"Value kept but may cause issues"} 
[2026-09-24 12:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775614552483518464,"note":"Value kept but may cause issues"} 
[2026-09-24 12:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790233597000,"timestamp_ms":1790233597000,"timestamp_seconds":1790233597,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23cd448"} 
[2026-09-24 12:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-24 12:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":193964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":193964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":193964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299800320001,"66":14233,"105":206,"83":41984,"24":30,"16":22869558389899264,"45":1775614552483518464},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 12:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299800320001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:37:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 12:37:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22869558389899264,"km_value":22869558389899.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775614552483518464,"description":"Unknown IO ID 45"} 
[2026-09-24 12:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299800320001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1775614552483518464}} 
[2026-09-24 12:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":193964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:37:54] local.INFO: GPS data processed {"connection_id":193964,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:37:54] local.INFO: Acknowledgment sent {"connection_id":193964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:38:07] local.INFO: TCP Data received {"connection_id":193963,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:38:07] local.INFO: Processing buffer {"connection_id":193963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:38:07] local.INFO: Packet analysis {"connection_id":193963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:38:07] local.INFO: Extracted packet for processing {"connection_id":193963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:38:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299709184001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790233540000,"timestamp_ms":1790233540000,"timestamp_seconds":1790233540,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23bf5a0"} 
[2026-09-24 12:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:38:07] 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-09-24 12:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299709184001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299709184001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:38:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:38:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299709184001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":193963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:38:07] local.INFO: GPS data processed {"connection_id":193963,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:38:07] local.INFO: Acknowledgment sent {"connection_id":193963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:38:25] local.INFO: TCP Data received {"connection_id":193964,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23ce000012d18a2800722bd50006900ad2d..."} 
[2026-09-24 12:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23ce000012d18a2800722bd50006900ad2d..."} 
[2026-09-24 12:38:25] local.INFO: Processing buffer {"connection_id":193964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23ce000012d18a2800722bd50006900ad2d..."} 
[2026-09-24 12:38:25] local.INFO: Packet analysis {"connection_id":193964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d23c"} 
[2026-09-24 12:38:25] local.INFO: Extracted packet for processing {"connection_id":193964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d23c"} 
[2026-09-24 12:38:25] local.INFO: GPS Element Parsed {"raw_longitude":756589184,"raw_latitude":119717200,"longitude_deg":75.6589184,"latitude_deg":11.97172,"altitude":105,"angle":173,"satellites":45,"speed":25,"hex_longitude":"2d18a280","hex_latitude":"0722bd50","is_valid_coordinates":true} 
[2026-09-24 12:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299800832001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22869661469114368,"note":"Value kept but may cause issues"} 
[2026-09-24 12:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775121971273889792,"note":"Value kept but may cause issues"} 
[2026-09-24 12:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790233600000,"timestamp_ms":1790233600000,"timestamp_seconds":1790233600,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23ce000"} 
[2026-09-24 12:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-24 12:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":193964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":193964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":193964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299800832001,"66":14026,"105":206,"83":41984,"24":25,"16":22869661469114368,"45":1775121971273889792},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 12:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299800832001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:38:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 12:38:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22869661469114368,"km_value":22869661469114.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775121971273889792,"description":"Unknown IO ID 45"} 
[2026-09-24 12:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299800832001,"power":14026,"unknown_105":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1775121971273889792}} 
[2026-09-24 12:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":193964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:38:25] local.INFO: GPS data processed {"connection_id":193964,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:38:25] local.INFO: Acknowledgment sent {"connection_id":193964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:38:28] local.INFO: TCP Data received {"connection_id":191104,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:38:28] local.INFO: Processing buffer {"connection_id":191104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:38:28] local.INFO: IMEI packet received {"connection_id":191104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":191104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:38:34] local.INFO: TCP Data received {"connection_id":191104,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:38:34] local.INFO: Processing buffer {"connection_id":191104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:38:34] local.INFO: IMEI packet received {"connection_id":191104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":191104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:38:35] local.INFO: TCP Data received {"connection_id":191104,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:38:35] local.INFO: Processing buffer {"connection_id":191104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:38:35] local.INFO: Packet analysis {"connection_id":191104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:38:35] local.INFO: Extracted packet for processing {"connection_id":191104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:38:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299709184001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790233540000,"timestamp_ms":1790233540000,"timestamp_seconds":1790233540,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23bf5a0"} 
[2026-09-24 12:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:38:35] 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-09-24 12: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-09-24 12:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299709184001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299709184001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:38:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:38:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299709184001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":191104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:38:35] local.INFO: GPS data processed {"connection_id":191104,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:38:35] local.INFO: Acknowledgment sent {"connection_id":191104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:38:48] local.INFO: TCP Data received {"connection_id":191289,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:38:49] local.INFO: Processing buffer {"connection_id":191289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:38:49] local.INFO: IMEI packet received {"connection_id":191289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":191289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:38:50] local.INFO: TCP Data received {"connection_id":191289,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:38:50] local.INFO: Processing buffer {"connection_id":191289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:38:50] local.INFO: IMEI packet received {"connection_id":191289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":191289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:38:55] local.INFO: TCP Data received {"connection_id":191289,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:38:55] local.INFO: Processing buffer {"connection_id":191289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:38:55] local.INFO: IMEI packet received {"connection_id":191289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":191289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:38:56] local.INFO: TCP Data received {"connection_id":191289,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23cf770012d18a5000722af90006c00a12b..."} 
[2026-09-24 12:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23cf770012d18a5000722af90006c00a12b..."} 
[2026-09-24 12:38:56] local.INFO: Processing buffer {"connection_id":191289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23cf770012d18a5000722af90006c00a12b..."} 
[2026-09-24 12:38:56] local.INFO: Packet analysis {"connection_id":191289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d23c"} 
[2026-09-24 12:38:56] local.INFO: Extracted packet for processing {"connection_id":191289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d23c"} 
[2026-09-24 12:38:56] local.INFO: GPS Element Parsed {"raw_longitude":756589824,"raw_latitude":119713680,"longitude_deg":75.6589824,"latitude_deg":11.971368,"altitude":108,"angle":161,"satellites":43,"speed":23,"hex_longitude":"2d18a500","hex_latitude":"0722af90","is_valid_coordinates":true} 
[2026-09-24 12:38: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-09-24 12:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299801600001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22869833267806208,"note":"Value kept but may cause issues"} 
[2026-09-24 12:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775121971273355264,"note":"Value kept but may cause issues"} 
[2026-09-24 12:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790233606000,"timestamp_ms":1790233606000,"timestamp_seconds":1790233606,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23cf770"} 
[2026-09-24 12:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-24 12:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:38: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-09-24 12:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":191289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":191289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":191289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299801600001,"66":14102,"105":206,"83":41984,"24":23,"16":22869833267806208,"45":1775121971273355264},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 12:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299801600001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:38:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 12:38:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22869833267806208,"km_value":22869833267806.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775121971273355264,"description":"Unknown IO ID 45"} 
[2026-09-24 12:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299801600001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1775121971273355264}} 
[2026-09-24 12:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":191289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:38:56] local.INFO: GPS data processed {"connection_id":191289,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:38:56] local.INFO: Acknowledgment sent {"connection_id":191289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:39:01] local.INFO: TCP Data received {"connection_id":191289,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23d1e80012d18a8400722a3c0006e00b02c..."} 
[2026-09-24 12:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23d1e80012d18a8400722a3c0006e00b02c..."} 
[2026-09-24 12:39:01] local.INFO: Processing buffer {"connection_id":191289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23d1e80012d18a8400722a3c0006e00b02c..."} 
[2026-09-24 12:39:01] local.INFO: Packet analysis {"connection_id":191289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d23d"} 
[2026-09-24 12:39:01] local.INFO: Extracted packet for processing {"connection_id":191289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d23d"} 
[2026-09-24 12:39:01] local.INFO: GPS Element Parsed {"raw_longitude":756590656,"raw_latitude":119710656,"longitude_deg":75.6590656,"latitude_deg":11.9710656,"altitude":110,"angle":176,"satellites":44,"speed":7,"hex_longitude":"2d18a840","hex_latitude":"0722a3c0","is_valid_coordinates":true} 
[2026-09-24 12:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299803136001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22869987886628864,"note":"Value kept but may cause issues"} 
[2026-09-24 12:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775825658714230784,"note":"Value kept but may cause issues"} 
[2026-09-24 12:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790233616000,"timestamp_ms":1790233616000,"timestamp_seconds":1790233616,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23d1e80"} 
[2026-09-24 12:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-24 12:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":191289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":191289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":191289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299803136001,"66":14004,"105":206,"83":41984,"24":7,"16":22869987886628864,"45":1775825658714230784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 12:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299803136001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:39:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 12:39:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22869987886628864,"km_value":22869987886628.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775825658714230784,"description":"Unknown IO ID 45"} 
[2026-09-24 12:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299803136001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1775825658714230784}} 
[2026-09-24 12:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":191289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:39:01] local.INFO: GPS data processed {"connection_id":191289,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:39:01] local.INFO: Acknowledgment sent {"connection_id":191289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:39:07] local.INFO: TCP Data received {"connection_id":191104,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:39:07] local.INFO: Processing buffer {"connection_id":191104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:39:07] local.INFO: Packet analysis {"connection_id":191104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:39:07] local.INFO: Extracted packet for processing {"connection_id":191104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:39:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299709184001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790233540000,"timestamp_ms":1790233540000,"timestamp_seconds":1790233540,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23bf5a0"} 
[2026-09-24 12:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:39:07] 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-09-24 12:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299709184001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299709184001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:39:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:39:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299709184001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":191104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:39:07] local.INFO: GPS data processed {"connection_id":191104,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:39:07] local.INFO: Acknowledgment sent {"connection_id":191104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:39:33] local.INFO: TCP Data received {"connection_id":191290,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:39:33] local.INFO: Processing buffer {"connection_id":191290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:39:33] local.INFO: IMEI packet received {"connection_id":191290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":191290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:39:38] local.INFO: TCP Data received {"connection_id":191290,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:39:38] local.INFO: Processing buffer {"connection_id":191290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:39:38] local.INFO: IMEI packet received {"connection_id":191290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":191290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:39:39] local.INFO: TCP Data received {"connection_id":191290,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:39:39] local.INFO: Processing buffer {"connection_id":191290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:39:39] local.INFO: Packet analysis {"connection_id":191290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:39:39] local.INFO: Extracted packet for processing {"connection_id":191290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:39:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299709184001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790233540000,"timestamp_ms":1790233540000,"timestamp_seconds":1790233540,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23bf5a0"} 
[2026-09-24 12:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:39:39] 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-09-24 12:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299709184001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299709184001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:39:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:39:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299709184001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":191290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:39:39] local.INFO: GPS data processed {"connection_id":191290,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:39:39] local.INFO: Acknowledgment sent {"connection_id":191290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:39:44] local.INFO: TCP Data received {"connection_id":191290,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:39:44] local.INFO: Processing buffer {"connection_id":191290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:39:44] local.INFO: Packet analysis {"connection_id":191290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:39:44] local.INFO: Extracted packet for processing {"connection_id":191290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299709184001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790233540000,"timestamp_ms":1790233540000,"timestamp_seconds":1790233540,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23bf5a0"} 
[2026-09-24 12:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:39:44] 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-09-24 12:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299709184001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299709184001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:39:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:39:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299709184001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":191290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:39:44] local.INFO: GPS data processed {"connection_id":191290,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:39:44] local.INFO: Acknowledgment sent {"connection_id":191290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:39:45] local.INFO: TCP Data received {"connection_id":191105,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:39:45] local.INFO: Processing buffer {"connection_id":191105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:39:45] local.INFO: IMEI packet received {"connection_id":191105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":191105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:39:50] local.INFO: TCP Data received {"connection_id":191105,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:39:50] local.INFO: Processing buffer {"connection_id":191105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:39:50] local.INFO: IMEI packet received {"connection_id":191105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":191105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:39:51] local.INFO: TCP Data received {"connection_id":191105,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23d4d60012d18a88007228b20006d00bb2c..."} 
[2026-09-24 12:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23d4d60012d18a88007228b20006d00bb2c..."} 
[2026-09-24 12:39:51] local.INFO: Processing buffer {"connection_id":191105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23d4d60012d18a88007228b20006d00bb2c..."} 
[2026-09-24 12:39:51] local.INFO: Packet analysis {"connection_id":191105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d23d"} 
[2026-09-24 12:39:51] local.INFO: Extracted packet for processing {"connection_id":191105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d23d"} 
[2026-09-24 12:39:51] local.INFO: GPS Element Parsed {"raw_longitude":756590720,"raw_latitude":119704352,"longitude_deg":75.659072,"latitude_deg":11.9704352,"altitude":109,"angle":187,"satellites":44,"speed":30,"hex_longitude":"2d18a880","hex_latitude":"07228b20","is_valid_coordinates":true} 
[2026-09-24 12:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299805696001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22870292829306880,"note":"Value kept but may cause issues"} 
[2026-09-24 12:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776740452387766272,"note":"Value kept but may cause issues"} 
[2026-09-24 12:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790233628000,"timestamp_ms":1790233628000,"timestamp_seconds":1790233628,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23d4d60"} 
[2026-09-24 12:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-24 12:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299805696001,"66":13852,"105":206,"83":41984,"24":30,"16":22870292829306880,"45":1776740452387766272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 12:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299805696001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:39:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 12:39:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22870292829306880,"km_value":22870292829306.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776740452387766272,"description":"Unknown IO ID 45"} 
[2026-09-24 12:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299805696001,"power":13852,"unknown_105":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1776740452387766272}} 
[2026-09-24 12:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":191105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:39:51] local.INFO: GPS data processed {"connection_id":191105,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:39:51] local.INFO: Acknowledgment sent {"connection_id":191105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:40:22] local.INFO: TCP Data received {"connection_id":191105,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23d68b8012d18a3c007227680006900c72c..."} 
[2026-09-24 12:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23d68b8012d18a3c007227680006900c72c..."} 
[2026-09-24 12:40:22] local.INFO: Processing buffer {"connection_id":191105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23d68b8012d18a3c007227680006900c72c..."} 
[2026-09-24 12:40:22] local.INFO: Packet analysis {"connection_id":191105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d23d"} 
[2026-09-24 12:40:22] local.INFO: Extracted packet for processing {"connection_id":191105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d23d"} 
[2026-09-24 12:40:22] local.INFO: GPS Element Parsed {"raw_longitude":756589504,"raw_latitude":119699072,"longitude_deg":75.6589504,"latitude_deg":11.9699072,"altitude":105,"angle":199,"satellites":44,"speed":31,"hex_longitude":"2d18a3c0","hex_latitude":"07227680","is_valid_coordinates":true} 
[2026-09-24 12:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299808768001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22870554822311936,"note":"Value kept but may cause issues"} 
[2026-09-24 12:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821130330112,"note":"Value kept but may cause issues"} 
[2026-09-24 12:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790233635000,"timestamp_ms":1790233635000,"timestamp_seconds":1790233635,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23d68b8"} 
[2026-09-24 12:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-24 12:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299808768001,"66":13961,"105":206,"83":41984,"24":31,"16":22870554822311936,"45":1776810821130330112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 12:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299808768001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:40:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 12:40:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22870554822311936,"km_value":22870554822311.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821130330112,"description":"Unknown IO ID 45"} 
[2026-09-24 12:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299808768001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1776810821130330112}} 
[2026-09-24 12:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":191105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:40:22] local.INFO: GPS data processed {"connection_id":191105,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:40:22] local.INFO: Acknowledgment sent {"connection_id":191105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:40:29] local.INFO: TCP Data received {"connection_id":191106,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:40:29] local.INFO: Processing buffer {"connection_id":191106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:40:29] local.INFO: IMEI packet received {"connection_id":191106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":191106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:40:33] local.INFO: TCP Data received {"connection_id":191106,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:40:33] local.INFO: Processing buffer {"connection_id":191106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:40:33] local.INFO: IMEI packet received {"connection_id":191106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":191106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:40:35] local.INFO: TCP Data received {"connection_id":191106,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:40:35] local.INFO: Processing buffer {"connection_id":191106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:40:35] local.INFO: Packet analysis {"connection_id":191106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:40:35] local.INFO: Extracted packet for processing {"connection_id":191106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:40:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299709184001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790233540000,"timestamp_ms":1790233540000,"timestamp_seconds":1790233540,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23bf5a0"} 
[2026-09-24 12:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:40:35] 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-09-24 12:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299709184001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299709184001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:40:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:40:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299709184001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":191106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:40:35] local.INFO: GPS data processed {"connection_id":191106,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:40:35] local.INFO: Acknowledgment sent {"connection_id":191106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:40:39] local.INFO: TCP Data received {"connection_id":191106,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:40:39] local.INFO: Processing buffer {"connection_id":191106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:40:39] local.INFO: Packet analysis {"connection_id":191106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:40:39] local.INFO: Extracted packet for processing {"connection_id":191106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:40:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299709184001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790233540000,"timestamp_ms":1790233540000,"timestamp_seconds":1790233540,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23bf5a0"} 
[2026-09-24 12:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:40:39] 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-09-24 12:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299709184001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299709184001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:40:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:40:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299709184001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":191106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:40:39] local.INFO: GPS data processed {"connection_id":191106,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:40:39] local.INFO: Acknowledgment sent {"connection_id":191106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:40:45] local.INFO: TCP Data received {"connection_id":191107,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:40:45] local.INFO: Processing buffer {"connection_id":191107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:40:45] local.INFO: IMEI packet received {"connection_id":191107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":191107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:40:50] local.INFO: TCP Data received {"connection_id":191107,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:40:50] local.INFO: Processing buffer {"connection_id":191107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:40:50] local.INFO: IMEI packet received {"connection_id":191107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":191107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:40:51] local.INFO: TCP Data received {"connection_id":191107,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23d8410012d18984007226028006200d429..."} 
[2026-09-24 12:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23d8410012d18984007226028006200d429..."} 
[2026-09-24 12:40:51] local.INFO: Processing buffer {"connection_id":191107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23d8410012d18984007226028006200d429..."} 
[2026-09-24 12:40:51] local.INFO: Packet analysis {"connection_id":191107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d23d"} 
[2026-09-24 12:40:51] local.INFO: Extracted packet for processing {"connection_id":191107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d23d"} 
[2026-09-24 12:40:51] local.INFO: GPS Element Parsed {"raw_longitude":756586560,"raw_latitude":119693352,"longitude_deg":75.658656,"latitude_deg":11.9693352,"altitude":98,"angle":212,"satellites":41,"speed":40,"hex_longitude":"2d189840","hex_latitude":"07226028","is_valid_coordinates":true} 
[2026-09-24 12:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299810560001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22870868354924544,"note":"Value kept but may cause issues"} 
[2026-09-24 12:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775473814989602816,"note":"Value kept but may cause issues"} 
[2026-09-24 12:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790233642000,"timestamp_ms":1790233642000,"timestamp_seconds":1790233642,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23d8410"} 
[2026-09-24 12:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-24 12:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299810560001,"66":14080,"105":206,"83":41984,"24":40,"16":22870868354924544,"45":1775473814989602816},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 12:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299810560001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:40:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 12:40:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22870868354924544,"km_value":22870868354924.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775473814989602816,"description":"Unknown IO ID 45"} 
[2026-09-24 12:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299810560001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1775473814989602816}} 
[2026-09-24 12:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":191107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:40:51] local.INFO: GPS data processed {"connection_id":191107,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:40:51] local.INFO: Acknowledgment sent {"connection_id":191107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:41:10] local.INFO: TCP Data received {"connection_id":191106,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:41:10] local.INFO: Processing buffer {"connection_id":191106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23bf5a0012d34c14006aa4940000900f529..."} 
[2026-09-24 12:41:10] local.INFO: Packet analysis {"connection_id":191106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:41:10] local.INFO: Extracted packet for processing {"connection_id":191106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d23b"} 
[2026-09-24 12:41:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299709184001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790233540000,"timestamp_ms":1790233540000,"timestamp_seconds":1790233540,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23bf5a0"} 
[2026-09-24 12:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:41: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-09-24 12:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299709184001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299709184001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:41:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:41:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299709184001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":191106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:41:10] local.INFO: GPS data processed {"connection_id":191106,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:41:10] local.INFO: Acknowledgment sent {"connection_id":191106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:41:22] local.INFO: TCP Data received {"connection_id":191107,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d23fd9b8012d1821c00721ad50004600ba2b..."} 
[2026-09-24 12:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d23fd9b8012d1821c00721ad50004600ba2b..."} 
[2026-09-24 12:41:22] local.INFO: Processing buffer {"connection_id":191107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d23fd9b8012d1821c00721ad50004600ba2b..."} 
[2026-09-24 12:41:22] local.INFO: Packet analysis {"connection_id":191107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d23f"} 
[2026-09-24 12:41:22] local.INFO: Extracted packet for processing {"connection_id":191107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d23f"} 
[2026-09-24 12:41:22] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119647568,"longitude_deg":75.6556224,"latitude_deg":11.9647568,"altitude":70,"angle":186,"satellites":43,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721ad50","is_valid_coordinates":true} 
[2026-09-24 12:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299846144001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22873518349746176,"note":"Value kept but may cause issues"} 
[2026-09-24 12:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004032512,"note":"Value kept but may cause issues"} 
[2026-09-24 12:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790233795000,"timestamp_ms":1790233795000,"timestamp_seconds":1790233795,"priority":1,"record_length":96,"hex_timestamp":"000001a0d23fd9b8"} 
[2026-09-24 12:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-24 12:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299846144001,"66":12863,"105":206,"83":41984,"24":0,"16":22873518349746176,"45":1738882068004032512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 12:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299846144001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:41:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 12:41:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22873518349746176,"km_value":22873518349746.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004032512,"description":"Unknown IO ID 45"} 
[2026-09-24 12:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299846144001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004032512}} 
[2026-09-24 12:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":191107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:41:22] local.INFO: GPS data processed {"connection_id":191107,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:41:22] local.INFO: Acknowledgment sent {"connection_id":191107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:41:30] local.INFO: TCP Data received {"connection_id":191291,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:41:30] local.INFO: Processing buffer {"connection_id":191291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:41:30] local.INFO: IMEI packet received {"connection_id":191291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":191291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:41:34] local.INFO: TCP Data received {"connection_id":191291,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:41:34] local.INFO: Processing buffer {"connection_id":191291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:41:34] local.INFO: IMEI packet received {"connection_id":191291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":191291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:41:35] local.INFO: TCP Data received {"connection_id":191291,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:41:35] local.INFO: Processing buffer {"connection_id":191291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:41:35] local.INFO: Packet analysis {"connection_id":191291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:41:35] local.INFO: Extracted packet for processing {"connection_id":191291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:41:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299786240001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790233841000,"timestamp_ms":1790233841000,"timestamp_seconds":1790233841,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2408d68"} 
[2026-09-24 12:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299786240001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299786240001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:41:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:41:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299786240001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":191291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:41:35] local.INFO: GPS data processed {"connection_id":191291,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:41:35] local.INFO: Acknowledgment sent {"connection_id":191291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:41:39] local.INFO: TCP Data received {"connection_id":191291,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:41:39] local.INFO: Processing buffer {"connection_id":191291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:41:39] local.INFO: Packet analysis {"connection_id":191291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:41:39] local.INFO: Extracted packet for processing {"connection_id":191291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:41:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299786240001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790233841000,"timestamp_ms":1790233841000,"timestamp_seconds":1790233841,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2408d68"} 
[2026-09-24 12:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299786240001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299786240001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:41:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:41:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299786240001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":191291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:41:39] local.INFO: GPS data processed {"connection_id":191291,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:41:39] local.INFO: Acknowledgment sent {"connection_id":191291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:41:45] local.INFO: TCP Data received {"connection_id":193968,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:41:45] local.INFO: Processing buffer {"connection_id":193968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:41:45] local.INFO: IMEI packet received {"connection_id":193968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":193968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:41:50] local.INFO: TCP Data received {"connection_id":193968,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:41:50] local.INFO: Processing buffer {"connection_id":193968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:41:50] local.INFO: IMEI packet received {"connection_id":193968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":193968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:41:51] local.INFO: TCP Data received {"connection_id":193968,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2402bc0012d1821c00721ad50004600ba2c..."} 
[2026-09-24 12:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2402bc0012d1821c00721ad50004600ba2c..."} 
[2026-09-24 12:41:51] local.INFO: Processing buffer {"connection_id":193968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2402bc0012d1821c00721ad50004600ba2c..."} 
[2026-09-24 12:41:51] local.INFO: Packet analysis {"connection_id":193968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:41:51] local.INFO: Extracted packet for processing {"connection_id":193968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:41:51] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119647568,"longitude_deg":75.6556224,"latitude_deg":11.9647568,"altitude":70,"angle":186,"satellites":44,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721ad50","is_valid_coordinates":true} 
[2026-09-24 12:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299851520001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22873518349746176,"note":"Value kept but may cause issues"} 
[2026-09-24 12:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004032512,"note":"Value kept but may cause issues"} 
[2026-09-24 12:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790233816000,"timestamp_ms":1790233816000,"timestamp_seconds":1790233816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2402bc0"} 
[2026-09-24 12:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-24 12:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299851520001,"66":12809,"105":206,"83":41984,"24":0,"16":22873518349746176,"45":1738882068004032512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 12:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299851520001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:41:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 12:41:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22873518349746176,"km_value":22873518349746.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004032512,"description":"Unknown IO ID 45"} 
[2026-09-24 12:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299851520001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004032512}} 
[2026-09-24 12:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":193968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:41:51] local.INFO: GPS data processed {"connection_id":193968,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:41:51] local.INFO: Acknowledgment sent {"connection_id":193968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:42:11] local.INFO: TCP Data received {"connection_id":191291,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:42:11] local.INFO: Processing buffer {"connection_id":191291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:42:11] local.INFO: Packet analysis {"connection_id":191291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:42:11] local.INFO: Extracted packet for processing {"connection_id":191291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:42:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299786240001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790233841000,"timestamp_ms":1790233841000,"timestamp_seconds":1790233841,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2408d68"} 
[2026-09-24 12:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299786240001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299786240001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:42:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:42:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299786240001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":191291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:42:11] local.INFO: GPS data processed {"connection_id":191291,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:42:11] local.INFO: Acknowledgment sent {"connection_id":191291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:42:22] local.INFO: TCP Data received {"connection_id":193968,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2407dc8012d1821c00721ad50004600ba2c..."} 
[2026-09-24 12:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2407dc8012d1821c00721ad50004600ba2c..."} 
[2026-09-24 12:42:22] local.INFO: Processing buffer {"connection_id":193968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2407dc8012d1821c00721ad50004600ba2c..."} 
[2026-09-24 12:42:22] local.INFO: Packet analysis {"connection_id":193968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:42:22] local.INFO: Extracted packet for processing {"connection_id":193968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:42:22] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119647568,"longitude_deg":75.6556224,"latitude_deg":11.9647568,"altitude":70,"angle":186,"satellites":44,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721ad50","is_valid_coordinates":true} 
[2026-09-24 12:42: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-09-24 12:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299856896001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22873518349746176,"note":"Value kept but may cause issues"} 
[2026-09-24 12:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004032512,"note":"Value kept but may cause issues"} 
[2026-09-24 12:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790233837000,"timestamp_ms":1790233837000,"timestamp_seconds":1790233837,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2407dc8"} 
[2026-09-24 12:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-24 12:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2882303761684890624,"note":"Value kept but may cause issues"} 
[2026-09-24 12:42:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 12:42:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 12:42:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3527294864,"note":"Value kept but may cause issues"} 
[2026-09-24 12:42:22] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 12:42:22] local.WARNING: Large IO value detected {"io_id":210,"raw_value":4474466972332470208,"note":"Value kept but may cause issues"} 
[2026-09-24 12:42:22] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692845,"note":"Value kept but may cause issues"} 
[2026-09-24 12:42:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-24 12:42:22] local.WARNING: Large IO value detected {"io_id":145,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-09-24 12:42:22] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-8070224675336040877,"note":"Value kept but may cause issues"} 
[2026-09-24 12:42:22] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2433272010084765995,"note":"Value kept but may cause issues"} 
[2026-09-24 12:42:22] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-09-24 12:42:22] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,67,160,217,45,192,173,70,43,10,66,135,44,53,1,240,172,227,210,33,4,113,205,145,80,42,239,51,2,81,7,6,164,82],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-24 12:42:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044236280796282880,"timestamp_seconds":5044236280796283.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 12:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299856896001,"66":12798,"105":206,"83":41984,"24":0,"16":22873518349746176,"45":1738882068004032512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 12:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299856896001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:42:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 12:42:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22873518349746176,"km_value":22873518349746.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004032512,"description":"Unknown IO ID 45"} 
[2026-09-24 12:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299856896001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004032512}} 
[2026-09-24 12:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":193968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:42:22] local.INFO: GPS data processed {"connection_id":193968,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:42:22] local.INFO: Acknowledgment sent {"connection_id":193968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:42:28] local.INFO: TCP Data received {"connection_id":193969,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:42:28] local.INFO: Processing buffer {"connection_id":193969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:42:28] local.INFO: IMEI packet received {"connection_id":193969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":193969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:42:32] local.INFO: TCP Data received {"connection_id":192678,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:42:32] local.INFO: Processing buffer {"connection_id":192678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:42:32] local.INFO: IMEI packet received {"connection_id":192678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 12:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":192678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:42:33] local.INFO: TCP Data received {"connection_id":193969,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:42:33] local.INFO: Processing buffer {"connection_id":193969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:42:33] local.INFO: IMEI packet received {"connection_id":193969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":193969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:42:34] local.INFO: TCP Data received {"connection_id":193969,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:42:34] local.INFO: Processing buffer {"connection_id":193969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:42:34] local.INFO: Packet analysis {"connection_id":193969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:42:34] local.INFO: Extracted packet for processing {"connection_id":193969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:42:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299786240001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790233841000,"timestamp_ms":1790233841000,"timestamp_seconds":1790233841,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2408d68"} 
[2026-09-24 12:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299786240001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299786240001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:42:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:42:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299786240001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":193969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:42:34] local.INFO: GPS data processed {"connection_id":193969,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:42:34] local.INFO: Acknowledgment sent {"connection_id":193969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:42:46] local.INFO: TCP Data received {"connection_id":191108,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:42:46] local.INFO: Processing buffer {"connection_id":191108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:42:46] local.INFO: IMEI packet received {"connection_id":191108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":191108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:42:50] local.INFO: TCP Data received {"connection_id":191108,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:42:50] local.INFO: Processing buffer {"connection_id":191108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:42:50] local.INFO: IMEI packet received {"connection_id":191108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":191108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:42:51] local.INFO: TCP Data received {"connection_id":191108,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d240cfd0012d1821c00721ad50004600ba2c..."} 
[2026-09-24 12:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d240cfd0012d1821c00721ad50004600ba2c..."} 
[2026-09-24 12:42:51] local.INFO: Processing buffer {"connection_id":191108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d240cfd0012d1821c00721ad50004600ba2c..."} 
[2026-09-24 12:42:51] local.INFO: Packet analysis {"connection_id":191108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:42:51] local.INFO: Extracted packet for processing {"connection_id":191108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:42:51] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119647568,"longitude_deg":75.6556224,"latitude_deg":11.9647568,"altitude":70,"angle":186,"satellites":44,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721ad50","is_valid_coordinates":true} 
[2026-09-24 12:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299862272001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22873518349746176,"note":"Value kept but may cause issues"} 
[2026-09-24 12:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004032512,"note":"Value kept but may cause issues"} 
[2026-09-24 12:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790233858000,"timestamp_ms":1790233858000,"timestamp_seconds":1790233858,"priority":1,"record_length":96,"hex_timestamp":"000001a0d240cfd0"} 
[2026-09-24 12:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 12:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299862272001,"66":12722,"105":206,"83":41984,"24":0,"16":22873518349746176,"45":1738882068004032512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 12:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299862272001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:42:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 12:42:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22873518349746176,"km_value":22873518349746.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004032512,"description":"Unknown IO ID 45"} 
[2026-09-24 12:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299862272001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004032512}} 
[2026-09-24 12:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":191108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:42:51] local.INFO: GPS data processed {"connection_id":191108,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:42:51] local.INFO: Acknowledgment sent {"connection_id":191108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:43:06] local.INFO: TCP Data received {"connection_id":193969,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:43:06] local.INFO: Processing buffer {"connection_id":193969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:43:06] local.INFO: Packet analysis {"connection_id":193969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:43:06] local.INFO: Extracted packet for processing {"connection_id":193969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:43:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299786240001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790233841000,"timestamp_ms":1790233841000,"timestamp_seconds":1790233841,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2408d68"} 
[2026-09-24 12:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299786240001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299786240001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:43:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:43:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299786240001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":193969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:43:06] local.INFO: GPS data processed {"connection_id":193969,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:43:06] local.INFO: Acknowledgment sent {"connection_id":193969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:43:12] local.INFO: TCP Data received {"connection_id":191292,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191292,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:43:12] local.INFO: Processing buffer {"connection_id":191292,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:43:12] local.INFO: IMEI packet received {"connection_id":191292,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 12:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":191292,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:43:22] local.INFO: TCP Data received {"connection_id":191108,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24121d8012d1821c00721ad50004600ba2a..."} 
[2026-09-24 12:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24121d8012d1821c00721ad50004600ba2a..."} 
[2026-09-24 12:43:22] local.INFO: Processing buffer {"connection_id":191108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24121d8012d1821c00721ad50004600ba2a..."} 
[2026-09-24 12:43:22] local.INFO: Packet analysis {"connection_id":191108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d241"} 
[2026-09-24 12:43:22] local.INFO: Extracted packet for processing {"connection_id":191108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d241"} 
[2026-09-24 12:43:22] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119647568,"longitude_deg":75.6556224,"latitude_deg":11.9647568,"altitude":70,"angle":186,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721ad50","is_valid_coordinates":true} 
[2026-09-24 12:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299867648001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22873518349746176,"note":"Value kept but may cause issues"} 
[2026-09-24 12:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004032512,"note":"Value kept but may cause issues"} 
[2026-09-24 12:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790233879000,"timestamp_ms":1790233879000,"timestamp_seconds":1790233879,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24121d8"} 
[2026-09-24 12:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 12:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299867648001,"66":12722,"105":206,"83":41984,"24":0,"16":22873518349746176,"45":1738882068004032512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 12:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299867648001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:43:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 12:43:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22873518349746176,"km_value":22873518349746.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004032512,"description":"Unknown IO ID 45"} 
[2026-09-24 12:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299867648001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004032512}} 
[2026-09-24 12:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":191108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:43:22] local.INFO: GPS data processed {"connection_id":191108,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:43:22] local.INFO: Acknowledgment sent {"connection_id":191108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:43:28] local.INFO: TCP Data received {"connection_id":191293,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:43:28] local.INFO: Processing buffer {"connection_id":191293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:43:28] local.INFO: IMEI packet received {"connection_id":191293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":191293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:43:33] local.INFO: TCP Data received {"connection_id":191293,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:43:33] local.INFO: Processing buffer {"connection_id":191293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:43:33] local.INFO: IMEI packet received {"connection_id":191293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":191293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:43:34] local.INFO: TCP Data received {"connection_id":191293,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:43:34] local.INFO: Processing buffer {"connection_id":191293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:43:34] local.INFO: Packet analysis {"connection_id":191293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:43:34] local.INFO: Extracted packet for processing {"connection_id":191293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:43:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299786240001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790233841000,"timestamp_ms":1790233841000,"timestamp_seconds":1790233841,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2408d68"} 
[2026-09-24 12:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299786240001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299786240001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:43:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:43:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299786240001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":191293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:43:34] local.INFO: GPS data processed {"connection_id":191293,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:43:34] local.INFO: Acknowledgment sent {"connection_id":191293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:43:45] local.INFO: TCP Data received {"connection_id":191109,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:43:45] local.INFO: Processing buffer {"connection_id":191109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:43:45] local.INFO: IMEI packet received {"connection_id":191109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":191109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:43:50] local.INFO: TCP Data received {"connection_id":191109,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:43:50] local.INFO: Processing buffer {"connection_id":191109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:43:50] local.INFO: IMEI packet received {"connection_id":191109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":191109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:43:50] local.INFO: TCP Data received {"connection_id":191109,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:43:50] local.INFO: Processing buffer {"connection_id":191109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:43:50] local.INFO: IMEI packet received {"connection_id":191109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":191109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:43:51] local.INFO: TCP Data received {"connection_id":191109,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24173e0012d1821c00721ad50004600ba29..."} 
[2026-09-24 12:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24173e0012d1821c00721ad50004600ba29..."} 
[2026-09-24 12:43:51] local.INFO: Processing buffer {"connection_id":191109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24173e0012d1821c00721ad50004600ba29..."} 
[2026-09-24 12:43:51] local.INFO: Packet analysis {"connection_id":191109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d241"} 
[2026-09-24 12:43:51] local.INFO: Extracted packet for processing {"connection_id":191109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d241"} 
[2026-09-24 12:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119647568,"longitude_deg":75.6556224,"latitude_deg":11.9647568,"altitude":70,"angle":186,"satellites":41,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721ad50","is_valid_coordinates":true} 
[2026-09-24 12:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299873024001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22873518349746176,"note":"Value kept but may cause issues"} 
[2026-09-24 12:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004032512,"note":"Value kept but may cause issues"} 
[2026-09-24 12:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790233900000,"timestamp_ms":1790233900000,"timestamp_seconds":1790233900,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24173e0"} 
[2026-09-24 12:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 12:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299873024001,"66":12689,"105":206,"83":41984,"24":0,"16":22873518349746176,"45":1738882068004032512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 12:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299873024001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:43:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 12:43:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22873518349746176,"km_value":22873518349746.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004032512,"description":"Unknown IO ID 45"} 
[2026-09-24 12:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299873024001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004032512}} 
[2026-09-24 12:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":191109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:43:51] local.INFO: GPS data processed {"connection_id":191109,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:43:51] local.INFO: Acknowledgment sent {"connection_id":191109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:43:55] local.INFO: TCP Data received {"connection_id":191109,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d241c5e8012d1821c00721ad50004600ba2b..."} 
[2026-09-24 12:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d241c5e8012d1821c00721ad50004600ba2b..."} 
[2026-09-24 12:43:55] local.INFO: Processing buffer {"connection_id":191109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d241c5e8012d1821c00721ad50004600ba2b..."} 
[2026-09-24 12:43:55] local.INFO: Packet analysis {"connection_id":191109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d241"} 
[2026-09-24 12:43:55] local.INFO: Extracted packet for processing {"connection_id":191109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d241"} 
[2026-09-24 12:43:55] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119647568,"longitude_deg":75.6556224,"latitude_deg":11.9647568,"altitude":70,"angle":186,"satellites":43,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721ad50","is_valid_coordinates":true} 
[2026-09-24 12:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299878400001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22873518349746176,"note":"Value kept but may cause issues"} 
[2026-09-24 12:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004032512,"note":"Value kept but may cause issues"} 
[2026-09-24 12:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790233921000,"timestamp_ms":1790233921000,"timestamp_seconds":1790233921,"priority":1,"record_length":96,"hex_timestamp":"000001a0d241c5e8"} 
[2026-09-24 12:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-24 12:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299878400001,"66":14135,"105":206,"83":41984,"24":0,"16":22873518349746176,"45":1738882068004032512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 12:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299878400001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:43:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 12:43:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22873518349746176,"km_value":22873518349746.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004032512,"description":"Unknown IO ID 45"} 
[2026-09-24 12:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299878400001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004032512}} 
[2026-09-24 12:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":191109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:43:56] local.INFO: GPS data processed {"connection_id":191109,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:43:56] local.INFO: Acknowledgment sent {"connection_id":191109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:44:06] local.INFO: TCP Data received {"connection_id":191293,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:44:06] local.INFO: Processing buffer {"connection_id":191293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:44:06] local.INFO: Packet analysis {"connection_id":191293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:44:06] local.INFO: Extracted packet for processing {"connection_id":191293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299786240001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790233841000,"timestamp_ms":1790233841000,"timestamp_seconds":1790233841,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2408d68"} 
[2026-09-24 12:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299786240001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299786240001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:44:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:44:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299786240001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":191293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:44:06] local.INFO: GPS data processed {"connection_id":191293,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:44:06] local.INFO: Acknowledgment sent {"connection_id":191293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:44:26] local.INFO: TCP Data received {"connection_id":191109,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2432578012d186cc0072181d8004b005b28..."} 
[2026-09-24 12:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2432578012d186cc0072181d8004b005b28..."} 
[2026-09-24 12:44:26] local.INFO: Processing buffer {"connection_id":191109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2432578012d186cc0072181d8004b005b28..."} 
[2026-09-24 12:44:26] local.INFO: Packet analysis {"connection_id":191109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d243"} 
[2026-09-24 12:44:26] local.INFO: Extracted packet for processing {"connection_id":191109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d243"} 
[2026-09-24 12:44:26] local.INFO: GPS Element Parsed {"raw_longitude":756575424,"raw_latitude":119636440,"longitude_deg":75.6575424,"latitude_deg":11.963644,"altitude":75,"angle":91,"satellites":40,"speed":36,"hex_longitude":"2d186cc0","hex_latitude":"072181d8","is_valid_coordinates":true} 
[2026-09-24 12:44: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-09-24 12:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299906048001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22874699465752576,"note":"Value kept but may cause issues"} 
[2026-09-24 12:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756826097766578176,"note":"Value kept but may cause issues"} 
[2026-09-24 12:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790234011000,"timestamp_ms":1790234011000,"timestamp_seconds":1790234011,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2432578"} 
[2026-09-24 12:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-24 12:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:44: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-09-24 12:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299906048001,"66":14243,"106":206,"83":41984,"24":36,"16":22874699465752576,"45":1756826097766578176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-24 12:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299906048001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:44:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-24 12:44:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22874699465752576,"km_value":22874699465752.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756826097766578176,"description":"Unknown IO ID 45"} 
[2026-09-24 12:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299906048001,"power":14243,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1756826097766578176}} 
[2026-09-24 12:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":191109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:44:26] local.INFO: GPS data processed {"connection_id":191109,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:44:26] local.INFO: Acknowledgment sent {"connection_id":191109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:44:34] local.INFO: TCP Data received {"connection_id":191294,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:44:34] local.INFO: Processing buffer {"connection_id":191294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:44:34] local.INFO: IMEI packet received {"connection_id":191294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":191294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:44:38] local.INFO: TCP Data received {"connection_id":191294,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:44:38] local.INFO: Processing buffer {"connection_id":191294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:44:38] local.INFO: IMEI packet received {"connection_id":191294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":191294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:44:40] local.INFO: TCP Data received {"connection_id":191294,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:44:40] local.INFO: Processing buffer {"connection_id":191294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:44:40] local.INFO: Packet analysis {"connection_id":191294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:44:40] local.INFO: Extracted packet for processing {"connection_id":191294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:44:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299786240001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790233841000,"timestamp_ms":1790233841000,"timestamp_seconds":1790233841,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2408d68"} 
[2026-09-24 12:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299786240001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299786240001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:44:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:44:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299786240001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":191294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:44:40] local.INFO: GPS data processed {"connection_id":191294,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:44:40] local.INFO: Acknowledgment sent {"connection_id":191294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:44:45] local.INFO: TCP Data received {"connection_id":191294,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:44:45] local.INFO: Processing buffer {"connection_id":191294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:44:45] local.INFO: Packet analysis {"connection_id":191294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:44:45] local.INFO: Extracted packet for processing {"connection_id":191294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:44:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:44: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-09-24 12:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299786240001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790233841000,"timestamp_ms":1790233841000,"timestamp_seconds":1790233841,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2408d68"} 
[2026-09-24 12:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:44: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-09-24 12:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299786240001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299786240001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:44:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:44:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299786240001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":191294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:44:45] local.INFO: GPS data processed {"connection_id":191294,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:44:45] local.INFO: Acknowledgment sent {"connection_id":191294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:44:45] local.INFO: TCP Data received {"connection_id":193970,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:44:45] local.INFO: Processing buffer {"connection_id":193970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:44:45] local.INFO: IMEI packet received {"connection_id":193970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":193970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:44:48] local.INFO: TCP Data received {"connection_id":193970,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:44:48] local.INFO: Processing buffer {"connection_id":193970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:44:48] local.INFO: IMEI packet received {"connection_id":193970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":193970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:44:50] local.INFO: TCP Data received {"connection_id":193970,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:44:50] local.INFO: Processing buffer {"connection_id":193970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:44:50] local.INFO: IMEI packet received {"connection_id":193970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":193970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:44:51] local.INFO: TCP Data received {"connection_id":193970,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24340d0012d1887c0072180b80049006a28..."} 
[2026-09-24 12:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24340d0012d1887c0072180b80049006a28..."} 
[2026-09-24 12:44:51] local.INFO: Processing buffer {"connection_id":193970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24340d0012d1887c0072180b80049006a28..."} 
[2026-09-24 12:44:51] local.INFO: Packet analysis {"connection_id":193970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d243"} 
[2026-09-24 12:44:51] local.INFO: Extracted packet for processing {"connection_id":193970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d243"} 
[2026-09-24 12:44:51] local.INFO: GPS Element Parsed {"raw_longitude":756582336,"raw_latitude":119636152,"longitude_deg":75.6582336,"latitude_deg":11.9636152,"altitude":73,"angle":106,"satellites":40,"speed":38,"hex_longitude":"2d1887c0","hex_latitude":"072180b8","is_valid_coordinates":true} 
[2026-09-24 12:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299906816001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22875030178234368,"note":"Value kept but may cause issues"} 
[2026-09-24 12:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759992691254482944,"note":"Value kept but may cause issues"} 
[2026-09-24 12:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790234018000,"timestamp_ms":1790234018000,"timestamp_seconds":1790234018,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24340d0"} 
[2026-09-24 12:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-24 12:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299906816001,"66":14135,"106":206,"83":41984,"24":38,"16":22875030178234368,"45":1759992691254482944},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-24 12:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299906816001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:44:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-24 12:44:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22875030178234368,"km_value":22875030178234.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759992691254482944,"description":"Unknown IO ID 45"} 
[2026-09-24 12:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299906816001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1759992691254482944}} 
[2026-09-24 12:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":193970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:44:51] local.INFO: GPS data processed {"connection_id":193970,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:44:51] local.INFO: Acknowledgment sent {"connection_id":193970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:45:22] local.INFO: TCP Data received {"connection_id":193970,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d243fc50012d18e7000720ed180038009227..."} 
[2026-09-24 12:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d243fc50012d18e7000720ed180038009227..."} 
[2026-09-24 12:45:22] local.INFO: Processing buffer {"connection_id":193970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d243fc50012d18e7000720ed180038009227..."} 
[2026-09-24 12:45:22] local.INFO: Packet analysis {"connection_id":193970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d243"} 
[2026-09-24 12:45:22] local.INFO: Extracted packet for processing {"connection_id":193970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d243"} 
[2026-09-24 12:45:22] local.INFO: GPS Element Parsed {"raw_longitude":756606720,"raw_latitude":119598360,"longitude_deg":75.660672,"latitude_deg":11.959836,"altitude":56,"angle":146,"satellites":39,"speed":41,"hex_longitude":"2d18e700","hex_latitude":"0720ed18","is_valid_coordinates":true} 
[2026-09-24 12:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299920128001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22877375230377984,"note":"Value kept but may cause issues"} 
[2026-09-24 12:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792151207334539264,"note":"Value kept but may cause issues"} 
[2026-09-24 12:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790234066000,"timestamp_ms":1790234066000,"timestamp_seconds":1790234066,"priority":1,"record_length":96,"hex_timestamp":"000001a0d243fc50"} 
[2026-09-24 12:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-24 12:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299920128001,"66":14189,"103":206,"83":41984,"24":41,"16":22877375230377984,"45":1792151207334539264},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 12:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299920128001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:45:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 12:45:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22877375230377984,"km_value":22877375230377.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792151207334539264,"description":"Unknown IO ID 45"} 
[2026-09-24 12:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299920128001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1792151207334539264}} 
[2026-09-24 12:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":193970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:45:22] local.INFO: GPS data processed {"connection_id":193970,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:45:22] local.INFO: Acknowledgment sent {"connection_id":193970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:45:29] local.INFO: TCP Data received {"connection_id":191296,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:45:29] local.INFO: Processing buffer {"connection_id":191296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:45:29] local.INFO: IMEI packet received {"connection_id":191296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":191296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:45:34] local.INFO: TCP Data received {"connection_id":191296,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:45:34] local.INFO: Processing buffer {"connection_id":191296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:45:34] local.INFO: IMEI packet received {"connection_id":191296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":191296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:45:35] local.INFO: TCP Data received {"connection_id":191296,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:45:35] local.INFO: Processing buffer {"connection_id":191296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:45:35] local.INFO: Packet analysis {"connection_id":191296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:45:35] local.INFO: Extracted packet for processing {"connection_id":191296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:45:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299786240001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790233841000,"timestamp_ms":1790233841000,"timestamp_seconds":1790233841,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2408d68"} 
[2026-09-24 12:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299786240001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299786240001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:45:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:45:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299786240001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":191296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:45:35] local.INFO: GPS data processed {"connection_id":191296,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:45:35] local.INFO: Acknowledgment sent {"connection_id":191296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:45:40] local.INFO: TCP Data received {"connection_id":191296,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:45:40] local.INFO: Processing buffer {"connection_id":191296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:45:40] local.INFO: Packet analysis {"connection_id":191296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:45:40] local.INFO: Extracted packet for processing {"connection_id":191296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:45:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299786240001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790233841000,"timestamp_ms":1790233841000,"timestamp_seconds":1790233841,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2408d68"} 
[2026-09-24 12:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299786240001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299786240001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:45:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:45:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299786240001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":191296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:45:40] local.INFO: GPS data processed {"connection_id":191296,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:45:40] local.INFO: Acknowledgment sent {"connection_id":191296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:45:48] local.INFO: TCP Data received {"connection_id":192680,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:45:48] local.INFO: Processing buffer {"connection_id":192680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:45:48] local.INFO: IMEI packet received {"connection_id":192680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":192680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:45:51] local.INFO: TCP Data received {"connection_id":192680,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:45:51] local.INFO: Processing buffer {"connection_id":192680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:45:51] local.INFO: IMEI packet received {"connection_id":192680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":192680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:45:52] local.INFO: TCP Data received {"connection_id":192680,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:45:52] local.INFO: Processing buffer {"connection_id":192680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:45:52] local.INFO: IMEI packet received {"connection_id":192680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":192680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:45:53] local.INFO: TCP Data received {"connection_id":192680,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24417a8012d18f9000720d5080035008427..."} 
[2026-09-24 12:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24417a8012d18f9000720d5080035008427..."} 
[2026-09-24 12:45:53] local.INFO: Processing buffer {"connection_id":192680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24417a8012d18f9000720d5080035008427..."} 
[2026-09-24 12:45:53] local.INFO: Packet analysis {"connection_id":192680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d244"} 
[2026-09-24 12:45:53] local.INFO: Extracted packet for processing {"connection_id":192680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d244"} 
[2026-09-24 12:45:53] local.INFO: GPS Element Parsed {"raw_longitude":756611328,"raw_latitude":119592200,"longitude_deg":75.6611328,"latitude_deg":11.95922,"altitude":53,"angle":132,"satellites":39,"speed":43,"hex_longitude":"2d18f900","hex_latitude":"0720d508","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299920896001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22877744597565440,"note":"Value kept but may cause issues"} 
[2026-09-24 12:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794403007147612160,"note":"Value kept but may cause issues"} 
[2026-09-24 12:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790234073000,"timestamp_ms":1790234073000,"timestamp_seconds":1790234073,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24417a8"} 
[2026-09-24 12:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-24 12:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":192680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":192680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":192680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299920896001,"66":14233,"103":206,"83":41984,"24":43,"16":22877744597565440,"45":1794403007147612160},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 12:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299920896001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:45:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 12:45:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22877744597565440,"km_value":22877744597565.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794403007147612160,"description":"Unknown IO ID 45"} 
[2026-09-24 12:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299920896001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1794403007147612160}} 
[2026-09-24 12:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":192680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:45:53] local.INFO: GPS data processed {"connection_id":192680,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:45:53] local.INFO: Acknowledgment sent {"connection_id":192680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:45:56] local.INFO: TCP Data received {"connection_id":192680,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2442748012d1907400720cb200034007927..."} 
[2026-09-24 12:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2442748012d1907400720cb200034007927..."} 
[2026-09-24 12:45:56] local.INFO: Processing buffer {"connection_id":192680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2442748012d1907400720cb200034007927..."} 
[2026-09-24 12:45:56] local.INFO: Packet analysis {"connection_id":192680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d244"} 
[2026-09-24 12:45:56] local.INFO: Extracted packet for processing {"connection_id":192680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d244"} 
[2026-09-24 12:45:56] local.INFO: GPS Element Parsed {"raw_longitude":756614976,"raw_latitude":119589664,"longitude_deg":75.6614976,"latitude_deg":11.9589664,"altitude":52,"angle":121,"satellites":39,"speed":45,"hex_longitude":"2d190740","hex_latitude":"0720cb20","is_valid_coordinates":true} 
[2026-09-24 12:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299922688001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22877959345930240,"note":"Value kept but may cause issues"} 
[2026-09-24 12:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799469556726827008,"note":"Value kept but may cause issues"} 
[2026-09-24 12:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790234077000,"timestamp_ms":1790234077000,"timestamp_seconds":1790234077,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2442748"} 
[2026-09-24 12:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-24 12:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299922688001,"66":14189,"103":206,"83":41984,"24":45,"16":22877959345930240,"45":1799469556726827008},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 12:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299922688001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:45:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 12:45:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22877959345930240,"km_value":22877959345930.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799469556726827008,"description":"Unknown IO ID 45"} 
[2026-09-24 12:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299922688001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1799469556726827008}} 
[2026-09-24 12:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":192680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:45:56] local.INFO: GPS data processed {"connection_id":192680,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:45:56] local.INFO: Acknowledgment sent {"connection_id":192680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:46:11] local.INFO: TCP Data received {"connection_id":191296,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:46:11] local.INFO: Processing buffer {"connection_id":191296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2408d68012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:46:11] local.INFO: Packet analysis {"connection_id":191296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:46:11] local.INFO: Extracted packet for processing {"connection_id":191296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d240"} 
[2026-09-24 12:46:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299786240001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790233841000,"timestamp_ms":1790233841000,"timestamp_seconds":1790233841,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2408d68"} 
[2026-09-24 12:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299786240001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299786240001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:46:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:46:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299786240001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":191296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:46:11] local.INFO: GPS data processed {"connection_id":191296,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:46:11] local.INFO: Acknowledgment sent {"connection_id":191296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:46:28] local.INFO: TCP Data received {"connection_id":192680,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2450dc0012d19ae8007208cc8002000ba20..."} 
[2026-09-24 12:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2450dc0012d19ae8007208cc8002000ba20..."} 
[2026-09-24 12:46:28] local.INFO: Processing buffer {"connection_id":192680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2450dc0012d19ae8007208cc8002000ba20..."} 
[2026-09-24 12:46:28] local.INFO: Packet analysis {"connection_id":192680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:46:28] local.INFO: Extracted packet for processing {"connection_id":192680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756657792,"raw_latitude":119573704,"longitude_deg":75.6657792,"latitude_deg":11.9573704,"altitude":32,"angle":186,"satellites":32,"speed":31,"hex_longitude":"2d19ae80","hex_latitude":"07208cc8","is_valid_coordinates":true} 
[2026-09-24 12:46: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-09-24 12:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299938560001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22880678060228608,"note":"Value kept but may cause issues"} 
[2026-09-24 12:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850627633739454464,"note":"Value kept but may cause issues"} 
[2026-09-24 12:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790234136000,"timestamp_ms":1790234136000,"timestamp_seconds":1790234136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2450dc0"} 
[2026-09-24 12:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-24 12:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:46: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-09-24 12:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299938560001,"66":13993,"103":206,"83":41984,"24":31,"16":22880678060228608,"45":1850627633739454464},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 12:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299938560001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:46:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 12:46:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22880678060228608,"km_value":22880678060228.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850627633739454464,"description":"Unknown IO ID 45"} 
[2026-09-24 12:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299938560001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1850627633739454464}} 
[2026-09-24 12:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":192680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:46:28] local.INFO: GPS data processed {"connection_id":192680,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:46:28] local.INFO: Acknowledgment sent {"connection_id":192680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:46:28] local.INFO: TCP Data received {"connection_id":193971,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:46:28] local.INFO: Processing buffer {"connection_id":193971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:46:28] local.INFO: IMEI packet received {"connection_id":193971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":193971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:46:33] local.INFO: TCP Data received {"connection_id":193971,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:46:33] local.INFO: Processing buffer {"connection_id":193971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:46:33] local.INFO: IMEI packet received {"connection_id":193971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":193971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:46:35] local.INFO: TCP Data received {"connection_id":193971,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:46:35] local.INFO: Processing buffer {"connection_id":193971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:46:35] local.INFO: Packet analysis {"connection_id":193971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:46:35] local.INFO: Extracted packet for processing {"connection_id":193971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299863296001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790234142000,"timestamp_ms":1790234142000,"timestamp_seconds":1790234142,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2452530"} 
[2026-09-24 12:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299863296001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299863296001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:46:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:46:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299863296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":193971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:46:35] local.INFO: GPS data processed {"connection_id":193971,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:46:35] local.INFO: Acknowledgment sent {"connection_id":193971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:46:45] local.INFO: TCP Data received {"connection_id":191110,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:46:45] local.INFO: Processing buffer {"connection_id":191110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:46:45] local.INFO: IMEI packet received {"connection_id":191110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":191110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:46:46] local.INFO: TCP Data received {"connection_id":191110,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:46:46] local.INFO: Processing buffer {"connection_id":191110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:46:46] local.INFO: IMEI packet received {"connection_id":191110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":191110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:46:47] local.INFO: TCP Data received {"connection_id":191110,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:46:47] local.INFO: Processing buffer {"connection_id":191110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:46:47] local.INFO: IMEI packet received {"connection_id":191110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":191110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:46:48] local.INFO: TCP Data received {"connection_id":191110,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2451590012d19ae8007208610001f00ac22..."} 
[2026-09-24 12:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2451590012d19ae8007208610001f00ac22..."} 
[2026-09-24 12:46:48] local.INFO: Processing buffer {"connection_id":191110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2451590012d19ae8007208610001f00ac22..."} 
[2026-09-24 12:46:48] local.INFO: Packet analysis {"connection_id":191110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:46:48] local.INFO: Extracted packet for processing {"connection_id":191110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:46:48] local.INFO: GPS Element Parsed {"raw_longitude":756657792,"raw_latitude":119571984,"longitude_deg":75.6657792,"latitude_deg":11.9571984,"altitude":31,"angle":172,"satellites":34,"speed":37,"hex_longitude":"2d19ae80","hex_latitude":"07208610","is_valid_coordinates":true} 
[2026-09-24 12:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299938816001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22880759664607232,"note":"Value kept but may cause issues"} 
[2026-09-24 12:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850557264995076096,"note":"Value kept but may cause issues"} 
[2026-09-24 12:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790234138000,"timestamp_ms":1790234138000,"timestamp_seconds":1790234138,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2451590"} 
[2026-09-24 12:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-24 12:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299938816001,"66":14254,"103":206,"83":41984,"24":37,"16":22880759664607232,"45":1850557264995076096},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 12:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299938816001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:46:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 12:46:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22880759664607232,"km_value":22880759664607.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850557264995076096,"description":"Unknown IO ID 45"} 
[2026-09-24 12:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299938816001,"power":14254,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1850557264995076096}} 
[2026-09-24 12:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":191110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:46:48] local.INFO: GPS data processed {"connection_id":191110,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:46:48] local.INFO: Acknowledgment sent {"connection_id":191110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:46:49] local.INFO: TCP Data received {"connection_id":191110,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2452918012d19b30007207280001e009e28..."} 
[2026-09-24 12:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2452918012d19b30007207280001e009e28..."} 
[2026-09-24 12:46:49] local.INFO: Processing buffer {"connection_id":191110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2452918012d19b30007207280001e009e28..."} 
[2026-09-24 12:46:49] local.INFO: Packet analysis {"connection_id":191110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:46:49] local.INFO: Extracted packet for processing {"connection_id":191110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:46:49] local.INFO: GPS Element Parsed {"raw_longitude":756658944,"raw_latitude":119566976,"longitude_deg":75.6658944,"latitude_deg":11.9566976,"altitude":30,"angle":158,"satellites":40,"speed":42,"hex_longitude":"2d19b300","hex_latitude":"07207280","is_valid_coordinates":true} 
[2026-09-24 12:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299939328001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22881013067677696,"note":"Value kept but may cause issues"} 
[2026-09-24 12:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850557264994635776,"note":"Value kept but may cause issues"} 
[2026-09-24 12:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790234143000,"timestamp_ms":1790234143000,"timestamp_seconds":1790234143,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2452918"} 
[2026-09-24 12:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-24 12:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299939328001,"66":14298,"103":206,"83":41984,"24":42,"16":22881013067677696,"45":1850557264994635776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 12:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299939328001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:46:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 12:46:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22881013067677696,"km_value":22881013067677.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850557264994635776,"description":"Unknown IO ID 45"} 
[2026-09-24 12:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299939328001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1850557264994635776}} 
[2026-09-24 12:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":191110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:46:49] local.INFO: GPS data processed {"connection_id":191110,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:46:49] local.INFO: Acknowledgment sent {"connection_id":191110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:47:06] local.INFO: TCP Data received {"connection_id":193971,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:47:06] local.INFO: Processing buffer {"connection_id":193971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:47:06] local.INFO: Packet analysis {"connection_id":193971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:47:06] local.INFO: Extracted packet for processing {"connection_id":193971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:47:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299863296001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790234142000,"timestamp_ms":1790234142000,"timestamp_seconds":1790234142,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2452530"} 
[2026-09-24 12:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299863296001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299863296001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:47:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:47:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299863296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":193971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:47:06] local.INFO: GPS data processed {"connection_id":193971,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:47:06] local.INFO: Acknowledgment sent {"connection_id":193971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:47:21] local.INFO: TCP Data received {"connection_id":191110,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d245ec68012d19c940071ff0f8001800f029..."} 
[2026-09-24 12:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d245ec68012d19c940071ff0f8001800f029..."} 
[2026-09-24 12:47:21] local.INFO: Processing buffer {"connection_id":191110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d245ec68012d19c940071ff0f8001800f029..."} 
[2026-09-24 12:47:21] local.INFO: Packet analysis {"connection_id":191110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:47:21] local.INFO: Extracted packet for processing {"connection_id":191110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:47:21] local.INFO: GPS Element Parsed {"raw_longitude":756664640,"raw_latitude":119533816,"longitude_deg":75.666464,"latitude_deg":11.9533816,"altitude":24,"angle":240,"satellites":41,"speed":17,"hex_longitude":"2d19c940","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-09-24 12:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299953152001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22882915738189824,"note":"Value kept but may cause issues"} 
[2026-09-24 12:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933077006336,"note":"Value kept but may cause issues"} 
[2026-09-24 12:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790234193000,"timestamp_ms":1790234193000,"timestamp_seconds":1790234193,"priority":1,"record_length":96,"hex_timestamp":"000001a0d245ec68"} 
[2026-09-24 12:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-24 12:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299953152001,"66":14396,"101":206,"83":41984,"24":17,"16":22882915738189824,"45":1858508933077006336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-24 12:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299953152001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:47:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-24 12:47:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22882915738189824,"km_value":22882915738189.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933077006336,"description":"Unknown IO ID 45"} 
[2026-09-24 12:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299953152001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1858508933077006336}} 
[2026-09-24 12:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":191110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:47:21] local.INFO: GPS data processed {"connection_id":191110,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:47:21] local.INFO: Acknowledgment sent {"connection_id":191110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:47:28] local.INFO: TCP Data received {"connection_id":191297,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:47:28] local.INFO: Processing buffer {"connection_id":191297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:47:28] local.INFO: IMEI packet received {"connection_id":191297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":191297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:47:33] local.INFO: TCP Data received {"connection_id":191297,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:47:33] local.INFO: Processing buffer {"connection_id":191297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:47:33] local.INFO: IMEI packet received {"connection_id":191297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":191297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:47:35] local.INFO: TCP Data received {"connection_id":191297,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:47:35] local.INFO: Processing buffer {"connection_id":191297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:47:35] local.INFO: Packet analysis {"connection_id":191297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:47:35] local.INFO: Extracted packet for processing {"connection_id":191297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299863296001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790234142000,"timestamp_ms":1790234142000,"timestamp_seconds":1790234142,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2452530"} 
[2026-09-24 12:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299863296001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299863296001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:47:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:47:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299863296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":191297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:47:35] local.INFO: GPS data processed {"connection_id":191297,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:47:35] local.INFO: Acknowledgment sent {"connection_id":191297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:47:45] local.INFO: TCP Data received {"connection_id":193973,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:47:45] local.INFO: Processing buffer {"connection_id":193973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:47:45] local.INFO: IMEI packet received {"connection_id":193973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":193973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:47:46] local.INFO: TCP Data received {"connection_id":193973,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:47:46] local.INFO: Processing buffer {"connection_id":193973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:47:46] local.INFO: IMEI packet received {"connection_id":193973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":193973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:47:47] local.INFO: TCP Data received {"connection_id":193973,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:47:47] local.INFO: Processing buffer {"connection_id":193973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:47:47] local.INFO: IMEI packet received {"connection_id":193973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":193973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:47:48] local.INFO: TCP Data received {"connection_id":193973,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d245f050012d19c740071ff058001901002a..."} 
[2026-09-24 12:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d245f050012d19c740071ff058001901002a..."} 
[2026-09-24 12:47:48] local.INFO: Processing buffer {"connection_id":193973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d245f050012d19c740071ff058001901002a..."} 
[2026-09-24 12:47:48] local.INFO: Packet analysis {"connection_id":193973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:47:48] local.INFO: Extracted packet for processing {"connection_id":193973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:47:48] local.INFO: GPS Element Parsed {"raw_longitude":756664128,"raw_latitude":119533656,"longitude_deg":75.6664128,"latitude_deg":11.9533656,"altitude":25,"angle":256,"satellites":42,"speed":19,"hex_longitude":"2d19c740","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299953408001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22882941507993600,"note":"Value kept but may cause issues"} 
[2026-09-24 12:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858086720611874816,"note":"Value kept but may cause issues"} 
[2026-09-24 12:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790234194000,"timestamp_ms":1790234194000,"timestamp_seconds":1790234194,"priority":1,"record_length":96,"hex_timestamp":"000001a0d245f050"} 
[2026-09-24 12:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-24 12:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":193973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":193973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":193973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299953408001,"66":13906,"101":206,"83":41984,"24":19,"16":22882941507993600,"45":1858086720611874816},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-24 12:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299953408001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:47:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-24 12:47:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22882941507993600,"km_value":22882941507993.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858086720611874816,"description":"Unknown IO ID 45"} 
[2026-09-24 12:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299953408001,"power":13906,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1858086720611874816}} 
[2026-09-24 12:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":193973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:47:48] local.INFO: GPS data processed {"connection_id":193973,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:47:48] local.INFO: Acknowledgment sent {"connection_id":193973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:48:06] local.INFO: TCP Data received {"connection_id":191297,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:48:06] local.INFO: Processing buffer {"connection_id":191297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:48:06] local.INFO: Packet analysis {"connection_id":191297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:48:06] local.INFO: Extracted packet for processing {"connection_id":191297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:48:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299863296001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790234142000,"timestamp_ms":1790234142000,"timestamp_seconds":1790234142,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2452530"} 
[2026-09-24 12:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299863296001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299863296001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:48:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:48:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299863296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":191297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:48:06] local.INFO: GPS data processed {"connection_id":191297,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:48:06] local.INFO: Acknowledgment sent {"connection_id":191297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:48:19] local.INFO: TCP Data received {"connection_id":193973,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2460f90012d19b200071feeb0001f010e25..."} 
[2026-09-24 12:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2460f90012d19b200071feeb0001f010e25..."} 
[2026-09-24 12:48:19] local.INFO: Processing buffer {"connection_id":193973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2460f90012d19b200071feeb0001f010e25..."} 
[2026-09-24 12:48:19] local.INFO: Packet analysis {"connection_id":193973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d246"} 
[2026-09-24 12:48:19] local.INFO: Extracted packet for processing {"connection_id":193973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d246"} 
[2026-09-24 12:48:19] local.INFO: GPS Element Parsed {"raw_longitude":756658688,"raw_latitude":119533232,"longitude_deg":75.6658688,"latitude_deg":11.9533232,"altitude":31,"angle":270,"satellites":37,"speed":26,"hex_longitude":"2d19b200","hex_latitude":"071feeb0","is_valid_coordinates":true} 
[2026-09-24 12:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299953664001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22883199206031360,"note":"Value kept but may cause issues"} 
[2026-09-24 12:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857523770658412544,"note":"Value kept but may cause issues"} 
[2026-09-24 12:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790234202000,"timestamp_ms":1790234202000,"timestamp_seconds":1790234202,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2460f90"} 
[2026-09-24 12:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-24 12:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":193973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":193973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":193973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299953664001,"66":14189,"101":206,"83":41984,"24":26,"16":22883199206031360,"45":1857523770658412544},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-24 12:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299953664001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:48:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-24 12:48:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22883199206031360,"km_value":22883199206031.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857523770658412544,"description":"Unknown IO ID 45"} 
[2026-09-24 12:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299953664001,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1857523770658412544}} 
[2026-09-24 12:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":193973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:48:19] local.INFO: GPS data processed {"connection_id":193973,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:48:19] local.INFO: Acknowledgment sent {"connection_id":193973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:48:32] local.INFO: TCP Data received {"connection_id":191298,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191298,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:48:32] local.INFO: Processing buffer {"connection_id":191298,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:48:32] local.INFO: IMEI packet received {"connection_id":191298,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 12:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":191298,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:48:33] local.INFO: TCP Data received {"connection_id":193974,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:48:33] local.INFO: Processing buffer {"connection_id":193974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:48:33] local.INFO: IMEI packet received {"connection_id":193974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":193974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:48:38] local.INFO: TCP Data received {"connection_id":193974,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:48:38] local.INFO: Processing buffer {"connection_id":193974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:48:38] local.INFO: IMEI packet received {"connection_id":193974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":193974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:48:40] local.INFO: TCP Data received {"connection_id":193974,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:48:40] local.INFO: Processing buffer {"connection_id":193974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:48:40] local.INFO: Packet analysis {"connection_id":193974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:48:40] local.INFO: Extracted packet for processing {"connection_id":193974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:48:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299863296001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790234142000,"timestamp_ms":1790234142000,"timestamp_seconds":1790234142,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2452530"} 
[2026-09-24 12:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299863296001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299863296001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:48:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:48:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299863296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":193974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:48:40] local.INFO: GPS data processed {"connection_id":193974,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:48:40] local.INFO: Acknowledgment sent {"connection_id":193974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:48:44] local.INFO: TCP Data received {"connection_id":193974,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:48:44] local.INFO: Processing buffer {"connection_id":193974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:48:44] local.INFO: Packet analysis {"connection_id":193974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:48:44] local.INFO: Extracted packet for processing {"connection_id":193974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299863296001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790234142000,"timestamp_ms":1790234142000,"timestamp_seconds":1790234142,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2452530"} 
[2026-09-24 12:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299863296001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299863296001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:48:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:48:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299863296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":193974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:48:44] local.INFO: GPS data processed {"connection_id":193974,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:48:44] local.INFO: Acknowledgment sent {"connection_id":193974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:48:45] local.INFO: TCP Data received {"connection_id":191111,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:48:45] local.INFO: Processing buffer {"connection_id":191111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:48:45] local.INFO: IMEI packet received {"connection_id":191111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":191111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:48:50] local.INFO: TCP Data received {"connection_id":191111,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:48:50] local.INFO: Processing buffer {"connection_id":191111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:48:50] local.INFO: IMEI packet received {"connection_id":191111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":191111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:48:51] local.INFO: TCP Data received {"connection_id":191111,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24701c0012d196900071fed180034013a2c..."} 
[2026-09-24 12:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24701c0012d196900071fed180034013a2c..."} 
[2026-09-24 12:48:51] local.INFO: Processing buffer {"connection_id":191111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24701c0012d196900071fed180034013a2c..."} 
[2026-09-24 12:48:51] local.INFO: Packet analysis {"connection_id":191111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d247"} 
[2026-09-24 12:48:51] local.INFO: Extracted packet for processing {"connection_id":191111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d247"} 
[2026-09-24 12:48:51] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532824,"longitude_deg":75.664,"latitude_deg":11.9532824,"altitude":52,"angle":314,"satellites":44,"speed":6,"hex_longitude":"2d196900","hex_latitude":"071fed18","is_valid_coordinates":true} 
[2026-09-24 12:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299971328001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884126918967296,"note":"Value kept but may cause issues"} 
[2026-09-24 12:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335732736,"note":"Value kept but may cause issues"} 
[2026-09-24 12:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790234264000,"timestamp_ms":1790234264000,"timestamp_seconds":1790234264,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24701c0"} 
[2026-09-24 12:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-24 12:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299971328001,"66":13254,"102":206,"83":41984,"24":6,"16":22884126918967296,"45":1831205860335732736},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299971328001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:48:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:48:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884126918967296,"km_value":22884126918967.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335732736,"description":"Unknown IO ID 45"} 
[2026-09-24 12:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299971328001,"power":13254,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1831205860335732736}} 
[2026-09-24 12:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":191111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:48:51] local.INFO: GPS data processed {"connection_id":191111,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:48:51] local.INFO: Acknowledgment sent {"connection_id":191111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:49:07] local.INFO: TCP Data received {"connection_id":191299,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191299,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:49:07] local.INFO: Processing buffer {"connection_id":191299,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:49:07] local.INFO: IMEI packet received {"connection_id":191299,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 12:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":191299,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:49:22] local.INFO: TCP Data received {"connection_id":191111,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2470990012d196880071fedd8003401552c..."} 
[2026-09-24 12:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2470990012d196880071fedd8003401552c..."} 
[2026-09-24 12:49:22] local.INFO: Processing buffer {"connection_id":191111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2470990012d196880071fedd8003401552c..."} 
[2026-09-24 12:49:22] local.INFO: Packet analysis {"connection_id":191111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d247"} 
[2026-09-24 12:49:22] local.INFO: Extracted packet for processing {"connection_id":191111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d247"} 
[2026-09-24 12:49:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533016,"longitude_deg":75.6639872,"latitude_deg":11.9533016,"altitude":52,"angle":341,"satellites":44,"speed":5,"hex_longitude":"2d196880","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-09-24 12:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299971584001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884139803869184,"note":"Value kept but may cause issues"} 
[2026-09-24 12:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103220224,"note":"Value kept but may cause issues"} 
[2026-09-24 12:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790234266000,"timestamp_ms":1790234266000,"timestamp_seconds":1790234266,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2470990"} 
[2026-09-24 12:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-24 12:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299971584001,"66":13254,"102":206,"83":41984,"24":5,"16":22884139803869184,"45":1830994754103220224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299971584001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:49:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:49:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884139803869184,"km_value":22884139803869.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103220224,"description":"Unknown IO ID 45"} 
[2026-09-24 12:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299971584001,"power":13254,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1830994754103220224}} 
[2026-09-24 12:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":191111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:49:22] local.INFO: GPS data processed {"connection_id":191111,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:49:22] local.INFO: Acknowledgment sent {"connection_id":191111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:49:28] local.INFO: TCP Data received {"connection_id":192682,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:49:28] local.INFO: Processing buffer {"connection_id":192682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:49:28] local.INFO: IMEI packet received {"connection_id":192682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":192682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:49:33] local.INFO: TCP Data received {"connection_id":192682,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:49:33] local.INFO: Processing buffer {"connection_id":192682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:49:33] local.INFO: IMEI packet received {"connection_id":192682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":192682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:49:34] local.INFO: TCP Data received {"connection_id":192682,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:49:34] local.INFO: Processing buffer {"connection_id":192682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:49:34] local.INFO: Packet analysis {"connection_id":192682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:49:34] local.INFO: Extracted packet for processing {"connection_id":192682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:49:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299863296001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790234142000,"timestamp_ms":1790234142000,"timestamp_seconds":1790234142,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2452530"} 
[2026-09-24 12:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299863296001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299863296001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:49:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:49:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299863296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":192682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:49:34] local.INFO: GPS data processed {"connection_id":192682,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:49:34] local.INFO: Acknowledgment sent {"connection_id":192682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:49:46] local.INFO: TCP Data received {"connection_id":191112,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:49:46] local.INFO: Processing buffer {"connection_id":191112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:49:46] local.INFO: IMEI packet received {"connection_id":191112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":191112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:49:50] local.INFO: TCP Data received {"connection_id":191112,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:49:50] local.INFO: Processing buffer {"connection_id":191112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:49:50] local.INFO: IMEI packet received {"connection_id":191112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":191112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:49:51] local.INFO: TCP Data received {"connection_id":191112,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2471d18012d196780071fefd8003601432a..."} 
[2026-09-24 12:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2471d18012d196780071fefd8003601432a..."} 
[2026-09-24 12:49:51] local.INFO: Processing buffer {"connection_id":191112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2471d18012d196780071fefd8003601432a..."} 
[2026-09-24 12:49:51] local.INFO: Packet analysis {"connection_id":191112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d247"} 
[2026-09-24 12:49:51] local.INFO: Extracted packet for processing {"connection_id":191112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d247"} 
[2026-09-24 12:49:51] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533528,"longitude_deg":75.6639616,"latitude_deg":11.9533528,"altitude":54,"angle":323,"satellites":42,"speed":7,"hex_longitude":"2d196780","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-09-24 12:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299972096001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884165573672960,"note":"Value kept but may cause issues"} 
[2026-09-24 12:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614914048,"note":"Value kept but may cause issues"} 
[2026-09-24 12:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790234271000,"timestamp_ms":1790234271000,"timestamp_seconds":1790234271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2471d18"} 
[2026-09-24 12:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-24 12:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299972096001,"66":13287,"102":206,"83":41984,"24":7,"16":22884165573672960,"45":1830854016614914048},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299972096001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:49:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:49:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884165573672960,"km_value":22884165573672.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614914048,"description":"Unknown IO ID 45"} 
[2026-09-24 12:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299972096001,"power":13287,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1830854016614914048}} 
[2026-09-24 12:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":191112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:49:51] local.INFO: GPS data processed {"connection_id":191112,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:49:51] local.INFO: Acknowledgment sent {"connection_id":191112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:50:06] local.INFO: TCP Data received {"connection_id":192682,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:50:06] local.INFO: Processing buffer {"connection_id":192682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:50:06] local.INFO: Packet analysis {"connection_id":192682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:50:06] local.INFO: Extracted packet for processing {"connection_id":192682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:50:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299863296001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790234142000,"timestamp_ms":1790234142000,"timestamp_seconds":1790234142,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2452530"} 
[2026-09-24 12:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299863296001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299863296001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:50:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:50:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299863296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":192682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:50:06] local.INFO: GPS data processed {"connection_id":192682,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:50:06] local.INFO: Acknowledgment sent {"connection_id":192682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:50:22] local.INFO: TCP Data received {"connection_id":191112,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2476f20012d196600071ff1c00038014728..."} 
[2026-09-24 12:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2476f20012d196600071ff1c00038014728..."} 
[2026-09-24 12:50:22] local.INFO: Processing buffer {"connection_id":191112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2476f20012d196600071ff1c00038014728..."} 
[2026-09-24 12:50:22] local.INFO: Packet analysis {"connection_id":191112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d247"} 
[2026-09-24 12:50:22] local.INFO: Extracted packet for processing {"connection_id":191112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d247"} 
[2026-09-24 12:50:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 12:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299973376001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 12:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638334464,"note":"Value kept but may cause issues"} 
[2026-09-24 12:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790234292000,"timestamp_ms":1790234292000,"timestamp_seconds":1790234292,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2476f20"} 
[2026-09-24 12:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-24 12:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299973376001,"66":13200,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830572541638334464},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299973376001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:50:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:50:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638334464,"description":"Unknown IO ID 45"} 
[2026-09-24 12:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299973376001,"power":13200,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638334464}} 
[2026-09-24 12:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":191112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:50:22] local.INFO: GPS data processed {"connection_id":191112,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:50:22] local.INFO: Acknowledgment sent {"connection_id":191112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:50:28] local.INFO: TCP Data received {"connection_id":191301,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:50:28] local.INFO: Processing buffer {"connection_id":191301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:50:28] local.INFO: IMEI packet received {"connection_id":191301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":191301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:50:33] local.INFO: TCP Data received {"connection_id":191301,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:50:33] local.INFO: Processing buffer {"connection_id":191301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:50:33] local.INFO: IMEI packet received {"connection_id":191301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":191301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:50:34] local.INFO: TCP Data received {"connection_id":191301,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:50:34] local.INFO: Processing buffer {"connection_id":191301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:50:34] local.INFO: Packet analysis {"connection_id":191301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:50:34] local.INFO: Extracted packet for processing {"connection_id":191301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:50:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299863296001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790234142000,"timestamp_ms":1790234142000,"timestamp_seconds":1790234142,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2452530"} 
[2026-09-24 12:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299863296001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299863296001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:50:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:50:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299863296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":191301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:50:34] local.INFO: GPS data processed {"connection_id":191301,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:50:34] local.INFO: Acknowledgment sent {"connection_id":191301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:50:45] local.INFO: TCP Data received {"connection_id":191302,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:50:45] local.INFO: Processing buffer {"connection_id":191302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:50:45] local.INFO: IMEI packet received {"connection_id":191302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":191302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:50:50] local.INFO: TCP Data received {"connection_id":191302,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:50:50] local.INFO: Processing buffer {"connection_id":191302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:50:50] local.INFO: IMEI packet received {"connection_id":191302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":191302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:50:51] local.INFO: TCP Data received {"connection_id":191302,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d247c128012d196600071ff1c0003801472c..."} 
[2026-09-24 12:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d247c128012d196600071ff1c0003801472c..."} 
[2026-09-24 12:50:51] local.INFO: Processing buffer {"connection_id":191302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d247c128012d196600071ff1c0003801472c..."} 
[2026-09-24 12:50:51] local.INFO: Packet analysis {"connection_id":191302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d247"} 
[2026-09-24 12:50:51] local.INFO: Extracted packet for processing {"connection_id":191302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d247"} 
[2026-09-24 12:50:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 12:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299978752001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 12:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790234313000,"timestamp_ms":1790234313000,"timestamp_seconds":1790234313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d247c128"} 
[2026-09-24 12:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-24 12:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299978752001,"66":13167,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299978752001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:50:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:50:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299978752001,"power":13167,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 12:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":191302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:50:51] local.INFO: GPS data processed {"connection_id":191302,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:50:51] local.INFO: Acknowledgment sent {"connection_id":191302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:51:06] local.INFO: TCP Data received {"connection_id":191301,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:51:06] local.INFO: Processing buffer {"connection_id":191301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2452530012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:51:06] local.INFO: Packet analysis {"connection_id":191301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:51:06] local.INFO: Extracted packet for processing {"connection_id":191301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d245"} 
[2026-09-24 12:51:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299863296001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790234142000,"timestamp_ms":1790234142000,"timestamp_seconds":1790234142,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2452530"} 
[2026-09-24 12:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 12:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299863296001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299863296001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:51:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:51:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299863296001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":191301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:51:06] local.INFO: GPS data processed {"connection_id":191301,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:51:06] local.INFO: Acknowledgment sent {"connection_id":191301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:51:22] local.INFO: TCP Data received {"connection_id":191302,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2481330012d196600071ff1c00038014729..."} 
[2026-09-24 12:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2481330012d196600071ff1c00038014729..."} 
[2026-09-24 12:51:22] local.INFO: Processing buffer {"connection_id":191302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2481330012d196600071ff1c00038014729..."} 
[2026-09-24 12:51:22] local.INFO: Packet analysis {"connection_id":191302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d248"} 
[2026-09-24 12:51:22] local.INFO: Extracted packet for processing {"connection_id":191302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d248"} 
[2026-09-24 12:51:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 12:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299984128001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 12:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790234334000,"timestamp_ms":1790234334000,"timestamp_seconds":1790234334,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2481330"} 
[2026-09-24 12:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-24 12:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299984128001,"66":13080,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299984128001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:51:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:51:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299984128001,"power":13080,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 12:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":191302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:51:22] local.INFO: GPS data processed {"connection_id":191302,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:51:22] local.INFO: Acknowledgment sent {"connection_id":191302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:51:28] local.INFO: TCP Data received {"connection_id":191113,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:51:28] local.INFO: Processing buffer {"connection_id":191113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:51:28] local.INFO: IMEI packet received {"connection_id":191113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":191113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:51:34] local.INFO: TCP Data received {"connection_id":191113,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:51:34] local.INFO: Processing buffer {"connection_id":191113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:51:34] local.INFO: IMEI packet received {"connection_id":191113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":191113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:51:35] local.INFO: TCP Data received {"connection_id":191113,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:51:35] local.INFO: Processing buffer {"connection_id":191113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:51:35] local.INFO: Packet analysis {"connection_id":191113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:51:35] local.INFO: Extracted packet for processing {"connection_id":191113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:51:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299940352001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790234443000,"timestamp_ms":1790234443000,"timestamp_seconds":1790234443,"priority":1,"record_length":96,"hex_timestamp":"000001a0d249bcf8"} 
[2026-09-24 12:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:51:35] 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-09-24 12:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299940352001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299940352001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:51:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:51:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299940352001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":191113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:51:35] local.INFO: GPS data processed {"connection_id":191113,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:51:35] local.INFO: Acknowledgment sent {"connection_id":191113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:51:45] local.INFO: TCP Data received {"connection_id":191303,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:51:45] local.INFO: Processing buffer {"connection_id":191303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:51:45] local.INFO: IMEI packet received {"connection_id":191303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":191303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:51:50] local.INFO: TCP Data received {"connection_id":191303,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:51:50] local.INFO: Processing buffer {"connection_id":191303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:51:50] local.INFO: IMEI packet received {"connection_id":191303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":191303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:51:51] local.INFO: TCP Data received {"connection_id":191303,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2486538012d196600071ff1c0003801472b..."} 
[2026-09-24 12:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2486538012d196600071ff1c0003801472b..."} 
[2026-09-24 12:51:51] local.INFO: Processing buffer {"connection_id":191303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2486538012d196600071ff1c0003801472b..."} 
[2026-09-24 12:51:51] local.INFO: Packet analysis {"connection_id":191303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d248"} 
[2026-09-24 12:51:51] local.INFO: Extracted packet for processing {"connection_id":191303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d248"} 
[2026-09-24 12:51:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 12:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299989504001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 12:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790234355000,"timestamp_ms":1790234355000,"timestamp_seconds":1790234355,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2486538"} 
[2026-09-24 12:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-24 12:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299989504001,"66":13015,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299989504001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:51:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:51:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299989504001,"power":13015,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 12:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":191303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:51:51] local.INFO: GPS data processed {"connection_id":191303,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:51:51] local.INFO: Acknowledgment sent {"connection_id":191303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:52:07] local.INFO: TCP Data received {"connection_id":191113,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:52:07] local.INFO: Processing buffer {"connection_id":191113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:52:07] local.INFO: Packet analysis {"connection_id":191113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:52:07] local.INFO: Extracted packet for processing {"connection_id":191113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:52:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299940352001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790234443000,"timestamp_ms":1790234443000,"timestamp_seconds":1790234443,"priority":1,"record_length":96,"hex_timestamp":"000001a0d249bcf8"} 
[2026-09-24 12:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:52:07] 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-09-24 12:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299940352001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299940352001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:52:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:52:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299940352001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":191113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:52:07] local.INFO: GPS data processed {"connection_id":191113,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:52:07] local.INFO: Acknowledgment sent {"connection_id":191113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:52:22] local.INFO: TCP Data received {"connection_id":191303,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d248b740012d196600071ff1c0003801472a..."} 
[2026-09-24 12:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d248b740012d196600071ff1c0003801472a..."} 
[2026-09-24 12:52:22] local.INFO: Processing buffer {"connection_id":191303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d248b740012d196600071ff1c0003801472a..."} 
[2026-09-24 12:52:22] local.INFO: Packet analysis {"connection_id":191303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d248"} 
[2026-09-24 12:52:22] local.INFO: Extracted packet for processing {"connection_id":191303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d248"} 
[2026-09-24 12:52:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 12:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299994880001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 12:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790234376000,"timestamp_ms":1790234376000,"timestamp_seconds":1790234376,"priority":1,"record_length":96,"hex_timestamp":"000001a0d248b740"} 
[2026-09-24 12:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-24 12:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299994880001,"66":13048,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299994880001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:52:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:52:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299994880001,"power":13048,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 12:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":191303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:52:22] local.INFO: GPS data processed {"connection_id":191303,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:52:22] local.INFO: Acknowledgment sent {"connection_id":191303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:52:33] local.INFO: TCP Data received {"connection_id":191304,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:52:33] local.INFO: Processing buffer {"connection_id":191304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:52:33] local.INFO: IMEI packet received {"connection_id":191304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":191304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:52:38] local.INFO: TCP Data received {"connection_id":191304,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:52:38] local.INFO: Processing buffer {"connection_id":191304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:52:38] local.INFO: IMEI packet received {"connection_id":191304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":191304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:52:39] local.INFO: TCP Data received {"connection_id":191304,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:52:39] local.INFO: Processing buffer {"connection_id":191304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:52:39] local.INFO: Packet analysis {"connection_id":191304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:52:39] local.INFO: Extracted packet for processing {"connection_id":191304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:52:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299940352001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790234443000,"timestamp_ms":1790234443000,"timestamp_seconds":1790234443,"priority":1,"record_length":96,"hex_timestamp":"000001a0d249bcf8"} 
[2026-09-24 12:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:52:39] 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-09-24 12:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299940352001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299940352001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:52:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:52:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299940352001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":191304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:52:39] local.INFO: GPS data processed {"connection_id":191304,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:52:39] local.INFO: Acknowledgment sent {"connection_id":191304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:52:44] local.INFO: TCP Data received {"connection_id":191304,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:52:44] local.INFO: Processing buffer {"connection_id":191304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:52:44] local.INFO: Packet analysis {"connection_id":191304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:52:44] local.INFO: Extracted packet for processing {"connection_id":191304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:52:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299940352001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790234443000,"timestamp_ms":1790234443000,"timestamp_seconds":1790234443,"priority":1,"record_length":96,"hex_timestamp":"000001a0d249bcf8"} 
[2026-09-24 12:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:52:44] 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-09-24 12:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299940352001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299940352001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:52:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:52:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299940352001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":191304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:52:44] local.INFO: GPS data processed {"connection_id":191304,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:52:44] local.INFO: Acknowledgment sent {"connection_id":191304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:52:50] local.INFO: TCP Data received {"connection_id":192684,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:52:50] local.INFO: Processing buffer {"connection_id":192684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:52:50] local.INFO: IMEI packet received {"connection_id":192684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":192684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:52:55] local.INFO: TCP Data received {"connection_id":192684,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:52:55] local.INFO: Processing buffer {"connection_id":192684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:52:55] local.INFO: IMEI packet received {"connection_id":192684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":192684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:52:56] local.INFO: TCP Data received {"connection_id":192684,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2490948012d196600071ff1c0003801472b..."} 
[2026-09-24 12:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2490948012d196600071ff1c0003801472b..."} 
[2026-09-24 12:52:56] local.INFO: Processing buffer {"connection_id":192684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2490948012d196600071ff1c0003801472b..."} 
[2026-09-24 12:52:56] local.INFO: Packet analysis {"connection_id":192684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:52:56] local.INFO: Extracted packet for processing {"connection_id":192684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:52:56] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 12:52: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-09-24 12:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300000256001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 12:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790234397000,"timestamp_ms":1790234397000,"timestamp_seconds":1790234397,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2490948"} 
[2026-09-24 12:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-24 12:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:52: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-09-24 12:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300000256001,"66":13015,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300000256001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:52:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:52:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300000256001,"power":13015,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 12:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":192684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:52:56] local.INFO: GPS data processed {"connection_id":192684,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:52:56] local.INFO: Acknowledgment sent {"connection_id":192684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:53:01] local.INFO: TCP Data received {"connection_id":192684,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2495b50012d196600071ff1c0003801472d..."} 
[2026-09-24 12:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2495b50012d196600071ff1c0003801472d..."} 
[2026-09-24 12:53:01] local.INFO: Processing buffer {"connection_id":192684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2495b50012d196600071ff1c0003801472d..."} 
[2026-09-24 12:53:01] local.INFO: Packet analysis {"connection_id":192684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:53:01] local.INFO: Extracted packet for processing {"connection_id":192684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:53:01] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 12:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300005632001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 12:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790234418000,"timestamp_ms":1790234418000,"timestamp_seconds":1790234418,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2495b50"} 
[2026-09-24 12:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-24 12:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300005632001,"66":12972,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300005632001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:53:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:53:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300005632001,"power":12972,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 12:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":192684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:53:01] local.INFO: GPS data processed {"connection_id":192684,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:53:01] local.INFO: Acknowledgment sent {"connection_id":192684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:53:28] local.INFO: TCP Data received {"connection_id":192686,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:53:28] local.INFO: Processing buffer {"connection_id":192686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:53:28] local.INFO: IMEI packet received {"connection_id":192686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":192686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:53:33] local.INFO: TCP Data received {"connection_id":192686,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:53:33] local.INFO: Processing buffer {"connection_id":192686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:53:33] local.INFO: IMEI packet received {"connection_id":192686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":192686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:53:35] local.INFO: TCP Data received {"connection_id":192686,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:53:35] local.INFO: Processing buffer {"connection_id":192686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:53:35] local.INFO: Packet analysis {"connection_id":192686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:53:35] local.INFO: Extracted packet for processing {"connection_id":192686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:53:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299940352001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790234443000,"timestamp_ms":1790234443000,"timestamp_seconds":1790234443,"priority":1,"record_length":96,"hex_timestamp":"000001a0d249bcf8"} 
[2026-09-24 12:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:53:35] 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-09-24 12: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-09-24 12:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299940352001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299940352001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:53:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:53:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299940352001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":192686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:53:35] local.INFO: GPS data processed {"connection_id":192686,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:53:35] local.INFO: Acknowledgment sent {"connection_id":192686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:53:44] local.INFO: TCP Data received {"connection_id":191114,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:53:44] local.INFO: Processing buffer {"connection_id":191114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:53:44] local.INFO: IMEI packet received {"connection_id":191114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":191114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:53:45] local.INFO: TCP Data received {"connection_id":191114,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:53:45] local.INFO: Processing buffer {"connection_id":191114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:53:45] local.INFO: IMEI packet received {"connection_id":191114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":191114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:53:50] local.INFO: TCP Data received {"connection_id":191114,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:53:50] local.INFO: Processing buffer {"connection_id":191114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:53:50] local.INFO: IMEI packet received {"connection_id":191114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":191114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:53:51] local.INFO: TCP Data received {"connection_id":191114,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d249ad58012d196600071ff1c0003801472e..."} 
[2026-09-24 12:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d249ad58012d196600071ff1c0003801472e..."} 
[2026-09-24 12:53:51] local.INFO: Processing buffer {"connection_id":191114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d249ad58012d196600071ff1c0003801472e..."} 
[2026-09-24 12:53:51] local.INFO: Packet analysis {"connection_id":191114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:53:51] local.INFO: Extracted packet for processing {"connection_id":191114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:53:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300011008001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 12:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790234439000,"timestamp_ms":1790234439000,"timestamp_seconds":1790234439,"priority":1,"record_length":96,"hex_timestamp":"000001a0d249ad58"} 
[2026-09-24 12:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 12:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300011008001,"66":12972,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300011008001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:53:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:53:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300011008001,"power":12972,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 12:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":191114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:53:51] local.INFO: GPS data processed {"connection_id":191114,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:53:51] local.INFO: Acknowledgment sent {"connection_id":191114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:54:06] local.INFO: TCP Data received {"connection_id":192686,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:54:06] local.INFO: Processing buffer {"connection_id":192686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:54:06] local.INFO: Packet analysis {"connection_id":192686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:54:06] local.INFO: Extracted packet for processing {"connection_id":192686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:54:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299940352001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790234443000,"timestamp_ms":1790234443000,"timestamp_seconds":1790234443,"priority":1,"record_length":96,"hex_timestamp":"000001a0d249bcf8"} 
[2026-09-24 12:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299940352001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299940352001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:54:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:54:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299940352001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":192686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:54:06] local.INFO: GPS data processed {"connection_id":192686,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:54:06] local.INFO: Acknowledgment sent {"connection_id":192686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:54:22] local.INFO: TCP Data received {"connection_id":191114,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d249ff60012d196600071ff1c0003801472d..."} 
[2026-09-24 12:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d249ff60012d196600071ff1c0003801472d..."} 
[2026-09-24 12:54:22] local.INFO: Processing buffer {"connection_id":191114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d249ff60012d196600071ff1c0003801472d..."} 
[2026-09-24 12:54:22] local.INFO: Packet analysis {"connection_id":191114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:54:22] local.INFO: Extracted packet for processing {"connection_id":191114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:54:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 12:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300016384001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 12:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790234460000,"timestamp_ms":1790234460000,"timestamp_seconds":1790234460,"priority":1,"record_length":96,"hex_timestamp":"000001a0d249ff60"} 
[2026-09-24 12:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 12:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300016384001,"66":12917,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300016384001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:54:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:54:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300016384001,"power":12917,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 12:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":191114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:54:22] local.INFO: GPS data processed {"connection_id":191114,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:54:22] local.INFO: Acknowledgment sent {"connection_id":191114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:54:28] local.INFO: TCP Data received {"connection_id":191306,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:54:28] local.INFO: Processing buffer {"connection_id":191306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:54:28] local.INFO: IMEI packet received {"connection_id":191306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":191306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:54:32] local.INFO: TCP Data received {"connection_id":191305,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:54:32] local.INFO: Processing buffer {"connection_id":191305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:54:32] local.INFO: IMEI packet received {"connection_id":191305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 12:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":191305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:54:33] local.INFO: TCP Data received {"connection_id":191306,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:54:33] local.INFO: Processing buffer {"connection_id":191306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:54:33] local.INFO: IMEI packet received {"connection_id":191306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":191306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:54:35] local.INFO: TCP Data received {"connection_id":191306,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:54:35] local.INFO: Processing buffer {"connection_id":191306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:54:35] local.INFO: Packet analysis {"connection_id":191306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:54:35] local.INFO: Extracted packet for processing {"connection_id":191306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:54:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299940352001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790234443000,"timestamp_ms":1790234443000,"timestamp_seconds":1790234443,"priority":1,"record_length":96,"hex_timestamp":"000001a0d249bcf8"} 
[2026-09-24 12:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:54:35] 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-09-24 12:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299940352001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299940352001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:54:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:54:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299940352001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":191306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:54:35] local.INFO: GPS data processed {"connection_id":191306,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:54:35] local.INFO: Acknowledgment sent {"connection_id":191306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:54:45] local.INFO: TCP Data received {"connection_id":192687,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:54:45] local.INFO: Processing buffer {"connection_id":192687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:54:45] local.INFO: IMEI packet received {"connection_id":192687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":192687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:54:47] local.INFO: TCP Data received {"connection_id":192687,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:54:47] local.INFO: Processing buffer {"connection_id":192687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:54:47] local.INFO: IMEI packet received {"connection_id":192687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":192687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:54:50] local.INFO: TCP Data received {"connection_id":192687,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:54:50] local.INFO: Processing buffer {"connection_id":192687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:54:50] local.INFO: IMEI packet received {"connection_id":192687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":192687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:54:51] local.INFO: TCP Data received {"connection_id":192687,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24a5168012d196600071ff1c0003801472b..."} 
[2026-09-24 12:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24a5168012d196600071ff1c0003801472b..."} 
[2026-09-24 12:54:51] local.INFO: Processing buffer {"connection_id":192687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24a5168012d196600071ff1c0003801472b..."} 
[2026-09-24 12:54:51] local.INFO: Packet analysis {"connection_id":192687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24a"} 
[2026-09-24 12:54:51] local.INFO: Extracted packet for processing {"connection_id":192687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24a"} 
[2026-09-24 12:54:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 12:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300021760001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 12:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790234481000,"timestamp_ms":1790234481000,"timestamp_seconds":1790234481,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24a5168"} 
[2026-09-24 12:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-24 12:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300021760001,"66":12928,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300021760001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:54:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:54:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300021760001,"power":12928,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 12:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":192687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:54:51] local.INFO: GPS data processed {"connection_id":192687,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:54:51] local.INFO: Acknowledgment sent {"connection_id":192687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:54:55] local.INFO: TCP Data received {"connection_id":192687,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24aa370012d196600071ff1c00038014729..."} 
[2026-09-24 12:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24aa370012d196600071ff1c00038014729..."} 
[2026-09-24 12:54:55] local.INFO: Processing buffer {"connection_id":192687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24aa370012d196600071ff1c00038014729..."} 
[2026-09-24 12:54:55] local.INFO: Packet analysis {"connection_id":192687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24a"} 
[2026-09-24 12:54:55] local.INFO: Extracted packet for processing {"connection_id":192687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24a"} 
[2026-09-24 12:54:55] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 12:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300027136001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 12:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790234502000,"timestamp_ms":1790234502000,"timestamp_seconds":1790234502,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24aa370"} 
[2026-09-24 12:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-24 12:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300027136001,"66":12885,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300027136001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:54:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:54:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300027136001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 12:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":192687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:54:55] local.INFO: GPS data processed {"connection_id":192687,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:54:55] local.INFO: Acknowledgment sent {"connection_id":192687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:55:06] local.INFO: TCP Data received {"connection_id":191306,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:55:06] local.INFO: Processing buffer {"connection_id":191306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:55:06] local.INFO: Packet analysis {"connection_id":191306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:55:06] local.INFO: Extracted packet for processing {"connection_id":191306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:55:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299940352001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790234443000,"timestamp_ms":1790234443000,"timestamp_seconds":1790234443,"priority":1,"record_length":96,"hex_timestamp":"000001a0d249bcf8"} 
[2026-09-24 12:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299940352001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299940352001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:55:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:55:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299940352001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":191306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:55:06] local.INFO: GPS data processed {"connection_id":191306,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:55:06] local.INFO: Acknowledgment sent {"connection_id":191306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:55:07] local.INFO: TCP Data received {"connection_id":192688,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:55:07] local.INFO: Processing buffer {"connection_id":192688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 12:55:07] local.INFO: IMEI packet received {"connection_id":192688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 12:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":192688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:55:26] local.INFO: TCP Data received {"connection_id":192687,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24af578012d196600071ff1c00038014729..."} 
[2026-09-24 12:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24af578012d196600071ff1c00038014729..."} 
[2026-09-24 12:55:27] local.INFO: Processing buffer {"connection_id":192687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24af578012d196600071ff1c00038014729..."} 
[2026-09-24 12:55:27] local.INFO: Packet analysis {"connection_id":192687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24a"} 
[2026-09-24 12:55:27] local.INFO: Extracted packet for processing {"connection_id":192687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24a"} 
[2026-09-24 12:55:27] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 12:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300032512001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 12:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790234523000,"timestamp_ms":1790234523000,"timestamp_seconds":1790234523,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24af578"} 
[2026-09-24 12:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-24 12:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300032512001,"66":12863,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300032512001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:55:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:55:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300032512001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 12:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":192687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:55:27] local.INFO: GPS data processed {"connection_id":192687,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:55:27] local.INFO: Acknowledgment sent {"connection_id":192687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:55:29] local.INFO: TCP Data received {"connection_id":191115,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:55:29] local.INFO: Processing buffer {"connection_id":191115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:55:29] local.INFO: IMEI packet received {"connection_id":191115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":191115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:55:34] local.INFO: TCP Data received {"connection_id":191115,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:55:34] local.INFO: Processing buffer {"connection_id":191115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:55:34] local.INFO: IMEI packet received {"connection_id":191115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":191115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:55:35] local.INFO: TCP Data received {"connection_id":191115,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:55:35] local.INFO: Processing buffer {"connection_id":191115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:55:35] local.INFO: Packet analysis {"connection_id":191115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:55:35] local.INFO: Extracted packet for processing {"connection_id":191115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:55:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299940352001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790234443000,"timestamp_ms":1790234443000,"timestamp_seconds":1790234443,"priority":1,"record_length":96,"hex_timestamp":"000001a0d249bcf8"} 
[2026-09-24 12:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:55:35] 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-09-24 12:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299940352001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299940352001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:55:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:55:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299940352001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":191115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:55:35] local.INFO: GPS data processed {"connection_id":191115,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:55:35] local.INFO: Acknowledgment sent {"connection_id":191115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:55:45] local.INFO: TCP Data received {"connection_id":193976,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:55:45] local.INFO: Processing buffer {"connection_id":193976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:55:45] local.INFO: IMEI packet received {"connection_id":193976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":193976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:55:50] local.INFO: TCP Data received {"connection_id":193976,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:55:50] local.INFO: Processing buffer {"connection_id":193976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:55:50] local.INFO: IMEI packet received {"connection_id":193976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":193976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:55:51] local.INFO: TCP Data received {"connection_id":193976,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24b4780012d196600071ff1c00038014729..."} 
[2026-09-24 12:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24b4780012d196600071ff1c00038014729..."} 
[2026-09-24 12:55:51] local.INFO: Processing buffer {"connection_id":193976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24b4780012d196600071ff1c00038014729..."} 
[2026-09-24 12:55:51] local.INFO: Packet analysis {"connection_id":193976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24b"} 
[2026-09-24 12:55:51] local.INFO: Extracted packet for processing {"connection_id":193976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24b"} 
[2026-09-24 12:55:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 12:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300037888001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 12:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790234544000,"timestamp_ms":1790234544000,"timestamp_seconds":1790234544,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24b4780"} 
[2026-09-24 12:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-24 12:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300037888001,"66":12711,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300037888001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:55:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:55:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300037888001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 12:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":193976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:55:51] local.INFO: GPS data processed {"connection_id":193976,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:55:51] local.INFO: Acknowledgment sent {"connection_id":193976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:56:06] local.INFO: TCP Data received {"connection_id":191115,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:56:06] local.INFO: Processing buffer {"connection_id":191115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d249bcf8012d34c14006aa4940000900f52e..."} 
[2026-09-24 12:56:06] local.INFO: Packet analysis {"connection_id":191115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:56:06] local.INFO: Extracted packet for processing {"connection_id":191115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d249"} 
[2026-09-24 12:56:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458299940352001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790234443000,"timestamp_ms":1790234443000,"timestamp_seconds":1790234443,"priority":1,"record_length":96,"hex_timestamp":"000001a0d249bcf8"} 
[2026-09-24 12:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458299940352001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458299940352001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:56:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:56:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458299940352001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":191115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:56:06] local.INFO: GPS data processed {"connection_id":191115,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:56:06] local.INFO: Acknowledgment sent {"connection_id":191115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:56:22] local.INFO: TCP Data received {"connection_id":193976,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24b9988012d196600071ff1c00038014728..."} 
[2026-09-24 12:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24b9988012d196600071ff1c00038014728..."} 
[2026-09-24 12:56:22] local.INFO: Processing buffer {"connection_id":193976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24b9988012d196600071ff1c00038014728..."} 
[2026-09-24 12:56:22] local.INFO: Packet analysis {"connection_id":193976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24b"} 
[2026-09-24 12:56:22] local.INFO: Extracted packet for processing {"connection_id":193976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24b"} 
[2026-09-24 12:56:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 12:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300043264001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 12:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790234565000,"timestamp_ms":1790234565000,"timestamp_seconds":1790234565,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24b9988"} 
[2026-09-24 12:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-24 12:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300043264001,"66":12798,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300043264001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:56:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:56:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300043264001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 12:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":193976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:56:22] local.INFO: GPS data processed {"connection_id":193976,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:56:22] local.INFO: Acknowledgment sent {"connection_id":193976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:56:28] local.INFO: TCP Data received {"connection_id":191307,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:56:28] local.INFO: Processing buffer {"connection_id":191307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:56:28] local.INFO: IMEI packet received {"connection_id":191307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":191307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:56:34] local.INFO: TCP Data received {"connection_id":191307,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:56:34] local.INFO: Processing buffer {"connection_id":191307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:56:34] local.INFO: IMEI packet received {"connection_id":191307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":191307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:56:35] local.INFO: TCP Data received {"connection_id":191307,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:56:35] local.INFO: Processing buffer {"connection_id":191307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:56:35] local.INFO: Packet analysis {"connection_id":191307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 12:56:35] local.INFO: Extracted packet for processing {"connection_id":191307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 12:56:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300017408001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790234744000,"timestamp_ms":1790234744000,"timestamp_seconds":1790234744,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24e54c0"} 
[2026-09-24 12:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:56:35] 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-09-24 12:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300017408001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300017408001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:56:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:56:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300017408001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":191307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:56:35] local.INFO: GPS data processed {"connection_id":191307,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:56:35] local.INFO: Acknowledgment sent {"connection_id":191307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:56:45] local.INFO: TCP Data received {"connection_id":192689,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:56:45] local.INFO: Processing buffer {"connection_id":192689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:56:45] local.INFO: IMEI packet received {"connection_id":192689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":192689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:56:50] local.INFO: TCP Data received {"connection_id":192689,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:56:50] local.INFO: Processing buffer {"connection_id":192689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:56:50] local.INFO: IMEI packet received {"connection_id":192689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":192689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:56:51] local.INFO: TCP Data received {"connection_id":192689,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24beb90012d196600071ff1c0003801472b..."} 
[2026-09-24 12:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24beb90012d196600071ff1c0003801472b..."} 
[2026-09-24 12:56:51] local.INFO: Processing buffer {"connection_id":192689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24beb90012d196600071ff1c0003801472b..."} 
[2026-09-24 12:56:51] local.INFO: Packet analysis {"connection_id":192689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24b"} 
[2026-09-24 12:56:51] local.INFO: Extracted packet for processing {"connection_id":192689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24b"} 
[2026-09-24 12:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300048640001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 12:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790234586000,"timestamp_ms":1790234586000,"timestamp_seconds":1790234586,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24beb90"} 
[2026-09-24 12:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 12:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300048640001,"66":12819,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300048640001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:56:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:56:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300048640001,"power":12819,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 12:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":192689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:56:51] local.INFO: GPS data processed {"connection_id":192689,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:56:51] local.INFO: Acknowledgment sent {"connection_id":192689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:57:06] local.INFO: TCP Data received {"connection_id":191307,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:57:06] local.INFO: Processing buffer {"connection_id":191307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:57:06] local.INFO: Packet analysis {"connection_id":191307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 12:57:06] local.INFO: Extracted packet for processing {"connection_id":191307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 12:57:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300017408001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790234744000,"timestamp_ms":1790234744000,"timestamp_seconds":1790234744,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24e54c0"} 
[2026-09-24 12:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12: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-09-24 12:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300017408001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300017408001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:57:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:57:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300017408001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":191307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:57:06] local.INFO: GPS data processed {"connection_id":191307,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:57:06] local.INFO: Acknowledgment sent {"connection_id":191307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:57:22] local.INFO: TCP Data received {"connection_id":192689,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24c3d98012d196600071ff1c0003801472a..."} 
[2026-09-24 12:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24c3d98012d196600071ff1c0003801472a..."} 
[2026-09-24 12:57:22] local.INFO: Processing buffer {"connection_id":192689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24c3d98012d196600071ff1c0003801472a..."} 
[2026-09-24 12:57:22] local.INFO: Packet analysis {"connection_id":192689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24c"} 
[2026-09-24 12:57:22] local.INFO: Extracted packet for processing {"connection_id":192689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24c"} 
[2026-09-24 12:57:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 12:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300054016001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790234607000,"timestamp_ms":1790234607000,"timestamp_seconds":1790234607,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24c3d98"} 
[2026-09-24 12:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-24 12:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3528064864,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:22] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:22] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503948812484608,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:22] local.WARNING: Large IO value detected {"io_id":210,"raw_value":5308996297814533632,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:22] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4055892024,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:22] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4972237875707183360,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-09-24 12:57:22] local.WARNING: Large IO value detected {"io_id":192,"raw_value":15764003905077248,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:22] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182135220338944,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:22] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964419428666963,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:22] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301831991735174958,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:22] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:22] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195056128,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:22] local.WARNING: Large IO value detected {"io_id":80,"raw_value":84751893867732977,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:22] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,77,160,153,45,56,40,10,66,71,41,245,1,240,63,227,210,31,4,113,205,81,192,43,239,50,2,7,164,14,69,80],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-09-24 12:57:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035584991109840896,"timestamp_seconds":4035584991109841.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 12:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300054016001,"66":12819,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300054016001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:57:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:57:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300054016001,"power":12819,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 12:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":192689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:57:22] local.INFO: GPS data processed {"connection_id":192689,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:57:22] local.INFO: Acknowledgment sent {"connection_id":192689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:57:34] local.INFO: TCP Data received {"connection_id":191308,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:57:34] local.INFO: Processing buffer {"connection_id":191308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:57:34] local.INFO: IMEI packet received {"connection_id":191308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":191308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:57:38] local.INFO: TCP Data received {"connection_id":191308,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:57:38] local.INFO: Processing buffer {"connection_id":191308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:57:38] local.INFO: IMEI packet received {"connection_id":191308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":191308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:57:40] local.INFO: TCP Data received {"connection_id":191308,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:57:40] local.INFO: Processing buffer {"connection_id":191308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:57:40] local.INFO: Packet analysis {"connection_id":191308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 12:57:40] local.INFO: Extracted packet for processing {"connection_id":191308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 12:57:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300017408001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790234744000,"timestamp_ms":1790234744000,"timestamp_seconds":1790234744,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24e54c0"} 
[2026-09-24 12:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:57:40] 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-09-24 12:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300017408001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300017408001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:57:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:57:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300017408001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":191308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:57:40] local.INFO: GPS data processed {"connection_id":191308,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:57:40] local.INFO: Acknowledgment sent {"connection_id":191308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:57:44] local.INFO: TCP Data received {"connection_id":191308,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:57:44] local.INFO: Processing buffer {"connection_id":191308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:57:44] local.INFO: Packet analysis {"connection_id":191308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 12:57:44] local.INFO: Extracted packet for processing {"connection_id":191308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 12:57:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300017408001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790234744000,"timestamp_ms":1790234744000,"timestamp_seconds":1790234744,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24e54c0"} 
[2026-09-24 12:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:57:44] 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-09-24 12:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300017408001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300017408001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:57:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:57:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300017408001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":191308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:57:44] local.INFO: GPS data processed {"connection_id":191308,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:57:44] local.INFO: Acknowledgment sent {"connection_id":191308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:57:45] local.INFO: TCP Data received {"connection_id":193978,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:57:45] local.INFO: Processing buffer {"connection_id":193978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:57:45] local.INFO: IMEI packet received {"connection_id":193978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":193978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:57:50] local.INFO: TCP Data received {"connection_id":193978,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:57:50] local.INFO: Processing buffer {"connection_id":193978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:57:50] local.INFO: IMEI packet received {"connection_id":193978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":193978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:57:51] local.INFO: TCP Data received {"connection_id":193978,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24c8fa0012d196600071ff1c00038014727..."} 
[2026-09-24 12:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24c8fa0012d196600071ff1c00038014727..."} 
[2026-09-24 12:57:51] local.INFO: Processing buffer {"connection_id":193978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24c8fa0012d196600071ff1c00038014727..."} 
[2026-09-24 12:57:51] local.INFO: Packet analysis {"connection_id":193978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24c"} 
[2026-09-24 12:57:51] local.INFO: Extracted packet for processing {"connection_id":193978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24c"} 
[2026-09-24 12:57:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 12:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300059392001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790234628000,"timestamp_ms":1790234628000,"timestamp_seconds":1790234628,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24c8fa0"} 
[2026-09-24 12:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-24 12:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3528085864,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:51] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503948812484608,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:51] local.WARNING: Large IO value detected {"io_id":210,"raw_value":5332086041997829632,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4055892024,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:51] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4972237875707183360,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-09-24 12:57:51] local.WARNING: Large IO value detected {"io_id":192,"raw_value":15764003921854464,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:51] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182139515306240,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:51] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-9223146119863677357,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:51] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301831991735174957,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:51] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:51] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195042048,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:51] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84751893867732977,"note":"Value kept but may cause issues"} 
[2026-09-24 12:57:51] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,77,160,235,45,56,43,10,66,153,40,71,1,240,167,227,210,31,4,113,205,163,192,41,239,50,2,81,7,164,14,69,88],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-09-24 12:57:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035584986814873600,"timestamp_seconds":4035584986814873.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 12:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300059392001,"66":12798,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300059392001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:57:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:57:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300059392001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 12:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":193978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:57:51] local.INFO: GPS data processed {"connection_id":193978,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:57:51] local.INFO: Acknowledgment sent {"connection_id":193978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:58:22] local.INFO: TCP Data received {"connection_id":193978,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24ce1a8012d196600071ff1c0003801472e..."} 
[2026-09-24 12:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24ce1a8012d196600071ff1c0003801472e..."} 
[2026-09-24 12:58:22] local.INFO: Processing buffer {"connection_id":193978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24ce1a8012d196600071ff1c0003801472e..."} 
[2026-09-24 12:58:22] local.INFO: Packet analysis {"connection_id":193978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24c"} 
[2026-09-24 12:58:22] local.INFO: Extracted packet for processing {"connection_id":193978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24c"} 
[2026-09-24 12:58:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 12:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300064768001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 12:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790234649000,"timestamp_ms":1790234649000,"timestamp_seconds":1790234649,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24ce1a8"} 
[2026-09-24 12:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 12:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300064768001,"66":12798,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300064768001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:58:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:58:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300064768001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 12:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":193978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:58:22] local.INFO: GPS data processed {"connection_id":193978,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:58:22] local.INFO: Acknowledgment sent {"connection_id":193978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:58:30] local.INFO: TCP Data received {"connection_id":191117,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:58:30] local.INFO: Processing buffer {"connection_id":191117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:58:30] local.INFO: IMEI packet received {"connection_id":191117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":191117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:58:33] local.INFO: TCP Data received {"connection_id":191117,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:58:33] local.INFO: Processing buffer {"connection_id":191117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:58:33] local.INFO: IMEI packet received {"connection_id":191117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":191117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:58:35] local.INFO: TCP Data received {"connection_id":191117,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:58:35] local.INFO: Processing buffer {"connection_id":191117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:58:35] local.INFO: Packet analysis {"connection_id":191117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 12:58:35] local.INFO: Extracted packet for processing {"connection_id":191117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 12:58:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300017408001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790234744000,"timestamp_ms":1790234744000,"timestamp_seconds":1790234744,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24e54c0"} 
[2026-09-24 12:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:58:35] 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-09-24 12:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300017408001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300017408001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:58:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:58:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300017408001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":191117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:58:35] local.INFO: GPS data processed {"connection_id":191117,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:58:35] local.INFO: Acknowledgment sent {"connection_id":191117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:58:40] local.INFO: TCP Data received {"connection_id":191117,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:58:40] local.INFO: Processing buffer {"connection_id":191117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:58:40] local.INFO: Packet analysis {"connection_id":191117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 12:58:40] local.INFO: Extracted packet for processing {"connection_id":191117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 12:58:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300017408001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790234744000,"timestamp_ms":1790234744000,"timestamp_seconds":1790234744,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24e54c0"} 
[2026-09-24 12:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:58:40] 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-09-24 12:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300017408001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300017408001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:58:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:58:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300017408001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":191117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:58:40] local.INFO: GPS data processed {"connection_id":191117,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:58:40] local.INFO: Acknowledgment sent {"connection_id":191117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:58:50] local.INFO: TCP Data received {"connection_id":192690,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:58:50] local.INFO: Processing buffer {"connection_id":192690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:58:50] local.INFO: IMEI packet received {"connection_id":192690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":192690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:58:55] local.INFO: TCP Data received {"connection_id":192690,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:58:55] local.INFO: Processing buffer {"connection_id":192690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:58:55] local.INFO: IMEI packet received {"connection_id":192690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":192690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:58:56] local.INFO: TCP Data received {"connection_id":192690,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24d33b0012d196600071ff1c0003801472e..."} 
[2026-09-24 12:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24d33b0012d196600071ff1c0003801472e..."} 
[2026-09-24 12:58:56] local.INFO: Processing buffer {"connection_id":192690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24d33b0012d196600071ff1c0003801472e..."} 
[2026-09-24 12:58:56] local.INFO: Packet analysis {"connection_id":192690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24d"} 
[2026-09-24 12:58:56] local.INFO: Extracted packet for processing {"connection_id":192690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24d"} 
[2026-09-24 12:58:56] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 12:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300070144001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 12:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790234670000,"timestamp_ms":1790234670000,"timestamp_seconds":1790234670,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24d33b0"} 
[2026-09-24 12:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 12:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300070144001,"66":12765,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300070144001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:58:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:58:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300070144001,"power":12765,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 12:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":192690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:58:56] local.INFO: GPS data processed {"connection_id":192690,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:58:56] local.INFO: Acknowledgment sent {"connection_id":192690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:58:59] local.INFO: TCP Data received {"connection_id":192690,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24d85b8012d196600071ff1c0003801472e..."} 
[2026-09-24 12:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24d85b8012d196600071ff1c0003801472e..."} 
[2026-09-24 12:58:59] local.INFO: Processing buffer {"connection_id":192690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24d85b8012d196600071ff1c0003801472e..."} 
[2026-09-24 12:58:59] local.INFO: Packet analysis {"connection_id":192690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24d"} 
[2026-09-24 12:58:59] local.INFO: Extracted packet for processing {"connection_id":192690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24d"} 
[2026-09-24 12:58:59] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 12: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-09-24 12:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300075520001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 12:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790234691000,"timestamp_ms":1790234691000,"timestamp_seconds":1790234691,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24d85b8"} 
[2026-09-24 12:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-24 12:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300075520001,"66":12678,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300075520001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:59:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:59:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300075520001,"power":12678,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 12:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":192690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:59:00] local.INFO: GPS data processed {"connection_id":192690,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:59:00] local.INFO: Acknowledgment sent {"connection_id":192690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:59:13] local.INFO: TCP Data received {"connection_id":191117,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:59:13] local.INFO: Processing buffer {"connection_id":191117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:59:13] local.INFO: Packet analysis {"connection_id":191117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 12:59:13] local.INFO: Extracted packet for processing {"connection_id":191117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 12:59:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300017408001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790234744000,"timestamp_ms":1790234744000,"timestamp_seconds":1790234744,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24e54c0"} 
[2026-09-24 12:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:59:13] 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-09-24 12:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300017408001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300017408001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:59:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:59:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300017408001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":191117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:59:13] local.INFO: GPS data processed {"connection_id":191117,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:59:13] local.INFO: Acknowledgment sent {"connection_id":191117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:59:28] local.INFO: TCP Data received {"connection_id":192691,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:59:28] local.INFO: Processing buffer {"connection_id":192691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:59:28] local.INFO: IMEI packet received {"connection_id":192691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 12:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":192691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:59:33] local.INFO: TCP Data received {"connection_id":192691,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:59:33] local.INFO: Processing buffer {"connection_id":192691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 12:59:33] local.INFO: IMEI packet received {"connection_id":192691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 12:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":192691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:59:34] local.INFO: TCP Data received {"connection_id":192691,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:59:34] local.INFO: Processing buffer {"connection_id":192691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 12:59:34] local.INFO: Packet analysis {"connection_id":192691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 12:59:34] local.INFO: Extracted packet for processing {"connection_id":192691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 12:59:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 12:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300017408001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 12:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790234744000,"timestamp_ms":1790234744000,"timestamp_seconds":1790234744,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24e54c0"} 
[2026-09-24 12:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 12:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 12:59:34] 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-09-24 12:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 12:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 12:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 12:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300017408001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 12:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 12:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 12:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300017408001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:59:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 12:59:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 12:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 12:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300017408001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 12:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":192691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:59:34] local.INFO: GPS data processed {"connection_id":192691,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:59:34] local.INFO: Acknowledgment sent {"connection_id":192691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 12:59:45] local.INFO: TCP Data received {"connection_id":193979,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:59:45] local.INFO: Processing buffer {"connection_id":193979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:59:45] local.INFO: IMEI packet received {"connection_id":193979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 12:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":193979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 12:59:50] local.INFO: TCP Data received {"connection_id":193979,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:59:50] local.INFO: Processing buffer {"connection_id":193979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 12:59:50] local.INFO: IMEI packet received {"connection_id":193979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 12:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":193979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 12:59:51] local.INFO: TCP Data received {"connection_id":193979,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24dd7c0012d196600071ff1c0003801472c..."} 
[2026-09-24 12:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24dd7c0012d196600071ff1c0003801472c..."} 
[2026-09-24 12:59:51] local.INFO: Processing buffer {"connection_id":193979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24dd7c0012d196600071ff1c0003801472c..."} 
[2026-09-24 12:59:51] local.INFO: Packet analysis {"connection_id":193979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24d"} 
[2026-09-24 12:59:51] local.INFO: Extracted packet for processing {"connection_id":193979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24d"} 
[2026-09-24 12:59:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 12:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 12:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300080896001,"note":"Value kept but may cause issues"} 
[2026-09-24 12:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 12:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 12:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 12:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790234712000,"timestamp_ms":1790234712000,"timestamp_seconds":1790234712,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24dd7c0"} 
[2026-09-24 12:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 12:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 12:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 12:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 12:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 12:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 12:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 12:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 12:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 12:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 12:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 12:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 12:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300080896001,"66":12722,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 12:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 12:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 12:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300080896001,"description":"Unknown IO ID 0"} 
[2026-09-24 12:59:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 12:59:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 12:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 12:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 12:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300080896001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 12:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":193979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 12:59:51] local.INFO: GPS data processed {"connection_id":193979,"processed":1,"errors":0,"total":1} 
[2026-09-24 12:59:51] local.INFO: Acknowledgment sent {"connection_id":193979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:00:06] local.INFO: TCP Data received {"connection_id":192691,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:00:06] local.INFO: Processing buffer {"connection_id":192691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:00:06] local.INFO: Packet analysis {"connection_id":192691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 13:00:06] local.INFO: Extracted packet for processing {"connection_id":192691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 13:00:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300017408001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790234744000,"timestamp_ms":1790234744000,"timestamp_seconds":1790234744,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24e54c0"} 
[2026-09-24 13:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300017408001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300017408001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:00:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:00:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300017408001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":192691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:00:06] local.INFO: GPS data processed {"connection_id":192691,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:00:06] local.INFO: Acknowledgment sent {"connection_id":192691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:00:22] local.INFO: TCP Data received {"connection_id":193979,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24e29c8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24e29c8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:00:22] local.INFO: Processing buffer {"connection_id":193979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24e29c8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:00:22] local.INFO: Packet analysis {"connection_id":193979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 13:00:22] local.INFO: Extracted packet for processing {"connection_id":193979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 13:00:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300086272001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790234733000,"timestamp_ms":1790234733000,"timestamp_seconds":1790234733,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24e29c8"} 
[2026-09-24 13:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 13:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300086272001,"66":12722,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300086272001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:00:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:00:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300086272001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":193979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:00:22] local.INFO: GPS data processed {"connection_id":193979,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:00:22] local.INFO: Acknowledgment sent {"connection_id":193979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:00:27] local.INFO: TCP Data received {"connection_id":191118,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191118,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:00:27] local.INFO: Processing buffer {"connection_id":191118,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:00:27] local.INFO: IMEI packet received {"connection_id":191118,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 13:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":191118,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:00:28] local.INFO: TCP Data received {"connection_id":191311,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:00:28] local.INFO: Processing buffer {"connection_id":191311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:00:28] local.INFO: IMEI packet received {"connection_id":191311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":191311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:00:33] local.INFO: TCP Data received {"connection_id":191311,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:00:33] local.INFO: Processing buffer {"connection_id":191311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:00:33] local.INFO: IMEI packet received {"connection_id":191311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":191311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:00:34] local.INFO: TCP Data received {"connection_id":191311,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:00:34] local.INFO: Processing buffer {"connection_id":191311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:00:34] local.INFO: Packet analysis {"connection_id":191311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 13:00:34] local.INFO: Extracted packet for processing {"connection_id":191311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 13:00:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300017408001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790234744000,"timestamp_ms":1790234744000,"timestamp_seconds":1790234744,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24e54c0"} 
[2026-09-24 13:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:00:34] 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-09-24 13:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300017408001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300017408001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:00:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:00:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300017408001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":191311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:00:34] local.INFO: GPS data processed {"connection_id":191311,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:00:34] local.INFO: Acknowledgment sent {"connection_id":191311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:00:44] local.INFO: TCP Data received {"connection_id":192692,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:00:44] local.INFO: Processing buffer {"connection_id":192692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:00:44] local.INFO: IMEI packet received {"connection_id":192692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":192692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:00:45] local.INFO: TCP Data received {"connection_id":192692,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:00:45] local.INFO: Processing buffer {"connection_id":192692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:00:45] local.INFO: IMEI packet received {"connection_id":192692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":192692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:00:50] local.INFO: TCP Data received {"connection_id":192692,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:00:50] local.INFO: Processing buffer {"connection_id":192692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:00:50] local.INFO: IMEI packet received {"connection_id":192692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":192692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:00:51] local.INFO: TCP Data received {"connection_id":192692,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d251b020012d196600071ff1c00038014729..."} 
[2026-09-24 13:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d251b020012d196600071ff1c00038014729..."} 
[2026-09-24 13:00:51] local.INFO: Processing buffer {"connection_id":192692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d251b020012d196600071ff1c00038014729..."} 
[2026-09-24 13:00:51] local.INFO: Packet analysis {"connection_id":192692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d251"} 
[2026-09-24 13:00:51] local.INFO: Extracted packet for processing {"connection_id":192692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d251"} 
[2026-09-24 13:00:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300145408001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790234964000,"timestamp_ms":1790234964000,"timestamp_seconds":1790234964,"priority":1,"record_length":96,"hex_timestamp":"000001a0d251b020"} 
[2026-09-24 13:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-24 13:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:00: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-09-24 13:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300145408001,"66":12667,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300145408001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:00:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:00:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300145408001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":192692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:00:51] local.INFO: GPS data processed {"connection_id":192692,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:00:51] local.INFO: Acknowledgment sent {"connection_id":192692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:01:05] local.INFO: TCP Data received {"connection_id":191311,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:01:05] local.INFO: Processing buffer {"connection_id":191311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d24e54c0012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:01:05] local.INFO: Packet analysis {"connection_id":191311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 13:01:05] local.INFO: Extracted packet for processing {"connection_id":191311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d24e"} 
[2026-09-24 13:01:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300017408001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790234744000,"timestamp_ms":1790234744000,"timestamp_seconds":1790234744,"priority":1,"record_length":96,"hex_timestamp":"000001a0d24e54c0"} 
[2026-09-24 13:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300017408001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300017408001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:01:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:01:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300017408001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":191311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:01:05] local.INFO: GPS data processed {"connection_id":191311,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:01:05] local.INFO: Acknowledgment sent {"connection_id":191311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:01:12] local.INFO: TCP Data received {"connection_id":191119,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:01:12] local.INFO: Processing buffer {"connection_id":191119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:01:12] local.INFO: IMEI packet received {"connection_id":191119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 13:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":191119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:01:22] local.INFO: TCP Data received {"connection_id":192692,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2520228012d196600071ff1c0003801472a..."} 
[2026-09-24 13:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2520228012d196600071ff1c0003801472a..."} 
[2026-09-24 13:01:22] local.INFO: Processing buffer {"connection_id":192692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2520228012d196600071ff1c0003801472a..."} 
[2026-09-24 13:01:22] local.INFO: Packet analysis {"connection_id":192692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:01:22] local.INFO: Extracted packet for processing {"connection_id":192692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:01:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300150784001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790234985000,"timestamp_ms":1790234985000,"timestamp_seconds":1790234985,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2520228"} 
[2026-09-24 13:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-24 13:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300150784001,"66":12645,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300150784001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:01:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:01:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300150784001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":192692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:01:22] local.INFO: GPS data processed {"connection_id":192692,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:01:22] local.INFO: Acknowledgment sent {"connection_id":192692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:01:28] local.INFO: TCP Data received {"connection_id":191312,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:01:28] local.INFO: Processing buffer {"connection_id":191312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:01:28] local.INFO: IMEI packet received {"connection_id":191312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":191312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:01:34] local.INFO: TCP Data received {"connection_id":191312,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:01:34] local.INFO: Processing buffer {"connection_id":191312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:01:34] local.INFO: IMEI packet received {"connection_id":191312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":191312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:01:35] local.INFO: TCP Data received {"connection_id":191312,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:01:35] local.INFO: Processing buffer {"connection_id":191312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:01:35] local.INFO: Packet analysis {"connection_id":191312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:01:35] local.INFO: Extracted packet for processing {"connection_id":191312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:01:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300094464001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790235045000,"timestamp_ms":1790235045000,"timestamp_seconds":1790235045,"priority":1,"record_length":96,"hex_timestamp":"000001a0d252ec88"} 
[2026-09-24 13:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 13:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300094464001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300094464001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:01:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:01:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300094464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":191312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:01:35] local.INFO: GPS data processed {"connection_id":191312,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:01:35] local.INFO: Acknowledgment sent {"connection_id":191312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:01:45] local.INFO: TCP Data received {"connection_id":192693,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:01:45] local.INFO: Processing buffer {"connection_id":192693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:01:45] local.INFO: IMEI packet received {"connection_id":192693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":192693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:01:47] local.INFO: TCP Data received {"connection_id":192693,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:01:47] local.INFO: Processing buffer {"connection_id":192693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:01:47] local.INFO: IMEI packet received {"connection_id":192693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":192693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:01:50] local.INFO: TCP Data received {"connection_id":192693,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:01:50] local.INFO: Processing buffer {"connection_id":192693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:01:50] local.INFO: IMEI packet received {"connection_id":192693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":192693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:01:51] local.INFO: TCP Data received {"connection_id":192693,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2525430012d196600071ff1c00038014729..."} 
[2026-09-24 13:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2525430012d196600071ff1c00038014729..."} 
[2026-09-24 13:01:51] local.INFO: Processing buffer {"connection_id":192693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2525430012d196600071ff1c00038014729..."} 
[2026-09-24 13:01:51] local.INFO: Packet analysis {"connection_id":192693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:01:51] local.INFO: Extracted packet for processing {"connection_id":192693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:01:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300156160001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790235006000,"timestamp_ms":1790235006000,"timestamp_seconds":1790235006,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2525430"} 
[2026-09-24 13:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-24 13:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300156160001,"66":12667,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300156160001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:01:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:01:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300156160001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":192693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:01:51] local.INFO: GPS data processed {"connection_id":192693,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:01:51] local.INFO: Acknowledgment sent {"connection_id":192693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:02:07] local.INFO: TCP Data received {"connection_id":191312,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:02:07] local.INFO: Processing buffer {"connection_id":191312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:02:07] local.INFO: Packet analysis {"connection_id":191312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:02:07] local.INFO: Extracted packet for processing {"connection_id":191312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:02:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300094464001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790235045000,"timestamp_ms":1790235045000,"timestamp_seconds":1790235045,"priority":1,"record_length":96,"hex_timestamp":"000001a0d252ec88"} 
[2026-09-24 13:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 13:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300094464001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300094464001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:02:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:02:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300094464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":191312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:02:07] local.INFO: GPS data processed {"connection_id":191312,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:02:07] local.INFO: Acknowledgment sent {"connection_id":191312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:02:22] local.INFO: TCP Data received {"connection_id":192693,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d252a638012d196600071ff1c00038014729..."} 
[2026-09-24 13:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d252a638012d196600071ff1c00038014729..."} 
[2026-09-24 13:02:22] local.INFO: Processing buffer {"connection_id":192693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d252a638012d196600071ff1c00038014729..."} 
[2026-09-24 13:02:22] local.INFO: Packet analysis {"connection_id":192693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:02:22] local.INFO: Extracted packet for processing {"connection_id":192693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:02:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300161536001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790235027000,"timestamp_ms":1790235027000,"timestamp_seconds":1790235027,"priority":1,"record_length":96,"hex_timestamp":"000001a0d252a638"} 
[2026-09-24 13:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-24 13:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300161536001,"66":12667,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300161536001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:02:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:02:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300161536001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":192693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:02:22] local.INFO: GPS data processed {"connection_id":192693,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:02:22] local.INFO: Acknowledgment sent {"connection_id":192693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:02:28] local.INFO: TCP Data received {"connection_id":191120,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:02:28] local.INFO: Processing buffer {"connection_id":191120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:02:28] local.INFO: IMEI packet received {"connection_id":191120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":191120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:02:33] local.INFO: TCP Data received {"connection_id":191120,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:02:33] local.INFO: Processing buffer {"connection_id":191120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:02:33] local.INFO: IMEI packet received {"connection_id":191120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":191120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:02:35] local.INFO: TCP Data received {"connection_id":191120,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:02:35] local.INFO: Processing buffer {"connection_id":191120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:02:35] local.INFO: Packet analysis {"connection_id":191120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:02:35] local.INFO: Extracted packet for processing {"connection_id":191120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300094464001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790235045000,"timestamp_ms":1790235045000,"timestamp_seconds":1790235045,"priority":1,"record_length":96,"hex_timestamp":"000001a0d252ec88"} 
[2026-09-24 13:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 13:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300094464001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300094464001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:02:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300094464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":191120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:02:35] local.INFO: GPS data processed {"connection_id":191120,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:02:35] local.INFO: Acknowledgment sent {"connection_id":191120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:02:45] local.INFO: TCP Data received {"connection_id":191121,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:02:45] local.INFO: Processing buffer {"connection_id":191121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:02:45] local.INFO: IMEI packet received {"connection_id":191121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":191121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:02:50] local.INFO: TCP Data received {"connection_id":191121,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:02:50] local.INFO: Processing buffer {"connection_id":191121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:02:50] local.INFO: IMEI packet received {"connection_id":191121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":191121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:02:51] local.INFO: TCP Data received {"connection_id":191121,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d252f840012d196600071ff1c0003801472a..."} 
[2026-09-24 13:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d252f840012d196600071ff1c0003801472a..."} 
[2026-09-24 13:02:51] local.INFO: Processing buffer {"connection_id":191121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d252f840012d196600071ff1c0003801472a..."} 
[2026-09-24 13:02:51] local.INFO: Packet analysis {"connection_id":191121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:02:51] local.INFO: Extracted packet for processing {"connection_id":191121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:02:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300166912001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790235048000,"timestamp_ms":1790235048000,"timestamp_seconds":1790235048,"priority":1,"record_length":96,"hex_timestamp":"000001a0d252f840"} 
[2026-09-24 13:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-24 13:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300166912001,"66":12667,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300166912001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:02:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:02:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300166912001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":191121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:02:51] local.INFO: GPS data processed {"connection_id":191121,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:02:51] local.INFO: Acknowledgment sent {"connection_id":191121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:03:07] local.INFO: TCP Data received {"connection_id":191120,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:03:07] local.INFO: Processing buffer {"connection_id":191120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:03:07] local.INFO: Packet analysis {"connection_id":191120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:03:07] local.INFO: Extracted packet for processing {"connection_id":191120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:03:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300094464001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790235045000,"timestamp_ms":1790235045000,"timestamp_seconds":1790235045,"priority":1,"record_length":96,"hex_timestamp":"000001a0d252ec88"} 
[2026-09-24 13:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 13:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300094464001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300094464001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:03:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:03:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300094464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":191120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:03:07] local.INFO: GPS data processed {"connection_id":191120,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:03:07] local.INFO: Acknowledgment sent {"connection_id":191120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:03:22] local.INFO: TCP Data received {"connection_id":191121,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2534a48012d196600071ff1c0003801472c..."} 
[2026-09-24 13:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2534a48012d196600071ff1c0003801472c..."} 
[2026-09-24 13:03:22] local.INFO: Processing buffer {"connection_id":191121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2534a48012d196600071ff1c0003801472c..."} 
[2026-09-24 13:03:22] local.INFO: Packet analysis {"connection_id":191121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d253"} 
[2026-09-24 13:03:22] local.INFO: Extracted packet for processing {"connection_id":191121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d253"} 
[2026-09-24 13:03:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300172288001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790235069000,"timestamp_ms":1790235069000,"timestamp_seconds":1790235069,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2534a48"} 
[2026-09-24 13:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-24 13:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300172288001,"66":12591,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300172288001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:03:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:03:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300172288001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":191121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:03:22] local.INFO: GPS data processed {"connection_id":191121,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:03:22] local.INFO: Acknowledgment sent {"connection_id":191121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:03:30] local.INFO: TCP Data received {"connection_id":191313,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:03:30] local.INFO: Processing buffer {"connection_id":191313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:03:30] local.INFO: IMEI packet received {"connection_id":191313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":191313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:03:33] local.INFO: TCP Data received {"connection_id":191313,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:03:33] local.INFO: Processing buffer {"connection_id":191313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:03:33] local.INFO: IMEI packet received {"connection_id":191313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":191313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:03:35] local.INFO: TCP Data received {"connection_id":191313,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:03:35] local.INFO: Processing buffer {"connection_id":191313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:03:35] local.INFO: Packet analysis {"connection_id":191313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:03:35] local.INFO: Extracted packet for processing {"connection_id":191313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300094464001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790235045000,"timestamp_ms":1790235045000,"timestamp_seconds":1790235045,"priority":1,"record_length":96,"hex_timestamp":"000001a0d252ec88"} 
[2026-09-24 13:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 13:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300094464001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300094464001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:03:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:03:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300094464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":191313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:03:35] local.INFO: GPS data processed {"connection_id":191313,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:03:35] local.INFO: Acknowledgment sent {"connection_id":191313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:03:45] local.INFO: TCP Data received {"connection_id":193981,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:03:45] local.INFO: Processing buffer {"connection_id":193981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:03:45] local.INFO: IMEI packet received {"connection_id":193981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":193981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:03:50] local.INFO: TCP Data received {"connection_id":193981,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:03:50] local.INFO: Processing buffer {"connection_id":193981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:03:50] local.INFO: IMEI packet received {"connection_id":193981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":193981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:03:51] local.INFO: TCP Data received {"connection_id":193981,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2539c50012d196600071ff1c0003801472b..."} 
[2026-09-24 13:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2539c50012d196600071ff1c0003801472b..."} 
[2026-09-24 13:03:51] local.INFO: Processing buffer {"connection_id":193981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2539c50012d196600071ff1c0003801472b..."} 
[2026-09-24 13:03:51] local.INFO: Packet analysis {"connection_id":193981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d253"} 
[2026-09-24 13:03:51] local.INFO: Extracted packet for processing {"connection_id":193981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d253"} 
[2026-09-24 13:03:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300177664001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790235090000,"timestamp_ms":1790235090000,"timestamp_seconds":1790235090,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2539c50"} 
[2026-09-24 13:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300177664001,"66":12645,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300177664001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:03:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:03:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300177664001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":193981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:03:51] local.INFO: GPS data processed {"connection_id":193981,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:03:51] local.INFO: Acknowledgment sent {"connection_id":193981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:04:07] local.INFO: TCP Data received {"connection_id":191313,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:04:07] local.INFO: Processing buffer {"connection_id":191313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:04:07] local.INFO: Packet analysis {"connection_id":191313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:04:07] local.INFO: Extracted packet for processing {"connection_id":191313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:04:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300094464001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790235045000,"timestamp_ms":1790235045000,"timestamp_seconds":1790235045,"priority":1,"record_length":96,"hex_timestamp":"000001a0d252ec88"} 
[2026-09-24 13:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 13:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300094464001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300094464001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:04:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:04:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300094464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":191313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:04:07] local.INFO: GPS data processed {"connection_id":191313,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:04:07] local.INFO: Acknowledgment sent {"connection_id":191313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:04:22] local.INFO: TCP Data received {"connection_id":193981,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d253ee58012d196600071ff1c00038014729..."} 
[2026-09-24 13:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d253ee58012d196600071ff1c00038014729..."} 
[2026-09-24 13:04:22] local.INFO: Processing buffer {"connection_id":193981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d253ee58012d196600071ff1c00038014729..."} 
[2026-09-24 13:04:22] local.INFO: Packet analysis {"connection_id":193981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d253"} 
[2026-09-24 13:04:22] local.INFO: Extracted packet for processing {"connection_id":193981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d253"} 
[2026-09-24 13:04:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300183040001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790235111000,"timestamp_ms":1790235111000,"timestamp_seconds":1790235111,"priority":1,"record_length":96,"hex_timestamp":"000001a0d253ee58"} 
[2026-09-24 13:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-24 13:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300183040001,"66":12613,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300183040001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:04:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:04:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300183040001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":193981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:04:22] local.INFO: GPS data processed {"connection_id":193981,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:04:22] local.INFO: Acknowledgment sent {"connection_id":193981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:04:28] local.INFO: TCP Data received {"connection_id":192695,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:04:28] local.INFO: Processing buffer {"connection_id":192695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:04:28] local.INFO: IMEI packet received {"connection_id":192695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":192695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:04:34] local.INFO: TCP Data received {"connection_id":192695,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:04:34] local.INFO: Processing buffer {"connection_id":192695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:04:34] local.INFO: IMEI packet received {"connection_id":192695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":192695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:04:35] local.INFO: TCP Data received {"connection_id":192695,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:04:35] local.INFO: Processing buffer {"connection_id":192695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:04:35] local.INFO: Packet analysis {"connection_id":192695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:04:35] local.INFO: Extracted packet for processing {"connection_id":192695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300094464001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790235045000,"timestamp_ms":1790235045000,"timestamp_seconds":1790235045,"priority":1,"record_length":96,"hex_timestamp":"000001a0d252ec88"} 
[2026-09-24 13:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 13:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300094464001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300094464001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:04:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:04:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300094464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":192695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:04:35] local.INFO: GPS data processed {"connection_id":192695,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:04:35] local.INFO: Acknowledgment sent {"connection_id":192695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:04:50] local.INFO: TCP Data received {"connection_id":191314,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:04:50] local.INFO: Processing buffer {"connection_id":191314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:04:50] local.INFO: IMEI packet received {"connection_id":191314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":191314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:04:55] local.INFO: TCP Data received {"connection_id":191314,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:04:55] local.INFO: Processing buffer {"connection_id":191314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:04:55] local.INFO: IMEI packet received {"connection_id":191314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":191314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:04:56] local.INFO: TCP Data received {"connection_id":191314,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2544060012d196600071ff1c00038014728..."} 
[2026-09-24 13:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2544060012d196600071ff1c00038014728..."} 
[2026-09-24 13:04:56] local.INFO: Processing buffer {"connection_id":191314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2544060012d196600071ff1c00038014728..."} 
[2026-09-24 13:04:56] local.INFO: Packet analysis {"connection_id":191314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d254"} 
[2026-09-24 13:04:56] local.INFO: Extracted packet for processing {"connection_id":191314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d254"} 
[2026-09-24 13:04:56] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:04: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-09-24 13:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300188416001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790235132000,"timestamp_ms":1790235132000,"timestamp_seconds":1790235132,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2544060"} 
[2026-09-24 13:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-24 13:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:04: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-09-24 13:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":191314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":191314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":191314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300188416001,"66":12602,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300188416001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:04:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:04:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300188416001,"power":12602,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":191314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:04:56] local.INFO: GPS data processed {"connection_id":191314,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:04:56] local.INFO: Acknowledgment sent {"connection_id":191314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:04:57] local.INFO: TCP Data received {"connection_id":191314,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2549268012d196600071ff1c0003801472a..."} 
[2026-09-24 13:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2549268012d196600071ff1c0003801472a..."} 
[2026-09-24 13:04:57] local.INFO: Processing buffer {"connection_id":191314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2549268012d196600071ff1c0003801472a..."} 
[2026-09-24 13:04:57] local.INFO: Packet analysis {"connection_id":191314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d254"} 
[2026-09-24 13:04:57] local.INFO: Extracted packet for processing {"connection_id":191314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d254"} 
[2026-09-24 13:04:57] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300193792001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790235153000,"timestamp_ms":1790235153000,"timestamp_seconds":1790235153,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2549268"} 
[2026-09-24 13:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-24 13:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":191314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":191314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":191314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300193792001,"66":12613,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300193792001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:04:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:04:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300193792001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":191314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:04:57] local.INFO: GPS data processed {"connection_id":191314,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:04:57] local.INFO: Acknowledgment sent {"connection_id":191314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:05:06] local.INFO: TCP Data received {"connection_id":192695,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:05:06] local.INFO: Processing buffer {"connection_id":192695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:05:06] local.INFO: Packet analysis {"connection_id":192695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:05:06] local.INFO: Extracted packet for processing {"connection_id":192695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:05:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300094464001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790235045000,"timestamp_ms":1790235045000,"timestamp_seconds":1790235045,"priority":1,"record_length":96,"hex_timestamp":"000001a0d252ec88"} 
[2026-09-24 13:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 13:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300094464001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300094464001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:05:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:05:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300094464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":192695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:05:06] local.INFO: GPS data processed {"connection_id":192695,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:05:06] local.INFO: Acknowledgment sent {"connection_id":192695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:05:28] local.INFO: TCP Data received {"connection_id":191314,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d254e470012d196600071ff1c0003801472a..."} 
[2026-09-24 13:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d254e470012d196600071ff1c0003801472a..."} 
[2026-09-24 13:05:28] local.INFO: Processing buffer {"connection_id":191314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d254e470012d196600071ff1c0003801472a..."} 
[2026-09-24 13:05:28] local.INFO: Packet analysis {"connection_id":191314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d254"} 
[2026-09-24 13:05:28] local.INFO: Extracted packet for processing {"connection_id":191314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d254"} 
[2026-09-24 13:05:28] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300199168001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790235174000,"timestamp_ms":1790235174000,"timestamp_seconds":1790235174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d254e470"} 
[2026-09-24 13:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-24 13:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:05: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-09-24 13:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":191314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":191314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":191314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300199168001,"66":12548,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300199168001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:05:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:05:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300199168001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":191314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:05:28] local.INFO: GPS data processed {"connection_id":191314,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:05:28] local.INFO: Acknowledgment sent {"connection_id":191314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:05:43] local.INFO: TCP Data received {"connection_id":191316,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:05:43] local.INFO: Processing buffer {"connection_id":191316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:05:43] local.INFO: IMEI packet received {"connection_id":191316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":191316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:05:45] local.INFO: TCP Data received {"connection_id":193983,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:05:45] local.INFO: Processing buffer {"connection_id":193983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:05:45] local.INFO: IMEI packet received {"connection_id":193983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":193983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:05:48] local.INFO: TCP Data received {"connection_id":191316,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:05:48] local.INFO: Processing buffer {"connection_id":191316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:05:48] local.INFO: IMEI packet received {"connection_id":191316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":191316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:05:49] local.INFO: TCP Data received {"connection_id":191316,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:05:49] local.INFO: Processing buffer {"connection_id":191316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d252ec88012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:05:49] local.INFO: Packet analysis {"connection_id":191316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:05:49] local.INFO: Extracted packet for processing {"connection_id":191316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d252"} 
[2026-09-24 13:05:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300094464001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790235045000,"timestamp_ms":1790235045000,"timestamp_seconds":1790235045,"priority":1,"record_length":96,"hex_timestamp":"000001a0d252ec88"} 
[2026-09-24 13:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 13:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300094464001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300094464001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:05:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:05:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300094464001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":191316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:05:49] local.INFO: GPS data processed {"connection_id":191316,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:05:49] local.INFO: Acknowledgment sent {"connection_id":191316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:05:50] local.INFO: TCP Data received {"connection_id":193983,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:05:50] local.INFO: Processing buffer {"connection_id":193983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:05:50] local.INFO: IMEI packet received {"connection_id":193983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":193983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:05:51] local.INFO: TCP Data received {"connection_id":193983,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2553678012d196600071ff1c0003801472b..."} 
[2026-09-24 13:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2553678012d196600071ff1c0003801472b..."} 
[2026-09-24 13:05:51] local.INFO: Processing buffer {"connection_id":193983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2553678012d196600071ff1c0003801472b..."} 
[2026-09-24 13:05:51] local.INFO: Packet analysis {"connection_id":193983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d255"} 
[2026-09-24 13:05:51] local.INFO: Extracted packet for processing {"connection_id":193983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d255"} 
[2026-09-24 13:05:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:05: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-09-24 13:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300204544001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790235195000,"timestamp_ms":1790235195000,"timestamp_seconds":1790235195,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2553678"} 
[2026-09-24 13:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 13:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-24 13:05:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 13:05:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 13:05:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3528652864,"note":"Value kept but may cause issues"} 
[2026-09-24 13:05:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184204828877,"note":"Value kept but may cause issues"} 
[2026-09-24 13:05:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4055892024,"note":"Value kept but may cause issues"} 
[2026-09-24 13:05:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 13:05:51] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 13:05:51] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,77,160,146,45,56,42,10,66,64,40,238,1,240,69,227,210,31,4,113,205,74,192,44,239,49,2,81,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 13:05:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035584986814873600,"timestamp_seconds":4035584986814873.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 13:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300204544001,"66":12548,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300204544001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:05:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:05:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300204544001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":193983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:05:51] local.INFO: GPS data processed {"connection_id":193983,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:05:51] local.INFO: Acknowledgment sent {"connection_id":193983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:06:22] local.INFO: TCP Data received {"connection_id":193983,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2558880012d196600071ff1c0003801472a..."} 
[2026-09-24 13:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2558880012d196600071ff1c0003801472a..."} 
[2026-09-24 13:06:22] local.INFO: Processing buffer {"connection_id":193983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2558880012d196600071ff1c0003801472a..."} 
[2026-09-24 13:06:22] local.INFO: Packet analysis {"connection_id":193983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d255"} 
[2026-09-24 13:06:22] local.INFO: Extracted packet for processing {"connection_id":193983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d255"} 
[2026-09-24 13:06:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300209920001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790235216000,"timestamp_ms":1790235216000,"timestamp_seconds":1790235216,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2558880"} 
[2026-09-24 13:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 13:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3528673864,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:22] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4055892024,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 13:06:22] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:22] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,77,160,228,45,56,42,10,66,146,64,1,240,58,227,210,31,4,113,205,156,192,43,239,49,2,81,7,120],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 13:06:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035584991109840896,"timestamp_seconds":4035584991109841.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 13:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300209920001,"66":12558,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300209920001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:06:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:06:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300209920001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":193983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:06:22] local.INFO: GPS data processed {"connection_id":193983,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:06:22] local.INFO: Acknowledgment sent {"connection_id":193983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:06:27] local.INFO: TCP Data received {"connection_id":191122,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:06:27] local.INFO: Processing buffer {"connection_id":191122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:06:27] local.INFO: IMEI packet received {"connection_id":191122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 13:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":191122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:06:33] local.INFO: TCP Data received {"connection_id":193984,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:06:33] local.INFO: Processing buffer {"connection_id":193984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:06:33] local.INFO: IMEI packet received {"connection_id":193984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":193984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:06:39] local.INFO: TCP Data received {"connection_id":193984,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:06:39] local.INFO: Processing buffer {"connection_id":193984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:06:39] local.INFO: IMEI packet received {"connection_id":193984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":193984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:06:40] local.INFO: TCP Data received {"connection_id":193984,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:06:40] local.INFO: Processing buffer {"connection_id":193984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:06:40] local.INFO: Packet analysis {"connection_id":193984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:06:40] local.INFO: Extracted packet for processing {"connection_id":193984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:06:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300171520001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790235346000,"timestamp_ms":1790235346000,"timestamp_seconds":1790235346,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2578450"} 
[2026-09-24 13:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300171520001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300171520001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:06:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:06:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300171520001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":193984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:06:40] local.INFO: GPS data processed {"connection_id":193984,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:06:40] local.INFO: Acknowledgment sent {"connection_id":193984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:06:44] local.INFO: TCP Data received {"connection_id":193984,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:06:44] local.INFO: Processing buffer {"connection_id":193984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:06:44] local.INFO: Packet analysis {"connection_id":193984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:06:44] local.INFO: Extracted packet for processing {"connection_id":193984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300171520001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790235346000,"timestamp_ms":1790235346000,"timestamp_seconds":1790235346,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2578450"} 
[2026-09-24 13:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300171520001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300171520001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:06:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:06:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300171520001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":193984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:06:44] local.INFO: GPS data processed {"connection_id":193984,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:06:44] local.INFO: Acknowledgment sent {"connection_id":193984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:06:45] local.INFO: TCP Data received {"connection_id":191123,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:06:45] local.INFO: Processing buffer {"connection_id":191123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:06:45] local.INFO: IMEI packet received {"connection_id":191123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":191123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:06:50] local.INFO: TCP Data received {"connection_id":191123,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:06:50] local.INFO: Processing buffer {"connection_id":191123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:06:50] local.INFO: IMEI packet received {"connection_id":191123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":191123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:06:51] local.INFO: TCP Data received {"connection_id":191123,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d255da88012d196600071ff1c00038014728..."} 
[2026-09-24 13:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d255da88012d196600071ff1c00038014728..."} 
[2026-09-24 13:06:51] local.INFO: Processing buffer {"connection_id":191123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d255da88012d196600071ff1c00038014728..."} 
[2026-09-24 13:06:51] local.INFO: Packet analysis {"connection_id":191123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d255"} 
[2026-09-24 13:06:51] local.INFO: Extracted packet for processing {"connection_id":191123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d255"} 
[2026-09-24 13:06:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300215296001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790235237000,"timestamp_ms":1790235237000,"timestamp_seconds":1790235237,"priority":1,"record_length":96,"hex_timestamp":"000001a0d255da88"} 
[2026-09-24 13:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 13:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3528694864,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249740756430090688,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4055892024,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 13:06:51] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:51] local.WARNING: Large IO value detected {"io_id":70,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:51] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-24 13:06:51] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,77,160,54,45,56,43,10,66,228,42,146,1,240,69,227,210,31,4,113,205,238,192,41,239,49,2,81,7,120,70,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 13:06:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035584986814873600,"timestamp_seconds":4035584986814873.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 13:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300215296001,"66":12591,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300215296001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:06:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:06:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300215296001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":191123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:06:51] local.INFO: GPS data processed {"connection_id":191123,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:06:51] local.INFO: Acknowledgment sent {"connection_id":191123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:07:07] local.INFO: TCP Data received {"connection_id":192696,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:07:07] local.INFO: Processing buffer {"connection_id":192696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:07:07] local.INFO: IMEI packet received {"connection_id":192696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 13:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":192696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:07:22] local.INFO: TCP Data received {"connection_id":191123,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2562c90012d196600071ff1c00038014729..."} 
[2026-09-24 13:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2562c90012d196600071ff1c00038014729..."} 
[2026-09-24 13:07:22] local.INFO: Processing buffer {"connection_id":191123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2562c90012d196600071ff1c00038014729..."} 
[2026-09-24 13:07:22] local.INFO: Packet analysis {"connection_id":191123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d256"} 
[2026-09-24 13:07:22] local.INFO: Extracted packet for processing {"connection_id":191123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d256"} 
[2026-09-24 13:07:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300220672001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790235258000,"timestamp_ms":1790235258000,"timestamp_seconds":1790235258,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2562c90"} 
[2026-09-24 13:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300220672001,"66":12526,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300220672001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:07:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:07:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300220672001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":191123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:07:22] local.INFO: GPS data processed {"connection_id":191123,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:07:22] local.INFO: Acknowledgment sent {"connection_id":191123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:07:28] local.INFO: TCP Data received {"connection_id":192697,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:07:28] local.INFO: Processing buffer {"connection_id":192697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:07:28] local.INFO: IMEI packet received {"connection_id":192697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":192697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:07:34] local.INFO: TCP Data received {"connection_id":192697,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:07:34] local.INFO: Processing buffer {"connection_id":192697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:07:34] local.INFO: IMEI packet received {"connection_id":192697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":192697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:07:35] local.INFO: TCP Data received {"connection_id":192697,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:07:35] local.INFO: Processing buffer {"connection_id":192697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:07:35] local.INFO: Packet analysis {"connection_id":192697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:07:35] local.INFO: Extracted packet for processing {"connection_id":192697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300171520001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790235346000,"timestamp_ms":1790235346000,"timestamp_seconds":1790235346,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2578450"} 
[2026-09-24 13:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300171520001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300171520001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:07:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:07:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300171520001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":192697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:07:35] local.INFO: GPS data processed {"connection_id":192697,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:07:35] local.INFO: Acknowledgment sent {"connection_id":192697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:07:44] local.INFO: TCP Data received {"connection_id":193985,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:07:44] local.INFO: Processing buffer {"connection_id":193985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:07:44] local.INFO: IMEI packet received {"connection_id":193985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":193985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:07:45] local.INFO: TCP Data received {"connection_id":193985,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:07:45] local.INFO: Processing buffer {"connection_id":193985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:07:45] local.INFO: IMEI packet received {"connection_id":193985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":193985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:07:51] local.INFO: TCP Data received {"connection_id":193985,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:07:51] local.INFO: Processing buffer {"connection_id":193985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:07:51] local.INFO: IMEI packet received {"connection_id":193985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":193985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:07:52] local.INFO: TCP Data received {"connection_id":193985,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2567e98012d196600071ff1c0003801472b..."} 
[2026-09-24 13:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2567e98012d196600071ff1c0003801472b..."} 
[2026-09-24 13:07:52] local.INFO: Processing buffer {"connection_id":193985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2567e98012d196600071ff1c0003801472b..."} 
[2026-09-24 13:07:52] local.INFO: Packet analysis {"connection_id":193985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d256"} 
[2026-09-24 13:07:52] local.INFO: Extracted packet for processing {"connection_id":193985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d256"} 
[2026-09-24 13:07:52] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300226048001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790235279000,"timestamp_ms":1790235279000,"timestamp_seconds":1790235279,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2567e98"} 
[2026-09-24 13:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 13:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":193985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":193985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":193985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300226048001,"66":12591,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300226048001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:07:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:07:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300226048001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":193985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:07:52] local.INFO: GPS data processed {"connection_id":193985,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:07:52] local.INFO: Acknowledgment sent {"connection_id":193985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:08:07] local.INFO: TCP Data received {"connection_id":192697,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:08:07] local.INFO: Processing buffer {"connection_id":192697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:08:07] local.INFO: Packet analysis {"connection_id":192697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:08:07] local.INFO: Extracted packet for processing {"connection_id":192697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:08:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300171520001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790235346000,"timestamp_ms":1790235346000,"timestamp_seconds":1790235346,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2578450"} 
[2026-09-24 13:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300171520001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300171520001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:08:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:08:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300171520001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":192697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:08:07] local.INFO: GPS data processed {"connection_id":192697,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:08:07] local.INFO: Acknowledgment sent {"connection_id":192697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:08:23] local.INFO: TCP Data received {"connection_id":193985,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d256d0a0012d196600071ff1c0003801472c..."} 
[2026-09-24 13:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d256d0a0012d196600071ff1c0003801472c..."} 
[2026-09-24 13:08:23] local.INFO: Processing buffer {"connection_id":193985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d256d0a0012d196600071ff1c0003801472c..."} 
[2026-09-24 13:08:23] local.INFO: Packet analysis {"connection_id":193985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d256"} 
[2026-09-24 13:08:23] local.INFO: Extracted packet for processing {"connection_id":193985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d256"} 
[2026-09-24 13:08:23] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:08: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-09-24 13:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300231424001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790235300000,"timestamp_ms":1790235300000,"timestamp_seconds":1790235300,"priority":1,"record_length":96,"hex_timestamp":"000001a0d256d0a0"} 
[2026-09-24 13:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:08: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-09-24 13:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":193985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":193985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":193985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300231424001,"66":12558,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300231424001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:08:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:08:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300231424001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":193985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:08:23] local.INFO: GPS data processed {"connection_id":193985,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:08:23] local.INFO: Acknowledgment sent {"connection_id":193985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:08:28] local.INFO: TCP Data received {"connection_id":191319,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:08:28] local.INFO: Processing buffer {"connection_id":191319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:08:28] local.INFO: IMEI packet received {"connection_id":191319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":191319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:08:33] local.INFO: TCP Data received {"connection_id":191319,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:08:33] local.INFO: Processing buffer {"connection_id":191319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:08:33] local.INFO: IMEI packet received {"connection_id":191319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":191319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:08:35] local.INFO: TCP Data received {"connection_id":191319,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:08:35] local.INFO: Processing buffer {"connection_id":191319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:08:35] local.INFO: Packet analysis {"connection_id":191319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:08:35] local.INFO: Extracted packet for processing {"connection_id":191319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:08:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300171520001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790235346000,"timestamp_ms":1790235346000,"timestamp_seconds":1790235346,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2578450"} 
[2026-09-24 13:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300171520001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300171520001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:08:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:08:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300171520001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":191319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:08:35] local.INFO: GPS data processed {"connection_id":191319,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:08:35] local.INFO: Acknowledgment sent {"connection_id":191319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:08:46] local.INFO: TCP Data received {"connection_id":193986,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:08:46] local.INFO: Processing buffer {"connection_id":193986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:08:46] local.INFO: IMEI packet received {"connection_id":193986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":193986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:08:47] local.INFO: TCP Data received {"connection_id":193986,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:08:47] local.INFO: Processing buffer {"connection_id":193986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:08:47] local.INFO: IMEI packet received {"connection_id":193986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":193986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:08:50] local.INFO: TCP Data received {"connection_id":193986,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:08:50] local.INFO: Processing buffer {"connection_id":193986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:08:50] local.INFO: IMEI packet received {"connection_id":193986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":193986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:08:51] local.INFO: TCP Data received {"connection_id":193986,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25722a8012d196600071ff1c0003801472c..."} 
[2026-09-24 13:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25722a8012d196600071ff1c0003801472c..."} 
[2026-09-24 13:08:51] local.INFO: Processing buffer {"connection_id":193986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25722a8012d196600071ff1c0003801472c..."} 
[2026-09-24 13:08:51] local.INFO: Packet analysis {"connection_id":193986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:08:51] local.INFO: Extracted packet for processing {"connection_id":193986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:08:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300236800001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790235321000,"timestamp_ms":1790235321000,"timestamp_seconds":1790235321,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25722a8"} 
[2026-09-24 13:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 13:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 13:08:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 13:08:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 13:08:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3528778864,"note":"Value kept but may cause issues"} 
[2026-09-24 13:08:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249740756430090688,"note":"Value kept but may cause issues"} 
[2026-09-24 13:08:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4055892024,"note":"Value kept but may cause issues"} 
[2026-09-24 13:08:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 13:08:51] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 13:08:51] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 13:08:51] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-24 13:08:51] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,77,160,126,45,56,43,10,66,44,41,218,1,240,47,227,210,31,4,113,205,54,192,239,49,2,81,7,120,71,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 13:08:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035584995404808192,"timestamp_seconds":4035584995404808.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 13:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300236800001,"66":12591,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300236800001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:08:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:08:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300236800001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":193986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:08:51] local.INFO: GPS data processed {"connection_id":193986,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:08:51] local.INFO: Acknowledgment sent {"connection_id":193986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:09:06] local.INFO: TCP Data received {"connection_id":191319,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:09:06] local.INFO: Processing buffer {"connection_id":191319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:09:06] local.INFO: Packet analysis {"connection_id":191319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:09:06] local.INFO: Extracted packet for processing {"connection_id":191319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:09:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300171520001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790235346000,"timestamp_ms":1790235346000,"timestamp_seconds":1790235346,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2578450"} 
[2026-09-24 13:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300171520001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300171520001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:09:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:09:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300171520001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":191319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:09:06] local.INFO: GPS data processed {"connection_id":191319,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:09:06] local.INFO: Acknowledgment sent {"connection_id":191319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:09:22] local.INFO: TCP Data received {"connection_id":193986,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25774b0012d196600071ff1c0003801472a..."} 
[2026-09-24 13:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25774b0012d196600071ff1c0003801472a..."} 
[2026-09-24 13:09:22] local.INFO: Processing buffer {"connection_id":193986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25774b0012d196600071ff1c0003801472a..."} 
[2026-09-24 13:09:22] local.INFO: Packet analysis {"connection_id":193986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:09:22] local.INFO: Extracted packet for processing {"connection_id":193986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:09:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300242176001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790235342000,"timestamp_ms":1790235342000,"timestamp_seconds":1790235342,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25774b0"} 
[2026-09-24 13:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300242176001,"66":12558,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300242176001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:09:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:09:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300242176001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":193986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:09:22] local.INFO: GPS data processed {"connection_id":193986,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:09:22] local.INFO: Acknowledgment sent {"connection_id":193986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:09:28] local.INFO: TCP Data received {"connection_id":191320,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:09:28] local.INFO: Processing buffer {"connection_id":191320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:09:28] local.INFO: IMEI packet received {"connection_id":191320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":191320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:09:33] local.INFO: TCP Data received {"connection_id":191320,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:09:33] local.INFO: Processing buffer {"connection_id":191320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:09:33] local.INFO: IMEI packet received {"connection_id":191320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":191320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:09:35] local.INFO: TCP Data received {"connection_id":191320,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:09:35] local.INFO: Processing buffer {"connection_id":191320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:09:35] local.INFO: Packet analysis {"connection_id":191320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:09:35] local.INFO: Extracted packet for processing {"connection_id":191320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:09:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300171520001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790235346000,"timestamp_ms":1790235346000,"timestamp_seconds":1790235346,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2578450"} 
[2026-09-24 13:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300171520001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300171520001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:09:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:09:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300171520001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":191320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:09:35] local.INFO: GPS data processed {"connection_id":191320,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:09:35] local.INFO: Acknowledgment sent {"connection_id":191320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:09:45] local.INFO: TCP Data received {"connection_id":191124,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:09:45] local.INFO: Processing buffer {"connection_id":191124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:09:45] local.INFO: IMEI packet received {"connection_id":191124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":191124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:09:50] local.INFO: TCP Data received {"connection_id":191124,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:09:50] local.INFO: Processing buffer {"connection_id":191124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:09:50] local.INFO: IMEI packet received {"connection_id":191124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":191124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:09:51] local.INFO: TCP Data received {"connection_id":191124,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d257c6b8012d196600071ff1c0003801472c..."} 
[2026-09-24 13:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d257c6b8012d196600071ff1c0003801472c..."} 
[2026-09-24 13:09:51] local.INFO: Processing buffer {"connection_id":191124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d257c6b8012d196600071ff1c0003801472c..."} 
[2026-09-24 13:09:51] local.INFO: Packet analysis {"connection_id":191124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:09:51] local.INFO: Extracted packet for processing {"connection_id":191124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:09:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300247552001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790235363000,"timestamp_ms":1790235363000,"timestamp_seconds":1790235363,"priority":1,"record_length":96,"hex_timestamp":"000001a0d257c6b8"} 
[2026-09-24 13:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 13:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 13:09:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 13:09:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 13:09:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3528820864,"note":"Value kept but may cause issues"} 
[2026-09-24 13:09:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249740756430090688,"note":"Value kept but may cause issues"} 
[2026-09-24 13:09:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4055892024,"note":"Value kept but may cause issues"} 
[2026-09-24 13:09:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 13:09:51] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-09-24 13:09:51] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 13:09:51] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 13:09:51] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-24 13:09:51] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,77,160,34,45,56,44,10,66,208,126,1,240,47,227,210,31,4,113,205,218,192,40,239,49,2,81,7,120,71,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 13:09:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035584986814873600,"timestamp_seconds":4035584986814873.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 13:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300247552001,"66":12558,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300247552001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:09:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:09:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300247552001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":191124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:09:51] local.INFO: GPS data processed {"connection_id":191124,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:09:51] local.INFO: Acknowledgment sent {"connection_id":191124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:10:06] local.INFO: TCP Data received {"connection_id":191320,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:10:06] local.INFO: Processing buffer {"connection_id":191320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:10:06] local.INFO: Packet analysis {"connection_id":191320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:10:06] local.INFO: Extracted packet for processing {"connection_id":191320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:10:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300171520001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790235346000,"timestamp_ms":1790235346000,"timestamp_seconds":1790235346,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2578450"} 
[2026-09-24 13:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300171520001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300171520001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:10:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:10:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300171520001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":191320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:10:06] local.INFO: GPS data processed {"connection_id":191320,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:10:06] local.INFO: Acknowledgment sent {"connection_id":191320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:10:22] local.INFO: TCP Data received {"connection_id":191124,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25818c0012d196600071ff1c0003801472b..."} 
[2026-09-24 13:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25818c0012d196600071ff1c0003801472b..."} 
[2026-09-24 13:10:22] local.INFO: Processing buffer {"connection_id":191124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25818c0012d196600071ff1c0003801472b..."} 
[2026-09-24 13:10:22] local.INFO: Packet analysis {"connection_id":191124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d258"} 
[2026-09-24 13:10:22] local.INFO: Extracted packet for processing {"connection_id":191124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d258"} 
[2026-09-24 13:10:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300252928001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790235384000,"timestamp_ms":1790235384000,"timestamp_seconds":1790235384,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25818c0"} 
[2026-09-24 13:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 13:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3528841864,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249740756430090688,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:22] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4055892024,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 13:10:22] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:22] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:22] local.WARNING: Large IO value detected {"io_id":70,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:22] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:22] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,77,160,116,45,56,42,10,66,34,44,208,1,240,14,227,210,31,4,113,205,192,41,239,48,2,81,7,120,70,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 13:10:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035584995404808192,"timestamp_seconds":4035584995404808.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 13:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300252928001,"66":12548,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300252928001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:10:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:10:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300252928001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":191124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:10:22] local.INFO: GPS data processed {"connection_id":191124,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:10:22] local.INFO: Acknowledgment sent {"connection_id":191124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:10:28] local.INFO: TCP Data received {"connection_id":193987,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:10:28] local.INFO: Processing buffer {"connection_id":193987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:10:28] local.INFO: IMEI packet received {"connection_id":193987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":193987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:10:33] local.INFO: TCP Data received {"connection_id":193987,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:10:33] local.INFO: Processing buffer {"connection_id":193987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:10:33] local.INFO: IMEI packet received {"connection_id":193987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":193987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:10:35] local.INFO: TCP Data received {"connection_id":193987,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:10:35] local.INFO: Processing buffer {"connection_id":193987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:10:35] local.INFO: Packet analysis {"connection_id":193987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:10:35] local.INFO: Extracted packet for processing {"connection_id":193987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:10:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300171520001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790235346000,"timestamp_ms":1790235346000,"timestamp_seconds":1790235346,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2578450"} 
[2026-09-24 13:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300171520001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300171520001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:10:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:10:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300171520001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":193987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:10:35] local.INFO: GPS data processed {"connection_id":193987,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:10:35] local.INFO: Acknowledgment sent {"connection_id":193987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:10:50] local.INFO: TCP Data received {"connection_id":191125,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:10:50] local.INFO: Processing buffer {"connection_id":191125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:10:50] local.INFO: IMEI packet received {"connection_id":191125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":191125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:10:54] local.INFO: TCP Data received {"connection_id":191125,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:10:54] local.INFO: Processing buffer {"connection_id":191125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:10:54] local.INFO: IMEI packet received {"connection_id":191125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":191125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:10:54] local.INFO: TCP Data received {"connection_id":191125,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2586ac8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2586ac8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:10:54] local.INFO: Processing buffer {"connection_id":191125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2586ac8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:10:54] local.INFO: Packet analysis {"connection_id":191125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d258"} 
[2026-09-24 13:10:54] local.INFO: Extracted packet for processing {"connection_id":191125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d258"} 
[2026-09-24 13:10:54] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300258304001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790235405000,"timestamp_ms":1790235405000,"timestamp_seconds":1790235405,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2586ac8"} 
[2026-09-24 13:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 13:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:54] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:54] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3528862864,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184195588301,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:54] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4055892024,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 13:10:54] local.WARNING: Large IO value detected {"io_id":126,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:54] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:54] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,77,160,198,45,56,44,10,66,116,42,34,1,240,47,227,210,31,4,113,205,126,192,43,239,49,2,81,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 13:10:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035584991109840896,"timestamp_seconds":4035584991109841.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 13:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":191125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":191125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":191125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300258304001,"66":12558,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300258304001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:10:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:10:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300258304001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":191125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:10:54] local.INFO: GPS data processed {"connection_id":191125,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:10:54] local.INFO: Acknowledgment sent {"connection_id":191125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:10:55] local.INFO: TCP Data received {"connection_id":191125,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d258bcd0012d196600071ff1c0003801472c..."} 
[2026-09-24 13:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d258bcd0012d196600071ff1c0003801472c..."} 
[2026-09-24 13:10:55] local.INFO: Processing buffer {"connection_id":191125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d258bcd0012d196600071ff1c0003801472c..."} 
[2026-09-24 13:10:55] local.INFO: Packet analysis {"connection_id":191125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d258"} 
[2026-09-24 13:10:55] local.INFO: Extracted packet for processing {"connection_id":191125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d258"} 
[2026-09-24 13:10:55] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300263680001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790235426000,"timestamp_ms":1790235426000,"timestamp_seconds":1790235426,"priority":1,"record_length":96,"hex_timestamp":"000001a0d258bcd0"} 
[2026-09-24 13:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 13:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3528883864,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249740756430090688,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:55] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4055892024,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 13:10:55] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:55] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:55] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:55] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-24 13:10:55] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,77,160,45,56,43,10,66,198,44,116,1,240,14,227,210,31,4,113,205,208,192,239,49,2,81,7,120,71,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 13:10:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035584991109840896,"timestamp_seconds":4035584991109841.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 13:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300263680001,"66":12504,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300263680001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:10:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:10:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300263680001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":191125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:10:55] local.INFO: GPS data processed {"connection_id":191125,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:10:55] local.INFO: Acknowledgment sent {"connection_id":191125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:11:06] local.INFO: TCP Data received {"connection_id":193987,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:11:06] local.INFO: Processing buffer {"connection_id":193987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2578450012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:11:06] local.INFO: Packet analysis {"connection_id":193987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:11:06] local.INFO: Extracted packet for processing {"connection_id":193987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d257"} 
[2026-09-24 13:11:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300171520001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790235346000,"timestamp_ms":1790235346000,"timestamp_seconds":1790235346,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2578450"} 
[2026-09-24 13:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300171520001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300171520001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:11:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:11:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300171520001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":193987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:11:06] local.INFO: GPS data processed {"connection_id":193987,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:11:06] local.INFO: Acknowledgment sent {"connection_id":193987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:11:26] local.INFO: TCP Data received {"connection_id":191125,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2590ed8012d196600071ff1c0003801472c..."} 
[2026-09-24 13:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2590ed8012d196600071ff1c0003801472c..."} 
[2026-09-24 13:11:26] local.INFO: Processing buffer {"connection_id":191125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2590ed8012d196600071ff1c0003801472c..."} 
[2026-09-24 13:11:26] local.INFO: Packet analysis {"connection_id":191125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d259"} 
[2026-09-24 13:11:26] local.INFO: Extracted packet for processing {"connection_id":191125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d259"} 
[2026-09-24 13:11:26] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300269056001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790235447000,"timestamp_ms":1790235447000,"timestamp_seconds":1790235447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2590ed8"} 
[2026-09-24 13:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 13:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300269056001,"66":12537,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300269056001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:11:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:11:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300269056001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":191125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:11:26] local.INFO: GPS data processed {"connection_id":191125,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:11:26] local.INFO: Acknowledgment sent {"connection_id":191125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:11:33] local.INFO: TCP Data received {"connection_id":191127,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:11:33] local.INFO: Processing buffer {"connection_id":191127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:11:33] local.INFO: IMEI packet received {"connection_id":191127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":191127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:11:39] local.INFO: TCP Data received {"connection_id":191127,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:11:39] local.INFO: Processing buffer {"connection_id":191127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:11:39] local.INFO: IMEI packet received {"connection_id":191127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":191127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:11:40] local.INFO: TCP Data received {"connection_id":191127,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:11:40] local.INFO: Processing buffer {"connection_id":191127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:11:40] local.INFO: Packet analysis {"connection_id":191127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d25c"} 
[2026-09-24 13:11:40] local.INFO: Extracted packet for processing {"connection_id":191127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d25c"} 
[2026-09-24 13:11:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300248576001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790235647000,"timestamp_ms":1790235647000,"timestamp_seconds":1790235647,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25c1c18"} 
[2026-09-24 13:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300248576001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300248576001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:11:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:11:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300248576001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":191127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:11:40] local.INFO: GPS data processed {"connection_id":191127,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:11:40] local.INFO: Acknowledgment sent {"connection_id":191127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:11:44] local.INFO: TCP Data received {"connection_id":191127,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:11:44] local.INFO: Processing buffer {"connection_id":191127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:11:44] local.INFO: Packet analysis {"connection_id":191127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d25c"} 
[2026-09-24 13:11:44] local.INFO: Extracted packet for processing {"connection_id":191127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d25c"} 
[2026-09-24 13:11:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300248576001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790235647000,"timestamp_ms":1790235647000,"timestamp_seconds":1790235647,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25c1c18"} 
[2026-09-24 13:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300248576001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300248576001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:11:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:11:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300248576001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":191127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:11:44] local.INFO: GPS data processed {"connection_id":191127,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:11:44] local.INFO: Acknowledgment sent {"connection_id":191127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:11:45] local.INFO: TCP Data received {"connection_id":193988,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:11:45] local.INFO: Processing buffer {"connection_id":193988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:11:45] local.INFO: IMEI packet received {"connection_id":193988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":193988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:11:50] local.INFO: TCP Data received {"connection_id":193988,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:11:50] local.INFO: Processing buffer {"connection_id":193988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:11:50] local.INFO: IMEI packet received {"connection_id":193988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":193988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:11:51] local.INFO: TCP Data received {"connection_id":193988,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25960e0012d196600071ff1c0003801472c..."} 
[2026-09-24 13:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25960e0012d196600071ff1c0003801472c..."} 
[2026-09-24 13:11:51] local.INFO: Processing buffer {"connection_id":193988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25960e0012d196600071ff1c0003801472c..."} 
[2026-09-24 13:11:51] local.INFO: Packet analysis {"connection_id":193988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d259"} 
[2026-09-24 13:11:51] local.INFO: Extracted packet for processing {"connection_id":193988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d259"} 
[2026-09-24 13:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300274432001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790235468000,"timestamp_ms":1790235468000,"timestamp_seconds":1790235468,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25960e0"} 
[2026-09-24 13:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 13:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300274432001,"66":12537,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300274432001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:11:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:11:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300274432001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":193988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:11:51] local.INFO: GPS data processed {"connection_id":193988,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:11:51] local.INFO: Acknowledgment sent {"connection_id":193988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:12:22] local.INFO: TCP Data received {"connection_id":193988,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d259b2e8012d196600071ff1c00038014728..."} 
[2026-09-24 13:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d259b2e8012d196600071ff1c00038014728..."} 
[2026-09-24 13:12:22] local.INFO: Processing buffer {"connection_id":193988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d259b2e8012d196600071ff1c00038014728..."} 
[2026-09-24 13:12:22] local.INFO: Packet analysis {"connection_id":193988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d259"} 
[2026-09-24 13:12:22] local.INFO: Extracted packet for processing {"connection_id":193988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d259"} 
[2026-09-24 13:12:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300279808001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790235489000,"timestamp_ms":1790235489000,"timestamp_seconds":1790235489,"priority":1,"record_length":96,"hex_timestamp":"000001a0d259b2e8"} 
[2026-09-24 13:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 13:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300279808001,"66":12319,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300279808001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:12:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:12:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300279808001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":193988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:12:22] local.INFO: GPS data processed {"connection_id":193988,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:12:22] local.INFO: Acknowledgment sent {"connection_id":193988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:12:28] local.INFO: TCP Data received {"connection_id":191322,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:12:28] local.INFO: Processing buffer {"connection_id":191322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:12:28] local.INFO: IMEI packet received {"connection_id":191322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":191322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:12:33] local.INFO: TCP Data received {"connection_id":191322,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:12:33] local.INFO: Processing buffer {"connection_id":191322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:12:33] local.INFO: IMEI packet received {"connection_id":191322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":191322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:12:35] local.INFO: TCP Data received {"connection_id":191322,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:12:35] local.INFO: Processing buffer {"connection_id":191322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:12:35] local.INFO: Packet analysis {"connection_id":191322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d25c"} 
[2026-09-24 13:12:35] local.INFO: Extracted packet for processing {"connection_id":191322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d25c"} 
[2026-09-24 13:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300248576001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790235647000,"timestamp_ms":1790235647000,"timestamp_seconds":1790235647,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25c1c18"} 
[2026-09-24 13:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300248576001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300248576001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:12:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:12:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300248576001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":191322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:12:35] local.INFO: GPS data processed {"connection_id":191322,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:12:35] local.INFO: Acknowledgment sent {"connection_id":191322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:12:45] local.INFO: TCP Data received {"connection_id":193990,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:12:45] local.INFO: Processing buffer {"connection_id":193990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:12:45] local.INFO: IMEI packet received {"connection_id":193990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":193990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:12:48] local.INFO: TCP Data received {"connection_id":193989,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:12:48] local.INFO: Processing buffer {"connection_id":193989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:12:48] local.INFO: IMEI packet received {"connection_id":193989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 13:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":193989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:12:50] local.INFO: TCP Data received {"connection_id":193990,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:12:50] local.INFO: Processing buffer {"connection_id":193990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:12:50] local.INFO: IMEI packet received {"connection_id":193990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":193990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:12:51] local.INFO: TCP Data received {"connection_id":193990,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25a04f0012d196600071ff1c0003801472a..."} 
[2026-09-24 13:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25a04f0012d196600071ff1c0003801472a..."} 
[2026-09-24 13:12:51] local.INFO: Processing buffer {"connection_id":193990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25a04f0012d196600071ff1c0003801472a..."} 
[2026-09-24 13:12:51] local.INFO: Packet analysis {"connection_id":193990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d25a"} 
[2026-09-24 13:12:51] local.INFO: Extracted packet for processing {"connection_id":193990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d25a"} 
[2026-09-24 13:12:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300285184001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790235510000,"timestamp_ms":1790235510000,"timestamp_seconds":1790235510,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25a04f0"} 
[2026-09-24 13:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-24 13:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300285184001,"66":12548,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300285184001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:12:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:12:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300285184001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":193990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:12:51] local.INFO: GPS data processed {"connection_id":193990,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:12:51] local.INFO: Acknowledgment sent {"connection_id":193990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:13:07] local.INFO: TCP Data received {"connection_id":191322,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:13:07] local.INFO: Processing buffer {"connection_id":191322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:13:07] local.INFO: Packet analysis {"connection_id":191322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d25c"} 
[2026-09-24 13:13:07] local.INFO: Extracted packet for processing {"connection_id":191322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d25c"} 
[2026-09-24 13:13:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300248576001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790235647000,"timestamp_ms":1790235647000,"timestamp_seconds":1790235647,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25c1c18"} 
[2026-09-24 13:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300248576001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300248576001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:13:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:13:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300248576001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":191322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:13:07] local.INFO: GPS data processed {"connection_id":191322,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:13:07] local.INFO: Acknowledgment sent {"connection_id":191322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:13:08] local.INFO: TCP Data received {"connection_id":191323,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:13:08] local.INFO: Processing buffer {"connection_id":191323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:13:08] local.INFO: IMEI packet received {"connection_id":191323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 13:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":191323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:13:22] local.INFO: TCP Data received {"connection_id":193990,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25a56f8012d196600071ff1c0003801472a..."} 
[2026-09-24 13:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25a56f8012d196600071ff1c0003801472a..."} 
[2026-09-24 13:13:22] local.INFO: Processing buffer {"connection_id":193990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25a56f8012d196600071ff1c0003801472a..."} 
[2026-09-24 13:13:22] local.INFO: Packet analysis {"connection_id":193990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d25a"} 
[2026-09-24 13:13:22] local.INFO: Extracted packet for processing {"connection_id":193990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d25a"} 
[2026-09-24 13:13:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300290560001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790235531000,"timestamp_ms":1790235531000,"timestamp_seconds":1790235531,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25a56f8"} 
[2026-09-24 13:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 13:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3528988864,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:22] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4055892024,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 13:13:22] local.WARNING: Large IO value detected {"io_id":106,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:22] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:22] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,77,160,178,45,56,40,10,66,96,44,14,1,240,249,227,210,31,4,113,205,106,192,43,239,49,2,81,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 13:13:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035584986814873600,"timestamp_seconds":4035584986814873.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 13:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300290560001,"66":12548,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300290560001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:13:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:13:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300290560001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":193990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:13:22] local.INFO: GPS data processed {"connection_id":193990,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:13:22] local.INFO: Acknowledgment sent {"connection_id":193990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:13:28] local.INFO: TCP Data received {"connection_id":193991,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:13:28] local.INFO: Processing buffer {"connection_id":193991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:13:28] local.INFO: IMEI packet received {"connection_id":193991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":193991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:13:33] local.INFO: TCP Data received {"connection_id":193991,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:13:33] local.INFO: Processing buffer {"connection_id":193991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:13:33] local.INFO: IMEI packet received {"connection_id":193991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":193991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:13:34] local.INFO: TCP Data received {"connection_id":193991,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:13:34] local.INFO: Processing buffer {"connection_id":193991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:13:34] local.INFO: Packet analysis {"connection_id":193991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d25c"} 
[2026-09-24 13:13:34] local.INFO: Extracted packet for processing {"connection_id":193991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d25c"} 
[2026-09-24 13:13:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300248576001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790235647000,"timestamp_ms":1790235647000,"timestamp_seconds":1790235647,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25c1c18"} 
[2026-09-24 13:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300248576001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300248576001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:13:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:13:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300248576001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":193991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:13:34] local.INFO: GPS data processed {"connection_id":193991,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:13:34] local.INFO: Acknowledgment sent {"connection_id":193991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:13:45] local.INFO: TCP Data received {"connection_id":191324,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:13:45] local.INFO: Processing buffer {"connection_id":191324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:13:45] local.INFO: IMEI packet received {"connection_id":191324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":191324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:13:50] local.INFO: TCP Data received {"connection_id":191324,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:13:50] local.INFO: Processing buffer {"connection_id":191324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:13:50] local.INFO: IMEI packet received {"connection_id":191324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":191324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:13:51] local.INFO: TCP Data received {"connection_id":191324,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25aa900012d196600071ff1c0003801472d..."} 
[2026-09-24 13:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25aa900012d196600071ff1c0003801472d..."} 
[2026-09-24 13:13:51] local.INFO: Processing buffer {"connection_id":191324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25aa900012d196600071ff1c0003801472d..."} 
[2026-09-24 13:13:51] local.INFO: Packet analysis {"connection_id":191324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d25a"} 
[2026-09-24 13:13:51] local.INFO: Extracted packet for processing {"connection_id":191324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d25a"} 
[2026-09-24 13:13:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300295936001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790235552000,"timestamp_ms":1790235552000,"timestamp_seconds":1790235552,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25aa900"} 
[2026-09-24 13:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 13:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3529009864,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4055892024,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 13:13:51] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:51] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931256,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:51] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 13:13:51] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,77,160,4,45,56,42,10,66,178,40,96,1,240,249,227,210,31,113,205,188,192,44,239,48,2,81,7,120],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 13:13:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035584986814873600,"timestamp_seconds":4035584986814873.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 13:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300295936001,"66":12537,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300295936001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:13:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:13:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300295936001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":191324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:13:51] local.INFO: GPS data processed {"connection_id":191324,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:13:51] local.INFO: Acknowledgment sent {"connection_id":191324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:14:06] local.INFO: TCP Data received {"connection_id":193991,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:14:06] local.INFO: Processing buffer {"connection_id":193991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:14:06] local.INFO: Packet analysis {"connection_id":193991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d25c"} 
[2026-09-24 13:14:06] local.INFO: Extracted packet for processing {"connection_id":193991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d25c"} 
[2026-09-24 13:14:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300248576001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790235647000,"timestamp_ms":1790235647000,"timestamp_seconds":1790235647,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25c1c18"} 
[2026-09-24 13:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300248576001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300248576001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:14:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:14:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300248576001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":193991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:14:06] local.INFO: GPS data processed {"connection_id":193991,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:14:06] local.INFO: Acknowledgment sent {"connection_id":193991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:14:22] local.INFO: TCP Data received {"connection_id":191324,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25afb08012d196600071ff1c0003801472e..."} 
[2026-09-24 13:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25afb08012d196600071ff1c0003801472e..."} 
[2026-09-24 13:14:22] local.INFO: Processing buffer {"connection_id":191324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25afb08012d196600071ff1c0003801472e..."} 
[2026-09-24 13:14:22] local.INFO: Packet analysis {"connection_id":191324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d25a"} 
[2026-09-24 13:14:22] local.INFO: Extracted packet for processing {"connection_id":191324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d25a"} 
[2026-09-24 13:14:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":46,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300301312001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790235573000,"timestamp_ms":1790235573000,"timestamp_seconds":1790235573,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25afb08"} 
[2026-09-24 13:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 13:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300301312001,"66":12548,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300301312001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:14:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:14:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300301312001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":191324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:14:22] local.INFO: GPS data processed {"connection_id":191324,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:14:22] local.INFO: Acknowledgment sent {"connection_id":191324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:14:33] local.INFO: TCP Data received {"connection_id":192699,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:14:33] local.INFO: Processing buffer {"connection_id":192699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:14:33] local.INFO: IMEI packet received {"connection_id":192699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":192699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:14:38] local.INFO: TCP Data received {"connection_id":192699,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:14:38] local.INFO: Processing buffer {"connection_id":192699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:14:38] local.INFO: IMEI packet received {"connection_id":192699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":192699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:14:40] local.INFO: TCP Data received {"connection_id":192699,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:14:40] local.INFO: Processing buffer {"connection_id":192699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:14:40] local.INFO: Packet analysis {"connection_id":192699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d25c"} 
[2026-09-24 13:14:40] local.INFO: Extracted packet for processing {"connection_id":192699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d25c"} 
[2026-09-24 13:14:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300248576001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790235647000,"timestamp_ms":1790235647000,"timestamp_seconds":1790235647,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25c1c18"} 
[2026-09-24 13:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300248576001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300248576001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:14:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:14:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300248576001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":192699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:14:40] local.INFO: GPS data processed {"connection_id":192699,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:14:40] local.INFO: Acknowledgment sent {"connection_id":192699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:14:44] local.INFO: TCP Data received {"connection_id":191326,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:14:44] local.INFO: Processing buffer {"connection_id":191326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:14:44] local.INFO: IMEI packet received {"connection_id":191326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":191326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:14:45] local.INFO: TCP Data received {"connection_id":192699,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:14:45] local.INFO: Processing buffer {"connection_id":192699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:14:45] local.INFO: Packet analysis {"connection_id":192699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d25c"} 
[2026-09-24 13:14:45] local.INFO: Extracted packet for processing {"connection_id":192699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d25c"} 
[2026-09-24 13:14:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300248576001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790235647000,"timestamp_ms":1790235647000,"timestamp_seconds":1790235647,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25c1c18"} 
[2026-09-24 13:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:14:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300248576001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300248576001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:14:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:14:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300248576001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":192699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:14:45] local.INFO: GPS data processed {"connection_id":192699,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:14:45] local.INFO: Acknowledgment sent {"connection_id":192699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:14:45] local.INFO: TCP Data received {"connection_id":191326,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:14:45] local.INFO: Processing buffer {"connection_id":191326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:14:45] local.INFO: IMEI packet received {"connection_id":191326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":191326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:14:50] local.INFO: TCP Data received {"connection_id":191326,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:14:50] local.INFO: Processing buffer {"connection_id":191326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:14:50] local.INFO: IMEI packet received {"connection_id":191326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":191326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:14:51] local.INFO: TCP Data received {"connection_id":191326,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25e8160012d196600071ff1c0003801472a..."} 
[2026-09-24 13:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25e8160012d196600071ff1c0003801472a..."} 
[2026-09-24 13:14:51] local.INFO: Processing buffer {"connection_id":191326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25e8160012d196600071ff1c0003801472a..."} 
[2026-09-24 13:14:51] local.INFO: Packet analysis {"connection_id":191326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d25e"} 
[2026-09-24 13:14:51] local.INFO: Extracted packet for processing {"connection_id":191326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d25e"} 
[2026-09-24 13:14:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300360448001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790235804000,"timestamp_ms":1790235804000,"timestamp_seconds":1790235804,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25e8160"} 
[2026-09-24 13:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 13:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300360448001,"66":12515,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300360448001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:14:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:14:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300360448001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":191326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:14:51] local.INFO: GPS data processed {"connection_id":191326,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:14:51] local.INFO: Acknowledgment sent {"connection_id":191326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:15:22] local.INFO: TCP Data received {"connection_id":191326,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25ed368012d196600071ff1c00038014729..."} 
[2026-09-24 13:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25ed368012d196600071ff1c00038014729..."} 
[2026-09-24 13:15:22] local.INFO: Processing buffer {"connection_id":191326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25ed368012d196600071ff1c00038014729..."} 
[2026-09-24 13:15:22] local.INFO: Packet analysis {"connection_id":191326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d25e"} 
[2026-09-24 13:15:22] local.INFO: Extracted packet for processing {"connection_id":191326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d25e"} 
[2026-09-24 13:15:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300365824001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790235825000,"timestamp_ms":1790235825000,"timestamp_seconds":1790235825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25ed368"} 
[2026-09-24 13:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-24 13:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300365824001,"66":12526,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300365824001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:15:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:15:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300365824001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":191326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:15:22] local.INFO: GPS data processed {"connection_id":191326,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:15:22] local.INFO: Acknowledgment sent {"connection_id":191326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:15:29] local.INFO: TCP Data received {"connection_id":191129,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:15:29] local.INFO: Processing buffer {"connection_id":191129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:15:29] local.INFO: IMEI packet received {"connection_id":191129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":191129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:15:33] local.INFO: TCP Data received {"connection_id":191129,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:15:33] local.INFO: Processing buffer {"connection_id":191129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:15:33] local.INFO: IMEI packet received {"connection_id":191129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":191129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:15:35] local.INFO: TCP Data received {"connection_id":191129,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:15:35] local.INFO: Processing buffer {"connection_id":191129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:15:35] local.INFO: Packet analysis {"connection_id":191129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d25c"} 
[2026-09-24 13:15:35] local.INFO: Extracted packet for processing {"connection_id":191129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d25c"} 
[2026-09-24 13:15:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300248576001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790235647000,"timestamp_ms":1790235647000,"timestamp_seconds":1790235647,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25c1c18"} 
[2026-09-24 13:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300248576001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300248576001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:15:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:15:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300248576001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":191129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:15:35] local.INFO: GPS data processed {"connection_id":191129,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:15:35] local.INFO: Acknowledgment sent {"connection_id":191129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:15:39] local.INFO: TCP Data received {"connection_id":191129,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:15:39] local.INFO: Processing buffer {"connection_id":191129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:15:39] local.INFO: Packet analysis {"connection_id":191129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d25c"} 
[2026-09-24 13:15:39] local.INFO: Extracted packet for processing {"connection_id":191129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d25c"} 
[2026-09-24 13:15:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300248576001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790235647000,"timestamp_ms":1790235647000,"timestamp_seconds":1790235647,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25c1c18"} 
[2026-09-24 13:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300248576001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300248576001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:15:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:15:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300248576001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":191129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:15:39] local.INFO: GPS data processed {"connection_id":191129,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:15:39] local.INFO: Acknowledgment sent {"connection_id":191129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:15:45] local.INFO: TCP Data received {"connection_id":191327,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:15:45] local.INFO: Processing buffer {"connection_id":191327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:15:45] local.INFO: IMEI packet received {"connection_id":191327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":191327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:15:48] local.INFO: TCP Data received {"connection_id":191327,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:15:48] local.INFO: Processing buffer {"connection_id":191327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:15:48] local.INFO: IMEI packet received {"connection_id":191327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":191327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:15:50] local.INFO: TCP Data received {"connection_id":191327,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:15:50] local.INFO: Processing buffer {"connection_id":191327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:15:50] local.INFO: IMEI packet received {"connection_id":191327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":191327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:15:51] local.INFO: TCP Data received {"connection_id":191327,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25f2570012d196600071ff1c0003801472a..."} 
[2026-09-24 13:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25f2570012d196600071ff1c0003801472a..."} 
[2026-09-24 13:15:51] local.INFO: Processing buffer {"connection_id":191327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25f2570012d196600071ff1c0003801472a..."} 
[2026-09-24 13:15:51] local.INFO: Packet analysis {"connection_id":191327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d25f"} 
[2026-09-24 13:15:51] local.INFO: Extracted packet for processing {"connection_id":191327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d25f"} 
[2026-09-24 13:15:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300371200001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790235846000,"timestamp_ms":1790235846000,"timestamp_seconds":1790235846,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25f2570"} 
[2026-09-24 13:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 13:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300371200001,"66":12232,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300371200001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:15:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:15:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300371200001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":191327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:15:51] local.INFO: GPS data processed {"connection_id":191327,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:15:51] local.INFO: Acknowledgment sent {"connection_id":191327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:16:11] local.INFO: TCP Data received {"connection_id":191129,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:16:11] local.INFO: Processing buffer {"connection_id":191129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25c1c18012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:16:11] local.INFO: Packet analysis {"connection_id":191129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d25c"} 
[2026-09-24 13:16:11] local.INFO: Extracted packet for processing {"connection_id":191129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d25c"} 
[2026-09-24 13:16:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300248576001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790235647000,"timestamp_ms":1790235647000,"timestamp_seconds":1790235647,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25c1c18"} 
[2026-09-24 13:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300248576001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300248576001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:16:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:16:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300248576001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":191129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:16:11] local.INFO: GPS data processed {"connection_id":191129,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:16:11] local.INFO: Acknowledgment sent {"connection_id":191129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:16:22] local.INFO: TCP Data received {"connection_id":191327,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25f7778012d196600071ff1c0003801472b..."} 
[2026-09-24 13:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25f7778012d196600071ff1c0003801472b..."} 
[2026-09-24 13:16:22] local.INFO: Processing buffer {"connection_id":191327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25f7778012d196600071ff1c0003801472b..."} 
[2026-09-24 13:16:22] local.INFO: Packet analysis {"connection_id":191327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d25f"} 
[2026-09-24 13:16:22] local.INFO: Extracted packet for processing {"connection_id":191327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d25f"} 
[2026-09-24 13:16:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300376576001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790235867000,"timestamp_ms":1790235867000,"timestamp_seconds":1790235867,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25f7778"} 
[2026-09-24 13:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-24 13:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300376576001,"66":12526,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300376576001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:16:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:16:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300376576001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":191327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:16:22] local.INFO: GPS data processed {"connection_id":191327,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:16:22] local.INFO: Acknowledgment sent {"connection_id":191327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:16:26] local.INFO: TCP Data received {"connection_id":192700,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:16:26] local.INFO: Processing buffer {"connection_id":192700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:16:26] local.INFO: IMEI packet received {"connection_id":192700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":192700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:16:28] local.INFO: TCP Data received {"connection_id":192700,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:16:28] local.INFO: Processing buffer {"connection_id":192700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:16:28] local.INFO: IMEI packet received {"connection_id":192700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":192700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:16:33] local.INFO: TCP Data received {"connection_id":192700,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:16:33] local.INFO: Processing buffer {"connection_id":192700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:16:33] local.INFO: IMEI packet received {"connection_id":192700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":192700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:16:35] local.INFO: TCP Data received {"connection_id":192700,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:16:35] local.INFO: Processing buffer {"connection_id":192700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:16:35] local.INFO: Packet analysis {"connection_id":192700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:16:35] local.INFO: Extracted packet for processing {"connection_id":192700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300325632001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790235948000,"timestamp_ms":1790235948000,"timestamp_seconds":1790235948,"priority":1,"record_length":96,"hex_timestamp":"000001a0d260b3e0"} 
[2026-09-24 13:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:16:35] 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-09-24 13:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300325632001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300325632001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:16:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:16:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300325632001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":192700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:16:35] local.INFO: GPS data processed {"connection_id":192700,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:16:35] local.INFO: Acknowledgment sent {"connection_id":192700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:16:45] local.INFO: TCP Data received {"connection_id":191328,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:16:45] local.INFO: Processing buffer {"connection_id":191328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:16:45] local.INFO: IMEI packet received {"connection_id":191328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":191328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:16:50] local.INFO: TCP Data received {"connection_id":191328,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:16:50] local.INFO: Processing buffer {"connection_id":191328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:16:50] local.INFO: IMEI packet received {"connection_id":191328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":191328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:16:51] local.INFO: TCP Data received {"connection_id":191328,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d25fc980012d196600071ff1c00038014729..."} 
[2026-09-24 13:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d25fc980012d196600071ff1c00038014729..."} 
[2026-09-24 13:16:51] local.INFO: Processing buffer {"connection_id":191328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d25fc980012d196600071ff1c00038014729..."} 
[2026-09-24 13:16:51] local.INFO: Packet analysis {"connection_id":191328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d25f"} 
[2026-09-24 13:16:51] local.INFO: Extracted packet for processing {"connection_id":191328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d25f"} 
[2026-09-24 13:16:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300381952001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790235888000,"timestamp_ms":1790235888000,"timestamp_seconds":1790235888,"priority":1,"record_length":96,"hex_timestamp":"000001a0d25fc980"} 
[2026-09-24 13:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 13:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300381952001,"66":12526,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300381952001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:16:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:16:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300381952001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":191328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:16:51] local.INFO: GPS data processed {"connection_id":191328,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:16:51] local.INFO: Acknowledgment sent {"connection_id":191328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:17:07] local.INFO: TCP Data received {"connection_id":192700,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:17:07] local.INFO: Processing buffer {"connection_id":192700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:17:07] local.INFO: Packet analysis {"connection_id":192700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:17:07] local.INFO: Extracted packet for processing {"connection_id":192700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:17:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300325632001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790235948000,"timestamp_ms":1790235948000,"timestamp_seconds":1790235948,"priority":1,"record_length":96,"hex_timestamp":"000001a0d260b3e0"} 
[2026-09-24 13:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:17:07] 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-09-24 13:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300325632001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300325632001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:17:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:17:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300325632001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":192700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:17:07] local.INFO: GPS data processed {"connection_id":192700,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:17:07] local.INFO: Acknowledgment sent {"connection_id":192700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:17:22] local.INFO: TCP Data received {"connection_id":191328,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2601b88012d196600071ff1c0003801472a..."} 
[2026-09-24 13:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2601b88012d196600071ff1c0003801472a..."} 
[2026-09-24 13:17:22] local.INFO: Processing buffer {"connection_id":191328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2601b88012d196600071ff1c0003801472a..."} 
[2026-09-24 13:17:22] local.INFO: Packet analysis {"connection_id":191328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:17:22] local.INFO: Extracted packet for processing {"connection_id":191328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:17:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300387328001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790235909000,"timestamp_ms":1790235909000,"timestamp_seconds":1790235909,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2601b88"} 
[2026-09-24 13:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 13:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300387328001,"66":12461,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300387328001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:17:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:17:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300387328001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":191328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:17:22] local.INFO: GPS data processed {"connection_id":191328,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:17:22] local.INFO: Acknowledgment sent {"connection_id":191328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:17:28] local.INFO: TCP Data received {"connection_id":191329,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:17:28] local.INFO: Processing buffer {"connection_id":191329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:17:28] local.INFO: IMEI packet received {"connection_id":191329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":191329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:17:33] local.INFO: TCP Data received {"connection_id":191329,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:17:33] local.INFO: Processing buffer {"connection_id":191329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:17:33] local.INFO: IMEI packet received {"connection_id":191329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":191329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:17:35] local.INFO: TCP Data received {"connection_id":191329,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:17:35] local.INFO: Processing buffer {"connection_id":191329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:17:35] local.INFO: Packet analysis {"connection_id":191329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:17:35] local.INFO: Extracted packet for processing {"connection_id":191329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:17:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300325632001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790235948000,"timestamp_ms":1790235948000,"timestamp_seconds":1790235948,"priority":1,"record_length":96,"hex_timestamp":"000001a0d260b3e0"} 
[2026-09-24 13:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:17:35] 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-09-24 13:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300325632001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300325632001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:17:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:17:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300325632001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":191329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:17:35] local.INFO: GPS data processed {"connection_id":191329,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:17:35] local.INFO: Acknowledgment sent {"connection_id":191329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:17:50] local.INFO: TCP Data received {"connection_id":193994,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:17:50] local.INFO: Processing buffer {"connection_id":193994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:17:50] local.INFO: IMEI packet received {"connection_id":193994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":193994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:17:54] local.INFO: TCP Data received {"connection_id":193994,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:17:54] local.INFO: Processing buffer {"connection_id":193994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:17:54] local.INFO: IMEI packet received {"connection_id":193994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":193994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:17:54] local.INFO: TCP Data received {"connection_id":193994,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2606d90012d196600071ff1c00038014729..."} 
[2026-09-24 13:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2606d90012d196600071ff1c00038014729..."} 
[2026-09-24 13:17:54] local.INFO: Processing buffer {"connection_id":193994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2606d90012d196600071ff1c00038014729..."} 
[2026-09-24 13:17:54] local.INFO: Packet analysis {"connection_id":193994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:17:54] local.INFO: Extracted packet for processing {"connection_id":193994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:17:54] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300392704001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790235930000,"timestamp_ms":1790235930000,"timestamp_seconds":1790235930,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2606d90"} 
[2026-09-24 13:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 13:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":193994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":193994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":193994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300392704001,"66":12526,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300392704001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:17:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:17:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300392704001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":193994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:17:55] local.INFO: GPS data processed {"connection_id":193994,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:17:55] local.INFO: Acknowledgment sent {"connection_id":193994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:17:55] local.INFO: TCP Data received {"connection_id":193994,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d260bf98012d196600071ff1c0003801472b..."} 
[2026-09-24 13:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d260bf98012d196600071ff1c0003801472b..."} 
[2026-09-24 13:17:55] local.INFO: Processing buffer {"connection_id":193994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d260bf98012d196600071ff1c0003801472b..."} 
[2026-09-24 13:17:55] local.INFO: Packet analysis {"connection_id":193994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:17:55] local.INFO: Extracted packet for processing {"connection_id":193994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:17:55] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:17: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-09-24 13:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300398080001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790235951000,"timestamp_ms":1790235951000,"timestamp_seconds":1790235951,"priority":1,"record_length":96,"hex_timestamp":"000001a0d260bf98"} 
[2026-09-24 13:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 13:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:17: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-09-24 13:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":193994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":193994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":193994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300398080001,"66":12515,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300398080001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:17:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:17:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300398080001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":193994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:17:55] local.INFO: GPS data processed {"connection_id":193994,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:17:55] local.INFO: Acknowledgment sent {"connection_id":193994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:18:07] local.INFO: TCP Data received {"connection_id":191329,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:18:07] local.INFO: Processing buffer {"connection_id":191329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:18:07] local.INFO: Packet analysis {"connection_id":191329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:18:07] local.INFO: Extracted packet for processing {"connection_id":191329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:18:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300325632001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790235948000,"timestamp_ms":1790235948000,"timestamp_seconds":1790235948,"priority":1,"record_length":96,"hex_timestamp":"000001a0d260b3e0"} 
[2026-09-24 13:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:18:07] 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-09-24 13:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300325632001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300325632001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:18:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:18:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300325632001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":191329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:18:07] local.INFO: GPS data processed {"connection_id":191329,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:18:07] local.INFO: Acknowledgment sent {"connection_id":191329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:18:26] local.INFO: TCP Data received {"connection_id":193994,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26111a0012d196600071ff1c00038014729..."} 
[2026-09-24 13:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26111a0012d196600071ff1c00038014729..."} 
[2026-09-24 13:18:26] local.INFO: Processing buffer {"connection_id":193994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26111a0012d196600071ff1c00038014729..."} 
[2026-09-24 13:18:26] local.INFO: Packet analysis {"connection_id":193994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d261"} 
[2026-09-24 13:18:26] local.INFO: Extracted packet for processing {"connection_id":193994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d261"} 
[2026-09-24 13:18:26] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:18: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-09-24 13:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300403456001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790235972000,"timestamp_ms":1790235972000,"timestamp_seconds":1790235972,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26111a0"} 
[2026-09-24 13:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-24 13:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:18: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-09-24 13:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":193994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":193994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":193994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300403456001,"66":12515,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300403456001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:18:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:18:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300403456001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":193994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:18:26] local.INFO: GPS data processed {"connection_id":193994,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:18:26] local.INFO: Acknowledgment sent {"connection_id":193994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:18:32] local.INFO: TCP Data received {"connection_id":191130,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191130,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:18:32] local.INFO: Processing buffer {"connection_id":191130,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:18:32] local.INFO: IMEI packet received {"connection_id":191130,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 13:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":191130,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:18:33] local.INFO: TCP Data received {"connection_id":193995,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:18:33] local.INFO: Processing buffer {"connection_id":193995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:18:33] local.INFO: IMEI packet received {"connection_id":193995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":193995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:18:38] local.INFO: TCP Data received {"connection_id":193995,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:18:38] local.INFO: Processing buffer {"connection_id":193995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:18:38] local.INFO: IMEI packet received {"connection_id":193995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":193995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:18:40] local.INFO: TCP Data received {"connection_id":193995,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:18:40] local.INFO: Processing buffer {"connection_id":193995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:18:40] local.INFO: Packet analysis {"connection_id":193995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:18:40] local.INFO: Extracted packet for processing {"connection_id":193995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:18:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300325632001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790235948000,"timestamp_ms":1790235948000,"timestamp_seconds":1790235948,"priority":1,"record_length":96,"hex_timestamp":"000001a0d260b3e0"} 
[2026-09-24 13:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:18:40] 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-09-24 13:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300325632001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300325632001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:18:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:18:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300325632001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":193995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:18:40] local.INFO: GPS data processed {"connection_id":193995,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:18:40] local.INFO: Acknowledgment sent {"connection_id":193995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:18:44] local.INFO: TCP Data received {"connection_id":193995,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:18:44] local.INFO: Processing buffer {"connection_id":193995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:18:44] local.INFO: Packet analysis {"connection_id":193995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:18:44] local.INFO: Extracted packet for processing {"connection_id":193995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:18:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300325632001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790235948000,"timestamp_ms":1790235948000,"timestamp_seconds":1790235948,"priority":1,"record_length":96,"hex_timestamp":"000001a0d260b3e0"} 
[2026-09-24 13:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:18:44] 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-09-24 13:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300325632001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300325632001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:18:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:18:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300325632001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":193995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:18:44] local.INFO: GPS data processed {"connection_id":193995,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:18:44] local.INFO: Acknowledgment sent {"connection_id":193995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:18:45] local.INFO: TCP Data received {"connection_id":192702,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:18:45] local.INFO: Processing buffer {"connection_id":192702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:18:45] local.INFO: IMEI packet received {"connection_id":192702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":192702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:18:50] local.INFO: TCP Data received {"connection_id":192702,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:18:50] local.INFO: Processing buffer {"connection_id":192702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:18:50] local.INFO: IMEI packet received {"connection_id":192702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":192702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:18:51] local.INFO: TCP Data received {"connection_id":192702,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26163a8012d196600071ff1c0003801472a..."} 
[2026-09-24 13:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26163a8012d196600071ff1c0003801472a..."} 
[2026-09-24 13:18:51] local.INFO: Processing buffer {"connection_id":192702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26163a8012d196600071ff1c0003801472a..."} 
[2026-09-24 13:18:51] local.INFO: Packet analysis {"connection_id":192702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d261"} 
[2026-09-24 13:18:51] local.INFO: Extracted packet for processing {"connection_id":192702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d261"} 
[2026-09-24 13:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300408832001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790235993000,"timestamp_ms":1790235993000,"timestamp_seconds":1790235993,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26163a8"} 
[2026-09-24 13:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-24 13:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300408832001,"66":12504,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300408832001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:18:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:18:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300408832001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":192702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:18:51] local.INFO: GPS data processed {"connection_id":192702,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:18:51] local.INFO: Acknowledgment sent {"connection_id":192702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:19:07] local.INFO: TCP Data received {"connection_id":191131,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:19:07] local.INFO: Processing buffer {"connection_id":191131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:19:07] local.INFO: IMEI packet received {"connection_id":191131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 13:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":191131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:19:22] local.INFO: TCP Data received {"connection_id":192702,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d261b5b0012d196600071ff1c00038014728..."} 
[2026-09-24 13:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d261b5b0012d196600071ff1c00038014728..."} 
[2026-09-24 13:19:22] local.INFO: Processing buffer {"connection_id":192702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d261b5b0012d196600071ff1c00038014728..."} 
[2026-09-24 13:19:22] local.INFO: Packet analysis {"connection_id":192702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d261"} 
[2026-09-24 13:19:22] local.INFO: Extracted packet for processing {"connection_id":192702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d261"} 
[2026-09-24 13:19:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300414208001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790236014000,"timestamp_ms":1790236014000,"timestamp_seconds":1790236014,"priority":1,"record_length":96,"hex_timestamp":"000001a0d261b5b0"} 
[2026-09-24 13:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 13:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300414208001,"66":12461,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300414208001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:19:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:19:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300414208001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":192702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:19:22] local.INFO: GPS data processed {"connection_id":192702,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:19:22] local.INFO: Acknowledgment sent {"connection_id":192702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:19:28] local.INFO: TCP Data received {"connection_id":193996,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:19:28] local.INFO: Processing buffer {"connection_id":193996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:19:28] local.INFO: IMEI packet received {"connection_id":193996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":193996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:19:33] local.INFO: TCP Data received {"connection_id":193996,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:19:33] local.INFO: Processing buffer {"connection_id":193996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:19:33] local.INFO: IMEI packet received {"connection_id":193996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":193996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:19:34] local.INFO: TCP Data received {"connection_id":193996,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:19:34] local.INFO: Processing buffer {"connection_id":193996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:19:34] local.INFO: Packet analysis {"connection_id":193996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:19:34] local.INFO: Extracted packet for processing {"connection_id":193996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:19:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300325632001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790235948000,"timestamp_ms":1790235948000,"timestamp_seconds":1790235948,"priority":1,"record_length":96,"hex_timestamp":"000001a0d260b3e0"} 
[2026-09-24 13:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:19:34] 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-09-24 13:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300325632001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300325632001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:19:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:19:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300325632001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":193996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:19:34] local.INFO: GPS data processed {"connection_id":193996,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:19:34] local.INFO: Acknowledgment sent {"connection_id":193996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:19:45] local.INFO: TCP Data received {"connection_id":193997,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:19:45] local.INFO: Processing buffer {"connection_id":193997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:19:45] local.INFO: IMEI packet received {"connection_id":193997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":193997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:19:50] local.INFO: TCP Data received {"connection_id":193997,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:19:50] local.INFO: Processing buffer {"connection_id":193997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:19:50] local.INFO: IMEI packet received {"connection_id":193997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":193997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:19:51] local.INFO: TCP Data received {"connection_id":193997,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26207b8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26207b8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:19:51] local.INFO: Processing buffer {"connection_id":193997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26207b8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:19:51] local.INFO: Packet analysis {"connection_id":193997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d262"} 
[2026-09-24 13:19:51] local.INFO: Extracted packet for processing {"connection_id":193997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d262"} 
[2026-09-24 13:19:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300419584001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790236035000,"timestamp_ms":1790236035000,"timestamp_seconds":1790236035,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26207b8"} 
[2026-09-24 13:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 13:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300419584001,"66":12461,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300419584001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:19:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:19:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300419584001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":193997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:19:51] local.INFO: GPS data processed {"connection_id":193997,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:19:51] local.INFO: Acknowledgment sent {"connection_id":193997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:20:06] local.INFO: TCP Data received {"connection_id":193996,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:20:06] local.INFO: Processing buffer {"connection_id":193996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:20:06] local.INFO: Packet analysis {"connection_id":193996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:20:06] local.INFO: Extracted packet for processing {"connection_id":193996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:20:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300325632001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790235948000,"timestamp_ms":1790235948000,"timestamp_seconds":1790235948,"priority":1,"record_length":96,"hex_timestamp":"000001a0d260b3e0"} 
[2026-09-24 13:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300325632001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300325632001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:20:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:20:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300325632001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":193996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:20:06] local.INFO: GPS data processed {"connection_id":193996,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:20:06] local.INFO: Acknowledgment sent {"connection_id":193996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:20:22] local.INFO: TCP Data received {"connection_id":193997,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26259c0012d196600071ff1c00038014729..."} 
[2026-09-24 13:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26259c0012d196600071ff1c00038014729..."} 
[2026-09-24 13:20:22] local.INFO: Processing buffer {"connection_id":193997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26259c0012d196600071ff1c00038014729..."} 
[2026-09-24 13:20:22] local.INFO: Packet analysis {"connection_id":193997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d262"} 
[2026-09-24 13:20:22] local.INFO: Extracted packet for processing {"connection_id":193997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d262"} 
[2026-09-24 13:20:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300424960001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790236056000,"timestamp_ms":1790236056000,"timestamp_seconds":1790236056,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26259c0"} 
[2026-09-24 13:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 13:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300424960001,"66":12504,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300424960001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:20:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:20:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300424960001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":193997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:20:22] local.INFO: GPS data processed {"connection_id":193997,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:20:22] local.INFO: Acknowledgment sent {"connection_id":193997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:20:29] local.INFO: TCP Data received {"connection_id":191132,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:20:29] local.INFO: Processing buffer {"connection_id":191132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:20:29] local.INFO: IMEI packet received {"connection_id":191132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":191132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:20:33] local.INFO: TCP Data received {"connection_id":191132,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:20:33] local.INFO: Processing buffer {"connection_id":191132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:20:33] local.INFO: IMEI packet received {"connection_id":191132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":191132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:20:35] local.INFO: TCP Data received {"connection_id":191132,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:20:35] local.INFO: Processing buffer {"connection_id":191132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:20:35] local.INFO: Packet analysis {"connection_id":191132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:20:35] local.INFO: Extracted packet for processing {"connection_id":191132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300325632001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790235948000,"timestamp_ms":1790235948000,"timestamp_seconds":1790235948,"priority":1,"record_length":96,"hex_timestamp":"000001a0d260b3e0"} 
[2026-09-24 13:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:20:35] 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-09-24 13:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300325632001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300325632001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:20:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:20:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300325632001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":191132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:20:35] local.INFO: GPS data processed {"connection_id":191132,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:20:35] local.INFO: Acknowledgment sent {"connection_id":191132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:20:45] local.INFO: TCP Data received {"connection_id":191331,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:20:45] local.INFO: Processing buffer {"connection_id":191331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:20:45] local.INFO: IMEI packet received {"connection_id":191331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":191331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:20:50] local.INFO: TCP Data received {"connection_id":191331,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:20:50] local.INFO: Processing buffer {"connection_id":191331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:20:50] local.INFO: IMEI packet received {"connection_id":191331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":191331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:20:51] local.INFO: TCP Data received {"connection_id":191331,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d262abc8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d262abc8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:20:51] local.INFO: Processing buffer {"connection_id":191331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d262abc8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:20:51] local.INFO: Packet analysis {"connection_id":191331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d262"} 
[2026-09-24 13:20:51] local.INFO: Extracted packet for processing {"connection_id":191331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d262"} 
[2026-09-24 13:20:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300430336001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790236077000,"timestamp_ms":1790236077000,"timestamp_seconds":1790236077,"priority":1,"record_length":96,"hex_timestamp":"000001a0d262abc8"} 
[2026-09-24 13:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 13:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300430336001,"66":12526,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300430336001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:20:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:20:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300430336001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":191331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:20:51] local.INFO: GPS data processed {"connection_id":191331,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:20:51] local.INFO: Acknowledgment sent {"connection_id":191331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:21:07] local.INFO: TCP Data received {"connection_id":191132,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:21:07] local.INFO: Processing buffer {"connection_id":191132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d260b3e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 13:21:07] local.INFO: Packet analysis {"connection_id":191132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:21:07] local.INFO: Extracted packet for processing {"connection_id":191132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d260"} 
[2026-09-24 13:21:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300325632001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790235948000,"timestamp_ms":1790235948000,"timestamp_seconds":1790235948,"priority":1,"record_length":96,"hex_timestamp":"000001a0d260b3e0"} 
[2026-09-24 13:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:21:07] 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-09-24 13:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300325632001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300325632001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:21:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:21:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300325632001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":191132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:21:07] local.INFO: GPS data processed {"connection_id":191132,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:21:07] local.INFO: Acknowledgment sent {"connection_id":191132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:21:22] local.INFO: TCP Data received {"connection_id":191331,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d262fdd0012d196600071ff1c0003801472b..."} 
[2026-09-24 13:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d262fdd0012d196600071ff1c0003801472b..."} 
[2026-09-24 13:21:22] local.INFO: Processing buffer {"connection_id":191331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d262fdd0012d196600071ff1c0003801472b..."} 
[2026-09-24 13:21:22] local.INFO: Packet analysis {"connection_id":191331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d262"} 
[2026-09-24 13:21:22] local.INFO: Extracted packet for processing {"connection_id":191331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d262"} 
[2026-09-24 13:21:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300435712001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790236098000,"timestamp_ms":1790236098000,"timestamp_seconds":1790236098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d262fdd0"} 
[2026-09-24 13:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 13:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300435712001,"66":12504,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300435712001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:21:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:21:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300435712001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":191331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:21:22] local.INFO: GPS data processed {"connection_id":191331,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:21:22] local.INFO: Acknowledgment sent {"connection_id":191331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:21:27] local.INFO: TCP Data received {"connection_id":191133,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:21:27] local.INFO: Processing buffer {"connection_id":191133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:21:27] local.INFO: IMEI packet received {"connection_id":191133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":191133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:21:28] local.INFO: TCP Data received {"connection_id":191133,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:21:28] local.INFO: Processing buffer {"connection_id":191133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:21:28] local.INFO: IMEI packet received {"connection_id":191133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":191133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:21:33] local.INFO: TCP Data received {"connection_id":191133,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:21:33] local.INFO: Processing buffer {"connection_id":191133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:21:33] local.INFO: IMEI packet received {"connection_id":191133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":191133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:21:35] local.INFO: TCP Data received {"connection_id":191133,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:21:35] local.INFO: Processing buffer {"connection_id":191133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:21:35] local.INFO: Packet analysis {"connection_id":191133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:21:35] local.INFO: Extracted packet for processing {"connection_id":191133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300402688001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790236249000,"timestamp_ms":1790236249000,"timestamp_seconds":1790236249,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2654ba8"} 
[2026-09-24 13:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300402688001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300402688001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:21:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:21:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300402688001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":191133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:21:35] local.INFO: GPS data processed {"connection_id":191133,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:21:35] local.INFO: Acknowledgment sent {"connection_id":191133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:21:44] local.INFO: TCP Data received {"connection_id":191332,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:21:44] local.INFO: Processing buffer {"connection_id":191332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:21:44] local.INFO: IMEI packet received {"connection_id":191332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":191332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:21:45] local.INFO: TCP Data received {"connection_id":191332,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:21:45] local.INFO: Processing buffer {"connection_id":191332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:21:45] local.INFO: IMEI packet received {"connection_id":191332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":191332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:21:50] local.INFO: TCP Data received {"connection_id":191332,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:21:50] local.INFO: Processing buffer {"connection_id":191332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:21:50] local.INFO: IMEI packet received {"connection_id":191332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":191332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:21:51] local.INFO: TCP Data received {"connection_id":191332,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2634fd8012d196600071ff1c00038014729..."} 
[2026-09-24 13:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2634fd8012d196600071ff1c00038014729..."} 
[2026-09-24 13:21:51] local.INFO: Processing buffer {"connection_id":191332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2634fd8012d196600071ff1c00038014729..."} 
[2026-09-24 13:21:51] local.INFO: Packet analysis {"connection_id":191332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d263"} 
[2026-09-24 13:21:51] local.INFO: Extracted packet for processing {"connection_id":191332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d263"} 
[2026-09-24 13:21:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:21: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-09-24 13:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300441088001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790236119000,"timestamp_ms":1790236119000,"timestamp_seconds":1790236119,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2634fd8"} 
[2026-09-24 13:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 13:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:21: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-09-24 13:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300441088001,"66":12504,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300441088001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:21:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:21:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300441088001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":191332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:21:51] local.INFO: GPS data processed {"connection_id":191332,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:21:51] local.INFO: Acknowledgment sent {"connection_id":191332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:22:07] local.INFO: TCP Data received {"connection_id":191133,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:22:07] local.INFO: Processing buffer {"connection_id":191133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:22:07] local.INFO: Packet analysis {"connection_id":191133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:22:07] local.INFO: Extracted packet for processing {"connection_id":191133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:22:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300402688001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790236249000,"timestamp_ms":1790236249000,"timestamp_seconds":1790236249,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2654ba8"} 
[2026-09-24 13:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300402688001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300402688001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:22:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:22:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300402688001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":191133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:22:07] local.INFO: GPS data processed {"connection_id":191133,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:22:07] local.INFO: Acknowledgment sent {"connection_id":191133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:22:22] local.INFO: TCP Data received {"connection_id":191332,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d263a1e0012d196600071ff1c0003801472a..."} 
[2026-09-24 13:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d263a1e0012d196600071ff1c0003801472a..."} 
[2026-09-24 13:22:22] local.INFO: Processing buffer {"connection_id":191332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d263a1e0012d196600071ff1c0003801472a..."} 
[2026-09-24 13:22:22] local.INFO: Packet analysis {"connection_id":191332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d263"} 
[2026-09-24 13:22:22] local.INFO: Extracted packet for processing {"connection_id":191332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d263"} 
[2026-09-24 13:22:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300446464001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790236140000,"timestamp_ms":1790236140000,"timestamp_seconds":1790236140,"priority":1,"record_length":96,"hex_timestamp":"000001a0d263a1e0"} 
[2026-09-24 13:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 13:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300446464001,"66":12504,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300446464001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:22:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:22:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300446464001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":191332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:22:22] local.INFO: GPS data processed {"connection_id":191332,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:22:22] local.INFO: Acknowledgment sent {"connection_id":191332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:22:28] local.INFO: TCP Data received {"connection_id":192704,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:22:28] local.INFO: Processing buffer {"connection_id":192704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:22:28] local.INFO: IMEI packet received {"connection_id":192704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":192704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:22:33] local.INFO: TCP Data received {"connection_id":192704,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:22:33] local.INFO: Processing buffer {"connection_id":192704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:22:33] local.INFO: IMEI packet received {"connection_id":192704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":192704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:22:35] local.INFO: TCP Data received {"connection_id":192704,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:22:35] local.INFO: Processing buffer {"connection_id":192704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:22:35] local.INFO: Packet analysis {"connection_id":192704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:22:35] local.INFO: Extracted packet for processing {"connection_id":192704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300402688001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790236249000,"timestamp_ms":1790236249000,"timestamp_seconds":1790236249,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2654ba8"} 
[2026-09-24 13:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300402688001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300402688001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:22:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:22:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300402688001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":192704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:22:35] local.INFO: GPS data processed {"connection_id":192704,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:22:35] local.INFO: Acknowledgment sent {"connection_id":192704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:22:45] local.INFO: TCP Data received {"connection_id":192705,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:22:45] local.INFO: Processing buffer {"connection_id":192705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:22:45] local.INFO: IMEI packet received {"connection_id":192705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":192705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:22:47] local.INFO: TCP Data received {"connection_id":192705,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:22:47] local.INFO: Processing buffer {"connection_id":192705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:22:47] local.INFO: IMEI packet received {"connection_id":192705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":192705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:22:50] local.INFO: TCP Data received {"connection_id":192705,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:22:50] local.INFO: Processing buffer {"connection_id":192705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:22:50] local.INFO: IMEI packet received {"connection_id":192705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":192705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:22:51] local.INFO: TCP Data received {"connection_id":192705,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d263f3e8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d263f3e8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:22:51] local.INFO: Processing buffer {"connection_id":192705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d263f3e8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:22:51] local.INFO: Packet analysis {"connection_id":192705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d263"} 
[2026-09-24 13:22:51] local.INFO: Extracted packet for processing {"connection_id":192705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d263"} 
[2026-09-24 13:22:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300451840001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790236161000,"timestamp_ms":1790236161000,"timestamp_seconds":1790236161,"priority":1,"record_length":96,"hex_timestamp":"000001a0d263f3e8"} 
[2026-09-24 13:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 13:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300451840001,"66":12504,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300451840001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:22:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:22:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300451840001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":192705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:22:51] local.INFO: GPS data processed {"connection_id":192705,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:22:51] local.INFO: Acknowledgment sent {"connection_id":192705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:23:07] local.INFO: TCP Data received {"connection_id":192704,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:23:07] local.INFO: Processing buffer {"connection_id":192704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:23:07] local.INFO: Packet analysis {"connection_id":192704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:23:07] local.INFO: Extracted packet for processing {"connection_id":192704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:23:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300402688001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790236249000,"timestamp_ms":1790236249000,"timestamp_seconds":1790236249,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2654ba8"} 
[2026-09-24 13:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300402688001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300402688001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:23:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:23:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300402688001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":192704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:23:07] local.INFO: GPS data processed {"connection_id":192704,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:23:07] local.INFO: Acknowledgment sent {"connection_id":192704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:23:22] local.INFO: TCP Data received {"connection_id":192705,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26445f0012d196600071ff1c00038014729..."} 
[2026-09-24 13:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26445f0012d196600071ff1c00038014729..."} 
[2026-09-24 13:23:22] local.INFO: Processing buffer {"connection_id":192705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26445f0012d196600071ff1c00038014729..."} 
[2026-09-24 13:23:22] local.INFO: Packet analysis {"connection_id":192705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d264"} 
[2026-09-24 13:23:22] local.INFO: Extracted packet for processing {"connection_id":192705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d264"} 
[2026-09-24 13:23:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:23: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-09-24 13:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300457216001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790236182000,"timestamp_ms":1790236182000,"timestamp_seconds":1790236182,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26445f0"} 
[2026-09-24 13:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 13:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:23: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-09-24 13:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300457216001,"66":12504,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300457216001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:23:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:23:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300457216001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":192705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:23:22] local.INFO: GPS data processed {"connection_id":192705,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:23:22] local.INFO: Acknowledgment sent {"connection_id":192705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:23:28] local.INFO: TCP Data received {"connection_id":191333,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:23:28] local.INFO: Processing buffer {"connection_id":191333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:23:28] local.INFO: IMEI packet received {"connection_id":191333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":191333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:23:33] local.INFO: TCP Data received {"connection_id":191333,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:23:33] local.INFO: Processing buffer {"connection_id":191333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:23:33] local.INFO: IMEI packet received {"connection_id":191333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":191333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:23:35] local.INFO: TCP Data received {"connection_id":191333,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:23:35] local.INFO: Processing buffer {"connection_id":191333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:23:35] local.INFO: Packet analysis {"connection_id":191333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:23:35] local.INFO: Extracted packet for processing {"connection_id":191333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:23:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300402688001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790236249000,"timestamp_ms":1790236249000,"timestamp_seconds":1790236249,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2654ba8"} 
[2026-09-24 13:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300402688001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300402688001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:23:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:23:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300402688001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":191333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:23:35] local.INFO: GPS data processed {"connection_id":191333,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:23:35] local.INFO: Acknowledgment sent {"connection_id":191333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:23:45] local.INFO: TCP Data received {"connection_id":193998,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:23:45] local.INFO: Processing buffer {"connection_id":193998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:23:45] local.INFO: IMEI packet received {"connection_id":193998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":193998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:23:50] local.INFO: TCP Data received {"connection_id":193998,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:23:50] local.INFO: Processing buffer {"connection_id":193998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:23:50] local.INFO: IMEI packet received {"connection_id":193998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":193998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:23:51] local.INFO: TCP Data received {"connection_id":193998,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26497f8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26497f8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:23:51] local.INFO: Processing buffer {"connection_id":193998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26497f8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:23:51] local.INFO: Packet analysis {"connection_id":193998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d264"} 
[2026-09-24 13:23:51] local.INFO: Extracted packet for processing {"connection_id":193998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d264"} 
[2026-09-24 13:23:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300462592001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790236203000,"timestamp_ms":1790236203000,"timestamp_seconds":1790236203,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26497f8"} 
[2026-09-24 13:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 13:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300462592001,"66":12504,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300462592001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:23:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:23:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300462592001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":193998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:23:51] local.INFO: GPS data processed {"connection_id":193998,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:23:51] local.INFO: Acknowledgment sent {"connection_id":193998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:24:06] local.INFO: TCP Data received {"connection_id":191333,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:24:06] local.INFO: Processing buffer {"connection_id":191333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:24:06] local.INFO: Packet analysis {"connection_id":191333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:24:06] local.INFO: Extracted packet for processing {"connection_id":191333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300402688001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790236249000,"timestamp_ms":1790236249000,"timestamp_seconds":1790236249,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2654ba8"} 
[2026-09-24 13:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300402688001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300402688001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:24:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300402688001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":191333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:24:06] local.INFO: GPS data processed {"connection_id":191333,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:24:06] local.INFO: Acknowledgment sent {"connection_id":191333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:24:22] local.INFO: TCP Data received {"connection_id":193998,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d264ea00012d196600071ff1c0003801472b..."} 
[2026-09-24 13:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d264ea00012d196600071ff1c0003801472b..."} 
[2026-09-24 13:24:22] local.INFO: Processing buffer {"connection_id":193998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d264ea00012d196600071ff1c0003801472b..."} 
[2026-09-24 13:24:22] local.INFO: Packet analysis {"connection_id":193998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d264"} 
[2026-09-24 13:24:22] local.INFO: Extracted packet for processing {"connection_id":193998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d264"} 
[2026-09-24 13:24:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300467968001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790236224000,"timestamp_ms":1790236224000,"timestamp_seconds":1790236224,"priority":1,"record_length":96,"hex_timestamp":"000001a0d264ea00"} 
[2026-09-24 13:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 13:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300467968001,"66":12504,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300467968001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:24:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:24:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300467968001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":193998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:24:22] local.INFO: GPS data processed {"connection_id":193998,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:24:22] local.INFO: Acknowledgment sent {"connection_id":193998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:24:28] local.INFO: TCP Data received {"connection_id":193999,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:24:28] local.INFO: Processing buffer {"connection_id":193999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:24:28] local.INFO: IMEI packet received {"connection_id":193999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":193999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:24:33] local.INFO: TCP Data received {"connection_id":193999,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:24:33] local.INFO: Processing buffer {"connection_id":193999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:24:33] local.INFO: IMEI packet received {"connection_id":193999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":193999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:24:34] local.INFO: TCP Data received {"connection_id":193999,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:24:34] local.INFO: Processing buffer {"connection_id":193999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:24:34] local.INFO: Packet analysis {"connection_id":193999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:24:34] local.INFO: Extracted packet for processing {"connection_id":193999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:24:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300402688001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790236249000,"timestamp_ms":1790236249000,"timestamp_seconds":1790236249,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2654ba8"} 
[2026-09-24 13:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300402688001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300402688001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:24:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:24:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300402688001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":193999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:24:34] local.INFO: GPS data processed {"connection_id":193999,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:24:34] local.INFO: Acknowledgment sent {"connection_id":193999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:24:42] local.INFO: TCP Data received {"connection_id":191136,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:24:42] local.INFO: Processing buffer {"connection_id":191136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:24:42] local.INFO: IMEI packet received {"connection_id":191136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 13:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":191136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:24:50] local.INFO: TCP Data received {"connection_id":194000,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:24:50] local.INFO: Processing buffer {"connection_id":194000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:24:50] local.INFO: IMEI packet received {"connection_id":194000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":194000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:24:53] local.INFO: TCP Data received {"connection_id":194000,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:24:53] local.INFO: Processing buffer {"connection_id":194000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:24:53] local.INFO: IMEI packet received {"connection_id":194000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":194000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:24:54] local.INFO: TCP Data received {"connection_id":194000,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2653c08012d196600071ff1c00038014729..."} 
[2026-09-24 13:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2653c08012d196600071ff1c00038014729..."} 
[2026-09-24 13:24:54] local.INFO: Processing buffer {"connection_id":194000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2653c08012d196600071ff1c00038014729..."} 
[2026-09-24 13:24:54] local.INFO: Packet analysis {"connection_id":194000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:24:54] local.INFO: Extracted packet for processing {"connection_id":194000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:24:54] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300473344001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790236245000,"timestamp_ms":1790236245000,"timestamp_seconds":1790236245,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2653c08"} 
[2026-09-24 13:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 13:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":194000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":194000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":194000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300473344001,"66":12461,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300473344001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:24:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:24:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300473344001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":194000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:24:54] local.INFO: GPS data processed {"connection_id":194000,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:24:54] local.INFO: Acknowledgment sent {"connection_id":194000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:24:55] local.INFO: TCP Data received {"connection_id":194000,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2658e10012d196600071ff1c0003801472c..."} 
[2026-09-24 13:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2658e10012d196600071ff1c0003801472c..."} 
[2026-09-24 13:24:55] local.INFO: Processing buffer {"connection_id":194000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2658e10012d196600071ff1c0003801472c..."} 
[2026-09-24 13:24:55] local.INFO: Packet analysis {"connection_id":194000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:24:55] local.INFO: Extracted packet for processing {"connection_id":194000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:24:55] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:24: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-09-24 13:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300478720001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790236266000,"timestamp_ms":1790236266000,"timestamp_seconds":1790236266,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2658e10"} 
[2026-09-24 13:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 13:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:24: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-09-24 13:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300478720001,"66":12461,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300478720001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:24:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:24:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300478720001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":194000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:24:55] local.INFO: GPS data processed {"connection_id":194000,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:24:55] local.INFO: Acknowledgment sent {"connection_id":194000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:25:06] local.INFO: TCP Data received {"connection_id":193999,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:25:06] local.INFO: Processing buffer {"connection_id":193999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:25:06] local.INFO: Packet analysis {"connection_id":193999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:25:06] local.INFO: Extracted packet for processing {"connection_id":193999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:25:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300402688001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790236249000,"timestamp_ms":1790236249000,"timestamp_seconds":1790236249,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2654ba8"} 
[2026-09-24 13:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300402688001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300402688001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:25:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:25:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300402688001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":193999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:25:06] local.INFO: GPS data processed {"connection_id":193999,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:25:06] local.INFO: Acknowledgment sent {"connection_id":193999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:25:08] local.INFO: TCP Data received {"connection_id":191137,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:25:08] local.INFO: Processing buffer {"connection_id":191137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:25:08] local.INFO: IMEI packet received {"connection_id":191137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 13:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":191137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:25:26] local.INFO: TCP Data received {"connection_id":194000,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d265e018012d196600071ff1c0003801472d..."} 
[2026-09-24 13:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d265e018012d196600071ff1c0003801472d..."} 
[2026-09-24 13:25:26] local.INFO: Processing buffer {"connection_id":194000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d265e018012d196600071ff1c0003801472d..."} 
[2026-09-24 13:25:26] local.INFO: Packet analysis {"connection_id":194000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:25:26] local.INFO: Extracted packet for processing {"connection_id":194000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:25:26] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300484096001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790236287000,"timestamp_ms":1790236287000,"timestamp_seconds":1790236287,"priority":1,"record_length":96,"hex_timestamp":"000001a0d265e018"} 
[2026-09-24 13:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 13:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":194000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":194000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":194000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300484096001,"66":12504,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300484096001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:25:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:25:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300484096001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":194000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:25:26] local.INFO: GPS data processed {"connection_id":194000,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:25:26] local.INFO: Acknowledgment sent {"connection_id":194000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:25:28] local.INFO: TCP Data received {"connection_id":192706,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:25:28] local.INFO: Processing buffer {"connection_id":192706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:25:28] local.INFO: IMEI packet received {"connection_id":192706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":192706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:25:33] local.INFO: TCP Data received {"connection_id":192706,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:25:33] local.INFO: Processing buffer {"connection_id":192706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:25:33] local.INFO: IMEI packet received {"connection_id":192706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":192706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:25:34] local.INFO: TCP Data received {"connection_id":192706,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:25:34] local.INFO: Processing buffer {"connection_id":192706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:25:34] local.INFO: Packet analysis {"connection_id":192706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:25:34] local.INFO: Extracted packet for processing {"connection_id":192706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:25:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300402688001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790236249000,"timestamp_ms":1790236249000,"timestamp_seconds":1790236249,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2654ba8"} 
[2026-09-24 13:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300402688001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300402688001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:25:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:25:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300402688001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":192706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:25:35] local.INFO: GPS data processed {"connection_id":192706,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:25:35] local.INFO: Acknowledgment sent {"connection_id":192706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:25:45] local.INFO: TCP Data received {"connection_id":191334,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:25:45] local.INFO: Processing buffer {"connection_id":191334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:25:45] local.INFO: IMEI packet received {"connection_id":191334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":191334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:25:50] local.INFO: TCP Data received {"connection_id":191334,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:25:50] local.INFO: Processing buffer {"connection_id":191334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:25:50] local.INFO: IMEI packet received {"connection_id":191334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":191334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:25:51] local.INFO: TCP Data received {"connection_id":191334,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2663220012d196600071ff1c0003801472c..."} 
[2026-09-24 13:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2663220012d196600071ff1c0003801472c..."} 
[2026-09-24 13:25:51] local.INFO: Processing buffer {"connection_id":191334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2663220012d196600071ff1c0003801472c..."} 
[2026-09-24 13:25:51] local.INFO: Packet analysis {"connection_id":191334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d266"} 
[2026-09-24 13:25:51] local.INFO: Extracted packet for processing {"connection_id":191334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d266"} 
[2026-09-24 13:25:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300489472001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790236308000,"timestamp_ms":1790236308000,"timestamp_seconds":1790236308,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2663220"} 
[2026-09-24 13:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 13:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300489472001,"66":12504,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300489472001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:25:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:25:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300489472001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":191334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:25:51] local.INFO: GPS data processed {"connection_id":191334,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:25:51] local.INFO: Acknowledgment sent {"connection_id":191334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:26:06] local.INFO: TCP Data received {"connection_id":192706,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:26:06] local.INFO: Processing buffer {"connection_id":192706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2654ba8012d34c14006aa4940000900f52e..."} 
[2026-09-24 13:26:06] local.INFO: Packet analysis {"connection_id":192706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:26:06] local.INFO: Extracted packet for processing {"connection_id":192706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d265"} 
[2026-09-24 13:26:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300402688001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790236249000,"timestamp_ms":1790236249000,"timestamp_seconds":1790236249,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2654ba8"} 
[2026-09-24 13:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300402688001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300402688001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:26:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:26:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300402688001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":192706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:26:06] local.INFO: GPS data processed {"connection_id":192706,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:26:06] local.INFO: Acknowledgment sent {"connection_id":192706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:26:22] local.INFO: TCP Data received {"connection_id":191334,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2668428012d196600071ff1c0003801472b..."} 
[2026-09-24 13:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2668428012d196600071ff1c0003801472b..."} 
[2026-09-24 13:26:22] local.INFO: Processing buffer {"connection_id":191334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2668428012d196600071ff1c0003801472b..."} 
[2026-09-24 13:26:22] local.INFO: Packet analysis {"connection_id":191334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d266"} 
[2026-09-24 13:26:22] local.INFO: Extracted packet for processing {"connection_id":191334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d266"} 
[2026-09-24 13:26:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300494848001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790236329000,"timestamp_ms":1790236329000,"timestamp_seconds":1790236329,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2668428"} 
[2026-09-24 13:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 13:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300494848001,"66":12428,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300494848001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:26:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:26:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300494848001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":191334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:26:22] local.INFO: GPS data processed {"connection_id":191334,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:26:22] local.INFO: Acknowledgment sent {"connection_id":191334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:26:33] local.INFO: TCP Data received {"connection_id":192707,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:26:33] local.INFO: Processing buffer {"connection_id":192707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:26:33] local.INFO: IMEI packet received {"connection_id":192707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":192707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:26:38] local.INFO: TCP Data received {"connection_id":192707,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:26:38] local.INFO: Processing buffer {"connection_id":192707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:26:38] local.INFO: IMEI packet received {"connection_id":192707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":192707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:26:40] local.INFO: TCP Data received {"connection_id":192707,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:26:40] local.INFO: Processing buffer {"connection_id":192707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:26:40] local.INFO: Packet analysis {"connection_id":192707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d269"} 
[2026-09-24 13:26:40] local.INFO: Extracted packet for processing {"connection_id":192707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d269"} 
[2026-09-24 13:26:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300479744001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790236550000,"timestamp_ms":1790236550000,"timestamp_seconds":1790236550,"priority":1,"record_length":96,"hex_timestamp":"000001a0d269e370"} 
[2026-09-24 13:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 13:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300479744001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300479744001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:26:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:26:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300479744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":192707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:26:40] local.INFO: GPS data processed {"connection_id":192707,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:26:40] local.INFO: Acknowledgment sent {"connection_id":192707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:26:45] local.INFO: TCP Data received {"connection_id":191335,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:26:45] local.INFO: Processing buffer {"connection_id":191335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:26:45] local.INFO: IMEI packet received {"connection_id":191335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":191335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:26:46] local.INFO: TCP Data received {"connection_id":192707,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:26:46] local.INFO: Processing buffer {"connection_id":192707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:26:46] local.INFO: Packet analysis {"connection_id":192707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d269"} 
[2026-09-24 13:26:46] local.INFO: Extracted packet for processing {"connection_id":192707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d269"} 
[2026-09-24 13:26:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300479744001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790236550000,"timestamp_ms":1790236550000,"timestamp_seconds":1790236550,"priority":1,"record_length":96,"hex_timestamp":"000001a0d269e370"} 
[2026-09-24 13:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 13:26:46] 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-09-24 13:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":192707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":192707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":192707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300479744001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300479744001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:26:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:26:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300479744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":192707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:26:46] local.INFO: GPS data processed {"connection_id":192707,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:26:46] local.INFO: Acknowledgment sent {"connection_id":192707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:26:50] local.INFO: TCP Data received {"connection_id":191335,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:26:50] local.INFO: Processing buffer {"connection_id":191335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:26:50] local.INFO: IMEI packet received {"connection_id":191335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":191335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:26:51] local.INFO: TCP Data received {"connection_id":191335,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d266d630012d196600071ff1c0003801472c..."} 
[2026-09-24 13:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d266d630012d196600071ff1c0003801472c..."} 
[2026-09-24 13:26:51] local.INFO: Processing buffer {"connection_id":191335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d266d630012d196600071ff1c0003801472c..."} 
[2026-09-24 13:26:51] local.INFO: Packet analysis {"connection_id":191335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d266"} 
[2026-09-24 13:26:51] local.INFO: Extracted packet for processing {"connection_id":191335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d266"} 
[2026-09-24 13:26:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300500224001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790236350000,"timestamp_ms":1790236350000,"timestamp_seconds":1790236350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d266d630"} 
[2026-09-24 13:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 13:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300500224001,"66":12504,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300500224001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:26:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:26:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300500224001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":191335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:26:51] local.INFO: GPS data processed {"connection_id":191335,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:26:51] local.INFO: Acknowledgment sent {"connection_id":191335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:27:22] local.INFO: TCP Data received {"connection_id":191335,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2672838012d196600071ff1c0003801472c..."} 
[2026-09-24 13:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2672838012d196600071ff1c0003801472c..."} 
[2026-09-24 13:27:22] local.INFO: Processing buffer {"connection_id":191335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2672838012d196600071ff1c0003801472c..."} 
[2026-09-24 13:27:22] local.INFO: Packet analysis {"connection_id":191335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d267"} 
[2026-09-24 13:27:22] local.INFO: Extracted packet for processing {"connection_id":191335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d267"} 
[2026-09-24 13:27:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300505600001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790236371000,"timestamp_ms":1790236371000,"timestamp_seconds":1790236371,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2672838"} 
[2026-09-24 13:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 13:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300505600001,"66":12504,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300505600001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:27:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:27:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300505600001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":191335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:27:22] local.INFO: GPS data processed {"connection_id":191335,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:27:22] local.INFO: Acknowledgment sent {"connection_id":191335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:27:33] local.INFO: TCP Data received {"connection_id":192709,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:27:33] local.INFO: Processing buffer {"connection_id":192709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:27:33] local.INFO: IMEI packet received {"connection_id":192709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":192709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:27:39] local.INFO: TCP Data received {"connection_id":192709,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:27:39] local.INFO: Processing buffer {"connection_id":192709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:27:39] local.INFO: IMEI packet received {"connection_id":192709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":192709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:27:40] local.INFO: TCP Data received {"connection_id":192709,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:27:40] local.INFO: Processing buffer {"connection_id":192709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:27:40] local.INFO: Packet analysis {"connection_id":192709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d269"} 
[2026-09-24 13:27:40] local.INFO: Extracted packet for processing {"connection_id":192709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d269"} 
[2026-09-24 13:27:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300479744001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790236550000,"timestamp_ms":1790236550000,"timestamp_seconds":1790236550,"priority":1,"record_length":96,"hex_timestamp":"000001a0d269e370"} 
[2026-09-24 13:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 13:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300479744001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300479744001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:27:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:27:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300479744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":192709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:27:40] local.INFO: GPS data processed {"connection_id":192709,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:27:40] local.INFO: Acknowledgment sent {"connection_id":192709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:27:44] local.INFO: TCP Data received {"connection_id":192709,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:27:44] local.INFO: Processing buffer {"connection_id":192709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:27:44] local.INFO: Packet analysis {"connection_id":192709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d269"} 
[2026-09-24 13:27:44] local.INFO: Extracted packet for processing {"connection_id":192709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d269"} 
[2026-09-24 13:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300479744001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790236550000,"timestamp_ms":1790236550000,"timestamp_seconds":1790236550,"priority":1,"record_length":96,"hex_timestamp":"000001a0d269e370"} 
[2026-09-24 13:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 13:27:44] 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-09-24 13:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300479744001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300479744001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:27:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:27:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300479744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":192709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:27:44] local.INFO: GPS data processed {"connection_id":192709,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:27:44] local.INFO: Acknowledgment sent {"connection_id":192709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:27:45] local.INFO: TCP Data received {"connection_id":191138,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:27:45] local.INFO: Processing buffer {"connection_id":191138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:27:45] local.INFO: IMEI packet received {"connection_id":191138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":191138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:27:50] local.INFO: TCP Data received {"connection_id":191138,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:27:50] local.INFO: Processing buffer {"connection_id":191138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:27:50] local.INFO: IMEI packet received {"connection_id":191138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":191138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:27:51] local.INFO: TCP Data received {"connection_id":191138,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2677a40012d196600071ff1c00038014729..."} 
[2026-09-24 13:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2677a40012d196600071ff1c00038014729..."} 
[2026-09-24 13:27:51] local.INFO: Processing buffer {"connection_id":191138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2677a40012d196600071ff1c00038014729..."} 
[2026-09-24 13:27:51] local.INFO: Packet analysis {"connection_id":191138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d267"} 
[2026-09-24 13:27:51] local.INFO: Extracted packet for processing {"connection_id":191138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d267"} 
[2026-09-24 13:27:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300510976001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790236392000,"timestamp_ms":1790236392000,"timestamp_seconds":1790236392,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2677a40"} 
[2026-09-24 13:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 13:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300510976001,"66":12461,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300510976001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:27:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:27:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300510976001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":191138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:27:51] local.INFO: GPS data processed {"connection_id":191138,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:27:51] local.INFO: Acknowledgment sent {"connection_id":191138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:28:22] local.INFO: TCP Data received {"connection_id":191138,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d267cc48012d196600071ff1c0003801472a..."} 
[2026-09-24 13:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d267cc48012d196600071ff1c0003801472a..."} 
[2026-09-24 13:28:22] local.INFO: Processing buffer {"connection_id":191138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d267cc48012d196600071ff1c0003801472a..."} 
[2026-09-24 13:28:22] local.INFO: Packet analysis {"connection_id":191138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d267"} 
[2026-09-24 13:28:22] local.INFO: Extracted packet for processing {"connection_id":191138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d267"} 
[2026-09-24 13:28:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300516352001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790236413000,"timestamp_ms":1790236413000,"timestamp_seconds":1790236413,"priority":1,"record_length":96,"hex_timestamp":"000001a0d267cc48"} 
[2026-09-24 13:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 13:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300516352001,"66":12504,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300516352001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:28:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:28:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300516352001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":191138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:28:22] local.INFO: GPS data processed {"connection_id":191138,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:28:22] local.INFO: Acknowledgment sent {"connection_id":191138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:28:28] local.INFO: TCP Data received {"connection_id":192711,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:28:28] local.INFO: Processing buffer {"connection_id":192711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:28:28] local.INFO: IMEI packet received {"connection_id":192711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":192711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:28:34] local.INFO: TCP Data received {"connection_id":192711,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:28:34] local.INFO: Processing buffer {"connection_id":192711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:28:34] local.INFO: IMEI packet received {"connection_id":192711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":192711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:28:34] local.INFO: TCP Data received {"connection_id":192711,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:28:34] local.INFO: Processing buffer {"connection_id":192711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:28:34] local.INFO: Packet analysis {"connection_id":192711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d269"} 
[2026-09-24 13:28:34] local.INFO: Extracted packet for processing {"connection_id":192711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d269"} 
[2026-09-24 13:28:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300479744001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790236550000,"timestamp_ms":1790236550000,"timestamp_seconds":1790236550,"priority":1,"record_length":96,"hex_timestamp":"000001a0d269e370"} 
[2026-09-24 13:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 13:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300479744001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300479744001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:28:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:28:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300479744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":192711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:28:34] local.INFO: GPS data processed {"connection_id":192711,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:28:34] local.INFO: Acknowledgment sent {"connection_id":192711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:28:39] local.INFO: TCP Data received {"connection_id":192711,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:28:39] local.INFO: Processing buffer {"connection_id":192711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:28:39] local.INFO: Packet analysis {"connection_id":192711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d269"} 
[2026-09-24 13:28:39] local.INFO: Extracted packet for processing {"connection_id":192711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d269"} 
[2026-09-24 13:28:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300479744001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790236550000,"timestamp_ms":1790236550000,"timestamp_seconds":1790236550,"priority":1,"record_length":96,"hex_timestamp":"000001a0d269e370"} 
[2026-09-24 13:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 13:28:39] 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-09-24 13:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300479744001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300479744001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:28:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:28:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300479744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":192711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:28:39] local.INFO: GPS data processed {"connection_id":192711,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:28:39] local.INFO: Acknowledgment sent {"connection_id":192711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:28:44] local.INFO: TCP Data received {"connection_id":194002,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:28:44] local.INFO: Processing buffer {"connection_id":194002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:28:44] local.INFO: IMEI packet received {"connection_id":194002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":194002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:28:45] local.INFO: TCP Data received {"connection_id":194002,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:28:45] local.INFO: Processing buffer {"connection_id":194002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:28:45] local.INFO: IMEI packet received {"connection_id":194002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":194002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:28:50] local.INFO: TCP Data received {"connection_id":194002,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:28:50] local.INFO: Processing buffer {"connection_id":194002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:28:50] local.INFO: IMEI packet received {"connection_id":194002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":194002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:28:51] local.INFO: TCP Data received {"connection_id":194002,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26b52a0012d196600071ff1c0003801472b..."} 
[2026-09-24 13:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26b52a0012d196600071ff1c0003801472b..."} 
[2026-09-24 13:28:51] local.INFO: Processing buffer {"connection_id":194002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26b52a0012d196600071ff1c0003801472b..."} 
[2026-09-24 13:28:51] local.INFO: Packet analysis {"connection_id":194002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26b"} 
[2026-09-24 13:28:51] local.INFO: Extracted packet for processing {"connection_id":194002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26b"} 
[2026-09-24 13:28:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300575488001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790236644000,"timestamp_ms":1790236644000,"timestamp_seconds":1790236644,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26b52a0"} 
[2026-09-24 13:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-24 13:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300575488001,"66":12461,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300575488001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:28:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:28:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300575488001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":194002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:28:51] local.INFO: GPS data processed {"connection_id":194002,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:28:51] local.INFO: Acknowledgment sent {"connection_id":194002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:29:10] local.INFO: TCP Data received {"connection_id":192711,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:29:10] local.INFO: Processing buffer {"connection_id":192711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:29:10] local.INFO: Packet analysis {"connection_id":192711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d269"} 
[2026-09-24 13:29:10] local.INFO: Extracted packet for processing {"connection_id":192711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d269"} 
[2026-09-24 13:29:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300479744001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790236550000,"timestamp_ms":1790236550000,"timestamp_seconds":1790236550,"priority":1,"record_length":96,"hex_timestamp":"000001a0d269e370"} 
[2026-09-24 13:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 13:29: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-09-24 13:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300479744001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300479744001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:29:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:29:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300479744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":192711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:29:10] local.INFO: GPS data processed {"connection_id":192711,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:29:10] local.INFO: Acknowledgment sent {"connection_id":192711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:29:22] local.INFO: TCP Data received {"connection_id":194002,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26ba4a8012d196600071ff1c0003801472c..."} 
[2026-09-24 13:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26ba4a8012d196600071ff1c0003801472c..."} 
[2026-09-24 13:29:22] local.INFO: Processing buffer {"connection_id":194002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26ba4a8012d196600071ff1c0003801472c..."} 
[2026-09-24 13:29:22] local.INFO: Packet analysis {"connection_id":194002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26b"} 
[2026-09-24 13:29:22] local.INFO: Extracted packet for processing {"connection_id":194002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26b"} 
[2026-09-24 13:29:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300580864001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790236665000,"timestamp_ms":1790236665000,"timestamp_seconds":1790236665,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26ba4a8"} 
[2026-09-24 13:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 13:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300580864001,"66":12428,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300580864001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:29:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:29:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300580864001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":194002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:29:22] local.INFO: GPS data processed {"connection_id":194002,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:29:22] local.INFO: Acknowledgment sent {"connection_id":194002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:29:28] local.INFO: TCP Data received {"connection_id":191139,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:29:28] local.INFO: Processing buffer {"connection_id":191139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:29:28] local.INFO: IMEI packet received {"connection_id":191139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":191139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:29:34] local.INFO: TCP Data received {"connection_id":191139,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:29:34] local.INFO: Processing buffer {"connection_id":191139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:29:34] local.INFO: IMEI packet received {"connection_id":191139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":191139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:29:35] local.INFO: TCP Data received {"connection_id":191139,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:29:35] local.INFO: Processing buffer {"connection_id":191139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:29:35] local.INFO: Packet analysis {"connection_id":191139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d269"} 
[2026-09-24 13:29:35] local.INFO: Extracted packet for processing {"connection_id":191139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d269"} 
[2026-09-24 13:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300479744001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790236550000,"timestamp_ms":1790236550000,"timestamp_seconds":1790236550,"priority":1,"record_length":96,"hex_timestamp":"000001a0d269e370"} 
[2026-09-24 13:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 13:29:35] 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-09-24 13:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300479744001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300479744001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:29:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:29:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300479744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":191139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:29:35] local.INFO: GPS data processed {"connection_id":191139,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:29:35] local.INFO: Acknowledgment sent {"connection_id":191139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:29:45] local.INFO: TCP Data received {"connection_id":191337,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:29:45] local.INFO: Processing buffer {"connection_id":191337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:29:45] local.INFO: IMEI packet received {"connection_id":191337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":191337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:29:47] local.INFO: TCP Data received {"connection_id":191337,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:29:47] local.INFO: Processing buffer {"connection_id":191337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:29:47] local.INFO: IMEI packet received {"connection_id":191337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":191337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:29:50] local.INFO: TCP Data received {"connection_id":191337,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:29:50] local.INFO: Processing buffer {"connection_id":191337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:29:50] local.INFO: IMEI packet received {"connection_id":191337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":191337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:29:51] local.INFO: TCP Data received {"connection_id":191337,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26bf6b0012d196600071ff1c0003801472b..."} 
[2026-09-24 13:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26bf6b0012d196600071ff1c0003801472b..."} 
[2026-09-24 13:29:51] local.INFO: Processing buffer {"connection_id":191337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26bf6b0012d196600071ff1c0003801472b..."} 
[2026-09-24 13:29:51] local.INFO: Packet analysis {"connection_id":191337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26b"} 
[2026-09-24 13:29:51] local.INFO: Extracted packet for processing {"connection_id":191337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26b"} 
[2026-09-24 13:29:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300586240001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790236686000,"timestamp_ms":1790236686000,"timestamp_seconds":1790236686,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26bf6b0"} 
[2026-09-24 13:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 13:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300586240001,"66":12461,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300586240001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:29:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:29:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300586240001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":191337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:29:51] local.INFO: GPS data processed {"connection_id":191337,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:29:51] local.INFO: Acknowledgment sent {"connection_id":191337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:30:07] local.INFO: TCP Data received {"connection_id":191139,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:30:07] local.INFO: Processing buffer {"connection_id":191139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:30:07] local.INFO: Packet analysis {"connection_id":191139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d269"} 
[2026-09-24 13:30:07] local.INFO: Extracted packet for processing {"connection_id":191139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d269"} 
[2026-09-24 13:30:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300479744001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790236550000,"timestamp_ms":1790236550000,"timestamp_seconds":1790236550,"priority":1,"record_length":96,"hex_timestamp":"000001a0d269e370"} 
[2026-09-24 13:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 13:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300479744001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300479744001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:30:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:30:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300479744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":191139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:30:07] local.INFO: GPS data processed {"connection_id":191139,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:30:07] local.INFO: Acknowledgment sent {"connection_id":191139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:30:22] local.INFO: TCP Data received {"connection_id":191337,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26c48b8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26c48b8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:30:22] local.INFO: Processing buffer {"connection_id":191337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26c48b8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:30:22] local.INFO: Packet analysis {"connection_id":191337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26c"} 
[2026-09-24 13:30:22] local.INFO: Extracted packet for processing {"connection_id":191337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26c"} 
[2026-09-24 13:30:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300591616001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790236707000,"timestamp_ms":1790236707000,"timestamp_seconds":1790236707,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26c48b8"} 
[2026-09-24 13:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 13:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300591616001,"66":12461,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300591616001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:30:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:30:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300591616001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":191337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:30:22] local.INFO: GPS data processed {"connection_id":191337,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:30:22] local.INFO: Acknowledgment sent {"connection_id":191337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:30:29] local.INFO: TCP Data received {"connection_id":192713,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:30:29] local.INFO: Processing buffer {"connection_id":192713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:30:29] local.INFO: IMEI packet received {"connection_id":192713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":192713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:30:33] local.INFO: TCP Data received {"connection_id":192713,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:30:33] local.INFO: Processing buffer {"connection_id":192713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:30:33] local.INFO: IMEI packet received {"connection_id":192713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":192713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:30:34] local.INFO: TCP Data received {"connection_id":192713,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:30:34] local.INFO: Processing buffer {"connection_id":192713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:30:34] local.INFO: Packet analysis {"connection_id":192713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d269"} 
[2026-09-24 13:30:34] local.INFO: Extracted packet for processing {"connection_id":192713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d269"} 
[2026-09-24 13:30:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300479744001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790236550000,"timestamp_ms":1790236550000,"timestamp_seconds":1790236550,"priority":1,"record_length":96,"hex_timestamp":"000001a0d269e370"} 
[2026-09-24 13:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 13:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300479744001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300479744001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:30:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:30:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300479744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":192713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:30:34] local.INFO: GPS data processed {"connection_id":192713,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:30:34] local.INFO: Acknowledgment sent {"connection_id":192713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:30:42] local.INFO: TCP Data received {"connection_id":192712,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:30:42] local.INFO: Processing buffer {"connection_id":192712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:30:42] local.INFO: IMEI packet received {"connection_id":192712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 13:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":192712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:30:45] local.INFO: TCP Data received {"connection_id":192714,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:30:45] local.INFO: Processing buffer {"connection_id":192714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:30:45] local.INFO: IMEI packet received {"connection_id":192714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":192714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:30:50] local.INFO: TCP Data received {"connection_id":192714,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:30:50] local.INFO: Processing buffer {"connection_id":192714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:30:50] local.INFO: IMEI packet received {"connection_id":192714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":192714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:30:51] local.INFO: TCP Data received {"connection_id":192714,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26c9ac0012d196600071ff1c0003801472c..."} 
[2026-09-24 13:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26c9ac0012d196600071ff1c0003801472c..."} 
[2026-09-24 13:30:51] local.INFO: Processing buffer {"connection_id":192714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26c9ac0012d196600071ff1c0003801472c..."} 
[2026-09-24 13:30:51] local.INFO: Packet analysis {"connection_id":192714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26c"} 
[2026-09-24 13:30:51] local.INFO: Extracted packet for processing {"connection_id":192714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26c"} 
[2026-09-24 13:30:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300596992001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790236728000,"timestamp_ms":1790236728000,"timestamp_seconds":1790236728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26c9ac0"} 
[2026-09-24 13:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 13:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300596992001,"66":12428,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300596992001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:30:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:30:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300596992001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":192714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:30:51] local.INFO: GPS data processed {"connection_id":192714,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:30:51] local.INFO: Acknowledgment sent {"connection_id":192714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:31:06] local.INFO: TCP Data received {"connection_id":192713,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:31:06] local.INFO: Processing buffer {"connection_id":192713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d269e370012d34c14006aa4940000900f52b..."} 
[2026-09-24 13:31:06] local.INFO: Packet analysis {"connection_id":192713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d269"} 
[2026-09-24 13:31:06] local.INFO: Extracted packet for processing {"connection_id":192713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d269"} 
[2026-09-24 13:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300479744001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790236550000,"timestamp_ms":1790236550000,"timestamp_seconds":1790236550,"priority":1,"record_length":96,"hex_timestamp":"000001a0d269e370"} 
[2026-09-24 13:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 13:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300479744001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300479744001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:31:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:31:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300479744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":192713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:31:06] local.INFO: GPS data processed {"connection_id":192713,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:31:06] local.INFO: Acknowledgment sent {"connection_id":192713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:31:07] local.INFO: TCP Data received {"connection_id":192715,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:31:07] local.INFO: Processing buffer {"connection_id":192715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:31:07] local.INFO: IMEI packet received {"connection_id":192715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 13:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":192715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:31:22] local.INFO: TCP Data received {"connection_id":192714,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26cecc8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26cecc8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:31:22] local.INFO: Processing buffer {"connection_id":192714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26cecc8012d196600071ff1c0003801472b..."} 
[2026-09-24 13:31:22] local.INFO: Packet analysis {"connection_id":192714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26c"} 
[2026-09-24 13:31:22] local.INFO: Extracted packet for processing {"connection_id":192714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26c"} 
[2026-09-24 13:31:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300602368001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790236749000,"timestamp_ms":1790236749000,"timestamp_seconds":1790236749,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26cecc8"} 
[2026-09-24 13:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 13:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300602368001,"66":12232,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300602368001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:31:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:31:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300602368001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":192714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:31:22] local.INFO: GPS data processed {"connection_id":192714,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:31:22] local.INFO: Acknowledgment sent {"connection_id":192714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:31:29] local.INFO: TCP Data received {"connection_id":194003,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:31:29] local.INFO: Processing buffer {"connection_id":194003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:31:29] local.INFO: IMEI packet received {"connection_id":194003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":194003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:31:29] local.INFO: TCP Data received {"connection_id":194003,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:31:29] local.INFO: Processing buffer {"connection_id":194003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:31:29] local.INFO: IMEI packet received {"connection_id":194003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":194003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:31:33] local.INFO: TCP Data received {"connection_id":194003,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:31:33] local.INFO: Processing buffer {"connection_id":194003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:31:33] local.INFO: IMEI packet received {"connection_id":194003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":194003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:31:35] local.INFO: TCP Data received {"connection_id":194003,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:31:35] local.INFO: Processing buffer {"connection_id":194003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:31:35] local.INFO: Packet analysis {"connection_id":194003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:31:35] local.INFO: Extracted packet for processing {"connection_id":194003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:31:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300556800001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790236851000,"timestamp_ms":1790236851000,"timestamp_seconds":1790236851,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26e7b38"} 
[2026-09-24 13:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 13:31:35] 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-09-24 13:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300556800001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300556800001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:31:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:31:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300556800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":194003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:31:35] local.INFO: GPS data processed {"connection_id":194003,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:31:35] local.INFO: Acknowledgment sent {"connection_id":194003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:31:50] local.INFO: TCP Data received {"connection_id":191140,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:31:50] local.INFO: Processing buffer {"connection_id":191140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:31:50] local.INFO: IMEI packet received {"connection_id":191140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":191140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:31:54] local.INFO: TCP Data received {"connection_id":191140,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:31:54] local.INFO: Processing buffer {"connection_id":191140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:31:54] local.INFO: IMEI packet received {"connection_id":191140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":191140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:31:54] local.INFO: TCP Data received {"connection_id":191140,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26d3ed0012d196600071ff1c0003801472d..."} 
[2026-09-24 13:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26d3ed0012d196600071ff1c0003801472d..."} 
[2026-09-24 13:31:54] local.INFO: Processing buffer {"connection_id":191140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26d3ed0012d196600071ff1c0003801472d..."} 
[2026-09-24 13:31:54] local.INFO: Packet analysis {"connection_id":191140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26d"} 
[2026-09-24 13:31:54] local.INFO: Extracted packet for processing {"connection_id":191140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26d"} 
[2026-09-24 13:31:54] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300607744001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790236770000,"timestamp_ms":1790236770000,"timestamp_seconds":1790236770,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26d3ed0"} 
[2026-09-24 13:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-24 13:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":191140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":191140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":191140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300607744001,"66":12461,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300607744001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:31:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:31:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300607744001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":191140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:31:54] local.INFO: GPS data processed {"connection_id":191140,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:31:54] local.INFO: Acknowledgment sent {"connection_id":191140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:31:55] local.INFO: TCP Data received {"connection_id":191140,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26d90d8012d196600071ff1c0003801472d..."} 
[2026-09-24 13:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26d90d8012d196600071ff1c0003801472d..."} 
[2026-09-24 13:31:55] local.INFO: Processing buffer {"connection_id":191140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26d90d8012d196600071ff1c0003801472d..."} 
[2026-09-24 13:31:55] local.INFO: Packet analysis {"connection_id":191140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26d"} 
[2026-09-24 13:31:55] local.INFO: Extracted packet for processing {"connection_id":191140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26d"} 
[2026-09-24 13:31:55] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":45,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300613120001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790236791000,"timestamp_ms":1790236791000,"timestamp_seconds":1790236791,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26d90d8"} 
[2026-09-24 13:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 13:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300613120001,"66":12461,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300613120001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:31:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:31:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300613120001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":191140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:31:55] local.INFO: GPS data processed {"connection_id":191140,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:31:55] local.INFO: Acknowledgment sent {"connection_id":191140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:32:07] local.INFO: TCP Data received {"connection_id":194003,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:32:07] local.INFO: Processing buffer {"connection_id":194003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:32:07] local.INFO: Packet analysis {"connection_id":194003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:32:07] local.INFO: Extracted packet for processing {"connection_id":194003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:32:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300556800001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790236851000,"timestamp_ms":1790236851000,"timestamp_seconds":1790236851,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26e7b38"} 
[2026-09-24 13:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 13:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":194003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":194003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":194003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300556800001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300556800001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:32:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:32:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300556800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":194003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:32:07] local.INFO: GPS data processed {"connection_id":194003,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:32:07] local.INFO: Acknowledgment sent {"connection_id":194003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:32:26] local.INFO: TCP Data received {"connection_id":191140,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26de2e0012d196600071ff1c0003801472b..."} 
[2026-09-24 13:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26de2e0012d196600071ff1c0003801472b..."} 
[2026-09-24 13:32:26] local.INFO: Processing buffer {"connection_id":191140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26de2e0012d196600071ff1c0003801472b..."} 
[2026-09-24 13:32:26] local.INFO: Packet analysis {"connection_id":191140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26d"} 
[2026-09-24 13:32:26] local.INFO: Extracted packet for processing {"connection_id":191140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26d"} 
[2026-09-24 13:32:26] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300618496001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790236812000,"timestamp_ms":1790236812000,"timestamp_seconds":1790236812,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26de2e0"} 
[2026-09-24 13:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 13:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300618496001,"66":12461,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300618496001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:32:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:32:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300618496001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":191140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:32:26] local.INFO: GPS data processed {"connection_id":191140,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:32:26] local.INFO: Acknowledgment sent {"connection_id":191140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:32:33] local.INFO: TCP Data received {"connection_id":194004,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:32:33] local.INFO: Processing buffer {"connection_id":194004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:32:33] local.INFO: IMEI packet received {"connection_id":194004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":194004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:32:38] local.INFO: TCP Data received {"connection_id":194004,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:32:38] local.INFO: Processing buffer {"connection_id":194004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:32:38] local.INFO: IMEI packet received {"connection_id":194004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":194004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:32:39] local.INFO: TCP Data received {"connection_id":194004,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:32:39] local.INFO: Processing buffer {"connection_id":194004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:32:39] local.INFO: Packet analysis {"connection_id":194004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:32:39] local.INFO: Extracted packet for processing {"connection_id":194004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:32:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300556800001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790236851000,"timestamp_ms":1790236851000,"timestamp_seconds":1790236851,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26e7b38"} 
[2026-09-24 13:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 13:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300556800001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300556800001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:32:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:32:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300556800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":194004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:32:39] local.INFO: GPS data processed {"connection_id":194004,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:32:39] local.INFO: Acknowledgment sent {"connection_id":194004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:32:45] local.INFO: TCP Data received {"connection_id":192717,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:32:45] local.INFO: Processing buffer {"connection_id":192717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:32:45] local.INFO: IMEI packet received {"connection_id":192717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":192717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:32:45] local.INFO: TCP Data received {"connection_id":194004,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:32:45] local.INFO: Processing buffer {"connection_id":194004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:32:45] local.INFO: Packet analysis {"connection_id":194004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:32:45] local.INFO: Extracted packet for processing {"connection_id":194004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:32:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300556800001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790236851000,"timestamp_ms":1790236851000,"timestamp_seconds":1790236851,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26e7b38"} 
[2026-09-24 13:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 13:32:45] 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-09-24 13:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":194004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":194004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":194004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300556800001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300556800001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:32:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:32:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300556800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":194004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:32:45] local.INFO: GPS data processed {"connection_id":194004,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:32:45] local.INFO: Acknowledgment sent {"connection_id":194004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:32:50] local.INFO: TCP Data received {"connection_id":192717,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:32:50] local.INFO: Processing buffer {"connection_id":192717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:32:50] local.INFO: IMEI packet received {"connection_id":192717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":192717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:32:51] local.INFO: TCP Data received {"connection_id":192717,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26e34e8012d196600071ff1c0003801472a..."} 
[2026-09-24 13:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26e34e8012d196600071ff1c0003801472a..."} 
[2026-09-24 13:32:51] local.INFO: Processing buffer {"connection_id":192717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26e34e8012d196600071ff1c0003801472a..."} 
[2026-09-24 13:32:51] local.INFO: Packet analysis {"connection_id":192717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:32:51] local.INFO: Extracted packet for processing {"connection_id":192717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:32:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300623872001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790236833000,"timestamp_ms":1790236833000,"timestamp_seconds":1790236833,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26e34e8"} 
[2026-09-24 13:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 13:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300623872001,"66":12439,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300623872001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:32:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:32:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300623872001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":192717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:32:51] local.INFO: GPS data processed {"connection_id":192717,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:32:51] local.INFO: Acknowledgment sent {"connection_id":192717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:33:22] local.INFO: TCP Data received {"connection_id":192717,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26e86f0012d196600071ff1c0003801472a..."} 
[2026-09-24 13:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26e86f0012d196600071ff1c0003801472a..."} 
[2026-09-24 13:33:22] local.INFO: Processing buffer {"connection_id":192717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26e86f0012d196600071ff1c0003801472a..."} 
[2026-09-24 13:33:22] local.INFO: Packet analysis {"connection_id":192717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:33:22] local.INFO: Extracted packet for processing {"connection_id":192717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:33:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300629248001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790236854000,"timestamp_ms":1790236854000,"timestamp_seconds":1790236854,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26e86f0"} 
[2026-09-24 13:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 13:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300629248001,"66":12406,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300629248001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:33:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:33:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300629248001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":192717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:33:22] local.INFO: GPS data processed {"connection_id":192717,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:33:22] local.INFO: Acknowledgment sent {"connection_id":192717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:33:28] local.INFO: TCP Data received {"connection_id":191338,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:33:28] local.INFO: Processing buffer {"connection_id":191338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:33:28] local.INFO: IMEI packet received {"connection_id":191338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":191338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:33:33] local.INFO: TCP Data received {"connection_id":191338,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:33:33] local.INFO: Processing buffer {"connection_id":191338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:33:33] local.INFO: IMEI packet received {"connection_id":191338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":191338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:33:35] local.INFO: TCP Data received {"connection_id":191338,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:33:35] local.INFO: Processing buffer {"connection_id":191338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:33:35] local.INFO: Packet analysis {"connection_id":191338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:33:35] local.INFO: Extracted packet for processing {"connection_id":191338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300556800001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790236851000,"timestamp_ms":1790236851000,"timestamp_seconds":1790236851,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26e7b38"} 
[2026-09-24 13:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 13:33:35] 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-09-24 13: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-09-24 13:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300556800001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300556800001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:33:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:33:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300556800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":191338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:33:35] local.INFO: GPS data processed {"connection_id":191338,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:33:35] local.INFO: Acknowledgment sent {"connection_id":191338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:33:45] local.INFO: TCP Data received {"connection_id":191141,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:33:45] local.INFO: Processing buffer {"connection_id":191141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:33:45] local.INFO: IMEI packet received {"connection_id":191141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":191141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:33:50] local.INFO: TCP Data received {"connection_id":191141,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:33:50] local.INFO: Processing buffer {"connection_id":191141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:33:50] local.INFO: IMEI packet received {"connection_id":191141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":191141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:33:51] local.INFO: TCP Data received {"connection_id":191141,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26ed8f8012d196600071ff1c0003801472a..."} 
[2026-09-24 13:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26ed8f8012d196600071ff1c0003801472a..."} 
[2026-09-24 13:33:51] local.INFO: Processing buffer {"connection_id":191141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26ed8f8012d196600071ff1c0003801472a..."} 
[2026-09-24 13:33:51] local.INFO: Packet analysis {"connection_id":191141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:33:51] local.INFO: Extracted packet for processing {"connection_id":191141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:33:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300634624001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790236875000,"timestamp_ms":1790236875000,"timestamp_seconds":1790236875,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26ed8f8"} 
[2026-09-24 13:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 13:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300634624001,"66":12319,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300634624001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:33:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:33:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300634624001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":191141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:33:51] local.INFO: GPS data processed {"connection_id":191141,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:33:51] local.INFO: Acknowledgment sent {"connection_id":191141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:34:06] local.INFO: TCP Data received {"connection_id":191338,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:34:06] local.INFO: Processing buffer {"connection_id":191338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:34:06] local.INFO: Packet analysis {"connection_id":191338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:34:06] local.INFO: Extracted packet for processing {"connection_id":191338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:34:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300556800001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790236851000,"timestamp_ms":1790236851000,"timestamp_seconds":1790236851,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26e7b38"} 
[2026-09-24 13:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 13:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300556800001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300556800001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:34:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:34:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300556800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":191338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:34:06] local.INFO: GPS data processed {"connection_id":191338,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:34:06] local.INFO: Acknowledgment sent {"connection_id":191338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:34:22] local.INFO: TCP Data received {"connection_id":191141,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26f2b00012d196600071ff1c00038014729..."} 
[2026-09-24 13:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26f2b00012d196600071ff1c00038014729..."} 
[2026-09-24 13:34:22] local.INFO: Processing buffer {"connection_id":191141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26f2b00012d196600071ff1c00038014729..."} 
[2026-09-24 13:34:22] local.INFO: Packet analysis {"connection_id":191141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26f"} 
[2026-09-24 13:34:22] local.INFO: Extracted packet for processing {"connection_id":191141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26f"} 
[2026-09-24 13:34:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300640000001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790236896000,"timestamp_ms":1790236896000,"timestamp_seconds":1790236896,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26f2b00"} 
[2026-09-24 13:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-24 13:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300640000001,"66":12428,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300640000001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:34:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:34:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300640000001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":191141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:34:22] local.INFO: GPS data processed {"connection_id":191141,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:34:22] local.INFO: Acknowledgment sent {"connection_id":191141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:34:28] local.INFO: TCP Data received {"connection_id":191142,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:34:28] local.INFO: Processing buffer {"connection_id":191142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:34:28] local.INFO: IMEI packet received {"connection_id":191142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":191142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:34:33] local.INFO: TCP Data received {"connection_id":191142,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:34:33] local.INFO: Processing buffer {"connection_id":191142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:34:33] local.INFO: IMEI packet received {"connection_id":191142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":191142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:34:35] local.INFO: TCP Data received {"connection_id":191142,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:34:35] local.INFO: Processing buffer {"connection_id":191142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:34:35] local.INFO: Packet analysis {"connection_id":191142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:34:35] local.INFO: Extracted packet for processing {"connection_id":191142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:34:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300556800001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790236851000,"timestamp_ms":1790236851000,"timestamp_seconds":1790236851,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26e7b38"} 
[2026-09-24 13:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 13:34:35] 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-09-24 13:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300556800001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300556800001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:34:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:34:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300556800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":191142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:34:35] local.INFO: GPS data processed {"connection_id":191142,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:34:35] local.INFO: Acknowledgment sent {"connection_id":191142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:34:45] local.INFO: TCP Data received {"connection_id":192720,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:34:45] local.INFO: Processing buffer {"connection_id":192720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:34:45] local.INFO: IMEI packet received {"connection_id":192720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":192720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:34:50] local.INFO: TCP Data received {"connection_id":192720,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:34:50] local.INFO: Processing buffer {"connection_id":192720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:34:50] local.INFO: IMEI packet received {"connection_id":192720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":192720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:34:51] local.INFO: TCP Data received {"connection_id":192720,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26f7d08012d196600071ff1c0003801472c..."} 
[2026-09-24 13:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26f7d08012d196600071ff1c0003801472c..."} 
[2026-09-24 13:34:51] local.INFO: Processing buffer {"connection_id":192720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26f7d08012d196600071ff1c0003801472c..."} 
[2026-09-24 13:34:51] local.INFO: Packet analysis {"connection_id":192720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26f"} 
[2026-09-24 13:34:51] local.INFO: Extracted packet for processing {"connection_id":192720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26f"} 
[2026-09-24 13:34:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300645376001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790236917000,"timestamp_ms":1790236917000,"timestamp_seconds":1790236917,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26f7d08"} 
[2026-09-24 13:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 13:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300645376001,"66":12428,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300645376001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:34:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:34:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300645376001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":192720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:34:51] local.INFO: GPS data processed {"connection_id":192720,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:34:51] local.INFO: Acknowledgment sent {"connection_id":192720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:35:07] local.INFO: TCP Data received {"connection_id":191142,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:35:07] local.INFO: Processing buffer {"connection_id":191142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:35:07] local.INFO: Packet analysis {"connection_id":191142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:35:07] local.INFO: Extracted packet for processing {"connection_id":191142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:35:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300556800001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790236851000,"timestamp_ms":1790236851000,"timestamp_seconds":1790236851,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26e7b38"} 
[2026-09-24 13:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 13:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300556800001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300556800001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:35:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:35:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300556800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":191142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:35:07] local.INFO: GPS data processed {"connection_id":191142,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:35:07] local.INFO: Acknowledgment sent {"connection_id":191142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:35:22] local.INFO: TCP Data received {"connection_id":192720,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26fcf10012d196600071ff1c0003801472c..."} 
[2026-09-24 13:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26fcf10012d196600071ff1c0003801472c..."} 
[2026-09-24 13:35:22] local.INFO: Processing buffer {"connection_id":192720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26fcf10012d196600071ff1c0003801472c..."} 
[2026-09-24 13:35:22] local.INFO: Packet analysis {"connection_id":192720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26f"} 
[2026-09-24 13:35:22] local.INFO: Extracted packet for processing {"connection_id":192720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26f"} 
[2026-09-24 13:35:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300650752001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790236938000,"timestamp_ms":1790236938000,"timestamp_seconds":1790236938,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26fcf10"} 
[2026-09-24 13:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 13:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300650752001,"66":12439,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300650752001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:35:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:35:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300650752001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":192720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:35:22] local.INFO: GPS data processed {"connection_id":192720,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:35:22] local.INFO: Acknowledgment sent {"connection_id":192720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:35:28] local.INFO: TCP Data received {"connection_id":191340,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:35:28] local.INFO: Processing buffer {"connection_id":191340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:35:28] local.INFO: IMEI packet received {"connection_id":191340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":191340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:35:33] local.INFO: TCP Data received {"connection_id":191340,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:35:33] local.INFO: Processing buffer {"connection_id":191340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:35:33] local.INFO: IMEI packet received {"connection_id":191340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":191340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:35:35] local.INFO: TCP Data received {"connection_id":191340,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:35:35] local.INFO: Processing buffer {"connection_id":191340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:35:35] local.INFO: Packet analysis {"connection_id":191340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:35:35] local.INFO: Extracted packet for processing {"connection_id":191340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300556800001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790236851000,"timestamp_ms":1790236851000,"timestamp_seconds":1790236851,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26e7b38"} 
[2026-09-24 13:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 13:35:35] 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-09-24 13: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-09-24 13:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300556800001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300556800001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:35:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:35:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300556800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":191340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:35:35] local.INFO: GPS data processed {"connection_id":191340,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:35:35] local.INFO: Acknowledgment sent {"connection_id":191340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:35:44] local.INFO: TCP Data received {"connection_id":192721,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:35:44] local.INFO: Processing buffer {"connection_id":192721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:35:44] local.INFO: IMEI packet received {"connection_id":192721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":192721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:35:45] local.INFO: TCP Data received {"connection_id":192721,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:35:45] local.INFO: Processing buffer {"connection_id":192721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:35:45] local.INFO: IMEI packet received {"connection_id":192721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":192721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:35:50] local.INFO: TCP Data received {"connection_id":192721,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:35:50] local.INFO: Processing buffer {"connection_id":192721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:35:50] local.INFO: IMEI packet received {"connection_id":192721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":192721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:35:51] local.INFO: TCP Data received {"connection_id":192721,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2702118012d196600071ff1c0003801472c..."} 
[2026-09-24 13:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2702118012d196600071ff1c0003801472c..."} 
[2026-09-24 13:35:51] local.INFO: Processing buffer {"connection_id":192721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2702118012d196600071ff1c0003801472c..."} 
[2026-09-24 13:35:51] local.INFO: Packet analysis {"connection_id":192721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d270"} 
[2026-09-24 13:35:51] local.INFO: Extracted packet for processing {"connection_id":192721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d270"} 
[2026-09-24 13:35:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300656128001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790236959000,"timestamp_ms":1790236959000,"timestamp_seconds":1790236959,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2702118"} 
[2026-09-24 13:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 13:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300656128001,"66":12461,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300656128001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:35:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:35:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300656128001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":192721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:35:51] local.INFO: GPS data processed {"connection_id":192721,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:35:51] local.INFO: Acknowledgment sent {"connection_id":192721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:36:07] local.INFO: TCP Data received {"connection_id":191340,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:36:07] local.INFO: Processing buffer {"connection_id":191340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d26e7b38012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:36:07] local.INFO: Packet analysis {"connection_id":191340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:36:07] local.INFO: Extracted packet for processing {"connection_id":191340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d26e"} 
[2026-09-24 13:36:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300556800001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790236851000,"timestamp_ms":1790236851000,"timestamp_seconds":1790236851,"priority":1,"record_length":96,"hex_timestamp":"000001a0d26e7b38"} 
[2026-09-24 13:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 13:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300556800001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300556800001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:36:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:36:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300556800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":191340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:36:07] local.INFO: GPS data processed {"connection_id":191340,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:36:07] local.INFO: Acknowledgment sent {"connection_id":191340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:36:22] local.INFO: TCP Data received {"connection_id":192721,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2707320012d196600071ff1c0003801472c..."} 
[2026-09-24 13:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2707320012d196600071ff1c0003801472c..."} 
[2026-09-24 13:36:22] local.INFO: Processing buffer {"connection_id":192721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2707320012d196600071ff1c0003801472c..."} 
[2026-09-24 13:36:22] local.INFO: Packet analysis {"connection_id":192721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d270"} 
[2026-09-24 13:36:22] local.INFO: Extracted packet for processing {"connection_id":192721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d270"} 
[2026-09-24 13:36:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":44,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300661504001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790236980000,"timestamp_ms":1790236980000,"timestamp_seconds":1790236980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2707320"} 
[2026-09-24 13:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 13:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300661504001,"66":12461,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300661504001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:36:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:36:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300661504001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":192721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:36:22] local.INFO: GPS data processed {"connection_id":192721,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:36:22] local.INFO: Acknowledgment sent {"connection_id":192721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:36:28] local.INFO: TCP Data received {"connection_id":191143,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:36:28] local.INFO: Processing buffer {"connection_id":191143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:36:28] local.INFO: IMEI packet received {"connection_id":191143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":191143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:36:30] local.INFO: TCP Data received {"connection_id":191143,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:36:30] local.INFO: Processing buffer {"connection_id":191143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:36:30] local.INFO: IMEI packet received {"connection_id":191143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":191143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:36:33] local.INFO: TCP Data received {"connection_id":191143,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:36:33] local.INFO: Processing buffer {"connection_id":191143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:36:33] local.INFO: IMEI packet received {"connection_id":191143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":191143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:36:36] local.INFO: TCP Data received {"connection_id":191143,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:36:36] local.INFO: Processing buffer {"connection_id":191143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:36:36] local.INFO: Packet analysis {"connection_id":191143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d273"} 
[2026-09-24 13:36:36] local.INFO: Extracted packet for processing {"connection_id":191143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d273"} 
[2026-09-24 13:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300633856001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790237152000,"timestamp_ms":1790237152000,"timestamp_seconds":1790237152,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2731300"} 
[2026-09-24 13:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300633856001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300633856001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:36:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:36:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300633856001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":191143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:36:36] local.INFO: GPS data processed {"connection_id":191143,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:36:36] local.INFO: Acknowledgment sent {"connection_id":191143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:36:37] local.INFO: TCP Data received {"connection_id":191341,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:36:37] local.INFO: Processing buffer {"connection_id":191341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:36:37] local.INFO: IMEI packet received {"connection_id":191341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 13:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":191341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:36:45] local.INFO: TCP Data received {"connection_id":191144,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:36:45] local.INFO: Processing buffer {"connection_id":191144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:36:45] local.INFO: IMEI packet received {"connection_id":191144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":191144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:36:47] local.INFO: TCP Data received {"connection_id":191144,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:36:47] local.INFO: Processing buffer {"connection_id":191144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:36:47] local.INFO: IMEI packet received {"connection_id":191144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":191144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:36:50] local.INFO: TCP Data received {"connection_id":191144,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:36:50] local.INFO: Processing buffer {"connection_id":191144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:36:50] local.INFO: IMEI packet received {"connection_id":191144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":191144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:36:51] local.INFO: TCP Data received {"connection_id":191144,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d270c528012d196600071ff1c00038014727..."} 
[2026-09-24 13:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d270c528012d196600071ff1c00038014727..."} 
[2026-09-24 13:36:51] local.INFO: Processing buffer {"connection_id":191144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d270c528012d196600071ff1c00038014727..."} 
[2026-09-24 13:36:51] local.INFO: Packet analysis {"connection_id":191144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d270"} 
[2026-09-24 13:36:51] local.INFO: Extracted packet for processing {"connection_id":191144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d270"} 
[2026-09-24 13:36:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300666880001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790237001000,"timestamp_ms":1790237001000,"timestamp_seconds":1790237001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d270c528"} 
[2026-09-24 13:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 13:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300666880001,"66":12461,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300666880001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:36:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:36:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300666880001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":191144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:36:51] local.INFO: GPS data processed {"connection_id":191144,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:36:51] local.INFO: Acknowledgment sent {"connection_id":191144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:37:07] local.INFO: TCP Data received {"connection_id":191342,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:37:07] local.INFO: Processing buffer {"connection_id":191342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:37:07] local.INFO: IMEI packet received {"connection_id":191342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 13:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":191342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:37:07] local.INFO: TCP Data received {"connection_id":191143,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:37:07] local.INFO: Processing buffer {"connection_id":191143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:37:07] local.INFO: Packet analysis {"connection_id":191143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d273"} 
[2026-09-24 13:37:07] local.INFO: Extracted packet for processing {"connection_id":191143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d273"} 
[2026-09-24 13:37:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300633856001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790237152000,"timestamp_ms":1790237152000,"timestamp_seconds":1790237152,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2731300"} 
[2026-09-24 13:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300633856001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300633856001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:37:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:37:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300633856001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":191143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:37:07] local.INFO: GPS data processed {"connection_id":191143,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:37:07] local.INFO: Acknowledgment sent {"connection_id":191143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:37:22] local.INFO: TCP Data received {"connection_id":191144,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2711730012d196600071ff1c00038014729..."} 
[2026-09-24 13:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2711730012d196600071ff1c00038014729..."} 
[2026-09-24 13:37:22] local.INFO: Processing buffer {"connection_id":191144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2711730012d196600071ff1c00038014729..."} 
[2026-09-24 13:37:22] local.INFO: Packet analysis {"connection_id":191144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d271"} 
[2026-09-24 13:37:22] local.INFO: Extracted packet for processing {"connection_id":191144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d271"} 
[2026-09-24 13:37:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300672256001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790237022000,"timestamp_ms":1790237022000,"timestamp_seconds":1790237022,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2711730"} 
[2026-09-24 13:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 13:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300672256001,"66":12439,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300672256001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:37:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:37:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300672256001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":191144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:37:22] local.INFO: GPS data processed {"connection_id":191144,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:37:22] local.INFO: Acknowledgment sent {"connection_id":191144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:37:33] local.INFO: TCP Data received {"connection_id":191145,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:37:33] local.INFO: Processing buffer {"connection_id":191145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:37:33] local.INFO: IMEI packet received {"connection_id":191145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":191145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:37:40] local.INFO: TCP Data received {"connection_id":191145,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:37:40] local.INFO: Processing buffer {"connection_id":191145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:37:40] local.INFO: IMEI packet received {"connection_id":191145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":191145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:37:41] local.INFO: TCP Data received {"connection_id":191145,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:37:41] local.INFO: Processing buffer {"connection_id":191145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:37:41] local.INFO: Packet analysis {"connection_id":191145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d273"} 
[2026-09-24 13:37:41] local.INFO: Extracted packet for processing {"connection_id":191145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d273"} 
[2026-09-24 13:37:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300633856001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790237152000,"timestamp_ms":1790237152000,"timestamp_seconds":1790237152,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2731300"} 
[2026-09-24 13:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300633856001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300633856001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:37:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:37:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300633856001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":191145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:37:41] local.INFO: GPS data processed {"connection_id":191145,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:37:41] local.INFO: Acknowledgment sent {"connection_id":191145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:37:44] local.INFO: TCP Data received {"connection_id":191145,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:37:44] local.INFO: Processing buffer {"connection_id":191145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:37:44] local.INFO: Packet analysis {"connection_id":191145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d273"} 
[2026-09-24 13:37:44] local.INFO: Extracted packet for processing {"connection_id":191145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d273"} 
[2026-09-24 13:37:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300633856001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790237152000,"timestamp_ms":1790237152000,"timestamp_seconds":1790237152,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2731300"} 
[2026-09-24 13:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300633856001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300633856001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:37:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:37:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300633856001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":191145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:37:44] local.INFO: GPS data processed {"connection_id":191145,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:37:44] local.INFO: Acknowledgment sent {"connection_id":191145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:37:45] local.INFO: TCP Data received {"connection_id":194005,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:37:45] local.INFO: Processing buffer {"connection_id":194005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:37:45] local.INFO: IMEI packet received {"connection_id":194005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":194005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:37:50] local.INFO: TCP Data received {"connection_id":194005,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:37:50] local.INFO: Processing buffer {"connection_id":194005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:37:50] local.INFO: IMEI packet received {"connection_id":194005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":194005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:37:51] local.INFO: TCP Data received {"connection_id":194005,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2716938012d196600071ff1c00038014728..."} 
[2026-09-24 13:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2716938012d196600071ff1c00038014728..."} 
[2026-09-24 13:37:51] local.INFO: Processing buffer {"connection_id":194005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2716938012d196600071ff1c00038014728..."} 
[2026-09-24 13:37:51] local.INFO: Packet analysis {"connection_id":194005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d271"} 
[2026-09-24 13:37:51] local.INFO: Extracted packet for processing {"connection_id":194005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d271"} 
[2026-09-24 13:37:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300677632001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790237043000,"timestamp_ms":1790237043000,"timestamp_seconds":1790237043,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2716938"} 
[2026-09-24 13:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 13:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300677632001,"66":12428,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300677632001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:37:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:37:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300677632001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":194005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:37:51] local.INFO: GPS data processed {"connection_id":194005,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:37:51] local.INFO: Acknowledgment sent {"connection_id":194005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:38:22] local.INFO: TCP Data received {"connection_id":194005,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d271bb40012d196600071ff1c0003801472a..."} 
[2026-09-24 13:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d271bb40012d196600071ff1c0003801472a..."} 
[2026-09-24 13:38:22] local.INFO: Processing buffer {"connection_id":194005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d271bb40012d196600071ff1c0003801472a..."} 
[2026-09-24 13:38:22] local.INFO: Packet analysis {"connection_id":194005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d271"} 
[2026-09-24 13:38:22] local.INFO: Extracted packet for processing {"connection_id":194005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d271"} 
[2026-09-24 13:38:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300683008001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790237064000,"timestamp_ms":1790237064000,"timestamp_seconds":1790237064,"priority":1,"record_length":96,"hex_timestamp":"000001a0d271bb40"} 
[2026-09-24 13:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 13:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300683008001,"66":12461,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300683008001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:38:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:38:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300683008001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":194005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:38:22] local.INFO: GPS data processed {"connection_id":194005,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:38:22] local.INFO: Acknowledgment sent {"connection_id":194005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:38:28] local.INFO: TCP Data received {"connection_id":191343,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:38:28] local.INFO: Processing buffer {"connection_id":191343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:38:28] local.INFO: IMEI packet received {"connection_id":191343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":191343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:38:33] local.INFO: TCP Data received {"connection_id":191343,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:38:33] local.INFO: Processing buffer {"connection_id":191343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:38:33] local.INFO: IMEI packet received {"connection_id":191343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":191343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:38:34] local.INFO: TCP Data received {"connection_id":191343,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:38:34] local.INFO: Processing buffer {"connection_id":191343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:38:34] local.INFO: Packet analysis {"connection_id":191343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d273"} 
[2026-09-24 13:38:34] local.INFO: Extracted packet for processing {"connection_id":191343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d273"} 
[2026-09-24 13:38:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300633856001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790237152000,"timestamp_ms":1790237152000,"timestamp_seconds":1790237152,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2731300"} 
[2026-09-24 13:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300633856001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300633856001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:38:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:38:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300633856001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":191343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:38:34] local.INFO: GPS data processed {"connection_id":191343,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:38:34] local.INFO: Acknowledgment sent {"connection_id":191343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:38:45] local.INFO: TCP Data received {"connection_id":194006,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:38:45] local.INFO: Processing buffer {"connection_id":194006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:38:45] local.INFO: IMEI packet received {"connection_id":194006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":194006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:38:50] local.INFO: TCP Data received {"connection_id":194006,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:38:50] local.INFO: Processing buffer {"connection_id":194006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:38:50] local.INFO: IMEI packet received {"connection_id":194006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":194006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:38:51] local.INFO: TCP Data received {"connection_id":194006,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2720d48012d196600071ff1c0003801472b..."} 
[2026-09-24 13:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2720d48012d196600071ff1c0003801472b..."} 
[2026-09-24 13:38:51] local.INFO: Processing buffer {"connection_id":194006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2720d48012d196600071ff1c0003801472b..."} 
[2026-09-24 13:38:51] local.INFO: Packet analysis {"connection_id":194006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d272"} 
[2026-09-24 13:38:51] local.INFO: Extracted packet for processing {"connection_id":194006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d272"} 
[2026-09-24 13:38:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":56,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-09-24 13:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300688384001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884195638444032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790237085000,"timestamp_ms":1790237085000,"timestamp_seconds":1790237085,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2720d48"} 
[2026-09-24 13:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 13:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300688384001,"66":12156,"102":206,"83":41984,"24":0,"16":22884195638444032,"45":1830150329173393408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300688384001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:38:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:38:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884195638444032,"km_value":22884195638444.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-09-24 13:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300688384001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-09-24 13:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":194006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:38:51] local.INFO: GPS data processed {"connection_id":194006,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:38:51] local.INFO: Acknowledgment sent {"connection_id":194006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:39:05] local.INFO: TCP Data received {"connection_id":191343,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:39:05] local.INFO: Processing buffer {"connection_id":191343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:39:05] local.INFO: Packet analysis {"connection_id":191343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d273"} 
[2026-09-24 13:39:05] local.INFO: Extracted packet for processing {"connection_id":191343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d273"} 
[2026-09-24 13:39:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300633856001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790237152000,"timestamp_ms":1790237152000,"timestamp_seconds":1790237152,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2731300"} 
[2026-09-24 13:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300633856001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300633856001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:39:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:39:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300633856001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":191343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:39:05] local.INFO: GPS data processed {"connection_id":191343,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:39:05] local.INFO: Acknowledgment sent {"connection_id":191343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:39:22] local.INFO: TCP Data received {"connection_id":194006,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2756c90012d196780071fec88003b00e82c..."} 
[2026-09-24 13:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2756c90012d196780071fec88003b00e82c..."} 
[2026-09-24 13:39:22] local.INFO: Processing buffer {"connection_id":194006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2756c90012d196780071fec88003b00e82c..."} 
[2026-09-24 13:39:22] local.INFO: Packet analysis {"connection_id":194006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d275"} 
[2026-09-24 13:39:22] local.INFO: Extracted packet for processing {"connection_id":194006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d275"} 
[2026-09-24 13:39:22] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119532680,"longitude_deg":75.6639616,"latitude_deg":11.953268,"altitude":59,"angle":232,"satellites":44,"speed":1,"hex_longitude":"2d196780","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-24 13:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300750080001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884268652888064,"note":"Value kept but may cause issues"} 
[2026-09-24 13:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382309376,"note":"Value kept but may cause issues"} 
[2026-09-24 13:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790237306000,"timestamp_ms":1790237306000,"timestamp_seconds":1790237306,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2756c90"} 
[2026-09-24 13:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-24 13:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300750080001,"66":14135,"102":206,"83":41984,"24":1,"16":22884268652888064,"45":1830642910382309376},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 13:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300750080001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:39:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 13:39:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884268652888064,"km_value":22884268652888.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382309376,"description":"Unknown IO ID 45"} 
[2026-09-24 13:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300750080001,"power":14135,"unknown_102":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1830642910382309376}} 
[2026-09-24 13:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":194006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:39:22] local.INFO: GPS data processed {"connection_id":194006,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:39:22] local.INFO: Acknowledgment sent {"connection_id":194006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:39:29] local.INFO: TCP Data received {"connection_id":191147,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:39:29] local.INFO: Processing buffer {"connection_id":191147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:39:29] local.INFO: IMEI packet received {"connection_id":191147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":191147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:39:33] local.INFO: TCP Data received {"connection_id":191147,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:39:33] local.INFO: Processing buffer {"connection_id":191147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:39:33] local.INFO: IMEI packet received {"connection_id":191147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":191147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:39:34] local.INFO: TCP Data received {"connection_id":191147,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:39:34] local.INFO: Processing buffer {"connection_id":191147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:39:34] local.INFO: Packet analysis {"connection_id":191147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d273"} 
[2026-09-24 13:39:34] local.INFO: Extracted packet for processing {"connection_id":191147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d273"} 
[2026-09-24 13:39:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300633856001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790237152000,"timestamp_ms":1790237152000,"timestamp_seconds":1790237152,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2731300"} 
[2026-09-24 13:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300633856001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300633856001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:39:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:39:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300633856001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":191147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:39:34] local.INFO: GPS data processed {"connection_id":191147,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:39:34] local.INFO: Acknowledgment sent {"connection_id":191147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:39:49] local.INFO: TCP Data received {"connection_id":191344,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:39:49] local.INFO: Processing buffer {"connection_id":191344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:39:49] local.INFO: IMEI packet received {"connection_id":191344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":191344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:39:50] local.INFO: TCP Data received {"connection_id":191344,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:39:50] local.INFO: Processing buffer {"connection_id":191344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:39:50] local.INFO: IMEI packet received {"connection_id":191344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":191344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:39:51] local.INFO: TCP Data received {"connection_id":191344,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:39:51] local.INFO: Processing buffer {"connection_id":191344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:39:51] local.INFO: IMEI packet received {"connection_id":191344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":191344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:39:52] local.INFO: TCP Data received {"connection_id":191344,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2758400012d196880071fec88003a00492c..."} 
[2026-09-24 13:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2758400012d196880071fec88003a00492c..."} 
[2026-09-24 13:39:52] local.INFO: Processing buffer {"connection_id":191344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2758400012d196880071fec88003a00492c..."} 
[2026-09-24 13:39:52] local.INFO: Packet analysis {"connection_id":191344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d275"} 
[2026-09-24 13:39:52] local.INFO: Extracted packet for processing {"connection_id":191344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d275"} 
[2026-09-24 13:39:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532680,"longitude_deg":75.6639872,"latitude_deg":11.953268,"altitude":58,"angle":73,"satellites":44,"speed":4,"hex_longitude":"2d196880","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-09-24 13:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300750336001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884281537789952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638117376,"note":"Value kept but may cause issues"} 
[2026-09-24 13:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790237312000,"timestamp_ms":1790237312000,"timestamp_seconds":1790237312,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2758400"} 
[2026-09-24 13:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-24 13:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300750336001,"66":14135,"101":206,"83":41984,"24":4,"16":22884281537789952,"45":1830572541638117376},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-24 13:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300750336001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:39:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-24 13:39:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884281537789952,"km_value":22884281537789.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638117376,"description":"Unknown IO ID 45"} 
[2026-09-24 13:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300750336001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1830572541638117376}} 
[2026-09-24 13:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":191344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:39:52] local.INFO: GPS data processed {"connection_id":191344,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:39:52] local.INFO: Acknowledgment sent {"connection_id":191344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:39:53] local.INFO: TCP Data received {"connection_id":191344,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2758fb8012d196a40071fecb8003a00602a..."} 
[2026-09-24 13:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2758fb8012d196a40071fecb8003a00602a..."} 
[2026-09-24 13:39:53] local.INFO: Processing buffer {"connection_id":191344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2758fb8012d196a40071fecb8003a00602a..."} 
[2026-09-24 13:39:53] local.INFO: Packet analysis {"connection_id":191344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d275"} 
[2026-09-24 13:39:53] local.INFO: Extracted packet for processing {"connection_id":191344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d275"} 
[2026-09-24 13:39:53] local.INFO: GPS Element Parsed {"raw_longitude":756640320,"raw_latitude":119532728,"longitude_deg":75.664032,"latitude_deg":11.9532728,"altitude":58,"angle":96,"satellites":42,"speed":7,"hex_longitude":"2d196a40","hex_latitude":"071fecb8","is_valid_coordinates":true} 
[2026-09-24 13:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300751872001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22884307307593728,"note":"Value kept but may cause issues"} 
[2026-09-24 13:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614828032,"note":"Value kept but may cause issues"} 
[2026-09-24 13:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790237315000,"timestamp_ms":1790237315000,"timestamp_seconds":1790237315,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2758fb8"} 
[2026-09-24 13:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-24 13:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300751872001,"66":13906,"101":206,"83":41984,"24":7,"16":22884307307593728,"45":1830854016614828032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-24 13:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300751872001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:39:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-24 13:39:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22884307307593728,"km_value":22884307307593.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614828032,"description":"Unknown IO ID 45"} 
[2026-09-24 13:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300751872001,"power":13906,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1830854016614828032}} 
[2026-09-24 13:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":191344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:39:54] local.INFO: GPS data processed {"connection_id":191344,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:39:54] local.INFO: Acknowledgment sent {"connection_id":191344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:40:06] local.INFO: TCP Data received {"connection_id":191147,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:40:06] local.INFO: Processing buffer {"connection_id":191147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:40:06] local.INFO: Packet analysis {"connection_id":191147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d273"} 
[2026-09-24 13:40:06] local.INFO: Extracted packet for processing {"connection_id":191147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d273"} 
[2026-09-24 13:40:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300633856001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790237152000,"timestamp_ms":1790237152000,"timestamp_seconds":1790237152,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2731300"} 
[2026-09-24 13:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300633856001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300633856001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:40:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:40:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300633856001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":191147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:40:06] local.INFO: GPS data processed {"connection_id":191147,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:40:06] local.INFO: Acknowledgment sent {"connection_id":191147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:40:25] local.INFO: TCP Data received {"connection_id":191344,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d27689b8012d19ca40071ff450002e00152c..."} 
[2026-09-24 13:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d27689b8012d19ca40071ff450002e00152c..."} 
[2026-09-24 13:40:25] local.INFO: Processing buffer {"connection_id":191344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d27689b8012d19ca40071ff450002e00152c..."} 
[2026-09-24 13:40:25] local.INFO: Packet analysis {"connection_id":191344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d276"} 
[2026-09-24 13:40:25] local.INFO: Extracted packet for processing {"connection_id":191344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d276"} 
[2026-09-24 13:40:25] local.INFO: GPS Element Parsed {"raw_longitude":756664896,"raw_latitude":119534672,"longitude_deg":75.6664896,"latitude_deg":11.9534672,"altitude":46,"angle":21,"satellites":44,"speed":16,"hex_longitude":"2d19ca40","hex_latitude":"071ff450","is_valid_coordinates":true} 
[2026-09-24 13:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300768768001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22885522783338496,"note":"Value kept but may cause issues"} 
[2026-09-24 13:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858086720612001792,"note":"Value kept but may cause issues"} 
[2026-09-24 13:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790237379000,"timestamp_ms":1790237379000,"timestamp_seconds":1790237379,"priority":1,"record_length":96,"hex_timestamp":"000001a0d27689b8"} 
[2026-09-24 13:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-24 13:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":191344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":191344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":191344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300768768001,"66":14157,"101":206,"83":41984,"24":16,"16":22885522783338496,"45":1858086720612001792},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-24 13:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300768768001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:40:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-24 13:40:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22885522783338496,"km_value":22885522783338.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858086720612001792,"description":"Unknown IO ID 45"} 
[2026-09-24 13:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300768768001,"power":14157,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1858086720612001792}} 
[2026-09-24 13:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":191344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:40:25] local.INFO: GPS data processed {"connection_id":191344,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:40:25] local.INFO: Acknowledgment sent {"connection_id":191344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:40:28] local.INFO: TCP Data received {"connection_id":191149,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:40:28] local.INFO: Processing buffer {"connection_id":191149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:40:28] local.INFO: IMEI packet received {"connection_id":191149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":191149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:40:33] local.INFO: TCP Data received {"connection_id":191149,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:40:33] local.INFO: Processing buffer {"connection_id":191149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:40:33] local.INFO: IMEI packet received {"connection_id":191149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":191149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:40:35] local.INFO: TCP Data received {"connection_id":191149,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:40:35] local.INFO: Processing buffer {"connection_id":191149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:40:35] local.INFO: Packet analysis {"connection_id":191149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d273"} 
[2026-09-24 13:40:35] local.INFO: Extracted packet for processing {"connection_id":191149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d273"} 
[2026-09-24 13:40:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300633856001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790237152000,"timestamp_ms":1790237152000,"timestamp_seconds":1790237152,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2731300"} 
[2026-09-24 13:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300633856001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300633856001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:40:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:40:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300633856001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":191149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:40:35] local.INFO: GPS data processed {"connection_id":191149,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:40:35] local.INFO: Acknowledgment sent {"connection_id":191149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:40:43] local.INFO: TCP Data received {"connection_id":191345,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:40:43] local.INFO: Processing buffer {"connection_id":191345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:40:43] local.INFO: IMEI packet received {"connection_id":191345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":191345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:40:46] local.INFO: TCP Data received {"connection_id":191345,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:40:46] local.INFO: Processing buffer {"connection_id":191345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:40:46] local.INFO: IMEI packet received {"connection_id":191345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":191345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:40:50] local.INFO: TCP Data received {"connection_id":191345,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:40:50] local.INFO: Processing buffer {"connection_id":191345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:40:50] local.INFO: IMEI packet received {"connection_id":191345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":191345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:40:51] local.INFO: TCP Data received {"connection_id":191345,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2769570012d19cd40071ff9c8002e002e2b..."} 
[2026-09-24 13:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2769570012d19cd40071ff9c8002e002e2b..."} 
[2026-09-24 13:40:51] local.INFO: Processing buffer {"connection_id":191345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2769570012d19cd40071ff9c8002e002e2b..."} 
[2026-09-24 13:40:51] local.INFO: Packet analysis {"connection_id":191345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d276"} 
[2026-09-24 13:40:51] local.INFO: Extracted packet for processing {"connection_id":191345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d276"} 
[2026-09-24 13:40:51] local.INFO: GPS Element Parsed {"raw_longitude":756665664,"raw_latitude":119536072,"longitude_deg":75.6665664,"latitude_deg":11.9536072,"altitude":46,"angle":46,"satellites":43,"speed":22,"hex_longitude":"2d19cd40","hex_latitude":"071ff9c8","is_valid_coordinates":true} 
[2026-09-24 13:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300769024001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22885600092749824,"note":"Value kept but may cause issues"} 
[2026-09-24 13:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858368195588804608,"note":"Value kept but may cause issues"} 
[2026-09-24 13:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790237382000,"timestamp_ms":1790237382000,"timestamp_seconds":1790237382,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2769570"} 
[2026-09-24 13:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-24 13:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300769024001,"66":14157,"101":206,"83":41984,"24":22,"16":22885600092749824,"45":1858368195588804608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-24 13:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300769024001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:40:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-24 13:40:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22885600092749824,"km_value":22885600092749.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858368195588804608,"description":"Unknown IO ID 45"} 
[2026-09-24 13:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300769024001,"power":14157,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1858368195588804608}} 
[2026-09-24 13:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":191345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:40:51] local.INFO: GPS data processed {"connection_id":191345,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:40:51] local.INFO: Acknowledgment sent {"connection_id":191345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:40:52] local.INFO: TCP Data received {"connection_id":191345,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2769958012d19cf40071ffb08002e003a2b..."} 
[2026-09-24 13:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2769958012d19cf40071ffb08002e003a2b..."} 
[2026-09-24 13:40:52] local.INFO: Processing buffer {"connection_id":191345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2769958012d19cf40071ffb08002e003a2b..."} 
[2026-09-24 13:40:52] local.INFO: Packet analysis {"connection_id":191345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d276"} 
[2026-09-24 13:40:52] local.INFO: Extracted packet for processing {"connection_id":191345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d276"} 
[2026-09-24 13:40:52] local.INFO: GPS Element Parsed {"raw_longitude":756666176,"raw_latitude":119536392,"longitude_deg":75.6666176,"latitude_deg":11.9536392,"altitude":46,"angle":58,"satellites":43,"speed":22,"hex_longitude":"2d19cf40","hex_latitude":"071ffb08","is_valid_coordinates":true} 
[2026-09-24 13:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300769792001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22885630157520896,"note":"Value kept but may cause issues"} 
[2026-09-24 13:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859212620519294976,"note":"Value kept but may cause issues"} 
[2026-09-24 13:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790237383000,"timestamp_ms":1790237383000,"timestamp_seconds":1790237383,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2769958"} 
[2026-09-24 13:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-24 13:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300769792001,"66":14157,"101":206,"83":41984,"24":22,"16":22885630157520896,"45":1859212620519294976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-24 13:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300769792001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:40:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-24 13:40:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22885630157520896,"km_value":22885630157520.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859212620519294976,"description":"Unknown IO ID 45"} 
[2026-09-24 13:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300769792001,"power":14157,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1859212620519294976}} 
[2026-09-24 13:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":191345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:40:52] local.INFO: GPS data processed {"connection_id":191345,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:40:52] local.INFO: Acknowledgment sent {"connection_id":191345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:41:06] local.INFO: TCP Data received {"connection_id":191149,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:41:06] local.INFO: Processing buffer {"connection_id":191149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2731300012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:41:06] local.INFO: Packet analysis {"connection_id":191149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d273"} 
[2026-09-24 13:41:06] local.INFO: Extracted packet for processing {"connection_id":191149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d273"} 
[2026-09-24 13:41:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300633856001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790237152000,"timestamp_ms":1790237152000,"timestamp_seconds":1790237152,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2731300"} 
[2026-09-24 13:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300633856001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300633856001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:41:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:41:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300633856001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":191149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:41:06] local.INFO: GPS data processed {"connection_id":191149,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:41:06] local.INFO: Acknowledgment sent {"connection_id":191149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:41:23] local.INFO: TCP Data received {"connection_id":191345,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d27754d8012d19b90007206470002a015a2b..."} 
[2026-09-24 13:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d27754d8012d19b90007206470002a015a2b..."} 
[2026-09-24 13:41:23] local.INFO: Processing buffer {"connection_id":191345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d27754d8012d19b90007206470002a015a2b..."} 
[2026-09-24 13:41:23] local.INFO: Packet analysis {"connection_id":191345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:41:23] local.INFO: Extracted packet for processing {"connection_id":191345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:41:23] local.INFO: GPS Element Parsed {"raw_longitude":756660480,"raw_latitude":119563376,"longitude_deg":75.666048,"latitude_deg":11.9563376,"altitude":42,"angle":346,"satellites":43,"speed":36,"hex_longitude":"2d19b900","hex_latitude":"07206470","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300779520001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22887163460845568,"note":"Value kept but may cause issues"} 
[2026-09-24 13:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854568283408115712,"note":"Value kept but may cause issues"} 
[2026-09-24 13:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790237431000,"timestamp_ms":1790237431000,"timestamp_seconds":1790237431,"priority":1,"record_length":96,"hex_timestamp":"000001a0d27754d8"} 
[2026-09-24 13:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-24 13:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300779520001,"66":14243,"103":206,"83":41984,"24":36,"16":22887163460845568,"45":1854568283408115712},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 13:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300779520001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:41:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 13:41:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22887163460845568,"km_value":22887163460845.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854568283408115712,"description":"Unknown IO ID 45"} 
[2026-09-24 13:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300779520001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1854568283408115712}} 
[2026-09-24 13:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":191345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:41:23] local.INFO: GPS data processed {"connection_id":191345,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:41:23] local.INFO: Acknowledgment sent {"connection_id":191345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:41:28] local.INFO: TCP Data received {"connection_id":191346,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:41:28] local.INFO: Processing buffer {"connection_id":191346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:41:28] local.INFO: IMEI packet received {"connection_id":191346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":191346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:41:31] local.INFO: TCP Data received {"connection_id":191346,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:41:31] local.INFO: Processing buffer {"connection_id":191346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:41:31] local.INFO: IMEI packet received {"connection_id":191346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":191346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:41:33] local.INFO: TCP Data received {"connection_id":191346,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:41:33] local.INFO: Processing buffer {"connection_id":191346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:41:33] local.INFO: IMEI packet received {"connection_id":191346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":191346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:41:34] local.INFO: TCP Data received {"connection_id":191346,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:41:34] local.INFO: Processing buffer {"connection_id":191346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:41:34] local.INFO: Packet analysis {"connection_id":191346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:41:34] local.INFO: Extracted packet for processing {"connection_id":191346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:41:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300710912001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790237453000,"timestamp_ms":1790237453000,"timestamp_seconds":1790237453,"priority":1,"record_length":96,"hex_timestamp":"000001a0d277aac8"} 
[2026-09-24 13:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:41:34] 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-09-24 13: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-09-24 13:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300710912001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300710912001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:41:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:41:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300710912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":191346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:41:34] local.INFO: GPS data processed {"connection_id":191346,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:41:34] local.INFO: Acknowledgment sent {"connection_id":191346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:41:39] local.INFO: TCP Data received {"connection_id":191346,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:41:39] local.INFO: Processing buffer {"connection_id":191346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:41:39] local.INFO: Packet analysis {"connection_id":191346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:41:39] local.INFO: Extracted packet for processing {"connection_id":191346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:41:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300710912001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790237453000,"timestamp_ms":1790237453000,"timestamp_seconds":1790237453,"priority":1,"record_length":96,"hex_timestamp":"000001a0d277aac8"} 
[2026-09-24 13:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:41:39] 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-09-24 13:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300710912001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300710912001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:41:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:41:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300710912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":191346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:41:39] local.INFO: GPS data processed {"connection_id":191346,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:41:39] local.INFO: Acknowledgment sent {"connection_id":191346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:41:45] local.INFO: TCP Data received {"connection_id":194008,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:41:45] local.INFO: Processing buffer {"connection_id":194008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:41:45] local.INFO: IMEI packet received {"connection_id":194008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":194008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:41:50] local.INFO: TCP Data received {"connection_id":194008,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:41:50] local.INFO: Processing buffer {"connection_id":194008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:41:50] local.INFO: IMEI packet received {"connection_id":194008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":194008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:41:51] local.INFO: TCP Data received {"connection_id":194008,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2777be8012d19ae0007208680002d015b2b..."} 
[2026-09-24 13:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2777be8012d19ae0007208680002d015b2b..."} 
[2026-09-24 13:41:51] local.INFO: Processing buffer {"connection_id":194008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2777be8012d19ae0007208680002d015b2b..."} 
[2026-09-24 13:41:51] local.INFO: Packet analysis {"connection_id":194008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:41:51] local.INFO: Extracted packet for processing {"connection_id":194008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:41:51] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119572096,"longitude_deg":75.6657664,"latitude_deg":11.9572096,"altitude":45,"angle":347,"satellites":43,"speed":34,"hex_longitude":"2d19ae00","hex_latitude":"07208680","is_valid_coordinates":true} 
[2026-09-24 13:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300782336001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22887605842477056,"note":"Value kept but may cause issues"} 
[2026-09-24 13:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853512752247894016,"note":"Value kept but may cause issues"} 
[2026-09-24 13:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790237441000,"timestamp_ms":1790237441000,"timestamp_seconds":1790237441,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2777be8"} 
[2026-09-24 13:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-24 13:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300782336001,"66":14265,"103":206,"83":41984,"24":34,"16":22887605842477056,"45":1853512752247894016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 13:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300782336001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:41:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 13:41:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22887605842477056,"km_value":22887605842477.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853512752247894016,"description":"Unknown IO ID 45"} 
[2026-09-24 13:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300782336001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1853512752247894016}} 
[2026-09-24 13:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":194008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:41:51] local.INFO: GPS data processed {"connection_id":194008,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:41:51] local.INFO: Acknowledgment sent {"connection_id":194008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:42:10] local.INFO: TCP Data received {"connection_id":191346,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:42:10] local.INFO: Processing buffer {"connection_id":191346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:42:10] local.INFO: Packet analysis {"connection_id":191346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:42:10] local.INFO: Extracted packet for processing {"connection_id":191346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:42:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300710912001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790237453000,"timestamp_ms":1790237453000,"timestamp_seconds":1790237453,"priority":1,"record_length":96,"hex_timestamp":"000001a0d277aac8"} 
[2026-09-24 13:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:42: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-09-24 13:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300710912001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300710912001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:42:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:42:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300710912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":191346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:42:10] local.INFO: GPS data processed {"connection_id":191346,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:42:10] local.INFO: Acknowledgment sent {"connection_id":191346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:42:22] local.INFO: TCP Data received {"connection_id":194008,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2784320012d1a07800720bec00032003b2b..."} 
[2026-09-24 13:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2784320012d1a07800720bec00032003b2b..."} 
[2026-09-24 13:42:22] local.INFO: Processing buffer {"connection_id":194008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2784320012d1a07800720bec00032003b2b..."} 
[2026-09-24 13:42:22] local.INFO: Packet analysis {"connection_id":194008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d278"} 
[2026-09-24 13:42:22] local.INFO: Extracted packet for processing {"connection_id":194008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d278"} 
[2026-09-24 13:42:22] local.INFO: GPS Element Parsed {"raw_longitude":756680576,"raw_latitude":119586496,"longitude_deg":75.6680576,"latitude_deg":11.9586496,"altitude":50,"angle":59,"satellites":43,"speed":30,"hex_longitude":"2d1a0780","hex_latitude":"0720bec0","is_valid_coordinates":true} 
[2026-09-24 13:42: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-09-24 13:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300795136001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22889083311226880,"note":"Value kept but may cause issues"} 
[2026-09-24 13:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867445763600214016,"note":"Value kept but may cause issues"} 
[2026-09-24 13:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790237492000,"timestamp_ms":1790237492000,"timestamp_seconds":1790237492,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2784320"} 
[2026-09-24 13:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-24 13:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:42: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-09-24 13:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300795136001,"66":14243,"103":206,"83":41984,"24":30,"16":22889083311226880,"45":1867445763600214016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 13:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300795136001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:42:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 13:42:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22889083311226880,"km_value":22889083311226.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867445763600214016,"description":"Unknown IO ID 45"} 
[2026-09-24 13:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300795136001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1867445763600214016}} 
[2026-09-24 13:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":194008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:42:22] local.INFO: GPS data processed {"connection_id":194008,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:42:22] local.INFO: Acknowledgment sent {"connection_id":194008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:42:33] local.INFO: TCP Data received {"connection_id":191150,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:42:33] local.INFO: Processing buffer {"connection_id":191150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:42:33] local.INFO: IMEI packet received {"connection_id":191150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":191150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:42:37] local.INFO: TCP Data received {"connection_id":191347,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191347,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:42:37] local.INFO: Processing buffer {"connection_id":191347,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:42:37] local.INFO: IMEI packet received {"connection_id":191347,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 13:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":191347,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:42:38] local.INFO: TCP Data received {"connection_id":191150,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:42:38] local.INFO: Processing buffer {"connection_id":191150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:42:38] local.INFO: IMEI packet received {"connection_id":191150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":191150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:42:39] local.INFO: TCP Data received {"connection_id":191150,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:42:39] local.INFO: Processing buffer {"connection_id":191150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:42:39] local.INFO: Packet analysis {"connection_id":191150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:42:39] local.INFO: Extracted packet for processing {"connection_id":191150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:42:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300710912001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790237453000,"timestamp_ms":1790237453000,"timestamp_seconds":1790237453,"priority":1,"record_length":96,"hex_timestamp":"000001a0d277aac8"} 
[2026-09-24 13:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:42:39] 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-09-24 13:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300710912001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300710912001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:42:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:42:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300710912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":191150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:42:39] local.INFO: GPS data processed {"connection_id":191150,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:42:39] local.INFO: Acknowledgment sent {"connection_id":191150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:42:42] local.INFO: TCP Data received {"connection_id":192723,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:42:42] local.INFO: Processing buffer {"connection_id":192723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:42:42] local.INFO: IMEI packet received {"connection_id":192723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":192723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:42:43] local.INFO: TCP Data received {"connection_id":192723,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:42:43] local.INFO: Processing buffer {"connection_id":192723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:42:43] local.INFO: IMEI packet received {"connection_id":192723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":192723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:42:44] local.INFO: TCP Data received {"connection_id":191150,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:42:44] local.INFO: Processing buffer {"connection_id":191150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:42:44] local.INFO: Packet analysis {"connection_id":191150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:42:44] local.INFO: Extracted packet for processing {"connection_id":191150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:42:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300710912001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790237453000,"timestamp_ms":1790237453000,"timestamp_seconds":1790237453,"priority":1,"record_length":96,"hex_timestamp":"000001a0d277aac8"} 
[2026-09-24 13:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:42:44] 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-09-24 13:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300710912001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300710912001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:42:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:42:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300710912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":191150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:42:44] local.INFO: GPS data processed {"connection_id":191150,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:42:44] local.INFO: Acknowledgment sent {"connection_id":191150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:42:44] local.INFO: TCP Data received {"connection_id":192723,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:42:44] local.INFO: Processing buffer {"connection_id":192723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:42:44] local.INFO: IMEI packet received {"connection_id":192723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":192723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:42:45] local.INFO: TCP Data received {"connection_id":192723,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:42:45] local.INFO: Processing buffer {"connection_id":192723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:42:45] local.INFO: IMEI packet received {"connection_id":192723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":192723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:43:07] local.INFO: TCP Data received {"connection_id":192724,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:43:07] local.INFO: Processing buffer {"connection_id":192724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:43:07] local.INFO: IMEI packet received {"connection_id":192724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 13:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":192724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:43:28] local.INFO: TCP Data received {"connection_id":191348,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:43:28] local.INFO: Processing buffer {"connection_id":191348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:43:28] local.INFO: IMEI packet received {"connection_id":191348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":191348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:43:33] local.INFO: TCP Data received {"connection_id":191348,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:43:33] local.INFO: Processing buffer {"connection_id":191348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:43:33] local.INFO: IMEI packet received {"connection_id":191348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":191348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:43:34] local.INFO: TCP Data received {"connection_id":191348,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:43:34] local.INFO: Processing buffer {"connection_id":191348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:43:34] local.INFO: Packet analysis {"connection_id":191348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:43:34] local.INFO: Extracted packet for processing {"connection_id":191348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:43:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300710912001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790237453000,"timestamp_ms":1790237453000,"timestamp_seconds":1790237453,"priority":1,"record_length":96,"hex_timestamp":"000001a0d277aac8"} 
[2026-09-24 13:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:43:34] 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-09-24 13:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300710912001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300710912001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:43:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:43:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300710912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":191348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:43:34] local.INFO: GPS data processed {"connection_id":191348,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:43:34] local.INFO: Acknowledgment sent {"connection_id":191348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:44:07] local.INFO: TCP Data received {"connection_id":191348,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:44:07] local.INFO: Processing buffer {"connection_id":191348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:44:07] local.INFO: Packet analysis {"connection_id":191348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:44:07] local.INFO: Extracted packet for processing {"connection_id":191348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:44:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300710912001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790237453000,"timestamp_ms":1790237453000,"timestamp_seconds":1790237453,"priority":1,"record_length":96,"hex_timestamp":"000001a0d277aac8"} 
[2026-09-24 13:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:44:07] 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-09-24 13:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300710912001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300710912001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:44:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:44:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300710912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":191348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:44:07] local.INFO: GPS data processed {"connection_id":191348,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:44:07] local.INFO: Acknowledgment sent {"connection_id":191348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:44:28] local.INFO: TCP Data received {"connection_id":194010,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:44:28] local.INFO: Processing buffer {"connection_id":194010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:44:28] local.INFO: IMEI packet received {"connection_id":194010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":194010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:44:33] local.INFO: TCP Data received {"connection_id":194010,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:44:33] local.INFO: Processing buffer {"connection_id":194010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:44:33] local.INFO: IMEI packet received {"connection_id":194010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":194010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:44:34] local.INFO: TCP Data received {"connection_id":194010,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:44:34] local.INFO: Processing buffer {"connection_id":194010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:44:34] local.INFO: Packet analysis {"connection_id":194010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:44:34] local.INFO: Extracted packet for processing {"connection_id":194010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:44:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300710912001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790237453000,"timestamp_ms":1790237453000,"timestamp_seconds":1790237453,"priority":1,"record_length":96,"hex_timestamp":"000001a0d277aac8"} 
[2026-09-24 13:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:44:34] 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-09-24 13:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300710912001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300710912001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:44:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:44:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300710912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":194010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:44:34] local.INFO: GPS data processed {"connection_id":194010,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:44:34] local.INFO: Acknowledgment sent {"connection_id":194010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:45:06] local.INFO: TCP Data received {"connection_id":194010,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:45:06] local.INFO: Processing buffer {"connection_id":194010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:45:06] local.INFO: Packet analysis {"connection_id":194010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:45:06] local.INFO: Extracted packet for processing {"connection_id":194010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:45:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300710912001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790237453000,"timestamp_ms":1790237453000,"timestamp_seconds":1790237453,"priority":1,"record_length":96,"hex_timestamp":"000001a0d277aac8"} 
[2026-09-24 13:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300710912001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300710912001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:45:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:45:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300710912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":194010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:45:06] local.INFO: GPS data processed {"connection_id":194010,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:45:06] local.INFO: Acknowledgment sent {"connection_id":194010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:45:28] local.INFO: TCP Data received {"connection_id":191151,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:45:28] local.INFO: Processing buffer {"connection_id":191151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:45:28] local.INFO: IMEI packet received {"connection_id":191151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":191151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:45:33] local.INFO: TCP Data received {"connection_id":191151,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:45:33] local.INFO: Processing buffer {"connection_id":191151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:45:33] local.INFO: IMEI packet received {"connection_id":191151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":191151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:45:35] local.INFO: TCP Data received {"connection_id":191151,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:45:35] local.INFO: Processing buffer {"connection_id":191151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:45:35] local.INFO: Packet analysis {"connection_id":191151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:45:35] local.INFO: Extracted packet for processing {"connection_id":191151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:45:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300710912001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790237453000,"timestamp_ms":1790237453000,"timestamp_seconds":1790237453,"priority":1,"record_length":96,"hex_timestamp":"000001a0d277aac8"} 
[2026-09-24 13:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:45:35] 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-09-24 13: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-09-24 13:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300710912001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300710912001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:45:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:45:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300710912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":191151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:45:35] local.INFO: GPS data processed {"connection_id":191151,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:45:35] local.INFO: Acknowledgment sent {"connection_id":191151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:46:06] local.INFO: TCP Data received {"connection_id":191151,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:46:06] local.INFO: Processing buffer {"connection_id":191151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d277aac8012d34c14006aa4940000900f52a..."} 
[2026-09-24 13:46:06] local.INFO: Packet analysis {"connection_id":191151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:46:06] local.INFO: Extracted packet for processing {"connection_id":191151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d277"} 
[2026-09-24 13:46:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300710912001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790237453000,"timestamp_ms":1790237453000,"timestamp_seconds":1790237453,"priority":1,"record_length":96,"hex_timestamp":"000001a0d277aac8"} 
[2026-09-24 13:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300710912001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300710912001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:46:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:46:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300710912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":191151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:46:06] local.INFO: GPS data processed {"connection_id":191151,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:46:06] local.INFO: Acknowledgment sent {"connection_id":191151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:46:32] local.INFO: TCP Data received {"connection_id":191351,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:46:32] local.INFO: Processing buffer {"connection_id":191351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:46:32] local.INFO: IMEI packet received {"connection_id":191351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":191351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:46:33] local.INFO: TCP Data received {"connection_id":191351,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:46:33] local.INFO: Processing buffer {"connection_id":191351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:46:33] local.INFO: IMEI packet received {"connection_id":191351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":191351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:46:38] local.INFO: TCP Data received {"connection_id":191351,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:46:38] local.INFO: Processing buffer {"connection_id":191351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:46:38] local.INFO: IMEI packet received {"connection_id":191351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":191351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:46:39] local.INFO: TCP Data received {"connection_id":191351,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:46:39] local.INFO: Processing buffer {"connection_id":191351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:46:39] local.INFO: Packet analysis {"connection_id":191351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d27c"} 
[2026-09-24 13:46:39] local.INFO: Extracted packet for processing {"connection_id":191351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d27c"} 
[2026-09-24 13:46:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300787968001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790237754000,"timestamp_ms":1790237754000,"timestamp_seconds":1790237754,"priority":1,"record_length":96,"hex_timestamp":"000001a0d27c4290"} 
[2026-09-24 13:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300787968001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300787968001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:46:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:46:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300787968001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":191351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:46:39] local.INFO: GPS data processed {"connection_id":191351,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:46:39] local.INFO: Acknowledgment sent {"connection_id":191351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:46:44] local.INFO: TCP Data received {"connection_id":191351,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:46:44] local.INFO: Processing buffer {"connection_id":191351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:46:44] local.INFO: Packet analysis {"connection_id":191351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d27c"} 
[2026-09-24 13:46:44] local.INFO: Extracted packet for processing {"connection_id":191351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d27c"} 
[2026-09-24 13:46:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300787968001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790237754000,"timestamp_ms":1790237754000,"timestamp_seconds":1790237754,"priority":1,"record_length":96,"hex_timestamp":"000001a0d27c4290"} 
[2026-09-24 13:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300787968001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300787968001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:46:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:46:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300787968001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":191351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:46:44] local.INFO: GPS data processed {"connection_id":191351,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:46:44] local.INFO: Acknowledgment sent {"connection_id":191351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:47:28] local.INFO: TCP Data received {"connection_id":191152,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:47:28] local.INFO: Processing buffer {"connection_id":191152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:47:28] local.INFO: IMEI packet received {"connection_id":191152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":191152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:47:33] local.INFO: TCP Data received {"connection_id":191152,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:47:33] local.INFO: Processing buffer {"connection_id":191152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:47:33] local.INFO: IMEI packet received {"connection_id":191152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":191152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:47:35] local.INFO: TCP Data received {"connection_id":191152,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:47:35] local.INFO: Processing buffer {"connection_id":191152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:47:35] local.INFO: Packet analysis {"connection_id":191152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d27c"} 
[2026-09-24 13:47:35] local.INFO: Extracted packet for processing {"connection_id":191152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d27c"} 
[2026-09-24 13:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300787968001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790237754000,"timestamp_ms":1790237754000,"timestamp_seconds":1790237754,"priority":1,"record_length":96,"hex_timestamp":"000001a0d27c4290"} 
[2026-09-24 13:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300787968001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300787968001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:47:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:47:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300787968001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":191152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:47:35] local.INFO: GPS data processed {"connection_id":191152,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:47:35] local.INFO: Acknowledgment sent {"connection_id":191152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:47:49] local.INFO: TCP Data received {"connection_id":192729,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:47:49] local.INFO: Processing buffer {"connection_id":192729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:47:49] local.INFO: IMEI packet received {"connection_id":192729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":192729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:47:50] local.INFO: TCP Data received {"connection_id":192729,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:47:50] local.INFO: Processing buffer {"connection_id":192729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:47:50] local.INFO: IMEI packet received {"connection_id":192729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":192729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:47:55] local.INFO: TCP Data received {"connection_id":192729,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:47:55] local.INFO: Processing buffer {"connection_id":192729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:47:55] local.INFO: IMEI packet received {"connection_id":192729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":192729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:47:56] local.INFO: TCP Data received {"connection_id":192729,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d27c7558012d1a3fc00720f658003d011c2a..."} 
[2026-09-24 13:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d27c7558012d1a3fc00720f658003d011c2a..."} 
[2026-09-24 13:47:56] local.INFO: Processing buffer {"connection_id":192729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d27c7558012d1a3fc00720f658003d011c2a..."} 
[2026-09-24 13:47:56] local.INFO: Packet analysis {"connection_id":192729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d27c"} 
[2026-09-24 13:47:56] local.INFO: Extracted packet for processing {"connection_id":192729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d27c"} 
[2026-09-24 13:47:56] local.INFO: GPS Element Parsed {"raw_longitude":756694976,"raw_latitude":119600728,"longitude_deg":75.6694976,"latitude_deg":11.9600728,"altitude":61,"angle":284,"satellites":42,"speed":7,"hex_longitude":"2d1a3fc0","hex_latitude":"0720f658","is_valid_coordinates":true} 
[2026-09-24 13:47: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-09-24 13:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300868096001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22892459155521536,"note":"Value kept but may cause issues"} 
[2026-09-24 13:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891652611601729536,"note":"Value kept but may cause issues"} 
[2026-09-24 13:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790237767000,"timestamp_ms":1790237767000,"timestamp_seconds":1790237767,"priority":1,"record_length":96,"hex_timestamp":"000001a0d27c7558"} 
[2026-09-24 13:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-24 13:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:47: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-09-24 13:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300868096001,"66":13993,"103":206,"83":41984,"24":7,"16":22892459155521536,"45":1891652611601729536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 13:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300868096001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:47:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 13:47:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22892459155521536,"km_value":22892459155521.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891652611601729536,"description":"Unknown IO ID 45"} 
[2026-09-24 13:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300868096001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1891652611601729536}} 
[2026-09-24 13:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":192729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:47:56] local.INFO: GPS data processed {"connection_id":192729,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:47:56] local.INFO: Acknowledgment sent {"connection_id":192729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:48:07] local.INFO: TCP Data received {"connection_id":191152,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:48:07] local.INFO: Processing buffer {"connection_id":191152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:48:07] local.INFO: Packet analysis {"connection_id":191152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d27c"} 
[2026-09-24 13:48:07] local.INFO: Extracted packet for processing {"connection_id":191152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d27c"} 
[2026-09-24 13:48:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300787968001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790237754000,"timestamp_ms":1790237754000,"timestamp_seconds":1790237754,"priority":1,"record_length":96,"hex_timestamp":"000001a0d27c4290"} 
[2026-09-24 13:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300787968001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300787968001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:48:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:48:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300787968001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":191152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:48:07] local.INFO: GPS data processed {"connection_id":191152,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:48:07] local.INFO: Acknowledgment sent {"connection_id":191152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:48:25] local.INFO: TCP Data received {"connection_id":191352,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:48:25] local.INFO: Processing buffer {"connection_id":191352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:48:25] local.INFO: IMEI packet received {"connection_id":191352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 13:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":191352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:48:28] local.INFO: TCP Data received {"connection_id":191353,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:48:28] local.INFO: Processing buffer {"connection_id":191353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:48:28] local.INFO: IMEI packet received {"connection_id":191353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":191353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:48:29] local.INFO: TCP Data received {"connection_id":192729,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d27df428012d19c9800720a480003200fc25..."} 
[2026-09-24 13:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d27df428012d19c9800720a480003200fc25..."} 
[2026-09-24 13:48:29] local.INFO: Processing buffer {"connection_id":192729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d27df428012d19c9800720a480003200fc25..."} 
[2026-09-24 13:48:29] local.INFO: Packet analysis {"connection_id":192729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d27d"} 
[2026-09-24 13:48:29] local.INFO: Extracted packet for processing {"connection_id":192729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d27d"} 
[2026-09-24 13:48:29] local.INFO: GPS Element Parsed {"raw_longitude":756664704,"raw_latitude":119579776,"longitude_deg":75.6664704,"latitude_deg":11.9579776,"altitude":50,"angle":252,"satellites":37,"speed":16,"hex_longitude":"2d19c980","hex_latitude":"0720a480","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300892160001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22894331761262592,"note":"Value kept but may cause issues"} 
[2026-09-24 13:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859775570484185088,"note":"Value kept but may cause issues"} 
[2026-09-24 13:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790237865000,"timestamp_ms":1790237865000,"timestamp_seconds":1790237865,"priority":1,"record_length":96,"hex_timestamp":"000001a0d27df428"} 
[2026-09-24 13:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-24 13:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":192729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":192729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":192729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300892160001,"66":14265,"103":206,"83":41984,"24":16,"16":22894331761262592,"45":1859775570484185088},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 13:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300892160001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:48:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 13:48:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22894331761262592,"km_value":22894331761262.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859775570484185088,"description":"Unknown IO ID 45"} 
[2026-09-24 13:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300892160001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1859775570484185088}} 
[2026-09-24 13:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":192729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:48:29] local.INFO: GPS data processed {"connection_id":192729,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:48:29] local.INFO: Acknowledgment sent {"connection_id":192729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:48:33] local.INFO: TCP Data received {"connection_id":191353,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:48:33] local.INFO: Processing buffer {"connection_id":191353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:48:33] local.INFO: IMEI packet received {"connection_id":191353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":191353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:48:34] local.INFO: TCP Data received {"connection_id":191353,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:48:34] local.INFO: Processing buffer {"connection_id":191353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:48:34] local.INFO: Packet analysis {"connection_id":191353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d27c"} 
[2026-09-24 13:48:34] local.INFO: Extracted packet for processing {"connection_id":191353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d27c"} 
[2026-09-24 13:48:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300787968001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790237754000,"timestamp_ms":1790237754000,"timestamp_seconds":1790237754,"priority":1,"record_length":96,"hex_timestamp":"000001a0d27c4290"} 
[2026-09-24 13:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300787968001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300787968001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:48:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:48:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300787968001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":191353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:48:34] local.INFO: GPS data processed {"connection_id":191353,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:48:34] local.INFO: Acknowledgment sent {"connection_id":191353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:48:43] local.INFO: TCP Data received {"connection_id":192730,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:48:43] local.INFO: Processing buffer {"connection_id":192730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:48:43] local.INFO: IMEI packet received {"connection_id":192730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":192730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:48:45] local.INFO: TCP Data received {"connection_id":192730,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:48:45] local.INFO: Processing buffer {"connection_id":192730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:48:45] local.INFO: IMEI packet received {"connection_id":192730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":192730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:48:50] local.INFO: TCP Data received {"connection_id":192730,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:48:50] local.INFO: Processing buffer {"connection_id":192730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:48:50] local.INFO: IMEI packet received {"connection_id":192730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":192730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:48:51] local.INFO: TCP Data received {"connection_id":192730,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d27df810012d19c7c00720a4380032010a25..."} 
[2026-09-24 13:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d27df810012d19c7c00720a4380032010a25..."} 
[2026-09-24 13:48:51] local.INFO: Processing buffer {"connection_id":192730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d27df810012d19c7c00720a4380032010a25..."} 
[2026-09-24 13:48:51] local.INFO: Packet analysis {"connection_id":192730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d27d"} 
[2026-09-24 13:48:51] local.INFO: Extracted packet for processing {"connection_id":192730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d27d"} 
[2026-09-24 13:48:51] local.INFO: GPS Element Parsed {"raw_longitude":756664256,"raw_latitude":119579704,"longitude_deg":75.6664256,"latitude_deg":11.9579704,"altitude":50,"angle":266,"satellites":37,"speed":20,"hex_longitude":"2d19c7c0","hex_latitude":"0720a438","is_valid_coordinates":true} 
[2026-09-24 13:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300893440001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22894353236099072,"note":"Value kept but may cause issues"} 
[2026-09-24 13:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858157089367818240,"note":"Value kept but may cause issues"} 
[2026-09-24 13:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790237866000,"timestamp_ms":1790237866000,"timestamp_seconds":1790237866,"priority":1,"record_length":96,"hex_timestamp":"000001a0d27df810"} 
[2026-09-24 13:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-24 13:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300893440001,"66":13993,"103":206,"83":41984,"24":20,"16":22894353236099072,"45":1858157089367818240},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 13:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300893440001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:48:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 13:48:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22894353236099072,"km_value":22894353236099.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858157089367818240,"description":"Unknown IO ID 45"} 
[2026-09-24 13:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300893440001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1858157089367818240}} 
[2026-09-24 13:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":192730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:48:51] local.INFO: GPS data processed {"connection_id":192730,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:48:51] local.INFO: Acknowledgment sent {"connection_id":192730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:49:06] local.INFO: TCP Data received {"connection_id":191353,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:49:06] local.INFO: Processing buffer {"connection_id":191353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:49:06] local.INFO: Packet analysis {"connection_id":191353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d27c"} 
[2026-09-24 13:49:06] local.INFO: Extracted packet for processing {"connection_id":191353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d27c"} 
[2026-09-24 13:49:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300787968001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790237754000,"timestamp_ms":1790237754000,"timestamp_seconds":1790237754,"priority":1,"record_length":96,"hex_timestamp":"000001a0d27c4290"} 
[2026-09-24 13:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300787968001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300787968001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:49:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:49:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300787968001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":191353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:49:06] local.INFO: GPS data processed {"connection_id":191353,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:49:06] local.INFO: Acknowledgment sent {"connection_id":191353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:49:07] local.INFO: TCP Data received {"connection_id":191153,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:49:07] local.INFO: Processing buffer {"connection_id":191153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:49:07] local.INFO: IMEI packet received {"connection_id":191153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 13:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":191153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:49:22] local.INFO: TCP Data received {"connection_id":192730,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d27dffe0012d19c3c00720a4900032011728..."} 
[2026-09-24 13:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d27dffe0012d19c3c00720a4900032011728..."} 
[2026-09-24 13:49:22] local.INFO: Processing buffer {"connection_id":192730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d27dffe0012d19c3c00720a4900032011728..."} 
[2026-09-24 13:49:22] local.INFO: Packet analysis {"connection_id":192730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d27d"} 
[2026-09-24 13:49:22] local.INFO: Extracted packet for processing {"connection_id":192730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d27d"} 
[2026-09-24 13:49:22] local.INFO: GPS Element Parsed {"raw_longitude":756663232,"raw_latitude":119579792,"longitude_deg":75.6663232,"latitude_deg":11.9579792,"altitude":50,"angle":279,"satellites":40,"speed":21,"hex_longitude":"2d19c3c0","hex_latitude":"0720a490","is_valid_coordinates":true} 
[2026-09-24 13:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300893696001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22894404775706624,"note":"Value kept but may cause issues"} 
[2026-09-24 13:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857664508158556160,"note":"Value kept but may cause issues"} 
[2026-09-24 13:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790237868000,"timestamp_ms":1790237868000,"timestamp_seconds":1790237868,"priority":1,"record_length":96,"hex_timestamp":"000001a0d27dffe0"} 
[2026-09-24 13:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-24 13:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300893696001,"66":14243,"103":206,"83":41984,"24":21,"16":22894404775706624,"45":1857664508158556160},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 13:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300893696001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:49:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 13:49:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22894404775706624,"km_value":22894404775706.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857664508158556160,"description":"Unknown IO ID 45"} 
[2026-09-24 13:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300893696001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1857664508158556160}} 
[2026-09-24 13:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":192730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:49:22] local.INFO: GPS data processed {"connection_id":192730,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:49:22] local.INFO: Acknowledgment sent {"connection_id":192730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:49:28] local.INFO: TCP Data received {"connection_id":194012,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:49:28] local.INFO: Processing buffer {"connection_id":194012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:49:28] local.INFO: IMEI packet received {"connection_id":194012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":194012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:49:33] local.INFO: TCP Data received {"connection_id":194012,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:49:33] local.INFO: Processing buffer {"connection_id":194012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:49:33] local.INFO: IMEI packet received {"connection_id":194012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":194012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:49:34] local.INFO: TCP Data received {"connection_id":194012,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:49:34] local.INFO: Processing buffer {"connection_id":194012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:49:34] local.INFO: Packet analysis {"connection_id":194012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d27c"} 
[2026-09-24 13:49:34] local.INFO: Extracted packet for processing {"connection_id":194012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d27c"} 
[2026-09-24 13:49:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300787968001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790237754000,"timestamp_ms":1790237754000,"timestamp_seconds":1790237754,"priority":1,"record_length":96,"hex_timestamp":"000001a0d27c4290"} 
[2026-09-24 13:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300787968001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300787968001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:49:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:49:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300787968001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":194012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:49:34] local.INFO: GPS data processed {"connection_id":194012,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:49:34] local.INFO: Acknowledgment sent {"connection_id":194012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:49:43] local.INFO: TCP Data received {"connection_id":191155,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:49:43] local.INFO: Processing buffer {"connection_id":191155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:49:43] local.INFO: IMEI packet received {"connection_id":191155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":191155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:49:46] local.INFO: TCP Data received {"connection_id":191155,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:49:46] local.INFO: Processing buffer {"connection_id":191155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:49:46] local.INFO: IMEI packet received {"connection_id":191155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":191155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:49:50] local.INFO: TCP Data received {"connection_id":191155,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:49:50] local.INFO: Processing buffer {"connection_id":191155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:49:50] local.INFO: IMEI packet received {"connection_id":191155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":191155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:49:51] local.INFO: TCP Data received {"connection_id":191155,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d27edaa0012d192d800720bb10002c012529..."} 
[2026-09-24 13:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d27edaa0012d192d800720bb10002c012529..."} 
[2026-09-24 13:49:51] local.INFO: Processing buffer {"connection_id":191155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d27edaa0012d192d800720bb10002c012529..."} 
[2026-09-24 13:49:51] local.INFO: Packet analysis {"connection_id":191155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d27e"} 
[2026-09-24 13:49:51] local.INFO: Extracted packet for processing {"connection_id":191155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d27e"} 
[2026-09-24 13:49:51] local.INFO: GPS Element Parsed {"raw_longitude":756624768,"raw_latitude":119585552,"longitude_deg":75.6624768,"latitude_deg":11.9585552,"altitude":44,"angle":293,"satellites":41,"speed":39,"hex_longitude":"2d192d80","hex_latitude":"0720bb10","is_valid_coordinates":true} 
[2026-09-24 13:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300907520001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22896324626087936,"note":"Value kept but may cause issues"} 
[2026-09-24 13:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817976536443326464,"note":"Value kept but may cause issues"} 
[2026-09-24 13:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790237924000,"timestamp_ms":1790237924000,"timestamp_seconds":1790237924,"priority":1,"record_length":96,"hex_timestamp":"000001a0d27edaa0"} 
[2026-09-24 13:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-24 13:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300907520001,"66":14265,"103":206,"83":41984,"24":39,"16":22896324626087936,"45":1817976536443326464},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 13:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300907520001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:49:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 13:49:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22896324626087936,"km_value":22896324626087.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817976536443326464,"description":"Unknown IO ID 45"} 
[2026-09-24 13:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300907520001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1817976536443326464}} 
[2026-09-24 13:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":191155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:49:51] local.INFO: GPS data processed {"connection_id":191155,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:49:51] local.INFO: Acknowledgment sent {"connection_id":191155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:50:06] local.INFO: TCP Data received {"connection_id":194012,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:50:06] local.INFO: Processing buffer {"connection_id":194012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:50:06] local.INFO: Packet analysis {"connection_id":194012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d27c"} 
[2026-09-24 13:50:06] local.INFO: Extracted packet for processing {"connection_id":194012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d27c"} 
[2026-09-24 13:50:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300787968001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790237754000,"timestamp_ms":1790237754000,"timestamp_seconds":1790237754,"priority":1,"record_length":96,"hex_timestamp":"000001a0d27c4290"} 
[2026-09-24 13:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300787968001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300787968001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:50:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:50:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300787968001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":194012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:50:06] local.INFO: GPS data processed {"connection_id":194012,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:50:06] local.INFO: Acknowledgment sent {"connection_id":194012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:50:27] local.INFO: TCP Data received {"connection_id":191155,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d27efdc8012d190c400720c928002e012c29..."} 
[2026-09-24 13:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d27efdc8012d190c400720c928002e012c29..."} 
[2026-09-24 13:50:27] local.INFO: Processing buffer {"connection_id":191155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d27efdc8012d190c400720c928002e012c29..."} 
[2026-09-24 13:50:27] local.INFO: Packet analysis {"connection_id":191155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d27e"} 
[2026-09-24 13:50:27] local.INFO: Extracted packet for processing {"connection_id":191155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d27e"} 
[2026-09-24 13:50:27] local.INFO: GPS Element Parsed {"raw_longitude":756616256,"raw_latitude":119589160,"longitude_deg":75.6616256,"latitude_deg":11.958916,"altitude":46,"angle":300,"satellites":41,"speed":35,"hex_longitude":"2d190c40","hex_latitude":"0720c928","is_valid_coordinates":true} 
[2026-09-24 13:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300908544001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22896762712752128,"note":"Value kept but may cause issues"} 
[2026-09-24 13:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1814246993002434560,"note":"Value kept but may cause issues"} 
[2026-09-24 13:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790237933000,"timestamp_ms":1790237933000,"timestamp_seconds":1790237933,"priority":1,"record_length":96,"hex_timestamp":"000001a0d27efdc8"} 
[2026-09-24 13:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-24 13:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300908544001,"66":14341,"103":206,"83":41984,"24":35,"16":22896762712752128,"45":1814246993002434560},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 13:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300908544001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:50:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 13:50:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22896762712752128,"km_value":22896762712752.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1814246993002434560,"description":"Unknown IO ID 45"} 
[2026-09-24 13:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300908544001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1814246993002434560}} 
[2026-09-24 13:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":191155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:50:27] local.INFO: GPS data processed {"connection_id":191155,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:50:27] local.INFO: Acknowledgment sent {"connection_id":191155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:50:33] local.INFO: TCP Data received {"connection_id":191354,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:50:33] local.INFO: Processing buffer {"connection_id":191354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:50:33] local.INFO: IMEI packet received {"connection_id":191354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":191354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:50:39] local.INFO: TCP Data received {"connection_id":191354,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:50:39] local.INFO: Processing buffer {"connection_id":191354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:50:39] local.INFO: IMEI packet received {"connection_id":191354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":191354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:50:41] local.INFO: TCP Data received {"connection_id":191354,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:50:41] local.INFO: Processing buffer {"connection_id":191354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:50:41] local.INFO: Packet analysis {"connection_id":191354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d27c"} 
[2026-09-24 13:50:41] local.INFO: Extracted packet for processing {"connection_id":191354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d27c"} 
[2026-09-24 13:50:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300787968001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790237754000,"timestamp_ms":1790237754000,"timestamp_seconds":1790237754,"priority":1,"record_length":96,"hex_timestamp":"000001a0d27c4290"} 
[2026-09-24 13:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300787968001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300787968001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:50:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:50:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300787968001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":191354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:50:41] local.INFO: GPS data processed {"connection_id":191354,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:50:41] local.INFO: Acknowledgment sent {"connection_id":191354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:50:47] local.INFO: TCP Data received {"connection_id":191156,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:50:47] local.INFO: Processing buffer {"connection_id":191156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:50:47] local.INFO: IMEI packet received {"connection_id":191156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":191156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:50:50] local.INFO: TCP Data received {"connection_id":191156,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:50:50] local.INFO: Processing buffer {"connection_id":191156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:50:50] local.INFO: IMEI packet received {"connection_id":191156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":191156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:50:51] local.INFO: TCP Data received {"connection_id":191156,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d27fbd30012d18c300072152c0004001522a..."} 
[2026-09-24 13:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d27fbd30012d18c300072152c0004001522a..."} 
[2026-09-24 13:50:51] local.INFO: Processing buffer {"connection_id":191156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d27fbd30012d18c300072152c0004001522a..."} 
[2026-09-24 13:50:51] local.INFO: Packet analysis {"connection_id":191156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d27f"} 
[2026-09-24 13:50:51] local.INFO: Extracted packet for processing {"connection_id":191156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d27f"} 
[2026-09-24 13:50:51] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119624384,"longitude_deg":75.6597504,"latitude_deg":11.9624384,"altitude":64,"angle":338,"satellites":42,"speed":33,"hex_longitude":"2d18c300","hex_latitude":"072152c0","is_valid_coordinates":true} 
[2026-09-24 13:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300922368001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22898789937315840,"note":"Value kept but may cause issues"} 
[2026-09-24 13:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120456886272,"note":"Value kept but may cause issues"} 
[2026-09-24 13:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790237982000,"timestamp_ms":1790237982000,"timestamp_seconds":1790237982,"priority":1,"record_length":96,"hex_timestamp":"000001a0d27fbd30"} 
[2026-09-24 13:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-24 13:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300922368001,"66":13993,"103":206,"83":41984,"24":33,"16":22898789937315840,"45":1784692120456886272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 13:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300922368001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:50:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 13:50:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22898789937315840,"km_value":22898789937315.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120456886272,"description":"Unknown IO ID 45"} 
[2026-09-24 13:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300922368001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1784692120456886272}} 
[2026-09-24 13:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":191156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:50:51] local.INFO: GPS data processed {"connection_id":191156,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:50:51] local.INFO: Acknowledgment sent {"connection_id":191156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:51:12] local.INFO: TCP Data received {"connection_id":191354,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:51:12] local.INFO: Processing buffer {"connection_id":191354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d27c4290012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:51:12] local.INFO: Packet analysis {"connection_id":191354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d27c"} 
[2026-09-24 13:51:12] local.INFO: Extracted packet for processing {"connection_id":191354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d27c"} 
[2026-09-24 13:51:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300787968001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790237754000,"timestamp_ms":1790237754000,"timestamp_seconds":1790237754,"priority":1,"record_length":96,"hex_timestamp":"000001a0d27c4290"} 
[2026-09-24 13:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300787968001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300787968001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:51:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:51:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300787968001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":191354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:51:12] local.INFO: GPS data processed {"connection_id":191354,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:51:12] local.INFO: Acknowledgment sent {"connection_id":191354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:51:23] local.INFO: TCP Data received {"connection_id":191156,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d27fc500012d18bf8007215850004101432c..."} 
[2026-09-24 13:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d27fc500012d18bf8007215850004101432c..."} 
[2026-09-24 13:51:23] local.INFO: Processing buffer {"connection_id":191156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d27fc500012d18bf8007215850004101432c..."} 
[2026-09-24 13:51:23] local.INFO: Packet analysis {"connection_id":191156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d27f"} 
[2026-09-24 13:51:23] local.INFO: Extracted packet for processing {"connection_id":191156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d27f"} 
[2026-09-24 13:51:23] local.INFO: GPS Element Parsed {"raw_longitude":756596608,"raw_latitude":119625808,"longitude_deg":75.6596608,"latitude_deg":11.9625808,"altitude":65,"angle":323,"satellites":44,"speed":32,"hex_longitude":"2d18bf80","hex_latitude":"07215850","is_valid_coordinates":true} 
[2026-09-24 13:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300923392001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22898871541694464,"note":"Value kept but may cause issues"} 
[2026-09-24 13:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907992690688,"note":"Value kept but may cause issues"} 
[2026-09-24 13:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790237984000,"timestamp_ms":1790237984000,"timestamp_seconds":1790237984,"priority":1,"record_length":96,"hex_timestamp":"000001a0d27fc500"} 
[2026-09-24 13:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-24 13:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:51: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-09-24 13:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300923392001,"66":13961,"103":206,"83":41984,"24":32,"16":22898871541694464,"45":1784269907992690688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 13:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300923392001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:51:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 13:51:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22898871541694464,"km_value":22898871541694.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907992690688,"description":"Unknown IO ID 45"} 
[2026-09-24 13:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300923392001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1784269907992690688}} 
[2026-09-24 13:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":191156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:51:23] local.INFO: GPS data processed {"connection_id":191156,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:51:23] local.INFO: Acknowledgment sent {"connection_id":191156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:51:28] local.INFO: TCP Data received {"connection_id":191356,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:51:28] local.INFO: Processing buffer {"connection_id":191356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:51:28] local.INFO: IMEI packet received {"connection_id":191356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":191356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:51:34] local.INFO: TCP Data received {"connection_id":191356,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:51:34] local.INFO: Processing buffer {"connection_id":191356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:51:34] local.INFO: IMEI packet received {"connection_id":191356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":191356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:51:35] local.INFO: TCP Data received {"connection_id":191356,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:51:35] local.INFO: Processing buffer {"connection_id":191356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:51:35] local.INFO: Packet analysis {"connection_id":191356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:51:35] local.INFO: Extracted packet for processing {"connection_id":191356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:51:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300865024001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790238055000,"timestamp_ms":1790238055000,"timestamp_seconds":1790238055,"priority":1,"record_length":96,"hex_timestamp":"000001a0d280da58"} 
[2026-09-24 13:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300865024001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300865024001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:51:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:51:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300865024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":191356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:51:35] local.INFO: GPS data processed {"connection_id":191356,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:51:35] local.INFO: Acknowledgment sent {"connection_id":191356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:51:45] local.INFO: TCP Data received {"connection_id":191157,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:51:45] local.INFO: Processing buffer {"connection_id":191157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:51:45] local.INFO: IMEI packet received {"connection_id":191157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":191157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:51:50] local.INFO: TCP Data received {"connection_id":191157,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:51:50] local.INFO: Processing buffer {"connection_id":191157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:51:50] local.INFO: IMEI packet received {"connection_id":191157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":191157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:51:51] local.INFO: TCP Data received {"connection_id":191157,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d27fec10012d18ac80072172180045013429..."} 
[2026-09-24 13:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d27fec10012d18ac80072172180045013429..."} 
[2026-09-24 13:51:51] local.INFO: Processing buffer {"connection_id":191157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d27fec10012d18ac80072172180045013429..."} 
[2026-09-24 13:51:51] local.INFO: Packet analysis {"connection_id":191157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d27f"} 
[2026-09-24 13:51:51] local.INFO: Extracted packet for processing {"connection_id":191157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d27f"} 
[2026-09-24 13:51:51] local.INFO: GPS Element Parsed {"raw_longitude":756591744,"raw_latitude":119632408,"longitude_deg":75.6591744,"latitude_deg":11.9632408,"altitude":69,"angle":308,"satellites":41,"speed":23,"hex_longitude":"2d18ac80","hex_latitude":"07217218","is_valid_coordinates":true} 
[2026-09-24 13:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300923904001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22899266678685696,"note":"Value kept but may cause issues"} 
[2026-09-24 13:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783284745574567936,"note":"Value kept but may cause issues"} 
[2026-09-24 13:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790237994000,"timestamp_ms":1790237994000,"timestamp_seconds":1790237994,"priority":1,"record_length":96,"hex_timestamp":"000001a0d27fec10"} 
[2026-09-24 13:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-24 13:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300923904001,"66":13863,"103":206,"83":41984,"24":23,"16":22899266678685696,"45":1783284745574567936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 13:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300923904001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:51:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 13:51:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22899266678685696,"km_value":22899266678685.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783284745574567936,"description":"Unknown IO ID 45"} 
[2026-09-24 13:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300923904001,"power":13863,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1783284745574567936}} 
[2026-09-24 13:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":191157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:51:51] local.INFO: GPS data processed {"connection_id":191157,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:51:51] local.INFO: Acknowledgment sent {"connection_id":191157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:52:06] local.INFO: TCP Data received {"connection_id":191356,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:52:06] local.INFO: Processing buffer {"connection_id":191356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:52:06] local.INFO: Packet analysis {"connection_id":191356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:52:06] local.INFO: Extracted packet for processing {"connection_id":191356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:52:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300865024001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790238055000,"timestamp_ms":1790238055000,"timestamp_seconds":1790238055,"priority":1,"record_length":96,"hex_timestamp":"000001a0d280da58"} 
[2026-09-24 13:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300865024001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300865024001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:52:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:52:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300865024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":191356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:52:06] local.INFO: GPS data processed {"connection_id":191356,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:52:06] local.INFO: Acknowledgment sent {"connection_id":191356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:52:23] local.INFO: TCP Data received {"connection_id":191157,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2803e18012d18aa40072172e0004601302a..."} 
[2026-09-24 13:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2803e18012d18aa40072172e0004601302a..."} 
[2026-09-24 13:52:23] local.INFO: Processing buffer {"connection_id":191157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2803e18012d18aa40072172e0004601302a..."} 
[2026-09-24 13:52:23] local.INFO: Packet analysis {"connection_id":191157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:52:23] local.INFO: Extracted packet for processing {"connection_id":191157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:52:23] local.INFO: GPS Element Parsed {"raw_longitude":756591168,"raw_latitude":119632608,"longitude_deg":75.6591168,"latitude_deg":11.9632608,"altitude":70,"angle":304,"satellites":42,"speed":0,"hex_longitude":"2d18aa40","hex_latitude":"072172e0","is_valid_coordinates":true} 
[2026-09-24 13:52: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-09-24 13:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300926464001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22899326808227840,"note":"Value kept but may cause issues"} 
[2026-09-24 13:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777936721018755072,"note":"Value kept but may cause issues"} 
[2026-09-24 13:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790238015000,"timestamp_ms":1790238015000,"timestamp_seconds":1790238015,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2803e18"} 
[2026-09-24 13:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-24 13:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:52: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-09-24 13:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300926464001,"66":13820,"103":206,"83":41984,"24":0,"16":22899326808227840,"45":1777936721018755072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 13:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300926464001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:52:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 13:52:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22899326808227840,"km_value":22899326808227.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777936721018755072,"description":"Unknown IO ID 45"} 
[2026-09-24 13:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300926464001,"power":13820,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777936721018755072}} 
[2026-09-24 13:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":191157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:52:23] local.INFO: GPS data processed {"connection_id":191157,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:52:23] local.INFO: Acknowledgment sent {"connection_id":191157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:52:28] local.INFO: TCP Data received {"connection_id":191357,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:52:28] local.INFO: Processing buffer {"connection_id":191357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:52:28] local.INFO: IMEI packet received {"connection_id":191357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":191357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:52:34] local.INFO: TCP Data received {"connection_id":191357,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:52:34] local.INFO: Processing buffer {"connection_id":191357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:52:34] local.INFO: IMEI packet received {"connection_id":191357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":191357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:52:35] local.INFO: TCP Data received {"connection_id":191357,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:52:35] local.INFO: Processing buffer {"connection_id":191357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:52:35] local.INFO: Packet analysis {"connection_id":191357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:52:35] local.INFO: Extracted packet for processing {"connection_id":191357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300865024001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790238055000,"timestamp_ms":1790238055000,"timestamp_seconds":1790238055,"priority":1,"record_length":96,"hex_timestamp":"000001a0d280da58"} 
[2026-09-24 13:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300865024001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300865024001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:52:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:52:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300865024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":191357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:52:35] local.INFO: GPS data processed {"connection_id":191357,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:52:35] local.INFO: Acknowledgment sent {"connection_id":191357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:52:50] local.INFO: TCP Data received {"connection_id":194013,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:52:50] local.INFO: Processing buffer {"connection_id":194013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:52:50] local.INFO: IMEI packet received {"connection_id":194013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":194013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:52:55] local.INFO: TCP Data received {"connection_id":194013,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:52:55] local.INFO: Processing buffer {"connection_id":194013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:52:55] local.INFO: IMEI packet received {"connection_id":194013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":194013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:52:56] local.INFO: TCP Data received {"connection_id":194013,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2809020012d18aa40072172e00046013028..."} 
[2026-09-24 13:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2809020012d18aa40072172e00046013028..."} 
[2026-09-24 13:52:56] local.INFO: Processing buffer {"connection_id":194013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2809020012d18aa40072172e00046013028..."} 
[2026-09-24 13:52:56] local.INFO: Packet analysis {"connection_id":194013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:52:56] local.INFO: Extracted packet for processing {"connection_id":194013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:52:56] local.INFO: GPS Element Parsed {"raw_longitude":756591168,"raw_latitude":119632608,"longitude_deg":75.6591168,"latitude_deg":11.9632608,"altitude":70,"angle":304,"satellites":40,"speed":0,"hex_longitude":"2d18aa40","hex_latitude":"072172e0","is_valid_coordinates":true} 
[2026-09-24 13:52: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-09-24 13:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300931840001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22899326808227840,"note":"Value kept but may cause issues"} 
[2026-09-24 13:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777303402321207296,"note":"Value kept but may cause issues"} 
[2026-09-24 13:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790238036000,"timestamp_ms":1790238036000,"timestamp_seconds":1790238036,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2809020"} 
[2026-09-24 13:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:52: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-24 13:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:52: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-09-24 13:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":194013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":194013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":194013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300931840001,"66":14298,"103":206,"83":41984,"24":0,"16":22899326808227840,"45":1777303402321207296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 13:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300931840001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:52:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 13:52:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22899326808227840,"km_value":22899326808227.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777303402321207296,"description":"Unknown IO ID 45"} 
[2026-09-24 13:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300931840001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777303402321207296}} 
[2026-09-24 13:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":194013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:52:56] local.INFO: GPS data processed {"connection_id":194013,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:52:56] local.INFO: Acknowledgment sent {"connection_id":194013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:53:00] local.INFO: TCP Data received {"connection_id":194013,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d280e228012d18aa40072172e00046013028..."} 
[2026-09-24 13:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d280e228012d18aa40072172e00046013028..."} 
[2026-09-24 13:53:00] local.INFO: Processing buffer {"connection_id":194013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d280e228012d18aa40072172e00046013028..."} 
[2026-09-24 13:53:00] local.INFO: Packet analysis {"connection_id":194013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:53:00] local.INFO: Extracted packet for processing {"connection_id":194013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:53:00] local.INFO: GPS Element Parsed {"raw_longitude":756591168,"raw_latitude":119632608,"longitude_deg":75.6591168,"latitude_deg":11.9632608,"altitude":70,"angle":304,"satellites":40,"speed":0,"hex_longitude":"2d18aa40","hex_latitude":"072172e0","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300937216001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22899326808227840,"note":"Value kept but may cause issues"} 
[2026-09-24 13:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777303402321207296,"note":"Value kept but may cause issues"} 
[2026-09-24 13:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790238057000,"timestamp_ms":1790238057000,"timestamp_seconds":1790238057,"priority":1,"record_length":96,"hex_timestamp":"000001a0d280e228"} 
[2026-09-24 13:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-24 13:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":194013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":194013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":194013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300937216001,"66":14211,"103":206,"83":41984,"24":0,"16":22899326808227840,"45":1777303402321207296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 13:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300937216001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:53:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 13:53:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22899326808227840,"km_value":22899326808227.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777303402321207296,"description":"Unknown IO ID 45"} 
[2026-09-24 13:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300937216001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777303402321207296}} 
[2026-09-24 13:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":194013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:53:01] local.INFO: GPS data processed {"connection_id":194013,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:53:01] local.INFO: Acknowledgment sent {"connection_id":194013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:53:07] local.INFO: TCP Data received {"connection_id":191357,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:53:07] local.INFO: Processing buffer {"connection_id":191357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:53:07] local.INFO: Packet analysis {"connection_id":191357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:53:07] local.INFO: Extracted packet for processing {"connection_id":191357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:53:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300865024001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790238055000,"timestamp_ms":1790238055000,"timestamp_seconds":1790238055,"priority":1,"record_length":96,"hex_timestamp":"000001a0d280da58"} 
[2026-09-24 13:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300865024001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300865024001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:53:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:53:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300865024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":191357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:53:07] local.INFO: GPS data processed {"connection_id":191357,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:53:07] local.INFO: Acknowledgment sent {"connection_id":191357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:53:33] local.INFO: TCP Data received {"connection_id":192733,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:53:33] local.INFO: Processing buffer {"connection_id":192733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:53:33] local.INFO: IMEI packet received {"connection_id":192733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":192733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:53:38] local.INFO: TCP Data received {"connection_id":192733,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:53:38] local.INFO: Processing buffer {"connection_id":192733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:53:38] local.INFO: IMEI packet received {"connection_id":192733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":192733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:53:39] local.INFO: TCP Data received {"connection_id":192733,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:53:39] local.INFO: Processing buffer {"connection_id":192733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:53:39] local.INFO: Packet analysis {"connection_id":192733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:53:39] local.INFO: Extracted packet for processing {"connection_id":192733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:53:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300865024001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790238055000,"timestamp_ms":1790238055000,"timestamp_seconds":1790238055,"priority":1,"record_length":96,"hex_timestamp":"000001a0d280da58"} 
[2026-09-24 13:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300865024001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300865024001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:53:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:53:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300865024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":192733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:53:39] local.INFO: GPS data processed {"connection_id":192733,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:53:39] local.INFO: Acknowledgment sent {"connection_id":192733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:53:44] local.INFO: TCP Data received {"connection_id":192733,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:53:44] local.INFO: Processing buffer {"connection_id":192733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:53:44] local.INFO: Packet analysis {"connection_id":192733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:53:44] local.INFO: Extracted packet for processing {"connection_id":192733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:53:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300865024001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790238055000,"timestamp_ms":1790238055000,"timestamp_seconds":1790238055,"priority":1,"record_length":96,"hex_timestamp":"000001a0d280da58"} 
[2026-09-24 13:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300865024001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300865024001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:53:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:53:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300865024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":192733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:53:44] local.INFO: GPS data processed {"connection_id":192733,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:53:44] local.INFO: Acknowledgment sent {"connection_id":192733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:53:45] local.INFO: TCP Data received {"connection_id":191358,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:53:45] local.INFO: Processing buffer {"connection_id":191358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:53:45] local.INFO: IMEI packet received {"connection_id":191358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":191358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:53:48] local.INFO: TCP Data received {"connection_id":191358,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:53:48] local.INFO: Processing buffer {"connection_id":191358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:53:48] local.INFO: IMEI packet received {"connection_id":191358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":191358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:53:48] local.INFO: TCP Data received {"connection_id":191358,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28268c8012d181ac00721a7f8004701602a..."} 
[2026-09-24 13:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28268c8012d181ac00721a7f8004701602a..."} 
[2026-09-24 13:53:48] local.INFO: Processing buffer {"connection_id":191358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28268c8012d181ac00721a7f8004701602a..."} 
[2026-09-24 13:53:48] local.INFO: Packet analysis {"connection_id":191358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d282"} 
[2026-09-24 13:53:48] local.INFO: Extracted packet for processing {"connection_id":191358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d282"} 
[2026-09-24 13:53:48] local.INFO: GPS Element Parsed {"raw_longitude":756554432,"raw_latitude":119646200,"longitude_deg":75.6554432,"latitude_deg":11.96462,"altitude":71,"angle":352,"satellites":42,"speed":8,"hex_longitude":"2d181ac0","hex_latitude":"0721a7f8","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300967936001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22901259543511040,"note":"Value kept but may cause issues"} 
[2026-09-24 13:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736982111910840320,"note":"Value kept but may cause issues"} 
[2026-09-24 13:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790238157000,"timestamp_ms":1790238157000,"timestamp_seconds":1790238157,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28268c8"} 
[2026-09-24 13:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-24 13:53:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300967936001,"66":14265,"105":206,"83":41984,"24":8,"16":22901259543511040,"45":1736982111910840320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 13:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300967936001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:53:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 13:53:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22901259543511040,"km_value":22901259543511.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736982111910840320,"description":"Unknown IO ID 45"} 
[2026-09-24 13:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300967936001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1736982111910840320}} 
[2026-09-24 13:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":191358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:53:49] local.INFO: GPS data processed {"connection_id":191358,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:53:49] local.INFO: Acknowledgment sent {"connection_id":191358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:54:20] local.INFO: TCP Data received {"connection_id":191358,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2826cb0012d181b000721a8a00047002124..."} 
[2026-09-24 13:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2826cb0012d181b000721a8a00047002124..."} 
[2026-09-24 13:54:20] local.INFO: Processing buffer {"connection_id":191358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2826cb0012d181b000721a8a00047002124..."} 
[2026-09-24 13:54:20] local.INFO: Packet analysis {"connection_id":191358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d282"} 
[2026-09-24 13:54:20] local.INFO: Extracted packet for processing {"connection_id":191358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d282"} 
[2026-09-24 13:54:20] local.INFO: GPS Element Parsed {"raw_longitude":756554496,"raw_latitude":119646368,"longitude_deg":75.6554496,"latitude_deg":11.9646368,"altitude":71,"angle":33,"satellites":36,"speed":6,"hex_longitude":"2d181b00","hex_latitude":"0721a8a0","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300968192001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22901268133445632,"note":"Value kept but may cause issues"} 
[2026-09-24 13:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736911743166707712,"note":"Value kept but may cause issues"} 
[2026-09-24 13:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790238158000,"timestamp_ms":1790238158000,"timestamp_seconds":1790238158,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2826cb0"} 
[2026-09-24 13:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-24 13:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300968192001,"66":14048,"105":206,"83":41984,"24":6,"16":22901268133445632,"45":1736911743166707712},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 13:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300968192001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:54:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 13:54:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22901268133445632,"km_value":22901268133445.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736911743166707712,"description":"Unknown IO ID 45"} 
[2026-09-24 13:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300968192001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1736911743166707712}} 
[2026-09-24 13:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":191358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:54:20] local.INFO: GPS data processed {"connection_id":191358,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:54:20] local.INFO: Acknowledgment sent {"connection_id":191358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:54:28] local.INFO: TCP Data received {"connection_id":191159,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:54:28] local.INFO: Processing buffer {"connection_id":191159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:54:28] local.INFO: IMEI packet received {"connection_id":191159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":191159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:54:33] local.INFO: TCP Data received {"connection_id":191159,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:54:33] local.INFO: Processing buffer {"connection_id":191159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:54:33] local.INFO: IMEI packet received {"connection_id":191159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":191159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:54:34] local.INFO: TCP Data received {"connection_id":191159,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:54:34] local.INFO: Processing buffer {"connection_id":191159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:54:34] local.INFO: Packet analysis {"connection_id":191159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:54:34] local.INFO: Extracted packet for processing {"connection_id":191159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:54:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300865024001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790238055000,"timestamp_ms":1790238055000,"timestamp_seconds":1790238055,"priority":1,"record_length":96,"hex_timestamp":"000001a0d280da58"} 
[2026-09-24 13:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300865024001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300865024001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:54:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:54:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300865024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":191159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:54:34] local.INFO: GPS data processed {"connection_id":191159,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:54:34] local.INFO: Acknowledgment sent {"connection_id":191159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:54:37] local.INFO: TCP Data received {"connection_id":192734,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:54:37] local.INFO: Processing buffer {"connection_id":192734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:54:37] local.INFO: IMEI packet received {"connection_id":192734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 13:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":192734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:54:44] local.INFO: TCP Data received {"connection_id":191359,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:54:44] local.INFO: Processing buffer {"connection_id":191359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:54:44] local.INFO: IMEI packet received {"connection_id":191359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":191359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:54:45] local.INFO: TCP Data received {"connection_id":191359,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:54:45] local.INFO: Processing buffer {"connection_id":191359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:54:45] local.INFO: IMEI packet received {"connection_id":191359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":191359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:54:50] local.INFO: TCP Data received {"connection_id":191359,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:54:50] local.INFO: Processing buffer {"connection_id":191359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:54:50] local.INFO: IMEI packet received {"connection_id":191359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":191359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:54:51] local.INFO: TCP Data received {"connection_id":191359,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2827098012d181b400721a8f00047003327..."} 
[2026-09-24 13:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2827098012d181b400721a8f00047003327..."} 
[2026-09-24 13:54:51] local.INFO: Processing buffer {"connection_id":191359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2827098012d181b400721a8f00047003327..."} 
[2026-09-24 13:54:51] local.INFO: Packet analysis {"connection_id":191359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d282"} 
[2026-09-24 13:54:51] local.INFO: Extracted packet for processing {"connection_id":191359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d282"} 
[2026-09-24 13:54:51] local.INFO: GPS Element Parsed {"raw_longitude":756554560,"raw_latitude":119646448,"longitude_deg":75.655456,"latitude_deg":11.9646448,"altitude":71,"angle":51,"satellites":39,"speed":2,"hex_longitude":"2d181b40","hex_latitude":"0721a8f0","is_valid_coordinates":true} 
[2026-09-24 13:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300968448001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22901276723380224,"note":"Value kept but may cause issues"} 
[2026-09-24 13:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736982111910928384,"note":"Value kept but may cause issues"} 
[2026-09-24 13:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790238159000,"timestamp_ms":1790238159000,"timestamp_seconds":1790238159,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2827098"} 
[2026-09-24 13:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-24 13:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300968448001,"66":14048,"105":206,"83":41984,"24":2,"16":22901276723380224,"45":1736982111910928384},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 13:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300968448001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:54:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 13:54:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22901276723380224,"km_value":22901276723380.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736982111910928384,"description":"Unknown IO ID 45"} 
[2026-09-24 13:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300968448001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1736982111910928384}} 
[2026-09-24 13:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":191359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:54:51] local.INFO: GPS data processed {"connection_id":191359,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:54:51] local.INFO: Acknowledgment sent {"connection_id":191359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:55:06] local.INFO: TCP Data received {"connection_id":191159,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:55:06] local.INFO: Processing buffer {"connection_id":191159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:55:06] local.INFO: Packet analysis {"connection_id":191159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:55:06] local.INFO: Extracted packet for processing {"connection_id":191159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:55:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300865024001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790238055000,"timestamp_ms":1790238055000,"timestamp_seconds":1790238055,"priority":1,"record_length":96,"hex_timestamp":"000001a0d280da58"} 
[2026-09-24 13:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300865024001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300865024001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:55:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:55:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300865024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":191159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:55:06] local.INFO: GPS data processed {"connection_id":191159,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:55:06] local.INFO: Acknowledgment sent {"connection_id":191159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:55:07] local.INFO: TCP Data received {"connection_id":192735,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:55:07] local.INFO: Processing buffer {"connection_id":192735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 13:55:07] local.INFO: IMEI packet received {"connection_id":192735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 13:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":192735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:55:22] local.INFO: TCP Data received {"connection_id":191359,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2842de8012d189a0007229d38006d01252b..."} 
[2026-09-24 13:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2842de8012d189a0007229d38006d01252b..."} 
[2026-09-24 13:55:22] local.INFO: Processing buffer {"connection_id":191359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2842de8012d189a0007229d38006d01252b..."} 
[2026-09-24 13:55:22] local.INFO: Packet analysis {"connection_id":191359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d284"} 
[2026-09-24 13:55:22] local.INFO: Extracted packet for processing {"connection_id":191359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d284"} 
[2026-09-24 13:55:22] local.INFO: GPS Element Parsed {"raw_longitude":756587008,"raw_latitude":119708984,"longitude_deg":75.6587008,"latitude_deg":11.9708984,"altitude":109,"angle":293,"satellites":43,"speed":9,"hex_longitude":"2d189a00","hex_latitude":"07229d38","is_valid_coordinates":true} 
[2026-09-24 13:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300995840001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904936035516416,"note":"Value kept but may cause issues"} 
[2026-09-24 13:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775544183736276992,"note":"Value kept but may cause issues"} 
[2026-09-24 13:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790238273000,"timestamp_ms":1790238273000,"timestamp_seconds":1790238273,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2842de8"} 
[2026-09-24 13:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-24 13:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300995840001,"66":13167,"105":206,"83":41984,"24":9,"16":22904936035516416,"45":1775544183736276992},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 13:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300995840001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:55:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 13:55:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904936035516416,"km_value":22904936035516.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775544183736276992,"description":"Unknown IO ID 45"} 
[2026-09-24 13:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300995840001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1775544183736276992}} 
[2026-09-24 13:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":191359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:55:22] local.INFO: GPS data processed {"connection_id":191359,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:55:22] local.INFO: Acknowledgment sent {"connection_id":191359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:55:29] local.INFO: TCP Data received {"connection_id":191160,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:55:29] local.INFO: Processing buffer {"connection_id":191160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:55:29] local.INFO: IMEI packet received {"connection_id":191160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":191160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:55:33] local.INFO: TCP Data received {"connection_id":191160,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:55:33] local.INFO: Processing buffer {"connection_id":191160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:55:33] local.INFO: IMEI packet received {"connection_id":191160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":191160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:55:34] local.INFO: TCP Data received {"connection_id":191160,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:55:34] local.INFO: Processing buffer {"connection_id":191160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:55:34] local.INFO: Packet analysis {"connection_id":191160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:55:34] local.INFO: Extracted packet for processing {"connection_id":191160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:55:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300865024001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790238055000,"timestamp_ms":1790238055000,"timestamp_seconds":1790238055,"priority":1,"record_length":96,"hex_timestamp":"000001a0d280da58"} 
[2026-09-24 13:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300865024001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300865024001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:55:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:55:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300865024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":191160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:55:34] local.INFO: GPS data processed {"connection_id":191160,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:55:34] local.INFO: Acknowledgment sent {"connection_id":191160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:55:45] local.INFO: TCP Data received {"connection_id":192736,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:55:45] local.INFO: Processing buffer {"connection_id":192736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:55:45] local.INFO: IMEI packet received {"connection_id":192736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":192736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:55:50] local.INFO: TCP Data received {"connection_id":192736,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:55:50] local.INFO: Processing buffer {"connection_id":192736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:55:50] local.INFO: IMEI packet received {"connection_id":192736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":192736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:55:51] local.INFO: TCP Data received {"connection_id":192736,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28431d0012d18994007229d98006e01362b..."} 
[2026-09-24 13:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28431d0012d18994007229d98006e01362b..."} 
[2026-09-24 13:55:51] local.INFO: Processing buffer {"connection_id":192736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28431d0012d18994007229d98006e01362b..."} 
[2026-09-24 13:55:51] local.INFO: Packet analysis {"connection_id":192736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d284"} 
[2026-09-24 13:55:51] local.INFO: Extracted packet for processing {"connection_id":192736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d284"} 
[2026-09-24 13:55:51] local.INFO: GPS Element Parsed {"raw_longitude":756586816,"raw_latitude":119709080,"longitude_deg":75.6586816,"latitude_deg":11.970908,"altitude":110,"angle":310,"satellites":43,"speed":6,"hex_longitude":"2d189940","hex_latitude":"07229d98","is_valid_coordinates":true} 
[2026-09-24 13:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300997888001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904944625451008,"note":"Value kept but may cause issues"} 
[2026-09-24 13:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772729433969211392,"note":"Value kept but may cause issues"} 
[2026-09-24 13:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790238274000,"timestamp_ms":1790238274000,"timestamp_seconds":1790238274,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28431d0"} 
[2026-09-24 13:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-24 13:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300997888001,"66":13135,"105":206,"83":41984,"24":6,"16":22904944625451008,"45":1772729433969211392},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 13:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300997888001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:55:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 13:55:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904944625451008,"km_value":22904944625451.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772729433969211392,"description":"Unknown IO ID 45"} 
[2026-09-24 13:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300997888001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1772729433969211392}} 
[2026-09-24 13:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":192736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:55:51] local.INFO: GPS data processed {"connection_id":192736,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:55:51] local.INFO: Acknowledgment sent {"connection_id":192736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:56:06] local.INFO: TCP Data received {"connection_id":191160,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:56:06] local.INFO: Processing buffer {"connection_id":191160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:56:06] local.INFO: Packet analysis {"connection_id":191160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:56:06] local.INFO: Extracted packet for processing {"connection_id":191160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:56:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300865024001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790238055000,"timestamp_ms":1790238055000,"timestamp_seconds":1790238055,"priority":1,"record_length":96,"hex_timestamp":"000001a0d280da58"} 
[2026-09-24 13:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300865024001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300865024001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:56:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:56:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300865024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":191160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:56:06] local.INFO: GPS data processed {"connection_id":191160,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:56:06] local.INFO: Acknowledgment sent {"connection_id":191160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:56:22] local.INFO: TCP Data received {"connection_id":192736,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28435b8012d18990007229e18006e01552b..."} 
[2026-09-24 13:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28435b8012d18990007229e18006e01552b..."} 
[2026-09-24 13:56:22] local.INFO: Processing buffer {"connection_id":192736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28435b8012d18990007229e18006e01552b..."} 
[2026-09-24 13:56:22] local.INFO: Packet analysis {"connection_id":192736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d284"} 
[2026-09-24 13:56:22] local.INFO: Extracted packet for processing {"connection_id":192736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d284"} 
[2026-09-24 13:56:22] local.INFO: GPS Element Parsed {"raw_longitude":756586752,"raw_latitude":119709208,"longitude_deg":75.6586752,"latitude_deg":11.9709208,"altitude":110,"angle":341,"satellites":43,"speed":6,"hex_longitude":"2d189900","hex_latitude":"07229e18","is_valid_coordinates":true} 
[2026-09-24 13:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300998144001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904953215385600,"note":"Value kept but may cause issues"} 
[2026-09-24 13:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772518327736702976,"note":"Value kept but may cause issues"} 
[2026-09-24 13:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790238275000,"timestamp_ms":1790238275000,"timestamp_seconds":1790238275,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28435b8"} 
[2026-09-24 13:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-24 13:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300998144001,"66":13135,"105":206,"83":41984,"24":6,"16":22904953215385600,"45":1772518327736702976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 13:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300998144001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:56:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 13:56:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904953215385600,"km_value":22904953215385.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772518327736702976,"description":"Unknown IO ID 45"} 
[2026-09-24 13:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300998144001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1772518327736702976}} 
[2026-09-24 13:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":192736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:56:22] local.INFO: GPS data processed {"connection_id":192736,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:56:22] local.INFO: Acknowledgment sent {"connection_id":192736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:56:28] local.INFO: TCP Data received {"connection_id":191360,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:56:28] local.INFO: Processing buffer {"connection_id":191360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:56:28] local.INFO: IMEI packet received {"connection_id":191360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":191360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:56:33] local.INFO: TCP Data received {"connection_id":191360,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:56:33] local.INFO: Processing buffer {"connection_id":191360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:56:33] local.INFO: IMEI packet received {"connection_id":191360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":191360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:56:34] local.INFO: TCP Data received {"connection_id":191360,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:56:34] local.INFO: Processing buffer {"connection_id":191360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d280da58012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:56:34] local.INFO: Packet analysis {"connection_id":191360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:56:34] local.INFO: Extracted packet for processing {"connection_id":191360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d280"} 
[2026-09-24 13:56:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300865024001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790238055000,"timestamp_ms":1790238055000,"timestamp_seconds":1790238055,"priority":1,"record_length":96,"hex_timestamp":"000001a0d280da58"} 
[2026-09-24 13:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 13:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300865024001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300865024001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:56:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:56:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300865024001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":191360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:56:34] local.INFO: GPS data processed {"connection_id":191360,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:56:34] local.INFO: Acknowledgment sent {"connection_id":191360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:56:46] local.INFO: TCP Data received {"connection_id":191361,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:56:46] local.INFO: Processing buffer {"connection_id":191361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:56:46] local.INFO: IMEI packet received {"connection_id":191361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":191361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:56:50] local.INFO: TCP Data received {"connection_id":191361,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:56:50] local.INFO: Processing buffer {"connection_id":191361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:56:50] local.INFO: IMEI packet received {"connection_id":191361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":191361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:56:51] local.INFO: TCP Data received {"connection_id":191361,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28487c0012d1898c007229ec8006e015529..."} 
[2026-09-24 13:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28487c0012d1898c007229ec8006e015529..."} 
[2026-09-24 13:56:51] local.INFO: Processing buffer {"connection_id":191361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28487c0012d1898c007229ec8006e015529..."} 
[2026-09-24 13:56:51] local.INFO: Packet analysis {"connection_id":191361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d284"} 
[2026-09-24 13:56:51] local.INFO: Extracted packet for processing {"connection_id":191361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d284"} 
[2026-09-24 13:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119709384,"longitude_deg":75.6586688,"latitude_deg":11.9709384,"altitude":110,"angle":341,"satellites":41,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"07229ec8","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300998400001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904970395254784,"note":"Value kept but may cause issues"} 
[2026-09-24 13:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772447958992558080,"note":"Value kept but may cause issues"} 
[2026-09-24 13:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790238296000,"timestamp_ms":1790238296000,"timestamp_seconds":1790238296,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28487c0"} 
[2026-09-24 13:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-24 13:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300998400001,"66":13102,"105":206,"83":41984,"24":0,"16":22904970395254784,"45":1772447958992558080},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 13:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300998400001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:56:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 13:56:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904970395254784,"km_value":22904970395254.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772447958992558080,"description":"Unknown IO ID 45"} 
[2026-09-24 13:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300998400001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772447958992558080}} 
[2026-09-24 13:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":191361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:56:51] local.INFO: GPS data processed {"connection_id":191361,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:56:51] local.INFO: Acknowledgment sent {"connection_id":191361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:57:06] local.INFO: TCP Data received {"connection_id":191360,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:57:06] local.INFO: Processing buffer {"connection_id":191360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:57:06] local.INFO: Packet analysis {"connection_id":191360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 13:57:06] local.INFO: Extracted packet for processing {"connection_id":191360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 13:57:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300942080001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790238356000,"timestamp_ms":1790238356000,"timestamp_seconds":1790238356,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2857220"} 
[2026-09-24 13:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300942080001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300942080001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:57:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:57:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300942080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":191360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:57:06] local.INFO: GPS data processed {"connection_id":191360,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:57:06] local.INFO: Acknowledgment sent {"connection_id":191360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:57:16] local.INFO: TCP Data received {"connection_id":194014,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-24 13:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194014,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-24 13:57:16] local.INFO: Processing buffer {"connection_id":194014,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-24 13:57:16] local.INFO: Packet analysis {"connection_id":194014,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-24 13:57:16] local.INFO: Extracted packet for processing {"connection_id":194014,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-24 13:57:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 13:57:16] 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-09-24 13:57:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-24 13:57:16] 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-09-24 13:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-24 13:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-24 13:57:16] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":194014,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-24 13:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":194014,"device_imei":null,"avl_records_count":1} 
[2026-09-24 13:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":194014,"device_imei":null,"avl_records_count":1} 
[2026-09-24 13:57:16] 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-09-24 13:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":194014,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 13:57:16] local.INFO: GPS data processed {"connection_id":194014,"processed":0,"errors":0,"total":1} 
[2026-09-24 13:57:16] local.INFO: Acknowledgment sent {"connection_id":194014,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:57:17] local.INFO: TCP Data received {"connection_id":192738,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-24 13:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192738,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-24 13:57:17] local.INFO: Processing buffer {"connection_id":192738,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-24 13:57:17] local.INFO: Packet analysis {"connection_id":192738,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-24 13:57:17] local.INFO: Extracted packet for processing {"connection_id":192738,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-24 13:57:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 13:57:17] 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-09-24 13:57:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-24 13:57:17] 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-09-24 13:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-24 13:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-24 13:57:17] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":192738,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-24 13:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":192738,"device_imei":null,"avl_records_count":1} 
[2026-09-24 13:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":192738,"device_imei":null,"avl_records_count":1} 
[2026-09-24 13:57:17] 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-09-24 13:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":192738,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 13:57:17] local.INFO: GPS data processed {"connection_id":192738,"processed":0,"errors":0,"total":1} 
[2026-09-24 13:57:17] local.INFO: Acknowledgment sent {"connection_id":192738,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:57:19] local.INFO: TCP Data received {"connection_id":191363,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-24 13:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191363,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-24 13:57:19] local.INFO: Processing buffer {"connection_id":191363,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-24 13:57:19] local.INFO: Packet analysis {"connection_id":191363,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-24 13:57:19] local.INFO: Extracted packet for processing {"connection_id":191363,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-24 13:57:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 13:57:19] 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-09-24 13:57:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-24 13:57:19] 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-09-24 13:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-24 13:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-24 13:57:19] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191363,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-24 13:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191363,"device_imei":null,"avl_records_count":1} 
[2026-09-24 13:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191363,"device_imei":null,"avl_records_count":1} 
[2026-09-24 13:57:19] 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-09-24 13:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":191363,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 13:57:19] local.INFO: GPS data processed {"connection_id":191363,"processed":0,"errors":0,"total":1} 
[2026-09-24 13:57:19] local.INFO: Acknowledgment sent {"connection_id":191363,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:57:20] local.INFO: TCP Data received {"connection_id":194015,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-24 13:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194015,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-24 13:57:20] local.INFO: Processing buffer {"connection_id":194015,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-24 13:57:20] local.INFO: Packet analysis {"connection_id":194015,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-24 13:57:20] local.INFO: Extracted packet for processing {"connection_id":194015,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-24 13:57: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-09-24 13:57:20] 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-09-24 13:57:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-24 13:57:20] 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-09-24 13:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-24 13:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-24 13:57:20] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":194015,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-24 13:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":194015,"device_imei":null,"avl_records_count":1} 
[2026-09-24 13:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":194015,"device_imei":null,"avl_records_count":1} 
[2026-09-24 13:57:20] 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-09-24 13:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":194015,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 13:57:20] local.INFO: GPS data processed {"connection_id":194015,"processed":0,"errors":0,"total":1} 
[2026-09-24 13:57:20] local.INFO: Acknowledgment sent {"connection_id":194015,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:57:22] local.INFO: TCP Data received {"connection_id":191361,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d284d9c8012d1898c007229ec8006e01552a..."} 
[2026-09-24 13:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d284d9c8012d1898c007229ec8006e01552a..."} 
[2026-09-24 13:57:22] local.INFO: Processing buffer {"connection_id":191361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d284d9c8012d1898c007229ec8006e01552a..."} 
[2026-09-24 13:57:22] local.INFO: Packet analysis {"connection_id":191361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d284"} 
[2026-09-24 13:57:22] local.INFO: Extracted packet for processing {"connection_id":191361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d284"} 
[2026-09-24 13:57:22] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119709384,"longitude_deg":75.6586688,"latitude_deg":11.9709384,"altitude":110,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"07229ec8","is_valid_coordinates":true} 
[2026-09-24 13:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301003776001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904970395254784,"note":"Value kept but may cause issues"} 
[2026-09-24 13:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772377590248425472,"note":"Value kept but may cause issues"} 
[2026-09-24 13:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790238317000,"timestamp_ms":1790238317000,"timestamp_seconds":1790238317,"priority":1,"record_length":96,"hex_timestamp":"000001a0d284d9c8"} 
[2026-09-24 13:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-24 13:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301003776001,"66":13015,"105":206,"83":41984,"24":0,"16":22904970395254784,"45":1772377590248425472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 13:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301003776001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:57:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 13:57:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904970395254784,"km_value":22904970395254.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772377590248425472,"description":"Unknown IO ID 45"} 
[2026-09-24 13:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301003776001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772377590248425472}} 
[2026-09-24 13:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":191361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:57:22] local.INFO: GPS data processed {"connection_id":191361,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:57:22] local.INFO: Acknowledgment sent {"connection_id":191361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:57:33] local.INFO: TCP Data received {"connection_id":191161,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:57:33] local.INFO: Processing buffer {"connection_id":191161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:57:33] local.INFO: IMEI packet received {"connection_id":191161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":191161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:57:39] local.INFO: TCP Data received {"connection_id":191161,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:57:39] local.INFO: Processing buffer {"connection_id":191161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:57:39] local.INFO: IMEI packet received {"connection_id":191161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":191161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:57:40] local.INFO: TCP Data received {"connection_id":191161,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:57:40] local.INFO: Processing buffer {"connection_id":191161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:57:40] local.INFO: Packet analysis {"connection_id":191161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 13:57:40] local.INFO: Extracted packet for processing {"connection_id":191161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 13:57:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300942080001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790238356000,"timestamp_ms":1790238356000,"timestamp_seconds":1790238356,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2857220"} 
[2026-09-24 13:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:57:40] 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-09-24 13:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300942080001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300942080001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:57:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:57:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300942080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":191161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:57:40] local.INFO: GPS data processed {"connection_id":191161,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:57:40] local.INFO: Acknowledgment sent {"connection_id":191161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:57:44] local.INFO: TCP Data received {"connection_id":191161,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:57:44] local.INFO: Processing buffer {"connection_id":191161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:57:44] local.INFO: Packet analysis {"connection_id":191161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 13:57:44] local.INFO: Extracted packet for processing {"connection_id":191161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 13:57:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300942080001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790238356000,"timestamp_ms":1790238356000,"timestamp_seconds":1790238356,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2857220"} 
[2026-09-24 13:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:57:44] 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-09-24 13:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300942080001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300942080001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:57:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:57:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300942080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":191161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:57:44] local.INFO: GPS data processed {"connection_id":191161,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:57:44] local.INFO: Acknowledgment sent {"connection_id":191161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:57:45] local.INFO: TCP Data received {"connection_id":191364,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:57:45] local.INFO: Processing buffer {"connection_id":191364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:57:45] local.INFO: IMEI packet received {"connection_id":191364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":191364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:57:50] local.INFO: TCP Data received {"connection_id":191364,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:57:50] local.INFO: Processing buffer {"connection_id":191364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:57:50] local.INFO: IMEI packet received {"connection_id":191364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":191364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:57:51] local.INFO: TCP Data received {"connection_id":191364,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2852bd0012d1898c007229ec8006e015529..."} 
[2026-09-24 13:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2852bd0012d1898c007229ec8006e015529..."} 
[2026-09-24 13:57:51] local.INFO: Processing buffer {"connection_id":191364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2852bd0012d1898c007229ec8006e015529..."} 
[2026-09-24 13:57:51] local.INFO: Packet analysis {"connection_id":191364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 13:57:51] local.INFO: Extracted packet for processing {"connection_id":191364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 13:57:51] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119709384,"longitude_deg":75.6586688,"latitude_deg":11.9709384,"altitude":110,"angle":341,"satellites":41,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"07229ec8","is_valid_coordinates":true} 
[2026-09-24 13:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301009152001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904970395254784,"note":"Value kept but may cause issues"} 
[2026-09-24 13:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772377590248425472,"note":"Value kept but may cause issues"} 
[2026-09-24 13:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790238338000,"timestamp_ms":1790238338000,"timestamp_seconds":1790238338,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2852bd0"} 
[2026-09-24 13:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-24 13:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301009152001,"66":13015,"105":206,"83":41984,"24":0,"16":22904970395254784,"45":1772377590248425472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 13:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301009152001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:57:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 13:57:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904970395254784,"km_value":22904970395254.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772377590248425472,"description":"Unknown IO ID 45"} 
[2026-09-24 13:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301009152001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772377590248425472}} 
[2026-09-24 13:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":191364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:57:51] local.INFO: GPS data processed {"connection_id":191364,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:57:51] local.INFO: Acknowledgment sent {"connection_id":191364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:58:22] local.INFO: TCP Data received {"connection_id":191364,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2857dd8012d1898c007229ec8006e015529..."} 
[2026-09-24 13:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2857dd8012d1898c007229ec8006e015529..."} 
[2026-09-24 13:58:22] local.INFO: Processing buffer {"connection_id":191364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2857dd8012d1898c007229ec8006e015529..."} 
[2026-09-24 13:58:22] local.INFO: Packet analysis {"connection_id":191364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 13:58:22] local.INFO: Extracted packet for processing {"connection_id":191364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 13:58:22] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119709384,"longitude_deg":75.6586688,"latitude_deg":11.9709384,"altitude":110,"angle":341,"satellites":41,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"07229ec8","is_valid_coordinates":true} 
[2026-09-24 13:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301014528001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904970395254784,"note":"Value kept but may cause issues"} 
[2026-09-24 13:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772377590248425472,"note":"Value kept but may cause issues"} 
[2026-09-24 13:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790238359000,"timestamp_ms":1790238359000,"timestamp_seconds":1790238359,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2857dd8"} 
[2026-09-24 13:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-24 13:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301014528001,"66":12972,"105":206,"83":41984,"24":0,"16":22904970395254784,"45":1772377590248425472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 13:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301014528001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:58:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 13:58:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904970395254784,"km_value":22904970395254.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772377590248425472,"description":"Unknown IO ID 45"} 
[2026-09-24 13:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301014528001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772377590248425472}} 
[2026-09-24 13:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":191364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:58:22] local.INFO: GPS data processed {"connection_id":191364,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:58:22] local.INFO: Acknowledgment sent {"connection_id":191364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:58:28] local.INFO: TCP Data received {"connection_id":194016,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:58:28] local.INFO: Processing buffer {"connection_id":194016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:58:28] local.INFO: IMEI packet received {"connection_id":194016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":194016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:58:33] local.INFO: TCP Data received {"connection_id":194016,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:58:33] local.INFO: Processing buffer {"connection_id":194016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:58:33] local.INFO: IMEI packet received {"connection_id":194016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":194016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:58:34] local.INFO: TCP Data received {"connection_id":194016,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:58:34] local.INFO: Processing buffer {"connection_id":194016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:58:34] local.INFO: Packet analysis {"connection_id":194016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 13:58:34] local.INFO: Extracted packet for processing {"connection_id":194016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 13:58:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300942080001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790238356000,"timestamp_ms":1790238356000,"timestamp_seconds":1790238356,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2857220"} 
[2026-09-24 13:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:58:34] 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-09-24 13:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300942080001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300942080001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:58:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:58:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300942080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":194016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:58:34] local.INFO: GPS data processed {"connection_id":194016,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:58:34] local.INFO: Acknowledgment sent {"connection_id":194016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:58:45] local.INFO: TCP Data received {"connection_id":194017,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:58:45] local.INFO: Processing buffer {"connection_id":194017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:58:45] local.INFO: IMEI packet received {"connection_id":194017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":194017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:58:50] local.INFO: TCP Data received {"connection_id":194017,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:58:50] local.INFO: Processing buffer {"connection_id":194017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:58:50] local.INFO: IMEI packet received {"connection_id":194017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":194017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:58:51] local.INFO: TCP Data received {"connection_id":194017,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d285cfe0012d1898c007229ec8006e01552b..."} 
[2026-09-24 13:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d285cfe0012d1898c007229ec8006e01552b..."} 
[2026-09-24 13:58:51] local.INFO: Processing buffer {"connection_id":194017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d285cfe0012d1898c007229ec8006e01552b..."} 
[2026-09-24 13:58:51] local.INFO: Packet analysis {"connection_id":194017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 13:58:51] local.INFO: Extracted packet for processing {"connection_id":194017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 13:58:51] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119709384,"longitude_deg":75.6586688,"latitude_deg":11.9709384,"altitude":110,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"07229ec8","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301019904001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904970395254784,"note":"Value kept but may cause issues"} 
[2026-09-24 13:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772377590248425472,"note":"Value kept but may cause issues"} 
[2026-09-24 13:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790238380000,"timestamp_ms":1790238380000,"timestamp_seconds":1790238380,"priority":1,"record_length":96,"hex_timestamp":"000001a0d285cfe0"} 
[2026-09-24 13:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 13:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301019904001,"66":12993,"105":206,"83":41984,"24":0,"16":22904970395254784,"45":1772377590248425472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 13:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301019904001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:58:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 13:58:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904970395254784,"km_value":22904970395254.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772377590248425472,"description":"Unknown IO ID 45"} 
[2026-09-24 13:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301019904001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772377590248425472}} 
[2026-09-24 13:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":194017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:58:51] local.INFO: GPS data processed {"connection_id":194017,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:58:51] local.INFO: Acknowledgment sent {"connection_id":194017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:59:06] local.INFO: TCP Data received {"connection_id":194016,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:59:06] local.INFO: Processing buffer {"connection_id":194016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:59:06] local.INFO: Packet analysis {"connection_id":194016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 13:59:06] local.INFO: Extracted packet for processing {"connection_id":194016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 13:59:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300942080001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790238356000,"timestamp_ms":1790238356000,"timestamp_seconds":1790238356,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2857220"} 
[2026-09-24 13:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300942080001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300942080001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:59:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:59:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300942080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":194016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:59:06] local.INFO: GPS data processed {"connection_id":194016,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:59:06] local.INFO: Acknowledgment sent {"connection_id":194016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:59:22] local.INFO: TCP Data received {"connection_id":194017,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28621e8012d1898c007229ec8006e01552b..."} 
[2026-09-24 13:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28621e8012d1898c007229ec8006e01552b..."} 
[2026-09-24 13:59:22] local.INFO: Processing buffer {"connection_id":194017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28621e8012d1898c007229ec8006e01552b..."} 
[2026-09-24 13:59:22] local.INFO: Packet analysis {"connection_id":194017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d286"} 
[2026-09-24 13:59:22] local.INFO: Extracted packet for processing {"connection_id":194017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d286"} 
[2026-09-24 13:59:22] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119709384,"longitude_deg":75.6586688,"latitude_deg":11.9709384,"altitude":110,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"07229ec8","is_valid_coordinates":true} 
[2026-09-24 13:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 13:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301025280001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904970395254784,"note":"Value kept but may cause issues"} 
[2026-09-24 13:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772377590248425472,"note":"Value kept but may cause issues"} 
[2026-09-24 13:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790238401000,"timestamp_ms":1790238401000,"timestamp_seconds":1790238401,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28621e8"} 
[2026-09-24 13:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-24 13:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 13:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301025280001,"66":12972,"105":206,"83":41984,"24":0,"16":22904970395254784,"45":1772377590248425472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 13:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301025280001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:59:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 13:59:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904970395254784,"km_value":22904970395254.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772377590248425472,"description":"Unknown IO ID 45"} 
[2026-09-24 13:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301025280001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772377590248425472}} 
[2026-09-24 13:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":194017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:59:22] local.INFO: GPS data processed {"connection_id":194017,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:59:22] local.INFO: Acknowledgment sent {"connection_id":194017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:59:28] local.INFO: TCP Data received {"connection_id":192739,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:59:28] local.INFO: Processing buffer {"connection_id":192739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:59:28] local.INFO: IMEI packet received {"connection_id":192739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 13:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":192739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:59:33] local.INFO: TCP Data received {"connection_id":192739,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:59:33] local.INFO: Processing buffer {"connection_id":192739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 13:59:33] local.INFO: IMEI packet received {"connection_id":192739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 13:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":192739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:59:35] local.INFO: TCP Data received {"connection_id":192739,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:59:35] local.INFO: Processing buffer {"connection_id":192739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 13:59:35] local.INFO: Packet analysis {"connection_id":192739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 13:59:35] local.INFO: Extracted packet for processing {"connection_id":192739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 13:59:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300942080001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 13:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 13:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790238356000,"timestamp_ms":1790238356000,"timestamp_seconds":1790238356,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2857220"} 
[2026-09-24 13:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 13: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 13:59:35] 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-09-24 13: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-09-24 13:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 13:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 13:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 13:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300942080001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 13:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 13:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 13:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300942080001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:59:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 13:59:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 13:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 13:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300942080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 13:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":192739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:59:35] local.INFO: GPS data processed {"connection_id":192739,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:59:35] local.INFO: Acknowledgment sent {"connection_id":192739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:59:45] local.INFO: TCP Data received {"connection_id":194018,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:59:45] local.INFO: Processing buffer {"connection_id":194018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:59:45] local.INFO: IMEI packet received {"connection_id":194018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 13:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":194018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 13:59:46] local.INFO: TCP Data received {"connection_id":194018,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:59:46] local.INFO: Processing buffer {"connection_id":194018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 13:59:46] local.INFO: IMEI packet received {"connection_id":194018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 13:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":194018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 13:59:46] local.INFO: TCP Data received {"connection_id":194018,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28673f0012d1898c007229ec8006e01552a..."} 
[2026-09-24 13:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28673f0012d1898c007229ec8006e01552a..."} 
[2026-09-24 13:59:46] local.INFO: Processing buffer {"connection_id":194018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28673f0012d1898c007229ec8006e01552a..."} 
[2026-09-24 13:59:46] local.INFO: Packet analysis {"connection_id":194018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d286"} 
[2026-09-24 13:59:46] local.INFO: Extracted packet for processing {"connection_id":194018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d286"} 
[2026-09-24 13:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119709384,"longitude_deg":75.6586688,"latitude_deg":11.9709384,"altitude":110,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"07229ec8","is_valid_coordinates":true} 
[2026-09-24 13: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-09-24 13:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301030656001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904970395254784,"note":"Value kept but may cause issues"} 
[2026-09-24 13:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772377590248425472,"note":"Value kept but may cause issues"} 
[2026-09-24 13:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790238422000,"timestamp_ms":1790238422000,"timestamp_seconds":1790238422,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28673f0"} 
[2026-09-24 13:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 13:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13: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-09-24 13:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":194018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":194018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":194018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301030656001,"66":12950,"105":206,"83":41984,"24":0,"16":22904970395254784,"45":1772377590248425472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 13:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301030656001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:59:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 13:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904970395254784,"km_value":22904970395254.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772377590248425472,"description":"Unknown IO ID 45"} 
[2026-09-24 13:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301030656001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772377590248425472}} 
[2026-09-24 13:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":194018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:59:47] local.INFO: GPS data processed {"connection_id":194018,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:59:47] local.INFO: Acknowledgment sent {"connection_id":194018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 13:59:50] local.INFO: TCP Data received {"connection_id":194018,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d286c5f8012d1898c007229ec8006e01552a..."} 
[2026-09-24 13:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d286c5f8012d1898c007229ec8006e01552a..."} 
[2026-09-24 13:59:50] local.INFO: Processing buffer {"connection_id":194018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d286c5f8012d1898c007229ec8006e01552a..."} 
[2026-09-24 13:59:50] local.INFO: Packet analysis {"connection_id":194018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d286"} 
[2026-09-24 13:59:50] local.INFO: Extracted packet for processing {"connection_id":194018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d286"} 
[2026-09-24 13:59:50] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119709384,"longitude_deg":75.6586688,"latitude_deg":11.9709384,"altitude":110,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"07229ec8","is_valid_coordinates":true} 
[2026-09-24 13:59: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-09-24 13:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301036032001,"note":"Value kept but may cause issues"} 
[2026-09-24 13:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904970395254784,"note":"Value kept but may cause issues"} 
[2026-09-24 13:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772377590248425472,"note":"Value kept but may cause issues"} 
[2026-09-24 13:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 13:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790238443000,"timestamp_ms":1790238443000,"timestamp_seconds":1790238443,"priority":1,"record_length":96,"hex_timestamp":"000001a0d286c5f8"} 
[2026-09-24 13:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 13:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 13:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-24 13:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 13:59: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-09-24 13:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 13:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 13:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":194018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 13:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":194018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":194018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 13:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 13:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 13:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 13:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301036032001,"66":12939,"105":206,"83":41984,"24":0,"16":22904970395254784,"45":1772377590248425472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 13:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 13:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 13:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301036032001,"description":"Unknown IO ID 0"} 
[2026-09-24 13:59:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 13:59:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 13:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904970395254784,"km_value":22904970395254.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 13:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772377590248425472,"description":"Unknown IO ID 45"} 
[2026-09-24 13:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301036032001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772377590248425472}} 
[2026-09-24 13:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":194018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 13:59:51] local.INFO: GPS data processed {"connection_id":194018,"processed":1,"errors":0,"total":1} 
[2026-09-24 13:59:51] local.INFO: Acknowledgment sent {"connection_id":194018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:00:06] local.INFO: TCP Data received {"connection_id":192739,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:00:06] local.INFO: Processing buffer {"connection_id":192739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:00:06] local.INFO: Packet analysis {"connection_id":192739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 14:00:06] local.INFO: Extracted packet for processing {"connection_id":192739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 14:00:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300942080001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790238356000,"timestamp_ms":1790238356000,"timestamp_seconds":1790238356,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2857220"} 
[2026-09-24 14:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 14:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300942080001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300942080001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:00:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:00:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300942080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":192739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:00:06] local.INFO: GPS data processed {"connection_id":192739,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:00:06] local.INFO: Acknowledgment sent {"connection_id":192739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:00:22] local.INFO: TCP Data received {"connection_id":194018,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2871800012d1898c007229ec8006e01552a..."} 
[2026-09-24 14:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2871800012d1898c007229ec8006e01552a..."} 
[2026-09-24 14:00:22] local.INFO: Processing buffer {"connection_id":194018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2871800012d1898c007229ec8006e01552a..."} 
[2026-09-24 14:00:22] local.INFO: Packet analysis {"connection_id":194018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d287"} 
[2026-09-24 14:00:22] local.INFO: Extracted packet for processing {"connection_id":194018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d287"} 
[2026-09-24 14:00:22] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119709384,"longitude_deg":75.6586688,"latitude_deg":11.9709384,"altitude":110,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"07229ec8","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301041408001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904970395254784,"note":"Value kept but may cause issues"} 
[2026-09-24 14:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772377590248425472,"note":"Value kept but may cause issues"} 
[2026-09-24 14:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790238464000,"timestamp_ms":1790238464000,"timestamp_seconds":1790238464,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2871800"} 
[2026-09-24 14:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-24 14:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301041408001,"66":12852,"105":206,"83":41984,"24":0,"16":22904970395254784,"45":1772377590248425472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301041408001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:00:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:00:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904970395254784,"km_value":22904970395254.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772377590248425472,"description":"Unknown IO ID 45"} 
[2026-09-24 14:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301041408001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772377590248425472}} 
[2026-09-24 14:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":194018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:00:22] local.INFO: GPS data processed {"connection_id":194018,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:00:22] local.INFO: Acknowledgment sent {"connection_id":194018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:00:27] local.INFO: TCP Data received {"connection_id":191162,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:00:27] local.INFO: Processing buffer {"connection_id":191162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:00:27] local.INFO: IMEI packet received {"connection_id":191162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 14:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":191162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:00:28] local.INFO: TCP Data received {"connection_id":191163,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:00:28] local.INFO: Processing buffer {"connection_id":191163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:00:28] local.INFO: IMEI packet received {"connection_id":191163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":191163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:00:33] local.INFO: TCP Data received {"connection_id":191163,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:00:33] local.INFO: Processing buffer {"connection_id":191163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:00:33] local.INFO: IMEI packet received {"connection_id":191163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":191163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:00:34] local.INFO: TCP Data received {"connection_id":191163,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:00:34] local.INFO: Processing buffer {"connection_id":191163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:00:34] local.INFO: Packet analysis {"connection_id":191163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 14:00:34] local.INFO: Extracted packet for processing {"connection_id":191163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 14:00:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300942080001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790238356000,"timestamp_ms":1790238356000,"timestamp_seconds":1790238356,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2857220"} 
[2026-09-24 14:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 14:00:34] 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-09-24 14:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300942080001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300942080001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:00:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:00:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300942080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":191163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:00:34] local.INFO: GPS data processed {"connection_id":191163,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:00:34] local.INFO: Acknowledgment sent {"connection_id":191163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:00:45] local.INFO: TCP Data received {"connection_id":192740,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:00:45] local.INFO: Processing buffer {"connection_id":192740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:00:45] local.INFO: IMEI packet received {"connection_id":192740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":192740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:00:49] local.INFO: TCP Data received {"connection_id":192740,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:00:49] local.INFO: Processing buffer {"connection_id":192740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:00:49] local.INFO: IMEI packet received {"connection_id":192740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":192740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:00:50] local.INFO: TCP Data received {"connection_id":192740,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2876a08012d1898c007229ec8006e015529..."} 
[2026-09-24 14:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2876a08012d1898c007229ec8006e015529..."} 
[2026-09-24 14:00:50] local.INFO: Processing buffer {"connection_id":192740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2876a08012d1898c007229ec8006e015529..."} 
[2026-09-24 14:00:50] local.INFO: Packet analysis {"connection_id":192740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d287"} 
[2026-09-24 14:00:50] local.INFO: Extracted packet for processing {"connection_id":192740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d287"} 
[2026-09-24 14:00:50] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119709384,"longitude_deg":75.6586688,"latitude_deg":11.9709384,"altitude":110,"angle":341,"satellites":41,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"07229ec8","is_valid_coordinates":true} 
[2026-09-24 14:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301046784001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904970395254784,"note":"Value kept but may cause issues"} 
[2026-09-24 14:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772377590248425472,"note":"Value kept but may cause issues"} 
[2026-09-24 14:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790238485000,"timestamp_ms":1790238485000,"timestamp_seconds":1790238485,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2876a08"} 
[2026-09-24 14:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-24 14:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301046784001,"66":12885,"105":206,"83":41984,"24":0,"16":22904970395254784,"45":1772377590248425472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301046784001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:00:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:00:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904970395254784,"km_value":22904970395254.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772377590248425472,"description":"Unknown IO ID 45"} 
[2026-09-24 14:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301046784001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772377590248425472}} 
[2026-09-24 14:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":192740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:00:50] local.INFO: GPS data processed {"connection_id":192740,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:00:50] local.INFO: Acknowledgment sent {"connection_id":192740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:01:06] local.INFO: TCP Data received {"connection_id":191163,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:01:06] local.INFO: Processing buffer {"connection_id":191163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:01:06] local.INFO: Packet analysis {"connection_id":191163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 14:01:06] local.INFO: Extracted packet for processing {"connection_id":191163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 14:01:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300942080001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790238356000,"timestamp_ms":1790238356000,"timestamp_seconds":1790238356,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2857220"} 
[2026-09-24 14:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 14:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300942080001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300942080001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:01:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:01:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300942080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":191163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:01:06] local.INFO: GPS data processed {"connection_id":191163,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:01:06] local.INFO: Acknowledgment sent {"connection_id":191163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:01:13] local.INFO: TCP Data received {"connection_id":191367,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:01:13] local.INFO: Processing buffer {"connection_id":191367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:01:13] local.INFO: IMEI packet received {"connection_id":191367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 14:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":191367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:01:21] local.INFO: TCP Data received {"connection_id":192740,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d287bc10012d1898c007229ec8006e015529..."} 
[2026-09-24 14:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d287bc10012d1898c007229ec8006e015529..."} 
[2026-09-24 14:01:21] local.INFO: Processing buffer {"connection_id":192740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d287bc10012d1898c007229ec8006e015529..."} 
[2026-09-24 14:01:21] local.INFO: Packet analysis {"connection_id":192740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d287"} 
[2026-09-24 14:01:21] local.INFO: Extracted packet for processing {"connection_id":192740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d287"} 
[2026-09-24 14:01:21] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119709384,"longitude_deg":75.6586688,"latitude_deg":11.9709384,"altitude":110,"angle":341,"satellites":41,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"07229ec8","is_valid_coordinates":true} 
[2026-09-24 14:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301052160001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904970395254784,"note":"Value kept but may cause issues"} 
[2026-09-24 14:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772377590248425472,"note":"Value kept but may cause issues"} 
[2026-09-24 14:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790238506000,"timestamp_ms":1790238506000,"timestamp_seconds":1790238506,"priority":1,"record_length":96,"hex_timestamp":"000001a0d287bc10"} 
[2026-09-24 14:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-24 14:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":192740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":192740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":192740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301052160001,"66":12863,"105":206,"83":41984,"24":0,"16":22904970395254784,"45":1772377590248425472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301052160001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:01:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:01:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904970395254784,"km_value":22904970395254.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772377590248425472,"description":"Unknown IO ID 45"} 
[2026-09-24 14:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301052160001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772377590248425472}} 
[2026-09-24 14:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":192740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:01:21] local.INFO: GPS data processed {"connection_id":192740,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:01:21] local.INFO: Acknowledgment sent {"connection_id":192740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:01:28] local.INFO: TCP Data received {"connection_id":191368,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:01:28] local.INFO: Processing buffer {"connection_id":191368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:01:28] local.INFO: IMEI packet received {"connection_id":191368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":191368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:01:33] local.INFO: TCP Data received {"connection_id":191368,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:01:33] local.INFO: Processing buffer {"connection_id":191368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:01:33] local.INFO: IMEI packet received {"connection_id":191368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":191368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:01:34] local.INFO: TCP Data received {"connection_id":191368,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:01:34] local.INFO: Processing buffer {"connection_id":191368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2857220012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:01:34] local.INFO: Packet analysis {"connection_id":191368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 14:01:34] local.INFO: Extracted packet for processing {"connection_id":191368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d285"} 
[2026-09-24 14:01:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458300942080001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790238356000,"timestamp_ms":1790238356000,"timestamp_seconds":1790238356,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2857220"} 
[2026-09-24 14:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 14:01:34] 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-09-24 14:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458300942080001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458300942080001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:01:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:01:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458300942080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":191368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:01:34] local.INFO: GPS data processed {"connection_id":191368,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:01:34] local.INFO: Acknowledgment sent {"connection_id":191368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:01:45] local.INFO: TCP Data received {"connection_id":194019,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:01:45] local.INFO: Processing buffer {"connection_id":194019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:01:45] local.INFO: IMEI packet received {"connection_id":194019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":194019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:01:50] local.INFO: TCP Data received {"connection_id":194019,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:01:50] local.INFO: Processing buffer {"connection_id":194019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:01:50] local.INFO: IMEI packet received {"connection_id":194019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":194019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:01:51] local.INFO: TCP Data received {"connection_id":194019,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2880e18012d1898c007229ec8006e01552a..."} 
[2026-09-24 14:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2880e18012d1898c007229ec8006e01552a..."} 
[2026-09-24 14:01:51] local.INFO: Processing buffer {"connection_id":194019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2880e18012d1898c007229ec8006e01552a..."} 
[2026-09-24 14:01:51] local.INFO: Packet analysis {"connection_id":194019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d288"} 
[2026-09-24 14:01:51] local.INFO: Extracted packet for processing {"connection_id":194019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d288"} 
[2026-09-24 14:01:51] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119709384,"longitude_deg":75.6586688,"latitude_deg":11.9709384,"altitude":110,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"07229ec8","is_valid_coordinates":true} 
[2026-09-24 14:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301057536001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904970395254784,"note":"Value kept but may cause issues"} 
[2026-09-24 14:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772377590248425472,"note":"Value kept but may cause issues"} 
[2026-09-24 14:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790238527000,"timestamp_ms":1790238527000,"timestamp_seconds":1790238527,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2880e18"} 
[2026-09-24 14:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-24 14:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301057536001,"66":12841,"105":206,"83":41984,"24":0,"16":22904970395254784,"45":1772377590248425472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301057536001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:01:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:01:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904970395254784,"km_value":22904970395254.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772377590248425472,"description":"Unknown IO ID 45"} 
[2026-09-24 14:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301057536001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772377590248425472}} 
[2026-09-24 14:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":194019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:01:51] local.INFO: GPS data processed {"connection_id":194019,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:01:51] local.INFO: Acknowledgment sent {"connection_id":194019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:02:07] local.INFO: TCP Data received {"connection_id":191368,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:02:07] local.INFO: Processing buffer {"connection_id":191368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:02:07] local.INFO: Packet analysis {"connection_id":191368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:02:07] local.INFO: Extracted packet for processing {"connection_id":191368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:02:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301019136001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790238657000,"timestamp_ms":1790238657000,"timestamp_seconds":1790238657,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28a09e8"} 
[2026-09-24 14:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 14:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301019136001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301019136001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:02:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:02:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301019136001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":191368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:02:07] local.INFO: GPS data processed {"connection_id":191368,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:02:07] local.INFO: Acknowledgment sent {"connection_id":191368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:02:22] local.INFO: TCP Data received {"connection_id":194019,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2886020012d1898c007229ec8006e01552b..."} 
[2026-09-24 14:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2886020012d1898c007229ec8006e01552b..."} 
[2026-09-24 14:02:22] local.INFO: Processing buffer {"connection_id":194019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2886020012d1898c007229ec8006e01552b..."} 
[2026-09-24 14:02:22] local.INFO: Packet analysis {"connection_id":194019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d288"} 
[2026-09-24 14:02:22] local.INFO: Extracted packet for processing {"connection_id":194019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d288"} 
[2026-09-24 14:02:22] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119709384,"longitude_deg":75.6586688,"latitude_deg":11.9709384,"altitude":110,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"07229ec8","is_valid_coordinates":true} 
[2026-09-24 14:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301062912001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904970395254784,"note":"Value kept but may cause issues"} 
[2026-09-24 14:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772377590248425472,"note":"Value kept but may cause issues"} 
[2026-09-24 14:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790238548000,"timestamp_ms":1790238548000,"timestamp_seconds":1790238548,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2886020"} 
[2026-09-24 14:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-24 14:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301062912001,"66":12798,"105":206,"83":41984,"24":0,"16":22904970395254784,"45":1772377590248425472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301062912001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:02:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:02:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904970395254784,"km_value":22904970395254.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772377590248425472,"description":"Unknown IO ID 45"} 
[2026-09-24 14:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301062912001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772377590248425472}} 
[2026-09-24 14:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":194019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:02:22] local.INFO: GPS data processed {"connection_id":194019,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:02:22] local.INFO: Acknowledgment sent {"connection_id":194019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:02:28] local.INFO: TCP Data received {"connection_id":194020,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:02:28] local.INFO: Processing buffer {"connection_id":194020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:02:28] local.INFO: IMEI packet received {"connection_id":194020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":194020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:02:33] local.INFO: TCP Data received {"connection_id":194020,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:02:33] local.INFO: Processing buffer {"connection_id":194020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:02:33] local.INFO: IMEI packet received {"connection_id":194020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":194020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:02:35] local.INFO: TCP Data received {"connection_id":194020,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:02:35] local.INFO: Processing buffer {"connection_id":194020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:02:35] local.INFO: Packet analysis {"connection_id":194020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:02:35] local.INFO: Extracted packet for processing {"connection_id":194020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301019136001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790238657000,"timestamp_ms":1790238657000,"timestamp_seconds":1790238657,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28a09e8"} 
[2026-09-24 14:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 14:02:35] 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-09-24 14: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-09-24 14:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301019136001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301019136001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:02:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301019136001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":194020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:02:35] local.INFO: GPS data processed {"connection_id":194020,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:02:35] local.INFO: Acknowledgment sent {"connection_id":194020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:02:45] local.INFO: TCP Data received {"connection_id":191369,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:02:45] local.INFO: Processing buffer {"connection_id":191369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:02:45] local.INFO: IMEI packet received {"connection_id":191369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":191369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:02:50] local.INFO: TCP Data received {"connection_id":191369,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:02:50] local.INFO: Processing buffer {"connection_id":191369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:02:50] local.INFO: IMEI packet received {"connection_id":191369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":191369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:02:51] local.INFO: TCP Data received {"connection_id":191369,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d288b228012d1898c007229ec8006e01552c..."} 
[2026-09-24 14:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d288b228012d1898c007229ec8006e01552c..."} 
[2026-09-24 14:02:51] local.INFO: Processing buffer {"connection_id":191369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d288b228012d1898c007229ec8006e01552c..."} 
[2026-09-24 14:02:51] local.INFO: Packet analysis {"connection_id":191369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d288"} 
[2026-09-24 14:02:51] local.INFO: Extracted packet for processing {"connection_id":191369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d288"} 
[2026-09-24 14:02:51] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119709384,"longitude_deg":75.6586688,"latitude_deg":11.9709384,"altitude":110,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"07229ec8","is_valid_coordinates":true} 
[2026-09-24 14:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301068288001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904970395254784,"note":"Value kept but may cause issues"} 
[2026-09-24 14:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772377590248425472,"note":"Value kept but may cause issues"} 
[2026-09-24 14:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790238569000,"timestamp_ms":1790238569000,"timestamp_seconds":1790238569,"priority":1,"record_length":96,"hex_timestamp":"000001a0d288b228"} 
[2026-09-24 14:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 14:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301068288001,"66":12809,"105":206,"83":41984,"24":0,"16":22904970395254784,"45":1772377590248425472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301068288001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:02:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:02:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904970395254784,"km_value":22904970395254.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772377590248425472,"description":"Unknown IO ID 45"} 
[2026-09-24 14:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301068288001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772377590248425472}} 
[2026-09-24 14:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":191369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:02:51] local.INFO: GPS data processed {"connection_id":191369,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:02:51] local.INFO: Acknowledgment sent {"connection_id":191369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:03:06] local.INFO: TCP Data received {"connection_id":194020,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:03:06] local.INFO: Processing buffer {"connection_id":194020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:03:06] local.INFO: Packet analysis {"connection_id":194020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:03:06] local.INFO: Extracted packet for processing {"connection_id":194020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:03:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301019136001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790238657000,"timestamp_ms":1790238657000,"timestamp_seconds":1790238657,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28a09e8"} 
[2026-09-24 14:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 14:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301019136001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301019136001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:03:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:03:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301019136001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":194020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:03:06] local.INFO: GPS data processed {"connection_id":194020,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:03:06] local.INFO: Acknowledgment sent {"connection_id":194020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:03:22] local.INFO: TCP Data received {"connection_id":191369,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2890430012d1898c007229ec8006e01552a..."} 
[2026-09-24 14:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2890430012d1898c007229ec8006e01552a..."} 
[2026-09-24 14:03:22] local.INFO: Processing buffer {"connection_id":191369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2890430012d1898c007229ec8006e01552a..."} 
[2026-09-24 14:03:22] local.INFO: Packet analysis {"connection_id":191369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d289"} 
[2026-09-24 14:03:22] local.INFO: Extracted packet for processing {"connection_id":191369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d289"} 
[2026-09-24 14:03:22] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119709384,"longitude_deg":75.6586688,"latitude_deg":11.9709384,"altitude":110,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"07229ec8","is_valid_coordinates":true} 
[2026-09-24 14:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301073664001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904970395254784,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772377590248425472,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790238590000,"timestamp_ms":1790238590000,"timestamp_seconds":1790238590,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2890430"} 
[2026-09-24 14:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-24 14:03:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:22] local.WARNING: Large IO value detected {"io_id":95,"raw_value":4076863488,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3532047864,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:22] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:22] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-8758392962463262528,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:22] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2663907438,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-24 14:03:22] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3221693086,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":7209301,"corrected_to":0} 
[2026-09-24 14:03:22] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512645525680557,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:22] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2494651147780969770,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:22] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:22] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,95,160,96,45,192,158,110,43,10,66,14,42,188,1,240,63,227,210,34,4,113,205,152,200,239,50,2,81,7,164,243],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":7209301,"validated":0}]} 
[2026-09-24 14:03:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7926710466615705600,"timestamp_seconds":7926710466615706.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 14:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301073664001,"66":12809,"105":206,"83":41984,"24":0,"16":22904970395254784,"45":1772377590248425472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301073664001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:03:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:03:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904970395254784,"km_value":22904970395254.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772377590248425472,"description":"Unknown IO ID 45"} 
[2026-09-24 14:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301073664001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772377590248425472}} 
[2026-09-24 14:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":191369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:03:22] local.INFO: GPS data processed {"connection_id":191369,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:03:22] local.INFO: Acknowledgment sent {"connection_id":191369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:03:29] local.INFO: TCP Data received {"connection_id":194021,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:03:29] local.INFO: Processing buffer {"connection_id":194021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:03:29] local.INFO: IMEI packet received {"connection_id":194021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":194021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:03:33] local.INFO: TCP Data received {"connection_id":194021,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:03:33] local.INFO: Processing buffer {"connection_id":194021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:03:33] local.INFO: IMEI packet received {"connection_id":194021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":194021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:03:35] local.INFO: TCP Data received {"connection_id":194021,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:03:35] local.INFO: Processing buffer {"connection_id":194021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:03:35] local.INFO: Packet analysis {"connection_id":194021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:03:35] local.INFO: Extracted packet for processing {"connection_id":194021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301019136001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790238657000,"timestamp_ms":1790238657000,"timestamp_seconds":1790238657,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28a09e8"} 
[2026-09-24 14:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 14:03:35] 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-09-24 14:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301019136001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301019136001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:03:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:03:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301019136001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":194021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:03:35] local.INFO: GPS data processed {"connection_id":194021,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:03:35] local.INFO: Acknowledgment sent {"connection_id":194021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:03:45] local.INFO: TCP Data received {"connection_id":194022,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:03:45] local.INFO: Processing buffer {"connection_id":194022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:03:45] local.INFO: IMEI packet received {"connection_id":194022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":194022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:03:50] local.INFO: TCP Data received {"connection_id":194022,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:03:50] local.INFO: Processing buffer {"connection_id":194022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:03:50] local.INFO: IMEI packet received {"connection_id":194022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":194022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:03:51] local.INFO: TCP Data received {"connection_id":194022,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2895638012d1898c007229ec8006e015528..."} 
[2026-09-24 14:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2895638012d1898c007229ec8006e015528..."} 
[2026-09-24 14:03:51] local.INFO: Processing buffer {"connection_id":194022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2895638012d1898c007229ec8006e015528..."} 
[2026-09-24 14:03:51] local.INFO: Packet analysis {"connection_id":194022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d289"} 
[2026-09-24 14:03:51] local.INFO: Extracted packet for processing {"connection_id":194022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d289"} 
[2026-09-24 14:03:51] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119709384,"longitude_deg":75.6586688,"latitude_deg":11.9709384,"altitude":110,"angle":341,"satellites":40,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"07229ec8","is_valid_coordinates":true} 
[2026-09-24 14:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301079040001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904970395254784,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772377590248425472,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790238611000,"timestamp_ms":1790238611000,"timestamp_seconds":1790238611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2895638"} 
[2026-09-24 14:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-24 14:03:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:51] local.WARNING: Large IO value detected {"io_id":95,"raw_value":4076863488,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3532068864,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:51] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-8735303218279966528,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:51] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2663907438,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-24 14:03:51] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3221693086,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":7209301,"corrected_to":0} 
[2026-09-24 14:03:51] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3747220746884140627,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:51] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2494651147780969770,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:51] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-24 14:03:51] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,95,160,178,45,192,158,110,44,10,66,96,43,14,1,240,41,227,210,34,4,113,205,106,152,200,239,50,2,81,7,164,243],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":7209301,"validated":0}]} 
[2026-09-24 14:03:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7926710458025771008,"timestamp_seconds":7926710458025771.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 14:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301079040001,"66":12798,"105":206,"83":41984,"24":0,"16":22904970395254784,"45":1772377590248425472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301079040001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:03:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:03:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904970395254784,"km_value":22904970395254.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772377590248425472,"description":"Unknown IO ID 45"} 
[2026-09-24 14:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301079040001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772377590248425472}} 
[2026-09-24 14:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":194022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:03:51] local.INFO: GPS data processed {"connection_id":194022,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:03:51] local.INFO: Acknowledgment sent {"connection_id":194022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:04:06] local.INFO: TCP Data received {"connection_id":194021,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:04:06] local.INFO: Processing buffer {"connection_id":194021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:04:06] local.INFO: Packet analysis {"connection_id":194021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:04:06] local.INFO: Extracted packet for processing {"connection_id":194021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:04:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301019136001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790238657000,"timestamp_ms":1790238657000,"timestamp_seconds":1790238657,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28a09e8"} 
[2026-09-24 14:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 14:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301019136001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301019136001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:04:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:04:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301019136001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":194021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:04:06] local.INFO: GPS data processed {"connection_id":194021,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:04:06] local.INFO: Acknowledgment sent {"connection_id":194021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:04:22] local.INFO: TCP Data received {"connection_id":194022,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d289a840012d1898c007229ec8006e015527..."} 
[2026-09-24 14:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d289a840012d1898c007229ec8006e015527..."} 
[2026-09-24 14:04:22] local.INFO: Processing buffer {"connection_id":194022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d289a840012d1898c007229ec8006e015527..."} 
[2026-09-24 14:04:22] local.INFO: Packet analysis {"connection_id":194022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d289"} 
[2026-09-24 14:04:22] local.INFO: Extracted packet for processing {"connection_id":194022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d289"} 
[2026-09-24 14:04:22] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119709384,"longitude_deg":75.6586688,"latitude_deg":11.9709384,"altitude":110,"angle":341,"satellites":39,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"07229ec8","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301084416001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904970395254784,"note":"Value kept but may cause issues"} 
[2026-09-24 14:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772377590248425472,"note":"Value kept but may cause issues"} 
[2026-09-24 14:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790238632000,"timestamp_ms":1790238632000,"timestamp_seconds":1790238632,"priority":1,"record_length":96,"hex_timestamp":"000001a0d289a840"} 
[2026-09-24 14:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 14:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301084416001,"66":12798,"105":206,"83":41984,"24":0,"16":22904970395254784,"45":1772377590248425472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301084416001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:04:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:04:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904970395254784,"km_value":22904970395254.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772377590248425472,"description":"Unknown IO ID 45"} 
[2026-09-24 14:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301084416001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772377590248425472}} 
[2026-09-24 14:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":194022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:04:22] local.INFO: GPS data processed {"connection_id":194022,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:04:22] local.INFO: Acknowledgment sent {"connection_id":194022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:04:28] local.INFO: TCP Data received {"connection_id":191370,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:04:28] local.INFO: Processing buffer {"connection_id":191370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:04:28] local.INFO: IMEI packet received {"connection_id":191370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":191370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:04:33] local.INFO: TCP Data received {"connection_id":191370,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:04:33] local.INFO: Processing buffer {"connection_id":191370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:04:33] local.INFO: IMEI packet received {"connection_id":191370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":191370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:04:35] local.INFO: TCP Data received {"connection_id":191370,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:04:35] local.INFO: Processing buffer {"connection_id":191370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:04:35] local.INFO: Packet analysis {"connection_id":191370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:04:35] local.INFO: Extracted packet for processing {"connection_id":191370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301019136001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790238657000,"timestamp_ms":1790238657000,"timestamp_seconds":1790238657,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28a09e8"} 
[2026-09-24 14:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 14:04:35] 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-09-24 14:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301019136001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301019136001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:04:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:04:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301019136001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":191370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:04:35] local.INFO: GPS data processed {"connection_id":191370,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:04:35] local.INFO: Acknowledgment sent {"connection_id":191370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:04:45] local.INFO: TCP Data received {"connection_id":191167,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:04:45] local.INFO: Processing buffer {"connection_id":191167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:04:45] local.INFO: IMEI packet received {"connection_id":191167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":191167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:04:50] local.INFO: TCP Data received {"connection_id":191167,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:04:50] local.INFO: Processing buffer {"connection_id":191167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:04:50] local.INFO: IMEI packet received {"connection_id":191167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":191167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:04:51] local.INFO: TCP Data received {"connection_id":191167,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d289fa48012d1898c007229ec8006e015529..."} 
[2026-09-24 14:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d289fa48012d1898c007229ec8006e015529..."} 
[2026-09-24 14:04:51] local.INFO: Processing buffer {"connection_id":191167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d289fa48012d1898c007229ec8006e015529..."} 
[2026-09-24 14:04:51] local.INFO: Packet analysis {"connection_id":191167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d289"} 
[2026-09-24 14:04:51] local.INFO: Extracted packet for processing {"connection_id":191167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d289"} 
[2026-09-24 14:04:51] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119709384,"longitude_deg":75.6586688,"latitude_deg":11.9709384,"altitude":110,"angle":341,"satellites":41,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"07229ec8","is_valid_coordinates":true} 
[2026-09-24 14:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301089792001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904970395254784,"note":"Value kept but may cause issues"} 
[2026-09-24 14:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772377590248425472,"note":"Value kept but may cause issues"} 
[2026-09-24 14:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790238653000,"timestamp_ms":1790238653000,"timestamp_seconds":1790238653,"priority":1,"record_length":96,"hex_timestamp":"000001a0d289fa48"} 
[2026-09-24 14:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 14:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301089792001,"66":12776,"105":206,"83":41984,"24":0,"16":22904970395254784,"45":1772377590248425472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301089792001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:04:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:04:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904970395254784,"km_value":22904970395254.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772377590248425472,"description":"Unknown IO ID 45"} 
[2026-09-24 14:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301089792001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772377590248425472}} 
[2026-09-24 14:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":191167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:04:51] local.INFO: GPS data processed {"connection_id":191167,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:04:51] local.INFO: Acknowledgment sent {"connection_id":191167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:05:07] local.INFO: TCP Data received {"connection_id":191370,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:05:07] local.INFO: Processing buffer {"connection_id":191370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:05:07] local.INFO: Packet analysis {"connection_id":191370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:05:07] local.INFO: Extracted packet for processing {"connection_id":191370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301019136001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790238657000,"timestamp_ms":1790238657000,"timestamp_seconds":1790238657,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28a09e8"} 
[2026-09-24 14:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 14:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301019136001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301019136001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:05:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:05:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301019136001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":191370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:05:07] local.INFO: GPS data processed {"connection_id":191370,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:05:07] local.INFO: Acknowledgment sent {"connection_id":191370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:05:22] local.INFO: TCP Data received {"connection_id":191167,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28a4c50012d1898c007229ec8006e015529..."} 
[2026-09-24 14:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28a4c50012d1898c007229ec8006e015529..."} 
[2026-09-24 14:05:22] local.INFO: Processing buffer {"connection_id":191167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28a4c50012d1898c007229ec8006e015529..."} 
[2026-09-24 14:05:22] local.INFO: Packet analysis {"connection_id":191167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:05:22] local.INFO: Extracted packet for processing {"connection_id":191167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:05:22] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119709384,"longitude_deg":75.6586688,"latitude_deg":11.9709384,"altitude":110,"angle":341,"satellites":41,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"07229ec8","is_valid_coordinates":true} 
[2026-09-24 14:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301095168001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904970395254784,"note":"Value kept but may cause issues"} 
[2026-09-24 14:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772377590248425472,"note":"Value kept but may cause issues"} 
[2026-09-24 14:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790238674000,"timestamp_ms":1790238674000,"timestamp_seconds":1790238674,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28a4c50"} 
[2026-09-24 14:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-24 14:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301095168001,"66":12711,"105":206,"83":41984,"24":0,"16":22904970395254784,"45":1772377590248425472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301095168001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:05:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:05:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904970395254784,"km_value":22904970395254.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772377590248425472,"description":"Unknown IO ID 45"} 
[2026-09-24 14:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301095168001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772377590248425472}} 
[2026-09-24 14:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":191167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:05:22] local.INFO: GPS data processed {"connection_id":191167,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:05:22] local.INFO: Acknowledgment sent {"connection_id":191167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:05:28] local.INFO: TCP Data received {"connection_id":191169,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:05:28] local.INFO: Processing buffer {"connection_id":191169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:05:28] local.INFO: IMEI packet received {"connection_id":191169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":191169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:05:34] local.INFO: TCP Data received {"connection_id":191169,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:05:34] local.INFO: Processing buffer {"connection_id":191169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:05:34] local.INFO: IMEI packet received {"connection_id":191169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":191169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:05:35] local.INFO: TCP Data received {"connection_id":191169,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:05:35] local.INFO: Processing buffer {"connection_id":191169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:05:35] local.INFO: Packet analysis {"connection_id":191169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:05:35] local.INFO: Extracted packet for processing {"connection_id":191169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:05:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301019136001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790238657000,"timestamp_ms":1790238657000,"timestamp_seconds":1790238657,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28a09e8"} 
[2026-09-24 14:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 14:05:35] 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-09-24 14:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301019136001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301019136001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:05:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:05:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301019136001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":191169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:05:35] local.INFO: GPS data processed {"connection_id":191169,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:05:35] local.INFO: Acknowledgment sent {"connection_id":191169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:05:50] local.INFO: TCP Data received {"connection_id":191371,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:05:50] local.INFO: Processing buffer {"connection_id":191371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:05:50] local.INFO: IMEI packet received {"connection_id":191371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":191371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:05:55] local.INFO: TCP Data received {"connection_id":191371,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:05:55] local.INFO: Processing buffer {"connection_id":191371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:05:55] local.INFO: IMEI packet received {"connection_id":191371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":191371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:05:55] local.INFO: TCP Data received {"connection_id":191371,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28a9e58012d1898c007229ec8006e015529..."} 
[2026-09-24 14:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28a9e58012d1898c007229ec8006e015529..."} 
[2026-09-24 14:05:55] local.INFO: Processing buffer {"connection_id":191371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28a9e58012d1898c007229ec8006e015529..."} 
[2026-09-24 14:05:55] local.INFO: Packet analysis {"connection_id":191371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:05:55] local.INFO: Extracted packet for processing {"connection_id":191371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:05:55] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119709384,"longitude_deg":75.6586688,"latitude_deg":11.9709384,"altitude":110,"angle":341,"satellites":41,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"07229ec8","is_valid_coordinates":true} 
[2026-09-24 14:05: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-09-24 14:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301100544001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904970395254784,"note":"Value kept but may cause issues"} 
[2026-09-24 14:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772377590248425472,"note":"Value kept but may cause issues"} 
[2026-09-24 14:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790238695000,"timestamp_ms":1790238695000,"timestamp_seconds":1790238695,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28a9e58"} 
[2026-09-24 14:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-24 14:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:05: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-09-24 14:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301100544001,"66":12765,"105":206,"83":41984,"24":0,"16":22904970395254784,"45":1772377590248425472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301100544001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:05:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:05:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904970395254784,"km_value":22904970395254.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772377590248425472,"description":"Unknown IO ID 45"} 
[2026-09-24 14:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301100544001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772377590248425472}} 
[2026-09-24 14:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":191371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:05:55] local.INFO: GPS data processed {"connection_id":191371,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:05:55] local.INFO: Acknowledgment sent {"connection_id":191371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:06:06] local.INFO: TCP Data received {"connection_id":191169,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:06:06] local.INFO: Processing buffer {"connection_id":191169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:06:06] local.INFO: Packet analysis {"connection_id":191169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:06:06] local.INFO: Extracted packet for processing {"connection_id":191169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:06:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301019136001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790238657000,"timestamp_ms":1790238657000,"timestamp_seconds":1790238657,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28a09e8"} 
[2026-09-24 14:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 14:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301019136001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301019136001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:06:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:06:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301019136001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":191169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:06:07] local.INFO: GPS data processed {"connection_id":191169,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:06:07] local.INFO: Acknowledgment sent {"connection_id":191169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:06:26] local.INFO: TCP Data received {"connection_id":191371,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28af060012d1898c007229ec8006e015525..."} 
[2026-09-24 14:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28af060012d1898c007229ec8006e015525..."} 
[2026-09-24 14:06:26] local.INFO: Processing buffer {"connection_id":191371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28af060012d1898c007229ec8006e015525..."} 
[2026-09-24 14:06:26] local.INFO: Packet analysis {"connection_id":191371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:06:26] local.INFO: Extracted packet for processing {"connection_id":191371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:06:26] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119709384,"longitude_deg":75.6586688,"latitude_deg":11.9709384,"altitude":110,"angle":341,"satellites":37,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"07229ec8","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301105920001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904970395254784,"note":"Value kept but may cause issues"} 
[2026-09-24 14:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772377590248425472,"note":"Value kept but may cause issues"} 
[2026-09-24 14:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790238716000,"timestamp_ms":1790238716000,"timestamp_seconds":1790238716,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28af060"} 
[2026-09-24 14:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-24 14:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301105920001,"66":12689,"105":206,"83":41984,"24":0,"16":22904970395254784,"45":1772377590248425472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301105920001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:06:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:06:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904970395254784,"km_value":22904970395254.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772377590248425472,"description":"Unknown IO ID 45"} 
[2026-09-24 14:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301105920001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772377590248425472}} 
[2026-09-24 14:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":191371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:06:26] local.INFO: GPS data processed {"connection_id":191371,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:06:26] local.INFO: Acknowledgment sent {"connection_id":191371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:06:28] local.INFO: TCP Data received {"connection_id":194024,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:06:28] local.INFO: Processing buffer {"connection_id":194024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:06:28] local.INFO: IMEI packet received {"connection_id":194024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":194024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:06:33] local.INFO: TCP Data received {"connection_id":194024,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:06:33] local.INFO: Processing buffer {"connection_id":194024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:06:33] local.INFO: IMEI packet received {"connection_id":194024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":194024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:06:34] local.INFO: TCP Data received {"connection_id":194024,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:06:34] local.INFO: Processing buffer {"connection_id":194024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28a09e8012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:06:34] local.INFO: Packet analysis {"connection_id":194024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:06:34] local.INFO: Extracted packet for processing {"connection_id":194024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28a"} 
[2026-09-24 14:06:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301019136001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790238657000,"timestamp_ms":1790238657000,"timestamp_seconds":1790238657,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28a09e8"} 
[2026-09-24 14:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 14:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301019136001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301019136001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:06:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:06:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301019136001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":194024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:06:34] local.INFO: GPS data processed {"connection_id":194024,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:06:34] local.INFO: Acknowledgment sent {"connection_id":194024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:06:45] local.INFO: TCP Data received {"connection_id":191170,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:06:45] local.INFO: Processing buffer {"connection_id":191170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:06:45] local.INFO: IMEI packet received {"connection_id":191170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":191170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:06:46] local.INFO: TCP Data received {"connection_id":191170,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:06:46] local.INFO: Processing buffer {"connection_id":191170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:06:46] local.INFO: IMEI packet received {"connection_id":191170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":191170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:06:47] local.INFO: TCP Data received {"connection_id":194023,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194023,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:06:47] local.INFO: Processing buffer {"connection_id":194023,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:06:47] local.INFO: IMEI packet received {"connection_id":194023,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 14:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":194023,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:06:50] local.INFO: TCP Data received {"connection_id":191170,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:06:50] local.INFO: Processing buffer {"connection_id":191170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:06:50] local.INFO: IMEI packet received {"connection_id":191170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":191170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:06:51] local.INFO: TCP Data received {"connection_id":191170,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28b4268012d1898c007229ec8006e01552b..."} 
[2026-09-24 14:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28b4268012d1898c007229ec8006e01552b..."} 
[2026-09-24 14:06:51] local.INFO: Processing buffer {"connection_id":191170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28b4268012d1898c007229ec8006e01552b..."} 
[2026-09-24 14:06:51] local.INFO: Packet analysis {"connection_id":191170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28b"} 
[2026-09-24 14:06:51] local.INFO: Extracted packet for processing {"connection_id":191170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28b"} 
[2026-09-24 14:06:51] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119709384,"longitude_deg":75.6586688,"latitude_deg":11.9709384,"altitude":110,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"07229ec8","is_valid_coordinates":true} 
[2026-09-24 14:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301111296001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22904970395254784,"note":"Value kept but may cause issues"} 
[2026-09-24 14:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772377590248425472,"note":"Value kept but may cause issues"} 
[2026-09-24 14:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790238737000,"timestamp_ms":1790238737000,"timestamp_seconds":1790238737,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28b4268"} 
[2026-09-24 14:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-24 14:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301111296001,"66":12689,"105":206,"83":41984,"24":0,"16":22904970395254784,"45":1772377590248425472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301111296001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:06:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:06:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22904970395254784,"km_value":22904970395254.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772377590248425472,"description":"Unknown IO ID 45"} 
[2026-09-24 14:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301111296001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772377590248425472}} 
[2026-09-24 14:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":191170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:06:51] local.INFO: GPS data processed {"connection_id":191170,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:06:51] local.INFO: Acknowledgment sent {"connection_id":191170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:07:06] local.INFO: TCP Data received {"connection_id":194024,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:07:06] local.INFO: Processing buffer {"connection_id":194024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:07:06] local.INFO: Packet analysis {"connection_id":194024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28e"} 
[2026-09-24 14:07:06] local.INFO: Extracted packet for processing {"connection_id":194024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28e"} 
[2026-09-24 14:07:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301096192001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790238958000,"timestamp_ms":1790238958000,"timestamp_seconds":1790238958,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28ea1b0"} 
[2026-09-24 14:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301096192001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301096192001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:07:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:07:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301096192001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":194024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:07:06] local.INFO: GPS data processed {"connection_id":194024,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:07:06] local.INFO: Acknowledgment sent {"connection_id":194024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:07:08] local.INFO: TCP Data received {"connection_id":192741,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:07:08] local.INFO: Processing buffer {"connection_id":192741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:07:08] local.INFO: IMEI packet received {"connection_id":192741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 14:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":192741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:07:22] local.INFO: TCP Data received {"connection_id":191170,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28b9470012d18978007229b700078015529..."} 
[2026-09-24 14:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28b9470012d18978007229b700078015529..."} 
[2026-09-24 14:07:22] local.INFO: Processing buffer {"connection_id":191170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28b9470012d18978007229b700078015529..."} 
[2026-09-24 14:07:22] local.INFO: Packet analysis {"connection_id":191170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28b"} 
[2026-09-24 14:07:22] local.INFO: Extracted packet for processing {"connection_id":191170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28b"} 
[2026-09-24 14:07:22] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":41,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301116672001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772377590248425472,"note":"Value kept but may cause issues"} 
[2026-09-24 14:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790238758000,"timestamp_ms":1790238758000,"timestamp_seconds":1790238758,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28b9470"} 
[2026-09-24 14:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-24 14:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301116672001,"66":12689,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772377590248425472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301116672001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:07:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:07:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772377590248425472,"description":"Unknown IO ID 45"} 
[2026-09-24 14:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301116672001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772377590248425472}} 
[2026-09-24 14:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":191170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:07:22] local.INFO: GPS data processed {"connection_id":191170,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:07:22] local.INFO: Acknowledgment sent {"connection_id":191170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:07:28] local.INFO: TCP Data received {"connection_id":192742,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:07:28] local.INFO: Processing buffer {"connection_id":192742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:07:28] local.INFO: IMEI packet received {"connection_id":192742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":192742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:07:33] local.INFO: TCP Data received {"connection_id":192742,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:07:33] local.INFO: Processing buffer {"connection_id":192742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:07:33] local.INFO: IMEI packet received {"connection_id":192742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":192742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:07:34] local.INFO: TCP Data received {"connection_id":192742,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:07:34] local.INFO: Processing buffer {"connection_id":192742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:07:34] local.INFO: Packet analysis {"connection_id":192742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28e"} 
[2026-09-24 14:07:34] local.INFO: Extracted packet for processing {"connection_id":192742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28e"} 
[2026-09-24 14:07:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301096192001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790238958000,"timestamp_ms":1790238958000,"timestamp_seconds":1790238958,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28ea1b0"} 
[2026-09-24 14:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301096192001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301096192001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:07:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:07:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301096192001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":192742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:07:34] local.INFO: GPS data processed {"connection_id":192742,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:07:34] local.INFO: Acknowledgment sent {"connection_id":192742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:07:45] local.INFO: TCP Data received {"connection_id":194025,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:07:45] local.INFO: Processing buffer {"connection_id":194025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:07:45] local.INFO: IMEI packet received {"connection_id":194025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":194025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:07:49] local.INFO: TCP Data received {"connection_id":194025,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:07:49] local.INFO: Processing buffer {"connection_id":194025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:07:49] local.INFO: IMEI packet received {"connection_id":194025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":194025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:07:50] local.INFO: TCP Data received {"connection_id":194025,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28f1ac8012d18978007229b70007801552a..."} 
[2026-09-24 14:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28f1ac8012d18978007229b70007801552a..."} 
[2026-09-24 14:07:50] local.INFO: Processing buffer {"connection_id":194025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28f1ac8012d18978007229b70007801552a..."} 
[2026-09-24 14:07:50] local.INFO: Packet analysis {"connection_id":194025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28f"} 
[2026-09-24 14:07:50] local.INFO: Extracted packet for processing {"connection_id":194025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28f"} 
[2026-09-24 14:07:50] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301175808001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790238989000,"timestamp_ms":1790238989000,"timestamp_seconds":1790238989,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28f1ac8"} 
[2026-09-24 14:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-24 14:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":194025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":194025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":194025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301175808001,"66":12645,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301175808001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:07:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:07:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301175808001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":194025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:07:50] local.INFO: GPS data processed {"connection_id":194025,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:07:50] local.INFO: Acknowledgment sent {"connection_id":194025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:08:05] local.INFO: TCP Data received {"connection_id":192742,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:08:05] local.INFO: Processing buffer {"connection_id":192742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:08:05] local.INFO: Packet analysis {"connection_id":192742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28e"} 
[2026-09-24 14:08:05] local.INFO: Extracted packet for processing {"connection_id":192742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28e"} 
[2026-09-24 14:08:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301096192001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790238958000,"timestamp_ms":1790238958000,"timestamp_seconds":1790238958,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28ea1b0"} 
[2026-09-24 14:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301096192001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301096192001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:08:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:08:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301096192001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":192742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:08:05] local.INFO: GPS data processed {"connection_id":192742,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:08:05] local.INFO: Acknowledgment sent {"connection_id":192742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:08:21] local.INFO: TCP Data received {"connection_id":194025,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28f6cd0012d18978007229b70007801552b..."} 
[2026-09-24 14:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28f6cd0012d18978007229b70007801552b..."} 
[2026-09-24 14:08:21] local.INFO: Processing buffer {"connection_id":194025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28f6cd0012d18978007229b70007801552b..."} 
[2026-09-24 14:08:21] local.INFO: Packet analysis {"connection_id":194025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28f"} 
[2026-09-24 14:08:21] local.INFO: Extracted packet for processing {"connection_id":194025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28f"} 
[2026-09-24 14:08:21] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301181184001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790239010000,"timestamp_ms":1790239010000,"timestamp_seconds":1790239010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28f6cd0"} 
[2026-09-24 14:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-24 14:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301181184001,"66":12645,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301181184001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:08:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:08:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301181184001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":194025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:08:21] local.INFO: GPS data processed {"connection_id":194025,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:08:21] local.INFO: Acknowledgment sent {"connection_id":194025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:08:29] local.INFO: TCP Data received {"connection_id":192744,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:08:29] local.INFO: Processing buffer {"connection_id":192744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:08:29] local.INFO: IMEI packet received {"connection_id":192744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":192744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:08:34] local.INFO: TCP Data received {"connection_id":192744,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:08:34] local.INFO: Processing buffer {"connection_id":192744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:08:34] local.INFO: IMEI packet received {"connection_id":192744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":192744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:08:35] local.INFO: TCP Data received {"connection_id":192744,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:08:35] local.INFO: Processing buffer {"connection_id":192744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:08:35] local.INFO: Packet analysis {"connection_id":192744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28e"} 
[2026-09-24 14:08:35] local.INFO: Extracted packet for processing {"connection_id":192744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28e"} 
[2026-09-24 14:08:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301096192001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790238958000,"timestamp_ms":1790238958000,"timestamp_seconds":1790238958,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28ea1b0"} 
[2026-09-24 14:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301096192001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301096192001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:08:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:08:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301096192001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":192744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":889999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:08:35] local.INFO: GPS data processed {"connection_id":192744,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:08:35] local.INFO: Acknowledgment sent {"connection_id":192744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:08:45] local.INFO: TCP Data received {"connection_id":192745,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:08:45] local.INFO: Processing buffer {"connection_id":192745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:08:45] local.INFO: IMEI packet received {"connection_id":192745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":192745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:08:50] local.INFO: TCP Data received {"connection_id":192745,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:08:50] local.INFO: Processing buffer {"connection_id":192745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:08:50] local.INFO: IMEI packet received {"connection_id":192745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":192745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:08:51] local.INFO: TCP Data received {"connection_id":192745,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28fbed8012d18978007229b70007801552a..."} 
[2026-09-24 14:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28fbed8012d18978007229b70007801552a..."} 
[2026-09-24 14:08:51] local.INFO: Processing buffer {"connection_id":192745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28fbed8012d18978007229b70007801552a..."} 
[2026-09-24 14:08:51] local.INFO: Packet analysis {"connection_id":192745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28f"} 
[2026-09-24 14:08:51] local.INFO: Extracted packet for processing {"connection_id":192745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28f"} 
[2026-09-24 14:08:51] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301186560001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790239031000,"timestamp_ms":1790239031000,"timestamp_seconds":1790239031,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28fbed8"} 
[2026-09-24 14:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-24 14:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301186560001,"66":12667,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301186560001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:08:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:08:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301186560001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":192745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:08:51] local.INFO: GPS data processed {"connection_id":192745,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:08:51] local.INFO: Acknowledgment sent {"connection_id":192745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:09:06] local.INFO: TCP Data received {"connection_id":192744,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:09:06] local.INFO: Processing buffer {"connection_id":192744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:09:06] local.INFO: Packet analysis {"connection_id":192744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28e"} 
[2026-09-24 14:09:06] local.INFO: Extracted packet for processing {"connection_id":192744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28e"} 
[2026-09-24 14:09:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301096192001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790238958000,"timestamp_ms":1790238958000,"timestamp_seconds":1790238958,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28ea1b0"} 
[2026-09-24 14:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301096192001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301096192001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:09:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:09:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301096192001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":192744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:09:06] local.INFO: GPS data processed {"connection_id":192744,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:09:06] local.INFO: Acknowledgment sent {"connection_id":192744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:09:22] local.INFO: TCP Data received {"connection_id":192745,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29010e0012d18978007229b700078015526..."} 
[2026-09-24 14:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29010e0012d18978007229b700078015526..."} 
[2026-09-24 14:09:22] local.INFO: Processing buffer {"connection_id":192745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29010e0012d18978007229b700078015526..."} 
[2026-09-24 14:09:22] local.INFO: Packet analysis {"connection_id":192745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d290"} 
[2026-09-24 14:09:22] local.INFO: Extracted packet for processing {"connection_id":192745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d290"} 
[2026-09-24 14:09:22] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":38,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301191936001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790239052000,"timestamp_ms":1790239052000,"timestamp_seconds":1790239052,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29010e0"} 
[2026-09-24 14:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-24 14:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301191936001,"66":12613,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301191936001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:09:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:09:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301191936001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":192745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:09:22] local.INFO: GPS data processed {"connection_id":192745,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:09:22] local.INFO: Acknowledgment sent {"connection_id":192745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:09:28] local.INFO: TCP Data received {"connection_id":192746,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:09:28] local.INFO: Processing buffer {"connection_id":192746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:09:28] local.INFO: IMEI packet received {"connection_id":192746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":192746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:09:33] local.INFO: TCP Data received {"connection_id":192746,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:09:33] local.INFO: Processing buffer {"connection_id":192746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:09:33] local.INFO: IMEI packet received {"connection_id":192746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":192746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:09:34] local.INFO: TCP Data received {"connection_id":192746,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:09:34] local.INFO: Processing buffer {"connection_id":192746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:09:34] local.INFO: Packet analysis {"connection_id":192746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28e"} 
[2026-09-24 14:09:34] local.INFO: Extracted packet for processing {"connection_id":192746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28e"} 
[2026-09-24 14:09:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301096192001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790238958000,"timestamp_ms":1790238958000,"timestamp_seconds":1790238958,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28ea1b0"} 
[2026-09-24 14:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301096192001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301096192001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:09:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:09:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301096192001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":192746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:09:34] local.INFO: GPS data processed {"connection_id":192746,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:09:34] local.INFO: Acknowledgment sent {"connection_id":192746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:09:45] local.INFO: TCP Data received {"connection_id":192747,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:09:45] local.INFO: Processing buffer {"connection_id":192747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:09:45] local.INFO: IMEI packet received {"connection_id":192747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":192747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:09:50] local.INFO: TCP Data received {"connection_id":192747,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:09:50] local.INFO: Processing buffer {"connection_id":192747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:09:50] local.INFO: IMEI packet received {"connection_id":192747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":192747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:09:51] local.INFO: TCP Data received {"connection_id":192747,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29062e8012d18978007229b700078015529..."} 
[2026-09-24 14:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29062e8012d18978007229b700078015529..."} 
[2026-09-24 14:09:51] local.INFO: Processing buffer {"connection_id":192747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29062e8012d18978007229b700078015529..."} 
[2026-09-24 14:09:51] local.INFO: Packet analysis {"connection_id":192747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d290"} 
[2026-09-24 14:09:51] local.INFO: Extracted packet for processing {"connection_id":192747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d290"} 
[2026-09-24 14:09:51] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":41,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301197312001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790239073000,"timestamp_ms":1790239073000,"timestamp_seconds":1790239073,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29062e8"} 
[2026-09-24 14:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-24 14:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301197312001,"66":12613,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301197312001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:09:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:09:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301197312001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":192747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:09:51] local.INFO: GPS data processed {"connection_id":192747,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:09:51] local.INFO: Acknowledgment sent {"connection_id":192747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:10:06] local.INFO: TCP Data received {"connection_id":192746,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:10:06] local.INFO: Processing buffer {"connection_id":192746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:10:06] local.INFO: Packet analysis {"connection_id":192746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28e"} 
[2026-09-24 14:10:06] local.INFO: Extracted packet for processing {"connection_id":192746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28e"} 
[2026-09-24 14:10:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301096192001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790238958000,"timestamp_ms":1790238958000,"timestamp_seconds":1790238958,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28ea1b0"} 
[2026-09-24 14:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301096192001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301096192001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:10:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:10:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301096192001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":192746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:10:06] local.INFO: GPS data processed {"connection_id":192746,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:10:06] local.INFO: Acknowledgment sent {"connection_id":192746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:10:22] local.INFO: TCP Data received {"connection_id":192747,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d290b4f0012d18978007229b70007801552a..."} 
[2026-09-24 14:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d290b4f0012d18978007229b70007801552a..."} 
[2026-09-24 14:10:22] local.INFO: Processing buffer {"connection_id":192747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d290b4f0012d18978007229b70007801552a..."} 
[2026-09-24 14:10:22] local.INFO: Packet analysis {"connection_id":192747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d290"} 
[2026-09-24 14:10:22] local.INFO: Extracted packet for processing {"connection_id":192747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d290"} 
[2026-09-24 14:10:22] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301202688001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790239094000,"timestamp_ms":1790239094000,"timestamp_seconds":1790239094,"priority":1,"record_length":96,"hex_timestamp":"000001a0d290b4f0"} 
[2026-09-24 14:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-24 14:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301202688001,"66":12591,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301202688001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:10:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:10:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301202688001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":192747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:10:22] local.INFO: GPS data processed {"connection_id":192747,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:10:22] local.INFO: Acknowledgment sent {"connection_id":192747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:10:28] local.INFO: TCP Data received {"connection_id":192748,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:10:28] local.INFO: Processing buffer {"connection_id":192748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:10:28] local.INFO: IMEI packet received {"connection_id":192748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":192748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:10:33] local.INFO: TCP Data received {"connection_id":192748,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:10:33] local.INFO: Processing buffer {"connection_id":192748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:10:33] local.INFO: IMEI packet received {"connection_id":192748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":192748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:10:34] local.INFO: TCP Data received {"connection_id":192748,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:10:34] local.INFO: Processing buffer {"connection_id":192748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:10:34] local.INFO: Packet analysis {"connection_id":192748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28e"} 
[2026-09-24 14:10:34] local.INFO: Extracted packet for processing {"connection_id":192748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28e"} 
[2026-09-24 14:10:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301096192001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790238958000,"timestamp_ms":1790238958000,"timestamp_seconds":1790238958,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28ea1b0"} 
[2026-09-24 14:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301096192001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301096192001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:10:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:10:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301096192001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":192748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:10:34] local.INFO: GPS data processed {"connection_id":192748,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:10:34] local.INFO: Acknowledgment sent {"connection_id":192748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:10:50] local.INFO: TCP Data received {"connection_id":191373,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:10:50] local.INFO: Processing buffer {"connection_id":191373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:10:50] local.INFO: IMEI packet received {"connection_id":191373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":191373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:10:55] local.INFO: TCP Data received {"connection_id":191373,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:10:55] local.INFO: Processing buffer {"connection_id":191373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:10:55] local.INFO: IMEI packet received {"connection_id":191373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":191373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:10:55] local.INFO: TCP Data received {"connection_id":191373,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29106f8012d18978007229b70007801552a..."} 
[2026-09-24 14:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29106f8012d18978007229b70007801552a..."} 
[2026-09-24 14:10:55] local.INFO: Processing buffer {"connection_id":191373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29106f8012d18978007229b70007801552a..."} 
[2026-09-24 14:10:55] local.INFO: Packet analysis {"connection_id":191373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d291"} 
[2026-09-24 14:10:55] local.INFO: Extracted packet for processing {"connection_id":191373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d291"} 
[2026-09-24 14:10:55] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301208064001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790239115000,"timestamp_ms":1790239115000,"timestamp_seconds":1790239115,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29106f8"} 
[2026-09-24 14:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301208064001,"66":12645,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301208064001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:10:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:10:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301208064001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":191373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:10:55] local.INFO: GPS data processed {"connection_id":191373,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:10:55] local.INFO: Acknowledgment sent {"connection_id":191373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:10:58] local.INFO: TCP Data received {"connection_id":191373,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2915900012d18978007229b700078015526..."} 
[2026-09-24 14:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2915900012d18978007229b700078015526..."} 
[2026-09-24 14:10:58] local.INFO: Processing buffer {"connection_id":191373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2915900012d18978007229b700078015526..."} 
[2026-09-24 14:10:58] local.INFO: Packet analysis {"connection_id":191373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d291"} 
[2026-09-24 14:10:58] local.INFO: Extracted packet for processing {"connection_id":191373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d291"} 
[2026-09-24 14:10:58] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":38,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301213440001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790239136000,"timestamp_ms":1790239136000,"timestamp_seconds":1790239136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2915900"} 
[2026-09-24 14:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-24 14:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":191373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":191373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":191373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301213440001,"66":12580,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301213440001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:10:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:10:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301213440001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":191373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:10:59] local.INFO: GPS data processed {"connection_id":191373,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:10:59] local.INFO: Acknowledgment sent {"connection_id":191373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:11:06] local.INFO: TCP Data received {"connection_id":192748,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:11:06] local.INFO: Processing buffer {"connection_id":192748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d28ea1b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 14:11:06] local.INFO: Packet analysis {"connection_id":192748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d28e"} 
[2026-09-24 14:11:06] local.INFO: Extracted packet for processing {"connection_id":192748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d28e"} 
[2026-09-24 14:11:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301096192001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790238958000,"timestamp_ms":1790238958000,"timestamp_seconds":1790238958,"priority":1,"record_length":96,"hex_timestamp":"000001a0d28ea1b0"} 
[2026-09-24 14:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301096192001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301096192001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:11:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:11:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301096192001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":192748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:11:06] local.INFO: GPS data processed {"connection_id":192748,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:11:06] local.INFO: Acknowledgment sent {"connection_id":192748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:11:30] local.INFO: TCP Data received {"connection_id":191373,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d291ab08012d18978007229b700078015529..."} 
[2026-09-24 14:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d291ab08012d18978007229b700078015529..."} 
[2026-09-24 14:11:30] local.INFO: Processing buffer {"connection_id":191373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d291ab08012d18978007229b700078015529..."} 
[2026-09-24 14:11:30] local.INFO: Packet analysis {"connection_id":191373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d291"} 
[2026-09-24 14:11:30] local.INFO: Extracted packet for processing {"connection_id":191373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d291"} 
[2026-09-24 14:11:30] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":41,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301218816001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790239157000,"timestamp_ms":1790239157000,"timestamp_seconds":1790239157,"priority":1,"record_length":96,"hex_timestamp":"000001a0d291ab08"} 
[2026-09-24 14:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-24 14:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":191373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":191373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":191373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301218816001,"66":12537,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301218816001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:11:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:11:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301218816001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":191373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:11:30] local.INFO: GPS data processed {"connection_id":191373,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:11:30] local.INFO: Acknowledgment sent {"connection_id":191373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:11:33] local.INFO: TCP Data received {"connection_id":192749,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:11:33] local.INFO: Processing buffer {"connection_id":192749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:11:33] local.INFO: IMEI packet received {"connection_id":192749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":192749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:11:37] local.INFO: TCP Data received {"connection_id":192749,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:11:37] local.INFO: Processing buffer {"connection_id":192749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:11:37] local.INFO: IMEI packet received {"connection_id":192749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":192749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:11:38] local.INFO: TCP Data received {"connection_id":192749,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:11:38] local.INFO: Processing buffer {"connection_id":192749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:11:38] local.INFO: Packet analysis {"connection_id":192749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:11:38] local.INFO: Extracted packet for processing {"connection_id":192749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:11:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301173248001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790239259000,"timestamp_ms":1790239259000,"timestamp_seconds":1790239259,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2933978"} 
[2026-09-24 14:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 14:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301173248001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301173248001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:11:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:11:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301173248001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":192749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:11:38] local.INFO: GPS data processed {"connection_id":192749,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:11:38] local.INFO: Acknowledgment sent {"connection_id":192749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:11:39] local.INFO: TCP Data received {"connection_id":192749,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:11:39] local.INFO: Processing buffer {"connection_id":192749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:11:39] local.INFO: Packet analysis {"connection_id":192749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:11:39] local.INFO: Extracted packet for processing {"connection_id":192749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:11:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301173248001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790239259000,"timestamp_ms":1790239259000,"timestamp_seconds":1790239259,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2933978"} 
[2026-09-24 14:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 14:11:39] 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-09-24 14:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301173248001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301173248001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:11:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:11:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301173248001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":192749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:11:39] local.INFO: GPS data processed {"connection_id":192749,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:11:39] local.INFO: Acknowledgment sent {"connection_id":192749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:11:45] local.INFO: TCP Data received {"connection_id":194026,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:11:45] local.INFO: Processing buffer {"connection_id":194026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:11:45] local.INFO: IMEI packet received {"connection_id":194026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":194026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:11:50] local.INFO: TCP Data received {"connection_id":194026,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:11:50] local.INFO: Processing buffer {"connection_id":194026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:11:50] local.INFO: IMEI packet received {"connection_id":194026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":194026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:11:51] local.INFO: TCP Data received {"connection_id":194026,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d291fd10012d18978007229b70007801552b..."} 
[2026-09-24 14:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d291fd10012d18978007229b70007801552b..."} 
[2026-09-24 14:11:51] local.INFO: Processing buffer {"connection_id":194026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d291fd10012d18978007229b70007801552b..."} 
[2026-09-24 14:11:51] local.INFO: Packet analysis {"connection_id":194026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d291"} 
[2026-09-24 14:11:51] local.INFO: Extracted packet for processing {"connection_id":194026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d291"} 
[2026-09-24 14:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301224192001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790239178000,"timestamp_ms":1790239178000,"timestamp_seconds":1790239178,"priority":1,"record_length":96,"hex_timestamp":"000001a0d291fd10"} 
[2026-09-24 14:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 14:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301224192001,"66":12526,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301224192001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:11:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:11:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301224192001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":194026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:11:51] local.INFO: GPS data processed {"connection_id":194026,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:11:51] local.INFO: Acknowledgment sent {"connection_id":194026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:11:55] local.INFO: TCP Data received {"connection_id":194026,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2924f18012d18978007229b70007801552a..."} 
[2026-09-24 14:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2924f18012d18978007229b70007801552a..."} 
[2026-09-24 14:11:55] local.INFO: Processing buffer {"connection_id":194026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2924f18012d18978007229b70007801552a..."} 
[2026-09-24 14:11:55] local.INFO: Packet analysis {"connection_id":194026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d292"} 
[2026-09-24 14:11:55] local.INFO: Extracted packet for processing {"connection_id":194026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d292"} 
[2026-09-24 14:11:55] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:11: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-09-24 14:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301229568001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790239199000,"timestamp_ms":1790239199000,"timestamp_seconds":1790239199,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2924f18"} 
[2026-09-24 14:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 14:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:11: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-09-24 14:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301229568001,"66":12591,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301229568001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:11:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:11:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301229568001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":194026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:11:55] local.INFO: GPS data processed {"connection_id":194026,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:11:55] local.INFO: Acknowledgment sent {"connection_id":194026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:12:11] local.INFO: TCP Data received {"connection_id":192749,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:12:11] local.INFO: Processing buffer {"connection_id":192749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:12:11] local.INFO: Packet analysis {"connection_id":192749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:12:11] local.INFO: Extracted packet for processing {"connection_id":192749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:12:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301173248001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790239259000,"timestamp_ms":1790239259000,"timestamp_seconds":1790239259,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2933978"} 
[2026-09-24 14:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 14:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301173248001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301173248001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:12:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:12:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301173248001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":192749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:12:11] local.INFO: GPS data processed {"connection_id":192749,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:12:11] local.INFO: Acknowledgment sent {"connection_id":192749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:12:26] local.INFO: TCP Data received {"connection_id":194026,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d292a120012d18978007229b70007801552b..."} 
[2026-09-24 14:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d292a120012d18978007229b70007801552b..."} 
[2026-09-24 14:12:26] local.INFO: Processing buffer {"connection_id":194026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d292a120012d18978007229b70007801552b..."} 
[2026-09-24 14:12:26] local.INFO: Packet analysis {"connection_id":194026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d292"} 
[2026-09-24 14:12:26] local.INFO: Extracted packet for processing {"connection_id":194026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d292"} 
[2026-09-24 14:12:26] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301234944001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790239220000,"timestamp_ms":1790239220000,"timestamp_seconds":1790239220,"priority":1,"record_length":96,"hex_timestamp":"000001a0d292a120"} 
[2026-09-24 14:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":194026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":194026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":194026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301234944001,"66":12591,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301234944001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:12:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:12:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301234944001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":194026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:12:26] local.INFO: GPS data processed {"connection_id":194026,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:12:26] local.INFO: Acknowledgment sent {"connection_id":194026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:12:28] local.INFO: TCP Data received {"connection_id":191173,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:12:28] local.INFO: Processing buffer {"connection_id":191173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:12:28] local.INFO: IMEI packet received {"connection_id":191173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":191173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:12:32] local.INFO: TCP Data received {"connection_id":191374,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191374,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:12:32] local.INFO: Processing buffer {"connection_id":191374,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:12:32] local.INFO: IMEI packet received {"connection_id":191374,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 14:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":191374,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:12:33] local.INFO: TCP Data received {"connection_id":191173,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:12:33] local.INFO: Processing buffer {"connection_id":191173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:12:33] local.INFO: IMEI packet received {"connection_id":191173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":191173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:12:34] local.INFO: TCP Data received {"connection_id":191173,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:12:34] local.INFO: Processing buffer {"connection_id":191173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:12:34] local.INFO: Packet analysis {"connection_id":191173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:12:34] local.INFO: Extracted packet for processing {"connection_id":191173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:12:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301173248001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790239259000,"timestamp_ms":1790239259000,"timestamp_seconds":1790239259,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2933978"} 
[2026-09-24 14:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 14:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301173248001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301173248001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:12:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:12:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301173248001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":191173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:12:34] local.INFO: GPS data processed {"connection_id":191173,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:12:34] local.INFO: Acknowledgment sent {"connection_id":191173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:12:43] local.INFO: TCP Data received {"connection_id":194027,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:12:43] local.INFO: Processing buffer {"connection_id":194027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:12:43] local.INFO: IMEI packet received {"connection_id":194027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":194027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:12:45] local.INFO: TCP Data received {"connection_id":194027,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:12:45] local.INFO: Processing buffer {"connection_id":194027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:12:45] local.INFO: IMEI packet received {"connection_id":194027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":194027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:12:50] local.INFO: TCP Data received {"connection_id":194027,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:12:50] local.INFO: Processing buffer {"connection_id":194027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:12:50] local.INFO: IMEI packet received {"connection_id":194027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":194027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:12:51] local.INFO: TCP Data received {"connection_id":194027,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d292f328012d18978007229b700078015529..."} 
[2026-09-24 14:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d292f328012d18978007229b700078015529..."} 
[2026-09-24 14:12:51] local.INFO: Processing buffer {"connection_id":194027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d292f328012d18978007229b700078015529..."} 
[2026-09-24 14:12:51] local.INFO: Packet analysis {"connection_id":194027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d292"} 
[2026-09-24 14:12:51] local.INFO: Extracted packet for processing {"connection_id":194027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d292"} 
[2026-09-24 14:12:51] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":41,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301240320001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790239241000,"timestamp_ms":1790239241000,"timestamp_seconds":1790239241,"priority":1,"record_length":96,"hex_timestamp":"000001a0d292f328"} 
[2026-09-24 14:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301240320001,"66":12591,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301240320001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:12:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:12:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301240320001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":194027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:12:51] local.INFO: GPS data processed {"connection_id":194027,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:12:51] local.INFO: Acknowledgment sent {"connection_id":194027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:13:06] local.INFO: TCP Data received {"connection_id":191173,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:13:06] local.INFO: Processing buffer {"connection_id":191173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:13:06] local.INFO: Packet analysis {"connection_id":191173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:13:06] local.INFO: Extracted packet for processing {"connection_id":191173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:13:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301173248001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790239259000,"timestamp_ms":1790239259000,"timestamp_seconds":1790239259,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2933978"} 
[2026-09-24 14:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 14:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301173248001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301173248001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:13:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:13:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301173248001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":191173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:13:06] local.INFO: GPS data processed {"connection_id":191173,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:13:06] local.INFO: Acknowledgment sent {"connection_id":191173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:13:12] local.INFO: TCP Data received {"connection_id":191375,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:13:12] local.INFO: Processing buffer {"connection_id":191375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:13:12] local.INFO: IMEI packet received {"connection_id":191375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 14:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":191375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:13:22] local.INFO: TCP Data received {"connection_id":194027,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2934530012d18978007229b70007801552a..."} 
[2026-09-24 14:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2934530012d18978007229b70007801552a..."} 
[2026-09-24 14:13:22] local.INFO: Processing buffer {"connection_id":194027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2934530012d18978007229b70007801552a..."} 
[2026-09-24 14:13:22] local.INFO: Packet analysis {"connection_id":194027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:13:22] local.INFO: Extracted packet for processing {"connection_id":194027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:13:22] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301245696001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790239262000,"timestamp_ms":1790239262000,"timestamp_seconds":1790239262,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2934530"} 
[2026-09-24 14:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301245696001,"66":12591,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301245696001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:13:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:13:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301245696001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":194027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:13:22] local.INFO: GPS data processed {"connection_id":194027,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:13:22] local.INFO: Acknowledgment sent {"connection_id":194027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:13:28] local.INFO: TCP Data received {"connection_id":192750,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:13:28] local.INFO: Processing buffer {"connection_id":192750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:13:28] local.INFO: IMEI packet received {"connection_id":192750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":192750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:13:33] local.INFO: TCP Data received {"connection_id":192750,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:13:33] local.INFO: Processing buffer {"connection_id":192750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:13:33] local.INFO: IMEI packet received {"connection_id":192750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":192750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:13:34] local.INFO: TCP Data received {"connection_id":192750,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:13:34] local.INFO: Processing buffer {"connection_id":192750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:13:34] local.INFO: Packet analysis {"connection_id":192750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:13:34] local.INFO: Extracted packet for processing {"connection_id":192750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:13:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301173248001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790239259000,"timestamp_ms":1790239259000,"timestamp_seconds":1790239259,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2933978"} 
[2026-09-24 14:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 14:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301173248001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301173248001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:13:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:13:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301173248001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":192750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:13:34] local.INFO: GPS data processed {"connection_id":192750,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:13:34] local.INFO: Acknowledgment sent {"connection_id":192750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:13:45] local.INFO: TCP Data received {"connection_id":191376,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:13:45] local.INFO: Processing buffer {"connection_id":191376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:13:45] local.INFO: IMEI packet received {"connection_id":191376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":191376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:13:46] local.INFO: TCP Data received {"connection_id":191376,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:13:46] local.INFO: Processing buffer {"connection_id":191376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:13:46] local.INFO: IMEI packet received {"connection_id":191376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":191376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:13:50] local.INFO: TCP Data received {"connection_id":191376,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:13:50] local.INFO: Processing buffer {"connection_id":191376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:13:50] local.INFO: IMEI packet received {"connection_id":191376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":191376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:13:51] local.INFO: TCP Data received {"connection_id":191376,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2939738012d18978007229b70007801552b..."} 
[2026-09-24 14:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2939738012d18978007229b70007801552b..."} 
[2026-09-24 14:13:51] local.INFO: Processing buffer {"connection_id":191376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2939738012d18978007229b70007801552b..."} 
[2026-09-24 14:13:51] local.INFO: Packet analysis {"connection_id":191376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:13:51] local.INFO: Extracted packet for processing {"connection_id":191376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:13:51] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301251072001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790239283000,"timestamp_ms":1790239283000,"timestamp_seconds":1790239283,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2939738"} 
[2026-09-24 14:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301251072001,"66":12580,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301251072001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:13:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:13:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301251072001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":191376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:13:51] local.INFO: GPS data processed {"connection_id":191376,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:13:51] local.INFO: Acknowledgment sent {"connection_id":191376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:14:06] local.INFO: TCP Data received {"connection_id":192750,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:14:06] local.INFO: Processing buffer {"connection_id":192750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:14:06] local.INFO: Packet analysis {"connection_id":192750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:14:06] local.INFO: Extracted packet for processing {"connection_id":192750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:14:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301173248001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790239259000,"timestamp_ms":1790239259000,"timestamp_seconds":1790239259,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2933978"} 
[2026-09-24 14:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 14:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301173248001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301173248001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:14:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:14:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301173248001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":192750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:14:06] local.INFO: GPS data processed {"connection_id":192750,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:14:06] local.INFO: Acknowledgment sent {"connection_id":192750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:14:22] local.INFO: TCP Data received {"connection_id":191376,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d293e940012d18978007229b700078015528..."} 
[2026-09-24 14:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d293e940012d18978007229b700078015528..."} 
[2026-09-24 14:14:22] local.INFO: Processing buffer {"connection_id":191376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d293e940012d18978007229b700078015528..."} 
[2026-09-24 14:14:22] local.INFO: Packet analysis {"connection_id":191376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:14:22] local.INFO: Extracted packet for processing {"connection_id":191376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:14:22] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":40,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301256448001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790239304000,"timestamp_ms":1790239304000,"timestamp_seconds":1790239304,"priority":1,"record_length":96,"hex_timestamp":"000001a0d293e940"} 
[2026-09-24 14:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-24 14:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301256448001,"66":12580,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301256448001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:14:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:14:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301256448001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":191376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:14:22] local.INFO: GPS data processed {"connection_id":191376,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:14:22] local.INFO: Acknowledgment sent {"connection_id":191376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:14:28] local.INFO: TCP Data received {"connection_id":191174,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:14:28] local.INFO: Processing buffer {"connection_id":191174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:14:28] local.INFO: IMEI packet received {"connection_id":191174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":191174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:14:33] local.INFO: TCP Data received {"connection_id":191174,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:14:33] local.INFO: Processing buffer {"connection_id":191174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:14:33] local.INFO: IMEI packet received {"connection_id":191174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":191174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:14:34] local.INFO: TCP Data received {"connection_id":191174,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:14:34] local.INFO: Processing buffer {"connection_id":191174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:14:34] local.INFO: Packet analysis {"connection_id":191174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:14:34] local.INFO: Extracted packet for processing {"connection_id":191174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:14:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301173248001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790239259000,"timestamp_ms":1790239259000,"timestamp_seconds":1790239259,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2933978"} 
[2026-09-24 14:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 14:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301173248001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301173248001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:14:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:14:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301173248001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":191174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:14:34] local.INFO: GPS data processed {"connection_id":191174,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:14:34] local.INFO: Acknowledgment sent {"connection_id":191174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:14:45] local.INFO: TCP Data received {"connection_id":191377,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:14:45] local.INFO: Processing buffer {"connection_id":191377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:14:45] local.INFO: IMEI packet received {"connection_id":191377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":191377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:14:49] local.INFO: TCP Data received {"connection_id":191377,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:14:49] local.INFO: Processing buffer {"connection_id":191377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:14:49] local.INFO: IMEI packet received {"connection_id":191377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":191377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:14:50] local.INFO: TCP Data received {"connection_id":191377,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2943b48012d18978007229b70007801552b..."} 
[2026-09-24 14:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2943b48012d18978007229b70007801552b..."} 
[2026-09-24 14:14:50] local.INFO: Processing buffer {"connection_id":191377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2943b48012d18978007229b70007801552b..."} 
[2026-09-24 14:14:50] local.INFO: Packet analysis {"connection_id":191377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d294"} 
[2026-09-24 14:14:50] local.INFO: Extracted packet for processing {"connection_id":191377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d294"} 
[2026-09-24 14:14:50] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301261824001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790239325000,"timestamp_ms":1790239325000,"timestamp_seconds":1790239325,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2943b48"} 
[2026-09-24 14:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-24 14:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301261824001,"66":12548,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301261824001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:14:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:14:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301261824001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":191377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:14:50] local.INFO: GPS data processed {"connection_id":191377,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:14:50] local.INFO: Acknowledgment sent {"connection_id":191377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:15:06] local.INFO: TCP Data received {"connection_id":191174,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:15:06] local.INFO: Processing buffer {"connection_id":191174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:15:06] local.INFO: Packet analysis {"connection_id":191174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:15:06] local.INFO: Extracted packet for processing {"connection_id":191174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:15:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301173248001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790239259000,"timestamp_ms":1790239259000,"timestamp_seconds":1790239259,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2933978"} 
[2026-09-24 14:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 14:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301173248001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301173248001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:15:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:15:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301173248001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":191174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:15:06] local.INFO: GPS data processed {"connection_id":191174,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:15:06] local.INFO: Acknowledgment sent {"connection_id":191174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:15:21] local.INFO: TCP Data received {"connection_id":191377,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2948d50012d18978007229b70007801552b..."} 
[2026-09-24 14:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2948d50012d18978007229b70007801552b..."} 
[2026-09-24 14:15:21] local.INFO: Processing buffer {"connection_id":191377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2948d50012d18978007229b70007801552b..."} 
[2026-09-24 14:15:21] local.INFO: Packet analysis {"connection_id":191377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d294"} 
[2026-09-24 14:15:21] local.INFO: Extracted packet for processing {"connection_id":191377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d294"} 
[2026-09-24 14:15:21] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301267200001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790239346000,"timestamp_ms":1790239346000,"timestamp_seconds":1790239346,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2948d50"} 
[2026-09-24 14:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 14:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:21] local.WARNING: Large IO value detected {"io_id":95,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:21] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3532803864,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:21] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2147951259,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:21] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2465409025,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:21] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2607808632,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-24 14:15:21] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:21] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,95,160,233,45,128,155,120,40,10,66,151,43,69,1,240,47,227,210,34,4,113,205,161,112,239,49,2,81,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-24 14:15:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8647286402700017664,"timestamp_seconds":8647286402700018.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 14:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301267200001,"66":12558,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301267200001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:15:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:15:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301267200001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":191377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:15:21] local.INFO: GPS data processed {"connection_id":191377,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:15:21] local.INFO: Acknowledgment sent {"connection_id":191377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:15:28] local.INFO: TCP Data received {"connection_id":191176,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:15:28] local.INFO: Processing buffer {"connection_id":191176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:15:28] local.INFO: IMEI packet received {"connection_id":191176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":191176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:15:33] local.INFO: TCP Data received {"connection_id":191176,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:15:33] local.INFO: Processing buffer {"connection_id":191176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:15:33] local.INFO: IMEI packet received {"connection_id":191176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":191176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:15:35] local.INFO: TCP Data received {"connection_id":191176,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:15:35] local.INFO: Processing buffer {"connection_id":191176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:15:35] local.INFO: Packet analysis {"connection_id":191176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:15:35] local.INFO: Extracted packet for processing {"connection_id":191176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:15:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301173248001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790239259000,"timestamp_ms":1790239259000,"timestamp_seconds":1790239259,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2933978"} 
[2026-09-24 14:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 14:15:35] 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-09-24 14: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-09-24 14:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301173248001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301173248001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:15:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:15:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301173248001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":191176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:15:35] local.INFO: GPS data processed {"connection_id":191176,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:15:35] local.INFO: Acknowledgment sent {"connection_id":191176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:15:45] local.INFO: TCP Data received {"connection_id":192751,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:15:45] local.INFO: Processing buffer {"connection_id":192751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:15:45] local.INFO: IMEI packet received {"connection_id":192751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":192751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:15:50] local.INFO: TCP Data received {"connection_id":192751,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:15:50] local.INFO: Processing buffer {"connection_id":192751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:15:50] local.INFO: IMEI packet received {"connection_id":192751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":192751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:15:51] local.INFO: TCP Data received {"connection_id":192751,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d294df58012d18978007229b70007801552b..."} 
[2026-09-24 14:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d294df58012d18978007229b70007801552b..."} 
[2026-09-24 14:15:51] local.INFO: Processing buffer {"connection_id":192751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d294df58012d18978007229b70007801552b..."} 
[2026-09-24 14:15:51] local.INFO: Packet analysis {"connection_id":192751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d294"} 
[2026-09-24 14:15:51] local.INFO: Extracted packet for processing {"connection_id":192751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d294"} 
[2026-09-24 14:15:51] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301272576001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790239367000,"timestamp_ms":1790239367000,"timestamp_seconds":1790239367,"priority":1,"record_length":96,"hex_timestamp":"000001a0d294df58"} 
[2026-09-24 14:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 14:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:51] local.WARNING: Large IO value detected {"io_id":95,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3532824864,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:51] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2147951259,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249513707279129456,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:51] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2470785025,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:51] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2607808632,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-24 14:15:51] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:51] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:51] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-24 14:15:51] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,95,160,59,45,128,155,120,43,10,66,233,40,151,1,240,36,227,210,34,4,113,205,243,112,41,239,49,2,81,7,106,76,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-24 14:15:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8647286402700017664,"timestamp_seconds":8647286402700018.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 14:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301272576001,"66":12558,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301272576001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:15:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:15:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301272576001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":192751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:15:51] local.INFO: GPS data processed {"connection_id":192751,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:15:51] local.INFO: Acknowledgment sent {"connection_id":192751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:16:07] local.INFO: TCP Data received {"connection_id":191176,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:16:07] local.INFO: Processing buffer {"connection_id":191176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2933978012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:16:07] local.INFO: Packet analysis {"connection_id":191176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:16:07] local.INFO: Extracted packet for processing {"connection_id":191176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d293"} 
[2026-09-24 14:16:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301173248001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790239259000,"timestamp_ms":1790239259000,"timestamp_seconds":1790239259,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2933978"} 
[2026-09-24 14:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 14:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301173248001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301173248001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:16:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:16:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301173248001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":191176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:16:07] local.INFO: GPS data processed {"connection_id":191176,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:16:07] local.INFO: Acknowledgment sent {"connection_id":191176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:16:22] local.INFO: TCP Data received {"connection_id":192751,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2953160012d18978007229b70007801552c..."} 
[2026-09-24 14:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2953160012d18978007229b70007801552c..."} 
[2026-09-24 14:16:22] local.INFO: Processing buffer {"connection_id":192751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2953160012d18978007229b70007801552c..."} 
[2026-09-24 14:16:22] local.INFO: Packet analysis {"connection_id":192751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d295"} 
[2026-09-24 14:16:22] local.INFO: Extracted packet for processing {"connection_id":192751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d295"} 
[2026-09-24 14:16:22] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301277952001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790239388000,"timestamp_ms":1790239388000,"timestamp_seconds":1790239388,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2953160"} 
[2026-09-24 14:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 14:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:22] local.WARNING: Large IO value detected {"io_id":95,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3532845864,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249513707279129456,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:22] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2476161025,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:22] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2607808632,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-24 14:16:22] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2147951259,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:22] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:22] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:22] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:22] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,95,160,141,45,128,155,120,43,10,66,59,233,1,240,36,227,210,34,4,113,205,69,151,112,42,239,49,2,81,7,106,76,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-24 14:16:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8647286402700017664,"timestamp_seconds":8647286402700018.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 14:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301277952001,"66":12015,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301277952001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:16:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:16:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301277952001,"power":12015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":192751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:16:22] local.INFO: GPS data processed {"connection_id":192751,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:16:22] local.INFO: Acknowledgment sent {"connection_id":192751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:16:33] local.INFO: TCP Data received {"connection_id":191378,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:16:33] local.INFO: Processing buffer {"connection_id":191378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:16:33] local.INFO: IMEI packet received {"connection_id":191378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":191378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:16:38] local.INFO: TCP Data received {"connection_id":191378,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:16:38] local.INFO: Processing buffer {"connection_id":191378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:16:38] local.INFO: IMEI packet received {"connection_id":191378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":191378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:16:39] local.INFO: TCP Data received {"connection_id":191378,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:16:39] local.INFO: Processing buffer {"connection_id":191378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:16:39] local.INFO: Packet analysis {"connection_id":191378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:16:39] local.INFO: Extracted packet for processing {"connection_id":191378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:16:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301250304001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790239560000,"timestamp_ms":1790239560000,"timestamp_seconds":1790239560,"priority":1,"record_length":96,"hex_timestamp":"000001a0d297d140"} 
[2026-09-24 14:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301250304001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301250304001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:16:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:16:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301250304001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":191378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:16:39] local.INFO: GPS data processed {"connection_id":191378,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:16:39] local.INFO: Acknowledgment sent {"connection_id":191378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:16:40] local.INFO: TCP Data received {"connection_id":191378,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:16:40] local.INFO: Processing buffer {"connection_id":191378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:16:40] local.INFO: Packet analysis {"connection_id":191378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:16:40] local.INFO: Extracted packet for processing {"connection_id":191378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:16:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301250304001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790239560000,"timestamp_ms":1790239560000,"timestamp_seconds":1790239560,"priority":1,"record_length":96,"hex_timestamp":"000001a0d297d140"} 
[2026-09-24 14:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301250304001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301250304001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:16:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:16:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301250304001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":191378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:16:40] local.INFO: GPS data processed {"connection_id":191378,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:16:40] local.INFO: Acknowledgment sent {"connection_id":191378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:16:45] local.INFO: TCP Data received {"connection_id":192752,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:16:45] local.INFO: Processing buffer {"connection_id":192752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:16:45] local.INFO: IMEI packet received {"connection_id":192752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":192752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:16:52] local.INFO: TCP Data received {"connection_id":192752,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:16:52] local.INFO: Processing buffer {"connection_id":192752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:16:52] local.INFO: IMEI packet received {"connection_id":192752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":192752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:16:52] local.INFO: TCP Data received {"connection_id":192752,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2958368012d18978007229b70007801552d..."} 
[2026-09-24 14:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2958368012d18978007229b70007801552d..."} 
[2026-09-24 14:16:52] local.INFO: Processing buffer {"connection_id":192752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2958368012d18978007229b70007801552d..."} 
[2026-09-24 14:16:52] local.INFO: Packet analysis {"connection_id":192752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d295"} 
[2026-09-24 14:16:52] local.INFO: Extracted packet for processing {"connection_id":192752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d295"} 
[2026-09-24 14:16:52] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301283328001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790239409000,"timestamp_ms":1790239409000,"timestamp_seconds":1790239409,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2958368"} 
[2026-09-24 14:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-24 14:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":192752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":192752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":192752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301283328001,"66":12591,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301283328001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:16:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:16:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301283328001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":192752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:16:52] local.INFO: GPS data processed {"connection_id":192752,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:16:52] local.INFO: Acknowledgment sent {"connection_id":192752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:17:12] local.INFO: TCP Data received {"connection_id":191378,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:17:12] local.INFO: Processing buffer {"connection_id":191378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:17:12] local.INFO: Packet analysis {"connection_id":191378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:17:12] local.INFO: Extracted packet for processing {"connection_id":191378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:17:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301250304001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790239560000,"timestamp_ms":1790239560000,"timestamp_seconds":1790239560,"priority":1,"record_length":96,"hex_timestamp":"000001a0d297d140"} 
[2026-09-24 14:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301250304001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301250304001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:17:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:17:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301250304001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":191378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:17:12] local.INFO: GPS data processed {"connection_id":191378,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:17:12] local.INFO: Acknowledgment sent {"connection_id":191378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:17:23] local.INFO: TCP Data received {"connection_id":192752,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d295d570012d18978007229b70007801552c..."} 
[2026-09-24 14:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d295d570012d18978007229b70007801552c..."} 
[2026-09-24 14:17:23] local.INFO: Processing buffer {"connection_id":192752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d295d570012d18978007229b70007801552c..."} 
[2026-09-24 14:17:23] local.INFO: Packet analysis {"connection_id":192752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d295"} 
[2026-09-24 14:17:23] local.INFO: Extracted packet for processing {"connection_id":192752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d295"} 
[2026-09-24 14:17:23] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301288704001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790239430000,"timestamp_ms":1790239430000,"timestamp_seconds":1790239430,"priority":1,"record_length":96,"hex_timestamp":"000001a0d295d570"} 
[2026-09-24 14:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:17: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-09-24 14:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301288704001,"66":12558,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301288704001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:17:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:17:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301288704001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":192752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:17:23] local.INFO: GPS data processed {"connection_id":192752,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:17:23] local.INFO: Acknowledgment sent {"connection_id":192752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:17:28] local.INFO: TCP Data received {"connection_id":194029,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:17:28] local.INFO: Processing buffer {"connection_id":194029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:17:28] local.INFO: IMEI packet received {"connection_id":194029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":194029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:17:33] local.INFO: TCP Data received {"connection_id":194029,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:17:33] local.INFO: Processing buffer {"connection_id":194029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:17:33] local.INFO: IMEI packet received {"connection_id":194029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":194029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:17:34] local.INFO: TCP Data received {"connection_id":194029,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:17:34] local.INFO: Processing buffer {"connection_id":194029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:17:34] local.INFO: Packet analysis {"connection_id":194029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:17:34] local.INFO: Extracted packet for processing {"connection_id":194029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:17:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301250304001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790239560000,"timestamp_ms":1790239560000,"timestamp_seconds":1790239560,"priority":1,"record_length":96,"hex_timestamp":"000001a0d297d140"} 
[2026-09-24 14:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301250304001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301250304001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:17:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:17:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301250304001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":194029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:17:34] local.INFO: GPS data processed {"connection_id":194029,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:17:34] local.INFO: Acknowledgment sent {"connection_id":194029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:17:50] local.INFO: TCP Data received {"connection_id":191380,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:17:50] local.INFO: Processing buffer {"connection_id":191380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:17:50] local.INFO: IMEI packet received {"connection_id":191380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":191380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:17:55] local.INFO: TCP Data received {"connection_id":191380,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:17:55] local.INFO: Processing buffer {"connection_id":191380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:17:55] local.INFO: IMEI packet received {"connection_id":191380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":191380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:17:55] local.INFO: TCP Data received {"connection_id":191380,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2962778012d18978007229b70007801552b..."} 
[2026-09-24 14:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2962778012d18978007229b70007801552b..."} 
[2026-09-24 14:17:55] local.INFO: Processing buffer {"connection_id":191380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2962778012d18978007229b70007801552b..."} 
[2026-09-24 14:17:55] local.INFO: Packet analysis {"connection_id":191380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d296"} 
[2026-09-24 14:17:55] local.INFO: Extracted packet for processing {"connection_id":191380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d296"} 
[2026-09-24 14:17:55] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:17: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-09-24 14:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301294080001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790239451000,"timestamp_ms":1790239451000,"timestamp_seconds":1790239451,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2962778"} 
[2026-09-24 14:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 14:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:55] local.WARNING: Large IO value detected {"io_id":95,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3532908864,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249513707279129456,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:55] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2492289025,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:55] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2607808632,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-24 14:17:55] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2147951259,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:55] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:55] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:55] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-24 14:17:55] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,95,160,131,45,128,155,120,10,66,49,44,223,1,240,14,227,210,34,4,113,205,59,151,112,43,239,2,81,7,106,76,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-24 14:17:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8647286406994984960,"timestamp_seconds":8647286406994985.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 14:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301294080001,"66":12558,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301294080001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:17:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:17:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301294080001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":191380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:17:56] local.INFO: GPS data processed {"connection_id":191380,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:17:56] local.INFO: Acknowledgment sent {"connection_id":191380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:18:05] local.INFO: TCP Data received {"connection_id":194029,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:18:05] local.INFO: Processing buffer {"connection_id":194029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:18:05] local.INFO: Packet analysis {"connection_id":194029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:18:05] local.INFO: Extracted packet for processing {"connection_id":194029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:18:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301250304001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790239560000,"timestamp_ms":1790239560000,"timestamp_seconds":1790239560,"priority":1,"record_length":96,"hex_timestamp":"000001a0d297d140"} 
[2026-09-24 14:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301250304001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301250304001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:18:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:18:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301250304001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":194029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:18:05] local.INFO: GPS data processed {"connection_id":194029,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:18:05] local.INFO: Acknowledgment sent {"connection_id":194029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:18:27] local.INFO: TCP Data received {"connection_id":191380,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2967980012d18978007229b70007801552b..."} 
[2026-09-24 14:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2967980012d18978007229b70007801552b..."} 
[2026-09-24 14:18:27] local.INFO: Processing buffer {"connection_id":191380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2967980012d18978007229b70007801552b..."} 
[2026-09-24 14:18:27] local.INFO: Packet analysis {"connection_id":191380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d296"} 
[2026-09-24 14:18:27] local.INFO: Extracted packet for processing {"connection_id":191380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d296"} 
[2026-09-24 14:18:27] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301299456001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790239472000,"timestamp_ms":1790239472000,"timestamp_seconds":1790239472,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2967980"} 
[2026-09-24 14:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 14:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:27] local.WARNING: Large IO value detected {"io_id":95,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:27] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3532929864,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249513707279129456,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:27] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2497665025,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:27] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2607808632,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-24 14:18:27] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2147951259,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:27] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:27] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:27] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:27] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,95,160,213,45,128,155,120,44,10,66,131,49,1,240,239,227,210,34,4,113,205,141,151,112,43,2,81,7,106,76,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-24 14:18:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8647286402700017664,"timestamp_seconds":8647286402700018.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 14:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301299456001,"66":12558,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301299456001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:18:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:18:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301299456001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":191380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:18:27] local.INFO: GPS data processed {"connection_id":191380,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:18:27] local.INFO: Acknowledgment sent {"connection_id":191380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:18:28] local.INFO: TCP Data received {"connection_id":191179,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:18:28] local.INFO: Processing buffer {"connection_id":191179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:18:28] local.INFO: IMEI packet received {"connection_id":191179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":191179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:18:32] local.INFO: TCP Data received {"connection_id":191178,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:18:32] local.INFO: Processing buffer {"connection_id":191178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:18:32] local.INFO: IMEI packet received {"connection_id":191178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 14:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":191178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:18:33] local.INFO: TCP Data received {"connection_id":191179,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:18:33] local.INFO: Processing buffer {"connection_id":191179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:18:33] local.INFO: IMEI packet received {"connection_id":191179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":191179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:18:34] local.INFO: TCP Data received {"connection_id":191179,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:18:34] local.INFO: Processing buffer {"connection_id":191179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:18:34] local.INFO: Packet analysis {"connection_id":191179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:18:34] local.INFO: Extracted packet for processing {"connection_id":191179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:18:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301250304001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790239560000,"timestamp_ms":1790239560000,"timestamp_seconds":1790239560,"priority":1,"record_length":96,"hex_timestamp":"000001a0d297d140"} 
[2026-09-24 14:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301250304001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301250304001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:18:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:18:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301250304001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":191179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:18:34] local.INFO: GPS data processed {"connection_id":191179,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:18:34] local.INFO: Acknowledgment sent {"connection_id":191179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:18:45] local.INFO: TCP Data received {"connection_id":191381,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:18:45] local.INFO: Processing buffer {"connection_id":191381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:18:45] local.INFO: IMEI packet received {"connection_id":191381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":191381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:18:50] local.INFO: TCP Data received {"connection_id":191381,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:18:50] local.INFO: Processing buffer {"connection_id":191381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:18:50] local.INFO: IMEI packet received {"connection_id":191381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":191381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:18:51] local.INFO: TCP Data received {"connection_id":191381,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d296cb88012d18978007229b70007801552c..."} 
[2026-09-24 14:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d296cb88012d18978007229b70007801552c..."} 
[2026-09-24 14:18:51] local.INFO: Processing buffer {"connection_id":191381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d296cb88012d18978007229b70007801552c..."} 
[2026-09-24 14:18:51] local.INFO: Packet analysis {"connection_id":191381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d296"} 
[2026-09-24 14:18:51] local.INFO: Extracted packet for processing {"connection_id":191381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d296"} 
[2026-09-24 14:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301304832001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790239493000,"timestamp_ms":1790239493000,"timestamp_seconds":1790239493,"priority":1,"record_length":96,"hex_timestamp":"000001a0d296cb88"} 
[2026-09-24 14:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 14:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:51] local.WARNING: Large IO value detected {"io_id":95,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3532950864,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249513707279129456,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:51] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2503041025,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:51] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2607808632,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-24 14:18:51] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2147951259,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:51] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:51] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:51] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-24 14:18:51] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,95,160,39,45,128,155,120,43,10,66,213,44,131,1,240,47,227,210,34,4,113,205,223,151,112,239,49,2,81,7,106,76,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-24 14:18:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8647286402700017664,"timestamp_seconds":8647286402700018.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 14:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301304832001,"66":12548,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301304832001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:18:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:18:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301304832001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":191381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:18:51] local.INFO: GPS data processed {"connection_id":191381,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:18:51] local.INFO: Acknowledgment sent {"connection_id":191381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:19:06] local.INFO: TCP Data received {"connection_id":191179,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:19:06] local.INFO: Processing buffer {"connection_id":191179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:19:06] local.INFO: Packet analysis {"connection_id":191179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:19:06] local.INFO: Extracted packet for processing {"connection_id":191179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:19:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301250304001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790239560000,"timestamp_ms":1790239560000,"timestamp_seconds":1790239560,"priority":1,"record_length":96,"hex_timestamp":"000001a0d297d140"} 
[2026-09-24 14:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301250304001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301250304001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:19:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:19:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301250304001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":191179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:19:06] local.INFO: GPS data processed {"connection_id":191179,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:19:06] local.INFO: Acknowledgment sent {"connection_id":191179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:19:07] local.INFO: TCP Data received {"connection_id":194030,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:19:07] local.INFO: Processing buffer {"connection_id":194030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:19:07] local.INFO: IMEI packet received {"connection_id":194030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 14:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":194030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:19:22] local.INFO: TCP Data received {"connection_id":191381,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2971d90012d18978007229b70007801552c..."} 
[2026-09-24 14:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2971d90012d18978007229b70007801552c..."} 
[2026-09-24 14:19:22] local.INFO: Processing buffer {"connection_id":191381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2971d90012d18978007229b70007801552c..."} 
[2026-09-24 14:19:22] local.INFO: Packet analysis {"connection_id":191381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:19:22] local.INFO: Extracted packet for processing {"connection_id":191381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:19:22] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301310208001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790239514000,"timestamp_ms":1790239514000,"timestamp_seconds":1790239514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2971d90"} 
[2026-09-24 14:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 14:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-24 14:19:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 14:19:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 14:19:22] local.WARNING: Large IO value detected {"io_id":95,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-09-24 14:19:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3532971864,"note":"Value kept but may cause issues"} 
[2026-09-24 14:19:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-24 14:19:22] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2508417025,"note":"Value kept but may cause issues"} 
[2026-09-24 14:19:22] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2607808632,"note":"Value kept but may cause issues"} 
[2026-09-24 14:19:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-24 14:19:22] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2147951259,"note":"Value kept but may cause issues"} 
[2026-09-24 14:19:22] local.WARNING: Large IO value detected {"io_id":46,"raw_value":4009807210,"note":"Value kept but may cause issues"} 
[2026-09-24 14:19:22] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-24 14:19:22] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,95,160,121,45,128,155,120,43,10,66,39,213,1,240,14,227,210,34,4,113,205,49,151,112,44,239,46,2,81,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-24 14:19:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8647286406994984960,"timestamp_seconds":8647286406994985.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 14:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301310208001,"66":12537,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301310208001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:19:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:19:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301310208001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":191381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:19:22] local.INFO: GPS data processed {"connection_id":191381,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:19:22] local.INFO: Acknowledgment sent {"connection_id":191381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:19:28] local.INFO: TCP Data received {"connection_id":191382,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:19:28] local.INFO: Processing buffer {"connection_id":191382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:19:28] local.INFO: IMEI packet received {"connection_id":191382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":191382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:19:33] local.INFO: TCP Data received {"connection_id":191382,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:19:33] local.INFO: Processing buffer {"connection_id":191382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:19:33] local.INFO: IMEI packet received {"connection_id":191382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":191382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:19:34] local.INFO: TCP Data received {"connection_id":191382,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:19:34] local.INFO: Processing buffer {"connection_id":191382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:19:34] local.INFO: Packet analysis {"connection_id":191382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:19:34] local.INFO: Extracted packet for processing {"connection_id":191382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:19:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301250304001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790239560000,"timestamp_ms":1790239560000,"timestamp_seconds":1790239560,"priority":1,"record_length":96,"hex_timestamp":"000001a0d297d140"} 
[2026-09-24 14:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301250304001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301250304001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:19:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:19:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301250304001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":191382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:19:34] local.INFO: GPS data processed {"connection_id":191382,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:19:34] local.INFO: Acknowledgment sent {"connection_id":191382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:19:45] local.INFO: TCP Data received {"connection_id":191180,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:19:45] local.INFO: Processing buffer {"connection_id":191180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:19:45] local.INFO: IMEI packet received {"connection_id":191180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":191180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:19:50] local.INFO: TCP Data received {"connection_id":191180,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:19:50] local.INFO: Processing buffer {"connection_id":191180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:19:50] local.INFO: IMEI packet received {"connection_id":191180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":191180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:19:51] local.INFO: TCP Data received {"connection_id":191180,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2976f98012d18978007229b70007801552b..."} 
[2026-09-24 14:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2976f98012d18978007229b70007801552b..."} 
[2026-09-24 14:19:51] local.INFO: Processing buffer {"connection_id":191180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2976f98012d18978007229b70007801552b..."} 
[2026-09-24 14:19:51] local.INFO: Packet analysis {"connection_id":191180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:19:51] local.INFO: Extracted packet for processing {"connection_id":191180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:19:51] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301315584001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790239535000,"timestamp_ms":1790239535000,"timestamp_seconds":1790239535,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2976f98"} 
[2026-09-24 14:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 14:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301315584001,"66":12558,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301315584001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:19:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:19:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301315584001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":191180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:19:51] local.INFO: GPS data processed {"connection_id":191180,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:19:51] local.INFO: Acknowledgment sent {"connection_id":191180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:20:06] local.INFO: TCP Data received {"connection_id":191382,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:20:06] local.INFO: Processing buffer {"connection_id":191382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:20:06] local.INFO: Packet analysis {"connection_id":191382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:20:06] local.INFO: Extracted packet for processing {"connection_id":191382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:20:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301250304001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790239560000,"timestamp_ms":1790239560000,"timestamp_seconds":1790239560,"priority":1,"record_length":96,"hex_timestamp":"000001a0d297d140"} 
[2026-09-24 14:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301250304001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301250304001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:20:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:20:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301250304001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":191382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:20:06] local.INFO: GPS data processed {"connection_id":191382,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:20:06] local.INFO: Acknowledgment sent {"connection_id":191382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:20:22] local.INFO: TCP Data received {"connection_id":191180,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d297c1a0012d18978007229b70007801552b..."} 
[2026-09-24 14:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d297c1a0012d18978007229b70007801552b..."} 
[2026-09-24 14:20:22] local.INFO: Processing buffer {"connection_id":191180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d297c1a0012d18978007229b70007801552b..."} 
[2026-09-24 14:20:22] local.INFO: Packet analysis {"connection_id":191180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:20:22] local.INFO: Extracted packet for processing {"connection_id":191180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:20:22] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301320960001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790239556000,"timestamp_ms":1790239556000,"timestamp_seconds":1790239556,"priority":1,"record_length":96,"hex_timestamp":"000001a0d297c1a0"} 
[2026-09-24 14:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 14:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:22] local.WARNING: Large IO value detected {"io_id":95,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3533013864,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:22] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":34817,"corrected_to":0} 
[2026-09-24 14:20:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249513707279129456,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:22] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2519169025,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:22] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2607808632,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-24 14:20:22] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2147951259,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:22] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:22] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:22] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:22] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,95,160,29,45,128,155,120,44,10,66,203,121,1,240,14,227,210,34,4,113,205,213,151,112,239,49,2,81,7,106,76,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":203,"original":34817,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-24 14:20:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8647286402700017664,"timestamp_seconds":8647286402700018.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 14:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301320960001,"66":12526,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301320960001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:20:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:20:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301320960001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":191180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:20:22] local.INFO: GPS data processed {"connection_id":191180,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:20:22] local.INFO: Acknowledgment sent {"connection_id":191180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:20:33] local.INFO: TCP Data received {"connection_id":194032,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:20:33] local.INFO: Processing buffer {"connection_id":194032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:20:33] local.INFO: IMEI packet received {"connection_id":194032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":194032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:20:38] local.INFO: TCP Data received {"connection_id":194032,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:20:38] local.INFO: Processing buffer {"connection_id":194032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:20:38] local.INFO: IMEI packet received {"connection_id":194032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":194032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:20:39] local.INFO: TCP Data received {"connection_id":194032,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:20:39] local.INFO: Processing buffer {"connection_id":194032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:20:39] local.INFO: Packet analysis {"connection_id":194032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:20:39] local.INFO: Extracted packet for processing {"connection_id":194032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:20:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301250304001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790239560000,"timestamp_ms":1790239560000,"timestamp_seconds":1790239560,"priority":1,"record_length":96,"hex_timestamp":"000001a0d297d140"} 
[2026-09-24 14:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301250304001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301250304001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:20:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:20:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301250304001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":194032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:20:39] local.INFO: GPS data processed {"connection_id":194032,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:20:39] local.INFO: Acknowledgment sent {"connection_id":194032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:20:44] local.INFO: TCP Data received {"connection_id":194032,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:20:44] local.INFO: Processing buffer {"connection_id":194032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:20:44] local.INFO: Packet analysis {"connection_id":194032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:20:44] local.INFO: Extracted packet for processing {"connection_id":194032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301250304001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790239560000,"timestamp_ms":1790239560000,"timestamp_seconds":1790239560,"priority":1,"record_length":96,"hex_timestamp":"000001a0d297d140"} 
[2026-09-24 14:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301250304001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301250304001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:20:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:20:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301250304001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":194032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:20:44] local.INFO: GPS data processed {"connection_id":194032,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:20:44] local.INFO: Acknowledgment sent {"connection_id":194032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:20:45] local.INFO: TCP Data received {"connection_id":192753,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:20:45] local.INFO: Processing buffer {"connection_id":192753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:20:45] local.INFO: IMEI packet received {"connection_id":192753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":192753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:20:46] local.INFO: TCP Data received {"connection_id":192753,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:20:46] local.INFO: Processing buffer {"connection_id":192753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:20:46] local.INFO: IMEI packet received {"connection_id":192753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":192753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:20:49] local.INFO: TCP Data received {"connection_id":194032,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:20:49] local.INFO: Processing buffer {"connection_id":194032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:20:49] local.INFO: Packet analysis {"connection_id":194032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:20:49] local.INFO: Extracted packet for processing {"connection_id":194032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:20:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301250304001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790239560000,"timestamp_ms":1790239560000,"timestamp_seconds":1790239560,"priority":1,"record_length":96,"hex_timestamp":"000001a0d297d140"} 
[2026-09-24 14:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":194032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":194032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":194032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301250304001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301250304001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:20:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:20:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301250304001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":194032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:20:49] local.INFO: GPS data processed {"connection_id":194032,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:20:49] local.INFO: Acknowledgment sent {"connection_id":194032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:20:50] local.INFO: TCP Data received {"connection_id":192753,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:20:50] local.INFO: Processing buffer {"connection_id":192753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:20:50] local.INFO: IMEI packet received {"connection_id":192753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":192753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:20:51] local.INFO: TCP Data received {"connection_id":192753,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29813a8012d18978007229b70007801552c..."} 
[2026-09-24 14:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29813a8012d18978007229b70007801552c..."} 
[2026-09-24 14:20:51] local.INFO: Processing buffer {"connection_id":192753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29813a8012d18978007229b70007801552c..."} 
[2026-09-24 14:20:51] local.INFO: Packet analysis {"connection_id":192753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d298"} 
[2026-09-24 14:20:51] local.INFO: Extracted packet for processing {"connection_id":192753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d298"} 
[2026-09-24 14:20:51] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301326336001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790239577000,"timestamp_ms":1790239577000,"timestamp_seconds":1790239577,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29813a8"} 
[2026-09-24 14:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 14:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301326336001,"66":12515,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301326336001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:20:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:20:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301326336001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":192753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:20:51] local.INFO: GPS data processed {"connection_id":192753,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:20:51] local.INFO: Acknowledgment sent {"connection_id":192753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:21:22] local.INFO: TCP Data received {"connection_id":192753,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29865b0012d18978007229b70007801552c..."} 
[2026-09-24 14:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29865b0012d18978007229b70007801552c..."} 
[2026-09-24 14:21:22] local.INFO: Processing buffer {"connection_id":192753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29865b0012d18978007229b70007801552c..."} 
[2026-09-24 14:21:22] local.INFO: Packet analysis {"connection_id":192753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d298"} 
[2026-09-24 14:21:22] local.INFO: Extracted packet for processing {"connection_id":192753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d298"} 
[2026-09-24 14:21:22] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301331712001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790239598000,"timestamp_ms":1790239598000,"timestamp_seconds":1790239598,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29865b0"} 
[2026-09-24 14:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-24 14:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301331712001,"66":12548,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301331712001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:21:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:21:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301331712001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":192753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:21:22] local.INFO: GPS data processed {"connection_id":192753,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:21:22] local.INFO: Acknowledgment sent {"connection_id":192753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:21:28] local.INFO: TCP Data received {"connection_id":194034,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:21:28] local.INFO: Processing buffer {"connection_id":194034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:21:28] local.INFO: IMEI packet received {"connection_id":194034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":194034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:21:33] local.INFO: TCP Data received {"connection_id":194034,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:21:33] local.INFO: Processing buffer {"connection_id":194034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:21:33] local.INFO: IMEI packet received {"connection_id":194034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":194034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:21:34] local.INFO: TCP Data received {"connection_id":194034,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:21:34] local.INFO: Processing buffer {"connection_id":194034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d297d140012d34c14006aa4940000900f52e..."} 
[2026-09-24 14:21:34] local.INFO: Packet analysis {"connection_id":194034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:21:34] local.INFO: Extracted packet for processing {"connection_id":194034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d297"} 
[2026-09-24 14:21:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301250304001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790239560000,"timestamp_ms":1790239560000,"timestamp_seconds":1790239560,"priority":1,"record_length":96,"hex_timestamp":"000001a0d297d140"} 
[2026-09-24 14:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301250304001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301250304001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:21:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:21:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301250304001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":194034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:21:34] local.INFO: GPS data processed {"connection_id":194034,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:21:34] local.INFO: Acknowledgment sent {"connection_id":194034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:21:49] local.INFO: TCP Data received {"connection_id":191181,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:21:49] local.INFO: Processing buffer {"connection_id":191181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:21:49] local.INFO: IMEI packet received {"connection_id":191181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":191181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:21:50] local.INFO: TCP Data received {"connection_id":191181,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:21:50] local.INFO: Processing buffer {"connection_id":191181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:21:50] local.INFO: IMEI packet received {"connection_id":191181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":191181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:21:55] local.INFO: TCP Data received {"connection_id":191181,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:21:55] local.INFO: Processing buffer {"connection_id":191181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:21:55] local.INFO: IMEI packet received {"connection_id":191181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":191181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:21:55] local.INFO: TCP Data received {"connection_id":191181,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29bec08012d18978007229b70007801552d..."} 
[2026-09-24 14:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29bec08012d18978007229b70007801552d..."} 
[2026-09-24 14:21:55] local.INFO: Processing buffer {"connection_id":191181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29bec08012d18978007229b70007801552d..."} 
[2026-09-24 14:21:55] local.INFO: Packet analysis {"connection_id":191181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d29b"} 
[2026-09-24 14:21:55] local.INFO: Extracted packet for processing {"connection_id":191181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d29b"} 
[2026-09-24 14:21:55] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301390848001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790239829000,"timestamp_ms":1790239829000,"timestamp_seconds":1790239829,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29bec08"} 
[2026-09-24 14:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 14:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301390848001,"66":12548,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301390848001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:21:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:21:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301390848001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":191181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:21:56] local.INFO: GPS data processed {"connection_id":191181,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:21:56] local.INFO: Acknowledgment sent {"connection_id":191181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:22:06] local.INFO: TCP Data received {"connection_id":194034,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:22:06] local.INFO: Processing buffer {"connection_id":194034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:22:06] local.INFO: Packet analysis {"connection_id":194034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:22:06] local.INFO: Extracted packet for processing {"connection_id":194034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301327360001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790239861000,"timestamp_ms":1790239861000,"timestamp_seconds":1790239861,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29c6908"} 
[2026-09-24 14:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301327360001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301327360001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:22:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301327360001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":194034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:22:06] local.INFO: GPS data processed {"connection_id":194034,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:22:06] local.INFO: Acknowledgment sent {"connection_id":194034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:22:27] local.INFO: TCP Data received {"connection_id":191181,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29c3e10012d18978007229b70007801552e..."} 
[2026-09-24 14:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29c3e10012d18978007229b70007801552e..."} 
[2026-09-24 14:22:27] local.INFO: Processing buffer {"connection_id":191181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29c3e10012d18978007229b70007801552e..."} 
[2026-09-24 14:22:27] local.INFO: Packet analysis {"connection_id":191181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:22:27] local.INFO: Extracted packet for processing {"connection_id":191181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:22:27] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301396224001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790239850000,"timestamp_ms":1790239850000,"timestamp_seconds":1790239850,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29c3e10"} 
[2026-09-24 14:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 14:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-24 14:22:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 14:22:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 14:22:27] local.WARNING: Large IO value detected {"io_id":95,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-09-24 14:22:27] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3533307864,"note":"Value kept but may cause issues"} 
[2026-09-24 14:22:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-09-24 14:22:27] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2594433025,"note":"Value kept but may cause issues"} 
[2026-09-24 14:22:27] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2607808632,"note":"Value kept but may cause issues"} 
[2026-09-24 14:22:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-24 14:22:27] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2147951259,"note":"Value kept but may cause issues"} 
[2026-09-24 14:22:27] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579370,"note":"Value kept but may cause issues"} 
[2026-09-24 14:22:27] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-24 14:22:27] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,95,160,154,45,128,155,120,43,10,66,71,245,1,240,14,227,210,34,4,113,205,81,151,112,44,239,48,2,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-24 14:22:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8647286411289952256,"timestamp_seconds":8647286411289952.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 14:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301396224001,"66":12526,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301396224001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:22:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:22:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301396224001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":191181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:22:27] local.INFO: GPS data processed {"connection_id":191181,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:22:27] local.INFO: Acknowledgment sent {"connection_id":191181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:22:28] local.INFO: TCP Data received {"connection_id":191182,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:22:28] local.INFO: Processing buffer {"connection_id":191182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:22:28] local.INFO: IMEI packet received {"connection_id":191182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":191182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:22:33] local.INFO: TCP Data received {"connection_id":191182,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:22:33] local.INFO: Processing buffer {"connection_id":191182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:22:33] local.INFO: IMEI packet received {"connection_id":191182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":191182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:22:34] local.INFO: TCP Data received {"connection_id":191182,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:22:34] local.INFO: Processing buffer {"connection_id":191182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:22:34] local.INFO: Packet analysis {"connection_id":191182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:22:34] local.INFO: Extracted packet for processing {"connection_id":191182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:22:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301327360001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790239861000,"timestamp_ms":1790239861000,"timestamp_seconds":1790239861,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29c6908"} 
[2026-09-24 14:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301327360001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301327360001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:22:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:22:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301327360001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":191182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:22:34] local.INFO: GPS data processed {"connection_id":191182,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:22:34] local.INFO: Acknowledgment sent {"connection_id":191182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:22:45] local.INFO: TCP Data received {"connection_id":192755,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:22:45] local.INFO: Processing buffer {"connection_id":192755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:22:45] local.INFO: IMEI packet received {"connection_id":192755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":192755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:22:50] local.INFO: TCP Data received {"connection_id":192755,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:22:50] local.INFO: Processing buffer {"connection_id":192755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:22:50] local.INFO: IMEI packet received {"connection_id":192755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":192755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:22:51] local.INFO: TCP Data received {"connection_id":192755,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29c9018012d18978007229b70007801552e..."} 
[2026-09-24 14:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29c9018012d18978007229b70007801552e..."} 
[2026-09-24 14:22:51] local.INFO: Processing buffer {"connection_id":192755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29c9018012d18978007229b70007801552e..."} 
[2026-09-24 14:22:51] local.INFO: Packet analysis {"connection_id":192755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:22:51] local.INFO: Extracted packet for processing {"connection_id":192755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:22:51] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301401600001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790239871000,"timestamp_ms":1790239871000,"timestamp_seconds":1790239871,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29c9018"} 
[2026-09-24 14:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 14:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301401600001,"66":12526,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301401600001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:22:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:22:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301401600001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":192755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:22:51] local.INFO: GPS data processed {"connection_id":192755,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:22:51] local.INFO: Acknowledgment sent {"connection_id":192755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:23:06] local.INFO: TCP Data received {"connection_id":191182,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:23:06] local.INFO: Processing buffer {"connection_id":191182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:23:06] local.INFO: Packet analysis {"connection_id":191182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:23:06] local.INFO: Extracted packet for processing {"connection_id":191182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:23:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301327360001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790239861000,"timestamp_ms":1790239861000,"timestamp_seconds":1790239861,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29c6908"} 
[2026-09-24 14:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301327360001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301327360001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:23:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:23:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301327360001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":191182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:23:06] local.INFO: GPS data processed {"connection_id":191182,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:23:06] local.INFO: Acknowledgment sent {"connection_id":191182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:23:22] local.INFO: TCP Data received {"connection_id":192755,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29ce220012d18978007229b70007801552c..."} 
[2026-09-24 14:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29ce220012d18978007229b70007801552c..."} 
[2026-09-24 14:23:22] local.INFO: Processing buffer {"connection_id":192755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29ce220012d18978007229b70007801552c..."} 
[2026-09-24 14:23:22] local.INFO: Packet analysis {"connection_id":192755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:23:22] local.INFO: Extracted packet for processing {"connection_id":192755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:23:22] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:23: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-09-24 14:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301406976001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790239892000,"timestamp_ms":1790239892000,"timestamp_seconds":1790239892,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29ce220"} 
[2026-09-24 14:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 14:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:23: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-09-24 14:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301406976001,"66":12548,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301406976001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:23:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:23:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301406976001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":192755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:23:22] local.INFO: GPS data processed {"connection_id":192755,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:23:22] local.INFO: Acknowledgment sent {"connection_id":192755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:23:33] local.INFO: TCP Data received {"connection_id":191383,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:23:33] local.INFO: Processing buffer {"connection_id":191383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:23:33] local.INFO: IMEI packet received {"connection_id":191383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":191383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:23:39] local.INFO: TCP Data received {"connection_id":191383,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:23:39] local.INFO: Processing buffer {"connection_id":191383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:23:39] local.INFO: IMEI packet received {"connection_id":191383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":191383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:23:41] local.INFO: TCP Data received {"connection_id":191383,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:23:41] local.INFO: Processing buffer {"connection_id":191383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:23:41] local.INFO: Packet analysis {"connection_id":191383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:23:41] local.INFO: Extracted packet for processing {"connection_id":191383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:23:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301327360001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790239861000,"timestamp_ms":1790239861000,"timestamp_seconds":1790239861,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29c6908"} 
[2026-09-24 14:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:23:41] 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-09-24 14:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301327360001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301327360001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:23:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:23:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301327360001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":191383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:23:41] local.INFO: GPS data processed {"connection_id":191383,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:23:41] local.INFO: Acknowledgment sent {"connection_id":191383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:23:44] local.INFO: TCP Data received {"connection_id":191383,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:23:44] local.INFO: Processing buffer {"connection_id":191383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:23:44] local.INFO: Packet analysis {"connection_id":191383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:23:44] local.INFO: Extracted packet for processing {"connection_id":191383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:23:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301327360001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790239861000,"timestamp_ms":1790239861000,"timestamp_seconds":1790239861,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29c6908"} 
[2026-09-24 14:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:23:44] 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-09-24 14:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301327360001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301327360001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:23:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:23:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301327360001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":191383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:23:44] local.INFO: GPS data processed {"connection_id":191383,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:23:44] local.INFO: Acknowledgment sent {"connection_id":191383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:23:45] local.INFO: TCP Data received {"connection_id":191183,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:23:45] local.INFO: Processing buffer {"connection_id":191183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:23:45] local.INFO: IMEI packet received {"connection_id":191183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":191183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:23:50] local.INFO: TCP Data received {"connection_id":191183,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:23:50] local.INFO: Processing buffer {"connection_id":191183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:23:50] local.INFO: IMEI packet received {"connection_id":191183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":191183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:23:51] local.INFO: TCP Data received {"connection_id":191183,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29d3428012d18978007229b70007801552b..."} 
[2026-09-24 14:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29d3428012d18978007229b70007801552b..."} 
[2026-09-24 14:23:51] local.INFO: Processing buffer {"connection_id":191183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29d3428012d18978007229b70007801552b..."} 
[2026-09-24 14:23:51] local.INFO: Packet analysis {"connection_id":191183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d29d"} 
[2026-09-24 14:23:51] local.INFO: Extracted packet for processing {"connection_id":191183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d29d"} 
[2026-09-24 14:23:51] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301412352001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790239913000,"timestamp_ms":1790239913000,"timestamp_seconds":1790239913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29d3428"} 
[2026-09-24 14:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 14:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:51] local.WARNING: Large IO value detected {"io_id":95,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3533370864,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:51] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2610561025,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:51] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2607808632,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-24 14:23:51] local.WARNING: Large IO value detected {"io_id":71,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:51] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2147951259,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:51] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931242,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:51] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-24 14:23:51] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,95,160,144,45,128,155,120,46,10,66,62,236,1,240,4,227,210,34,113,205,71,151,112,239,48,2,81,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-24 14:23:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8647286406994984960,"timestamp_seconds":8647286406994985.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 14:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301412352001,"66":12504,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301412352001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:23:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:23:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301412352001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":191183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:23:51] local.INFO: GPS data processed {"connection_id":191183,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:23:51] local.INFO: Acknowledgment sent {"connection_id":191183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:24:22] local.INFO: TCP Data received {"connection_id":192756,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:24:22] local.INFO: Processing buffer {"connection_id":192756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:24:22] local.INFO: IMEI packet received {"connection_id":192756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 14:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":192756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:24:22] local.INFO: TCP Data received {"connection_id":191183,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29d8630012d18978007229b70007801552c..."} 
[2026-09-24 14:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29d8630012d18978007229b70007801552c..."} 
[2026-09-24 14:24:22] local.INFO: Processing buffer {"connection_id":191183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29d8630012d18978007229b70007801552c..."} 
[2026-09-24 14:24:22] local.INFO: Packet analysis {"connection_id":191183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d29d"} 
[2026-09-24 14:24:22] local.INFO: Extracted packet for processing {"connection_id":191183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d29d"} 
[2026-09-24 14:24:22] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301417728001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790239934000,"timestamp_ms":1790239934000,"timestamp_seconds":1790239934,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29d8630"} 
[2026-09-24 14:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 14:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301417728001,"66":12461,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301417728001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:24:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:24:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301417728001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":191183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:24:22] local.INFO: GPS data processed {"connection_id":191183,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:24:22] local.INFO: Acknowledgment sent {"connection_id":191183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:24:28] local.INFO: TCP Data received {"connection_id":191184,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:24:28] local.INFO: Processing buffer {"connection_id":191184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:24:28] local.INFO: IMEI packet received {"connection_id":191184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":191184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:24:33] local.INFO: TCP Data received {"connection_id":191184,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:24:33] local.INFO: Processing buffer {"connection_id":191184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:24:33] local.INFO: IMEI packet received {"connection_id":191184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":191184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:24:34] local.INFO: TCP Data received {"connection_id":191184,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:24:34] local.INFO: Processing buffer {"connection_id":191184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:24:34] local.INFO: Packet analysis {"connection_id":191184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:24:34] local.INFO: Extracted packet for processing {"connection_id":191184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:24:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301327360001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790239861000,"timestamp_ms":1790239861000,"timestamp_seconds":1790239861,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29c6908"} 
[2026-09-24 14:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301327360001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301327360001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:24:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:24:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301327360001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":191184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:24:34] local.INFO: GPS data processed {"connection_id":191184,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:24:34] local.INFO: Acknowledgment sent {"connection_id":191184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:24:45] local.INFO: TCP Data received {"connection_id":191185,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:24:45] local.INFO: Processing buffer {"connection_id":191185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:24:45] local.INFO: IMEI packet received {"connection_id":191185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":191185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:24:50] local.INFO: TCP Data received {"connection_id":191185,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:24:50] local.INFO: Processing buffer {"connection_id":191185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:24:50] local.INFO: IMEI packet received {"connection_id":191185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":191185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:24:51] local.INFO: TCP Data received {"connection_id":191185,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29dd838012d18978007229b70007801552c..."} 
[2026-09-24 14:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29dd838012d18978007229b70007801552c..."} 
[2026-09-24 14:24:51] local.INFO: Processing buffer {"connection_id":191185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29dd838012d18978007229b70007801552c..."} 
[2026-09-24 14:24:51] local.INFO: Packet analysis {"connection_id":191185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d29d"} 
[2026-09-24 14:24:51] local.INFO: Extracted packet for processing {"connection_id":191185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d29d"} 
[2026-09-24 14:24:51] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301423104001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790239955000,"timestamp_ms":1790239955000,"timestamp_seconds":1790239955,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29dd838"} 
[2026-09-24 14:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 14:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301423104001,"66":12537,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301423104001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:24:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:24:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301423104001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":191185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:24:51] local.INFO: GPS data processed {"connection_id":191185,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:24:51] local.INFO: Acknowledgment sent {"connection_id":191185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:25:05] local.INFO: TCP Data received {"connection_id":191184,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:25:05] local.INFO: Processing buffer {"connection_id":191184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:25:05] local.INFO: Packet analysis {"connection_id":191184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:25:05] local.INFO: Extracted packet for processing {"connection_id":191184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:25:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301327360001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790239861000,"timestamp_ms":1790239861000,"timestamp_seconds":1790239861,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29c6908"} 
[2026-09-24 14:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:25:05] 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-09-24 14: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-09-24 14:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301327360001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301327360001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:25:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:25:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301327360001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":191184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:25:05] local.INFO: GPS data processed {"connection_id":191184,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:25:05] local.INFO: Acknowledgment sent {"connection_id":191184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:25:08] local.INFO: TCP Data received {"connection_id":191384,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:25:08] local.INFO: Processing buffer {"connection_id":191384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:25:08] local.INFO: IMEI packet received {"connection_id":191384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 14:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":191384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:25:22] local.INFO: TCP Data received {"connection_id":191185,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29e2a40012d18978007229b70007801552d..."} 
[2026-09-24 14:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29e2a40012d18978007229b70007801552d..."} 
[2026-09-24 14:25:22] local.INFO: Processing buffer {"connection_id":191185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29e2a40012d18978007229b70007801552d..."} 
[2026-09-24 14:25:22] local.INFO: Packet analysis {"connection_id":191185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d29e"} 
[2026-09-24 14:25:22] local.INFO: Extracted packet for processing {"connection_id":191185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d29e"} 
[2026-09-24 14:25:22] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301428480001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790239976000,"timestamp_ms":1790239976000,"timestamp_seconds":1790239976,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29e2a40"} 
[2026-09-24 14:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 14:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301428480001,"66":12178,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301428480001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:25:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:25:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301428480001,"power":12178,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":191185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:25:22] local.INFO: GPS data processed {"connection_id":191185,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:25:22] local.INFO: Acknowledgment sent {"connection_id":191185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:25:28] local.INFO: TCP Data received {"connection_id":191186,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:25:28] local.INFO: Processing buffer {"connection_id":191186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:25:28] local.INFO: IMEI packet received {"connection_id":191186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":191186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:25:34] local.INFO: TCP Data received {"connection_id":191186,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:25:34] local.INFO: Processing buffer {"connection_id":191186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:25:34] local.INFO: IMEI packet received {"connection_id":191186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":191186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:25:35] local.INFO: TCP Data received {"connection_id":191186,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:25:35] local.INFO: Processing buffer {"connection_id":191186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:25:35] local.INFO: Packet analysis {"connection_id":191186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:25:35] local.INFO: Extracted packet for processing {"connection_id":191186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:25:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301327360001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790239861000,"timestamp_ms":1790239861000,"timestamp_seconds":1790239861,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29c6908"} 
[2026-09-24 14:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:25:35] 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-09-24 14: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-09-24 14:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301327360001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301327360001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:25:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:25:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301327360001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":191186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:25:35] local.INFO: GPS data processed {"connection_id":191186,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:25:35] local.INFO: Acknowledgment sent {"connection_id":191186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:25:45] local.INFO: TCP Data received {"connection_id":194036,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:25:45] local.INFO: Processing buffer {"connection_id":194036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:25:45] local.INFO: IMEI packet received {"connection_id":194036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":194036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:25:50] local.INFO: TCP Data received {"connection_id":194036,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:25:50] local.INFO: Processing buffer {"connection_id":194036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:25:50] local.INFO: IMEI packet received {"connection_id":194036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":194036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:25:51] local.INFO: TCP Data received {"connection_id":194036,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29e7c48012d18978007229b70007801552e..."} 
[2026-09-24 14:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29e7c48012d18978007229b70007801552e..."} 
[2026-09-24 14:25:51] local.INFO: Processing buffer {"connection_id":194036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29e7c48012d18978007229b70007801552e..."} 
[2026-09-24 14:25:51] local.INFO: Packet analysis {"connection_id":194036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d29e"} 
[2026-09-24 14:25:51] local.INFO: Extracted packet for processing {"connection_id":194036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d29e"} 
[2026-09-24 14:25:51] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708528,"longitude_deg":75.6586368,"latitude_deg":11.9708528,"altitude":120,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d189780","hex_latitude":"07229b70","is_valid_coordinates":true} 
[2026-09-24 14:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301433856001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905013344927744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790239997000,"timestamp_ms":1790239997000,"timestamp_seconds":1790239997,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29e7c48"} 
[2026-09-24 14:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-24 14:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301433856001,"66":12526,"105":206,"83":41984,"24":0,"16":22905013344927744,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301433856001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:25:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:25:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905013344927744,"km_value":22905013344927.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301433856001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":194036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:25:51] local.INFO: GPS data processed {"connection_id":194036,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:25:51] local.INFO: Acknowledgment sent {"connection_id":194036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:26:06] local.INFO: TCP Data received {"connection_id":191186,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:26:06] local.INFO: Processing buffer {"connection_id":191186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:26:06] local.INFO: Packet analysis {"connection_id":191186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:26:06] local.INFO: Extracted packet for processing {"connection_id":191186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:26:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301327360001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790239861000,"timestamp_ms":1790239861000,"timestamp_seconds":1790239861,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29c6908"} 
[2026-09-24 14:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301327360001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301327360001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:26:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:26:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301327360001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":191186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:26:06] local.INFO: GPS data processed {"connection_id":191186,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:26:06] local.INFO: Acknowledgment sent {"connection_id":191186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:26:23] local.INFO: TCP Data received {"connection_id":194036,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29ece50012d18988007229ef8006c01552b..."} 
[2026-09-24 14:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29ece50012d18988007229ef8006c01552b..."} 
[2026-09-24 14:26:23] local.INFO: Processing buffer {"connection_id":194036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29ece50012d18988007229ef8006c01552b..."} 
[2026-09-24 14:26:23] local.INFO: Packet analysis {"connection_id":194036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d29e"} 
[2026-09-24 14:26:23] local.INFO: Extracted packet for processing {"connection_id":194036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d29e"} 
[2026-09-24 14:26:23] local.INFO: GPS Element Parsed {"raw_longitude":756586624,"raw_latitude":119709432,"longitude_deg":75.6586624,"latitude_deg":11.9709432,"altitude":108,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d189880","hex_latitude":"07229ef8","is_valid_coordinates":true} 
[2026-09-24 14:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301439232001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905056294600704,"note":"Value kept but may cause issues"} 
[2026-09-24 14:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772025746527318016,"note":"Value kept but may cause issues"} 
[2026-09-24 14:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790240018000,"timestamp_ms":1790240018000,"timestamp_seconds":1790240018,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29ece50"} 
[2026-09-24 14:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 14:26:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301439232001,"66":12526,"105":206,"83":41984,"24":0,"16":22905056294600704,"45":1772025746527318016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301439232001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:26:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:26:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905056294600704,"km_value":22905056294600.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772025746527318016,"description":"Unknown IO ID 45"} 
[2026-09-24 14:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301439232001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772025746527318016}} 
[2026-09-24 14:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":194036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:26:23] local.INFO: GPS data processed {"connection_id":194036,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:26:23] local.INFO: Acknowledgment sent {"connection_id":194036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:26:28] local.INFO: TCP Data received {"connection_id":192758,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:26:28] local.INFO: Processing buffer {"connection_id":192758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:26:28] local.INFO: IMEI packet received {"connection_id":192758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":192758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:26:33] local.INFO: TCP Data received {"connection_id":192758,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:26:33] local.INFO: Processing buffer {"connection_id":192758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:26:33] local.INFO: IMEI packet received {"connection_id":192758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":192758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:26:34] local.INFO: TCP Data received {"connection_id":192758,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:26:34] local.INFO: Processing buffer {"connection_id":192758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29c6908012d34c14006aa4940000900f52c..."} 
[2026-09-24 14:26:34] local.INFO: Packet analysis {"connection_id":192758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:26:34] local.INFO: Extracted packet for processing {"connection_id":192758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d29c"} 
[2026-09-24 14:26:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301327360001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790239861000,"timestamp_ms":1790239861000,"timestamp_seconds":1790239861,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29c6908"} 
[2026-09-24 14:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301327360001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301327360001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:26:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:26:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301327360001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":192758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:26:34] local.INFO: GPS data processed {"connection_id":192758,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:26:34] local.INFO: Acknowledgment sent {"connection_id":192758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:26:45] local.INFO: TCP Data received {"connection_id":191188,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:26:45] local.INFO: Processing buffer {"connection_id":191188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:26:45] local.INFO: IMEI packet received {"connection_id":191188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":191188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:26:50] local.INFO: TCP Data received {"connection_id":191188,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:26:50] local.INFO: Processing buffer {"connection_id":191188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:26:50] local.INFO: IMEI packet received {"connection_id":191188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":191188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:26:51] local.INFO: TCP Data received {"connection_id":191188,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29f2058012d18988007229ef8006c01552c..."} 
[2026-09-24 14:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29f2058012d18988007229ef8006c01552c..."} 
[2026-09-24 14:26:51] local.INFO: Processing buffer {"connection_id":191188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29f2058012d18988007229ef8006c01552c..."} 
[2026-09-24 14:26:51] local.INFO: Packet analysis {"connection_id":191188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d29f"} 
[2026-09-24 14:26:51] local.INFO: Extracted packet for processing {"connection_id":191188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d29f"} 
[2026-09-24 14:26:51] local.INFO: GPS Element Parsed {"raw_longitude":756586624,"raw_latitude":119709432,"longitude_deg":75.6586624,"latitude_deg":11.9709432,"altitude":108,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d189880","hex_latitude":"07229ef8","is_valid_coordinates":true} 
[2026-09-24 14:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301444608001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905056294600704,"note":"Value kept but may cause issues"} 
[2026-09-24 14:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772307221504260096,"note":"Value kept but may cause issues"} 
[2026-09-24 14:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790240039000,"timestamp_ms":1790240039000,"timestamp_seconds":1790240039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29f2058"} 
[2026-09-24 14:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 14:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301444608001,"66":12461,"105":206,"83":41984,"24":0,"16":22905056294600704,"45":1772307221504260096},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301444608001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:26:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:26:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905056294600704,"km_value":22905056294600.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772307221504260096,"description":"Unknown IO ID 45"} 
[2026-09-24 14:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301444608001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772307221504260096}} 
[2026-09-24 14:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":191188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:26:51] local.INFO: GPS data processed {"connection_id":191188,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:26:51] local.INFO: Acknowledgment sent {"connection_id":191188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:27:05] local.INFO: TCP Data received {"connection_id":192758,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:27:05] local.INFO: Processing buffer {"connection_id":192758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:27:05] local.INFO: Packet analysis {"connection_id":192758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:27:05] local.INFO: Extracted packet for processing {"connection_id":192758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:27:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301404416001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790240162000,"timestamp_ms":1790240162000,"timestamp_seconds":1790240162,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a100d0"} 
[2026-09-24 14:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301404416001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301404416001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:27:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:27:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301404416001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":192758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:27:05] local.INFO: GPS data processed {"connection_id":192758,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:27:05] local.INFO: Acknowledgment sent {"connection_id":192758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:27:22] local.INFO: TCP Data received {"connection_id":191188,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29f7260012d18988007229ef8006c01552c..."} 
[2026-09-24 14:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29f7260012d18988007229ef8006c01552c..."} 
[2026-09-24 14:27:22] local.INFO: Processing buffer {"connection_id":191188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29f7260012d18988007229ef8006c01552c..."} 
[2026-09-24 14:27:22] local.INFO: Packet analysis {"connection_id":191188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d29f"} 
[2026-09-24 14:27:22] local.INFO: Extracted packet for processing {"connection_id":191188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d29f"} 
[2026-09-24 14:27:22] local.INFO: GPS Element Parsed {"raw_longitude":756586624,"raw_latitude":119709432,"longitude_deg":75.6586624,"latitude_deg":11.9709432,"altitude":108,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d189880","hex_latitude":"07229ef8","is_valid_coordinates":true} 
[2026-09-24 14:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301449984001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905056294600704,"note":"Value kept but may cause issues"} 
[2026-09-24 14:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772307221504260096,"note":"Value kept but may cause issues"} 
[2026-09-24 14:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790240060000,"timestamp_ms":1790240060000,"timestamp_seconds":1790240060,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29f7260"} 
[2026-09-24 14:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 14:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301449984001,"66":12504,"105":206,"83":41984,"24":0,"16":22905056294600704,"45":1772307221504260096},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301449984001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:27:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:27:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905056294600704,"km_value":22905056294600.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772307221504260096,"description":"Unknown IO ID 45"} 
[2026-09-24 14:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301449984001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772307221504260096}} 
[2026-09-24 14:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":191188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:27:22] local.INFO: GPS data processed {"connection_id":191188,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:27:22] local.INFO: Acknowledgment sent {"connection_id":191188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:27:33] local.INFO: TCP Data received {"connection_id":192760,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:27:33] local.INFO: Processing buffer {"connection_id":192760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:27:33] local.INFO: IMEI packet received {"connection_id":192760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":192760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:27:38] local.INFO: TCP Data received {"connection_id":192760,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:27:38] local.INFO: Processing buffer {"connection_id":192760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:27:38] local.INFO: IMEI packet received {"connection_id":192760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":192760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:27:40] local.INFO: TCP Data received {"connection_id":192760,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:27:40] local.INFO: Processing buffer {"connection_id":192760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:27:40] local.INFO: Packet analysis {"connection_id":192760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:27:40] local.INFO: Extracted packet for processing {"connection_id":192760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:27:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301404416001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790240162000,"timestamp_ms":1790240162000,"timestamp_seconds":1790240162,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a100d0"} 
[2026-09-24 14:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301404416001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301404416001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:27:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:27:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301404416001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":192760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:27:40] local.INFO: GPS data processed {"connection_id":192760,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:27:40] local.INFO: Acknowledgment sent {"connection_id":192760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:27:46] local.INFO: TCP Data received {"connection_id":192761,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:27:46] local.INFO: Processing buffer {"connection_id":192761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:27:46] local.INFO: IMEI packet received {"connection_id":192761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":192761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:27:50] local.INFO: TCP Data received {"connection_id":192761,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:27:50] local.INFO: Processing buffer {"connection_id":192761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:27:50] local.INFO: IMEI packet received {"connection_id":192761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":192761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:27:55] local.INFO: TCP Data received {"connection_id":192761,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:27:55] local.INFO: Processing buffer {"connection_id":192761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:27:55] local.INFO: IMEI packet received {"connection_id":192761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":192761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:27:55] local.INFO: TCP Data received {"connection_id":192761,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d29fc468012d18988007229ef8006c01552d..."} 
[2026-09-24 14:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d29fc468012d18988007229ef8006c01552d..."} 
[2026-09-24 14:27:55] local.INFO: Processing buffer {"connection_id":192761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d29fc468012d18988007229ef8006c01552d..."} 
[2026-09-24 14:27:55] local.INFO: Packet analysis {"connection_id":192761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d29f"} 
[2026-09-24 14:27:55] local.INFO: Extracted packet for processing {"connection_id":192761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d29f"} 
[2026-09-24 14:27:55] local.INFO: GPS Element Parsed {"raw_longitude":756586624,"raw_latitude":119709432,"longitude_deg":75.6586624,"latitude_deg":11.9709432,"altitude":108,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d189880","hex_latitude":"07229ef8","is_valid_coordinates":true} 
[2026-09-24 14:27: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-09-24 14:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301455360001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905056294600704,"note":"Value kept but may cause issues"} 
[2026-09-24 14:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772307221504260096,"note":"Value kept but may cause issues"} 
[2026-09-24 14:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790240081000,"timestamp_ms":1790240081000,"timestamp_seconds":1790240081,"priority":1,"record_length":96,"hex_timestamp":"000001a0d29fc468"} 
[2026-09-24 14:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 14:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:27: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-09-24 14:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301455360001,"66":12504,"105":206,"83":41984,"24":0,"16":22905056294600704,"45":1772307221504260096},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301455360001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:27:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:27:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905056294600704,"km_value":22905056294600.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772307221504260096,"description":"Unknown IO ID 45"} 
[2026-09-24 14:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301455360001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772307221504260096}} 
[2026-09-24 14:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":192761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:27:55] local.INFO: GPS data processed {"connection_id":192761,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:27:55] local.INFO: Acknowledgment sent {"connection_id":192761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:28:00] local.INFO: TCP Data received {"connection_id":192761,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a01670012d18988007229ef8006c01552b..."} 
[2026-09-24 14:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a01670012d18988007229ef8006c01552b..."} 
[2026-09-24 14:28:00] local.INFO: Processing buffer {"connection_id":192761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a01670012d18988007229ef8006c01552b..."} 
[2026-09-24 14:28:00] local.INFO: Packet analysis {"connection_id":192761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a0"} 
[2026-09-24 14:28:00] local.INFO: Extracted packet for processing {"connection_id":192761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a0"} 
[2026-09-24 14:28:00] local.INFO: GPS Element Parsed {"raw_longitude":756586624,"raw_latitude":119709432,"longitude_deg":75.6586624,"latitude_deg":11.9709432,"altitude":108,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d189880","hex_latitude":"07229ef8","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301460736001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905056294600704,"note":"Value kept but may cause issues"} 
[2026-09-24 14:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772307221504260096,"note":"Value kept but may cause issues"} 
[2026-09-24 14:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790240102000,"timestamp_ms":1790240102000,"timestamp_seconds":1790240102,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a01670"} 
[2026-09-24 14:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 14:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301460736001,"66":12504,"105":206,"83":41984,"24":0,"16":22905056294600704,"45":1772307221504260096},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301460736001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:28:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:28:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905056294600704,"km_value":22905056294600.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772307221504260096,"description":"Unknown IO ID 45"} 
[2026-09-24 14:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301460736001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772307221504260096}} 
[2026-09-24 14:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":192761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:28:00] local.INFO: GPS data processed {"connection_id":192761,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:28:00] local.INFO: Acknowledgment sent {"connection_id":192761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:28:11] local.INFO: TCP Data received {"connection_id":192760,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:28:11] local.INFO: Processing buffer {"connection_id":192760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:28:11] local.INFO: Packet analysis {"connection_id":192760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:28:11] local.INFO: Extracted packet for processing {"connection_id":192760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:28:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301404416001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790240162000,"timestamp_ms":1790240162000,"timestamp_seconds":1790240162,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a100d0"} 
[2026-09-24 14:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301404416001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301404416001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:28:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:28:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301404416001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":192760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:28:11] local.INFO: GPS data processed {"connection_id":192760,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:28:11] local.INFO: Acknowledgment sent {"connection_id":192760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:28:28] local.INFO: TCP Data received {"connection_id":191189,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:28:28] local.INFO: Processing buffer {"connection_id":191189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:28:28] local.INFO: IMEI packet received {"connection_id":191189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":191189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:28:33] local.INFO: TCP Data received {"connection_id":191189,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:28:33] local.INFO: Processing buffer {"connection_id":191189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:28:33] local.INFO: IMEI packet received {"connection_id":191189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":191189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:28:34] local.INFO: TCP Data received {"connection_id":191189,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:28:34] local.INFO: Processing buffer {"connection_id":191189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:28:34] local.INFO: Packet analysis {"connection_id":191189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:28:34] local.INFO: Extracted packet for processing {"connection_id":191189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:28:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301404416001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790240162000,"timestamp_ms":1790240162000,"timestamp_seconds":1790240162,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a100d0"} 
[2026-09-24 14:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301404416001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301404416001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:28:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:28:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301404416001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":191189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:28:34] local.INFO: GPS data processed {"connection_id":191189,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:28:34] local.INFO: Acknowledgment sent {"connection_id":191189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:28:45] local.INFO: TCP Data received {"connection_id":191190,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:28:45] local.INFO: Processing buffer {"connection_id":191190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:28:45] local.INFO: IMEI packet received {"connection_id":191190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":191190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:28:49] local.INFO: TCP Data received {"connection_id":191190,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:28:49] local.INFO: Processing buffer {"connection_id":191190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:28:49] local.INFO: IMEI packet received {"connection_id":191190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":191190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:28:50] local.INFO: TCP Data received {"connection_id":191190,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a06878012d18988007229ef8006c01552b..."} 
[2026-09-24 14:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a06878012d18988007229ef8006c01552b..."} 
[2026-09-24 14:28:50] local.INFO: Processing buffer {"connection_id":191190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a06878012d18988007229ef8006c01552b..."} 
[2026-09-24 14:28:50] local.INFO: Packet analysis {"connection_id":191190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a0"} 
[2026-09-24 14:28:50] local.INFO: Extracted packet for processing {"connection_id":191190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a0"} 
[2026-09-24 14:28:50] local.INFO: GPS Element Parsed {"raw_longitude":756586624,"raw_latitude":119709432,"longitude_deg":75.6586624,"latitude_deg":11.9709432,"altitude":108,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d189880","hex_latitude":"07229ef8","is_valid_coordinates":true} 
[2026-09-24 14:28: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-09-24 14:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301466112001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905056294600704,"note":"Value kept but may cause issues"} 
[2026-09-24 14:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772307221504260096,"note":"Value kept but may cause issues"} 
[2026-09-24 14:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790240123000,"timestamp_ms":1790240123000,"timestamp_seconds":1790240123,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a06878"} 
[2026-09-24 14:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 14:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:28: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-09-24 14:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301466112001,"66":12526,"105":206,"83":41984,"24":0,"16":22905056294600704,"45":1772307221504260096},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301466112001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:28:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:28:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905056294600704,"km_value":22905056294600.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772307221504260096,"description":"Unknown IO ID 45"} 
[2026-09-24 14:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301466112001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772307221504260096}} 
[2026-09-24 14:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":191190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:28:50] local.INFO: GPS data processed {"connection_id":191190,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:28:50] local.INFO: Acknowledgment sent {"connection_id":191190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:29:05] local.INFO: TCP Data received {"connection_id":191189,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:29:05] local.INFO: Processing buffer {"connection_id":191189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:29:05] local.INFO: Packet analysis {"connection_id":191189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:29:05] local.INFO: Extracted packet for processing {"connection_id":191189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:29:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301404416001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790240162000,"timestamp_ms":1790240162000,"timestamp_seconds":1790240162,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a100d0"} 
[2026-09-24 14:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301404416001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301404416001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:29:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:29:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301404416001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":191189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:29:05] local.INFO: GPS data processed {"connection_id":191189,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:29:05] local.INFO: Acknowledgment sent {"connection_id":191189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:29:22] local.INFO: TCP Data received {"connection_id":191190,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a0ba80012d18988007229ef8006c01552c..."} 
[2026-09-24 14:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a0ba80012d18988007229ef8006c01552c..."} 
[2026-09-24 14:29:22] local.INFO: Processing buffer {"connection_id":191190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a0ba80012d18988007229ef8006c01552c..."} 
[2026-09-24 14:29:22] local.INFO: Packet analysis {"connection_id":191190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a0"} 
[2026-09-24 14:29:22] local.INFO: Extracted packet for processing {"connection_id":191190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a0"} 
[2026-09-24 14:29:22] local.INFO: GPS Element Parsed {"raw_longitude":756586624,"raw_latitude":119709432,"longitude_deg":75.6586624,"latitude_deg":11.9709432,"altitude":108,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d189880","hex_latitude":"07229ef8","is_valid_coordinates":true} 
[2026-09-24 14:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301471488001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905056294600704,"note":"Value kept but may cause issues"} 
[2026-09-24 14:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772307221504260096,"note":"Value kept but may cause issues"} 
[2026-09-24 14:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790240144000,"timestamp_ms":1790240144000,"timestamp_seconds":1790240144,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a0ba80"} 
[2026-09-24 14:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 14:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301471488001,"66":12461,"105":206,"83":41984,"24":0,"16":22905056294600704,"45":1772307221504260096},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301471488001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:29:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:29:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905056294600704,"km_value":22905056294600.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772307221504260096,"description":"Unknown IO ID 45"} 
[2026-09-24 14:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301471488001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772307221504260096}} 
[2026-09-24 14:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":191190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:29:22] local.INFO: GPS data processed {"connection_id":191190,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:29:22] local.INFO: Acknowledgment sent {"connection_id":191190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:29:28] local.INFO: TCP Data received {"connection_id":191385,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:29:28] local.INFO: Processing buffer {"connection_id":191385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:29:28] local.INFO: IMEI packet received {"connection_id":191385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":191385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:29:33] local.INFO: TCP Data received {"connection_id":191385,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:29:33] local.INFO: Processing buffer {"connection_id":191385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:29:33] local.INFO: IMEI packet received {"connection_id":191385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":191385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:29:34] local.INFO: TCP Data received {"connection_id":191385,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:29:34] local.INFO: Processing buffer {"connection_id":191385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:29:34] local.INFO: Packet analysis {"connection_id":191385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:29:34] local.INFO: Extracted packet for processing {"connection_id":191385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:29:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301404416001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790240162000,"timestamp_ms":1790240162000,"timestamp_seconds":1790240162,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a100d0"} 
[2026-09-24 14:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301404416001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301404416001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:29:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:29:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301404416001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":191385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:29:34] local.INFO: GPS data processed {"connection_id":191385,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:29:34] local.INFO: Acknowledgment sent {"connection_id":191385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:29:45] local.INFO: TCP Data received {"connection_id":194038,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:29:45] local.INFO: Processing buffer {"connection_id":194038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:29:45] local.INFO: IMEI packet received {"connection_id":194038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":194038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:29:46] local.INFO: TCP Data received {"connection_id":194038,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:29:46] local.INFO: Processing buffer {"connection_id":194038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:29:46] local.INFO: IMEI packet received {"connection_id":194038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":194038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:29:50] local.INFO: TCP Data received {"connection_id":194038,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:29:50] local.INFO: Processing buffer {"connection_id":194038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:29:50] local.INFO: IMEI packet received {"connection_id":194038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":194038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:29:51] local.INFO: TCP Data received {"connection_id":194038,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a10c88012d18988007229ef8006c01552b..."} 
[2026-09-24 14:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a10c88012d18988007229ef8006c01552b..."} 
[2026-09-24 14:29:51] local.INFO: Processing buffer {"connection_id":194038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a10c88012d18988007229ef8006c01552b..."} 
[2026-09-24 14:29:51] local.INFO: Packet analysis {"connection_id":194038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:29:51] local.INFO: Extracted packet for processing {"connection_id":194038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:29:51] local.INFO: GPS Element Parsed {"raw_longitude":756586624,"raw_latitude":119709432,"longitude_deg":75.6586624,"latitude_deg":11.9709432,"altitude":108,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d189880","hex_latitude":"07229ef8","is_valid_coordinates":true} 
[2026-09-24 14:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301476864001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905056294600704,"note":"Value kept but may cause issues"} 
[2026-09-24 14:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772307221504260096,"note":"Value kept but may cause issues"} 
[2026-09-24 14:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790240165000,"timestamp_ms":1790240165000,"timestamp_seconds":1790240165,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a10c88"} 
[2026-09-24 14:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 14:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301476864001,"66":12526,"105":206,"83":41984,"24":0,"16":22905056294600704,"45":1772307221504260096},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301476864001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:29:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:29:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905056294600704,"km_value":22905056294600.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772307221504260096,"description":"Unknown IO ID 45"} 
[2026-09-24 14:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301476864001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772307221504260096}} 
[2026-09-24 14:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":194038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:29:51] local.INFO: GPS data processed {"connection_id":194038,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:29:51] local.INFO: Acknowledgment sent {"connection_id":194038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:30:05] local.INFO: TCP Data received {"connection_id":191385,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:30:05] local.INFO: Processing buffer {"connection_id":191385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:30:05] local.INFO: Packet analysis {"connection_id":191385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:30:05] local.INFO: Extracted packet for processing {"connection_id":191385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:30:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301404416001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790240162000,"timestamp_ms":1790240162000,"timestamp_seconds":1790240162,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a100d0"} 
[2026-09-24 14:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301404416001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301404416001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:30:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:30:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301404416001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":191385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:30:05] local.INFO: GPS data processed {"connection_id":191385,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:30:05] local.INFO: Acknowledgment sent {"connection_id":191385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:30:22] local.INFO: TCP Data received {"connection_id":194038,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a45078012d18a58007229bd8006e00882d..."} 
[2026-09-24 14:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a45078012d18a58007229bd8006e00882d..."} 
[2026-09-24 14:30:22] local.INFO: Processing buffer {"connection_id":194038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a45078012d18a58007229bd8006e00882d..."} 
[2026-09-24 14:30:22] local.INFO: Packet analysis {"connection_id":194038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a4"} 
[2026-09-24 14:30:22] local.INFO: Extracted packet for processing {"connection_id":194038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a4"} 
[2026-09-24 14:30:22] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119708632,"longitude_deg":75.6589952,"latitude_deg":11.9708632,"altitude":110,"angle":136,"satellites":45,"speed":6,"hex_longitude":"2d18a580","hex_latitude":"07229bd8","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301536768001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905258158063616,"note":"Value kept but may cause issues"} 
[2026-09-24 14:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775825658712963072,"note":"Value kept but may cause issues"} 
[2026-09-24 14:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790240379000,"timestamp_ms":1790240379000,"timestamp_seconds":1790240379,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a45078"} 
[2026-09-24 14:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-24 14:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301536768001,"66":13993,"105":206,"83":41984,"24":6,"16":22905258158063616,"45":1775825658712963072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301536768001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:30:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:30:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905258158063616,"km_value":22905258158063.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775825658712963072,"description":"Unknown IO ID 45"} 
[2026-09-24 14:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301536768001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1775825658712963072}} 
[2026-09-24 14:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":194038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:30:22] local.INFO: GPS data processed {"connection_id":194038,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:30:22] local.INFO: Acknowledgment sent {"connection_id":194038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:30:27] local.INFO: TCP Data received {"connection_id":194039,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194039,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:30:27] local.INFO: Processing buffer {"connection_id":194039,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:30:27] local.INFO: IMEI packet received {"connection_id":194039,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 14:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":194039,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:30:33] local.INFO: TCP Data received {"connection_id":192763,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:30:33] local.INFO: Processing buffer {"connection_id":192763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:30:33] local.INFO: IMEI packet received {"connection_id":192763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":192763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:30:38] local.INFO: TCP Data received {"connection_id":192763,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:30:38] local.INFO: Processing buffer {"connection_id":192763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:30:38] local.INFO: IMEI packet received {"connection_id":192763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":192763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:30:39] local.INFO: TCP Data received {"connection_id":192763,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:30:39] local.INFO: Processing buffer {"connection_id":192763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:30:39] local.INFO: Packet analysis {"connection_id":192763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:30:39] local.INFO: Extracted packet for processing {"connection_id":192763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:30:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:30: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-09-24 14:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301404416001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790240162000,"timestamp_ms":1790240162000,"timestamp_seconds":1790240162,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a100d0"} 
[2026-09-24 14:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:30: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-09-24 14:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301404416001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301404416001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:30:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:30:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301404416001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":192763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:30:39] local.INFO: GPS data processed {"connection_id":192763,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:30:39] local.INFO: Acknowledgment sent {"connection_id":192763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:30:44] local.INFO: TCP Data received {"connection_id":192763,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:30:44] local.INFO: Processing buffer {"connection_id":192763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:30:44] local.INFO: Packet analysis {"connection_id":192763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:30:44] local.INFO: Extracted packet for processing {"connection_id":192763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:30:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301404416001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790240162000,"timestamp_ms":1790240162000,"timestamp_seconds":1790240162,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a100d0"} 
[2026-09-24 14:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301404416001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301404416001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:30:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:30:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301404416001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":192763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:30:44] local.INFO: GPS data processed {"connection_id":192763,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:30:44] local.INFO: Acknowledgment sent {"connection_id":192763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:30:44] local.INFO: TCP Data received {"connection_id":191191,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:30:44] local.INFO: Processing buffer {"connection_id":191191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:30:44] local.INFO: IMEI packet received {"connection_id":191191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":191191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:30:45] local.INFO: TCP Data received {"connection_id":191191,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:30:45] local.INFO: Processing buffer {"connection_id":191191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:30:45] local.INFO: IMEI packet received {"connection_id":191191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":191191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:30:49] local.INFO: TCP Data received {"connection_id":191191,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:30:49] local.INFO: Processing buffer {"connection_id":191191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:30:49] local.INFO: IMEI packet received {"connection_id":191191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":191191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:30:50] local.INFO: TCP Data received {"connection_id":191191,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a45460012d18a5c007229b78006e00972e..."} 
[2026-09-24 14:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a45460012d18a5c007229b78006e00972e..."} 
[2026-09-24 14:30:50] local.INFO: Processing buffer {"connection_id":191191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a45460012d18a5c007229b78006e00972e..."} 
[2026-09-24 14:30:50] local.INFO: Packet analysis {"connection_id":191191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a4"} 
[2026-09-24 14:30:50] local.INFO: Extracted packet for processing {"connection_id":191191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a4"} 
[2026-09-24 14:30:50] local.INFO: GPS Element Parsed {"raw_longitude":756590016,"raw_latitude":119708536,"longitude_deg":75.6590016,"latitude_deg":11.9708536,"altitude":110,"angle":151,"satellites":46,"speed":6,"hex_longitude":"2d18a5c0","hex_latitude":"07229b78","is_valid_coordinates":true} 
[2026-09-24 14:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301537024001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905262453030912,"note":"Value kept but may cause issues"} 
[2026-09-24 14:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396201293824,"note":"Value kept but may cause issues"} 
[2026-09-24 14:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790240380000,"timestamp_ms":1790240380000,"timestamp_seconds":1790240380,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a45460"} 
[2026-09-24 14:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-24 14:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301537024001,"66":13928,"105":206,"83":41984,"24":6,"16":22905262453030912,"45":1775966396201293824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301537024001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:30:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:30:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905262453030912,"km_value":22905262453030.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396201293824,"description":"Unknown IO ID 45"} 
[2026-09-24 14:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301537024001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1775966396201293824}} 
[2026-09-24 14:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":191191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:30:50] local.INFO: GPS data processed {"connection_id":191191,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:30:50] local.INFO: Acknowledgment sent {"connection_id":191191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:31:08] local.INFO: TCP Data received {"connection_id":191192,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191192,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:31:08] local.INFO: Processing buffer {"connection_id":191192,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:31:08] local.INFO: IMEI packet received {"connection_id":191192,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 14:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":191192,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:31:21] local.INFO: TCP Data received {"connection_id":191191,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a45c30012d18a68007229a68006f00a32e..."} 
[2026-09-24 14:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a45c30012d18a68007229a68006f00a32e..."} 
[2026-09-24 14:31:21] local.INFO: Processing buffer {"connection_id":191191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a45c30012d18a68007229a68006f00a32e..."} 
[2026-09-24 14:31:21] local.INFO: Packet analysis {"connection_id":191191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a4"} 
[2026-09-24 14:31:21] local.INFO: Extracted packet for processing {"connection_id":191191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a4"} 
[2026-09-24 14:31:21] local.INFO: GPS Element Parsed {"raw_longitude":756590208,"raw_latitude":119708264,"longitude_deg":75.6590208,"latitude_deg":11.9708264,"altitude":111,"angle":163,"satellites":46,"speed":6,"hex_longitude":"2d18a680","hex_latitude":"07229a68","is_valid_coordinates":true} 
[2026-09-24 14:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301537280001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905279632900096,"note":"Value kept but may cause issues"} 
[2026-09-24 14:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776036764945446912,"note":"Value kept but may cause issues"} 
[2026-09-24 14:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790240382000,"timestamp_ms":1790240382000,"timestamp_seconds":1790240382,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a45c30"} 
[2026-09-24 14:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-24 14:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301537280001,"66":14265,"105":206,"83":41984,"24":6,"16":22905279632900096,"45":1776036764945446912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301537280001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:31:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:31:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905279632900096,"km_value":22905279632900.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776036764945446912,"description":"Unknown IO ID 45"} 
[2026-09-24 14:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301537280001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1776036764945446912}} 
[2026-09-24 14:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":191191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:31:21] local.INFO: GPS data processed {"connection_id":191191,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:31:21] local.INFO: Acknowledgment sent {"connection_id":191191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:31:28] local.INFO: TCP Data received {"connection_id":192764,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:31:28] local.INFO: Processing buffer {"connection_id":192764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:31:28] local.INFO: IMEI packet received {"connection_id":192764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":192764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:31:33] local.INFO: TCP Data received {"connection_id":192764,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:31:33] local.INFO: Processing buffer {"connection_id":192764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:31:33] local.INFO: IMEI packet received {"connection_id":192764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":192764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:31:34] local.INFO: TCP Data received {"connection_id":192764,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:31:34] local.INFO: Processing buffer {"connection_id":192764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:31:34] local.INFO: Packet analysis {"connection_id":192764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:31:34] local.INFO: Extracted packet for processing {"connection_id":192764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:31:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301404416001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790240162000,"timestamp_ms":1790240162000,"timestamp_seconds":1790240162,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a100d0"} 
[2026-09-24 14:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301404416001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301404416001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:31:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:31:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301404416001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":192764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:31:34] local.INFO: GPS data processed {"connection_id":192764,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:31:34] local.INFO: Acknowledgment sent {"connection_id":192764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:31:39] local.INFO: TCP Data received {"connection_id":192764,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:31:39] local.INFO: Processing buffer {"connection_id":192764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a100d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 14:31:39] local.INFO: Packet analysis {"connection_id":192764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:31:39] local.INFO: Extracted packet for processing {"connection_id":192764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a1"} 
[2026-09-24 14:31:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301404416001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790240162000,"timestamp_ms":1790240162000,"timestamp_seconds":1790240162,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a100d0"} 
[2026-09-24 14:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 14:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301404416001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301404416001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:31:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:31:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301404416001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":192764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:31:39] local.INFO: GPS data processed {"connection_id":192764,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:31:39] local.INFO: Acknowledgment sent {"connection_id":192764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:31:45] local.INFO: TCP Data received {"connection_id":191386,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:31:45] local.INFO: Processing buffer {"connection_id":191386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:31:45] local.INFO: IMEI packet received {"connection_id":191386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":191386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:31:50] local.INFO: TCP Data received {"connection_id":191386,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:31:50] local.INFO: Processing buffer {"connection_id":191386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:31:50] local.INFO: IMEI packet received {"connection_id":191386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":191386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:31:51] local.INFO: TCP Data received {"connection_id":191386,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a46bd0012d18a70007229818006f00b02d..."} 
[2026-09-24 14:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a46bd0012d18a70007229818006f00b02d..."} 
[2026-09-24 14:31:51] local.INFO: Processing buffer {"connection_id":191386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a46bd0012d18a70007229818006f00b02d..."} 
[2026-09-24 14:31:51] local.INFO: Packet analysis {"connection_id":191386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a4"} 
[2026-09-24 14:31:51] local.INFO: Extracted packet for processing {"connection_id":191386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a4"} 
[2026-09-24 14:31:51] local.INFO: GPS Element Parsed {"raw_longitude":756590336,"raw_latitude":119707672,"longitude_deg":75.6590336,"latitude_deg":11.9707672,"altitude":111,"angle":176,"satellites":45,"speed":6,"hex_longitude":"2d18a700","hex_latitude":"07229818","is_valid_coordinates":true} 
[2026-09-24 14:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301537792001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22905309697671168,"note":"Value kept but may cause issues"} 
[2026-09-24 14:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776247871177910272,"note":"Value kept but may cause issues"} 
[2026-09-24 14:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790240386000,"timestamp_ms":1790240386000,"timestamp_seconds":1790240386,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a46bd0"} 
[2026-09-24 14:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-24 14:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301537792001,"66":14254,"105":206,"83":41984,"24":6,"16":22905309697671168,"45":1776247871177910272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301537792001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:31:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:31:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22905309697671168,"km_value":22905309697671.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776247871177910272,"description":"Unknown IO ID 45"} 
[2026-09-24 14:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301537792001,"power":14254,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1776247871177910272}} 
[2026-09-24 14:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":191386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:31:51] local.INFO: GPS data processed {"connection_id":191386,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:31:51] local.INFO: Acknowledgment sent {"connection_id":191386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:32:10] local.INFO: TCP Data received {"connection_id":192764,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:32:10] local.INFO: Processing buffer {"connection_id":192764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:32:10] local.INFO: Packet analysis {"connection_id":192764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a5"} 
[2026-09-24 14:32:10] local.INFO: Extracted packet for processing {"connection_id":192764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a5"} 
[2026-09-24 14:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301481472001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790240463000,"timestamp_ms":1790240463000,"timestamp_seconds":1790240463,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a59898"} 
[2026-09-24 14:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 14:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301481472001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301481472001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:32:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301481472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":192764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:32:10] local.INFO: GPS data processed {"connection_id":192764,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:32:10] local.INFO: Acknowledgment sent {"connection_id":192764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:32:22] local.INFO: TCP Data received {"connection_id":191386,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a60210012d1825800721a2000046008a2c..."} 
[2026-09-24 14:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a60210012d1825800721a2000046008a2c..."} 
[2026-09-24 14:32:22] local.INFO: Processing buffer {"connection_id":191386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a60210012d1825800721a2000046008a2c..."} 
[2026-09-24 14:32:22] local.INFO: Packet analysis {"connection_id":191386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a6"} 
[2026-09-24 14:32:22] local.INFO: Extracted packet for processing {"connection_id":191386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a6"} 
[2026-09-24 14:32:22] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119644672,"longitude_deg":75.6557184,"latitude_deg":11.9644672,"altitude":70,"angle":138,"satellites":44,"speed":15,"hex_longitude":"2d182580","hex_latitude":"0721a200","is_valid_coordinates":true} 
[2026-09-24 14:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301563648001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22908874520526848,"note":"Value kept but may cause issues"} 
[2026-09-24 14:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794375168,"note":"Value kept but may cause issues"} 
[2026-09-24 14:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790240490000,"timestamp_ms":1790240490000,"timestamp_seconds":1790240490,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a60210"} 
[2026-09-24 14:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-24 14:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301563648001,"66":14233,"105":206,"83":41984,"24":15,"16":22908874520526848,"45":1738389486794375168},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301563648001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:32:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:32:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22908874520526848,"km_value":22908874520526.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794375168,"description":"Unknown IO ID 45"} 
[2026-09-24 14:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301563648001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1738389486794375168}} 
[2026-09-24 14:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":191386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:32:22] local.INFO: GPS data processed {"connection_id":191386,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:32:22] local.INFO: Acknowledgment sent {"connection_id":191386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:32:28] local.INFO: TCP Data received {"connection_id":191193,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:32:28] local.INFO: Processing buffer {"connection_id":191193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:32:28] local.INFO: IMEI packet received {"connection_id":191193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":191193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:32:33] local.INFO: TCP Data received {"connection_id":191193,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:32:33] local.INFO: Processing buffer {"connection_id":191193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:32:33] local.INFO: IMEI packet received {"connection_id":191193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":191193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:32:34] local.INFO: TCP Data received {"connection_id":191193,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:32:34] local.INFO: Processing buffer {"connection_id":191193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:32:34] local.INFO: Packet analysis {"connection_id":191193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a5"} 
[2026-09-24 14:32:34] local.INFO: Extracted packet for processing {"connection_id":191193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a5"} 
[2026-09-24 14:32:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301481472001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790240463000,"timestamp_ms":1790240463000,"timestamp_seconds":1790240463,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a59898"} 
[2026-09-24 14:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 14:32:34] 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-09-24 14:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301481472001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301481472001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:32:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:32:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301481472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":191193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:32:34] local.INFO: GPS data processed {"connection_id":191193,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:32:34] local.INFO: Acknowledgment sent {"connection_id":191193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:32:45] local.INFO: TCP Data received {"connection_id":191387,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:32:45] local.INFO: Processing buffer {"connection_id":191387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:32:45] local.INFO: IMEI packet received {"connection_id":191387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":191387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:32:50] local.INFO: TCP Data received {"connection_id":191387,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:32:50] local.INFO: Processing buffer {"connection_id":191387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:32:50] local.INFO: IMEI packet received {"connection_id":191387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":191387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:32:51] local.INFO: TCP Data received {"connection_id":191387,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a61d68012d182d4007219ab0004a007c2d..."} 
[2026-09-24 14:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a61d68012d182d4007219ab0004a007c2d..."} 
[2026-09-24 14:32:51] local.INFO: Processing buffer {"connection_id":191387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a61d68012d182d4007219ab0004a007c2d..."} 
[2026-09-24 14:32:51] local.INFO: Packet analysis {"connection_id":191387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a6"} 
[2026-09-24 14:32:51] local.INFO: Extracted packet for processing {"connection_id":191387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a6"} 
[2026-09-24 14:32:51] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119642800,"longitude_deg":75.6559168,"latitude_deg":11.96428,"altitude":74,"angle":124,"satellites":45,"speed":16,"hex_longitude":"2d182d40","hex_latitude":"07219ab0","is_valid_coordinates":true} 
[2026-09-24 14:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301565440001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22909003369545728,"note":"Value kept but may cause issues"} 
[2026-09-24 14:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599165956096,"note":"Value kept but may cause issues"} 
[2026-09-24 14:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790240497000,"timestamp_ms":1790240497000,"timestamp_seconds":1790240497,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a61d68"} 
[2026-09-24 14:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-24 14:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301565440001,"66":14243,"105":206,"83":41984,"24":16,"16":22909003369545728,"45":1739937599165956096},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301565440001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:32:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:32:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22909003369545728,"km_value":22909003369545.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599165956096,"description":"Unknown IO ID 45"} 
[2026-09-24 14:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301565440001,"power":14243,"unknown_105":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1739937599165956096}} 
[2026-09-24 14:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":191387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:32:51] local.INFO: GPS data processed {"connection_id":191387,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:32:51] local.INFO: Acknowledgment sent {"connection_id":191387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:33:06] local.INFO: TCP Data received {"connection_id":191193,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:33:06] local.INFO: Processing buffer {"connection_id":191193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:33:06] local.INFO: Packet analysis {"connection_id":191193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a5"} 
[2026-09-24 14:33:06] local.INFO: Extracted packet for processing {"connection_id":191193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a5"} 
[2026-09-24 14:33:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301481472001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790240463000,"timestamp_ms":1790240463000,"timestamp_seconds":1790240463,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a59898"} 
[2026-09-24 14:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 14:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301481472001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301481472001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:33:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:33:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301481472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":191193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:33:06] local.INFO: GPS data processed {"connection_id":191193,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:33:06] local.INFO: Acknowledgment sent {"connection_id":191193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:33:22] local.INFO: TCP Data received {"connection_id":191387,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a634d8012d1836c0072195d0004b00702c..."} 
[2026-09-24 14:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a634d8012d1836c0072195d0004b00702c..."} 
[2026-09-24 14:33:22] local.INFO: Processing buffer {"connection_id":191387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a634d8012d1836c0072195d0004b00702c..."} 
[2026-09-24 14:33:22] local.INFO: Packet analysis {"connection_id":191387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a6"} 
[2026-09-24 14:33:22] local.INFO: Extracted packet for processing {"connection_id":191387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a6"} 
[2026-09-24 14:33:22] local.INFO: GPS Element Parsed {"raw_longitude":756561600,"raw_latitude":119641552,"longitude_deg":75.65616,"latitude_deg":11.9641552,"altitude":75,"angle":112,"satellites":44,"speed":21,"hex_longitude":"2d1836c0","hex_latitude":"072195d0","is_valid_coordinates":true} 
[2026-09-24 14:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301567232001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22909136513531904,"note":"Value kept but may cause issues"} 
[2026-09-24 14:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742119030234984448,"note":"Value kept but may cause issues"} 
[2026-09-24 14:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790240503000,"timestamp_ms":1790240503000,"timestamp_seconds":1790240503,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a634d8"} 
[2026-09-24 14:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-24 14:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301567232001,"66":14233,"105":206,"83":41984,"24":21,"16":22909136513531904,"45":1742119030234984448},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 14:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301567232001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:33:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 14:33:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22909136513531904,"km_value":22909136513531.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742119030234984448,"description":"Unknown IO ID 45"} 
[2026-09-24 14:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301567232001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1742119030234984448}} 
[2026-09-24 14:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":191387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:33:22] local.INFO: GPS data processed {"connection_id":191387,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:33:22] local.INFO: Acknowledgment sent {"connection_id":191387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:33:28] local.INFO: TCP Data received {"connection_id":194041,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:33:28] local.INFO: Processing buffer {"connection_id":194041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:33:28] local.INFO: IMEI packet received {"connection_id":194041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":194041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:33:33] local.INFO: TCP Data received {"connection_id":194041,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:33:33] local.INFO: Processing buffer {"connection_id":194041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:33:33] local.INFO: IMEI packet received {"connection_id":194041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":194041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:33:35] local.INFO: TCP Data received {"connection_id":194041,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:33:35] local.INFO: Processing buffer {"connection_id":194041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:33:35] local.INFO: Packet analysis {"connection_id":194041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a5"} 
[2026-09-24 14:33:35] local.INFO: Extracted packet for processing {"connection_id":194041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a5"} 
[2026-09-24 14:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301481472001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790240463000,"timestamp_ms":1790240463000,"timestamp_seconds":1790240463,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a59898"} 
[2026-09-24 14:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 14:33:35] 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-09-24 14:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301481472001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301481472001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:33:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:33:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301481472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":194041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:33:35] local.INFO: GPS data processed {"connection_id":194041,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:33:35] local.INFO: Acknowledgment sent {"connection_id":194041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:33:45] local.INFO: TCP Data received {"connection_id":192766,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:33:45] local.INFO: Processing buffer {"connection_id":192766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:33:45] local.INFO: IMEI packet received {"connection_id":192766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":192766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:33:47] local.INFO: TCP Data received {"connection_id":192766,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:33:47] local.INFO: Processing buffer {"connection_id":192766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:33:47] local.INFO: IMEI packet received {"connection_id":192766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":192766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:33:48] local.INFO: TCP Data received {"connection_id":192766,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:33:48] local.INFO: Processing buffer {"connection_id":192766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:33:48] local.INFO: IMEI packet received {"connection_id":192766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":192766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:33:50] local.INFO: TCP Data received {"connection_id":192766,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:33:50] local.INFO: Processing buffer {"connection_id":192766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:33:50] local.INFO: IMEI packet received {"connection_id":192766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":192766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:33:51] local.INFO: TCP Data received {"connection_id":192766,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a732c0012d18c5c007213ee0004400a62d..."} 
[2026-09-24 14:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a732c0012d18c5c007213ee0004400a62d..."} 
[2026-09-24 14:33:51] local.INFO: Processing buffer {"connection_id":192766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a732c0012d18c5c007213ee0004400a62d..."} 
[2026-09-24 14:33:51] local.INFO: Packet analysis {"connection_id":192766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a7"} 
[2026-09-24 14:33:51] local.INFO: Extracted packet for processing {"connection_id":192766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a7"} 
[2026-09-24 14:33:51] local.INFO: GPS Element Parsed {"raw_longitude":756598208,"raw_latitude":119619296,"longitude_deg":75.6598208,"latitude_deg":11.9619296,"altitude":68,"angle":166,"satellites":45,"speed":31,"hex_longitude":"2d18c5c0","hex_latitude":"07213ee0","is_valid_coordinates":true} 
[2026-09-24 14:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301584640001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22911382781427712,"note":"Value kept but may cause issues"} 
[2026-09-24 14:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489201242112,"note":"Value kept but may cause issues"} 
[2026-09-24 14:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790240568000,"timestamp_ms":1790240568000,"timestamp_seconds":1790240568,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a732c0"} 
[2026-09-24 14:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-24 14:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301584640001,"66":14363,"103":206,"83":41984,"24":31,"16":22911382781427712,"45":1784762489201242112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301584640001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:33:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:33:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22911382781427712,"km_value":22911382781427.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489201242112,"description":"Unknown IO ID 45"} 
[2026-09-24 14:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301584640001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1784762489201242112}} 
[2026-09-24 14:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":192766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:33:51] local.INFO: GPS data processed {"connection_id":192766,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:33:51] local.INFO: Acknowledgment sent {"connection_id":192766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:34:06] local.INFO: TCP Data received {"connection_id":194041,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:34:06] local.INFO: Processing buffer {"connection_id":194041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:34:06] local.INFO: Packet analysis {"connection_id":194041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a5"} 
[2026-09-24 14:34:06] local.INFO: Extracted packet for processing {"connection_id":194041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a5"} 
[2026-09-24 14:34:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301481472001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790240463000,"timestamp_ms":1790240463000,"timestamp_seconds":1790240463,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a59898"} 
[2026-09-24 14:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 14:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301481472001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301481472001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:34:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:34:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301481472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":194041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:34:06] local.INFO: GPS data processed {"connection_id":194041,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:34:06] local.INFO: Acknowledgment sent {"connection_id":194041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:34:22] local.INFO: TCP Data received {"connection_id":192766,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a73a90012d18c7c007213920004300982c..."} 
[2026-09-24 14:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a73a90012d18c7c007213920004300982c..."} 
[2026-09-24 14:34:22] local.INFO: Processing buffer {"connection_id":192766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a73a90012d18c7c007213920004300982c..."} 
[2026-09-24 14:34:22] local.INFO: Packet analysis {"connection_id":192766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a7"} 
[2026-09-24 14:34:22] local.INFO: Extracted packet for processing {"connection_id":192766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a7"} 
[2026-09-24 14:34:22] local.INFO: GPS Element Parsed {"raw_longitude":756598720,"raw_latitude":119617824,"longitude_deg":75.659872,"latitude_deg":11.9617824,"altitude":67,"angle":152,"satellites":44,"speed":31,"hex_longitude":"2d18c7c0","hex_latitude":"07213920","is_valid_coordinates":true} 
[2026-09-24 14:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301585408001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22911460090839040,"note":"Value kept but may cause issues"} 
[2026-09-24 14:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785043964177342464,"note":"Value kept but may cause issues"} 
[2026-09-24 14:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790240570000,"timestamp_ms":1790240570000,"timestamp_seconds":1790240570,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a73a90"} 
[2026-09-24 14:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:34: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-09-24 14:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-24 14:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301585408001,"66":14243,"103":206,"83":41984,"24":31,"16":22911460090839040,"45":1785043964177342464},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301585408001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:34:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:34:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22911460090839040,"km_value":22911460090839.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785043964177342464,"description":"Unknown IO ID 45"} 
[2026-09-24 14:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301585408001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1785043964177342464}} 
[2026-09-24 14:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":192766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:34:22] local.INFO: GPS data processed {"connection_id":192766,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:34:22] local.INFO: Acknowledgment sent {"connection_id":192766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:34:28] local.INFO: TCP Data received {"connection_id":192767,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:34:28] local.INFO: Processing buffer {"connection_id":192767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:34:28] local.INFO: IMEI packet received {"connection_id":192767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":192767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:34:33] local.INFO: TCP Data received {"connection_id":192767,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:34:33] local.INFO: Processing buffer {"connection_id":192767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:34:33] local.INFO: IMEI packet received {"connection_id":192767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":192767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:34:34] local.INFO: TCP Data received {"connection_id":192767,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:34:34] local.INFO: Processing buffer {"connection_id":192767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:34:34] local.INFO: Packet analysis {"connection_id":192767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a5"} 
[2026-09-24 14:34:34] local.INFO: Extracted packet for processing {"connection_id":192767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a5"} 
[2026-09-24 14:34:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301481472001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790240463000,"timestamp_ms":1790240463000,"timestamp_seconds":1790240463,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a59898"} 
[2026-09-24 14:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 14:34:34] 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-09-24 14:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301481472001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301481472001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:34:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:34:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301481472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":192767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:34:34] local.INFO: GPS data processed {"connection_id":192767,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:34:34] local.INFO: Acknowledgment sent {"connection_id":192767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:34:45] local.INFO: TCP Data received {"connection_id":191389,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:34:45] local.INFO: Processing buffer {"connection_id":191389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:34:45] local.INFO: IMEI packet received {"connection_id":191389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":191389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:34:50] local.INFO: TCP Data received {"connection_id":191389,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:34:50] local.INFO: Processing buffer {"connection_id":191389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:34:50] local.INFO: IMEI packet received {"connection_id":191389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":191389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:34:51] local.INFO: TCP Data received {"connection_id":191389,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a7fde0012d1936800720b6f0002c00782c..."} 
[2026-09-24 14:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a7fde0012d1936800720b6f0002c00782c..."} 
[2026-09-24 14:34:51] local.INFO: Processing buffer {"connection_id":191389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a7fde0012d1936800720b6f0002c00782c..."} 
[2026-09-24 14:34:51] local.INFO: Packet analysis {"connection_id":191389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a7"} 
[2026-09-24 14:34:51] local.INFO: Extracted packet for processing {"connection_id":191389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a7"} 
[2026-09-24 14:34:51] local.INFO: GPS Element Parsed {"raw_longitude":756627072,"raw_latitude":119584496,"longitude_deg":75.6627072,"latitude_deg":11.9584496,"altitude":44,"angle":120,"satellites":44,"speed":51,"hex_longitude":"2d193680","hex_latitude":"0720b6f0","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301596928001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22913727833571328,"note":"Value kept but may cause issues"} 
[2026-09-24 14:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807280487329452032,"note":"Value kept but may cause issues"} 
[2026-09-24 14:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790240620000,"timestamp_ms":1790240620000,"timestamp_seconds":1790240620,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a7fde0"} 
[2026-09-24 14:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-24 14:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301596928001,"66":14070,"103":206,"83":41984,"24":51,"16":22913727833571328,"45":1807280487329452032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301596928001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:34:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:34:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22913727833571328,"km_value":22913727833571.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807280487329452032,"description":"Unknown IO ID 45"} 
[2026-09-24 14:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301596928001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":51,"odometer":null,"unknown_45":1807280487329452032}} 
[2026-09-24 14:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":191389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:34:51] local.INFO: GPS data processed {"connection_id":191389,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:34:51] local.INFO: Acknowledgment sent {"connection_id":191389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:35:06] local.INFO: TCP Data received {"connection_id":192767,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:35:06] local.INFO: Processing buffer {"connection_id":192767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:35:06] local.INFO: Packet analysis {"connection_id":192767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a5"} 
[2026-09-24 14:35:06] local.INFO: Extracted packet for processing {"connection_id":192767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a5"} 
[2026-09-24 14:35:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301481472001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790240463000,"timestamp_ms":1790240463000,"timestamp_seconds":1790240463,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a59898"} 
[2026-09-24 14:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 14:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301481472001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301481472001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:35:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:35:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301481472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":192767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:35:06] local.INFO: GPS data processed {"connection_id":192767,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:35:06] local.INFO: Acknowledgment sent {"connection_id":192767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:35:22] local.INFO: TCP Data received {"connection_id":191389,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a8ec28012d19d9800720b1e8002c00432a..."} 
[2026-09-24 14:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a8ec28012d19d9800720b1e8002c00432a..."} 
[2026-09-24 14:35:22] local.INFO: Processing buffer {"connection_id":191389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a8ec28012d19d9800720b1e8002c00432a..."} 
[2026-09-24 14:35:22] local.INFO: Packet analysis {"connection_id":191389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a8"} 
[2026-09-24 14:35:22] local.INFO: Extracted packet for processing {"connection_id":191389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a8"} 
[2026-09-24 14:35:22] local.INFO: GPS Element Parsed {"raw_longitude":756668800,"raw_latitude":119583208,"longitude_deg":75.66688,"latitude_deg":11.9583208,"altitude":44,"angle":67,"satellites":42,"speed":17,"hex_longitude":"2d19d980","hex_latitude":"0720b1e8","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301613824001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22915871022252032,"note":"Value kept but may cause issues"} 
[2026-09-24 14:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861816264065814528,"note":"Value kept but may cause issues"} 
[2026-09-24 14:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790240681000,"timestamp_ms":1790240681000,"timestamp_seconds":1790240681,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a8ec28"} 
[2026-09-24 14:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:35: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-09-24 14:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-24 14:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301613824001,"66":14004,"103":206,"83":41984,"24":17,"16":22915871022252032,"45":1861816264065814528},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301613824001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:35:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:35:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22915871022252032,"km_value":22915871022252.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861816264065814528,"description":"Unknown IO ID 45"} 
[2026-09-24 14:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301613824001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1861816264065814528}} 
[2026-09-24 14:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":191389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:35:22] local.INFO: GPS data processed {"connection_id":191389,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:35:22] local.INFO: Acknowledgment sent {"connection_id":191389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:35:33] local.INFO: TCP Data received {"connection_id":194042,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:35:33] local.INFO: Processing buffer {"connection_id":194042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:35:33] local.INFO: IMEI packet received {"connection_id":194042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":194042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:35:38] local.INFO: TCP Data received {"connection_id":194042,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:35:38] local.INFO: Processing buffer {"connection_id":194042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:35:38] local.INFO: IMEI packet received {"connection_id":194042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":194042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:35:39] local.INFO: TCP Data received {"connection_id":194042,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:35:39] local.INFO: Processing buffer {"connection_id":194042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:35:39] local.INFO: Packet analysis {"connection_id":194042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a5"} 
[2026-09-24 14:35:39] local.INFO: Extracted packet for processing {"connection_id":194042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a5"} 
[2026-09-24 14:35:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301481472001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790240463000,"timestamp_ms":1790240463000,"timestamp_seconds":1790240463,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a59898"} 
[2026-09-24 14:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 14:35:39] 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-09-24 14:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301481472001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301481472001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:35:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:35:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301481472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":194042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:35:39] local.INFO: GPS data processed {"connection_id":194042,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:35:39] local.INFO: Acknowledgment sent {"connection_id":194042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:35:44] local.INFO: TCP Data received {"connection_id":194042,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:35:44] local.INFO: Processing buffer {"connection_id":194042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:35:44] local.INFO: Packet analysis {"connection_id":194042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a5"} 
[2026-09-24 14:35:44] local.INFO: Extracted packet for processing {"connection_id":194042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a5"} 
[2026-09-24 14:35:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301481472001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790240463000,"timestamp_ms":1790240463000,"timestamp_seconds":1790240463,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a59898"} 
[2026-09-24 14:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 14:35:44] 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-09-24 14:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301481472001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301481472001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:35:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:35:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301481472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":194042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:35:44] local.INFO: GPS data processed {"connection_id":194042,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:35:44] local.INFO: Acknowledgment sent {"connection_id":194042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:35:45] local.INFO: TCP Data received {"connection_id":191194,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:35:45] local.INFO: Processing buffer {"connection_id":191194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:35:45] local.INFO: IMEI packet received {"connection_id":191194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":191194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:35:47] local.INFO: TCP Data received {"connection_id":191194,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:35:47] local.INFO: Processing buffer {"connection_id":191194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:35:47] local.INFO: IMEI packet received {"connection_id":191194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":191194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:35:50] local.INFO: TCP Data received {"connection_id":191194,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:35:51] local.INFO: Processing buffer {"connection_id":191194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:35:51] local.INFO: IMEI packet received {"connection_id":191194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":191194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:35:51] local.INFO: TCP Data received {"connection_id":191194,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a8f010012d19db400720b230002b005326..."} 
[2026-09-24 14:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a8f010012d19db400720b230002b005326..."} 
[2026-09-24 14:35:51] local.INFO: Processing buffer {"connection_id":191194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a8f010012d19db400720b230002b005326..."} 
[2026-09-24 14:35:51] local.INFO: Packet analysis {"connection_id":191194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a8"} 
[2026-09-24 14:35:51] local.INFO: Extracted packet for processing {"connection_id":191194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a8"} 
[2026-09-24 14:35:51] local.INFO: GPS Element Parsed {"raw_longitude":756669248,"raw_latitude":119583280,"longitude_deg":75.6669248,"latitude_deg":11.958328,"altitude":43,"angle":83,"satellites":38,"speed":18,"hex_longitude":"2d19db40","hex_latitude":"0720b230","is_valid_coordinates":true} 
[2026-09-24 14:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301614336001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22915892497088512,"note":"Value kept but may cause issues"} 
[2026-09-24 14:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862660688996067328,"note":"Value kept but may cause issues"} 
[2026-09-24 14:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790240682000,"timestamp_ms":1790240682000,"timestamp_seconds":1790240682,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a8f010"} 
[2026-09-24 14:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-24 14:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301614336001,"66":14265,"103":206,"83":41984,"24":18,"16":22915892497088512,"45":1862660688996067328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301614336001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:35:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:35:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22915892497088512,"km_value":22915892497088.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862660688996067328,"description":"Unknown IO ID 45"} 
[2026-09-24 14:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301614336001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1862660688996067328}} 
[2026-09-24 14:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":191194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:35:51] local.INFO: GPS data processed {"connection_id":191194,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:35:51] local.INFO: Acknowledgment sent {"connection_id":191194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:36:22] local.INFO: TCP Data received {"connection_id":191194,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a9d688012d1a3dc00720f740003800422a..."} 
[2026-09-24 14:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a9d688012d1a3dc00720f740003800422a..."} 
[2026-09-24 14:36:22] local.INFO: Processing buffer {"connection_id":191194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a9d688012d1a3dc00720f740003800422a..."} 
[2026-09-24 14:36:22] local.INFO: Packet analysis {"connection_id":191194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a9"} 
[2026-09-24 14:36:22] local.INFO: Extracted packet for processing {"connection_id":191194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a9"} 
[2026-09-24 14:36:22] local.INFO: GPS Element Parsed {"raw_longitude":756694464,"raw_latitude":119600960,"longitude_deg":75.6694464,"latitude_deg":11.960096,"altitude":56,"angle":66,"satellites":42,"speed":9,"hex_longitude":"2d1a3dc0","hex_latitude":"0720f740","is_valid_coordinates":true} 
[2026-09-24 14:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301629440001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22917464455118848,"note":"Value kept but may cause issues"} 
[2026-09-24 14:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890667449183289344,"note":"Value kept but may cause issues"} 
[2026-09-24 14:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790240741000,"timestamp_ms":1790240741000,"timestamp_seconds":1790240741,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a9d688"} 
[2026-09-24 14:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-24 14:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301629440001,"66":14298,"103":206,"83":41984,"24":9,"16":22917464455118848,"45":1890667449183289344},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301629440001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:36:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:36:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22917464455118848,"km_value":22917464455118.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890667449183289344,"description":"Unknown IO ID 45"} 
[2026-09-24 14:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301629440001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1890667449183289344}} 
[2026-09-24 14:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":191194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:36:22] local.INFO: GPS data processed {"connection_id":191194,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:36:22] local.INFO: Acknowledgment sent {"connection_id":191194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:36:27] local.INFO: TCP Data received {"connection_id":192768,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:36:27] local.INFO: Processing buffer {"connection_id":192768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:36:27] local.INFO: IMEI packet received {"connection_id":192768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 14:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":192768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:36:28] local.INFO: TCP Data received {"connection_id":192769,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:36:28] local.INFO: Processing buffer {"connection_id":192769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:36:28] local.INFO: IMEI packet received {"connection_id":192769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":192769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:36:33] local.INFO: TCP Data received {"connection_id":192769,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:36:33] local.INFO: Processing buffer {"connection_id":192769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:36:33] local.INFO: IMEI packet received {"connection_id":192769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":192769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:36:34] local.INFO: TCP Data received {"connection_id":192769,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:36:34] local.INFO: Processing buffer {"connection_id":192769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a59898012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:36:34] local.INFO: Packet analysis {"connection_id":192769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a5"} 
[2026-09-24 14:36:34] local.INFO: Extracted packet for processing {"connection_id":192769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a5"} 
[2026-09-24 14:36:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301481472001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790240463000,"timestamp_ms":1790240463000,"timestamp_seconds":1790240463,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a59898"} 
[2026-09-24 14:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 14:36:34] 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-09-24 14: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-09-24 14:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301481472001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301481472001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:36:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:36:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301481472001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":192769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:36:34] local.INFO: GPS data processed {"connection_id":192769,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:36:34] local.INFO: Acknowledgment sent {"connection_id":192769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:36:47] local.INFO: TCP Data received {"connection_id":194043,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:36:47] local.INFO: Processing buffer {"connection_id":194043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:36:47] local.INFO: IMEI packet received {"connection_id":194043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":194043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:36:50] local.INFO: TCP Data received {"connection_id":194043,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:36:50] local.INFO: Processing buffer {"connection_id":194043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:36:50] local.INFO: IMEI packet received {"connection_id":194043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":194043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:36:55] local.INFO: TCP Data received {"connection_id":194043,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:36:55] local.INFO: Processing buffer {"connection_id":194043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:36:55] local.INFO: IMEI packet received {"connection_id":194043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":194043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:36:55] local.INFO: TCP Data received {"connection_id":194043,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2a9da70012d1a3ec00720f7580037005e2a..."} 
[2026-09-24 14:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2a9da70012d1a3ec00720f7580037005e2a..."} 
[2026-09-24 14:36:55] local.INFO: Processing buffer {"connection_id":194043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2a9da70012d1a3ec00720f7580037005e2a..."} 
[2026-09-24 14:36:55] local.INFO: Packet analysis {"connection_id":194043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2a9"} 
[2026-09-24 14:36:55] local.INFO: Extracted packet for processing {"connection_id":194043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2a9"} 
[2026-09-24 14:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119600984,"longitude_deg":75.669472,"latitude_deg":11.9600984,"altitude":55,"angle":94,"satellites":42,"speed":7,"hex_longitude":"2d1a3ec0","hex_latitude":"0720f758","is_valid_coordinates":true} 
[2026-09-24 14:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301629696001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22917477340020736,"note":"Value kept but may cause issues"} 
[2026-09-24 14:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890878555415855104,"note":"Value kept but may cause issues"} 
[2026-09-24 14:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790240742000,"timestamp_ms":1790240742000,"timestamp_seconds":1790240742,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2a9da70"} 
[2026-09-24 14:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-24 14:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301629696001,"66":14189,"103":206,"83":41984,"24":7,"16":22917477340020736,"45":1890878555415855104},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301629696001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:36:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:36:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22917477340020736,"km_value":22917477340020.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890878555415855104,"description":"Unknown IO ID 45"} 
[2026-09-24 14:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301629696001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1890878555415855104}} 
[2026-09-24 14:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":194043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:36:55] local.INFO: GPS data processed {"connection_id":194043,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:36:55] local.INFO: Acknowledgment sent {"connection_id":194043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:37:05] local.INFO: TCP Data received {"connection_id":192769,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:37:05] local.INFO: Processing buffer {"connection_id":192769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:37:05] local.INFO: Packet analysis {"connection_id":192769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:37:05] local.INFO: Extracted packet for processing {"connection_id":192769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:37:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301558528001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790240764000,"timestamp_ms":1790240764000,"timestamp_seconds":1790240764,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aa3060"} 
[2026-09-24 14:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 14:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301558528001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301558528001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:37:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:37:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301558528001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":192769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:37:05] local.INFO: GPS data processed {"connection_id":192769,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:37:05] local.INFO: Acknowledgment sent {"connection_id":192769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:37:07] local.INFO: TCP Data received {"connection_id":191391,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:37:07] local.INFO: Processing buffer {"connection_id":191391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:37:07] local.INFO: IMEI packet received {"connection_id":191391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 14:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":191391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:37:26] local.INFO: TCP Data received {"connection_id":194043,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aaad60012d1a6a800720d320003b009c2b..."} 
[2026-09-24 14:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aaad60012d1a6a800720d320003b009c2b..."} 
[2026-09-24 14:37:26] local.INFO: Processing buffer {"connection_id":194043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aaad60012d1a6a800720d320003b009c2b..."} 
[2026-09-24 14:37:26] local.INFO: Packet analysis {"connection_id":194043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:37:26] local.INFO: Extracted packet for processing {"connection_id":194043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:37:26] local.INFO: GPS Element Parsed {"raw_longitude":756705920,"raw_latitude":119591712,"longitude_deg":75.670592,"latitude_deg":11.9591712,"altitude":59,"angle":156,"satellites":43,"speed":9,"hex_longitude":"2d1a6a80","hex_latitude":"0720d320","is_valid_coordinates":true} 
[2026-09-24 14:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301643520001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22918186009624576,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903333823132987392,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790240796000,"timestamp_ms":1790240796000,"timestamp_seconds":1790240796,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aaad60"} 
[2026-09-24 14:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-24 14:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":194043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":194043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":194043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301643520001,"66":13993,"103":206,"83":41984,"24":9,"16":22918186009624576,"45":1903333823132987392},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301643520001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:37:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:37:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22918186009624576,"km_value":22918186009624.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903333823132987392,"description":"Unknown IO ID 45"} 
[2026-09-24 14:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301643520001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1903333823132987392}} 
[2026-09-24 14:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":194043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:37:27] local.INFO: GPS data processed {"connection_id":194043,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:37:27] local.INFO: Acknowledgment sent {"connection_id":194043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:37:28] local.INFO: TCP Data received {"connection_id":192770,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:37:28] local.INFO: Processing buffer {"connection_id":192770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:37:28] local.INFO: IMEI packet received {"connection_id":192770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":192770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:37:33] local.INFO: TCP Data received {"connection_id":192770,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:37:33] local.INFO: Processing buffer {"connection_id":192770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:37:33] local.INFO: IMEI packet received {"connection_id":192770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":192770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:37:34] local.INFO: TCP Data received {"connection_id":192770,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:37:34] local.INFO: Processing buffer {"connection_id":192770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:37:34] local.INFO: Packet analysis {"connection_id":192770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:37:34] local.INFO: Extracted packet for processing {"connection_id":192770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:37:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301558528001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790240764000,"timestamp_ms":1790240764000,"timestamp_seconds":1790240764,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aa3060"} 
[2026-09-24 14:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 14:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301558528001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301558528001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:37:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:37:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301558528001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":192770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:37:34] local.INFO: GPS data processed {"connection_id":192770,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:37:34] local.INFO: Acknowledgment sent {"connection_id":192770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:37:45] local.INFO: TCP Data received {"connection_id":194044,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:37:45] local.INFO: Processing buffer {"connection_id":194044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:37:45] local.INFO: IMEI packet received {"connection_id":194044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":194044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:37:47] local.INFO: TCP Data received {"connection_id":194044,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:37:47] local.INFO: Processing buffer {"connection_id":194044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:37:47] local.INFO: IMEI packet received {"connection_id":194044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":194044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:37:50] local.INFO: TCP Data received {"connection_id":194044,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:37:50] local.INFO: Processing buffer {"connection_id":194044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:37:50] local.INFO: IMEI packet received {"connection_id":194044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":194044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:37:51] local.INFO: TCP Data received {"connection_id":194044,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aab530012d1a6b800720d150003b00b52b..."} 
[2026-09-24 14:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aab530012d1a6b800720d150003b00b52b..."} 
[2026-09-24 14:37:51] local.INFO: Processing buffer {"connection_id":194044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aab530012d1a6b800720d150003b00b52b..."} 
[2026-09-24 14:37:51] local.INFO: Packet analysis {"connection_id":194044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:37:51] local.INFO: Extracted packet for processing {"connection_id":194044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:37:51] local.INFO: GPS Element Parsed {"raw_longitude":756706176,"raw_latitude":119591248,"longitude_deg":75.6706176,"latitude_deg":11.9591248,"altitude":59,"angle":181,"satellites":43,"speed":10,"hex_longitude":"2d1a6b80","hex_latitude":"0720d150","is_valid_coordinates":true} 
[2026-09-24 14:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301643776001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22918211779428352,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903474560621289472,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790240798000,"timestamp_ms":1790240798000,"timestamp_seconds":1790240798,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aab530"} 
[2026-09-24 14:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-24 14:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301643776001,"66":14341,"103":206,"83":41984,"24":10,"16":22918211779428352,"45":1903474560621289472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301643776001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:37:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:37:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22918211779428352,"km_value":22918211779428.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903474560621289472,"description":"Unknown IO ID 45"} 
[2026-09-24 14:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301643776001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1903474560621289472}} 
[2026-09-24 14:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":194044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:37:51] local.INFO: GPS data processed {"connection_id":194044,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:37:51] local.INFO: Acknowledgment sent {"connection_id":194044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:37:55] local.INFO: TCP Data received {"connection_id":194044,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aab918012d1a6b800720d060003b00c82b..."} 
[2026-09-24 14:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aab918012d1a6b800720d060003b00c82b..."} 
[2026-09-24 14:37:55] local.INFO: Processing buffer {"connection_id":194044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aab918012d1a6b800720d060003b00c82b..."} 
[2026-09-24 14:37:55] local.INFO: Packet analysis {"connection_id":194044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:37:55] local.INFO: Extracted packet for processing {"connection_id":194044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:37:55] local.INFO: GPS Element Parsed {"raw_longitude":756706176,"raw_latitude":119591008,"longitude_deg":75.6706176,"latitude_deg":11.9591008,"altitude":59,"angle":200,"satellites":43,"speed":10,"hex_longitude":"2d1a6b80","hex_latitude":"0720d060","is_valid_coordinates":true} 
[2026-09-24 14:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301644288001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22918224664330240,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903756035597881344,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790240799000,"timestamp_ms":1790240799000,"timestamp_seconds":1790240799,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aab918"} 
[2026-09-24 14:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-24 14:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6993127949,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:55] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3534368864,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:55] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13465703,"corrected_to":0} 
[2026-09-24 14:37:55] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503949324845056,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:55] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2860161025,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:55] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3714580537,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-24 14:37:55] local.WARNING: Large IO value detected {"io_id":67,"raw_value":3892391194,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:55] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728696,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:55] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84752869899051247,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:55] local.WARNING: Large IO value detected {"io_id":192,"raw_value":15200199202835712,"note":"Value kept but may cause issues"} 
[2026-09-24 14:37:55] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,103,83,24,241,157,16,107,160,173,45,128,211,59,43,10,66,169,153,64,1,240,246,227,210,32,4,113,205,11,67,86,208,42,239,52,2,81,7,54,9,206,56,192],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":246,"original":13465703,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-24 14:37:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251597244526624768,"timestamp_seconds":4251597244526625.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 14:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301644288001,"66":14341,"103":206,"83":41984,"24":10,"16":22918224664330240,"45":1903756035597881344},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301644288001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:37:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:37:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22918224664330240,"km_value":22918224664330.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903756035597881344,"description":"Unknown IO ID 45"} 
[2026-09-24 14:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301644288001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1903756035597881344}} 
[2026-09-24 14:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":194044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:37:55] local.INFO: GPS data processed {"connection_id":194044,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:37:55] local.INFO: Acknowledgment sent {"connection_id":194044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:38:05] local.INFO: TCP Data received {"connection_id":192770,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:38:05] local.INFO: Processing buffer {"connection_id":192770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:38:05] local.INFO: Packet analysis {"connection_id":192770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:38:05] local.INFO: Extracted packet for processing {"connection_id":192770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:38:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301558528001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790240764000,"timestamp_ms":1790240764000,"timestamp_seconds":1790240764,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aa3060"} 
[2026-09-24 14:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 14:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301558528001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301558528001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:38:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:38:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301558528001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":192770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:38:05] local.INFO: GPS data processed {"connection_id":192770,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:38:05] local.INFO: Acknowledgment sent {"connection_id":192770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:38:27] local.INFO: TCP Data received {"connection_id":194044,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aaff68012d1a68c00720c358003600bd2b..."} 
[2026-09-24 14:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aaff68012d1a68c00720c358003600bd2b..."} 
[2026-09-24 14:38:27] local.INFO: Processing buffer {"connection_id":194044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aaff68012d1a68c00720c358003600bd2b..."} 
[2026-09-24 14:38:27] local.INFO: Packet analysis {"connection_id":194044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:38:27] local.INFO: Extracted packet for processing {"connection_id":194044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:38:27] local.INFO: GPS Element Parsed {"raw_longitude":756705472,"raw_latitude":119587672,"longitude_deg":75.6705472,"latitude_deg":11.9587672,"altitude":54,"angle":189,"satellites":43,"speed":5,"hex_longitude":"2d1a68c0","hex_latitude":"0720c358","is_valid_coordinates":true} 
[2026-09-24 14:38: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-09-24 14:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301644544001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22918392168054784,"note":"Value kept but may cause issues"} 
[2026-09-24 14:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903756035597819904,"note":"Value kept but may cause issues"} 
[2026-09-24 14:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790240817000,"timestamp_ms":1790240817000,"timestamp_seconds":1790240817,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aaff68"} 
[2026-09-24 14:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-24 14:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6993127984,"note":"Value kept but may cause issues"} 
[2026-09-24 14:38:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 14:38:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 14:38:27] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3534373864,"note":"Value kept but may cause issues"} 
[2026-09-24 14:38:27] local.WARNING: Large IO value detected {"io_id":107,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-09-24 14:38:27] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503949325631488,"note":"Value kept but may cause issues"} 
[2026-09-24 14:38:27] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2862209025,"note":"Value kept but may cause issues"} 
[2026-09-24 14:38:27] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3607101499,"note":"Value kept but may cause issues"} 
[2026-09-24 14:38:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-24 14:38:27] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2550213914,"note":"Value kept but may cause issues"} 
[2026-09-24 14:38:27] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84752907480015081,"note":"Value kept but may cause issues"} 
[2026-09-24 14:38:27] local.WARNING: Large IO value detected {"io_id":136,"raw_value":15200151974971648,"note":"Value kept but may cause issues"} 
[2026-09-24 14:38:27] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,103,83,24,241,157,16,108,160,181,45,128,209,59,43,10,66,107,173,211,169,1,240,22,227,210,32,4,113,205,122,98,104,42,239,55,2,81,7,54,9,206,96,136],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-24 14:38:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251618135247552512,"timestamp_seconds":4251618135247552.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 14:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":194044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":194044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":194044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301644544001,"66":14363,"103":206,"83":41984,"24":5,"16":22918392168054784,"45":1903756035597819904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301644544001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:38:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:38:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22918392168054784,"km_value":22918392168054.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903756035597819904,"description":"Unknown IO ID 45"} 
[2026-09-24 14:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301644544001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1903756035597819904}} 
[2026-09-24 14:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":194044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:38:27] local.INFO: GPS data processed {"connection_id":194044,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:38:27] local.INFO: Acknowledgment sent {"connection_id":194044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:38:28] local.INFO: TCP Data received {"connection_id":192771,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:38:28] local.INFO: Processing buffer {"connection_id":192771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:38:28] local.INFO: IMEI packet received {"connection_id":192771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":192771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:38:33] local.INFO: TCP Data received {"connection_id":192771,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:38:33] local.INFO: Processing buffer {"connection_id":192771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:38:33] local.INFO: IMEI packet received {"connection_id":192771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":192771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:38:34] local.INFO: TCP Data received {"connection_id":192771,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:38:34] local.INFO: Processing buffer {"connection_id":192771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:38:34] local.INFO: Packet analysis {"connection_id":192771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:38:34] local.INFO: Extracted packet for processing {"connection_id":192771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:38:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301558528001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790240764000,"timestamp_ms":1790240764000,"timestamp_seconds":1790240764,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aa3060"} 
[2026-09-24 14:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 14:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301558528001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301558528001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:38:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:38:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301558528001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":192771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:38:34] local.INFO: GPS data processed {"connection_id":192771,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:38:34] local.INFO: Acknowledgment sent {"connection_id":192771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:38:44] local.INFO: TCP Data received {"connection_id":191195,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:38:44] local.INFO: Processing buffer {"connection_id":191195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:38:44] local.INFO: IMEI packet received {"connection_id":191195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":191195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:38:45] local.INFO: TCP Data received {"connection_id":191195,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:38:45] local.INFO: Processing buffer {"connection_id":191195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:38:45] local.INFO: IMEI packet received {"connection_id":191195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":191195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:38:50] local.INFO: TCP Data received {"connection_id":191195,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:38:50] local.INFO: Processing buffer {"connection_id":191195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:38:50] local.INFO: IMEI packet received {"connection_id":191195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":191195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:38:51] local.INFO: TCP Data received {"connection_id":191195,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ab2e48012d1a69400720bc78003400cb2c..."} 
[2026-09-24 14:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ab2e48012d1a69400720bc78003400cb2c..."} 
[2026-09-24 14:38:51] local.INFO: Processing buffer {"connection_id":191195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ab2e48012d1a69400720bc78003400cb2c..."} 
[2026-09-24 14:38:51] local.INFO: Packet analysis {"connection_id":191195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ab"} 
[2026-09-24 14:38:51] local.INFO: Extracted packet for processing {"connection_id":191195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ab"} 
[2026-09-24 14:38:51] local.INFO: GPS Element Parsed {"raw_longitude":756705600,"raw_latitude":119585912,"longitude_deg":75.67056,"latitude_deg":11.9585912,"altitude":52,"angle":203,"satellites":44,"speed":5,"hex_longitude":"2d1a6940","hex_latitude":"0720bc78","is_valid_coordinates":true} 
[2026-09-24 14:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301649152001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22918478067400704,"note":"Value kept but may cause issues"} 
[2026-09-24 14:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902981979411011584,"note":"Value kept but may cause issues"} 
[2026-09-24 14:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790240829000,"timestamp_ms":1790240829000,"timestamp_seconds":1790240829,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ab2e48"} 
[2026-09-24 14:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-24 14:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301649152001,"66":13602,"103":206,"83":41984,"24":5,"16":22918478067400704,"45":1902981979411011584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301649152001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:38:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:38:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22918478067400704,"km_value":22918478067400.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902981979411011584,"description":"Unknown IO ID 45"} 
[2026-09-24 14:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301649152001,"power":13602,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1902981979411011584}} 
[2026-09-24 14:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":191195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:38:51] local.INFO: GPS data processed {"connection_id":191195,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:38:51] local.INFO: Acknowledgment sent {"connection_id":191195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:39:06] local.INFO: TCP Data received {"connection_id":192771,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:39:06] local.INFO: Processing buffer {"connection_id":192771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:39:06] local.INFO: Packet analysis {"connection_id":192771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:39:06] local.INFO: Extracted packet for processing {"connection_id":192771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:39:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301558528001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790240764000,"timestamp_ms":1790240764000,"timestamp_seconds":1790240764,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aa3060"} 
[2026-09-24 14:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 14:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301558528001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301558528001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:39:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:39:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301558528001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":192771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:39:06] local.INFO: GPS data processed {"connection_id":192771,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:39:06] local.INFO: Acknowledgment sent {"connection_id":192771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:39:22] local.INFO: TCP Data received {"connection_id":191195,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ab68e0012d1a6d400720b8380033005c2b..."} 
[2026-09-24 14:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ab68e0012d1a6d400720b8380033005c2b..."} 
[2026-09-24 14:39:22] local.INFO: Processing buffer {"connection_id":191195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ab68e0012d1a6d400720b8380033005c2b..."} 
[2026-09-24 14:39:22] local.INFO: Packet analysis {"connection_id":191195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ab"} 
[2026-09-24 14:39:22] local.INFO: Extracted packet for processing {"connection_id":191195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ab"} 
[2026-09-24 14:39:22] local.INFO: GPS Element Parsed {"raw_longitude":756706624,"raw_latitude":119584824,"longitude_deg":75.6706624,"latitude_deg":11.9584824,"altitude":51,"angle":92,"satellites":43,"speed":6,"hex_longitude":"2d1a6d40","hex_latitude":"0720b838","is_valid_coordinates":true} 
[2026-09-24 14:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301652224001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22918568261713920,"note":"Value kept but may cause issues"} 
[2026-09-24 14:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903122716898916352,"note":"Value kept but may cause issues"} 
[2026-09-24 14:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790240844000,"timestamp_ms":1790240844000,"timestamp_seconds":1790240844,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ab68e0"} 
[2026-09-24 14:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-24 14:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301652224001,"66":13135,"103":206,"83":41984,"24":6,"16":22918568261713920,"45":1903122716898916352},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301652224001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:39:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:39:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22918568261713920,"km_value":22918568261713.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903122716898916352,"description":"Unknown IO ID 45"} 
[2026-09-24 14:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301652224001,"power":13135,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1903122716898916352}} 
[2026-09-24 14:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":191195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:39:22] local.INFO: GPS data processed {"connection_id":191195,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:39:22] local.INFO: Acknowledgment sent {"connection_id":191195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:39:28] local.INFO: TCP Data received {"connection_id":191392,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:39:28] local.INFO: Processing buffer {"connection_id":191392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:39:28] local.INFO: IMEI packet received {"connection_id":191392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":191392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:39:33] local.INFO: TCP Data received {"connection_id":191392,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:39:33] local.INFO: Processing buffer {"connection_id":191392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:39:33] local.INFO: IMEI packet received {"connection_id":191392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":191392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:39:34] local.INFO: TCP Data received {"connection_id":191392,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:39:34] local.INFO: Processing buffer {"connection_id":191392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:39:34] local.INFO: Packet analysis {"connection_id":191392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:39:34] local.INFO: Extracted packet for processing {"connection_id":191392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:39:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301558528001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790240764000,"timestamp_ms":1790240764000,"timestamp_seconds":1790240764,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aa3060"} 
[2026-09-24 14:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 14:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301558528001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301558528001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:39:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:39:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301558528001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":191392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:39:34] local.INFO: GPS data processed {"connection_id":191392,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:39:34] local.INFO: Acknowledgment sent {"connection_id":191392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:39:45] local.INFO: TCP Data received {"connection_id":194047,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:39:45] local.INFO: Processing buffer {"connection_id":194047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:39:45] local.INFO: IMEI packet received {"connection_id":194047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":194047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:39:47] local.INFO: TCP Data received {"connection_id":194047,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:39:47] local.INFO: Processing buffer {"connection_id":194047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:39:47] local.INFO: IMEI packet received {"connection_id":194047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":194047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:39:50] local.INFO: TCP Data received {"connection_id":194047,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:39:50] local.INFO: Processing buffer {"connection_id":194047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:39:50] local.INFO: IMEI packet received {"connection_id":194047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":194047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:39:51] local.INFO: TCP Data received {"connection_id":194047,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ab7498012d1a6f000720b8280033004d2b..."} 
[2026-09-24 14:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ab7498012d1a6f000720b8280033004d2b..."} 
[2026-09-24 14:39:51] local.INFO: Processing buffer {"connection_id":194047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ab7498012d1a6f000720b8280033004d2b..."} 
[2026-09-24 14:39:51] local.INFO: Packet analysis {"connection_id":194047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ab"} 
[2026-09-24 14:39:51] local.INFO: Extracted packet for processing {"connection_id":194047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ab"} 
[2026-09-24 14:39:51] local.INFO: GPS Element Parsed {"raw_longitude":756707072,"raw_latitude":119584808,"longitude_deg":75.6707072,"latitude_deg":11.9584808,"altitude":51,"angle":77,"satellites":43,"speed":7,"hex_longitude":"2d1a6f00","hex_latitude":"0720b828","is_valid_coordinates":true} 
[2026-09-24 14:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301656064001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22918589736550400,"note":"Value kept but may cause issues"} 
[2026-09-24 14:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904248616805480448,"note":"Value kept but may cause issues"} 
[2026-09-24 14:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790240847000,"timestamp_ms":1790240847000,"timestamp_seconds":1790240847,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ab7498"} 
[2026-09-24 14:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-24 14:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301656064001,"66":13080,"103":206,"83":41984,"24":7,"16":22918589736550400,"45":1904248616805480448},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301656064001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:39:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:39:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22918589736550400,"km_value":22918589736550.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904248616805480448,"description":"Unknown IO ID 45"} 
[2026-09-24 14:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301656064001,"power":13080,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1904248616805480448}} 
[2026-09-24 14:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":194047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:39:51] local.INFO: GPS data processed {"connection_id":194047,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:39:51] local.INFO: Acknowledgment sent {"connection_id":194047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:40:06] local.INFO: TCP Data received {"connection_id":191392,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:40:06] local.INFO: Processing buffer {"connection_id":191392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:40:06] local.INFO: Packet analysis {"connection_id":191392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:40:06] local.INFO: Extracted packet for processing {"connection_id":191392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:40:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301558528001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790240764000,"timestamp_ms":1790240764000,"timestamp_seconds":1790240764,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aa3060"} 
[2026-09-24 14:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 14:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301558528001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301558528001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:40:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:40:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301558528001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":191392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:40:06] local.INFO: GPS data processed {"connection_id":191392,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:40:06] local.INFO: Acknowledgment sent {"connection_id":191392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:40:22] local.INFO: TCP Data received {"connection_id":194047,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ab7c68012d1a70800720b8000033005a2b..."} 
[2026-09-24 14:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ab7c68012d1a70800720b8000033005a2b..."} 
[2026-09-24 14:40:22] local.INFO: Processing buffer {"connection_id":194047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ab7c68012d1a70800720b8000033005a2b..."} 
[2026-09-24 14:40:22] local.INFO: Packet analysis {"connection_id":194047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ab"} 
[2026-09-24 14:40:22] local.INFO: Extracted packet for processing {"connection_id":194047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ab"} 
[2026-09-24 14:40:22] local.INFO: GPS Element Parsed {"raw_longitude":756707456,"raw_latitude":119584768,"longitude_deg":75.6707456,"latitude_deg":11.9584768,"altitude":51,"angle":90,"satellites":43,"speed":6,"hex_longitude":"2d1a7080","hex_latitude":"0720b800","is_valid_coordinates":true} 
[2026-09-24 14:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301656832001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22918606916419584,"note":"Value kept but may cause issues"} 
[2026-09-24 14:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904741198014720000,"note":"Value kept but may cause issues"} 
[2026-09-24 14:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790240849000,"timestamp_ms":1790240849000,"timestamp_seconds":1790240849,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ab7c68"} 
[2026-09-24 14:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-24 14:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301656832001,"66":12722,"103":206,"83":41984,"24":6,"16":22918606916419584,"45":1904741198014720000},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301656832001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:40:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:40:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22918606916419584,"km_value":22918606916419.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904741198014720000,"description":"Unknown IO ID 45"} 
[2026-09-24 14:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301656832001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1904741198014720000}} 
[2026-09-24 14:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":194047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:40:22] local.INFO: GPS data processed {"connection_id":194047,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:40:22] local.INFO: Acknowledgment sent {"connection_id":194047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:40:33] local.INFO: TCP Data received {"connection_id":192773,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:40:33] local.INFO: Processing buffer {"connection_id":192773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:40:33] local.INFO: IMEI packet received {"connection_id":192773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":192773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:40:38] local.INFO: TCP Data received {"connection_id":192773,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:40:38] local.INFO: Processing buffer {"connection_id":192773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:40:38] local.INFO: IMEI packet received {"connection_id":192773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":192773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:40:39] local.INFO: TCP Data received {"connection_id":192773,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:40:39] local.INFO: Processing buffer {"connection_id":192773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:40:39] local.INFO: Packet analysis {"connection_id":192773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:40:39] local.INFO: Extracted packet for processing {"connection_id":192773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:40:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301558528001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790240764000,"timestamp_ms":1790240764000,"timestamp_seconds":1790240764,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aa3060"} 
[2026-09-24 14:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 14:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301558528001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301558528001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:40:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:40:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301558528001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":192773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:40:39] local.INFO: GPS data processed {"connection_id":192773,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:40:39] local.INFO: Acknowledgment sent {"connection_id":192773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:40:44] local.INFO: TCP Data received {"connection_id":192773,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:40:44] local.INFO: Processing buffer {"connection_id":192773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:40:44] local.INFO: Packet analysis {"connection_id":192773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:40:44] local.INFO: Extracted packet for processing {"connection_id":192773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:40:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301558528001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790240764000,"timestamp_ms":1790240764000,"timestamp_seconds":1790240764,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aa3060"} 
[2026-09-24 14:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 14:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301558528001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301558528001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:40:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:40:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301558528001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":192773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:40:44] local.INFO: GPS data processed {"connection_id":192773,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:40:44] local.INFO: Acknowledgment sent {"connection_id":192773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:40:45] local.INFO: TCP Data received {"connection_id":191393,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:40:45] local.INFO: Processing buffer {"connection_id":191393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:40:45] local.INFO: IMEI packet received {"connection_id":191393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":191393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:40:50] local.INFO: TCP Data received {"connection_id":191393,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:40:50] local.INFO: Processing buffer {"connection_id":191393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:40:50] local.INFO: IMEI packet received {"connection_id":191393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":191393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:40:51] local.INFO: TCP Data received {"connection_id":191393,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2abbae8012d1a74000720b4c80031016028..."} 
[2026-09-24 14:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2abbae8012d1a74000720b4c80031016028..."} 
[2026-09-24 14:40:51] local.INFO: Processing buffer {"connection_id":191393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2abbae8012d1a74000720b4c80031016028..."} 
[2026-09-24 14:40:51] local.INFO: Packet analysis {"connection_id":191393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ab"} 
[2026-09-24 14:40:51] local.INFO: Extracted packet for processing {"connection_id":191393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ab"} 
[2026-09-24 14:40:51] local.INFO: GPS Element Parsed {"raw_longitude":756708352,"raw_latitude":119583944,"longitude_deg":75.6708352,"latitude_deg":11.9583944,"altitude":49,"angle":352,"satellites":40,"speed":4,"hex_longitude":"2d1a7400","hex_latitude":"0720b4c8","is_valid_coordinates":true} 
[2026-09-24 14:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301657344001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22918684225830912,"note":"Value kept but may cause issues"} 
[2026-09-24 14:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1905163410479775744,"note":"Value kept but may cause issues"} 
[2026-09-24 14:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790240865000,"timestamp_ms":1790240865000,"timestamp_seconds":1790240865,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2abbae8"} 
[2026-09-24 14:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 14:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301657344001,"66":12939,"103":206,"83":41984,"24":4,"16":22918684225830912,"45":1905163410479775744},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301657344001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:40:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:40:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22918684225830912,"km_value":22918684225830.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1905163410479775744,"description":"Unknown IO ID 45"} 
[2026-09-24 14:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301657344001,"power":12939,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1905163410479775744}} 
[2026-09-24 14:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":191393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:40:51] local.INFO: GPS data processed {"connection_id":191393,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:40:51] local.INFO: Acknowledgment sent {"connection_id":191393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:41:22] local.INFO: TCP Data received {"connection_id":191393,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ac0cf0012d1a74000720b5800030016727..."} 
[2026-09-24 14:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ac0cf0012d1a74000720b5800030016727..."} 
[2026-09-24 14:41:22] local.INFO: Processing buffer {"connection_id":191393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ac0cf0012d1a74000720b5800030016727..."} 
[2026-09-24 14:41:22] local.INFO: Packet analysis {"connection_id":191393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ac"} 
[2026-09-24 14:41:22] local.INFO: Extracted packet for processing {"connection_id":191393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ac"} 
[2026-09-24 14:41:22] local.INFO: GPS Element Parsed {"raw_longitude":756708352,"raw_latitude":119584128,"longitude_deg":75.6708352,"latitude_deg":11.9584128,"altitude":48,"angle":359,"satellites":39,"speed":0,"hex_longitude":"2d1a7400","hex_latitude":"0720b580","is_valid_coordinates":true} 
[2026-09-24 14:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301661440001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22918692815765504,"note":"Value kept but may cause issues"} 
[2026-09-24 14:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906148572898052096,"note":"Value kept but may cause issues"} 
[2026-09-24 14:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790240886000,"timestamp_ms":1790240886000,"timestamp_seconds":1790240886,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ac0cf0"} 
[2026-09-24 14:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-24 14:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301661440001,"66":12298,"103":206,"83":41984,"24":0,"16":22918692815765504,"45":1906148572898052096},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301661440001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:41:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:41:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22918692815765504,"km_value":22918692815765.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906148572898052096,"description":"Unknown IO ID 45"} 
[2026-09-24 14:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301661440001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906148572898052096}} 
[2026-09-24 14:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":191393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:41:22] local.INFO: GPS data processed {"connection_id":191393,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:41:22] local.INFO: Acknowledgment sent {"connection_id":191393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:41:28] local.INFO: TCP Data received {"connection_id":194049,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:41:28] local.INFO: Processing buffer {"connection_id":194049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:41:28] local.INFO: IMEI packet received {"connection_id":194049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":194049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:41:33] local.INFO: TCP Data received {"connection_id":194049,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:41:33] local.INFO: Processing buffer {"connection_id":194049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:41:33] local.INFO: IMEI packet received {"connection_id":194049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":194049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:41:35] local.INFO: TCP Data received {"connection_id":194049,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:41:35] local.INFO: Processing buffer {"connection_id":194049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aa3060012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:41:35] local.INFO: Packet analysis {"connection_id":194049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:41:35] local.INFO: Extracted packet for processing {"connection_id":194049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2aa"} 
[2026-09-24 14:41:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301558528001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790240764000,"timestamp_ms":1790240764000,"timestamp_seconds":1790240764,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aa3060"} 
[2026-09-24 14:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 14:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301558528001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301558528001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:41:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:41:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301558528001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":194049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:41:35] local.INFO: GPS data processed {"connection_id":194049,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:41:35] local.INFO: Acknowledgment sent {"connection_id":194049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:41:45] local.INFO: TCP Data received {"connection_id":192774,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:41:45] local.INFO: Processing buffer {"connection_id":192774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:41:45] local.INFO: IMEI packet received {"connection_id":192774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":192774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:41:50] local.INFO: TCP Data received {"connection_id":192774,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:41:50] local.INFO: Processing buffer {"connection_id":192774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:41:50] local.INFO: IMEI packet received {"connection_id":192774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":192774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:41:51] local.INFO: TCP Data received {"connection_id":192774,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ac5ef8012d1a74000720b5800030016728..."} 
[2026-09-24 14:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ac5ef8012d1a74000720b5800030016728..."} 
[2026-09-24 14:41:51] local.INFO: Processing buffer {"connection_id":192774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ac5ef8012d1a74000720b5800030016728..."} 
[2026-09-24 14:41:51] local.INFO: Packet analysis {"connection_id":192774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ac"} 
[2026-09-24 14:41:51] local.INFO: Extracted packet for processing {"connection_id":192774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ac"} 
[2026-09-24 14:41:51] local.INFO: GPS Element Parsed {"raw_longitude":756708352,"raw_latitude":119584128,"longitude_deg":75.6708352,"latitude_deg":11.9584128,"altitude":48,"angle":359,"satellites":40,"speed":0,"hex_longitude":"2d1a7400","hex_latitude":"0720b580","is_valid_coordinates":true} 
[2026-09-24 14:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301666816001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22918692815765504,"note":"Value kept but may cause issues"} 
[2026-09-24 14:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906148572898099200,"note":"Value kept but may cause issues"} 
[2026-09-24 14:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790240907000,"timestamp_ms":1790240907000,"timestamp_seconds":1790240907,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ac5ef8"} 
[2026-09-24 14:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-24 14:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-24 14:41:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263126416896,"note":"Value kept but may cause issues"} 
[2026-09-24 14:41:51] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185681,"note":"Value kept but may cause issues"} 
[2026-09-24 14:41:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 14:41:51] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2882303761517117441,"note":"Value kept but may cause issues"} 
[2026-09-24 14:41:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3266595066953786773,"note":"Value kept but may cause issues"} 
[2026-09-24 14:41:51] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832591,"note":"Value kept but may cause issues"} 
[2026-09-24 14:41:51] local.WARNING: Large IO value detected {"io_id":66,"raw_value":4042825972983464142,"note":"Value kept but may cause issues"} 
[2026-09-24 14:41:51] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513639468259541192,"note":"Value kept but may cause issues"} 
[2026-09-24 14:41:51] local.WARNING: Large IO value detected {"io_id":43,"raw_value":2814749767761924,"note":"Value kept but may cause issues"} 
[2026-09-24 14:41:51] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2875777025,"note":"Value kept but may cause issues"} 
[2026-09-24 14:41:51] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3090677811,"note":"Value kept but may cause issues"} 
[2026-09-24 14:41:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-24 14:41:51] local.WARNING: Large IO value detected {"io_id":54,"raw_value":53246049682194432,"note":"Value kept but may cause issues"} 
[2026-09-24 14:41:51] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,108,160,186,45,180,49,40,10,66,124,128,184,51,43,116,1,240,227,210,32,4,113,205,6,46,105,120,44,239,53,2,81,7,54],"length":534,"final_offset":664,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-24 14:41:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3459159405998637056,"timestamp_seconds":3459159405998637.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 14:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301666816001,"66":12548,"103":206,"83":41984,"24":0,"16":22918692815765504,"45":1906148572898099200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301666816001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:41:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:41:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22918692815765504,"km_value":22918692815765.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906148572898099200,"description":"Unknown IO ID 45"} 
[2026-09-24 14:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301666816001,"power":12548,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906148572898099200}} 
[2026-09-24 14:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":192774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:41:51] local.INFO: GPS data processed {"connection_id":192774,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:41:51] local.INFO: Acknowledgment sent {"connection_id":192774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:42:06] local.INFO: TCP Data received {"connection_id":194049,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:42:06] local.INFO: Processing buffer {"connection_id":194049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:42:06] local.INFO: Packet analysis {"connection_id":194049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ae"} 
[2026-09-24 14:42:06] local.INFO: Extracted packet for processing {"connection_id":194049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ae"} 
[2026-09-24 14:42:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301635584001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790241065000,"timestamp_ms":1790241065000,"timestamp_seconds":1790241065,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aec828"} 
[2026-09-24 14:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301635584001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301635584001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:42:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:42:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301635584001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":194049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:42:06] local.INFO: GPS data processed {"connection_id":194049,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:42:06] local.INFO: Acknowledgment sent {"connection_id":194049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:42:22] local.INFO: TCP Data received {"connection_id":192774,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2acb100012d1a74000720b5800030016726..."} 
[2026-09-24 14:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2acb100012d1a74000720b5800030016726..."} 
[2026-09-24 14:42:22] local.INFO: Processing buffer {"connection_id":192774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2acb100012d1a74000720b5800030016726..."} 
[2026-09-24 14:42:22] local.INFO: Packet analysis {"connection_id":192774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ac"} 
[2026-09-24 14:42:22] local.INFO: Extracted packet for processing {"connection_id":192774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ac"} 
[2026-09-24 14:42:22] local.INFO: GPS Element Parsed {"raw_longitude":756708352,"raw_latitude":119584128,"longitude_deg":75.6708352,"latitude_deg":11.9584128,"altitude":48,"angle":359,"satellites":38,"speed":0,"hex_longitude":"2d1a7400","hex_latitude":"0720b580","is_valid_coordinates":true} 
[2026-09-24 14:42: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-09-24 14:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301672192001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22918692815765504,"note":"Value kept but may cause issues"} 
[2026-09-24 14:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906148572898099200,"note":"Value kept but may cause issues"} 
[2026-09-24 14:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790240928000,"timestamp_ms":1790240928000,"timestamp_seconds":1790240928,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2acb100"} 
[2026-09-24 14:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 14:42:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 14:42:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 14:42:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3534433864,"note":"Value kept but may cause issues"} 
[2026-09-24 14:42:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184266105037,"note":"Value kept but may cause issues"} 
[2026-09-24 14:42:22] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2876545025,"note":"Value kept but may cause issues"} 
[2026-09-24 14:42:22] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3089629235,"note":"Value kept but may cause issues"} 
[2026-09-24 14:42:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-24 14:42:22] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3758173466,"note":"Value kept but may cause issues"} 
[2026-09-24 14:42:22] local.WARNING: Large IO value detected {"io_id":5,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-24 14:42:22] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-09-24 14:42:22] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,103,83,24,241,157,16,108,160,12,45,181,48,39,10,66,186,180,49,40,124,128,1,240,178,227,210,32,4,113,205,7,104,109,56,43,239,51,2,81,52,5,120],"length":485,"final_offset":615,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-24 14:42:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3459159410293604352,"timestamp_seconds":3459159410293604.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 14:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301672192001,"66":12461,"103":206,"83":41984,"24":0,"16":22918692815765504,"45":1906148572898099200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301672192001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:42:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:42:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22918692815765504,"km_value":22918692815765.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906148572898099200,"description":"Unknown IO ID 45"} 
[2026-09-24 14:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301672192001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906148572898099200}} 
[2026-09-24 14:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":192774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:42:22] local.INFO: GPS data processed {"connection_id":192774,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:42:22] local.INFO: Acknowledgment sent {"connection_id":192774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:42:28] local.INFO: TCP Data received {"connection_id":191394,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:42:28] local.INFO: Processing buffer {"connection_id":191394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:42:28] local.INFO: IMEI packet received {"connection_id":191394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":191394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:42:33] local.INFO: TCP Data received {"connection_id":191394,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:42:33] local.INFO: Processing buffer {"connection_id":191394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:42:33] local.INFO: IMEI packet received {"connection_id":191394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":191394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:42:35] local.INFO: TCP Data received {"connection_id":191394,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:42:35] local.INFO: Processing buffer {"connection_id":191394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:42:35] local.INFO: Packet analysis {"connection_id":191394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ae"} 
[2026-09-24 14:42:35] local.INFO: Extracted packet for processing {"connection_id":191394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ae"} 
[2026-09-24 14:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301635584001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790241065000,"timestamp_ms":1790241065000,"timestamp_seconds":1790241065,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aec828"} 
[2026-09-24 14:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301635584001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301635584001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:42:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:42:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301635584001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":191394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:42:35] local.INFO: GPS data processed {"connection_id":191394,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:42:35] local.INFO: Acknowledgment sent {"connection_id":191394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:42:37] local.INFO: TCP Data received {"connection_id":194050,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:42:37] local.INFO: Processing buffer {"connection_id":194050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:42:37] local.INFO: IMEI packet received {"connection_id":194050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 14:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":194050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:42:45] local.INFO: TCP Data received {"connection_id":194051,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:42:45] local.INFO: Processing buffer {"connection_id":194051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:42:45] local.INFO: IMEI packet received {"connection_id":194051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":194051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:42:47] local.INFO: TCP Data received {"connection_id":194051,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:42:47] local.INFO: Processing buffer {"connection_id":194051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:42:47] local.INFO: IMEI packet received {"connection_id":194051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":194051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:42:51] local.INFO: TCP Data received {"connection_id":194051,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:42:51] local.INFO: Processing buffer {"connection_id":194051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:42:51] local.INFO: IMEI packet received {"connection_id":194051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":194051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:42:51] local.INFO: TCP Data received {"connection_id":194051,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ad0308012d1a74000720b5800030016721..."} 
[2026-09-24 14:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ad0308012d1a74000720b5800030016721..."} 
[2026-09-24 14:42:51] local.INFO: Processing buffer {"connection_id":194051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ad0308012d1a74000720b5800030016721..."} 
[2026-09-24 14:42:51] local.INFO: Packet analysis {"connection_id":194051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ad"} 
[2026-09-24 14:42:51] local.INFO: Extracted packet for processing {"connection_id":194051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ad"} 
[2026-09-24 14:42:51] local.INFO: GPS Element Parsed {"raw_longitude":756708352,"raw_latitude":119584128,"longitude_deg":75.6708352,"latitude_deg":11.9584128,"altitude":48,"angle":359,"satellites":33,"speed":0,"hex_longitude":"2d1a7400","hex_latitude":"0720b580","is_valid_coordinates":true} 
[2026-09-24 14:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301677568001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22918692815765504,"note":"Value kept but may cause issues"} 
[2026-09-24 14:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906148572898099200,"note":"Value kept but may cause issues"} 
[2026-09-24 14:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790240949000,"timestamp_ms":1790240949000,"timestamp_seconds":1790240949,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ad0308"} 
[2026-09-24 14:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 14:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301677568001,"66":12363,"103":206,"83":41984,"24":0,"16":22918692815765504,"45":1906148572898099200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301677568001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:42:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:42:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22918692815765504,"km_value":22918692815765.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906148572898099200,"description":"Unknown IO ID 45"} 
[2026-09-24 14:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301677568001,"power":12363,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906148572898099200}} 
[2026-09-24 14:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":194051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:42:51] local.INFO: GPS data processed {"connection_id":194051,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:42:51] local.INFO: Acknowledgment sent {"connection_id":194051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:43:06] local.INFO: TCP Data received {"connection_id":191394,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:43:06] local.INFO: Processing buffer {"connection_id":191394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:43:06] local.INFO: Packet analysis {"connection_id":191394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ae"} 
[2026-09-24 14:43:06] local.INFO: Extracted packet for processing {"connection_id":191394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ae"} 
[2026-09-24 14:43:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301635584001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790241065000,"timestamp_ms":1790241065000,"timestamp_seconds":1790241065,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aec828"} 
[2026-09-24 14:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301635584001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301635584001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:43:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:43:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301635584001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":191394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:43:06] local.INFO: GPS data processed {"connection_id":191394,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:43:06] local.INFO: Acknowledgment sent {"connection_id":191394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:43:08] local.INFO: TCP Data received {"connection_id":191395,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:43:08] local.INFO: Processing buffer {"connection_id":191395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:43:08] local.INFO: IMEI packet received {"connection_id":191395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 14:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":191395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:43:22] local.INFO: TCP Data received {"connection_id":194051,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b03b40012d1a6b400720bd68003b000a2b..."} 
[2026-09-24 14:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b03b40012d1a6b400720bd68003b000a2b..."} 
[2026-09-24 14:43:22] local.INFO: Processing buffer {"connection_id":194051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b03b40012d1a6b400720bd68003b000a2b..."} 
[2026-09-24 14:43:22] local.INFO: Packet analysis {"connection_id":194051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b0"} 
[2026-09-24 14:43:22] local.INFO: Extracted packet for processing {"connection_id":194051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b0"} 
[2026-09-24 14:43:22] local.INFO: GPS Element Parsed {"raw_longitude":756706112,"raw_latitude":119586152,"longitude_deg":75.6706112,"latitude_deg":11.9586152,"altitude":59,"angle":10,"satellites":43,"speed":5,"hex_longitude":"2d1a6b40","hex_latitude":"0720bd68","is_valid_coordinates":true} 
[2026-09-24 14:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301736704001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22918886089293824,"note":"Value kept but may cause issues"} 
[2026-09-24 14:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903685666852372480,"note":"Value kept but may cause issues"} 
[2026-09-24 14:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790241160000,"timestamp_ms":1790241160000,"timestamp_seconds":1790241160,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b03b40"} 
[2026-09-24 14:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-24 14:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301736704001,"66":13928,"103":206,"83":41984,"24":5,"16":22918886089293824,"45":1903685666852372480},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301736704001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:43:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:43:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22918886089293824,"km_value":22918886089293.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903685666852372480,"description":"Unknown IO ID 45"} 
[2026-09-24 14:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301736704001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1903685666852372480}} 
[2026-09-24 14:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":194051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:43:23] local.INFO: GPS data processed {"connection_id":194051,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:43:23] local.INFO: Acknowledgment sent {"connection_id":194051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:43:28] local.INFO: TCP Data received {"connection_id":191396,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:43:28] local.INFO: Processing buffer {"connection_id":191396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:43:28] local.INFO: IMEI packet received {"connection_id":191396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":191396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:43:33] local.INFO: TCP Data received {"connection_id":191396,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:43:33] local.INFO: Processing buffer {"connection_id":191396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:43:33] local.INFO: IMEI packet received {"connection_id":191396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":191396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:43:34] local.INFO: TCP Data received {"connection_id":191396,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:43:34] local.INFO: Processing buffer {"connection_id":191396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:43:34] local.INFO: Packet analysis {"connection_id":191396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ae"} 
[2026-09-24 14:43:34] local.INFO: Extracted packet for processing {"connection_id":191396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ae"} 
[2026-09-24 14:43:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301635584001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790241065000,"timestamp_ms":1790241065000,"timestamp_seconds":1790241065,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aec828"} 
[2026-09-24 14:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301635584001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301635584001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:43:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:43:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301635584001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":191396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:43:34] local.INFO: GPS data processed {"connection_id":191396,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:43:34] local.INFO: Acknowledgment sent {"connection_id":191396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:43:49] local.INFO: TCP Data received {"connection_id":192775,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:43:49] local.INFO: Processing buffer {"connection_id":192775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:43:49] local.INFO: IMEI packet received {"connection_id":192775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":192775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:43:50] local.INFO: TCP Data received {"connection_id":192775,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:43:50] local.INFO: Processing buffer {"connection_id":192775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:43:50] local.INFO: IMEI packet received {"connection_id":192775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":192775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:43:55] local.INFO: TCP Data received {"connection_id":192775,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:43:55] local.INFO: Processing buffer {"connection_id":192775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:43:55] local.INFO: IMEI packet received {"connection_id":192775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":192775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:43:56] local.INFO: TCP Data received {"connection_id":192775,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b03f28012d1a6b400720bde8003c01642b..."} 
[2026-09-24 14:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b03f28012d1a6b400720bde8003c01642b..."} 
[2026-09-24 14:43:56] local.INFO: Processing buffer {"connection_id":192775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b03f28012d1a6b400720bde8003c01642b..."} 
[2026-09-24 14:43:56] local.INFO: Packet analysis {"connection_id":192775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b0"} 
[2026-09-24 14:43:56] local.INFO: Extracted packet for processing {"connection_id":192775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b0"} 
[2026-09-24 14:43:56] local.INFO: GPS Element Parsed {"raw_longitude":756706112,"raw_latitude":119586280,"longitude_deg":75.6706112,"latitude_deg":11.958628,"altitude":60,"angle":356,"satellites":43,"speed":5,"hex_longitude":"2d1a6b40","hex_latitude":"0720bde8","is_valid_coordinates":true} 
[2026-09-24 14:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301736960001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22918894679228416,"note":"Value kept but may cause issues"} 
[2026-09-24 14:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903685666852399104,"note":"Value kept but may cause issues"} 
[2026-09-24 14:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790241161000,"timestamp_ms":1790241161000,"timestamp_seconds":1790241161,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b03f28"} 
[2026-09-24 14:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:43:56] 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-09-24 14:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-24 14:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301736960001,"66":13928,"103":206,"83":41984,"24":5,"16":22918894679228416,"45":1903685666852399104},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301736960001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:43:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:43:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22918894679228416,"km_value":22918894679228.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903685666852399104,"description":"Unknown IO ID 45"} 
[2026-09-24 14:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301736960001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1903685666852399104}} 
[2026-09-24 14:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":192775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:43:56] local.INFO: GPS data processed {"connection_id":192775,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:43:56] local.INFO: Acknowledgment sent {"connection_id":192775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:43:57] local.INFO: TCP Data received {"connection_id":192775,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b04ae0012d1a6b400720bf60003e000a2b..."} 
[2026-09-24 14:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b04ae0012d1a6b400720bf60003e000a2b..."} 
[2026-09-24 14:43:57] local.INFO: Processing buffer {"connection_id":192775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b04ae0012d1a6b400720bf60003e000a2b..."} 
[2026-09-24 14:43:57] local.INFO: Packet analysis {"connection_id":192775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b0"} 
[2026-09-24 14:43:57] local.INFO: Extracted packet for processing {"connection_id":192775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b0"} 
[2026-09-24 14:43:57] local.INFO: GPS Element Parsed {"raw_longitude":756706112,"raw_latitude":119586656,"longitude_deg":75.6706112,"latitude_deg":11.9586656,"altitude":62,"angle":10,"satellites":43,"speed":5,"hex_longitude":"2d1a6b40","hex_latitude":"0720bf60","is_valid_coordinates":true} 
[2026-09-24 14:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301737216001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22918911859097600,"note":"Value kept but may cause issues"} 
[2026-09-24 14:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903685666852431872,"note":"Value kept but may cause issues"} 
[2026-09-24 14:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790241164000,"timestamp_ms":1790241164000,"timestamp_seconds":1790241164,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b04ae0"} 
[2026-09-24 14:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:43: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-09-24 14:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-24 14:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":192775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":192775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":192775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301737216001,"66":14189,"103":206,"83":41984,"24":5,"16":22918911859097600,"45":1903685666852431872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301737216001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:43:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:43:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22918911859097600,"km_value":22918911859097.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903685666852431872,"description":"Unknown IO ID 45"} 
[2026-09-24 14:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301737216001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1903685666852431872}} 
[2026-09-24 14:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":192775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:43:57] local.INFO: GPS data processed {"connection_id":192775,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:43:57] local.INFO: Acknowledgment sent {"connection_id":192775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:44:06] local.INFO: TCP Data received {"connection_id":191396,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:44:06] local.INFO: Processing buffer {"connection_id":191396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:44:06] local.INFO: Packet analysis {"connection_id":191396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ae"} 
[2026-09-24 14:44:06] local.INFO: Extracted packet for processing {"connection_id":191396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ae"} 
[2026-09-24 14:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301635584001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790241065000,"timestamp_ms":1790241065000,"timestamp_seconds":1790241065,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aec828"} 
[2026-09-24 14:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301635584001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301635584001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:44:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:44:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301635584001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":191396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:44:06] local.INFO: GPS data processed {"connection_id":191396,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:44:06] local.INFO: Acknowledgment sent {"connection_id":191396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:44:28] local.INFO: TCP Data received {"connection_id":194052,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:44:28] local.INFO: Processing buffer {"connection_id":194052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:44:28] local.INFO: IMEI packet received {"connection_id":194052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":194052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:44:28] local.INFO: TCP Data received {"connection_id":192775,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b13540012d1a3e400720f4c8003b00ee2b..."} 
[2026-09-24 14:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b13540012d1a3e400720f4c8003b00ee2b..."} 
[2026-09-24 14:44:28] local.INFO: Processing buffer {"connection_id":192775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b13540012d1a3e400720f4c8003b00ee2b..."} 
[2026-09-24 14:44:28] local.INFO: Packet analysis {"connection_id":192775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b1"} 
[2026-09-24 14:44:28] local.INFO: Extracted packet for processing {"connection_id":192775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b1"} 
[2026-09-24 14:44:28] local.INFO: GPS Element Parsed {"raw_longitude":756694592,"raw_latitude":119600328,"longitude_deg":75.6694592,"latitude_deg":11.9600328,"altitude":59,"angle":238,"satellites":43,"speed":12,"hex_longitude":"2d1a3e40","hex_latitude":"0720f4c8","is_valid_coordinates":true} 
[2026-09-24 14:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301753088001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22919891111641088,"note":"Value kept but may cause issues"} 
[2026-09-24 14:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891300767880792064,"note":"Value kept but may cause issues"} 
[2026-09-24 14:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790241224000,"timestamp_ms":1790241224000,"timestamp_seconds":1790241224,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b13540"} 
[2026-09-24 14:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:44: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-09-24 14:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-24 14:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301753088001,"66":14233,"103":206,"83":41984,"24":12,"16":22919891111641088,"45":1891300767880792064},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301753088001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:44:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:44:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22919891111641088,"km_value":22919891111641.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891300767880792064,"description":"Unknown IO ID 45"} 
[2026-09-24 14:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301753088001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1891300767880792064}} 
[2026-09-24 14:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":192775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:44:28] local.INFO: GPS data processed {"connection_id":192775,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:44:28] local.INFO: Acknowledgment sent {"connection_id":192775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:44:33] local.INFO: TCP Data received {"connection_id":194052,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:44:33] local.INFO: Processing buffer {"connection_id":194052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:44:33] local.INFO: IMEI packet received {"connection_id":194052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":194052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:44:35] local.INFO: TCP Data received {"connection_id":194052,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:44:35] local.INFO: Processing buffer {"connection_id":194052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:44:35] local.INFO: Packet analysis {"connection_id":194052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ae"} 
[2026-09-24 14:44:35] local.INFO: Extracted packet for processing {"connection_id":194052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ae"} 
[2026-09-24 14:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 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-09-24 14:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301635584001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790241065000,"timestamp_ms":1790241065000,"timestamp_seconds":1790241065,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aec828"} 
[2026-09-24 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-09-24 14:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 14:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301635584001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301635584001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:44:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:44:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301635584001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":194052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:44:35] local.INFO: GPS data processed {"connection_id":194052,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:44:35] local.INFO: Acknowledgment sent {"connection_id":194052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:44:45] local.INFO: TCP Data received {"connection_id":192776,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:44:45] local.INFO: Processing buffer {"connection_id":192776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:44:45] local.INFO: IMEI packet received {"connection_id":192776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":192776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:44:50] local.INFO: TCP Data received {"connection_id":192776,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:44:50] local.INFO: Processing buffer {"connection_id":192776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:44:50] local.INFO: IMEI packet received {"connection_id":192776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":192776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:44:51] local.INFO: TCP Data received {"connection_id":192776,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b13928012d1a3d000720f3d8003b00e02b..."} 
[2026-09-24 14:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b13928012d1a3d000720f3d8003b00e02b..."} 
[2026-09-24 14:44:51] local.INFO: Processing buffer {"connection_id":192776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b13928012d1a3d000720f3d8003b00e02b..."} 
[2026-09-24 14:44:51] local.INFO: Packet analysis {"connection_id":192776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b1"} 
[2026-09-24 14:44:51] local.INFO: Extracted packet for processing {"connection_id":192776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b1"} 
[2026-09-24 14:44:51] local.INFO: GPS Element Parsed {"raw_longitude":756694272,"raw_latitude":119600088,"longitude_deg":75.6694272,"latitude_deg":11.9600088,"altitude":59,"angle":224,"satellites":43,"speed":15,"hex_longitude":"2d1a3d00","hex_latitude":"0720f3d8","is_valid_coordinates":true} 
[2026-09-24 14:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301753344001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22919912586477568,"note":"Value kept but may cause issues"} 
[2026-09-24 14:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891019292904048640,"note":"Value kept but may cause issues"} 
[2026-09-24 14:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790241225000,"timestamp_ms":1790241225000,"timestamp_seconds":1790241225,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b13928"} 
[2026-09-24 14:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-24 14:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301753344001,"66":14233,"103":206,"83":41984,"24":15,"16":22919912586477568,"45":1891019292904048640},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301753344001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:44:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:44:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22919912586477568,"km_value":22919912586477.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891019292904048640,"description":"Unknown IO ID 45"} 
[2026-09-24 14:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301753344001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1891019292904048640}} 
[2026-09-24 14:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":192776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:44:51] local.INFO: GPS data processed {"connection_id":192776,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:44:51] local.INFO: Acknowledgment sent {"connection_id":192776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:44:52] local.INFO: TCP Data received {"connection_id":192776,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b140f8012d1a3ac00720f0f0003b00d02b..."} 
[2026-09-24 14:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b140f8012d1a3ac00720f0f0003b00d02b..."} 
[2026-09-24 14:44:52] local.INFO: Processing buffer {"connection_id":192776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b140f8012d1a3ac00720f0f0003b00d02b..."} 
[2026-09-24 14:44:52] local.INFO: Packet analysis {"connection_id":192776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b1"} 
[2026-09-24 14:44:52] local.INFO: Extracted packet for processing {"connection_id":192776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b1"} 
[2026-09-24 14:44:52] local.INFO: GPS Element Parsed {"raw_longitude":756693696,"raw_latitude":119599344,"longitude_deg":75.6693696,"latitude_deg":11.9599344,"altitude":59,"angle":208,"satellites":43,"speed":19,"hex_longitude":"2d1a3ac0","hex_latitude":"0720f0f0","is_valid_coordinates":true} 
[2026-09-24 14:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301753600001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22919955536150528,"note":"Value kept but may cause issues"} 
[2026-09-24 14:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890667449183098880,"note":"Value kept but may cause issues"} 
[2026-09-24 14:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790241227000,"timestamp_ms":1790241227000,"timestamp_seconds":1790241227,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b140f8"} 
[2026-09-24 14:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-24 14:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":192776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":192776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":192776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301753600001,"66":13656,"103":206,"83":41984,"24":19,"16":22919955536150528,"45":1890667449183098880},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301753600001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:44:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:44:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22919955536150528,"km_value":22919955536150.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890667449183098880,"description":"Unknown IO ID 45"} 
[2026-09-24 14:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301753600001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1890667449183098880}} 
[2026-09-24 14:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":192776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:44:52] local.INFO: GPS data processed {"connection_id":192776,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:44:52] local.INFO: Acknowledgment sent {"connection_id":192776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:45:06] local.INFO: TCP Data received {"connection_id":194052,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:45:06] local.INFO: Processing buffer {"connection_id":194052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:45:06] local.INFO: Packet analysis {"connection_id":194052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ae"} 
[2026-09-24 14:45:06] local.INFO: Extracted packet for processing {"connection_id":194052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ae"} 
[2026-09-24 14:45:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301635584001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790241065000,"timestamp_ms":1790241065000,"timestamp_seconds":1790241065,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aec828"} 
[2026-09-24 14:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301635584001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301635584001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:45:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:45:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301635584001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":194052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:45:06] local.INFO: GPS data processed {"connection_id":194052,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:45:06] local.INFO: Acknowledgment sent {"connection_id":194052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:45:23] local.INFO: TCP Data received {"connection_id":192776,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b16fd8012d1a2e400720d890003900de2b..."} 
[2026-09-24 14:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b16fd8012d1a2e400720d890003900de2b..."} 
[2026-09-24 14:45:23] local.INFO: Processing buffer {"connection_id":192776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b16fd8012d1a2e400720d890003900de2b..."} 
[2026-09-24 14:45:23] local.INFO: Packet analysis {"connection_id":192776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b1"} 
[2026-09-24 14:45:23] local.INFO: Extracted packet for processing {"connection_id":192776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b1"} 
[2026-09-24 14:45:23] local.INFO: GPS Element Parsed {"raw_longitude":756690496,"raw_latitude":119593104,"longitude_deg":75.6690496,"latitude_deg":11.9593104,"altitude":57,"angle":222,"satellites":43,"speed":24,"hex_longitude":"2d1a2e40","hex_latitude":"0720d890","is_valid_coordinates":true} 
[2026-09-24 14:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301754112001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22920294838566912,"note":"Value kept but may cause issues"} 
[2026-09-24 14:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890034130485309440,"note":"Value kept but may cause issues"} 
[2026-09-24 14:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790241239000,"timestamp_ms":1790241239000,"timestamp_seconds":1790241239,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b16fd8"} 
[2026-09-24 14:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-24 14:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301754112001,"66":14341,"103":206,"83":41984,"24":24,"16":22920294838566912,"45":1890034130485309440},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 14:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301754112001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:45:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 14:45:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22920294838566912,"km_value":22920294838566.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890034130485309440,"description":"Unknown IO ID 45"} 
[2026-09-24 14:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301754112001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1890034130485309440}} 
[2026-09-24 14:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":192776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:45:23] local.INFO: GPS data processed {"connection_id":192776,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:45:23] local.INFO: Acknowledgment sent {"connection_id":192776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:45:33] local.INFO: TCP Data received {"connection_id":191398,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:45:33] local.INFO: Processing buffer {"connection_id":191398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:45:33] local.INFO: IMEI packet received {"connection_id":191398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":191398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:45:38] local.INFO: TCP Data received {"connection_id":191398,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:45:38] local.INFO: Processing buffer {"connection_id":191398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:45:38] local.INFO: IMEI packet received {"connection_id":191398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":191398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:45:39] local.INFO: TCP Data received {"connection_id":191398,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:45:39] local.INFO: Processing buffer {"connection_id":191398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:45:39] local.INFO: Packet analysis {"connection_id":191398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ae"} 
[2026-09-24 14:45:39] local.INFO: Extracted packet for processing {"connection_id":191398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ae"} 
[2026-09-24 14:45:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301635584001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790241065000,"timestamp_ms":1790241065000,"timestamp_seconds":1790241065,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aec828"} 
[2026-09-24 14:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301635584001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301635584001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:45:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:45:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301635584001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":191398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:45:39] local.INFO: GPS data processed {"connection_id":191398,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:45:39] local.INFO: Acknowledgment sent {"connection_id":191398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:45:42] local.INFO: TCP Data received {"connection_id":194054,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:45:42] local.INFO: Processing buffer {"connection_id":194054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:45:42] local.INFO: IMEI packet received {"connection_id":194054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":194054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:45:43] local.INFO: TCP Data received {"connection_id":194054,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:45:43] local.INFO: Processing buffer {"connection_id":194054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:45:43] local.INFO: IMEI packet received {"connection_id":194054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":194054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:45:44] local.INFO: TCP Data received {"connection_id":194054,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:45:44] local.INFO: Processing buffer {"connection_id":194054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:45:44] local.INFO: IMEI packet received {"connection_id":194054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":194054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:45:44] local.INFO: TCP Data received {"connection_id":191398,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:45:44] local.INFO: Processing buffer {"connection_id":191398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:45:44] local.INFO: Packet analysis {"connection_id":191398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ae"} 
[2026-09-24 14:45:44] local.INFO: Extracted packet for processing {"connection_id":191398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ae"} 
[2026-09-24 14:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301635584001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790241065000,"timestamp_ms":1790241065000,"timestamp_seconds":1790241065,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aec828"} 
[2026-09-24 14:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301635584001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301635584001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:45:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301635584001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":191398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:45:44] local.INFO: GPS data processed {"connection_id":191398,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:45:44] local.INFO: Acknowledgment sent {"connection_id":191398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:45:45] local.INFO: TCP Data received {"connection_id":194054,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:45:45] local.INFO: Processing buffer {"connection_id":194054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:45:45] local.INFO: IMEI packet received {"connection_id":194054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":194054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:46:29] local.INFO: TCP Data received {"connection_id":192777,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:46:29] local.INFO: Processing buffer {"connection_id":192777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:46:29] local.INFO: IMEI packet received {"connection_id":192777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":192777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:46:33] local.INFO: TCP Data received {"connection_id":192777,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:46:33] local.INFO: Processing buffer {"connection_id":192777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:46:33] local.INFO: IMEI packet received {"connection_id":192777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":192777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:46:34] local.INFO: TCP Data received {"connection_id":192777,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:46:34] local.INFO: Processing buffer {"connection_id":192777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:46:34] local.INFO: Packet analysis {"connection_id":192777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ae"} 
[2026-09-24 14:46:34] local.INFO: Extracted packet for processing {"connection_id":192777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ae"} 
[2026-09-24 14:46:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301635584001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790241065000,"timestamp_ms":1790241065000,"timestamp_seconds":1790241065,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aec828"} 
[2026-09-24 14:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301635584001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301635584001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:46:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:46:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301635584001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":192777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:46:34] local.INFO: GPS data processed {"connection_id":192777,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:46:34] local.INFO: Acknowledgment sent {"connection_id":192777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:46:39] local.INFO: TCP Data received {"connection_id":192777,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:46:39] local.INFO: Processing buffer {"connection_id":192777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2aec828012d34c14006aa4940000900f52a..."} 
[2026-09-24 14:46:39] local.INFO: Packet analysis {"connection_id":192777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ae"} 
[2026-09-24 14:46:39] local.INFO: Extracted packet for processing {"connection_id":192777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ae"} 
[2026-09-24 14:46:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301635584001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790241065000,"timestamp_ms":1790241065000,"timestamp_seconds":1790241065,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2aec828"} 
[2026-09-24 14:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 14:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301635584001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301635584001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:46:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:46:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301635584001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":192777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:46:39] local.INFO: GPS data processed {"connection_id":192777,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:46:39] local.INFO: Acknowledgment sent {"connection_id":192777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:47:10] local.INFO: TCP Data received {"connection_id":192777,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:47:10] local.INFO: Processing buffer {"connection_id":192777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:47:10] local.INFO: Packet analysis {"connection_id":192777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b3"} 
[2026-09-24 14:47:10] local.INFO: Extracted packet for processing {"connection_id":192777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b3"} 
[2026-09-24 14:47:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301712640001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790241366000,"timestamp_ms":1790241366000,"timestamp_seconds":1790241366,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b35ff0"} 
[2026-09-24 14:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:47:10] 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-09-24 14:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301712640001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301712640001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:47:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:47:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301712640001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":192777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:47:10] local.INFO: GPS data processed {"connection_id":192777,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:47:10] local.INFO: Acknowledgment sent {"connection_id":192777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:47:28] local.INFO: TCP Data received {"connection_id":191400,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:47:28] local.INFO: Processing buffer {"connection_id":191400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:47:28] local.INFO: IMEI packet received {"connection_id":191400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":191400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:47:33] local.INFO: TCP Data received {"connection_id":191400,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:47:33] local.INFO: Processing buffer {"connection_id":191400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:47:33] local.INFO: IMEI packet received {"connection_id":191400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":191400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:47:34] local.INFO: TCP Data received {"connection_id":191400,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:47:34] local.INFO: Processing buffer {"connection_id":191400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:47:34] local.INFO: Packet analysis {"connection_id":191400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b3"} 
[2026-09-24 14:47:34] local.INFO: Extracted packet for processing {"connection_id":191400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b3"} 
[2026-09-24 14:47:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301712640001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790241366000,"timestamp_ms":1790241366000,"timestamp_seconds":1790241366,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b35ff0"} 
[2026-09-24 14:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301712640001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301712640001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:47:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:47:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301712640001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":191400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:47:34] local.INFO: GPS data processed {"connection_id":191400,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:47:34] local.INFO: Acknowledgment sent {"connection_id":191400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:48:06] local.INFO: TCP Data received {"connection_id":191400,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:48:06] local.INFO: Processing buffer {"connection_id":191400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:48:06] local.INFO: Packet analysis {"connection_id":191400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b3"} 
[2026-09-24 14:48:06] local.INFO: Extracted packet for processing {"connection_id":191400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b3"} 
[2026-09-24 14:48:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301712640001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790241366000,"timestamp_ms":1790241366000,"timestamp_seconds":1790241366,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b35ff0"} 
[2026-09-24 14:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301712640001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301712640001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:48:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:48:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301712640001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":191400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:48:06] local.INFO: GPS data processed {"connection_id":191400,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:48:06] local.INFO: Acknowledgment sent {"connection_id":191400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:48:27] local.INFO: TCP Data received {"connection_id":191197,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:48:27] local.INFO: Processing buffer {"connection_id":191197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:48:27] local.INFO: IMEI packet received {"connection_id":191197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 14:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":191197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:48:33] local.INFO: TCP Data received {"connection_id":194056,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:48:33] local.INFO: Processing buffer {"connection_id":194056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:48:33] local.INFO: IMEI packet received {"connection_id":194056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":194056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:48:38] local.INFO: TCP Data received {"connection_id":194056,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:48:38] local.INFO: Processing buffer {"connection_id":194056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:48:38] local.INFO: IMEI packet received {"connection_id":194056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":194056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:48:39] local.INFO: TCP Data received {"connection_id":194056,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:48:39] local.INFO: Processing buffer {"connection_id":194056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:48:39] local.INFO: Packet analysis {"connection_id":194056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b3"} 
[2026-09-24 14:48:39] local.INFO: Extracted packet for processing {"connection_id":194056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b3"} 
[2026-09-24 14:48:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301712640001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790241366000,"timestamp_ms":1790241366000,"timestamp_seconds":1790241366,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b35ff0"} 
[2026-09-24 14:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301712640001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301712640001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:48:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:48:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301712640001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":194056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:48:39] local.INFO: GPS data processed {"connection_id":194056,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:48:39] local.INFO: Acknowledgment sent {"connection_id":194056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:48:44] local.INFO: TCP Data received {"connection_id":194056,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:48:44] local.INFO: Processing buffer {"connection_id":194056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:48:44] local.INFO: Packet analysis {"connection_id":194056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b3"} 
[2026-09-24 14:48:44] local.INFO: Extracted packet for processing {"connection_id":194056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b3"} 
[2026-09-24 14:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301712640001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790241366000,"timestamp_ms":1790241366000,"timestamp_seconds":1790241366,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b35ff0"} 
[2026-09-24 14:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:48:44] 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-09-24 14:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301712640001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301712640001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:48:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:48:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301712640001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":194056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:48:44] local.INFO: GPS data processed {"connection_id":194056,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:48:44] local.INFO: Acknowledgment sent {"connection_id":194056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:49:07] local.INFO: TCP Data received {"connection_id":191402,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:49:07] local.INFO: Processing buffer {"connection_id":191402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:49:07] local.INFO: IMEI packet received {"connection_id":191402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 14:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":191402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:49:28] local.INFO: TCP Data received {"connection_id":192778,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:49:28] local.INFO: Processing buffer {"connection_id":192778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:49:28] local.INFO: IMEI packet received {"connection_id":192778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":192778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:49:33] local.INFO: TCP Data received {"connection_id":192778,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:49:33] local.INFO: Processing buffer {"connection_id":192778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:49:33] local.INFO: IMEI packet received {"connection_id":192778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":192778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:49:34] local.INFO: TCP Data received {"connection_id":192778,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:49:34] local.INFO: Processing buffer {"connection_id":192778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:49:34] local.INFO: Packet analysis {"connection_id":192778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b3"} 
[2026-09-24 14:49:34] local.INFO: Extracted packet for processing {"connection_id":192778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b3"} 
[2026-09-24 14:49:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301712640001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790241366000,"timestamp_ms":1790241366000,"timestamp_seconds":1790241366,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b35ff0"} 
[2026-09-24 14:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301712640001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301712640001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:49:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:49:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301712640001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":192778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:49:34] local.INFO: GPS data processed {"connection_id":192778,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:49:34] local.INFO: Acknowledgment sent {"connection_id":192778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:50:07] local.INFO: TCP Data received {"connection_id":192778,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:50:07] local.INFO: Processing buffer {"connection_id":192778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:50:07] local.INFO: Packet analysis {"connection_id":192778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b3"} 
[2026-09-24 14:50:07] local.INFO: Extracted packet for processing {"connection_id":192778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b3"} 
[2026-09-24 14:50:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301712640001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790241366000,"timestamp_ms":1790241366000,"timestamp_seconds":1790241366,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b35ff0"} 
[2026-09-24 14:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301712640001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301712640001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:50:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:50:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301712640001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":192778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:50:07] local.INFO: GPS data processed {"connection_id":192778,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:50:07] local.INFO: Acknowledgment sent {"connection_id":192778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:50:28] local.INFO: TCP Data received {"connection_id":194058,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:50:28] local.INFO: Processing buffer {"connection_id":194058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:50:28] local.INFO: IMEI packet received {"connection_id":194058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":194058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:50:33] local.INFO: TCP Data received {"connection_id":194058,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:50:33] local.INFO: Processing buffer {"connection_id":194058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:50:33] local.INFO: IMEI packet received {"connection_id":194058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":194058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:50:34] local.INFO: TCP Data received {"connection_id":194058,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:50:34] local.INFO: Processing buffer {"connection_id":194058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:50:34] local.INFO: Packet analysis {"connection_id":194058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b3"} 
[2026-09-24 14:50:34] local.INFO: Extracted packet for processing {"connection_id":194058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b3"} 
[2026-09-24 14:50:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301712640001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790241366000,"timestamp_ms":1790241366000,"timestamp_seconds":1790241366,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b35ff0"} 
[2026-09-24 14:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301712640001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301712640001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:50:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:50:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301712640001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":194058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:50:34] local.INFO: GPS data processed {"connection_id":194058,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:50:34] local.INFO: Acknowledgment sent {"connection_id":194058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:50:48] local.INFO: TCP Data received {"connection_id":192779,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:50:48] local.INFO: Processing buffer {"connection_id":192779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:50:48] local.INFO: IMEI packet received {"connection_id":192779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":192779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:50:49] local.INFO: TCP Data received {"connection_id":192779,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b57ee8012d196a00071fec30003e01122d..."} 
[2026-09-24 14:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b57ee8012d196a00071fec30003e01122d..."} 
[2026-09-24 14:50:49] local.INFO: Processing buffer {"connection_id":192779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b57ee8012d196a00071fec30003e01122d..."} 
[2026-09-24 14:50:49] local.INFO: Packet analysis {"connection_id":192779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b5"} 
[2026-09-24 14:50:49] local.INFO: Extracted packet for processing {"connection_id":192779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b5"} 
[2026-09-24 14:50:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 14:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301819904001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 14:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832050285265829888,"note":"Value kept but may cause issues"} 
[2026-09-24 14:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790241505000,"timestamp_ms":1790241505000,"timestamp_seconds":1790241505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b57ee8"} 
[2026-09-24 14:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-24 14:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":192779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":192779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":192779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301819904001,"66":13080,"101":206,"83":41984,"24":0,"16":22925650662785024,"45":1832050285265829888},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-24 14:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301819904001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:50:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-24 14:50:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832050285265829888,"description":"Unknown IO ID 45"} 
[2026-09-24 14:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301819904001,"power":13080,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832050285265829888}} 
[2026-09-24 14:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":192779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:50:49] local.INFO: GPS data processed {"connection_id":192779,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:50:49] local.INFO: Acknowledgment sent {"connection_id":192779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:51:06] local.INFO: TCP Data received {"connection_id":194058,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:51:06] local.INFO: Processing buffer {"connection_id":194058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:51:06] local.INFO: Packet analysis {"connection_id":194058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b3"} 
[2026-09-24 14:51:06] local.INFO: Extracted packet for processing {"connection_id":194058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b3"} 
[2026-09-24 14:51:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301712640001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790241366000,"timestamp_ms":1790241366000,"timestamp_seconds":1790241366,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b35ff0"} 
[2026-09-24 14:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301712640001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301712640001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:51:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:51:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301712640001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":194058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:51:06] local.INFO: GPS data processed {"connection_id":194058,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:51:06] local.INFO: Acknowledgment sent {"connection_id":194058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:51:25] local.INFO: TCP Data received {"connection_id":191404,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:51:25] local.INFO: Processing buffer {"connection_id":191404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:51:25] local.INFO: IMEI packet received {"connection_id":191404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":191404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:51:28] local.INFO: TCP Data received {"connection_id":194060,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:51:28] local.INFO: Processing buffer {"connection_id":194060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:51:28] local.INFO: IMEI packet received {"connection_id":194060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":194060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:51:33] local.INFO: TCP Data received {"connection_id":194060,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:51:33] local.INFO: Processing buffer {"connection_id":194060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:51:33] local.INFO: IMEI packet received {"connection_id":194060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":194060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:51:34] local.INFO: TCP Data received {"connection_id":194060,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:51:34] local.INFO: Processing buffer {"connection_id":194060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b35ff0012d34c14006aa4940000900f527..."} 
[2026-09-24 14:51:34] local.INFO: Packet analysis {"connection_id":194060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b3"} 
[2026-09-24 14:51:34] local.INFO: Extracted packet for processing {"connection_id":194060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b3"} 
[2026-09-24 14:51:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301712640001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790241366000,"timestamp_ms":1790241366000,"timestamp_seconds":1790241366,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b35ff0"} 
[2026-09-24 14:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301712640001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301712640001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:51:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:51:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301712640001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":194060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:51:34] local.INFO: GPS data processed {"connection_id":194060,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:51:34] local.INFO: Acknowledgment sent {"connection_id":194060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:51:55] local.INFO: TCP Data received {"connection_id":192780,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:51:55] local.INFO: Processing buffer {"connection_id":192780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:51:55] local.INFO: IMEI packet received {"connection_id":192780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":192780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:52:00] local.INFO: TCP Data received {"connection_id":192780,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:52:00] local.INFO: Processing buffer {"connection_id":192780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:52:00] local.INFO: IMEI packet received {"connection_id":192780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":192780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:52:01] local.INFO: TCP Data received {"connection_id":192780,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b71910012d196a00071fec30003e01122c..."} 
[2026-09-24 14:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b71910012d196a00071fec30003e01122c..."} 
[2026-09-24 14:52:01] local.INFO: Processing buffer {"connection_id":192780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b71910012d196a00071fec30003e01122c..."} 
[2026-09-24 14:52:01] local.INFO: Packet analysis {"connection_id":192780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:52:01] local.INFO: Extracted packet for processing {"connection_id":192780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:52:01] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301846784001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 14:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 14:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790241610000,"timestamp_ms":1790241610000,"timestamp_seconds":1790241610,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b71910"} 
[2026-09-24 14:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:52: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-09-24 14: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-24 14:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301846784001,"66":12950,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 14:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301846784001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:52:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 14:52:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 14:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301846784001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 14:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":192780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:52:01] local.INFO: GPS data processed {"connection_id":192780,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:52:01] local.INFO: Acknowledgment sent {"connection_id":192780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:52:05] local.INFO: TCP Data received {"connection_id":194060,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:52:05] local.INFO: Processing buffer {"connection_id":194060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:52:05] local.INFO: Packet analysis {"connection_id":194060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:52:05] local.INFO: Extracted packet for processing {"connection_id":194060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:52:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301789696001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790241667000,"timestamp_ms":1790241667000,"timestamp_seconds":1790241667,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b7f7b8"} 
[2026-09-24 14:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:52:05] 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-09-24 14: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-09-24 14:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301789696001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301789696001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:52:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:52:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301789696001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":194060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:52:05] local.INFO: GPS data processed {"connection_id":194060,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:52:05] local.INFO: Acknowledgment sent {"connection_id":194060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:52:33] local.INFO: TCP Data received {"connection_id":192782,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:52:33] local.INFO: Processing buffer {"connection_id":192782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:52:33] local.INFO: IMEI packet received {"connection_id":192782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":192782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:52:38] local.INFO: TCP Data received {"connection_id":192782,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:52:38] local.INFO: Processing buffer {"connection_id":192782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:52:38] local.INFO: IMEI packet received {"connection_id":192782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":192782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:52:39] local.INFO: TCP Data received {"connection_id":192782,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:52:39] local.INFO: Processing buffer {"connection_id":192782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:52:39] local.INFO: Packet analysis {"connection_id":192782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:52:39] local.INFO: Extracted packet for processing {"connection_id":192782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:52:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301789696001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790241667000,"timestamp_ms":1790241667000,"timestamp_seconds":1790241667,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b7f7b8"} 
[2026-09-24 14:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301789696001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301789696001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:52:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:52:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301789696001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":192782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:52:39] local.INFO: GPS data processed {"connection_id":192782,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:52:39] local.INFO: Acknowledgment sent {"connection_id":192782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:52:44] local.INFO: TCP Data received {"connection_id":192782,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:52:44] local.INFO: Processing buffer {"connection_id":192782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:52:44] local.INFO: Packet analysis {"connection_id":192782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:52:44] local.INFO: Extracted packet for processing {"connection_id":192782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:52:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301789696001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790241667000,"timestamp_ms":1790241667000,"timestamp_seconds":1790241667,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b7f7b8"} 
[2026-09-24 14:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:52:44] 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-09-24 14:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301789696001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301789696001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:52:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:52:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301789696001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":192782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:52:44] local.INFO: GPS data processed {"connection_id":192782,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:52:44] local.INFO: Acknowledgment sent {"connection_id":192782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:52:50] local.INFO: TCP Data received {"connection_id":191405,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:52:50] local.INFO: Processing buffer {"connection_id":191405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:52:50] local.INFO: IMEI packet received {"connection_id":191405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":191405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:52:54] local.INFO: TCP Data received {"connection_id":191405,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:52:54] local.INFO: Processing buffer {"connection_id":191405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:52:54] local.INFO: IMEI packet received {"connection_id":191405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":191405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:52:55] local.INFO: TCP Data received {"connection_id":191405,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b76b18012d196a00071fec30003e01122b..."} 
[2026-09-24 14:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b76b18012d196a00071fec30003e01122b..."} 
[2026-09-24 14:52:55] local.INFO: Processing buffer {"connection_id":191405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b76b18012d196a00071fec30003e01122b..."} 
[2026-09-24 14:52:55] local.INFO: Packet analysis {"connection_id":191405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:52:55] local.INFO: Extracted packet for processing {"connection_id":191405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:52:55] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301852160001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 14:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 14:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790241631000,"timestamp_ms":1790241631000,"timestamp_seconds":1790241631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b76b18"} 
[2026-09-24 14:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-24 14:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301852160001,"66":12939,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 14:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301852160001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:52:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 14:52:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 14:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301852160001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 14:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":191405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:52:55] local.INFO: GPS data processed {"connection_id":191405,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:52:55] local.INFO: Acknowledgment sent {"connection_id":191405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:52:55] local.INFO: TCP Data received {"connection_id":191405,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b7bd20012d196a00071fec30003e01122d..."} 
[2026-09-24 14:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b7bd20012d196a00071fec30003e01122d..."} 
[2026-09-24 14:52:55] local.INFO: Processing buffer {"connection_id":191405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b7bd20012d196a00071fec30003e01122d..."} 
[2026-09-24 14:52:55] local.INFO: Packet analysis {"connection_id":191405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:52:55] local.INFO: Extracted packet for processing {"connection_id":191405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:52:55] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301857536001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 14:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 14:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790241652000,"timestamp_ms":1790241652000,"timestamp_seconds":1790241652,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b7bd20"} 
[2026-09-24 14:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-24 14:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301857536001,"66":12885,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 14:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301857536001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:52:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 14:52:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 14:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301857536001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 14:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":191405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:52:55] local.INFO: GPS data processed {"connection_id":191405,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:52:55] local.INFO: Acknowledgment sent {"connection_id":191405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:53:27] local.INFO: TCP Data received {"connection_id":191405,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b80f28012d196a00071fec30003e01122e..."} 
[2026-09-24 14:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b80f28012d196a00071fec30003e01122e..."} 
[2026-09-24 14:53:27] local.INFO: Processing buffer {"connection_id":191405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b80f28012d196a00071fec30003e01122e..."} 
[2026-09-24 14:53:27] local.INFO: Packet analysis {"connection_id":191405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b8"} 
[2026-09-24 14:53:27] local.INFO: Extracted packet for processing {"connection_id":191405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b8"} 
[2026-09-24 14:53:27] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 14:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301862912001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 14:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 14:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790241673000,"timestamp_ms":1790241673000,"timestamp_seconds":1790241673,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b80f28"} 
[2026-09-24 14:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-24 14:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301862912001,"66":12863,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 14:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301862912001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:53:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 14:53:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 14:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301862912001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 14:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":191405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:53:27] local.INFO: GPS data processed {"connection_id":191405,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:53:27] local.INFO: Acknowledgment sent {"connection_id":191405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:53:28] local.INFO: TCP Data received {"connection_id":191200,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:53:28] local.INFO: Processing buffer {"connection_id":191200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:53:28] local.INFO: IMEI packet received {"connection_id":191200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":191200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:53:33] local.INFO: TCP Data received {"connection_id":191200,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:53:33] local.INFO: Processing buffer {"connection_id":191200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:53:33] local.INFO: IMEI packet received {"connection_id":191200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":191200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:53:36] local.INFO: TCP Data received {"connection_id":191200,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:53:36] local.INFO: Processing buffer {"connection_id":191200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:53:36] local.INFO: Packet analysis {"connection_id":191200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:53:36] local.INFO: Extracted packet for processing {"connection_id":191200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301789696001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790241667000,"timestamp_ms":1790241667000,"timestamp_seconds":1790241667,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b7f7b8"} 
[2026-09-24 14:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:53:36] 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-09-24 14:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301789696001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301789696001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:53:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:53:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301789696001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":191200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:53:36] local.INFO: GPS data processed {"connection_id":191200,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:53:36] local.INFO: Acknowledgment sent {"connection_id":191200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:53:45] local.INFO: TCP Data received {"connection_id":191406,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:53:45] local.INFO: Processing buffer {"connection_id":191406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:53:45] local.INFO: IMEI packet received {"connection_id":191406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":191406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:53:50] local.INFO: TCP Data received {"connection_id":191406,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:53:50] local.INFO: Processing buffer {"connection_id":191406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:53:50] local.INFO: IMEI packet received {"connection_id":191406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":191406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:53:51] local.INFO: TCP Data received {"connection_id":191406,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b86130012d196a00071fec30003e01122e..."} 
[2026-09-24 14:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b86130012d196a00071fec30003e01122e..."} 
[2026-09-24 14:53:51] local.INFO: Processing buffer {"connection_id":191406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b86130012d196a00071fec30003e01122e..."} 
[2026-09-24 14:53:51] local.INFO: Packet analysis {"connection_id":191406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b8"} 
[2026-09-24 14:53:51] local.INFO: Extracted packet for processing {"connection_id":191406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b8"} 
[2026-09-24 14:53:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301868288001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 14:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 14:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790241694000,"timestamp_ms":1790241694000,"timestamp_seconds":1790241694,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b86130"} 
[2026-09-24 14:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-24 14:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301868288001,"66":12852,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 14:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301868288001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:53:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 14:53:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 14:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301868288001,"power":12852,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 14:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":191406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:53:51] local.INFO: GPS data processed {"connection_id":191406,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:53:51] local.INFO: Acknowledgment sent {"connection_id":191406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:54:08] local.INFO: TCP Data received {"connection_id":191200,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:54:08] local.INFO: Processing buffer {"connection_id":191200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:54:08] local.INFO: Packet analysis {"connection_id":191200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:54:08] local.INFO: Extracted packet for processing {"connection_id":191200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301789696001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790241667000,"timestamp_ms":1790241667000,"timestamp_seconds":1790241667,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b7f7b8"} 
[2026-09-24 14:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:54:08] 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-09-24 14:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301789696001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301789696001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:54:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301789696001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":191200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:54:08] local.INFO: GPS data processed {"connection_id":191200,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:54:08] local.INFO: Acknowledgment sent {"connection_id":191200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:54:22] local.INFO: TCP Data received {"connection_id":191406,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b8b338012d196a00071fec30003e01122b..."} 
[2026-09-24 14:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b8b338012d196a00071fec30003e01122b..."} 
[2026-09-24 14:54:22] local.INFO: Processing buffer {"connection_id":191406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b8b338012d196a00071fec30003e01122b..."} 
[2026-09-24 14:54:22] local.INFO: Packet analysis {"connection_id":191406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b8"} 
[2026-09-24 14:54:22] local.INFO: Extracted packet for processing {"connection_id":191406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b8"} 
[2026-09-24 14:54:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 14:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301873664001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 14:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 14:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790241715000,"timestamp_ms":1790241715000,"timestamp_seconds":1790241715,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b8b338"} 
[2026-09-24 14:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-24 14:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301873664001,"66":12841,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 14:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301873664001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:54:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 14:54:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 14:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301873664001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 14:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":191406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:54:22] local.INFO: GPS data processed {"connection_id":191406,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:54:22] local.INFO: Acknowledgment sent {"connection_id":191406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:54:28] local.INFO: TCP Data received {"connection_id":191201,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:54:28] local.INFO: Processing buffer {"connection_id":191201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:54:28] local.INFO: IMEI packet received {"connection_id":191201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":191201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:54:33] local.INFO: TCP Data received {"connection_id":191201,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:54:33] local.INFO: Processing buffer {"connection_id":191201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:54:33] local.INFO: IMEI packet received {"connection_id":191201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":191201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:54:34] local.INFO: TCP Data received {"connection_id":191201,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:54:34] local.INFO: Processing buffer {"connection_id":191201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:54:34] local.INFO: Packet analysis {"connection_id":191201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:54:34] local.INFO: Extracted packet for processing {"connection_id":191201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:54:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301789696001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790241667000,"timestamp_ms":1790241667000,"timestamp_seconds":1790241667,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b7f7b8"} 
[2026-09-24 14:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301789696001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301789696001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:54:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:54:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301789696001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":191201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:54:34] local.INFO: GPS data processed {"connection_id":191201,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:54:34] local.INFO: Acknowledgment sent {"connection_id":191201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:54:45] local.INFO: TCP Data received {"connection_id":192784,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:54:45] local.INFO: Processing buffer {"connection_id":192784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:54:45] local.INFO: IMEI packet received {"connection_id":192784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":192784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:54:47] local.INFO: TCP Data received {"connection_id":191407,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:54:47] local.INFO: Processing buffer {"connection_id":191407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:54:47] local.INFO: IMEI packet received {"connection_id":191407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 14:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":191407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:54:50] local.INFO: TCP Data received {"connection_id":192784,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:54:50] local.INFO: Processing buffer {"connection_id":192784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:54:50] local.INFO: IMEI packet received {"connection_id":192784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":192784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:54:51] local.INFO: TCP Data received {"connection_id":192784,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b90540012d196a00071fec30003e01122c..."} 
[2026-09-24 14:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b90540012d196a00071fec30003e01122c..."} 
[2026-09-24 14:54:51] local.INFO: Processing buffer {"connection_id":192784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b90540012d196a00071fec30003e01122c..."} 
[2026-09-24 14:54:51] local.INFO: Packet analysis {"connection_id":192784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b9"} 
[2026-09-24 14:54:51] local.INFO: Extracted packet for processing {"connection_id":192784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b9"} 
[2026-09-24 14:54:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 14:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301879040001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 14:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 14:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790241736000,"timestamp_ms":1790241736000,"timestamp_seconds":1790241736,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b90540"} 
[2026-09-24 14:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-24 14:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301879040001,"66":12776,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 14:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301879040001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:54:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 14:54:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 14:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301879040001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 14:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":192784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:54:51] local.INFO: GPS data processed {"connection_id":192784,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:54:51] local.INFO: Acknowledgment sent {"connection_id":192784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:55:05] local.INFO: TCP Data received {"connection_id":191201,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:55:05] local.INFO: Processing buffer {"connection_id":191201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:55:05] local.INFO: Packet analysis {"connection_id":191201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:55:05] local.INFO: Extracted packet for processing {"connection_id":191201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301789696001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790241667000,"timestamp_ms":1790241667000,"timestamp_seconds":1790241667,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b7f7b8"} 
[2026-09-24 14:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:55:05] 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-09-24 14:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301789696001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301789696001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:55:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:55:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301789696001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":191201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:55:05] local.INFO: GPS data processed {"connection_id":191201,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:55:05] local.INFO: Acknowledgment sent {"connection_id":191201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:55:22] local.INFO: TCP Data received {"connection_id":192784,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b95748012d196a00071fec30003e01122e..."} 
[2026-09-24 14:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b95748012d196a00071fec30003e01122e..."} 
[2026-09-24 14:55:22] local.INFO: Processing buffer {"connection_id":192784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b95748012d196a00071fec30003e01122e..."} 
[2026-09-24 14:55:22] local.INFO: Packet analysis {"connection_id":192784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b9"} 
[2026-09-24 14:55:22] local.INFO: Extracted packet for processing {"connection_id":192784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b9"} 
[2026-09-24 14:55:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 14:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301884416001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 14:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 14:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790241757000,"timestamp_ms":1790241757000,"timestamp_seconds":1790241757,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b95748"} 
[2026-09-24 14:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-24 14:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301884416001,"66":12428,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 14:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301884416001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:55:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 14:55:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 14:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301884416001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 14:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":192784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:55:22] local.INFO: GPS data processed {"connection_id":192784,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:55:22] local.INFO: Acknowledgment sent {"connection_id":192784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:55:28] local.INFO: TCP Data received {"connection_id":191408,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:55:28] local.INFO: Processing buffer {"connection_id":191408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:55:28] local.INFO: IMEI packet received {"connection_id":191408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":191408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:55:30] local.INFO: TCP Data received {"connection_id":192785,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:55:30] local.INFO: Processing buffer {"connection_id":192785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:55:30] local.INFO: IMEI packet received {"connection_id":192785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 14:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":192785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:55:32] local.INFO: TCP Data received {"connection_id":192785,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:55:32] local.INFO: Processing buffer {"connection_id":192785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:55:32] local.INFO: IMEI packet received {"connection_id":192785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 14:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":192785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:55:33] local.INFO: TCP Data received {"connection_id":191408,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:55:33] local.INFO: Processing buffer {"connection_id":191408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:55:33] local.INFO: IMEI packet received {"connection_id":191408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":191408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:55:34] local.INFO: TCP Data received {"connection_id":191408,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:55:34] local.INFO: Processing buffer {"connection_id":191408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:55:34] local.INFO: Packet analysis {"connection_id":191408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:55:34] local.INFO: Extracted packet for processing {"connection_id":191408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:55:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301789696001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790241667000,"timestamp_ms":1790241667000,"timestamp_seconds":1790241667,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b7f7b8"} 
[2026-09-24 14:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301789696001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301789696001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:55:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:55:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301789696001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":191408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:55:34] local.INFO: GPS data processed {"connection_id":191408,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:55:34] local.INFO: Acknowledgment sent {"connection_id":191408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:55:42] local.INFO: TCP Data received {"connection_id":192785,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:55:42] local.INFO: Processing buffer {"connection_id":192785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:55:42] local.INFO: IMEI packet received {"connection_id":192785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 14:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":192785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:55:45] local.INFO: TCP Data received {"connection_id":192786,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:55:45] local.INFO: Processing buffer {"connection_id":192786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:55:45] local.INFO: IMEI packet received {"connection_id":192786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":192786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:55:50] local.INFO: TCP Data received {"connection_id":192786,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:55:50] local.INFO: Processing buffer {"connection_id":192786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:55:50] local.INFO: IMEI packet received {"connection_id":192786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":192786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:55:51] local.INFO: TCP Data received {"connection_id":192786,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b9a950012d196a00071fec30003e01122c..."} 
[2026-09-24 14:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b9a950012d196a00071fec30003e01122c..."} 
[2026-09-24 14:55:51] local.INFO: Processing buffer {"connection_id":192786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b9a950012d196a00071fec30003e01122c..."} 
[2026-09-24 14:55:51] local.INFO: Packet analysis {"connection_id":192786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b9"} 
[2026-09-24 14:55:51] local.INFO: Extracted packet for processing {"connection_id":192786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b9"} 
[2026-09-24 14:55:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 14:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301889792001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 14:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 14:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790241778000,"timestamp_ms":1790241778000,"timestamp_seconds":1790241778,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b9a950"} 
[2026-09-24 14:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 14:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301889792001,"66":12743,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 14:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301889792001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:55:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 14:55:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 14:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301889792001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 14:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":192786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:55:51] local.INFO: GPS data processed {"connection_id":192786,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:55:51] local.INFO: Acknowledgment sent {"connection_id":192786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:56:07] local.INFO: TCP Data received {"connection_id":191408,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:56:07] local.INFO: Processing buffer {"connection_id":191408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:56:07] local.INFO: Packet analysis {"connection_id":191408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:56:07] local.INFO: Extracted packet for processing {"connection_id":191408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:56:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301789696001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790241667000,"timestamp_ms":1790241667000,"timestamp_seconds":1790241667,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b7f7b8"} 
[2026-09-24 14:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301789696001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301789696001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:56:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:56:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301789696001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":191408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:56:07] local.INFO: GPS data processed {"connection_id":191408,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:56:07] local.INFO: Acknowledgment sent {"connection_id":191408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:56:11] local.INFO: TCP Data received {"connection_id":191409,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:56:11] local.INFO: Processing buffer {"connection_id":191409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:56:11] local.INFO: IMEI packet received {"connection_id":191409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 14:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":191409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:56:22] local.INFO: TCP Data received {"connection_id":192786,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b9fb58012d196a00071fec30003e01122a..."} 
[2026-09-24 14:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b9fb58012d196a00071fec30003e01122a..."} 
[2026-09-24 14:56:22] local.INFO: Processing buffer {"connection_id":192786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b9fb58012d196a00071fec30003e01122a..."} 
[2026-09-24 14:56:22] local.INFO: Packet analysis {"connection_id":192786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b9"} 
[2026-09-24 14:56:22] local.INFO: Extracted packet for processing {"connection_id":192786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b9"} 
[2026-09-24 14:56:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 14:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301895168001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 14:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 14:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790241799000,"timestamp_ms":1790241799000,"timestamp_seconds":1790241799,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b9fb58"} 
[2026-09-24 14:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-24 14:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301895168001,"66":12722,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 14:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301895168001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:56:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 14:56:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 14:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301895168001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 14:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":192786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:56:22] local.INFO: GPS data processed {"connection_id":192786,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:56:22] local.INFO: Acknowledgment sent {"connection_id":192786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:56:28] local.INFO: TCP Data received {"connection_id":194061,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:56:28] local.INFO: Processing buffer {"connection_id":194061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:56:28] local.INFO: IMEI packet received {"connection_id":194061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":194061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:56:33] local.INFO: TCP Data received {"connection_id":194061,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:56:33] local.INFO: Processing buffer {"connection_id":194061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:56:33] local.INFO: IMEI packet received {"connection_id":194061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":194061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:56:34] local.INFO: TCP Data received {"connection_id":194061,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:56:34] local.INFO: Processing buffer {"connection_id":194061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2b7f7b8012d34c14006aa4940000900f529..."} 
[2026-09-24 14:56:34] local.INFO: Packet analysis {"connection_id":194061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:56:34] local.INFO: Extracted packet for processing {"connection_id":194061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2b7"} 
[2026-09-24 14:56:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301789696001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790241667000,"timestamp_ms":1790241667000,"timestamp_seconds":1790241667,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2b7f7b8"} 
[2026-09-24 14:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301789696001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301789696001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:56:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:56:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301789696001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":194061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:56:34] local.INFO: GPS data processed {"connection_id":194061,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:56:34] local.INFO: Acknowledgment sent {"connection_id":194061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:56:46] local.INFO: TCP Data received {"connection_id":192787,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:56:46] local.INFO: Processing buffer {"connection_id":192787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:56:46] local.INFO: IMEI packet received {"connection_id":192787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":192787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:56:46] local.INFO: TCP Data received {"connection_id":192787,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:56:46] local.INFO: Processing buffer {"connection_id":192787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:56:46] local.INFO: IMEI packet received {"connection_id":192787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":192787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:56:50] local.INFO: TCP Data received {"connection_id":192787,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:56:50] local.INFO: Processing buffer {"connection_id":192787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:56:50] local.INFO: IMEI packet received {"connection_id":192787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":192787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:56:51] local.INFO: TCP Data received {"connection_id":192787,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ba4d60012d196a00071fec30003e01122f..."} 
[2026-09-24 14:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ba4d60012d196a00071fec30003e01122f..."} 
[2026-09-24 14:56:51] local.INFO: Processing buffer {"connection_id":192787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ba4d60012d196a00071fec30003e01122f..."} 
[2026-09-24 14:56:51] local.INFO: Packet analysis {"connection_id":192787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ba"} 
[2026-09-24 14:56:51] local.INFO: Extracted packet for processing {"connection_id":192787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ba"} 
[2026-09-24 14:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":47,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301900544001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 14:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 14:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790241820000,"timestamp_ms":1790241820000,"timestamp_seconds":1790241820,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ba4d60"} 
[2026-09-24 14:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 14:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301900544001,"66":12743,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 14:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301900544001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:56:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 14:56:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 14:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301900544001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 14:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":192787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:56:51] local.INFO: GPS data processed {"connection_id":192787,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:56:51] local.INFO: Acknowledgment sent {"connection_id":192787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:56:58] local.INFO: TCP Data received {"connection_id":191409,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:56:58] local.INFO: Processing buffer {"connection_id":191409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 14:56:58] local.INFO: IMEI packet received {"connection_id":191409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 14:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":191409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:57:00] local.INFO: TCP Data received {"connection_id":191409,"ip":"42.106.6.58","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-24 14:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191409,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-24 14:57:00] local.INFO: Processing buffer {"connection_id":191409,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-24 14:57:00] local.INFO: IMEI packet received {"connection_id":191409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 14:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":191409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:57:05] local.INFO: TCP Data received {"connection_id":194061,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 14:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 14:57:05] local.INFO: Processing buffer {"connection_id":194061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 14:57:05] local.INFO: Packet analysis {"connection_id":194061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 14:57:05] local.INFO: Extracted packet for processing {"connection_id":194061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 14:57:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301866752001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790241968000,"timestamp_ms":1790241968000,"timestamp_seconds":1790241968,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2bc8f80"} 
[2026-09-24 14:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:57:05] 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-09-24 14:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301866752001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301866752001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:57:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:57:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301866752001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":194061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:57:05] local.INFO: GPS data processed {"connection_id":194061,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:57:05] local.INFO: Acknowledgment sent {"connection_id":194061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:57:22] local.INFO: TCP Data received {"connection_id":192787,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ba9f68012d196a00071fec30003e01122e..."} 
[2026-09-24 14:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ba9f68012d196a00071fec30003e01122e..."} 
[2026-09-24 14:57:22] local.INFO: Processing buffer {"connection_id":192787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ba9f68012d196a00071fec30003e01122e..."} 
[2026-09-24 14:57:22] local.INFO: Packet analysis {"connection_id":192787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ba"} 
[2026-09-24 14:57:22] local.INFO: Extracted packet for processing {"connection_id":192787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ba"} 
[2026-09-24 14:57:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 14:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301905920001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 14:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 14:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790241841000,"timestamp_ms":1790241841000,"timestamp_seconds":1790241841,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ba9f68"} 
[2026-09-24 14:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-24 14:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301905920001,"66":12776,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 14:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301905920001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:57:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 14:57:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 14:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301905920001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 14:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":192787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:57:22] local.INFO: GPS data processed {"connection_id":192787,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:57:22] local.INFO: Acknowledgment sent {"connection_id":192787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:57:28] local.INFO: TCP Data received {"connection_id":191202,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:57:28] local.INFO: Processing buffer {"connection_id":191202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:57:28] local.INFO: IMEI packet received {"connection_id":191202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":191202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:57:33] local.INFO: TCP Data received {"connection_id":191202,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:57:33] local.INFO: Processing buffer {"connection_id":191202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:57:33] local.INFO: IMEI packet received {"connection_id":191202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":191202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:57:35] local.INFO: TCP Data received {"connection_id":191202,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 14:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 14:57:35] local.INFO: Processing buffer {"connection_id":191202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 14:57:35] local.INFO: Packet analysis {"connection_id":191202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 14:57:35] local.INFO: Extracted packet for processing {"connection_id":191202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 14:57:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301866752001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790241968000,"timestamp_ms":1790241968000,"timestamp_seconds":1790241968,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2bc8f80"} 
[2026-09-24 14:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:57:35] 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-09-24 14:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301866752001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301866752001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:57:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:57:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301866752001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":191202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:57:35] local.INFO: GPS data processed {"connection_id":191202,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:57:35] local.INFO: Acknowledgment sent {"connection_id":191202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:57:45] local.INFO: TCP Data received {"connection_id":194062,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:57:45] local.INFO: Processing buffer {"connection_id":194062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:57:45] local.INFO: IMEI packet received {"connection_id":194062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":194062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:57:48] local.INFO: TCP Data received {"connection_id":194062,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:57:48] local.INFO: Processing buffer {"connection_id":194062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:57:48] local.INFO: IMEI packet received {"connection_id":194062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":194062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:57:50] local.INFO: TCP Data received {"connection_id":194062,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:57:50] local.INFO: Processing buffer {"connection_id":194062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:57:50] local.INFO: IMEI packet received {"connection_id":194062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":194062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:57:50] local.INFO: TCP Data received {"connection_id":194062,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2baf170012d196a00071fec30003e01122d..."} 
[2026-09-24 14:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2baf170012d196a00071fec30003e01122d..."} 
[2026-09-24 14:57:50] local.INFO: Processing buffer {"connection_id":194062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2baf170012d196a00071fec30003e01122d..."} 
[2026-09-24 14:57:50] local.INFO: Packet analysis {"connection_id":194062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ba"} 
[2026-09-24 14:57:50] local.INFO: Extracted packet for processing {"connection_id":194062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ba"} 
[2026-09-24 14:57:50] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 14:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301911296001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 14:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 14:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790241862000,"timestamp_ms":1790241862000,"timestamp_seconds":1790241862,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2baf170"} 
[2026-09-24 14:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-24 14:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":194062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":194062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":194062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301911296001,"66":12743,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 14:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301911296001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:57:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 14:57:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 14:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301911296001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 14:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":194062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:57:51] local.INFO: GPS data processed {"connection_id":194062,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:57:51] local.INFO: Acknowledgment sent {"connection_id":194062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:58:06] local.INFO: TCP Data received {"connection_id":191202,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 14:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 14:58:06] local.INFO: Processing buffer {"connection_id":191202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 14:58:06] local.INFO: Packet analysis {"connection_id":191202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 14:58:06] local.INFO: Extracted packet for processing {"connection_id":191202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 14:58:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301866752001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790241968000,"timestamp_ms":1790241968000,"timestamp_seconds":1790241968,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2bc8f80"} 
[2026-09-24 14:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301866752001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301866752001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:58:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:58:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301866752001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":191202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:58:06] local.INFO: GPS data processed {"connection_id":191202,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:58:06] local.INFO: Acknowledgment sent {"connection_id":191202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:58:22] local.INFO: TCP Data received {"connection_id":194062,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2bb4378012d196a00071fec30003e01122d..."} 
[2026-09-24 14:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2bb4378012d196a00071fec30003e01122d..."} 
[2026-09-24 14:58:22] local.INFO: Processing buffer {"connection_id":194062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2bb4378012d196a00071fec30003e01122d..."} 
[2026-09-24 14:58:22] local.INFO: Packet analysis {"connection_id":194062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2bb"} 
[2026-09-24 14:58:22] local.INFO: Extracted packet for processing {"connection_id":194062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2bb"} 
[2026-09-24 14:58:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 14:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301916672001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 14:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 14:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790241883000,"timestamp_ms":1790241883000,"timestamp_seconds":1790241883,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2bb4378"} 
[2026-09-24 14:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-24 14:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301916672001,"66":12722,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 14:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301916672001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:58:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 14:58:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 14:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301916672001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 14:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":194062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:58:22] local.INFO: GPS data processed {"connection_id":194062,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:58:22] local.INFO: Acknowledgment sent {"connection_id":194062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:58:28] local.INFO: TCP Data received {"connection_id":191410,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:58:28] local.INFO: Processing buffer {"connection_id":191410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:58:28] local.INFO: IMEI packet received {"connection_id":191410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":191410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:58:33] local.INFO: TCP Data received {"connection_id":191410,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:58:33] local.INFO: Processing buffer {"connection_id":191410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:58:33] local.INFO: IMEI packet received {"connection_id":191410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":191410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:58:34] local.INFO: TCP Data received {"connection_id":191410,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 14:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 14:58:34] local.INFO: Processing buffer {"connection_id":191410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 14:58:34] local.INFO: Packet analysis {"connection_id":191410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 14:58:34] local.INFO: Extracted packet for processing {"connection_id":191410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 14:58:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301866752001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790241968000,"timestamp_ms":1790241968000,"timestamp_seconds":1790241968,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2bc8f80"} 
[2026-09-24 14:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301866752001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301866752001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:58:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:58:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301866752001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":191410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:58:34] local.INFO: GPS data processed {"connection_id":191410,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:58:34] local.INFO: Acknowledgment sent {"connection_id":191410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:58:45] local.INFO: TCP Data received {"connection_id":192790,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:58:45] local.INFO: Processing buffer {"connection_id":192790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:58:45] local.INFO: IMEI packet received {"connection_id":192790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":192790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:58:50] local.INFO: TCP Data received {"connection_id":192790,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:58:50] local.INFO: Processing buffer {"connection_id":192790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:58:50] local.INFO: IMEI packet received {"connection_id":192790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":192790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:58:51] local.INFO: TCP Data received {"connection_id":192790,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2bb9580012d196a00071fec30003e01122d..."} 
[2026-09-24 14:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2bb9580012d196a00071fec30003e01122d..."} 
[2026-09-24 14:58:51] local.INFO: Processing buffer {"connection_id":192790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2bb9580012d196a00071fec30003e01122d..."} 
[2026-09-24 14:58:51] local.INFO: Packet analysis {"connection_id":192790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2bb"} 
[2026-09-24 14:58:51] local.INFO: Extracted packet for processing {"connection_id":192790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2bb"} 
[2026-09-24 14:58:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 14: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-09-24 14:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301922048001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 14:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 14:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790241904000,"timestamp_ms":1790241904000,"timestamp_seconds":1790241904,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2bb9580"} 
[2026-09-24 14:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 14:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14: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-09-24 14:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301922048001,"66":12689,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 14:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301922048001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:58:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 14:58:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 14:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301922048001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 14:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":192790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:58:51] local.INFO: GPS data processed {"connection_id":192790,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:58:51] local.INFO: Acknowledgment sent {"connection_id":192790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:59:05] local.INFO: TCP Data received {"connection_id":191410,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 14:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 14:59:05] local.INFO: Processing buffer {"connection_id":191410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 14:59:05] local.INFO: Packet analysis {"connection_id":191410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 14:59:05] local.INFO: Extracted packet for processing {"connection_id":191410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 14:59:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301866752001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790241968000,"timestamp_ms":1790241968000,"timestamp_seconds":1790241968,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2bc8f80"} 
[2026-09-24 14:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:59:05] 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-09-24 14:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301866752001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301866752001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:59:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:59:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301866752001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":191410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:59:05] local.INFO: GPS data processed {"connection_id":191410,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:59:05] local.INFO: Acknowledgment sent {"connection_id":191410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:59:22] local.INFO: TCP Data received {"connection_id":192790,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2bbe788012d196a00071fec30003e01122c..."} 
[2026-09-24 14:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2bbe788012d196a00071fec30003e01122c..."} 
[2026-09-24 14:59:22] local.INFO: Processing buffer {"connection_id":192790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2bbe788012d196a00071fec30003e01122c..."} 
[2026-09-24 14:59:22] local.INFO: Packet analysis {"connection_id":192790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2bb"} 
[2026-09-24 14:59:22] local.INFO: Extracted packet for processing {"connection_id":192790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2bb"} 
[2026-09-24 14:59:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 14:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301927424001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790241925000,"timestamp_ms":1790241925000,"timestamp_seconds":1790241925,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2bbe788"} 
[2026-09-24 14:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-24 14:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301927424001,"66":12711,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 14:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301927424001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:59:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 14:59:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 14:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301927424001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 14:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":192790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:59:22] local.INFO: GPS data processed {"connection_id":192790,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:59:22] local.INFO: Acknowledgment sent {"connection_id":192790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:59:28] local.INFO: TCP Data received {"connection_id":194063,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:59:28] local.INFO: Processing buffer {"connection_id":194063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:59:28] local.INFO: IMEI packet received {"connection_id":194063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 14:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":194063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:59:33] local.INFO: TCP Data received {"connection_id":194063,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:59:33] local.INFO: Processing buffer {"connection_id":194063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 14:59:33] local.INFO: IMEI packet received {"connection_id":194063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 14:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":194063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:59:35] local.INFO: TCP Data received {"connection_id":194063,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 14:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 14:59:35] local.INFO: Processing buffer {"connection_id":194063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 14:59:35] local.INFO: Packet analysis {"connection_id":194063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 14:59:35] local.INFO: Extracted packet for processing {"connection_id":194063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 14:59:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 14:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301866752001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790241968000,"timestamp_ms":1790241968000,"timestamp_seconds":1790241968,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2bc8f80"} 
[2026-09-24 14:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 14:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 14:59:35] 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-09-24 14:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 14:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 14:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 14:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301866752001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 14:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 14:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 14:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301866752001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:59:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 14:59:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 14:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 14:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301866752001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 14:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":194063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:59:35] local.INFO: GPS data processed {"connection_id":194063,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:59:35] local.INFO: Acknowledgment sent {"connection_id":194063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:59:50] local.INFO: TCP Data received {"connection_id":191412,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:59:50] local.INFO: Processing buffer {"connection_id":191412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:59:50] local.INFO: IMEI packet received {"connection_id":191412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 14:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":191412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 14:59:54] local.INFO: TCP Data received {"connection_id":191412,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:59:54] local.INFO: Processing buffer {"connection_id":191412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 14:59:54] local.INFO: IMEI packet received {"connection_id":191412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 14:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":191412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 14:59:54] local.INFO: TCP Data received {"connection_id":191412,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2bc3990012d196a00071fec30003e01122b..."} 
[2026-09-24 14:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2bc3990012d196a00071fec30003e01122b..."} 
[2026-09-24 14:59:54] local.INFO: Processing buffer {"connection_id":191412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2bc3990012d196a00071fec30003e01122b..."} 
[2026-09-24 14:59:54] local.INFO: Packet analysis {"connection_id":191412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 14:59:54] local.INFO: Extracted packet for processing {"connection_id":191412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 14:59:54] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 14:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301932800001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790241946000,"timestamp_ms":1790241946000,"timestamp_seconds":1790241946,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2bc3990"} 
[2026-09-24 14:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-24 14:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 14:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 14:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":191412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":191412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":191412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301932800001,"66":12558,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 14:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301932800001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:59:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 14:59:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 14:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301932800001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 14:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":191412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:59:55] local.INFO: GPS data processed {"connection_id":191412,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:59:55] local.INFO: Acknowledgment sent {"connection_id":191412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 14:59:55] local.INFO: TCP Data received {"connection_id":191412,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2bc8b98012d196a00071fec30003e01122b..."} 
[2026-09-24 14:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2bc8b98012d196a00071fec30003e01122b..."} 
[2026-09-24 14:59:55] local.INFO: Processing buffer {"connection_id":191412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2bc8b98012d196a00071fec30003e01122b..."} 
[2026-09-24 14:59:55] local.INFO: Packet analysis {"connection_id":191412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 14:59:55] local.INFO: Extracted packet for processing {"connection_id":191412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 14:59:55] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 14:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 14:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301938176001,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 14:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790241967000,"timestamp_ms":1790241967000,"timestamp_seconds":1790241967,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2bc8b98"} 
[2026-09-24 14:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 14:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 14:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 14:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:55] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3535424864,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249745154476600368,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:55] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3136385025,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:55] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3962568766,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 14:59:55] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3892366712,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:55] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:55] local.WARNING: Large IO value detected {"io_id":80,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:55] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-24 14:59:55] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,114,160,231,45,236,62,44,10,66,149,67,1,240,178,227,210,31,4,113,205,159,106,48,46,239,49,2,81,7,120,80,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 14:59:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467872281221136384,"timestamp_seconds":4467872281221136.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 14:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 14:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 14:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 14:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 14:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 14:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 14:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 14:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301938176001,"66":12689,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 14:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 14:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 14:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301938176001,"description":"Unknown IO ID 0"} 
[2026-09-24 14:59:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 14:59:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 14:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 14:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 14:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301938176001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 14:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":191412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 14:59:55] local.INFO: GPS data processed {"connection_id":191412,"processed":1,"errors":0,"total":1} 
[2026-09-24 14:59:55] local.INFO: Acknowledgment sent {"connection_id":191412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:00:07] local.INFO: TCP Data received {"connection_id":194063,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 15:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 15:00:07] local.INFO: Processing buffer {"connection_id":194063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 15:00:07] local.INFO: Packet analysis {"connection_id":194063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 15:00:07] local.INFO: Extracted packet for processing {"connection_id":194063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 15:00:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301866752001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790241968000,"timestamp_ms":1790241968000,"timestamp_seconds":1790241968,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2bc8f80"} 
[2026-09-24 15:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":194063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":194063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":194063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301866752001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301866752001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:00:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:00:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301866752001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":194063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:00:07] local.INFO: GPS data processed {"connection_id":194063,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:00:07] local.INFO: Acknowledgment sent {"connection_id":194063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:00:27] local.INFO: TCP Data received {"connection_id":191412,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2bcdda0012d196a00071fec30003e01122c..."} 
[2026-09-24 15:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2bcdda0012d196a00071fec30003e01122c..."} 
[2026-09-24 15:00:27] local.INFO: Processing buffer {"connection_id":191412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2bcdda0012d196a00071fec30003e01122c..."} 
[2026-09-24 15:00:27] local.INFO: Packet analysis {"connection_id":191412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 15:00:27] local.INFO: Extracted packet for processing {"connection_id":191412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 15:00:27] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301943552001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790241988000,"timestamp_ms":1790241988000,"timestamp_seconds":1790241988,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2bcdda0"} 
[2026-09-24 15:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-24 15:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301943552001,"66":12689,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301943552001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:00:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:00:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301943552001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":191412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:00:27] local.INFO: GPS data processed {"connection_id":191412,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:00:27] local.INFO: Acknowledgment sent {"connection_id":191412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:00:28] local.INFO: TCP Data received {"connection_id":192791,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:00:28] local.INFO: Processing buffer {"connection_id":192791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:00:28] local.INFO: IMEI packet received {"connection_id":192791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":192791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:00:33] local.INFO: TCP Data received {"connection_id":192791,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:00:33] local.INFO: Processing buffer {"connection_id":192791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:00:33] local.INFO: IMEI packet received {"connection_id":192791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":192791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:00:35] local.INFO: TCP Data received {"connection_id":192791,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 15:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 15:00:35] local.INFO: Processing buffer {"connection_id":192791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 15:00:35] local.INFO: Packet analysis {"connection_id":192791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 15:00:35] local.INFO: Extracted packet for processing {"connection_id":192791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 15:00:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301866752001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790241968000,"timestamp_ms":1790241968000,"timestamp_seconds":1790241968,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2bc8f80"} 
[2026-09-24 15:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:00:35] 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-09-24 15:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301866752001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301866752001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:00:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:00:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301866752001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":192791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:00:35] local.INFO: GPS data processed {"connection_id":192791,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:00:35] local.INFO: Acknowledgment sent {"connection_id":192791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:00:45] local.INFO: TCP Data received {"connection_id":191413,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:00:45] local.INFO: Processing buffer {"connection_id":191413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:00:45] local.INFO: IMEI packet received {"connection_id":191413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":191413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:00:50] local.INFO: TCP Data received {"connection_id":191413,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:00:50] local.INFO: Processing buffer {"connection_id":191413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:00:50] local.INFO: IMEI packet received {"connection_id":191413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":191413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:00:51] local.INFO: TCP Data received {"connection_id":191413,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2bd2fa8012d196a00071fec30003e01122c..."} 
[2026-09-24 15:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2bd2fa8012d196a00071fec30003e01122c..."} 
[2026-09-24 15:00:51] local.INFO: Processing buffer {"connection_id":191413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2bd2fa8012d196a00071fec30003e01122c..."} 
[2026-09-24 15:00:51] local.INFO: Packet analysis {"connection_id":191413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2bd"} 
[2026-09-24 15:00:51] local.INFO: Extracted packet for processing {"connection_id":191413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2bd"} 
[2026-09-24 15:00:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301948928001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790242009000,"timestamp_ms":1790242009000,"timestamp_seconds":1790242009,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2bd2fa8"} 
[2026-09-24 15:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-24 15:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:00: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-09-24 15:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301948928001,"66":12689,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301948928001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:00:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:00:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301948928001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":191413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:00:51] local.INFO: GPS data processed {"connection_id":191413,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:00:51] local.INFO: Acknowledgment sent {"connection_id":191413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:01:06] local.INFO: TCP Data received {"connection_id":192791,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 15:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 15:01:06] local.INFO: Processing buffer {"connection_id":192791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 15:01:06] local.INFO: Packet analysis {"connection_id":192791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 15:01:06] local.INFO: Extracted packet for processing {"connection_id":192791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 15:01:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301866752001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790241968000,"timestamp_ms":1790241968000,"timestamp_seconds":1790241968,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2bc8f80"} 
[2026-09-24 15:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301866752001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301866752001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:01:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:01:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301866752001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":192791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:01:06] local.INFO: GPS data processed {"connection_id":192791,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:01:06] local.INFO: Acknowledgment sent {"connection_id":192791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:01:22] local.INFO: TCP Data received {"connection_id":191413,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2bd81b0012d196a00071fec30003e01122a..."} 
[2026-09-24 15:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2bd81b0012d196a00071fec30003e01122a..."} 
[2026-09-24 15:01:22] local.INFO: Processing buffer {"connection_id":191413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2bd81b0012d196a00071fec30003e01122a..."} 
[2026-09-24 15:01:22] local.INFO: Packet analysis {"connection_id":191413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2bd"} 
[2026-09-24 15:01:22] local.INFO: Extracted packet for processing {"connection_id":191413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2bd"} 
[2026-09-24 15:01:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301954304001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790242030000,"timestamp_ms":1790242030000,"timestamp_seconds":1790242030,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2bd81b0"} 
[2026-09-24 15:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-24 15:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301954304001,"66":12689,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301954304001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:01:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:01:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301954304001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":191413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:01:22] local.INFO: GPS data processed {"connection_id":191413,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:01:22] local.INFO: Acknowledgment sent {"connection_id":191413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:01:33] local.INFO: TCP Data received {"connection_id":191414,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:01:33] local.INFO: Processing buffer {"connection_id":191414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:01:33] local.INFO: IMEI packet received {"connection_id":191414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":191414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:01:38] local.INFO: TCP Data received {"connection_id":191414,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:01:38] local.INFO: Processing buffer {"connection_id":191414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:01:38] local.INFO: IMEI packet received {"connection_id":191414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":191414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:01:39] local.INFO: TCP Data received {"connection_id":191414,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 15:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 15:01:39] local.INFO: Processing buffer {"connection_id":191414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 15:01:39] local.INFO: Packet analysis {"connection_id":191414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 15:01:39] local.INFO: Extracted packet for processing {"connection_id":191414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 15:01:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301866752001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790241968000,"timestamp_ms":1790241968000,"timestamp_seconds":1790241968,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2bc8f80"} 
[2026-09-24 15:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301866752001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301866752001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:01:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:01:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301866752001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":191414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:01:39] local.INFO: GPS data processed {"connection_id":191414,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:01:39] local.INFO: Acknowledgment sent {"connection_id":191414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:01:44] local.INFO: TCP Data received {"connection_id":191414,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 15:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 15:01:44] local.INFO: Processing buffer {"connection_id":191414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2bc8f80012d34c14006aa4940000900f529..."} 
[2026-09-24 15:01:44] local.INFO: Packet analysis {"connection_id":191414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 15:01:44] local.INFO: Extracted packet for processing {"connection_id":191414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2bc"} 
[2026-09-24 15:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301866752001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790241968000,"timestamp_ms":1790241968000,"timestamp_seconds":1790241968,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2bc8f80"} 
[2026-09-24 15:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:01:44] 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-09-24 15:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301866752001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301866752001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:01:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:01:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301866752001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":191414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:01:44] local.INFO: GPS data processed {"connection_id":191414,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:01:44] local.INFO: Acknowledgment sent {"connection_id":191414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:01:45] local.INFO: TCP Data received {"connection_id":192792,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:01:45] local.INFO: Processing buffer {"connection_id":192792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:01:45] local.INFO: IMEI packet received {"connection_id":192792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":192792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:01:50] local.INFO: TCP Data received {"connection_id":192792,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:01:50] local.INFO: Processing buffer {"connection_id":192792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:01:50] local.INFO: IMEI packet received {"connection_id":192792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":192792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:01:51] local.INFO: TCP Data received {"connection_id":192792,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2bdd3b8012d196a00071fec30003e01122b..."} 
[2026-09-24 15:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2bdd3b8012d196a00071fec30003e01122b..."} 
[2026-09-24 15:01:51] local.INFO: Processing buffer {"connection_id":192792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2bdd3b8012d196a00071fec30003e01122b..."} 
[2026-09-24 15:01:51] local.INFO: Packet analysis {"connection_id":192792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2bd"} 
[2026-09-24 15:01:51] local.INFO: Extracted packet for processing {"connection_id":192792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2bd"} 
[2026-09-24 15:01:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301959680001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790242051000,"timestamp_ms":1790242051000,"timestamp_seconds":1790242051,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2bdd3b8"} 
[2026-09-24 15:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-24 15:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301959680001,"66":12667,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301959680001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:01:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:01:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301959680001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":192792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:01:51] local.INFO: GPS data processed {"connection_id":192792,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:01:51] local.INFO: Acknowledgment sent {"connection_id":192792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:02:00] local.INFO: TCP Data received {"connection_id":194065,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194065,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:02:00] local.INFO: Processing buffer {"connection_id":194065,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:02:00] local.INFO: IMEI packet received {"connection_id":194065,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":194065,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:02:04] local.INFO: TCP Data received {"connection_id":194066,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 15:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 15:02:04] local.INFO: Processing buffer {"connection_id":194066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 15:02:04] local.INFO: IMEI packet received {"connection_id":194066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-24 15:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":194066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:02:04] local.INFO: TCP Data received {"connection_id":194066,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 15:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 15:02:04] local.INFO: Processing buffer {"connection_id":194066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 15:02:04] local.INFO: IMEI packet received {"connection_id":194066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-24 15:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":194066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:02:09] local.INFO: TCP Data received {"connection_id":194066,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 15:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 15:02:09] local.INFO: Processing buffer {"connection_id":194066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-24 15:02:09] local.INFO: IMEI packet received {"connection_id":194066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-24 15:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":194066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:02:10] local.INFO: TCP Data received {"connection_id":194066,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-24 15:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194066,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-24 15:02:10] local.INFO: Processing buffer {"connection_id":194066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-24 15:02:10] local.INFO: Packet analysis {"connection_id":194066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-24 15:02:10] local.INFO: Extracted packet for processing {"connection_id":194066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-24 15:02:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 15:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586924919259136,"note":"Value kept but may cause issues"} 
[2026-09-24 15:02:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:02:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 15:02:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-24 15:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":194066,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":194066,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-24 15:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":194066,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-24 15:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-24 15:02:10] local.WARNING: DEBUG: No valid data to process  
[2026-09-24 15:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":194066,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-24 15:02:10] local.ERROR: GPS data processing failed {"connection_id":194066,"error":"No valid data to process"} 
[2026-09-24 15:02:10] local.INFO: Acknowledgment sent {"connection_id":194066,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-24 15:02:15] local.INFO: TCP Data received {"connection_id":191203,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:02:15] local.INFO: Processing buffer {"connection_id":191203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:02:15] local.INFO: IMEI packet received {"connection_id":191203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":191203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:02:22] local.INFO: TCP Data received {"connection_id":192792,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2be25c0012d196a00071fec30003e01122b..."} 
[2026-09-24 15:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2be25c0012d196a00071fec30003e01122b..."} 
[2026-09-24 15:02:22] local.INFO: Processing buffer {"connection_id":192792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2be25c0012d196a00071fec30003e01122b..."} 
[2026-09-24 15:02:22] local.INFO: Packet analysis {"connection_id":192792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2be"} 
[2026-09-24 15:02:22] local.INFO: Extracted packet for processing {"connection_id":192792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2be"} 
[2026-09-24 15:02:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301965056001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790242072000,"timestamp_ms":1790242072000,"timestamp_seconds":1790242072,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2be25c0"} 
[2026-09-24 15:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-24 15:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301965056001,"66":12667,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301965056001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:02:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:02:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301965056001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":192792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:02:22] local.INFO: GPS data processed {"connection_id":192792,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:02:22] local.INFO: Acknowledgment sent {"connection_id":192792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:02:28] local.INFO: TCP Data received {"connection_id":192793,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:02:28] local.INFO: Processing buffer {"connection_id":192793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:02:28] local.INFO: IMEI packet received {"connection_id":192793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":192793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:02:33] local.INFO: TCP Data received {"connection_id":192793,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:02:33] local.INFO: Processing buffer {"connection_id":192793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:02:33] local.INFO: IMEI packet received {"connection_id":192793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":192793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:02:34] local.INFO: TCP Data received {"connection_id":192793,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:02:34] local.INFO: Processing buffer {"connection_id":192793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:02:34] local.INFO: Packet analysis {"connection_id":192793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c1"} 
[2026-09-24 15:02:34] local.INFO: Extracted packet for processing {"connection_id":192793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c1"} 
[2026-09-24 15:02:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301943808001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790242269000,"timestamp_ms":1790242269000,"timestamp_seconds":1790242269,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c12748"} 
[2026-09-24 15:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301943808001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301943808001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:02:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:02:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301943808001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":192793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:02:34] local.INFO: GPS data processed {"connection_id":192793,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:02:34] local.INFO: Acknowledgment sent {"connection_id":192793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:02:41] local.INFO: TCP Data received {"connection_id":194066,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-24 15:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194066,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-24 15:02:41] local.INFO: Processing buffer {"connection_id":194066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-24 15:02:41] local.INFO: Packet analysis {"connection_id":194066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-24 15:02:41] local.INFO: Extracted packet for processing {"connection_id":194066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-24 15:02:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 15:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586924919259136,"note":"Value kept but may cause issues"} 
[2026-09-24 15:02:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:02:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 15:02:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-24 15:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":194066,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":194066,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-24 15:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":194066,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-24 15:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-24 15:02:41] local.WARNING: DEBUG: No valid data to process  
[2026-09-24 15:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":194066,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-24 15:02:41] local.ERROR: GPS data processing failed {"connection_id":194066,"error":"No valid data to process"} 
[2026-09-24 15:02:41] local.INFO: Acknowledgment sent {"connection_id":194066,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-24 15:02:45] local.INFO: TCP Data received {"connection_id":191415,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:02:45] local.INFO: Processing buffer {"connection_id":191415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:02:45] local.INFO: IMEI packet received {"connection_id":191415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":191415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:02:50] local.INFO: TCP Data received {"connection_id":191415,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:02:50] local.INFO: Processing buffer {"connection_id":191415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:02:50] local.INFO: IMEI packet received {"connection_id":191415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":191415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:02:51] local.INFO: TCP Data received {"connection_id":191415,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2be77c8012d196a00071fec30003e01122b..."} 
[2026-09-24 15:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2be77c8012d196a00071fec30003e01122b..."} 
[2026-09-24 15:02:51] local.INFO: Processing buffer {"connection_id":191415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2be77c8012d196a00071fec30003e01122b..."} 
[2026-09-24 15:02:51] local.INFO: Packet analysis {"connection_id":191415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2be"} 
[2026-09-24 15:02:51] local.INFO: Extracted packet for processing {"connection_id":191415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2be"} 
[2026-09-24 15:02:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301970432001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790242093000,"timestamp_ms":1790242093000,"timestamp_seconds":1790242093,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2be77c8"} 
[2026-09-24 15:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-24 15:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301970432001,"66":12667,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301970432001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:02:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:02:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301970432001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":191415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:02:51] local.INFO: GPS data processed {"connection_id":191415,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:02:51] local.INFO: Acknowledgment sent {"connection_id":191415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:03:06] local.INFO: TCP Data received {"connection_id":192793,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:03:06] local.INFO: Processing buffer {"connection_id":192793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:03:06] local.INFO: Packet analysis {"connection_id":192793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c1"} 
[2026-09-24 15:03:06] local.INFO: Extracted packet for processing {"connection_id":192793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c1"} 
[2026-09-24 15:03:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301943808001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790242269000,"timestamp_ms":1790242269000,"timestamp_seconds":1790242269,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c12748"} 
[2026-09-24 15:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301943808001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301943808001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:03:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:03:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301943808001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":192793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:03:06] local.INFO: GPS data processed {"connection_id":192793,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:03:06] local.INFO: Acknowledgment sent {"connection_id":192793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:03:12] local.INFO: TCP Data received {"connection_id":194066,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-24 15:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-24 15:03:12] local.INFO: Processing buffer {"connection_id":194066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-24 15:03:12] local.INFO: Packet analysis {"connection_id":194066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-24 15:03:12] local.INFO: Extracted packet for processing {"connection_id":194066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-24 15:03:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 15:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586924919259136,"note":"Value kept but may cause issues"} 
[2026-09-24 15:03:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:03:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":89000,"timestamp_seconds":89,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 15:03:12] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-24 15:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194066,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194066,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-24 15:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194066,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-24 15:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-24 15:03:12] local.WARNING: DEBUG: No valid data to process  
[2026-09-24 15:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":194066,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-24 15:03:12] local.ERROR: GPS data processing failed {"connection_id":194066,"error":"No valid data to process"} 
[2026-09-24 15:03:12] local.INFO: Acknowledgment sent {"connection_id":194066,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-24 15:03:22] local.INFO: TCP Data received {"connection_id":191415,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2bec9d0012d196a00071fec30003e01122b..."} 
[2026-09-24 15:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2bec9d0012d196a00071fec30003e01122b..."} 
[2026-09-24 15:03:22] local.INFO: Processing buffer {"connection_id":191415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2bec9d0012d196a00071fec30003e01122b..."} 
[2026-09-24 15:03:22] local.INFO: Packet analysis {"connection_id":191415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2be"} 
[2026-09-24 15:03:22] local.INFO: Extracted packet for processing {"connection_id":191415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2be"} 
[2026-09-24 15:03:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301975808001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790242114000,"timestamp_ms":1790242114000,"timestamp_seconds":1790242114,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2bec9d0"} 
[2026-09-24 15:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-24 15:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301975808001,"66":12667,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301975808001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:03:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:03:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301975808001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":191415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:03:22] local.INFO: GPS data processed {"connection_id":191415,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:03:22] local.INFO: Acknowledgment sent {"connection_id":191415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:03:28] local.INFO: TCP Data received {"connection_id":194067,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:03:28] local.INFO: Processing buffer {"connection_id":194067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:03:28] local.INFO: IMEI packet received {"connection_id":194067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":194067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:03:35] local.INFO: TCP Data received {"connection_id":194067,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:03:35] local.INFO: Processing buffer {"connection_id":194067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:03:35] local.INFO: IMEI packet received {"connection_id":194067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":194067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:03:38] local.INFO: TCP Data received {"connection_id":194067,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:03:38] local.INFO: Processing buffer {"connection_id":194067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:03:38] local.INFO: IMEI packet received {"connection_id":194067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":194067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:03:39] local.INFO: TCP Data received {"connection_id":194067,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:03:39] local.INFO: Processing buffer {"connection_id":194067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:03:39] local.INFO: Packet analysis {"connection_id":194067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c1"} 
[2026-09-24 15:03:39] local.INFO: Extracted packet for processing {"connection_id":194067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c1"} 
[2026-09-24 15:03:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301943808001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790242269000,"timestamp_ms":1790242269000,"timestamp_seconds":1790242269,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c12748"} 
[2026-09-24 15:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301943808001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301943808001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:03:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:03:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301943808001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":194067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:03:39] local.INFO: GPS data processed {"connection_id":194067,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:03:39] local.INFO: Acknowledgment sent {"connection_id":194067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:03:45] local.INFO: TCP Data received {"connection_id":191417,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:03:45] local.INFO: Processing buffer {"connection_id":191417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:03:45] local.INFO: IMEI packet received {"connection_id":191417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":191417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:03:45] local.INFO: TCP Data received {"connection_id":191417,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:03:45] local.INFO: Processing buffer {"connection_id":191417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:03:45] local.INFO: IMEI packet received {"connection_id":191417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":191417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:03:50] local.INFO: TCP Data received {"connection_id":191417,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:03:50] local.INFO: Processing buffer {"connection_id":191417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:03:50] local.INFO: IMEI packet received {"connection_id":191417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":191417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:03:51] local.INFO: TCP Data received {"connection_id":191417,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c25028012d196a00071fec30003e01122b..."} 
[2026-09-24 15:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c25028012d196a00071fec30003e01122b..."} 
[2026-09-24 15:03:51] local.INFO: Processing buffer {"connection_id":191417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c25028012d196a00071fec30003e01122b..."} 
[2026-09-24 15:03:51] local.INFO: Packet analysis {"connection_id":191417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c2"} 
[2026-09-24 15:03:51] local.INFO: Extracted packet for processing {"connection_id":191417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c2"} 
[2026-09-24 15:03:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302034944001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790242345000,"timestamp_ms":1790242345000,"timestamp_seconds":1790242345,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c25028"} 
[2026-09-24 15:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-24 15:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302034944001,"66":12580,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302034944001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:03:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:03:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302034944001,"power":12580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":191417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:03:51] local.INFO: GPS data processed {"connection_id":191417,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:03:51] local.INFO: Acknowledgment sent {"connection_id":191417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:04:10] local.INFO: TCP Data received {"connection_id":194067,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:04:10] local.INFO: Processing buffer {"connection_id":194067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:04:10] local.INFO: Packet analysis {"connection_id":194067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c1"} 
[2026-09-24 15:04:10] local.INFO: Extracted packet for processing {"connection_id":194067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c1"} 
[2026-09-24 15:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301943808001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790242269000,"timestamp_ms":1790242269000,"timestamp_seconds":1790242269,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c12748"} 
[2026-09-24 15:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:04:10] 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-09-24 15: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-09-24 15:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":194067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":194067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":194067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301943808001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301943808001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:04:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:04:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301943808001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":194067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:04:10] local.INFO: GPS data processed {"connection_id":194067,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:04:10] local.INFO: Acknowledgment sent {"connection_id":194067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:04:22] local.INFO: TCP Data received {"connection_id":191417,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c2a230012d196a00071fec30003e01122c..."} 
[2026-09-24 15:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c2a230012d196a00071fec30003e01122c..."} 
[2026-09-24 15:04:22] local.INFO: Processing buffer {"connection_id":191417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c2a230012d196a00071fec30003e01122c..."} 
[2026-09-24 15:04:22] local.INFO: Packet analysis {"connection_id":191417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c2"} 
[2026-09-24 15:04:22] local.INFO: Extracted packet for processing {"connection_id":191417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c2"} 
[2026-09-24 15:04:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302040320001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790242366000,"timestamp_ms":1790242366000,"timestamp_seconds":1790242366,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c2a230"} 
[2026-09-24 15:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-24 15:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302040320001,"66":12526,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302040320001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:04:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:04:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302040320001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":191417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:04:22] local.INFO: GPS data processed {"connection_id":191417,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:04:22] local.INFO: Acknowledgment sent {"connection_id":191417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:04:28] local.INFO: TCP Data received {"connection_id":192794,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:04:28] local.INFO: Processing buffer {"connection_id":192794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:04:28] local.INFO: IMEI packet received {"connection_id":192794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":192794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:04:33] local.INFO: TCP Data received {"connection_id":192794,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:04:33] local.INFO: Processing buffer {"connection_id":192794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:04:33] local.INFO: IMEI packet received {"connection_id":192794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":192794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:04:34] local.INFO: TCP Data received {"connection_id":192794,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:04:34] local.INFO: Processing buffer {"connection_id":192794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:04:34] local.INFO: Packet analysis {"connection_id":192794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c1"} 
[2026-09-24 15:04:34] local.INFO: Extracted packet for processing {"connection_id":192794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c1"} 
[2026-09-24 15:04:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301943808001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790242269000,"timestamp_ms":1790242269000,"timestamp_seconds":1790242269,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c12748"} 
[2026-09-24 15:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301943808001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301943808001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:04:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:04:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301943808001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":192794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:04:34] local.INFO: GPS data processed {"connection_id":192794,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:04:34] local.INFO: Acknowledgment sent {"connection_id":192794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:04:45] local.INFO: TCP Data received {"connection_id":194068,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:04:45] local.INFO: Processing buffer {"connection_id":194068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:04:45] local.INFO: IMEI packet received {"connection_id":194068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":194068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:04:48] local.INFO: TCP Data received {"connection_id":194068,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:04:48] local.INFO: Processing buffer {"connection_id":194068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:04:48] local.INFO: IMEI packet received {"connection_id":194068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":194068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:04:50] local.INFO: TCP Data received {"connection_id":194068,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:04:50] local.INFO: Processing buffer {"connection_id":194068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:04:50] local.INFO: IMEI packet received {"connection_id":194068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":194068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:04:50] local.INFO: TCP Data received {"connection_id":194068,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c2f438012d196a00071fec30003e01122c..."} 
[2026-09-24 15:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c2f438012d196a00071fec30003e01122c..."} 
[2026-09-24 15:04:50] local.INFO: Processing buffer {"connection_id":194068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c2f438012d196a00071fec30003e01122c..."} 
[2026-09-24 15:04:50] local.INFO: Packet analysis {"connection_id":194068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c2"} 
[2026-09-24 15:04:50] local.INFO: Extracted packet for processing {"connection_id":194068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c2"} 
[2026-09-24 15:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302045696001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790242387000,"timestamp_ms":1790242387000,"timestamp_seconds":1790242387,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c2f438"} 
[2026-09-24 15:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:04:50] 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-09-24 15:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 15:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":194068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":194068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":194068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302045696001,"66":12287,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302045696001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:04:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302045696001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":194068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:04:50] local.INFO: GPS data processed {"connection_id":194068,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:04:50] local.INFO: Acknowledgment sent {"connection_id":194068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:05:06] local.INFO: TCP Data received {"connection_id":192794,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:05:06] local.INFO: Processing buffer {"connection_id":192794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:05:06] local.INFO: Packet analysis {"connection_id":192794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c1"} 
[2026-09-24 15:05:06] local.INFO: Extracted packet for processing {"connection_id":192794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c1"} 
[2026-09-24 15:05:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301943808001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790242269000,"timestamp_ms":1790242269000,"timestamp_seconds":1790242269,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c12748"} 
[2026-09-24 15:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301943808001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301943808001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:05:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:05:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301943808001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":192794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:05:06] local.INFO: GPS data processed {"connection_id":192794,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:05:06] local.INFO: Acknowledgment sent {"connection_id":192794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:05:21] local.INFO: TCP Data received {"connection_id":194068,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c34640012d196a00071fec30003e01122b..."} 
[2026-09-24 15:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c34640012d196a00071fec30003e01122b..."} 
[2026-09-24 15:05:21] local.INFO: Processing buffer {"connection_id":194068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c34640012d196a00071fec30003e01122b..."} 
[2026-09-24 15:05:21] local.INFO: Packet analysis {"connection_id":194068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c3"} 
[2026-09-24 15:05:21] local.INFO: Extracted packet for processing {"connection_id":194068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c3"} 
[2026-09-24 15:05:21] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302051072001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790242408000,"timestamp_ms":1790242408000,"timestamp_seconds":1790242408,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c34640"} 
[2026-09-24 15:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-24 15:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302051072001,"66":12558,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302051072001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:05:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:05:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302051072001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":194068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:05:22] local.INFO: GPS data processed {"connection_id":194068,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:05:22] local.INFO: Acknowledgment sent {"connection_id":194068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:05:28] local.INFO: TCP Data received {"connection_id":192795,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:05:28] local.INFO: Processing buffer {"connection_id":192795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:05:28] local.INFO: IMEI packet received {"connection_id":192795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":192795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:05:33] local.INFO: TCP Data received {"connection_id":192795,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:05:33] local.INFO: Processing buffer {"connection_id":192795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:05:33] local.INFO: IMEI packet received {"connection_id":192795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":192795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:05:35] local.INFO: TCP Data received {"connection_id":192795,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:05:35] local.INFO: Processing buffer {"connection_id":192795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:05:35] local.INFO: Packet analysis {"connection_id":192795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c1"} 
[2026-09-24 15:05:35] local.INFO: Extracted packet for processing {"connection_id":192795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c1"} 
[2026-09-24 15:05:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301943808001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790242269000,"timestamp_ms":1790242269000,"timestamp_seconds":1790242269,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c12748"} 
[2026-09-24 15:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:05:35] 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-09-24 15:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301943808001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301943808001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:05:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:05:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301943808001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":192795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:05:35] local.INFO: GPS data processed {"connection_id":192795,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:05:35] local.INFO: Acknowledgment sent {"connection_id":192795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:05:50] local.INFO: TCP Data received {"connection_id":191418,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:05:50] local.INFO: Processing buffer {"connection_id":191418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:05:50] local.INFO: IMEI packet received {"connection_id":191418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":191418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:05:51] local.INFO: TCP Data received {"connection_id":191418,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:05:51] local.INFO: Processing buffer {"connection_id":191418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:05:51] local.INFO: IMEI packet received {"connection_id":191418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":191418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:05:51] local.INFO: TCP Data received {"connection_id":191418,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c39848012d196a00071fec30003e01122b..."} 
[2026-09-24 15:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c39848012d196a00071fec30003e01122b..."} 
[2026-09-24 15:05:51] local.INFO: Processing buffer {"connection_id":191418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c39848012d196a00071fec30003e01122b..."} 
[2026-09-24 15:05:51] local.INFO: Packet analysis {"connection_id":191418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c3"} 
[2026-09-24 15:05:51] local.INFO: Extracted packet for processing {"connection_id":191418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c3"} 
[2026-09-24 15:05:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:05: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-09-24 15:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302056448001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790242429000,"timestamp_ms":1790242429000,"timestamp_seconds":1790242429,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c39848"} 
[2026-09-24 15:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 15:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:51] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3535886864,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249745154476600368,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:51] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3254657025,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3962568766,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 15:05:51] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:51] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:51] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:51] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,114,160,244,45,236,62,44,10,66,162,80,1,240,36,227,210,31,4,113,205,172,106,48,43,239,49,2,81,7,120,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 15:05:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467872281221136384,"timestamp_seconds":4467872281221136.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 15:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302056448001,"66":12548,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302056448001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:05:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:05:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302056448001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":191418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:05:51] local.INFO: GPS data processed {"connection_id":191418,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:05:51] local.INFO: Acknowledgment sent {"connection_id":191418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:05:55] local.INFO: TCP Data received {"connection_id":191418,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c3ea50012d196a00071fec30003e01122a..."} 
[2026-09-24 15:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c3ea50012d196a00071fec30003e01122a..."} 
[2026-09-24 15:05:55] local.INFO: Processing buffer {"connection_id":191418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c3ea50012d196a00071fec30003e01122a..."} 
[2026-09-24 15:05:55] local.INFO: Packet analysis {"connection_id":191418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c3"} 
[2026-09-24 15:05:55] local.INFO: Extracted packet for processing {"connection_id":191418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c3"} 
[2026-09-24 15:05:55] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:05: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-09-24 15:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302061824001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790242450000,"timestamp_ms":1790242450000,"timestamp_seconds":1790242450,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c3ea50"} 
[2026-09-24 15:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:05:55] 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-09-24 15:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 15:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:55] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3535907864,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:55] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3260033025,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:55] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3962568766,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 15:05:55] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:05:55] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,114,160,70,45,236,62,43,10,66,244,44,162,1,240,238,227,210,31,4,113,205,254,106,48,239,49,2,81,7,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 15:05:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467872281221136384,"timestamp_seconds":4467872281221136.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 15:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302061824001,"66":12558,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302061824001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:05:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:05:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302061824001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":191418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:05:55] local.INFO: GPS data processed {"connection_id":191418,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:05:55] local.INFO: Acknowledgment sent {"connection_id":191418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:06:06] local.INFO: TCP Data received {"connection_id":192795,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:06:06] local.INFO: Processing buffer {"connection_id":192795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:06:06] local.INFO: Packet analysis {"connection_id":192795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c1"} 
[2026-09-24 15:06:06] local.INFO: Extracted packet for processing {"connection_id":192795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c1"} 
[2026-09-24 15:06:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301943808001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790242269000,"timestamp_ms":1790242269000,"timestamp_seconds":1790242269,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c12748"} 
[2026-09-24 15:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301943808001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301943808001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:06:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:06:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301943808001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":192795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:06:06] local.INFO: GPS data processed {"connection_id":192795,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:06:06] local.INFO: Acknowledgment sent {"connection_id":192795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:06:26] local.INFO: TCP Data received {"connection_id":191418,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c43c58012d196a00071fec30003e01122c..."} 
[2026-09-24 15:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c43c58012d196a00071fec30003e01122c..."} 
[2026-09-24 15:06:26] local.INFO: Processing buffer {"connection_id":191418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c43c58012d196a00071fec30003e01122c..."} 
[2026-09-24 15:06:26] local.INFO: Packet analysis {"connection_id":191418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c4"} 
[2026-09-24 15:06:26] local.INFO: Extracted packet for processing {"connection_id":191418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c4"} 
[2026-09-24 15:06:26] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302067200001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790242471000,"timestamp_ms":1790242471000,"timestamp_seconds":1790242471,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c43c58"} 
[2026-09-24 15:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 15:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:26] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:26] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:26] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3535928864,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249745154476600368,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:26] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3265409025,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:26] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3962568766,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 15:06:26] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:26] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:26] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:26] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,114,160,152,45,236,62,43,10,66,70,244,1,240,255,227,210,31,4,113,205,80,106,48,239,49,2,81,7,120,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 15:06:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467872276926169088,"timestamp_seconds":4467872276926169.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 15:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302067200001,"66":12558,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302067200001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:06:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:06:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302067200001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":191418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:06:27] local.INFO: GPS data processed {"connection_id":191418,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:06:27] local.INFO: Acknowledgment sent {"connection_id":191418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:06:33] local.INFO: TCP Data received {"connection_id":192796,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:06:33] local.INFO: Processing buffer {"connection_id":192796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:06:33] local.INFO: IMEI packet received {"connection_id":192796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":192796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:06:38] local.INFO: TCP Data received {"connection_id":192796,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:06:38] local.INFO: Processing buffer {"connection_id":192796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:06:38] local.INFO: IMEI packet received {"connection_id":192796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":192796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:06:39] local.INFO: TCP Data received {"connection_id":192796,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:06:39] local.INFO: Processing buffer {"connection_id":192796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c12748012d34c14006aa4940000900f528..."} 
[2026-09-24 15:06:39] local.INFO: Packet analysis {"connection_id":192796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c1"} 
[2026-09-24 15:06:39] local.INFO: Extracted packet for processing {"connection_id":192796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c1"} 
[2026-09-24 15:06:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458301943808001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790242269000,"timestamp_ms":1790242269000,"timestamp_seconds":1790242269,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c12748"} 
[2026-09-24 15:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458301943808001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458301943808001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:06:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:06:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458301943808001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":192796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:06:39] local.INFO: GPS data processed {"connection_id":192796,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:06:39] local.INFO: Acknowledgment sent {"connection_id":192796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:06:45] local.INFO: TCP Data received {"connection_id":194069,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:06:45] local.INFO: Processing buffer {"connection_id":194069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:06:45] local.INFO: IMEI packet received {"connection_id":194069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":194069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:06:50] local.INFO: TCP Data received {"connection_id":194069,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:06:50] local.INFO: Processing buffer {"connection_id":194069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:06:50] local.INFO: IMEI packet received {"connection_id":194069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":194069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:06:51] local.INFO: TCP Data received {"connection_id":194069,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c48e60012d196a00071fec30003e011229..."} 
[2026-09-24 15:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c48e60012d196a00071fec30003e011229..."} 
[2026-09-24 15:06:51] local.INFO: Processing buffer {"connection_id":194069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c48e60012d196a00071fec30003e011229..."} 
[2026-09-24 15:06:51] local.INFO: Packet analysis {"connection_id":194069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c4"} 
[2026-09-24 15:06:51] local.INFO: Extracted packet for processing {"connection_id":194069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c4"} 
[2026-09-24 15:06:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302072576001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790242492000,"timestamp_ms":1790242492000,"timestamp_seconds":1790242492,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c48e60"} 
[2026-09-24 15:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 15:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:51] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3535949864,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249745154476600368,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:51] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3270785025,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3962568766,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 15:06:51] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:51] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:51] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:51] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-24 15:06:51] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,114,160,234,45,236,62,42,10,66,152,43,70,1,240,14,227,210,31,4,113,205,162,106,48,44,239,2,81,7,120,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 15:06:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467872285516103680,"timestamp_seconds":4467872285516103.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 15:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302072576001,"66":12580,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302072576001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:06:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:06:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302072576001,"power":12580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":194069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:06:51] local.INFO: GPS data processed {"connection_id":194069,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:06:51] local.INFO: Acknowledgment sent {"connection_id":194069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:07:10] local.INFO: TCP Data received {"connection_id":192796,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:07:10] local.INFO: Processing buffer {"connection_id":192796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:07:10] local.INFO: Packet analysis {"connection_id":192796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:07:10] local.INFO: Extracted packet for processing {"connection_id":192796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:07:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302020864001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790242570000,"timestamp_ms":1790242570000,"timestamp_seconds":1790242570,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c5bf10"} 
[2026-09-24 15:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:07: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-09-24 15: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-09-24 15:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302020864001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302020864001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:07:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:07:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302020864001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":192796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:07:10] local.INFO: GPS data processed {"connection_id":192796,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:07:10] local.INFO: Acknowledgment sent {"connection_id":192796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:07:22] local.INFO: TCP Data received {"connection_id":194069,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c4e068012d196a00071fec30003e01122b..."} 
[2026-09-24 15:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c4e068012d196a00071fec30003e01122b..."} 
[2026-09-24 15:07:22] local.INFO: Processing buffer {"connection_id":194069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c4e068012d196a00071fec30003e01122b..."} 
[2026-09-24 15:07:22] local.INFO: Packet analysis {"connection_id":194069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c4"} 
[2026-09-24 15:07:22] local.INFO: Extracted packet for processing {"connection_id":194069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c4"} 
[2026-09-24 15:07:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302077952001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790242513000,"timestamp_ms":1790242513000,"timestamp_seconds":1790242513,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c4e068"} 
[2026-09-24 15:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-24 15:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302077952001,"66":12591,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302077952001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:07:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:07:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302077952001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":194069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:07:22] local.INFO: GPS data processed {"connection_id":194069,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:07:22] local.INFO: Acknowledgment sent {"connection_id":194069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:07:28] local.INFO: TCP Data received {"connection_id":191207,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:07:28] local.INFO: Processing buffer {"connection_id":191207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:07:28] local.INFO: IMEI packet received {"connection_id":191207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":191207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:07:31] local.INFO: TCP Data received {"connection_id":191206,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:07:31] local.INFO: Processing buffer {"connection_id":191206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:07:31] local.INFO: IMEI packet received {"connection_id":191206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":191206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:07:33] local.INFO: TCP Data received {"connection_id":191206,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c676a80100000000000000000000000000..."} 
[2026-09-24 15:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c676a80100000000000000000000000000..."} 
[2026-09-24 15:07:33] local.INFO: Processing buffer {"connection_id":191206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c676a80100000000000000000000000000..."} 
[2026-09-24 15:07:33] local.INFO: Packet analysis {"connection_id":191206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c6"} 
[2026-09-24 15:07:33] local.INFO: Extracted packet for processing {"connection_id":191206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c6"} 
[2026-09-24 15:07:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 15:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302091264001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:07:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8777656376497102848,"note":"Value kept but may cause issues"} 
[2026-09-24 15:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790242617000,"timestamp_ms":1790242617000,"timestamp_seconds":1790242617,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c676a8"} 
[2026-09-24 15:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:07:33] 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-09-24 15:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":191206,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:07:33] local.INFO: GPS data processed {"connection_id":191206,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:07:33] local.INFO: Acknowledgment sent {"connection_id":191206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:07:33] local.INFO: TCP Data received {"connection_id":191207,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:07:33] local.INFO: Processing buffer {"connection_id":191207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:07:33] local.INFO: IMEI packet received {"connection_id":191207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":191207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:07:35] local.INFO: TCP Data received {"connection_id":191207,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:07:35] local.INFO: Processing buffer {"connection_id":191207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:07:35] local.INFO: Packet analysis {"connection_id":191207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:07:35] local.INFO: Extracted packet for processing {"connection_id":191207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302020864001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790242570000,"timestamp_ms":1790242570000,"timestamp_seconds":1790242570,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c5bf10"} 
[2026-09-24 15:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:07:35] 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-09-24 15:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302020864001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302020864001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:07:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:07:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302020864001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":191207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:07:35] local.INFO: GPS data processed {"connection_id":191207,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:07:35] local.INFO: Acknowledgment sent {"connection_id":191207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:07:45] local.INFO: TCP Data received {"connection_id":194070,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:07:45] local.INFO: Processing buffer {"connection_id":194070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:07:45] local.INFO: IMEI packet received {"connection_id":194070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":194070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:07:50] local.INFO: TCP Data received {"connection_id":194070,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:07:50] local.INFO: Processing buffer {"connection_id":194070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:07:50] local.INFO: IMEI packet received {"connection_id":194070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":194070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:07:51] local.INFO: TCP Data received {"connection_id":194070,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c53270012d196a00071fec30003e01122b..."} 
[2026-09-24 15:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c53270012d196a00071fec30003e01122b..."} 
[2026-09-24 15:07:51] local.INFO: Processing buffer {"connection_id":194070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c53270012d196a00071fec30003e01122b..."} 
[2026-09-24 15:07:51] local.INFO: Packet analysis {"connection_id":194070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:07:51] local.INFO: Extracted packet for processing {"connection_id":194070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:07:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302083328001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790242534000,"timestamp_ms":1790242534000,"timestamp_seconds":1790242534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c53270"} 
[2026-09-24 15:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 15:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:07: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-09-24 15:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302083328001,"66":12558,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302083328001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:07:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:07:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302083328001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":194070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:07:51] local.INFO: GPS data processed {"connection_id":194070,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:07:51] local.INFO: Acknowledgment sent {"connection_id":194070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:08:06] local.INFO: TCP Data received {"connection_id":191207,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:08:06] local.INFO: Processing buffer {"connection_id":191207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:08:06] local.INFO: Packet analysis {"connection_id":191207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:08:06] local.INFO: Extracted packet for processing {"connection_id":191207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:08:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302020864001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790242570000,"timestamp_ms":1790242570000,"timestamp_seconds":1790242570,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c5bf10"} 
[2026-09-24 15:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302020864001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302020864001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:08:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:08:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302020864001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":191207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:08:06] local.INFO: GPS data processed {"connection_id":191207,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:08:06] local.INFO: Acknowledgment sent {"connection_id":191207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:08:12] local.INFO: TCP Data received {"connection_id":191419,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:08:12] local.INFO: Processing buffer {"connection_id":191419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:08:12] local.INFO: IMEI packet received {"connection_id":191419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":191419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:08:14] local.INFO: TCP Data received {"connection_id":191419,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:08:14] local.INFO: Processing buffer {"connection_id":191419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:08:14] local.INFO: IMEI packet received {"connection_id":191419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":191419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:08:17] local.INFO: TCP Data received {"connection_id":191419,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:08:17] local.INFO: Processing buffer {"connection_id":191419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:08:17] local.INFO: IMEI packet received {"connection_id":191419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":191419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:08:19] local.INFO: TCP Data received {"connection_id":191419,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c60178012c867940081574d0000d00af2d..."} 
[2026-09-24 15:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c60178012c867940081574d0000d00af2d..."} 
[2026-09-24 15:08:19] local.INFO: Processing buffer {"connection_id":191419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c60178012c867940081574d0000d00af2d..."} 
[2026-09-24 15:08:19] local.INFO: Packet analysis {"connection_id":191419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c6"} 
[2026-09-24 15:08:19] local.INFO: Extracted packet for processing {"connection_id":191419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c6"} 
[2026-09-24 15:08:19] local.INFO: GPS Element Parsed {"raw_longitude":747010368,"raw_latitude":135623888,"longitude_deg":74.7010368,"latitude_deg":13.5623888,"altitude":13,"angle":175,"satellites":45,"speed":57,"hex_longitude":"2c867940","hex_latitude":"081574d0","is_valid_coordinates":true} 
[2026-09-24 15:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,108,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790242587000,"timestamp_ms":1790242587000,"timestamp_seconds":1790242587,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c60178"} 
[2026-09-24 15:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:08: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-24 15:08:19] 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-09-24 15:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28234,"108":206,"9":53760,"24":57,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,9,24,16]} 
[2026-09-24 15:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 15:08:19] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-24 15:08:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 15:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:08:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28234,"unknown_108":206,"unknown_9":53760,"ignition":57,"odometer":null}} 
[2026-09-24 15:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":191419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890239,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:08:19] local.INFO: GPS data processed {"connection_id":191419,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:08:19] local.INFO: Acknowledgment sent {"connection_id":191419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:08:22] local.INFO: TCP Data received {"connection_id":194070,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c58478012d196a00071fec30003e01122b..."} 
[2026-09-24 15:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c58478012d196a00071fec30003e01122b..."} 
[2026-09-24 15:08:22] local.INFO: Processing buffer {"connection_id":194070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c58478012d196a00071fec30003e01122b..."} 
[2026-09-24 15:08:22] local.INFO: Packet analysis {"connection_id":194070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:08:22] local.INFO: Extracted packet for processing {"connection_id":194070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:08:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302088704001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790242555000,"timestamp_ms":1790242555000,"timestamp_seconds":1790242555,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c58478"} 
[2026-09-24 15:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 15:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:22] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3536012864,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249745154476600368,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:22] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3286913025,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:22] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3962568766,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 15:08:22] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:22] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:22] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:22] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,114,160,224,45,236,62,43,10,66,142,41,60,1,240,14,227,210,31,4,113,205,152,106,48,239,49,2,81,7,120,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 15:08:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467872281221136384,"timestamp_seconds":4467872281221136.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 15:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302088704001,"66":12548,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302088704001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:08:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:08:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302088704001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":194070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:08:22] local.INFO: GPS data processed {"connection_id":194070,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:08:22] local.INFO: Acknowledgment sent {"connection_id":194070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:08:22] local.INFO: TCP Data received {"connection_id":191419,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c65380012c867ac008151980000c00b32d..."} 
[2026-09-24 15:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c65380012c867ac008151980000c00b32d..."} 
[2026-09-24 15:08:22] local.INFO: Processing buffer {"connection_id":191419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c65380012c867ac008151980000c00b32d..."} 
[2026-09-24 15:08:22] local.INFO: Packet analysis {"connection_id":191419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c6"} 
[2026-09-24 15:08:22] local.INFO: Extracted packet for processing {"connection_id":191419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c6"} 
[2026-09-24 15:08:22] local.INFO: GPS Element Parsed {"raw_longitude":747010752,"raw_latitude":135600512,"longitude_deg":74.7010752,"latitude_deg":13.5600512,"altitude":12,"angle":179,"satellites":45,"speed":0,"hex_longitude":"2c867ac0","hex_latitude":"08151980","is_valid_coordinates":true} 
[2026-09-24 15:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302102272001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8756897596981325824,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790242608000,"timestamp_ms":1790242608000,"timestamp_seconds":1790242608,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c65380"} 
[2026-09-24 15:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-24 15:08:22] 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-09-24 15:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302102272001,"66":28300,"108":206,"9":53760,"24":0,"16":3605341577150464,"44":-8756897596981325824},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,9,24,16,44]} 
[2026-09-24 15:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302102272001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:08:22] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-24 15:08:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 15:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:08:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8756897596981325824,"description":"Unknown IO ID 44"} 
[2026-09-24 15:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302102272001,"power":28300,"unknown_108":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":-8756897596981325824}} 
[2026-09-24 15:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":191419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890241,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:08:23] local.INFO: GPS data processed {"connection_id":191419,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:08:23] local.INFO: Acknowledgment sent {"connection_id":191419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:08:28] local.INFO: TCP Data received {"connection_id":191208,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:08:28] local.INFO: Processing buffer {"connection_id":191208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:08:28] local.INFO: IMEI packet received {"connection_id":191208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":191208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:08:33] local.INFO: TCP Data received {"connection_id":191208,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:08:33] local.INFO: Processing buffer {"connection_id":191208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:08:33] local.INFO: IMEI packet received {"connection_id":191208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":191208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:08:34] local.INFO: TCP Data received {"connection_id":191208,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:08:34] local.INFO: Processing buffer {"connection_id":191208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:08:34] local.INFO: Packet analysis {"connection_id":191208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:08:34] local.INFO: Extracted packet for processing {"connection_id":191208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:08:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302020864001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790242570000,"timestamp_ms":1790242570000,"timestamp_seconds":1790242570,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c5bf10"} 
[2026-09-24 15:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:08:34] 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-09-24 15:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302020864001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302020864001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:08:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:08:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302020864001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":191208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:08:34] local.INFO: GPS data processed {"connection_id":191208,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:08:34] local.INFO: Acknowledgment sent {"connection_id":191208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:08:45] local.INFO: TCP Data received {"connection_id":192797,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:08:45] local.INFO: Processing buffer {"connection_id":192797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:08:45] local.INFO: IMEI packet received {"connection_id":192797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":192797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:08:50] local.INFO: TCP Data received {"connection_id":192797,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:08:50] local.INFO: Processing buffer {"connection_id":192797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:08:50] local.INFO: IMEI packet received {"connection_id":192797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":192797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:08:51] local.INFO: TCP Data received {"connection_id":192797,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c5d680012d196a00071fec30003e01122c..."} 
[2026-09-24 15:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c5d680012d196a00071fec30003e01122c..."} 
[2026-09-24 15:08:51] local.INFO: Processing buffer {"connection_id":192797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c5d680012d196a00071fec30003e01122c..."} 
[2026-09-24 15:08:51] local.INFO: Packet analysis {"connection_id":192797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:08:51] local.INFO: Extracted packet for processing {"connection_id":192797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:08:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302094080001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790242576000,"timestamp_ms":1790242576000,"timestamp_seconds":1790242576,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c5d680"} 
[2026-09-24 15:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 15:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:51] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3536033864,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:51] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3292289025,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3962568766,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 15:08:51] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:08:51] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,114,160,50,45,236,62,43,10,66,224,142,1,240,36,227,210,31,4,113,205,234,106,48,42,239,49,2,81,7,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 15:08:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467872281221136384,"timestamp_seconds":4467872281221136.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 15:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302094080001,"66":12515,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302094080001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:08:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:08:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302094080001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":192797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:08:51] local.INFO: GPS data processed {"connection_id":192797,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:08:51] local.INFO: Acknowledgment sent {"connection_id":192797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:09:05] local.INFO: TCP Data received {"connection_id":191208,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:09:05] local.INFO: Processing buffer {"connection_id":191208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:09:05] local.INFO: Packet analysis {"connection_id":191208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:09:05] local.INFO: Extracted packet for processing {"connection_id":191208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:09:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302020864001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790242570000,"timestamp_ms":1790242570000,"timestamp_seconds":1790242570,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c5bf10"} 
[2026-09-24 15:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302020864001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302020864001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:09:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:09:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302020864001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":191208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:09:05] local.INFO: GPS data processed {"connection_id":191208,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:09:05] local.INFO: Acknowledgment sent {"connection_id":191208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:09:07] local.INFO: TCP Data received {"connection_id":192798,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:09:07] local.INFO: Processing buffer {"connection_id":192798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:09:07] local.INFO: IMEI packet received {"connection_id":192798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":192798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:09:12] local.INFO: TCP Data received {"connection_id":192798,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:09:12] local.INFO: Processing buffer {"connection_id":192798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:09:12] local.INFO: IMEI packet received {"connection_id":192798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":192798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:09:13] local.INFO: TCP Data received {"connection_id":192798,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c736100100000000000000000000000000..."} 
[2026-09-24 15:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c736100100000000000000000000000000..."} 
[2026-09-24 15:09:13] local.INFO: Processing buffer {"connection_id":192798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c736100100000000000000000000000000..."} 
[2026-09-24 15:09:13] local.INFO: Packet analysis {"connection_id":192798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c7"} 
[2026-09-24 15:09:13] local.INFO: Extracted packet for processing {"connection_id":192798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c7"} 
[2026-09-24 15:09:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 15:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302107648001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:09:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8756475384522244096,"note":"Value kept but may cause issues"} 
[2026-09-24 15:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790242666000,"timestamp_ms":1790242666000,"timestamp_seconds":1790242666,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c73610"} 
[2026-09-24 15:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:09:13] 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-09-24 15:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":192798,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:09:13] local.INFO: GPS data processed {"connection_id":192798,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:09:13] local.INFO: Acknowledgment sent {"connection_id":192798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:09:22] local.INFO: TCP Data received {"connection_id":192797,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c62888012d196a00071fec30003e01122c..."} 
[2026-09-24 15:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c62888012d196a00071fec30003e01122c..."} 
[2026-09-24 15:09:22] local.INFO: Processing buffer {"connection_id":192797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c62888012d196a00071fec30003e01122c..."} 
[2026-09-24 15:09:22] local.INFO: Packet analysis {"connection_id":192797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c6"} 
[2026-09-24 15:09:22] local.INFO: Extracted packet for processing {"connection_id":192797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c6"} 
[2026-09-24 15:09:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302099456001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790242597000,"timestamp_ms":1790242597000,"timestamp_seconds":1790242597,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c62888"} 
[2026-09-24 15:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-24 15:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302099456001,"66":12526,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302099456001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:09:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:09:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302099456001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":192797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:09:22] local.INFO: GPS data processed {"connection_id":192797,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:09:22] local.INFO: Acknowledgment sent {"connection_id":192797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:09:28] local.INFO: TCP Data received {"connection_id":191420,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:09:28] local.INFO: Processing buffer {"connection_id":191420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:09:28] local.INFO: IMEI packet received {"connection_id":191420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":191420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:09:33] local.INFO: TCP Data received {"connection_id":191420,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:09:33] local.INFO: Processing buffer {"connection_id":191420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:09:33] local.INFO: IMEI packet received {"connection_id":191420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":191420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:09:34] local.INFO: TCP Data received {"connection_id":191420,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:09:34] local.INFO: Processing buffer {"connection_id":191420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:09:34] local.INFO: Packet analysis {"connection_id":191420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:09:34] local.INFO: Extracted packet for processing {"connection_id":191420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:09:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302020864001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790242570000,"timestamp_ms":1790242570000,"timestamp_seconds":1790242570,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c5bf10"} 
[2026-09-24 15:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:09:34] 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-09-24 15:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302020864001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302020864001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:09:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:09:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302020864001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":191420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:09:34] local.INFO: GPS data processed {"connection_id":191420,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:09:34] local.INFO: Acknowledgment sent {"connection_id":191420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:09:44] local.INFO: TCP Data received {"connection_id":192798,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c6bcf8012c867dc008146430000d00b22c..."} 
[2026-09-24 15:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c6bcf8012c867dc008146430000d00b22c..."} 
[2026-09-24 15:09:44] local.INFO: Processing buffer {"connection_id":192798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c6bcf8012c867dc008146430000d00b22c..."} 
[2026-09-24 15:09:44] local.INFO: Packet analysis {"connection_id":192798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c6"} 
[2026-09-24 15:09:44] local.INFO: Extracted packet for processing {"connection_id":192798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c6"} 
[2026-09-24 15:09:44] local.INFO: GPS Element Parsed {"raw_longitude":747011520,"raw_latitude":135554096,"longitude_deg":74.701152,"latitude_deg":13.5554096,"altitude":13,"angle":178,"satellites":44,"speed":57,"hex_longitude":"2c867dc0","hex_latitude":"08146430","is_valid_coordinates":true} 
[2026-09-24 15:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:09:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,108,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790242635000,"timestamp_ms":1790242635000,"timestamp_seconds":1790242635,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c6bcf8"} 
[2026-09-24 15:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-24 15:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28234,"108":206,"9":53760,"24":57,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,9,24,16]} 
[2026-09-24 15:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 15:09:44] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-24 15:09:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 15:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:09:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28234,"unknown_108":206,"unknown_9":53760,"ignition":57,"odometer":null}} 
[2026-09-24 15:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":192798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890247,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:09:44] local.INFO: GPS data processed {"connection_id":192798,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:09:44] local.INFO: Acknowledgment sent {"connection_id":192798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:09:45] local.INFO: TCP Data received {"connection_id":191209,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:09:45] local.INFO: Processing buffer {"connection_id":191209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:09:45] local.INFO: IMEI packet received {"connection_id":191209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":191209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:09:50] local.INFO: TCP Data received {"connection_id":191209,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:09:50] local.INFO: Processing buffer {"connection_id":191209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:09:50] local.INFO: IMEI packet received {"connection_id":191209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":191209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:09:51] local.INFO: TCP Data received {"connection_id":191209,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c67a90012d196a00071fec30003e01122b..."} 
[2026-09-24 15:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c67a90012d196a00071fec30003e01122b..."} 
[2026-09-24 15:09:51] local.INFO: Processing buffer {"connection_id":191209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c67a90012d196a00071fec30003e01122b..."} 
[2026-09-24 15:09:51] local.INFO: Packet analysis {"connection_id":191209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c6"} 
[2026-09-24 15:09:51] local.INFO: Extracted packet for processing {"connection_id":191209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c6"} 
[2026-09-24 15:09:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302104832001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790242618000,"timestamp_ms":1790242618000,"timestamp_seconds":1790242618,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c67a90"} 
[2026-09-24 15:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 15:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302104832001,"66":12504,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302104832001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:09:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:09:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302104832001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":191209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:09:51] local.INFO: GPS data processed {"connection_id":191209,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:09:51] local.INFO: Acknowledgment sent {"connection_id":191209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:10:05] local.INFO: TCP Data received {"connection_id":191420,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:10:05] local.INFO: Processing buffer {"connection_id":191420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:10:05] local.INFO: Packet analysis {"connection_id":191420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:10:05] local.INFO: Extracted packet for processing {"connection_id":191420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:10:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302020864001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790242570000,"timestamp_ms":1790242570000,"timestamp_seconds":1790242570,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c5bf10"} 
[2026-09-24 15:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302020864001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302020864001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:10:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:10:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302020864001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":191420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:10:05] local.INFO: GPS data processed {"connection_id":191420,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:10:05] local.INFO: Acknowledgment sent {"connection_id":191420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:10:10] local.INFO: TCP Data received {"connection_id":191421,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191421,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:10:10] local.INFO: Processing buffer {"connection_id":191421,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:10:10] local.INFO: IMEI packet received {"connection_id":191421,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":191421,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:10:11] local.INFO: TCP Data received {"connection_id":191421,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191421,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:10:11] local.INFO: Processing buffer {"connection_id":191421,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:10:11] local.INFO: IMEI packet received {"connection_id":191421,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":191421,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:10:19] local.INFO: TCP Data received {"connection_id":191421,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191421,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:10:19] local.INFO: Processing buffer {"connection_id":191421,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:10:19] local.INFO: IMEI packet received {"connection_id":191421,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":191421,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:10:20] local.INFO: TCP Data received {"connection_id":191421,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c70f00012c86814008140a80000c00af2d..."} 
[2026-09-24 15:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c70f00012c86814008140a80000c00af2d..."} 
[2026-09-24 15:10:20] local.INFO: Processing buffer {"connection_id":191421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c70f00012c86814008140a80000c00af2d..."} 
[2026-09-24 15:10:20] local.INFO: Packet analysis {"connection_id":191421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c7"} 
[2026-09-24 15:10:20] local.INFO: Extracted packet for processing {"connection_id":191421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c7"} 
[2026-09-24 15:10:20] local.INFO: GPS Element Parsed {"raw_longitude":747012416,"raw_latitude":135531136,"longitude_deg":74.7012416,"latitude_deg":13.5531136,"altitude":12,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2c868140","hex_latitude":"08140a80","is_valid_coordinates":true} 
[2026-09-24 15:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302114560001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8755630959603994624,"note":"Value kept but may cause issues"} 
[2026-09-24 15:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790242656000,"timestamp_ms":1790242656000,"timestamp_seconds":1790242656,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c70f00"} 
[2026-09-24 15:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-24 15:10:20] 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-09-24 15:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191421,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191421,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302114560001,"66":28354,"108":206,"9":53760,"24":0,"16":3605341577150464,"44":-8755630959603994624},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,9,24,16,44]} 
[2026-09-24 15:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302114560001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:10:20] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-24 15:10:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 15:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8755630959603994624,"description":"Unknown IO ID 44"} 
[2026-09-24 15:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302114560001,"power":28354,"unknown_108":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":-8755630959603994624}} 
[2026-09-24 15:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":191421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890250,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:10:20] local.INFO: GPS data processed {"connection_id":191421,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:10:20] local.INFO: Acknowledgment sent {"connection_id":191421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:10:22] local.INFO: TCP Data received {"connection_id":191209,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c6cc98012d196a00071fec30003e01122b..."} 
[2026-09-24 15:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c6cc98012d196a00071fec30003e01122b..."} 
[2026-09-24 15:10:22] local.INFO: Processing buffer {"connection_id":191209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c6cc98012d196a00071fec30003e01122b..."} 
[2026-09-24 15:10:22] local.INFO: Packet analysis {"connection_id":191209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c6"} 
[2026-09-24 15:10:22] local.INFO: Extracted packet for processing {"connection_id":191209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c6"} 
[2026-09-24 15:10:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302110208001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790242639000,"timestamp_ms":1790242639000,"timestamp_seconds":1790242639,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c6cc98"} 
[2026-09-24 15:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 15:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302110208001,"66":12504,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302110208001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:10:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:10:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302110208001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":191209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:10:22] local.INFO: GPS data processed {"connection_id":191209,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:10:22] local.INFO: Acknowledgment sent {"connection_id":191209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:10:22] local.INFO: TCP Data received {"connection_id":191421,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c76108012c8689000813c480000b00ac2d..."} 
[2026-09-24 15:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c76108012c8689000813c480000b00ac2d..."} 
[2026-09-24 15:10:22] local.INFO: Processing buffer {"connection_id":191421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c76108012c8689000813c480000b00ac2d..."} 
[2026-09-24 15:10:22] local.INFO: Packet analysis {"connection_id":191421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c7"} 
[2026-09-24 15:10:22] local.INFO: Extracted packet for processing {"connection_id":191421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c7"} 
[2026-09-24 15:10:22] local.INFO: GPS Element Parsed {"raw_longitude":747014400,"raw_latitude":135513216,"longitude_deg":74.70144,"latitude_deg":13.5513216,"altitude":11,"angle":172,"satellites":45,"speed":0,"hex_longitude":"2c868900","hex_latitude":"0813c480","is_valid_coordinates":true} 
[2026-09-24 15:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302119936001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:10:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8754645797191385088,"note":"Value kept but may cause issues"} 
[2026-09-24 15:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790242677000,"timestamp_ms":1790242677000,"timestamp_seconds":1790242677,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c76108"} 
[2026-09-24 15:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 15:10:22] 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-09-24 15:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191421,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191421,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302119936001,"66":28398,"215":206,"9":53760,"24":0,"16":3605341577150464,"44":-8754645797191385088},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,9,24,16,44]} 
[2026-09-24 15:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302119936001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:10:22] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-24 15:10:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 15:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:10:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8754645797191385088,"description":"Unknown IO ID 44"} 
[2026-09-24 15:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302119936001,"power":28398,"unknown_215":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":-8754645797191385088}} 
[2026-09-24 15:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":191421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890252,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:10:22] local.INFO: GPS data processed {"connection_id":191421,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:10:22] local.INFO: Acknowledgment sent {"connection_id":191421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:10:33] local.INFO: TCP Data received {"connection_id":194071,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:10:33] local.INFO: Processing buffer {"connection_id":194071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:10:33] local.INFO: IMEI packet received {"connection_id":194071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":194071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:10:38] local.INFO: TCP Data received {"connection_id":194071,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:10:38] local.INFO: Processing buffer {"connection_id":194071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:10:38] local.INFO: IMEI packet received {"connection_id":194071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":194071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:10:39] local.INFO: TCP Data received {"connection_id":194071,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:10:39] local.INFO: Processing buffer {"connection_id":194071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:10:39] local.INFO: Packet analysis {"connection_id":194071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:10:39] local.INFO: Extracted packet for processing {"connection_id":194071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:10:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302020864001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790242570000,"timestamp_ms":1790242570000,"timestamp_seconds":1790242570,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c5bf10"} 
[2026-09-24 15:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:10:39] 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-09-24 15:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302020864001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302020864001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:10:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:10:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302020864001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":194071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:10:39] local.INFO: GPS data processed {"connection_id":194071,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:10:39] local.INFO: Acknowledgment sent {"connection_id":194071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:10:44] local.INFO: TCP Data received {"connection_id":194071,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:10:44] local.INFO: Processing buffer {"connection_id":194071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:10:44] local.INFO: Packet analysis {"connection_id":194071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:10:44] local.INFO: Extracted packet for processing {"connection_id":194071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:10:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302020864001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790242570000,"timestamp_ms":1790242570000,"timestamp_seconds":1790242570,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c5bf10"} 
[2026-09-24 15:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:10:44] 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-09-24 15:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302020864001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302020864001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:10:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:10:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302020864001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":194071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:10:44] local.INFO: GPS data processed {"connection_id":194071,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:10:44] local.INFO: Acknowledgment sent {"connection_id":194071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:10:45] local.INFO: TCP Data received {"connection_id":192799,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:10:45] local.INFO: Processing buffer {"connection_id":192799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:10:45] local.INFO: IMEI packet received {"connection_id":192799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":192799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:10:45] local.INFO: TCP Data received {"connection_id":192799,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:10:45] local.INFO: Processing buffer {"connection_id":192799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:10:45] local.INFO: IMEI packet received {"connection_id":192799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":192799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:10:50] local.INFO: TCP Data received {"connection_id":192799,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:10:50] local.INFO: Processing buffer {"connection_id":192799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:10:50] local.INFO: IMEI packet received {"connection_id":192799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":192799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:10:51] local.INFO: TCP Data received {"connection_id":192799,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c71ea0012d196a00071fec30003e01122d..."} 
[2026-09-24 15:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c71ea0012d196a00071fec30003e01122d..."} 
[2026-09-24 15:10:51] local.INFO: Processing buffer {"connection_id":192799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c71ea0012d196a00071fec30003e01122d..."} 
[2026-09-24 15:10:51] local.INFO: Packet analysis {"connection_id":192799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c7"} 
[2026-09-24 15:10:51] local.INFO: Extracted packet for processing {"connection_id":192799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c7"} 
[2026-09-24 15:10:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302115584001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790242660000,"timestamp_ms":1790242660000,"timestamp_seconds":1790242660,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c71ea0"} 
[2026-09-24 15:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 15:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302115584001,"66":12548,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302115584001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:10:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:10:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302115584001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":192799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:10:51] local.INFO: GPS data processed {"connection_id":192799,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:10:51] local.INFO: Acknowledgment sent {"connection_id":192799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:11:07] local.INFO: TCP Data received {"connection_id":191210,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:11:07] local.INFO: Processing buffer {"connection_id":191210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:11:07] local.INFO: IMEI packet received {"connection_id":191210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":191210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:11:12] local.INFO: TCP Data received {"connection_id":191210,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:11:12] local.INFO: Processing buffer {"connection_id":191210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:11:12] local.INFO: IMEI packet received {"connection_id":191210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":191210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:11:13] local.INFO: TCP Data received {"connection_id":191210,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c843980100000000000000000000000000..."} 
[2026-09-24 15:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c843980100000000000000000000000000..."} 
[2026-09-24 15:11:13] local.INFO: Processing buffer {"connection_id":191210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c843980100000000000000000000000000..."} 
[2026-09-24 15:11:13] local.INFO: Packet analysis {"connection_id":191210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c8"} 
[2026-09-24 15:11:13] local.INFO: Extracted packet for processing {"connection_id":191210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c8"} 
[2026-09-24 15:11:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302125312001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8752464366126465024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790242735000,"timestamp_ms":1790242735000,"timestamp_seconds":1790242735,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c84398"} 
[2026-09-24 15:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 15:11:13] 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-09-24 15: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-09-24 15:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":191210,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:11:13] local.INFO: GPS data processed {"connection_id":191210,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:11:13] local.INFO: Acknowledgment sent {"connection_id":191210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:11:22] local.INFO: TCP Data received {"connection_id":192799,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c770a8012d196a00071fec30003e01122d..."} 
[2026-09-24 15:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c770a8012d196a00071fec30003e01122d..."} 
[2026-09-24 15:11:22] local.INFO: Processing buffer {"connection_id":192799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c770a8012d196a00071fec30003e01122d..."} 
[2026-09-24 15:11:22] local.INFO: Packet analysis {"connection_id":192799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c7"} 
[2026-09-24 15:11:22] local.INFO: Extracted packet for processing {"connection_id":192799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c7"} 
[2026-09-24 15:11:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302120960001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790242681000,"timestamp_ms":1790242681000,"timestamp_seconds":1790242681,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c770a8"} 
[2026-09-24 15:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 15:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:22] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3536138864,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:22] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3319169025,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:22] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3962568766,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 15:11:22] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:22] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,114,160,204,45,236,62,43,10,66,122,40,1,240,238,227,210,31,4,113,205,132,106,48,239,49,2,81,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 15:11:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467872289811070976,"timestamp_seconds":4467872289811071.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 15:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302120960001,"66":12548,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302120960001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:11:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:11:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302120960001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":192799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:11:22] local.INFO: GPS data processed {"connection_id":192799,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:11:22] local.INFO: Acknowledgment sent {"connection_id":192799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:11:28] local.INFO: TCP Data received {"connection_id":191422,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:11:28] local.INFO: Processing buffer {"connection_id":191422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:11:28] local.INFO: IMEI packet received {"connection_id":191422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":191422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:11:33] local.INFO: TCP Data received {"connection_id":191422,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:11:33] local.INFO: Processing buffer {"connection_id":191422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:11:33] local.INFO: IMEI packet received {"connection_id":191422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":191422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:11:34] local.INFO: TCP Data received {"connection_id":191422,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:11:34] local.INFO: Processing buffer {"connection_id":191422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c5bf10012d34c14006aa4940000900f528..."} 
[2026-09-24 15:11:34] local.INFO: Packet analysis {"connection_id":191422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:11:34] local.INFO: Extracted packet for processing {"connection_id":191422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c5"} 
[2026-09-24 15:11:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302020864001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790242570000,"timestamp_ms":1790242570000,"timestamp_seconds":1790242570,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c5bf10"} 
[2026-09-24 15:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:11:34] 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-09-24 15:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302020864001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302020864001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:11:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:11:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302020864001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":191422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:11:34] local.INFO: GPS data processed {"connection_id":191422,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:11:34] local.INFO: Acknowledgment sent {"connection_id":191422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:11:45] local.INFO: TCP Data received {"connection_id":192800,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:11:45] local.INFO: Processing buffer {"connection_id":192800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:11:45] local.INFO: IMEI packet received {"connection_id":192800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":192800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:11:45] local.INFO: TCP Data received {"connection_id":191210,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c7c2b0012c868fc0081387d0000c00ad2c..."} 
[2026-09-24 15:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c7c2b0012c868fc0081387d0000c00ad2c..."} 
[2026-09-24 15:11:45] local.INFO: Processing buffer {"connection_id":191210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c7c2b0012c868fc0081387d0000c00ad2c..."} 
[2026-09-24 15:11:45] local.INFO: Packet analysis {"connection_id":191210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c7"} 
[2026-09-24 15:11:45] local.INFO: Extracted packet for processing {"connection_id":191210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c7"} 
[2026-09-24 15:11:45] local.INFO: GPS Element Parsed {"raw_longitude":747016128,"raw_latitude":135497680,"longitude_deg":74.7016128,"latitude_deg":13.549768,"altitude":12,"angle":173,"satellites":44,"speed":32,"hex_longitude":"2c868fc0","hex_latitude":"081387d0","is_valid_coordinates":true} 
[2026-09-24 15:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,215,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790242702000,"timestamp_ms":1790242702000,"timestamp_seconds":1790242702,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c7c2b0"} 
[2026-09-24 15:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 15:11:45] 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-09-24 15:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"215":206,"9":53760,"24":32,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,9,24,16]} 
[2026-09-24 15:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 15:11:45] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-24 15:11:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 15:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:11:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_215":206,"unknown_9":53760,"ignition":32,"odometer":null}} 
[2026-09-24 15:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":191210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890258,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:11:45] local.INFO: GPS data processed {"connection_id":191210,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:11:45] local.INFO: Acknowledgment sent {"connection_id":191210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:11:48] local.INFO: TCP Data received {"connection_id":192800,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:11:48] local.INFO: Processing buffer {"connection_id":192800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:11:48] local.INFO: IMEI packet received {"connection_id":192800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":192800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:11:50] local.INFO: TCP Data received {"connection_id":192800,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:11:50] local.INFO: Processing buffer {"connection_id":192800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:11:50] local.INFO: IMEI packet received {"connection_id":192800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":192800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:11:50] local.INFO: TCP Data received {"connection_id":192800,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c7c2b0012d196a00071fec30003e01122d..."} 
[2026-09-24 15:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c7c2b0012d196a00071fec30003e01122d..."} 
[2026-09-24 15:11:50] local.INFO: Processing buffer {"connection_id":192800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c7c2b0012d196a00071fec30003e01122d..."} 
[2026-09-24 15:11:50] local.INFO: Packet analysis {"connection_id":192800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c7"} 
[2026-09-24 15:11:50] local.INFO: Extracted packet for processing {"connection_id":192800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c7"} 
[2026-09-24 15:11:50] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302126336001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790242702000,"timestamp_ms":1790242702000,"timestamp_seconds":1790242702,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c7c2b0"} 
[2026-09-24 15:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:11:50] 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-09-24 15:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 15:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:50] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3536159864,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:50] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3324545025,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:50] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3962568766,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 15:11:50] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:50] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3808480632,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:50] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:11:50] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,114,160,30,45,236,62,10,66,204,43,122,1,240,216,227,210,31,4,113,205,214,106,48,44,239,2,81,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 15:11:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467872289811070976,"timestamp_seconds":4467872289811071.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 15:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302126336001,"66":12548,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302126336001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:11:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:11:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302126336001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":192800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:11:50] local.INFO: GPS data processed {"connection_id":192800,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:11:50] local.INFO: Acknowledgment sent {"connection_id":192800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:12:05] local.INFO: TCP Data received {"connection_id":191422,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:12:05] local.INFO: Processing buffer {"connection_id":191422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:12:05] local.INFO: Packet analysis {"connection_id":191422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:12:05] local.INFO: Extracted packet for processing {"connection_id":191422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:12:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302097920001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790242871000,"timestamp_ms":1790242871000,"timestamp_seconds":1790242871,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ca56d8"} 
[2026-09-24 15:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:12:05] 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-09-24 15: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-09-24 15:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302097920001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302097920001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:12:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:12:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302097920001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":191422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:12:05] local.INFO: GPS data processed {"connection_id":191422,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:12:05] local.INFO: Acknowledgment sent {"connection_id":191422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:12:07] local.INFO: TCP Data received {"connection_id":191211,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:12:07] local.INFO: Processing buffer {"connection_id":191211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:12:07] local.INFO: IMEI packet received {"connection_id":191211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":191211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:12:07] local.INFO: TCP Data received {"connection_id":191211,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:12:07] local.INFO: Processing buffer {"connection_id":191211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:12:07] local.INFO: IMEI packet received {"connection_id":191211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":191211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:12:11] local.INFO: TCP Data received {"connection_id":191211,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:12:11] local.INFO: Processing buffer {"connection_id":191211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:12:11] local.INFO: IMEI packet received {"connection_id":191211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":191211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:12:13] local.INFO: TCP Data received {"connection_id":191211,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c814b8012c869a0008133fb0000d00aa2b..."} 
[2026-09-24 15:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c814b8012c869a0008133fb0000d00aa2b..."} 
[2026-09-24 15:12:13] local.INFO: Processing buffer {"connection_id":191211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c814b8012c869a0008133fb0000d00aa2b..."} 
[2026-09-24 15:12:13] local.INFO: Packet analysis {"connection_id":191211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c8"} 
[2026-09-24 15:12:13] local.INFO: Extracted packet for processing {"connection_id":191211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c8"} 
[2026-09-24 15:12:13] local.INFO: GPS Element Parsed {"raw_longitude":747018752,"raw_latitude":135479216,"longitude_deg":74.7018752,"latitude_deg":13.5479216,"altitude":13,"angle":170,"satellites":43,"speed":0,"hex_longitude":"2c869a00","hex_latitude":"08133fb0","is_valid_coordinates":true} 
[2026-09-24 15:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302131712001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8750564410037645312,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790242723000,"timestamp_ms":1790242723000,"timestamp_seconds":1790242723,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c814b8"} 
[2026-09-24 15:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:12:13] 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-09-24 15:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302131712001,"66":28267,"215":206,"9":53760,"24":0,"16":3605341577150464,"44":-8750564410037645312},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,9,24,16,44]} 
[2026-09-24 15:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302131712001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:12:13] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-24 15:12:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 15:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:12:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8750564410037645312,"description":"Unknown IO ID 44"} 
[2026-09-24 15:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302131712001,"power":28267,"unknown_215":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":-8750564410037645312}} 
[2026-09-24 15:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":191211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890261,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:12:13] local.INFO: GPS data processed {"connection_id":191211,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:12:13] local.INFO: Acknowledgment sent {"connection_id":191211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:12:21] local.INFO: TCP Data received {"connection_id":192800,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c814b8012d196a00071fec30003e01122c..."} 
[2026-09-24 15:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c814b8012d196a00071fec30003e01122c..."} 
[2026-09-24 15:12:21] local.INFO: Processing buffer {"connection_id":192800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c814b8012d196a00071fec30003e01122c..."} 
[2026-09-24 15:12:21] local.INFO: Packet analysis {"connection_id":192800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c8"} 
[2026-09-24 15:12:21] local.INFO: Extracted packet for processing {"connection_id":192800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c8"} 
[2026-09-24 15:12:21] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302131712001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790242723000,"timestamp_ms":1790242723000,"timestamp_seconds":1790242723,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c814b8"} 
[2026-09-24 15:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 15:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:21] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:21] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3536180864,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184194867405,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:21] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3329921025,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:21] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3962568766,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 15:12:21] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:21] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:21] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:21] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,114,160,112,45,236,62,10,66,30,204,1,240,216,227,210,31,4,113,205,40,106,48,44,239,2,81,7,120],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 15:12:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467872289811070976,"timestamp_seconds":4467872289811071.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 15:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":192800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":192800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":192800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302131712001,"66":12548,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302131712001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:12:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:12:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302131712001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":192800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:12:22] local.INFO: GPS data processed {"connection_id":192800,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:12:22] local.INFO: Acknowledgment sent {"connection_id":192800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:12:28] local.INFO: TCP Data received {"connection_id":191423,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:12:28] local.INFO: Processing buffer {"connection_id":191423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:12:28] local.INFO: IMEI packet received {"connection_id":191423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":191423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:12:33] local.INFO: TCP Data received {"connection_id":191423,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:12:33] local.INFO: Processing buffer {"connection_id":191423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:12:33] local.INFO: IMEI packet received {"connection_id":191423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":191423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:12:34] local.INFO: TCP Data received {"connection_id":191423,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:12:34] local.INFO: Processing buffer {"connection_id":191423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:12:34] local.INFO: Packet analysis {"connection_id":191423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:12:34] local.INFO: Extracted packet for processing {"connection_id":191423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:12:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302097920001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790242871000,"timestamp_ms":1790242871000,"timestamp_seconds":1790242871,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ca56d8"} 
[2026-09-24 15:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302097920001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302097920001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:12:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:12:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302097920001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":191423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:12:34] local.INFO: GPS data processed {"connection_id":191423,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:12:34] local.INFO: Acknowledgment sent {"connection_id":191423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:12:44] local.INFO: TCP Data received {"connection_id":191211,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c866c0012c86a9800812ed70000c00ab2b..."} 
[2026-09-24 15:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c866c0012c86a9800812ed70000c00ab2b..."} 
[2026-09-24 15:12:44] local.INFO: Processing buffer {"connection_id":191211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c866c0012c86a9800812ed70000c00ab2b..."} 
[2026-09-24 15:12:44] local.INFO: Packet analysis {"connection_id":191211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c8"} 
[2026-09-24 15:12:44] local.INFO: Extracted packet for processing {"connection_id":191211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c8"} 
[2026-09-24 15:12:44] local.INFO: GPS Element Parsed {"raw_longitude":747022720,"raw_latitude":135458160,"longitude_deg":74.702272,"latitude_deg":13.545816,"altitude":12,"angle":171,"satellites":43,"speed":0,"hex_longitude":"2c86a980","hex_latitude":"0812ed70","is_valid_coordinates":true} 
[2026-09-24 15:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302137088001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8747679291531087872,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790242744000,"timestamp_ms":1790242744000,"timestamp_seconds":1790242744,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c866c0"} 
[2026-09-24 15:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 15:12:44] 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-09-24 15:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302137088001,"66":28354,"215":206,"9":53760,"24":0,"16":3605341577150464,"44":-8747679291531087872},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,9,24,16,44]} 
[2026-09-24 15:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302137088001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:12:44] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-24 15:12:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 15:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:12:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8747679291531087872,"description":"Unknown IO ID 44"} 
[2026-09-24 15:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302137088001,"power":28354,"unknown_215":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":-8747679291531087872}} 
[2026-09-24 15:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":191211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890264,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:12:44] local.INFO: GPS data processed {"connection_id":191211,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:12:44] local.INFO: Acknowledgment sent {"connection_id":191211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:12:50] local.INFO: TCP Data received {"connection_id":191424,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:12:50] local.INFO: Processing buffer {"connection_id":191424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:12:50] local.INFO: IMEI packet received {"connection_id":191424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":191424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:12:51] local.INFO: TCP Data received {"connection_id":191424,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:12:51] local.INFO: Processing buffer {"connection_id":191424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:12:51] local.INFO: IMEI packet received {"connection_id":191424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":191424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:12:51] local.INFO: TCP Data received {"connection_id":191424,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c866c0012d196a00071fec30003e01122a..."} 
[2026-09-24 15:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c866c0012d196a00071fec30003e01122a..."} 
[2026-09-24 15:12:51] local.INFO: Processing buffer {"connection_id":191424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c866c0012d196a00071fec30003e01122a..."} 
[2026-09-24 15:12:51] local.INFO: Packet analysis {"connection_id":191424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c8"} 
[2026-09-24 15:12:51] local.INFO: Extracted packet for processing {"connection_id":191424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c8"} 
[2026-09-24 15:12:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302137088001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790242744000,"timestamp_ms":1790242744000,"timestamp_seconds":1790242744,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c866c0"} 
[2026-09-24 15:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 15:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:51] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3536201864,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184195588301,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:51] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3335297025,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3962568766,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 15:12:51] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:51] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931256,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:51] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:51] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,114,160,194,45,236,62,10,66,112,30,1,240,4,227,210,31,113,205,122,106,48,43,239,2,81,7,120],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 15:12:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467872285516103680,"timestamp_seconds":4467872285516103.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 15:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302137088001,"66":12526,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302137088001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:12:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:12:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302137088001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":191424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:12:52] local.INFO: GPS data processed {"connection_id":191424,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:12:52] local.INFO: Acknowledgment sent {"connection_id":191424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:12:55] local.INFO: TCP Data received {"connection_id":191424,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c8b8c8012d196a00071fec30003e01122b..."} 
[2026-09-24 15:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c8b8c8012d196a00071fec30003e01122b..."} 
[2026-09-24 15:12:55] local.INFO: Processing buffer {"connection_id":191424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c8b8c8012d196a00071fec30003e01122b..."} 
[2026-09-24 15:12:55] local.INFO: Packet analysis {"connection_id":191424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c8"} 
[2026-09-24 15:12:55] local.INFO: Extracted packet for processing {"connection_id":191424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c8"} 
[2026-09-24 15:12:55] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:12: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-09-24 15:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302142464001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790242765000,"timestamp_ms":1790242765000,"timestamp_seconds":1790242765,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c8b8c8"} 
[2026-09-24 15:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:12:55] 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-09-24 15:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 15:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:12: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-09-24 15:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302142464001,"66":12548,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302142464001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:12:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:12:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302142464001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":191424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:12:55] local.INFO: GPS data processed {"connection_id":191424,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:12:55] local.INFO: Acknowledgment sent {"connection_id":191424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:13:06] local.INFO: TCP Data received {"connection_id":191423,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:13:06] local.INFO: Processing buffer {"connection_id":191423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:13:06] local.INFO: Packet analysis {"connection_id":191423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:13:06] local.INFO: Extracted packet for processing {"connection_id":191423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:13:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302097920001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790242871000,"timestamp_ms":1790242871000,"timestamp_seconds":1790242871,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ca56d8"} 
[2026-09-24 15:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302097920001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302097920001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:13:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:13:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302097920001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":191423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:13:06] local.INFO: GPS data processed {"connection_id":191423,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:13:06] local.INFO: Acknowledgment sent {"connection_id":191423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:13:12] local.INFO: TCP Data received {"connection_id":191425,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:13:12] local.INFO: Processing buffer {"connection_id":191425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:13:12] local.INFO: IMEI packet received {"connection_id":191425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":191425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:13:16] local.INFO: TCP Data received {"connection_id":191425,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:13:16] local.INFO: Processing buffer {"connection_id":191425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:13:16] local.INFO: IMEI packet received {"connection_id":191425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":191425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:13:21] local.INFO: TCP Data received {"connection_id":191425,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2cb1e10012c873580080f2ed0000c00ae2d..."} 
[2026-09-24 15:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2cb1e10012c873580080f2ed0000c00ae2d..."} 
[2026-09-24 15:13:21] local.INFO: Processing buffer {"connection_id":191425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2cb1e10012c873580080f2ed0000c00ae2d..."} 
[2026-09-24 15:13:21] local.INFO: Packet analysis {"connection_id":191425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2cb"} 
[2026-09-24 15:13:21] local.INFO: Extracted packet for processing {"connection_id":191425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2cb"} 
[2026-09-24 15:13:21] local.INFO: GPS Element Parsed {"raw_longitude":747058560,"raw_latitude":135212752,"longitude_deg":74.705856,"latitude_deg":13.5212752,"altitude":12,"angle":174,"satellites":45,"speed":0,"hex_longitude":"2c873580","hex_latitude":"080f2ed0","is_valid_coordinates":true} 
[2026-09-24 15:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302182656001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8703135876529180672,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790242922000,"timestamp_ms":1790242922000,"timestamp_seconds":1790242922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2cb1e10"} 
[2026-09-24 15:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 15:13:21] 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-09-24 15:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302182656001,"66":28224,"28":206,"9":53760,"24":0,"16":3605341577150464,"44":-8703135876529180672},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,9,24,16,44]} 
[2026-09-24 15:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302182656001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:13:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-24 15:13:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 15:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:13:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8703135876529180672,"description":"Unknown IO ID 44"} 
[2026-09-24 15:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302182656001,"power":28224,"unknown_28":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":-8703135876529180672}} 
[2026-09-24 15:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":191425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890268,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:13:21] local.INFO: GPS data processed {"connection_id":191425,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:13:21] local.INFO: Acknowledgment sent {"connection_id":191425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:13:22] local.INFO: TCP Data received {"connection_id":191425,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2cc00a00100000000000000000000000000..."} 
[2026-09-24 15:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2cc00a00100000000000000000000000000..."} 
[2026-09-24 15:13:22] local.INFO: Processing buffer {"connection_id":191425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2cc00a00100000000000000000000000000..."} 
[2026-09-24 15:13:22] local.INFO: Packet analysis {"connection_id":191425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2cc"} 
[2026-09-24 15:13:22] local.INFO: Extracted packet for processing {"connection_id":191425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2cc"} 
[2026-09-24 15:13:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 15:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302188032001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8703909932720795648,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790242980000,"timestamp_ms":1790242980000,"timestamp_seconds":1790242980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2cc00a0"} 
[2026-09-24 15:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-24 15:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":191425,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:13:22] local.INFO: GPS data processed {"connection_id":191425,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:13:22] local.INFO: Acknowledgment sent {"connection_id":191425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:13:26] local.INFO: TCP Data received {"connection_id":191424,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c90ad0012d196a00071fec30003e01122d..."} 
[2026-09-24 15:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c90ad0012d196a00071fec30003e01122d..."} 
[2026-09-24 15:13:26] local.INFO: Processing buffer {"connection_id":191424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c90ad0012d196a00071fec30003e01122d..."} 
[2026-09-24 15:13:26] local.INFO: Packet analysis {"connection_id":191424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c9"} 
[2026-09-24 15:13:26] local.INFO: Extracted packet for processing {"connection_id":191424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c9"} 
[2026-09-24 15:13:26] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302147840001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790242786000,"timestamp_ms":1790242786000,"timestamp_seconds":1790242786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c90ad0"} 
[2026-09-24 15:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 15:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:26] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:26] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:26] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3536243864,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184194146509,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:26] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3346049025,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:26] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3962568766,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 15:13:26] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:26] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:26] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,114,160,45,236,62,42,10,66,20,44,194,1,240,4,227,210,31,113,205,30,106,48,239,49,2,81,7,120],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 15:13:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467872281221136384,"timestamp_seconds":4467872281221136.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 15:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302147840001,"66":12504,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302147840001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:13:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:13:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302147840001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":191424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:13:26] local.INFO: GPS data processed {"connection_id":191424,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:13:26] local.INFO: Acknowledgment sent {"connection_id":191424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:13:28] local.INFO: TCP Data received {"connection_id":191212,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:13:28] local.INFO: Processing buffer {"connection_id":191212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:13:28] local.INFO: IMEI packet received {"connection_id":191212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":191212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:13:34] local.INFO: TCP Data received {"connection_id":191212,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:13:34] local.INFO: Processing buffer {"connection_id":191212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:13:34] local.INFO: IMEI packet received {"connection_id":191212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":191212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:13:35] local.INFO: TCP Data received {"connection_id":191212,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:13:35] local.INFO: Processing buffer {"connection_id":191212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:13:35] local.INFO: Packet analysis {"connection_id":191212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:13:35] local.INFO: Extracted packet for processing {"connection_id":191212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:13:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302097920001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790242871000,"timestamp_ms":1790242871000,"timestamp_seconds":1790242871,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ca56d8"} 
[2026-09-24 15:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:13:35] 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-09-24 15:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302097920001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302097920001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:13:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:13:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302097920001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":191212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:13:35] local.INFO: GPS data processed {"connection_id":191212,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:13:35] local.INFO: Acknowledgment sent {"connection_id":191212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:13:45] local.INFO: TCP Data received {"connection_id":191426,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:13:45] local.INFO: Processing buffer {"connection_id":191426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:13:45] local.INFO: IMEI packet received {"connection_id":191426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":191426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:13:50] local.INFO: TCP Data received {"connection_id":191426,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:13:50] local.INFO: Processing buffer {"connection_id":191426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:13:50] local.INFO: IMEI packet received {"connection_id":191426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":191426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:13:51] local.INFO: TCP Data received {"connection_id":191426,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c95cd8012d196a00071fec30003e01122d..."} 
[2026-09-24 15:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c95cd8012d196a00071fec30003e01122d..."} 
[2026-09-24 15:13:51] local.INFO: Processing buffer {"connection_id":191426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c95cd8012d196a00071fec30003e01122d..."} 
[2026-09-24 15:13:51] local.INFO: Packet analysis {"connection_id":191426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c9"} 
[2026-09-24 15:13:51] local.INFO: Extracted packet for processing {"connection_id":191426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c9"} 
[2026-09-24 15:13:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302153216001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790242807000,"timestamp_ms":1790242807000,"timestamp_seconds":1790242807,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c95cd8"} 
[2026-09-24 15:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 15:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302153216001,"66":12504,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302153216001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:13:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:13:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302153216001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":191426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:13:51] local.INFO: GPS data processed {"connection_id":191426,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:13:51] local.INFO: Acknowledgment sent {"connection_id":191426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:14:07] local.INFO: TCP Data received {"connection_id":192801,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:14:07] local.INFO: Processing buffer {"connection_id":192801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:14:07] local.INFO: IMEI packet received {"connection_id":192801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":192801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:14:08] local.INFO: TCP Data received {"connection_id":191212,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:14:08] local.INFO: Processing buffer {"connection_id":191212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:14:08] local.INFO: Packet analysis {"connection_id":191212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:14:08] local.INFO: Extracted packet for processing {"connection_id":191212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:14:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302097920001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790242871000,"timestamp_ms":1790242871000,"timestamp_seconds":1790242871,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ca56d8"} 
[2026-09-24 15:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:14:08] 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-09-24 15:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302097920001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302097920001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:14:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:14:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302097920001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":191212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:14:08] local.INFO: GPS data processed {"connection_id":191212,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:14:08] local.INFO: Acknowledgment sent {"connection_id":191212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:14:12] local.INFO: TCP Data received {"connection_id":192801,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:14:12] local.INFO: Processing buffer {"connection_id":192801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:14:12] local.INFO: IMEI packet received {"connection_id":192801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":192801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:14:13] local.INFO: TCP Data received {"connection_id":192801,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2cb8788012c875700080e7b10000c00ae2c..."} 
[2026-09-24 15:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2cb8788012c875700080e7b10000c00ae2c..."} 
[2026-09-24 15:14:13] local.INFO: Processing buffer {"connection_id":192801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2cb8788012c875700080e7b10000c00ae2c..."} 
[2026-09-24 15:14:13] local.INFO: Packet analysis {"connection_id":192801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2cb"} 
[2026-09-24 15:14:13] local.INFO: Extracted packet for processing {"connection_id":192801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2cb"} 
[2026-09-24 15:14:13] local.INFO: GPS Element Parsed {"raw_longitude":747067136,"raw_latitude":135166736,"longitude_deg":74.7067136,"latitude_deg":13.5166736,"altitude":12,"angle":174,"satellites":44,"speed":57,"hex_longitude":"2c875700","hex_latitude":"080e7b10","is_valid_coordinates":true} 
[2026-09-24 15:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:14:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,28,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790242949000,"timestamp_ms":1790242949000,"timestamp_seconds":1790242949,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2cb8788"} 
[2026-09-24 15:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-24 15:14:13] 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-09-24 15:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"28":206,"9":53760,"24":57,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,9,24,16]} 
[2026-09-24 15:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 15:14:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-24 15:14:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 15:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:14:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_28":206,"unknown_9":53760,"ignition":57,"odometer":null}} 
[2026-09-24 15:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":192801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890273,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:14:13] local.INFO: GPS data processed {"connection_id":192801,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:14:13] local.INFO: Acknowledgment sent {"connection_id":192801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:14:14] local.INFO: TCP Data received {"connection_id":192801,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2cbd990012c875900080e2040000b00b42b..."} 
[2026-09-24 15:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2cbd990012c875900080e2040000b00b42b..."} 
[2026-09-24 15:14:14] local.INFO: Processing buffer {"connection_id":192801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2cbd990012c875900080e2040000b00b42b..."} 
[2026-09-24 15:14:14] local.INFO: Packet analysis {"connection_id":192801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2cb"} 
[2026-09-24 15:14:14] local.INFO: Extracted packet for processing {"connection_id":192801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2cb"} 
[2026-09-24 15:14:14] local.INFO: GPS Element Parsed {"raw_longitude":747067648,"raw_latitude":135143488,"longitude_deg":74.7067648,"latitude_deg":13.5143488,"altitude":11,"angle":180,"satellites":43,"speed":0,"hex_longitude":"2c875900","hex_latitude":"080e2040","is_valid_coordinates":true} 
[2026-09-24 15:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302194944001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:14:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8694480521012768768,"note":"Value kept but may cause issues"} 
[2026-09-24 15:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790242970000,"timestamp_ms":1790242970000,"timestamp_seconds":1790242970,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2cbd990"} 
[2026-09-24 15:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:14: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-09-24 15:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:14:14] 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-09-24 15:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":192801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":192801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":192801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302194944001,"66":28343,"28":206,"9":53760,"24":0,"16":3605341577150464,"44":-8694480521012768768},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,9,24,16,44]} 
[2026-09-24 15:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302194944001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:14:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-24 15:14:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 15:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:14:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8694480521012768768,"description":"Unknown IO ID 44"} 
[2026-09-24 15:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302194944001,"power":28343,"unknown_28":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":-8694480521012768768}} 
[2026-09-24 15:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":192801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890274,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:14:14] local.INFO: GPS data processed {"connection_id":192801,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:14:14] local.INFO: Acknowledgment sent {"connection_id":192801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:14:22] local.INFO: TCP Data received {"connection_id":191426,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2c9aee0012d196a00071fec30003e01122c..."} 
[2026-09-24 15:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2c9aee0012d196a00071fec30003e01122c..."} 
[2026-09-24 15:14:22] local.INFO: Processing buffer {"connection_id":191426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2c9aee0012d196a00071fec30003e01122c..."} 
[2026-09-24 15:14:22] local.INFO: Packet analysis {"connection_id":191426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2c9"} 
[2026-09-24 15:14:22] local.INFO: Extracted packet for processing {"connection_id":191426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2c9"} 
[2026-09-24 15:14:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302158592001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790242828000,"timestamp_ms":1790242828000,"timestamp_seconds":1790242828,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2c9aee0"} 
[2026-09-24 15:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 15:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302158592001,"66":12526,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302158592001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:14:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:14:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302158592001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":191426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:14:22] local.INFO: GPS data processed {"connection_id":191426,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:14:22] local.INFO: Acknowledgment sent {"connection_id":191426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:14:28] local.INFO: TCP Data received {"connection_id":194072,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:14:28] local.INFO: Processing buffer {"connection_id":194072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:14:28] local.INFO: IMEI packet received {"connection_id":194072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":194072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:14:33] local.INFO: TCP Data received {"connection_id":194072,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:14:33] local.INFO: Processing buffer {"connection_id":194072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:14:33] local.INFO: IMEI packet received {"connection_id":194072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":194072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:14:34] local.INFO: TCP Data received {"connection_id":194072,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:14:34] local.INFO: Processing buffer {"connection_id":194072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:14:34] local.INFO: Packet analysis {"connection_id":194072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:14:34] local.INFO: Extracted packet for processing {"connection_id":194072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:14:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302097920001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790242871000,"timestamp_ms":1790242871000,"timestamp_seconds":1790242871,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ca56d8"} 
[2026-09-24 15:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302097920001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302097920001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:14:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:14:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302097920001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":194072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:14:34] local.INFO: GPS data processed {"connection_id":194072,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:14:34] local.INFO: Acknowledgment sent {"connection_id":194072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:14:45] local.INFO: TCP Data received {"connection_id":194073,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:14:45] local.INFO: Processing buffer {"connection_id":194073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:14:45] local.INFO: IMEI packet received {"connection_id":194073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":194073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:14:45] local.INFO: TCP Data received {"connection_id":192801,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ccbc200100000000000000000000000000..."} 
[2026-09-24 15:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ccbc200100000000000000000000000000..."} 
[2026-09-24 15:14:45] local.INFO: Processing buffer {"connection_id":192801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ccbc200100000000000000000000000000..."} 
[2026-09-24 15:14:45] local.INFO: Packet analysis {"connection_id":192801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2cc"} 
[2026-09-24 15:14:45] local.INFO: Extracted packet for processing {"connection_id":192801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2cc"} 
[2026-09-24 15:14:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 15:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302200320001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:14:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8693917571065298944,"note":"Value kept but may cause issues"} 
[2026-09-24 15:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790243028000,"timestamp_ms":1790243028000,"timestamp_seconds":1790243028,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ccbc20"} 
[2026-09-24 15:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:14: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-09-24 15:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-24 15:14:45] 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-09-24 15:14:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":192801,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:14:45] local.INFO: GPS data processed {"connection_id":192801,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:14:45] local.INFO: Acknowledgment sent {"connection_id":192801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:14:50] local.INFO: TCP Data received {"connection_id":194073,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:14:50] local.INFO: Processing buffer {"connection_id":194073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:14:50] local.INFO: IMEI packet received {"connection_id":194073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":194073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:14:51] local.INFO: TCP Data received {"connection_id":194073,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ca00e8012d196a00071fec30003e01122c..."} 
[2026-09-24 15:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ca00e8012d196a00071fec30003e01122c..."} 
[2026-09-24 15:14:51] local.INFO: Processing buffer {"connection_id":194073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ca00e8012d196a00071fec30003e01122c..."} 
[2026-09-24 15:14:51] local.INFO: Packet analysis {"connection_id":194073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:14:51] local.INFO: Extracted packet for processing {"connection_id":194073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:14:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302163968001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790242849000,"timestamp_ms":1790242849000,"timestamp_seconds":1790242849,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ca00e8"} 
[2026-09-24 15:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 15:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302163968001,"66":12504,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302163968001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:14:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:14:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302163968001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":194073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:14:51] local.INFO: GPS data processed {"connection_id":194073,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:14:51] local.INFO: Acknowledgment sent {"connection_id":194073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:15:05] local.INFO: TCP Data received {"connection_id":194072,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:15:05] local.INFO: Processing buffer {"connection_id":194072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:15:05] local.INFO: Packet analysis {"connection_id":194072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:15:05] local.INFO: Extracted packet for processing {"connection_id":194072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:15:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302097920001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790242871000,"timestamp_ms":1790242871000,"timestamp_seconds":1790242871,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ca56d8"} 
[2026-09-24 15:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:15:05] 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-09-24 15: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-09-24 15:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302097920001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302097920001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:15:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:15:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302097920001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":194072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:15:05] local.INFO: GPS data processed {"connection_id":194072,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:15:05] local.INFO: Acknowledgment sent {"connection_id":194072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:15:06] local.INFO: TCP Data received {"connection_id":191213,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191213,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:15:06] local.INFO: Processing buffer {"connection_id":191213,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:15:06] local.INFO: IMEI packet received {"connection_id":191213,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":191213,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:15:11] local.INFO: TCP Data received {"connection_id":191213,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191213,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:15:11] local.INFO: Processing buffer {"connection_id":191213,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:15:11] local.INFO: IMEI packet received {"connection_id":191213,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":191213,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:15:12] local.INFO: TCP Data received {"connection_id":191213,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2cc4308012c877080080d6c60000d00a82c..."} 
[2026-09-24 15:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2cc4308012c877080080d6c60000d00a82c..."} 
[2026-09-24 15:15:12] local.INFO: Processing buffer {"connection_id":191213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2cc4308012c877080080d6c60000d00a82c..."} 
[2026-09-24 15:15:12] local.INFO: Packet analysis {"connection_id":191213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2cc"} 
[2026-09-24 15:15:12] local.INFO: Extracted packet for processing {"connection_id":191213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2cc"} 
[2026-09-24 15:15:12] local.INFO: GPS Element Parsed {"raw_longitude":747073664,"raw_latitude":135097440,"longitude_deg":74.7073664,"latitude_deg":13.509744,"altitude":13,"angle":168,"satellites":44,"speed":56,"hex_longitude":"2c877080","hex_latitude":"080d6c60","is_valid_coordinates":true} 
[2026-09-24 15:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:15:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,227,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790242997000,"timestamp_ms":1790242997000,"timestamp_seconds":1790242997,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2cc4308"} 
[2026-09-24 15:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-24 15:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191213,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191213,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28234,"227":206,"9":53760,"24":56,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,9,24,16]} 
[2026-09-24 15:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 15:15:12] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-24 15:15:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 15:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:15:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28234,"unknown_227":206,"unknown_9":53760,"ignition":56,"odometer":null}} 
[2026-09-24 15:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":191213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890279,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:15:12] local.INFO: GPS data processed {"connection_id":191213,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:15:12] local.INFO: Acknowledgment sent {"connection_id":191213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:15:22] local.INFO: TCP Data received {"connection_id":194073,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ca52f0012d196a00071fec30003e01122e..."} 
[2026-09-24 15:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ca52f0012d196a00071fec30003e01122e..."} 
[2026-09-24 15:15:22] local.INFO: Processing buffer {"connection_id":194073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ca52f0012d196a00071fec30003e01122e..."} 
[2026-09-24 15:15:22] local.INFO: Packet analysis {"connection_id":194073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:15:22] local.INFO: Extracted packet for processing {"connection_id":194073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:15:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302169344001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790242870000,"timestamp_ms":1790242870000,"timestamp_seconds":1790242870,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ca52f0"} 
[2026-09-24 15:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 15:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302169344001,"66":12515,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302169344001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:15:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:15:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302169344001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":194073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:15:22] local.INFO: GPS data processed {"connection_id":194073,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:15:22] local.INFO: Acknowledgment sent {"connection_id":194073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:15:33] local.INFO: TCP Data received {"connection_id":191427,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:15:33] local.INFO: Processing buffer {"connection_id":191427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:15:33] local.INFO: IMEI packet received {"connection_id":191427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":191427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:15:38] local.INFO: TCP Data received {"connection_id":191427,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:15:38] local.INFO: Processing buffer {"connection_id":191427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:15:38] local.INFO: IMEI packet received {"connection_id":191427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":191427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:15:39] local.INFO: TCP Data received {"connection_id":191427,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:15:39] local.INFO: Processing buffer {"connection_id":191427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:15:39] local.INFO: Packet analysis {"connection_id":191427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:15:39] local.INFO: Extracted packet for processing {"connection_id":191427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:15:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302097920001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790242871000,"timestamp_ms":1790242871000,"timestamp_seconds":1790242871,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ca56d8"} 
[2026-09-24 15:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302097920001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302097920001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:15:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:15:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302097920001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":191427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:15:39] local.INFO: GPS data processed {"connection_id":191427,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:15:39] local.INFO: Acknowledgment sent {"connection_id":191427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:15:44] local.INFO: TCP Data received {"connection_id":191213,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2cc8570012c877700080d1840000b00b42c..."} 
[2026-09-24 15:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2cc8570012c877700080d1840000b00b42c..."} 
[2026-09-24 15:15:44] local.INFO: Processing buffer {"connection_id":191213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2cc8570012c877700080d1840000b00b42c..."} 
[2026-09-24 15:15:44] local.INFO: Packet analysis {"connection_id":191213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2cc"} 
[2026-09-24 15:15:44] local.INFO: Extracted packet for processing {"connection_id":191213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2cc"} 
[2026-09-24 15:15:44] local.INFO: GPS Element Parsed {"raw_longitude":747075328,"raw_latitude":135075904,"longitude_deg":74.7075328,"latitude_deg":13.5075904,"altitude":11,"angle":180,"satellites":44,"speed":52,"hex_longitude":"2c877700","hex_latitude":"080d1840","is_valid_coordinates":true} 
[2026-09-24 15:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302207232001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:15:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8687302909124386816,"note":"Value kept but may cause issues"} 
[2026-09-24 15:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790243014000,"timestamp_ms":1790243014000,"timestamp_seconds":1790243014,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2cc8570"} 
[2026-09-24 15:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-24 15:15:44] 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-09-24 15:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191213,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191213,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302207232001,"66":28300,"227":206,"9":53760,"24":52,"16":3605341577150464,"44":-8687302909124386816},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,9,24,16,44]} 
[2026-09-24 15:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302207232001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:15:44] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-24 15:15:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 15:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:15:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8687302909124386816,"description":"Unknown IO ID 44"} 
[2026-09-24 15:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302207232001,"power":28300,"unknown_227":206,"unknown_9":53760,"ignition":52,"odometer":null,"unknown_44":-8687302909124386816}} 
[2026-09-24 15:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":191213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890282,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:15:44] local.INFO: GPS data processed {"connection_id":191213,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:15:44] local.INFO: Acknowledgment sent {"connection_id":191213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:15:45] local.INFO: TCP Data received {"connection_id":191214,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:15:45] local.INFO: Processing buffer {"connection_id":191214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:15:45] local.INFO: IMEI packet received {"connection_id":191214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":191214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:15:50] local.INFO: TCP Data received {"connection_id":191214,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:15:50] local.INFO: Processing buffer {"connection_id":191214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:15:50] local.INFO: IMEI packet received {"connection_id":191214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":191214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:15:51] local.INFO: TCP Data received {"connection_id":191214,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2caa4f8012d196a00071fec30003e01122d..."} 
[2026-09-24 15:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2caa4f8012d196a00071fec30003e01122d..."} 
[2026-09-24 15:15:51] local.INFO: Processing buffer {"connection_id":191214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2caa4f8012d196a00071fec30003e01122d..."} 
[2026-09-24 15:15:51] local.INFO: Packet analysis {"connection_id":191214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:15:51] local.INFO: Extracted packet for processing {"connection_id":191214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:15:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302174720001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790242891000,"timestamp_ms":1790242891000,"timestamp_seconds":1790242891,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2caa4f8"} 
[2026-09-24 15:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-24 15:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302174720001,"66":12526,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302174720001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:15:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:15:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302174720001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":191214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:15:51] local.INFO: GPS data processed {"connection_id":191214,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:15:51] local.INFO: Acknowledgment sent {"connection_id":191214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:16:07] local.INFO: TCP Data received {"connection_id":194074,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:16:07] local.INFO: Processing buffer {"connection_id":194074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:16:07] local.INFO: IMEI packet received {"connection_id":194074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":194074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:16:09] local.INFO: TCP Data received {"connection_id":194074,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:16:09] local.INFO: Processing buffer {"connection_id":194074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:16:09] local.INFO: IMEI packet received {"connection_id":194074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":194074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:16:10] local.INFO: TCP Data received {"connection_id":191427,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:16:10] local.INFO: Processing buffer {"connection_id":191427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:16:10] local.INFO: Packet analysis {"connection_id":191427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:16:10] local.INFO: Extracted packet for processing {"connection_id":191427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:16:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302097920001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790242871000,"timestamp_ms":1790242871000,"timestamp_seconds":1790242871,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ca56d8"} 
[2026-09-24 15:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:16:10] 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-09-24 15:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302097920001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302097920001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:16:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:16:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302097920001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":191427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:16:10] local.INFO: GPS data processed {"connection_id":191427,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:16:10] local.INFO: Acknowledgment sent {"connection_id":191427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:16:11] local.INFO: TCP Data received {"connection_id":194074,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:16:11] local.INFO: Processing buffer {"connection_id":194074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:16:11] local.INFO: IMEI packet received {"connection_id":194074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":194074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:16:12] local.INFO: TCP Data received {"connection_id":194074,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ccc3f0012c878640080cc0c0000c00a12b..."} 
[2026-09-24 15:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ccc3f0012c878640080cc0c0000c00a12b..."} 
[2026-09-24 15:16:12] local.INFO: Processing buffer {"connection_id":194074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ccc3f0012c878640080cc0c0000c00a12b..."} 
[2026-09-24 15:16:12] local.INFO: Packet analysis {"connection_id":194074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2cc"} 
[2026-09-24 15:16:12] local.INFO: Extracted packet for processing {"connection_id":194074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2cc"} 
[2026-09-24 15:16:12] local.INFO: GPS Element Parsed {"raw_longitude":747079232,"raw_latitude":135053504,"longitude_deg":74.7079232,"latitude_deg":13.5053504,"altitude":12,"angle":161,"satellites":43,"speed":57,"hex_longitude":"2c878640","hex_latitude":"080cc0c0","is_valid_coordinates":true} 
[2026-09-24 15:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302211584001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:16:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8685473321781280768,"note":"Value kept but may cause issues"} 
[2026-09-24 15:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790243030000,"timestamp_ms":1790243030000,"timestamp_seconds":1790243030,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ccc3f0"} 
[2026-09-24 15:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:16:12] 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-09-24 15:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302211584001,"66":28300,"227":206,"9":53760,"24":57,"16":3605341577150464,"44":-8685473321781280768},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,9,24,16,44]} 
[2026-09-24 15:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302211584001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:16:12] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-24 15:16:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 15:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:16:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8685473321781280768,"description":"Unknown IO ID 44"} 
[2026-09-24 15:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302211584001,"power":28300,"unknown_227":206,"unknown_9":53760,"ignition":57,"odometer":null,"unknown_44":-8685473321781280768}} 
[2026-09-24 15:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":194074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890285,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:16:12] local.INFO: GPS data processed {"connection_id":194074,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:16:13] local.INFO: Acknowledgment sent {"connection_id":194074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:16:19] local.INFO: TCP Data received {"connection_id":194074,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2cd15f8012c87a3c0080c69a0000a00a12b..."} 
[2026-09-24 15:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2cd15f8012c87a3c0080c69a0000a00a12b..."} 
[2026-09-24 15:16:19] local.INFO: Processing buffer {"connection_id":194074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2cd15f8012c87a3c0080c69a0000a00a12b..."} 
[2026-09-24 15:16:19] local.INFO: Packet analysis {"connection_id":194074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2cd"} 
[2026-09-24 15:16:19] local.INFO: Extracted packet for processing {"connection_id":194074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2cd"} 
[2026-09-24 15:16:19] local.INFO: GPS Element Parsed {"raw_longitude":747086784,"raw_latitude":135031200,"longitude_deg":74.7086784,"latitude_deg":13.50312,"altitude":10,"angle":161,"satellites":43,"speed":0,"hex_longitude":"2c87a3c0","hex_latitude":"080c69a0","is_valid_coordinates":true} 
[2026-09-24 15:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302215680001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:16:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8681180828392177664,"note":"Value kept but may cause issues"} 
[2026-09-24 15:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790243051000,"timestamp_ms":1790243051000,"timestamp_seconds":1790243051,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2cd15f8"} 
[2026-09-24 15:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:16: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-09-24 15:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:16:19] 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-09-24 15:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":194074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":194074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":194074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302215680001,"66":28452,"227":206,"9":53760,"24":0,"16":3605341577150464,"44":-8681180828392177664},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,9,24,16,44]} 
[2026-09-24 15:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302215680001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:16:19] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-24 15:16:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 15:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:16:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8681180828392177664,"description":"Unknown IO ID 44"} 
[2026-09-24 15:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302215680001,"power":28452,"unknown_227":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":-8681180828392177664}} 
[2026-09-24 15:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":194074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890286,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:16:19] local.INFO: GPS data processed {"connection_id":194074,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:16:19] local.INFO: Acknowledgment sent {"connection_id":194074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:16:22] local.INFO: TCP Data received {"connection_id":191214,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2caf700012d196a00071fec30003e01122d..."} 
[2026-09-24 15:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2caf700012d196a00071fec30003e01122d..."} 
[2026-09-24 15:16:22] local.INFO: Processing buffer {"connection_id":191214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2caf700012d196a00071fec30003e01122d..."} 
[2026-09-24 15:16:22] local.INFO: Packet analysis {"connection_id":191214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:16:22] local.INFO: Extracted packet for processing {"connection_id":191214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:16:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302180096001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790242912000,"timestamp_ms":1790242912000,"timestamp_seconds":1790242912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2caf700"} 
[2026-09-24 15:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 15:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302180096001,"66":12504,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302180096001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:16:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:16:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302180096001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":191214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:16:22] local.INFO: GPS data processed {"connection_id":191214,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:16:22] local.INFO: Acknowledgment sent {"connection_id":191214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:16:28] local.INFO: TCP Data received {"connection_id":192802,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:16:28] local.INFO: Processing buffer {"connection_id":192802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:16:28] local.INFO: IMEI packet received {"connection_id":192802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":192802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:16:33] local.INFO: TCP Data received {"connection_id":192802,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:16:33] local.INFO: Processing buffer {"connection_id":192802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:16:33] local.INFO: IMEI packet received {"connection_id":192802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":192802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:16:34] local.INFO: TCP Data received {"connection_id":192802,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:16:34] local.INFO: Processing buffer {"connection_id":192802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ca56d8012d34c14006aa4940000900f52a..."} 
[2026-09-24 15:16:34] local.INFO: Packet analysis {"connection_id":192802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:16:34] local.INFO: Extracted packet for processing {"connection_id":192802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ca"} 
[2026-09-24 15:16:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302097920001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790242871000,"timestamp_ms":1790242871000,"timestamp_seconds":1790242871,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ca56d8"} 
[2026-09-24 15:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302097920001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302097920001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:16:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:16:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302097920001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":192802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:16:34] local.INFO: GPS data processed {"connection_id":192802,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:16:34] local.INFO: Acknowledgment sent {"connection_id":192802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:16:45] local.INFO: TCP Data received {"connection_id":192803,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:16:45] local.INFO: Processing buffer {"connection_id":192803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:16:45] local.INFO: IMEI packet received {"connection_id":192803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":192803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:16:50] local.INFO: TCP Data received {"connection_id":192803,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:16:50] local.INFO: Processing buffer {"connection_id":192803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:16:50] local.INFO: IMEI packet received {"connection_id":192803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":192803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:16:51] local.INFO: TCP Data received {"connection_id":192803,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2cb4908012d196a00071fec30003e01122b..."} 
[2026-09-24 15:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2cb4908012d196a00071fec30003e01122b..."} 
[2026-09-24 15:16:51] local.INFO: Processing buffer {"connection_id":192803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2cb4908012d196a00071fec30003e01122b..."} 
[2026-09-24 15:16:51] local.INFO: Packet analysis {"connection_id":192803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2cb"} 
[2026-09-24 15:16:51] local.INFO: Extracted packet for processing {"connection_id":192803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2cb"} 
[2026-09-24 15:16:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302185472001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790242933000,"timestamp_ms":1790242933000,"timestamp_seconds":1790242933,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2cb4908"} 
[2026-09-24 15:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 15:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302185472001,"66":12526,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302185472001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:16:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:16:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302185472001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":192803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:16:51] local.INFO: GPS data processed {"connection_id":192803,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:16:51] local.INFO: Acknowledgment sent {"connection_id":192803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:17:06] local.INFO: TCP Data received {"connection_id":192802,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:17:06] local.INFO: Processing buffer {"connection_id":192802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:17:06] local.INFO: Packet analysis {"connection_id":192802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ce"} 
[2026-09-24 15:17:06] local.INFO: Extracted packet for processing {"connection_id":192802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ce"} 
[2026-09-24 15:17:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302174976001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790243172000,"timestamp_ms":1790243172000,"timestamp_seconds":1790243172,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ceeea0"} 
[2026-09-24 15:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302174976001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302174976001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:17:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:17:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302174976001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":192802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:17:06] local.INFO: GPS data processed {"connection_id":192802,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:17:06] local.INFO: Acknowledgment sent {"connection_id":192802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:17:07] local.INFO: TCP Data received {"connection_id":191215,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:17:07] local.INFO: Processing buffer {"connection_id":191215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:17:07] local.INFO: IMEI packet received {"connection_id":191215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":191215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:17:14] local.INFO: TCP Data received {"connection_id":194074,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2cdf8880100000000000000000000000000..."} 
[2026-09-24 15:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2cdf8880100000000000000000000000000..."} 
[2026-09-24 15:17:14] local.INFO: Processing buffer {"connection_id":194074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2cdf8880100000000000000000000000000..."} 
[2026-09-24 15:17:14] local.INFO: Packet analysis {"connection_id":194074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2cd"} 
[2026-09-24 15:17:14] local.INFO: Extracted packet for processing {"connection_id":194074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2cd"} 
[2026-09-24 15:17:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 15:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302221056001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:17:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8672877316584923136,"note":"Value kept but may cause issues"} 
[2026-09-24 15:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790243109000,"timestamp_ms":1790243109000,"timestamp_seconds":1790243109,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2cdf888"} 
[2026-09-24 15:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:17: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-09-24 15:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-24 15:17:14] 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-09-24 15:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":194074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":194074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":194074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":194074,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:17:14] local.INFO: GPS data processed {"connection_id":194074,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:17:14] local.INFO: Acknowledgment sent {"connection_id":194074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:17:14] local.INFO: TCP Data received {"connection_id":191215,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:17:14] local.INFO: Processing buffer {"connection_id":191215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:17:14] local.INFO: IMEI packet received {"connection_id":191215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":191215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:17:16] local.INFO: TCP Data received {"connection_id":191215,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2cd7f70012c87e740080bccb0000900a42d..."} 
[2026-09-24 15:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2cd7f70012c87e740080bccb0000900a42d..."} 
[2026-09-24 15:17:16] local.INFO: Processing buffer {"connection_id":191215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2cd7f70012c87e740080bccb0000900a42d..."} 
[2026-09-24 15:17:16] local.INFO: Packet analysis {"connection_id":191215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2cd"} 
[2026-09-24 15:17:16] local.INFO: Extracted packet for processing {"connection_id":191215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2cd"} 
[2026-09-24 15:17:16] local.INFO: GPS Element Parsed {"raw_longitude":747104064,"raw_latitude":134991024,"longitude_deg":74.7104064,"latitude_deg":13.4991024,"altitude":9,"angle":164,"satellites":45,"speed":23,"hex_longitude":"2c87e740","hex_latitude":"080bccb0","is_valid_coordinates":true} 
[2026-09-24 15:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:17:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,228,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790243078000,"timestamp_ms":1790243078000,"timestamp_seconds":1790243078,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2cd7f70"} 
[2026-09-24 15:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:17:16] 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-09-24 15:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"228":206,"9":53760,"24":23,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,9,24,16]} 
[2026-09-24 15:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 15:17:16] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-24 15:17:16] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 15:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:17:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_228":206,"unknown_9":53760,"ignition":23,"odometer":null}} 
[2026-09-24 15:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":191215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890291,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:17:16] local.INFO: GPS data processed {"connection_id":191215,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:17:16] local.INFO: Acknowledgment sent {"connection_id":191215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:17:22] local.INFO: TCP Data received {"connection_id":192803,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2cb9b10012d196a00071fec30003e01122a..."} 
[2026-09-24 15:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2cb9b10012d196a00071fec30003e01122a..."} 
[2026-09-24 15:17:22] local.INFO: Processing buffer {"connection_id":192803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2cb9b10012d196a00071fec30003e01122a..."} 
[2026-09-24 15:17:22] local.INFO: Packet analysis {"connection_id":192803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2cb"} 
[2026-09-24 15:17:22] local.INFO: Extracted packet for processing {"connection_id":192803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2cb"} 
[2026-09-24 15:17:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302190848001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790242954000,"timestamp_ms":1790242954000,"timestamp_seconds":1790242954,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2cb9b10"} 
[2026-09-24 15:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 15:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302190848001,"66":12504,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302190848001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:17:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:17:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302190848001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":192803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:17:22] local.INFO: GPS data processed {"connection_id":192803,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:17:22] local.INFO: Acknowledgment sent {"connection_id":192803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:17:28] local.INFO: TCP Data received {"connection_id":191216,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:17:28] local.INFO: Processing buffer {"connection_id":191216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:17:28] local.INFO: IMEI packet received {"connection_id":191216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":191216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:17:33] local.INFO: TCP Data received {"connection_id":191216,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:17:33] local.INFO: Processing buffer {"connection_id":191216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:17:33] local.INFO: IMEI packet received {"connection_id":191216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":191216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:17:34] local.INFO: TCP Data received {"connection_id":191216,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:17:34] local.INFO: Processing buffer {"connection_id":191216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:17:34] local.INFO: Packet analysis {"connection_id":191216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ce"} 
[2026-09-24 15:17:34] local.INFO: Extracted packet for processing {"connection_id":191216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ce"} 
[2026-09-24 15:17:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302174976001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790243172000,"timestamp_ms":1790243172000,"timestamp_seconds":1790243172,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ceeea0"} 
[2026-09-24 15:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:17:34] 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-09-24 15:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302174976001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302174976001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:17:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:17:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302174976001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":191216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:17:34] local.INFO: GPS data processed {"connection_id":191216,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:17:34] local.INFO: Acknowledgment sent {"connection_id":191216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:17:45] local.INFO: TCP Data received {"connection_id":191428,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:17:45] local.INFO: Processing buffer {"connection_id":191428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:17:45] local.INFO: IMEI packet received {"connection_id":191428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":191428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:17:45] local.INFO: TCP Data received {"connection_id":191428,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:17:45] local.INFO: Processing buffer {"connection_id":191428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:17:45] local.INFO: IMEI packet received {"connection_id":191428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":191428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:17:49] local.INFO: TCP Data received {"connection_id":191215,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2cdd178012c87e740080bccb0000900a42d..."} 
[2026-09-24 15:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2cdd178012c87e740080bccb0000900a42d..."} 
[2026-09-24 15:17:49] local.INFO: Processing buffer {"connection_id":191215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2cdd178012c87e740080bccb0000900a42d..."} 
[2026-09-24 15:17:49] local.INFO: Packet analysis {"connection_id":191215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2cd"} 
[2026-09-24 15:17:49] local.INFO: Extracted packet for processing {"connection_id":191215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2cd"} 
[2026-09-24 15:17:49] local.INFO: GPS Element Parsed {"raw_longitude":747104064,"raw_latitude":134991024,"longitude_deg":74.7104064,"latitude_deg":13.4991024,"altitude":9,"angle":164,"satellites":45,"speed":0,"hex_longitude":"2c87e740","hex_latitude":"080bccb0","is_valid_coordinates":true} 
[2026-09-24 15:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302227968001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:17:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8653877755667238912,"note":"Value kept but may cause issues"} 
[2026-09-24 15:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790243099000,"timestamp_ms":1790243099000,"timestamp_seconds":1790243099,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2cdd178"} 
[2026-09-24 15:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 15:17: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-09-24 15:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302227968001,"66":28256,"228":206,"9":53760,"24":0,"16":3605341577150464,"44":-8653877755667238912},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,9,24,16,44]} 
[2026-09-24 15:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302227968001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:17:49] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-24 15:17:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 15:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:17:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8653877755667238912,"description":"Unknown IO ID 44"} 
[2026-09-24 15:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302227968001,"power":28256,"unknown_228":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":-8653877755667238912}} 
[2026-09-24 15:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":191215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890294,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:17:49] local.INFO: GPS data processed {"connection_id":191215,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:17:49] local.INFO: Acknowledgment sent {"connection_id":191215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:17:50] local.INFO: TCP Data received {"connection_id":191428,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:17:50] local.INFO: Processing buffer {"connection_id":191428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:17:50] local.INFO: IMEI packet received {"connection_id":191428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":191428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:17:51] local.INFO: TCP Data received {"connection_id":191428,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2cf2168012d196a00071fec30003e01122c..."} 
[2026-09-24 15:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2cf2168012d196a00071fec30003e01122c..."} 
[2026-09-24 15:17:51] local.INFO: Processing buffer {"connection_id":191428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2cf2168012d196a00071fec30003e01122c..."} 
[2026-09-24 15:17:51] local.INFO: Packet analysis {"connection_id":191428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2cf"} 
[2026-09-24 15:17:51] local.INFO: Extracted packet for processing {"connection_id":191428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2cf"} 
[2026-09-24 15:17:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302249984001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790243185000,"timestamp_ms":1790243185000,"timestamp_seconds":1790243185,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2cf2168"} 
[2026-09-24 15:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 15:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302249984001,"66":12504,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302249984001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:17:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:17:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302249984001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":191428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:17:51] local.INFO: GPS data processed {"connection_id":191428,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:17:51] local.INFO: Acknowledgment sent {"connection_id":191428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:18:07] local.INFO: TCP Data received {"connection_id":191216,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:18:07] local.INFO: Processing buffer {"connection_id":191216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:18:07] local.INFO: Packet analysis {"connection_id":191216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ce"} 
[2026-09-24 15:18:07] local.INFO: Extracted packet for processing {"connection_id":191216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ce"} 
[2026-09-24 15:18:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302174976001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790243172000,"timestamp_ms":1790243172000,"timestamp_seconds":1790243172,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ceeea0"} 
[2026-09-24 15:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:18:07] 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-09-24 15:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302174976001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302174976001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:18:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:18:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302174976001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":191216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:18:07] local.INFO: GPS data processed {"connection_id":191216,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:18:07] local.INFO: Acknowledgment sent {"connection_id":191216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:18:21] local.INFO: TCP Data received {"connection_id":191429,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:18:21] local.INFO: Processing buffer {"connection_id":191429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:18:21] local.INFO: IMEI packet received {"connection_id":191429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":191429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:18:22] local.INFO: TCP Data received {"connection_id":191428,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2cf7370012d196a00071fec30003e011229..."} 
[2026-09-24 15:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2cf7370012d196a00071fec30003e011229..."} 
[2026-09-24 15:18:22] local.INFO: Processing buffer {"connection_id":191428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2cf7370012d196a00071fec30003e011229..."} 
[2026-09-24 15:18:22] local.INFO: Packet analysis {"connection_id":191428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2cf"} 
[2026-09-24 15:18:22] local.INFO: Extracted packet for processing {"connection_id":191428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2cf"} 
[2026-09-24 15:18:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302255360001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790243206000,"timestamp_ms":1790243206000,"timestamp_seconds":1790243206,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2cf7370"} 
[2026-09-24 15:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 15:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302255360001,"66":12461,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302255360001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:18:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:18:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302255360001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":191428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:18:22] local.INFO: GPS data processed {"connection_id":191428,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:18:22] local.INFO: Acknowledgment sent {"connection_id":191428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:18:26] local.INFO: TCP Data received {"connection_id":191429,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:18:26] local.INFO: Processing buffer {"connection_id":191429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:18:26] local.INFO: IMEI packet received {"connection_id":191429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":191429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:18:28] local.INFO: TCP Data received {"connection_id":191429,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2cdfc70012c87ef00080b9080000b00b72c..."} 
[2026-09-24 15:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2cdfc70012c87ef00080b9080000b00b72c..."} 
[2026-09-24 15:18:28] local.INFO: Processing buffer {"connection_id":191429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2cdfc70012c87ef00080b9080000b00b72c..."} 
[2026-09-24 15:18:28] local.INFO: Packet analysis {"connection_id":191429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2cd"} 
[2026-09-24 15:18:28] local.INFO: Extracted packet for processing {"connection_id":191429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2cd"} 
[2026-09-24 15:18:28] local.INFO: GPS Element Parsed {"raw_longitude":747106048,"raw_latitude":134975616,"longitude_deg":74.7106048,"latitude_deg":13.4975616,"altitude":11,"angle":183,"satellites":44,"speed":34,"hex_longitude":"2c87ef00","hex_latitude":"080b9080","is_valid_coordinates":true} 
[2026-09-24 15:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302233344001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:18:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8653877755667238912,"note":"Value kept but may cause issues"} 
[2026-09-24 15:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790243110000,"timestamp_ms":1790243110000,"timestamp_seconds":1790243110,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2cdfc70"} 
[2026-09-24 15:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 15:18:28] 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-09-24 15:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":191429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":191429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":191429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302233344001,"66":28224,"228":206,"9":53760,"24":34,"16":3605341577150464,"44":-8653877755667238912},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,9,24,16,44]} 
[2026-09-24 15:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302233344001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:18:28] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-24 15:18:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 15:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:18:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8653877755667238912,"description":"Unknown IO ID 44"} 
[2026-09-24 15:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302233344001,"power":28224,"unknown_228":206,"unknown_9":53760,"ignition":34,"odometer":null,"unknown_44":-8653877755667238912}} 
[2026-09-24 15:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":191429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890298,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:18:28] local.INFO: GPS data processed {"connection_id":191429,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:18:28] local.INFO: Acknowledgment sent {"connection_id":191429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:18:28] local.INFO: TCP Data received {"connection_id":194075,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:18:28] local.INFO: Processing buffer {"connection_id":194075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:18:28] local.INFO: IMEI packet received {"connection_id":194075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":194075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:18:33] local.INFO: TCP Data received {"connection_id":194075,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:18:33] local.INFO: Processing buffer {"connection_id":194075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:18:33] local.INFO: IMEI packet received {"connection_id":194075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":194075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:18:34] local.INFO: TCP Data received {"connection_id":194075,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:18:34] local.INFO: Processing buffer {"connection_id":194075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:18:34] local.INFO: Packet analysis {"connection_id":194075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ce"} 
[2026-09-24 15:18:34] local.INFO: Extracted packet for processing {"connection_id":194075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ce"} 
[2026-09-24 15:18:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302174976001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790243172000,"timestamp_ms":1790243172000,"timestamp_seconds":1790243172,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ceeea0"} 
[2026-09-24 15:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:18:34] 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-09-24 15:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302174976001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302174976001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:18:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:18:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302174976001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":194075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:18:34] local.INFO: GPS data processed {"connection_id":194075,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:18:34] local.INFO: Acknowledgment sent {"connection_id":194075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:18:48] local.INFO: TCP Data received {"connection_id":192804,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:18:48] local.INFO: Processing buffer {"connection_id":192804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:18:48] local.INFO: IMEI packet received {"connection_id":192804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":192804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:18:50] local.INFO: TCP Data received {"connection_id":192804,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:18:50] local.INFO: Processing buffer {"connection_id":192804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:18:50] local.INFO: IMEI packet received {"connection_id":192804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":192804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:18:55] local.INFO: TCP Data received {"connection_id":192804,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:18:55] local.INFO: Processing buffer {"connection_id":192804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:18:55] local.INFO: IMEI packet received {"connection_id":192804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":192804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:18:55] local.INFO: TCP Data received {"connection_id":192804,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2cfc578012d196a00071fec30003e01122a..."} 
[2026-09-24 15:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2cfc578012d196a00071fec30003e01122a..."} 
[2026-09-24 15:18:55] local.INFO: Processing buffer {"connection_id":192804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2cfc578012d196a00071fec30003e01122a..."} 
[2026-09-24 15:18:55] local.INFO: Packet analysis {"connection_id":192804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2cf"} 
[2026-09-24 15:18:55] local.INFO: Extracted packet for processing {"connection_id":192804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2cf"} 
[2026-09-24 15:18:55] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302260736001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790243227000,"timestamp_ms":1790243227000,"timestamp_seconds":1790243227,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2cfc578"} 
[2026-09-24 15:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 15:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302260736001,"66":12461,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302260736001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:18:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:18:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302260736001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":192804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:18:55] local.INFO: GPS data processed {"connection_id":192804,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:18:55] local.INFO: Acknowledgment sent {"connection_id":192804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:19:00] local.INFO: TCP Data received {"connection_id":192804,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d01780012d196a00071fec30003e011229..."} 
[2026-09-24 15:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d01780012d196a00071fec30003e011229..."} 
[2026-09-24 15:19:00] local.INFO: Processing buffer {"connection_id":192804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d01780012d196a00071fec30003e011229..."} 
[2026-09-24 15:19:00] local.INFO: Packet analysis {"connection_id":192804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d0"} 
[2026-09-24 15:19:00] local.INFO: Extracted packet for processing {"connection_id":192804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d0"} 
[2026-09-24 15:19:00] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302266112001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790243248000,"timestamp_ms":1790243248000,"timestamp_seconds":1790243248,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d01780"} 
[2026-09-24 15:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 15:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302266112001,"66":12493,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302266112001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:19:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:19:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302266112001,"power":12493,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":192804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:19:00] local.INFO: GPS data processed {"connection_id":192804,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:19:00] local.INFO: Acknowledgment sent {"connection_id":192804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:19:07] local.INFO: TCP Data received {"connection_id":194075,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:19:07] local.INFO: Processing buffer {"connection_id":194075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:19:07] local.INFO: Packet analysis {"connection_id":194075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ce"} 
[2026-09-24 15:19:07] local.INFO: Extracted packet for processing {"connection_id":194075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ce"} 
[2026-09-24 15:19:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302174976001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790243172000,"timestamp_ms":1790243172000,"timestamp_seconds":1790243172,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ceeea0"} 
[2026-09-24 15:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:19:07] 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-09-24 15:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":194075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":194075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":194075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302174976001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302174976001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:19:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:19:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302174976001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":194075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:19:07] local.INFO: GPS data processed {"connection_id":194075,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:19:07] local.INFO: Acknowledgment sent {"connection_id":194075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:19:12] local.INFO: TCP Data received {"connection_id":191217,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191217,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:19:12] local.INFO: Processing buffer {"connection_id":191217,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:19:12] local.INFO: IMEI packet received {"connection_id":191217,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":191217,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:19:16] local.INFO: TCP Data received {"connection_id":191217,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191217,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:19:16] local.INFO: Processing buffer {"connection_id":191217,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:19:16] local.INFO: IMEI packet received {"connection_id":191217,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":191217,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:19:18] local.INFO: TCP Data received {"connection_id":191217,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ce4e78012c87e440080b4600000c00b92a..."} 
[2026-09-24 15:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ce4e78012c87e440080b4600000c00b92a..."} 
[2026-09-24 15:19:18] local.INFO: Processing buffer {"connection_id":191217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ce4e78012c87e440080b4600000c00b92a..."} 
[2026-09-24 15:19:18] local.INFO: Packet analysis {"connection_id":191217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ce"} 
[2026-09-24 15:19:18] local.INFO: Extracted packet for processing {"connection_id":191217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ce"} 
[2026-09-24 15:19:18] local.INFO: GPS Element Parsed {"raw_longitude":747103296,"raw_latitude":134956544,"longitude_deg":74.7103296,"latitude_deg":13.4956544,"altitude":12,"angle":185,"satellites":42,"speed":0,"hex_longitude":"2c87e440","hex_latitude":"080b4600","is_valid_coordinates":true} 
[2026-09-24 15:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302236160001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:19:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8651696324601675776,"note":"Value kept but may cause issues"} 
[2026-09-24 15:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790243131000,"timestamp_ms":1790243131000,"timestamp_seconds":1790243131,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ce4e78"} 
[2026-09-24 15:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:19: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-09-24 15:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-24 15:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302236160001,"66":28267,"228":206,"9":53760,"24":0,"16":3605341577150464,"44":-8651696324601675776},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,9,24,16,44]} 
[2026-09-24 15:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302236160001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:19:18] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-24 15:19:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":53760,"description":"Unknown IO ID 9"} 
[2026-09-24 15:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:19:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8651696324601675776,"description":"Unknown IO ID 44"} 
[2026-09-24 15:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302236160001,"power":28267,"unknown_228":206,"unknown_9":53760,"ignition":0,"odometer":null,"unknown_44":-8651696324601675776}} 
[2026-09-24 15:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":191217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890303,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:19:18] local.INFO: GPS data processed {"connection_id":191217,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:19:18] local.INFO: Acknowledgment sent {"connection_id":191217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:19:28] local.INFO: TCP Data received {"connection_id":191218,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:19:28] local.INFO: Processing buffer {"connection_id":191218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:19:28] local.INFO: IMEI packet received {"connection_id":191218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":191218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:19:33] local.INFO: TCP Data received {"connection_id":191218,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:19:33] local.INFO: Processing buffer {"connection_id":191218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:19:33] local.INFO: IMEI packet received {"connection_id":191218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":191218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:19:35] local.INFO: TCP Data received {"connection_id":191218,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:19:35] local.INFO: Processing buffer {"connection_id":191218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:19:35] local.INFO: Packet analysis {"connection_id":191218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ce"} 
[2026-09-24 15:19:35] local.INFO: Extracted packet for processing {"connection_id":191218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ce"} 
[2026-09-24 15:19:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302174976001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790243172000,"timestamp_ms":1790243172000,"timestamp_seconds":1790243172,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ceeea0"} 
[2026-09-24 15:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:19:35] 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-09-24 15: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-09-24 15:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302174976001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302174976001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:19:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:19:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302174976001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":191218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:19:35] local.INFO: GPS data processed {"connection_id":191218,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:19:35] local.INFO: Acknowledgment sent {"connection_id":191218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:19:45] local.INFO: TCP Data received {"connection_id":191219,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:19:45] local.INFO: Processing buffer {"connection_id":191219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:19:45] local.INFO: IMEI packet received {"connection_id":191219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":191219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:19:50] local.INFO: TCP Data received {"connection_id":191217,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d1b9780100000000000000000000000000..."} 
[2026-09-24 15:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d1b9780100000000000000000000000000..."} 
[2026-09-24 15:19:50] local.INFO: Processing buffer {"connection_id":191217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d1b9780100000000000000000000000000..."} 
[2026-09-24 15:19:50] local.INFO: Packet analysis {"connection_id":191217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d1"} 
[2026-09-24 15:19:50] local.INFO: Extracted packet for processing {"connection_id":191217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d1"} 
[2026-09-24 15:19:50] 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-09-24 15:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302284032001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:19:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8624393251914543104,"note":"Value kept but may cause issues"} 
[2026-09-24 15:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790243355000,"timestamp_ms":1790243355000,"timestamp_seconds":1790243355,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d1b978"} 
[2026-09-24 15:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-24 15:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":191217,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:19:50] local.INFO: GPS data processed {"connection_id":191217,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:19:50] local.INFO: Acknowledgment sent {"connection_id":191217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:19:50] local.INFO: TCP Data received {"connection_id":191219,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:19:50] local.INFO: Processing buffer {"connection_id":191219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:19:50] local.INFO: IMEI packet received {"connection_id":191219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":191219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:19:51] local.INFO: TCP Data received {"connection_id":191219,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d06988012d196a00071fec30003e01122a..."} 
[2026-09-24 15:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d06988012d196a00071fec30003e01122a..."} 
[2026-09-24 15:19:51] local.INFO: Processing buffer {"connection_id":191219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d06988012d196a00071fec30003e01122a..."} 
[2026-09-24 15:19:51] local.INFO: Packet analysis {"connection_id":191219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d0"} 
[2026-09-24 15:19:51] local.INFO: Extracted packet for processing {"connection_id":191219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d0"} 
[2026-09-24 15:19:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302271488001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790243269000,"timestamp_ms":1790243269000,"timestamp_seconds":1790243269,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d06988"} 
[2026-09-24 15:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 15:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302271488001,"66":12461,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302271488001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:19:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:19:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302271488001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":191219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:19:51] local.INFO: GPS data processed {"connection_id":191219,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:19:51] local.INFO: Acknowledgment sent {"connection_id":191219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:20:06] local.INFO: TCP Data received {"connection_id":191218,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:20:06] local.INFO: Processing buffer {"connection_id":191218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:20:06] local.INFO: Packet analysis {"connection_id":191218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ce"} 
[2026-09-24 15:20:06] local.INFO: Extracted packet for processing {"connection_id":191218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ce"} 
[2026-09-24 15:20:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302174976001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790243172000,"timestamp_ms":1790243172000,"timestamp_seconds":1790243172,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ceeea0"} 
[2026-09-24 15:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302174976001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302174976001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:20:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:20:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302174976001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":191218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:20:06] local.INFO: GPS data processed {"connection_id":191218,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:20:06] local.INFO: Acknowledgment sent {"connection_id":191218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:20:07] local.INFO: TCP Data received {"connection_id":191430,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:20:07] local.INFO: Processing buffer {"connection_id":191430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:20:07] local.INFO: IMEI packet received {"connection_id":191430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":191430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:20:07] local.INFO: TCP Data received {"connection_id":191430,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:20:07] local.INFO: Processing buffer {"connection_id":191430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:20:07] local.INFO: IMEI packet received {"connection_id":191430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":191430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:20:12] local.INFO: TCP Data received {"connection_id":191430,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:20:12] local.INFO: Processing buffer {"connection_id":191430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:20:12] local.INFO: IMEI packet received {"connection_id":191430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":191430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:20:13] local.INFO: TCP Data received {"connection_id":191430,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d14c18012c885ac008081ef0000e00a82c..."} 
[2026-09-24 15:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d14c18012c885ac008081ef0000e00a82c..."} 
[2026-09-24 15:20:13] local.INFO: Processing buffer {"connection_id":191430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d14c18012c885ac008081ef0000e00a82c..."} 
[2026-09-24 15:20:13] local.INFO: Packet analysis {"connection_id":191430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d1"} 
[2026-09-24 15:20:13] local.INFO: Extracted packet for processing {"connection_id":191430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d1"} 
[2026-09-24 15:20:13] local.INFO: GPS Element Parsed {"raw_longitude":747133632,"raw_latitude":134749936,"longitude_deg":74.7133632,"latitude_deg":13.4749936,"altitude":14,"angle":168,"satellites":44,"speed":33,"hex_longitude":"2c885ac0","hex_latitude":"08081ef0","is_valid_coordinates":true} 
[2026-09-24 15:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:20:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,139,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790243327000,"timestamp_ms":1790243327000,"timestamp_seconds":1790243327,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d14c18"} 
[2026-09-24 15:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 15:20:13] 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-09-24 15:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"139":206,"9":54272,"24":33,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,9,24,16]} 
[2026-09-24 15:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 15:20:13] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-24 15:20:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:20:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_139":206,"unknown_9":54272,"ignition":33,"odometer":null}} 
[2026-09-24 15:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":191430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890307,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:20:13] local.INFO: GPS data processed {"connection_id":191430,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:20:13] local.INFO: Acknowledgment sent {"connection_id":191430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:20:22] local.INFO: TCP Data received {"connection_id":191219,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d0bb90012d196a00071fec30003e01122b..."} 
[2026-09-24 15:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d0bb90012d196a00071fec30003e01122b..."} 
[2026-09-24 15:20:22] local.INFO: Processing buffer {"connection_id":191219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d0bb90012d196a00071fec30003e01122b..."} 
[2026-09-24 15:20:22] local.INFO: Packet analysis {"connection_id":191219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d0"} 
[2026-09-24 15:20:22] local.INFO: Extracted packet for processing {"connection_id":191219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d0"} 
[2026-09-24 15:20:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302276864001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790243290000,"timestamp_ms":1790243290000,"timestamp_seconds":1790243290,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d0bb90"} 
[2026-09-24 15:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 15:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302276864001,"66":12461,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302276864001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:20:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:20:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302276864001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":191219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:20:22] local.INFO: GPS data processed {"connection_id":191219,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:20:22] local.INFO: Acknowledgment sent {"connection_id":191219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:20:28] local.INFO: TCP Data received {"connection_id":192805,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:20:28] local.INFO: Processing buffer {"connection_id":192805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:20:28] local.INFO: IMEI packet received {"connection_id":192805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":192805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:20:33] local.INFO: TCP Data received {"connection_id":192805,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:20:33] local.INFO: Processing buffer {"connection_id":192805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:20:33] local.INFO: IMEI packet received {"connection_id":192805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":192805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:20:34] local.INFO: TCP Data received {"connection_id":192805,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:20:34] local.INFO: Processing buffer {"connection_id":192805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:20:34] local.INFO: Packet analysis {"connection_id":192805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ce"} 
[2026-09-24 15:20:34] local.INFO: Extracted packet for processing {"connection_id":192805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ce"} 
[2026-09-24 15:20:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302174976001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790243172000,"timestamp_ms":1790243172000,"timestamp_seconds":1790243172,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ceeea0"} 
[2026-09-24 15:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:20:34] 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-09-24 15:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302174976001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302174976001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:20:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:20:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302174976001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":192805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:20:34] local.INFO: GPS data processed {"connection_id":192805,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:20:34] local.INFO: Acknowledgment sent {"connection_id":192805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:20:45] local.INFO: TCP Data received {"connection_id":191430,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d19e20012c8865c00807d620001000ad2a..."} 
[2026-09-24 15:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d19e20012c8865c00807d620001000ad2a..."} 
[2026-09-24 15:20:45] local.INFO: Processing buffer {"connection_id":191430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d19e20012c8865c00807d620001000ad2a..."} 
[2026-09-24 15:20:45] local.INFO: Packet analysis {"connection_id":191430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d1"} 
[2026-09-24 15:20:45] local.INFO: Extracted packet for processing {"connection_id":191430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d1"} 
[2026-09-24 15:20:45] local.INFO: GPS Element Parsed {"raw_longitude":747136448,"raw_latitude":134731296,"longitude_deg":74.7136448,"latitude_deg":13.4731296,"altitude":16,"angle":173,"satellites":42,"speed":0,"hex_longitude":"2c8865c0","hex_latitude":"0807d620","is_valid_coordinates":true} 
[2026-09-24 15:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302291712001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:20:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8621367395918876672,"note":"Value kept but may cause issues"} 
[2026-09-24 15:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790243348000,"timestamp_ms":1790243348000,"timestamp_seconds":1790243348,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d19e20"} 
[2026-09-24 15:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:20: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-09-24 15:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 15:20: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-09-24 15:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302291712001,"66":27821,"139":206,"9":54272,"24":0,"16":3605341577150464,"44":-8621367395918876672},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,9,24,16,44]} 
[2026-09-24 15:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302291712001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:20:45] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-24 15:20:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:20:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8621367395918876672,"description":"Unknown IO ID 44"} 
[2026-09-24 15:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302291712001,"power":27821,"unknown_139":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8621367395918876672}} 
[2026-09-24 15:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":191430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890310,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:20:45] local.INFO: GPS data processed {"connection_id":191430,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:20:45] local.INFO: Acknowledgment sent {"connection_id":191430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:20:45] local.INFO: TCP Data received {"connection_id":192806,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:20:45] local.INFO: Processing buffer {"connection_id":192806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:20:45] local.INFO: IMEI packet received {"connection_id":192806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":192806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:20:50] local.INFO: TCP Data received {"connection_id":192806,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:20:50] local.INFO: Processing buffer {"connection_id":192806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:20:50] local.INFO: IMEI packet received {"connection_id":192806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":192806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:20:51] local.INFO: TCP Data received {"connection_id":192806,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d10d98012d196a00071fec30003e01122c..."} 
[2026-09-24 15:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d10d98012d196a00071fec30003e01122c..."} 
[2026-09-24 15:20:51] local.INFO: Processing buffer {"connection_id":192806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d10d98012d196a00071fec30003e01122c..."} 
[2026-09-24 15:20:51] local.INFO: Packet analysis {"connection_id":192806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d1"} 
[2026-09-24 15:20:51] local.INFO: Extracted packet for processing {"connection_id":192806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d1"} 
[2026-09-24 15:20:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302282240001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790243311000,"timestamp_ms":1790243311000,"timestamp_seconds":1790243311,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d10d98"} 
[2026-09-24 15:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 15:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302282240001,"66":12504,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302282240001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:20:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:20:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302282240001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":192806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:20:51] local.INFO: GPS data processed {"connection_id":192806,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:20:51] local.INFO: Acknowledgment sent {"connection_id":192806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:21:05] local.INFO: TCP Data received {"connection_id":192805,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:21:05] local.INFO: Processing buffer {"connection_id":192805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:21:05] local.INFO: Packet analysis {"connection_id":192805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ce"} 
[2026-09-24 15:21:05] local.INFO: Extracted packet for processing {"connection_id":192805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ce"} 
[2026-09-24 15:21:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302174976001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790243172000,"timestamp_ms":1790243172000,"timestamp_seconds":1790243172,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ceeea0"} 
[2026-09-24 15:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302174976001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302174976001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:21:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:21:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302174976001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":192805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:21:05] local.INFO: GPS data processed {"connection_id":192805,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:21:05] local.INFO: Acknowledgment sent {"connection_id":192805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:21:06] local.INFO: TCP Data received {"connection_id":191220,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:21:06] local.INFO: Processing buffer {"connection_id":191220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:21:06] local.INFO: IMEI packet received {"connection_id":191220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":191220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:21:10] local.INFO: TCP Data received {"connection_id":191220,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:21:10] local.INFO: Processing buffer {"connection_id":191220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:21:10] local.INFO: IMEI packet received {"connection_id":191220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":191220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:21:11] local.INFO: TCP Data received {"connection_id":191220,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:21:11] local.INFO: Processing buffer {"connection_id":191220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:21:11] local.INFO: IMEI packet received {"connection_id":191220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":191220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:21:13] local.INFO: TCP Data received {"connection_id":191220,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d1f028012c886ec008078f50000e00b229..."} 
[2026-09-24 15:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d1f028012c886ec008078f50000e00b229..."} 
[2026-09-24 15:21:13] local.INFO: Processing buffer {"connection_id":191220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d1f028012c886ec008078f50000e00b229..."} 
[2026-09-24 15:21:13] local.INFO: Packet analysis {"connection_id":191220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d1"} 
[2026-09-24 15:21:13] local.INFO: Extracted packet for processing {"connection_id":191220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d1"} 
[2026-09-24 15:21:13] local.INFO: GPS Element Parsed {"raw_longitude":747138752,"raw_latitude":134713168,"longitude_deg":74.7138752,"latitude_deg":13.4713168,"altitude":14,"angle":178,"satellites":41,"speed":0,"hex_longitude":"2c886ec0","hex_latitude":"08078f50","is_valid_coordinates":true} 
[2026-09-24 15:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302297088001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:21:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8618271171179831296,"note":"Value kept but may cause issues"} 
[2026-09-24 15:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790243369000,"timestamp_ms":1790243369000,"timestamp_seconds":1790243369,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d1f028"} 
[2026-09-24 15:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 15:21:13] 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-09-24 15:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302297088001,"66":28082,"139":206,"9":54272,"24":0,"16":3605341577150464,"44":-8618271171179831296},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,9,24,16,44]} 
[2026-09-24 15:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302297088001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:21:13] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-24 15:21:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:21:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8618271171179831296,"description":"Unknown IO ID 44"} 
[2026-09-24 15:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302297088001,"power":28082,"unknown_139":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8618271171179831296}} 
[2026-09-24 15:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":191220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890313,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:21:13] local.INFO: GPS data processed {"connection_id":191220,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:21:13] local.INFO: Acknowledgment sent {"connection_id":191220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:21:22] local.INFO: TCP Data received {"connection_id":192806,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d15fa0012d196a00071fec30003e01122a..."} 
[2026-09-24 15:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d15fa0012d196a00071fec30003e01122a..."} 
[2026-09-24 15:21:22] local.INFO: Processing buffer {"connection_id":192806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d15fa0012d196a00071fec30003e01122a..."} 
[2026-09-24 15:21:22] local.INFO: Packet analysis {"connection_id":192806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d1"} 
[2026-09-24 15:21:22] local.INFO: Extracted packet for processing {"connection_id":192806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d1"} 
[2026-09-24 15:21:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302287616001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790243332000,"timestamp_ms":1790243332000,"timestamp_seconds":1790243332,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d15fa0"} 
[2026-09-24 15:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 15:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302287616001,"66":12493,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302287616001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:21:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:21:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302287616001,"power":12493,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":192806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:21:22] local.INFO: GPS data processed {"connection_id":192806,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:21:22] local.INFO: Acknowledgment sent {"connection_id":192806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:21:28] local.INFO: TCP Data received {"connection_id":191431,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:21:28] local.INFO: Processing buffer {"connection_id":191431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:21:28] local.INFO: IMEI packet received {"connection_id":191431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":191431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:21:33] local.INFO: TCP Data received {"connection_id":191431,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:21:33] local.INFO: Processing buffer {"connection_id":191431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:21:33] local.INFO: IMEI packet received {"connection_id":191431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":191431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:21:35] local.INFO: TCP Data received {"connection_id":191431,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:21:35] local.INFO: Processing buffer {"connection_id":191431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ceeea0012d34c14006aa4940000900f528..."} 
[2026-09-24 15:21:35] local.INFO: Packet analysis {"connection_id":191431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ce"} 
[2026-09-24 15:21:35] local.INFO: Extracted packet for processing {"connection_id":191431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ce"} 
[2026-09-24 15:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302174976001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790243172000,"timestamp_ms":1790243172000,"timestamp_seconds":1790243172,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ceeea0"} 
[2026-09-24 15:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:21:35] 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-09-24 15:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302174976001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302174976001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:21:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:21:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302174976001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":191431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:21:35] local.INFO: GPS data processed {"connection_id":191431,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:21:35] local.INFO: Acknowledgment sent {"connection_id":191431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:21:44] local.INFO: TCP Data received {"connection_id":191220,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d2d2b80100000000000000000000000000..."} 
[2026-09-24 15:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d2d2b80100000000000000000000000000..."} 
[2026-09-24 15:21:44] local.INFO: Processing buffer {"connection_id":191220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d2d2b80100000000000000000000000000..."} 
[2026-09-24 15:21:44] local.INFO: Packet analysis {"connection_id":191220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d2"} 
[2026-09-24 15:21:44] local.INFO: Extracted packet for processing {"connection_id":191220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d2"} 
[2026-09-24 15:21:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 15:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302302464001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:21:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8615737896394076160,"note":"Value kept but may cause issues"} 
[2026-09-24 15:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790243427000,"timestamp_ms":1790243427000,"timestamp_seconds":1790243427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d2d2b8"} 
[2026-09-24 15:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 15:21:44] 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-09-24 15:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":191220,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:21:44] local.INFO: GPS data processed {"connection_id":191220,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:21:44] local.INFO: Acknowledgment sent {"connection_id":191220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:21:45] local.INFO: TCP Data received {"connection_id":192807,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:21:45] local.INFO: Processing buffer {"connection_id":192807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:21:45] local.INFO: IMEI packet received {"connection_id":192807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":192807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:21:50] local.INFO: TCP Data received {"connection_id":192807,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:21:50] local.INFO: Processing buffer {"connection_id":192807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:21:50] local.INFO: IMEI packet received {"connection_id":192807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":192807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:21:51] local.INFO: TCP Data received {"connection_id":192807,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d1b1a8012d196a00071fec30003e01122c..."} 
[2026-09-24 15:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d1b1a8012d196a00071fec30003e01122c..."} 
[2026-09-24 15:21:51] local.INFO: Processing buffer {"connection_id":192807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d1b1a8012d196a00071fec30003e01122c..."} 
[2026-09-24 15:21:51] local.INFO: Packet analysis {"connection_id":192807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d1"} 
[2026-09-24 15:21:51] local.INFO: Extracted packet for processing {"connection_id":192807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d1"} 
[2026-09-24 15:21:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:21: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-09-24 15:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302292992001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790243353000,"timestamp_ms":1790243353000,"timestamp_seconds":1790243353,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d1b1a8"} 
[2026-09-24 15:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 15:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:21: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-09-24 15:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302292992001,"66":12504,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302292992001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:21:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:21:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302292992001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":192807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:21:51] local.INFO: GPS data processed {"connection_id":192807,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:21:51] local.INFO: Acknowledgment sent {"connection_id":192807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:22:06] local.INFO: TCP Data received {"connection_id":191431,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:22:06] local.INFO: Processing buffer {"connection_id":191431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:22:06] local.INFO: Packet analysis {"connection_id":191431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:22:06] local.INFO: Extracted packet for processing {"connection_id":191431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302252032001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790243473000,"timestamp_ms":1790243473000,"timestamp_seconds":1790243473,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d38668"} 
[2026-09-24 15:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302252032001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302252032001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:22:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302252032001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":191431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:22:06] local.INFO: GPS data processed {"connection_id":191431,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:22:06] local.INFO: Acknowledgment sent {"connection_id":191431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:22:11] local.INFO: TCP Data received {"connection_id":194076,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:22:11] local.INFO: Processing buffer {"connection_id":194076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:22:11] local.INFO: IMEI packet received {"connection_id":194076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":194076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:22:13] local.INFO: TCP Data received {"connection_id":194076,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:22:13] local.INFO: Processing buffer {"connection_id":194076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:22:13] local.INFO: IMEI packet received {"connection_id":194076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":194076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:22:15] local.INFO: TCP Data received {"connection_id":194076,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d26940012c887e000806f280000e00ab2b..."} 
[2026-09-24 15:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d26940012c887e000806f280000e00ab2b..."} 
[2026-09-24 15:22:15] local.INFO: Processing buffer {"connection_id":194076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d26940012c887e000806f280000e00ab2b..."} 
[2026-09-24 15:22:15] local.INFO: Packet analysis {"connection_id":194076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d2"} 
[2026-09-24 15:22:15] local.INFO: Extracted packet for processing {"connection_id":194076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d2"} 
[2026-09-24 15:22:15] local.INFO: GPS Element Parsed {"raw_longitude":747142656,"raw_latitude":134673024,"longitude_deg":74.7142656,"latitude_deg":13.4673024,"altitude":14,"angle":171,"satellites":43,"speed":53,"hex_longitude":"2c887e00","hex_latitude":"0806f280","is_valid_coordinates":true} 
[2026-09-24 15:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:22:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,139,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790243400000,"timestamp_ms":1790243400000,"timestamp_seconds":1790243400,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d26940"} 
[2026-09-24 15:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-24 15:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":194076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":194076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":194076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28224,"139":206,"9":54272,"24":53,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,9,24,16]} 
[2026-09-24 15:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 15:22:15] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-24 15:22:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:22:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28224,"unknown_139":206,"unknown_9":54272,"ignition":53,"odometer":null}} 
[2026-09-24 15:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":194076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890318,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:22:15] local.INFO: GPS data processed {"connection_id":194076,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:22:15] local.INFO: Acknowledgment sent {"connection_id":194076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:22:17] local.INFO: TCP Data received {"connection_id":194076,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d2a7c0012c88844008069d00000d00bb28..."} 
[2026-09-24 15:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d2a7c0012c88844008069d00000d00bb28..."} 
[2026-09-24 15:22:17] local.INFO: Processing buffer {"connection_id":194076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d2a7c0012c88844008069d00000d00bb28..."} 
[2026-09-24 15:22:17] local.INFO: Packet analysis {"connection_id":194076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d2"} 
[2026-09-24 15:22:17] local.INFO: Extracted packet for processing {"connection_id":194076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d2"} 
[2026-09-24 15:22:17] local.INFO: GPS Element Parsed {"raw_longitude":747144256,"raw_latitude":134651136,"longitude_deg":74.7144256,"latitude_deg":13.4651136,"altitude":13,"angle":187,"satellites":40,"speed":56,"hex_longitude":"2c888440","hex_latitude":"08069d00","is_valid_coordinates":true} 
[2026-09-24 15:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302310400001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:22:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8611445403009515520,"note":"Value kept but may cause issues"} 
[2026-09-24 15:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790243416000,"timestamp_ms":1790243416000,"timestamp_seconds":1790243416,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d2a7c0"} 
[2026-09-24 15:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:22:17] 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-09-24 15:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-24 15:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":194076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":194076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":194076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302310400001,"66":28278,"139":206,"9":54272,"24":56,"16":3605341577150464,"44":-8611445403009515520},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,9,24,16,44]} 
[2026-09-24 15:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302310400001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:22:17] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-24 15:22:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:22:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8611445403009515520,"description":"Unknown IO ID 44"} 
[2026-09-24 15:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302310400001,"power":28278,"unknown_139":206,"unknown_9":54272,"ignition":56,"odometer":null,"unknown_44":-8611445403009515520}} 
[2026-09-24 15:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":194076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890319,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:22:17] local.INFO: GPS data processed {"connection_id":194076,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:22:17] local.INFO: Acknowledgment sent {"connection_id":194076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:22:22] local.INFO: TCP Data received {"connection_id":192807,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d203b0012d196a00071fec30003e01122a..."} 
[2026-09-24 15:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d203b0012d196a00071fec30003e01122a..."} 
[2026-09-24 15:22:22] local.INFO: Processing buffer {"connection_id":192807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d203b0012d196a00071fec30003e01122a..."} 
[2026-09-24 15:22:22] local.INFO: Packet analysis {"connection_id":192807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d2"} 
[2026-09-24 15:22:22] local.INFO: Extracted packet for processing {"connection_id":192807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d2"} 
[2026-09-24 15:22:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302298368001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790243374000,"timestamp_ms":1790243374000,"timestamp_seconds":1790243374,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d203b0"} 
[2026-09-24 15:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 15:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302298368001,"66":12461,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302298368001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:22:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:22:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302298368001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":192807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:22:22] local.INFO: GPS data processed {"connection_id":192807,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:22:22] local.INFO: Acknowledgment sent {"connection_id":192807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:22:33] local.INFO: TCP Data received {"connection_id":191221,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:22:33] local.INFO: Processing buffer {"connection_id":191221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:22:33] local.INFO: IMEI packet received {"connection_id":191221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":191221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:22:38] local.INFO: TCP Data received {"connection_id":191221,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:22:38] local.INFO: Processing buffer {"connection_id":191221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:22:38] local.INFO: IMEI packet received {"connection_id":191221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":191221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:22:39] local.INFO: TCP Data received {"connection_id":191221,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:22:39] local.INFO: Processing buffer {"connection_id":191221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:22:39] local.INFO: Packet analysis {"connection_id":191221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:22:39] local.INFO: Extracted packet for processing {"connection_id":191221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:22:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302252032001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790243473000,"timestamp_ms":1790243473000,"timestamp_seconds":1790243473,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d38668"} 
[2026-09-24 15:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302252032001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302252032001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:22:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:22:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302252032001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":191221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:22:39] local.INFO: GPS data processed {"connection_id":191221,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:22:39] local.INFO: Acknowledgment sent {"connection_id":191221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:22:44] local.INFO: TCP Data received {"connection_id":191221,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:22:44] local.INFO: Processing buffer {"connection_id":191221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:22:44] local.INFO: Packet analysis {"connection_id":191221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:22:44] local.INFO: Extracted packet for processing {"connection_id":191221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302252032001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790243473000,"timestamp_ms":1790243473000,"timestamp_seconds":1790243473,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d38668"} 
[2026-09-24 15:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:22:44] 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-09-24 15:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302252032001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302252032001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:22:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302252032001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":191221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:22:44] local.INFO: GPS data processed {"connection_id":191221,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:22:44] local.INFO: Acknowledgment sent {"connection_id":191221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:22:45] local.INFO: TCP Data received {"connection_id":192808,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:22:45] local.INFO: Processing buffer {"connection_id":192808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:22:45] local.INFO: IMEI packet received {"connection_id":192808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":192808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:22:49] local.INFO: TCP Data received {"connection_id":194076,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d2e640012c88710008064730000c00c628..."} 
[2026-09-24 15:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d2e640012c88710008064730000c00c628..."} 
[2026-09-24 15:22:49] local.INFO: Processing buffer {"connection_id":194076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d2e640012c88710008064730000c00c628..."} 
[2026-09-24 15:22:49] local.INFO: Packet analysis {"connection_id":194076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d2"} 
[2026-09-24 15:22:49] local.INFO: Extracted packet for processing {"connection_id":194076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d2"} 
[2026-09-24 15:22:49] local.INFO: GPS Element Parsed {"raw_longitude":747139328,"raw_latitude":134629168,"longitude_deg":74.7139328,"latitude_deg":13.4629168,"altitude":12,"angle":198,"satellites":40,"speed":58,"hex_longitude":"2c887100","hex_latitude":"08064730","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302314496001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:22:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8609686184410677248,"note":"Value kept but may cause issues"} 
[2026-09-24 15:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790243432000,"timestamp_ms":1790243432000,"timestamp_seconds":1790243432,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d2e640"} 
[2026-09-24 15:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:22:49] 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-09-24 15: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-09-24 15:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":194076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":194076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":194076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302314496001,"66":28278,"137":206,"9":54272,"24":58,"16":3605341577150464,"44":-8609686184410677248},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,9,24,16,44]} 
[2026-09-24 15:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302314496001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:22:49] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-24 15:22:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:22:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8609686184410677248,"description":"Unknown IO ID 44"} 
[2026-09-24 15:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302314496001,"power":28278,"unknown_137":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8609686184410677248}} 
[2026-09-24 15:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":194076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890323,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:22:49] local.INFO: GPS data processed {"connection_id":194076,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:22:49] local.INFO: Acknowledgment sent {"connection_id":194076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:22:50] local.INFO: TCP Data received {"connection_id":192808,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:22:50] local.INFO: Processing buffer {"connection_id":192808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:22:50] local.INFO: IMEI packet received {"connection_id":192808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":192808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:22:51] local.INFO: TCP Data received {"connection_id":192808,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d255b8012d196a00071fec30003e01122b..."} 
[2026-09-24 15:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d255b8012d196a00071fec30003e01122b..."} 
[2026-09-24 15:22:51] local.INFO: Processing buffer {"connection_id":192808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d255b8012d196a00071fec30003e01122b..."} 
[2026-09-24 15:22:51] local.INFO: Packet analysis {"connection_id":192808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d2"} 
[2026-09-24 15:22:51] local.INFO: Extracted packet for processing {"connection_id":192808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d2"} 
[2026-09-24 15:22:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302303744001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790243395000,"timestamp_ms":1790243395000,"timestamp_seconds":1790243395,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d255b8"} 
[2026-09-24 15:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 15:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302303744001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302303744001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:22:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:22:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302303744001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":192808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:22:51] local.INFO: GPS data processed {"connection_id":192808,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:22:51] local.INFO: Acknowledgment sent {"connection_id":192808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:23:06] local.INFO: TCP Data received {"connection_id":191222,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:23:06] local.INFO: Processing buffer {"connection_id":191222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:23:06] local.INFO: IMEI packet received {"connection_id":191222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":191222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:23:22] local.INFO: TCP Data received {"connection_id":192808,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d2a7c0012d196a00071fec30003e011229..."} 
[2026-09-24 15:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d2a7c0012d196a00071fec30003e011229..."} 
[2026-09-24 15:23:22] local.INFO: Processing buffer {"connection_id":192808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d2a7c0012d196a00071fec30003e011229..."} 
[2026-09-24 15:23:22] local.INFO: Packet analysis {"connection_id":192808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d2"} 
[2026-09-24 15:23:22] local.INFO: Extracted packet for processing {"connection_id":192808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d2"} 
[2026-09-24 15:23:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:23: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-09-24 15:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302309120001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790243416000,"timestamp_ms":1790243416000,"timestamp_seconds":1790243416,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d2a7c0"} 
[2026-09-24 15:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:23: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-09-24 15:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302309120001,"66":12363,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302309120001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:23:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:23:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302309120001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":192808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:23:22] local.INFO: GPS data processed {"connection_id":192808,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:23:22] local.INFO: Acknowledgment sent {"connection_id":192808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:23:27] local.INFO: TCP Data received {"connection_id":191222,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:23:27] local.INFO: Processing buffer {"connection_id":191222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:23:27] local.INFO: IMEI packet received {"connection_id":191222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":191222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:23:28] local.INFO: TCP Data received {"connection_id":191432,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:23:28] local.INFO: Processing buffer {"connection_id":191432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:23:28] local.INFO: IMEI packet received {"connection_id":191432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":191432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:23:29] local.INFO: TCP Data received {"connection_id":191222,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d33848012c884b400805f250000a00cb2b..."} 
[2026-09-24 15:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d33848012c884b400805f250000a00cb2b..."} 
[2026-09-24 15:23:29] local.INFO: Processing buffer {"connection_id":191222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d33848012c884b400805f250000a00cb2b..."} 
[2026-09-24 15:23:29] local.INFO: Packet analysis {"connection_id":191222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:23:29] local.INFO: Extracted packet for processing {"connection_id":191222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:23:29] local.INFO: GPS Element Parsed {"raw_longitude":747129664,"raw_latitude":134607440,"longitude_deg":74.7129664,"latitude_deg":13.460744,"altitude":10,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2c884b40","hex_latitude":"0805f250","is_valid_coordinates":true} 
[2026-09-24 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-09-24 15:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302318592001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:23:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8615104577717981184,"note":"Value kept but may cause issues"} 
[2026-09-24 15:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790243453000,"timestamp_ms":1790243453000,"timestamp_seconds":1790243453,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d33848"} 
[2026-09-24 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-09-24 15:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:23:29] 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-09-24 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-09-24 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-09-24 15:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":191222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":191222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":191222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302318592001,"66":28332,"137":206,"9":54272,"24":0,"16":3605341577150464,"44":-8615104577717981184},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,9,24,16,44]} 
[2026-09-24 15:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302318592001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:23:29] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-24 15:23:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:23:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8615104577717981184,"description":"Unknown IO ID 44"} 
[2026-09-24 15:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302318592001,"power":28332,"unknown_137":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8615104577717981184}} 
[2026-09-24 15:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":191222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890326,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:23:29] local.INFO: GPS data processed {"connection_id":191222,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:23:29] local.INFO: Acknowledgment sent {"connection_id":191222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:23:33] local.INFO: TCP Data received {"connection_id":191432,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:23:33] local.INFO: Processing buffer {"connection_id":191432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:23:33] local.INFO: IMEI packet received {"connection_id":191432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":191432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:23:34] local.INFO: TCP Data received {"connection_id":191432,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:23:34] local.INFO: Processing buffer {"connection_id":191432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:23:34] local.INFO: Packet analysis {"connection_id":191432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:23:34] local.INFO: Extracted packet for processing {"connection_id":191432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:23:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302252032001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790243473000,"timestamp_ms":1790243473000,"timestamp_seconds":1790243473,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d38668"} 
[2026-09-24 15:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302252032001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302252032001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:23:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:23:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302252032001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":191432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:23:34] local.INFO: GPS data processed {"connection_id":191432,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:23:34] local.INFO: Acknowledgment sent {"connection_id":191432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:23:45] local.INFO: TCP Data received {"connection_id":194077,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:23:45] local.INFO: Processing buffer {"connection_id":194077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:23:45] local.INFO: IMEI packet received {"connection_id":194077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":194077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:23:50] local.INFO: TCP Data received {"connection_id":194077,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:23:50] local.INFO: Processing buffer {"connection_id":194077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:23:50] local.INFO: IMEI packet received {"connection_id":194077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":194077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:23:51] local.INFO: TCP Data received {"connection_id":194077,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d2f9c8012d196a00071fec30003e01122a..."} 
[2026-09-24 15:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d2f9c8012d196a00071fec30003e01122a..."} 
[2026-09-24 15:23:51] local.INFO: Processing buffer {"connection_id":194077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d2f9c8012d196a00071fec30003e01122a..."} 
[2026-09-24 15:23:51] local.INFO: Packet analysis {"connection_id":194077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d2"} 
[2026-09-24 15:23:51] local.INFO: Extracted packet for processing {"connection_id":194077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d2"} 
[2026-09-24 15:23:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302314496001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790243437000,"timestamp_ms":1790243437000,"timestamp_seconds":1790243437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d2f9c8"} 
[2026-09-24 15:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-24 15:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302314496001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302314496001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:23:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:23:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302314496001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":194077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:23:51] local.INFO: GPS data processed {"connection_id":194077,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:23:51] local.INFO: Acknowledgment sent {"connection_id":194077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:24:06] local.INFO: TCP Data received {"connection_id":191223,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:24:06] local.INFO: Processing buffer {"connection_id":191223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:24:06] local.INFO: IMEI packet received {"connection_id":191223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":191223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:24:06] local.INFO: TCP Data received {"connection_id":191432,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:24:06] local.INFO: Processing buffer {"connection_id":191432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:24:06] local.INFO: Packet analysis {"connection_id":191432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:24:06] local.INFO: Extracted packet for processing {"connection_id":191432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302252032001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790243473000,"timestamp_ms":1790243473000,"timestamp_seconds":1790243473,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d38668"} 
[2026-09-24 15:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302252032001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302252032001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:24:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302252032001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":191432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:24:06] local.INFO: GPS data processed {"connection_id":191432,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:24:06] local.INFO: Acknowledgment sent {"connection_id":191432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:24:07] local.INFO: TCP Data received {"connection_id":191223,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:24:07] local.INFO: Processing buffer {"connection_id":191223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:24:07] local.INFO: IMEI packet received {"connection_id":191223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":191223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:24:12] local.INFO: TCP Data received {"connection_id":191223,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:24:12] local.INFO: Processing buffer {"connection_id":191223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:24:12] local.INFO: IMEI packet received {"connection_id":191223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":191223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:24:13] local.INFO: TCP Data received {"connection_id":191223,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d36340012c8827c008059e40000a00c02a..."} 
[2026-09-24 15:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d36340012c8827c008059e40000a00c02a..."} 
[2026-09-24 15:24:13] local.INFO: Processing buffer {"connection_id":191223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d36340012c8827c008059e40000a00c02a..."} 
[2026-09-24 15:24:13] local.INFO: Packet analysis {"connection_id":191223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:24:13] local.INFO: Extracted packet for processing {"connection_id":191223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:24:13] local.INFO: GPS Element Parsed {"raw_longitude":747120576,"raw_latitude":134585920,"longitude_deg":74.7120576,"latitude_deg":13.458592,"altitude":10,"angle":192,"satellites":42,"speed":57,"hex_longitude":"2c8827c0","hex_latitude":"08059e40","is_valid_coordinates":true} 
[2026-09-24 15:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302323968001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:24:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8625730258094370816,"note":"Value kept but may cause issues"} 
[2026-09-24 15:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790243464000,"timestamp_ms":1790243464000,"timestamp_seconds":1790243464,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d36340"} 
[2026-09-24 15:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 15:24:13] 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-09-24 15:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191223,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191223,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302323968001,"66":28354,"137":206,"9":54272,"24":57,"16":3605341577150464,"44":-8625730258094370816},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,9,24,16,44]} 
[2026-09-24 15:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302323968001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:24:13] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-24 15:24:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:24:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8625730258094370816,"description":"Unknown IO ID 44"} 
[2026-09-24 15:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302323968001,"power":28354,"unknown_137":206,"unknown_9":54272,"ignition":57,"odometer":null,"unknown_44":-8625730258094370816}} 
[2026-09-24 15:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":191223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890330,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:24:13] local.INFO: GPS data processed {"connection_id":191223,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:24:13] local.INFO: Acknowledgment sent {"connection_id":191223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:24:22] local.INFO: TCP Data received {"connection_id":194077,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d34bd0012d196a00071fec30003e011229..."} 
[2026-09-24 15:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d34bd0012d196a00071fec30003e011229..."} 
[2026-09-24 15:24:22] local.INFO: Processing buffer {"connection_id":194077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d34bd0012d196a00071fec30003e011229..."} 
[2026-09-24 15:24:22] local.INFO: Packet analysis {"connection_id":194077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:24:22] local.INFO: Extracted packet for processing {"connection_id":194077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:24:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302319872001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790243458000,"timestamp_ms":1790243458000,"timestamp_seconds":1790243458,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d34bd0"} 
[2026-09-24 15:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302319872001,"66":12428,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302319872001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:24:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:24:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302319872001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":194077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:24:22] local.INFO: GPS data processed {"connection_id":194077,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:24:22] local.INFO: Acknowledgment sent {"connection_id":194077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:24:28] local.INFO: TCP Data received {"connection_id":192809,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:24:28] local.INFO: Processing buffer {"connection_id":192809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:24:28] local.INFO: IMEI packet received {"connection_id":192809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":192809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:24:33] local.INFO: TCP Data received {"connection_id":192809,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:24:33] local.INFO: Processing buffer {"connection_id":192809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:24:33] local.INFO: IMEI packet received {"connection_id":192809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":192809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:24:35] local.INFO: TCP Data received {"connection_id":192809,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:24:35] local.INFO: Processing buffer {"connection_id":192809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:24:35] local.INFO: Packet analysis {"connection_id":192809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:24:35] local.INFO: Extracted packet for processing {"connection_id":192809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302252032001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790243473000,"timestamp_ms":1790243473000,"timestamp_seconds":1790243473,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d38668"} 
[2026-09-24 15:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:24:35] 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-09-24 15:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302252032001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302252032001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:24:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:24:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302252032001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":192809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:24:35] local.INFO: GPS data processed {"connection_id":192809,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:24:35] local.INFO: Acknowledgment sent {"connection_id":192809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:24:44] local.INFO: TCP Data received {"connection_id":191223,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d3a1c0012c8833c008054580000900972d..."} 
[2026-09-24 15:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d3a1c0012c8833c008054580000900972d..."} 
[2026-09-24 15:24:44] local.INFO: Processing buffer {"connection_id":191223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d3a1c0012c8833c008054580000900972d..."} 
[2026-09-24 15:24:44] local.INFO: Packet analysis {"connection_id":191223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:24:44] local.INFO: Extracted packet for processing {"connection_id":191223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:24:44] local.INFO: GPS Element Parsed {"raw_longitude":747123648,"raw_latitude":134563200,"longitude_deg":74.7123648,"latitude_deg":13.45632,"altitude":9,"angle":151,"satellites":45,"speed":58,"hex_longitude":"2c8833c0","hex_latitude":"08054580","is_valid_coordinates":true} 
[2026-09-24 15:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302326784001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:24:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8635722619773108224,"note":"Value kept but may cause issues"} 
[2026-09-24 15:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790243480000,"timestamp_ms":1790243480000,"timestamp_seconds":1790243480,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d3a1c0"} 
[2026-09-24 15:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 15:24:44] 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-09-24 15:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191223,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191223,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302326784001,"66":28224,"137":206,"9":54272,"24":58,"16":3605341577150464,"44":-8635722619773108224},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,9,24,16,44]} 
[2026-09-24 15:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302326784001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:24:44] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-24 15:24:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:24:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8635722619773108224,"description":"Unknown IO ID 44"} 
[2026-09-24 15:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302326784001,"power":28224,"unknown_137":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8635722619773108224}} 
[2026-09-24 15:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":191223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890333,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:24:45] local.INFO: GPS data processed {"connection_id":191223,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:24:45] local.INFO: Acknowledgment sent {"connection_id":191223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:24:45] local.INFO: TCP Data received {"connection_id":191433,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:24:45] local.INFO: Processing buffer {"connection_id":191433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:24:45] local.INFO: IMEI packet received {"connection_id":191433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":191433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:24:45] local.INFO: TCP Data received {"connection_id":191433,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:24:45] local.INFO: Processing buffer {"connection_id":191433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:24:45] local.INFO: IMEI packet received {"connection_id":191433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":191433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:24:50] local.INFO: TCP Data received {"connection_id":191433,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:24:50] local.INFO: Processing buffer {"connection_id":191433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:24:50] local.INFO: IMEI packet received {"connection_id":191433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":191433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:24:51] local.INFO: TCP Data received {"connection_id":191433,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d39dd8012d196a00071fec30003e01122c..."} 
[2026-09-24 15:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d39dd8012d196a00071fec30003e01122c..."} 
[2026-09-24 15:24:51] local.INFO: Processing buffer {"connection_id":191433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d39dd8012d196a00071fec30003e01122c..."} 
[2026-09-24 15:24:51] local.INFO: Packet analysis {"connection_id":191433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:24:51] local.INFO: Extracted packet for processing {"connection_id":191433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:24:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302325248001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790243479000,"timestamp_ms":1790243479000,"timestamp_seconds":1790243479,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d39dd8"} 
[2026-09-24 15:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302325248001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302325248001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:24:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:24:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302325248001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":191433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:24:51] local.INFO: GPS data processed {"connection_id":191433,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:24:51] local.INFO: Acknowledgment sent {"connection_id":191433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:25:06] local.INFO: TCP Data received {"connection_id":192809,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:25:06] local.INFO: Processing buffer {"connection_id":192809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:25:06] local.INFO: Packet analysis {"connection_id":192809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:25:06] local.INFO: Extracted packet for processing {"connection_id":192809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:25:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302252032001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790243473000,"timestamp_ms":1790243473000,"timestamp_seconds":1790243473,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d38668"} 
[2026-09-24 15:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302252032001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302252032001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:25:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:25:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302252032001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":192809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:25:06] local.INFO: GPS data processed {"connection_id":192809,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:25:06] local.INFO: Acknowledgment sent {"connection_id":192809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:25:06] local.INFO: TCP Data received {"connection_id":191224,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:25:06] local.INFO: Processing buffer {"connection_id":191224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:25:06] local.INFO: IMEI packet received {"connection_id":191224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":191224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:25:10] local.INFO: TCP Data received {"connection_id":191224,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:25:10] local.INFO: Processing buffer {"connection_id":191224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:25:10] local.INFO: IMEI packet received {"connection_id":191224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":191224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:25:11] local.INFO: TCP Data received {"connection_id":191224,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:25:11] local.INFO: Processing buffer {"connection_id":191224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:25:11] local.INFO: IMEI packet received {"connection_id":191224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":191224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:25:13] local.INFO: TCP Data received {"connection_id":191224,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d3e040012c8878c008050ab00008006f2c..."} 
[2026-09-24 15:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d3e040012c8878c008050ab00008006f2c..."} 
[2026-09-24 15:25:13] local.INFO: Processing buffer {"connection_id":191224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d3e040012c8878c008050ab00008006f2c..."} 
[2026-09-24 15:25:13] local.INFO: Packet analysis {"connection_id":191224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:25:13] local.INFO: Extracted packet for processing {"connection_id":191224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:25:13] local.INFO: GPS Element Parsed {"raw_longitude":747141312,"raw_latitude":134548144,"longitude_deg":74.7141312,"latitude_deg":13.4548144,"altitude":8,"angle":111,"satellites":44,"speed":58,"hex_longitude":"2c8878c0","hex_latitude":"08050ab0","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302330880001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:25:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8632344920058396672,"note":"Value kept but may cause issues"} 
[2026-09-24 15:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790243496000,"timestamp_ms":1790243496000,"timestamp_seconds":1790243496,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d3e040"} 
[2026-09-24 15:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-24 15:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302330880001,"66":28224,"137":206,"9":54272,"24":58,"16":3605341577150464,"44":-8632344920058396672},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,9,24,16,44]} 
[2026-09-24 15:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302330880001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:25:13] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-24 15:25:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:25:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8632344920058396672,"description":"Unknown IO ID 44"} 
[2026-09-24 15:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302330880001,"power":28224,"unknown_137":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8632344920058396672}} 
[2026-09-24 15:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":191224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890336,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:25:13] local.INFO: GPS data processed {"connection_id":191224,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:25:13] local.INFO: Acknowledgment sent {"connection_id":191224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:25:22] local.INFO: TCP Data received {"connection_id":191433,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d3efe0012d196a00071fec30003e011229..."} 
[2026-09-24 15:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d3efe0012d196a00071fec30003e011229..."} 
[2026-09-24 15:25:22] local.INFO: Processing buffer {"connection_id":191433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d3efe0012d196a00071fec30003e011229..."} 
[2026-09-24 15:25:22] local.INFO: Packet analysis {"connection_id":191433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:25:22] local.INFO: Extracted packet for processing {"connection_id":191433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:25:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302330624001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790243500000,"timestamp_ms":1790243500000,"timestamp_seconds":1790243500,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d3efe0"} 
[2026-09-24 15:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302330624001,"66":12461,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302330624001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:25:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:25:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302330624001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":191433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:25:22] local.INFO: GPS data processed {"connection_id":191433,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:25:22] local.INFO: Acknowledgment sent {"connection_id":191433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:25:28] local.INFO: TCP Data received {"connection_id":194078,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:25:28] local.INFO: Processing buffer {"connection_id":194078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:25:28] local.INFO: IMEI packet received {"connection_id":194078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":194078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:25:33] local.INFO: TCP Data received {"connection_id":194078,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:25:33] local.INFO: Processing buffer {"connection_id":194078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:25:33] local.INFO: IMEI packet received {"connection_id":194078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":194078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:25:34] local.INFO: TCP Data received {"connection_id":194078,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:25:34] local.INFO: Processing buffer {"connection_id":194078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:25:34] local.INFO: Packet analysis {"connection_id":194078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:25:34] local.INFO: Extracted packet for processing {"connection_id":194078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:25:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302252032001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790243473000,"timestamp_ms":1790243473000,"timestamp_seconds":1790243473,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d38668"} 
[2026-09-24 15:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302252032001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302252032001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:25:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:25:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302252032001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":194078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:25:34] local.INFO: GPS data processed {"connection_id":194078,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:25:34] local.INFO: Acknowledgment sent {"connection_id":194078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:25:44] local.INFO: TCP Data received {"connection_id":191224,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d43248012c88d2c00804f200000900692c..."} 
[2026-09-24 15:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d43248012c88d2c00804f200000900692c..."} 
[2026-09-24 15:25:44] local.INFO: Processing buffer {"connection_id":191224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d43248012c88d2c00804f200000900692c..."} 
[2026-09-24 15:25:44] local.INFO: Packet analysis {"connection_id":191224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d4"} 
[2026-09-24 15:25:44] local.INFO: Extracted packet for processing {"connection_id":191224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d4"} 
[2026-09-24 15:25:44] local.INFO: GPS Element Parsed {"raw_longitude":747164352,"raw_latitude":134541824,"longitude_deg":74.7164352,"latitude_deg":13.4541824,"altitude":9,"angle":105,"satellites":44,"speed":0,"hex_longitude":"2c88d2c0","hex_latitude":"0804f200","is_valid_coordinates":true} 
[2026-09-24 15:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302334976001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:25:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8612923146669215744,"note":"Value kept but may cause issues"} 
[2026-09-24 15:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790243517000,"timestamp_ms":1790243517000,"timestamp_seconds":1790243517,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d43248"} 
[2026-09-24 15:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-24 15:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302334976001,"66":28202,"137":206,"9":54272,"24":0,"16":3605341577150464,"44":-8612923146669215744},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,9,24,16,44]} 
[2026-09-24 15:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302334976001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:25:44] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-24 15:25:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:25:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8612923146669215744,"description":"Unknown IO ID 44"} 
[2026-09-24 15:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302334976001,"power":28202,"unknown_137":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8612923146669215744}} 
[2026-09-24 15:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":191224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890339,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:25:44] local.INFO: GPS data processed {"connection_id":191224,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:25:44] local.INFO: Acknowledgment sent {"connection_id":191224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:25:48] local.INFO: TCP Data received {"connection_id":192810,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:25:48] local.INFO: Processing buffer {"connection_id":192810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:25:48] local.INFO: IMEI packet received {"connection_id":192810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":192810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:25:50] local.INFO: TCP Data received {"connection_id":192810,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:25:50] local.INFO: Processing buffer {"connection_id":192810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:25:50] local.INFO: IMEI packet received {"connection_id":192810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":192810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:25:55] local.INFO: TCP Data received {"connection_id":192810,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:25:55] local.INFO: Processing buffer {"connection_id":192810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:25:55] local.INFO: IMEI packet received {"connection_id":192810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":192810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:25:55] local.INFO: TCP Data received {"connection_id":192810,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d441e8012d196a00071fec30003e011228..."} 
[2026-09-24 15:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d441e8012d196a00071fec30003e011228..."} 
[2026-09-24 15:25:55] local.INFO: Processing buffer {"connection_id":192810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d441e8012d196a00071fec30003e011228..."} 
[2026-09-24 15:25:55] local.INFO: Packet analysis {"connection_id":192810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d4"} 
[2026-09-24 15:25:55] local.INFO: Extracted packet for processing {"connection_id":192810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d4"} 
[2026-09-24 15:25:55] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302336000001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790243521000,"timestamp_ms":1790243521000,"timestamp_seconds":1790243521,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d441e8"} 
[2026-09-24 15:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 15:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302336000001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302336000001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:25:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:25:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302336000001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":192810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:25:55] local.INFO: GPS data processed {"connection_id":192810,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:25:55] local.INFO: Acknowledgment sent {"connection_id":192810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:26:06] local.INFO: TCP Data received {"connection_id":194078,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:26:06] local.INFO: Processing buffer {"connection_id":194078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:26:06] local.INFO: Packet analysis {"connection_id":194078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:26:06] local.INFO: Extracted packet for processing {"connection_id":194078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:26:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302252032001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790243473000,"timestamp_ms":1790243473000,"timestamp_seconds":1790243473,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d38668"} 
[2026-09-24 15:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302252032001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302252032001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:26:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:26:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302252032001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":194078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:26:06] local.INFO: GPS data processed {"connection_id":194078,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:26:06] local.INFO: Acknowledgment sent {"connection_id":194078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:26:11] local.INFO: TCP Data received {"connection_id":191434,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:26:11] local.INFO: Processing buffer {"connection_id":191434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:26:11] local.INFO: IMEI packet received {"connection_id":191434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":191434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:26:17] local.INFO: TCP Data received {"connection_id":191434,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:26:17] local.INFO: Processing buffer {"connection_id":191434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:26:17] local.INFO: IMEI packet received {"connection_id":191434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":191434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:26:18] local.INFO: TCP Data received {"connection_id":191434,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d6e1c8012c8c1300080315b0000800742b..."} 
[2026-09-24 15:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d6e1c8012c8c1300080315b0000800742b..."} 
[2026-09-24 15:26:18] local.INFO: Processing buffer {"connection_id":191434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d6e1c8012c8c1300080315b0000800742b..."} 
[2026-09-24 15:26:18] local.INFO: Packet analysis {"connection_id":191434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d6"} 
[2026-09-24 15:26:18] local.INFO: Extracted packet for processing {"connection_id":191434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d6"} 
[2026-09-24 15:26:18] local.INFO: GPS Element Parsed {"raw_longitude":747377408,"raw_latitude":134419888,"longitude_deg":74.7377408,"latitude_deg":13.4419888,"altitude":8,"angle":116,"satellites":43,"speed":0,"hex_longitude":"2c8c1300","hex_latitude":"080315b0","is_valid_coordinates":true} 
[2026-09-24 15:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302380032001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:26:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8375921216308785152,"note":"Value kept but may cause issues"} 
[2026-09-24 15:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790243693000,"timestamp_ms":1790243693000,"timestamp_seconds":1790243693,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d6e1c8"} 
[2026-09-24 15:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:26: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-09-24 15:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-24 15:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302380032001,"66":28398,"107":206,"9":54272,"24":0,"16":3605341577150464,"44":-8375921216308785152},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,9,24,16,44]} 
[2026-09-24 15:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302380032001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:26:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-24 15:26:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:26:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8375921216308785152,"description":"Unknown IO ID 44"} 
[2026-09-24 15:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302380032001,"power":28398,"unknown_107":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8375921216308785152}} 
[2026-09-24 15:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":191434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890342,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:26:18] local.INFO: GPS data processed {"connection_id":191434,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:26:18] local.INFO: Acknowledgment sent {"connection_id":191434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:26:26] local.INFO: TCP Data received {"connection_id":192810,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d493f0012d196a00071fec30003e01122b..."} 
[2026-09-24 15:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d493f0012d196a00071fec30003e01122b..."} 
[2026-09-24 15:26:26] local.INFO: Processing buffer {"connection_id":192810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d493f0012d196a00071fec30003e01122b..."} 
[2026-09-24 15:26:26] local.INFO: Packet analysis {"connection_id":192810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d4"} 
[2026-09-24 15:26:26] local.INFO: Extracted packet for processing {"connection_id":192810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d4"} 
[2026-09-24 15:26:26] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:26: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-09-24 15:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302341376001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790243542000,"timestamp_ms":1790243542000,"timestamp_seconds":1790243542,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d493f0"} 
[2026-09-24 15:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:26: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-09-24 15:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":192810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":192810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":192810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302341376001,"66":12461,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302341376001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:26:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:26:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302341376001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":192810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:26:26] local.INFO: GPS data processed {"connection_id":192810,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:26:26] local.INFO: Acknowledgment sent {"connection_id":192810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:26:28] local.INFO: TCP Data received {"connection_id":191225,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:26:28] local.INFO: Processing buffer {"connection_id":191225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:26:28] local.INFO: IMEI packet received {"connection_id":191225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":191225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:26:33] local.INFO: TCP Data received {"connection_id":191225,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:26:33] local.INFO: Processing buffer {"connection_id":191225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:26:33] local.INFO: IMEI packet received {"connection_id":191225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":191225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:26:35] local.INFO: TCP Data received {"connection_id":191225,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:26:35] local.INFO: Processing buffer {"connection_id":191225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d38668012d34c14006aa4940000900f527..."} 
[2026-09-24 15:26:35] local.INFO: Packet analysis {"connection_id":191225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:26:35] local.INFO: Extracted packet for processing {"connection_id":191225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d3"} 
[2026-09-24 15:26:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302252032001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790243473000,"timestamp_ms":1790243473000,"timestamp_seconds":1790243473,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d38668"} 
[2026-09-24 15:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:26:35] 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-09-24 15:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302252032001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302252032001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:26:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:26:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302252032001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":191225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:26:35] local.INFO: GPS data processed {"connection_id":191225,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:26:35] local.INFO: Acknowledgment sent {"connection_id":191225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:26:45] local.INFO: TCP Data received {"connection_id":192811,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:26:45] local.INFO: Processing buffer {"connection_id":192811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:26:45] local.INFO: IMEI packet received {"connection_id":192811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":192811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:26:50] local.INFO: TCP Data received {"connection_id":192811,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:26:50] local.INFO: Processing buffer {"connection_id":192811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:26:50] local.INFO: IMEI packet received {"connection_id":192811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":192811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:26:51] local.INFO: TCP Data received {"connection_id":192811,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d4e5f8012d196a00071fec30003e01122c..."} 
[2026-09-24 15:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d4e5f8012d196a00071fec30003e01122c..."} 
[2026-09-24 15:26:51] local.INFO: Processing buffer {"connection_id":192811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d4e5f8012d196a00071fec30003e01122c..."} 
[2026-09-24 15:26:51] local.INFO: Packet analysis {"connection_id":192811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d4"} 
[2026-09-24 15:26:51] local.INFO: Extracted packet for processing {"connection_id":192811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d4"} 
[2026-09-24 15:26:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302346752001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790243563000,"timestamp_ms":1790243563000,"timestamp_seconds":1790243563,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d4e5f8"} 
[2026-09-24 15:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 15:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302346752001,"66":12461,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302346752001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:26:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:26:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302346752001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":192811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:26:51] local.INFO: GPS data processed {"connection_id":192811,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:26:51] local.INFO: Acknowledgment sent {"connection_id":192811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:26:52] local.INFO: TCP Data received {"connection_id":191434,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d7c4580100000000000000000000000000..."} 
[2026-09-24 15:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d7c4580100000000000000000000000000..."} 
[2026-09-24 15:26:52] local.INFO: Processing buffer {"connection_id":191434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d7c4580100000000000000000000000000..."} 
[2026-09-24 15:26:52] local.INFO: Packet analysis {"connection_id":191434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d7"} 
[2026-09-24 15:26:52] local.INFO: Extracted packet for processing {"connection_id":191434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d7"} 
[2026-09-24 15:26: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-09-24 15:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302385408001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:26:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8353332849430646784,"note":"Value kept but may cause issues"} 
[2026-09-24 15:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790243751000,"timestamp_ms":1790243751000,"timestamp_seconds":1790243751,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d7c458"} 
[2026-09-24 15:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 15:26: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-09-24 15:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":191434,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:26:52] local.INFO: GPS data processed {"connection_id":191434,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:26:52] local.INFO: Acknowledgment sent {"connection_id":191434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:27:06] local.INFO: TCP Data received {"connection_id":191226,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:27:06] local.INFO: Processing buffer {"connection_id":191226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:27:06] local.INFO: IMEI packet received {"connection_id":191226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":191226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:27:07] local.INFO: TCP Data received {"connection_id":191225,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:27:07] local.INFO: Processing buffer {"connection_id":191225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:27:07] local.INFO: Packet analysis {"connection_id":191225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:27:07] local.INFO: Extracted packet for processing {"connection_id":191225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:27:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302329088001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790243774000,"timestamp_ms":1790243774000,"timestamp_seconds":1790243774,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d81e30"} 
[2026-09-24 15:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302329088001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302329088001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:27:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:27:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302329088001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":191225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:27:07] local.INFO: GPS data processed {"connection_id":191225,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:27:07] local.INFO: Acknowledgment sent {"connection_id":191225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:27:20] local.INFO: TCP Data received {"connection_id":191226,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:27:20] local.INFO: Processing buffer {"connection_id":191226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:27:20] local.INFO: IMEI packet received {"connection_id":191226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":191226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:27:22] local.INFO: TCP Data received {"connection_id":192811,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d53800012d196a00071fec30003e01122c..."} 
[2026-09-24 15:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d53800012d196a00071fec30003e01122c..."} 
[2026-09-24 15:27:22] local.INFO: Processing buffer {"connection_id":192811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d53800012d196a00071fec30003e01122c..."} 
[2026-09-24 15:27:22] local.INFO: Packet analysis {"connection_id":192811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d5"} 
[2026-09-24 15:27:22] local.INFO: Extracted packet for processing {"connection_id":192811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d5"} 
[2026-09-24 15:27:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302352128001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790243584000,"timestamp_ms":1790243584000,"timestamp_seconds":1790243584,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d53800"} 
[2026-09-24 15:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 15:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302352128001,"66":12461,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302352128001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:27:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:27:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302352128001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":192811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:27:22] local.INFO: GPS data processed {"connection_id":192811,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:27:22] local.INFO: Acknowledgment sent {"connection_id":192811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:27:22] local.INFO: TCP Data received {"connection_id":191226,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d74f28012c8c9a400802bcb0000f008e2c..."} 
[2026-09-24 15:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d74f28012c8c9a400802bcb0000f008e2c..."} 
[2026-09-24 15:27:22] local.INFO: Processing buffer {"connection_id":191226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d74f28012c8c9a400802bcb0000f008e2c..."} 
[2026-09-24 15:27:22] local.INFO: Packet analysis {"connection_id":191226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d7"} 
[2026-09-24 15:27:22] local.INFO: Extracted packet for processing {"connection_id":191226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d7"} 
[2026-09-24 15:27:22] local.INFO: GPS Element Parsed {"raw_longitude":747412032,"raw_latitude":134397104,"longitude_deg":74.7412032,"latitude_deg":13.4397104,"altitude":15,"angle":142,"satellites":44,"speed":43,"hex_longitude":"2c8c9a40","hex_latitude":"0802bcb0","is_valid_coordinates":true} 
[2026-09-24 15:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:27:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,107,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790243721000,"timestamp_ms":1790243721000,"timestamp_seconds":1790243721,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d74f28"} 
[2026-09-24 15:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:27:22] 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-09-24 15:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28234,"107":206,"9":54272,"24":43,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,9,24,16]} 
[2026-09-24 15:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 15:27:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-24 15:27:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:27:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28234,"unknown_107":206,"unknown_9":54272,"ignition":43,"odometer":null}} 
[2026-09-24 15:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":191226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890348,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:27:22] local.INFO: GPS data processed {"connection_id":191226,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:27:22] local.INFO: Acknowledgment sent {"connection_id":191226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:27:28] local.INFO: TCP Data received {"connection_id":194079,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:27:28] local.INFO: Processing buffer {"connection_id":194079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:27:28] local.INFO: IMEI packet received {"connection_id":194079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":194079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:27:33] local.INFO: TCP Data received {"connection_id":194079,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:27:33] local.INFO: Processing buffer {"connection_id":194079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:27:33] local.INFO: IMEI packet received {"connection_id":194079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":194079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:27:35] local.INFO: TCP Data received {"connection_id":194079,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:27:35] local.INFO: Processing buffer {"connection_id":194079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:27:35] local.INFO: Packet analysis {"connection_id":194079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:27:35] local.INFO: Extracted packet for processing {"connection_id":194079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:27:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302329088001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790243774000,"timestamp_ms":1790243774000,"timestamp_seconds":1790243774,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d81e30"} 
[2026-09-24 15:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:27:35] 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-09-24 15:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302329088001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302329088001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:27:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:27:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302329088001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":194079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:27:35] local.INFO: GPS data processed {"connection_id":194079,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:27:35] local.INFO: Acknowledgment sent {"connection_id":194079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:27:45] local.INFO: TCP Data received {"connection_id":191435,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:27:45] local.INFO: Processing buffer {"connection_id":191435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:27:45] local.INFO: IMEI packet received {"connection_id":191435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":191435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:27:50] local.INFO: TCP Data received {"connection_id":191435,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:27:50] local.INFO: Processing buffer {"connection_id":191435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:27:50] local.INFO: IMEI packet received {"connection_id":191435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":191435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:27:51] local.INFO: TCP Data received {"connection_id":191435,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d58a08012d196a00071fec30003e01122a..."} 
[2026-09-24 15:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d58a08012d196a00071fec30003e01122a..."} 
[2026-09-24 15:27:51] local.INFO: Processing buffer {"connection_id":191435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d58a08012d196a00071fec30003e01122a..."} 
[2026-09-24 15:27:51] local.INFO: Packet analysis {"connection_id":191435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d5"} 
[2026-09-24 15:27:51] local.INFO: Extracted packet for processing {"connection_id":191435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d5"} 
[2026-09-24 15:27:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302357504001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790243605000,"timestamp_ms":1790243605000,"timestamp_seconds":1790243605,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d58a08"} 
[2026-09-24 15:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 15:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302357504001,"66":12461,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302357504001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:27:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:27:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302357504001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":191435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:27:51] local.INFO: GPS data processed {"connection_id":191435,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:27:51] local.INFO: Acknowledgment sent {"connection_id":191435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:28:07] local.INFO: TCP Data received {"connection_id":194079,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:28:07] local.INFO: Processing buffer {"connection_id":194079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:28:07] local.INFO: Packet analysis {"connection_id":194079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:28:07] local.INFO: Extracted packet for processing {"connection_id":194079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:28:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302329088001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790243774000,"timestamp_ms":1790243774000,"timestamp_seconds":1790243774,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d81e30"} 
[2026-09-24 15:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":194079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":194079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":194079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302329088001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302329088001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:28:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:28:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302329088001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":194079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:28:07] local.INFO: GPS data processed {"connection_id":194079,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:28:07] local.INFO: Acknowledgment sent {"connection_id":194079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:28:22] local.INFO: TCP Data received {"connection_id":191435,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d5dc10012d196a00071fec30003e011229..."} 
[2026-09-24 15:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d5dc10012d196a00071fec30003e011229..."} 
[2026-09-24 15:28:22] local.INFO: Processing buffer {"connection_id":191435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d5dc10012d196a00071fec30003e011229..."} 
[2026-09-24 15:28:22] local.INFO: Packet analysis {"connection_id":191435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d5"} 
[2026-09-24 15:28:22] local.INFO: Extracted packet for processing {"connection_id":191435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d5"} 
[2026-09-24 15:28:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302362880001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790243626000,"timestamp_ms":1790243626000,"timestamp_seconds":1790243626,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d5dc10"} 
[2026-09-24 15:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 15:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302362880001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302362880001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:28:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:28:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302362880001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":191435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:28:22] local.INFO: GPS data processed {"connection_id":191435,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:28:22] local.INFO: Acknowledgment sent {"connection_id":191435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:28:24] local.INFO: TCP Data received {"connection_id":191436,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191436,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:28:24] local.INFO: Processing buffer {"connection_id":191436,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:28:24] local.INFO: IMEI packet received {"connection_id":191436,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 15:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":191436,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:28:25] local.INFO: TCP Data received {"connection_id":191436,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191436,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:28:25] local.INFO: Processing buffer {"connection_id":191436,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:28:25] local.INFO: IMEI packet received {"connection_id":191436,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":191436,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:28:28] local.INFO: TCP Data received {"connection_id":191227,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:28:28] local.INFO: Processing buffer {"connection_id":191227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:28:28] local.INFO: IMEI packet received {"connection_id":191227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":191227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:28:28] local.INFO: TCP Data received {"connection_id":191436,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191436,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:28:28] local.INFO: Processing buffer {"connection_id":191436,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:28:28] local.INFO: IMEI packet received {"connection_id":191436,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":191436,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:28:29] local.INFO: TCP Data received {"connection_id":191436,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-24 15:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191436,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-24 15:28:29] local.INFO: Processing buffer {"connection_id":191436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-24 15:28:29] local.INFO: Packet analysis {"connection_id":191436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-24 15:28:29] local.INFO: Extracted packet for processing {"connection_id":191436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-24 15:28:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 15:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33637221789597696,"note":"Value kept but may cause issues"} 
[2026-09-24 15:28:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:28:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 15:28:29] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-24 15:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":191436,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":191436,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-24 15:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":191436,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-24 15:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-24 15:28:29] local.WARNING: DEBUG: No valid data to process  
[2026-09-24 15:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":191436,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-24 15:28:29] local.ERROR: GPS data processing failed {"connection_id":191436,"error":"No valid data to process"} 
[2026-09-24 15:28:29] local.INFO: Acknowledgment sent {"connection_id":191436,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-24 15:28:33] local.INFO: TCP Data received {"connection_id":191227,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:28:33] local.INFO: Processing buffer {"connection_id":191227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:28:33] local.INFO: IMEI packet received {"connection_id":191227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":191227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:28:34] local.INFO: TCP Data received {"connection_id":191227,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:28:34] local.INFO: Processing buffer {"connection_id":191227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:28:34] local.INFO: Packet analysis {"connection_id":191227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:28:34] local.INFO: Extracted packet for processing {"connection_id":191227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:28:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302329088001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790243774000,"timestamp_ms":1790243774000,"timestamp_seconds":1790243774,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d81e30"} 
[2026-09-24 15:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302329088001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302329088001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:28:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:28:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302329088001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":191227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:28:34] local.INFO: GPS data processed {"connection_id":191227,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:28:34] local.INFO: Acknowledgment sent {"connection_id":191227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:28:43] local.INFO: TCP Data received {"connection_id":194080,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194080,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:28:43] local.INFO: Processing buffer {"connection_id":194080,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:28:43] local.INFO: IMEI packet received {"connection_id":194080,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":194080,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:28:45] local.INFO: TCP Data received {"connection_id":191228,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:28:45] local.INFO: Processing buffer {"connection_id":191228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:28:45] local.INFO: IMEI packet received {"connection_id":191228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":191228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:28:47] local.INFO: TCP Data received {"connection_id":194080,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194080,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:28:47] local.INFO: Processing buffer {"connection_id":194080,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:28:47] local.INFO: IMEI packet received {"connection_id":194080,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":194080,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:28:49] local.INFO: TCP Data received {"connection_id":194080,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d7a130012c8cc58008028a20001600862d..."} 
[2026-09-24 15:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d7a130012c8cc58008028a20001600862d..."} 
[2026-09-24 15:28:49] local.INFO: Processing buffer {"connection_id":194080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d7a130012c8cc58008028a20001600862d..."} 
[2026-09-24 15:28:49] local.INFO: Packet analysis {"connection_id":194080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d7"} 
[2026-09-24 15:28:49] local.INFO: Extracted packet for processing {"connection_id":194080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d7"} 
[2026-09-24 15:28:49] local.INFO: GPS Element Parsed {"raw_longitude":747423104,"raw_latitude":134384160,"longitude_deg":74.7423104,"latitude_deg":13.438416,"altitude":22,"angle":134,"satellites":45,"speed":0,"hex_longitude":"2c8cc580","hex_latitude":"08028a20","is_valid_coordinates":true} 
[2026-09-24 15:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302392576001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:28:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8315263358836363264,"note":"Value kept but may cause issues"} 
[2026-09-24 15:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790243742000,"timestamp_ms":1790243742000,"timestamp_seconds":1790243742,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d7a130"} 
[2026-09-24 15:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-24 15:28:49] 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-09-24 15:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":194080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":194080,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":194080,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302392576001,"66":27908,"108":206,"9":54272,"24":0,"16":3605341577150464,"44":-8315263358836363264},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,9,24,16,44]} 
[2026-09-24 15:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302392576001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:28:49] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-24 15:28:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:28:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8315263358836363264,"description":"Unknown IO ID 44"} 
[2026-09-24 15:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302392576001,"power":27908,"unknown_108":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8315263358836363264}} 
[2026-09-24 15:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":194080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890354,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:28:49] local.INFO: GPS data processed {"connection_id":194080,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:28:49] local.INFO: Acknowledgment sent {"connection_id":194080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:28:50] local.INFO: TCP Data received {"connection_id":191228,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:28:50] local.INFO: Processing buffer {"connection_id":191228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:28:50] local.INFO: IMEI packet received {"connection_id":191228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":191228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:28:51] local.INFO: TCP Data received {"connection_id":191228,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d62e18012d196a00071fec30003e01122b..."} 
[2026-09-24 15:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d62e18012d196a00071fec30003e01122b..."} 
[2026-09-24 15:28:51] local.INFO: Processing buffer {"connection_id":191228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d62e18012d196a00071fec30003e01122b..."} 
[2026-09-24 15:28:51] local.INFO: Packet analysis {"connection_id":191228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d6"} 
[2026-09-24 15:28:51] local.INFO: Extracted packet for processing {"connection_id":191228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d6"} 
[2026-09-24 15:28:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302368256001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790243647000,"timestamp_ms":1790243647000,"timestamp_seconds":1790243647,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d62e18"} 
[2026-09-24 15:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:28: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-09-24 15:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 15:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302368256001,"66":12461,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302368256001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:28:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:28:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302368256001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":191228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:28:51] local.INFO: GPS data processed {"connection_id":191228,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:28:51] local.INFO: Acknowledgment sent {"connection_id":191228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:29:05] local.INFO: TCP Data received {"connection_id":191227,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:29:05] local.INFO: Processing buffer {"connection_id":191227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:29:05] local.INFO: Packet analysis {"connection_id":191227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:29:05] local.INFO: Extracted packet for processing {"connection_id":191227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:29:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302329088001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790243774000,"timestamp_ms":1790243774000,"timestamp_seconds":1790243774,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d81e30"} 
[2026-09-24 15:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:29:05] 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-09-24 15: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-09-24 15:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302329088001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302329088001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:29:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:29:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302329088001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":191227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:29:05] local.INFO: GPS data processed {"connection_id":191227,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:29:05] local.INFO: Acknowledgment sent {"connection_id":191227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:29:11] local.INFO: TCP Data received {"connection_id":191229,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:29:11] local.INFO: Processing buffer {"connection_id":191229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:29:11] local.INFO: IMEI packet received {"connection_id":191229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":191229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:29:13] local.INFO: TCP Data received {"connection_id":191229,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:29:13] local.INFO: Processing buffer {"connection_id":191229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:29:13] local.INFO: IMEI packet received {"connection_id":191229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":191229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:29:17] local.INFO: TCP Data received {"connection_id":191229,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:29:17] local.INFO: Processing buffer {"connection_id":191229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:29:17] local.INFO: IMEI packet received {"connection_id":191229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":191229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:29:18] local.INFO: TCP Data received {"connection_id":191229,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d7f338012c8cfdc008025480001400892c..."} 
[2026-09-24 15:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d7f338012c8cfdc008025480001400892c..."} 
[2026-09-24 15:29:18] local.INFO: Processing buffer {"connection_id":191229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d7f338012c8cfdc008025480001400892c..."} 
[2026-09-24 15:29:18] local.INFO: Packet analysis {"connection_id":191229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d7"} 
[2026-09-24 15:29:18] local.INFO: Extracted packet for processing {"connection_id":191229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d7"} 
[2026-09-24 15:29:18] local.INFO: GPS Element Parsed {"raw_longitude":747437504,"raw_latitude":134370432,"longitude_deg":74.7437504,"latitude_deg":13.4370432,"altitude":20,"angle":137,"satellites":44,"speed":0,"hex_longitude":"2c8cfdc0","hex_latitude":"08025480","is_valid_coordinates":true} 
[2026-09-24 15:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302397952001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:29:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8303089566096941056,"note":"Value kept but may cause issues"} 
[2026-09-24 15:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790243763000,"timestamp_ms":1790243763000,"timestamp_seconds":1790243763,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d7f338"} 
[2026-09-24 15:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:29: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-09-24 15:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 15:29:18] 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-09-24 15:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302397952001,"66":28256,"108":206,"9":54272,"24":0,"16":3605341577150464,"44":-8303089566096941056},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,9,24,16,44]} 
[2026-09-24 15:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302397952001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:29:18] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-24 15:29:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:29:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8303089566096941056,"description":"Unknown IO ID 44"} 
[2026-09-24 15:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302397952001,"power":28256,"unknown_108":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8303089566096941056}} 
[2026-09-24 15:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":191229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890357,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:29:19] local.INFO: GPS data processed {"connection_id":191229,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:29:19] local.INFO: Acknowledgment sent {"connection_id":191229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:29:22] local.INFO: TCP Data received {"connection_id":191228,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d9b470012d196a00071fec30003e011229..."} 
[2026-09-24 15:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d9b470012d196a00071fec30003e011229..."} 
[2026-09-24 15:29:22] local.INFO: Processing buffer {"connection_id":191228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d9b470012d196a00071fec30003e011229..."} 
[2026-09-24 15:29:22] local.INFO: Packet analysis {"connection_id":191228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d9"} 
[2026-09-24 15:29:22] local.INFO: Extracted packet for processing {"connection_id":191228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d9"} 
[2026-09-24 15:29:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302427392001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790243878000,"timestamp_ms":1790243878000,"timestamp_seconds":1790243878,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d9b470"} 
[2026-09-24 15:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302427392001,"66":12287,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302427392001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:29:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:29:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302427392001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":191228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:29:22] local.INFO: GPS data processed {"connection_id":191228,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:29:22] local.INFO: Acknowledgment sent {"connection_id":191228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:29:28] local.INFO: TCP Data received {"connection_id":194081,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:29:28] local.INFO: Processing buffer {"connection_id":194081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:29:28] local.INFO: IMEI packet received {"connection_id":194081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":194081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:29:33] local.INFO: TCP Data received {"connection_id":194081,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:29:33] local.INFO: Processing buffer {"connection_id":194081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:29:33] local.INFO: IMEI packet received {"connection_id":194081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":194081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:29:34] local.INFO: TCP Data received {"connection_id":194081,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:29:34] local.INFO: Processing buffer {"connection_id":194081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:29:34] local.INFO: Packet analysis {"connection_id":194081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:29:34] local.INFO: Extracted packet for processing {"connection_id":194081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:29:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302329088001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790243774000,"timestamp_ms":1790243774000,"timestamp_seconds":1790243774,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d81e30"} 
[2026-09-24 15:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302329088001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302329088001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:29:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:29:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302329088001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":194081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:29:34] local.INFO: GPS data processed {"connection_id":194081,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:29:34] local.INFO: Acknowledgment sent {"connection_id":194081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:29:45] local.INFO: TCP Data received {"connection_id":194082,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:29:45] local.INFO: Processing buffer {"connection_id":194082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:29:45] local.INFO: IMEI packet received {"connection_id":194082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":194082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:29:50] local.INFO: TCP Data received {"connection_id":194082,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:29:50] local.INFO: Processing buffer {"connection_id":194082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:29:50] local.INFO: IMEI packet received {"connection_id":194082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":194082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:29:50] local.INFO: TCP Data received {"connection_id":191229,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d82600012c8d204008020be0001600ad2c..."} 
[2026-09-24 15:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d82600012c8d204008020be0001600ad2c..."} 
[2026-09-24 15:29:50] local.INFO: Processing buffer {"connection_id":191229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d82600012c8d204008020be0001600ad2c..."} 
[2026-09-24 15:29:50] local.INFO: Packet analysis {"connection_id":191229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:29:50] local.INFO: Extracted packet for processing {"connection_id":191229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:29:50] local.INFO: GPS Element Parsed {"raw_longitude":747446336,"raw_latitude":134351840,"longitude_deg":74.7446336,"latitude_deg":13.435184,"altitude":22,"angle":173,"satellites":44,"speed":50,"hex_longitude":"2c8d2040","hex_latitude":"08020be0","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302403328001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:29:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8287256598660481024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790243776000,"timestamp_ms":1790243776000,"timestamp_seconds":1790243776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d82600"} 
[2026-09-24 15:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 15:29: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-09-24 15: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-09-24 15:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302403328001,"66":28224,"108":206,"9":54272,"24":50,"16":3605341577150464,"44":-8287256598660481024},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,9,24,16,44]} 
[2026-09-24 15:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302403328001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:29:50] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-24 15:29:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:29:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8287256598660481024,"description":"Unknown IO ID 44"} 
[2026-09-24 15:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302403328001,"power":28224,"unknown_108":206,"unknown_9":54272,"ignition":50,"odometer":null,"unknown_44":-8287256598660481024}} 
[2026-09-24 15:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":191229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890360,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:29:50] local.INFO: GPS data processed {"connection_id":191229,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:29:50] local.INFO: Acknowledgment sent {"connection_id":191229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:29:51] local.INFO: TCP Data received {"connection_id":194082,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2da0678012d196a00071fec30003e01122b..."} 
[2026-09-24 15:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2da0678012d196a00071fec30003e01122b..."} 
[2026-09-24 15:29:51] local.INFO: Processing buffer {"connection_id":194082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2da0678012d196a00071fec30003e01122b..."} 
[2026-09-24 15:29:51] local.INFO: Packet analysis {"connection_id":194082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2da"} 
[2026-09-24 15:29:51] local.INFO: Extracted packet for processing {"connection_id":194082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2da"} 
[2026-09-24 15:29:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302432768001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790243899000,"timestamp_ms":1790243899000,"timestamp_seconds":1790243899,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2da0678"} 
[2026-09-24 15:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-24 15:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302432768001,"66":12428,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302432768001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:29:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:29:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302432768001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":194082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:29:51] local.INFO: GPS data processed {"connection_id":194082,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:29:51] local.INFO: Acknowledgment sent {"connection_id":194082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:30:06] local.INFO: TCP Data received {"connection_id":194081,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:30:06] local.INFO: Processing buffer {"connection_id":194081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:30:06] local.INFO: Packet analysis {"connection_id":194081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:30:06] local.INFO: Extracted packet for processing {"connection_id":194081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:30:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302329088001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790243774000,"timestamp_ms":1790243774000,"timestamp_seconds":1790243774,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d81e30"} 
[2026-09-24 15:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302329088001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302329088001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:30:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:30:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302329088001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":194081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:30:06] local.INFO: GPS data processed {"connection_id":194081,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:30:06] local.INFO: Acknowledgment sent {"connection_id":194081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:30:06] local.INFO: TCP Data received {"connection_id":191230,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:30:06] local.INFO: Processing buffer {"connection_id":191230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:30:06] local.INFO: IMEI packet received {"connection_id":191230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":191230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:30:08] local.INFO: TCP Data received {"connection_id":191230,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:30:08] local.INFO: Processing buffer {"connection_id":191230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:30:08] local.INFO: IMEI packet received {"connection_id":191230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":191230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:30:11] local.INFO: TCP Data received {"connection_id":191230,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:30:11] local.INFO: Processing buffer {"connection_id":191230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:30:11] local.INFO: IMEI packet received {"connection_id":191230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":191230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:30:13] local.INFO: TCP Data received {"connection_id":191230,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d86868012c8d0b800801b6f0001500cb2e..."} 
[2026-09-24 15:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d86868012c8d0b800801b6f0001500cb2e..."} 
[2026-09-24 15:30:13] local.INFO: Processing buffer {"connection_id":191230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d86868012c8d0b800801b6f0001500cb2e..."} 
[2026-09-24 15:30:13] local.INFO: Packet analysis {"connection_id":191230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:30:13] local.INFO: Extracted packet for processing {"connection_id":191230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:30:13] local.INFO: GPS Element Parsed {"raw_longitude":747441024,"raw_latitude":134330096,"longitude_deg":74.7441024,"latitude_deg":13.4330096,"altitude":21,"angle":203,"satellites":46,"speed":54,"hex_longitude":"2c8d0b80","hex_latitude":"0801b6f0","is_valid_coordinates":true} 
[2026-09-24 15:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302406656001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:30:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8277545711968722944,"note":"Value kept but may cause issues"} 
[2026-09-24 15:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790243793000,"timestamp_ms":1790243793000,"timestamp_seconds":1790243793,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d86868"} 
[2026-09-24 15:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-24 15:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302406656001,"66":28267,"108":206,"9":54272,"24":54,"16":3605341577150464,"44":-8277545711968722944},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,9,24,16,44]} 
[2026-09-24 15:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302406656001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:30:13] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-24 15:30:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:30:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8277545711968722944,"description":"Unknown IO ID 44"} 
[2026-09-24 15:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302406656001,"power":28267,"unknown_108":206,"unknown_9":54272,"ignition":54,"odometer":null,"unknown_44":-8277545711968722944}} 
[2026-09-24 15:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":191230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890363,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:30:13] local.INFO: GPS data processed {"connection_id":191230,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:30:13] local.INFO: Acknowledgment sent {"connection_id":191230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:30:21] local.INFO: TCP Data received {"connection_id":194082,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2da5880012d196a00071fec30003e011228..."} 
[2026-09-24 15:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2da5880012d196a00071fec30003e011228..."} 
[2026-09-24 15:30:21] local.INFO: Processing buffer {"connection_id":194082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2da5880012d196a00071fec30003e011228..."} 
[2026-09-24 15:30:21] local.INFO: Packet analysis {"connection_id":194082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2da"} 
[2026-09-24 15:30:21] local.INFO: Extracted packet for processing {"connection_id":194082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2da"} 
[2026-09-24 15:30:21] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302438144001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790243920000,"timestamp_ms":1790243920000,"timestamp_seconds":1790243920,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2da5880"} 
[2026-09-24 15:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302438144001,"66":12428,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302438144001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:30:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:30:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302438144001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":194082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:30:22] local.INFO: GPS data processed {"connection_id":194082,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:30:22] local.INFO: Acknowledgment sent {"connection_id":194082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:30:28] local.INFO: TCP Data received {"connection_id":192812,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:30:28] local.INFO: Processing buffer {"connection_id":192812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:30:28] local.INFO: IMEI packet received {"connection_id":192812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":192812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:30:33] local.INFO: TCP Data received {"connection_id":192812,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:30:33] local.INFO: Processing buffer {"connection_id":192812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:30:33] local.INFO: IMEI packet received {"connection_id":192812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":192812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:30:34] local.INFO: TCP Data received {"connection_id":192812,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:30:34] local.INFO: Processing buffer {"connection_id":192812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:30:34] local.INFO: Packet analysis {"connection_id":192812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:30:34] local.INFO: Extracted packet for processing {"connection_id":192812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:30:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302329088001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790243774000,"timestamp_ms":1790243774000,"timestamp_seconds":1790243774,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d81e30"} 
[2026-09-24 15:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302329088001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302329088001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:30:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:30:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302329088001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":192812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:30:34] local.INFO: GPS data processed {"connection_id":192812,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:30:34] local.INFO: Acknowledgment sent {"connection_id":192812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:30:45] local.INFO: TCP Data received {"connection_id":191231,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:30:45] local.INFO: Processing buffer {"connection_id":191231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:30:45] local.INFO: IMEI packet received {"connection_id":191231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":191231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:30:47] local.INFO: TCP Data received {"connection_id":191230,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2db1bd0012c8d3dc007fe6b28000700af2b..."} 
[2026-09-24 15:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2db1bd0012c8d3dc007fe6b28000700af2b..."} 
[2026-09-24 15:30:47] local.INFO: Processing buffer {"connection_id":191230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2db1bd0012c8d3dc007fe6b28000700af2b..."} 
[2026-09-24 15:30:47] local.INFO: Packet analysis {"connection_id":191230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2db"} 
[2026-09-24 15:30:47] local.INFO: Extracted packet for processing {"connection_id":191230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2db"} 
[2026-09-24 15:30:47] local.INFO: GPS Element Parsed {"raw_longitude":747453888,"raw_latitude":134114088,"longitude_deg":74.7453888,"latitude_deg":13.4114088,"altitude":7,"angle":175,"satellites":43,"speed":55,"hex_longitude":"2c8d3dc0","hex_latitude":"07fe6b28","is_valid_coordinates":true} 
[2026-09-24 15:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:30:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,193,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790243970000,"timestamp_ms":1790243970000,"timestamp_seconds":1790243970,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2db1bd0"} 
[2026-09-24 15:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:30: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:30:47] 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-09-24 15:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28234,"193":206,"9":54272,"24":55,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,9,24,16]} 
[2026-09-24 15:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 15:30:47] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-24 15:30:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:30:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28234,"unknown_193":206,"unknown_9":54272,"ignition":55,"odometer":null}} 
[2026-09-24 15:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":191230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890366,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:30:48] local.INFO: GPS data processed {"connection_id":191230,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:30:48] local.INFO: Acknowledgment sent {"connection_id":191230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:30:50] local.INFO: TCP Data received {"connection_id":191231,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:30:50] local.INFO: Processing buffer {"connection_id":191231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:30:50] local.INFO: IMEI packet received {"connection_id":191231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":191231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:30:51] local.INFO: TCP Data received {"connection_id":191231,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2daaa88012d196a00071fec30003e011228..."} 
[2026-09-24 15:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2daaa88012d196a00071fec30003e011228..."} 
[2026-09-24 15:30:51] local.INFO: Processing buffer {"connection_id":191231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2daaa88012d196a00071fec30003e011228..."} 
[2026-09-24 15:30:51] local.INFO: Packet analysis {"connection_id":191231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2da"} 
[2026-09-24 15:30:51] local.INFO: Extracted packet for processing {"connection_id":191231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2da"} 
[2026-09-24 15:30:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302443520001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790243941000,"timestamp_ms":1790243941000,"timestamp_seconds":1790243941,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2daaa88"} 
[2026-09-24 15:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302443520001,"66":12428,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302443520001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:30:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:30:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302443520001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":191231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:30:51] local.INFO: GPS data processed {"connection_id":191231,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:30:51] local.INFO: Acknowledgment sent {"connection_id":191231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:31:06] local.INFO: TCP Data received {"connection_id":192813,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192813,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:31:06] local.INFO: Processing buffer {"connection_id":192813,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:31:06] local.INFO: IMEI packet received {"connection_id":192813,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":192813,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:31:07] local.INFO: TCP Data received {"connection_id":192812,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:31:07] local.INFO: Processing buffer {"connection_id":192812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:31:07] local.INFO: Packet analysis {"connection_id":192812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:31:07] local.INFO: Extracted packet for processing {"connection_id":192812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302329088001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790243774000,"timestamp_ms":1790243774000,"timestamp_seconds":1790243774,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d81e30"} 
[2026-09-24 15:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302329088001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302329088001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:31:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:31:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302329088001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":192812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:31:07] local.INFO: GPS data processed {"connection_id":192812,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:31:07] local.INFO: Acknowledgment sent {"connection_id":192812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:31:08] local.INFO: TCP Data received {"connection_id":192814,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192814,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:31:08] local.INFO: Processing buffer {"connection_id":192814,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:31:08] local.INFO: IMEI packet received {"connection_id":192814,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 15:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":192814,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:31:12] local.INFO: TCP Data received {"connection_id":192814,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192814,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:31:12] local.INFO: Processing buffer {"connection_id":192814,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:31:12] local.INFO: IMEI packet received {"connection_id":192814,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":192814,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:31:12] local.INFO: TCP Data received {"connection_id":192813,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192813,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:31:12] local.INFO: Processing buffer {"connection_id":192813,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:31:12] local.INFO: IMEI packet received {"connection_id":192813,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":192813,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:31:13] local.INFO: TCP Data received {"connection_id":192813,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2db6dd8012c8d3fc007fe1350000600b12c..."} 
[2026-09-24 15:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2db6dd8012c8d3fc007fe1350000600b12c..."} 
[2026-09-24 15:31:13] local.INFO: Processing buffer {"connection_id":192813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2db6dd8012c8d3fc007fe1350000600b12c..."} 
[2026-09-24 15:31:13] local.INFO: Packet analysis {"connection_id":192813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2db"} 
[2026-09-24 15:31:13] local.INFO: Extracted packet for processing {"connection_id":192813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2db"} 
[2026-09-24 15:31:13] local.INFO: GPS Element Parsed {"raw_longitude":747454400,"raw_latitude":134091600,"longitude_deg":74.74544,"latitude_deg":13.40916,"altitude":6,"angle":177,"satellites":44,"speed":0,"hex_longitude":"2c8d3fc0","hex_latitude":"07fe1350","is_valid_coordinates":true} 
[2026-09-24 15:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302456320001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:31:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8269242200216623104,"note":"Value kept but may cause issues"} 
[2026-09-24 15:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790243991000,"timestamp_ms":1790243991000,"timestamp_seconds":1790243991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2db6dd8"} 
[2026-09-24 15:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-24 15:31:13] 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-09-24 15:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192813,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192813,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302456320001,"66":28256,"193":206,"9":54272,"24":0,"16":3605341577150464,"44":-8269242200216623104},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,9,24,16,44]} 
[2026-09-24 15:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302456320001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:31:13] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-24 15:31:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:31:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8269242200216623104,"description":"Unknown IO ID 44"} 
[2026-09-24 15:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302456320001,"power":28256,"unknown_193":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8269242200216623104}} 
[2026-09-24 15:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":192813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890369,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:31:13] local.INFO: GPS data processed {"connection_id":192813,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:31:13] local.INFO: Acknowledgment sent {"connection_id":192813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:31:13] local.INFO: TCP Data received {"connection_id":192814,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192814,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:31:13] local.INFO: Processing buffer {"connection_id":192814,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:31:13] local.INFO: IMEI packet received {"connection_id":192814,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":192814,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:31:14] local.INFO: TCP Data received {"connection_id":192814,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dca6580100000000000000000000000000..."} 
[2026-09-24 15:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dca6580100000000000000000000000000..."} 
[2026-09-24 15:31:14] local.INFO: Processing buffer {"connection_id":192814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dca6580100000000000000000000000000..."} 
[2026-09-24 15:31:14] local.INFO: Packet analysis {"connection_id":192814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:31:14] local.INFO: Extracted packet for processing {"connection_id":192814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:31:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 15:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33637221789597696,"note":"Value kept but may cause issues"} 
[2026-09-24 15:31:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790244071000,"timestamp_ms":1790244071000,"timestamp_seconds":1790244071,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dca658"} 
[2026-09-24 15:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-24 15:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":192814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":192814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":192814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":192814,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:31:14] local.INFO: GPS data processed {"connection_id":192814,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:31:14] local.INFO: Acknowledgment sent {"connection_id":192814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:31:22] local.INFO: TCP Data received {"connection_id":191231,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dafc90012d196a00071fec30003e011229..."} 
[2026-09-24 15:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dafc90012d196a00071fec30003e011229..."} 
[2026-09-24 15:31:22] local.INFO: Processing buffer {"connection_id":191231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dafc90012d196a00071fec30003e011229..."} 
[2026-09-24 15:31:22] local.INFO: Packet analysis {"connection_id":191231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2da"} 
[2026-09-24 15:31:22] local.INFO: Extracted packet for processing {"connection_id":191231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2da"} 
[2026-09-24 15:31:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302448896001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790243962000,"timestamp_ms":1790243962000,"timestamp_seconds":1790243962,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dafc90"} 
[2026-09-24 15:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302448896001,"66":12439,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302448896001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:31:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:31:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302448896001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":191231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:31:22] local.INFO: GPS data processed {"connection_id":191231,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:31:22] local.INFO: Acknowledgment sent {"connection_id":191231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:31:28] local.INFO: TCP Data received {"connection_id":191232,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:31:28] local.INFO: Processing buffer {"connection_id":191232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:31:28] local.INFO: IMEI packet received {"connection_id":191232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":191232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:31:33] local.INFO: TCP Data received {"connection_id":191232,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:31:33] local.INFO: Processing buffer {"connection_id":191232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:31:33] local.INFO: IMEI packet received {"connection_id":191232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":191232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:31:34] local.INFO: TCP Data received {"connection_id":191232,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:31:34] local.INFO: Processing buffer {"connection_id":191232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2d81e30012d34c14006aa4940000900f529..."} 
[2026-09-24 15:31:34] local.INFO: Packet analysis {"connection_id":191232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:31:34] local.INFO: Extracted packet for processing {"connection_id":191232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2d8"} 
[2026-09-24 15:31:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302329088001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790243774000,"timestamp_ms":1790243774000,"timestamp_seconds":1790243774,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2d81e30"} 
[2026-09-24 15:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302329088001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302329088001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:31:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:31:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302329088001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":191232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:31:34] local.INFO: GPS data processed {"connection_id":191232,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:31:34] local.INFO: Acknowledgment sent {"connection_id":191232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:31:45] local.INFO: TCP Data received {"connection_id":192813,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2db98d0012c8d528007fdb9d8000500a52f..."} 
[2026-09-24 15:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2db98d0012c8d528007fdb9d8000500a52f..."} 
[2026-09-24 15:31:45] local.INFO: Processing buffer {"connection_id":192813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2db98d0012c8d528007fdb9d8000500a52f..."} 
[2026-09-24 15:31:45] local.INFO: Packet analysis {"connection_id":192813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2db"} 
[2026-09-24 15:31:45] local.INFO: Extracted packet for processing {"connection_id":192813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2db"} 
[2026-09-24 15:31:45] local.INFO: GPS Element Parsed {"raw_longitude":747459200,"raw_latitude":134068696,"longitude_deg":74.74592,"latitude_deg":13.4068696,"altitude":5,"angle":165,"satellites":47,"speed":57,"hex_longitude":"2c8d5280","hex_latitude":"07fdb9d8","is_valid_coordinates":true} 
[2026-09-24 15:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302461696001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:31:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8268679250268958720,"note":"Value kept but may cause issues"} 
[2026-09-24 15:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790244002000,"timestamp_ms":1790244002000,"timestamp_seconds":1790244002,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2db98d0"} 
[2026-09-24 15:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:31: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-09-24 15:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 15:31:45] 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-09-24 15:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192813,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192813,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302461696001,"66":28256,"193":206,"9":54272,"24":57,"16":3605341577150464,"44":-8268679250268958720},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,9,24,16,44]} 
[2026-09-24 15:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302461696001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:31:45] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-24 15:31:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:31:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8268679250268958720,"description":"Unknown IO ID 44"} 
[2026-09-24 15:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302461696001,"power":28256,"unknown_193":206,"unknown_9":54272,"ignition":57,"odometer":null,"unknown_44":-8268679250268958720}} 
[2026-09-24 15:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":192813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890372,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:31:45] local.INFO: GPS data processed {"connection_id":192813,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:31:45] local.INFO: Acknowledgment sent {"connection_id":192813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:31:46] local.INFO: TCP Data received {"connection_id":192814,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dcf8600100000000000000000000000000..."} 
[2026-09-24 15:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dcf8600100000000000000000000000000..."} 
[2026-09-24 15:31:46] local.INFO: Processing buffer {"connection_id":192814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dcf8600100000000000000000000000000..."} 
[2026-09-24 15:31:46] local.INFO: Packet analysis {"connection_id":192814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:31:46] local.INFO: Extracted packet for processing {"connection_id":192814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:31:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 15:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33637221789597696,"note":"Value kept but may cause issues"} 
[2026-09-24 15:31:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790244092000,"timestamp_ms":1790244092000,"timestamp_seconds":1790244092,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dcf860"} 
[2026-09-24 15:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-24 15:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":192814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":192814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":192814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":192814,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:31:46] local.INFO: GPS data processed {"connection_id":192814,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:31:46] local.INFO: Acknowledgment sent {"connection_id":192814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:31:50] local.INFO: TCP Data received {"connection_id":191437,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:31:50] local.INFO: Processing buffer {"connection_id":191437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:31:50] local.INFO: IMEI packet received {"connection_id":191437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":191437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:31:55] local.INFO: TCP Data received {"connection_id":191437,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:31:55] local.INFO: Processing buffer {"connection_id":191437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:31:55] local.INFO: IMEI packet received {"connection_id":191437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":191437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:31:55] local.INFO: TCP Data received {"connection_id":191437,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2db4e98012d196a00071fec30003e011227..."} 
[2026-09-24 15:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2db4e98012d196a00071fec30003e011227..."} 
[2026-09-24 15:31:55] local.INFO: Processing buffer {"connection_id":191437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2db4e98012d196a00071fec30003e011227..."} 
[2026-09-24 15:31:55] local.INFO: Packet analysis {"connection_id":191437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2db"} 
[2026-09-24 15:31:55] local.INFO: Extracted packet for processing {"connection_id":191437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2db"} 
[2026-09-24 15:31:55] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302454272001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790243983000,"timestamp_ms":1790243983000,"timestamp_seconds":1790243983,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2db4e98"} 
[2026-09-24 15:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 15:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302454272001,"66":12428,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302454272001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:31:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:31:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302454272001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":191437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:31:55] local.INFO: GPS data processed {"connection_id":191437,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:31:55] local.INFO: Acknowledgment sent {"connection_id":191437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:32:00] local.INFO: TCP Data received {"connection_id":191437,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dba0a0012d196a00071fec30003e011228..."} 
[2026-09-24 15:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dba0a0012d196a00071fec30003e011228..."} 
[2026-09-24 15:32:00] local.INFO: Processing buffer {"connection_id":191437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dba0a0012d196a00071fec30003e011228..."} 
[2026-09-24 15:32:00] local.INFO: Packet analysis {"connection_id":191437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2db"} 
[2026-09-24 15:32:00] local.INFO: Extracted packet for processing {"connection_id":191437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2db"} 
[2026-09-24 15:32:00] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302459648001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790244004000,"timestamp_ms":1790244004000,"timestamp_seconds":1790244004,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dba0a0"} 
[2026-09-24 15:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":191437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":191437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":191437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302459648001,"66":12428,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302459648001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:32:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:32:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302459648001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":191437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:32:00] local.INFO: GPS data processed {"connection_id":191437,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:32:00] local.INFO: Acknowledgment sent {"connection_id":191437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:32:05] local.INFO: TCP Data received {"connection_id":191232,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:32:05] local.INFO: Processing buffer {"connection_id":191232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:32:05] local.INFO: Packet analysis {"connection_id":191232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:32:05] local.INFO: Extracted packet for processing {"connection_id":191232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:32:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302406144001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790244075000,"timestamp_ms":1790244075000,"timestamp_seconds":1790244075,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dcb5f8"} 
[2026-09-24 15:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302406144001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302406144001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:32:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:32:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302406144001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":191232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:32:06] local.INFO: GPS data processed {"connection_id":191232,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:32:06] local.INFO: Acknowledgment sent {"connection_id":191232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:32:12] local.INFO: TCP Data received {"connection_id":191233,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:32:12] local.INFO: Processing buffer {"connection_id":191233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:32:12] local.INFO: IMEI packet received {"connection_id":191233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":191233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:32:18] local.INFO: TCP Data received {"connection_id":192814,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dd4a680100000000000000000000000000..."} 
[2026-09-24 15:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dd4a680100000000000000000000000000..."} 
[2026-09-24 15:32:18] local.INFO: Processing buffer {"connection_id":192814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dd4a680100000000000000000000000000..."} 
[2026-09-24 15:32:18] local.INFO: Packet analysis {"connection_id":192814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dd"} 
[2026-09-24 15:32:18] local.INFO: Extracted packet for processing {"connection_id":192814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dd"} 
[2026-09-24 15:32: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-09-24 15:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33637221789597696,"note":"Value kept but may cause issues"} 
[2026-09-24 15:32:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790244113000,"timestamp_ms":1790244113000,"timestamp_seconds":1790244113,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dd4a68"} 
[2026-09-24 15:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-24 15:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":192814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":192814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":192814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":192814,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:32:18] local.INFO: GPS data processed {"connection_id":192814,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:32:18] local.INFO: Acknowledgment sent {"connection_id":192814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:32:18] local.INFO: TCP Data received {"connection_id":191233,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:32:18] local.INFO: Processing buffer {"connection_id":191233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:32:18] local.INFO: IMEI packet received {"connection_id":191233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":191233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:32:19] local.INFO: TCP Data received {"connection_id":191233,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dbd750012c8d754007fd66f00005008f2d..."} 
[2026-09-24 15:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dbd750012c8d754007fd66f00005008f2d..."} 
[2026-09-24 15:32:19] local.INFO: Processing buffer {"connection_id":191233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dbd750012c8d754007fd66f00005008f2d..."} 
[2026-09-24 15:32:19] local.INFO: Packet analysis {"connection_id":191233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2db"} 
[2026-09-24 15:32:19] local.INFO: Extracted packet for processing {"connection_id":191233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2db"} 
[2026-09-24 15:32:19] local.INFO: GPS Element Parsed {"raw_longitude":747468096,"raw_latitude":134047472,"longitude_deg":74.7468096,"latitude_deg":13.4047472,"altitude":5,"angle":143,"satellites":45,"speed":58,"hex_longitude":"2c8d7540","hex_latitude":"07fd66f0","is_valid_coordinates":true} 
[2026-09-24 15:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302464512001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:32:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8263401594461497344,"note":"Value kept but may cause issues"} 
[2026-09-24 15:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790244018000,"timestamp_ms":1790244018000,"timestamp_seconds":1790244018,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dbd750"} 
[2026-09-24 15:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:32: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-09-24 15:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 15:32:19] 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-09-24 15:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302464512001,"66":28354,"195":206,"9":54272,"24":58,"16":3605341577150464,"44":-8263401594461497344},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,9,24,16,44]} 
[2026-09-24 15:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302464512001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:32:19] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-24 15:32:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:32:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8263401594461497344,"description":"Unknown IO ID 44"} 
[2026-09-24 15:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302464512001,"power":28354,"unknown_195":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8263401594461497344}} 
[2026-09-24 15:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":191233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890376,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:32:19] local.INFO: GPS data processed {"connection_id":191233,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:32:19] local.INFO: Acknowledgment sent {"connection_id":191233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:32:22] local.INFO: TCP Data received {"connection_id":191233,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dc2958012c8db28007fd21b80005008b2f..."} 
[2026-09-24 15:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dc2958012c8db28007fd21b80005008b2f..."} 
[2026-09-24 15:32:22] local.INFO: Processing buffer {"connection_id":191233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dc2958012c8db28007fd21b80005008b2f..."} 
[2026-09-24 15:32:22] local.INFO: Packet analysis {"connection_id":191233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:32:22] local.INFO: Extracted packet for processing {"connection_id":191233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:32:22] local.INFO: GPS Element Parsed {"raw_longitude":747483776,"raw_latitude":134029752,"longitude_deg":74.7483776,"latitude_deg":13.4029752,"altitude":5,"angle":139,"satellites":47,"speed":0,"hex_longitude":"2c8db280","hex_latitude":"07fd21b8","is_valid_coordinates":true} 
[2026-09-24 15:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302468608001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:32:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8253620339026235392,"note":"Value kept but may cause issues"} 
[2026-09-24 15:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790244039000,"timestamp_ms":1790244039000,"timestamp_seconds":1790244039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dc2958"} 
[2026-09-24 15:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 15:32:22] 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-09-24 15:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302468608001,"66":28267,"195":206,"9":54272,"24":0,"16":3605341577150464,"44":-8253620339026235392},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,9,24,16,44]} 
[2026-09-24 15:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302468608001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:32:22] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-24 15:32:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:32:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8253620339026235392,"description":"Unknown IO ID 44"} 
[2026-09-24 15:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302468608001,"power":28267,"unknown_195":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8253620339026235392}} 
[2026-09-24 15:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":191233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890377,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:32:22] local.INFO: GPS data processed {"connection_id":191233,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:32:22] local.INFO: Acknowledgment sent {"connection_id":191233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:32:28] local.INFO: TCP Data received {"connection_id":192815,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:32:28] local.INFO: Processing buffer {"connection_id":192815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:32:28] local.INFO: IMEI packet received {"connection_id":192815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":192815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:32:33] local.INFO: TCP Data received {"connection_id":192815,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:32:33] local.INFO: Processing buffer {"connection_id":192815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:32:33] local.INFO: IMEI packet received {"connection_id":192815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":192815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:32:35] local.INFO: TCP Data received {"connection_id":192815,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:32:35] local.INFO: Processing buffer {"connection_id":192815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:32:35] local.INFO: Packet analysis {"connection_id":192815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:32:35] local.INFO: Extracted packet for processing {"connection_id":192815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302406144001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790244075000,"timestamp_ms":1790244075000,"timestamp_seconds":1790244075,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dcb5f8"} 
[2026-09-24 15:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:32:35] 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-09-24 15:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302406144001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302406144001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:32:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:32:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302406144001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":192815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:32:35] local.INFO: GPS data processed {"connection_id":192815,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:32:35] local.INFO: Acknowledgment sent {"connection_id":192815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:32:45] local.INFO: TCP Data received {"connection_id":192816,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:32:45] local.INFO: Processing buffer {"connection_id":192816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:32:45] local.INFO: IMEI packet received {"connection_id":192816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":192816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:32:48] local.INFO: TCP Data received {"connection_id":192816,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:32:48] local.INFO: Processing buffer {"connection_id":192816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:32:48] local.INFO: IMEI packet received {"connection_id":192816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":192816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:32:49] local.INFO: TCP Data received {"connection_id":192816,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dbf2a8012d196a00071fec30003e011227..."} 
[2026-09-24 15:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dbf2a8012d196a00071fec30003e011227..."} 
[2026-09-24 15:32:49] local.INFO: Processing buffer {"connection_id":192816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dbf2a8012d196a00071fec30003e011227..."} 
[2026-09-24 15:32:49] local.INFO: Packet analysis {"connection_id":192816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2db"} 
[2026-09-24 15:32:49] local.INFO: Extracted packet for processing {"connection_id":192816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2db"} 
[2026-09-24 15:32:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302465024001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790244025000,"timestamp_ms":1790244025000,"timestamp_seconds":1790244025,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dbf2a8"} 
[2026-09-24 15:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":192816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":192816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":192816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302465024001,"66":12439,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302465024001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:32:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:32:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302465024001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":192816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:32:49] local.INFO: GPS data processed {"connection_id":192816,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:32:49] local.INFO: Acknowledgment sent {"connection_id":192816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:32:49] local.INFO: TCP Data received {"connection_id":192814,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dd9c700100000000000000000000000000..."} 
[2026-09-24 15:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dd9c700100000000000000000000000000..."} 
[2026-09-24 15:32:49] local.INFO: Processing buffer {"connection_id":192814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dd9c700100000000000000000000000000..."} 
[2026-09-24 15:32:49] local.INFO: Packet analysis {"connection_id":192814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dd"} 
[2026-09-24 15:32:49] local.INFO: Extracted packet for processing {"connection_id":192814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dd"} 
[2026-09-24 15:32:49] 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-09-24 15:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33637221789597696,"note":"Value kept but may cause issues"} 
[2026-09-24 15:32:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790244134000,"timestamp_ms":1790244134000,"timestamp_seconds":1790244134,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dd9c70"} 
[2026-09-24 15:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-24 15:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":192814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":192814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":192814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":192814,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:32:49] local.INFO: GPS data processed {"connection_id":192814,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:32:49] local.INFO: Acknowledgment sent {"connection_id":192814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:32:50] local.INFO: TCP Data received {"connection_id":192816,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dc44b0012d196a00071fec30003e011229..."} 
[2026-09-24 15:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dc44b0012d196a00071fec30003e011229..."} 
[2026-09-24 15:32:50] local.INFO: Processing buffer {"connection_id":192816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dc44b0012d196a00071fec30003e011229..."} 
[2026-09-24 15:32:50] local.INFO: Packet analysis {"connection_id":192816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:32:50] local.INFO: Extracted packet for processing {"connection_id":192816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:32:50] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:32: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-09-24 15:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302470400001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790244046000,"timestamp_ms":1790244046000,"timestamp_seconds":1790244046,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dc44b0"} 
[2026-09-24 15:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 15:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:32: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-09-24 15:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302470400001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302470400001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:32:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:32:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302470400001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":192816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:32:50] local.INFO: GPS data processed {"connection_id":192816,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:32:50] local.INFO: Acknowledgment sent {"connection_id":192816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:33:05] local.INFO: TCP Data received {"connection_id":194083,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:33:05] local.INFO: Processing buffer {"connection_id":194083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:33:05] local.INFO: IMEI packet received {"connection_id":194083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":194083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:33:06] local.INFO: TCP Data received {"connection_id":192815,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:33:06] local.INFO: Processing buffer {"connection_id":192815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:33:06] local.INFO: Packet analysis {"connection_id":192815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:33:06] local.INFO: Extracted packet for processing {"connection_id":192815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:33:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302406144001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790244075000,"timestamp_ms":1790244075000,"timestamp_seconds":1790244075,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dcb5f8"} 
[2026-09-24 15:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302406144001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302406144001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:33:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:33:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302406144001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":192815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:33:06] local.INFO: GPS data processed {"connection_id":192815,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:33:06] local.INFO: Acknowledgment sent {"connection_id":192815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:33:07] local.INFO: TCP Data received {"connection_id":194083,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:33:07] local.INFO: Processing buffer {"connection_id":194083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:33:07] local.INFO: IMEI packet received {"connection_id":194083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":194083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:33:20] local.INFO: TCP Data received {"connection_id":192814,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ddee780100000000000000000000000000..."} 
[2026-09-24 15:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ddee780100000000000000000000000000..."} 
[2026-09-24 15:33:20] local.INFO: Processing buffer {"connection_id":192814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ddee780100000000000000000000000000..."} 
[2026-09-24 15:33:20] local.INFO: Packet analysis {"connection_id":192814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dd"} 
[2026-09-24 15:33:20] local.INFO: Extracted packet for processing {"connection_id":192814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dd"} 
[2026-09-24 15:33: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-09-24 15: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-09-24 15:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33637221789597696,"note":"Value kept but may cause issues"} 
[2026-09-24 15:33:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790244155000,"timestamp_ms":1790244155000,"timestamp_seconds":1790244155,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ddee78"} 
[2026-09-24 15:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-24 15:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":192814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":192814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":192814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":192814,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:33:20] local.INFO: GPS data processed {"connection_id":192814,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:33:20] local.INFO: Acknowledgment sent {"connection_id":192814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:33:20] local.INFO: TCP Data received {"connection_id":194083,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:33:20] local.INFO: Processing buffer {"connection_id":194083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:33:20] local.INFO: IMEI packet received {"connection_id":194083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":194083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:33:21] local.INFO: TCP Data received {"connection_id":192816,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dc96b8012d196a00071fec30003e011228..."} 
[2026-09-24 15:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dc96b8012d196a00071fec30003e011228..."} 
[2026-09-24 15:33:21] local.INFO: Processing buffer {"connection_id":192816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dc96b8012d196a00071fec30003e011228..."} 
[2026-09-24 15:33:21] local.INFO: Packet analysis {"connection_id":192816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:33:21] local.INFO: Extracted packet for processing {"connection_id":192816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:33:21] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302475776001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790244067000,"timestamp_ms":1790244067000,"timestamp_seconds":1790244067,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dc96b8"} 
[2026-09-24 15:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 15:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":192816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":192816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":192816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302475776001,"66":12439,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302475776001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:33:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:33:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302475776001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":192816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:33:21] local.INFO: GPS data processed {"connection_id":192816,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:33:21] local.INFO: Acknowledgment sent {"connection_id":192816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:33:28] local.INFO: TCP Data received {"connection_id":194084,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:33:28] local.INFO: Processing buffer {"connection_id":194084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:33:28] local.INFO: IMEI packet received {"connection_id":194084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":194084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:33:29] local.INFO: TCP Data received {"connection_id":194083,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dc5450012c8ddd8007fcd7000004009f2f..."} 
[2026-09-24 15:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dc5450012c8ddd8007fcd7000004009f2f..."} 
[2026-09-24 15:33:29] local.INFO: Processing buffer {"connection_id":194083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dc5450012c8ddd8007fcd7000004009f2f..."} 
[2026-09-24 15:33:29] local.INFO: Packet analysis {"connection_id":194083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:33:29] local.INFO: Extracted packet for processing {"connection_id":194083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:33:29] local.INFO: GPS Element Parsed {"raw_longitude":747494784,"raw_latitude":134010624,"longitude_deg":74.7494784,"latitude_deg":13.4010624,"altitude":4,"angle":159,"satellites":47,"speed":55,"hex_longitude":"2c8ddd80","hex_latitude":"07fcd700","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302473984001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:33:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8236379996707244032,"note":"Value kept but may cause issues"} 
[2026-09-24 15:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790244050000,"timestamp_ms":1790244050000,"timestamp_seconds":1790244050,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dc5450"} 
[2026-09-24 15:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 15:33:29] 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-09-24 15: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-09-24 15:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":194083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":194083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":194083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302473984001,"66":28256,"195":206,"9":54272,"24":55,"16":3605341577150464,"44":-8236379996707244032},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,9,24,16,44]} 
[2026-09-24 15:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302473984001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:33:29] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-24 15:33:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:33:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8236379996707244032,"description":"Unknown IO ID 44"} 
[2026-09-24 15:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302473984001,"power":28256,"unknown_195":206,"unknown_9":54272,"ignition":55,"odometer":null,"unknown_44":-8236379996707244032}} 
[2026-09-24 15:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":194083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890383,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:33:29] local.INFO: GPS data processed {"connection_id":194083,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:33:29] local.INFO: Acknowledgment sent {"connection_id":194083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:33:30] local.INFO: TCP Data received {"connection_id":194083,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dc92d0012c8df60007fc82e0000400b130..."} 
[2026-09-24 15:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dc92d0012c8df60007fc82e0000400b130..."} 
[2026-09-24 15:33:30] local.INFO: Processing buffer {"connection_id":194083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dc92d0012c8df60007fc82e0000400b130..."} 
[2026-09-24 15:33:30] local.INFO: Packet analysis {"connection_id":194083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:33:30] local.INFO: Extracted packet for processing {"connection_id":194083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:33:30] local.INFO: GPS Element Parsed {"raw_longitude":747501056,"raw_latitude":133989088,"longitude_deg":74.7501056,"latitude_deg":13.3989088,"altitude":4,"angle":177,"satellites":48,"speed":55,"hex_longitude":"2c8df600","hex_latitude":"07fc82e0","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302476800001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:33:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8224276572713582592,"note":"Value kept but may cause issues"} 
[2026-09-24 15:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790244066000,"timestamp_ms":1790244066000,"timestamp_seconds":1790244066,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dc92d0"} 
[2026-09-24 15:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 15:33:30] 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-09-24 15: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-09-24 15:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302476800001,"66":28343,"195":206,"9":54272,"24":55,"16":3605341577150464,"44":-8224276572713582592},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,9,24,16,44]} 
[2026-09-24 15:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302476800001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:33:30] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-24 15:33:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:33:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8224276572713582592,"description":"Unknown IO ID 44"} 
[2026-09-24 15:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302476800001,"power":28343,"unknown_195":206,"unknown_9":54272,"ignition":55,"odometer":null,"unknown_44":-8224276572713582592}} 
[2026-09-24 15:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":194083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890384,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:33:30] local.INFO: GPS data processed {"connection_id":194083,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:33:30] local.INFO: Acknowledgment sent {"connection_id":194083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:33:33] local.INFO: TCP Data received {"connection_id":194084,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:33:33] local.INFO: Processing buffer {"connection_id":194084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:33:33] local.INFO: IMEI packet received {"connection_id":194084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":194084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:33:34] local.INFO: TCP Data received {"connection_id":194084,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:33:34] local.INFO: Processing buffer {"connection_id":194084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:33:34] local.INFO: Packet analysis {"connection_id":194084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:33:34] local.INFO: Extracted packet for processing {"connection_id":194084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:33:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302406144001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790244075000,"timestamp_ms":1790244075000,"timestamp_seconds":1790244075,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dcb5f8"} 
[2026-09-24 15:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302406144001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302406144001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:33:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:33:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302406144001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":194084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:33:34] local.INFO: GPS data processed {"connection_id":194084,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:33:34] local.INFO: Acknowledgment sent {"connection_id":194084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:33:45] local.INFO: TCP Data received {"connection_id":191438,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:33:45] local.INFO: Processing buffer {"connection_id":191438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:33:45] local.INFO: IMEI packet received {"connection_id":191438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":191438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:33:50] local.INFO: TCP Data received {"connection_id":191438,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:33:50] local.INFO: Processing buffer {"connection_id":191438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:33:50] local.INFO: IMEI packet received {"connection_id":191438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":191438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:33:51] local.INFO: TCP Data received {"connection_id":191438,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dce8c0012d196a00071fec30003e011225..."} 
[2026-09-24 15:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dce8c0012d196a00071fec30003e011225..."} 
[2026-09-24 15:33:51] local.INFO: Processing buffer {"connection_id":191438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dce8c0012d196a00071fec30003e011225..."} 
[2026-09-24 15:33:51] local.INFO: Packet analysis {"connection_id":191438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:33:51] local.INFO: Extracted packet for processing {"connection_id":191438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:33:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302481152001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790244088000,"timestamp_ms":1790244088000,"timestamp_seconds":1790244088,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dce8c0"} 
[2026-09-24 15:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:33: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-09-24 15:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 15:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302481152001,"66":12428,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302481152001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:33:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:33:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302481152001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":191438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:33:51] local.INFO: GPS data processed {"connection_id":191438,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:33:51] local.INFO: Acknowledgment sent {"connection_id":191438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:33:51] local.INFO: TCP Data received {"connection_id":192814,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2de40800100000000000000000000000000..."} 
[2026-09-24 15:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2de40800100000000000000000000000000..."} 
[2026-09-24 15:33:51] local.INFO: Processing buffer {"connection_id":192814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2de40800100000000000000000000000000..."} 
[2026-09-24 15:33:51] local.INFO: Packet analysis {"connection_id":192814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2de"} 
[2026-09-24 15:33:51] local.INFO: Extracted packet for processing {"connection_id":192814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2de"} 
[2026-09-24 15:33:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 15:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33637221789597696,"note":"Value kept but may cause issues"} 
[2026-09-24 15:33:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790244176000,"timestamp_ms":1790244176000,"timestamp_seconds":1790244176,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2de4080"} 
[2026-09-24 15:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 15:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":192814,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:33:51] local.INFO: GPS data processed {"connection_id":192814,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:33:51] local.INFO: Acknowledgment sent {"connection_id":192814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:34:06] local.INFO: TCP Data received {"connection_id":194084,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:34:06] local.INFO: Processing buffer {"connection_id":194084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:34:06] local.INFO: Packet analysis {"connection_id":194084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:34:06] local.INFO: Extracted packet for processing {"connection_id":194084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:34:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302406144001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790244075000,"timestamp_ms":1790244075000,"timestamp_seconds":1790244075,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dcb5f8"} 
[2026-09-24 15:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302406144001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302406144001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:34:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:34:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302406144001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":194084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:34:06] local.INFO: GPS data processed {"connection_id":194084,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:34:06] local.INFO: Acknowledgment sent {"connection_id":194084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:34:06] local.INFO: TCP Data received {"connection_id":194085,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:34:06] local.INFO: Processing buffer {"connection_id":194085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:34:06] local.INFO: IMEI packet received {"connection_id":194085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":194085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:34:12] local.INFO: TCP Data received {"connection_id":194085,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:34:12] local.INFO: Processing buffer {"connection_id":194085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:34:12] local.INFO: IMEI packet received {"connection_id":194085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":194085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:34:13] local.INFO: TCP Data received {"connection_id":194085,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dce4d8012c8dee4007fc2a98000600b92d..."} 
[2026-09-24 15:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dce4d8012c8dee4007fc2a98000600b92d..."} 
[2026-09-24 15:34:13] local.INFO: Processing buffer {"connection_id":194085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dce4d8012c8dee4007fc2a98000600b92d..."} 
[2026-09-24 15:34:13] local.INFO: Packet analysis {"connection_id":194085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:34:13] local.INFO: Extracted packet for processing {"connection_id":194085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:34:13] local.INFO: GPS Element Parsed {"raw_longitude":747499072,"raw_latitude":133966488,"longitude_deg":74.7499072,"latitude_deg":13.3966488,"altitude":6,"angle":185,"satellites":45,"speed":0,"hex_longitude":"2c8dee40","hex_latitude":"07fc2a98","is_valid_coordinates":true} 
[2026-09-24 15:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302480896001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8217380435789684736,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790244087000,"timestamp_ms":1790244087000,"timestamp_seconds":1790244087,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dce4d8"} 
[2026-09-24 15:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-24 15:34:13] 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-09-24 15:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":194085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":194085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":194085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302480896001,"66":28398,"195":206,"9":54272,"24":0,"16":3605341577150464,"44":-8217380435789684736},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,9,24,16,44]} 
[2026-09-24 15:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302480896001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:34:13] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-24 15:34:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:34:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8217380435789684736,"description":"Unknown IO ID 44"} 
[2026-09-24 15:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302480896001,"power":28398,"unknown_195":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8217380435789684736}} 
[2026-09-24 15:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":194085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890388,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:34:13] local.INFO: GPS data processed {"connection_id":194085,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:34:13] local.INFO: Acknowledgment sent {"connection_id":194085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:34:22] local.INFO: TCP Data received {"connection_id":191438,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dd3ac8012d196a00071fec30003e011227..."} 
[2026-09-24 15:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dd3ac8012d196a00071fec30003e011227..."} 
[2026-09-24 15:34:22] local.INFO: Processing buffer {"connection_id":191438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dd3ac8012d196a00071fec30003e011227..."} 
[2026-09-24 15:34:22] local.INFO: Packet analysis {"connection_id":191438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dd"} 
[2026-09-24 15:34:22] local.INFO: Extracted packet for processing {"connection_id":191438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dd"} 
[2026-09-24 15:34:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302486528001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790244109000,"timestamp_ms":1790244109000,"timestamp_seconds":1790244109,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dd3ac8"} 
[2026-09-24 15:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302486528001,"66":12428,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302486528001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:34:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:34:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302486528001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":191438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:34:22] local.INFO: GPS data processed {"connection_id":191438,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:34:22] local.INFO: Acknowledgment sent {"connection_id":191438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:34:22] local.INFO: TCP Data received {"connection_id":192814,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2df6960012d0b96c007034e280025006909..."} 
[2026-09-24 15:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2df6960012d0b96c007034e280025006909..."} 
[2026-09-24 15:34:22] local.INFO: Processing buffer {"connection_id":192814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2df6960012d0b96c007034e280025006909..."} 
[2026-09-24 15:34:22] local.INFO: Packet analysis {"connection_id":192814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2df"} 
[2026-09-24 15:34:22] local.INFO: Extracted packet for processing {"connection_id":192814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2df"} 
[2026-09-24 15:34:22] local.INFO: GPS Element Parsed {"raw_longitude":755734208,"raw_latitude":117657128,"longitude_deg":75.5734208,"latitude_deg":11.7657128,"altitude":37,"angle":105,"satellites":9,"speed":1,"hex_longitude":"2d0b96c0","hex_latitude":"07034e28","is_valid_coordinates":true} 
[2026-09-24 15:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302528256001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33637801610182656,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":835065917276538880,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790244252000,"timestamp_ms":1790244252000,"timestamp_seconds":1790244252,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2df6960"} 
[2026-09-24 15:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-24 15:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733140224,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3537838864,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:22] local.WARNING: Large IO value detected {"io_id":38,"raw_value":4160826635,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:22] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:22] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504112896409600,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:22] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3745665025,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:22] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639969099537937,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:22] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4828122687631327488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-24 15:34:22] local.WARNING: Large IO value detected {"io_id":56,"raw_value":4093693278,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:22] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:22] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2168193024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:22] local.WARNING: Large IO value detected {"io_id":40,"raw_value":84736637070148431,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:22] local.WARNING: Large IO value detected {"io_id":96,"raw_value":10133430008286208,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:22] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-8899105152893452253,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:22] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,17,94,24,241,157,16,129,160,97,45,192,77,38,9,10,66,89,64,78,81,1,240,92,227,210,3,4,113,205,13,136,80,8,239,56,2,119,7,37,12,206,40,96,11],"length":628,"final_offset":758,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-24 15:34:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2738348041282060288,"timestamp_seconds":2738348041282060.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 15:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302528256001,"66":14352,"17":206,"94":11008,"24":1,"16":33637801610182656,"45":835065917276538880},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-24 15:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302528256001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:34:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 15:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33637801610182656,"km_value":33637801610182.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":835065917276538880,"description":"Unknown IO ID 45"} 
[2026-09-24 15:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302528256001,"power":14352,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":835065917276538880}} 
[2026-09-24 15:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":192814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890390,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:34:22] local.INFO: GPS data processed {"connection_id":192814,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:34:22] local.INFO: Acknowledgment sent {"connection_id":192814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:34:28] local.INFO: TCP Data received {"connection_id":194086,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:34:28] local.INFO: Processing buffer {"connection_id":194086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:34:28] local.INFO: IMEI packet received {"connection_id":194086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":194086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:34:33] local.INFO: TCP Data received {"connection_id":194086,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:34:33] local.INFO: Processing buffer {"connection_id":194086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:34:33] local.INFO: IMEI packet received {"connection_id":194086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":194086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:34:34] local.INFO: TCP Data received {"connection_id":194086,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:34:34] local.INFO: Processing buffer {"connection_id":194086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:34:34] local.INFO: Packet analysis {"connection_id":194086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:34:34] local.INFO: Extracted packet for processing {"connection_id":194086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:34:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302406144001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790244075000,"timestamp_ms":1790244075000,"timestamp_seconds":1790244075,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dcb5f8"} 
[2026-09-24 15:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302406144001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302406144001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:34:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:34:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302406144001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":194086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:34:34] local.INFO: GPS data processed {"connection_id":194086,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:34:34] local.INFO: Acknowledgment sent {"connection_id":194086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:34:44] local.INFO: TCP Data received {"connection_id":194085,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ddc7680100000000000000000000000000..."} 
[2026-09-24 15:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ddc7680100000000000000000000000000..."} 
[2026-09-24 15:34:44] local.INFO: Processing buffer {"connection_id":194085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ddc7680100000000000000000000000000..."} 
[2026-09-24 15:34:44] local.INFO: Packet analysis {"connection_id":194085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dd"} 
[2026-09-24 15:34:44] local.INFO: Extracted packet for processing {"connection_id":194085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dd"} 
[2026-09-24 15:34:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302486272001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8219561866864977920,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790244145000,"timestamp_ms":1790244145000,"timestamp_seconds":1790244145,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ddc768"} 
[2026-09-24 15:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 15:34:44] 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-09-24 15: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-09-24 15:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":194085,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:34:44] local.INFO: GPS data processed {"connection_id":194085,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:34:44] local.INFO: Acknowledgment sent {"connection_id":194085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:34:45] local.INFO: TCP Data received {"connection_id":192817,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:34:45] local.INFO: Processing buffer {"connection_id":192817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:34:45] local.INFO: IMEI packet received {"connection_id":192817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":192817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:34:50] local.INFO: TCP Data received {"connection_id":192817,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:34:50] local.INFO: Processing buffer {"connection_id":192817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:34:50] local.INFO: IMEI packet received {"connection_id":192817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":192817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:34:51] local.INFO: TCP Data received {"connection_id":192817,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dd8cd0012d196a00071fec30003e011229..."} 
[2026-09-24 15:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dd8cd0012d196a00071fec30003e011229..."} 
[2026-09-24 15:34:51] local.INFO: Processing buffer {"connection_id":192817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dd8cd0012d196a00071fec30003e011229..."} 
[2026-09-24 15:34:51] local.INFO: Packet analysis {"connection_id":192817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dd"} 
[2026-09-24 15:34:51] local.INFO: Extracted packet for processing {"connection_id":192817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dd"} 
[2026-09-24 15:34:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302491904001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790244130000,"timestamp_ms":1790244130000,"timestamp_seconds":1790244130,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dd8cd0"} 
[2026-09-24 15:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302491904001,"66":12439,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302491904001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:34:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:34:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302491904001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":192817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:34:51] local.INFO: GPS data processed {"connection_id":192817,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:34:51] local.INFO: Acknowledgment sent {"connection_id":192817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:34:54] local.INFO: TCP Data received {"connection_id":192814,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2df7ce8012d0b974007034f000025003e09..."} 
[2026-09-24 15:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2df7ce8012d0b974007034f000025003e09..."} 
[2026-09-24 15:34:54] local.INFO: Processing buffer {"connection_id":192814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2df7ce8012d0b974007034f000025003e09..."} 
[2026-09-24 15:34:54] local.INFO: Packet analysis {"connection_id":192814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2df"} 
[2026-09-24 15:34:54] local.INFO: Extracted packet for processing {"connection_id":192814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2df"} 
[2026-09-24 15:34:54] local.INFO: GPS Element Parsed {"raw_longitude":755734336,"raw_latitude":117657344,"longitude_deg":75.5734336,"latitude_deg":11.7657344,"altitude":37,"angle":62,"satellites":9,"speed":1,"hex_longitude":"2d0b9740","hex_latitude":"07034f00","is_valid_coordinates":true} 
[2026-09-24 15:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302528512001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33637818790051840,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":835065917276563456,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790244257000,"timestamp_ms":1790244257000,"timestamp_seconds":1790244257,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2df7ce8"} 
[2026-09-24 15:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-24 15:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733140224,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":84736641365115727,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:54] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3537839864,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:54] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:54] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504112896671744,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:54] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3746689025,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:54] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639969099537937,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:54] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4828122687631327488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-24 15:34:54] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:54] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3003174238,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:54] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2170290176,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:54] local.WARNING: Large IO value detected {"io_id":136,"raw_value":10414956524604416,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:54] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-8809033160338702300,"note":"Value kept but may cause issues"} 
[2026-09-24 15:34:54] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,17,94,24,241,157,16,129,160,101,45,192,77,38,9,10,66,97,89,64,1,240,114,227,210,3,4,113,205,2,147,232,239,56,119,7,37,13,206,136,11],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-24 15:34:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2666246466779021312,"timestamp_seconds":2666246466779021.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 15:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302528512001,"66":14613,"17":206,"94":11008,"24":1,"16":33637818790051840,"45":835065917276563456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-24 15:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302528512001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:34:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 15:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33637818790051840,"km_value":33637818790051.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":835065917276563456,"description":"Unknown IO ID 45"} 
[2026-09-24 15:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302528512001,"power":14613,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":835065917276563456}} 
[2026-09-24 15:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":192814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890393,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:34:54] local.INFO: GPS data processed {"connection_id":192814,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:34:54] local.INFO: Acknowledgment sent {"connection_id":192814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:35:05] local.INFO: TCP Data received {"connection_id":194086,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:35:05] local.INFO: Processing buffer {"connection_id":194086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:35:05] local.INFO: Packet analysis {"connection_id":194086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:35:05] local.INFO: Extracted packet for processing {"connection_id":194086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:35:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302406144001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790244075000,"timestamp_ms":1790244075000,"timestamp_seconds":1790244075,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dcb5f8"} 
[2026-09-24 15:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:35:05] 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-09-24 15: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-09-24 15:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302406144001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302406144001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:35:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:35:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302406144001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":194086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:35:05] local.INFO: GPS data processed {"connection_id":194086,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:35:05] local.INFO: Acknowledgment sent {"connection_id":194086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:35:07] local.INFO: TCP Data received {"connection_id":191234,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:35:07] local.INFO: Processing buffer {"connection_id":191234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:35:07] local.INFO: IMEI packet received {"connection_id":191234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":191234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:35:10] local.INFO: TCP Data received {"connection_id":191234,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:35:10] local.INFO: Processing buffer {"connection_id":191234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:35:10] local.INFO: IMEI packet received {"connection_id":191234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":191234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:35:11] local.INFO: TCP Data received {"connection_id":191234,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dd4e50012c8dde8007fb7a98000900c12f..."} 
[2026-09-24 15:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dd4e50012c8dde8007fb7a98000900c12f..."} 
[2026-09-24 15:35:11] local.INFO: Processing buffer {"connection_id":191234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dd4e50012c8dde8007fb7a98000900c12f..."} 
[2026-09-24 15:35:11] local.INFO: Packet analysis {"connection_id":191234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dd"} 
[2026-09-24 15:35:11] local.INFO: Extracted packet for processing {"connection_id":191234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dd"} 
[2026-09-24 15:35:11] local.INFO: GPS Element Parsed {"raw_longitude":747495040,"raw_latitude":133921432,"longitude_deg":74.749504,"latitude_deg":13.3921432,"altitude":9,"angle":193,"satellites":47,"speed":55,"hex_longitude":"2c8dde80","hex_latitude":"07fb7a98","is_valid_coordinates":true} 
[2026-09-24 15:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:35:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,89,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790244114000,"timestamp_ms":1790244114000,"timestamp_seconds":1790244114,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dd4e50"} 
[2026-09-24 15:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:35: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191234,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191234,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"89":206,"9":54272,"24":55,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,9,24,16]} 
[2026-09-24 15:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 15:35:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-24 15:35:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:35:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_89":206,"unknown_9":54272,"ignition":55,"odometer":null}} 
[2026-09-24 15:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":191234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890395,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:35:11] local.INFO: GPS data processed {"connection_id":191234,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:35:11] local.INFO: Acknowledgment sent {"connection_id":191234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:35:22] local.INFO: TCP Data received {"connection_id":192817,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ddded8012d196a00071fec30003e01122a..."} 
[2026-09-24 15:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ddded8012d196a00071fec30003e01122a..."} 
[2026-09-24 15:35:22] local.INFO: Processing buffer {"connection_id":192817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ddded8012d196a00071fec30003e01122a..."} 
[2026-09-24 15:35:22] local.INFO: Packet analysis {"connection_id":192817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dd"} 
[2026-09-24 15:35:22] local.INFO: Extracted packet for processing {"connection_id":192817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dd"} 
[2026-09-24 15:35:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302497280001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790244151000,"timestamp_ms":1790244151000,"timestamp_seconds":1790244151,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ddded8"} 
[2026-09-24 15:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 15:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302497280001,"66":12428,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302497280001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:35:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:35:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302497280001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":192817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:35:22] local.INFO: GPS data processed {"connection_id":192817,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:35:22] local.INFO: Acknowledgment sent {"connection_id":192817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:35:25] local.INFO: TCP Data received {"connection_id":192814,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2df80d0012d0b974007034f180025006109..."} 
[2026-09-24 15:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2df80d0012d0b974007034f180025006109..."} 
[2026-09-24 15:35:25] local.INFO: Processing buffer {"connection_id":192814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2df80d0012d0b974007034f180025006109..."} 
[2026-09-24 15:35:25] local.INFO: Packet analysis {"connection_id":192814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2df"} 
[2026-09-24 15:35:25] local.INFO: Extracted packet for processing {"connection_id":192814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2df"} 
[2026-09-24 15:35:25] local.INFO: GPS Element Parsed {"raw_longitude":755734336,"raw_latitude":117657368,"longitude_deg":75.5734336,"latitude_deg":11.7657368,"altitude":37,"angle":97,"satellites":9,"speed":2,"hex_longitude":"2d0b9740","hex_latitude":"07034f18","is_valid_coordinates":true} 
[2026-09-24 15:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302529792001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33637823085019136,"note":"Value kept but may cause issues"} 
[2026-09-24 15:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":835206654764974080,"note":"Value kept but may cause issues"} 
[2026-09-24 15:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790244258000,"timestamp_ms":1790244258000,"timestamp_seconds":1790244258,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2df80d0"} 
[2026-09-24 15:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-24 15:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":192814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":192814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":192814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302529792001,"66":14515,"17":206,"94":11008,"24":2,"16":33637823085019136,"45":835206654764974080},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-24 15:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302529792001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:35:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 15:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33637823085019136,"km_value":33637823085019.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":835206654764974080,"description":"Unknown IO ID 45"} 
[2026-09-24 15:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302529792001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":835206654764974080}} 
[2026-09-24 15:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":192814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890397,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:35:25] local.INFO: GPS data processed {"connection_id":192814,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:35:25] local.INFO: Acknowledgment sent {"connection_id":192814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:35:28] local.INFO: TCP Data received {"connection_id":191439,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:35:28] local.INFO: Processing buffer {"connection_id":191439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:35:28] local.INFO: IMEI packet received {"connection_id":191439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":191439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:35:33] local.INFO: TCP Data received {"connection_id":191439,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:35:33] local.INFO: Processing buffer {"connection_id":191439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:35:33] local.INFO: IMEI packet received {"connection_id":191439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":191439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:35:34] local.INFO: TCP Data received {"connection_id":191439,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:35:34] local.INFO: Processing buffer {"connection_id":191439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:35:34] local.INFO: Packet analysis {"connection_id":191439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:35:34] local.INFO: Extracted packet for processing {"connection_id":191439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:35:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302406144001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790244075000,"timestamp_ms":1790244075000,"timestamp_seconds":1790244075,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dcb5f8"} 
[2026-09-24 15:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302406144001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302406144001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:35:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:35:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302406144001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":191439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:35:34] local.INFO: GPS data processed {"connection_id":191439,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:35:34] local.INFO: Acknowledgment sent {"connection_id":191439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:35:42] local.INFO: TCP Data received {"connection_id":191234,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2de30e00100000000000000000000000000..."} 
[2026-09-24 15:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2de30e00100000000000000000000000000..."} 
[2026-09-24 15:35:42] local.INFO: Processing buffer {"connection_id":191234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2de30e00100000000000000000000000000..."} 
[2026-09-24 15:35:42] local.INFO: Packet analysis {"connection_id":191234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2de"} 
[2026-09-24 15:35:42] local.INFO: Extracted packet for processing {"connection_id":191234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2de"} 
[2026-09-24 15:35:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 15:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302493184001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:35:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8223995097759705088,"note":"Value kept but may cause issues"} 
[2026-09-24 15:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790244172000,"timestamp_ms":1790244172000,"timestamp_seconds":1790244172,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2de30e0"} 
[2026-09-24 15:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:35: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-09-24 15:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:35:42] 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-09-24 15:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191234,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191234,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":191234,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:35:42] local.INFO: GPS data processed {"connection_id":191234,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:35:42] local.INFO: Acknowledgment sent {"connection_id":191234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:35:45] local.INFO: TCP Data received {"connection_id":191235,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:35:45] local.INFO: Processing buffer {"connection_id":191235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:35:45] local.INFO: IMEI packet received {"connection_id":191235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":191235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:35:50] local.INFO: TCP Data received {"connection_id":191235,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:35:50] local.INFO: Processing buffer {"connection_id":191235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:35:50] local.INFO: IMEI packet received {"connection_id":191235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":191235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:35:51] local.INFO: TCP Data received {"connection_id":191235,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2de30e0012d196a00071fec30003e011227..."} 
[2026-09-24 15:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2de30e0012d196a00071fec30003e011227..."} 
[2026-09-24 15:35:51] local.INFO: Processing buffer {"connection_id":191235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2de30e0012d196a00071fec30003e011227..."} 
[2026-09-24 15:35:51] local.INFO: Packet analysis {"connection_id":191235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2de"} 
[2026-09-24 15:35:51] local.INFO: Extracted packet for processing {"connection_id":191235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2de"} 
[2026-09-24 15:35:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302502656001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790244172000,"timestamp_ms":1790244172000,"timestamp_seconds":1790244172,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2de30e0"} 
[2026-09-24 15:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:35: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-09-24 15:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302502656001,"66":12428,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302502656001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:35:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:35:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302502656001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":191235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:35:51] local.INFO: GPS data processed {"connection_id":191235,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:35:51] local.INFO: Acknowledgment sent {"connection_id":191235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:35:56] local.INFO: TCP Data received {"connection_id":192814,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e0c120012d0bf900070359580016008b0b..."} 
[2026-09-24 15:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e0c120012d0bf900070359580016008b0b..."} 
[2026-09-24 15:35:56] local.INFO: Processing buffer {"connection_id":192814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e0c120012d0bf900070359580016008b0b..."} 
[2026-09-24 15:35:56] local.INFO: Packet analysis {"connection_id":192814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e0"} 
[2026-09-24 15:35:56] local.INFO: Extracted packet for processing {"connection_id":192814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e0"} 
[2026-09-24 15:35:56] local.INFO: GPS Element Parsed {"raw_longitude":755759360,"raw_latitude":117659992,"longitude_deg":75.575936,"latitude_deg":11.7659992,"altitude":22,"angle":139,"satellites":11,"speed":13,"hex_longitude":"2d0bf900","hex_latitude":"07035958","is_valid_coordinates":true} 
[2026-09-24 15:35: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-09-24 15:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302550784001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33639064330567680,"note":"Value kept but may cause issues"} 
[2026-09-24 15:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862439358762465280,"note":"Value kept but may cause issues"} 
[2026-09-24 15:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790244340000,"timestamp_ms":1790244340000,"timestamp_seconds":1790244340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e0c120"} 
[2026-09-24 15:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-24 15:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:35: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-09-24 15:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302550784001,"66":14548,"37":206,"94":11008,"24":13,"16":33639064330567680,"45":862439358762465280},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 15:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302550784001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:35:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 15:35:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 15:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33639064330567680,"km_value":33639064330567.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":862439358762465280,"description":"Unknown IO ID 45"} 
[2026-09-24 15:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302550784001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":862439358762465280}} 
[2026-09-24 15:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":192814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890400,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:35:56] local.INFO: GPS data processed {"connection_id":192814,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:35:56] local.INFO: Acknowledgment sent {"connection_id":192814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:36:05] local.INFO: TCP Data received {"connection_id":191439,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:36:05] local.INFO: Processing buffer {"connection_id":191439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:36:05] local.INFO: Packet analysis {"connection_id":191439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:36:05] local.INFO: Extracted packet for processing {"connection_id":191439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:36:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302406144001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790244075000,"timestamp_ms":1790244075000,"timestamp_seconds":1790244075,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dcb5f8"} 
[2026-09-24 15:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:36:05] 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-09-24 15: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-09-24 15:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302406144001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302406144001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:36:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:36:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302406144001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":191439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:36:05] local.INFO: GPS data processed {"connection_id":191439,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:36:05] local.INFO: Acknowledgment sent {"connection_id":191439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:36:18] local.INFO: TCP Data received {"connection_id":194087,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:36:18] local.INFO: Processing buffer {"connection_id":194087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:36:18] local.INFO: IMEI packet received {"connection_id":194087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":194087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:36:22] local.INFO: TCP Data received {"connection_id":194087,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:36:22] local.INFO: Processing buffer {"connection_id":194087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:36:22] local.INFO: IMEI packet received {"connection_id":194087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":194087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:36:22] local.INFO: TCP Data received {"connection_id":191235,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2de82e8012d196a00071fec30003e011229..."} 
[2026-09-24 15:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2de82e8012d196a00071fec30003e011229..."} 
[2026-09-24 15:36:22] local.INFO: Processing buffer {"connection_id":191235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2de82e8012d196a00071fec30003e011229..."} 
[2026-09-24 15:36:22] local.INFO: Packet analysis {"connection_id":191235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2de"} 
[2026-09-24 15:36:22] local.INFO: Extracted packet for processing {"connection_id":191235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2de"} 
[2026-09-24 15:36:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302508032001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790244193000,"timestamp_ms":1790244193000,"timestamp_seconds":1790244193,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2de82e8"} 
[2026-09-24 15:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302508032001,"66":12428,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302508032001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:36:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:36:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302508032001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":191235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:36:22] local.INFO: GPS data processed {"connection_id":191235,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:36:22] local.INFO: Acknowledgment sent {"connection_id":191235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:36:23] local.INFO: TCP Data received {"connection_id":194087,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2de5bd8012c8c9f4007fae2900015010124..."} 
[2026-09-24 15:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2de5bd8012c8c9f4007fae2900015010124..."} 
[2026-09-24 15:36:23] local.INFO: Processing buffer {"connection_id":194087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2de5bd8012c8c9f4007fae2900015010124..."} 
[2026-09-24 15:36:23] local.INFO: Packet analysis {"connection_id":194087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2de"} 
[2026-09-24 15:36:23] local.INFO: Extracted packet for processing {"connection_id":194087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2de"} 
[2026-09-24 15:36:23] local.INFO: GPS Element Parsed {"raw_longitude":747413312,"raw_latitude":133882512,"longitude_deg":74.7413312,"latitude_deg":13.3882512,"altitude":21,"angle":257,"satellites":36,"speed":46,"hex_longitude":"2c8c9f40","hex_latitude":"07fae290","is_valid_coordinates":true} 
[2026-09-24 15:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:36:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,251,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790244183000,"timestamp_ms":1790244183000,"timestamp_seconds":1790244183,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2de5bd8"} 
[2026-09-24 15:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:36: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 15:36:23] 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-09-24 15:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28137,"251":206,"9":54272,"24":46,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,9,24,16]} 
[2026-09-24 15:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 15:36:23] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-24 15:36:23] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:36:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28137,"unknown_251":206,"unknown_9":54272,"ignition":46,"odometer":null}} 
[2026-09-24 15:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":194087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890403,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:36:23] local.INFO: GPS data processed {"connection_id":194087,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:36:23] local.INFO: Acknowledgment sent {"connection_id":194087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:36:24] local.INFO: TCP Data received {"connection_id":194087,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dea228012c8c5c8007fabf90001900e02c..."} 
[2026-09-24 15:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dea228012c8c5c8007fabf90001900e02c..."} 
[2026-09-24 15:36:24] local.INFO: Processing buffer {"connection_id":194087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dea228012c8c5c8007fabf90001900e02c..."} 
[2026-09-24 15:36:24] local.INFO: Packet analysis {"connection_id":194087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2de"} 
[2026-09-24 15:36:24] local.INFO: Extracted packet for processing {"connection_id":194087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2de"} 
[2026-09-24 15:36:24] local.INFO: GPS Element Parsed {"raw_longitude":747396224,"raw_latitude":133873552,"longitude_deg":74.7396224,"latitude_deg":13.3873552,"altitude":25,"angle":224,"satellites":44,"speed":39,"hex_longitude":"2c8c5c80","hex_latitude":"07fabf90","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302510848001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:36:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8313855984084545536,"note":"Value kept but may cause issues"} 
[2026-09-24 15:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790244201000,"timestamp_ms":1790244201000,"timestamp_seconds":1790244201,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dea228"} 
[2026-09-24 15:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-24 15:36:24] 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-09-24 15: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-09-24 15:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":194087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":194087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":194087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302510848001,"66":28398,"252":206,"9":54272,"24":39,"16":3605341577150464,"44":-8313855984084545536},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,9,24,16,44]} 
[2026-09-24 15:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302510848001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:36:24] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-09-24 15:36:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:36:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8313855984084545536,"description":"Unknown IO ID 44"} 
[2026-09-24 15:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302510848001,"power":28398,"unknown_252":206,"unknown_9":54272,"ignition":39,"odometer":null,"unknown_44":-8313855984084545536}} 
[2026-09-24 15:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":194087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890404,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:36:24] local.INFO: GPS data processed {"connection_id":194087,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:36:24] local.INFO: Acknowledgment sent {"connection_id":194087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:36:27] local.INFO: TCP Data received {"connection_id":192814,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e0c8f0012d0bfac007035830001500710b..."} 
[2026-09-24 15:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e0c8f0012d0bfac007035830001500710b..."} 
[2026-09-24 15:36:27] local.INFO: Processing buffer {"connection_id":192814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e0c8f0012d0bfac007035830001500710b..."} 
[2026-09-24 15:36:27] local.INFO: Packet analysis {"connection_id":192814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e0"} 
[2026-09-24 15:36:27] local.INFO: Extracted packet for processing {"connection_id":192814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e0"} 
[2026-09-24 15:36:27] local.INFO: GPS Element Parsed {"raw_longitude":755759808,"raw_latitude":117659696,"longitude_deg":75.5759808,"latitude_deg":11.7659696,"altitude":21,"angle":113,"satellites":11,"speed":8,"hex_longitude":"2d0bfac0","hex_latitude":"07035830","is_valid_coordinates":true} 
[2026-09-24 15:36: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-09-24 15:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302551040001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33639090100371456,"note":"Value kept but may cause issues"} 
[2026-09-24 15:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862720833739118592,"note":"Value kept but may cause issues"} 
[2026-09-24 15:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790244342000,"timestamp_ms":1790244342000,"timestamp_seconds":1790244342,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e0c8f0"} 
[2026-09-24 15:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-24 15:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:36: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-09-24 15:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192814,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302551040001,"66":14461,"37":206,"94":11008,"24":8,"16":33639090100371456,"45":862720833739118592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 15:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302551040001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:36:27] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 15:36:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 15:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33639090100371456,"km_value":33639090100371.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":862720833739118592,"description":"Unknown IO ID 45"} 
[2026-09-24 15:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302551040001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":862720833739118592}} 
[2026-09-24 15:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":192814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890405,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:36:27] local.INFO: GPS data processed {"connection_id":192814,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:36:27] local.INFO: Acknowledgment sent {"connection_id":192814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:36:28] local.INFO: TCP Data received {"connection_id":191236,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:36:28] local.INFO: Processing buffer {"connection_id":191236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:36:28] local.INFO: IMEI packet received {"connection_id":191236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":191236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:36:33] local.INFO: TCP Data received {"connection_id":191236,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:36:33] local.INFO: Processing buffer {"connection_id":191236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:36:33] local.INFO: IMEI packet received {"connection_id":191236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":191236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:36:34] local.INFO: TCP Data received {"connection_id":191236,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:36:34] local.INFO: Processing buffer {"connection_id":191236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dcb5f8012d34c14006aa4940000900f529..."} 
[2026-09-24 15:36:34] local.INFO: Packet analysis {"connection_id":191236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:36:34] local.INFO: Extracted packet for processing {"connection_id":191236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2dc"} 
[2026-09-24 15:36:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302406144001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790244075000,"timestamp_ms":1790244075000,"timestamp_seconds":1790244075,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dcb5f8"} 
[2026-09-24 15:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302406144001,"66":25691,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302406144001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:36:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:36:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302406144001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":191236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:36:34] local.INFO: GPS data processed {"connection_id":191236,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:36:34] local.INFO: Acknowledgment sent {"connection_id":191236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:36:45] local.INFO: TCP Data received {"connection_id":191440,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:36:45] local.INFO: Processing buffer {"connection_id":191440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:36:45] local.INFO: IMEI packet received {"connection_id":191440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":191440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:36:50] local.INFO: TCP Data received {"connection_id":191440,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:36:50] local.INFO: Processing buffer {"connection_id":191440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:36:50] local.INFO: IMEI packet received {"connection_id":191440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":191440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:36:51] local.INFO: TCP Data received {"connection_id":191440,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ded4f0012d196a00071fec30003e011226..."} 
[2026-09-24 15:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ded4f0012d196a00071fec30003e011226..."} 
[2026-09-24 15:36:51] local.INFO: Processing buffer {"connection_id":191440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ded4f0012d196a00071fec30003e011226..."} 
[2026-09-24 15:36:51] local.INFO: Packet analysis {"connection_id":191440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2de"} 
[2026-09-24 15:36:51] local.INFO: Extracted packet for processing {"connection_id":191440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2de"} 
[2026-09-24 15:36:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302513408001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790244214000,"timestamp_ms":1790244214000,"timestamp_seconds":1790244214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ded4f0"} 
[2026-09-24 15:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302513408001,"66":12428,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302513408001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:36:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:36:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302513408001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":191440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:36:51] local.INFO: GPS data processed {"connection_id":191440,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:36:51] local.INFO: Acknowledgment sent {"connection_id":191440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:37:06] local.INFO: TCP Data received {"connection_id":191237,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:37:06] local.INFO: Processing buffer {"connection_id":191237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:37:06] local.INFO: IMEI packet received {"connection_id":191237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":191237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:37:06] local.INFO: TCP Data received {"connection_id":191236,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:37:06] local.INFO: Processing buffer {"connection_id":191236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:37:06] local.INFO: Packet analysis {"connection_id":191236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:37:06] local.INFO: Extracted packet for processing {"connection_id":191236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:37:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302483200001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790244376000,"timestamp_ms":1790244376000,"timestamp_seconds":1790244376,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e14dc0"} 
[2026-09-24 15:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 15:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302483200001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302483200001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:37:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:37:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302483200001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":191236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:37:06] local.INFO: GPS data processed {"connection_id":191236,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:37:06] local.INFO: Acknowledgment sent {"connection_id":191236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:37:06] local.INFO: TCP Data received {"connection_id":191237,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:37:06] local.INFO: Processing buffer {"connection_id":191237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:37:06] local.INFO: IMEI packet received {"connection_id":191237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":191237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:37:07] local.INFO: TCP Data received {"connection_id":194088,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194088,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:37:07] local.INFO: Processing buffer {"connection_id":194088,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:37:07] local.INFO: IMEI packet received {"connection_id":194088,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 15:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":194088,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:37:08] local.INFO: TCP Data received {"connection_id":194088,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194088,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:37:08] local.INFO: Processing buffer {"connection_id":194088,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:37:08] local.INFO: IMEI packet received {"connection_id":194088,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":194088,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:37:09] local.INFO: TCP Data received {"connection_id":194088,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194088,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:37:09] local.INFO: Processing buffer {"connection_id":194088,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:37:09] local.INFO: IMEI packet received {"connection_id":194088,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":194088,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:37:09] local.INFO: TCP Data received {"connection_id":194088,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194088,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:37:09] local.INFO: Processing buffer {"connection_id":194088,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:37:09] local.INFO: IMEI packet received {"connection_id":194088,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":194088,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:37:10] local.INFO: TCP Data received {"connection_id":194088,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e19410012d0c1e8007035128001200390c..."} 
[2026-09-24 15:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e19410012d0c1e8007035128001200390c..."} 
[2026-09-24 15:37:10] local.INFO: Processing buffer {"connection_id":194088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e19410012d0c1e8007035128001200390c..."} 
[2026-09-24 15:37:10] local.INFO: Packet analysis {"connection_id":194088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:37:10] local.INFO: Extracted packet for processing {"connection_id":194088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:37:10] local.INFO: GPS Element Parsed {"raw_longitude":755768960,"raw_latitude":117657896,"longitude_deg":75.576896,"latitude_deg":11.7657896,"altitude":18,"angle":57,"satellites":12,"speed":15,"hex_longitude":"2d0c1e80","hex_latitude":"07035128","is_valid_coordinates":true} 
[2026-09-24 15:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302564352001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33639923324026880,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872713195411679232,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790244394000,"timestamp_ms":1790244394000,"timestamp_seconds":1790244394,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e19410"} 
[2026-09-24 15:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-24 15:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":194088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":194088,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":194088,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302564352001,"66":14537,"37":206,"94":11008,"24":15,"16":33639923324026880,"45":872713195411679232},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 15:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302564352001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:37:10] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 15:37:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 15:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33639923324026880,"km_value":33639923324026.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":872713195411679232,"description":"Unknown IO ID 45"} 
[2026-09-24 15:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302564352001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":872713195411679232}} 
[2026-09-24 15:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":194088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890409,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:37:10] local.INFO: GPS data processed {"connection_id":194088,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:37:10] local.INFO: Acknowledgment sent {"connection_id":194088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:37:12] local.INFO: TCP Data received {"connection_id":191237,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:37:12] local.INFO: Processing buffer {"connection_id":191237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:37:12] local.INFO: IMEI packet received {"connection_id":191237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":191237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:37:13] local.INFO: TCP Data received {"connection_id":194088,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e1ab80012d0c2800070355f0001400480c..."} 
[2026-09-24 15:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e1ab80012d0c2800070355f0001400480c..."} 
[2026-09-24 15:37:13] local.INFO: Processing buffer {"connection_id":194088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e1ab80012d0c2800070355f0001400480c..."} 
[2026-09-24 15:37:13] local.INFO: Packet analysis {"connection_id":194088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:37:13] local.INFO: Extracted packet for processing {"connection_id":194088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:37:13] local.INFO: GPS Element Parsed {"raw_longitude":755771392,"raw_latitude":117659120,"longitude_deg":75.5771392,"latitude_deg":11.765912,"altitude":20,"angle":72,"satellites":12,"speed":19,"hex_longitude":"2d0c2800","hex_latitude":"070355f0","is_valid_coordinates":true} 
[2026-09-24 15:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302564864001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33640056468013056,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873276145365231616,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790244400000,"timestamp_ms":1790244400000,"timestamp_seconds":1790244400,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e1ab80"} 
[2026-09-24 15:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-24 15:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":194088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":194088,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":194088,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302564864001,"66":14548,"37":206,"94":11008,"24":19,"16":33640056468013056,"45":873276145365231616},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 15:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302564864001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:37:13] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 15:37:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 15:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33640056468013056,"km_value":33640056468013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":873276145365231616,"description":"Unknown IO ID 45"} 
[2026-09-24 15:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302564864001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":873276145365231616}} 
[2026-09-24 15:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":194088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890410,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:37:13] local.INFO: GPS data processed {"connection_id":194088,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:37:13] local.INFO: Acknowledgment sent {"connection_id":194088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:37:14] local.INFO: TCP Data received {"connection_id":191237,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2deec60012c8c350007fa7cf0001a00c42a..."} 
[2026-09-24 15:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2deec60012c8c350007fa7cf0001a00c42a..."} 
[2026-09-24 15:37:14] local.INFO: Processing buffer {"connection_id":191237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2deec60012c8c350007fa7cf0001a00c42a..."} 
[2026-09-24 15:37:14] local.INFO: Packet analysis {"connection_id":191237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2de"} 
[2026-09-24 15:37:14] local.INFO: Extracted packet for processing {"connection_id":191237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2de"} 
[2026-09-24 15:37:14] local.INFO: GPS Element Parsed {"raw_longitude":747386112,"raw_latitude":133856496,"longitude_deg":74.7386112,"latitude_deg":13.3856496,"altitude":26,"angle":196,"satellites":42,"speed":46,"hex_longitude":"2c8c3500","hex_latitude":"07fa7cf0","is_valid_coordinates":true} 
[2026-09-24 15:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302515456001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8332644438782275584,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790244220000,"timestamp_ms":1790244220000,"timestamp_seconds":1790244220,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2deec60"} 
[2026-09-24 15:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:37: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-09-24 15:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 15:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302515456001,"66":28256,"252":206,"9":54272,"24":46,"16":3605341577150464,"44":-8332644438782275584},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,9,24,16,44]} 
[2026-09-24 15:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302515456001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:37:14] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-09-24 15:37:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:37:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8332644438782275584,"description":"Unknown IO ID 44"} 
[2026-09-24 15:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302515456001,"power":28256,"unknown_252":206,"unknown_9":54272,"ignition":46,"odometer":null,"unknown_44":-8332644438782275584}} 
[2026-09-24 15:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":191237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890411,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:37:14] local.INFO: GPS data processed {"connection_id":191237,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:37:14] local.INFO: Acknowledgment sent {"connection_id":191237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:37:21] local.INFO: TCP Data received {"connection_id":191440,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2df26f8012d196a00071fec30003e011229..."} 
[2026-09-24 15:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2df26f8012d196a00071fec30003e011229..."} 
[2026-09-24 15:37:21] local.INFO: Processing buffer {"connection_id":191440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2df26f8012d196a00071fec30003e011229..."} 
[2026-09-24 15:37:21] local.INFO: Packet analysis {"connection_id":191440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2df"} 
[2026-09-24 15:37:21] local.INFO: Extracted packet for processing {"connection_id":191440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2df"} 
[2026-09-24 15:37:21] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302518784001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790244235000,"timestamp_ms":1790244235000,"timestamp_seconds":1790244235,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2df26f8"} 
[2026-09-24 15:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302518784001,"66":12374,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302518784001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:37:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:37:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302518784001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":191440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:37:21] local.INFO: GPS data processed {"connection_id":191440,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:37:21] local.INFO: Acknowledgment sent {"connection_id":191440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:37:28] local.INFO: TCP Data received {"connection_id":194089,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:37:28] local.INFO: Processing buffer {"connection_id":194089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:37:28] local.INFO: IMEI packet received {"connection_id":194089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":194089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:37:33] local.INFO: TCP Data received {"connection_id":194089,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:37:33] local.INFO: Processing buffer {"connection_id":194089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:37:33] local.INFO: IMEI packet received {"connection_id":194089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":194089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:37:34] local.INFO: TCP Data received {"connection_id":194089,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:37:34] local.INFO: Processing buffer {"connection_id":194089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:37:34] local.INFO: Packet analysis {"connection_id":194089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:37:34] local.INFO: Extracted packet for processing {"connection_id":194089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:37:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302483200001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790244376000,"timestamp_ms":1790244376000,"timestamp_seconds":1790244376,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e14dc0"} 
[2026-09-24 15:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 15:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302483200001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302483200001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:37:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:37:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302483200001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":194089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:37:34] local.INFO: GPS data processed {"connection_id":194089,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:37:34] local.INFO: Acknowledgment sent {"connection_id":194089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:37:45] local.INFO: TCP Data received {"connection_id":192818,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:37:45] local.INFO: Processing buffer {"connection_id":192818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:37:45] local.INFO: IMEI packet received {"connection_id":192818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":192818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:37:46] local.INFO: TCP Data received {"connection_id":194088,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e27e70012d0c5440070369180017003b0e..."} 
[2026-09-24 15:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e27e70012d0c5440070369180017003b0e..."} 
[2026-09-24 15:37:46] local.INFO: Processing buffer {"connection_id":194088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e27e70012d0c5440070369180017003b0e..."} 
[2026-09-24 15:37:46] local.INFO: Packet analysis {"connection_id":194088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e2"} 
[2026-09-24 15:37:46] local.INFO: Extracted packet for processing {"connection_id":194088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e2"} 
[2026-09-24 15:37:46] local.INFO: GPS Element Parsed {"raw_longitude":755782720,"raw_latitude":117664024,"longitude_deg":75.578272,"latitude_deg":11.7664024,"altitude":23,"angle":59,"satellites":14,"speed":18,"hex_longitude":"2d0c5440","hex_latitude":"07036918","is_valid_coordinates":true} 
[2026-09-24 15:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302579712001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33640687828205568,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887490631690559488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790244454000,"timestamp_ms":1790244454000,"timestamp_seconds":1790244454,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e27e70"} 
[2026-09-24 15:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-24 15:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":194088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":194088,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":194088,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302579712001,"66":14461,"37":206,"94":11008,"24":18,"16":33640687828205568,"45":887490631690559488},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 15:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302579712001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:37:46] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 15:37:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 15:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33640687828205568,"km_value":33640687828205.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":887490631690559488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302579712001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":887490631690559488}} 
[2026-09-24 15:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":194088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890414,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:37:46] local.INFO: GPS data processed {"connection_id":194088,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:37:46] local.INFO: Acknowledgment sent {"connection_id":194088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:37:46] local.INFO: TCP Data received {"connection_id":191237,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e20d280100000000000000000000000000..."} 
[2026-09-24 15:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e20d280100000000000000000000000000..."} 
[2026-09-24 15:37:46] local.INFO: Processing buffer {"connection_id":191237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e20d280100000000000000000000000000..."} 
[2026-09-24 15:37:46] local.INFO: Packet analysis {"connection_id":191237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e2"} 
[2026-09-24 15:37:46] local.INFO: Extracted packet for processing {"connection_id":191237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e2"} 
[2026-09-24 15:37:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 15:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302565376001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8270860681444648960,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790244425000,"timestamp_ms":1790244425000,"timestamp_seconds":1790244425,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e20d28"} 
[2026-09-24 15:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-24 15:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":191237,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:37:46] local.INFO: GPS data processed {"connection_id":191237,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:37:46] local.INFO: Acknowledgment sent {"connection_id":191237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:37:50] local.INFO: TCP Data received {"connection_id":192818,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:37:50] local.INFO: Processing buffer {"connection_id":192818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:37:50] local.INFO: IMEI packet received {"connection_id":192818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":192818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:37:51] local.INFO: TCP Data received {"connection_id":192818,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2df7900012d196a00071fec30003e011227..."} 
[2026-09-24 15:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2df7900012d196a00071fec30003e011227..."} 
[2026-09-24 15:37:51] local.INFO: Processing buffer {"connection_id":192818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2df7900012d196a00071fec30003e011227..."} 
[2026-09-24 15:37:51] local.INFO: Packet analysis {"connection_id":192818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2df"} 
[2026-09-24 15:37:51] local.INFO: Extracted packet for processing {"connection_id":192818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2df"} 
[2026-09-24 15:37:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302524160001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790244256000,"timestamp_ms":1790244256000,"timestamp_seconds":1790244256,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2df7900"} 
[2026-09-24 15:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:37: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-09-24 15:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-24 15:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302524160001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302524160001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:37:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:37:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302524160001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":192818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:37:51] local.INFO: GPS data processed {"connection_id":192818,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:37:51] local.INFO: Acknowledgment sent {"connection_id":192818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:38:05] local.INFO: TCP Data received {"connection_id":192819,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192819,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:38:05] local.INFO: Processing buffer {"connection_id":192819,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:38:05] local.INFO: IMEI packet received {"connection_id":192819,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 15:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":192819,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:38:05] local.INFO: TCP Data received {"connection_id":194089,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:38:05] local.INFO: Processing buffer {"connection_id":194089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:38:05] local.INFO: Packet analysis {"connection_id":194089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:38:05] local.INFO: Extracted packet for processing {"connection_id":194089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:38:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302483200001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790244376000,"timestamp_ms":1790244376000,"timestamp_seconds":1790244376,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e14dc0"} 
[2026-09-24 15:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 15:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302483200001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302483200001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:38:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:38:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302483200001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":194089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:38:05] local.INFO: GPS data processed {"connection_id":194089,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:38:05] local.INFO: Acknowledgment sent {"connection_id":194089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:38:06] local.INFO: TCP Data received {"connection_id":194090,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:38:06] local.INFO: Processing buffer {"connection_id":194090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:38:06] local.INFO: IMEI packet received {"connection_id":194090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":194090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:38:08] local.INFO: TCP Data received {"connection_id":192819,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192819,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:38:08] local.INFO: Processing buffer {"connection_id":192819,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:38:08] local.INFO: IMEI packet received {"connection_id":192819,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":192819,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:38:09] local.INFO: TCP Data received {"connection_id":192819,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e28a28012d0c5a8007036bd8001600460e..."} 
[2026-09-24 15:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e28a28012d0c5a8007036bd8001600460e..."} 
[2026-09-24 15:38:09] local.INFO: Processing buffer {"connection_id":192819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e28a28012d0c5a8007036bd8001600460e..."} 
[2026-09-24 15:38:09] local.INFO: Packet analysis {"connection_id":192819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e2"} 
[2026-09-24 15:38:09] local.INFO: Extracted packet for processing {"connection_id":192819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e2"} 
[2026-09-24 15:38:09] local.INFO: GPS Element Parsed {"raw_longitude":755784320,"raw_latitude":117664728,"longitude_deg":75.578432,"latitude_deg":11.7664728,"altitude":22,"angle":70,"satellites":14,"speed":21,"hex_longitude":"2d0c5a80","hex_latitude":"07036bd8","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302580224001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33640769432584192,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888405425364998144,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790244457000,"timestamp_ms":1790244457000,"timestamp_seconds":1790244457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e28a28"} 
[2026-09-24 15:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-24 15:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192819,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192819,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302580224001,"66":14515,"37":206,"94":11008,"24":21,"16":33640769432584192,"45":888405425364998144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 15:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302580224001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:38:09] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 15:38:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 15:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33640769432584192,"km_value":33640769432584.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":888405425364998144,"description":"Unknown IO ID 45"} 
[2026-09-24 15:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302580224001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":888405425364998144}} 
[2026-09-24 15:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":192819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890417,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:38:09] local.INFO: GPS data processed {"connection_id":192819,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:38:09] local.INFO: Acknowledgment sent {"connection_id":192819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:38:10] local.INFO: TCP Data received {"connection_id":192819,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e29db0012d0c610007036e30001600330e..."} 
[2026-09-24 15:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e29db0012d0c610007036e30001600330e..."} 
[2026-09-24 15:38:10] local.INFO: Processing buffer {"connection_id":192819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e29db0012d0c610007036e30001600330e..."} 
[2026-09-24 15:38:10] local.INFO: Packet analysis {"connection_id":192819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e2"} 
[2026-09-24 15:38:10] local.INFO: Extracted packet for processing {"connection_id":192819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e2"} 
[2026-09-24 15:38:10] local.INFO: GPS Element Parsed {"raw_longitude":755785984,"raw_latitude":117665328,"longitude_deg":75.5785984,"latitude_deg":11.7665328,"altitude":22,"angle":51,"satellites":14,"speed":9,"hex_longitude":"2d0c6100","hex_latitude":"07036e30","is_valid_coordinates":true} 
[2026-09-24 15:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302580992001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33640855331930112,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":890164643969619968,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790244462000,"timestamp_ms":1790244462000,"timestamp_seconds":1790244462,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e29db0"} 
[2026-09-24 15:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:38: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-09-24 15:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-24 15:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192819,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192819,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302580992001,"66":14515,"37":206,"94":11008,"24":9,"16":33640855331930112,"45":890164643969619968},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 15:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302580992001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:38:10] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 15:38:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 15:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33640855331930112,"km_value":33640855331930.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":890164643969619968,"description":"Unknown IO ID 45"} 
[2026-09-24 15:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302580992001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":890164643969619968}} 
[2026-09-24 15:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":192819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890418,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:38:10] local.INFO: GPS data processed {"connection_id":192819,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:38:10] local.INFO: Acknowledgment sent {"connection_id":192819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:38:12] local.INFO: TCP Data received {"connection_id":194090,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:38:12] local.INFO: Processing buffer {"connection_id":194090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:38:12] local.INFO: IMEI packet received {"connection_id":194090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":194090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:38:13] local.INFO: TCP Data received {"connection_id":194090,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e20940012c8d080007f70f88001d00c22c..."} 
[2026-09-24 15:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e20940012c8d080007f70f88001d00c22c..."} 
[2026-09-24 15:38:13] local.INFO: Processing buffer {"connection_id":194090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e20940012c8d080007f70f88001d00c22c..."} 
[2026-09-24 15:38:13] local.INFO: Packet analysis {"connection_id":194090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e2"} 
[2026-09-24 15:38:13] local.INFO: Extracted packet for processing {"connection_id":194090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e2"} 
[2026-09-24 15:38:13] local.INFO: GPS Element Parsed {"raw_longitude":747440128,"raw_latitude":133631880,"longitude_deg":74.7440128,"latitude_deg":13.363188,"altitude":29,"angle":194,"satellites":44,"speed":58,"hex_longitude":"2c8d0800","hex_latitude":"07f70f88","is_valid_coordinates":true} 
[2026-09-24 15:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,95,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790244424000,"timestamp_ms":1790244424000,"timestamp_seconds":1790244424,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e20940"} 
[2026-09-24 15:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 15:38:13] 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-09-24 15:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":194090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":194090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":194090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28126,"95":206,"9":54272,"24":58,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,9,24,16]} 
[2026-09-24 15:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 15:38:13] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-24 15:38:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:38:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28126,"unknown_95":206,"unknown_9":54272,"ignition":58,"odometer":null}} 
[2026-09-24 15:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":194090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890419,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:38:13] local.INFO: GPS data processed {"connection_id":194090,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:38:13] local.INFO: Acknowledgment sent {"connection_id":194090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:38:22] local.INFO: TCP Data received {"connection_id":192818,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2dfcb08012d196a00071fec30003e011222..."} 
[2026-09-24 15:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2dfcb08012d196a00071fec30003e011222..."} 
[2026-09-24 15:38:22] local.INFO: Processing buffer {"connection_id":192818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2dfcb08012d196a00071fec30003e011222..."} 
[2026-09-24 15:38:22] local.INFO: Packet analysis {"connection_id":192818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2df"} 
[2026-09-24 15:38:22] local.INFO: Extracted packet for processing {"connection_id":192818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2df"} 
[2026-09-24 15:38:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":34,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302529536001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790244277000,"timestamp_ms":1790244277000,"timestamp_seconds":1790244277,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2dfcb08"} 
[2026-09-24 15:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 15:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302529536001,"66":12298,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302529536001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:38:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:38:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302529536001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":192818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:38:22] local.INFO: GPS data processed {"connection_id":192818,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:38:22] local.INFO: Acknowledgment sent {"connection_id":192818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:38:28] local.INFO: TCP Data received {"connection_id":191238,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:38:28] local.INFO: Processing buffer {"connection_id":191238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:38:28] local.INFO: IMEI packet received {"connection_id":191238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":191238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:38:33] local.INFO: TCP Data received {"connection_id":191238,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:38:33] local.INFO: Processing buffer {"connection_id":191238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:38:33] local.INFO: IMEI packet received {"connection_id":191238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":191238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:38:34] local.INFO: TCP Data received {"connection_id":191238,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:38:34] local.INFO: Processing buffer {"connection_id":191238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:38:34] local.INFO: Packet analysis {"connection_id":191238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:38:34] local.INFO: Extracted packet for processing {"connection_id":191238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:38:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302483200001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790244376000,"timestamp_ms":1790244376000,"timestamp_seconds":1790244376,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e14dc0"} 
[2026-09-24 15:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 15:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302483200001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302483200001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:38:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:38:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302483200001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":191238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:38:34] local.INFO: GPS data processed {"connection_id":191238,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:38:34] local.INFO: Acknowledgment sent {"connection_id":191238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:38:41] local.INFO: TCP Data received {"connection_id":192819,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e2a198012d0c614007036f20001600100e..."} 
[2026-09-24 15:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e2a198012d0c614007036f20001600100e..."} 
[2026-09-24 15:38:41] local.INFO: Processing buffer {"connection_id":192819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e2a198012d0c614007036f20001600100e..."} 
[2026-09-24 15:38:41] local.INFO: Packet analysis {"connection_id":192819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e2"} 
[2026-09-24 15:38:41] local.INFO: Extracted packet for processing {"connection_id":192819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e2"} 
[2026-09-24 15:38:41] local.INFO: GPS Element Parsed {"raw_longitude":755786048,"raw_latitude":117665568,"longitude_deg":75.5786048,"latitude_deg":11.7665568,"altitude":22,"angle":16,"satellites":14,"speed":8,"hex_longitude":"2d0c6140","hex_latitude":"07036f20","is_valid_coordinates":true} 
[2026-09-24 15:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302582272001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33640868216832000,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891994231318392832,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790244463000,"timestamp_ms":1790244463000,"timestamp_seconds":1790244463,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e2a198"} 
[2026-09-24 15:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-24 15:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192819,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192819,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302582272001,"66":14407,"37":206,"94":11008,"24":8,"16":33640868216832000,"45":891994231318392832},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 15:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302582272001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:38:41] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 15:38:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 15:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33640868216832000,"km_value":33640868216832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":891994231318392832,"description":"Unknown IO ID 45"} 
[2026-09-24 15:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302582272001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":891994231318392832}} 
[2026-09-24 15:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":192819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890422,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:38:41] local.INFO: GPS data processed {"connection_id":192819,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:38:41] local.INFO: Acknowledgment sent {"connection_id":192819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:38:45] local.INFO: TCP Data received {"connection_id":191441,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:38:45] local.INFO: Processing buffer {"connection_id":191441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:38:45] local.INFO: IMEI packet received {"connection_id":191441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":191441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:38:45] local.INFO: TCP Data received {"connection_id":194090,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e247c0012c8ce80007f6bcd8002000d02b..."} 
[2026-09-24 15:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e247c0012c8ce80007f6bcd8002000d02b..."} 
[2026-09-24 15:38:45] local.INFO: Processing buffer {"connection_id":194090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e247c0012c8ce80007f6bcd8002000d02b..."} 
[2026-09-24 15:38:45] local.INFO: Packet analysis {"connection_id":194090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e2"} 
[2026-09-24 15:38:45] local.INFO: Extracted packet for processing {"connection_id":194090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e2"} 
[2026-09-24 15:38:45] local.INFO: GPS Element Parsed {"raw_longitude":747431936,"raw_latitude":133610712,"longitude_deg":74.7431936,"latitude_deg":13.3610712,"altitude":32,"angle":208,"satellites":43,"speed":55,"hex_longitude":"2c8ce800","hex_latitude":"07f6bcd8","is_valid_coordinates":true} 
[2026-09-24 15:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302572544001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8284371480338266112,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790244440000,"timestamp_ms":1790244440000,"timestamp_seconds":1790244440,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e247c0"} 
[2026-09-24 15:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:38: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-09-24 15:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-24 15:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":194090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":194090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":194090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302572544001,"66":28267,"95":206,"9":54272,"24":55,"16":3605341577150464,"44":-8284371480338266112},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,9,24,16,44]} 
[2026-09-24 15:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302572544001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:38:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-24 15:38:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:38:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8284371480338266112,"description":"Unknown IO ID 44"} 
[2026-09-24 15:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302572544001,"power":28267,"unknown_95":206,"unknown_9":54272,"ignition":55,"odometer":null,"unknown_44":-8284371480338266112}} 
[2026-09-24 15:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":194090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890423,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:38:45] local.INFO: GPS data processed {"connection_id":194090,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:38:45] local.INFO: Acknowledgment sent {"connection_id":194090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:38:45] local.INFO: TCP Data received {"connection_id":191441,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:38:45] local.INFO: Processing buffer {"connection_id":191441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:38:45] local.INFO: IMEI packet received {"connection_id":191441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":191441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:38:50] local.INFO: TCP Data received {"connection_id":191441,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:38:50] local.INFO: Processing buffer {"connection_id":191441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:38:50] local.INFO: IMEI packet received {"connection_id":191441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":191441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:38:51] local.INFO: TCP Data received {"connection_id":191441,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e01d10012d196a00071fec30003e011228..."} 
[2026-09-24 15:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e01d10012d196a00071fec30003e011228..."} 
[2026-09-24 15:38:51] local.INFO: Processing buffer {"connection_id":191441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e01d10012d196a00071fec30003e011228..."} 
[2026-09-24 15:38:51] local.INFO: Packet analysis {"connection_id":191441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e0"} 
[2026-09-24 15:38:51] local.INFO: Extracted packet for processing {"connection_id":191441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e0"} 
[2026-09-24 15:38:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302534912001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790244298000,"timestamp_ms":1790244298000,"timestamp_seconds":1790244298,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e01d10"} 
[2026-09-24 15:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:38: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-09-24 15:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-24 15:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513388573450174738,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:51] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185681,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:51] local.WARNING: Large IO value detected {"io_id":114,"raw_value":-4467570830351532031,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3252288530890811030,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:51] local.WARNING: Large IO value detected {"io_id":62,"raw_value":77170323107086336,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:51] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:51] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3498171893048279246,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:51] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3733121025,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3962568766,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 15:38:51] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862840,"note":"Value kept but may cause issues"} 
[2026-09-24 15:38:51] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,114,160,121,45,236,62,39,10,66,38,41,212,1,240,140,227,210,31,4,113,205,48,106,239,2,81,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 15:38:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467872242566430720,"timestamp_seconds":4467872242566430.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 15:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302534912001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302534912001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:38:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:38:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302534912001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":191441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:38:51] local.INFO: GPS data processed {"connection_id":191441,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:38:51] local.INFO: Acknowledgment sent {"connection_id":191441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:39:05] local.INFO: TCP Data received {"connection_id":191239,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191239,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:39:05] local.INFO: Processing buffer {"connection_id":191239,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:39:05] local.INFO: IMEI packet received {"connection_id":191239,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 15:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":191239,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:39:06] local.INFO: TCP Data received {"connection_id":191238,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:39:06] local.INFO: Processing buffer {"connection_id":191238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:39:06] local.INFO: Packet analysis {"connection_id":191238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:39:06] local.INFO: Extracted packet for processing {"connection_id":191238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:39:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302483200001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790244376000,"timestamp_ms":1790244376000,"timestamp_seconds":1790244376,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e14dc0"} 
[2026-09-24 15:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 15:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302483200001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302483200001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:39:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:39:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302483200001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":191238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:39:06] local.INFO: GPS data processed {"connection_id":191238,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:39:06] local.INFO: Acknowledgment sent {"connection_id":191238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:39:07] local.INFO: TCP Data received {"connection_id":191239,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191239,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:39:07] local.INFO: Processing buffer {"connection_id":191239,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:39:07] local.INFO: IMEI packet received {"connection_id":191239,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":191239,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:39:07] local.INFO: TCP Data received {"connection_id":191239,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e2ad50012d0c618007037290001600050e..."} 
[2026-09-24 15:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e2ad50012d0c618007037290001600050e..."} 
[2026-09-24 15:39:07] local.INFO: Processing buffer {"connection_id":191239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e2ad50012d0c618007037290001600050e..."} 
[2026-09-24 15:39:07] local.INFO: Packet analysis {"connection_id":191239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e2"} 
[2026-09-24 15:39:07] local.INFO: Extracted packet for processing {"connection_id":191239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e2"} 
[2026-09-24 15:39:07] local.INFO: GPS Element Parsed {"raw_longitude":755786112,"raw_latitude":117666448,"longitude_deg":75.5786112,"latitude_deg":11.7666448,"altitude":22,"angle":5,"satellites":14,"speed":14,"hex_longitude":"2d0c6180","hex_latitude":"07037290","is_valid_coordinates":true} 
[2026-09-24 15:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302582528001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33640911166504960,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892064600062631936,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790244466000,"timestamp_ms":1790244466000,"timestamp_seconds":1790244466,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e2ad50"} 
[2026-09-24 15:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:39:07] 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-09-24 15:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-24 15:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191239,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191239,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302582528001,"66":14233,"37":206,"94":11008,"24":14,"16":33640911166504960,"45":892064600062631936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 15:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302582528001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:39:07] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 15:39:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 15:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33640911166504960,"km_value":33640911166504.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":892064600062631936,"description":"Unknown IO ID 45"} 
[2026-09-24 15:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302582528001,"power":14233,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":892064600062631936}} 
[2026-09-24 15:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":191239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890426,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:39:08] local.INFO: GPS data processed {"connection_id":191239,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:39:08] local.INFO: Acknowledgment sent {"connection_id":191239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:39:09] local.INFO: TCP Data received {"connection_id":194091,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194091,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:39:09] local.INFO: Processing buffer {"connection_id":194091,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:39:09] local.INFO: IMEI packet received {"connection_id":194091,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":194091,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:39:09] local.INFO: TCP Data received {"connection_id":191239,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e2ff58012d0c6340070393c00015000b0e..."} 
[2026-09-24 15:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e2ff58012d0c6340070393c00015000b0e..."} 
[2026-09-24 15:39:09] local.INFO: Processing buffer {"connection_id":191239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e2ff58012d0c6340070393c00015000b0e..."} 
[2026-09-24 15:39:09] local.INFO: Packet analysis {"connection_id":191239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e2"} 
[2026-09-24 15:39:09] local.INFO: Extracted packet for processing {"connection_id":191239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e2"} 
[2026-09-24 15:39:09] local.INFO: GPS Element Parsed {"raw_longitude":755786560,"raw_latitude":117674944,"longitude_deg":75.578656,"latitude_deg":11.7674944,"altitude":21,"angle":11,"satellites":14,"speed":0,"hex_longitude":"2d0c6340","hex_latitude":"070393c0","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302583296001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33641332073299968,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892134968807034880,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790244487000,"timestamp_ms":1790244487000,"timestamp_seconds":1790244487,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e2ff58"} 
[2026-09-24 15:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-24 15:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191239,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191239,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302583296001,"66":14559,"37":206,"94":11008,"24":0,"16":33641332073299968,"45":892134968807034880},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 15:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302583296001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:39:09] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 15:39:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 15:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33641332073299968,"km_value":33641332073299.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":892134968807034880,"description":"Unknown IO ID 45"} 
[2026-09-24 15:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302583296001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":892134968807034880}} 
[2026-09-24 15:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":191239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890427,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:39:09] local.INFO: GPS data processed {"connection_id":191239,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:39:09] local.INFO: Acknowledgment sent {"connection_id":191239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:39:12] local.INFO: TCP Data received {"connection_id":194091,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194091,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:39:12] local.INFO: Processing buffer {"connection_id":194091,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:39:12] local.INFO: IMEI packet received {"connection_id":194091,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":194091,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:39:17] local.INFO: TCP Data received {"connection_id":194091,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194091,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:39:17] local.INFO: Processing buffer {"connection_id":194091,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:39:17] local.INFO: IMEI packet received {"connection_id":194091,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":194091,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:39:18] local.INFO: TCP Data received {"connection_id":194091,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e299c8012c8cbcc007f66f38001f00cf2b..."} 
[2026-09-24 15:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e299c8012c8cbcc007f66f38001f00cf2b..."} 
[2026-09-24 15:39:18] local.INFO: Processing buffer {"connection_id":194091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e299c8012c8cbcc007f66f38001f00cf2b..."} 
[2026-09-24 15:39:18] local.INFO: Packet analysis {"connection_id":194091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e2"} 
[2026-09-24 15:39:18] local.INFO: Extracted packet for processing {"connection_id":194091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e2"} 
[2026-09-24 15:39:18] local.INFO: GPS Element Parsed {"raw_longitude":747420864,"raw_latitude":133590840,"longitude_deg":74.7420864,"latitude_deg":13.359084,"altitude":31,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2c8cbcc0","hex_latitude":"07f66f38","is_valid_coordinates":true} 
[2026-09-24 15:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302576640001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8293378679598426112,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790244461000,"timestamp_ms":1790244461000,"timestamp_seconds":1790244461,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e299c8"} 
[2026-09-24 15:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:39: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-09-24 15:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 15:39:18] 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-09-24 15:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":194091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":194091,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":194091,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302576640001,"66":28234,"173":206,"9":54272,"24":0,"16":3605341577150464,"44":-8293378679598426112},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,9,24,16,44]} 
[2026-09-24 15:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302576640001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:39:18] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-24 15:39:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:39:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8293378679598426112,"description":"Unknown IO ID 44"} 
[2026-09-24 15:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302576640001,"power":28234,"unknown_173":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8293378679598426112}} 
[2026-09-24 15:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":194091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890428,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:39:19] local.INFO: GPS data processed {"connection_id":194091,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:39:19] local.INFO: Acknowledgment sent {"connection_id":194091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:39:22] local.INFO: TCP Data received {"connection_id":191441,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e06f18012d196a00071fec30003e011226..."} 
[2026-09-24 15:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e06f18012d196a00071fec30003e011226..."} 
[2026-09-24 15:39:22] local.INFO: Processing buffer {"connection_id":191441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e06f18012d196a00071fec30003e011226..."} 
[2026-09-24 15:39:22] local.INFO: Packet analysis {"connection_id":191441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e0"} 
[2026-09-24 15:39:22] local.INFO: Extracted packet for processing {"connection_id":191441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e0"} 
[2026-09-24 15:39:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302540288001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790244319000,"timestamp_ms":1790244319000,"timestamp_seconds":1790244319,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e06f18"} 
[2026-09-24 15:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 15:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302540288001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302540288001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:39:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:39:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302540288001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:39:22] local.INFO: TCP Data received {"connection_id":194091,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e312e00100000000000000000000000000..."} 
[2026-09-24 15:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e312e00100000000000000000000000000..."} 
[2026-09-24 15:39:22] local.INFO: Processing buffer {"connection_id":194091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e312e00100000000000000000000000000..."} 
[2026-09-24 15:39:22] local.INFO: Packet analysis {"connection_id":194091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e3"} 
[2026-09-24 15:39:22] local.INFO: Extracted packet for processing {"connection_id":194091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e3"} 
[2026-09-24 15:39:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 15:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302582016001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8305552472346249216,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790244492000,"timestamp_ms":1790244492000,"timestamp_seconds":1790244492,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e312e0"} 
[2026-09-24 15:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-24 15:39:22] 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-09-24 15:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194091,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194091,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":194091,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:39:22] local.INFO: GPS data processed {"connection_id":194091,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:39:22] local.INFO: Acknowledgment sent {"connection_id":194091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":191441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:39:22] local.INFO: GPS data processed {"connection_id":191441,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:39:22] local.INFO: Acknowledgment sent {"connection_id":191441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:39:28] local.INFO: TCP Data received {"connection_id":191442,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:39:28] local.INFO: Processing buffer {"connection_id":191442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:39:28] local.INFO: IMEI packet received {"connection_id":191442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":191442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:39:33] local.INFO: TCP Data received {"connection_id":191442,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:39:33] local.INFO: Processing buffer {"connection_id":191442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:39:33] local.INFO: IMEI packet received {"connection_id":191442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":191442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:39:34] local.INFO: TCP Data received {"connection_id":191442,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:39:34] local.INFO: Processing buffer {"connection_id":191442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:39:34] local.INFO: Packet analysis {"connection_id":191442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:39:34] local.INFO: Extracted packet for processing {"connection_id":191442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:39:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302483200001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790244376000,"timestamp_ms":1790244376000,"timestamp_seconds":1790244376,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e14dc0"} 
[2026-09-24 15:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 15:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302483200001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302483200001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:39:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:39:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302483200001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":191442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:39:34] local.INFO: GPS data processed {"connection_id":191442,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:39:34] local.INFO: Acknowledgment sent {"connection_id":191442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:39:40] local.INFO: TCP Data received {"connection_id":191239,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e35160012d0c6440070397c00017000f0e..."} 
[2026-09-24 15:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e35160012d0c6440070397c00017000f0e..."} 
[2026-09-24 15:39:40] local.INFO: Processing buffer {"connection_id":191239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e35160012d0c6440070397c00017000f0e..."} 
[2026-09-24 15:39:40] local.INFO: Packet analysis {"connection_id":191239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e3"} 
[2026-09-24 15:39:40] local.INFO: Extracted packet for processing {"connection_id":191239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e3"} 
[2026-09-24 15:39:40] local.INFO: GPS Element Parsed {"raw_longitude":755786816,"raw_latitude":117675968,"longitude_deg":75.5786816,"latitude_deg":11.7675968,"altitude":23,"angle":15,"satellites":14,"speed":8,"hex_longitude":"2d0c6440","hex_latitude":"070397c0","is_valid_coordinates":true} 
[2026-09-24 15:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302588672001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33641387907874816,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892627550018453504,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790244508000,"timestamp_ms":1790244508000,"timestamp_seconds":1790244508,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e35160"} 
[2026-09-24 15:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:39:40] 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-09-24 15:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-24 15:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191239,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191239,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302588672001,"66":14635,"16":33641387907874816,"94":11008,"24":8,"45":892627550018453504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-24 15:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302588672001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33641387907874816,"km_value":33641387907874.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:39:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 15:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":892627550018453504,"description":"Unknown IO ID 45"} 
[2026-09-24 15:39:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458302588672001,"power":14635,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":892627550018453504}} 
[2026-09-24 15:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":191239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890431,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:39:40] local.INFO: GPS data processed {"connection_id":191239,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:39:40] local.INFO: Acknowledgment sent {"connection_id":191239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:39:45] local.INFO: TCP Data received {"connection_id":192820,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:39:45] local.INFO: Processing buffer {"connection_id":192820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:39:45] local.INFO: IMEI packet received {"connection_id":192820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":192820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:39:48] local.INFO: TCP Data received {"connection_id":192820,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:39:48] local.INFO: Processing buffer {"connection_id":192820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:39:48] local.INFO: IMEI packet received {"connection_id":192820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":192820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:39:50] local.INFO: TCP Data received {"connection_id":192820,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:39:50] local.INFO: Processing buffer {"connection_id":192820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:39:50] local.INFO: IMEI packet received {"connection_id":192820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":192820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:39:50] local.INFO: TCP Data received {"connection_id":192820,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e0c120012d196a00071fec30003e011227..."} 
[2026-09-24 15:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e0c120012d196a00071fec30003e011227..."} 
[2026-09-24 15:39:50] local.INFO: Processing buffer {"connection_id":192820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e0c120012d196a00071fec30003e011227..."} 
[2026-09-24 15:39:50] local.INFO: Packet analysis {"connection_id":192820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e0"} 
[2026-09-24 15:39:50] local.INFO: Extracted packet for processing {"connection_id":192820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e0"} 
[2026-09-24 15:39:50] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302545664001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790244340000,"timestamp_ms":1790244340000,"timestamp_seconds":1790244340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e0c120"} 
[2026-09-24 15:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302545664001,"66":12428,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302545664001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:39:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:39:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302545664001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":192820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:39:50] local.INFO: GPS data processed {"connection_id":192820,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:39:50] local.INFO: Acknowledgment sent {"connection_id":192820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:40:04] local.INFO: TCP Data received {"connection_id":192821,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:40:04] local.INFO: Processing buffer {"connection_id":192821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:40:04] local.INFO: IMEI packet received {"connection_id":192821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":192821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:40:04] local.INFO: TCP Data received {"connection_id":194092,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194092,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:40:04] local.INFO: Processing buffer {"connection_id":194092,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:40:04] local.INFO: IMEI packet received {"connection_id":194092,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 15:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":194092,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:40:06] local.INFO: TCP Data received {"connection_id":191442,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:40:06] local.INFO: Processing buffer {"connection_id":191442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:40:06] local.INFO: Packet analysis {"connection_id":191442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:40:06] local.INFO: Extracted packet for processing {"connection_id":191442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:40:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302483200001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790244376000,"timestamp_ms":1790244376000,"timestamp_seconds":1790244376,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e14dc0"} 
[2026-09-24 15:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 15:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302483200001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302483200001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:40:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:40:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302483200001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":191442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:40:06] local.INFO: GPS data processed {"connection_id":191442,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:40:06] local.INFO: Acknowledgment sent {"connection_id":191442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:40:07] local.INFO: TCP Data received {"connection_id":192821,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:40:07] local.INFO: Processing buffer {"connection_id":192821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:40:07] local.INFO: IMEI packet received {"connection_id":192821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":192821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:40:09] local.INFO: TCP Data received {"connection_id":194092,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194092,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:40:09] local.INFO: Processing buffer {"connection_id":194092,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:40:09] local.INFO: IMEI packet received {"connection_id":194092,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":194092,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:40:10] local.INFO: TCP Data received {"connection_id":194092,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e46aa0012d0c55c00703e2c8001800230e..."} 
[2026-09-24 15:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e46aa0012d0c55c00703e2c8001800230e..."} 
[2026-09-24 15:40:10] local.INFO: Processing buffer {"connection_id":194092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e46aa0012d0c55c00703e2c8001800230e..."} 
[2026-09-24 15:40:10] local.INFO: Packet analysis {"connection_id":194092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e4"} 
[2026-09-24 15:40:10] local.INFO: Extracted packet for processing {"connection_id":194092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e4"} 
[2026-09-24 15:40:10] local.INFO: GPS Element Parsed {"raw_longitude":755783104,"raw_latitude":117695176,"longitude_deg":75.5783104,"latitude_deg":11.7695176,"altitude":24,"angle":35,"satellites":14,"speed":8,"hex_longitude":"2d0c55c0","hex_latitude":"0703e2c8","is_valid_coordinates":true} 
[2026-09-24 15:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302608384001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33642594793684992,"note":"Value kept but may cause issues"} 
[2026-09-24 15:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889812800256327680,"note":"Value kept but may cause issues"} 
[2026-09-24 15:40:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790244580000,"timestamp_ms":1790244580000,"timestamp_seconds":1790244580,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e46aa0"} 
[2026-09-24 15:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 15:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":194092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":194092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":194092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302608384001,"66":14407,"16":33642594793684992,"94":11008,"24":8,"45":889812800256327680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-24 15:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302608384001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33642594793684992,"km_value":33642594793684.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:40:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 15:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":889812800256327680,"description":"Unknown IO ID 45"} 
[2026-09-24 15:40:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458302608384001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":889812800256327680}} 
[2026-09-24 15:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":194092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890434,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:40:10] local.INFO: GPS data processed {"connection_id":194092,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:40:10] local.INFO: Acknowledgment sent {"connection_id":194092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:40:12] local.INFO: TCP Data received {"connection_id":192821,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:40:12] local.INFO: Processing buffer {"connection_id":192821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:40:12] local.INFO: IMEI packet received {"connection_id":192821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":192821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:40:13] local.INFO: TCP Data received {"connection_id":192821,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e2ff58012c8c610007f5c910000e00cf2a..."} 
[2026-09-24 15:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e2ff58012c8c610007f5c910000e00cf2a..."} 
[2026-09-24 15:40:13] local.INFO: Processing buffer {"connection_id":192821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e2ff58012c8c610007f5c910000e00cf2a..."} 
[2026-09-24 15:40:13] local.INFO: Packet analysis {"connection_id":192821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e2"} 
[2026-09-24 15:40:13] local.INFO: Extracted packet for processing {"connection_id":192821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e2"} 
[2026-09-24 15:40:13] local.INFO: GPS Element Parsed {"raw_longitude":747397376,"raw_latitude":133548304,"longitude_deg":74.7397376,"latitude_deg":13.3548304,"altitude":14,"angle":207,"satellites":42,"speed":61,"hex_longitude":"2c8c6100","hex_latitude":"07f5c910","is_valid_coordinates":true} 
[2026-09-24 15:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:40:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,173,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790244487000,"timestamp_ms":1790244487000,"timestamp_seconds":1790244487,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e2ff58"} 
[2026-09-24 15:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 15:40:13] 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-09-24 15:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192821,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192821,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28267,"173":206,"9":54272,"24":61,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,9,24,16]} 
[2026-09-24 15:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 15:40:13] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-09-24 15:40:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:40:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28267,"unknown_173":206,"unknown_9":54272,"ignition":61,"odometer":null}} 
[2026-09-24 15:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":192821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890435,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:40:13] local.INFO: GPS data processed {"connection_id":192821,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:40:13] local.INFO: Acknowledgment sent {"connection_id":192821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:40:21] local.INFO: TCP Data received {"connection_id":192820,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e11328012d196a00071fec30003e011228..."} 
[2026-09-24 15:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e11328012d196a00071fec30003e011228..."} 
[2026-09-24 15:40:21] local.INFO: Processing buffer {"connection_id":192820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e11328012d196a00071fec30003e011228..."} 
[2026-09-24 15:40:21] local.INFO: Packet analysis {"connection_id":192820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:40:21] local.INFO: Extracted packet for processing {"connection_id":192820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:40:21] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302551040001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790244361000,"timestamp_ms":1790244361000,"timestamp_seconds":1790244361,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e11328"} 
[2026-09-24 15:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":192820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":192820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":192820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302551040001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302551040001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:40:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:40:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302551040001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":192820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:40:22] local.INFO: GPS data processed {"connection_id":192820,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:40:22] local.INFO: Acknowledgment sent {"connection_id":192820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:40:28] local.INFO: TCP Data received {"connection_id":191240,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:40:28] local.INFO: Processing buffer {"connection_id":191240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:40:28] local.INFO: IMEI packet received {"connection_id":191240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":191240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:40:33] local.INFO: TCP Data received {"connection_id":191240,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:40:33] local.INFO: Processing buffer {"connection_id":191240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:40:33] local.INFO: IMEI packet received {"connection_id":191240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":191240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:40:34] local.INFO: TCP Data received {"connection_id":191240,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:40:34] local.INFO: Processing buffer {"connection_id":191240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:40:34] local.INFO: Packet analysis {"connection_id":191240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:40:34] local.INFO: Extracted packet for processing {"connection_id":191240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:40:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302483200001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790244376000,"timestamp_ms":1790244376000,"timestamp_seconds":1790244376,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e14dc0"} 
[2026-09-24 15:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 15:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302483200001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302483200001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:40:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:40:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302483200001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":191240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:40:34] local.INFO: GPS data processed {"connection_id":191240,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:40:34] local.INFO: Acknowledgment sent {"connection_id":191240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:40:41] local.INFO: TCP Data received {"connection_id":194092,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e47a40012d0c59400703e670001800330e..."} 
[2026-09-24 15:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e47a40012d0c59400703e670001800330e..."} 
[2026-09-24 15:40:41] local.INFO: Processing buffer {"connection_id":194092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e47a40012d0c59400703e670001800330e..."} 
[2026-09-24 15:40:41] local.INFO: Packet analysis {"connection_id":194092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e4"} 
[2026-09-24 15:40:41] local.INFO: Extracted packet for processing {"connection_id":194092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e4"} 
[2026-09-24 15:40:41] local.INFO: GPS Element Parsed {"raw_longitude":755784000,"raw_latitude":117696112,"longitude_deg":75.5784,"latitude_deg":11.7696112,"altitude":24,"angle":51,"satellites":14,"speed":15,"hex_longitude":"2d0c5940","hex_latitude":"0703e670","is_valid_coordinates":true} 
[2026-09-24 15:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302612480001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33642654923227136,"note":"Value kept but may cause issues"} 
[2026-09-24 15:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888827637838039040,"note":"Value kept but may cause issues"} 
[2026-09-24 15:40:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790244584000,"timestamp_ms":1790244584000,"timestamp_seconds":1790244584,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e47a40"} 
[2026-09-24 15:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-24 15:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":194092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":194092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":194092,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302612480001,"66":14515,"16":33642654923227136,"94":11008,"24":15,"45":888827637838039040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-24 15:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302612480001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33642654923227136,"km_value":33642654923227.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:40:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 15:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":888827637838039040,"description":"Unknown IO ID 45"} 
[2026-09-24 15:40:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458302612480001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":15,"unknown_45":888827637838039040}} 
[2026-09-24 15:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":194092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890438,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:40:41] local.INFO: GPS data processed {"connection_id":194092,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:40:41] local.INFO: Acknowledgment sent {"connection_id":194092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:40:45] local.INFO: TCP Data received {"connection_id":191241,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:40:45] local.INFO: Processing buffer {"connection_id":191241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:40:45] local.INFO: IMEI packet received {"connection_id":191241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":191241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:40:45] local.INFO: TCP Data received {"connection_id":192821,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e34d78012c8c350007f576f8000b00cf2a..."} 
[2026-09-24 15:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e34d78012c8c350007f576f8000b00cf2a..."} 
[2026-09-24 15:40:45] local.INFO: Processing buffer {"connection_id":192821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e34d78012c8c350007f576f8000b00cf2a..."} 
[2026-09-24 15:40:45] local.INFO: Packet analysis {"connection_id":192821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e3"} 
[2026-09-24 15:40:45] local.INFO: Extracted packet for processing {"connection_id":192821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e3"} 
[2026-09-24 15:40:45] local.INFO: GPS Element Parsed {"raw_longitude":747386112,"raw_latitude":133527288,"longitude_deg":74.7386112,"latitude_deg":13.3527288,"altitude":11,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2c8c3500","hex_latitude":"07f576f8","is_valid_coordinates":true} 
[2026-09-24 15:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302588672001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:40:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8331377801470341120,"note":"Value kept but may cause issues"} 
[2026-09-24 15:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790244507000,"timestamp_ms":1790244507000,"timestamp_seconds":1790244507,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e34d78"} 
[2026-09-24 15:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:40: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-09-24 15:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 15:40:45] 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-09-24 15:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192821,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192821,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302588672001,"66":28343,"131":206,"9":54272,"24":0,"16":3605341577150464,"44":-8331377801470341120},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,9,24,16,44]} 
[2026-09-24 15:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302588672001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:40:45] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-24 15:40:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:40:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8331377801470341120,"description":"Unknown IO ID 44"} 
[2026-09-24 15:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302588672001,"power":28343,"unknown_131":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8331377801470341120}} 
[2026-09-24 15:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":192821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890439,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:40:45] local.INFO: GPS data processed {"connection_id":192821,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:40:45] local.INFO: Acknowledgment sent {"connection_id":192821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:40:50] local.INFO: TCP Data received {"connection_id":191241,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:40:50] local.INFO: Processing buffer {"connection_id":191241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:40:50] local.INFO: IMEI packet received {"connection_id":191241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":191241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:40:51] local.INFO: TCP Data received {"connection_id":191241,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e16530012d196a00071fec30003e011229..."} 
[2026-09-24 15:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e16530012d196a00071fec30003e011229..."} 
[2026-09-24 15:40:51] local.INFO: Processing buffer {"connection_id":191241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e16530012d196a00071fec30003e011229..."} 
[2026-09-24 15:40:51] local.INFO: Packet analysis {"connection_id":191241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:40:51] local.INFO: Extracted packet for processing {"connection_id":191241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:40:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302556416001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790244382000,"timestamp_ms":1790244382000,"timestamp_seconds":1790244382,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e16530"} 
[2026-09-24 15:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302556416001,"66":12428,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302556416001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:40:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:40:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302556416001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":191241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:40:51] local.INFO: GPS data processed {"connection_id":191241,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:40:51] local.INFO: Acknowledgment sent {"connection_id":191241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:41:06] local.INFO: TCP Data received {"connection_id":191240,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:41:06] local.INFO: Processing buffer {"connection_id":191240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:41:06] local.INFO: Packet analysis {"connection_id":191240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:41:06] local.INFO: Extracted packet for processing {"connection_id":191240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:41:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302483200001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790244376000,"timestamp_ms":1790244376000,"timestamp_seconds":1790244376,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e14dc0"} 
[2026-09-24 15:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 15:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302483200001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302483200001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:41:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:41:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302483200001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":191240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:41:06] local.INFO: GPS data processed {"connection_id":191240,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:41:06] local.INFO: Acknowledgment sent {"connection_id":191240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:41:07] local.INFO: TCP Data received {"connection_id":191242,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:41:07] local.INFO: Processing buffer {"connection_id":191242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:41:07] local.INFO: IMEI packet received {"connection_id":191242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 15:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":191242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:41:08] local.INFO: TCP Data received {"connection_id":191242,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:41:08] local.INFO: Processing buffer {"connection_id":191242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:41:08] local.INFO: IMEI packet received {"connection_id":191242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":191242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:41:14] local.INFO: TCP Data received {"connection_id":191242,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:41:14] local.INFO: Processing buffer {"connection_id":191242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:41:14] local.INFO: IMEI packet received {"connection_id":191242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":191242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:41:14] local.INFO: TCP Data received {"connection_id":191242,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e4ad08012d0c75400703fc10001900380e..."} 
[2026-09-24 15:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e4ad08012d0c75400703fc10001900380e..."} 
[2026-09-24 15:41:14] local.INFO: Processing buffer {"connection_id":191242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e4ad08012d0c75400703fc10001900380e..."} 
[2026-09-24 15:41:14] local.INFO: Packet analysis {"connection_id":191242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e4"} 
[2026-09-24 15:41:14] local.INFO: Extracted packet for processing {"connection_id":191242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e4"} 
[2026-09-24 15:41:14] local.INFO: GPS Element Parsed {"raw_longitude":755791168,"raw_latitude":117701648,"longitude_deg":75.5791168,"latitude_deg":11.7701648,"altitude":25,"angle":56,"satellites":14,"speed":33,"hex_longitude":"2d0c7540","hex_latitude":"0703fc10","is_valid_coordinates":true} 
[2026-09-24 15:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302613504001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33643088714924032,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889812800256765952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790244597000,"timestamp_ms":1790244597000,"timestamp_seconds":1790244597,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e4ad08"} 
[2026-09-24 15:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-24 15:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302613504001,"66":14439,"16":33643088714924032,"94":11008,"24":33,"45":889812800256765952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-24 15:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302613504001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33643088714924032,"km_value":33643088714924.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:41:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 15:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":889812800256765952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:41:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458302613504001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":33,"unknown_45":889812800256765952}} 
[2026-09-24 15:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":191242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890442,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:41:14] local.INFO: GPS data processed {"connection_id":191242,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:41:14] local.INFO: Acknowledgment sent {"connection_id":191242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:41:22] local.INFO: TCP Data received {"connection_id":191241,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e1b738012d196a00071fec30003e01122a..."} 
[2026-09-24 15:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e1b738012d196a00071fec30003e01122a..."} 
[2026-09-24 15:41:22] local.INFO: Processing buffer {"connection_id":191241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e1b738012d196a00071fec30003e01122a..."} 
[2026-09-24 15:41:22] local.INFO: Packet analysis {"connection_id":191241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:41:22] local.INFO: Extracted packet for processing {"connection_id":191241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:41:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302561792001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790244403000,"timestamp_ms":1790244403000,"timestamp_seconds":1790244403,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e1b738"} 
[2026-09-24 15:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302561792001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302561792001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:41:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:41:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302561792001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":191241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:41:22] local.INFO: GPS data processed {"connection_id":191241,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:41:22] local.INFO: Acknowledgment sent {"connection_id":191241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:41:23] local.INFO: TCP Data received {"connection_id":191443,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:41:23] local.INFO: Processing buffer {"connection_id":191443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:41:23] local.INFO: IMEI packet received {"connection_id":191443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":191443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:41:26] local.INFO: TCP Data received {"connection_id":191443,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:41:26] local.INFO: Processing buffer {"connection_id":191443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:41:26] local.INFO: IMEI packet received {"connection_id":191443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":191443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:41:27] local.INFO: TCP Data received {"connection_id":191443,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e3ce600100000000000000000000000000..."} 
[2026-09-24 15:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e3ce600100000000000000000000000000..."} 
[2026-09-24 15:41:27] local.INFO: Processing buffer {"connection_id":191443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e3ce600100000000000000000000000000..."} 
[2026-09-24 15:41:27] local.INFO: Packet analysis {"connection_id":191443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e3"} 
[2026-09-24 15:41:27] local.INFO: Extracted packet for processing {"connection_id":191443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e3"} 
[2026-09-24 15:41:27] 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-09-24 15:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302593792001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8343762700450990080,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790244540000,"timestamp_ms":1790244540000,"timestamp_seconds":1790244540,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e3ce60"} 
[2026-09-24 15:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-24 15:41:27] 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-09-24 15:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":191443,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:41:27] local.INFO: GPS data processed {"connection_id":191443,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:41:27] local.INFO: Acknowledgment sent {"connection_id":191443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:41:28] local.INFO: TCP Data received {"connection_id":191243,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:41:28] local.INFO: Processing buffer {"connection_id":191243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:41:28] local.INFO: IMEI packet received {"connection_id":191243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":191243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:41:28] local.INFO: TCP Data received {"connection_id":191443,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e3bad8012c8be64007f4d560001000c72d..."} 
[2026-09-24 15:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e3bad8012c8be64007f4d560001000c72d..."} 
[2026-09-24 15:41:28] local.INFO: Processing buffer {"connection_id":191443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e3bad8012c8be64007f4d560001000c72d..."} 
[2026-09-24 15:41:28] local.INFO: Packet analysis {"connection_id":191443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e3"} 
[2026-09-24 15:41:28] local.INFO: Extracted packet for processing {"connection_id":191443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e3"} 
[2026-09-24 15:41:28] local.INFO: GPS Element Parsed {"raw_longitude":747365952,"raw_latitude":133485920,"longitude_deg":74.7365952,"latitude_deg":13.348592,"altitude":16,"angle":199,"satellites":45,"speed":53,"hex_longitude":"2c8be640","hex_latitude":"07f4d560","is_valid_coordinates":true} 
[2026-09-24 15:41: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-09-24 15:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,131,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790244535000,"timestamp_ms":1790244535000,"timestamp_seconds":1790244535,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e3bad8"} 
[2026-09-24 15:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:41:28] 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-09-24 15:41: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-09-24 15:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":191443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":191443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":191443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28332,"131":206,"9":54272,"24":53,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,9,24,16]} 
[2026-09-24 15:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 15:41:28] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-24 15:41:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:41:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28332,"unknown_131":206,"unknown_9":54272,"ignition":53,"odometer":null}} 
[2026-09-24 15:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":191443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890444,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:41:28] local.INFO: GPS data processed {"connection_id":191443,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:41:28] local.INFO: Acknowledgment sent {"connection_id":191443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:41:33] local.INFO: TCP Data received {"connection_id":191243,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:41:33] local.INFO: Processing buffer {"connection_id":191243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:41:33] local.INFO: IMEI packet received {"connection_id":191243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":191243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:41:34] local.INFO: TCP Data received {"connection_id":191243,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:41:34] local.INFO: Processing buffer {"connection_id":191243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e14dc0012d34c14006aa4940000900f527..."} 
[2026-09-24 15:41:34] local.INFO: Packet analysis {"connection_id":191243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:41:34] local.INFO: Extracted packet for processing {"connection_id":191243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e1"} 
[2026-09-24 15:41:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302483200001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790244376000,"timestamp_ms":1790244376000,"timestamp_seconds":1790244376,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e14dc0"} 
[2026-09-24 15:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 15:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302483200001,"66":25702,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302483200001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:41:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:41:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302483200001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":191243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:41:34] local.INFO: GPS data processed {"connection_id":191243,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:41:34] local.INFO: Acknowledgment sent {"connection_id":191243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:41:45] local.INFO: TCP Data received {"connection_id":191242,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e61080012d0c6b000704d5f8001901090f..."} 
[2026-09-24 15:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e61080012d0c6b000704d5f8001901090f..."} 
[2026-09-24 15:41:45] local.INFO: Processing buffer {"connection_id":191242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e61080012d0c6b000704d5f8001901090f..."} 
[2026-09-24 15:41:45] local.INFO: Packet analysis {"connection_id":191242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e6"} 
[2026-09-24 15:41:45] local.INFO: Extracted packet for processing {"connection_id":191242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e6"} 
[2026-09-24 15:41:45] local.INFO: GPS Element Parsed {"raw_longitude":755788544,"raw_latitude":117757432,"longitude_deg":75.5788544,"latitude_deg":11.7757432,"altitude":25,"angle":265,"satellites":15,"speed":41,"hex_longitude":"2d0c6b00","hex_latitude":"0704d5f8","is_valid_coordinates":true} 
[2026-09-24 15:41: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-09-24 15:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302638848001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33646614883074048,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":900579218131658752,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790244688000,"timestamp_ms":1790244688000,"timestamp_seconds":1790244688,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e61080"} 
[2026-09-24 15:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-24 15:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:41: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-09-24 15:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302638848001,"66":14309,"95":206,"94":10240,"24":41,"16":33646614883074048,"45":900579218131658752},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-24 15:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302638848001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:41:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-24 15:41:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33646614883074048,"km_value":33646614883074.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":900579218131658752,"description":"Unknown IO ID 45"} 
[2026-09-24 15:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302638848001,"power":14309,"unknown_95":206,"unknown_94":10240,"ignition":41,"odometer":null,"unknown_45":900579218131658752}} 
[2026-09-24 15:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":191242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890446,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:41:45] local.INFO: GPS data processed {"connection_id":191242,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:41:45] local.INFO: Acknowledgment sent {"connection_id":191242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:41:50] local.INFO: TCP Data received {"connection_id":194093,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:41:50] local.INFO: Processing buffer {"connection_id":194093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:41:50] local.INFO: IMEI packet received {"connection_id":194093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":194093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:41:54] local.INFO: TCP Data received {"connection_id":194093,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:41:54] local.INFO: Processing buffer {"connection_id":194093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:41:54] local.INFO: IMEI packet received {"connection_id":194093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":194093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:41:54] local.INFO: TCP Data received {"connection_id":194093,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e53d90012d196a00071fec30003e011226..."} 
[2026-09-24 15:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e53d90012d196a00071fec30003e011226..."} 
[2026-09-24 15:41:54] local.INFO: Processing buffer {"connection_id":194093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e53d90012d196a00071fec30003e011226..."} 
[2026-09-24 15:41:54] local.INFO: Packet analysis {"connection_id":194093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:41:54] local.INFO: Extracted packet for processing {"connection_id":194093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:41:54] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302620928001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790244634000,"timestamp_ms":1790244634000,"timestamp_seconds":1790244634,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e53d90"} 
[2026-09-24 15:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":194093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":194093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":194093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302620928001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302620928001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:41:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:41:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302620928001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":194093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:41:54] local.INFO: GPS data processed {"connection_id":194093,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:41:54] local.INFO: Acknowledgment sent {"connection_id":194093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:41:55] local.INFO: TCP Data received {"connection_id":194093,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e58f98012d196a00071fec30003e011226..."} 
[2026-09-24 15:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e58f98012d196a00071fec30003e011226..."} 
[2026-09-24 15:41:55] local.INFO: Processing buffer {"connection_id":194093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e58f98012d196a00071fec30003e011226..."} 
[2026-09-24 15:41:55] local.INFO: Packet analysis {"connection_id":194093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:41:55] local.INFO: Extracted packet for processing {"connection_id":194093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:41:55] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302626304001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790244655000,"timestamp_ms":1790244655000,"timestamp_seconds":1790244655,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e58f98"} 
[2026-09-24 15:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302626304001,"66":12363,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302626304001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:41:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:41:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302626304001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":194093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:41:55] local.INFO: GPS data processed {"connection_id":194093,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:41:55] local.INFO: Acknowledgment sent {"connection_id":194093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:42:05] local.INFO: TCP Data received {"connection_id":191444,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191444,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:42:05] local.INFO: Processing buffer {"connection_id":191444,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:42:05] local.INFO: IMEI packet received {"connection_id":191444,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 15:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":191444,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:42:06] local.INFO: TCP Data received {"connection_id":191444,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191444,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:42:06] local.INFO: Processing buffer {"connection_id":191444,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:42:06] local.INFO: IMEI packet received {"connection_id":191444,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":191444,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:42:06] local.INFO: TCP Data received {"connection_id":191243,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:42:06] local.INFO: Processing buffer {"connection_id":191243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:42:06] local.INFO: Packet analysis {"connection_id":191243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:42:06] local.INFO: Extracted packet for processing {"connection_id":191243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:42:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302560256001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790244677000,"timestamp_ms":1790244677000,"timestamp_seconds":1790244677,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e5e588"} 
[2026-09-24 15:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302560256001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302560256001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:42:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:42:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302560256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":191243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:42:06] local.INFO: GPS data processed {"connection_id":191243,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:42:06] local.INFO: Acknowledgment sent {"connection_id":191243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:42:06] local.INFO: TCP Data received {"connection_id":191445,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191445,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:42:06] local.INFO: Processing buffer {"connection_id":191445,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:42:06] local.INFO: IMEI packet received {"connection_id":191445,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":191445,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:42:08] local.INFO: TCP Data received {"connection_id":191445,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191445,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:42:08] local.INFO: Processing buffer {"connection_id":191445,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:42:08] local.INFO: IMEI packet received {"connection_id":191445,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":191445,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:42:10] local.INFO: TCP Data received {"connection_id":191444,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191444,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:42:10] local.INFO: Processing buffer {"connection_id":191444,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:42:10] local.INFO: IMEI packet received {"connection_id":191444,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":191444,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:42:11] local.INFO: TCP Data received {"connection_id":191444,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e627f0012d0c54800704d0f0001700fc0f..."} 
[2026-09-24 15:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e627f0012d0c54800704d0f0001700fc0f..."} 
[2026-09-24 15:42:11] local.INFO: Processing buffer {"connection_id":191444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e627f0012d0c54800704d0f0001700fc0f..."} 
[2026-09-24 15:42:11] local.INFO: Packet analysis {"connection_id":191444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e6"} 
[2026-09-24 15:42:11] local.INFO: Extracted packet for processing {"connection_id":191444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e6"} 
[2026-09-24 15:42:11] local.INFO: GPS Element Parsed {"raw_longitude":755782784,"raw_latitude":117756144,"longitude_deg":75.5782784,"latitude_deg":11.7756144,"altitude":23,"angle":252,"satellites":15,"speed":31,"hex_longitude":"2d0c5480","hex_latitude":"0704d0f0","is_valid_coordinates":true} 
[2026-09-24 15:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302640128001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33646894055948288,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894808981109078016,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790244694000,"timestamp_ms":1790244694000,"timestamp_seconds":1790244694,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e627f0"} 
[2026-09-24 15:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-24 15:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302640128001,"66":14548,"95":206,"94":10240,"24":31,"16":33646894055948288,"45":894808981109078016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-24 15:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302640128001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:42:11] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-24 15:42:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33646894055948288,"km_value":33646894055948.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":894808981109078016,"description":"Unknown IO ID 45"} 
[2026-09-24 15:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302640128001,"power":14548,"unknown_95":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":894808981109078016}} 
[2026-09-24 15:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":191444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890450,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:42:11] local.INFO: GPS data processed {"connection_id":191444,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:42:11] local.INFO: Acknowledgment sent {"connection_id":191444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:42:11] local.INFO: TCP Data received {"connection_id":191445,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191445,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:42:11] local.INFO: Processing buffer {"connection_id":191445,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:42:11] local.INFO: IMEI packet received {"connection_id":191445,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":191445,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:42:12] local.INFO: TCP Data received {"connection_id":191445,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e408f8012c8bca0007f48510001200c62b..."} 
[2026-09-24 15:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e408f8012c8bca0007f48510001200c62b..."} 
[2026-09-24 15:42:12] local.INFO: Processing buffer {"connection_id":191445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e408f8012c8bca0007f48510001200c62b..."} 
[2026-09-24 15:42:12] local.INFO: Packet analysis {"connection_id":191445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e4"} 
[2026-09-24 15:42:12] local.INFO: Extracted packet for processing {"connection_id":191445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e4"} 
[2026-09-24 15:42:12] local.INFO: GPS Element Parsed {"raw_longitude":747358720,"raw_latitude":133465360,"longitude_deg":74.735872,"latitude_deg":13.346536,"altitude":18,"angle":198,"satellites":43,"speed":0,"hex_longitude":"2c8bca00","hex_latitude":"07f48510","is_valid_coordinates":true} 
[2026-09-24 15:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302600960001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8365928854877544448,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790244555000,"timestamp_ms":1790244555000,"timestamp_seconds":1790244555,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e408f8"} 
[2026-09-24 15:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 15:42:12] 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-09-24 15:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191445,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191445,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302600960001,"66":28332,"131":206,"9":54272,"24":0,"16":3605341577150464,"44":-8365928854877544448},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,9,24,16,44]} 
[2026-09-24 15:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302600960001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:42:12] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-24 15:42:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:42:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8365928854877544448,"description":"Unknown IO ID 44"} 
[2026-09-24 15:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302600960001,"power":28332,"unknown_131":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8365928854877544448}} 
[2026-09-24 15:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":191445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890451,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:42:12] local.INFO: GPS data processed {"connection_id":191445,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:42:12] local.INFO: Acknowledgment sent {"connection_id":191445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:42:17] local.INFO: TCP Data received {"connection_id":191445,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e43bc0012c8bc5c007f43038001200a92e..."} 
[2026-09-24 15:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e43bc0012c8bc5c007f43038001200a92e..."} 
[2026-09-24 15:42:17] local.INFO: Processing buffer {"connection_id":191445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e43bc0012c8bc5c007f43038001200a92e..."} 
[2026-09-24 15:42:17] local.INFO: Packet analysis {"connection_id":191445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e4"} 
[2026-09-24 15:42:17] local.INFO: Extracted packet for processing {"connection_id":191445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e4"} 
[2026-09-24 15:42:17] local.INFO: GPS Element Parsed {"raw_longitude":747357632,"raw_latitude":133443640,"longitude_deg":74.7357632,"latitude_deg":13.344364,"altitude":18,"angle":169,"satellites":46,"speed":57,"hex_longitude":"2c8bc5c0","hex_latitude":"07f43038","is_valid_coordinates":true} 
[2026-09-24 15:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302606080001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8373880522974883840,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790244568000,"timestamp_ms":1790244568000,"timestamp_seconds":1790244568,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e43bc0"} 
[2026-09-24 15:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:42:17] 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-09-24 15:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 15:42:17] 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-09-24 15:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191445,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191445,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302606080001,"66":28354,"131":206,"9":54272,"24":57,"16":3605341577150464,"44":-8373880522974883840},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,9,24,16,44]} 
[2026-09-24 15:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302606080001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:42:17] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-24 15:42:17] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:42:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8373880522974883840,"description":"Unknown IO ID 44"} 
[2026-09-24 15:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302606080001,"power":28354,"unknown_131":206,"unknown_9":54272,"ignition":57,"odometer":null,"unknown_44":-8373880522974883840}} 
[2026-09-24 15:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":191445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890452,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:42:17] local.INFO: GPS data processed {"connection_id":191445,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:42:17] local.INFO: Acknowledgment sent {"connection_id":191445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:42:26] local.INFO: TCP Data received {"connection_id":194093,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e5e1a0012d196a00071fec30003e011227..."} 
[2026-09-24 15:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e5e1a0012d196a00071fec30003e011227..."} 
[2026-09-24 15:42:26] local.INFO: Processing buffer {"connection_id":194093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e5e1a0012d196a00071fec30003e011227..."} 
[2026-09-24 15:42:26] local.INFO: Packet analysis {"connection_id":194093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:42:26] local.INFO: Extracted packet for processing {"connection_id":194093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:42:26] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302631680001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790244676000,"timestamp_ms":1790244676000,"timestamp_seconds":1790244676,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e5e1a0"} 
[2026-09-24 15:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-24 15:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:42: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-09-24 15:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":194093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":194093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":194093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302631680001,"66":12363,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302631680001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:42:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:42:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302631680001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":194093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:42:26] local.INFO: GPS data processed {"connection_id":194093,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:42:26] local.INFO: Acknowledgment sent {"connection_id":194093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:42:28] local.INFO: TCP Data received {"connection_id":191446,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:42:28] local.INFO: Processing buffer {"connection_id":191446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:42:28] local.INFO: IMEI packet received {"connection_id":191446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":191446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:42:33] local.INFO: TCP Data received {"connection_id":191446,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:42:33] local.INFO: Processing buffer {"connection_id":191446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:42:33] local.INFO: IMEI packet received {"connection_id":191446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":191446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:42:37] local.INFO: TCP Data received {"connection_id":191446,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:42:37] local.INFO: Processing buffer {"connection_id":191446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:42:37] local.INFO: Packet analysis {"connection_id":191446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:42:37] local.INFO: Extracted packet for processing {"connection_id":191446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302560256001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790244677000,"timestamp_ms":1790244677000,"timestamp_seconds":1790244677,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e5e588"} 
[2026-09-24 15:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302560256001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302560256001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302560256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":191446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:42:37] local.INFO: GPS data processed {"connection_id":191446,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:42:37] local.INFO: Acknowledgment sent {"connection_id":191446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:42:42] local.INFO: TCP Data received {"connection_id":191444,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e71a20012d0b7c000704bfc0000401520f..."} 
[2026-09-24 15:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e71a20012d0b7c000704bfc0000401520f..."} 
[2026-09-24 15:42:42] local.INFO: Processing buffer {"connection_id":191444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e71a20012d0b7c000704bfc0000401520f..."} 
[2026-09-24 15:42:42] local.INFO: Packet analysis {"connection_id":191444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e7"} 
[2026-09-24 15:42:42] local.INFO: Extracted packet for processing {"connection_id":191444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e7"} 
[2026-09-24 15:42:42] local.INFO: GPS Element Parsed {"raw_longitude":755727360,"raw_latitude":117751744,"longitude_deg":75.572736,"latitude_deg":11.7751744,"altitude":4,"angle":338,"satellites":15,"speed":19,"hex_longitude":"2d0b7c00","hex_latitude":"0704bfc0","is_valid_coordinates":true} 
[2026-09-24 15:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302657280001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33649621360181248,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827747567906187264,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790244756000,"timestamp_ms":1790244756000,"timestamp_seconds":1790244756,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e71a20"} 
[2026-09-24 15:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-24 15:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302657280001,"66":14450,"96":206,"94":10240,"24":19,"16":33649621360181248,"45":827747567906187264},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-24 15:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302657280001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:42:42] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-24 15:42:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33649621360181248,"km_value":33649621360181.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":827747567906187264,"description":"Unknown IO ID 45"} 
[2026-09-24 15:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302657280001,"power":14450,"unknown_96":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":827747567906187264}} 
[2026-09-24 15:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":191444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890455,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:42:42] local.INFO: GPS data processed {"connection_id":191444,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:42:42] local.INFO: Acknowledgment sent {"connection_id":191444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:42:45] local.INFO: TCP Data received {"connection_id":194094,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:42:45] local.INFO: Processing buffer {"connection_id":194094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:42:45] local.INFO: IMEI packet received {"connection_id":194094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":194094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:42:49] local.INFO: TCP Data received {"connection_id":191445,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e489e0012c8bd40007f3d660001000ad2e..."} 
[2026-09-24 15:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e489e0012c8bd40007f3d660001000ad2e..."} 
[2026-09-24 15:42:49] local.INFO: Processing buffer {"connection_id":191445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e489e0012c8bd40007f3d660001000ad2e..."} 
[2026-09-24 15:42:49] local.INFO: Packet analysis {"connection_id":191445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e4"} 
[2026-09-24 15:42:49] local.INFO: Extracted packet for processing {"connection_id":191445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e4"} 
[2026-09-24 15:42:49] local.INFO: GPS Element Parsed {"raw_longitude":747361280,"raw_latitude":133420640,"longitude_deg":74.736128,"latitude_deg":13.342064,"altitude":16,"angle":173,"satellites":46,"speed":0,"hex_longitude":"2c8bd400","hex_latitude":"07f3d660","is_valid_coordinates":true} 
[2026-09-24 15:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302609408001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8375076791631464448,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790244588000,"timestamp_ms":1790244588000,"timestamp_seconds":1790244588,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e489e0"} 
[2026-09-24 15:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 15:42: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-09-24 15:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191445,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191445,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302609408001,"66":28332,"130":206,"9":54272,"24":0,"16":3605341577150464,"44":-8375076791631464448},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,9,24,16,44]} 
[2026-09-24 15:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302609408001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:42:49] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-24 15:42:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:42:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8375076791631464448,"description":"Unknown IO ID 44"} 
[2026-09-24 15:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302609408001,"power":28332,"unknown_130":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8375076791631464448}} 
[2026-09-24 15:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":191445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890456,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:42:49] local.INFO: GPS data processed {"connection_id":191445,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:42:49] local.INFO: Acknowledgment sent {"connection_id":191445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:42:50] local.INFO: TCP Data received {"connection_id":194094,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:42:50] local.INFO: Processing buffer {"connection_id":194094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:42:50] local.INFO: IMEI packet received {"connection_id":194094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":194094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:42:51] local.INFO: TCP Data received {"connection_id":194094,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e633a8012d196a00071fec30003e011227..."} 
[2026-09-24 15:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e633a8012d196a00071fec30003e011227..."} 
[2026-09-24 15:42:51] local.INFO: Processing buffer {"connection_id":194094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e633a8012d196a00071fec30003e011227..."} 
[2026-09-24 15:42:51] local.INFO: Packet analysis {"connection_id":194094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e6"} 
[2026-09-24 15:42:51] local.INFO: Extracted packet for processing {"connection_id":194094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e6"} 
[2026-09-24 15:42:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302637056001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790244697000,"timestamp_ms":1790244697000,"timestamp_seconds":1790244697,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e633a8"} 
[2026-09-24 15:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-24 15:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302637056001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302637056001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:42:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:42:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302637056001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":194094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:42:51] local.INFO: GPS data processed {"connection_id":194094,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:42:51] local.INFO: Acknowledgment sent {"connection_id":194094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:43:06] local.INFO: TCP Data received {"connection_id":192822,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:43:06] local.INFO: Processing buffer {"connection_id":192822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:43:06] local.INFO: IMEI packet received {"connection_id":192822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":192822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:43:08] local.INFO: TCP Data received {"connection_id":191446,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:43:08] local.INFO: Processing buffer {"connection_id":191446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:43:08] local.INFO: Packet analysis {"connection_id":191446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:43:08] local.INFO: Extracted packet for processing {"connection_id":191446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:43:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302560256001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790244677000,"timestamp_ms":1790244677000,"timestamp_seconds":1790244677,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e5e588"} 
[2026-09-24 15:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:43:08] 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-09-24 15:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302560256001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302560256001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:43:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:43:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302560256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":191446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:43:08] local.INFO: GPS data processed {"connection_id":191446,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:43:08] local.INFO: Acknowledgment sent {"connection_id":191446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:43:08] local.INFO: TCP Data received {"connection_id":194095,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194095,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:43:08] local.INFO: Processing buffer {"connection_id":194095,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:43:08] local.INFO: IMEI packet received {"connection_id":194095,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 15:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":194095,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:43:09] local.INFO: TCP Data received {"connection_id":194095,"ip":"42.106.6.24","data_length":51,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-24 15:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194095,"packet_length":51,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-24 15:43:09] local.INFO: Processing buffer {"connection_id":194095,"buffer_length":51,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-24 15:43:09] local.INFO: IMEI packet received {"connection_id":194095,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":194095,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:43:11] local.INFO: TCP Data received {"connection_id":192822,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:43:11] local.INFO: Processing buffer {"connection_id":192822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:43:11] local.INFO: IMEI packet received {"connection_id":192822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":192822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:43:13] local.INFO: TCP Data received {"connection_id":192822,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e516800100000000000000000000000000..."} 
[2026-09-24 15:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e516800100000000000000000000000000..."} 
[2026-09-24 15:43:13] local.INFO: Processing buffer {"connection_id":192822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e516800100000000000000000000000000..."} 
[2026-09-24 15:43:13] local.INFO: Packet analysis {"connection_id":192822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:43:13] local.INFO: Extracted packet for processing {"connection_id":192822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:43:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 15:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302614528001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:43:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8371065773219225600,"note":"Value kept but may cause issues"} 
[2026-09-24 15:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790244624000,"timestamp_ms":1790244624000,"timestamp_seconds":1790244624,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e51680"} 
[2026-09-24 15:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 15:43:13] 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-09-24 15:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":192822,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:43:13] local.INFO: GPS data processed {"connection_id":192822,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:43:13] local.INFO: Acknowledgment sent {"connection_id":192822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:43:22] local.INFO: TCP Data received {"connection_id":194094,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e685b0012d196a00071fec30003e011228..."} 
[2026-09-24 15:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e685b0012d196a00071fec30003e011228..."} 
[2026-09-24 15:43:22] local.INFO: Processing buffer {"connection_id":194094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e685b0012d196a00071fec30003e011228..."} 
[2026-09-24 15:43:22] local.INFO: Packet analysis {"connection_id":194094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e6"} 
[2026-09-24 15:43:22] local.INFO: Extracted packet for processing {"connection_id":194094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e6"} 
[2026-09-24 15:43:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302642432001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790244718000,"timestamp_ms":1790244718000,"timestamp_seconds":1790244718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e685b0"} 
[2026-09-24 15:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 15:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302642432001,"66":12341,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302642432001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:43:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:43:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302642432001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":194094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:43:22] local.INFO: GPS data processed {"connection_id":194094,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:43:22] local.INFO: Acknowledgment sent {"connection_id":194094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:43:28] local.INFO: TCP Data received {"connection_id":194096,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:43:28] local.INFO: Processing buffer {"connection_id":194096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:43:28] local.INFO: IMEI packet received {"connection_id":194096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":194096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:43:33] local.INFO: TCP Data received {"connection_id":194096,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:43:33] local.INFO: Processing buffer {"connection_id":194096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:43:33] local.INFO: IMEI packet received {"connection_id":194096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":194096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:43:34] local.INFO: TCP Data received {"connection_id":194096,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:43:34] local.INFO: Processing buffer {"connection_id":194096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:43:34] local.INFO: Packet analysis {"connection_id":194096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:43:34] local.INFO: Extracted packet for processing {"connection_id":194096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:43:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302560256001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790244677000,"timestamp_ms":1790244677000,"timestamp_seconds":1790244677,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e5e588"} 
[2026-09-24 15:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302560256001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302560256001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:43:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:43:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302560256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":194096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:43:34] local.INFO: GPS data processed {"connection_id":194096,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:43:34] local.INFO: Acknowledgment sent {"connection_id":194096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:43:45] local.INFO: TCP Data received {"connection_id":191447,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:43:45] local.INFO: Processing buffer {"connection_id":191447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:43:45] local.INFO: IMEI packet received {"connection_id":191447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":191447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:43:47] local.INFO: TCP Data received {"connection_id":192822,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e4fb28012c8be34007f32cb0001d00b02d..."} 
[2026-09-24 15:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e4fb28012c8be34007f32cb0001d00b02d..."} 
[2026-09-24 15:43:47] local.INFO: Processing buffer {"connection_id":192822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e4fb28012c8be34007f32cb0001d00b02d..."} 
[2026-09-24 15:43:47] local.INFO: Packet analysis {"connection_id":192822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e4"} 
[2026-09-24 15:43:47] local.INFO: Extracted packet for processing {"connection_id":192822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e4"} 
[2026-09-24 15:43:47] local.INFO: GPS Element Parsed {"raw_longitude":747365184,"raw_latitude":133377200,"longitude_deg":74.7365184,"latitude_deg":13.33772,"altitude":29,"angle":176,"satellites":45,"speed":0,"hex_longitude":"2c8be340","hex_latitude":"07f32cb0","is_valid_coordinates":true} 
[2026-09-24 15:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:43:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,130,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790244617000,"timestamp_ms":1790244617000,"timestamp_seconds":1790244617,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e4fb28"} 
[2026-09-24 15:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:43: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-24 15:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":192822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":192822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":192822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28267,"130":206,"9":54272,"24":0,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,9,24,16]} 
[2026-09-24 15:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 15:43:47] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-24 15:43:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:43:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28267,"unknown_130":206,"unknown_9":54272,"ignition":0,"odometer":null}} 
[2026-09-24 15:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":192822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890461,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:43:47] local.INFO: GPS data processed {"connection_id":192822,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:43:47] local.INFO: Acknowledgment sent {"connection_id":192822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:43:50] local.INFO: TCP Data received {"connection_id":191447,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:43:50] local.INFO: Processing buffer {"connection_id":191447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:43:50] local.INFO: IMEI packet received {"connection_id":191447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":191447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:43:51] local.INFO: TCP Data received {"connection_id":191447,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e6d7b8012d196a00071fec30003e011227..."} 
[2026-09-24 15:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e6d7b8012d196a00071fec30003e011227..."} 
[2026-09-24 15:43:51] local.INFO: Processing buffer {"connection_id":191447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e6d7b8012d196a00071fec30003e011227..."} 
[2026-09-24 15:43:51] local.INFO: Packet analysis {"connection_id":191447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e6"} 
[2026-09-24 15:43:51] local.INFO: Extracted packet for processing {"connection_id":191447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e6"} 
[2026-09-24 15:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302647808001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790244739000,"timestamp_ms":1790244739000,"timestamp_seconds":1790244739,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e6d7b8"} 
[2026-09-24 15:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 15:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302647808001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302647808001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:43:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:43:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302647808001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":191447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:43:51] local.INFO: GPS data processed {"connection_id":191447,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:43:51] local.INFO: Acknowledgment sent {"connection_id":191447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:44:06] local.INFO: TCP Data received {"connection_id":194096,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:44:06] local.INFO: Processing buffer {"connection_id":194096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:44:06] local.INFO: Packet analysis {"connection_id":194096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:44:06] local.INFO: Extracted packet for processing {"connection_id":194096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302560256001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790244677000,"timestamp_ms":1790244677000,"timestamp_seconds":1790244677,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e5e588"} 
[2026-09-24 15:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302560256001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302560256001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:44:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:44:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302560256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":194096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:44:06] local.INFO: GPS data processed {"connection_id":194096,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:44:06] local.INFO: Acknowledgment sent {"connection_id":194096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:44:16] local.INFO: TCP Data received {"connection_id":191244,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:44:16] local.INFO: Processing buffer {"connection_id":191244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:44:16] local.INFO: IMEI packet received {"connection_id":191244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":191244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:44:21] local.INFO: TCP Data received {"connection_id":191244,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:44:21] local.INFO: Processing buffer {"connection_id":191244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:44:21] local.INFO: IMEI packet received {"connection_id":191244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":191244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:44:21] local.INFO: TCP Data received {"connection_id":191447,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e729c0012d196a00071fec30003e011227..."} 
[2026-09-24 15:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e729c0012d196a00071fec30003e011227..."} 
[2026-09-24 15:44:21] local.INFO: Processing buffer {"connection_id":191447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e729c0012d196a00071fec30003e011227..."} 
[2026-09-24 15:44:21] local.INFO: Packet analysis {"connection_id":191447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e7"} 
[2026-09-24 15:44:21] local.INFO: Extracted packet for processing {"connection_id":191447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e7"} 
[2026-09-24 15:44:21] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302653184001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790244760000,"timestamp_ms":1790244760000,"timestamp_seconds":1790244760,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e729c0"} 
[2026-09-24 15:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302653184001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302653184001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:44:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:44:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302653184001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":191447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:44:22] local.INFO: GPS data processed {"connection_id":191447,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:44:22] local.INFO: Acknowledgment sent {"connection_id":191447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:44:22] local.INFO: TCP Data received {"connection_id":191244,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e54948012c8be24007f2d948001b00b12c..."} 
[2026-09-24 15:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e54948012c8be24007f2d948001b00b12c..."} 
[2026-09-24 15:44:22] local.INFO: Processing buffer {"connection_id":191244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e54948012c8be24007f2d948001b00b12c..."} 
[2026-09-24 15:44:22] local.INFO: Packet analysis {"connection_id":191244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:44:22] local.INFO: Extracted packet for processing {"connection_id":191244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:44:22] local.INFO: GPS Element Parsed {"raw_longitude":747364928,"raw_latitude":133355848,"longitude_deg":74.7364928,"latitude_deg":13.3355848,"altitude":27,"angle":177,"satellites":44,"speed":0,"hex_longitude":"2c8be240","hex_latitude":"07f2d948","is_valid_coordinates":true} 
[2026-09-24 15:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302621952001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:44:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8366773279835508736,"note":"Value kept but may cause issues"} 
[2026-09-24 15:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790244637000,"timestamp_ms":1790244637000,"timestamp_seconds":1790244637,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e54948"} 
[2026-09-24 15:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 15:44:22] 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-09-24 15:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302621952001,"66":28300,"21":206,"9":54272,"24":0,"16":3605341577150464,"44":-8366773279835508736},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,9,24,16,44]} 
[2026-09-24 15:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302621952001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:44:22] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-24 15:44:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:44:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8366773279835508736,"description":"Unknown IO ID 44"} 
[2026-09-24 15:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302621952001,"power":28300,"unknown_21":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8366773279835508736}} 
[2026-09-24 15:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":191244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890465,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:44:23] local.INFO: GPS data processed {"connection_id":191244,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:44:23] local.INFO: Acknowledgment sent {"connection_id":191244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:44:28] local.INFO: TCP Data received {"connection_id":194097,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:44:28] local.INFO: Processing buffer {"connection_id":194097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:44:28] local.INFO: IMEI packet received {"connection_id":194097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":194097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:44:33] local.INFO: TCP Data received {"connection_id":194097,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:44:33] local.INFO: Processing buffer {"connection_id":194097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:44:33] local.INFO: IMEI packet received {"connection_id":194097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":194097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:44:34] local.INFO: TCP Data received {"connection_id":194097,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:44:34] local.INFO: Processing buffer {"connection_id":194097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:44:34] local.INFO: Packet analysis {"connection_id":194097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:44:34] local.INFO: Extracted packet for processing {"connection_id":194097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:44:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302560256001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790244677000,"timestamp_ms":1790244677000,"timestamp_seconds":1790244677,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e5e588"} 
[2026-09-24 15:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302560256001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302560256001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:44:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:44:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302560256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":194097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:44:34] local.INFO: GPS data processed {"connection_id":194097,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:44:34] local.INFO: Acknowledgment sent {"connection_id":194097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:44:45] local.INFO: TCP Data received {"connection_id":192824,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:44:45] local.INFO: Processing buffer {"connection_id":192824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:44:45] local.INFO: IMEI packet received {"connection_id":192824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":192824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:44:50] local.INFO: TCP Data received {"connection_id":192824,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:44:50] local.INFO: Processing buffer {"connection_id":192824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:44:50] local.INFO: IMEI packet received {"connection_id":192824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":192824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:44:51] local.INFO: TCP Data received {"connection_id":192824,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e77bc8012d196a00071fec30003e011229..."} 
[2026-09-24 15:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e77bc8012d196a00071fec30003e011229..."} 
[2026-09-24 15:44:51] local.INFO: Processing buffer {"connection_id":192824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e77bc8012d196a00071fec30003e011229..."} 
[2026-09-24 15:44:51] local.INFO: Packet analysis {"connection_id":192824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e7"} 
[2026-09-24 15:44:51] local.INFO: Extracted packet for processing {"connection_id":192824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e7"} 
[2026-09-24 15:44:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302658560001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790244781000,"timestamp_ms":1790244781000,"timestamp_seconds":1790244781,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e77bc8"} 
[2026-09-24 15:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 15:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302658560001,"66":12428,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302658560001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:44:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:44:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302658560001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":192824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:44:51] local.INFO: GPS data processed {"connection_id":192824,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:44:51] local.INFO: Acknowledgment sent {"connection_id":192824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:45:06] local.INFO: TCP Data received {"connection_id":194097,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:45:06] local.INFO: Processing buffer {"connection_id":194097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:45:06] local.INFO: Packet analysis {"connection_id":194097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:45:06] local.INFO: Extracted packet for processing {"connection_id":194097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:45:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302560256001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790244677000,"timestamp_ms":1790244677000,"timestamp_seconds":1790244677,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e5e588"} 
[2026-09-24 15:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302560256001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302560256001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:45:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:45:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302560256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":194097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:45:06] local.INFO: GPS data processed {"connection_id":194097,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:45:06] local.INFO: Acknowledgment sent {"connection_id":194097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:45:08] local.INFO: TCP Data received {"connection_id":191246,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191246,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:45:08] local.INFO: Processing buffer {"connection_id":191246,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:45:08] local.INFO: IMEI packet received {"connection_id":191246,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":191246,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:45:12] local.INFO: TCP Data received {"connection_id":191246,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191246,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:45:12] local.INFO: Processing buffer {"connection_id":191246,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:45:12] local.INFO: IMEI packet received {"connection_id":191246,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":191246,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:45:14] local.INFO: TCP Data received {"connection_id":191246,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e80480012c8ca80007ef46d0001300912c..."} 
[2026-09-24 15:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e80480012c8ca80007ef46d0001300912c..."} 
[2026-09-24 15:45:14] local.INFO: Processing buffer {"connection_id":191246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e80480012c8ca80007ef46d0001300912c..."} 
[2026-09-24 15:45:14] local.INFO: Packet analysis {"connection_id":191246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e8"} 
[2026-09-24 15:45:14] local.INFO: Extracted packet for processing {"connection_id":191246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e8"} 
[2026-09-24 15:45:14] local.INFO: GPS Element Parsed {"raw_longitude":747415552,"raw_latitude":133121744,"longitude_deg":74.7415552,"latitude_deg":13.3121744,"altitude":19,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2c8ca800","hex_latitude":"07ef46d0","is_valid_coordinates":true} 
[2026-09-24 15:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302667776001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:45:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8324833508366297088,"note":"Value kept but may cause issues"} 
[2026-09-24 15:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790244816000,"timestamp_ms":1790244816000,"timestamp_seconds":1790244816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e80480"} 
[2026-09-24 15:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-24 15:45:14] 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-09-24 15:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191246,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191246,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302667776001,"66":28354,"22":206,"9":54272,"24":0,"16":3605341577150464,"44":-8324833508366297088},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,9,24,16,44]} 
[2026-09-24 15:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302667776001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:45:14] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-09-24 15:45:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:45:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8324833508366297088,"description":"Unknown IO ID 44"} 
[2026-09-24 15:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302667776001,"power":28354,"unknown_22":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8324833508366297088}} 
[2026-09-24 15:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":191246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890469,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:45:14] local.INFO: GPS data processed {"connection_id":191246,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:45:14] local.INFO: Acknowledgment sent {"connection_id":191246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:45:17] local.INFO: TCP Data received {"connection_id":191246,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e8bc180100000000000000000000000000..."} 
[2026-09-24 15:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e8bc180100000000000000000000000000..."} 
[2026-09-24 15:45:17] local.INFO: Processing buffer {"connection_id":191246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e8bc180100000000000000000000000000..."} 
[2026-09-24 15:45:17] local.INFO: Packet analysis {"connection_id":191246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e8"} 
[2026-09-24 15:45:17] local.INFO: Extracted packet for processing {"connection_id":191246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e8"} 
[2026-09-24 15:45:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 15:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302672896001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:45:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8311393078233083904,"note":"Value kept but may cause issues"} 
[2026-09-24 15:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790244863000,"timestamp_ms":1790244863000,"timestamp_seconds":1790244863,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e8bc18"} 
[2026-09-24 15:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 15:45:17] 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-09-24 15:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191246,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191246,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":191246,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:45:17] local.INFO: GPS data processed {"connection_id":191246,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:45:17] local.INFO: Acknowledgment sent {"connection_id":191246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:45:22] local.INFO: TCP Data received {"connection_id":192824,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e7cdd0012d196a00071fec30003e011228..."} 
[2026-09-24 15:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e7cdd0012d196a00071fec30003e011228..."} 
[2026-09-24 15:45:22] local.INFO: Processing buffer {"connection_id":192824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e7cdd0012d196a00071fec30003e011228..."} 
[2026-09-24 15:45:22] local.INFO: Packet analysis {"connection_id":192824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e7"} 
[2026-09-24 15:45:22] local.INFO: Extracted packet for processing {"connection_id":192824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e7"} 
[2026-09-24 15:45:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302663936001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790244802000,"timestamp_ms":1790244802000,"timestamp_seconds":1790244802,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e7cdd0"} 
[2026-09-24 15:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302663936001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302663936001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:45:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:45:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302663936001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":192824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:45:22] local.INFO: GPS data processed {"connection_id":192824,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:45:22] local.INFO: Acknowledgment sent {"connection_id":192824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:45:28] local.INFO: TCP Data received {"connection_id":192825,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:45:28] local.INFO: Processing buffer {"connection_id":192825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:45:28] local.INFO: IMEI packet received {"connection_id":192825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":192825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:45:33] local.INFO: TCP Data received {"connection_id":192825,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:45:33] local.INFO: Processing buffer {"connection_id":192825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:45:33] local.INFO: IMEI packet received {"connection_id":192825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":192825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:45:34] local.INFO: TCP Data received {"connection_id":192825,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:45:34] local.INFO: Processing buffer {"connection_id":192825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:45:34] local.INFO: Packet analysis {"connection_id":192825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:45:34] local.INFO: Extracted packet for processing {"connection_id":192825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:45:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302560256001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790244677000,"timestamp_ms":1790244677000,"timestamp_seconds":1790244677,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e5e588"} 
[2026-09-24 15:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302560256001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302560256001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:45:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:45:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302560256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":192825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:45:34] local.INFO: GPS data processed {"connection_id":192825,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:45:34] local.INFO: Acknowledgment sent {"connection_id":192825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:45:45] local.INFO: TCP Data received {"connection_id":194098,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:45:45] local.INFO: Processing buffer {"connection_id":194098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:45:45] local.INFO: IMEI packet received {"connection_id":194098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":194098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:45:45] local.INFO: TCP Data received {"connection_id":194098,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:45:45] local.INFO: Processing buffer {"connection_id":194098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:45:45] local.INFO: IMEI packet received {"connection_id":194098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":194098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:45:49] local.INFO: TCP Data received {"connection_id":191246,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e879b0012c8d010007eeb170000e00a72d..."} 
[2026-09-24 15:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e879b0012c8d010007eeb170000e00a72d..."} 
[2026-09-24 15:45:49] local.INFO: Processing buffer {"connection_id":191246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e879b0012c8d010007eeb170000e00a72d..."} 
[2026-09-24 15:45:49] local.INFO: Packet analysis {"connection_id":191246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e8"} 
[2026-09-24 15:45:49] local.INFO: Extracted packet for processing {"connection_id":191246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e8"} 
[2026-09-24 15:45:49] local.INFO: GPS Element Parsed {"raw_longitude":747438336,"raw_latitude":133083504,"longitude_deg":74.7438336,"latitude_deg":13.3083504,"altitude":14,"angle":167,"satellites":45,"speed":60,"hex_longitude":"2c8d0100","hex_latitude":"07eeb170","is_valid_coordinates":true} 
[2026-09-24 15:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:45:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790244846000,"timestamp_ms":1790244846000,"timestamp_seconds":1790244846,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e879b0"} 
[2026-09-24 15:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-24 15:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191246,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191246,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28278,"17":206,"9":54272,"24":60,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,9,24,16]} 
[2026-09-24 15:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 15:45:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:45:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28278,"axis_x":206,"unknown_9":54272,"ignition":60,"odometer":null}} 
[2026-09-24 15:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":191246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890472,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:45:49] local.INFO: GPS data processed {"connection_id":191246,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:45:49] local.INFO: Acknowledgment sent {"connection_id":191246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:45:50] local.INFO: TCP Data received {"connection_id":194098,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:45:50] local.INFO: Processing buffer {"connection_id":194098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:45:50] local.INFO: IMEI packet received {"connection_id":194098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":194098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:45:51] local.INFO: TCP Data received {"connection_id":194098,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e81fd8012d196a00071fec30003e011223..."} 
[2026-09-24 15:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e81fd8012d196a00071fec30003e011223..."} 
[2026-09-24 15:45:51] local.INFO: Processing buffer {"connection_id":194098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e81fd8012d196a00071fec30003e011223..."} 
[2026-09-24 15:45:51] local.INFO: Packet analysis {"connection_id":194098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e8"} 
[2026-09-24 15:45:51] local.INFO: Extracted packet for processing {"connection_id":194098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e8"} 
[2026-09-24 15:45:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":35,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302669312001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790244823000,"timestamp_ms":1790244823000,"timestamp_seconds":1790244823,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e81fd8"} 
[2026-09-24 15:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302669312001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302669312001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:45:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:45:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302669312001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":194098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:45:51] local.INFO: GPS data processed {"connection_id":194098,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:45:51] local.INFO: Acknowledgment sent {"connection_id":194098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:46:06] local.INFO: TCP Data received {"connection_id":192825,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:46:06] local.INFO: Processing buffer {"connection_id":192825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:46:06] local.INFO: Packet analysis {"connection_id":192825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:46:06] local.INFO: Extracted packet for processing {"connection_id":192825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:46:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302560256001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790244677000,"timestamp_ms":1790244677000,"timestamp_seconds":1790244677,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e5e588"} 
[2026-09-24 15:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302560256001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302560256001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:46:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:46:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302560256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":192825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:46:06] local.INFO: GPS data processed {"connection_id":192825,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:46:06] local.INFO: Acknowledgment sent {"connection_id":192825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:46:07] local.INFO: TCP Data received {"connection_id":192826,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:46:07] local.INFO: Processing buffer {"connection_id":192826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:46:07] local.INFO: IMEI packet received {"connection_id":192826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":192826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:46:07] local.INFO: TCP Data received {"connection_id":192826,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:46:07] local.INFO: Processing buffer {"connection_id":192826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:46:07] local.INFO: IMEI packet received {"connection_id":192826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":192826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:46:12] local.INFO: TCP Data received {"connection_id":192826,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:46:12] local.INFO: Processing buffer {"connection_id":192826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:46:12] local.INFO: IMEI packet received {"connection_id":192826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":192826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:46:14] local.INFO: TCP Data received {"connection_id":192826,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e8c7d0012c8d09c007ee5478000b00ae2e..."} 
[2026-09-24 15:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e8c7d0012c8d09c007ee5478000b00ae2e..."} 
[2026-09-24 15:46:14] local.INFO: Processing buffer {"connection_id":192826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e8c7d0012c8d09c007ee5478000b00ae2e..."} 
[2026-09-24 15:46:14] local.INFO: Packet analysis {"connection_id":192826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e8"} 
[2026-09-24 15:46:14] local.INFO: Extracted packet for processing {"connection_id":192826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e8"} 
[2026-09-24 15:46:14] local.INFO: GPS Element Parsed {"raw_longitude":747440576,"raw_latitude":133059704,"longitude_deg":74.7440576,"latitude_deg":13.3059704,"altitude":11,"angle":174,"satellites":46,"speed":0,"hex_longitude":"2c8d09c0","hex_latitude":"07ee5478","is_valid_coordinates":true} 
[2026-09-24 15:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302680576001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:46:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8286341805315624960,"note":"Value kept but may cause issues"} 
[2026-09-24 15:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790244866000,"timestamp_ms":1790244866000,"timestamp_seconds":1790244866,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e8c7d0"} 
[2026-09-24 15:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:46:14] 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-09-24 15:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":192826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":192826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":192826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302680576001,"66":28148,"17":206,"9":54272,"24":0,"16":3605341577150464,"44":-8286341805315624960},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,9,24,16,44]} 
[2026-09-24 15:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302680576001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:46:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:46:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8286341805315624960,"description":"Unknown IO ID 44"} 
[2026-09-24 15:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302680576001,"power":28148,"axis_x":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8286341805315624960}} 
[2026-09-24 15:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":192826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890475,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:46:14] local.INFO: GPS data processed {"connection_id":192826,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:46:14] local.INFO: Acknowledgment sent {"connection_id":192826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:46:22] local.INFO: TCP Data received {"connection_id":194098,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e871e0012d196a00071fec30003e011228..."} 
[2026-09-24 15:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e871e0012d196a00071fec30003e011228..."} 
[2026-09-24 15:46:22] local.INFO: Processing buffer {"connection_id":194098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e871e0012d196a00071fec30003e011228..."} 
[2026-09-24 15:46:22] local.INFO: Packet analysis {"connection_id":194098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e8"} 
[2026-09-24 15:46:22] local.INFO: Extracted packet for processing {"connection_id":194098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e8"} 
[2026-09-24 15:46:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302674688001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790244844000,"timestamp_ms":1790244844000,"timestamp_seconds":1790244844,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e871e0"} 
[2026-09-24 15:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302674688001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302674688001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:46:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:46:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302674688001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":194098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:46:22] local.INFO: GPS data processed {"connection_id":194098,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:46:22] local.INFO: Acknowledgment sent {"connection_id":194098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:46:28] local.INFO: TCP Data received {"connection_id":192827,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:46:28] local.INFO: Processing buffer {"connection_id":192827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:46:28] local.INFO: IMEI packet received {"connection_id":192827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":192827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:46:33] local.INFO: TCP Data received {"connection_id":192827,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:46:33] local.INFO: Processing buffer {"connection_id":192827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:46:33] local.INFO: IMEI packet received {"connection_id":192827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":192827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:46:34] local.INFO: TCP Data received {"connection_id":192827,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:46:34] local.INFO: Processing buffer {"connection_id":192827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e5e588012d34c14006aa4940000900f527..."} 
[2026-09-24 15:46:34] local.INFO: Packet analysis {"connection_id":192827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:46:34] local.INFO: Extracted packet for processing {"connection_id":192827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e5"} 
[2026-09-24 15:46:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302560256001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790244677000,"timestamp_ms":1790244677000,"timestamp_seconds":1790244677,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e5e588"} 
[2026-09-24 15:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 15:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302560256001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302560256001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:46:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:46:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302560256001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":192827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:46:34] local.INFO: GPS data processed {"connection_id":192827,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:46:34] local.INFO: Acknowledgment sent {"connection_id":192827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:46:45] local.INFO: TCP Data received {"connection_id":191448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:46:45] local.INFO: Processing buffer {"connection_id":191448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:46:45] local.INFO: IMEI packet received {"connection_id":191448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":191448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:46:45] local.INFO: TCP Data received {"connection_id":192826,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e98b200100000000000000000000000000..."} 
[2026-09-24 15:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e98b200100000000000000000000000000..."} 
[2026-09-24 15:46:45] local.INFO: Processing buffer {"connection_id":192826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e98b200100000000000000000000000000..."} 
[2026-09-24 15:46:45] local.INFO: Packet analysis {"connection_id":192826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e9"} 
[2026-09-24 15:46:45] local.INFO: Extracted packet for processing {"connection_id":192826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e9"} 
[2026-09-24 15:46:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 15:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302685696001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:46:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8283878899275499520,"note":"Value kept but may cause issues"} 
[2026-09-24 15:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790244916000,"timestamp_ms":1790244916000,"timestamp_seconds":1790244916,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e98b20"} 
[2026-09-24 15:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-24 15:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":192826,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:46:45] local.INFO: GPS data processed {"connection_id":192826,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:46:45] local.INFO: Acknowledgment sent {"connection_id":192826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:46:48] local.INFO: TCP Data received {"connection_id":191448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:46:48] local.INFO: Processing buffer {"connection_id":191448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:46:48] local.INFO: IMEI packet received {"connection_id":191448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":191448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:46:50] local.INFO: TCP Data received {"connection_id":191448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:46:50] local.INFO: Processing buffer {"connection_id":191448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:46:50] local.INFO: IMEI packet received {"connection_id":191448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":191448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:46:51] local.INFO: TCP Data received {"connection_id":191448,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e8c3e8012d196a00071fec30003e011229..."} 
[2026-09-24 15:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e8c3e8012d196a00071fec30003e011229..."} 
[2026-09-24 15:46:51] local.INFO: Processing buffer {"connection_id":191448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e8c3e8012d196a00071fec30003e011229..."} 
[2026-09-24 15:46:51] local.INFO: Packet analysis {"connection_id":191448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e8"} 
[2026-09-24 15:46:51] local.INFO: Extracted packet for processing {"connection_id":191448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e8"} 
[2026-09-24 15:46:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302680064001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790244865000,"timestamp_ms":1790244865000,"timestamp_seconds":1790244865,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e8c3e8"} 
[2026-09-24 15:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302680064001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302680064001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:46:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:46:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302680064001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":191448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:46:51] local.INFO: GPS data processed {"connection_id":191448,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:46:51] local.INFO: Acknowledgment sent {"connection_id":191448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:47:06] local.INFO: TCP Data received {"connection_id":192827,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:47:06] local.INFO: Processing buffer {"connection_id":192827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:47:06] local.INFO: Packet analysis {"connection_id":192827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:47:06] local.INFO: Extracted packet for processing {"connection_id":192827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:47:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302637312001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790244978000,"timestamp_ms":1790244978000,"timestamp_seconds":1790244978,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ea7d50"} 
[2026-09-24 15:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 15:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302637312001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302637312001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:47:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:47:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302637312001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":192827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:47:06] local.INFO: GPS data processed {"connection_id":192827,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:47:06] local.INFO: Acknowledgment sent {"connection_id":192827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:47:06] local.INFO: TCP Data received {"connection_id":194100,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:47:06] local.INFO: Processing buffer {"connection_id":194100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:47:06] local.INFO: IMEI packet received {"connection_id":194100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":194100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:47:08] local.INFO: TCP Data received {"connection_id":194100,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:47:08] local.INFO: Processing buffer {"connection_id":194100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:47:08] local.INFO: IMEI packet received {"connection_id":194100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":194100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:47:12] local.INFO: TCP Data received {"connection_id":194100,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:47:12] local.INFO: Processing buffer {"connection_id":194100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:47:12] local.INFO: IMEI packet received {"connection_id":194100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":194100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:47:14] local.INFO: TCP Data received {"connection_id":194100,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e93530012c8d21c007eda0a8000a00ac2e..."} 
[2026-09-24 15:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e93530012c8d21c007eda0a8000a00ac2e..."} 
[2026-09-24 15:47:14] local.INFO: Processing buffer {"connection_id":194100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e93530012c8d21c007eda0a8000a00ac2e..."} 
[2026-09-24 15:47:14] local.INFO: Packet analysis {"connection_id":194100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e9"} 
[2026-09-24 15:47:14] local.INFO: Extracted packet for processing {"connection_id":194100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e9"} 
[2026-09-24 15:47:14] local.INFO: GPS Element Parsed {"raw_longitude":747446720,"raw_latitude":133013672,"longitude_deg":74.744672,"latitude_deg":13.3013672,"altitude":10,"angle":172,"satellites":46,"speed":58,"hex_longitude":"2c8d21c0","hex_latitude":"07eda0a8","is_valid_coordinates":true} 
[2026-09-24 15:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790244894000,"timestamp_ms":1790244894000,"timestamp_seconds":1790244894,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e93530"} 
[2026-09-24 15:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-24 15:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":194100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":194100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":194100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28278,"18":206,"9":54272,"24":58,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,9,24,16]} 
[2026-09-24 15:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 15:47:14] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-24 15:47:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:47:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28278,"unknown_18":206,"unknown_9":54272,"ignition":58,"odometer":null}} 
[2026-09-24 15:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":194100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890480,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:47:14] local.INFO: GPS data processed {"connection_id":194100,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:47:14] local.INFO: Acknowledgment sent {"connection_id":194100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:47:22] local.INFO: TCP Data received {"connection_id":191448,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e915f0012d196a00071fec30003e01122b..."} 
[2026-09-24 15:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e915f0012d196a00071fec30003e01122b..."} 
[2026-09-24 15:47:22] local.INFO: Processing buffer {"connection_id":191448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e915f0012d196a00071fec30003e01122b..."} 
[2026-09-24 15:47:22] local.INFO: Packet analysis {"connection_id":191448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e9"} 
[2026-09-24 15:47:22] local.INFO: Extracted packet for processing {"connection_id":191448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e9"} 
[2026-09-24 15:47:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302685440001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790244886000,"timestamp_ms":1790244886000,"timestamp_seconds":1790244886,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e915f0"} 
[2026-09-24 15:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 15:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302685440001,"66":12287,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302685440001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:47:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:47:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302685440001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":191448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:47:22] local.INFO: GPS data processed {"connection_id":191448,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:47:22] local.INFO: Acknowledgment sent {"connection_id":191448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:47:28] local.INFO: TCP Data received {"connection_id":191248,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:47:28] local.INFO: Processing buffer {"connection_id":191248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:47:28] local.INFO: IMEI packet received {"connection_id":191248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":191248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:47:33] local.INFO: TCP Data received {"connection_id":191248,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:47:33] local.INFO: Processing buffer {"connection_id":191248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:47:33] local.INFO: IMEI packet received {"connection_id":191248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":191248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:47:34] local.INFO: TCP Data received {"connection_id":191248,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:47:34] local.INFO: Processing buffer {"connection_id":191248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:47:34] local.INFO: Packet analysis {"connection_id":191248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:47:34] local.INFO: Extracted packet for processing {"connection_id":191248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:47:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302637312001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790244978000,"timestamp_ms":1790244978000,"timestamp_seconds":1790244978,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ea7d50"} 
[2026-09-24 15:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 15:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302637312001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302637312001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:47:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:47:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302637312001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":191248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:47:34] local.INFO: GPS data processed {"connection_id":191248,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:47:34] local.INFO: Acknowledgment sent {"connection_id":191248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:47:46] local.INFO: TCP Data received {"connection_id":194100,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e98350012c8d2d8007ed47b0000c00ad2e..."} 
[2026-09-24 15:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e98350012c8d2d8007ed47b0000c00ad2e..."} 
[2026-09-24 15:47:46] local.INFO: Processing buffer {"connection_id":194100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e98350012c8d2d8007ed47b0000c00ad2e..."} 
[2026-09-24 15:47:46] local.INFO: Packet analysis {"connection_id":194100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e9"} 
[2026-09-24 15:47:46] local.INFO: Extracted packet for processing {"connection_id":194100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e9"} 
[2026-09-24 15:47:46] local.INFO: GPS Element Parsed {"raw_longitude":747449728,"raw_latitude":132990896,"longitude_deg":74.7449728,"latitude_deg":13.2990896,"altitude":12,"angle":173,"satellites":46,"speed":0,"hex_longitude":"2c8d2d80","hex_latitude":"07ed47b0","is_valid_coordinates":true} 
[2026-09-24 15:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302692864001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8277123499846227968,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790244914000,"timestamp_ms":1790244914000,"timestamp_seconds":1790244914,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e98350"} 
[2026-09-24 15:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:47: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-09-24 15:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:47:46] 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-09-24 15:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":194100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":194100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":194100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302692864001,"66":28354,"18":206,"9":54272,"24":0,"16":3605341577150464,"44":-8277123499846227968},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,9,24,16,44]} 
[2026-09-24 15:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302692864001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:47:46] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-24 15:47:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:47:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8277123499846227968,"description":"Unknown IO ID 44"} 
[2026-09-24 15:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302692864001,"power":28354,"unknown_18":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8277123499846227968}} 
[2026-09-24 15:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":194100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890483,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:47:46] local.INFO: GPS data processed {"connection_id":194100,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:47:46] local.INFO: Acknowledgment sent {"connection_id":194100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:47:50] local.INFO: TCP Data received {"connection_id":191249,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:47:50] local.INFO: Processing buffer {"connection_id":191249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:47:50] local.INFO: IMEI packet received {"connection_id":191249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":191249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:47:51] local.INFO: TCP Data received {"connection_id":191249,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:47:51] local.INFO: Processing buffer {"connection_id":191249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:47:51] local.INFO: IMEI packet received {"connection_id":191249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":191249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:47:51] local.INFO: TCP Data received {"connection_id":191249,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e967f8012d196a00071fec30003e01122a..."} 
[2026-09-24 15:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e967f8012d196a00071fec30003e01122a..."} 
[2026-09-24 15:47:51] local.INFO: Processing buffer {"connection_id":191249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e967f8012d196a00071fec30003e01122a..."} 
[2026-09-24 15:47:51] local.INFO: Packet analysis {"connection_id":191249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e9"} 
[2026-09-24 15:47:51] local.INFO: Extracted packet for processing {"connection_id":191249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e9"} 
[2026-09-24 15:47:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302690816001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790244907000,"timestamp_ms":1790244907000,"timestamp_seconds":1790244907,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e967f8"} 
[2026-09-24 15:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:47: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-09-24 15:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-24 15:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302690816001,"66":12037,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302690816001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:47:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:47:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302690816001,"power":12037,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":191249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:47:51] local.INFO: GPS data processed {"connection_id":191249,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:47:51] local.INFO: Acknowledgment sent {"connection_id":191249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:47:55] local.INFO: TCP Data received {"connection_id":191249,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e9ba00012d196a00071fec30003e011229..."} 
[2026-09-24 15:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e9ba00012d196a00071fec30003e011229..."} 
[2026-09-24 15:47:55] local.INFO: Processing buffer {"connection_id":191249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e9ba00012d196a00071fec30003e011229..."} 
[2026-09-24 15:47:55] local.INFO: Packet analysis {"connection_id":191249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e9"} 
[2026-09-24 15:47:55] local.INFO: Extracted packet for processing {"connection_id":191249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e9"} 
[2026-09-24 15:47:55] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:47: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-09-24 15:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302696192001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790244928000,"timestamp_ms":1790244928000,"timestamp_seconds":1790244928,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e9ba00"} 
[2026-09-24 15:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-24 15:47:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:55] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3538385864,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:55] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3894401025,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:55] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3962568766,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-09-24 15:47:55] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182191054913792,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:55] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300266287277871657,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:55] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194916864,"note":"Value kept but may cause issues"} 
[2026-09-24 15:47:55] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,114,160,21,45,236,62,43,10,66,195,41,113,1,240,118,227,210,31,4,205,106,48,40,239,2,81,7,69],"length":484,"final_offset":614,"validated_count":35,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-09-24 15:47:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467872276926169088,"timestamp_seconds":4467872276926169.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 15:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302696192001,"66":12428,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302696192001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:47:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:47:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302696192001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":191249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:47:55] local.INFO: GPS data processed {"connection_id":191249,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:47:55] local.INFO: Acknowledgment sent {"connection_id":191249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:48:06] local.INFO: TCP Data received {"connection_id":191248,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:48:06] local.INFO: Processing buffer {"connection_id":191248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:48:06] local.INFO: Packet analysis {"connection_id":191248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:48:06] local.INFO: Extracted packet for processing {"connection_id":191248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:48:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302637312001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790244978000,"timestamp_ms":1790244978000,"timestamp_seconds":1790244978,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ea7d50"} 
[2026-09-24 15:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 15:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302637312001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302637312001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:48:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:48:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302637312001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":191248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:48:06] local.INFO: GPS data processed {"connection_id":191248,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:48:06] local.INFO: Acknowledgment sent {"connection_id":191248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:48:11] local.INFO: TCP Data received {"connection_id":194102,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:48:11] local.INFO: Processing buffer {"connection_id":194102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:48:11] local.INFO: IMEI packet received {"connection_id":194102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":194102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:48:11] local.INFO: TCP Data received {"connection_id":194102,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:48:11] local.INFO: Processing buffer {"connection_id":194102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:48:11] local.INFO: IMEI packet received {"connection_id":194102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":194102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:48:14] local.INFO: TCP Data received {"connection_id":194101,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194101,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:48:14] local.INFO: Processing buffer {"connection_id":194101,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:48:14] local.INFO: IMEI packet received {"connection_id":194101,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 15:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":194101,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:48:14] local.INFO: TCP Data received {"connection_id":194101,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2eb15a8012d0aa20007058250001d011912..."} 
[2026-09-24 15:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2eb15a8012d0aa20007058250001d011912..."} 
[2026-09-24 15:48:14] local.INFO: Processing buffer {"connection_id":194101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2eb15a8012d0aa20007058250001d011912..."} 
[2026-09-24 15:48:14] local.INFO: Packet analysis {"connection_id":194101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2eb"} 
[2026-09-24 15:48:14] local.INFO: Extracted packet for processing {"connection_id":194101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2eb"} 
[2026-09-24 15:48:14] local.INFO: GPS Element Parsed {"raw_longitude":755671552,"raw_latitude":117801552,"longitude_deg":75.5671552,"latitude_deg":11.7801552,"altitude":29,"angle":281,"satellites":18,"speed":15,"hex_longitude":"2d0aa200","hex_latitude":"07058250","is_valid_coordinates":true} 
[2026-09-24 15:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302722304001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33655041608908800,"note":"Value kept but may cause issues"} 
[2026-09-24 15:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":769904460205346816,"note":"Value kept but may cause issues"} 
[2026-09-24 15:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790245017000,"timestamp_ms":1790245017000,"timestamp_seconds":1790245017,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2eb15a8"} 
[2026-09-24 15:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:48:14] 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-09-24 15:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-24 15:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":194101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":194101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":194101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302722304001,"66":14374,"153":206,"94":10240,"24":15,"16":33655041608908800,"45":769904460205346816},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-24 15:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302722304001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:48:14] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-24 15:48:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33655041608908800,"km_value":33655041608908.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":769904460205346816,"description":"Unknown IO ID 45"} 
[2026-09-24 15:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302722304001,"power":14374,"unknown_153":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":769904460205346816}} 
[2026-09-24 15:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":194101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890487,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:48:15] local.INFO: GPS data processed {"connection_id":194101,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:48:15] local.INFO: Acknowledgment sent {"connection_id":194101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:48:17] local.INFO: TCP Data received {"connection_id":194102,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:48:17] local.INFO: Processing buffer {"connection_id":194102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:48:17] local.INFO: IMEI packet received {"connection_id":194102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":194102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:48:18] local.INFO: TCP Data received {"connection_id":194102,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ea4e700100000000000000000000000000..."} 
[2026-09-24 15:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ea4e700100000000000000000000000000..."} 
[2026-09-24 15:48:18] local.INFO: Processing buffer {"connection_id":194102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ea4e700100000000000000000000000000..."} 
[2026-09-24 15:48:18] local.INFO: Packet analysis {"connection_id":194102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:48:18] local.INFO: Extracted packet for processing {"connection_id":194102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:48: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-09-24 15:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302697984001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:48:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8273816168875708416,"note":"Value kept but may cause issues"} 
[2026-09-24 15:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790244966000,"timestamp_ms":1790244966000,"timestamp_seconds":1790244966,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ea4e70"} 
[2026-09-24 15:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 15:48:18] 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-09-24 15:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":194102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":194102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":194102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":194102,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:48:18] local.INFO: GPS data processed {"connection_id":194102,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:48:18] local.INFO: Acknowledgment sent {"connection_id":194102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:48:26] local.INFO: TCP Data received {"connection_id":191249,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ea0c08012d196a00071fec30003e011228..."} 
[2026-09-24 15:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ea0c08012d196a00071fec30003e011228..."} 
[2026-09-24 15:48:26] local.INFO: Processing buffer {"connection_id":191249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ea0c08012d196a00071fec30003e011228..."} 
[2026-09-24 15:48:26] local.INFO: Packet analysis {"connection_id":191249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:48:26] local.INFO: Extracted packet for processing {"connection_id":191249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:48:26] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:48: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-09-24 15:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302701568001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790244949000,"timestamp_ms":1790244949000,"timestamp_seconds":1790244949,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ea0c08"} 
[2026-09-24 15:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:48: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-09-24 15:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302701568001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302701568001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:48:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:48:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302701568001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":191249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:48:27] local.INFO: GPS data processed {"connection_id":191249,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:48:27] local.INFO: Acknowledgment sent {"connection_id":191249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:48:28] local.INFO: TCP Data received {"connection_id":191250,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:48:28] local.INFO: Processing buffer {"connection_id":191250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:48:28] local.INFO: IMEI packet received {"connection_id":191250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":191250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:48:33] local.INFO: TCP Data received {"connection_id":191250,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:48:33] local.INFO: Processing buffer {"connection_id":191250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:48:33] local.INFO: IMEI packet received {"connection_id":191250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":191250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:48:34] local.INFO: TCP Data received {"connection_id":191250,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:48:34] local.INFO: Processing buffer {"connection_id":191250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:48:34] local.INFO: Packet analysis {"connection_id":191250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:48:34] local.INFO: Extracted packet for processing {"connection_id":191250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:48:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302637312001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790244978000,"timestamp_ms":1790244978000,"timestamp_seconds":1790244978,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ea7d50"} 
[2026-09-24 15:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 15:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302637312001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302637312001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:48:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:48:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302637312001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":191250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:48:34] local.INFO: GPS data processed {"connection_id":191250,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:48:34] local.INFO: Acknowledgment sent {"connection_id":191250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:48:45] local.INFO: TCP Data received {"connection_id":191449,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:48:45] local.INFO: Processing buffer {"connection_id":191449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:48:45] local.INFO: IMEI packet received {"connection_id":191449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":191449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:48:46] local.INFO: TCP Data received {"connection_id":194101,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ec8ca8012d0a72000705df880014002613..."} 
[2026-09-24 15:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ec8ca8012d0a72000705df880014002613..."} 
[2026-09-24 15:48:46] local.INFO: Processing buffer {"connection_id":194101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ec8ca8012d0a72000705df880014002613..."} 
[2026-09-24 15:48:46] local.INFO: Packet analysis {"connection_id":194101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ec"} 
[2026-09-24 15:48:46] local.INFO: Extracted packet for processing {"connection_id":194101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ec"} 
[2026-09-24 15:48:46] local.INFO: GPS Element Parsed {"raw_longitude":755659264,"raw_latitude":117825416,"longitude_deg":75.5659264,"latitude_deg":11.7825416,"altitude":20,"angle":38,"satellites":19,"speed":10,"hex_longitude":"2d0a7200","hex_latitude":"0705df88","is_valid_coordinates":true} 
[2026-09-24 15:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302748672001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33656403113541632,"note":"Value kept but may cause issues"} 
[2026-09-24 15:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752453011655010304,"note":"Value kept but may cause issues"} 
[2026-09-24 15:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790245113000,"timestamp_ms":1790245113000,"timestamp_seconds":1790245113,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ec8ca8"} 
[2026-09-24 15:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-24 15:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":194101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":194101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":194101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302748672001,"66":14537,"165":206,"94":10240,"24":10,"16":33656403113541632,"45":752453011655010304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 15:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302748672001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:48:46] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 15:48:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33656403113541632,"km_value":33656403113541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":752453011655010304,"description":"Unknown IO ID 45"} 
[2026-09-24 15:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302748672001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":752453011655010304}} 
[2026-09-24 15:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":194101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890490,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:48:46] local.INFO: GPS data processed {"connection_id":194101,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:48:46] local.INFO: Acknowledgment sent {"connection_id":194101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:48:50] local.INFO: TCP Data received {"connection_id":191449,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:48:50] local.INFO: Processing buffer {"connection_id":191449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:48:50] local.INFO: IMEI packet received {"connection_id":191449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":191449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:48:50] local.INFO: TCP Data received {"connection_id":194102,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2e9f0b0012c8d3fc007ec9a78000b00b12f..."} 
[2026-09-24 15:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2e9f0b0012c8d3fc007ec9a78000b00b12f..."} 
[2026-09-24 15:48:50] local.INFO: Processing buffer {"connection_id":194102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2e9f0b0012c8d3fc007ec9a78000b00b12f..."} 
[2026-09-24 15:48:50] local.INFO: Packet analysis {"connection_id":194102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2e9"} 
[2026-09-24 15:48:50] local.INFO: Extracted packet for processing {"connection_id":194102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2e9"} 
[2026-09-24 15:48:50] local.INFO: GPS Element Parsed {"raw_longitude":747454400,"raw_latitude":132946552,"longitude_deg":74.74544,"latitude_deg":13.2946552,"altitude":11,"angle":177,"satellites":47,"speed":57,"hex_longitude":"2c8d3fc0","hex_latitude":"07ec9a78","is_valid_coordinates":true} 
[2026-09-24 15:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:48:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790244942000,"timestamp_ms":1790244942000,"timestamp_seconds":1790244942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2e9f0b0"} 
[2026-09-24 15:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 15:48:50] 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-09-24 15:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":194102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":194102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":194102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:48:50] local.INFO: TCP Data received {"connection_id":191449,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ea5e10012d196a00071fec30003e01122a..."} 
[2026-09-24 15:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"18":206,"9":54272,"24":57,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,9,24,16]} 
[2026-09-24 15:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 15:48:50] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-24 15:48:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:48:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_18":206,"unknown_9":54272,"ignition":57,"odometer":null}} 
[2026-09-24 15:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ea5e10012d196a00071fec30003e01122a..."} 
[2026-09-24 15:48:50] local.INFO: Processing buffer {"connection_id":191449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ea5e10012d196a00071fec30003e01122a..."} 
[2026-09-24 15:48:50] local.INFO: Packet analysis {"connection_id":191449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:48:50] local.INFO: Extracted packet for processing {"connection_id":191449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:48:50] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302706944001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790244970000,"timestamp_ms":1790244970000,"timestamp_seconds":1790244970,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ea5e10"} 
[2026-09-24 15:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302706944001,"66":12341,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302706944001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:48:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:48:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302706944001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":191449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:48:51] local.INFO: GPS data processed {"connection_id":191449,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:48:51] local.INFO: Acknowledgment sent {"connection_id":191449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":194102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890492,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:48:51] local.INFO: GPS data processed {"connection_id":194102,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:48:51] local.INFO: Acknowledgment sent {"connection_id":194102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:49:04] local.INFO: TCP Data received {"connection_id":191251,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191251,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:49:04] local.INFO: Processing buffer {"connection_id":191251,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:49:04] local.INFO: IMEI packet received {"connection_id":191251,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 15:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":191251,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:49:06] local.INFO: TCP Data received {"connection_id":191250,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:49:06] local.INFO: Processing buffer {"connection_id":191250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:49:06] local.INFO: Packet analysis {"connection_id":191250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:49:06] local.INFO: Extracted packet for processing {"connection_id":191250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:49:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302637312001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790244978000,"timestamp_ms":1790244978000,"timestamp_seconds":1790244978,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ea7d50"} 
[2026-09-24 15:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 15:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302637312001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302637312001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:49:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:49:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302637312001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":191250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:49:06] local.INFO: GPS data processed {"connection_id":191250,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:49:06] local.INFO: Acknowledgment sent {"connection_id":191250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:49:07] local.INFO: TCP Data received {"connection_id":192828,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:49:07] local.INFO: Processing buffer {"connection_id":192828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:49:07] local.INFO: IMEI packet received {"connection_id":192828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":192828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:49:09] local.INFO: TCP Data received {"connection_id":191251,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191251,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:49:09] local.INFO: Processing buffer {"connection_id":191251,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:49:09] local.INFO: IMEI packet received {"connection_id":191251,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":191251,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:49:09] local.INFO: TCP Data received {"connection_id":191251,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ec9860012d0a73c00705e2600015001313..."} 
[2026-09-24 15:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ec9860012d0a73c00705e2600015001313..."} 
[2026-09-24 15:49:09] local.INFO: Processing buffer {"connection_id":191251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ec9860012d0a73c00705e2600015001313..."} 
[2026-09-24 15:49:09] local.INFO: Packet analysis {"connection_id":191251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ec"} 
[2026-09-24 15:49:09] local.INFO: Extracted packet for processing {"connection_id":191251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ec"} 
[2026-09-24 15:49:09] local.INFO: GPS Element Parsed {"raw_longitude":755659712,"raw_latitude":117826144,"longitude_deg":75.5659712,"latitude_deg":11.7826144,"altitude":21,"angle":19,"satellites":19,"speed":12,"hex_longitude":"2d0a73c0","hex_latitude":"0705e260","is_valid_coordinates":true} 
[2026-09-24 15:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302748928001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33656446063214592,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752664117887600640,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790245116000,"timestamp_ms":1790245116000,"timestamp_seconds":1790245116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ec9860"} 
[2026-09-24 15:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-24 15:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191251,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191251,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302748928001,"66":14559,"165":206,"94":10240,"24":12,"16":33656446063214592,"45":752664117887600640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 15:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302748928001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:49:09] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 15:49:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33656446063214592,"km_value":33656446063214.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":752664117887600640,"description":"Unknown IO ID 45"} 
[2026-09-24 15:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302748928001,"power":14559,"unknown_165":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":752664117887600640}} 
[2026-09-24 15:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":191251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890494,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:49:10] local.INFO: GPS data processed {"connection_id":191251,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:49:10] local.INFO: Acknowledgment sent {"connection_id":191251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:49:11] local.INFO: TCP Data received {"connection_id":192828,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:49:11] local.INFO: Processing buffer {"connection_id":192828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:49:11] local.INFO: IMEI packet received {"connection_id":192828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":192828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:49:13] local.INFO: TCP Data received {"connection_id":192828,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ea3ae8012c8d3d8007ec4288000800b42c..."} 
[2026-09-24 15:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ea3ae8012c8d3d8007ec4288000800b42c..."} 
[2026-09-24 15:49:13] local.INFO: Processing buffer {"connection_id":192828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ea3ae8012c8d3d8007ec4288000800b42c..."} 
[2026-09-24 15:49:13] local.INFO: Packet analysis {"connection_id":192828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:49:13] local.INFO: Extracted packet for processing {"connection_id":192828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:49:13] local.INFO: GPS Element Parsed {"raw_longitude":747453824,"raw_latitude":132924040,"longitude_deg":74.7453824,"latitude_deg":13.292404,"altitude":8,"angle":180,"satellites":44,"speed":0,"hex_longitude":"2c8d3d80","hex_latitude":"07ec4288","is_valid_coordinates":true} 
[2026-09-24 15:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302705152001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8268679250562091008,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790244961000,"timestamp_ms":1790244961000,"timestamp_seconds":1790244961,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ea3ae8"} 
[2026-09-24 15:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 15:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192828,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192828,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302705152001,"66":28398,"189":206,"9":54272,"24":0,"16":3605341577150464,"44":-8268679250562091008},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,9,24,16,44]} 
[2026-09-24 15:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302705152001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:49:13] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-24 15:49:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:49:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8268679250562091008,"description":"Unknown IO ID 44"} 
[2026-09-24 15:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302705152001,"power":28398,"unknown_189":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8268679250562091008}} 
[2026-09-24 15:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":192828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890495,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:49:13] local.INFO: GPS data processed {"connection_id":192828,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:49:13] local.INFO: Acknowledgment sent {"connection_id":192828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:49:22] local.INFO: TCP Data received {"connection_id":191449,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2eab018012d196a00071fec30003e01122a..."} 
[2026-09-24 15:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2eab018012d196a00071fec30003e01122a..."} 
[2026-09-24 15:49:22] local.INFO: Processing buffer {"connection_id":191449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2eab018012d196a00071fec30003e01122a..."} 
[2026-09-24 15:49:22] local.INFO: Packet analysis {"connection_id":191449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:49:22] local.INFO: Extracted packet for processing {"connection_id":191449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:49:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302712320001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790244991000,"timestamp_ms":1790244991000,"timestamp_seconds":1790244991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2eab018"} 
[2026-09-24 15:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 15:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302712320001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302712320001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:49:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:49:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302712320001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":191449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:49:22] local.INFO: GPS data processed {"connection_id":191449,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:49:22] local.INFO: Acknowledgment sent {"connection_id":191449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:49:28] local.INFO: TCP Data received {"connection_id":194103,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:49:28] local.INFO: Processing buffer {"connection_id":194103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:49:28] local.INFO: IMEI packet received {"connection_id":194103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":194103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:49:33] local.INFO: TCP Data received {"connection_id":194103,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:49:33] local.INFO: Processing buffer {"connection_id":194103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:49:33] local.INFO: IMEI packet received {"connection_id":194103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":194103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:49:34] local.INFO: TCP Data received {"connection_id":194103,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:49:34] local.INFO: Processing buffer {"connection_id":194103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:49:34] local.INFO: Packet analysis {"connection_id":194103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:49:34] local.INFO: Extracted packet for processing {"connection_id":194103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:49:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302637312001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790244978000,"timestamp_ms":1790244978000,"timestamp_seconds":1790244978,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ea7d50"} 
[2026-09-24 15:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 15:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302637312001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302637312001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:49:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:49:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302637312001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":194103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:49:34] local.INFO: GPS data processed {"connection_id":194103,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:49:34] local.INFO: Acknowledgment sent {"connection_id":194103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:49:40] local.INFO: TCP Data received {"connection_id":191251,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2eca418012d0a75000705e6f80014000213..."} 
[2026-09-24 15:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2eca418012d0a75000705e6f80014000213..."} 
[2026-09-24 15:49:40] local.INFO: Processing buffer {"connection_id":191251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2eca418012d0a75000705e6f80014000213..."} 
[2026-09-24 15:49:40] local.INFO: Packet analysis {"connection_id":191251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ec"} 
[2026-09-24 15:49:40] local.INFO: Extracted packet for processing {"connection_id":191251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ec"} 
[2026-09-24 15:49:40] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117827320,"longitude_deg":75.5660032,"latitude_deg":11.782732,"altitude":20,"angle":2,"satellites":19,"speed":17,"hex_longitude":"2d0a7500","hex_latitude":"0705e6f8","is_valid_coordinates":true} 
[2026-09-24 15:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302749696001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33656506192756736,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753156699097030656,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790245119000,"timestamp_ms":1790245119000,"timestamp_seconds":1790245119,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2eca418"} 
[2026-09-24 15:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-24 15:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191251,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191251,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302749696001,"66":13580,"165":206,"94":10240,"24":17,"16":33656506192756736,"45":753156699097030656},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 15:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302749696001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:49:40] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 15:49:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33656506192756736,"km_value":33656506192756.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":753156699097030656,"description":"Unknown IO ID 45"} 
[2026-09-24 15:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302749696001,"power":13580,"unknown_165":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":753156699097030656}} 
[2026-09-24 15:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":191251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890498,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:49:40] local.INFO: GPS data processed {"connection_id":191251,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:49:40] local.INFO: Acknowledgment sent {"connection_id":191251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:49:45] local.INFO: TCP Data received {"connection_id":192829,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:49:45] local.INFO: Processing buffer {"connection_id":192829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:49:45] local.INFO: IMEI packet received {"connection_id":192829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":192829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:49:46] local.INFO: TCP Data received {"connection_id":192828,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ea8908012c8d3cc007ebf5e8000700ac2c..."} 
[2026-09-24 15:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ea8908012c8d3cc007ebf5e8000700ac2c..."} 
[2026-09-24 15:49:46] local.INFO: Processing buffer {"connection_id":192828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ea8908012c8d3cc007ebf5e8000700ac2c..."} 
[2026-09-24 15:49:46] local.INFO: Packet analysis {"connection_id":192828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:49:46] local.INFO: Extracted packet for processing {"connection_id":192828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:49:46] local.INFO: GPS Element Parsed {"raw_longitude":747453632,"raw_latitude":132904424,"longitude_deg":74.7453632,"latitude_deg":13.2904424,"altitude":7,"angle":172,"satellites":44,"speed":0,"hex_longitude":"2c8d3cc0","hex_latitude":"07ebf5e8","is_valid_coordinates":true} 
[2026-09-24 15:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302710016001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8269312569265453056,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790244981000,"timestamp_ms":1790244981000,"timestamp_seconds":1790244981,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ea8908"} 
[2026-09-24 15:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:49: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-09-24 15:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 15:49:46] 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-09-24 15:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":192828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":192828,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":192828,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302710016001,"66":28376,"189":206,"9":54272,"24":0,"16":3605341577150464,"44":-8269312569265453056},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,9,24,16,44]} 
[2026-09-24 15:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302710016001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:49:46] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-24 15:49:46] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:49:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8269312569265453056,"description":"Unknown IO ID 44"} 
[2026-09-24 15:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302710016001,"power":28376,"unknown_189":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8269312569265453056}} 
[2026-09-24 15:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":192828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890499,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:49:46] local.INFO: GPS data processed {"connection_id":192828,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:49:46] local.INFO: Acknowledgment sent {"connection_id":192828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:49:50] local.INFO: TCP Data received {"connection_id":192829,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:49:50] local.INFO: Processing buffer {"connection_id":192829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:49:50] local.INFO: IMEI packet received {"connection_id":192829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":192829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:49:51] local.INFO: TCP Data received {"connection_id":192829,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2eb0220012d196a00071fec30003e01122a..."} 
[2026-09-24 15:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2eb0220012d196a00071fec30003e01122a..."} 
[2026-09-24 15:49:51] local.INFO: Processing buffer {"connection_id":192829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2eb0220012d196a00071fec30003e01122a..."} 
[2026-09-24 15:49:51] local.INFO: Packet analysis {"connection_id":192829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2eb"} 
[2026-09-24 15:49:51] local.INFO: Extracted packet for processing {"connection_id":192829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2eb"} 
[2026-09-24 15:49:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302717696001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790245012000,"timestamp_ms":1790245012000,"timestamp_seconds":1790245012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2eb0220"} 
[2026-09-24 15:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:49: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-09-24 15:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302717696001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302717696001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:49:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:49:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302717696001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":192829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:49:51] local.INFO: GPS data processed {"connection_id":192829,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:49:51] local.INFO: Acknowledgment sent {"connection_id":192829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:50:04] local.INFO: TCP Data received {"connection_id":194104,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194104,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:50:04] local.INFO: Processing buffer {"connection_id":194104,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:50:04] local.INFO: IMEI packet received {"connection_id":194104,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 15:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":194104,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:50:05] local.INFO: TCP Data received {"connection_id":194103,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:50:05] local.INFO: Processing buffer {"connection_id":194103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:50:05] local.INFO: Packet analysis {"connection_id":194103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:50:05] local.INFO: Extracted packet for processing {"connection_id":194103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:50:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302637312001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790244978000,"timestamp_ms":1790244978000,"timestamp_seconds":1790244978,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ea7d50"} 
[2026-09-24 15:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 15:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302637312001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302637312001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:50:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:50:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302637312001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":194103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:50:05] local.INFO: GPS data processed {"connection_id":194103,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:50:05] local.INFO: Acknowledgment sent {"connection_id":194103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:50:09] local.INFO: TCP Data received {"connection_id":194104,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194104,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:50:09] local.INFO: Processing buffer {"connection_id":194104,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:50:09] local.INFO: IMEI packet received {"connection_id":194104,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":194104,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:50:09] local.INFO: TCP Data received {"connection_id":194104,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2eccf10012d0a74400705f7300015015f13..."} 
[2026-09-24 15:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2eccf10012d0a74400705f7300015015f13..."} 
[2026-09-24 15:50:09] local.INFO: Processing buffer {"connection_id":194104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2eccf10012d0a74400705f7300015015f13..."} 
[2026-09-24 15:50:09] local.INFO: Packet analysis {"connection_id":194104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ec"} 
[2026-09-24 15:50:09] local.INFO: Extracted packet for processing {"connection_id":194104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ec"} 
[2026-09-24 15:50:09] local.INFO: GPS Element Parsed {"raw_longitude":755659840,"raw_latitude":117831472,"longitude_deg":75.565984,"latitude_deg":11.7831472,"altitude":21,"angle":351,"satellites":19,"speed":9,"hex_longitude":"2d0a7440","hex_latitude":"0705f730","is_valid_coordinates":true} 
[2026-09-24 15:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302750464001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33656708056219648,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753508542818220032,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790245130000,"timestamp_ms":1790245130000,"timestamp_seconds":1790245130,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2eccf10"} 
[2026-09-24 15:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-24 15:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751544210,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:09] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3538701864,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:09] local.WARNING: Large IO value detected {"io_id":10,"raw_value":8412731825327702036,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6202301111819304970,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:09] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3968129025,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:09] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639363509151653,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738866894,"corrected_to":0} 
[2026-09-24 15:50:09] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4160826634,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:09] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2450522112,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:09] local.WARNING: Large IO value detected {"io_id":53,"raw_value":6341294120169950814,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:09] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:09] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,165,94,24,241,157,16,146,160,152,45,192,226,21,19,10,66,140,223,20,136,64,1,240,212,227,210,5,4,113,205,9,85,116,72,239,56,2,119,7,53,40],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1738866894,"validated":0}]} 
[2026-09-24 15:50:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1441154161387307008,"timestamp_seconds":1441154161387307.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 15:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":194104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":194104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":194104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302750464001,"66":14580,"165":206,"94":10240,"24":9,"16":33656708056219648,"45":753508542818220032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 15:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302750464001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:50:09] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 15:50:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33656708056219648,"km_value":33656708056219.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":753508542818220032,"description":"Unknown IO ID 45"} 
[2026-09-24 15:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302750464001,"power":14580,"unknown_165":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":753508542818220032}} 
[2026-09-24 15:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":194104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890502,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:50:10] local.INFO: GPS data processed {"connection_id":194104,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:50:10] local.INFO: Acknowledgment sent {"connection_id":194104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:50:11] local.INFO: TCP Data received {"connection_id":191450,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:50:11] local.INFO: Processing buffer {"connection_id":191450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:50:11] local.INFO: IMEI packet received {"connection_id":191450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":191450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:50:17] local.INFO: TCP Data received {"connection_id":191450,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:50:17] local.INFO: Processing buffer {"connection_id":191450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:50:17] local.INFO: IMEI packet received {"connection_id":191450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":191450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:50:22] local.INFO: TCP Data received {"connection_id":192829,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2eb5428012d196a00071fec30003e011229..."} 
[2026-09-24 15:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2eb5428012d196a00071fec30003e011229..."} 
[2026-09-24 15:50:22] local.INFO: Processing buffer {"connection_id":192829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2eb5428012d196a00071fec30003e011229..."} 
[2026-09-24 15:50:22] local.INFO: Packet analysis {"connection_id":192829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2eb"} 
[2026-09-24 15:50:22] local.INFO: Extracted packet for processing {"connection_id":192829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2eb"} 
[2026-09-24 15:50:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302723072001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790245033000,"timestamp_ms":1790245033000,"timestamp_seconds":1790245033,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2eb5428"} 
[2026-09-24 15:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302723072001,"66":12428,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302723072001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:50:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:50:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302723072001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":192829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:50:22] local.INFO: GPS data processed {"connection_id":192829,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:50:22] local.INFO: Acknowledgment sent {"connection_id":192829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:50:24] local.INFO: TCP Data received {"connection_id":191450,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2eab400012c8d60c007eba688000900942e..."} 
[2026-09-24 15:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2eab400012c8d60c007eba688000900942e..."} 
[2026-09-24 15:50:24] local.INFO: Processing buffer {"connection_id":191450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2eab400012c8d60c007eba688000900942e..."} 
[2026-09-24 15:50:24] local.INFO: Packet analysis {"connection_id":191450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:50:24] local.INFO: Extracted packet for processing {"connection_id":191450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:50:24] local.INFO: GPS Element Parsed {"raw_longitude":747462848,"raw_latitude":132884104,"longitude_deg":74.7462848,"latitude_deg":13.2884104,"altitude":9,"angle":148,"satellites":46,"speed":55,"hex_longitude":"2c8d60c0","hex_latitude":"07eba688","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302715136001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8269523675503007744,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790244992000,"timestamp_ms":1790244992000,"timestamp_seconds":1790244992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2eab400"} 
[2026-09-24 15:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15: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-09-24 15: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-09-24 15:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":191450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":191450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":191450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302715136001,"66":28376,"189":206,"9":54272,"24":55,"16":3605341577150464,"44":-8269523675503007744},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,9,24,16,44]} 
[2026-09-24 15:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302715136001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:50:24] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-24 15:50:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:50:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8269523675503007744,"description":"Unknown IO ID 44"} 
[2026-09-24 15:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302715136001,"power":28376,"unknown_189":206,"unknown_9":54272,"ignition":55,"odometer":null,"unknown_44":-8269523675503007744}} 
[2026-09-24 15:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":191450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890504,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:50:24] local.INFO: GPS data processed {"connection_id":191450,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:50:24] local.INFO: Acknowledgment sent {"connection_id":191450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:50:25] local.INFO: TCP Data received {"connection_id":191450,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2eb0220012c8d858007eb6bf8000c00972e..."} 
[2026-09-24 15:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2eb0220012c8d858007eb6bf8000c00972e..."} 
[2026-09-24 15:50:25] local.INFO: Processing buffer {"connection_id":191450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2eb0220012c8d858007eb6bf8000c00972e..."} 
[2026-09-24 15:50:25] local.INFO: Packet analysis {"connection_id":191450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2eb"} 
[2026-09-24 15:50:25] local.INFO: Extracted packet for processing {"connection_id":191450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2eb"} 
[2026-09-24 15:50:25] local.INFO: GPS Element Parsed {"raw_longitude":747472256,"raw_latitude":132869112,"longitude_deg":74.7472256,"latitude_deg":13.2869112,"altitude":12,"angle":151,"satellites":46,"speed":0,"hex_longitude":"2c8d8580","hex_latitude":"07eb6bf8","is_valid_coordinates":true} 
[2026-09-24 15:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302717952001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8259390576346626048,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790245012000,"timestamp_ms":1790245012000,"timestamp_seconds":1790245012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2eb0220"} 
[2026-09-24 15:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 15:50:25] 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-09-24 15:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":191450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":191450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":191450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302717952001,"66":28376,"189":206,"9":54272,"24":0,"16":3605341577150464,"44":-8259390576346626048},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,9,24,16,44]} 
[2026-09-24 15:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302717952001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:50:25] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-24 15:50:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:50:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8259390576346626048,"description":"Unknown IO ID 44"} 
[2026-09-24 15:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302717952001,"power":28376,"unknown_189":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8259390576346626048}} 
[2026-09-24 15:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":191450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890505,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:50:25] local.INFO: GPS data processed {"connection_id":191450,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:50:25] local.INFO: Acknowledgment sent {"connection_id":191450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:50:28] local.INFO: TCP Data received {"connection_id":194105,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:50:28] local.INFO: Processing buffer {"connection_id":194105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:50:28] local.INFO: IMEI packet received {"connection_id":194105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":194105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:50:33] local.INFO: TCP Data received {"connection_id":194105,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:50:33] local.INFO: Processing buffer {"connection_id":194105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:50:33] local.INFO: IMEI packet received {"connection_id":194105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":194105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:50:35] local.INFO: TCP Data received {"connection_id":194105,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:50:35] local.INFO: Processing buffer {"connection_id":194105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:50:35] local.INFO: Packet analysis {"connection_id":194105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:50:35] local.INFO: Extracted packet for processing {"connection_id":194105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302637312001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790244978000,"timestamp_ms":1790244978000,"timestamp_seconds":1790244978,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ea7d50"} 
[2026-09-24 15:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 15:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302637312001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302637312001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:50:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:50:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302637312001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":194105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:50:35] local.INFO: GPS data processed {"connection_id":194105,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:50:35] local.INFO: Acknowledgment sent {"connection_id":194105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:50:41] local.INFO: TCP Data received {"connection_id":194104,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ed2118012d0a7280070606580014015a14..."} 
[2026-09-24 15:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ed2118012d0a7280070606580014015a14..."} 
[2026-09-24 15:50:41] local.INFO: Processing buffer {"connection_id":194104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ed2118012d0a7280070606580014015a14..."} 
[2026-09-24 15:50:41] local.INFO: Packet analysis {"connection_id":194104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ed"} 
[2026-09-24 15:50:41] local.INFO: Extracted packet for processing {"connection_id":194104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ed"} 
[2026-09-24 15:50:41] local.INFO: GPS Element Parsed {"raw_longitude":755659392,"raw_latitude":117835352,"longitude_deg":75.5659392,"latitude_deg":11.7835352,"altitude":20,"angle":346,"satellites":20,"speed":0,"hex_longitude":"2d0a7280","hex_latitude":"07060658","is_valid_coordinates":true} 
[2026-09-24 15:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302753280001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33656901329747968,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436586749952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790245151000,"timestamp_ms":1790245151000,"timestamp_seconds":1790245151,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ed2118"} 
[2026-09-24 15:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-24 15:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":194104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":194104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":194104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302753280001,"66":14461,"165":206,"94":10240,"24":0,"16":33656901329747968,"45":753297436586749952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 15:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302753280001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:50:41] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 15:50:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33656901329747968,"km_value":33656901329747.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436586749952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302753280001,"power":14461,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753297436586749952}} 
[2026-09-24 15:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":194104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890507,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:50:41] local.INFO: GPS data processed {"connection_id":194104,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:50:41] local.INFO: Acknowledgment sent {"connection_id":194104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:50:45] local.INFO: TCP Data received {"connection_id":191252,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:50:45] local.INFO: Processing buffer {"connection_id":191252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:50:45] local.INFO: IMEI packet received {"connection_id":191252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":191252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:50:50] local.INFO: TCP Data received {"connection_id":191252,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:50:50] local.INFO: Processing buffer {"connection_id":191252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:50:50] local.INFO: IMEI packet received {"connection_id":191252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":191252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:50:50] local.INFO: TCP Data received {"connection_id":191252,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2eba630012d196a00071fec30003e01122b..."} 
[2026-09-24 15:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2eba630012d196a00071fec30003e01122b..."} 
[2026-09-24 15:50:50] local.INFO: Processing buffer {"connection_id":191252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2eba630012d196a00071fec30003e01122b..."} 
[2026-09-24 15:50:50] local.INFO: Packet analysis {"connection_id":191252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2eb"} 
[2026-09-24 15:50:50] local.INFO: Extracted packet for processing {"connection_id":191252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2eb"} 
[2026-09-24 15:50:50] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302728448001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790245054000,"timestamp_ms":1790245054000,"timestamp_seconds":1790245054,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2eba630"} 
[2026-09-24 15:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302728448001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302728448001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:50:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:50:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302728448001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":191252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:50:50] local.INFO: GPS data processed {"connection_id":191252,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:50:50] local.INFO: Acknowledgment sent {"connection_id":191252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:51:03] local.INFO: TCP Data received {"connection_id":191451,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191451,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:51:03] local.INFO: Processing buffer {"connection_id":191451,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:51:03] local.INFO: IMEI packet received {"connection_id":191451,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 15:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":191451,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:51:04] local.INFO: TCP Data received {"connection_id":191451,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191451,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:51:04] local.INFO: Processing buffer {"connection_id":191451,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:51:04] local.INFO: IMEI packet received {"connection_id":191451,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":191451,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:51:06] local.INFO: TCP Data received {"connection_id":194105,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:51:06] local.INFO: Processing buffer {"connection_id":194105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:51:06] local.INFO: Packet analysis {"connection_id":194105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:51:06] local.INFO: Extracted packet for processing {"connection_id":194105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:51:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302637312001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790244978000,"timestamp_ms":1790244978000,"timestamp_seconds":1790244978,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ea7d50"} 
[2026-09-24 15:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 15:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302637312001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302637312001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:51:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:51:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302637312001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":194105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:51:06] local.INFO: GPS data processed {"connection_id":194105,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:51:06] local.INFO: Acknowledgment sent {"connection_id":194105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:51:07] local.INFO: TCP Data received {"connection_id":191452,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:51:07] local.INFO: Processing buffer {"connection_id":191452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:51:07] local.INFO: IMEI packet received {"connection_id":191452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":191452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:51:09] local.INFO: TCP Data received {"connection_id":191451,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191451,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:51:09] local.INFO: Processing buffer {"connection_id":191451,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:51:09] local.INFO: IMEI packet received {"connection_id":191451,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":191451,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:51:10] local.INFO: TCP Data received {"connection_id":191451,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ed7320012d0a7280070605580014015a14..."} 
[2026-09-24 15:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ed7320012d0a7280070605580014015a14..."} 
[2026-09-24 15:51:10] local.INFO: Processing buffer {"connection_id":191451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ed7320012d0a7280070605580014015a14..."} 
[2026-09-24 15:51:10] local.INFO: Packet analysis {"connection_id":191451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ed"} 
[2026-09-24 15:51:10] local.INFO: Extracted packet for processing {"connection_id":191451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ed"} 
[2026-09-24 15:51:10] local.INFO: GPS Element Parsed {"raw_longitude":755659392,"raw_latitude":117835096,"longitude_deg":75.5659392,"latitude_deg":11.7835096,"altitude":20,"angle":346,"satellites":20,"speed":1,"hex_longitude":"2d0a7280","hex_latitude":"07060558","is_valid_coordinates":true} 
[2026-09-24 15:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302758656001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33656914214649856,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752804855378499584,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790245172000,"timestamp_ms":1790245172000,"timestamp_seconds":1790245172,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ed7320"} 
[2026-09-24 15:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-24 15:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302758656001,"66":14439,"165":206,"94":10240,"24":1,"16":33656914214649856,"45":752804855378499584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 15:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302758656001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:51:10] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 15:51:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33656914214649856,"km_value":33656914214649.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":752804855378499584,"description":"Unknown IO ID 45"} 
[2026-09-24 15:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302758656001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":752804855378499584}} 
[2026-09-24 15:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":191451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890510,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:51:10] local.INFO: GPS data processed {"connection_id":191451,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:51:10] local.INFO: Acknowledgment sent {"connection_id":191451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:51:11] local.INFO: TCP Data received {"connection_id":191452,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:51:11] local.INFO: Processing buffer {"connection_id":191452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:51:11] local.INFO: IMEI packet received {"connection_id":191452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":191452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:51:13] local.INFO: TCP Data received {"connection_id":191452,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2eb5040012c8d9bc007eb37e80012009b2c..."} 
[2026-09-24 15:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2eb5040012c8d9bc007eb37e80012009b2c..."} 
[2026-09-24 15:51:13] local.INFO: Processing buffer {"connection_id":191452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2eb5040012c8d9bc007eb37e80012009b2c..."} 
[2026-09-24 15:51:13] local.INFO: Packet analysis {"connection_id":191452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2eb"} 
[2026-09-24 15:51:13] local.INFO: Extracted packet for processing {"connection_id":191452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2eb"} 
[2026-09-24 15:51:13] local.INFO: GPS Element Parsed {"raw_longitude":747477952,"raw_latitude":132855784,"longitude_deg":74.7477952,"latitude_deg":13.2855784,"altitude":18,"angle":155,"satellites":44,"speed":28,"hex_longitude":"2c8d9bc0","hex_latitude":"07eb37e8","is_valid_coordinates":true} 
[2026-09-24 15:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302723072001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8249046370956347392,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790245032000,"timestamp_ms":1790245032000,"timestamp_seconds":1790245032,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2eb5040"} 
[2026-09-24 15:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 15:51:13] 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-09-24 15:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302723072001,"66":28398,"189":206,"9":54272,"24":28,"16":3605341577150464,"44":-8249046370956347392},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,9,24,16,44]} 
[2026-09-24 15:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302723072001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:51:13] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-09-24 15:51:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:51:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8249046370956347392,"description":"Unknown IO ID 44"} 
[2026-09-24 15:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302723072001,"power":28398,"unknown_189":206,"unknown_9":54272,"ignition":28,"odometer":null,"unknown_44":-8249046370956347392}} 
[2026-09-24 15:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":191452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890511,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:51:13] local.INFO: GPS data processed {"connection_id":191452,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:51:13] local.INFO: Acknowledgment sent {"connection_id":191452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:51:21] local.INFO: TCP Data received {"connection_id":191252,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ebf838012d196a00071fec30003e011229..."} 
[2026-09-24 15:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ebf838012d196a00071fec30003e011229..."} 
[2026-09-24 15:51:21] local.INFO: Processing buffer {"connection_id":191252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ebf838012d196a00071fec30003e011229..."} 
[2026-09-24 15:51:21] local.INFO: Packet analysis {"connection_id":191252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2eb"} 
[2026-09-24 15:51:21] local.INFO: Extracted packet for processing {"connection_id":191252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2eb"} 
[2026-09-24 15:51:21] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302733824001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790245075000,"timestamp_ms":1790245075000,"timestamp_seconds":1790245075,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ebf838"} 
[2026-09-24 15:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302733824001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302733824001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:51:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:51:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302733824001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":191252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:51:21] local.INFO: GPS data processed {"connection_id":191252,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:51:21] local.INFO: Acknowledgment sent {"connection_id":191252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:51:28] local.INFO: TCP Data received {"connection_id":191453,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:51:28] local.INFO: Processing buffer {"connection_id":191453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:51:28] local.INFO: IMEI packet received {"connection_id":191453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":191453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:51:33] local.INFO: TCP Data received {"connection_id":191453,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:51:33] local.INFO: Processing buffer {"connection_id":191453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:51:33] local.INFO: IMEI packet received {"connection_id":191453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":191453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:51:40] local.INFO: TCP Data received {"connection_id":191453,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:51:40] local.INFO: Processing buffer {"connection_id":191453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ea7d50012d34c14006aa4940000900f52b..."} 
[2026-09-24 15:51:40] local.INFO: Packet analysis {"connection_id":191453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:51:40] local.INFO: Extracted packet for processing {"connection_id":191453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ea"} 
[2026-09-24 15:51:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302637312001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790244978000,"timestamp_ms":1790244978000,"timestamp_seconds":1790244978,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ea7d50"} 
[2026-09-24 15:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 15:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302637312001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302637312001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:51:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:51:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302637312001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":191453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:51:40] local.INFO: GPS data processed {"connection_id":191453,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:51:40] local.INFO: Acknowledgment sent {"connection_id":191453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:51:42] local.INFO: TCP Data received {"connection_id":191451,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2edc528012d0a72c0070604480014015a13..."} 
[2026-09-24 15:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2edc528012d0a72c0070604480014015a13..."} 
[2026-09-24 15:51:42] local.INFO: Processing buffer {"connection_id":191451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2edc528012d0a72c0070604480014015a13..."} 
[2026-09-24 15:51:42] local.INFO: Packet analysis {"connection_id":191451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ed"} 
[2026-09-24 15:51:42] local.INFO: Extracted packet for processing {"connection_id":191451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ed"} 
[2026-09-24 15:51:42] local.INFO: GPS Element Parsed {"raw_longitude":755659456,"raw_latitude":117834824,"longitude_deg":75.5659456,"latitude_deg":11.7834824,"altitude":20,"angle":346,"satellites":19,"speed":2,"hex_longitude":"2d0a72c0","hex_latitude":"07060448","is_valid_coordinates":true} 
[2026-09-24 15:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302764032001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33656939984453632,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752804855378434048,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790245193000,"timestamp_ms":1790245193000,"timestamp_seconds":1790245193,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2edc528"} 
[2026-09-24 15:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 15:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302764032001,"66":14548,"153":206,"94":10240,"24":2,"16":33656939984453632,"45":752804855378434048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-24 15:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302764032001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:51:42] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-24 15:51:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33656939984453632,"km_value":33656939984453.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":752804855378434048,"description":"Unknown IO ID 45"} 
[2026-09-24 15:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302764032001,"power":14548,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":752804855378434048}} 
[2026-09-24 15:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":191451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890514,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:51:42] local.INFO: GPS data processed {"connection_id":191451,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:51:42] local.INFO: Acknowledgment sent {"connection_id":191451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:51:44] local.INFO: TCP Data received {"connection_id":191452,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2eba248012c8db34007eaf4d0001400a527..."} 
[2026-09-24 15:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2eba248012c8db34007eaf4d0001400a527..."} 
[2026-09-24 15:51:44] local.INFO: Processing buffer {"connection_id":191452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2eba248012c8db34007eaf4d0001400a527..."} 
[2026-09-24 15:51:44] local.INFO: Packet analysis {"connection_id":191452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2eb"} 
[2026-09-24 15:51:44] local.INFO: Extracted packet for processing {"connection_id":191452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2eb"} 
[2026-09-24 15:51:44] local.INFO: GPS Element Parsed {"raw_longitude":747483968,"raw_latitude":132838608,"longitude_deg":74.7483968,"latitude_deg":13.2838608,"altitude":20,"angle":165,"satellites":39,"speed":0,"hex_longitude":"2c8db340","hex_latitude":"07eaf4d0","is_valid_coordinates":true} 
[2026-09-24 15:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302728192001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8242783552727947264,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790245053000,"timestamp_ms":1790245053000,"timestamp_seconds":1790245053,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2eba248"} 
[2026-09-24 15:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 15:51:44] 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-09-24 15:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302728192001,"66":28234,"188":206,"9":54272,"24":0,"16":3605341577150464,"44":-8242783552727947264},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,9,24,16,44]} 
[2026-09-24 15:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302728192001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:51:44] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-24 15:51:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:51:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8242783552727947264,"description":"Unknown IO ID 44"} 
[2026-09-24 15:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302728192001,"power":28234,"unknown_188":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8242783552727947264}} 
[2026-09-24 15:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":191452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890515,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:51:45] local.INFO: GPS data processed {"connection_id":191452,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:51:45] local.INFO: Acknowledgment sent {"connection_id":191452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:51:45] local.INFO: TCP Data received {"connection_id":191253,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:51:45] local.INFO: Processing buffer {"connection_id":191253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:51:45] local.INFO: IMEI packet received {"connection_id":191253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":191253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:51:50] local.INFO: TCP Data received {"connection_id":191253,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:51:50] local.INFO: Processing buffer {"connection_id":191253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:51:50] local.INFO: IMEI packet received {"connection_id":191253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":191253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:51:51] local.INFO: TCP Data received {"connection_id":191253,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ec4a40012d196a00071fec30003e011229..."} 
[2026-09-24 15:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ec4a40012d196a00071fec30003e011229..."} 
[2026-09-24 15:51:51] local.INFO: Processing buffer {"connection_id":191253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ec4a40012d196a00071fec30003e011229..."} 
[2026-09-24 15:51:51] local.INFO: Packet analysis {"connection_id":191253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ec"} 
[2026-09-24 15:51:51] local.INFO: Extracted packet for processing {"connection_id":191253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ec"} 
[2026-09-24 15:51:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302739200001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790245096000,"timestamp_ms":1790245096000,"timestamp_seconds":1790245096,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ec4a40"} 
[2026-09-24 15:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:51: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-09-24 15:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 15:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302739200001,"66":12341,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302739200001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:51:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:51:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302739200001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":191253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:51:51] local.INFO: GPS data processed {"connection_id":191253,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:51:51] local.INFO: Acknowledgment sent {"connection_id":191253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:52:03] local.INFO: TCP Data received {"connection_id":192830,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192830,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:52:03] local.INFO: Processing buffer {"connection_id":192830,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:52:03] local.INFO: IMEI packet received {"connection_id":192830,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 15:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":192830,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:52:04] local.INFO: TCP Data received {"connection_id":192830,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192830,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:52:04] local.INFO: Processing buffer {"connection_id":192830,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:52:04] local.INFO: IMEI packet received {"connection_id":192830,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":192830,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:52:11] local.INFO: TCP Data received {"connection_id":191453,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:52:11] local.INFO: Processing buffer {"connection_id":191453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:52:11] local.INFO: Packet analysis {"connection_id":191453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:52:11] local.INFO: Extracted packet for processing {"connection_id":191453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:52:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302714368001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790245279000,"timestamp_ms":1790245279000,"timestamp_seconds":1790245279,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ef1518"} 
[2026-09-24 15:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:52:11] 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-09-24 15: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-09-24 15:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302714368001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302714368001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:52:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:52:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302714368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":191453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:52:11] local.INFO: GPS data processed {"connection_id":191453,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:52:11] local.INFO: Acknowledgment sent {"connection_id":191453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:52:16] local.INFO: TCP Data received {"connection_id":192830,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192830,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:52:16] local.INFO: Processing buffer {"connection_id":192830,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:52:16] local.INFO: IMEI packet received {"connection_id":192830,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":192830,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:52:22] local.INFO: TCP Data received {"connection_id":192830,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ef6720012d0a82400705a948001100ba16..."} 
[2026-09-24 15:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ef6720012d0a82400705a948001100ba16..."} 
[2026-09-24 15:52:22] local.INFO: Processing buffer {"connection_id":192830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ef6720012d0a82400705a948001100ba16..."} 
[2026-09-24 15:52:22] local.INFO: Packet analysis {"connection_id":192830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:52:22] local.INFO: Extracted packet for processing {"connection_id":192830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:52:22] local.INFO: GPS Element Parsed {"raw_longitude":755663424,"raw_latitude":117811528,"longitude_deg":75.5663424,"latitude_deg":11.7811528,"altitude":17,"angle":186,"satellites":22,"speed":8,"hex_longitude":"2d0a8240","hex_latitude":"0705a948","is_valid_coordinates":true} 
[2026-09-24 15:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302796544001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33658164050132992,"note":"Value kept but may cause issues"} 
[2026-09-24 15:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757167717511471104,"note":"Value kept but may cause issues"} 
[2026-09-24 15:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790245300000,"timestamp_ms":1790245300000,"timestamp_seconds":1790245300,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ef6720"} 
[2026-09-24 15:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-24 15:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302796544001,"66":14559,"153":206,"94":10240,"24":8,"16":33658164050132992,"45":757167717511471104},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-24 15:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302796544001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:52:22] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-24 15:52:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33658164050132992,"km_value":33658164050132.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":757167717511471104,"description":"Unknown IO ID 45"} 
[2026-09-24 15:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302796544001,"power":14559,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":757167717511471104}} 
[2026-09-24 15:52:22] local.INFO: TCP Data received {"connection_id":191253,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ec9c48012d196a00071fec30003e01122a..."} 
[2026-09-24 15:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ec9c48012d196a00071fec30003e01122a..."} 
[2026-09-24 15:52:22] local.INFO: Processing buffer {"connection_id":191253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ec9c48012d196a00071fec30003e01122a..."} 
[2026-09-24 15:52:22] local.INFO: Packet analysis {"connection_id":191253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ec"} 
[2026-09-24 15:52:22] local.INFO: Extracted packet for processing {"connection_id":191253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ec"} 
[2026-09-24 15:52:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302744576001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790245117000,"timestamp_ms":1790245117000,"timestamp_seconds":1790245117,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ec9c48"} 
[2026-09-24 15:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 15:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302744576001,"66":12341,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302744576001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:52:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:52:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302744576001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":192830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890518,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:52:22] local.INFO: GPS data processed {"connection_id":192830,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:52:22] local.INFO: Acknowledgment sent {"connection_id":192830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":191253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:52:22] local.INFO: GPS data processed {"connection_id":191253,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:52:22] local.INFO: Acknowledgment sent {"connection_id":191253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:52:22] local.INFO: TCP Data received {"connection_id":192830,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ef6b08012d0a82000705a880001200cc16..."} 
[2026-09-24 15:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ef6b08012d0a82000705a880001200cc16..."} 
[2026-09-24 15:52:22] local.INFO: Processing buffer {"connection_id":192830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ef6b08012d0a82000705a880001200cc16..."} 
[2026-09-24 15:52:22] local.INFO: Packet analysis {"connection_id":192830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:52:22] local.INFO: Extracted packet for processing {"connection_id":192830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:52:22] local.INFO: GPS Element Parsed {"raw_longitude":755663360,"raw_latitude":117811328,"longitude_deg":75.566336,"latitude_deg":11.7811328,"altitude":18,"angle":204,"satellites":22,"speed":9,"hex_longitude":"2d0a8200","hex_latitude":"0705a880","is_valid_coordinates":true} 
[2026-09-24 15:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302796800001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33658172640067584,"note":"Value kept but may cause issues"} 
[2026-09-24 15:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757238086255593472,"note":"Value kept but may cause issues"} 
[2026-09-24 15:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790245301000,"timestamp_ms":1790245301000,"timestamp_seconds":1790245301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ef6b08"} 
[2026-09-24 15:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-24 15:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302796800001,"66":14559,"153":206,"94":10240,"24":9,"16":33658172640067584,"45":757238086255593472},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-24 15:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302796800001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:52:22] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-24 15:52:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33658172640067584,"km_value":33658172640067.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":757238086255593472,"description":"Unknown IO ID 45"} 
[2026-09-24 15:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302796800001,"power":14559,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":757238086255593472}} 
[2026-09-24 15:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":192830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890520,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:52:23] local.INFO: GPS data processed {"connection_id":192830,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:52:23] local.INFO: Acknowledgment sent {"connection_id":192830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:52:28] local.INFO: TCP Data received {"connection_id":192831,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:52:28] local.INFO: Processing buffer {"connection_id":192831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:52:28] local.INFO: IMEI packet received {"connection_id":192831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":192831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:52:33] local.INFO: TCP Data received {"connection_id":192831,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:52:33] local.INFO: Processing buffer {"connection_id":192831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:52:33] local.INFO: IMEI packet received {"connection_id":192831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":192831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:52:34] local.INFO: TCP Data received {"connection_id":192831,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:52:34] local.INFO: Processing buffer {"connection_id":192831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:52:34] local.INFO: Packet analysis {"connection_id":192831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:52:34] local.INFO: Extracted packet for processing {"connection_id":192831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:52:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302714368001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790245279000,"timestamp_ms":1790245279000,"timestamp_seconds":1790245279,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ef1518"} 
[2026-09-24 15:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:52:34] 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-09-24 15:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302714368001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302714368001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:52:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:52:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302714368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":192831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:52:34] local.INFO: GPS data processed {"connection_id":192831,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:52:34] local.INFO: Acknowledgment sent {"connection_id":192831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:52:45] local.INFO: TCP Data received {"connection_id":194106,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:52:45] local.INFO: Processing buffer {"connection_id":194106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:52:45] local.INFO: IMEI packet received {"connection_id":194106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":194106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:52:45] local.INFO: TCP Data received {"connection_id":194106,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:52:45] local.INFO: Processing buffer {"connection_id":194106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:52:45] local.INFO: IMEI packet received {"connection_id":194106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":194106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:52:50] local.INFO: TCP Data received {"connection_id":194106,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:52:50] local.INFO: Processing buffer {"connection_id":194106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:52:50] local.INFO: IMEI packet received {"connection_id":194106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":194106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:52:51] local.INFO: TCP Data received {"connection_id":194106,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ecee50012d196a00071fec30003e011228..."} 
[2026-09-24 15:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ecee50012d196a00071fec30003e011228..."} 
[2026-09-24 15:52:51] local.INFO: Processing buffer {"connection_id":194106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ecee50012d196a00071fec30003e011228..."} 
[2026-09-24 15:52:51] local.INFO: Packet analysis {"connection_id":194106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ec"} 
[2026-09-24 15:52:51] local.INFO: Extracted packet for processing {"connection_id":194106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ec"} 
[2026-09-24 15:52:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302749952001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790245138000,"timestamp_ms":1790245138000,"timestamp_seconds":1790245138,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ecee50"} 
[2026-09-24 15:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:52: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-09-24 15:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 15:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302749952001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302749952001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:52:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:52:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302749952001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":194106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:52:51] local.INFO: GPS data processed {"connection_id":194106,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:52:51] local.INFO: Acknowledgment sent {"connection_id":194106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:53:03] local.INFO: TCP Data received {"connection_id":192832,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192832,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:53:03] local.INFO: Processing buffer {"connection_id":192832,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:53:03] local.INFO: IMEI packet received {"connection_id":192832,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 15:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":192832,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:53:06] local.INFO: TCP Data received {"connection_id":192831,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:53:06] local.INFO: Processing buffer {"connection_id":192831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:53:06] local.INFO: Packet analysis {"connection_id":192831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:53:06] local.INFO: Extracted packet for processing {"connection_id":192831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:53:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302714368001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790245279000,"timestamp_ms":1790245279000,"timestamp_seconds":1790245279,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ef1518"} 
[2026-09-24 15:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302714368001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302714368001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:53:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:53:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302714368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":192831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:53:06] local.INFO: GPS data processed {"connection_id":192831,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:53:06] local.INFO: Acknowledgment sent {"connection_id":192831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:53:06] local.INFO: TCP Data received {"connection_id":192832,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192832,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:53:06] local.INFO: Processing buffer {"connection_id":192832,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:53:06] local.INFO: IMEI packet received {"connection_id":192832,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":192832,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:53:08] local.INFO: TCP Data received {"connection_id":192832,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192832,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:53:08] local.INFO: Processing buffer {"connection_id":192832,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:53:08] local.INFO: IMEI packet received {"connection_id":192832,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":192832,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:53:09] local.INFO: TCP Data received {"connection_id":192832,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f03628012d0a480007058908000c010f16..."} 
[2026-09-24 15:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f03628012d0a480007058908000c010f16..."} 
[2026-09-24 15:53:09] local.INFO: Processing buffer {"connection_id":192832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f03628012d0a480007058908000c010f16..."} 
[2026-09-24 15:53:09] local.INFO: Packet analysis {"connection_id":192832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f0"} 
[2026-09-24 15:53:09] local.INFO: Extracted packet for processing {"connection_id":192832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f0"} 
[2026-09-24 15:53:09] local.INFO: GPS Element Parsed {"raw_longitude":755648512,"raw_latitude":117803272,"longitude_deg":75.5648512,"latitude_deg":11.7803272,"altitude":12,"angle":271,"satellites":22,"speed":8,"hex_longitude":"2d0a4800","hex_latitude":"07058908","is_valid_coordinates":true} 
[2026-09-24 15:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302810112001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33659263561760768,"note":"Value kept but may cause issues"} 
[2026-09-24 15:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":741053275092611072,"note":"Value kept but may cause issues"} 
[2026-09-24 15:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790245353000,"timestamp_ms":1790245353000,"timestamp_seconds":1790245353,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f03628"} 
[2026-09-24 15:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-24 15:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192832,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192832,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302810112001,"66":14646,"177":206,"94":10240,"24":8,"16":33659263561760768,"45":741053275092611072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-24 15:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302810112001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:53:09] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 15:53:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33659263561760768,"km_value":33659263561760.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":741053275092611072,"description":"Unknown IO ID 45"} 
[2026-09-24 15:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302810112001,"power":14646,"unknown_177":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":741053275092611072}} 
[2026-09-24 15:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":192832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890524,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:53:09] local.INFO: GPS data processed {"connection_id":192832,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:53:09] local.INFO: Acknowledgment sent {"connection_id":192832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:53:17] local.INFO: TCP Data received {"connection_id":191454,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:53:17] local.INFO: Processing buffer {"connection_id":191454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:53:17] local.INFO: IMEI packet received {"connection_id":191454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":191454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:53:18] local.INFO: TCP Data received {"connection_id":191454,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:53:18] local.INFO: Processing buffer {"connection_id":191454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:53:18] local.INFO: IMEI packet received {"connection_id":191454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":191454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:53:22] local.INFO: TCP Data received {"connection_id":194106,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ed4058012d196a00071fec30003e01122a..."} 
[2026-09-24 15:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ed4058012d196a00071fec30003e01122a..."} 
[2026-09-24 15:53:22] local.INFO: Processing buffer {"connection_id":194106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ed4058012d196a00071fec30003e01122a..."} 
[2026-09-24 15:53:22] local.INFO: Packet analysis {"connection_id":194106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ed"} 
[2026-09-24 15:53:22] local.INFO: Extracted packet for processing {"connection_id":194106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ed"} 
[2026-09-24 15:53:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302755328001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790245159000,"timestamp_ms":1790245159000,"timestamp_seconds":1790245159,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ed4058"} 
[2026-09-24 15:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302755328001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302755328001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:53:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:53:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302755328001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":194106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:53:22] local.INFO: GPS data processed {"connection_id":194106,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:53:22] local.INFO: Acknowledgment sent {"connection_id":194106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:53:29] local.INFO: TCP Data received {"connection_id":194107,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:53:29] local.INFO: Processing buffer {"connection_id":194107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:53:29] local.INFO: IMEI packet received {"connection_id":194107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":194107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:53:33] local.INFO: TCP Data received {"connection_id":194107,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:53:33] local.INFO: Processing buffer {"connection_id":194107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:53:33] local.INFO: IMEI packet received {"connection_id":194107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":194107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:53:34] local.INFO: TCP Data received {"connection_id":194107,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:53:34] local.INFO: Processing buffer {"connection_id":194107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:53:34] local.INFO: Packet analysis {"connection_id":194107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:53:34] local.INFO: Extracted packet for processing {"connection_id":194107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:53:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302714368001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790245279000,"timestamp_ms":1790245279000,"timestamp_seconds":1790245279,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ef1518"} 
[2026-09-24 15:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:53:34] 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-09-24 15:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302714368001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302714368001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:53:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:53:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302714368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":194107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:53:34] local.INFO: GPS data processed {"connection_id":194107,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:53:34] local.INFO: Acknowledgment sent {"connection_id":194107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:53:36] local.INFO: TCP Data received {"connection_id":192833,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:53:36] local.INFO: Processing buffer {"connection_id":192833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:53:36] local.INFO: IMEI packet received {"connection_id":192833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":192833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:53:42] local.INFO: TCP Data received {"connection_id":192833,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:53:42] local.INFO: Processing buffer {"connection_id":192833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:53:42] local.INFO: IMEI packet received {"connection_id":192833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":192833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:53:42] local.INFO: TCP Data received {"connection_id":192832,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f03a10012d0a46c0070588d8000c010116..."} 
[2026-09-24 15:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f03a10012d0a46c0070588d8000c010116..."} 
[2026-09-24 15:53:42] local.INFO: Processing buffer {"connection_id":192832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f03a10012d0a46c0070588d8000c010116..."} 
[2026-09-24 15:53:42] local.INFO: Packet analysis {"connection_id":192832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f0"} 
[2026-09-24 15:53:42] local.INFO: Extracted packet for processing {"connection_id":192832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f0"} 
[2026-09-24 15:53:42] local.INFO: GPS Element Parsed {"raw_longitude":755648192,"raw_latitude":117803224,"longitude_deg":75.5648192,"latitude_deg":11.7803224,"altitude":12,"angle":257,"satellites":22,"speed":7,"hex_longitude":"2d0a46c0","hex_latitude":"070588d8","is_valid_coordinates":true} 
[2026-09-24 15:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302810368001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33659280741629952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740842168860084224,"note":"Value kept but may cause issues"} 
[2026-09-24 15:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790245354000,"timestamp_ms":1790245354000,"timestamp_seconds":1790245354,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f03a10"} 
[2026-09-24 15:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-24 15:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192832,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192832,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302810368001,"66":14646,"177":206,"94":10240,"24":7,"16":33659280741629952,"45":740842168860084224},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-24 15:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302810368001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:53:42] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 15:53:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33659280741629952,"km_value":33659280741629.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":740842168860084224,"description":"Unknown IO ID 45"} 
[2026-09-24 15:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302810368001,"power":14646,"unknown_177":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":740842168860084224}} 
[2026-09-24 15:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":192832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890527,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:53:42] local.INFO: GPS data processed {"connection_id":192832,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:53:42] local.INFO: Acknowledgment sent {"connection_id":192832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:53:43] local.INFO: TCP Data received {"connection_id":192833,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ee9430012c8db18007e8e2e0000900ac2d..."} 
[2026-09-24 15:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ee9430012c8db18007e8e2e0000900ac2d..."} 
[2026-09-24 15:53:43] local.INFO: Processing buffer {"connection_id":192833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ee9430012c8db18007e8e2e0000900ac2d..."} 
[2026-09-24 15:53:43] local.INFO: Packet analysis {"connection_id":192833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ee"} 
[2026-09-24 15:53:43] local.INFO: Extracted packet for processing {"connection_id":192833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ee"} 
[2026-09-24 15:53:43] local.INFO: GPS Element Parsed {"raw_longitude":747483520,"raw_latitude":132702944,"longitude_deg":74.748352,"latitude_deg":13.2702944,"altitude":9,"angle":172,"satellites":45,"speed":0,"hex_longitude":"2c8db180","hex_latitude":"07e8e2e0","is_valid_coordinates":true} 
[2026-09-24 15:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302777600001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:53:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8236661472023617536,"note":"Value kept but may cause issues"} 
[2026-09-24 15:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790245246000,"timestamp_ms":1790245246000,"timestamp_seconds":1790245246,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ee9430"} 
[2026-09-24 15:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 15:53:43] 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-09-24 15:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302777600001,"66":28376,"188":206,"9":54272,"24":0,"16":3605341577150464,"44":-8236661472023617536},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,9,24,16,44]} 
[2026-09-24 15:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302777600001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:53:43] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-24 15:53:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:53:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8236661472023617536,"description":"Unknown IO ID 44"} 
[2026-09-24 15:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302777600001,"power":28376,"unknown_188":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8236661472023617536}} 
[2026-09-24 15:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":192833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890528,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:53:43] local.INFO: GPS data processed {"connection_id":192833,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:53:43] local.INFO: Acknowledgment sent {"connection_id":192833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:53:45] local.INFO: TCP Data received {"connection_id":191254,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:53:45] local.INFO: Processing buffer {"connection_id":191254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:53:45] local.INFO: IMEI packet received {"connection_id":191254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":191254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:53:48] local.INFO: TCP Data received {"connection_id":191254,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:53:48] local.INFO: Processing buffer {"connection_id":191254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:53:48] local.INFO: IMEI packet received {"connection_id":191254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":191254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:53:50] local.INFO: TCP Data received {"connection_id":191254,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:53:50] local.INFO: Processing buffer {"connection_id":191254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:53:50] local.INFO: IMEI packet received {"connection_id":191254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":191254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:53:50] local.INFO: TCP Data received {"connection_id":191254,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ed9260012d196a00071fec30003e01122a..."} 
[2026-09-24 15:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ed9260012d196a00071fec30003e01122a..."} 
[2026-09-24 15:53:50] local.INFO: Processing buffer {"connection_id":191254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ed9260012d196a00071fec30003e01122a..."} 
[2026-09-24 15:53:50] local.INFO: Packet analysis {"connection_id":191254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ed"} 
[2026-09-24 15:53:50] local.INFO: Extracted packet for processing {"connection_id":191254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ed"} 
[2026-09-24 15:53:50] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302760704001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790245180000,"timestamp_ms":1790245180000,"timestamp_seconds":1790245180,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ed9260"} 
[2026-09-24 15:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 15:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302760704001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302760704001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:53:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:53:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302760704001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":191254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:53:50] local.INFO: GPS data processed {"connection_id":191254,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:53:50] local.INFO: Acknowledgment sent {"connection_id":191254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:54:05] local.INFO: TCP Data received {"connection_id":194107,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:54:05] local.INFO: Processing buffer {"connection_id":194107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:54:05] local.INFO: Packet analysis {"connection_id":194107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:54:05] local.INFO: Extracted packet for processing {"connection_id":194107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:54:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302714368001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790245279000,"timestamp_ms":1790245279000,"timestamp_seconds":1790245279,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ef1518"} 
[2026-09-24 15:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302714368001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302714368001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:54:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:54:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302714368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":194107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:54:05] local.INFO: GPS data processed {"connection_id":194107,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:54:05] local.INFO: Acknowledgment sent {"connection_id":194107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:54:10] local.INFO: TCP Data received {"connection_id":191455,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191455,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:54:10] local.INFO: Processing buffer {"connection_id":191455,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:54:10] local.INFO: IMEI packet received {"connection_id":191455,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 15:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":191455,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:54:12] local.INFO: TCP Data received {"connection_id":192834,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:54:12] local.INFO: Processing buffer {"connection_id":192834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:54:12] local.INFO: IMEI packet received {"connection_id":192834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":192834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:54:13] local.INFO: TCP Data received {"connection_id":191455,"ip":"42.106.6.24","data_length":51,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-24 15:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191455,"packet_length":51,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-24 15:54:13] local.INFO: Processing buffer {"connection_id":191455,"buffer_length":51,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-24 15:54:13] local.INFO: IMEI packet received {"connection_id":191455,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":191455,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:54:14] local.INFO: TCP Data received {"connection_id":191455,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f18de8012d0a7cc007059fd8000d002316..."} 
[2026-09-24 15:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f18de8012d0a7cc007059fd8000d002316..."} 
[2026-09-24 15:54:14] local.INFO: Processing buffer {"connection_id":191455,"buffer_length":829,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-24 15:54:14] local.INFO: IMEI packet received {"connection_id":191455,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":191455,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:54:15] local.INFO: TCP Data received {"connection_id":191455,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f1a170012d0a83800705a860000d003916..."} 
[2026-09-24 15:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f1a170012d0a83800705a860000d003916..."} 
[2026-09-24 15:54:15] local.INFO: Processing buffer {"connection_id":191455,"buffer_length":1607,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a0d2..."} 
[2026-09-24 15:54:15] local.INFO: IMEI packet received {"connection_id":191455,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":191455,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:54:16] local.INFO: TCP Data received {"connection_id":191455,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f1a558012d0a84c00705a8a8000d005416..."} 
[2026-09-24 15:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f1a558012d0a84c00705a8a8000d005416..."} 
[2026-09-24 15:54:16] local.INFO: Processing buffer {"connection_id":191455,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a0d2f18de8012d0a7cc007059fd8000d002316..."} 
[2026-09-24 15:54:16] local.INFO: Packet analysis {"connection_id":191455,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a0d2f1"} 
[2026-09-24 15:54:16] local.INFO: Extracted packet for processing {"connection_id":191455,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d2f1"} 
[2026-09-24 15:54:16] local.INFO: GPS Element Parsed {"raw_longitude":755662016,"raw_latitude":117809112,"longitude_deg":75.5662016,"latitude_deg":11.7809112,"altitude":13,"angle":35,"satellites":22,"speed":32,"hex_longitude":"2d0a7cc0","hex_latitude":"07059fd8","is_valid_coordinates":true} 
[2026-09-24 15:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302829056001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33660255699206144,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":750130843091505152,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790245441000,"timestamp_ms":1790245441000,"timestamp_seconds":1790245441,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f18de8"} 
[2026-09-24 15:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 15:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302829056001,"66":14374,"177":206,"94":10240,"24":32,"16":33660255699206144,"45":750130843091505152},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-24 15:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302829056001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:54:16] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 15:54:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33660255699206144,"km_value":33660255699206.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":750130843091505152,"description":"Unknown IO ID 45"} 
[2026-09-24 15:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302829056001,"power":14374,"unknown_177":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":750130843091505152}} 
[2026-09-24 15:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":191455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890531,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:54:16] local.INFO: GPS data processed {"connection_id":191455,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:54:16] local.INFO: Acknowledgment sent {"connection_id":191455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:54:16] local.INFO: Packet analysis {"connection_id":191455,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d2f1"} 
[2026-09-24 15:54:16] local.INFO: Extracted packet for processing {"connection_id":191455,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f1"} 
[2026-09-24 15:54:16] local.INFO: GPS Element Parsed {"raw_longitude":755663744,"raw_latitude":117811296,"longitude_deg":75.5663744,"latitude_deg":11.7811296,"altitude":13,"angle":57,"satellites":22,"speed":14,"hex_longitude":"2d0a8380","hex_latitude":"0705a860","is_valid_coordinates":true} 
[2026-09-24 15:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302832896001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33660388843192320,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":755689973883066368,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790245446000,"timestamp_ms":1790245446000,"timestamp_seconds":1790245446,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f1a170"} 
[2026-09-24 15:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-24 15:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302832896001,"66":14439,"177":206,"94":10240,"24":14,"16":33660388843192320,"45":755689973883066368},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-24 15:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302832896001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:54:16] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 15:54:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33660388843192320,"km_value":33660388843192.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":755689973883066368,"description":"Unknown IO ID 45"} 
[2026-09-24 15:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302832896001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":755689973883066368}} 
[2026-09-24 15:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":191455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890532,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:54:16] local.INFO: GPS data processed {"connection_id":191455,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:54:16] local.INFO: Acknowledgment sent {"connection_id":191455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:54:16] local.INFO: Packet analysis {"connection_id":191455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f1"} 
[2026-09-24 15:54:16] local.INFO: Extracted packet for processing {"connection_id":191455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f1"} 
[2026-09-24 15:54:16] local.INFO: GPS Element Parsed {"raw_longitude":755664064,"raw_latitude":117811368,"longitude_deg":75.5664064,"latitude_deg":11.7811368,"altitude":13,"angle":84,"satellites":22,"speed":11,"hex_longitude":"2d0a84c0","hex_latitude":"0705a8a8","is_valid_coordinates":true} 
[2026-09-24 15:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302834176001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33660406023061504,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757589929976422400,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790245447000,"timestamp_ms":1790245447000,"timestamp_seconds":1790245447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f1a558"} 
[2026-09-24 15:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 15:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302834176001,"66":14439,"177":206,"94":10240,"24":11,"16":33660406023061504,"45":757589929976422400},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-24 15:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302834176001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:54:16] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 15:54:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33660406023061504,"km_value":33660406023061.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":757589929976422400,"description":"Unknown IO ID 45"} 
[2026-09-24 15:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302834176001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":757589929976422400}} 
[2026-09-24 15:54:16] local.INFO: TCP Data received {"connection_id":192834,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:54:16] local.INFO: Processing buffer {"connection_id":192834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:54:16] local.INFO: IMEI packet received {"connection_id":192834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":192834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":191455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890533,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:54:16] local.INFO: GPS data processed {"connection_id":191455,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:54:16] local.INFO: Acknowledgment sent {"connection_id":191455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:54:17] local.INFO: TCP Data received {"connection_id":191455,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f1a940012d0a85c00705a858000e007416..."} 
[2026-09-24 15:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f1a940012d0a85c00705a858000e007416..."} 
[2026-09-24 15:54:17] local.INFO: Processing buffer {"connection_id":191455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f1a940012d0a85c00705a858000e007416..."} 
[2026-09-24 15:54:17] local.INFO: Packet analysis {"connection_id":191455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f1"} 
[2026-09-24 15:54:17] local.INFO: Extracted packet for processing {"connection_id":191455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f1"} 
[2026-09-24 15:54:17] local.INFO: GPS Element Parsed {"raw_longitude":755664320,"raw_latitude":117811288,"longitude_deg":75.566432,"latitude_deg":11.7811288,"altitude":14,"angle":116,"satellites":22,"speed":10,"hex_longitude":"2d0a85c0","hex_latitude":"0705a858","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302834432001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33660414612996096,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757941773697329152,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790245448000,"timestamp_ms":1790245448000,"timestamp_seconds":1790245448,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f1a940"} 
[2026-09-24 15:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15: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-09-24 15:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 15:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302834432001,"66":14439,"177":206,"94":10240,"24":10,"16":33660414612996096,"45":757941773697329152},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-24 15:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302834432001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:54:17] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 15:54:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33660414612996096,"km_value":33660414612996.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":757941773697329152,"description":"Unknown IO ID 45"} 
[2026-09-24 15:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302834432001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":757941773697329152}} 
[2026-09-24 15:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":191455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890534,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:54:17] local.INFO: GPS data processed {"connection_id":191455,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:54:17] local.INFO: Acknowledgment sent {"connection_id":191455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:54:18] local.INFO: TCP Data received {"connection_id":192834,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2eee638012c8db18007e8e2e0000900ac2d..."} 
[2026-09-24 15:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2eee638012c8db18007e8e2e0000900ac2d..."} 
[2026-09-24 15:54:18] local.INFO: Processing buffer {"connection_id":192834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2eee638012c8db18007e8e2e0000900ac2d..."} 
[2026-09-24 15:54:18] local.INFO: Packet analysis {"connection_id":192834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ee"} 
[2026-09-24 15:54:18] local.INFO: Extracted packet for processing {"connection_id":192834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ee"} 
[2026-09-24 15:54:18] local.INFO: GPS Element Parsed {"raw_longitude":747483520,"raw_latitude":132702944,"longitude_deg":74.748352,"latitude_deg":13.2702944,"altitude":9,"angle":172,"satellites":45,"speed":0,"hex_longitude":"2c8db180","hex_latitude":"07e8e2e0","is_valid_coordinates":true} 
[2026-09-24 15:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302782976001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8236661472023617536,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790245267000,"timestamp_ms":1790245267000,"timestamp_seconds":1790245267,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2eee638"} 
[2026-09-24 15:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 15:54: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-09-24 15:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":192834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":192834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":192834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302782976001,"66":28300,"188":206,"9":54272,"24":0,"16":3605341577150464,"44":-8236661472023617536},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,9,24,16,44]} 
[2026-09-24 15:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302782976001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:54:18] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-24 15:54:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:54:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8236661472023617536,"description":"Unknown IO ID 44"} 
[2026-09-24 15:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302782976001,"power":28300,"unknown_188":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8236661472023617536}} 
[2026-09-24 15:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":192834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890535,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:54:18] local.INFO: GPS data processed {"connection_id":192834,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:54:18] local.INFO: Acknowledgment sent {"connection_id":192834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:54:19] local.INFO: TCP Data received {"connection_id":191455,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f1ad28012d0a86800705a768000f008d16..."} 
[2026-09-24 15:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f1ad28012d0a86800705a768000f008d16..."} 
[2026-09-24 15:54:19] local.INFO: Processing buffer {"connection_id":191455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f1ad28012d0a86800705a768000f008d16..."} 
[2026-09-24 15:54:19] local.INFO: Packet analysis {"connection_id":191455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f1"} 
[2026-09-24 15:54:19] local.INFO: Extracted packet for processing {"connection_id":191455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f1"} 
[2026-09-24 15:54:19] local.INFO: GPS Element Parsed {"raw_longitude":755664512,"raw_latitude":117811048,"longitude_deg":75.5664512,"latitude_deg":11.7811048,"altitude":15,"angle":141,"satellites":22,"speed":12,"hex_longitude":"2d0a8680","hex_latitude":"0705a768","is_valid_coordinates":true} 
[2026-09-24 15:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302834688001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33660431792865280,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758223248674019328,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790245449000,"timestamp_ms":1790245449000,"timestamp_seconds":1790245449,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f1ad28"} 
[2026-09-24 15:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:54: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-09-24 15:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 15:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302834688001,"66":14439,"177":206,"94":10240,"24":12,"16":33660431792865280,"45":758223248674019328},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-24 15:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302834688001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:54:19] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 15:54:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33660431792865280,"km_value":33660431792865.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":758223248674019328,"description":"Unknown IO ID 45"} 
[2026-09-24 15:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302834688001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":758223248674019328}} 
[2026-09-24 15:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":191455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890536,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:54:19] local.INFO: GPS data processed {"connection_id":191455,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:54:19] local.INFO: Acknowledgment sent {"connection_id":191455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:54:20] local.INFO: TCP Data received {"connection_id":192834,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ef3840012c8dba4007e8ad08000900a727..."} 
[2026-09-24 15:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ef3840012c8dba4007e8ad08000900a727..."} 
[2026-09-24 15:54:20] local.INFO: Processing buffer {"connection_id":192834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ef3840012c8dba4007e8ad08000900a727..."} 
[2026-09-24 15:54:20] local.INFO: Packet analysis {"connection_id":192834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:54:20] local.INFO: Extracted packet for processing {"connection_id":192834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:54:20] local.INFO: GPS Element Parsed {"raw_longitude":747485760,"raw_latitude":132689160,"longitude_deg":74.748576,"latitude_deg":13.268916,"altitude":9,"angle":167,"satellites":39,"speed":0,"hex_longitude":"2c8dba40","hex_latitude":"07e8ad08","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302788352001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8236661472023617536,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790245288000,"timestamp_ms":1790245288000,"timestamp_seconds":1790245288,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ef3840"} 
[2026-09-24 15:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:54:20] 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-09-24 15: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-09-24 15:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":192834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":192834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":192834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302788352001,"66":28354,"199":206,"9":54272,"24":0,"16":3605341577150464,"44":-8236661472023617536},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,9,24,16,44]} 
[2026-09-24 15:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302788352001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:54:20] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-24 15:54:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:54:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8236661472023617536,"description":"Unknown IO ID 44"} 
[2026-09-24 15:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302788352001,"power":28354,"trip_odometer":0.206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8236661472023617536}} 
[2026-09-24 15:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":192834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890537,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:54:20] local.INFO: GPS data processed {"connection_id":192834,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:54:20] local.INFO: Acknowledgment sent {"connection_id":192834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:54:21] local.INFO: TCP Data received {"connection_id":191254,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ede468012d196a00071fec30003e011229..."} 
[2026-09-24 15:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ede468012d196a00071fec30003e011229..."} 
[2026-09-24 15:54:21] local.INFO: Processing buffer {"connection_id":191254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ede468012d196a00071fec30003e011229..."} 
[2026-09-24 15:54:21] local.INFO: Packet analysis {"connection_id":191254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ed"} 
[2026-09-24 15:54:21] local.INFO: Extracted packet for processing {"connection_id":191254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ed"} 
[2026-09-24 15:54:21] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302766080001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790245201000,"timestamp_ms":1790245201000,"timestamp_seconds":1790245201,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ede468"} 
[2026-09-24 15:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302766080001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302766080001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:54:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:54:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302766080001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":191254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:54:21] local.INFO: GPS data processed {"connection_id":191254,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:54:21] local.INFO: Acknowledgment sent {"connection_id":191254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:54:28] local.INFO: TCP Data received {"connection_id":192835,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:54:28] local.INFO: Processing buffer {"connection_id":192835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:54:28] local.INFO: IMEI packet received {"connection_id":192835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":192835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:54:33] local.INFO: TCP Data received {"connection_id":192835,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:54:33] local.INFO: Processing buffer {"connection_id":192835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:54:33] local.INFO: IMEI packet received {"connection_id":192835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":192835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:54:34] local.INFO: TCP Data received {"connection_id":192835,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:54:34] local.INFO: Processing buffer {"connection_id":192835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:54:34] local.INFO: Packet analysis {"connection_id":192835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:54:34] local.INFO: Extracted packet for processing {"connection_id":192835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:54:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302714368001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790245279000,"timestamp_ms":1790245279000,"timestamp_seconds":1790245279,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ef1518"} 
[2026-09-24 15:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:54:34] 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-09-24 15:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302714368001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302714368001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:54:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:54:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302714368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":192835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:54:34] local.INFO: GPS data processed {"connection_id":192835,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:54:34] local.INFO: Acknowledgment sent {"connection_id":192835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:54:50] local.INFO: TCP Data received {"connection_id":191255,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:54:50] local.INFO: Processing buffer {"connection_id":191255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:54:50] local.INFO: IMEI packet received {"connection_id":191255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":191255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:54:51] local.INFO: TCP Data received {"connection_id":191255,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:54:51] local.INFO: Processing buffer {"connection_id":191255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:54:51] local.INFO: IMEI packet received {"connection_id":191255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":191255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:54:51] local.INFO: TCP Data received {"connection_id":191255,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ee3670012d196a00071fec30003e011229..."} 
[2026-09-24 15:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ee3670012d196a00071fec30003e011229..."} 
[2026-09-24 15:54:51] local.INFO: Processing buffer {"connection_id":191255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ee3670012d196a00071fec30003e011229..."} 
[2026-09-24 15:54:51] local.INFO: Packet analysis {"connection_id":191255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ee"} 
[2026-09-24 15:54:51] local.INFO: Extracted packet for processing {"connection_id":191255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ee"} 
[2026-09-24 15:54:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302771456001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790245222000,"timestamp_ms":1790245222000,"timestamp_seconds":1790245222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ee3670"} 
[2026-09-24 15:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:54: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-09-24 15:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 15:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302771456001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302771456001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:54:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:54:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302771456001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":191255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:54:51] local.INFO: GPS data processed {"connection_id":191255,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:54:51] local.INFO: Acknowledgment sent {"connection_id":191255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:54:52] local.INFO: TCP Data received {"connection_id":192834,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ef8a48012c8dca8007e86958000a00ab27..."} 
[2026-09-24 15:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ef8a48012c8dca8007e86958000a00ab27..."} 
[2026-09-24 15:54:52] local.INFO: Processing buffer {"connection_id":192834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ef8a48012c8dca8007e86958000a00ab27..."} 
[2026-09-24 15:54:52] local.INFO: Packet analysis {"connection_id":192834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:54:52] local.INFO: Extracted packet for processing {"connection_id":192834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:54:52] local.INFO: GPS Element Parsed {"raw_longitude":747489920,"raw_latitude":132671832,"longitude_deg":74.748992,"latitude_deg":13.2671832,"altitude":10,"angle":171,"satellites":39,"speed":0,"hex_longitude":"2c8dca80","hex_latitude":"07e86958","is_valid_coordinates":true} 
[2026-09-24 15:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302793728001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8234198565980928000,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790245309000,"timestamp_ms":1790245309000,"timestamp_seconds":1790245309,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ef8a48"} 
[2026-09-24 15:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:54: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-09-24 15:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 15:54:52] 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-09-24 15:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":192834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":192834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":192834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302793728001,"66":28332,"188":206,"9":54272,"24":0,"16":3605341577150464,"44":-8234198565980928000},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,9,24,16,44]} 
[2026-09-24 15:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302793728001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:54:52] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-24 15:54:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:54:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8234198565980928000,"description":"Unknown IO ID 44"} 
[2026-09-24 15:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302793728001,"power":28332,"unknown_188":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8234198565980928000}} 
[2026-09-24 15:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":192834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890541,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:54:52] local.INFO: GPS data processed {"connection_id":192834,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:54:52] local.INFO: Acknowledgment sent {"connection_id":192834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:54:55] local.INFO: TCP Data received {"connection_id":191255,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ee8878012d196a00071fec30003e01122a..."} 
[2026-09-24 15:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ee8878012d196a00071fec30003e01122a..."} 
[2026-09-24 15:54:55] local.INFO: Processing buffer {"connection_id":191255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ee8878012d196a00071fec30003e01122a..."} 
[2026-09-24 15:54:55] local.INFO: Packet analysis {"connection_id":191255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ee"} 
[2026-09-24 15:54:55] local.INFO: Extracted packet for processing {"connection_id":191255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ee"} 
[2026-09-24 15:54:55] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302776832001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790245243000,"timestamp_ms":1790245243000,"timestamp_seconds":1790245243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ee8878"} 
[2026-09-24 15:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 15:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302776832001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302776832001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:54:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:54:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302776832001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":191255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:54:55] local.INFO: GPS data processed {"connection_id":191255,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:54:55] local.INFO: Acknowledgment sent {"connection_id":191255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:55:04] local.INFO: TCP Data received {"connection_id":194108,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194108,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:55:04] local.INFO: Processing buffer {"connection_id":194108,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:55:04] local.INFO: IMEI packet received {"connection_id":194108,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 15:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":194108,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:55:05] local.INFO: TCP Data received {"connection_id":191256,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:55:05] local.INFO: Processing buffer {"connection_id":191256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:55:05] local.INFO: IMEI packet received {"connection_id":191256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":191256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:55:06] local.INFO: TCP Data received {"connection_id":192835,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:55:06] local.INFO: Processing buffer {"connection_id":192835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:55:06] local.INFO: Packet analysis {"connection_id":192835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:55:06] local.INFO: Extracted packet for processing {"connection_id":192835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:55:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302714368001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790245279000,"timestamp_ms":1790245279000,"timestamp_seconds":1790245279,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ef1518"} 
[2026-09-24 15:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302714368001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302714368001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:55:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:55:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302714368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":192835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:55:06] local.INFO: GPS data processed {"connection_id":192835,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:55:06] local.INFO: Acknowledgment sent {"connection_id":192835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:55:06] local.INFO: TCP Data received {"connection_id":191256,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:55:06] local.INFO: Processing buffer {"connection_id":191256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:55:06] local.INFO: IMEI packet received {"connection_id":191256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":191256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:55:09] local.INFO: TCP Data received {"connection_id":194108,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194108,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:55:09] local.INFO: Processing buffer {"connection_id":194108,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:55:09] local.INFO: IMEI packet received {"connection_id":194108,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":194108,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:55:09] local.INFO: TCP Data received {"connection_id":194108,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f1b8e0012d0a88800705a3780010009816..."} 
[2026-09-24 15:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f1b8e0012d0a88800705a3780010009816..."} 
[2026-09-24 15:55:09] local.INFO: Processing buffer {"connection_id":194108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f1b8e0012d0a88800705a3780010009816..."} 
[2026-09-24 15:55:09] local.INFO: Packet analysis {"connection_id":194108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f1"} 
[2026-09-24 15:55:09] local.INFO: Extracted packet for processing {"connection_id":194108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f1"} 
[2026-09-24 15:55:09] local.INFO: GPS Element Parsed {"raw_longitude":755665024,"raw_latitude":117810040,"longitude_deg":75.5665024,"latitude_deg":11.781004,"altitude":16,"angle":152,"satellites":22,"speed":18,"hex_longitude":"2d0a8880","hex_latitude":"0705a378","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302834944001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33660487627440128,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758434354906490880,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790245452000,"timestamp_ms":1790245452000,"timestamp_seconds":1790245452,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f1b8e0"} 
[2026-09-24 15:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:55: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-09-24 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 15:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":194108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":194108,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":194108,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302834944001,"66":14439,"177":206,"94":10240,"24":18,"16":33660487627440128,"45":758434354906490880},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-24 15:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302834944001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:55:09] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-24 15:55:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33660487627440128,"km_value":33660487627440.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":758434354906490880,"description":"Unknown IO ID 45"} 
[2026-09-24 15:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302834944001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":758434354906490880}} 
[2026-09-24 15:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":194108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890544,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:55:09] local.INFO: GPS data processed {"connection_id":194108,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:55:09] local.INFO: Acknowledgment sent {"connection_id":194108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:55:12] local.INFO: TCP Data received {"connection_id":191256,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:55:12] local.INFO: Processing buffer {"connection_id":191256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:55:12] local.INFO: IMEI packet received {"connection_id":191256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":191256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:55:13] local.INFO: TCP Data received {"connection_id":191256,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2efb540012c8dcec007e81fd8000b00b62a..."} 
[2026-09-24 15:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2efb540012c8dcec007e81fd8000b00b62a..."} 
[2026-09-24 15:55:13] local.INFO: Processing buffer {"connection_id":191256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2efb540012c8dcec007e81fd8000b00b62a..."} 
[2026-09-24 15:55:13] local.INFO: Packet analysis {"connection_id":191256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:55:13] local.INFO: Extracted packet for processing {"connection_id":191256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:55:13] local.INFO: GPS Element Parsed {"raw_longitude":747491008,"raw_latitude":132653016,"longitude_deg":74.7491008,"latitude_deg":13.2653016,"altitude":11,"angle":182,"satellites":42,"speed":45,"hex_longitude":"2c8dcec0","hex_latitude":"07e81fd8","is_valid_coordinates":true} 
[2026-09-24 15:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302799104001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8229624597613815808,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790245320000,"timestamp_ms":1790245320000,"timestamp_seconds":1790245320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2efb540"} 
[2026-09-24 15:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 15:55:13] 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-09-24 15:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191256,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191256,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302799104001,"66":28354,"199":206,"9":54272,"24":45,"16":3605341577150464,"44":-8229624597613815808},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,9,24,16,44]} 
[2026-09-24 15:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302799104001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:55:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-24 15:55:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:55:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8229624597613815808,"description":"Unknown IO ID 44"} 
[2026-09-24 15:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302799104001,"power":28354,"trip_odometer":0.206,"unknown_9":54272,"ignition":45,"odometer":null,"unknown_44":-8229624597613815808}} 
[2026-09-24 15:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":191256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890545,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:55:13] local.INFO: GPS data processed {"connection_id":191256,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:55:13] local.INFO: Acknowledgment sent {"connection_id":191256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:55:26] local.INFO: TCP Data received {"connection_id":191255,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2eeda80012d196a00071fec30003e011229..."} 
[2026-09-24 15:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2eeda80012d196a00071fec30003e011229..."} 
[2026-09-24 15:55:26] local.INFO: Processing buffer {"connection_id":191255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2eeda80012d196a00071fec30003e011229..."} 
[2026-09-24 15:55:26] local.INFO: Packet analysis {"connection_id":191255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ee"} 
[2026-09-24 15:55:26] local.INFO: Extracted packet for processing {"connection_id":191255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ee"} 
[2026-09-24 15:55:26] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302782208001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790245264000,"timestamp_ms":1790245264000,"timestamp_seconds":1790245264,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2eeda80"} 
[2026-09-24 15:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302782208001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302782208001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:55:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:55:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302782208001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":191255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:55:26] local.INFO: GPS data processed {"connection_id":191255,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:55:26] local.INFO: Acknowledgment sent {"connection_id":191255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:55:28] local.INFO: TCP Data received {"connection_id":194109,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:55:28] local.INFO: Processing buffer {"connection_id":194109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:55:28] local.INFO: IMEI packet received {"connection_id":194109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":194109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:55:33] local.INFO: TCP Data received {"connection_id":194109,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:55:33] local.INFO: Processing buffer {"connection_id":194109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:55:33] local.INFO: IMEI packet received {"connection_id":194109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":194109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:55:34] local.INFO: TCP Data received {"connection_id":194109,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:55:34] local.INFO: Processing buffer {"connection_id":194109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:55:34] local.INFO: Packet analysis {"connection_id":194109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:55:34] local.INFO: Extracted packet for processing {"connection_id":194109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:55:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302714368001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790245279000,"timestamp_ms":1790245279000,"timestamp_seconds":1790245279,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ef1518"} 
[2026-09-24 15:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:55:34] 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-09-24 15: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-09-24 15:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302714368001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302714368001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:55:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:55:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302714368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":194109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:55:34] local.INFO: GPS data processed {"connection_id":194109,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:55:34] local.INFO: Acknowledgment sent {"connection_id":194109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:55:41] local.INFO: TCP Data received {"connection_id":194108,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f1f760012d0a9c4007058570001a008516..."} 
[2026-09-24 15:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f1f760012d0a9c4007058570001a008516..."} 
[2026-09-24 15:55:41] local.INFO: Processing buffer {"connection_id":194108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f1f760012d0a9c4007058570001a008516..."} 
[2026-09-24 15:55:41] local.INFO: Packet analysis {"connection_id":194108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f1"} 
[2026-09-24 15:55:41] local.INFO: Extracted packet for processing {"connection_id":194108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f1"} 
[2026-09-24 15:55:41] local.INFO: GPS Element Parsed {"raw_longitude":755670080,"raw_latitude":117802352,"longitude_deg":75.567008,"latitude_deg":11.7802352,"altitude":26,"angle":133,"satellites":22,"speed":18,"hex_longitude":"2d0a9c40","hex_latitude":"07058570","is_valid_coordinates":true} 
[2026-09-24 15:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302835712001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33660930009071616,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758997304859654144,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790245468000,"timestamp_ms":1790245468000,"timestamp_seconds":1790245468,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f1f760"} 
[2026-09-24 15:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 15:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":194108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":194108,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":194108,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302835712001,"66":14580,"165":206,"94":10240,"24":18,"16":33660930009071616,"45":758997304859654144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 15:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302835712001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:55:41] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 15:55:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33660930009071616,"km_value":33660930009071.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":758997304859654144,"description":"Unknown IO ID 45"} 
[2026-09-24 15:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302835712001,"power":14580,"unknown_165":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":758997304859654144}} 
[2026-09-24 15:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":194108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890548,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:55:41] local.INFO: GPS data processed {"connection_id":194108,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:55:41] local.INFO: Acknowledgment sent {"connection_id":194108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:55:45] local.INFO: TCP Data received {"connection_id":191256,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f00748012c8dc20007e7cdc8000700bf2d..."} 
[2026-09-24 15:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f00748012c8dc20007e7cdc8000700bf2d..."} 
[2026-09-24 15:55:45] local.INFO: Processing buffer {"connection_id":191256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f00748012c8dc20007e7cdc8000700bf2d..."} 
[2026-09-24 15:55:45] local.INFO: Packet analysis {"connection_id":191256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f0"} 
[2026-09-24 15:55:45] local.INFO: Extracted packet for processing {"connection_id":191256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f0"} 
[2026-09-24 15:55:45] local.INFO: GPS Element Parsed {"raw_longitude":747487744,"raw_latitude":132632008,"longitude_deg":74.7487744,"latitude_deg":13.2632008,"altitude":7,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2c8dc200","hex_latitude":"07e7cdc8","is_valid_coordinates":true} 
[2026-09-24 15:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302801920001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8228428328967612416,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790245341000,"timestamp_ms":1790245341000,"timestamp_seconds":1790245341,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f00748"} 
[2026-09-24 15:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 15:55: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-09-24 15:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191256,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191256,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302801920001,"66":28224,"199":206,"9":54272,"24":0,"16":3605341577150464,"44":-8228428328967612416},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,9,24,16,44]} 
[2026-09-24 15:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302801920001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:55:45] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-24 15:55:45] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:55:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8228428328967612416,"description":"Unknown IO ID 44"} 
[2026-09-24 15:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302801920001,"power":28224,"trip_odometer":0.206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8228428328967612416}} 
[2026-09-24 15:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":191256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890549,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:55:45] local.INFO: GPS data processed {"connection_id":191256,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:55:45] local.INFO: Acknowledgment sent {"connection_id":191256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:55:45] local.INFO: TCP Data received {"connection_id":192836,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:55:45] local.INFO: Processing buffer {"connection_id":192836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:55:45] local.INFO: IMEI packet received {"connection_id":192836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":192836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:55:50] local.INFO: TCP Data received {"connection_id":192836,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:55:50] local.INFO: Processing buffer {"connection_id":192836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:55:50] local.INFO: IMEI packet received {"connection_id":192836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":192836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:55:51] local.INFO: TCP Data received {"connection_id":192836,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ef2c88012d196a00071fec30003e01122b..."} 
[2026-09-24 15:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ef2c88012d196a00071fec30003e01122b..."} 
[2026-09-24 15:55:51] local.INFO: Processing buffer {"connection_id":192836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ef2c88012d196a00071fec30003e01122b..."} 
[2026-09-24 15:55:51] local.INFO: Packet analysis {"connection_id":192836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:55:51] local.INFO: Extracted packet for processing {"connection_id":192836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:55:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302787584001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790245285000,"timestamp_ms":1790245285000,"timestamp_seconds":1790245285,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ef2c88"} 
[2026-09-24 15:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:55: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-09-24 15:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 15:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302787584001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302787584001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:55:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:55:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302787584001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":192836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:55:51] local.INFO: GPS data processed {"connection_id":192836,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:55:51] local.INFO: Acknowledgment sent {"connection_id":192836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:56:04] local.INFO: TCP Data received {"connection_id":191456,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191456,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:56:04] local.INFO: Processing buffer {"connection_id":191456,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:56:04] local.INFO: IMEI packet received {"connection_id":191456,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 15:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":191456,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:56:06] local.INFO: TCP Data received {"connection_id":194109,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:56:06] local.INFO: Processing buffer {"connection_id":194109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:56:06] local.INFO: Packet analysis {"connection_id":194109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:56:06] local.INFO: Extracted packet for processing {"connection_id":194109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:56:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302714368001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790245279000,"timestamp_ms":1790245279000,"timestamp_seconds":1790245279,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ef1518"} 
[2026-09-24 15:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302714368001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302714368001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:56:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:56:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302714368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":194109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:56:06] local.INFO: GPS data processed {"connection_id":194109,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:56:06] local.INFO: Acknowledgment sent {"connection_id":194109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:56:06] local.INFO: TCP Data received {"connection_id":194110,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:56:06] local.INFO: Processing buffer {"connection_id":194110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:56:06] local.INFO: IMEI packet received {"connection_id":194110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":194110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:56:09] local.INFO: TCP Data received {"connection_id":191456,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191456,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:56:09] local.INFO: Processing buffer {"connection_id":191456,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:56:09] local.INFO: IMEI packet received {"connection_id":191456,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":191456,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:56:09] local.INFO: TCP Data received {"connection_id":191456,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f310a0012d0af340070597c80026004118..."} 
[2026-09-24 15:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f310a0012d0af340070597c80026004118..."} 
[2026-09-24 15:56:09] local.INFO: Processing buffer {"connection_id":191456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f310a0012d0af340070597c80026004118..."} 
[2026-09-24 15:56:09] local.INFO: Packet analysis {"connection_id":191456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:56:09] local.INFO: Extracted packet for processing {"connection_id":191456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:56:09] local.INFO: GPS Element Parsed {"raw_longitude":755692352,"raw_latitude":117807048,"longitude_deg":75.5692352,"latitude_deg":11.7807048,"altitude":38,"angle":65,"satellites":24,"speed":18,"hex_longitude":"2d0af340","hex_latitude":"070597c8","is_valid_coordinates":true} 
[2026-09-24 15:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302856704001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33662055290503168,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785596690157758464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790245540000,"timestamp_ms":1790245540000,"timestamp_seconds":1790245540,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f310a0"} 
[2026-09-24 15:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-24 15:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191456,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191456,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302856704001,"66":14396,"165":206,"94":10240,"24":18,"16":33662055290503168,"45":785596690157758464},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 15:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302856704001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:56:09] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 15:56:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33662055290503168,"km_value":33662055290503.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":785596690157758464,"description":"Unknown IO ID 45"} 
[2026-09-24 15:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302856704001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":785596690157758464}} 
[2026-09-24 15:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":191456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890552,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:56:09] local.INFO: GPS data processed {"connection_id":191456,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:56:09] local.INFO: Acknowledgment sent {"connection_id":191456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:56:12] local.INFO: TCP Data received {"connection_id":194110,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:56:12] local.INFO: Processing buffer {"connection_id":194110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:56:12] local.INFO: IMEI packet received {"connection_id":194110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":194110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:56:18] local.INFO: TCP Data received {"connection_id":194110,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f0e9d80100000000000000000000000000..."} 
[2026-09-24 15:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f0e9d80100000000000000000000000000..."} 
[2026-09-24 15:56:18] local.INFO: Processing buffer {"connection_id":194110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f0e9d80100000000000000000000000000..."} 
[2026-09-24 15:56:18] local.INFO: Packet analysis {"connection_id":194110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f0"} 
[2026-09-24 15:56:18] local.INFO: Extracted packet for processing {"connection_id":194110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f0"} 
[2026-09-24 15:56: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-09-24 15:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302807296001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8232017134926051328,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790245399000,"timestamp_ms":1790245399000,"timestamp_seconds":1790245399,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f0e9d8"} 
[2026-09-24 15:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-24 15:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":194110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":194110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":194110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":194110,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:56:18] local.INFO: GPS data processed {"connection_id":194110,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:56:18] local.INFO: Acknowledgment sent {"connection_id":194110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:56:20] local.INFO: TCP Data received {"connection_id":194110,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f07c78012c8d9f0007e722a0000600be29..."} 
[2026-09-24 15:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f07c78012c8d9f0007e722a0000600be29..."} 
[2026-09-24 15:56:20] local.INFO: Processing buffer {"connection_id":194110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f07c78012c8d9f0007e722a0000600be29..."} 
[2026-09-24 15:56:20] local.INFO: Packet analysis {"connection_id":194110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f0"} 
[2026-09-24 15:56:20] local.INFO: Extracted packet for processing {"connection_id":194110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f0"} 
[2026-09-24 15:56:20] local.INFO: GPS Element Parsed {"raw_longitude":747478784,"raw_latitude":132588192,"longitude_deg":74.7478784,"latitude_deg":13.2588192,"altitude":6,"angle":190,"satellites":41,"speed":58,"hex_longitude":"2c8d9f00","hex_latitude":"07e722a0","is_valid_coordinates":true} 
[2026-09-24 15:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 15:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790245371000,"timestamp_ms":1790245371000,"timestamp_seconds":1790245371,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f07c78"} 
[2026-09-24 15:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 15:56:20] 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-09-24 15:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":194110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":194110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":194110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28452,"217":206,"9":54272,"24":58,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,9,24,16]} 
[2026-09-24 15:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 15:56:20] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 15:56:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:56:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28452,"unknown_217":206,"unknown_9":54272,"ignition":58,"odometer":null}} 
[2026-09-24 15:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":194110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890553,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:56:20] local.INFO: GPS data processed {"connection_id":194110,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:56:20] local.INFO: Acknowledgment sent {"connection_id":194110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:56:22] local.INFO: TCP Data received {"connection_id":192836,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ef7e90012d196a00071fec30003e01122a..."} 
[2026-09-24 15:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ef7e90012d196a00071fec30003e01122a..."} 
[2026-09-24 15:56:22] local.INFO: Processing buffer {"connection_id":192836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ef7e90012d196a00071fec30003e01122a..."} 
[2026-09-24 15:56:22] local.INFO: Packet analysis {"connection_id":192836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:56:22] local.INFO: Extracted packet for processing {"connection_id":192836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:56:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302792960001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790245306000,"timestamp_ms":1790245306000,"timestamp_seconds":1790245306,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ef7e90"} 
[2026-09-24 15:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302792960001,"66":12341,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302792960001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:56:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:56:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302792960001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":192836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:56:22] local.INFO: GPS data processed {"connection_id":192836,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:56:22] local.INFO: Acknowledgment sent {"connection_id":192836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:56:28] local.INFO: TCP Data received {"connection_id":191257,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:56:28] local.INFO: Processing buffer {"connection_id":191257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:56:28] local.INFO: IMEI packet received {"connection_id":191257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":191257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:56:33] local.INFO: TCP Data received {"connection_id":191257,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:56:33] local.INFO: Processing buffer {"connection_id":191257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:56:33] local.INFO: IMEI packet received {"connection_id":191257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":191257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:56:34] local.INFO: TCP Data received {"connection_id":191257,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:56:34] local.INFO: Processing buffer {"connection_id":191257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ef1518012d34c14006aa4940000900f527..."} 
[2026-09-24 15:56:34] local.INFO: Packet analysis {"connection_id":191257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:56:34] local.INFO: Extracted packet for processing {"connection_id":191257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:56:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302714368001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790245279000,"timestamp_ms":1790245279000,"timestamp_seconds":1790245279,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ef1518"} 
[2026-09-24 15:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 15:56:34] 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-09-24 15:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302714368001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302714368001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:56:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:56:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302714368001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":191257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:56:34] local.INFO: GPS data processed {"connection_id":191257,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:56:34] local.INFO: Acknowledgment sent {"connection_id":191257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:56:40] local.INFO: TCP Data received {"connection_id":191456,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f32bf8012d0afbc007059b280021004c18..."} 
[2026-09-24 15:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f32bf8012d0afbc007059b280021004c18..."} 
[2026-09-24 15:56:40] local.INFO: Processing buffer {"connection_id":191456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f32bf8012d0afbc007059b280021004c18..."} 
[2026-09-24 15:56:40] local.INFO: Packet analysis {"connection_id":191456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:56:40] local.INFO: Extracted packet for processing {"connection_id":191456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:56:40] local.INFO: GPS Element Parsed {"raw_longitude":755694528,"raw_latitude":117807912,"longitude_deg":75.5694528,"latitude_deg":11.7807912,"altitude":33,"angle":76,"satellites":24,"speed":12,"hex_longitude":"2d0afbc0","hex_latitude":"07059b28","is_valid_coordinates":true} 
[2026-09-24 15:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302858240001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33662162664685568,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789044758622750720,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790245547000,"timestamp_ms":1790245547000,"timestamp_seconds":1790245547,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f32bf8"} 
[2026-09-24 15:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-24 15:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191456,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191456,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302858240001,"66":14428,"165":206,"94":10240,"24":12,"16":33662162664685568,"45":789044758622750720},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 15:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302858240001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:56:40] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 15:56:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33662162664685568,"km_value":33662162664685.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":789044758622750720,"description":"Unknown IO ID 45"} 
[2026-09-24 15:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302858240001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":789044758622750720}} 
[2026-09-24 15:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":191456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890556,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:56:40] local.INFO: GPS data processed {"connection_id":191456,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:56:40] local.INFO: Acknowledgment sent {"connection_id":191456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:56:45] local.INFO: TCP Data received {"connection_id":194111,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:56:45] local.INFO: Processing buffer {"connection_id":194111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:56:45] local.INFO: IMEI packet received {"connection_id":194111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":194111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:56:50] local.INFO: TCP Data received {"connection_id":194111,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:56:50] local.INFO: Processing buffer {"connection_id":194111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:56:50] local.INFO: IMEI packet received {"connection_id":194111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":194111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:56:51] local.INFO: TCP Data received {"connection_id":194111,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2efd098012d196a00071fec30003e01122a..."} 
[2026-09-24 15:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2efd098012d196a00071fec30003e01122a..."} 
[2026-09-24 15:56:51] local.INFO: Processing buffer {"connection_id":194111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2efd098012d196a00071fec30003e01122a..."} 
[2026-09-24 15:56:51] local.INFO: Packet analysis {"connection_id":194111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:56:51] local.INFO: Extracted packet for processing {"connection_id":194111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ef"} 
[2026-09-24 15:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302798336001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790245327000,"timestamp_ms":1790245327000,"timestamp_seconds":1790245327,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2efd098"} 
[2026-09-24 15:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:56: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-09-24 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 15:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302798336001,"66":12374,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302798336001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:56:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:56:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302798336001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":194111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:56:51] local.INFO: GPS data processed {"connection_id":194111,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:56:51] local.INFO: Acknowledgment sent {"connection_id":194111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:56:52] local.INFO: TCP Data received {"connection_id":194110,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f0baf8012c8d834007e6cb58000900cd2c..."} 
[2026-09-24 15:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f0baf8012c8d834007e6cb58000900cd2c..."} 
[2026-09-24 15:56:52] local.INFO: Processing buffer {"connection_id":194110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f0baf8012c8d834007e6cb58000900cd2c..."} 
[2026-09-24 15:56:52] local.INFO: Packet analysis {"connection_id":194110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f0"} 
[2026-09-24 15:56:52] local.INFO: Extracted packet for processing {"connection_id":194110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f0"} 
[2026-09-24 15:56:52] local.INFO: GPS Element Parsed {"raw_longitude":747471680,"raw_latitude":132565848,"longitude_deg":74.747168,"latitude_deg":13.2565848,"altitude":9,"angle":205,"satellites":44,"speed":58,"hex_longitude":"2c8d8340","hex_latitude":"07e6cb58","is_valid_coordinates":true} 
[2026-09-24 15:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302814976001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8241868759122141184,"note":"Value kept but may cause issues"} 
[2026-09-24 15:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790245387000,"timestamp_ms":1790245387000,"timestamp_seconds":1790245387,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f0baf8"} 
[2026-09-24 15:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-24 15:56:52] 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-09-24 15:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":194110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":194110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":194110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302814976001,"66":28398,"217":206,"9":54272,"24":58,"16":3605341577150464,"44":-8241868759122141184},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,9,24,16,44]} 
[2026-09-24 15:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302814976001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:56:52] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 15:56:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:56:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8241868759122141184,"description":"Unknown IO ID 44"} 
[2026-09-24 15:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302814976001,"power":28398,"unknown_217":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8241868759122141184}} 
[2026-09-24 15:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":194110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890558,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:56:52] local.INFO: GPS data processed {"connection_id":194110,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:56:52] local.INFO: Acknowledgment sent {"connection_id":194110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:57:03] local.INFO: TCP Data received {"connection_id":192837,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192837,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:57:03] local.INFO: Processing buffer {"connection_id":192837,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:57:03] local.INFO: IMEI packet received {"connection_id":192837,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 15:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":192837,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:57:05] local.INFO: TCP Data received {"connection_id":191257,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 15:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 15:57:05] local.INFO: Processing buffer {"connection_id":191257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 15:57:05] local.INFO: Packet analysis {"connection_id":191257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:57:05] local.INFO: Extracted packet for processing {"connection_id":191257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:57:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302791424001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790245580000,"timestamp_ms":1790245580000,"timestamp_seconds":1790245580,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f3ace0"} 
[2026-09-24 15:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 15:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302791424001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302791424001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:57:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:57:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302791424001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":191257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:57:05] local.INFO: GPS data processed {"connection_id":191257,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:57:05] local.INFO: Acknowledgment sent {"connection_id":191257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:57:09] local.INFO: TCP Data received {"connection_id":192837,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192837,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:57:09] local.INFO: Processing buffer {"connection_id":192837,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:57:09] local.INFO: IMEI packet received {"connection_id":192837,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":192837,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:57:09] local.INFO: TCP Data received {"connection_id":192837,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f429e0012d0b264007055be8001f00b018..."} 
[2026-09-24 15:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f429e0012d0b264007055be8001f00b018..."} 
[2026-09-24 15:57:09] local.INFO: Processing buffer {"connection_id":192837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f429e0012d0b264007055be8001f00b018..."} 
[2026-09-24 15:57:09] local.INFO: Packet analysis {"connection_id":192837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f4"} 
[2026-09-24 15:57:09] local.INFO: Extracted packet for processing {"connection_id":192837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f4"} 
[2026-09-24 15:57:09] local.INFO: GPS Element Parsed {"raw_longitude":755705408,"raw_latitude":117791720,"longitude_deg":75.5705408,"latitude_deg":11.779172,"altitude":31,"angle":176,"satellites":24,"speed":16,"hex_longitude":"2d0b2640","hex_latitude":"07055be8","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302875904001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33663446859907072,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803681457408172032,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790245612000,"timestamp_ms":1790245612000,"timestamp_seconds":1790245612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f429e0"} 
[2026-09-24 15:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-24 15:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192837,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192837,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302875904001,"66":14428,"165":206,"94":10240,"24":16,"16":33663446859907072,"45":803681457408172032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 15:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302875904001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:57:09] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 15:57:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33663446859907072,"km_value":33663446859907.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":803681457408172032,"description":"Unknown IO ID 45"} 
[2026-09-24 15:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302875904001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":803681457408172032}} 
[2026-09-24 15:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":192837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890560,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:57:10] local.INFO: GPS data processed {"connection_id":192837,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:57:10] local.INFO: Acknowledgment sent {"connection_id":192837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:57:12] local.INFO: TCP Data received {"connection_id":192838,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:57:12] local.INFO: Processing buffer {"connection_id":192838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:57:12] local.INFO: IMEI packet received {"connection_id":192838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":192838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:57:22] local.INFO: TCP Data received {"connection_id":194111,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f356f0012d196a00071fec30003e011225..."} 
[2026-09-24 15:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f356f0012d196a00071fec30003e011225..."} 
[2026-09-24 15:57:22] local.INFO: Processing buffer {"connection_id":194111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f356f0012d196a00071fec30003e011225..."} 
[2026-09-24 15:57:22] local.INFO: Packet analysis {"connection_id":194111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:57:22] local.INFO: Extracted packet for processing {"connection_id":194111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:57:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302857472001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790245558000,"timestamp_ms":1790245558000,"timestamp_seconds":1790245558,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f356f0"} 
[2026-09-24 15:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-24 15:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302857472001,"66":12363,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302857472001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:57:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:57:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302857472001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:57:22] local.INFO: TCP Data received {"connection_id":192838,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:57:22] local.INFO: Processing buffer {"connection_id":192838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:57:22] local.INFO: IMEI packet received {"connection_id":192838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":192838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":194111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:57:22] local.INFO: GPS data processed {"connection_id":194111,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:57:22] local.INFO: Acknowledgment sent {"connection_id":194111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:57:24] local.INFO: TCP Data received {"connection_id":192838,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f10d00012c8d4fc007e68018000800d72e..."} 
[2026-09-24 15:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f10d00012c8d4fc007e68018000800d72e..."} 
[2026-09-24 15:57:24] local.INFO: Processing buffer {"connection_id":192838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f10d00012c8d4fc007e68018000800d72e..."} 
[2026-09-24 15:57:24] local.INFO: Packet analysis {"connection_id":192838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f1"} 
[2026-09-24 15:57:24] local.INFO: Extracted packet for processing {"connection_id":192838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f1"} 
[2026-09-24 15:57:24] local.INFO: GPS Element Parsed {"raw_longitude":747458496,"raw_latitude":132546584,"longitude_deg":74.7458496,"latitude_deg":13.2546584,"altitude":8,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2c8d4fc0","hex_latitude":"07e68018","is_valid_coordinates":true} 
[2026-09-24 15:57: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-09-24 15:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302819072001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8249679689731581952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790245408000,"timestamp_ms":1790245408000,"timestamp_seconds":1790245408,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f10d00"} 
[2026-09-24 15:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:57: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":238,"data_length":795,"current_offset":136} 
[2026-09-24 15:57:24] 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-09-24 15:57: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-09-24 15:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":192838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":192838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":192838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302819072001,"66":28354,"217":206,"9":54272,"24":0,"16":3605341577150464,"44":-8249679689731581952},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,9,24,16,44]} 
[2026-09-24 15:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302819072001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:57:24] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 15:57:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:57:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8249679689731581952,"description":"Unknown IO ID 44"} 
[2026-09-24 15:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302819072001,"power":28354,"unknown_217":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8249679689731581952}} 
[2026-09-24 15:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":192838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890562,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:57:25] local.INFO: GPS data processed {"connection_id":192838,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:57:25] local.INFO: Acknowledgment sent {"connection_id":192838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:57:26] local.INFO: TCP Data received {"connection_id":192838,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f137f8012c8d27c007e63190000700be2f..."} 
[2026-09-24 15:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f137f8012c8d27c007e63190000700be2f..."} 
[2026-09-24 15:57:26] local.INFO: Processing buffer {"connection_id":192838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f137f8012c8d27c007e63190000700be2f..."} 
[2026-09-24 15:57:26] local.INFO: Packet analysis {"connection_id":192838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f1"} 
[2026-09-24 15:57:26] local.INFO: Extracted packet for processing {"connection_id":192838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f1"} 
[2026-09-24 15:57:26] local.INFO: GPS Element Parsed {"raw_longitude":747448256,"raw_latitude":132526480,"longitude_deg":74.7448256,"latitude_deg":13.252648,"altitude":7,"angle":190,"satellites":47,"speed":58,"hex_longitude":"2c8d27c0","hex_latitude":"07e63190","is_valid_coordinates":true} 
[2026-09-24 15:57: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-09-24 15:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302824448001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8264175651037112320,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790245419000,"timestamp_ms":1790245419000,"timestamp_seconds":1790245419,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f137f8"} 
[2026-09-24 15:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:57: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 15:57:26] 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-09-24 15:57: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-09-24 15:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":192838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":192838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":192838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302824448001,"66":28354,"217":206,"9":54272,"24":58,"16":3605341577150464,"44":-8264175651037112320},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,9,24,16,44]} 
[2026-09-24 15:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302824448001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:57:26] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 15:57:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:57:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8264175651037112320,"description":"Unknown IO ID 44"} 
[2026-09-24 15:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302824448001,"power":28354,"unknown_217":206,"unknown_9":54272,"ignition":58,"odometer":null,"unknown_44":-8264175651037112320}} 
[2026-09-24 15:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":192838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890563,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:57:26] local.INFO: GPS data processed {"connection_id":192838,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:57:26] local.INFO: Acknowledgment sent {"connection_id":192838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:57:33] local.INFO: TCP Data received {"connection_id":192839,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:57:33] local.INFO: Processing buffer {"connection_id":192839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:57:33] local.INFO: IMEI packet received {"connection_id":192839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":192839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:57:38] local.INFO: TCP Data received {"connection_id":192839,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:57:38] local.INFO: Processing buffer {"connection_id":192839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:57:38] local.INFO: IMEI packet received {"connection_id":192839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":192839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:57:39] local.INFO: TCP Data received {"connection_id":192839,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 15:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 15:57:39] local.INFO: Processing buffer {"connection_id":192839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 15:57:39] local.INFO: Packet analysis {"connection_id":192839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:57:39] local.INFO: Extracted packet for processing {"connection_id":192839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:57:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302791424001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790245580000,"timestamp_ms":1790245580000,"timestamp_seconds":1790245580,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f3ace0"} 
[2026-09-24 15:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 15:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302791424001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302791424001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:57:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:57:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302791424001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":192839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:57:39] local.INFO: GPS data processed {"connection_id":192839,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:57:39] local.INFO: Acknowledgment sent {"connection_id":192839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:57:41] local.INFO: TCP Data received {"connection_id":192837,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f431b0012d0b2680070559c8001f009b18..."} 
[2026-09-24 15:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f431b0012d0b2680070559c8001f009b18..."} 
[2026-09-24 15:57:41] local.INFO: Processing buffer {"connection_id":192837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f431b0012d0b2680070559c8001f009b18..."} 
[2026-09-24 15:57:41] local.INFO: Packet analysis {"connection_id":192837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f4"} 
[2026-09-24 15:57:41] local.INFO: Extracted packet for processing {"connection_id":192837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f4"} 
[2026-09-24 15:57:41] local.INFO: GPS Element Parsed {"raw_longitude":755705472,"raw_latitude":117791176,"longitude_deg":75.5705472,"latitude_deg":11.7791176,"altitude":31,"angle":155,"satellites":24,"speed":6,"hex_longitude":"2d0b2680","hex_latitude":"070559c8","is_valid_coordinates":true} 
[2026-09-24 15:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302876672001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33663472629710848,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803399982431070208,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790245614000,"timestamp_ms":1790245614000,"timestamp_seconds":1790245614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f431b0"} 
[2026-09-24 15:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:57:41] 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-09-24 15:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-24 15:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192837,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192837,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302876672001,"66":14428,"165":206,"94":10240,"24":6,"16":33663472629710848,"45":803399982431070208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 15:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302876672001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:57:41] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 15:57:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33663472629710848,"km_value":33663472629710.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":803399982431070208,"description":"Unknown IO ID 45"} 
[2026-09-24 15:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302876672001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":803399982431070208}} 
[2026-09-24 15:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":192837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890565,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:57:42] local.INFO: GPS data processed {"connection_id":192837,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:57:42] local.INFO: Acknowledgment sent {"connection_id":192837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:57:45] local.INFO: TCP Data received {"connection_id":194112,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:57:45] local.INFO: Processing buffer {"connection_id":194112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:57:45] local.INFO: IMEI packet received {"connection_id":194112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":194112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:57:50] local.INFO: TCP Data received {"connection_id":194112,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:57:50] local.INFO: Processing buffer {"connection_id":194112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:57:50] local.INFO: IMEI packet received {"connection_id":194112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":194112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:57:55] local.INFO: TCP Data received {"connection_id":194112,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f3a8f8012d196a00071fec30003e011226..."} 
[2026-09-24 15:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f3a8f8012d196a00071fec30003e011226..."} 
[2026-09-24 15:57:55] local.INFO: Processing buffer {"connection_id":194112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f3a8f8012d196a00071fec30003e011226..."} 
[2026-09-24 15:57:55] local.INFO: Packet analysis {"connection_id":194112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:57:55] local.INFO: Extracted packet for processing {"connection_id":194112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:57:55] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:57: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-09-24 15:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302862848001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790245579000,"timestamp_ms":1790245579000,"timestamp_seconds":1790245579,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f3a8f8"} 
[2026-09-24 15:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-24 15:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:57: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-09-24 15:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302862848001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302862848001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:57:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:57:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302862848001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":194112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:57:55] local.INFO: GPS data processed {"connection_id":194112,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:57:55] local.INFO: Acknowledgment sent {"connection_id":194112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:58:06] local.INFO: TCP Data received {"connection_id":191457,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191457,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:58:06] local.INFO: Processing buffer {"connection_id":191457,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:58:06] local.INFO: IMEI packet received {"connection_id":191457,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":191457,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:58:10] local.INFO: TCP Data received {"connection_id":192839,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 15:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 15:58:10] local.INFO: Processing buffer {"connection_id":192839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 15:58:10] local.INFO: Packet analysis {"connection_id":192839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:58:10] local.INFO: Extracted packet for processing {"connection_id":192839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302791424001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790245580000,"timestamp_ms":1790245580000,"timestamp_seconds":1790245580,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f3ace0"} 
[2026-09-24 15:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15: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":47,"data_length":795,"current_offset":136} 
[2026-09-24 15:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302791424001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302791424001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:58:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302791424001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":192839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:58:10] local.INFO: GPS data processed {"connection_id":192839,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:58:10] local.INFO: Acknowledgment sent {"connection_id":192839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:58:12] local.INFO: TCP Data received {"connection_id":191457,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191457,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:58:12] local.INFO: Processing buffer {"connection_id":191457,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:58:12] local.INFO: IMEI packet received {"connection_id":191457,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":191457,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:58:15] local.INFO: TCP Data received {"connection_id":191457,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f3fee8012c8d898007e285a80011009a2d..."} 
[2026-09-24 15:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f3fee8012c8d898007e285a80011009a2d..."} 
[2026-09-24 15:58:15] local.INFO: Processing buffer {"connection_id":191457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f3fee8012c8d898007e285a80011009a2d..."} 
[2026-09-24 15:58:15] local.INFO: Packet analysis {"connection_id":191457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:58:15] local.INFO: Extracted packet for processing {"connection_id":191457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:58:15] local.INFO: GPS Element Parsed {"raw_longitude":747473280,"raw_latitude":132285864,"longitude_deg":74.747328,"latitude_deg":13.2285864,"altitude":17,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2c8d8980","hex_latitude":"07e285a8","is_valid_coordinates":true} 
[2026-09-24 15:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302868480001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:58:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8258827626541142016,"note":"Value kept but may cause issues"} 
[2026-09-24 15:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790245601000,"timestamp_ms":1790245601000,"timestamp_seconds":1790245601,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f3fee8"} 
[2026-09-24 15:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 15:58:15] 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-09-24 15:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191457,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191457,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302868480001,"66":28398,"218":206,"9":54272,"24":0,"16":3605341577150464,"44":-8258827626541142016},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,9,24,16,44]} 
[2026-09-24 15:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 15:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 15:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302868480001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:58:15] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-24 15:58:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":54272,"description":"Unknown IO ID 9"} 
[2026-09-24 15:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:58:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8258827626541142016,"description":"Unknown IO ID 44"} 
[2026-09-24 15:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302868480001,"power":28398,"unknown_218":206,"unknown_9":54272,"ignition":0,"odometer":null,"unknown_44":-8258827626541142016}} 
[2026-09-24 15:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":191457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890568,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:58:15] local.INFO: GPS data processed {"connection_id":191457,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:58:15] local.INFO: Acknowledgment sent {"connection_id":191457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:58:18] local.INFO: TCP Data received {"connection_id":194113,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194113,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:58:18] local.INFO: Processing buffer {"connection_id":194113,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:58:18] local.INFO: IMEI packet received {"connection_id":194113,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 15:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":194113,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:58:19] local.INFO: TCP Data received {"connection_id":194113,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194113,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:58:19] local.INFO: Processing buffer {"connection_id":194113,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:58:19] local.INFO: IMEI packet received {"connection_id":194113,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":194113,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:58:22] local.INFO: TCP Data received {"connection_id":194113,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194113,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:58:22] local.INFO: Processing buffer {"connection_id":194113,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:58:22] local.INFO: IMEI packet received {"connection_id":194113,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":194113,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:58:24] local.INFO: TCP Data received {"connection_id":194113,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f4fcd0012d0b2f8007051028001a00d118..."} 
[2026-09-24 15:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f4fcd0012d0b2f8007051028001a00d118..."} 
[2026-09-24 15:58:24] local.INFO: Processing buffer {"connection_id":194113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f4fcd0012d0b2f8007051028001a00d118..."} 
[2026-09-24 15:58:24] local.INFO: Packet analysis {"connection_id":194113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f4"} 
[2026-09-24 15:58:24] local.INFO: Extracted packet for processing {"connection_id":194113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f4"} 
[2026-09-24 15:58:24] local.INFO: GPS Element Parsed {"raw_longitude":755707776,"raw_latitude":117772328,"longitude_deg":75.5707776,"latitude_deg":11.7772328,"altitude":26,"angle":209,"satellites":24,"speed":26,"hex_longitude":"2d0b2f80","hex_latitude":"07051028","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302888704001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33664675220553728,"note":"Value kept but may cause issues"} 
[2026-09-24 15:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":808255425775044608,"note":"Value kept but may cause issues"} 
[2026-09-24 15:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790245666000,"timestamp_ms":1790245666000,"timestamp_seconds":1790245666,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f4fcd0"} 
[2026-09-24 15:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-24 15:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":194113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":194113,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":194113,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302888704001,"66":14450,"165":206,"94":10240,"24":26,"16":33664675220553728,"45":808255425775044608},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 15:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302888704001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:58:24] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 15:58:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33664675220553728,"km_value":33664675220553.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":808255425775044608,"description":"Unknown IO ID 45"} 
[2026-09-24 15:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302888704001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":808255425775044608}} 
[2026-09-24 15:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":194113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890569,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:58:24] local.INFO: GPS data processed {"connection_id":194113,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:58:24] local.INFO: Acknowledgment sent {"connection_id":194113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:58:26] local.INFO: TCP Data received {"connection_id":194112,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f3fb00012d196a00071fec30003e011227..."} 
[2026-09-24 15:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f3fb00012d196a00071fec30003e011227..."} 
[2026-09-24 15:58:26] local.INFO: Processing buffer {"connection_id":194112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f3fb00012d196a00071fec30003e011227..."} 
[2026-09-24 15:58:26] local.INFO: Packet analysis {"connection_id":194112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:58:26] local.INFO: Extracted packet for processing {"connection_id":194112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:58:26] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302868224001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790245600000,"timestamp_ms":1790245600000,"timestamp_seconds":1790245600,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f3fb00"} 
[2026-09-24 15:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 15:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":194112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":194112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":194112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302868224001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302868224001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:58:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:58:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302868224001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":194112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:58:26] local.INFO: GPS data processed {"connection_id":194112,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:58:26] local.INFO: Acknowledgment sent {"connection_id":194112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:58:29] local.INFO: TCP Data received {"connection_id":191258,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:58:29] local.INFO: Processing buffer {"connection_id":191258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:58:29] local.INFO: IMEI packet received {"connection_id":191258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":191258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:58:35] local.INFO: TCP Data received {"connection_id":191258,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:58:35] local.INFO: Processing buffer {"connection_id":191258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:58:35] local.INFO: IMEI packet received {"connection_id":191258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":191258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:58:36] local.INFO: TCP Data received {"connection_id":191258,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 15:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 15:58:36] local.INFO: Processing buffer {"connection_id":191258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 15:58:36] local.INFO: Packet analysis {"connection_id":191258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:58:36] local.INFO: Extracted packet for processing {"connection_id":191258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302791424001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790245580000,"timestamp_ms":1790245580000,"timestamp_seconds":1790245580,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f3ace0"} 
[2026-09-24 15:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 15:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302791424001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302791424001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:58:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:58:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302791424001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":191258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:58:36] local.INFO: GPS data processed {"connection_id":191258,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:58:36] local.INFO: Acknowledgment sent {"connection_id":191258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:58:44] local.INFO: TCP Data received {"connection_id":191458,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:58:44] local.INFO: Processing buffer {"connection_id":191458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:58:44] local.INFO: IMEI packet received {"connection_id":191458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":191458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:58:50] local.INFO: TCP Data received {"connection_id":191458,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:58:50] local.INFO: Processing buffer {"connection_id":191458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:58:50] local.INFO: IMEI packet received {"connection_id":191458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":191458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:58:51] local.INFO: TCP Data received {"connection_id":191458,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f44d08012d196a00071fec30003e011229..."} 
[2026-09-24 15:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f44d08012d196a00071fec30003e011229..."} 
[2026-09-24 15:58:51] local.INFO: Processing buffer {"connection_id":191458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f44d08012d196a00071fec30003e011229..."} 
[2026-09-24 15:58:51] local.INFO: Packet analysis {"connection_id":191458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f4"} 
[2026-09-24 15:58:51] local.INFO: Extracted packet for processing {"connection_id":191458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f4"} 
[2026-09-24 15:58:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302873600001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790245621000,"timestamp_ms":1790245621000,"timestamp_seconds":1790245621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f44d08"} 
[2026-09-24 15:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15: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-09-24 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 15:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302873600001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302873600001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:58:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:58:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302873600001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":191458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:58:51] local.INFO: GPS data processed {"connection_id":191458,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:58:51] local.INFO: Acknowledgment sent {"connection_id":191458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:58:51] local.INFO: TCP Data received {"connection_id":191457,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f4e1780100000000000000000000000000..."} 
[2026-09-24 15:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f4e1780100000000000000000000000000..."} 
[2026-09-24 15:58:51] local.INFO: Processing buffer {"connection_id":191457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f4e1780100000000000000000000000000..."} 
[2026-09-24 15:58:51] local.INFO: Packet analysis {"connection_id":191457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f4"} 
[2026-09-24 15:58:51] local.INFO: Extracted packet for processing {"connection_id":191457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f4"} 
[2026-09-24 15:58:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 15: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-09-24 15:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302873856001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 15:58:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8247920471198816256,"note":"Value kept but may cause issues"} 
[2026-09-24 15:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790245659000,"timestamp_ms":1790245659000,"timestamp_seconds":1790245659,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f4e178"} 
[2026-09-24 15:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15: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-09-24 15: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":238,"data_length":795,"current_offset":136} 
[2026-09-24 15:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15: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-09-24 15:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191457,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191457,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 15:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 15:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 15:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":191457,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 15:58:51] local.INFO: GPS data processed {"connection_id":191457,"processed":0,"errors":0,"total":1} 
[2026-09-24 15:58:51] local.INFO: Acknowledgment sent {"connection_id":191457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:59:03] local.INFO: TCP Data received {"connection_id":191459,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191459,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:59:03] local.INFO: Processing buffer {"connection_id":191459,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:59:03] local.INFO: IMEI packet received {"connection_id":191459,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 15:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":191459,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:59:05] local.INFO: TCP Data received {"connection_id":191459,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191459,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:59:05] local.INFO: Processing buffer {"connection_id":191459,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:59:05] local.INFO: IMEI packet received {"connection_id":191459,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":191459,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:59:08] local.INFO: TCP Data received {"connection_id":191258,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 15:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 15:59:08] local.INFO: Processing buffer {"connection_id":191258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 15:59:08] local.INFO: Packet analysis {"connection_id":191258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:59:08] local.INFO: Extracted packet for processing {"connection_id":191258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302791424001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790245580000,"timestamp_ms":1790245580000,"timestamp_seconds":1790245580,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f3ace0"} 
[2026-09-24 15:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 15:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302791424001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302791424001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:59:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:59:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302791424001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":191258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:59:08] local.INFO: GPS data processed {"connection_id":191258,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:59:08] local.INFO: Acknowledgment sent {"connection_id":191258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:59:09] local.INFO: TCP Data received {"connection_id":191459,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191459,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:59:09] local.INFO: Processing buffer {"connection_id":191459,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 15:59:09] local.INFO: IMEI packet received {"connection_id":191459,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 15:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":191459,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:59:09] local.INFO: TCP Data received {"connection_id":191459,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f5e348012d0b7c800704c610001d006d18..."} 
[2026-09-24 15:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f5e348012d0b7c800704c610001d006d18..."} 
[2026-09-24 15:59:09] local.INFO: Processing buffer {"connection_id":191459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f5e348012d0b7c800704c610001d006d18..."} 
[2026-09-24 15:59:09] local.INFO: Packet analysis {"connection_id":191459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f5"} 
[2026-09-24 15:59:09] local.INFO: Extracted packet for processing {"connection_id":191459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f5"} 
[2026-09-24 15:59:09] local.INFO: GPS Element Parsed {"raw_longitude":755727488,"raw_latitude":117753360,"longitude_deg":75.5727488,"latitude_deg":11.775336,"altitude":29,"angle":109,"satellites":24,"speed":21,"hex_longitude":"2d0b7c80","hex_latitude":"0704c610","is_valid_coordinates":true} 
[2026-09-24 15:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302904064001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33666388912504832,"note":"Value kept but may cause issues"} 
[2026-09-24 15:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822962493302663168,"note":"Value kept but may cause issues"} 
[2026-09-24 15:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790245725000,"timestamp_ms":1790245725000,"timestamp_seconds":1790245725,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f5e348"} 
[2026-09-24 15:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-24 15:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191459,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191459,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302904064001,"66":14396,"96":206,"94":10240,"24":21,"16":33666388912504832,"45":822962493302663168},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-24 15:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302904064001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:59:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-24 15:59:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33666388912504832,"km_value":33666388912504.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":822962493302663168,"description":"Unknown IO ID 45"} 
[2026-09-24 15:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302904064001,"power":14396,"unknown_96":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":822962493302663168}} 
[2026-09-24 15:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":191459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890574,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:59:09] local.INFO: GPS data processed {"connection_id":191459,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:59:09] local.INFO: Acknowledgment sent {"connection_id":191459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:59:22] local.INFO: TCP Data received {"connection_id":191458,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f49f10012d196a00071fec30003e011229..."} 
[2026-09-24 15:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f49f10012d196a00071fec30003e011229..."} 
[2026-09-24 15:59:22] local.INFO: Processing buffer {"connection_id":191458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f49f10012d196a00071fec30003e011229..."} 
[2026-09-24 15:59:22] local.INFO: Packet analysis {"connection_id":191458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f4"} 
[2026-09-24 15:59:22] local.INFO: Extracted packet for processing {"connection_id":191458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f4"} 
[2026-09-24 15:59:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302878976001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790245642000,"timestamp_ms":1790245642000,"timestamp_seconds":1790245642,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f49f10"} 
[2026-09-24 15:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 15:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302878976001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302878976001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:59:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:59:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302878976001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":191458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:59:22] local.INFO: GPS data processed {"connection_id":191458,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:59:22] local.INFO: Acknowledgment sent {"connection_id":191458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:59:28] local.INFO: TCP Data received {"connection_id":191259,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:59:28] local.INFO: Processing buffer {"connection_id":191259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:59:28] local.INFO: IMEI packet received {"connection_id":191259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 15:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":191259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:59:33] local.INFO: TCP Data received {"connection_id":191259,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:59:33] local.INFO: Processing buffer {"connection_id":191259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 15:59:33] local.INFO: IMEI packet received {"connection_id":191259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 15:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":191259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:59:34] local.INFO: TCP Data received {"connection_id":191259,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 15:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 15:59:34] local.INFO: Processing buffer {"connection_id":191259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 15:59:34] local.INFO: Packet analysis {"connection_id":191259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:59:34] local.INFO: Extracted packet for processing {"connection_id":191259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 15:59:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 15:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302791424001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 15:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 15:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790245580000,"timestamp_ms":1790245580000,"timestamp_seconds":1790245580,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f3ace0"} 
[2026-09-24 15:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 15:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 15:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 15:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 15:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 15:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302791424001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 15:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 15:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 15:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302791424001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:59:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 15:59:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 15:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 15:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302791424001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 15:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":191259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:59:34] local.INFO: GPS data processed {"connection_id":191259,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:59:34] local.INFO: Acknowledgment sent {"connection_id":191259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:59:40] local.INFO: TCP Data received {"connection_id":191459,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f65c60012d0bd5400704c218001a006718..."} 
[2026-09-24 15:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f65c60012d0bd5400704c218001a006718..."} 
[2026-09-24 15:59:40] local.INFO: Processing buffer {"connection_id":191459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f65c60012d0bd5400704c218001a006718..."} 
[2026-09-24 15:59:40] local.INFO: Packet analysis {"connection_id":191459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f6"} 
[2026-09-24 15:59:40] local.INFO: Extracted packet for processing {"connection_id":191459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f6"} 
[2026-09-24 15:59:40] local.INFO: GPS Element Parsed {"raw_longitude":755750208,"raw_latitude":117752344,"longitude_deg":75.5750208,"latitude_deg":11.7752344,"altitude":26,"angle":103,"satellites":24,"speed":24,"hex_longitude":"2d0bd540","hex_latitude":"0704c218","is_valid_coordinates":true} 
[2026-09-24 15:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302913280001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33667574323478528,"note":"Value kept but may cause issues"} 
[2026-09-24 15:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":851954415903596544,"note":"Value kept but may cause issues"} 
[2026-09-24 15:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790245756000,"timestamp_ms":1790245756000,"timestamp_seconds":1790245756,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f65c60"} 
[2026-09-24 15:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 15:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-24 15:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191459,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191459,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 15:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 15:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 15:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302913280001,"66":14407,"96":206,"94":10240,"24":24,"16":33667574323478528,"45":851954415903596544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-24 15:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 15:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 15:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302913280001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:59:40] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-24 15:59:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 15:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33667574323478528,"km_value":33667574323478.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":851954415903596544,"description":"Unknown IO ID 45"} 
[2026-09-24 15:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302913280001,"power":14407,"unknown_96":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":851954415903596544}} 
[2026-09-24 15:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":191459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890577,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:59:41] local.INFO: GPS data processed {"connection_id":191459,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:59:41] local.INFO: Acknowledgment sent {"connection_id":191459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:59:41] local.INFO: TCP Data received {"connection_id":194114,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:59:41] local.INFO: Processing buffer {"connection_id":194114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:59:41] local.INFO: IMEI packet received {"connection_id":194114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 15:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":194114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:59:43] local.INFO: TCP Data received {"connection_id":194114,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:59:43] local.INFO: Processing buffer {"connection_id":194114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:59:43] local.INFO: IMEI packet received {"connection_id":194114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":194114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:59:45] local.INFO: TCP Data received {"connection_id":191460,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:59:45] local.INFO: Processing buffer {"connection_id":191460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:59:45] local.INFO: IMEI packet received {"connection_id":191460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 15:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":191460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 15:59:45] local.INFO: TCP Data received {"connection_id":191460,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:59:45] local.INFO: Processing buffer {"connection_id":191460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:59:45] local.INFO: IMEI packet received {"connection_id":191460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":191460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:59:50] local.INFO: TCP Data received {"connection_id":191460,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:59:50] local.INFO: Processing buffer {"connection_id":191460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 15:59:50] local.INFO: IMEI packet received {"connection_id":191460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 15:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":191460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 15:59:51] local.INFO: TCP Data received {"connection_id":191460,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f4f118012d196a00071fec30003e011228..."} 
[2026-09-24 15:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f4f118012d196a00071fec30003e011228..."} 
[2026-09-24 15:59:51] local.INFO: Processing buffer {"connection_id":191460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f4f118012d196a00071fec30003e011228..."} 
[2026-09-24 15:59:51] local.INFO: Packet analysis {"connection_id":191460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f4"} 
[2026-09-24 15:59:51] local.INFO: Extracted packet for processing {"connection_id":191460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f4"} 
[2026-09-24 15:59:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 15:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 15:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302884352001,"note":"Value kept but may cause issues"} 
[2026-09-24 15:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 15:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 15:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 15:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790245663000,"timestamp_ms":1790245663000,"timestamp_seconds":1790245663,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f4f118"} 
[2026-09-24 15:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 15:59: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-09-24 15:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 15:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 15:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 15:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 15:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 15:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 15:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 15:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 15:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 15:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 15:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302884352001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 15:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 15:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 15:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302884352001,"description":"Unknown IO ID 0"} 
[2026-09-24 15:59:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 15:59:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 15:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 15:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 15:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302884352001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 15:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":191460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 15:59:51] local.INFO: GPS data processed {"connection_id":191460,"processed":1,"errors":0,"total":1} 
[2026-09-24 15:59:51] local.INFO: Acknowledgment sent {"connection_id":191460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 15:59:51] local.INFO: TCP Data received {"connection_id":194114,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:59:51] local.INFO: Processing buffer {"connection_id":194114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 15:59:51] local.INFO: IMEI packet received {"connection_id":194114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 15:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":194114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:00:03] local.INFO: TCP Data received {"connection_id":192840,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192840,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:00:03] local.INFO: Processing buffer {"connection_id":192840,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:00:03] local.INFO: IMEI packet received {"connection_id":192840,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":192840,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:00:06] local.INFO: TCP Data received {"connection_id":191259,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 16:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 16:00:06] local.INFO: Processing buffer {"connection_id":191259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 16:00:06] local.INFO: Packet analysis {"connection_id":191259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 16:00:06] local.INFO: Extracted packet for processing {"connection_id":191259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 16:00:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302791424001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790245580000,"timestamp_ms":1790245580000,"timestamp_seconds":1790245580,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f3ace0"} 
[2026-09-24 16:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302791424001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302791424001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:00:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:00:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302791424001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":191259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:00:06] local.INFO: GPS data processed {"connection_id":191259,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:00:06] local.INFO: Acknowledgment sent {"connection_id":191259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:00:09] local.INFO: TCP Data received {"connection_id":192840,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192840,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:00:09] local.INFO: Processing buffer {"connection_id":192840,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:00:09] local.INFO: IMEI packet received {"connection_id":192840,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":192840,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:00:10] local.INFO: TCP Data received {"connection_id":192840,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f67ba0012d0bee800704bf98001b005a18..."} 
[2026-09-24 16:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f67ba0012d0bee800704bf98001b005a18..."} 
[2026-09-24 16:00:10] local.INFO: Processing buffer {"connection_id":192840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f67ba0012d0bee800704bf98001b005a18..."} 
[2026-09-24 16:00:10] local.INFO: Packet analysis {"connection_id":192840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f6"} 
[2026-09-24 16:00:10] local.INFO: Extracted packet for processing {"connection_id":192840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f6"} 
[2026-09-24 16:00:10] local.INFO: GPS Element Parsed {"raw_longitude":755756672,"raw_latitude":117751704,"longitude_deg":75.5756672,"latitude_deg":11.7751704,"altitude":27,"angle":90,"satellites":24,"speed":36,"hex_longitude":"2d0bee80","hex_latitude":"0704bf98","is_valid_coordinates":true} 
[2026-09-24 16:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302913536001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33667883561123840,"note":"Value kept but may cause issues"} 
[2026-09-24 16:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":852658103345354752,"note":"Value kept but may cause issues"} 
[2026-09-24 16:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790245764000,"timestamp_ms":1790245764000,"timestamp_seconds":1790245764,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f67ba0"} 
[2026-09-24 16:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:00:10] 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-09-24 16:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-24 16:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302913536001,"66":14407,"96":206,"94":10240,"24":36,"16":33667883561123840,"45":852658103345354752},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-24 16:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302913536001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:00:10] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-24 16:00:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33667883561123840,"km_value":33667883561123.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":852658103345354752,"description":"Unknown IO ID 45"} 
[2026-09-24 16:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302913536001,"power":14407,"unknown_96":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_45":852658103345354752}} 
[2026-09-24 16:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":192840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890580,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:00:10] local.INFO: GPS data processed {"connection_id":192840,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:00:10] local.INFO: Acknowledgment sent {"connection_id":192840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:00:11] local.INFO: TCP Data received {"connection_id":192841,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192841,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:00:11] local.INFO: Processing buffer {"connection_id":192841,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:00:11] local.INFO: IMEI packet received {"connection_id":192841,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 16:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":192841,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:00:22] local.INFO: TCP Data received {"connection_id":191460,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f54320012d196a00071fec30003e011227..."} 
[2026-09-24 16:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f54320012d196a00071fec30003e011227..."} 
[2026-09-24 16:00:22] local.INFO: Processing buffer {"connection_id":191460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f54320012d196a00071fec30003e011227..."} 
[2026-09-24 16:00:22] local.INFO: Packet analysis {"connection_id":191460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f5"} 
[2026-09-24 16:00:22] local.INFO: Extracted packet for processing {"connection_id":191460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f5"} 
[2026-09-24 16:00:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302889728001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790245684000,"timestamp_ms":1790245684000,"timestamp_seconds":1790245684,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f54320"} 
[2026-09-24 16:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302889728001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302889728001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:00:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:00:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302889728001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":191460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:00:22] local.INFO: GPS data processed {"connection_id":191460,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:00:22] local.INFO: Acknowledgment sent {"connection_id":191460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:00:28] local.INFO: TCP Data received {"connection_id":192842,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:00:28] local.INFO: Processing buffer {"connection_id":192842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:00:28] local.INFO: IMEI packet received {"connection_id":192842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":192842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:00:33] local.INFO: TCP Data received {"connection_id":192842,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:00:33] local.INFO: Processing buffer {"connection_id":192842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:00:33] local.INFO: IMEI packet received {"connection_id":192842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":192842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:00:34] local.INFO: TCP Data received {"connection_id":192842,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 16:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 16:00:34] local.INFO: Processing buffer {"connection_id":192842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 16:00:34] local.INFO: Packet analysis {"connection_id":192842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 16:00:34] local.INFO: Extracted packet for processing {"connection_id":192842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 16:00:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302791424001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790245580000,"timestamp_ms":1790245580000,"timestamp_seconds":1790245580,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f3ace0"} 
[2026-09-24 16:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302791424001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302791424001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:00:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:00:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302791424001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":192842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:00:34] local.INFO: GPS data processed {"connection_id":192842,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:00:34] local.INFO: Acknowledgment sent {"connection_id":192842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:00:41] local.INFO: TCP Data received {"connection_id":192840,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f76218012d0c8dc00704d6180020015418..."} 
[2026-09-24 16:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f76218012d0c8dc00704d6180020015418..."} 
[2026-09-24 16:00:41] local.INFO: Processing buffer {"connection_id":192840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f76218012d0c8dc00704d6180020015418..."} 
[2026-09-24 16:00:41] local.INFO: Packet analysis {"connection_id":192840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f7"} 
[2026-09-24 16:00:41] local.INFO: Extracted packet for processing {"connection_id":192840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f7"} 
[2026-09-24 16:00:41] local.INFO: GPS Element Parsed {"raw_longitude":755797440,"raw_latitude":117757464,"longitude_deg":75.579744,"latitude_deg":11.7757464,"altitude":32,"angle":340,"satellites":24,"speed":2,"hex_longitude":"2d0c8dc0","hex_latitude":"0704d618","is_valid_coordinates":true} 
[2026-09-24 16:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302930432001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33669872130981888,"note":"Value kept but may cause issues"} 
[2026-09-24 16:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904660605293944832,"note":"Value kept but may cause issues"} 
[2026-09-24 16:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790245823000,"timestamp_ms":1790245823000,"timestamp_seconds":1790245823,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f76218"} 
[2026-09-24 16:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-24 16:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302930432001,"66":14330,"95":206,"94":10240,"24":2,"16":33669872130981888,"45":904660605293944832},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-24 16:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302930432001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:00:41] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-24 16:00:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33669872130981888,"km_value":33669872130981.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":904660605293944832,"description":"Unknown IO ID 45"} 
[2026-09-24 16:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302930432001,"power":14330,"unknown_95":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":904660605293944832}} 
[2026-09-24 16:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":192840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890583,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:00:41] local.INFO: GPS data processed {"connection_id":192840,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:00:41] local.INFO: Acknowledgment sent {"connection_id":192840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:00:48] local.INFO: TCP Data received {"connection_id":194115,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:00:48] local.INFO: Processing buffer {"connection_id":194115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:00:48] local.INFO: IMEI packet received {"connection_id":194115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":194115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:00:50] local.INFO: TCP Data received {"connection_id":194115,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:00:50] local.INFO: Processing buffer {"connection_id":194115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:00:50] local.INFO: IMEI packet received {"connection_id":194115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":194115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:00:54] local.INFO: TCP Data received {"connection_id":194115,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:00:54] local.INFO: Processing buffer {"connection_id":194115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:00:54] local.INFO: IMEI packet received {"connection_id":194115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":194115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:00:55] local.INFO: TCP Data received {"connection_id":194115,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f59528012d196a00071fec30003e011229..."} 
[2026-09-24 16:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f59528012d196a00071fec30003e011229..."} 
[2026-09-24 16:00:55] local.INFO: Processing buffer {"connection_id":194115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f59528012d196a00071fec30003e011229..."} 
[2026-09-24 16:00:55] local.INFO: Packet analysis {"connection_id":194115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f5"} 
[2026-09-24 16:00:55] local.INFO: Extracted packet for processing {"connection_id":194115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f5"} 
[2026-09-24 16:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302895104001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790245705000,"timestamp_ms":1790245705000,"timestamp_seconds":1790245705,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f59528"} 
[2026-09-24 16:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302895104001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302895104001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:00:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:00:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302895104001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":194115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:00:55] local.INFO: GPS data processed {"connection_id":194115,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:00:55] local.INFO: Acknowledgment sent {"connection_id":194115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:01:00] local.INFO: TCP Data received {"connection_id":194115,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f5e730012d196a00071fec30003e011227..."} 
[2026-09-24 16:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f5e730012d196a00071fec30003e011227..."} 
[2026-09-24 16:01:00] local.INFO: Processing buffer {"connection_id":194115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f5e730012d196a00071fec30003e011227..."} 
[2026-09-24 16:01:00] local.INFO: Packet analysis {"connection_id":194115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f5"} 
[2026-09-24 16:01:00] local.INFO: Extracted packet for processing {"connection_id":194115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f5"} 
[2026-09-24 16:01:00] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302900480001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790245726000,"timestamp_ms":1790245726000,"timestamp_seconds":1790245726,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f5e730"} 
[2026-09-24 16:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 16:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":194115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":194115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":194115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302900480001,"66":12341,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302900480001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:01:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:01:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302900480001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":194115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:01:00] local.INFO: GPS data processed {"connection_id":194115,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:01:00] local.INFO: Acknowledgment sent {"connection_id":194115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:01:03] local.INFO: TCP Data received {"connection_id":192843,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192843,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:01:03] local.INFO: Processing buffer {"connection_id":192843,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:01:03] local.INFO: IMEI packet received {"connection_id":192843,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":192843,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:01:04] local.INFO: TCP Data received {"connection_id":192843,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192843,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:01:04] local.INFO: Processing buffer {"connection_id":192843,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:01:04] local.INFO: IMEI packet received {"connection_id":192843,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":192843,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:01:07] local.INFO: TCP Data received {"connection_id":192842,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 16:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 16:01:07] local.INFO: Processing buffer {"connection_id":192842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 16:01:07] local.INFO: Packet analysis {"connection_id":192842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 16:01:07] local.INFO: Extracted packet for processing {"connection_id":192842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 16:01:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302791424001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790245580000,"timestamp_ms":1790245580000,"timestamp_seconds":1790245580,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f3ace0"} 
[2026-09-24 16:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302791424001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302791424001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:01:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:01:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302791424001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":192842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:01:07] local.INFO: GPS data processed {"connection_id":192842,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:01:07] local.INFO: Acknowledgment sent {"connection_id":192842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:01:09] local.INFO: TCP Data received {"connection_id":192843,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192843,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:01:09] local.INFO: Processing buffer {"connection_id":192843,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:01:09] local.INFO: IMEI packet received {"connection_id":192843,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":192843,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:01:09] local.INFO: TCP Data received {"connection_id":192843,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f76dd0012d0c8d000704d7f80020014718..."} 
[2026-09-24 16:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f76dd0012d0c8d000704d7f80020014718..."} 
[2026-09-24 16:01:09] local.INFO: Processing buffer {"connection_id":192843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f76dd0012d0c8d000704d7f80020014718..."} 
[2026-09-24 16:01:09] local.INFO: Packet analysis {"connection_id":192843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f7"} 
[2026-09-24 16:01:09] local.INFO: Extracted packet for processing {"connection_id":192843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f7"} 
[2026-09-24 16:01:09] local.INFO: GPS Element Parsed {"raw_longitude":755797248,"raw_latitude":117757944,"longitude_deg":75.5797248,"latitude_deg":11.7757944,"altitude":32,"angle":327,"satellites":24,"speed":8,"hex_longitude":"2d0c8d00","hex_latitude":"0704d7f8","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302930688001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33669897900785664,"note":"Value kept but may cause issues"} 
[2026-09-24 16:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904590236549781504,"note":"Value kept but may cause issues"} 
[2026-09-24 16:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790245826000,"timestamp_ms":1790245826000,"timestamp_seconds":1790245826,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f76dd0"} 
[2026-09-24 16:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-24 16:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192843,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192843,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302930688001,"66":14374,"95":206,"94":10240,"24":8,"16":33669897900785664,"45":904590236549781504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-24 16:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302930688001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:01:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-24 16:01:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33669897900785664,"km_value":33669897900785.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":904590236549781504,"description":"Unknown IO ID 45"} 
[2026-09-24 16:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302930688001,"power":14374,"unknown_95":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":904590236549781504}} 
[2026-09-24 16:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":192843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890587,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:01:09] local.INFO: GPS data processed {"connection_id":192843,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:01:09] local.INFO: Acknowledgment sent {"connection_id":192843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:01:28] local.INFO: TCP Data received {"connection_id":194116,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:01:28] local.INFO: Processing buffer {"connection_id":194116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:01:28] local.INFO: IMEI packet received {"connection_id":194116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":194116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:01:33] local.INFO: TCP Data received {"connection_id":194116,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:01:33] local.INFO: Processing buffer {"connection_id":194116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:01:33] local.INFO: IMEI packet received {"connection_id":194116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":194116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:01:34] local.INFO: TCP Data received {"connection_id":194116,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 16:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 16:01:34] local.INFO: Processing buffer {"connection_id":194116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f3ace0012d34c14006aa4940000900f529..."} 
[2026-09-24 16:01:34] local.INFO: Packet analysis {"connection_id":194116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 16:01:34] local.INFO: Extracted packet for processing {"connection_id":194116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f3"} 
[2026-09-24 16:01:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302791424001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790245580000,"timestamp_ms":1790245580000,"timestamp_seconds":1790245580,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f3ace0"} 
[2026-09-24 16:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302791424001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302791424001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:01:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:01:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302791424001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":194116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:01:34] local.INFO: GPS data processed {"connection_id":194116,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:01:34] local.INFO: Acknowledgment sent {"connection_id":194116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:01:41] local.INFO: TCP Data received {"connection_id":192843,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f7a098012d0c82000704e7000020013a18..."} 
[2026-09-24 16:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f7a098012d0c82000704e7000020013a18..."} 
[2026-09-24 16:01:41] local.INFO: Processing buffer {"connection_id":192843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f7a098012d0c82000704e7000020013a18..."} 
[2026-09-24 16:01:41] local.INFO: Packet analysis {"connection_id":192843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f7"} 
[2026-09-24 16:01:41] local.INFO: Extracted packet for processing {"connection_id":192843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f7"} 
[2026-09-24 16:01:41] local.INFO: GPS Element Parsed {"raw_longitude":755794432,"raw_latitude":117761792,"longitude_deg":75.5794432,"latitude_deg":11.7761792,"altitude":32,"angle":314,"satellites":24,"speed":24,"hex_longitude":"2d0c8200","hex_latitude":"0704e700","is_valid_coordinates":true} 
[2026-09-24 16:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302931456001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33670129829019648,"note":"Value kept but may cause issues"} 
[2026-09-24 16:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904379130317371392,"note":"Value kept but may cause issues"} 
[2026-09-24 16:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790245839000,"timestamp_ms":1790245839000,"timestamp_seconds":1790245839,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f7a098"} 
[2026-09-24 16:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-24 16:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192843,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192843,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302931456001,"66":14298,"95":206,"94":10240,"24":24,"16":33670129829019648,"45":904379130317371392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-24 16:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302931456001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:01:41] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-24 16:01:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33670129829019648,"km_value":33670129829019.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":904379130317371392,"description":"Unknown IO ID 45"} 
[2026-09-24 16:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302931456001,"power":14298,"unknown_95":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":904379130317371392}} 
[2026-09-24 16:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":192843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890589,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:01:41] local.INFO: GPS data processed {"connection_id":192843,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:01:41] local.INFO: Acknowledgment sent {"connection_id":192843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:01:45] local.INFO: TCP Data received {"connection_id":192845,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:01:45] local.INFO: Processing buffer {"connection_id":192845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:01:45] local.INFO: IMEI packet received {"connection_id":192845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":192845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:01:50] local.INFO: TCP Data received {"connection_id":192845,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:01:50] local.INFO: Processing buffer {"connection_id":192845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:01:50] local.INFO: IMEI packet received {"connection_id":192845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":192845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:01:51] local.INFO: TCP Data received {"connection_id":192845,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f63938012d196a00071fec30003e011229..."} 
[2026-09-24 16:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f63938012d196a00071fec30003e011229..."} 
[2026-09-24 16:01:51] local.INFO: Processing buffer {"connection_id":192845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f63938012d196a00071fec30003e011229..."} 
[2026-09-24 16:01:51] local.INFO: Packet analysis {"connection_id":192845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f6"} 
[2026-09-24 16:01:51] local.INFO: Extracted packet for processing {"connection_id":192845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f6"} 
[2026-09-24 16:01:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302905856001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790245747000,"timestamp_ms":1790245747000,"timestamp_seconds":1790245747,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f63938"} 
[2026-09-24 16:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:01: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-09-24 16:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 16:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302905856001,"66":12374,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302905856001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:01:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:01:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302905856001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":192845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:01:51] local.INFO: GPS data processed {"connection_id":192845,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:01:51] local.INFO: Acknowledgment sent {"connection_id":192845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:02:03] local.INFO: TCP Data received {"connection_id":191461,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191461,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:02:03] local.INFO: Processing buffer {"connection_id":191461,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:02:03] local.INFO: IMEI packet received {"connection_id":191461,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":191461,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:02:05] local.INFO: TCP Data received {"connection_id":194116,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:02:05] local.INFO: Processing buffer {"connection_id":194116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:02:05] local.INFO: Packet analysis {"connection_id":194116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:02:05] local.INFO: Extracted packet for processing {"connection_id":194116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:02:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302868480001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790245881000,"timestamp_ms":1790245881000,"timestamp_seconds":1790245881,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f844a8"} 
[2026-09-24 16:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302868480001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302868480001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:02:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:02:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302868480001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":194116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:02:05] local.INFO: GPS data processed {"connection_id":194116,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:02:05] local.INFO: Acknowledgment sent {"connection_id":194116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:02:06] local.INFO: TCP Data received {"connection_id":191461,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191461,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:02:06] local.INFO: Processing buffer {"connection_id":191461,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:02:06] local.INFO: IMEI packet received {"connection_id":191461,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":191461,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:02:08] local.INFO: TCP Data received {"connection_id":191461,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191461,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:02:08] local.INFO: Processing buffer {"connection_id":191461,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:02:08] local.INFO: IMEI packet received {"connection_id":191461,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":191461,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:02:09] local.INFO: TCP Data received {"connection_id":191461,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f7c7a8012d0c6d000704fb58001e014818..."} 
[2026-09-24 16:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f7c7a8012d0c6d000704fb58001e014818..."} 
[2026-09-24 16:02:09] local.INFO: Processing buffer {"connection_id":191461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f7c7a8012d0c6d000704fb58001e014818..."} 
[2026-09-24 16:02:09] local.INFO: Packet analysis {"connection_id":191461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f7"} 
[2026-09-24 16:02:09] local.INFO: Extracted packet for processing {"connection_id":191461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f7"} 
[2026-09-24 16:02:09] local.INFO: GPS Element Parsed {"raw_longitude":755789056,"raw_latitude":117767000,"longitude_deg":75.5789056,"latitude_deg":11.7767,"altitude":30,"angle":328,"satellites":24,"speed":31,"hex_longitude":"2d0c6d00","hex_latitude":"0704fb58","is_valid_coordinates":true} 
[2026-09-24 16:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302934784001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33670490606272512,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901282905574539264,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790245849000,"timestamp_ms":1790245849000,"timestamp_seconds":1790245849,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f7c7a8"} 
[2026-09-24 16:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-24 16:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302934784001,"66":14352,"95":206,"94":10240,"24":31,"16":33670490606272512,"45":901282905574539264},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-24 16:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302934784001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:02:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-24 16:02:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33670490606272512,"km_value":33670490606272.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":901282905574539264,"description":"Unknown IO ID 45"} 
[2026-09-24 16:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302934784001,"power":14352,"unknown_95":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":901282905574539264}} 
[2026-09-24 16:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":191461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890592,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:02:09] local.INFO: GPS data processed {"connection_id":191461,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:02:09] local.INFO: Acknowledgment sent {"connection_id":191461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:02:22] local.INFO: TCP Data received {"connection_id":192845,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f68b40012d196a00071fec30003e011228..."} 
[2026-09-24 16:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f68b40012d196a00071fec30003e011228..."} 
[2026-09-24 16:02:22] local.INFO: Processing buffer {"connection_id":192845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f68b40012d196a00071fec30003e011228..."} 
[2026-09-24 16:02:22] local.INFO: Packet analysis {"connection_id":192845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f6"} 
[2026-09-24 16:02:22] local.INFO: Extracted packet for processing {"connection_id":192845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f6"} 
[2026-09-24 16:02:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302911232001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790245768000,"timestamp_ms":1790245768000,"timestamp_seconds":1790245768,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f68b40"} 
[2026-09-24 16:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-24 16:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302911232001,"66":12374,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302911232001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:02:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:02:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302911232001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":192845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:02:22] local.INFO: GPS data processed {"connection_id":192845,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:02:22] local.INFO: Acknowledgment sent {"connection_id":192845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:02:28] local.INFO: TCP Data received {"connection_id":194118,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:02:28] local.INFO: Processing buffer {"connection_id":194118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:02:28] local.INFO: IMEI packet received {"connection_id":194118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":194118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:02:33] local.INFO: TCP Data received {"connection_id":194118,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:02:33] local.INFO: Processing buffer {"connection_id":194118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:02:33] local.INFO: IMEI packet received {"connection_id":194118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":194118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:02:34] local.INFO: TCP Data received {"connection_id":194118,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:02:34] local.INFO: Processing buffer {"connection_id":194118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:02:34] local.INFO: Packet analysis {"connection_id":194118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:02:34] local.INFO: Extracted packet for processing {"connection_id":194118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:02:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302868480001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790245881000,"timestamp_ms":1790245881000,"timestamp_seconds":1790245881,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f844a8"} 
[2026-09-24 16:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302868480001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302868480001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:02:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:02:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302868480001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":194118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:02:34] local.INFO: GPS data processed {"connection_id":194118,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:02:34] local.INFO: Acknowledgment sent {"connection_id":194118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:02:45] local.INFO: TCP Data received {"connection_id":191260,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:02:45] local.INFO: Processing buffer {"connection_id":191260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:02:45] local.INFO: IMEI packet received {"connection_id":191260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":191260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:02:47] local.INFO: TCP Data received {"connection_id":191461,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f7d360012d0c69c007050318001f015818..."} 
[2026-09-24 16:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f7d360012d0c69c007050318001f015818..."} 
[2026-09-24 16:02:47] local.INFO: Processing buffer {"connection_id":191461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f7d360012d0c69c007050318001f015818..."} 
[2026-09-24 16:02:47] local.INFO: Packet analysis {"connection_id":191461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f7"} 
[2026-09-24 16:02:47] local.INFO: Extracted packet for processing {"connection_id":191461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f7"} 
[2026-09-24 16:02:47] local.INFO: GPS Element Parsed {"raw_longitude":755788224,"raw_latitude":117768984,"longitude_deg":75.5788224,"latitude_deg":11.7768984,"altitude":31,"angle":344,"satellites":24,"speed":25,"hex_longitude":"2d0c69c0","hex_latitude":"07050318","is_valid_coordinates":true} 
[2026-09-24 16:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302937344001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33670593685487616,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895371931064948736,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790245852000,"timestamp_ms":1790245852000,"timestamp_seconds":1790245852,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f7d360"} 
[2026-09-24 16:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-24 16:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733147648,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:47] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3539412864,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:47] local.WARNING: Large IO value detected {"io_id":32,"raw_value":7318740622389248,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:47] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2449473536,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:47] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504113388453888,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:47] local.WARNING: Large IO value detected {"io_id":210,"raw_value":4150145025,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639363509138272,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:47] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6917792914731237632,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":861864142,"corrected_to":0} 
[2026-09-24 16:02:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:47] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2660237312,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:47] local.WARNING: Large IO value detected {"io_id":64,"raw_value":84737664641074391,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:47] local.WARNING: Large IO value detected {"io_id":12,"raw_value":7403925504758120474,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:47] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,95,94,24,241,157,16,159,160,45,231,32,10,66,158,109,215,98,192,1,240,250,227,210,4,113,205,2,90,142,168,239,56,119,7,31,5,206,64,12],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":205,"original":861864142,"validated":0}]} 
[2026-09-24 16:02:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2162088564032995328,"timestamp_seconds":2162088564032995.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 16:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302937344001,"66":14167,"95":206,"94":10240,"24":25,"16":33670593685487616,"45":895371931064948736},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-24 16:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302937344001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:02:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-24 16:02:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33670593685487616,"km_value":33670593685487.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":895371931064948736,"description":"Unknown IO ID 45"} 
[2026-09-24 16:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302937344001,"power":14167,"unknown_95":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":895371931064948736}} 
[2026-09-24 16:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":191461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890595,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:02:47] local.INFO: GPS data processed {"connection_id":191461,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:02:47] local.INFO: Acknowledgment sent {"connection_id":191461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:02:50] local.INFO: TCP Data received {"connection_id":191260,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:02:50] local.INFO: Processing buffer {"connection_id":191260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:02:50] local.INFO: IMEI packet received {"connection_id":191260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":191260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:02:51] local.INFO: TCP Data received {"connection_id":191260,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f6dd48012d196a00071fec30003e011226..."} 
[2026-09-24 16:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f6dd48012d196a00071fec30003e011226..."} 
[2026-09-24 16:02:51] local.INFO: Processing buffer {"connection_id":191260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f6dd48012d196a00071fec30003e011226..."} 
[2026-09-24 16:02:51] local.INFO: Packet analysis {"connection_id":191260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f6"} 
[2026-09-24 16:02:51] local.INFO: Extracted packet for processing {"connection_id":191260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f6"} 
[2026-09-24 16:02:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302916608001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790245789000,"timestamp_ms":1790245789000,"timestamp_seconds":1790245789,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f6dd48"} 
[2026-09-24 16:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:02: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-09-24 16:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-24 16:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302916608001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302916608001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:02:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:02:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302916608001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":191260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:02:51] local.INFO: GPS data processed {"connection_id":191260,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:02:51] local.INFO: Acknowledgment sent {"connection_id":191260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:03:09] local.INFO: TCP Data received {"connection_id":194118,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:03:09] local.INFO: Processing buffer {"connection_id":194118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:03:09] local.INFO: Packet analysis {"connection_id":194118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:03:09] local.INFO: Extracted packet for processing {"connection_id":194118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302868480001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790245881000,"timestamp_ms":1790245881000,"timestamp_seconds":1790245881,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f844a8"} 
[2026-09-24 16:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":194118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":194118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":194118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302868480001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302868480001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:03:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:03:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302868480001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":194118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:03:09] local.INFO: GPS data processed {"connection_id":194118,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:03:09] local.INFO: Acknowledgment sent {"connection_id":194118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:03:22] local.INFO: TCP Data received {"connection_id":191260,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f72f50012d196a00071fec30003e011229..."} 
[2026-09-24 16:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f72f50012d196a00071fec30003e011229..."} 
[2026-09-24 16:03:22] local.INFO: Processing buffer {"connection_id":191260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f72f50012d196a00071fec30003e011229..."} 
[2026-09-24 16:03:22] local.INFO: Packet analysis {"connection_id":191260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f7"} 
[2026-09-24 16:03:22] local.INFO: Extracted packet for processing {"connection_id":191260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f7"} 
[2026-09-24 16:03:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302921984001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790245810000,"timestamp_ms":1790245810000,"timestamp_seconds":1790245810,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f72f50"} 
[2026-09-24 16:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 16:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302921984001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302921984001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:03:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:03:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302921984001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":191260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:03:22] local.INFO: GPS data processed {"connection_id":191260,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:03:22] local.INFO: Acknowledgment sent {"connection_id":191260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:03:28] local.INFO: TCP Data received {"connection_id":194119,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:03:28] local.INFO: Processing buffer {"connection_id":194119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:03:28] local.INFO: IMEI packet received {"connection_id":194119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":194119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:03:33] local.INFO: TCP Data received {"connection_id":194119,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:03:33] local.INFO: Processing buffer {"connection_id":194119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:03:33] local.INFO: IMEI packet received {"connection_id":194119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":194119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:03:35] local.INFO: TCP Data received {"connection_id":194119,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:03:35] local.INFO: Processing buffer {"connection_id":194119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:03:35] local.INFO: Packet analysis {"connection_id":194119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:03:35] local.INFO: Extracted packet for processing {"connection_id":194119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302868480001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790245881000,"timestamp_ms":1790245881000,"timestamp_seconds":1790245881,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f844a8"} 
[2026-09-24 16:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302868480001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302868480001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:03:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:03:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302868480001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":194119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:03:35] local.INFO: GPS data processed {"connection_id":194119,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:03:35] local.INFO: Acknowledgment sent {"connection_id":194119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:03:45] local.INFO: TCP Data received {"connection_id":192846,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:03:45] local.INFO: Processing buffer {"connection_id":192846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:03:45] local.INFO: IMEI packet received {"connection_id":192846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":192846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:03:50] local.INFO: TCP Data received {"connection_id":192846,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:03:50] local.INFO: Processing buffer {"connection_id":192846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:03:50] local.INFO: IMEI packet received {"connection_id":192846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":192846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:03:51] local.INFO: TCP Data received {"connection_id":192846,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f78158012d196a00071fec30003e011228..."} 
[2026-09-24 16:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f78158012d196a00071fec30003e011228..."} 
[2026-09-24 16:03:51] local.INFO: Processing buffer {"connection_id":192846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f78158012d196a00071fec30003e011228..."} 
[2026-09-24 16:03:51] local.INFO: Packet analysis {"connection_id":192846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f7"} 
[2026-09-24 16:03:51] local.INFO: Extracted packet for processing {"connection_id":192846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f7"} 
[2026-09-24 16:03:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302927360001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790245831000,"timestamp_ms":1790245831000,"timestamp_seconds":1790245831,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f78158"} 
[2026-09-24 16:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:03: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-09-24 16:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302927360001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302927360001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:03:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:03:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302927360001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":192846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:03:51] local.INFO: GPS data processed {"connection_id":192846,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:03:51] local.INFO: Acknowledgment sent {"connection_id":192846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:03:55] local.INFO: TCP Data received {"connection_id":191261,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191261,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:03:55] local.INFO: Processing buffer {"connection_id":191261,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:03:55] local.INFO: IMEI packet received {"connection_id":191261,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":191261,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:03:58] local.INFO: TCP Data received {"connection_id":191261,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191261,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:03:58] local.INFO: Processing buffer {"connection_id":191261,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:03:58] local.INFO: IMEI packet received {"connection_id":191261,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":191261,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:04:01] local.INFO: TCP Data received {"connection_id":191261,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191261,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:04:01] local.INFO: Processing buffer {"connection_id":191261,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:04:01] local.INFO: IMEI packet received {"connection_id":191261,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":191261,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:04:01] local.INFO: TCP Data received {"connection_id":191261,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f9e2b8012d0c3f80070574b0001b014518..."} 
[2026-09-24 16:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f9e2b8012d0c3f80070574b0001b014518..."} 
[2026-09-24 16:04:01] local.INFO: Processing buffer {"connection_id":191261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f9e2b8012d0c3f80070574b0001b014518..."} 
[2026-09-24 16:04:01] local.INFO: Packet analysis {"connection_id":191261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f9"} 
[2026-09-24 16:04:01] local.INFO: Extracted packet for processing {"connection_id":191261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f9"} 
[2026-09-24 16:04:01] local.INFO: GPS Element Parsed {"raw_longitude":755777408,"raw_latitude":117798064,"longitude_deg":75.5777408,"latitude_deg":11.7798064,"altitude":27,"angle":325,"satellites":24,"speed":0,"hex_longitude":"2d0c3f80","hex_latitude":"070574b0","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302967552001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33672139873714176,"note":"Value kept but may cause issues"} 
[2026-09-24 16:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":883338875818192896,"note":"Value kept but may cause issues"} 
[2026-09-24 16:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790245987000,"timestamp_ms":1790245987000,"timestamp_seconds":1790245987,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f9e2b8"} 
[2026-09-24 16:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-24 16:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":191261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":191261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":191261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302967552001,"66":14439,"164":206,"94":10240,"24":0,"16":33672139873714176,"45":883338875818192896},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-24 16:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302967552001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:04:01] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-24 16:04:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33672139873714176,"km_value":33672139873714.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":883338875818192896,"description":"Unknown IO ID 45"} 
[2026-09-24 16:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302967552001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":883338875818192896}} 
[2026-09-24 16:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":191261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890601,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:04:02] local.INFO: GPS data processed {"connection_id":191261,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:04:02] local.INFO: Acknowledgment sent {"connection_id":191261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:04:02] local.INFO: TCP Data received {"connection_id":191261,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f9fa28012d0c3f0007057580001a015a1a..."} 
[2026-09-24 16:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f9fa28012d0c3f0007057580001a015a1a..."} 
[2026-09-24 16:04:02] local.INFO: Processing buffer {"connection_id":191261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f9fa28012d0c3f0007057580001a015a1a..."} 
[2026-09-24 16:04:02] local.INFO: Packet analysis {"connection_id":191261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f9"} 
[2026-09-24 16:04:02] local.INFO: Extracted packet for processing {"connection_id":191261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f9"} 
[2026-09-24 16:04:02] local.INFO: GPS Element Parsed {"raw_longitude":755777280,"raw_latitude":117798272,"longitude_deg":75.577728,"latitude_deg":11.7798272,"altitude":26,"angle":346,"satellites":26,"speed":1,"hex_longitude":"2d0c3f00","hex_latitude":"07057580","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302972672001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33672152758616064,"note":"Value kept but may cause issues"} 
[2026-09-24 16:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882564819632566272,"note":"Value kept but may cause issues"} 
[2026-09-24 16:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790245993000,"timestamp_ms":1790245993000,"timestamp_seconds":1790245993,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f9fa28"} 
[2026-09-24 16:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 16:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":191261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":191261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":191261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302972672001,"66":14439,"164":206,"94":10240,"24":1,"16":33672152758616064,"45":882564819632566272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-24 16:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302972672001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:04:02] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-24 16:04:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33672152758616064,"km_value":33672152758616.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":882564819632566272,"description":"Unknown IO ID 45"} 
[2026-09-24 16:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302972672001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":882564819632566272}} 
[2026-09-24 16:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":191261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890602,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:04:02] local.INFO: GPS data processed {"connection_id":191261,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:04:02] local.INFO: Acknowledgment sent {"connection_id":191261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:04:06] local.INFO: TCP Data received {"connection_id":194119,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:04:06] local.INFO: Processing buffer {"connection_id":194119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:04:06] local.INFO: Packet analysis {"connection_id":194119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:04:06] local.INFO: Extracted packet for processing {"connection_id":194119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:04:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302868480001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790245881000,"timestamp_ms":1790245881000,"timestamp_seconds":1790245881,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f844a8"} 
[2026-09-24 16:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302868480001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302868480001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:04:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:04:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302868480001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":194119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:04:06] local.INFO: GPS data processed {"connection_id":194119,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:04:06] local.INFO: Acknowledgment sent {"connection_id":194119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:04:22] local.INFO: TCP Data received {"connection_id":192846,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f7d360012d196a00071fec30003e011229..."} 
[2026-09-24 16:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f7d360012d196a00071fec30003e011229..."} 
[2026-09-24 16:04:22] local.INFO: Processing buffer {"connection_id":192846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f7d360012d196a00071fec30003e011229..."} 
[2026-09-24 16:04:22] local.INFO: Packet analysis {"connection_id":192846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f7"} 
[2026-09-24 16:04:22] local.INFO: Extracted packet for processing {"connection_id":192846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f7"} 
[2026-09-24 16:04:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302932736001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790245852000,"timestamp_ms":1790245852000,"timestamp_seconds":1790245852,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f7d360"} 
[2026-09-24 16:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302932736001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302932736001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:04:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:04:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302932736001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":192846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:04:22] local.INFO: GPS data processed {"connection_id":192846,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:04:22] local.INFO: Acknowledgment sent {"connection_id":192846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:04:28] local.INFO: TCP Data received {"connection_id":192848,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:04:28] local.INFO: Processing buffer {"connection_id":192848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:04:28] local.INFO: IMEI packet received {"connection_id":192848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":192848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:04:33] local.INFO: TCP Data received {"connection_id":192848,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:04:33] local.INFO: Processing buffer {"connection_id":192848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:04:33] local.INFO: IMEI packet received {"connection_id":192848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":192848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:04:35] local.INFO: TCP Data received {"connection_id":192848,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:04:35] local.INFO: Processing buffer {"connection_id":192848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:04:35] local.INFO: Packet analysis {"connection_id":192848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:04:35] local.INFO: Extracted packet for processing {"connection_id":192848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302868480001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790245881000,"timestamp_ms":1790245881000,"timestamp_seconds":1790245881,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f844a8"} 
[2026-09-24 16:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302868480001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302868480001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:04:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:04:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302868480001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":192848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:04:35] local.INFO: GPS data processed {"connection_id":192848,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:04:35] local.INFO: Acknowledgment sent {"connection_id":192848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:04:40] local.INFO: TCP Data received {"connection_id":191261,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f9fe10012d0c3ec0070575b8001a014f19..."} 
[2026-09-24 16:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f9fe10012d0c3ec0070575b8001a014f19..."} 
[2026-09-24 16:04:40] local.INFO: Processing buffer {"connection_id":191261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f9fe10012d0c3ec0070575b8001a014f19..."} 
[2026-09-24 16:04:40] local.INFO: Packet analysis {"connection_id":191261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f9"} 
[2026-09-24 16:04:40] local.INFO: Extracted packet for processing {"connection_id":191261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f9"} 
[2026-09-24 16:04:40] local.INFO: GPS Element Parsed {"raw_longitude":755777216,"raw_latitude":117798328,"longitude_deg":75.5777216,"latitude_deg":11.7798328,"altitude":26,"angle":335,"satellites":25,"speed":2,"hex_longitude":"2d0c3ec0","hex_latitude":"070575b8","is_valid_coordinates":true} 
[2026-09-24 16:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302974208001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33672157053583360,"note":"Value kept but may cause issues"} 
[2026-09-24 16:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882424082144264192,"note":"Value kept but may cause issues"} 
[2026-09-24 16:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790245994000,"timestamp_ms":1790245994000,"timestamp_seconds":1790245994,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f9fe10"} 
[2026-09-24 16:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 16:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302974208001,"66":14428,"164":206,"94":10240,"24":2,"16":33672157053583360,"45":882424082144264192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-24 16:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302974208001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:04:40] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-24 16:04:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33672157053583360,"km_value":33672157053583.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":882424082144264192,"description":"Unknown IO ID 45"} 
[2026-09-24 16:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302974208001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":882424082144264192}} 
[2026-09-24 16:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":191261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890606,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:04:40] local.INFO: GPS data processed {"connection_id":191261,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:04:40] local.INFO: Acknowledgment sent {"connection_id":191261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:04:45] local.INFO: TCP Data received {"connection_id":191463,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:04:45] local.INFO: Processing buffer {"connection_id":191463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:04:45] local.INFO: IMEI packet received {"connection_id":191463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":191463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:04:50] local.INFO: TCP Data received {"connection_id":191463,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:04:50] local.INFO: Processing buffer {"connection_id":191463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:04:50] local.INFO: IMEI packet received {"connection_id":191463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":191463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:04:51] local.INFO: TCP Data received {"connection_id":191463,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f82568012d196a00071fec30003e011229..."} 
[2026-09-24 16:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f82568012d196a00071fec30003e011229..."} 
[2026-09-24 16:04:51] local.INFO: Processing buffer {"connection_id":191463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f82568012d196a00071fec30003e011229..."} 
[2026-09-24 16:04:51] local.INFO: Packet analysis {"connection_id":191463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:04:51] local.INFO: Extracted packet for processing {"connection_id":191463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:04:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302938112001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790245873000,"timestamp_ms":1790245873000,"timestamp_seconds":1790245873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f82568"} 
[2026-09-24 16:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:04: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-09-24 16:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302938112001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302938112001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:04:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:04:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302938112001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":191463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:04:51] local.INFO: GPS data processed {"connection_id":191463,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:04:51] local.INFO: Acknowledgment sent {"connection_id":191463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:05:07] local.INFO: TCP Data received {"connection_id":192848,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:05:07] local.INFO: Processing buffer {"connection_id":192848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:05:07] local.INFO: Packet analysis {"connection_id":192848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:05:07] local.INFO: Extracted packet for processing {"connection_id":192848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302868480001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790245881000,"timestamp_ms":1790245881000,"timestamp_seconds":1790245881,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f844a8"} 
[2026-09-24 16:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302868480001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302868480001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:05:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:05:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302868480001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":192848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:05:07] local.INFO: GPS data processed {"connection_id":192848,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:05:07] local.INFO: Acknowledgment sent {"connection_id":192848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:05:10] local.INFO: TCP Data received {"connection_id":192849,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192849,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:05:10] local.INFO: Processing buffer {"connection_id":192849,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:05:10] local.INFO: IMEI packet received {"connection_id":192849,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":192849,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:05:11] local.INFO: TCP Data received {"connection_id":192849,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192849,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:05:11] local.INFO: Processing buffer {"connection_id":192849,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:05:11] local.INFO: IMEI packet received {"connection_id":192849,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":192849,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:05:13] local.INFO: TCP Data received {"connection_id":192849,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192849,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:05:13] local.INFO: Processing buffer {"connection_id":192849,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:05:13] local.INFO: IMEI packet received {"connection_id":192849,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":192849,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:05:14] local.INFO: TCP Data received {"connection_id":192849,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192849,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:05:14] local.INFO: Processing buffer {"connection_id":192849,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:05:14] local.INFO: IMEI packet received {"connection_id":192849,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":192849,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:05:17] local.INFO: TCP Data received {"connection_id":191464,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191464,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:05:17] local.INFO: Processing buffer {"connection_id":191464,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:05:17] local.INFO: IMEI packet received {"connection_id":191464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 16:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":191464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:05:22] local.INFO: TCP Data received {"connection_id":191463,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f87770012d196a00071fec30003e011227..."} 
[2026-09-24 16:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f87770012d196a00071fec30003e011227..."} 
[2026-09-24 16:05:22] local.INFO: Processing buffer {"connection_id":191463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f87770012d196a00071fec30003e011227..."} 
[2026-09-24 16:05:22] local.INFO: Packet analysis {"connection_id":191463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:05:22] local.INFO: Extracted packet for processing {"connection_id":191463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:05:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302943488001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790245894000,"timestamp_ms":1790245894000,"timestamp_seconds":1790245894,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f87770"} 
[2026-09-24 16:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 16:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302943488001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302943488001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:05:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:05:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302943488001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":191463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:05:22] local.INFO: GPS data processed {"connection_id":191463,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:05:22] local.INFO: Acknowledgment sent {"connection_id":191463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:05:23] local.INFO: TCP Data received {"connection_id":191464,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fa01f80100000000000000000000000000..."} 
[2026-09-24 16:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fa01f80100000000000000000000000000..."} 
[2026-09-24 16:05:23] local.INFO: Processing buffer {"connection_id":191464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fa01f80100000000000000000000000000..."} 
[2026-09-24 16:05:23] local.INFO: Packet analysis {"connection_id":191464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fa"} 
[2026-09-24 16:05:23] local.INFO: Extracted packet for processing {"connection_id":191464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fa"} 
[2026-09-24 16:05:23] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 16:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302959872001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:05:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8133923105749760000,"note":"Value kept but may cause issues"} 
[2026-09-24 16:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790245995000,"timestamp_ms":1790245995000,"timestamp_seconds":1790245995,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fa01f8"} 
[2026-09-24 16:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:05: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-09-24 16:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 16:05: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-09-24 16:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":191464,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 16:05:23] local.INFO: GPS data processed {"connection_id":191464,"processed":0,"errors":0,"total":1} 
[2026-09-24 16:05:23] local.INFO: Acknowledgment sent {"connection_id":191464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:05:28] local.INFO: TCP Data received {"connection_id":194120,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:05:28] local.INFO: Processing buffer {"connection_id":194120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:05:28] local.INFO: IMEI packet received {"connection_id":194120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":194120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:05:33] local.INFO: TCP Data received {"connection_id":194120,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:05:33] local.INFO: Processing buffer {"connection_id":194120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:05:33] local.INFO: IMEI packet received {"connection_id":194120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":194120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:05:34] local.INFO: TCP Data received {"connection_id":194120,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:05:34] local.INFO: Processing buffer {"connection_id":194120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:05:34] local.INFO: Packet analysis {"connection_id":194120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:05:34] local.INFO: Extracted packet for processing {"connection_id":194120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:05:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302868480001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790245881000,"timestamp_ms":1790245881000,"timestamp_seconds":1790245881,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f844a8"} 
[2026-09-24 16:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302868480001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302868480001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:05:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:05:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302868480001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":194120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:05:34] local.INFO: GPS data processed {"connection_id":194120,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:05:34] local.INFO: Acknowledgment sent {"connection_id":194120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:05:44] local.INFO: TCP Data received {"connection_id":194121,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:05:44] local.INFO: Processing buffer {"connection_id":194121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:05:44] local.INFO: IMEI packet received {"connection_id":194121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":194121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:05:50] local.INFO: TCP Data received {"connection_id":194121,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:05:50] local.INFO: Processing buffer {"connection_id":194121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:05:50] local.INFO: IMEI packet received {"connection_id":194121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":194121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:05:51] local.INFO: TCP Data received {"connection_id":194121,"ip":"42.109.136.5","data_length":93,"data_hex":"00000000000000518e01000001a0d2f8c978012d196a00071fec30003e01122a..."} 
[2026-09-24 16:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194121,"packet_length":93,"packet_hex":"00000000000000518e01000001a0d2f8c978012d196a00071fec30003e01122a..."} 
[2026-09-24 16:05:51] local.INFO: Processing buffer {"connection_id":194121,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0d2f8c978012d196a00071fec30003e01122a..."} 
[2026-09-24 16:05:51] local.INFO: Packet analysis {"connection_id":194121,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0d2f8"} 
[2026-09-24 16:05:51] local.INFO: Extracted packet for processing {"connection_id":194121,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0d2f8"} 
[2026-09-24 16:05:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:05: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":93,"current_offset":40} 
[2026-09-24 16:05:51] 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-09-24 16:05:51] 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-09-24 16:05:51] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:05:51] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-24 16:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194121,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-24 16:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194121,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-24 16:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194121,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-24 16:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-24 16:05:51] local.WARNING: DEBUG: No valid data to process  
[2026-09-24 16:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":194121,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-24 16:05:51] local.ERROR: GPS data processing failed {"connection_id":194121,"error":"No valid data to process"} 
[2026-09-24 16:05:51] local.INFO: Acknowledgment sent {"connection_id":194121,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-24 16:06:07] local.INFO: TCP Data received {"connection_id":194122,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:06:07] local.INFO: Processing buffer {"connection_id":194122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:06:07] local.INFO: IMEI packet received {"connection_id":194122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 16:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":194122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:06:07] local.INFO: TCP Data received {"connection_id":194120,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:06:07] local.INFO: Processing buffer {"connection_id":194120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:06:07] local.INFO: Packet analysis {"connection_id":194120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:06:07] local.INFO: Extracted packet for processing {"connection_id":194120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:06:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302868480001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790245881000,"timestamp_ms":1790245881000,"timestamp_seconds":1790245881,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f844a8"} 
[2026-09-24 16:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":194120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":194120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":194120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302868480001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302868480001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:06:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:06:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302868480001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":194120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:06:07] local.INFO: GPS data processed {"connection_id":194120,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:06:07] local.INFO: Acknowledgment sent {"connection_id":194120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:06:10] local.INFO: TCP Data received {"connection_id":194122,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:06:10] local.INFO: Processing buffer {"connection_id":194122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:06:10] local.INFO: IMEI packet received {"connection_id":194122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 16:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":194122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:06:14] local.INFO: TCP Data received {"connection_id":194122,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:06:14] local.INFO: Processing buffer {"connection_id":194122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:06:14] local.INFO: IMEI packet received {"connection_id":194122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 16:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":194122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:06:22] local.INFO: TCP Data received {"connection_id":194121,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f91b80012d196a00071fec30003e01122a..."} 
[2026-09-24 16:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f91b80012d196a00071fec30003e01122a..."} 
[2026-09-24 16:06:22] local.INFO: Processing buffer {"connection_id":194121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f91b80012d196a00071fec30003e01122a..."} 
[2026-09-24 16:06:22] local.INFO: Packet analysis {"connection_id":194121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f9"} 
[2026-09-24 16:06:22] local.INFO: Extracted packet for processing {"connection_id":194121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f9"} 
[2026-09-24 16:06:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302954240001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790245936000,"timestamp_ms":1790245936000,"timestamp_seconds":1790245936,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f91b80"} 
[2026-09-24 16:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302954240001,"66":12374,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302954240001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:06:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:06:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302954240001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":194121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:06:22] local.INFO: GPS data processed {"connection_id":194121,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:06:22] local.INFO: Acknowledgment sent {"connection_id":194121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:06:30] local.INFO: TCP Data received {"connection_id":194122,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f988e0012c8f50c007dac1d8001100a32f..."} 
[2026-09-24 16:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f988e0012c8f50c007dac1d8001100a32f..."} 
[2026-09-24 16:06:30] local.INFO: Processing buffer {"connection_id":194122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f988e0012c8f50c007dac1d8001100a32f..."} 
[2026-09-24 16:06:30] local.INFO: Packet analysis {"connection_id":194122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f9"} 
[2026-09-24 16:06:30] local.INFO: Extracted packet for processing {"connection_id":194122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f9"} 
[2026-09-24 16:06:30] local.INFO: GPS Element Parsed {"raw_longitude":747589824,"raw_latitude":131776984,"longitude_deg":74.7589824,"latitude_deg":13.1776984,"altitude":17,"angle":163,"satellites":47,"speed":58,"hex_longitude":"2c8f50c0","hex_latitude":"07dac1d8","is_valid_coordinates":true} 
[2026-09-24 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-09-24 16:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:06:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,132,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 16:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790245964000,"timestamp_ms":1790245964000,"timestamp_seconds":1790245964,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f988e0"} 
[2026-09-24 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-09-24 16:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 16:06:30] 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-09-24 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-09-24 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-09-24 16:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28398,"132":206,"9":57344,"24":58,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,9,24,16]} 
[2026-09-24 16:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 16:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 16:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 16:06:30] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-24 16:06:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 16:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:06:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28398,"unknown_132":206,"unknown_9":57344,"ignition":58,"odometer":null}} 
[2026-09-24 16:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":194122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890613,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:06:30] local.INFO: GPS data processed {"connection_id":194122,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:06:30] local.INFO: Acknowledgment sent {"connection_id":194122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:06:32] local.INFO: TCP Data received {"connection_id":194122,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f9dae8012c8f704007da6bf8000f009f2e..."} 
[2026-09-24 16:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f9dae8012c8f704007da6bf8000f009f2e..."} 
[2026-09-24 16:06:32] local.INFO: Processing buffer {"connection_id":194122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f9dae8012c8f704007da6bf8000f009f2e..."} 
[2026-09-24 16:06:32] local.INFO: Packet analysis {"connection_id":194122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f9"} 
[2026-09-24 16:06:32] local.INFO: Extracted packet for processing {"connection_id":194122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f9"} 
[2026-09-24 16:06:32] local.INFO: GPS Element Parsed {"raw_longitude":747597888,"raw_latitude":131755000,"longitude_deg":74.7597888,"latitude_deg":13.1755,"altitude":15,"angle":159,"satellites":46,"speed":0,"hex_longitude":"2c8f7040","hex_latitude":"07da6bf8","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302966784001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:06:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8119778988181563392,"note":"Value kept but may cause issues"} 
[2026-09-24 16:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790245985000,"timestamp_ms":1790245985000,"timestamp_seconds":1790245985,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f9dae8"} 
[2026-09-24 16:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 16:06:32] 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-09-24 16: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-09-24 16:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302966784001,"66":28376,"103":206,"9":57344,"24":0,"16":3605341577150464,"44":-8119778988181563392},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,9,24,16,44]} 
[2026-09-24 16:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 16:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 16:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302966784001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:06:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 16:06:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 16:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:06:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-8119778988181563392,"description":"Unknown IO ID 44"} 
[2026-09-24 16:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302966784001,"power":28376,"unknown_103":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-8119778988181563392}} 
[2026-09-24 16:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":194122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890614,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:06:32] local.INFO: GPS data processed {"connection_id":194122,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:06:32] local.INFO: Acknowledgment sent {"connection_id":194122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:06:33] local.INFO: TCP Data received {"connection_id":192850,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:06:33] local.INFO: Processing buffer {"connection_id":192850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:06:33] local.INFO: IMEI packet received {"connection_id":192850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":192850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:06:38] local.INFO: TCP Data received {"connection_id":192850,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:06:38] local.INFO: Processing buffer {"connection_id":192850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:06:38] local.INFO: IMEI packet received {"connection_id":192850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":192850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:06:39] local.INFO: TCP Data received {"connection_id":194122,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fac1600100000000000000000000000000..."} 
[2026-09-24 16:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fac1600100000000000000000000000000..."} 
[2026-09-24 16:06:39] local.INFO: Processing buffer {"connection_id":194122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fac1600100000000000000000000000000..."} 
[2026-09-24 16:06:39] local.INFO: Packet analysis {"connection_id":194122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fa"} 
[2026-09-24 16:06:39] local.INFO: Extracted packet for processing {"connection_id":194122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fa"} 
[2026-09-24 16:06:39] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 16:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302972160001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:06:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8110912526420805632,"note":"Value kept but may cause issues"} 
[2026-09-24 16:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790246044000,"timestamp_ms":1790246044000,"timestamp_seconds":1790246044,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fac160"} 
[2026-09-24 16:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 16:06:39] 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-09-24 16:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":194122,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 16:06:39] local.INFO: GPS data processed {"connection_id":194122,"processed":0,"errors":0,"total":1} 
[2026-09-24 16:06:39] local.INFO: Acknowledgment sent {"connection_id":194122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:06:39] local.INFO: TCP Data received {"connection_id":192850,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:06:39] local.INFO: Processing buffer {"connection_id":192850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:06:39] local.INFO: Packet analysis {"connection_id":192850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:06:39] local.INFO: Extracted packet for processing {"connection_id":192850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:06:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302868480001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790245881000,"timestamp_ms":1790245881000,"timestamp_seconds":1790245881,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f844a8"} 
[2026-09-24 16:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302868480001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302868480001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:06:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:06:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302868480001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":192850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:06:39] local.INFO: GPS data processed {"connection_id":192850,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:06:39] local.INFO: Acknowledgment sent {"connection_id":192850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:06:44] local.INFO: TCP Data received {"connection_id":192850,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:06:44] local.INFO: Processing buffer {"connection_id":192850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f844a8012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:06:44] local.INFO: Packet analysis {"connection_id":192850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:06:44] local.INFO: Extracted packet for processing {"connection_id":192850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f8"} 
[2026-09-24 16:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302868480001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790245881000,"timestamp_ms":1790245881000,"timestamp_seconds":1790245881,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f844a8"} 
[2026-09-24 16:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302868480001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302868480001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:06:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:06:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302868480001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":192850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:06:44] local.INFO: GPS data processed {"connection_id":192850,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:06:44] local.INFO: Acknowledgment sent {"connection_id":192850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:06:45] local.INFO: TCP Data received {"connection_id":191465,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:06:45] local.INFO: Processing buffer {"connection_id":191465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:06:45] local.INFO: IMEI packet received {"connection_id":191465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":191465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:06:45] local.INFO: TCP Data received {"connection_id":191465,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:06:45] local.INFO: Processing buffer {"connection_id":191465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:06:45] local.INFO: IMEI packet received {"connection_id":191465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":191465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:06:50] local.INFO: TCP Data received {"connection_id":191465,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:06:50] local.INFO: Processing buffer {"connection_id":191465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:06:50] local.INFO: IMEI packet received {"connection_id":191465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":191465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:06:51] local.INFO: TCP Data received {"connection_id":191465,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f96d88012d196a00071fec30003e011229..."} 
[2026-09-24 16:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f96d88012d196a00071fec30003e011229..."} 
[2026-09-24 16:06:51] local.INFO: Processing buffer {"connection_id":191465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f96d88012d196a00071fec30003e011229..."} 
[2026-09-24 16:06:51] local.INFO: Packet analysis {"connection_id":191465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f9"} 
[2026-09-24 16:06:51] local.INFO: Extracted packet for processing {"connection_id":191465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f9"} 
[2026-09-24 16:06:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302959616001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790245957000,"timestamp_ms":1790245957000,"timestamp_seconds":1790245957,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f96d88"} 
[2026-09-24 16:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:06: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-09-24 16:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-24 16:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302959616001,"66":12341,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302959616001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:06:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:06:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302959616001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":191465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:06:51] local.INFO: GPS data processed {"connection_id":191465,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:06:51] local.INFO: Acknowledgment sent {"connection_id":191465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:07:12] local.INFO: TCP Data received {"connection_id":194123,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:07:12] local.INFO: Processing buffer {"connection_id":194123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:07:12] local.INFO: IMEI packet received {"connection_id":194123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 16:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":194123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:07:16] local.INFO: TCP Data received {"connection_id":194123,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:07:16] local.INFO: Processing buffer {"connection_id":194123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:07:16] local.INFO: IMEI packet received {"connection_id":194123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 16:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":194123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:07:22] local.INFO: TCP Data received {"connection_id":191465,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2f9bf90012d196a00071fec30003e011228..."} 
[2026-09-24 16:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2f9bf90012d196a00071fec30003e011228..."} 
[2026-09-24 16:07:22] local.INFO: Processing buffer {"connection_id":191465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2f9bf90012d196a00071fec30003e011228..."} 
[2026-09-24 16:07:22] local.INFO: Packet analysis {"connection_id":191465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2f9"} 
[2026-09-24 16:07:22] local.INFO: Extracted packet for processing {"connection_id":191465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2f9"} 
[2026-09-24 16:07:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302964992001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790245978000,"timestamp_ms":1790245978000,"timestamp_seconds":1790245978,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2f9bf90"} 
[2026-09-24 16:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 16:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302964992001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302964992001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:07:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:07:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302964992001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":191465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:07:22] local.INFO: GPS data processed {"connection_id":191465,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:07:22] local.INFO: Acknowledgment sent {"connection_id":191465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:07:25] local.INFO: TCP Data received {"connection_id":194123,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fa4460012c8fa4c007d9bd18000e00a62d..."} 
[2026-09-24 16:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fa4460012c8fa4c007d9bd18000e00a62d..."} 
[2026-09-24 16:07:25] local.INFO: Processing buffer {"connection_id":194123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fa4460012c8fa4c007d9bd18000e00a62d..."} 
[2026-09-24 16:07:25] local.INFO: Packet analysis {"connection_id":194123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fa"} 
[2026-09-24 16:07:25] local.INFO: Extracted packet for processing {"connection_id":194123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fa"} 
[2026-09-24 16:07:25] local.INFO: GPS Element Parsed {"raw_longitude":747611328,"raw_latitude":131710232,"longitude_deg":74.7611328,"latitude_deg":13.1710232,"altitude":14,"angle":166,"satellites":45,"speed":59,"hex_longitude":"2c8fa4c0","hex_latitude":"07d9bd18","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:07:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 16:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790246012000,"timestamp_ms":1790246012000,"timestamp_seconds":1790246012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fa4460"} 
[2026-09-24 16:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 16:07:25] 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-09-24 16: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-09-24 16:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":194123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":194123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":194123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"103":206,"9":57344,"24":59,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,9,24,16]} 
[2026-09-24 16:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 16:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 16:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 16:07:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 16:07:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 16:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:07:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_103":206,"unknown_9":57344,"ignition":59,"odometer":null}} 
[2026-09-24 16:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":194123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890619,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:07:25] local.INFO: GPS data processed {"connection_id":194123,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:07:25] local.INFO: Acknowledgment sent {"connection_id":194123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:07:28] local.INFO: TCP Data received {"connection_id":192851,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:07:28] local.INFO: Processing buffer {"connection_id":192851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:07:28] local.INFO: IMEI packet received {"connection_id":192851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":192851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:07:33] local.INFO: TCP Data received {"connection_id":192851,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:07:33] local.INFO: Processing buffer {"connection_id":192851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:07:33] local.INFO: IMEI packet received {"connection_id":192851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":192851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:07:34] local.INFO: TCP Data received {"connection_id":192851,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:07:34] local.INFO: Processing buffer {"connection_id":192851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:07:34] local.INFO: Packet analysis {"connection_id":192851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fc"} 
[2026-09-24 16:07:34] local.INFO: Extracted packet for processing {"connection_id":192851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fc"} 
[2026-09-24 16:07:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302945536001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790246182000,"timestamp_ms":1790246182000,"timestamp_seconds":1790246182,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fcdc70"} 
[2026-09-24 16:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302945536001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302945536001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:07:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:07:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302945536001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":192851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:07:34] local.INFO: GPS data processed {"connection_id":192851,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:07:34] local.INFO: Acknowledgment sent {"connection_id":192851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:07:48] local.INFO: TCP Data received {"connection_id":191263,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:07:48] local.INFO: Processing buffer {"connection_id":191263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:07:48] local.INFO: IMEI packet received {"connection_id":191263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":191263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:07:49] local.INFO: TCP Data received {"connection_id":191263,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:07:49] local.INFO: Processing buffer {"connection_id":191263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:07:49] local.INFO: IMEI packet received {"connection_id":191263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":191263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:07:54] local.INFO: TCP Data received {"connection_id":191263,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:07:54] local.INFO: Processing buffer {"connection_id":191263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:07:54] local.INFO: IMEI packet received {"connection_id":191263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":191263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:07:55] local.INFO: TCP Data received {"connection_id":191263,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fa1198012d196a00071fec30003e011228..."} 
[2026-09-24 16:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fa1198012d196a00071fec30003e011228..."} 
[2026-09-24 16:07:55] local.INFO: Processing buffer {"connection_id":191263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fa1198012d196a00071fec30003e011228..."} 
[2026-09-24 16:07:55] local.INFO: Packet analysis {"connection_id":191263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fa"} 
[2026-09-24 16:07:55] local.INFO: Extracted packet for processing {"connection_id":191263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fa"} 
[2026-09-24 16:07:55] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302970368001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790245999000,"timestamp_ms":1790245999000,"timestamp_seconds":1790245999,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fa1198"} 
[2026-09-24 16:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302970368001,"66":12341,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302970368001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:07:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:07:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302970368001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":191263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:07:55] local.INFO: GPS data processed {"connection_id":191263,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:07:55] local.INFO: Acknowledgment sent {"connection_id":191263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:08:07] local.INFO: TCP Data received {"connection_id":191264,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:08:07] local.INFO: Processing buffer {"connection_id":191264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:08:07] local.INFO: IMEI packet received {"connection_id":191264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 16:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":191264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:08:07] local.INFO: TCP Data received {"connection_id":192851,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:08:07] local.INFO: Processing buffer {"connection_id":192851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:08:07] local.INFO: Packet analysis {"connection_id":192851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fc"} 
[2026-09-24 16:08:07] local.INFO: Extracted packet for processing {"connection_id":192851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fc"} 
[2026-09-24 16:08:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302945536001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790246182000,"timestamp_ms":1790246182000,"timestamp_seconds":1790246182,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fcdc70"} 
[2026-09-24 16:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302945536001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302945536001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:08:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:08:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302945536001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":192851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:08:07] local.INFO: GPS data processed {"connection_id":192851,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:08:07] local.INFO: Acknowledgment sent {"connection_id":192851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:08:12] local.INFO: TCP Data received {"connection_id":191264,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:08:12] local.INFO: Processing buffer {"connection_id":191264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:08:12] local.INFO: IMEI packet received {"connection_id":191264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 16:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":191264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:08:22] local.INFO: TCP Data received {"connection_id":191264,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fcf3e0012c915e4007d664f8000c00982f..."} 
[2026-09-24 16:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fcf3e0012c915e4007d664f8000c00982f..."} 
[2026-09-24 16:08:22] local.INFO: Processing buffer {"connection_id":191264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fcf3e0012c915e4007d664f8000c00982f..."} 
[2026-09-24 16:08:22] local.INFO: Packet analysis {"connection_id":191264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fc"} 
[2026-09-24 16:08:22] local.INFO: Extracted packet for processing {"connection_id":191264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fc"} 
[2026-09-24 16:08:22] local.INFO: GPS Element Parsed {"raw_longitude":747724352,"raw_latitude":131491064,"longitude_deg":74.7724352,"latitude_deg":13.1491064,"altitude":12,"angle":152,"satellites":47,"speed":57,"hex_longitude":"2c915e40","hex_latitude":"07d664f8","is_valid_coordinates":true} 
[2026-09-24 16:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303020032001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:08:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7987274642963474432,"note":"Value kept but may cause issues"} 
[2026-09-24 16:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790246188000,"timestamp_ms":1790246188000,"timestamp_seconds":1790246188,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fcf3e0"} 
[2026-09-24 16:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-24 16:08:22] 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-09-24 16:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191264,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191264,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303020032001,"66":28267,"83":206,"9":57344,"24":57,"16":3605341577150464,"44":-7987274642963474432},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,9,24,16,44]} 
[2026-09-24 16:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 16:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 16:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303020032001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:08:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-24 16:08:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 16:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:08:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7987274642963474432,"description":"Unknown IO ID 44"} 
[2026-09-24 16:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303020032001,"power":28267,"unknown_83":206,"unknown_9":57344,"ignition":57,"odometer":null,"unknown_44":-7987274642963474432}} 
[2026-09-24 16:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":191264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890623,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:08:22] local.INFO: GPS data processed {"connection_id":191264,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:08:22] local.INFO: Acknowledgment sent {"connection_id":191264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:08:26] local.INFO: TCP Data received {"connection_id":191263,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fa63a0012d196a00071fec30003e011229..."} 
[2026-09-24 16:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fa63a0012d196a00071fec30003e011229..."} 
[2026-09-24 16:08:26] local.INFO: Processing buffer {"connection_id":191263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fa63a0012d196a00071fec30003e011229..."} 
[2026-09-24 16:08:26] local.INFO: Packet analysis {"connection_id":191263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fa"} 
[2026-09-24 16:08:26] local.INFO: Extracted packet for processing {"connection_id":191263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fa"} 
[2026-09-24 16:08:26] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302975744001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790246020000,"timestamp_ms":1790246020000,"timestamp_seconds":1790246020,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fa63a0"} 
[2026-09-24 16:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 16:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302975744001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302975744001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:08:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:08:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302975744001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":191263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:08:26] local.INFO: GPS data processed {"connection_id":191263,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:08:26] local.INFO: Acknowledgment sent {"connection_id":191263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:08:28] local.INFO: TCP Data received {"connection_id":191265,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:08:28] local.INFO: Processing buffer {"connection_id":191265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:08:28] local.INFO: IMEI packet received {"connection_id":191265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":191265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:08:33] local.INFO: TCP Data received {"connection_id":191265,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:08:33] local.INFO: Processing buffer {"connection_id":191265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:08:33] local.INFO: IMEI packet received {"connection_id":191265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":191265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:08:34] local.INFO: TCP Data received {"connection_id":191265,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:08:34] local.INFO: Processing buffer {"connection_id":191265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:08:34] local.INFO: Packet analysis {"connection_id":191265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fc"} 
[2026-09-24 16:08:34] local.INFO: Extracted packet for processing {"connection_id":191265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fc"} 
[2026-09-24 16:08:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302945536001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790246182000,"timestamp_ms":1790246182000,"timestamp_seconds":1790246182,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fcdc70"} 
[2026-09-24 16:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302945536001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302945536001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:08:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:08:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302945536001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":191265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:08:34] local.INFO: GPS data processed {"connection_id":191265,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:08:34] local.INFO: Acknowledgment sent {"connection_id":191265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:08:45] local.INFO: TCP Data received {"connection_id":194124,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:08:45] local.INFO: Processing buffer {"connection_id":194124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:08:45] local.INFO: IMEI packet received {"connection_id":194124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":194124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:08:50] local.INFO: TCP Data received {"connection_id":194124,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:08:50] local.INFO: Processing buffer {"connection_id":194124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:08:50] local.INFO: IMEI packet received {"connection_id":194124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":194124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:08:51] local.INFO: TCP Data received {"connection_id":194124,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fab5a8012d196a00071fec30003e011229..."} 
[2026-09-24 16:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fab5a8012d196a00071fec30003e011229..."} 
[2026-09-24 16:08:51] local.INFO: Processing buffer {"connection_id":194124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fab5a8012d196a00071fec30003e011229..."} 
[2026-09-24 16:08:51] local.INFO: Packet analysis {"connection_id":194124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fa"} 
[2026-09-24 16:08:51] local.INFO: Extracted packet for processing {"connection_id":194124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fa"} 
[2026-09-24 16:08:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302981120001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790246041000,"timestamp_ms":1790246041000,"timestamp_seconds":1790246041,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fab5a8"} 
[2026-09-24 16:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:08: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-09-24 16:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302981120001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302981120001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:08:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:08:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302981120001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":194124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:08:51] local.INFO: GPS data processed {"connection_id":194124,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:08:51] local.INFO: Acknowledgment sent {"connection_id":194124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:09:06] local.INFO: TCP Data received {"connection_id":191265,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:09:06] local.INFO: Processing buffer {"connection_id":191265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:09:06] local.INFO: Packet analysis {"connection_id":191265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fc"} 
[2026-09-24 16:09:06] local.INFO: Extracted packet for processing {"connection_id":191265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fc"} 
[2026-09-24 16:09:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302945536001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790246182000,"timestamp_ms":1790246182000,"timestamp_seconds":1790246182,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fcdc70"} 
[2026-09-24 16:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302945536001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302945536001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:09:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:09:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302945536001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":191265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:09:06] local.INFO: GPS data processed {"connection_id":191265,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:09:06] local.INFO: Acknowledgment sent {"connection_id":191265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:09:06] local.INFO: TCP Data received {"connection_id":191466,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:09:06] local.INFO: Processing buffer {"connection_id":191466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:09:06] local.INFO: IMEI packet received {"connection_id":191466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 16:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":191466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:09:11] local.INFO: TCP Data received {"connection_id":191466,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:09:11] local.INFO: Processing buffer {"connection_id":191466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:09:11] local.INFO: IMEI packet received {"connection_id":191466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 16:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":191466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:09:18] local.INFO: TCP Data received {"connection_id":191466,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fd3260012c916a4007d60c08000e00b12e..."} 
[2026-09-24 16:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fd3260012c916a4007d60c08000e00b12e..."} 
[2026-09-24 16:09:18] local.INFO: Processing buffer {"connection_id":191466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fd3260012c916a4007d60c08000e00b12e..."} 
[2026-09-24 16:09:18] local.INFO: Packet analysis {"connection_id":191466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fd"} 
[2026-09-24 16:09:18] local.INFO: Extracted packet for processing {"connection_id":191466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fd"} 
[2026-09-24 16:09:18] local.INFO: GPS Element Parsed {"raw_longitude":747727424,"raw_latitude":131468296,"longitude_deg":74.7727424,"latitude_deg":13.1468296,"altitude":14,"angle":177,"satellites":46,"speed":55,"hex_longitude":"2c916a40","hex_latitude":"07d60c08","is_valid_coordinates":true} 
[2026-09-24 16:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303024128001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:09:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7971863887993309184,"note":"Value kept but may cause issues"} 
[2026-09-24 16:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790246204000,"timestamp_ms":1790246204000,"timestamp_seconds":1790246204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fd3260"} 
[2026-09-24 16:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:09: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-09-24 16:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 16:09:18] 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-09-24 16:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303024128001,"66":28376,"83":206,"9":57344,"24":55,"16":3605341577150464,"44":-7971863887993309184},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,9,24,16,44]} 
[2026-09-24 16:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 16:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 16:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303024128001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:09:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-24 16:09:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 16:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:09:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7971863887993309184,"description":"Unknown IO ID 44"} 
[2026-09-24 16:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303024128001,"power":28376,"unknown_83":206,"unknown_9":57344,"ignition":55,"odometer":null,"unknown_44":-7971863887993309184}} 
[2026-09-24 16:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":191466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890628,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:09:18] local.INFO: GPS data processed {"connection_id":191466,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:09:18] local.INFO: Acknowledgment sent {"connection_id":191466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:09:22] local.INFO: TCP Data received {"connection_id":194124,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fe3c00012d196a00071fec30003e011225..."} 
[2026-09-24 16:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fe3c00012d196a00071fec30003e011225..."} 
[2026-09-24 16:09:22] local.INFO: Processing buffer {"connection_id":194124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fe3c00012d196a00071fec30003e011225..."} 
[2026-09-24 16:09:22] local.INFO: Packet analysis {"connection_id":194124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fe"} 
[2026-09-24 16:09:22] local.INFO: Extracted packet for processing {"connection_id":194124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fe"} 
[2026-09-24 16:09:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303040256001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790246272000,"timestamp_ms":1790246272000,"timestamp_seconds":1790246272,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fe3c00"} 
[2026-09-24 16:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303040256001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303040256001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:09:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:09:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303040256001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":194124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:09:22] local.INFO: GPS data processed {"connection_id":194124,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:09:22] local.INFO: Acknowledgment sent {"connection_id":194124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:09:28] local.INFO: TCP Data received {"connection_id":191266,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:09:28] local.INFO: Processing buffer {"connection_id":191266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:09:28] local.INFO: IMEI packet received {"connection_id":191266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":191266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:09:33] local.INFO: TCP Data received {"connection_id":191266,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:09:33] local.INFO: Processing buffer {"connection_id":191266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:09:33] local.INFO: IMEI packet received {"connection_id":191266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":191266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:09:34] local.INFO: TCP Data received {"connection_id":191266,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:09:34] local.INFO: Processing buffer {"connection_id":191266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:09:34] local.INFO: Packet analysis {"connection_id":191266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fc"} 
[2026-09-24 16:09:34] local.INFO: Extracted packet for processing {"connection_id":191266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fc"} 
[2026-09-24 16:09:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302945536001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790246182000,"timestamp_ms":1790246182000,"timestamp_seconds":1790246182,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fcdc70"} 
[2026-09-24 16:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302945536001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302945536001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:09:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:09:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302945536001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":191266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:09:34] local.INFO: GPS data processed {"connection_id":191266,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:09:34] local.INFO: Acknowledgment sent {"connection_id":191266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:09:45] local.INFO: TCP Data received {"connection_id":192852,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:09:45] local.INFO: Processing buffer {"connection_id":192852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:09:45] local.INFO: IMEI packet received {"connection_id":192852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":192852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:09:50] local.INFO: TCP Data received {"connection_id":191466,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fd8468012c916d8007d5b818001200b12e..."} 
[2026-09-24 16:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fd8468012c916d8007d5b818001200b12e..."} 
[2026-09-24 16:09:50] local.INFO: Processing buffer {"connection_id":191466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fd8468012c916d8007d5b818001200b12e..."} 
[2026-09-24 16:09:50] local.INFO: Packet analysis {"connection_id":191466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fd"} 
[2026-09-24 16:09:50] local.INFO: Extracted packet for processing {"connection_id":191466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fd"} 
[2026-09-24 16:09:50] local.INFO: GPS Element Parsed {"raw_longitude":747728256,"raw_latitude":131446808,"longitude_deg":74.7728256,"latitude_deg":13.1446808,"altitude":18,"angle":177,"satellites":46,"speed":0,"hex_longitude":"2c916d80","hex_latitude":"07d5b818","is_valid_coordinates":true} 
[2026-09-24 16:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303028224001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:09:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7968486188278609920,"note":"Value kept but may cause issues"} 
[2026-09-24 16:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790246225000,"timestamp_ms":1790246225000,"timestamp_seconds":1790246225,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fd8468"} 
[2026-09-24 16:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 16:09:50] 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-09-24 16:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303028224001,"66":28452,"83":206,"9":57344,"24":0,"16":3605341577150464,"44":-7968486188278609920},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,9,24,16,44]} 
[2026-09-24 16:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 16:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 16:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303028224001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:09:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-24 16:09:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 16:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:09:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7968486188278609920,"description":"Unknown IO ID 44"} 
[2026-09-24 16:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303028224001,"power":28452,"unknown_83":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7968486188278609920}} 
[2026-09-24 16:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":191466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890631,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:09:50] local.INFO: GPS data processed {"connection_id":191466,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:09:50] local.INFO: Acknowledgment sent {"connection_id":191466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:09:50] local.INFO: TCP Data received {"connection_id":192852,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:09:50] local.INFO: Processing buffer {"connection_id":192852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:09:50] local.INFO: IMEI packet received {"connection_id":192852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":192852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:09:51] local.INFO: TCP Data received {"connection_id":192852,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fe8e08012d196a00071fec30003e01122a..."} 
[2026-09-24 16:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fe8e08012d196a00071fec30003e01122a..."} 
[2026-09-24 16:09:51] local.INFO: Processing buffer {"connection_id":192852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fe8e08012d196a00071fec30003e01122a..."} 
[2026-09-24 16:09:51] local.INFO: Packet analysis {"connection_id":192852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fe"} 
[2026-09-24 16:09:51] local.INFO: Extracted packet for processing {"connection_id":192852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fe"} 
[2026-09-24 16:09:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303045632001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790246293000,"timestamp_ms":1790246293000,"timestamp_seconds":1790246293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fe8e08"} 
[2026-09-24 16:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:09: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-09-24 16:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303045632001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303045632001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:09:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:09:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303045632001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":192852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:09:51] local.INFO: GPS data processed {"connection_id":192852,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:09:51] local.INFO: Acknowledgment sent {"connection_id":192852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:10:05] local.INFO: TCP Data received {"connection_id":191266,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:10:05] local.INFO: Processing buffer {"connection_id":191266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:10:05] local.INFO: Packet analysis {"connection_id":191266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fc"} 
[2026-09-24 16:10:05] local.INFO: Extracted packet for processing {"connection_id":191266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fc"} 
[2026-09-24 16:10:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302945536001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790246182000,"timestamp_ms":1790246182000,"timestamp_seconds":1790246182,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fcdc70"} 
[2026-09-24 16:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302945536001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302945536001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:10:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:10:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302945536001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":191266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:10:05] local.INFO: GPS data processed {"connection_id":191266,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:10:05] local.INFO: Acknowledgment sent {"connection_id":191266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:10:11] local.INFO: TCP Data received {"connection_id":192853,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:10:11] local.INFO: Processing buffer {"connection_id":192853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:10:11] local.INFO: IMEI packet received {"connection_id":192853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 16:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":192853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:10:16] local.INFO: TCP Data received {"connection_id":192853,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:10:16] local.INFO: Processing buffer {"connection_id":192853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:10:16] local.INFO: IMEI packet received {"connection_id":192853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 16:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":192853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:10:20] local.INFO: TCP Data received {"connection_id":192853,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fe66f80100000000000000000000000000..."} 
[2026-09-24 16:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fe66f80100000000000000000000000000..."} 
[2026-09-24 16:10:20] local.INFO: Processing buffer {"connection_id":192853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fe66f80100000000000000000000000000..."} 
[2026-09-24 16:10:20] local.INFO: Packet analysis {"connection_id":192853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fe"} 
[2026-09-24 16:10:20] local.INFO: Extracted packet for processing {"connection_id":192853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fe"} 
[2026-09-24 16:10: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-09-24 16:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303033600001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7967571394609801216,"note":"Value kept but may cause issues"} 
[2026-09-24 16:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790246283000,"timestamp_ms":1790246283000,"timestamp_seconds":1790246283,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fe66f8"} 
[2026-09-24 16:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-24 16:10:20] 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-09-24 16:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":192853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":192853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":192853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":192853,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 16:10:20] local.INFO: GPS data processed {"connection_id":192853,"processed":0,"errors":0,"total":1} 
[2026-09-24 16:10:20] local.INFO: Acknowledgment sent {"connection_id":192853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:10:22] local.INFO: TCP Data received {"connection_id":192852,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fee010012d196a00071fec30003e011228..."} 
[2026-09-24 16:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fee010012d196a00071fec30003e011228..."} 
[2026-09-24 16:10:22] local.INFO: Processing buffer {"connection_id":192852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fee010012d196a00071fec30003e011228..."} 
[2026-09-24 16:10:22] local.INFO: Packet analysis {"connection_id":192852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fe"} 
[2026-09-24 16:10:22] local.INFO: Extracted packet for processing {"connection_id":192852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fe"} 
[2026-09-24 16:10:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303051008001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790246314000,"timestamp_ms":1790246314000,"timestamp_seconds":1790246314,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fee010"} 
[2026-09-24 16:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:10: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-09-24 16:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303051008001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303051008001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:10:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:10:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303051008001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":192852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:10:22] local.INFO: GPS data processed {"connection_id":192852,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:10:22] local.INFO: Acknowledgment sent {"connection_id":192852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:10:25] local.INFO: TCP Data received {"connection_id":192853,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fdf5b0012c914ec007d51f70001500e02e..."} 
[2026-09-24 16:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fdf5b0012c914ec007d51f70001500e02e..."} 
[2026-09-24 16:10:25] local.INFO: Processing buffer {"connection_id":192853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fdf5b0012c914ec007d51f70001500e02e..."} 
[2026-09-24 16:10:25] local.INFO: Packet analysis {"connection_id":192853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fd"} 
[2026-09-24 16:10:25] local.INFO: Extracted packet for processing {"connection_id":192853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fd"} 
[2026-09-24 16:10:25] local.INFO: GPS Element Parsed {"raw_longitude":747720384,"raw_latitude":131407728,"longitude_deg":74.7720384,"latitude_deg":13.1407728,"altitude":21,"angle":224,"satellites":46,"speed":38,"hex_longitude":"2c914ec0","hex_latitude":"07d51f70","is_valid_coordinates":true} 
[2026-09-24 16:10: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-09-24 16:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:10:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 16:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790246254000,"timestamp_ms":1790246254000,"timestamp_seconds":1790246254,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fdf5b0"} 
[2026-09-24 16:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:10: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":172,"data_length":795,"current_offset":136} 
[2026-09-24 16:10:25] 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-09-24 16:10: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-09-24 16:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":192853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":192853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":192853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28398,"83":206,"9":57344,"24":38,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,9,24,16]} 
[2026-09-24 16:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 16:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 16:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 16:10:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-24 16:10:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 16:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:10:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28398,"unknown_83":206,"unknown_9":57344,"ignition":38,"odometer":null}} 
[2026-09-24 16:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":192853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890635,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:10:25] local.INFO: GPS data processed {"connection_id":192853,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:10:25] local.INFO: Acknowledgment sent {"connection_id":192853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:10:28] local.INFO: TCP Data received {"connection_id":194125,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:10:28] local.INFO: Processing buffer {"connection_id":194125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:10:28] local.INFO: IMEI packet received {"connection_id":194125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":194125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:10:33] local.INFO: TCP Data received {"connection_id":194125,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:10:33] local.INFO: Processing buffer {"connection_id":194125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:10:33] local.INFO: IMEI packet received {"connection_id":194125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":194125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:10:34] local.INFO: TCP Data received {"connection_id":194125,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:10:34] local.INFO: Processing buffer {"connection_id":194125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:10:34] local.INFO: Packet analysis {"connection_id":194125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fc"} 
[2026-09-24 16:10:34] local.INFO: Extracted packet for processing {"connection_id":194125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fc"} 
[2026-09-24 16:10:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302945536001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790246182000,"timestamp_ms":1790246182000,"timestamp_seconds":1790246182,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fcdc70"} 
[2026-09-24 16:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302945536001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302945536001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:10:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:10:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302945536001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":194125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:10:34] local.INFO: GPS data processed {"connection_id":194125,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:10:34] local.INFO: Acknowledgment sent {"connection_id":194125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:10:45] local.INFO: TCP Data received {"connection_id":191267,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:10:45] local.INFO: Processing buffer {"connection_id":191267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:10:45] local.INFO: IMEI packet received {"connection_id":191267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":191267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:10:50] local.INFO: TCP Data received {"connection_id":191267,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:10:50] local.INFO: Processing buffer {"connection_id":191267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:10:50] local.INFO: IMEI packet received {"connection_id":191267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":191267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:10:51] local.INFO: TCP Data received {"connection_id":191267,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ff3218012d196a00071fec30003e011229..."} 
[2026-09-24 16:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ff3218012d196a00071fec30003e011229..."} 
[2026-09-24 16:10:51] local.INFO: Processing buffer {"connection_id":191267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ff3218012d196a00071fec30003e011229..."} 
[2026-09-24 16:10:51] local.INFO: Packet analysis {"connection_id":191267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ff"} 
[2026-09-24 16:10:51] local.INFO: Extracted packet for processing {"connection_id":191267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ff"} 
[2026-09-24 16:10:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303056384001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790246335000,"timestamp_ms":1790246335000,"timestamp_seconds":1790246335,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ff3218"} 
[2026-09-24 16:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:10: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-09-24 16:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303056384001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303056384001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:10:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:10:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303056384001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":191267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:10:51] local.INFO: GPS data processed {"connection_id":191267,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:10:51] local.INFO: Acknowledgment sent {"connection_id":191267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:10:53] local.INFO: TCP Data received {"connection_id":191467,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191467,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:10:53] local.INFO: Processing buffer {"connection_id":191467,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:10:53] local.INFO: IMEI packet received {"connection_id":191467,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":191467,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:10:59] local.INFO: TCP Data received {"connection_id":191467,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191467,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:10:59] local.INFO: Processing buffer {"connection_id":191467,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:10:59] local.INFO: IMEI packet received {"connection_id":191467,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":191467,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:11:01] local.INFO: TCP Data received {"connection_id":191467,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3005328012d0c3f8007065210001100111c..."} 
[2026-09-24 16:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3005328012d0c3f8007065210001100111c..."} 
[2026-09-24 16:11:01] local.INFO: Processing buffer {"connection_id":191467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3005328012d0c3f8007065210001100111c..."} 
[2026-09-24 16:11:01] local.INFO: Packet analysis {"connection_id":191467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d300"} 
[2026-09-24 16:11:01] local.INFO: Extracted packet for processing {"connection_id":191467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d300"} 
[2026-09-24 16:11:01] local.INFO: GPS Element Parsed {"raw_longitude":755777408,"raw_latitude":117854736,"longitude_deg":75.5777408,"latitude_deg":11.7854736,"altitude":17,"angle":17,"satellites":28,"speed":0,"hex_longitude":"2d0c3f80","hex_latitude":"07065210","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303075328001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33676009639247872,"note":"Value kept but may cause issues"} 
[2026-09-24 16:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882564819647074304,"note":"Value kept but may cause issues"} 
[2026-09-24 16:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790246409000,"timestamp_ms":1790246409000,"timestamp_seconds":1790246409,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3005328"} 
[2026-09-24 16:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-24 16:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":191467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":191467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":191467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303075328001,"66":14461,"164":206,"94":10240,"24":0,"16":33676009639247872,"45":882564819647074304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-24 16:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303075328001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:11:01] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-24 16:11:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33676009639247872,"km_value":33676009639247.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":882564819647074304,"description":"Unknown IO ID 45"} 
[2026-09-24 16:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303075328001,"power":14461,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":882564819647074304}} 
[2026-09-24 16:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":191467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890638,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:11:01] local.INFO: GPS data processed {"connection_id":191467,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:11:01] local.INFO: Acknowledgment sent {"connection_id":191467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:11:03] local.INFO: TCP Data received {"connection_id":192854,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:11:03] local.INFO: Processing buffer {"connection_id":192854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:11:03] local.INFO: IMEI packet received {"connection_id":192854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 16:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":192854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:11:05] local.INFO: TCP Data received {"connection_id":194125,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:11:05] local.INFO: Processing buffer {"connection_id":194125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:11:05] local.INFO: Packet analysis {"connection_id":194125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fc"} 
[2026-09-24 16:11:05] local.INFO: Extracted packet for processing {"connection_id":194125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fc"} 
[2026-09-24 16:11:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302945536001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790246182000,"timestamp_ms":1790246182000,"timestamp_seconds":1790246182,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fcdc70"} 
[2026-09-24 16:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302945536001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302945536001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:11:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:11:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302945536001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":194125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:11:05] local.INFO: GPS data processed {"connection_id":194125,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:11:05] local.INFO: Acknowledgment sent {"connection_id":194125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:11:06] local.INFO: TCP Data received {"connection_id":192854,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:11:06] local.INFO: Processing buffer {"connection_id":192854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:11:06] local.INFO: IMEI packet received {"connection_id":192854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 16:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":192854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:11:10] local.INFO: TCP Data received {"connection_id":192854,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:11:10] local.INFO: Processing buffer {"connection_id":192854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:11:10] local.INFO: IMEI packet received {"connection_id":192854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 16:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":192854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:11:22] local.INFO: TCP Data received {"connection_id":191267,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ff8420012d196a00071fec30003e011228..."} 
[2026-09-24 16:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ff8420012d196a00071fec30003e011228..."} 
[2026-09-24 16:11:22] local.INFO: Processing buffer {"connection_id":191267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ff8420012d196a00071fec30003e011228..."} 
[2026-09-24 16:11:22] local.INFO: Packet analysis {"connection_id":191267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ff"} 
[2026-09-24 16:11:22] local.INFO: Extracted packet for processing {"connection_id":191267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ff"} 
[2026-09-24 16:11:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303061760001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790246356000,"timestamp_ms":1790246356000,"timestamp_seconds":1790246356,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ff8420"} 
[2026-09-24 16:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303061760001,"66":12232,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303061760001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:11:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:11:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303061760001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":191267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:11:22] local.INFO: GPS data processed {"connection_id":191267,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:11:22] local.INFO: Acknowledgment sent {"connection_id":191267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:11:28] local.INFO: TCP Data received {"connection_id":191468,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:11:28] local.INFO: Processing buffer {"connection_id":191468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:11:28] local.INFO: IMEI packet received {"connection_id":191468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":191468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:11:33] local.INFO: TCP Data received {"connection_id":191468,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:11:33] local.INFO: Processing buffer {"connection_id":191468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:11:33] local.INFO: IMEI packet received {"connection_id":191468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":191468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:11:34] local.INFO: TCP Data received {"connection_id":191468,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:11:34] local.INFO: Processing buffer {"connection_id":191468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fcdc70012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:11:34] local.INFO: Packet analysis {"connection_id":191468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fc"} 
[2026-09-24 16:11:34] local.INFO: Extracted packet for processing {"connection_id":191468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fc"} 
[2026-09-24 16:11:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458302945536001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790246182000,"timestamp_ms":1790246182000,"timestamp_seconds":1790246182,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fcdc70"} 
[2026-09-24 16:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458302945536001,"66":25680,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458302945536001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:11:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:11:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458302945536001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":191468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:11:34] local.INFO: GPS data processed {"connection_id":191468,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:11:34] local.INFO: Acknowledgment sent {"connection_id":191468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:11:40] local.INFO: TCP Data received {"connection_id":192854,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:11:40] local.INFO: Processing buffer {"connection_id":192854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:11:40] local.INFO: IMEI packet received {"connection_id":192854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 16:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":192854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:11:44] local.INFO: TCP Data received {"connection_id":194126,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:11:44] local.INFO: Processing buffer {"connection_id":194126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:11:44] local.INFO: IMEI packet received {"connection_id":194126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":194126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:11:50] local.INFO: TCP Data received {"connection_id":194126,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:11:50] local.INFO: Processing buffer {"connection_id":194126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:11:50] local.INFO: IMEI packet received {"connection_id":194126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":194126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:11:51] local.INFO: TCP Data received {"connection_id":194126,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2ffd628012d196a00071fec30003e011226..."} 
[2026-09-24 16:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2ffd628012d196a00071fec30003e011226..."} 
[2026-09-24 16:11:51] local.INFO: Processing buffer {"connection_id":194126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2ffd628012d196a00071fec30003e011226..."} 
[2026-09-24 16:11:51] local.INFO: Packet analysis {"connection_id":194126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2ff"} 
[2026-09-24 16:11:51] local.INFO: Extracted packet for processing {"connection_id":194126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2ff"} 
[2026-09-24 16:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303067136001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790246377000,"timestamp_ms":1790246377000,"timestamp_seconds":1790246377,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2ffd628"} 
[2026-09-24 16:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-24 16:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303067136001,"66":12113,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303067136001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:11:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:11:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303067136001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":194126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:11:51] local.INFO: GPS data processed {"connection_id":194126,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:11:51] local.INFO: Acknowledgment sent {"connection_id":194126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:11:52] local.INFO: TCP Data received {"connection_id":192854,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d2fe3c00012c91260007d4df38001400c42f..."} 
[2026-09-24 16:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d2fe3c00012c91260007d4df38001400c42f..."} 
[2026-09-24 16:11:52] local.INFO: Processing buffer {"connection_id":192854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d2fe3c00012c91260007d4df38001400c42f..."} 
[2026-09-24 16:11:52] local.INFO: Packet analysis {"connection_id":192854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d2fe"} 
[2026-09-24 16:11:52] local.INFO: Extracted packet for processing {"connection_id":192854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d2fe"} 
[2026-09-24 16:11:52] local.INFO: GPS Element Parsed {"raw_longitude":747709952,"raw_latitude":131391288,"longitude_deg":74.7709952,"latitude_deg":13.1391288,"altitude":20,"angle":196,"satellites":47,"speed":50,"hex_longitude":"2c912600","hex_latitude":"07d4df38","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303041024001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:11:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7976226750153658368,"note":"Value kept but may cause issues"} 
[2026-09-24 16:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790246272000,"timestamp_ms":1790246272000,"timestamp_seconds":1790246272,"priority":1,"record_length":96,"hex_timestamp":"000001a0d2fe3c00"} 
[2026-09-24 16:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 16:11: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-09-24 16: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-09-24 16:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":192854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":192854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":192854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303041024001,"66":28332,"83":206,"9":57344,"24":50,"16":3605341577150464,"44":-7976226750153658368},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,9,24,16,44]} 
[2026-09-24 16:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 16:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 16:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303041024001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:11:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-24 16:11:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 16:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:11:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7976226750153658368,"description":"Unknown IO ID 44"} 
[2026-09-24 16:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303041024001,"power":28332,"unknown_83":206,"unknown_9":57344,"ignition":50,"odometer":null,"unknown_44":-7976226750153658368}} 
[2026-09-24 16:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":192854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890643,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:11:52] local.INFO: GPS data processed {"connection_id":192854,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:11:52] local.INFO: Acknowledgment sent {"connection_id":192854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:12:06] local.INFO: TCP Data received {"connection_id":191468,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:12:06] local.INFO: Processing buffer {"connection_id":191468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:12:06] local.INFO: Packet analysis {"connection_id":191468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:12:06] local.INFO: Extracted packet for processing {"connection_id":191468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:12:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303022592001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790246483000,"timestamp_ms":1790246483000,"timestamp_seconds":1790246483,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3017438"} 
[2026-09-24 16:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 16:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303022592001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303022592001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:12:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:12:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303022592001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":191468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:12:06] local.INFO: GPS data processed {"connection_id":191468,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:12:06] local.INFO: Acknowledgment sent {"connection_id":191468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:12:06] local.INFO: TCP Data received {"connection_id":191469,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:12:06] local.INFO: Processing buffer {"connection_id":191469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:12:06] local.INFO: IMEI packet received {"connection_id":191469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 16:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":191469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:12:08] local.INFO: TCP Data received {"connection_id":191469,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:12:08] local.INFO: Processing buffer {"connection_id":191469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:12:08] local.INFO: IMEI packet received {"connection_id":191469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 16:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":191469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:12:11] local.INFO: TCP Data received {"connection_id":191467,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d300a530012d0c3f8007065210001100111c..."} 
[2026-09-24 16:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d300a530012d0c3f8007065210001100111c..."} 
[2026-09-24 16:12:11] local.INFO: Processing buffer {"connection_id":191467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d300a530012d0c3f8007065210001100111c..."} 
[2026-09-24 16:12:11] local.INFO: Packet analysis {"connection_id":191467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d300"} 
[2026-09-24 16:12:11] local.INFO: Extracted packet for processing {"connection_id":191467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d300"} 
[2026-09-24 16:12:11] local.INFO: GPS Element Parsed {"raw_longitude":755777408,"raw_latitude":117854736,"longitude_deg":75.5777408,"latitude_deg":11.7854736,"altitude":17,"angle":17,"satellites":28,"speed":0,"hex_longitude":"2d0c3f80","hex_latitude":"07065210","is_valid_coordinates":true} 
[2026-09-24 16:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303080704001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33676009639247872,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882564819647074304,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790246430000,"timestamp_ms":1790246430000,"timestamp_seconds":1790246430,"priority":1,"record_length":96,"hex_timestamp":"000001a0d300a530"} 
[2026-09-24 16:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-24 16:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303080704001,"66":14439,"164":206,"94":10240,"24":0,"16":33676009639247872,"45":882564819647074304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-24 16:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303080704001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:12:11] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-24 16:12:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33676009639247872,"km_value":33676009639247.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":882564819647074304,"description":"Unknown IO ID 45"} 
[2026-09-24 16:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303080704001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":882564819647074304}} 
[2026-09-24 16:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":191467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890645,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:12:11] local.INFO: GPS data processed {"connection_id":191467,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:12:11] local.INFO: Acknowledgment sent {"connection_id":191467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:12:13] local.INFO: TCP Data received {"connection_id":191268,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191268,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:12:13] local.INFO: Processing buffer {"connection_id":191268,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:12:13] local.INFO: IMEI packet received {"connection_id":191268,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":191268,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:12:14] local.INFO: TCP Data received {"connection_id":191469,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:12:14] local.INFO: Processing buffer {"connection_id":191469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:12:14] local.INFO: IMEI packet received {"connection_id":191469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 16:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":191469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:12:17] local.INFO: TCP Data received {"connection_id":191268,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191268,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:12:17] local.INFO: Processing buffer {"connection_id":191268,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:12:17] local.INFO: IMEI packet received {"connection_id":191268,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":191268,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:12:19] local.INFO: TCP Data received {"connection_id":191469,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d300ef68012c92110007d14990000500872d..."} 
[2026-09-24 16:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d300ef68012c92110007d14990000500872d..."} 
[2026-09-24 16:12:19] local.INFO: Processing buffer {"connection_id":191469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d300ef68012c92110007d14990000500872d..."} 
[2026-09-24 16:12:19] local.INFO: Packet analysis {"connection_id":191469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d300"} 
[2026-09-24 16:12:19] local.INFO: Extracted packet for processing {"connection_id":191469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d300"} 
[2026-09-24 16:12:19] local.INFO: GPS Element Parsed {"raw_longitude":747770112,"raw_latitude":131156368,"longitude_deg":74.7770112,"latitude_deg":13.1156368,"altitude":5,"angle":135,"satellites":45,"speed":58,"hex_longitude":"2c921100","hex_latitude":"07d14990","is_valid_coordinates":true} 
[2026-09-24 16:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303086848001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7939142422031869952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790246449000,"timestamp_ms":1790246449000,"timestamp_seconds":1790246449,"priority":1,"record_length":96,"hex_timestamp":"000001a0d300ef68"} 
[2026-09-24 16:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 16:12: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-09-24 16:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303086848001,"66":28332,"122":206,"9":57344,"24":58,"16":3605341577150464,"44":-7939142422031869952},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,9,24,16,44]} 
[2026-09-24 16:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 16:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 16:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303086848001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:12:19] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-24 16:12:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 16:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:12:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7939142422031869952,"description":"Unknown IO ID 44"} 
[2026-09-24 16:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303086848001,"power":28332,"unknown_122":206,"unknown_9":57344,"ignition":58,"odometer":null,"unknown_44":-7939142422031869952}} 
[2026-09-24 16:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":191469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890646,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:12:19] local.INFO: GPS data processed {"connection_id":191469,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:12:19] local.INFO: Acknowledgment sent {"connection_id":191469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:12:19] local.INFO: TCP Data received {"connection_id":191268,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191268,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:12:19] local.INFO: Processing buffer {"connection_id":191268,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:12:19] local.INFO: IMEI packet received {"connection_id":191268,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":191268,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:12:20] local.INFO: TCP Data received {"connection_id":191268,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d300f738012d0c3f8007065210001100111c..."} 
[2026-09-24 16:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d300f738012d0c3f8007065210001100111c..."} 
[2026-09-24 16:12:20] local.INFO: Processing buffer {"connection_id":191268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d300f738012d0c3f8007065210001100111c..."} 
[2026-09-24 16:12:20] local.INFO: Packet analysis {"connection_id":191268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d300"} 
[2026-09-24 16:12:20] local.INFO: Extracted packet for processing {"connection_id":191268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d300"} 
[2026-09-24 16:12:20] local.INFO: GPS Element Parsed {"raw_longitude":755777408,"raw_latitude":117854736,"longitude_deg":75.5777408,"latitude_deg":11.7854736,"altitude":17,"angle":17,"satellites":28,"speed":0,"hex_longitude":"2d0c3f80","hex_latitude":"07065210","is_valid_coordinates":true} 
[2026-09-24 16:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303086080001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33676009639247872,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882564819647074304,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790246451000,"timestamp_ms":1790246451000,"timestamp_seconds":1790246451,"priority":1,"record_length":96,"hex_timestamp":"000001a0d300f738"} 
[2026-09-24 16:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 16:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191268,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191268,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303086080001,"66":14309,"164":206,"94":10240,"24":0,"16":33676009639247872,"45":882564819647074304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-24 16:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303086080001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:12:20] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-24 16:12:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33676009639247872,"km_value":33676009639247.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":882564819647074304,"description":"Unknown IO ID 45"} 
[2026-09-24 16:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303086080001,"power":14309,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":882564819647074304}} 
[2026-09-24 16:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":191268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890647,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:12:20] local.INFO: GPS data processed {"connection_id":191268,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:12:20] local.INFO: Acknowledgment sent {"connection_id":191268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:12:20] local.INFO: TCP Data received {"connection_id":191469,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3014170012c9252c007d108d0000600872d..."} 
[2026-09-24 16:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3014170012c9252c007d108d0000600872d..."} 
[2026-09-24 16:12:20] local.INFO: Processing buffer {"connection_id":191469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3014170012c9252c007d108d0000600872d..."} 
[2026-09-24 16:12:20] local.INFO: Packet analysis {"connection_id":191469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:12:20] local.INFO: Extracted packet for processing {"connection_id":191469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:12:20] local.INFO: GPS Element Parsed {"raw_longitude":747786944,"raw_latitude":131139792,"longitude_deg":74.7786944,"latitude_deg":13.1139792,"altitude":6,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2c9252c0","hex_latitude":"07d108d0","is_valid_coordinates":true} 
[2026-09-24 16:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303090944001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7921550235991961600,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790246470000,"timestamp_ms":1790246470000,"timestamp_seconds":1790246470,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3014170"} 
[2026-09-24 16:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 16:12:20] 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-09-24 16:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303090944001,"66":28376,"122":206,"9":57344,"24":0,"16":3605341577150464,"44":-7921550235991961600},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,9,24,16,44]} 
[2026-09-24 16:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 16:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 16:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303090944001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:12:20] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-24 16:12:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 16:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:12:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7921550235991961600,"description":"Unknown IO ID 44"} 
[2026-09-24 16:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303090944001,"power":28376,"unknown_122":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7921550235991961600}} 
[2026-09-24 16:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":191469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890648,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:12:21] local.INFO: GPS data processed {"connection_id":191469,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:12:21] local.INFO: Acknowledgment sent {"connection_id":191469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:12:21] local.INFO: TCP Data received {"connection_id":194126,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3002830012d196a00071fec30003e011229..."} 
[2026-09-24 16:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3002830012d196a00071fec30003e011229..."} 
[2026-09-24 16:12:21] local.INFO: Processing buffer {"connection_id":194126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3002830012d196a00071fec30003e011229..."} 
[2026-09-24 16:12:21] local.INFO: Packet analysis {"connection_id":194126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d300"} 
[2026-09-24 16:12:21] local.INFO: Extracted packet for processing {"connection_id":194126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d300"} 
[2026-09-24 16:12:21] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303072512001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790246398000,"timestamp_ms":1790246398000,"timestamp_seconds":1790246398,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3002830"} 
[2026-09-24 16:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-24 16:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303072512001,"66":12341,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303072512001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:12:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:12:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303072512001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":194126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:12:21] local.INFO: GPS data processed {"connection_id":194126,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:12:21] local.INFO: Acknowledgment sent {"connection_id":194126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:12:33] local.INFO: TCP Data received {"connection_id":191269,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:12:33] local.INFO: Processing buffer {"connection_id":191269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:12:33] local.INFO: IMEI packet received {"connection_id":191269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":191269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:12:38] local.INFO: TCP Data received {"connection_id":191269,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:12:38] local.INFO: Processing buffer {"connection_id":191269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:12:38] local.INFO: IMEI packet received {"connection_id":191269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":191269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:12:39] local.INFO: TCP Data received {"connection_id":191269,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:12:39] local.INFO: Processing buffer {"connection_id":191269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:12:39] local.INFO: Packet analysis {"connection_id":191269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:12:39] local.INFO: Extracted packet for processing {"connection_id":191269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:12:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303022592001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790246483000,"timestamp_ms":1790246483000,"timestamp_seconds":1790246483,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3017438"} 
[2026-09-24 16:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 16:12:39] 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-09-24 16:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303022592001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303022592001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:12:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:12:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303022592001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":191269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:12:39] local.INFO: GPS data processed {"connection_id":191269,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:12:39] local.INFO: Acknowledgment sent {"connection_id":191269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:12:44] local.INFO: TCP Data received {"connection_id":191470,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:12:44] local.INFO: Processing buffer {"connection_id":191470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:12:44] local.INFO: IMEI packet received {"connection_id":191470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":191470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:12:50] local.INFO: TCP Data received {"connection_id":191470,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:12:50] local.INFO: Processing buffer {"connection_id":191470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:12:50] local.INFO: IMEI packet received {"connection_id":191470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":191470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:12:51] local.INFO: TCP Data received {"connection_id":191470,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3007a38012d196a00071fec30003e011227..."} 
[2026-09-24 16:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3007a38012d196a00071fec30003e011227..."} 
[2026-09-24 16:12:51] local.INFO: Processing buffer {"connection_id":191470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3007a38012d196a00071fec30003e011227..."} 
[2026-09-24 16:12:51] local.INFO: Packet analysis {"connection_id":191470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d300"} 
[2026-09-24 16:12:51] local.INFO: Extracted packet for processing {"connection_id":191470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d300"} 
[2026-09-24 16:12:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303077888001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790246419000,"timestamp_ms":1790246419000,"timestamp_seconds":1790246419,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3007a38"} 
[2026-09-24 16:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 16:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303077888001,"66":12319,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303077888001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:12:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:12:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303077888001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":191470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:12:51] local.INFO: GPS data processed {"connection_id":191470,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:12:51] local.INFO: Acknowledgment sent {"connection_id":191470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:13:09] local.INFO: TCP Data received {"connection_id":194127,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194127,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:13:09] local.INFO: Processing buffer {"connection_id":194127,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:13:09] local.INFO: IMEI packet received {"connection_id":194127,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":194127,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:13:10] local.INFO: TCP Data received {"connection_id":191269,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:13:10] local.INFO: Processing buffer {"connection_id":191269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:13:10] local.INFO: Packet analysis {"connection_id":191269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:13:10] local.INFO: Extracted packet for processing {"connection_id":191269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303022592001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790246483000,"timestamp_ms":1790246483000,"timestamp_seconds":1790246483,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3017438"} 
[2026-09-24 16:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 16:13: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-09-24 16:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303022592001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303022592001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:13:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303022592001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":191269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:13:10] local.INFO: GPS data processed {"connection_id":191269,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:13:10] local.INFO: Acknowledgment sent {"connection_id":191269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:13:11] local.INFO: TCP Data received {"connection_id":194128,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:13:11] local.INFO: Processing buffer {"connection_id":194128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:13:11] local.INFO: IMEI packet received {"connection_id":194128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 16:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":194128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:13:13] local.INFO: TCP Data received {"connection_id":194127,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194127,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:13:13] local.INFO: Processing buffer {"connection_id":194127,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:13:13] local.INFO: IMEI packet received {"connection_id":194127,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":194127,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:13:14] local.INFO: TCP Data received {"connection_id":194127,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3014940012d0c3f8007065210001100111c..."} 
[2026-09-24 16:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3014940012d0c3f8007065210001100111c..."} 
[2026-09-24 16:13:14] local.INFO: Processing buffer {"connection_id":194127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3014940012d0c3f8007065210001100111c..."} 
[2026-09-24 16:13:14] local.INFO: Packet analysis {"connection_id":194127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:13:14] local.INFO: Extracted packet for processing {"connection_id":194127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:13:14] local.INFO: GPS Element Parsed {"raw_longitude":755777408,"raw_latitude":117854736,"longitude_deg":75.5777408,"latitude_deg":11.7854736,"altitude":17,"angle":17,"satellites":28,"speed":0,"hex_longitude":"2d0c3f80","hex_latitude":"07065210","is_valid_coordinates":true} 
[2026-09-24 16:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303091456001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33676009639247872,"note":"Value kept but may cause issues"} 
[2026-09-24 16:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882564819647074304,"note":"Value kept but may cause issues"} 
[2026-09-24 16:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790246472000,"timestamp_ms":1790246472000,"timestamp_seconds":1790246472,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3014940"} 
[2026-09-24 16:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-24 16:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":194127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":194127,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":194127,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303091456001,"66":14559,"164":206,"94":10240,"24":0,"16":33676009639247872,"45":882564819647074304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-24 16:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303091456001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:13:14] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-24 16:13:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33676009639247872,"km_value":33676009639247.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":882564819647074304,"description":"Unknown IO ID 45"} 
[2026-09-24 16:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303091456001,"power":14559,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":882564819647074304}} 
[2026-09-24 16:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":194127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890653,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:13:14] local.INFO: GPS data processed {"connection_id":194127,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:13:14] local.INFO: Acknowledgment sent {"connection_id":194127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:13:16] local.INFO: TCP Data received {"connection_id":194128,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:13:16] local.INFO: Processing buffer {"connection_id":194128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:13:16] local.INFO: IMEI packet received {"connection_id":194128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 16:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":194128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:13:21] local.INFO: TCP Data received {"connection_id":194128,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30224000100000000000000000000000000..."} 
[2026-09-24 16:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30224000100000000000000000000000000..."} 
[2026-09-24 16:13:21] local.INFO: Processing buffer {"connection_id":194128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30224000100000000000000000000000000..."} 
[2026-09-24 16:13:21] local.INFO: Packet analysis {"connection_id":194128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d302"} 
[2026-09-24 16:13:21] local.INFO: Extracted packet for processing {"connection_id":194128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d302"} 
[2026-09-24 16:13:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 16:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303096320001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:13:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7903043256277479424,"note":"Value kept but may cause issues"} 
[2026-09-24 16:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790246528000,"timestamp_ms":1790246528000,"timestamp_seconds":1790246528,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3022400"} 
[2026-09-24 16:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 16:13: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-09-24 16:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":194128,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 16:13:21] local.INFO: GPS data processed {"connection_id":194128,"processed":0,"errors":0,"total":1} 
[2026-09-24 16:13:21] local.INFO: Acknowledgment sent {"connection_id":194128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:13:22] local.INFO: TCP Data received {"connection_id":191470,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d300cc40012d196a00071fec30003e011228..."} 
[2026-09-24 16:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d300cc40012d196a00071fec30003e011228..."} 
[2026-09-24 16:13:22] local.INFO: Processing buffer {"connection_id":191470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d300cc40012d196a00071fec30003e011228..."} 
[2026-09-24 16:13:22] local.INFO: Packet analysis {"connection_id":191470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d300"} 
[2026-09-24 16:13:22] local.INFO: Extracted packet for processing {"connection_id":191470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d300"} 
[2026-09-24 16:13:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303083264001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790246440000,"timestamp_ms":1790246440000,"timestamp_seconds":1790246440,"priority":1,"record_length":96,"hex_timestamp":"000001a0d300cc40"} 
[2026-09-24 16:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-24 16:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303083264001,"66":12374,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303083264001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:13:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:13:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303083264001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":191470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:13:22] local.INFO: GPS data processed {"connection_id":191470,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:13:22] local.INFO: Acknowledgment sent {"connection_id":191470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:13:29] local.INFO: TCP Data received {"connection_id":192855,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:13:29] local.INFO: Processing buffer {"connection_id":192855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:13:29] local.INFO: IMEI packet received {"connection_id":192855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":192855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:13:31] local.INFO: TCP Data received {"connection_id":194128,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d301aed0012c92d4c007d088f8000900872f..."} 
[2026-09-24 16:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d301aed0012c92d4c007d088f8000900872f..."} 
[2026-09-24 16:13:31] local.INFO: Processing buffer {"connection_id":194128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d301aed0012c92d4c007d088f8000900872f..."} 
[2026-09-24 16:13:31] local.INFO: Packet analysis {"connection_id":194128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:13:31] local.INFO: Extracted packet for processing {"connection_id":194128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:13:31] local.INFO: GPS Element Parsed {"raw_longitude":747820224,"raw_latitude":131107064,"longitude_deg":74.7820224,"latitude_deg":13.1107064,"altitude":9,"angle":135,"satellites":47,"speed":0,"hex_longitude":"2c92d4c0","hex_latitude":"07d088f8","is_valid_coordinates":true} 
[2026-09-24 16:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:13:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,122,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 16:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790246498000,"timestamp_ms":1790246498000,"timestamp_seconds":1790246498,"priority":1,"record_length":96,"hex_timestamp":"000001a0d301aed0"} 
[2026-09-24 16:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-24 16:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28495,"122":206,"9":57344,"24":0,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,9,24,16]} 
[2026-09-24 16:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 16:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 16:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 16:13:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-24 16:13:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 16:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:13:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28495,"unknown_122":206,"unknown_9":57344,"ignition":0,"odometer":null}} 
[2026-09-24 16:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":194128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890655,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:13:31] local.INFO: GPS data processed {"connection_id":194128,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:13:31] local.INFO: Acknowledgment sent {"connection_id":194128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:13:33] local.INFO: TCP Data received {"connection_id":192855,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:13:33] local.INFO: Processing buffer {"connection_id":192855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:13:33] local.INFO: IMEI packet received {"connection_id":192855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":192855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:13:34] local.INFO: TCP Data received {"connection_id":192855,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:13:34] local.INFO: Processing buffer {"connection_id":192855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:13:34] local.INFO: Packet analysis {"connection_id":192855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:13:34] local.INFO: Extracted packet for processing {"connection_id":192855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:13:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303022592001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790246483000,"timestamp_ms":1790246483000,"timestamp_seconds":1790246483,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3017438"} 
[2026-09-24 16:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 16:13:34] 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-09-24 16:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303022592001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303022592001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:13:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:13:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303022592001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":192855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:13:34] local.INFO: GPS data processed {"connection_id":192855,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:13:34] local.INFO: Acknowledgment sent {"connection_id":192855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:13:45] local.INFO: TCP Data received {"connection_id":194127,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3019b48012d0c3f8007065210001100111c..."} 
[2026-09-24 16:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3019b48012d0c3f8007065210001100111c..."} 
[2026-09-24 16:13:45] local.INFO: Processing buffer {"connection_id":194127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3019b48012d0c3f8007065210001100111c..."} 
[2026-09-24 16:13:45] local.INFO: Packet analysis {"connection_id":194127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:13:45] local.INFO: Extracted packet for processing {"connection_id":194127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:13:45] local.INFO: GPS Element Parsed {"raw_longitude":755777408,"raw_latitude":117854736,"longitude_deg":75.5777408,"latitude_deg":11.7854736,"altitude":17,"angle":17,"satellites":28,"speed":0,"hex_longitude":"2d0c3f80","hex_latitude":"07065210","is_valid_coordinates":true} 
[2026-09-24 16:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303096832001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33676009639247872,"note":"Value kept but may cause issues"} 
[2026-09-24 16:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882564819647074304,"note":"Value kept but may cause issues"} 
[2026-09-24 16:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790246493000,"timestamp_ms":1790246493000,"timestamp_seconds":1790246493,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3019b48"} 
[2026-09-24 16:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-24 16:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":194127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":194127,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":194127,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303096832001,"66":14396,"164":206,"94":10240,"24":0,"16":33676009639247872,"45":882564819647074304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-24 16:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303096832001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:13:45] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-24 16:13:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33676009639247872,"km_value":33676009639247.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":882564819647074304,"description":"Unknown IO ID 45"} 
[2026-09-24 16:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303096832001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":882564819647074304}} 
[2026-09-24 16:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":194127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890657,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:13:45] local.INFO: GPS data processed {"connection_id":194127,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:13:45] local.INFO: Acknowledgment sent {"connection_id":194127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:13:50] local.INFO: TCP Data received {"connection_id":191270,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:13:50] local.INFO: Processing buffer {"connection_id":191270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:13:50] local.INFO: IMEI packet received {"connection_id":191270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":191270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:13:54] local.INFO: TCP Data received {"connection_id":191270,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:13:54] local.INFO: Processing buffer {"connection_id":191270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:13:54] local.INFO: IMEI packet received {"connection_id":191270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":191270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:13:55] local.INFO: TCP Data received {"connection_id":191270,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3011e48012d196a00071fec30003e011228..."} 
[2026-09-24 16:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3011e48012d196a00071fec30003e011228..."} 
[2026-09-24 16:13:55] local.INFO: Processing buffer {"connection_id":191270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3011e48012d196a00071fec30003e011228..."} 
[2026-09-24 16:13:55] local.INFO: Packet analysis {"connection_id":191270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:13:55] local.INFO: Extracted packet for processing {"connection_id":191270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:13:55] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303088640001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790246461000,"timestamp_ms":1790246461000,"timestamp_seconds":1790246461,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3011e48"} 
[2026-09-24 16:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:13: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-09-24 16:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-24 16:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303088640001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303088640001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:13:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:13:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303088640001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":191270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:13:55] local.INFO: GPS data processed {"connection_id":191270,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:13:55] local.INFO: Acknowledgment sent {"connection_id":191270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:14:00] local.INFO: TCP Data received {"connection_id":191270,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3017050012d196a00071fec30003e011228..."} 
[2026-09-24 16:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3017050012d196a00071fec30003e011228..."} 
[2026-09-24 16:14:00] local.INFO: Processing buffer {"connection_id":191270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3017050012d196a00071fec30003e011228..."} 
[2026-09-24 16:14:00] local.INFO: Packet analysis {"connection_id":191270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:14:00] local.INFO: Extracted packet for processing {"connection_id":191270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:14:00] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303094016001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790246482000,"timestamp_ms":1790246482000,"timestamp_seconds":1790246482,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3017050"} 
[2026-09-24 16:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":191270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":191270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":191270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303094016001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303094016001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:14:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:14:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303094016001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":191270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:14:00] local.INFO: GPS data processed {"connection_id":191270,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:14:00] local.INFO: Acknowledgment sent {"connection_id":191270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:14:01] local.INFO: TCP Data received {"connection_id":191271,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191271,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:14:01] local.INFO: Processing buffer {"connection_id":191271,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:14:01] local.INFO: IMEI packet received {"connection_id":191271,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":191271,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:14:04] local.INFO: TCP Data received {"connection_id":191271,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191271,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:14:04] local.INFO: Processing buffer {"connection_id":191271,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:14:04] local.INFO: IMEI packet received {"connection_id":191271,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":191271,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:14:06] local.INFO: TCP Data received {"connection_id":192855,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:14:06] local.INFO: Processing buffer {"connection_id":192855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:14:06] local.INFO: Packet analysis {"connection_id":192855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:14:06] local.INFO: Extracted packet for processing {"connection_id":192855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:14:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303022592001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790246483000,"timestamp_ms":1790246483000,"timestamp_seconds":1790246483,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3017438"} 
[2026-09-24 16:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 16:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303022592001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303022592001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:14:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:14:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303022592001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":192855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:14:06] local.INFO: GPS data processed {"connection_id":192855,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:14:06] local.INFO: Acknowledgment sent {"connection_id":192855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:14:07] local.INFO: TCP Data received {"connection_id":191272,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191272,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:14:07] local.INFO: Processing buffer {"connection_id":191272,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:14:07] local.INFO: IMEI packet received {"connection_id":191272,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 16:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":191272,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:14:08] local.INFO: TCP Data received {"connection_id":191271,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191271,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:14:08] local.INFO: Processing buffer {"connection_id":191271,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:14:08] local.INFO: IMEI packet received {"connection_id":191271,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":191271,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:14:09] local.INFO: TCP Data received {"connection_id":191271,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d301ed50012d0c3f8007065210001100111c..."} 
[2026-09-24 16:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d301ed50012d0c3f8007065210001100111c..."} 
[2026-09-24 16:14:09] local.INFO: Processing buffer {"connection_id":191271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d301ed50012d0c3f8007065210001100111c..."} 
[2026-09-24 16:14:09] local.INFO: Packet analysis {"connection_id":191271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:14:09] local.INFO: Extracted packet for processing {"connection_id":191271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:14:09] local.INFO: GPS Element Parsed {"raw_longitude":755777408,"raw_latitude":117854736,"longitude_deg":75.5777408,"latitude_deg":11.7854736,"altitude":17,"angle":17,"satellites":28,"speed":0,"hex_longitude":"2d0c3f80","hex_latitude":"07065210","is_valid_coordinates":true} 
[2026-09-24 16:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303102208001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33676009639247872,"note":"Value kept but may cause issues"} 
[2026-09-24 16:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882564819647074304,"note":"Value kept but may cause issues"} 
[2026-09-24 16:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790246514000,"timestamp_ms":1790246514000,"timestamp_seconds":1790246514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d301ed50"} 
[2026-09-24 16:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-24 16:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303102208001,"66":14428,"164":206,"94":10240,"24":0,"16":33676009639247872,"45":882564819647074304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-24 16:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303102208001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:14:09] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-24 16:14:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33676009639247872,"km_value":33676009639247.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":882564819647074304,"description":"Unknown IO ID 45"} 
[2026-09-24 16:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303102208001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":882564819647074304}} 
[2026-09-24 16:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":191271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890661,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:14:09] local.INFO: GPS data processed {"connection_id":191271,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:14:09] local.INFO: Acknowledgment sent {"connection_id":191271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:14:10] local.INFO: TCP Data received {"connection_id":191272,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191272,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:14:10] local.INFO: Processing buffer {"connection_id":191272,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:14:10] local.INFO: IMEI packet received {"connection_id":191272,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 16:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":191272,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:14:28] local.INFO: TCP Data received {"connection_id":194129,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:14:28] local.INFO: Processing buffer {"connection_id":194129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:14:28] local.INFO: IMEI packet received {"connection_id":194129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":194129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:14:33] local.INFO: TCP Data received {"connection_id":194129,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:14:33] local.INFO: Processing buffer {"connection_id":194129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:14:33] local.INFO: IMEI packet received {"connection_id":194129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":194129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:14:34] local.INFO: TCP Data received {"connection_id":194129,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:14:34] local.INFO: Processing buffer {"connection_id":194129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:14:34] local.INFO: Packet analysis {"connection_id":194129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:14:34] local.INFO: Extracted packet for processing {"connection_id":194129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:14:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303022592001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790246483000,"timestamp_ms":1790246483000,"timestamp_seconds":1790246483,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3017438"} 
[2026-09-24 16:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 16:14:34] 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-09-24 16:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303022592001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303022592001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:14:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:14:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303022592001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":194129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:14:35] local.INFO: GPS data processed {"connection_id":194129,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:14:35] local.INFO: Acknowledgment sent {"connection_id":194129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:14:40] local.INFO: TCP Data received {"connection_id":191271,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3023f58012d0c3f8007065210001100111a..."} 
[2026-09-24 16:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3023f58012d0c3f8007065210001100111a..."} 
[2026-09-24 16:14:40] local.INFO: Processing buffer {"connection_id":191271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3023f58012d0c3f8007065210001100111a..."} 
[2026-09-24 16:14:40] local.INFO: Packet analysis {"connection_id":191271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d302"} 
[2026-09-24 16:14:40] local.INFO: Extracted packet for processing {"connection_id":191271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d302"} 
[2026-09-24 16:14:40] local.INFO: GPS Element Parsed {"raw_longitude":755777408,"raw_latitude":117854736,"longitude_deg":75.5777408,"latitude_deg":11.7854736,"altitude":17,"angle":17,"satellites":26,"speed":0,"hex_longitude":"2d0c3f80","hex_latitude":"07065210","is_valid_coordinates":true} 
[2026-09-24 16:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303107584001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33676009639247872,"note":"Value kept but may cause issues"} 
[2026-09-24 16:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882564819647074304,"note":"Value kept but may cause issues"} 
[2026-09-24 16:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790246535000,"timestamp_ms":1790246535000,"timestamp_seconds":1790246535,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3023f58"} 
[2026-09-24 16:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:14:40] 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-09-24 16:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-24 16:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303107584001,"66":13656,"220":206,"94":10240,"24":0,"16":33676009639247872,"45":882564819647074304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-24 16:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303107584001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:14:40] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-24 16:14:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33676009639247872,"km_value":33676009639247.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":882564819647074304,"description":"Unknown IO ID 45"} 
[2026-09-24 16:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303107584001,"power":13656,"unknown_220":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":882564819647074304}} 
[2026-09-24 16:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":191271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890663,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:14:40] local.INFO: GPS data processed {"connection_id":191271,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:14:40] local.INFO: Acknowledgment sent {"connection_id":191271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:14:41] local.INFO: TCP Data received {"connection_id":191272,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191272,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:14:41] local.INFO: Processing buffer {"connection_id":191272,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:14:41] local.INFO: IMEI packet received {"connection_id":191272,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 16:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":191272,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:14:45] local.INFO: TCP Data received {"connection_id":194130,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:14:45] local.INFO: Processing buffer {"connection_id":194130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:14:45] local.INFO: IMEI packet received {"connection_id":194130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":194130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:14:48] local.INFO: TCP Data received {"connection_id":194130,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:14:48] local.INFO: Processing buffer {"connection_id":194130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:14:48] local.INFO: IMEI packet received {"connection_id":194130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":194130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:14:49] local.INFO: TCP Data received {"connection_id":194130,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d301c258012d196a00071fec30003e011229..."} 
[2026-09-24 16:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d301c258012d196a00071fec30003e011229..."} 
[2026-09-24 16:14:49] local.INFO: Processing buffer {"connection_id":194130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d301c258012d196a00071fec30003e011229..."} 
[2026-09-24 16:14:49] local.INFO: Packet analysis {"connection_id":194130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:14:49] local.INFO: Extracted packet for processing {"connection_id":194130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:14:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303099392001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790246503000,"timestamp_ms":1790246503000,"timestamp_seconds":1790246503,"priority":1,"record_length":96,"hex_timestamp":"000001a0d301c258"} 
[2026-09-24 16:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":194130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":194130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":194130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303099392001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303099392001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:14:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:14:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303099392001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":194130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:14:49] local.INFO: GPS data processed {"connection_id":194130,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:14:49] local.INFO: Acknowledgment sent {"connection_id":194130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:14:52] local.INFO: TCP Data received {"connection_id":191272,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d301fcf0012c930c8007d04ff8000c00862f..."} 
[2026-09-24 16:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d301fcf0012c930c8007d04ff8000c00862f..."} 
[2026-09-24 16:14:52] local.INFO: Processing buffer {"connection_id":191272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d301fcf0012c930c8007d04ff8000c00862f..."} 
[2026-09-24 16:14:52] local.INFO: Packet analysis {"connection_id":191272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:14:52] local.INFO: Extracted packet for processing {"connection_id":191272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:14:52] local.INFO: GPS Element Parsed {"raw_longitude":747834496,"raw_latitude":131092472,"longitude_deg":74.7834496,"latitude_deg":13.1092472,"altitude":12,"angle":134,"satellites":47,"speed":0,"hex_longitude":"2c930c80","hex_latitude":"07d04ff8","is_valid_coordinates":true} 
[2026-09-24 16:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303103488001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:14:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7866451509313472512,"note":"Value kept but may cause issues"} 
[2026-09-24 16:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790246518000,"timestamp_ms":1790246518000,"timestamp_seconds":1790246518,"priority":1,"record_length":96,"hex_timestamp":"000001a0d301fcf0"} 
[2026-09-24 16:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-24 16:14:52] 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-09-24 16:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191272,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191272,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303103488001,"66":28452,"122":206,"9":57344,"24":0,"16":3605341577150464,"44":-7866451509313472512},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,9,24,16,44]} 
[2026-09-24 16:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 16:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 16:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303103488001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:14:52] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-24 16:14:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 16:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:14:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7866451509313472512,"description":"Unknown IO ID 44"} 
[2026-09-24 16:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303103488001,"power":28452,"unknown_122":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7866451509313472512}} 
[2026-09-24 16:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":191272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890665,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:14:52] local.INFO: GPS data processed {"connection_id":191272,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:14:52] local.INFO: Acknowledgment sent {"connection_id":191272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:15:03] local.INFO: TCP Data received {"connection_id":191273,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191273,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:15:03] local.INFO: Processing buffer {"connection_id":191273,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:15:03] local.INFO: IMEI packet received {"connection_id":191273,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":191273,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:15:06] local.INFO: TCP Data received {"connection_id":194129,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:15:06] local.INFO: Processing buffer {"connection_id":194129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:15:06] local.INFO: Packet analysis {"connection_id":194129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:15:06] local.INFO: Extracted packet for processing {"connection_id":194129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:15:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303022592001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790246483000,"timestamp_ms":1790246483000,"timestamp_seconds":1790246483,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3017438"} 
[2026-09-24 16:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 16:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303022592001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303022592001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:15:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:15:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303022592001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":194129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:15:06] local.INFO: GPS data processed {"connection_id":194129,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:15:06] local.INFO: Acknowledgment sent {"connection_id":194129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:15:06] local.INFO: TCP Data received {"connection_id":192856,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:15:06] local.INFO: Processing buffer {"connection_id":192856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:15:06] local.INFO: IMEI packet received {"connection_id":192856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 16:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":192856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:15:08] local.INFO: TCP Data received {"connection_id":191273,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191273,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:15:08] local.INFO: Processing buffer {"connection_id":191273,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:15:08] local.INFO: IMEI packet received {"connection_id":191273,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":191273,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:15:09] local.INFO: TCP Data received {"connection_id":191273,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3029160012d0c3f8007065210001100111b..."} 
[2026-09-24 16:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3029160012d0c3f8007065210001100111b..."} 
[2026-09-24 16:15:09] local.INFO: Processing buffer {"connection_id":191273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3029160012d0c3f8007065210001100111b..."} 
[2026-09-24 16:15:09] local.INFO: Packet analysis {"connection_id":191273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d302"} 
[2026-09-24 16:15:09] local.INFO: Extracted packet for processing {"connection_id":191273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d302"} 
[2026-09-24 16:15:09] local.INFO: GPS Element Parsed {"raw_longitude":755777408,"raw_latitude":117854736,"longitude_deg":75.5777408,"latitude_deg":11.7854736,"altitude":17,"angle":17,"satellites":27,"speed":0,"hex_longitude":"2d0c3f80","hex_latitude":"07065210","is_valid_coordinates":true} 
[2026-09-24 16:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303112960001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33676009639247872,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882564819647074304,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790246556000,"timestamp_ms":1790246556000,"timestamp_seconds":1790246556,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3029160"} 
[2026-09-24 16:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:15: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-09-24 16:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-24 16:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191273,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191273,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303112960001,"66":14580,"220":206,"94":10240,"24":0,"16":33676009639247872,"45":882564819647074304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-24 16:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303112960001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:15:09] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-24 16:15:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33676009639247872,"km_value":33676009639247.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":882564819647074304,"description":"Unknown IO ID 45"} 
[2026-09-24 16:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303112960001,"power":14580,"unknown_220":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":882564819647074304}} 
[2026-09-24 16:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":191273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890667,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:15:09] local.INFO: GPS data processed {"connection_id":191273,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:15:09] local.INFO: Acknowledgment sent {"connection_id":191273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:15:13] local.INFO: TCP Data received {"connection_id":192856,"ip":"117.224.51.81","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-24 16:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192856,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-24 16:15:13] local.INFO: Processing buffer {"connection_id":192856,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-24 16:15:13] local.INFO: IMEI packet received {"connection_id":192856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 16:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":192856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:15:20] local.INFO: TCP Data received {"connection_id":194130,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3021460012d196a00071fec30003e011228..."} 
[2026-09-24 16:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3021460012d196a00071fec30003e011228..."} 
[2026-09-24 16:15:20] local.INFO: Processing buffer {"connection_id":194130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3021460012d196a00071fec30003e011228..."} 
[2026-09-24 16:15:20] local.INFO: Packet analysis {"connection_id":194130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d302"} 
[2026-09-24 16:15:20] local.INFO: Extracted packet for processing {"connection_id":194130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d302"} 
[2026-09-24 16:15:20] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303104768001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790246524000,"timestamp_ms":1790246524000,"timestamp_seconds":1790246524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3021460"} 
[2026-09-24 16:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":194130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":194130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":194130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303104768001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303104768001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:15:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:15:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303104768001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":194130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:15:20] local.INFO: GPS data processed {"connection_id":194130,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:15:20] local.INFO: Acknowledgment sent {"connection_id":194130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:15:23] local.INFO: TCP Data received {"connection_id":192856,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3024ef8012c9334c007d02d30000c008530..."} 
[2026-09-24 16:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3024ef8012c9334c007d02d30000c008530..."} 
[2026-09-24 16:15:23] local.INFO: Processing buffer {"connection_id":192856,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a0d3..."} 
[2026-09-24 16:15:23] local.INFO: IMEI packet received {"connection_id":192856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 16:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":192856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:15:24] local.INFO: TCP Data received {"connection_id":192856,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d302a100012c9334c007d02d30000c008530..."} 
[2026-09-24 16:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d302a100012c9334c007d02d30000c008530..."} 
[2026-09-24 16:15:24] local.INFO: Processing buffer {"connection_id":192856,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0d3024ef8012c9334c007d02d30000c008530..."} 
[2026-09-24 16:15:24] local.INFO: Packet analysis {"connection_id":192856,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d302"} 
[2026-09-24 16:15:24] local.INFO: Extracted packet for processing {"connection_id":192856,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d302"} 
[2026-09-24 16:15:24] local.INFO: GPS Element Parsed {"raw_longitude":747844800,"raw_latitude":131083568,"longitude_deg":74.78448,"latitude_deg":13.1083568,"altitude":12,"angle":133,"satellites":48,"speed":0,"hex_longitude":"2c9334c0","hex_latitude":"07d02d30","is_valid_coordinates":true} 
[2026-09-24 16:15: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-09-24 16:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303108608001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7850759279365588992,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790246539000,"timestamp_ms":1790246539000,"timestamp_seconds":1790246539,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3024ef8"} 
[2026-09-24 16:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:15: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-09-24 16:15: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-09-24 16:15: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-09-24 16:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":192856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":192856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":192856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303108608001,"66":28354,"122":206,"9":57344,"24":0,"16":3605341577150464,"44":-7850759279365588992},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,9,24,16,44]} 
[2026-09-24 16:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 16:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 16:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303108608001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:15:24] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-24 16:15:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 16:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:15:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7850759279365588992,"description":"Unknown IO ID 44"} 
[2026-09-24 16:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303108608001,"power":28354,"unknown_122":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7850759279365588992}} 
[2026-09-24 16:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":192856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890669,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:15:24] local.INFO: GPS data processed {"connection_id":192856,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:15:24] local.INFO: Acknowledgment sent {"connection_id":192856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:15:24] local.INFO: Packet analysis {"connection_id":192856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d302"} 
[2026-09-24 16:15:24] local.INFO: Extracted packet for processing {"connection_id":192856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d302"} 
[2026-09-24 16:15:24] local.INFO: GPS Element Parsed {"raw_longitude":747844800,"raw_latitude":131083568,"longitude_deg":74.78448,"latitude_deg":13.1083568,"altitude":12,"angle":133,"satellites":48,"speed":0,"hex_longitude":"2c9334c0","hex_latitude":"07d02d30","is_valid_coordinates":true} 
[2026-09-24 16:15: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-09-24 16:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303113984001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7839429911555264512,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790246560000,"timestamp_ms":1790246560000,"timestamp_seconds":1790246560,"priority":1,"record_length":96,"hex_timestamp":"000001a0d302a100"} 
[2026-09-24 16:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:15: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":194,"data_length":795,"current_offset":136} 
[2026-09-24 16:15:24] 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-09-24 16:15: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-09-24 16:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":192856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":192856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":192856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303113984001,"66":28354,"89":206,"9":57344,"24":0,"16":3605341577150464,"44":-7839429911555264512},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,9,24,16,44]} 
[2026-09-24 16:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 16:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 16:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303113984001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:15:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-24 16:15:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 16:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:15:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7839429911555264512,"description":"Unknown IO ID 44"} 
[2026-09-24 16:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303113984001,"power":28354,"unknown_89":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7839429911555264512}} 
[2026-09-24 16:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":192856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890670,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:15:24] local.INFO: GPS data processed {"connection_id":192856,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:15:24] local.INFO: Acknowledgment sent {"connection_id":192856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:15:28] local.INFO: TCP Data received {"connection_id":191471,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:15:28] local.INFO: Processing buffer {"connection_id":191471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:15:28] local.INFO: IMEI packet received {"connection_id":191471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":191471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:15:28] local.INFO: TCP Data received {"connection_id":192856,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d302f308012c93614007d000e8001300872d..."} 
[2026-09-24 16:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d302f308012c93614007d000e8001300872d..."} 
[2026-09-24 16:15:28] local.INFO: Processing buffer {"connection_id":192856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d302f308012c93614007d000e8001300872d..."} 
[2026-09-24 16:15:28] local.INFO: Packet analysis {"connection_id":192856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d302"} 
[2026-09-24 16:15:28] local.INFO: Extracted packet for processing {"connection_id":192856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d302"} 
[2026-09-24 16:15:28] local.INFO: GPS Element Parsed {"raw_longitude":747856192,"raw_latitude":131072232,"longitude_deg":74.7856192,"latitude_deg":13.1072232,"altitude":19,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2c936140","hex_latitude":"07d000e8","is_valid_coordinates":true} 
[2026-09-24 16:15: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-09-24 16:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303119360001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7839429911555264512,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790246581000,"timestamp_ms":1790246581000,"timestamp_seconds":1790246581,"priority":1,"record_length":96,"hex_timestamp":"000001a0d302f308"} 
[2026-09-24 16:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 16:15:28] 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-09-24 16:15: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-09-24 16:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303119360001,"66":28354,"89":206,"9":57344,"24":0,"16":3605341577150464,"44":-7839429911555264512},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,9,24,16,44]} 
[2026-09-24 16:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 16:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 16:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303119360001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:15:28] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-24 16:15:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 16:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:15:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7839429911555264512,"description":"Unknown IO ID 44"} 
[2026-09-24 16:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303119360001,"power":28354,"unknown_89":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7839429911555264512}} 
[2026-09-24 16:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":192856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890671,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:15:28] local.INFO: GPS data processed {"connection_id":192856,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:15:28] local.INFO: Acknowledgment sent {"connection_id":192856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:15:33] local.INFO: TCP Data received {"connection_id":191471,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:15:33] local.INFO: Processing buffer {"connection_id":191471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:15:33] local.INFO: IMEI packet received {"connection_id":191471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":191471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:15:34] local.INFO: TCP Data received {"connection_id":191471,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:15:34] local.INFO: Processing buffer {"connection_id":191471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:15:34] local.INFO: Packet analysis {"connection_id":191471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:15:34] local.INFO: Extracted packet for processing {"connection_id":191471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:15:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303022592001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790246483000,"timestamp_ms":1790246483000,"timestamp_seconds":1790246483,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3017438"} 
[2026-09-24 16:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 16:15:34] 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-09-24 16:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303022592001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303022592001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:15:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:15:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303022592001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":191471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:15:34] local.INFO: GPS data processed {"connection_id":191471,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:15:34] local.INFO: Acknowledgment sent {"connection_id":191471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:15:40] local.INFO: TCP Data received {"connection_id":191273,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d302e368012d0c3f8007065210001100111a..."} 
[2026-09-24 16:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d302e368012d0c3f8007065210001100111a..."} 
[2026-09-24 16:15:40] local.INFO: Processing buffer {"connection_id":191273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d302e368012d0c3f8007065210001100111a..."} 
[2026-09-24 16:15:40] local.INFO: Packet analysis {"connection_id":191273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d302"} 
[2026-09-24 16:15:40] local.INFO: Extracted packet for processing {"connection_id":191273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d302"} 
[2026-09-24 16:15:40] local.INFO: GPS Element Parsed {"raw_longitude":755777408,"raw_latitude":117854736,"longitude_deg":75.5777408,"latitude_deg":11.7854736,"altitude":17,"angle":17,"satellites":26,"speed":0,"hex_longitude":"2d0c3f80","hex_latitude":"07065210","is_valid_coordinates":true} 
[2026-09-24 16:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303118336001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33676009639247872,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882564819647074304,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790246577000,"timestamp_ms":1790246577000,"timestamp_seconds":1790246577,"priority":1,"record_length":96,"hex_timestamp":"000001a0d302e368"} 
[2026-09-24 16:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:15: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-09-24 16:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-24 16:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191273,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191273,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303118336001,"66":14407,"220":206,"94":10240,"24":0,"16":33676009639247872,"45":882564819647074304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-24 16:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303118336001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:15:40] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-24 16:15:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33676009639247872,"km_value":33676009639247.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":882564819647074304,"description":"Unknown IO ID 45"} 
[2026-09-24 16:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303118336001,"power":14407,"unknown_220":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":882564819647074304}} 
[2026-09-24 16:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":191273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890673,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:15:41] local.INFO: GPS data processed {"connection_id":191273,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:15:41] local.INFO: Acknowledgment sent {"connection_id":191273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:15:45] local.INFO: TCP Data received {"connection_id":191472,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:15:45] local.INFO: Processing buffer {"connection_id":191472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:15:45] local.INFO: IMEI packet received {"connection_id":191472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":191472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:15:50] local.INFO: TCP Data received {"connection_id":191472,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:15:50] local.INFO: Processing buffer {"connection_id":191472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:15:50] local.INFO: IMEI packet received {"connection_id":191472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":191472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:15:51] local.INFO: TCP Data received {"connection_id":191472,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3026668012d196a00071fec30003e011226..."} 
[2026-09-24 16:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3026668012d196a00071fec30003e011226..."} 
[2026-09-24 16:15:51] local.INFO: Processing buffer {"connection_id":191472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3026668012d196a00071fec30003e011226..."} 
[2026-09-24 16:15:51] local.INFO: Packet analysis {"connection_id":191472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d302"} 
[2026-09-24 16:15:51] local.INFO: Extracted packet for processing {"connection_id":191472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d302"} 
[2026-09-24 16:15:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303110144001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790246545000,"timestamp_ms":1790246545000,"timestamp_seconds":1790246545,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3026668"} 
[2026-09-24 16:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:15: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-09-24 16:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303110144001,"66":12287,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303110144001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:15:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:15:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303110144001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":191472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:15:51] local.INFO: GPS data processed {"connection_id":191472,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:15:51] local.INFO: Acknowledgment sent {"connection_id":191472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:16:03] local.INFO: TCP Data received {"connection_id":191473,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191473,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:16:03] local.INFO: Processing buffer {"connection_id":191473,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:16:03] local.INFO: IMEI packet received {"connection_id":191473,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":191473,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:16:06] local.INFO: TCP Data received {"connection_id":191471,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:16:06] local.INFO: Processing buffer {"connection_id":191471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:16:06] local.INFO: Packet analysis {"connection_id":191471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:16:06] local.INFO: Extracted packet for processing {"connection_id":191471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:16:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303022592001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790246483000,"timestamp_ms":1790246483000,"timestamp_seconds":1790246483,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3017438"} 
[2026-09-24 16:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 16:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303022592001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303022592001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:16:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:16:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303022592001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":191471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:16:06] local.INFO: GPS data processed {"connection_id":191471,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:16:06] local.INFO: Acknowledgment sent {"connection_id":191471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:16:09] local.INFO: TCP Data received {"connection_id":191473,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191473,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:16:09] local.INFO: Processing buffer {"connection_id":191473,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:16:09] local.INFO: IMEI packet received {"connection_id":191473,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":191473,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:16:09] local.INFO: TCP Data received {"connection_id":191473,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30540e0012d0c3f40070643e80013006819..."} 
[2026-09-24 16:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30540e0012d0c3f40070643e80013006819..."} 
[2026-09-24 16:16:09] local.INFO: Processing buffer {"connection_id":191473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30540e0012d0c3f40070643e80013006819..."} 
[2026-09-24 16:16:09] local.INFO: Packet analysis {"connection_id":191473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d305"} 
[2026-09-24 16:16:09] local.INFO: Extracted packet for processing {"connection_id":191473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d305"} 
[2026-09-24 16:16:09] local.INFO: GPS Element Parsed {"raw_longitude":755777344,"raw_latitude":117851112,"longitude_deg":75.5777344,"latitude_deg":11.7851112,"altitude":19,"angle":104,"satellites":25,"speed":11,"hex_longitude":"2d0c3f40","hex_latitude":"070643e8","is_valid_coordinates":true} 
[2026-09-24 16:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303162880001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33676250157416448,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882001869692764160,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790246732000,"timestamp_ms":1790246732000,"timestamp_seconds":1790246732,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30540e0"} 
[2026-09-24 16:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-24 16:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191473,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191473,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303162880001,"66":13580,"220":206,"94":10240,"24":11,"16":33676250157416448,"45":882001869692764160},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-24 16:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303162880001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:16:09] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-24 16:16:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33676250157416448,"km_value":33676250157416.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":882001869692764160,"description":"Unknown IO ID 45"} 
[2026-09-24 16:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303162880001,"power":13580,"unknown_220":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":882001869692764160}} 
[2026-09-24 16:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":191473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890676,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:16:09] local.INFO: GPS data processed {"connection_id":191473,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:16:09] local.INFO: Acknowledgment sent {"connection_id":191473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:16:11] local.INFO: TCP Data received {"connection_id":192857,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:16:11] local.INFO: Processing buffer {"connection_id":192857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:16:11] local.INFO: IMEI packet received {"connection_id":192857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 16:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":192857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:16:16] local.INFO: TCP Data received {"connection_id":192857,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:16:16] local.INFO: Processing buffer {"connection_id":192857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:16:16] local.INFO: IMEI packet received {"connection_id":192857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 16:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":192857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:16:18] local.INFO: TCP Data received {"connection_id":192857,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d303d9800100000000000000000000000000..."} 
[2026-09-24 16:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d303d9800100000000000000000000000000..."} 
[2026-09-24 16:16:18] local.INFO: Processing buffer {"connection_id":192857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d303d9800100000000000000000000000000..."} 
[2026-09-24 16:16:18] local.INFO: Packet analysis {"connection_id":192857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d303"} 
[2026-09-24 16:16:18] local.INFO: Extracted packet for processing {"connection_id":192857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d303"} 
[2026-09-24 16:16: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-09-24 16:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303124736001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7826904275094542336,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790246640000,"timestamp_ms":1790246640000,"timestamp_seconds":1790246640,"priority":1,"record_length":96,"hex_timestamp":"000001a0d303d980"} 
[2026-09-24 16:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 16:16:18] 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-09-24 16:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":192857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":192857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":192857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":192857,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 16:16:18] local.INFO: GPS data processed {"connection_id":192857,"processed":0,"errors":0,"total":1} 
[2026-09-24 16:16:18] local.INFO: Acknowledgment sent {"connection_id":192857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:16:19] local.INFO: TCP Data received {"connection_id":192857,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3036c20012c93c48007cf9690001100952c..."} 
[2026-09-24 16:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3036c20012c93c48007cf9690001100952c..."} 
[2026-09-24 16:16:19] local.INFO: Processing buffer {"connection_id":192857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3036c20012c93c48007cf9690001100952c..."} 
[2026-09-24 16:16:19] local.INFO: Packet analysis {"connection_id":192857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d303"} 
[2026-09-24 16:16:19] local.INFO: Extracted packet for processing {"connection_id":192857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d303"} 
[2026-09-24 16:16:19] local.INFO: GPS Element Parsed {"raw_longitude":747881600,"raw_latitude":131045008,"longitude_deg":74.78816,"latitude_deg":13.1045008,"altitude":17,"angle":149,"satellites":44,"speed":42,"hex_longitude":"2c93c480","hex_latitude":"07cf9690","is_valid_coordinates":true} 
[2026-09-24 16:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,89,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 16:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790246612000,"timestamp_ms":1790246612000,"timestamp_seconds":1790246612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3036c20"} 
[2026-09-24 16:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 16:16:19] 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-09-24 16:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":192857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":192857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":192857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28126,"89":206,"9":57344,"24":42,"16":3605341577150464},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,9,24,16]} 
[2026-09-24 16:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 16:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 16:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 16:16:19] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-24 16:16:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 16:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:16:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28126,"unknown_89":206,"unknown_9":57344,"ignition":42,"odometer":null}} 
[2026-09-24 16:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":192857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890677,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:16:20] local.INFO: GPS data processed {"connection_id":192857,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:16:20] local.INFO: Acknowledgment sent {"connection_id":192857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:16:22] local.INFO: TCP Data received {"connection_id":191472,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d302b870012d196a00071fec30003e011226..."} 
[2026-09-24 16:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d302b870012d196a00071fec30003e011226..."} 
[2026-09-24 16:16:22] local.INFO: Processing buffer {"connection_id":191472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d302b870012d196a00071fec30003e011226..."} 
[2026-09-24 16:16:22] local.INFO: Packet analysis {"connection_id":191472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d302"} 
[2026-09-24 16:16:22] local.INFO: Extracted packet for processing {"connection_id":191472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d302"} 
[2026-09-24 16:16:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303115520001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790246566000,"timestamp_ms":1790246566000,"timestamp_seconds":1790246566,"priority":1,"record_length":96,"hex_timestamp":"000001a0d302b870"} 
[2026-09-24 16:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:16: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-09-24 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-24 16:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303115520001,"66":12374,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303115520001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:16:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:16:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303115520001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":191472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:16:22] local.INFO: GPS data processed {"connection_id":191472,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:16:22] local.INFO: Acknowledgment sent {"connection_id":191472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:16:33] local.INFO: TCP Data received {"connection_id":194131,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:16:33] local.INFO: Processing buffer {"connection_id":194131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:16:33] local.INFO: IMEI packet received {"connection_id":194131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":194131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:16:39] local.INFO: TCP Data received {"connection_id":194131,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:16:39] local.INFO: Processing buffer {"connection_id":194131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:16:39] local.INFO: IMEI packet received {"connection_id":194131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":194131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:16:40] local.INFO: TCP Data received {"connection_id":194131,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:16:40] local.INFO: Processing buffer {"connection_id":194131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:16:40] local.INFO: Packet analysis {"connection_id":194131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:16:40] local.INFO: Extracted packet for processing {"connection_id":194131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:16:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303022592001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790246483000,"timestamp_ms":1790246483000,"timestamp_seconds":1790246483,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3017438"} 
[2026-09-24 16:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 16:16:40] 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-09-24 16:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":194131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":194131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":194131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303022592001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303022592001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:16:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:16:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303022592001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":194131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:16:40] local.INFO: GPS data processed {"connection_id":194131,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:16:40] local.INFO: Acknowledgment sent {"connection_id":194131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:16:40] local.INFO: TCP Data received {"connection_id":191473,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3057790012d0c510007063f00001500771b..."} 
[2026-09-24 16:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3057790012d0c510007063f00001500771b..."} 
[2026-09-24 16:16:40] local.INFO: Processing buffer {"connection_id":191473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3057790012d0c510007063f00001500771b..."} 
[2026-09-24 16:16:40] local.INFO: Packet analysis {"connection_id":191473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d305"} 
[2026-09-24 16:16:40] local.INFO: Extracted packet for processing {"connection_id":191473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d305"} 
[2026-09-24 16:16:40] local.INFO: GPS Element Parsed {"raw_longitude":755781888,"raw_latitude":117849856,"longitude_deg":75.5781888,"latitude_deg":11.7849856,"altitude":21,"angle":119,"satellites":27,"speed":13,"hex_longitude":"2d0c5100","hex_latitude":"07063f00","is_valid_coordinates":true} 
[2026-09-24 16:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303163392001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33676473495715840,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882494450901968896,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790246746000,"timestamp_ms":1790246746000,"timestamp_seconds":1790246746,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3057790"} 
[2026-09-24 16:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-24 16:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751544228,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:40] local.WARNING: Large IO value detected {"io_id":164,"raw_value":2684431628,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3540283864,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:40] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:40] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639084336263132,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":802947278,"corrected_to":0} 
[2026-09-24 16:16:40] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:40] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2738414178879458910,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:40] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2756640768,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:40] local.WARNING: Large IO value detected {"io_id":12,"raw_value":4557650546631639058,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:40] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:40] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,220,94,24,241,157,16,164,160,57,45,128,68,19,25,10,66,64,69,254,1,240,218,227,211,6,4,113,205,2,60,56,27,239,119,7,12,40],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":802947278,"validated":0}]} 
[2026-09-24 16:16:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1369208743304822784,"timestamp_seconds":1369208743304822.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 16:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191473,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191473,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303163392001,"66":14559,"220":206,"94":10240,"24":13,"16":33676473495715840,"45":882494450901968896},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-24 16:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303163392001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:16:40] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-24 16:16:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33676473495715840,"km_value":33676473495715.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":882494450901968896,"description":"Unknown IO ID 45"} 
[2026-09-24 16:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303163392001,"power":14559,"unknown_220":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":882494450901968896}} 
[2026-09-24 16:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":191473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890680,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:16:40] local.INFO: GPS data processed {"connection_id":191473,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:16:40] local.INFO: Acknowledgment sent {"connection_id":191473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:16:44] local.INFO: TCP Data received {"connection_id":194131,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:16:44] local.INFO: Processing buffer {"connection_id":194131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3017438012d34c14006aa4940000900f529..."} 
[2026-09-24 16:16:44] local.INFO: Packet analysis {"connection_id":194131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:16:44] local.INFO: Extracted packet for processing {"connection_id":194131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d301"} 
[2026-09-24 16:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303022592001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790246483000,"timestamp_ms":1790246483000,"timestamp_seconds":1790246483,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3017438"} 
[2026-09-24 16:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 16:16:44] 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-09-24 16:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303022592001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303022592001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:16:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:16:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303022592001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":194131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:16:44] local.INFO: GPS data processed {"connection_id":194131,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:16:44] local.INFO: Acknowledgment sent {"connection_id":194131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:16:45] local.INFO: TCP Data received {"connection_id":191474,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:16:45] local.INFO: Processing buffer {"connection_id":191474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:16:45] local.INFO: IMEI packet received {"connection_id":191474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":191474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:16:50] local.INFO: TCP Data received {"connection_id":191474,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:16:50] local.INFO: Processing buffer {"connection_id":191474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:16:50] local.INFO: IMEI packet received {"connection_id":191474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":191474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:16:51] local.INFO: TCP Data received {"connection_id":191474,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3030a78012d196a00071fec30003e011225..."} 
[2026-09-24 16:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3030a78012d196a00071fec30003e011225..."} 
[2026-09-24 16:16:51] local.INFO: Processing buffer {"connection_id":191474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3030a78012d196a00071fec30003e011225..."} 
[2026-09-24 16:16:51] local.INFO: Packet analysis {"connection_id":191474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d303"} 
[2026-09-24 16:16:51] local.INFO: Extracted packet for processing {"connection_id":191474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d303"} 
[2026-09-24 16:16:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":37,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303120896001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790246587000,"timestamp_ms":1790246587000,"timestamp_seconds":1790246587,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3030a78"} 
[2026-09-24 16:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:16: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-09-24 16:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-24 16:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303120896001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303120896001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:16:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:16:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303120896001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":191474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:16:51] local.INFO: GPS data processed {"connection_id":191474,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:16:51] local.INFO: Acknowledgment sent {"connection_id":191474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:16:51] local.INFO: TCP Data received {"connection_id":192857,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d303b270012c93d80007cf43c0000b00b82c..."} 
[2026-09-24 16:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d303b270012c93d80007cf43c0000b00b82c..."} 
[2026-09-24 16:16:51] local.INFO: Processing buffer {"connection_id":192857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d303b270012c93d80007cf43c0000b00b82c..."} 
[2026-09-24 16:16:51] local.INFO: Packet analysis {"connection_id":192857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d303"} 
[2026-09-24 16:16:51] local.INFO: Extracted packet for processing {"connection_id":192857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d303"} 
[2026-09-24 16:16:51] local.INFO: GPS Element Parsed {"raw_longitude":747886592,"raw_latitude":131023808,"longitude_deg":74.7886592,"latitude_deg":13.1023808,"altitude":11,"angle":184,"satellites":44,"speed":53,"hex_longitude":"2c93d800","hex_latitude":"07cf43c0","is_valid_coordinates":true} 
[2026-09-24 16:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303132672001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7798967883662979072,"note":"Value kept but may cause issues"} 
[2026-09-24 16:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790246630000,"timestamp_ms":1790246630000,"timestamp_seconds":1790246630,"priority":1,"record_length":96,"hex_timestamp":"000001a0d303b270"} 
[2026-09-24 16:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-24 16:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303132672001,"66":28398,"89":206,"9":57344,"24":53,"16":3605341577150464,"44":-7798967883662979072},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,9,24,16,44]} 
[2026-09-24 16:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 16:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 16:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303132672001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:16:51] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-24 16:16:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 16:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:16:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7798967883662979072,"description":"Unknown IO ID 44"} 
[2026-09-24 16:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303132672001,"power":28398,"unknown_89":206,"unknown_9":57344,"ignition":53,"odometer":null,"unknown_44":-7798967883662979072}} 
[2026-09-24 16:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":192857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890683,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:16:51] local.INFO: GPS data processed {"connection_id":192857,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:16:51] local.INFO: Acknowledgment sent {"connection_id":192857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:17:04] local.INFO: TCP Data received {"connection_id":191475,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:17:04] local.INFO: Processing buffer {"connection_id":191475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:17:04] local.INFO: IMEI packet received {"connection_id":191475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 16:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":191475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:17:04] local.INFO: TCP Data received {"connection_id":191274,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191274,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:17:04] local.INFO: Processing buffer {"connection_id":191274,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:17:04] local.INFO: IMEI packet received {"connection_id":191274,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":191274,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:17:04] local.INFO: TCP Data received {"connection_id":191475,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:17:04] local.INFO: Processing buffer {"connection_id":191475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:17:04] local.INFO: IMEI packet received {"connection_id":191475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 16:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":191475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:17:06] local.INFO: TCP Data received {"connection_id":191475,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:17:06] local.INFO: Processing buffer {"connection_id":191475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:17:06] local.INFO: IMEI packet received {"connection_id":191475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 16:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":191475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:17:07] local.INFO: TCP Data received {"connection_id":191274,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191274,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:17:07] local.INFO: Processing buffer {"connection_id":191274,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:17:07] local.INFO: IMEI packet received {"connection_id":191274,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":191274,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:17:07] local.INFO: TCP Data received {"connection_id":191274,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3058730012d0c564007063b20001500821d..."} 
[2026-09-24 16:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3058730012d0c564007063b20001500821d..."} 
[2026-09-24 16:17:07] local.INFO: Processing buffer {"connection_id":191274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3058730012d0c564007063b20001500821d..."} 
[2026-09-24 16:17:07] local.INFO: Packet analysis {"connection_id":191274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d305"} 
[2026-09-24 16:17:07] local.INFO: Extracted packet for processing {"connection_id":191274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d305"} 
[2026-09-24 16:17:07] local.INFO: GPS Element Parsed {"raw_longitude":755783232,"raw_latitude":117848864,"longitude_deg":75.5783232,"latitude_deg":11.7848864,"altitude":21,"angle":130,"satellites":29,"speed":16,"hex_longitude":"2d0c5640","hex_latitude":"07063b20","is_valid_coordinates":true} 
[2026-09-24 16:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303166976001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33676555100094464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887490631738261504,"note":"Value kept but may cause issues"} 
[2026-09-24 16:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790246750000,"timestamp_ms":1790246750000,"timestamp_seconds":1790246750,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3058730"} 
[2026-09-24 16:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:17:07] 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-09-24 16:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-24 16:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191274,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191274,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303166976001,"66":14537,"220":206,"94":10240,"24":16,"16":33676555100094464,"45":887490631738261504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-24 16:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303166976001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:17:07] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-24 16:17:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33676555100094464,"km_value":33676555100094.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":887490631738261504,"description":"Unknown IO ID 45"} 
[2026-09-24 16:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303166976001,"power":14537,"unknown_220":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":887490631738261504}} 
[2026-09-24 16:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":191274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890684,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:17:08] local.INFO: GPS data processed {"connection_id":191274,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:17:08] local.INFO: Acknowledgment sent {"connection_id":191274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:17:12] local.INFO: TCP Data received {"connection_id":191475,"ip":"117.224.51.81","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:17:12] local.INFO: Processing buffer {"connection_id":191475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:17:12] local.INFO: IMEI packet received {"connection_id":191475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 16:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":191475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:17:13] local.INFO: TCP Data received {"connection_id":191475,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3040478012c93c7c007ceed88000a00be2f..."} 
[2026-09-24 16:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3040478012c93c7c007ceed88000a00be2f..."} 
[2026-09-24 16:17:13] local.INFO: Processing buffer {"connection_id":191475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3040478012c93c7c007ceed88000a00be2f..."} 
[2026-09-24 16:17:13] local.INFO: Packet analysis {"connection_id":191475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d304"} 
[2026-09-24 16:17:13] local.INFO: Extracted packet for processing {"connection_id":191475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d304"} 
[2026-09-24 16:17:13] local.INFO: GPS Element Parsed {"raw_longitude":747882432,"raw_latitude":131001736,"longitude_deg":74.7882432,"latitude_deg":13.1001736,"altitude":10,"angle":190,"satellites":47,"speed":0,"hex_longitude":"2c93c7c0","hex_latitude":"07ceed88","is_valid_coordinates":true} 
[2026-09-24 16:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303137280001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:17:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7793479121622548480,"note":"Value kept but may cause issues"} 
[2026-09-24 16:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790246651000,"timestamp_ms":1790246651000,"timestamp_seconds":1790246651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3040478"} 
[2026-09-24 16:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 16:17:13] 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-09-24 16:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303137280001,"66":28354,"89":206,"9":57344,"24":0,"16":3605341577150464,"44":-7793479121622548480},"client_ip":"117.224.51.81","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,9,24,16,44]} 
[2026-09-24 16:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 16:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 16:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303137280001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:17:13] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-24 16:17:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 16:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:17:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7793479121622548480,"description":"Unknown IO ID 44"} 
[2026-09-24 16:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303137280001,"power":28354,"unknown_89":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7793479121622548480}} 
[2026-09-24 16:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":191475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890685,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:17:13] local.INFO: GPS data processed {"connection_id":191475,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:17:13] local.INFO: Acknowledgment sent {"connection_id":191475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:17:22] local.INFO: TCP Data received {"connection_id":191474,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3035c80012d196a00071fec30003e011229..."} 
[2026-09-24 16:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3035c80012d196a00071fec30003e011229..."} 
[2026-09-24 16:17:22] local.INFO: Processing buffer {"connection_id":191474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3035c80012d196a00071fec30003e011229..."} 
[2026-09-24 16:17:22] local.INFO: Packet analysis {"connection_id":191474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d303"} 
[2026-09-24 16:17:22] local.INFO: Extracted packet for processing {"connection_id":191474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d303"} 
[2026-09-24 16:17:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303126272001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790246608000,"timestamp_ms":1790246608000,"timestamp_seconds":1790246608,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3035c80"} 
[2026-09-24 16:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:17: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-09-24 16:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 16:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303126272001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303126272001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:17:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:17:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303126272001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":191474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:17:22] local.INFO: GPS data processed {"connection_id":191474,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:17:22] local.INFO: Acknowledgment sent {"connection_id":191474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:17:28] local.INFO: TCP Data received {"connection_id":192858,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:17:28] local.INFO: Processing buffer {"connection_id":192858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:17:28] local.INFO: IMEI packet received {"connection_id":192858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":192858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:17:33] local.INFO: TCP Data received {"connection_id":192858,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:17:33] local.INFO: Processing buffer {"connection_id":192858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:17:33] local.INFO: IMEI packet received {"connection_id":192858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":192858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:17:34] local.INFO: TCP Data received {"connection_id":192858,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:17:34] local.INFO: Processing buffer {"connection_id":192858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:17:34] local.INFO: Packet analysis {"connection_id":192858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d306"} 
[2026-09-24 16:17:34] local.INFO: Extracted packet for processing {"connection_id":192858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d306"} 
[2026-09-24 16:17:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303099648001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790246784000,"timestamp_ms":1790246784000,"timestamp_seconds":1790246784,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3060c00"} 
[2026-09-24 16:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303099648001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303099648001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:17:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:17:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303099648001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":192858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:17:34] local.INFO: GPS data processed {"connection_id":192858,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:17:34] local.INFO: Acknowledgment sent {"connection_id":192858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:17:39] local.INFO: TCP Data received {"connection_id":191274,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3058f00012d0c5840070638c00016008d1d..."} 
[2026-09-24 16:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3058f00012d0c5840070638c00016008d1d..."} 
[2026-09-24 16:17:39] local.INFO: Processing buffer {"connection_id":191274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3058f00012d0c5840070638c00016008d1d..."} 
[2026-09-24 16:17:39] local.INFO: Packet analysis {"connection_id":191274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d305"} 
[2026-09-24 16:17:39] local.INFO: Extracted packet for processing {"connection_id":191274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d305"} 
[2026-09-24 16:17:39] local.INFO: GPS Element Parsed {"raw_longitude":755783744,"raw_latitude":117848256,"longitude_deg":75.5783744,"latitude_deg":11.7848256,"altitude":22,"angle":141,"satellites":29,"speed":14,"hex_longitude":"2d0c5840","hex_latitude":"070638c0","is_valid_coordinates":true} 
[2026-09-24 16:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303168000001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33676593754800128,"note":"Value kept but may cause issues"} 
[2026-09-24 16:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888968375365738496,"note":"Value kept but may cause issues"} 
[2026-09-24 16:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790246752000,"timestamp_ms":1790246752000,"timestamp_seconds":1790246752,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3058f00"} 
[2026-09-24 16:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:17:39] 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-09-24 16:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-24 16:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191274,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191274,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303168000001,"66":14439,"220":206,"94":10240,"24":14,"16":33676593754800128,"45":888968375365738496},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-24 16:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303168000001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:17:39] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-24 16:17:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33676593754800128,"km_value":33676593754800.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":888968375365738496,"description":"Unknown IO ID 45"} 
[2026-09-24 16:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303168000001,"power":14439,"unknown_220":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":888968375365738496}} 
[2026-09-24 16:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":191274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890688,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:17:39] local.INFO: GPS data processed {"connection_id":191274,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:17:39] local.INFO: Acknowledgment sent {"connection_id":191274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:17:44] local.INFO: TCP Data received {"connection_id":191275,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:17:45] local.INFO: Processing buffer {"connection_id":191275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:17:45] local.INFO: IMEI packet received {"connection_id":191275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":191275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:17:47] local.INFO: TCP Data received {"connection_id":191475,"ip":"117.224.51.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0d304eaf00100000000000000000000000000..."} 
[2026-09-24 16:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d304eaf00100000000000000000000000000..."} 
[2026-09-24 16:17:47] local.INFO: Processing buffer {"connection_id":191475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d304eaf00100000000000000000000000000..."} 
[2026-09-24 16:17:47] local.INFO: Packet analysis {"connection_id":191475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d304"} 
[2026-09-24 16:17:47] local.INFO: Extracted packet for processing {"connection_id":191475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d304"} 
[2026-09-24 16:17:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 16:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303142656001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 16:17:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7798053089999747072,"note":"Value kept but may cause issues"} 
[2026-09-24 16:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790246710000,"timestamp_ms":1790246710000,"timestamp_seconds":1790246710,"priority":1,"record_length":96,"hex_timestamp":"000001a0d304eaf0"} 
[2026-09-24 16:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 16:17:47] 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-09-24 16:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 16:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 16:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 16:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":191475,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 16:17:47] local.INFO: GPS data processed {"connection_id":191475,"processed":0,"errors":0,"total":1} 
[2026-09-24 16:17:47] local.INFO: Acknowledgment sent {"connection_id":191475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:17:50] local.INFO: TCP Data received {"connection_id":191275,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:17:50] local.INFO: Processing buffer {"connection_id":191275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:17:50] local.INFO: IMEI packet received {"connection_id":191275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":191275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:17:51] local.INFO: TCP Data received {"connection_id":191275,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d303ae88012d196a00071fec30003e011228..."} 
[2026-09-24 16:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d303ae88012d196a00071fec30003e011228..."} 
[2026-09-24 16:17:51] local.INFO: Processing buffer {"connection_id":191275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d303ae88012d196a00071fec30003e011228..."} 
[2026-09-24 16:17:51] local.INFO: Packet analysis {"connection_id":191275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d303"} 
[2026-09-24 16:17:51] local.INFO: Extracted packet for processing {"connection_id":191275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d303"} 
[2026-09-24 16:17:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303131648001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790246629000,"timestamp_ms":1790246629000,"timestamp_seconds":1790246629,"priority":1,"record_length":96,"hex_timestamp":"000001a0d303ae88"} 
[2026-09-24 16:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 16:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303131648001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303131648001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:17:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:17:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303131648001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":191275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:17:51] local.INFO: GPS data processed {"connection_id":191275,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:17:51] local.INFO: Acknowledgment sent {"connection_id":191275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:18:03] local.INFO: TCP Data received {"connection_id":192859,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192859,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:18:03] local.INFO: Processing buffer {"connection_id":192859,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:18:03] local.INFO: IMEI packet received {"connection_id":192859,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":192859,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:18:06] local.INFO: TCP Data received {"connection_id":192858,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:18:06] local.INFO: Processing buffer {"connection_id":192858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:18:06] local.INFO: Packet analysis {"connection_id":192858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d306"} 
[2026-09-24 16:18:06] local.INFO: Extracted packet for processing {"connection_id":192858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d306"} 
[2026-09-24 16:18:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303099648001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790246784000,"timestamp_ms":1790246784000,"timestamp_seconds":1790246784,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3060c00"} 
[2026-09-24 16:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303099648001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303099648001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:18:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:18:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303099648001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":192858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:18:06] local.INFO: GPS data processed {"connection_id":192858,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:18:06] local.INFO: Acknowledgment sent {"connection_id":192858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:18:08] local.INFO: TCP Data received {"connection_id":192859,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192859,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:18:08] local.INFO: Processing buffer {"connection_id":192859,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:18:08] local.INFO: IMEI packet received {"connection_id":192859,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":192859,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:18:08] local.INFO: TCP Data received {"connection_id":192859,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192859,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:18:08] local.INFO: Processing buffer {"connection_id":192859,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:18:08] local.INFO: IMEI packet received {"connection_id":192859,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":192859,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:18:09] local.INFO: TCP Data received {"connection_id":192859,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d305e108012d0c6900070622900018008c1d..."} 
[2026-09-24 16:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d305e108012d0c6900070622900018008c1d..."} 
[2026-09-24 16:18:09] local.INFO: Processing buffer {"connection_id":192859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d305e108012d0c6900070622900018008c1d..."} 
[2026-09-24 16:18:09] local.INFO: Packet analysis {"connection_id":192859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d305"} 
[2026-09-24 16:18:09] local.INFO: Extracted packet for processing {"connection_id":192859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d305"} 
[2026-09-24 16:18:09] local.INFO: GPS Element Parsed {"raw_longitude":755788032,"raw_latitude":117842576,"longitude_deg":75.5788032,"latitude_deg":11.7842576,"altitude":24,"angle":140,"satellites":29,"speed":10,"hex_longitude":"2d0c6900","hex_latitude":"07062290","is_valid_coordinates":true} 
[2026-09-24 16:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303168512001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33676941647151104,"note":"Value kept but may cause issues"} 
[2026-09-24 16:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889531325319004160,"note":"Value kept but may cause issues"} 
[2026-09-24 16:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790246773000,"timestamp_ms":1790246773000,"timestamp_seconds":1790246773,"priority":1,"record_length":96,"hex_timestamp":"000001a0d305e108"} 
[2026-09-24 16:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:18: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-09-24 16:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 16:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192859,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192859,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303168512001,"66":14548,"220":206,"94":10240,"24":10,"16":33676941647151104,"45":889531325319004160},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-24 16:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303168512001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:18:09] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-24 16:18:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33676941647151104,"km_value":33676941647151.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":889531325319004160,"description":"Unknown IO ID 45"} 
[2026-09-24 16:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303168512001,"power":14548,"unknown_220":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":889531325319004160}} 
[2026-09-24 16:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":192859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890691,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:18:09] local.INFO: GPS data processed {"connection_id":192859,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:18:09] local.INFO: Acknowledgment sent {"connection_id":192859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:18:15] local.INFO: TCP Data received {"connection_id":192859,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3063310012d0c7c8007060db80018008a1d..."} 
[2026-09-24 16:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3063310012d0c7c8007060db80018008a1d..."} 
[2026-09-24 16:18:15] local.INFO: Processing buffer {"connection_id":192859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3063310012d0c7c8007060db80018008a1d..."} 
[2026-09-24 16:18:15] local.INFO: Packet analysis {"connection_id":192859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d306"} 
[2026-09-24 16:18:15] local.INFO: Extracted packet for processing {"connection_id":192859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d306"} 
[2026-09-24 16:18:15] local.INFO: GPS Element Parsed {"raw_longitude":755793024,"raw_latitude":117837240,"longitude_deg":75.5793024,"latitude_deg":11.783724,"altitude":24,"angle":138,"satellites":29,"speed":14,"hex_longitude":"2d0c7c80","hex_latitude":"07060db8","is_valid_coordinates":true} 
[2026-09-24 16:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303173888001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33677289539502080,"note":"Value kept but may cause issues"} 
[2026-09-24 16:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894246031177453568,"note":"Value kept but may cause issues"} 
[2026-09-24 16:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790246794000,"timestamp_ms":1790246794000,"timestamp_seconds":1790246794,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3063310"} 
[2026-09-24 16:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-24 16:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192859,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192859,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303173888001,"66":14439,"220":206,"94":10240,"24":14,"16":33677289539502080,"45":894246031177453568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-24 16:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303173888001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:18:15] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-24 16:18:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33677289539502080,"km_value":33677289539502.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":894246031177453568,"description":"Unknown IO ID 45"} 
[2026-09-24 16:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303173888001,"power":14439,"unknown_220":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":894246031177453568}} 
[2026-09-24 16:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":192859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890692,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:18:15] local.INFO: GPS data processed {"connection_id":192859,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:18:15] local.INFO: Acknowledgment sent {"connection_id":192859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:18:22] local.INFO: TCP Data received {"connection_id":191275,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3040090012d196a00071fec30003e01122a..."} 
[2026-09-24 16:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3040090012d196a00071fec30003e01122a..."} 
[2026-09-24 16:18:22] local.INFO: Processing buffer {"connection_id":191275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3040090012d196a00071fec30003e01122a..."} 
[2026-09-24 16:18:22] local.INFO: Packet analysis {"connection_id":191275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d304"} 
[2026-09-24 16:18:22] local.INFO: Extracted packet for processing {"connection_id":191275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d304"} 
[2026-09-24 16:18:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303137024001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790246650000,"timestamp_ms":1790246650000,"timestamp_seconds":1790246650,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3040090"} 
[2026-09-24 16:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:18: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-09-24 16:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303137024001,"66":12374,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303137024001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:18:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:18:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303137024001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":191275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:18:22] local.INFO: GPS data processed {"connection_id":191275,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:18:22] local.INFO: Acknowledgment sent {"connection_id":191275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:18:28] local.INFO: TCP Data received {"connection_id":192860,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:18:28] local.INFO: Processing buffer {"connection_id":192860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:18:28] local.INFO: IMEI packet received {"connection_id":192860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":192860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:18:33] local.INFO: TCP Data received {"connection_id":192860,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:18:33] local.INFO: Processing buffer {"connection_id":192860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:18:33] local.INFO: IMEI packet received {"connection_id":192860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":192860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:18:34] local.INFO: TCP Data received {"connection_id":192860,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:18:34] local.INFO: Processing buffer {"connection_id":192860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:18:34] local.INFO: Packet analysis {"connection_id":192860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d306"} 
[2026-09-24 16:18:34] local.INFO: Extracted packet for processing {"connection_id":192860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d306"} 
[2026-09-24 16:18:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303099648001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790246784000,"timestamp_ms":1790246784000,"timestamp_seconds":1790246784,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3060c00"} 
[2026-09-24 16:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303099648001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303099648001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:18:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:18:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303099648001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":192860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:18:34] local.INFO: GPS data processed {"connection_id":192860,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:18:34] local.INFO: Acknowledgment sent {"connection_id":192860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:18:44] local.INFO: TCP Data received {"connection_id":192861,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:18:44] local.INFO: Processing buffer {"connection_id":192861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:18:44] local.INFO: IMEI packet received {"connection_id":192861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":192861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:18:45] local.INFO: TCP Data received {"connection_id":192859,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d307f060012d0cc2400705b6400016005c1d..."} 
[2026-09-24 16:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d307f060012d0cc2400705b6400016005c1d..."} 
[2026-09-24 16:18:45] local.INFO: Processing buffer {"connection_id":192859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d307f060012d0cc2400705b6400016005c1d..."} 
[2026-09-24 16:18:45] local.INFO: Packet analysis {"connection_id":192859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d307"} 
[2026-09-24 16:18:45] local.INFO: Extracted packet for processing {"connection_id":192859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d307"} 
[2026-09-24 16:18:45] local.INFO: GPS Element Parsed {"raw_longitude":755810880,"raw_latitude":117814848,"longitude_deg":75.581088,"latitude_deg":11.7814848,"altitude":22,"angle":92,"satellites":29,"speed":13,"hex_longitude":"2d0cc240","hex_latitude":"0705b640","is_valid_coordinates":true} 
[2026-09-24 16:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303208192001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33678745533415424,"note":"Value kept but may cause issues"} 
[2026-09-24 16:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":918945460376713216,"note":"Value kept but may cause issues"} 
[2026-09-24 16:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790246908000,"timestamp_ms":1790246908000,"timestamp_seconds":1790246908,"priority":1,"record_length":96,"hex_timestamp":"000001a0d307f060"} 
[2026-09-24 16:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-24 16:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192859,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192859,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303208192001,"66":14461,"220":206,"94":10240,"24":13,"16":33678745533415424,"45":918945460376713216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-24 16:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303208192001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:18:45] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-24 16:18:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33678745533415424,"km_value":33678745533415.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":918945460376713216,"description":"Unknown IO ID 45"} 
[2026-09-24 16:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303208192001,"power":14461,"unknown_220":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":918945460376713216}} 
[2026-09-24 16:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":192859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890695,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:18:46] local.INFO: GPS data processed {"connection_id":192859,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:18:46] local.INFO: Acknowledgment sent {"connection_id":192859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:18:50] local.INFO: TCP Data received {"connection_id":192861,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:18:50] local.INFO: Processing buffer {"connection_id":192861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:18:50] local.INFO: IMEI packet received {"connection_id":192861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":192861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:18:51] local.INFO: TCP Data received {"connection_id":192861,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3045298012d196a00071fec30003e011226..."} 
[2026-09-24 16:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3045298012d196a00071fec30003e011226..."} 
[2026-09-24 16:18:51] local.INFO: Processing buffer {"connection_id":192861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3045298012d196a00071fec30003e011226..."} 
[2026-09-24 16:18:51] local.INFO: Packet analysis {"connection_id":192861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d304"} 
[2026-09-24 16:18:51] local.INFO: Extracted packet for processing {"connection_id":192861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d304"} 
[2026-09-24 16:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303142400001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790246671000,"timestamp_ms":1790246671000,"timestamp_seconds":1790246671,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3045298"} 
[2026-09-24 16:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-24 16:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303142400001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303142400001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:18:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:18:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303142400001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":192861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:18:51] local.INFO: GPS data processed {"connection_id":192861,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:18:51] local.INFO: Acknowledgment sent {"connection_id":192861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:19:03] local.INFO: TCP Data received {"connection_id":194132,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194132,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:19:03] local.INFO: Processing buffer {"connection_id":194132,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:19:03] local.INFO: IMEI packet received {"connection_id":194132,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":194132,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:19:04] local.INFO: TCP Data received {"connection_id":194132,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194132,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:19:04] local.INFO: Processing buffer {"connection_id":194132,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:19:04] local.INFO: IMEI packet received {"connection_id":194132,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":194132,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:19:05] local.INFO: TCP Data received {"connection_id":192860,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:19:05] local.INFO: Processing buffer {"connection_id":192860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:19:05] local.INFO: Packet analysis {"connection_id":192860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d306"} 
[2026-09-24 16:19:05] local.INFO: Extracted packet for processing {"connection_id":192860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d306"} 
[2026-09-24 16:19:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303099648001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790246784000,"timestamp_ms":1790246784000,"timestamp_seconds":1790246784,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3060c00"} 
[2026-09-24 16:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303099648001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303099648001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:19:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:19:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303099648001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":192860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:19:05] local.INFO: GPS data processed {"connection_id":192860,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:19:05] local.INFO: Acknowledgment sent {"connection_id":192860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:19:05] local.INFO: TCP Data received {"connection_id":194132,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194132,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:19:05] local.INFO: Processing buffer {"connection_id":194132,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:19:05] local.INFO: IMEI packet received {"connection_id":194132,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":194132,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:19:07] local.INFO: TCP Data received {"connection_id":194132,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194132,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:19:07] local.INFO: Processing buffer {"connection_id":194132,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:19:07] local.INFO: IMEI packet received {"connection_id":194132,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":194132,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:19:21] local.INFO: TCP Data received {"connection_id":192861,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d304a4a0012d196a00071fec30003e011228..."} 
[2026-09-24 16:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d304a4a0012d196a00071fec30003e011228..."} 
[2026-09-24 16:19:21] local.INFO: Processing buffer {"connection_id":192861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d304a4a0012d196a00071fec30003e011228..."} 
[2026-09-24 16:19:21] local.INFO: Packet analysis {"connection_id":192861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d304"} 
[2026-09-24 16:19:21] local.INFO: Extracted packet for processing {"connection_id":192861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d304"} 
[2026-09-24 16:19:21] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303147776001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790246692000,"timestamp_ms":1790246692000,"timestamp_seconds":1790246692,"priority":1,"record_length":96,"hex_timestamp":"000001a0d304a4a0"} 
[2026-09-24 16:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:19: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-09-24 16: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":192861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":192861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":192861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303147776001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303147776001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:19:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:19:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303147776001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":192861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:19:22] local.INFO: GPS data processed {"connection_id":192861,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:19:22] local.INFO: Acknowledgment sent {"connection_id":192861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:19:28] local.INFO: TCP Data received {"connection_id":191476,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:19:28] local.INFO: Processing buffer {"connection_id":191476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:19:28] local.INFO: IMEI packet received {"connection_id":191476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":191476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:19:33] local.INFO: TCP Data received {"connection_id":191476,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:19:33] local.INFO: Processing buffer {"connection_id":191476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:19:33] local.INFO: IMEI packet received {"connection_id":191476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":191476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:19:34] local.INFO: TCP Data received {"connection_id":191476,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:19:34] local.INFO: Processing buffer {"connection_id":191476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:19:34] local.INFO: Packet analysis {"connection_id":191476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d306"} 
[2026-09-24 16:19:34] local.INFO: Extracted packet for processing {"connection_id":191476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d306"} 
[2026-09-24 16:19:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303099648001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790246784000,"timestamp_ms":1790246784000,"timestamp_seconds":1790246784,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3060c00"} 
[2026-09-24 16:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303099648001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303099648001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:19:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:19:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303099648001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":191476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:19:34] local.INFO: GPS data processed {"connection_id":191476,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:19:34] local.INFO: Acknowledgment sent {"connection_id":191476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:19:50] local.INFO: TCP Data received {"connection_id":191477,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:19:50] local.INFO: Processing buffer {"connection_id":191477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:19:50] local.INFO: IMEI packet received {"connection_id":191477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":191477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:19:54] local.INFO: TCP Data received {"connection_id":191477,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:19:54] local.INFO: Processing buffer {"connection_id":191477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:19:54] local.INFO: IMEI packet received {"connection_id":191477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":191477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:19:55] local.INFO: TCP Data received {"connection_id":191477,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d304f6a8012d196a00071fec30003e011227..."} 
[2026-09-24 16:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d304f6a8012d196a00071fec30003e011227..."} 
[2026-09-24 16:19:55] local.INFO: Processing buffer {"connection_id":191477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d304f6a8012d196a00071fec30003e011227..."} 
[2026-09-24 16:19:55] local.INFO: Packet analysis {"connection_id":191477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d304"} 
[2026-09-24 16:19:55] local.INFO: Extracted packet for processing {"connection_id":191477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d304"} 
[2026-09-24 16:19:55] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303153152001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790246713000,"timestamp_ms":1790246713000,"timestamp_seconds":1790246713,"priority":1,"record_length":96,"hex_timestamp":"000001a0d304f6a8"} 
[2026-09-24 16:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:19: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-09-24 16:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303153152001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303153152001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:19:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:19:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303153152001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":191477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:19:55] local.INFO: GPS data processed {"connection_id":191477,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:19:55] local.INFO: Acknowledgment sent {"connection_id":191477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:20:00] local.INFO: TCP Data received {"connection_id":191477,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30548b0012d196a00071fec30003e011227..."} 
[2026-09-24 16:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30548b0012d196a00071fec30003e011227..."} 
[2026-09-24 16:20:00] local.INFO: Processing buffer {"connection_id":191477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30548b0012d196a00071fec30003e011227..."} 
[2026-09-24 16:20:00] local.INFO: Packet analysis {"connection_id":191477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d305"} 
[2026-09-24 16:20:00] local.INFO: Extracted packet for processing {"connection_id":191477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d305"} 
[2026-09-24 16:20:00] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303158528001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790246734000,"timestamp_ms":1790246734000,"timestamp_seconds":1790246734,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30548b0"} 
[2026-09-24 16:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:20: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-09-24 16:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":191477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":191477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":191477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303158528001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303158528001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:20:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:20:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303158528001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":191477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:20:00] local.INFO: GPS data processed {"connection_id":191477,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:20:00] local.INFO: Acknowledgment sent {"connection_id":191477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:20:05] local.INFO: TCP Data received {"connection_id":191476,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:20:05] local.INFO: Processing buffer {"connection_id":191476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:20:05] local.INFO: Packet analysis {"connection_id":191476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d306"} 
[2026-09-24 16:20:05] local.INFO: Extracted packet for processing {"connection_id":191476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d306"} 
[2026-09-24 16:20:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303099648001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790246784000,"timestamp_ms":1790246784000,"timestamp_seconds":1790246784,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3060c00"} 
[2026-09-24 16:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303099648001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303099648001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:20:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:20:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303099648001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":191476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:20:05] local.INFO: GPS data processed {"connection_id":191476,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:20:05] local.INFO: Acknowledgment sent {"connection_id":191476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:20:28] local.INFO: TCP Data received {"connection_id":194133,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:20:28] local.INFO: Processing buffer {"connection_id":194133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:20:28] local.INFO: IMEI packet received {"connection_id":194133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":194133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:20:34] local.INFO: TCP Data received {"connection_id":194133,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:20:34] local.INFO: Processing buffer {"connection_id":194133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:20:34] local.INFO: IMEI packet received {"connection_id":194133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":194133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:20:35] local.INFO: TCP Data received {"connection_id":194133,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:20:35] local.INFO: Processing buffer {"connection_id":194133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:20:35] local.INFO: Packet analysis {"connection_id":194133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d306"} 
[2026-09-24 16:20:35] local.INFO: Extracted packet for processing {"connection_id":194133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d306"} 
[2026-09-24 16:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303099648001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790246784000,"timestamp_ms":1790246784000,"timestamp_seconds":1790246784,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3060c00"} 
[2026-09-24 16:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303099648001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303099648001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:20:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:20:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303099648001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":194133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:20:35] local.INFO: GPS data processed {"connection_id":194133,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:20:35] local.INFO: Acknowledgment sent {"connection_id":194133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:20:45] local.INFO: TCP Data received {"connection_id":191278,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:20:45] local.INFO: Processing buffer {"connection_id":191278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:20:45] local.INFO: IMEI packet received {"connection_id":191278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":191278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:20:45] local.INFO: TCP Data received {"connection_id":191278,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:20:45] local.INFO: Processing buffer {"connection_id":191278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:20:45] local.INFO: IMEI packet received {"connection_id":191278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":191278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:20:50] local.INFO: TCP Data received {"connection_id":191278,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:20:50] local.INFO: Processing buffer {"connection_id":191278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:20:50] local.INFO: IMEI packet received {"connection_id":191278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":191278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:20:51] local.INFO: TCP Data received {"connection_id":191278,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d308cf08012d196a00071fec30003e011227..."} 
[2026-09-24 16:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d308cf08012d196a00071fec30003e011227..."} 
[2026-09-24 16:20:51] local.INFO: Processing buffer {"connection_id":191278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d308cf08012d196a00071fec30003e011227..."} 
[2026-09-24 16:20:51] local.INFO: Packet analysis {"connection_id":191278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d308"} 
[2026-09-24 16:20:51] local.INFO: Extracted packet for processing {"connection_id":191278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d308"} 
[2026-09-24 16:20:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303217664001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790246965000,"timestamp_ms":1790246965000,"timestamp_seconds":1790246965,"priority":1,"record_length":96,"hex_timestamp":"000001a0d308cf08"} 
[2026-09-24 16:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303217664001,"66":12341,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303217664001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:20:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:20:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303217664001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":191278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:20:51] local.INFO: GPS data processed {"connection_id":191278,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:20:51] local.INFO: Acknowledgment sent {"connection_id":191278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:21:07] local.INFO: TCP Data received {"connection_id":194133,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:21:07] local.INFO: Processing buffer {"connection_id":194133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:21:07] local.INFO: Packet analysis {"connection_id":194133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d306"} 
[2026-09-24 16:21:07] local.INFO: Extracted packet for processing {"connection_id":194133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d306"} 
[2026-09-24 16:21:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303099648001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790246784000,"timestamp_ms":1790246784000,"timestamp_seconds":1790246784,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3060c00"} 
[2026-09-24 16:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":194133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":194133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":194133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303099648001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303099648001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:21:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:21:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303099648001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":194133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:21:07] local.INFO: GPS data processed {"connection_id":194133,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:21:07] local.INFO: Acknowledgment sent {"connection_id":194133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:21:22] local.INFO: TCP Data received {"connection_id":191278,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3092110012d196a00071fec30003e011227..."} 
[2026-09-24 16:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3092110012d196a00071fec30003e011227..."} 
[2026-09-24 16:21:22] local.INFO: Processing buffer {"connection_id":191278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3092110012d196a00071fec30003e011227..."} 
[2026-09-24 16:21:22] local.INFO: Packet analysis {"connection_id":191278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d309"} 
[2026-09-24 16:21:22] local.INFO: Extracted packet for processing {"connection_id":191278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d309"} 
[2026-09-24 16:21:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303223040001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790246986000,"timestamp_ms":1790246986000,"timestamp_seconds":1790246986,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3092110"} 
[2026-09-24 16:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:21: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-09-24 16:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 16:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303223040001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303223040001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:21:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:21:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303223040001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":191278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:21:22] local.INFO: GPS data processed {"connection_id":191278,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:21:22] local.INFO: Acknowledgment sent {"connection_id":191278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:21:33] local.INFO: TCP Data received {"connection_id":194134,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:21:33] local.INFO: Processing buffer {"connection_id":194134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:21:33] local.INFO: IMEI packet received {"connection_id":194134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":194134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:21:38] local.INFO: TCP Data received {"connection_id":194134,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:21:38] local.INFO: Processing buffer {"connection_id":194134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:21:38] local.INFO: IMEI packet received {"connection_id":194134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":194134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:21:39] local.INFO: TCP Data received {"connection_id":194134,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:21:39] local.INFO: Processing buffer {"connection_id":194134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:21:39] local.INFO: Packet analysis {"connection_id":194134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d306"} 
[2026-09-24 16:21:39] local.INFO: Extracted packet for processing {"connection_id":194134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d306"} 
[2026-09-24 16:21:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303099648001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790246784000,"timestamp_ms":1790246784000,"timestamp_seconds":1790246784,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3060c00"} 
[2026-09-24 16:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303099648001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303099648001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:21:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:21:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303099648001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":194134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:21:39] local.INFO: GPS data processed {"connection_id":194134,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:21:39] local.INFO: Acknowledgment sent {"connection_id":194134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:21:44] local.INFO: TCP Data received {"connection_id":194134,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:21:44] local.INFO: Processing buffer {"connection_id":194134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3060c00012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:21:44] local.INFO: Packet analysis {"connection_id":194134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d306"} 
[2026-09-24 16:21:44] local.INFO: Extracted packet for processing {"connection_id":194134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d306"} 
[2026-09-24 16:21:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303099648001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790246784000,"timestamp_ms":1790246784000,"timestamp_seconds":1790246784,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3060c00"} 
[2026-09-24 16:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303099648001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303099648001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:21:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:21:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303099648001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":194134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:21:44] local.INFO: GPS data processed {"connection_id":194134,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:21:44] local.INFO: Acknowledgment sent {"connection_id":194134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:21:45] local.INFO: TCP Data received {"connection_id":194135,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:21:45] local.INFO: Processing buffer {"connection_id":194135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:21:45] local.INFO: IMEI packet received {"connection_id":194135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":194135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:21:48] local.INFO: TCP Data received {"connection_id":194135,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:21:48] local.INFO: Processing buffer {"connection_id":194135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:21:48] local.INFO: IMEI packet received {"connection_id":194135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":194135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:21:49] local.INFO: TCP Data received {"connection_id":194135,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3097318012d196a00071fec30003e011227..."} 
[2026-09-24 16:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3097318012d196a00071fec30003e011227..."} 
[2026-09-24 16:21:49] local.INFO: Processing buffer {"connection_id":194135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3097318012d196a00071fec30003e011227..."} 
[2026-09-24 16:21:49] local.INFO: Packet analysis {"connection_id":194135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d309"} 
[2026-09-24 16:21:49] local.INFO: Extracted packet for processing {"connection_id":194135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d309"} 
[2026-09-24 16:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303228416001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790247007000,"timestamp_ms":1790247007000,"timestamp_seconds":1790247007,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3097318"} 
[2026-09-24 16:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:21: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-09-24 16:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":194135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":194135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":194135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303228416001,"66":12374,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303228416001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:21:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:21:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303228416001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":194135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:21:49] local.INFO: GPS data processed {"connection_id":194135,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:21:49] local.INFO: Acknowledgment sent {"connection_id":194135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:22:20] local.INFO: TCP Data received {"connection_id":194135,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d309c520012d196a00071fec30003e011229..."} 
[2026-09-24 16:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d309c520012d196a00071fec30003e011229..."} 
[2026-09-24 16:22:20] local.INFO: Processing buffer {"connection_id":194135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d309c520012d196a00071fec30003e011229..."} 
[2026-09-24 16:22:20] local.INFO: Packet analysis {"connection_id":194135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d309"} 
[2026-09-24 16:22:20] local.INFO: Extracted packet for processing {"connection_id":194135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d309"} 
[2026-09-24 16:22:20] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303233792001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790247028000,"timestamp_ms":1790247028000,"timestamp_seconds":1790247028,"priority":1,"record_length":96,"hex_timestamp":"000001a0d309c520"} 
[2026-09-24 16:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:22: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-09-24 16:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-24 16:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":194135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":194135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":194135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303233792001,"66":12363,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303233792001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:22:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:22:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303233792001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":194135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:22:20] local.INFO: GPS data processed {"connection_id":194135,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:22:20] local.INFO: Acknowledgment sent {"connection_id":194135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:22:28] local.INFO: TCP Data received {"connection_id":191279,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:22:28] local.INFO: Processing buffer {"connection_id":191279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:22:28] local.INFO: IMEI packet received {"connection_id":191279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":191279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:22:33] local.INFO: TCP Data received {"connection_id":191279,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:22:33] local.INFO: Processing buffer {"connection_id":191279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:22:33] local.INFO: IMEI packet received {"connection_id":191279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":191279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:22:34] local.INFO: TCP Data received {"connection_id":191279,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:22:34] local.INFO: Processing buffer {"connection_id":191279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:22:34] local.INFO: Packet analysis {"connection_id":191279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:22:34] local.INFO: Extracted packet for processing {"connection_id":191279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:22:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303176704001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790247085000,"timestamp_ms":1790247085000,"timestamp_seconds":1790247085,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30aa3c8"} 
[2026-09-24 16:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303176704001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303176704001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:22:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:22:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303176704001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":191279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:22:34] local.INFO: GPS data processed {"connection_id":191279,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:22:34] local.INFO: Acknowledgment sent {"connection_id":191279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:22:45] local.INFO: TCP Data received {"connection_id":191280,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:22:45] local.INFO: Processing buffer {"connection_id":191280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:22:45] local.INFO: IMEI packet received {"connection_id":191280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":191280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:22:50] local.INFO: TCP Data received {"connection_id":191280,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:22:50] local.INFO: Processing buffer {"connection_id":191280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:22:50] local.INFO: IMEI packet received {"connection_id":191280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":191280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:22:51] local.INFO: TCP Data received {"connection_id":191280,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30a1728012d196a00071fec30003e011228..."} 
[2026-09-24 16:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30a1728012d196a00071fec30003e011228..."} 
[2026-09-24 16:22:51] local.INFO: Processing buffer {"connection_id":191280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30a1728012d196a00071fec30003e011228..."} 
[2026-09-24 16:22:51] local.INFO: Packet analysis {"connection_id":191280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:22:51] local.INFO: Extracted packet for processing {"connection_id":191280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:22:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303239168001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790247049000,"timestamp_ms":1790247049000,"timestamp_seconds":1790247049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30a1728"} 
[2026-09-24 16:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-24 16:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303239168001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303239168001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:22:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:22:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303239168001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":191280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:22:51] local.INFO: GPS data processed {"connection_id":191280,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:22:51] local.INFO: Acknowledgment sent {"connection_id":191280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:23:06] local.INFO: TCP Data received {"connection_id":191279,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:23:06] local.INFO: Processing buffer {"connection_id":191279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:23:06] local.INFO: Packet analysis {"connection_id":191279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:23:06] local.INFO: Extracted packet for processing {"connection_id":191279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:23:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303176704001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790247085000,"timestamp_ms":1790247085000,"timestamp_seconds":1790247085,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30aa3c8"} 
[2026-09-24 16:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303176704001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303176704001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:23:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:23:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303176704001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":191279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:23:06] local.INFO: GPS data processed {"connection_id":191279,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:23:06] local.INFO: Acknowledgment sent {"connection_id":191279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:23:22] local.INFO: TCP Data received {"connection_id":191280,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30a6930012d196a00071fec30003e011229..."} 
[2026-09-24 16:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30a6930012d196a00071fec30003e011229..."} 
[2026-09-24 16:23:22] local.INFO: Processing buffer {"connection_id":191280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30a6930012d196a00071fec30003e011229..."} 
[2026-09-24 16:23:22] local.INFO: Packet analysis {"connection_id":191280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:23:22] local.INFO: Extracted packet for processing {"connection_id":191280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:23:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:23: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-09-24 16:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303244544001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790247070000,"timestamp_ms":1790247070000,"timestamp_seconds":1790247070,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30a6930"} 
[2026-09-24 16:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:23: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-09-24 16:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:23: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-09-24 16:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303244544001,"66":12374,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303244544001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:23:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:23:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303244544001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":191280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:23:22] local.INFO: GPS data processed {"connection_id":191280,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:23:22] local.INFO: Acknowledgment sent {"connection_id":191280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:23:28] local.INFO: TCP Data received {"connection_id":191480,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:23:28] local.INFO: Processing buffer {"connection_id":191480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:23:28] local.INFO: IMEI packet received {"connection_id":191480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":191480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:23:33] local.INFO: TCP Data received {"connection_id":191480,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:23:33] local.INFO: Processing buffer {"connection_id":191480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:23:33] local.INFO: IMEI packet received {"connection_id":191480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":191480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:23:34] local.INFO: TCP Data received {"connection_id":191480,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:23:34] local.INFO: Processing buffer {"connection_id":191480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:23:34] local.INFO: Packet analysis {"connection_id":191480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:23:34] local.INFO: Extracted packet for processing {"connection_id":191480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:23:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303176704001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790247085000,"timestamp_ms":1790247085000,"timestamp_seconds":1790247085,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30aa3c8"} 
[2026-09-24 16:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303176704001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303176704001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:23:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:23:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303176704001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":191480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:23:34] local.INFO: GPS data processed {"connection_id":191480,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:23:34] local.INFO: Acknowledgment sent {"connection_id":191480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:23:44] local.INFO: TCP Data received {"connection_id":192862,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:23:44] local.INFO: Processing buffer {"connection_id":192862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:23:44] local.INFO: IMEI packet received {"connection_id":192862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":192862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:23:50] local.INFO: TCP Data received {"connection_id":192862,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:23:50] local.INFO: Processing buffer {"connection_id":192862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:23:50] local.INFO: IMEI packet received {"connection_id":192862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":192862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:23:51] local.INFO: TCP Data received {"connection_id":192862,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30abb38012d196a00071fec30003e011227..."} 
[2026-09-24 16:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30abb38012d196a00071fec30003e011227..."} 
[2026-09-24 16:23:51] local.INFO: Processing buffer {"connection_id":192862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30abb38012d196a00071fec30003e011227..."} 
[2026-09-24 16:23:51] local.INFO: Packet analysis {"connection_id":192862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:23:51] local.INFO: Extracted packet for processing {"connection_id":192862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:23:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303249920001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790247091000,"timestamp_ms":1790247091000,"timestamp_seconds":1790247091,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30abb38"} 
[2026-09-24 16:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-24 16:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303249920001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303249920001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:23:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:23:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303249920001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":192862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:23:51] local.INFO: GPS data processed {"connection_id":192862,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:23:51] local.INFO: Acknowledgment sent {"connection_id":192862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:24:06] local.INFO: TCP Data received {"connection_id":191480,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:24:06] local.INFO: Processing buffer {"connection_id":191480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:24:06] local.INFO: Packet analysis {"connection_id":191480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:24:06] local.INFO: Extracted packet for processing {"connection_id":191480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303176704001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790247085000,"timestamp_ms":1790247085000,"timestamp_seconds":1790247085,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30aa3c8"} 
[2026-09-24 16:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303176704001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303176704001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:24:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303176704001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":191480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:24:06] local.INFO: GPS data processed {"connection_id":191480,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:24:06] local.INFO: Acknowledgment sent {"connection_id":191480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:24:08] local.INFO: TCP Data received {"connection_id":191281,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191281,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:24:08] local.INFO: Processing buffer {"connection_id":191281,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:24:08] local.INFO: IMEI packet received {"connection_id":191281,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":191281,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:24:09] local.INFO: TCP Data received {"connection_id":191281,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30cc2c0012d0da9c00705cee0001600601b..."} 
[2026-09-24 16:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30cc2c0012d0da9c00705cee0001600601b..."} 
[2026-09-24 16:24:09] local.INFO: Processing buffer {"connection_id":191281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30cc2c0012d0da9c00705cee0001600601b..."} 
[2026-09-24 16:24:09] local.INFO: Packet analysis {"connection_id":191281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30c"} 
[2026-09-24 16:24:09] local.INFO: Extracted packet for processing {"connection_id":191281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30c"} 
[2026-09-24 16:24:09] local.INFO: GPS Element Parsed {"raw_longitude":755870144,"raw_latitude":117821152,"longitude_deg":75.5870144,"latitude_deg":11.7821152,"altitude":22,"angle":96,"satellites":27,"speed":20,"hex_longitude":"2d0da9c0","hex_latitude":"0705cee0","is_valid_coordinates":true} 
[2026-09-24 16:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303289088001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33682692608360448,"note":"Value kept but may cause issues"} 
[2026-09-24 16:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":983895811254339584,"note":"Value kept but may cause issues"} 
[2026-09-24 16:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790247224000,"timestamp_ms":1790247224000,"timestamp_seconds":1790247224,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30cc2c0"} 
[2026-09-24 16:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 16:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191281,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191281,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303289088001,"66":14439,"167":206,"94":11008,"24":20,"16":33682692608360448,"45":983895811254339584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-24 16:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303289088001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:24:09] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-24 16:24:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 16:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33682692608360448,"km_value":33682692608360.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":983895811254339584,"description":"Unknown IO ID 45"} 
[2026-09-24 16:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303289088001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":983895811254339584}} 
[2026-09-24 16:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":191281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890718,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:24:09] local.INFO: GPS data processed {"connection_id":191281,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:24:09] local.INFO: Acknowledgment sent {"connection_id":191281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:24:11] local.INFO: TCP Data received {"connection_id":192863,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:24:11] local.INFO: Processing buffer {"connection_id":192863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:24:11] local.INFO: IMEI packet received {"connection_id":192863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 16:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":192863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:24:22] local.INFO: TCP Data received {"connection_id":192862,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30b0d40012d196a00071fec30003e011229..."} 
[2026-09-24 16:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30b0d40012d196a00071fec30003e011229..."} 
[2026-09-24 16:24:22] local.INFO: Processing buffer {"connection_id":192862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30b0d40012d196a00071fec30003e011229..."} 
[2026-09-24 16:24:22] local.INFO: Packet analysis {"connection_id":192862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30b"} 
[2026-09-24 16:24:22] local.INFO: Extracted packet for processing {"connection_id":192862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30b"} 
[2026-09-24 16:24:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303255296001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790247112000,"timestamp_ms":1790247112000,"timestamp_seconds":1790247112,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30b0d40"} 
[2026-09-24 16:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:24: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-09-24 16:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303255296001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303255296001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:24:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:24:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303255296001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":192862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:24:22] local.INFO: GPS data processed {"connection_id":192862,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:24:22] local.INFO: Acknowledgment sent {"connection_id":192862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:24:28] local.INFO: TCP Data received {"connection_id":191282,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:24:28] local.INFO: Processing buffer {"connection_id":191282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:24:28] local.INFO: IMEI packet received {"connection_id":191282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":191282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:24:33] local.INFO: TCP Data received {"connection_id":191282,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:24:33] local.INFO: Processing buffer {"connection_id":191282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:24:33] local.INFO: IMEI packet received {"connection_id":191282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":191282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:24:34] local.INFO: TCP Data received {"connection_id":191282,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:24:34] local.INFO: Processing buffer {"connection_id":191282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:24:34] local.INFO: Packet analysis {"connection_id":191282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:24:34] local.INFO: Extracted packet for processing {"connection_id":191282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:24:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303176704001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790247085000,"timestamp_ms":1790247085000,"timestamp_seconds":1790247085,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30aa3c8"} 
[2026-09-24 16:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303176704001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303176704001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:24:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:24:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303176704001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":191282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:24:34] local.INFO: GPS data processed {"connection_id":191282,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:24:34] local.INFO: Acknowledgment sent {"connection_id":191282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:24:40] local.INFO: TCP Data received {"connection_id":191281,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30cca90012d0dae800705cf30001600511c..."} 
[2026-09-24 16:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30cca90012d0dae800705cf30001600511c..."} 
[2026-09-24 16:24:40] local.INFO: Processing buffer {"connection_id":191281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30cca90012d0dae800705cf30001600511c..."} 
[2026-09-24 16:24:40] local.INFO: Packet analysis {"connection_id":191281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30c"} 
[2026-09-24 16:24:40] local.INFO: Extracted packet for processing {"connection_id":191281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30c"} 
[2026-09-24 16:24:40] local.INFO: GPS Element Parsed {"raw_longitude":755871360,"raw_latitude":117821232,"longitude_deg":75.587136,"latitude_deg":11.7821232,"altitude":22,"angle":81,"satellites":28,"speed":26,"hex_longitude":"2d0dae80","hex_latitude":"0705cf30","is_valid_coordinates":true} 
[2026-09-24 16:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303289344001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33682752737902592,"note":"Value kept but may cause issues"} 
[2026-09-24 16:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":984529129951911936,"note":"Value kept but may cause issues"} 
[2026-09-24 16:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790247226000,"timestamp_ms":1790247226000,"timestamp_seconds":1790247226,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30cca90"} 
[2026-09-24 16:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:24:40] 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-09-24 16:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 16:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191281,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191281,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303289344001,"66":14407,"167":206,"94":11008,"24":26,"16":33682752737902592,"45":984529129951911936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-24 16:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303289344001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:24:40] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-24 16:24:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 16:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33682752737902592,"km_value":33682752737902.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":984529129951911936,"description":"Unknown IO ID 45"} 
[2026-09-24 16:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303289344001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":984529129951911936}} 
[2026-09-24 16:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":191281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890721,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:24:40] local.INFO: GPS data processed {"connection_id":191281,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:24:40] local.INFO: Acknowledgment sent {"connection_id":191281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:24:44] local.INFO: TCP Data received {"connection_id":191283,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:24:44] local.INFO: Processing buffer {"connection_id":191283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:24:44] local.INFO: IMEI packet received {"connection_id":191283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":191283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:24:50] local.INFO: TCP Data received {"connection_id":191283,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:24:50] local.INFO: Processing buffer {"connection_id":191283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:24:50] local.INFO: IMEI packet received {"connection_id":191283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":191283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:24:51] local.INFO: TCP Data received {"connection_id":191283,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30b5f48012d196a00071fec30003e011229..."} 
[2026-09-24 16:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30b5f48012d196a00071fec30003e011229..."} 
[2026-09-24 16:24:51] local.INFO: Processing buffer {"connection_id":191283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30b5f48012d196a00071fec30003e011229..."} 
[2026-09-24 16:24:51] local.INFO: Packet analysis {"connection_id":191283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30b"} 
[2026-09-24 16:24:51] local.INFO: Extracted packet for processing {"connection_id":191283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30b"} 
[2026-09-24 16:24:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303260672001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790247133000,"timestamp_ms":1790247133000,"timestamp_seconds":1790247133,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30b5f48"} 
[2026-09-24 16:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303260672001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303260672001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:24:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:24:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303260672001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":191283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:24:51] local.INFO: GPS data processed {"connection_id":191283,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:24:51] local.INFO: Acknowledgment sent {"connection_id":191283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:25:04] local.INFO: TCP Data received {"connection_id":194138,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194138,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:25:04] local.INFO: Processing buffer {"connection_id":194138,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:25:04] local.INFO: IMEI packet received {"connection_id":194138,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":194138,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:25:04] local.INFO: TCP Data received {"connection_id":194138,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194138,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:25:04] local.INFO: Processing buffer {"connection_id":194138,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:25:04] local.INFO: IMEI packet received {"connection_id":194138,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":194138,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:25:07] local.INFO: TCP Data received {"connection_id":191282,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:25:07] local.INFO: Processing buffer {"connection_id":191282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:25:07] local.INFO: Packet analysis {"connection_id":191282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:25:07] local.INFO: Extracted packet for processing {"connection_id":191282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:25:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303176704001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790247085000,"timestamp_ms":1790247085000,"timestamp_seconds":1790247085,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30aa3c8"} 
[2026-09-24 16:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303176704001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303176704001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:25:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:25:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303176704001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":191282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:25:07] local.INFO: GPS data processed {"connection_id":191282,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:25:07] local.INFO: Acknowledgment sent {"connection_id":191282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:25:09] local.INFO: TCP Data received {"connection_id":194138,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194138,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:25:09] local.INFO: Processing buffer {"connection_id":194138,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:25:09] local.INFO: IMEI packet received {"connection_id":194138,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":194138,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:25:10] local.INFO: TCP Data received {"connection_id":194138,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30da550012d0e56000705cfd00018003e1a..."} 
[2026-09-24 16:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30da550012d0e56000705cfd00018003e1a..."} 
[2026-09-24 16:25:10] local.INFO: Processing buffer {"connection_id":194138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30da550012d0e56000705cfd00018003e1a..."} 
[2026-09-24 16:25:10] local.INFO: Packet analysis {"connection_id":194138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30d"} 
[2026-09-24 16:25:10] local.INFO: Extracted packet for processing {"connection_id":194138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30d"} 
[2026-09-24 16:25:10] local.INFO: GPS Element Parsed {"raw_longitude":755914240,"raw_latitude":117821392,"longitude_deg":75.591424,"latitude_deg":11.7821392,"altitude":24,"angle":62,"satellites":26,"speed":25,"hex_longitude":"2d0e5600","hex_latitude":"0705cfd0","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303303680001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33684814322204672,"note":"Value kept but may cause issues"} 
[2026-09-24 16:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1031676188550883328,"note":"Value kept but may cause issues"} 
[2026-09-24 16:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790247282000,"timestamp_ms":1790247282000,"timestamp_seconds":1790247282,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30da550"} 
[2026-09-24 16:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-24 16:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":194138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":194138,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":194138,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303303680001,"66":14428,"167":206,"94":11008,"24":25,"16":33684814322204672,"45":1031676188550883328},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-24 16:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303303680001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:25:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-24 16:25:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 16:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33684814322204672,"km_value":33684814322204.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1031676188550883328,"description":"Unknown IO ID 45"} 
[2026-09-24 16:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303303680001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":1031676188550883328}} 
[2026-09-24 16:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":194138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890724,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:25:10] local.INFO: GPS data processed {"connection_id":194138,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:25:10] local.INFO: Acknowledgment sent {"connection_id":194138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:25:22] local.INFO: TCP Data received {"connection_id":191283,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30bb150012d196a00071fec30003e01122a..."} 
[2026-09-24 16:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30bb150012d196a00071fec30003e01122a..."} 
[2026-09-24 16:25:22] local.INFO: Processing buffer {"connection_id":191283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30bb150012d196a00071fec30003e01122a..."} 
[2026-09-24 16:25:22] local.INFO: Packet analysis {"connection_id":191283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30b"} 
[2026-09-24 16:25:22] local.INFO: Extracted packet for processing {"connection_id":191283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30b"} 
[2026-09-24 16:25:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303266048001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790247154000,"timestamp_ms":1790247154000,"timestamp_seconds":1790247154,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30bb150"} 
[2026-09-24 16:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:25: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-09-24 16:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303266048001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303266048001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:25:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:25:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303266048001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":191283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:25:22] local.INFO: GPS data processed {"connection_id":191283,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:25:22] local.INFO: Acknowledgment sent {"connection_id":191283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:25:28] local.INFO: TCP Data received {"connection_id":191482,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:25:28] local.INFO: Processing buffer {"connection_id":191482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:25:28] local.INFO: IMEI packet received {"connection_id":191482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":191482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:25:33] local.INFO: TCP Data received {"connection_id":191482,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:25:33] local.INFO: Processing buffer {"connection_id":191482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:25:33] local.INFO: IMEI packet received {"connection_id":191482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":191482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:25:34] local.INFO: TCP Data received {"connection_id":191482,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:25:34] local.INFO: Processing buffer {"connection_id":191482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:25:34] local.INFO: Packet analysis {"connection_id":191482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:25:34] local.INFO: Extracted packet for processing {"connection_id":191482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:25:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303176704001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790247085000,"timestamp_ms":1790247085000,"timestamp_seconds":1790247085,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30aa3c8"} 
[2026-09-24 16:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303176704001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303176704001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:25:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:25:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303176704001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":191482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:25:34] local.INFO: GPS data processed {"connection_id":191482,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:25:34] local.INFO: Acknowledgment sent {"connection_id":191482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:25:41] local.INFO: TCP Data received {"connection_id":194138,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30db4f0012d0e5f400705d3b80018005018..."} 
[2026-09-24 16:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30db4f0012d0e5f400705d3b80018005018..."} 
[2026-09-24 16:25:41] local.INFO: Processing buffer {"connection_id":194138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30db4f0012d0e5f400705d3b80018005018..."} 
[2026-09-24 16:25:41] local.INFO: Packet analysis {"connection_id":194138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30d"} 
[2026-09-24 16:25:41] local.INFO: Extracted packet for processing {"connection_id":194138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30d"} 
[2026-09-24 16:25:41] local.INFO: GPS Element Parsed {"raw_longitude":755916608,"raw_latitude":117822392,"longitude_deg":75.5916608,"latitude_deg":11.7822392,"altitude":24,"angle":80,"satellites":24,"speed":22,"hex_longitude":"2d0e5f40","hex_latitude":"0705d3b8","is_valid_coordinates":true} 
[2026-09-24 16:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303304192001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33684938876256256,"note":"Value kept but may cause issues"} 
[2026-09-24 16:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1033013194690383872,"note":"Value kept but may cause issues"} 
[2026-09-24 16:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790247286000,"timestamp_ms":1790247286000,"timestamp_seconds":1790247286,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30db4f0"} 
[2026-09-24 16:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:25:41] 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-09-24 16:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-24 16:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":194138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":194138,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":194138,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303304192001,"66":13787,"167":206,"94":11008,"24":22,"16":33684938876256256,"45":1033013194690383872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-24 16:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303304192001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:25:41] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-24 16:25:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 16:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33684938876256256,"km_value":33684938876256.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1033013194690383872,"description":"Unknown IO ID 45"} 
[2026-09-24 16:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303304192001,"power":13787,"unknown_167":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":1033013194690383872}} 
[2026-09-24 16:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":194138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890727,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:25:42] local.INFO: GPS data processed {"connection_id":194138,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:25:42] local.INFO: Acknowledgment sent {"connection_id":194138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:25:50] local.INFO: TCP Data received {"connection_id":191483,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:25:50] local.INFO: Processing buffer {"connection_id":191483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:25:50] local.INFO: IMEI packet received {"connection_id":191483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":191483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:25:54] local.INFO: TCP Data received {"connection_id":191483,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:25:54] local.INFO: Processing buffer {"connection_id":191483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:25:54] local.INFO: IMEI packet received {"connection_id":191483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":191483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:25:55] local.INFO: TCP Data received {"connection_id":191483,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30c0358012d196a00071fec30003e011229..."} 
[2026-09-24 16:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30c0358012d196a00071fec30003e011229..."} 
[2026-09-24 16:25:55] local.INFO: Processing buffer {"connection_id":191483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30c0358012d196a00071fec30003e011229..."} 
[2026-09-24 16:25:55] local.INFO: Packet analysis {"connection_id":191483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30c"} 
[2026-09-24 16:25:55] local.INFO: Extracted packet for processing {"connection_id":191483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30c"} 
[2026-09-24 16:25:55] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303271424001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790247175000,"timestamp_ms":1790247175000,"timestamp_seconds":1790247175,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30c0358"} 
[2026-09-24 16:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:25: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-09-24 16: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303271424001,"66":12341,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303271424001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:25:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:25:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303271424001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":191483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:25:55] local.INFO: GPS data processed {"connection_id":191483,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:25:55] local.INFO: Acknowledgment sent {"connection_id":191483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:26:00] local.INFO: TCP Data received {"connection_id":191483,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30c5560012d196a00071fec30003e011229..."} 
[2026-09-24 16:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30c5560012d196a00071fec30003e011229..."} 
[2026-09-24 16:26:00] local.INFO: Processing buffer {"connection_id":191483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30c5560012d196a00071fec30003e011229..."} 
[2026-09-24 16:26:00] local.INFO: Packet analysis {"connection_id":191483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30c"} 
[2026-09-24 16:26:00] local.INFO: Extracted packet for processing {"connection_id":191483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30c"} 
[2026-09-24 16:26:00] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303276800001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790247196000,"timestamp_ms":1790247196000,"timestamp_seconds":1790247196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30c5560"} 
[2026-09-24 16:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:26: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-09-24 16: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 16:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":191483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":191483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":191483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303276800001,"66":12113,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303276800001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:26:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:26:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303276800001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":191483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:26:01] local.INFO: GPS data processed {"connection_id":191483,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:26:01] local.INFO: Acknowledgment sent {"connection_id":191483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:26:02] local.INFO: TCP Data received {"connection_id":192864,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192864,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:26:02] local.INFO: Processing buffer {"connection_id":192864,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:26:02] local.INFO: IMEI packet received {"connection_id":192864,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":192864,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:26:03] local.INFO: TCP Data received {"connection_id":192864,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192864,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:26:03] local.INFO: Processing buffer {"connection_id":192864,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:26:03] local.INFO: IMEI packet received {"connection_id":192864,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":192864,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:26:04] local.INFO: TCP Data received {"connection_id":192864,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192864,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:26:04] local.INFO: Processing buffer {"connection_id":192864,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:26:04] local.INFO: IMEI packet received {"connection_id":192864,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":192864,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:26:05] local.INFO: TCP Data received {"connection_id":191482,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:26:05] local.INFO: Processing buffer {"connection_id":191482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:26:05] local.INFO: Packet analysis {"connection_id":191482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:26:05] local.INFO: Extracted packet for processing {"connection_id":191482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:26:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303176704001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790247085000,"timestamp_ms":1790247085000,"timestamp_seconds":1790247085,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30aa3c8"} 
[2026-09-24 16:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303176704001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303176704001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:26:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:26:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303176704001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":191482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:26:05] local.INFO: GPS data processed {"connection_id":191482,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:26:05] local.INFO: Acknowledgment sent {"connection_id":191482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:26:05] local.INFO: TCP Data received {"connection_id":192864,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192864,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:26:05] local.INFO: Processing buffer {"connection_id":192864,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:26:05] local.INFO: IMEI packet received {"connection_id":192864,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":192864,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:26:34] local.INFO: TCP Data received {"connection_id":194139,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:26:34] local.INFO: Processing buffer {"connection_id":194139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:26:34] local.INFO: IMEI packet received {"connection_id":194139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":194139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:26:38] local.INFO: TCP Data received {"connection_id":194139,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:26:38] local.INFO: Processing buffer {"connection_id":194139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:26:38] local.INFO: IMEI packet received {"connection_id":194139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":194139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:26:41] local.INFO: TCP Data received {"connection_id":194139,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:26:41] local.INFO: Processing buffer {"connection_id":194139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:26:41] local.INFO: Packet analysis {"connection_id":194139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:26:41] local.INFO: Extracted packet for processing {"connection_id":194139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:26:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303176704001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790247085000,"timestamp_ms":1790247085000,"timestamp_seconds":1790247085,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30aa3c8"} 
[2026-09-24 16:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":194139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":194139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":194139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303176704001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303176704001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:26:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:26:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303176704001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":194139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:26:41] local.INFO: GPS data processed {"connection_id":194139,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:26:41] local.INFO: Acknowledgment sent {"connection_id":194139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:26:42] local.INFO: TCP Data received {"connection_id":192865,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:26:42] local.INFO: Processing buffer {"connection_id":192865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:26:42] local.INFO: IMEI packet received {"connection_id":192865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":192865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:26:43] local.INFO: TCP Data received {"connection_id":194139,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:26:43] local.INFO: Processing buffer {"connection_id":194139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30aa3c8012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:26:43] local.INFO: Packet analysis {"connection_id":194139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:26:43] local.INFO: Extracted packet for processing {"connection_id":194139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30a"} 
[2026-09-24 16:26:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303176704001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790247085000,"timestamp_ms":1790247085000,"timestamp_seconds":1790247085,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30aa3c8"} 
[2026-09-24 16:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":194139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":194139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":194139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303176704001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303176704001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:26:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:26:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303176704001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":194139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:26:43] local.INFO: GPS data processed {"connection_id":194139,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:26:43] local.INFO: Acknowledgment sent {"connection_id":194139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:26:45] local.INFO: TCP Data received {"connection_id":192865,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:26:45] local.INFO: Processing buffer {"connection_id":192865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:26:45] local.INFO: IMEI packet received {"connection_id":192865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":192865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:26:50] local.INFO: TCP Data received {"connection_id":192865,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:26:50] local.INFO: Processing buffer {"connection_id":192865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:26:50] local.INFO: IMEI packet received {"connection_id":192865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":192865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:26:51] local.INFO: TCP Data received {"connection_id":192865,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30ca768012d196a00071fec30003e011227..."} 
[2026-09-24 16:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30ca768012d196a00071fec30003e011227..."} 
[2026-09-24 16:26:51] local.INFO: Processing buffer {"connection_id":192865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30ca768012d196a00071fec30003e011227..."} 
[2026-09-24 16:26:51] local.INFO: Packet analysis {"connection_id":192865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30c"} 
[2026-09-24 16:26:51] local.INFO: Extracted packet for processing {"connection_id":192865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30c"} 
[2026-09-24 16:26:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303282176001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790247217000,"timestamp_ms":1790247217000,"timestamp_seconds":1790247217,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30ca768"} 
[2026-09-24 16:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-24 16:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303282176001,"66":12113,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303282176001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:26:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:26:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303282176001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":192865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:26:51] local.INFO: GPS data processed {"connection_id":192865,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:26:51] local.INFO: Acknowledgment sent {"connection_id":192865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:27:22] local.INFO: TCP Data received {"connection_id":192865,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30cf970012d196a00071fec30003e011229..."} 
[2026-09-24 16:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30cf970012d196a00071fec30003e011229..."} 
[2026-09-24 16:27:22] local.INFO: Processing buffer {"connection_id":192865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30cf970012d196a00071fec30003e011229..."} 
[2026-09-24 16:27:22] local.INFO: Packet analysis {"connection_id":192865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30c"} 
[2026-09-24 16:27:22] local.INFO: Extracted packet for processing {"connection_id":192865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30c"} 
[2026-09-24 16:27:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303287552001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790247238000,"timestamp_ms":1790247238000,"timestamp_seconds":1790247238,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30cf970"} 
[2026-09-24 16:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:27: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-09-24 16:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-24 16:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303287552001,"66":12374,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303287552001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:27:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:27:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303287552001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":192865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:27:22] local.INFO: GPS data processed {"connection_id":192865,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:27:22] local.INFO: Acknowledgment sent {"connection_id":192865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:27:28] local.INFO: TCP Data received {"connection_id":191285,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:27:28] local.INFO: Processing buffer {"connection_id":191285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:27:28] local.INFO: IMEI packet received {"connection_id":191285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":191285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:27:34] local.INFO: TCP Data received {"connection_id":191285,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:27:34] local.INFO: Processing buffer {"connection_id":191285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:27:34] local.INFO: IMEI packet received {"connection_id":191285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":191285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:27:35] local.INFO: TCP Data received {"connection_id":191285,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:27:35] local.INFO: Processing buffer {"connection_id":191285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:27:35] local.INFO: Packet analysis {"connection_id":191285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:27:35] local.INFO: Extracted packet for processing {"connection_id":191285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:27:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303253760001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790247386000,"timestamp_ms":1790247386000,"timestamp_seconds":1790247386,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30f3b90"} 
[2026-09-24 16:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:27: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-09-24 16:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303253760001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303253760001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:27:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:27:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303253760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":191285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:27:35] local.INFO: GPS data processed {"connection_id":191285,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:27:35] local.INFO: Acknowledgment sent {"connection_id":191285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:27:45] local.INFO: TCP Data received {"connection_id":191484,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:27:45] local.INFO: Processing buffer {"connection_id":191484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:27:45] local.INFO: IMEI packet received {"connection_id":191484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":191484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:27:45] local.INFO: TCP Data received {"connection_id":191484,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:27:45] local.INFO: Processing buffer {"connection_id":191484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:27:45] local.INFO: IMEI packet received {"connection_id":191484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":191484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:27:50] local.INFO: TCP Data received {"connection_id":191484,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:27:50] local.INFO: Processing buffer {"connection_id":191484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:27:50] local.INFO: IMEI packet received {"connection_id":191484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":191484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:27:51] local.INFO: TCP Data received {"connection_id":191484,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30d4b78012d196a00071fec30003e011228..."} 
[2026-09-24 16:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30d4b78012d196a00071fec30003e011228..."} 
[2026-09-24 16:27:51] local.INFO: Processing buffer {"connection_id":191484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30d4b78012d196a00071fec30003e011228..."} 
[2026-09-24 16:27:51] local.INFO: Packet analysis {"connection_id":191484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30d"} 
[2026-09-24 16:27:51] local.INFO: Extracted packet for processing {"connection_id":191484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30d"} 
[2026-09-24 16:27:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303292928001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790247259000,"timestamp_ms":1790247259000,"timestamp_seconds":1790247259,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30d4b78"} 
[2026-09-24 16:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-24 16:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303292928001,"66":12341,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303292928001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:27:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:27:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303292928001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":191484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:27:51] local.INFO: GPS data processed {"connection_id":191484,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:27:51] local.INFO: Acknowledgment sent {"connection_id":191484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:28:08] local.INFO: TCP Data received {"connection_id":191285,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:28:08] local.INFO: Processing buffer {"connection_id":191285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:28:08] local.INFO: Packet analysis {"connection_id":191285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:28:08] local.INFO: Extracted packet for processing {"connection_id":191285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303253760001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790247386000,"timestamp_ms":1790247386000,"timestamp_seconds":1790247386,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30f3b90"} 
[2026-09-24 16:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:28: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-09-24 16:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303253760001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303253760001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:28:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303253760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":191285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:28:08] local.INFO: GPS data processed {"connection_id":191285,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:28:08] local.INFO: Acknowledgment sent {"connection_id":191285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:28:22] local.INFO: TCP Data received {"connection_id":191484,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30d9d80012d196a00071fec30003e01122a..."} 
[2026-09-24 16:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30d9d80012d196a00071fec30003e01122a..."} 
[2026-09-24 16:28:22] local.INFO: Processing buffer {"connection_id":191484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30d9d80012d196a00071fec30003e01122a..."} 
[2026-09-24 16:28:22] local.INFO: Packet analysis {"connection_id":191484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30d"} 
[2026-09-24 16:28:22] local.INFO: Extracted packet for processing {"connection_id":191484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30d"} 
[2026-09-24 16:28:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303298304001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790247280000,"timestamp_ms":1790247280000,"timestamp_seconds":1790247280,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30d9d80"} 
[2026-09-24 16:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:28: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-09-24 16:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 16:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303298304001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303298304001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:28:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:28:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303298304001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":191484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:28:22] local.INFO: GPS data processed {"connection_id":191484,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:28:22] local.INFO: Acknowledgment sent {"connection_id":191484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:28:28] local.INFO: TCP Data received {"connection_id":192867,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:28:28] local.INFO: Processing buffer {"connection_id":192867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:28:28] local.INFO: IMEI packet received {"connection_id":192867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":192867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:28:33] local.INFO: TCP Data received {"connection_id":192867,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:28:33] local.INFO: Processing buffer {"connection_id":192867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:28:33] local.INFO: IMEI packet received {"connection_id":192867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":192867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:28:35] local.INFO: TCP Data received {"connection_id":192867,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:28:35] local.INFO: Processing buffer {"connection_id":192867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:28:35] local.INFO: Packet analysis {"connection_id":192867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:28:35] local.INFO: Extracted packet for processing {"connection_id":192867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:28:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303253760001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790247386000,"timestamp_ms":1790247386000,"timestamp_seconds":1790247386,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30f3b90"} 
[2026-09-24 16:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:28: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-09-24 16:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303253760001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303253760001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:28:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:28:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303253760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":192867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:28:35] local.INFO: GPS data processed {"connection_id":192867,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:28:35] local.INFO: Acknowledgment sent {"connection_id":192867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:28:45] local.INFO: TCP Data received {"connection_id":191485,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:28:45] local.INFO: Processing buffer {"connection_id":191485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:28:45] local.INFO: IMEI packet received {"connection_id":191485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":191485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:28:48] local.INFO: TCP Data received {"connection_id":191485,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:28:48] local.INFO: Processing buffer {"connection_id":191485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:28:48] local.INFO: IMEI packet received {"connection_id":191485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":191485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:28:49] local.INFO: TCP Data received {"connection_id":191485,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30def88012d196a00071fec30003e011228..."} 
[2026-09-24 16:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30def88012d196a00071fec30003e011228..."} 
[2026-09-24 16:28:49] local.INFO: Processing buffer {"connection_id":191485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30def88012d196a00071fec30003e011228..."} 
[2026-09-24 16:28:49] local.INFO: Packet analysis {"connection_id":191485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30d"} 
[2026-09-24 16:28:49] local.INFO: Extracted packet for processing {"connection_id":191485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30d"} 
[2026-09-24 16:28:49] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303303680001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790247301000,"timestamp_ms":1790247301000,"timestamp_seconds":1790247301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30def88"} 
[2026-09-24 16:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:28: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-09-24 16:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303303680001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303303680001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:28:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:28:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303303680001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":191485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:28:49] local.INFO: GPS data processed {"connection_id":191485,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:28:49] local.INFO: Acknowledgment sent {"connection_id":191485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:29:06] local.INFO: TCP Data received {"connection_id":192867,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:29:06] local.INFO: Processing buffer {"connection_id":192867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:29:06] local.INFO: Packet analysis {"connection_id":192867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:29:06] local.INFO: Extracted packet for processing {"connection_id":192867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:29:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303253760001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790247386000,"timestamp_ms":1790247386000,"timestamp_seconds":1790247386,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30f3b90"} 
[2026-09-24 16:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303253760001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303253760001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:29:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:29:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303253760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":192867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:29:06] local.INFO: GPS data processed {"connection_id":192867,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:29:06] local.INFO: Acknowledgment sent {"connection_id":192867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:29:20] local.INFO: TCP Data received {"connection_id":191485,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30e4190012d196a00071fec30003e011227..."} 
[2026-09-24 16:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30e4190012d196a00071fec30003e011227..."} 
[2026-09-24 16:29:20] local.INFO: Processing buffer {"connection_id":191485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30e4190012d196a00071fec30003e011227..."} 
[2026-09-24 16:29:20] local.INFO: Packet analysis {"connection_id":191485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30e"} 
[2026-09-24 16:29:20] local.INFO: Extracted packet for processing {"connection_id":191485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30e"} 
[2026-09-24 16:29:20] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303309056001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790247322000,"timestamp_ms":1790247322000,"timestamp_seconds":1790247322,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30e4190"} 
[2026-09-24 16:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:29: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-09-24 16:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303309056001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303309056001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:29:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:29:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303309056001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":191485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:29:20] local.INFO: GPS data processed {"connection_id":191485,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:29:20] local.INFO: Acknowledgment sent {"connection_id":191485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:29:28] local.INFO: TCP Data received {"connection_id":194141,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:29:28] local.INFO: Processing buffer {"connection_id":194141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:29:28] local.INFO: IMEI packet received {"connection_id":194141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":194141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:29:33] local.INFO: TCP Data received {"connection_id":194141,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:29:33] local.INFO: Processing buffer {"connection_id":194141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:29:33] local.INFO: IMEI packet received {"connection_id":194141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":194141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:29:34] local.INFO: TCP Data received {"connection_id":194141,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:29:34] local.INFO: Processing buffer {"connection_id":194141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:29:34] local.INFO: Packet analysis {"connection_id":194141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:29:34] local.INFO: Extracted packet for processing {"connection_id":194141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:29:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303253760001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790247386000,"timestamp_ms":1790247386000,"timestamp_seconds":1790247386,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30f3b90"} 
[2026-09-24 16:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303253760001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303253760001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:29:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:29:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303253760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":194141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:29:34] local.INFO: GPS data processed {"connection_id":194141,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:29:34] local.INFO: Acknowledgment sent {"connection_id":194141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:29:44] local.INFO: TCP Data received {"connection_id":191487,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:29:44] local.INFO: Processing buffer {"connection_id":191487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:29:44] local.INFO: IMEI packet received {"connection_id":191487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":191487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:29:50] local.INFO: TCP Data received {"connection_id":191487,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:29:50] local.INFO: Processing buffer {"connection_id":191487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:29:50] local.INFO: IMEI packet received {"connection_id":191487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":191487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:29:51] local.INFO: TCP Data received {"connection_id":191487,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30e9398012d196a00071fec30003e011226..."} 
[2026-09-24 16:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30e9398012d196a00071fec30003e011226..."} 
[2026-09-24 16:29:51] local.INFO: Processing buffer {"connection_id":191487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30e9398012d196a00071fec30003e011226..."} 
[2026-09-24 16:29:51] local.INFO: Packet analysis {"connection_id":191487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30e"} 
[2026-09-24 16:29:51] local.INFO: Extracted packet for processing {"connection_id":191487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30e"} 
[2026-09-24 16:29:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303314432001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790247343000,"timestamp_ms":1790247343000,"timestamp_seconds":1790247343,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30e9398"} 
[2026-09-24 16:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303314432001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303314432001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:29:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:29:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303314432001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":191487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:29:51] local.INFO: GPS data processed {"connection_id":191487,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:29:51] local.INFO: Acknowledgment sent {"connection_id":191487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:30:05] local.INFO: TCP Data received {"connection_id":194141,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:30:05] local.INFO: Processing buffer {"connection_id":194141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:30:05] local.INFO: Packet analysis {"connection_id":194141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:30:05] local.INFO: Extracted packet for processing {"connection_id":194141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:30:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303253760001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790247386000,"timestamp_ms":1790247386000,"timestamp_seconds":1790247386,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30f3b90"} 
[2026-09-24 16:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303253760001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303253760001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:30:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:30:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303253760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":194141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:30:05] local.INFO: GPS data processed {"connection_id":194141,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:30:05] local.INFO: Acknowledgment sent {"connection_id":194141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:30:07] local.INFO: TCP Data received {"connection_id":192868,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:30:07] local.INFO: Processing buffer {"connection_id":192868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:30:07] local.INFO: IMEI packet received {"connection_id":192868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 16:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":192868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:30:22] local.INFO: TCP Data received {"connection_id":191487,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30ee5a0012d196a00071fec30003e011227..."} 
[2026-09-24 16:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30ee5a0012d196a00071fec30003e011227..."} 
[2026-09-24 16:30:22] local.INFO: Processing buffer {"connection_id":191487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30ee5a0012d196a00071fec30003e011227..."} 
[2026-09-24 16:30:22] local.INFO: Packet analysis {"connection_id":191487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30e"} 
[2026-09-24 16:30:22] local.INFO: Extracted packet for processing {"connection_id":191487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30e"} 
[2026-09-24 16:30:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303319808001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790247364000,"timestamp_ms":1790247364000,"timestamp_seconds":1790247364,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30ee5a0"} 
[2026-09-24 16:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:30: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-09-24 16: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303319808001,"66":12374,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303319808001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:30:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:30:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303319808001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":191487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:30:22] local.INFO: GPS data processed {"connection_id":191487,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:30:22] local.INFO: Acknowledgment sent {"connection_id":191487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:30:28] local.INFO: TCP Data received {"connection_id":194143,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:30:28] local.INFO: Processing buffer {"connection_id":194143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:30:28] local.INFO: IMEI packet received {"connection_id":194143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":194143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:30:33] local.INFO: TCP Data received {"connection_id":194143,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:30:33] local.INFO: Processing buffer {"connection_id":194143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:30:33] local.INFO: IMEI packet received {"connection_id":194143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":194143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:30:34] local.INFO: TCP Data received {"connection_id":194143,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:30:34] local.INFO: Processing buffer {"connection_id":194143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:30:34] local.INFO: Packet analysis {"connection_id":194143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:30:34] local.INFO: Extracted packet for processing {"connection_id":194143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:30:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303253760001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790247386000,"timestamp_ms":1790247386000,"timestamp_seconds":1790247386,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30f3b90"} 
[2026-09-24 16:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303253760001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303253760001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:30:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:30:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303253760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":194143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:30:34] local.INFO: GPS data processed {"connection_id":194143,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:30:34] local.INFO: Acknowledgment sent {"connection_id":194143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:30:44] local.INFO: TCP Data received {"connection_id":191488,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:30:44] local.INFO: Processing buffer {"connection_id":191488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:30:44] local.INFO: IMEI packet received {"connection_id":191488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":191488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:30:50] local.INFO: TCP Data received {"connection_id":191488,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:30:50] local.INFO: Processing buffer {"connection_id":191488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:30:50] local.INFO: IMEI packet received {"connection_id":191488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":191488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:30:51] local.INFO: TCP Data received {"connection_id":191488,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30f37a8012d196a00071fec30003e011226..."} 
[2026-09-24 16:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30f37a8012d196a00071fec30003e011226..."} 
[2026-09-24 16:30:51] local.INFO: Processing buffer {"connection_id":191488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30f37a8012d196a00071fec30003e011226..."} 
[2026-09-24 16:30:51] local.INFO: Packet analysis {"connection_id":191488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:30:51] local.INFO: Extracted packet for processing {"connection_id":191488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:30:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303325184001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790247385000,"timestamp_ms":1790247385000,"timestamp_seconds":1790247385,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30f37a8"} 
[2026-09-24 16:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-24 16:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303325184001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303325184001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:30:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:30:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303325184001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":191488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:30:51] local.INFO: GPS data processed {"connection_id":191488,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:30:51] local.INFO: Acknowledgment sent {"connection_id":191488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:31:06] local.INFO: TCP Data received {"connection_id":194143,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:31:06] local.INFO: Processing buffer {"connection_id":194143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:31:06] local.INFO: Packet analysis {"connection_id":194143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:31:06] local.INFO: Extracted packet for processing {"connection_id":194143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303253760001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790247386000,"timestamp_ms":1790247386000,"timestamp_seconds":1790247386,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30f3b90"} 
[2026-09-24 16:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303253760001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303253760001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:31:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:31:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303253760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":194143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:31:06] local.INFO: GPS data processed {"connection_id":194143,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:31:06] local.INFO: Acknowledgment sent {"connection_id":194143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:31:07] local.INFO: TCP Data received {"connection_id":192869,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192869,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:31:07] local.INFO: Processing buffer {"connection_id":192869,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:31:07] local.INFO: IMEI packet received {"connection_id":192869,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":192869,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:31:07] local.INFO: TCP Data received {"connection_id":192869,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3135270012d0e0140070690d0001800881b..."} 
[2026-09-24 16:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3135270012d0e0140070690d0001800881b..."} 
[2026-09-24 16:31:07] local.INFO: Processing buffer {"connection_id":192869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3135270012d0e0140070690d0001800881b..."} 
[2026-09-24 16:31:07] local.INFO: Packet analysis {"connection_id":192869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:31:07] local.INFO: Extracted packet for processing {"connection_id":192869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:31:07] local.INFO: GPS Element Parsed {"raw_longitude":755892544,"raw_latitude":117870800,"longitude_deg":75.5892544,"latitude_deg":11.78708,"altitude":24,"angle":136,"satellites":27,"speed":2,"hex_longitude":"2d0e0140","hex_latitude":"070690d0","is_valid_coordinates":true} 
[2026-09-24 16:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303398400001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33688512289046528,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009087821682655232,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790247654000,"timestamp_ms":1790247654000,"timestamp_seconds":1790247654,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3135270"} 
[2026-09-24 16:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-24 16:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303398400001,"66":14439,"219":206,"94":10240,"24":2,"16":33688512289046528,"45":1009087821682655232},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 16:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303398400001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:31:07] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 16:31:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33688512289046528,"km_value":33688512289046.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009087821682655232,"description":"Unknown IO ID 45"} 
[2026-09-24 16:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303398400001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1009087821682655232}} 
[2026-09-24 16:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":192869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890750,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:31:07] local.INFO: GPS data processed {"connection_id":192869,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:31:07] local.INFO: Acknowledgment sent {"connection_id":192869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:31:22] local.INFO: TCP Data received {"connection_id":191488,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30f89b0012d196a00071fec30003e011226..."} 
[2026-09-24 16:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30f89b0012d196a00071fec30003e011226..."} 
[2026-09-24 16:31:22] local.INFO: Processing buffer {"connection_id":191488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30f89b0012d196a00071fec30003e011226..."} 
[2026-09-24 16:31:22] local.INFO: Packet analysis {"connection_id":191488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:31:22] local.INFO: Extracted packet for processing {"connection_id":191488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:31:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303330560001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790247406000,"timestamp_ms":1790247406000,"timestamp_seconds":1790247406,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30f89b0"} 
[2026-09-24 16:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:31: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-09-24 16:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 16:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303330560001,"66":12363,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303330560001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:31:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:31:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303330560001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":191488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:31:22] local.INFO: GPS data processed {"connection_id":191488,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:31:22] local.INFO: Acknowledgment sent {"connection_id":191488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:31:33] local.INFO: TCP Data received {"connection_id":192870,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:31:33] local.INFO: Processing buffer {"connection_id":192870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:31:33] local.INFO: IMEI packet received {"connection_id":192870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":192870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:31:38] local.INFO: TCP Data received {"connection_id":192870,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:31:38] local.INFO: Processing buffer {"connection_id":192870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:31:38] local.INFO: IMEI packet received {"connection_id":192870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":192870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:31:38] local.INFO: TCP Data received {"connection_id":192869,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3136210012d0e0200070690100018009a1c..."} 
[2026-09-24 16:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3136210012d0e0200070690100018009a1c..."} 
[2026-09-24 16:31:38] local.INFO: Processing buffer {"connection_id":192869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3136210012d0e0200070690100018009a1c..."} 
[2026-09-24 16:31:38] local.INFO: Packet analysis {"connection_id":192869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:31:38] local.INFO: Extracted packet for processing {"connection_id":192869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:31:38] local.INFO: GPS Element Parsed {"raw_longitude":755892736,"raw_latitude":117870608,"longitude_deg":75.5892736,"latitude_deg":11.7870608,"altitude":24,"angle":154,"satellites":28,"speed":2,"hex_longitude":"2d0e0200","hex_latitude":"07069010","is_valid_coordinates":true} 
[2026-09-24 16:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303399424001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33688525173948416,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009158190426804224,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790247658000,"timestamp_ms":1790247658000,"timestamp_seconds":1790247658,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3136210"} 
[2026-09-24 16:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 16:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303399424001,"66":14461,"219":206,"94":10240,"24":2,"16":33688525173948416,"45":1009158190426804224},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 16:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303399424001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:31:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 16:31:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33688525173948416,"km_value":33688525173948.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009158190426804224,"description":"Unknown IO ID 45"} 
[2026-09-24 16:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303399424001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1009158190426804224}} 
[2026-09-24 16:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":192869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890752,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:31:39] local.INFO: GPS data processed {"connection_id":192869,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:31:39] local.INFO: Acknowledgment sent {"connection_id":192869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:31:39] local.INFO: TCP Data received {"connection_id":192870,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:31:39] local.INFO: Processing buffer {"connection_id":192870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:31:39] local.INFO: Packet analysis {"connection_id":192870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:31:39] local.INFO: Extracted packet for processing {"connection_id":192870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:31:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303253760001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790247386000,"timestamp_ms":1790247386000,"timestamp_seconds":1790247386,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30f3b90"} 
[2026-09-24 16:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303253760001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303253760001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:31:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:31:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303253760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":192870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:31:39] local.INFO: GPS data processed {"connection_id":192870,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:31:39] local.INFO: Acknowledgment sent {"connection_id":192870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:31:45] local.INFO: TCP Data received {"connection_id":192870,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:31:45] local.INFO: Processing buffer {"connection_id":192870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30f3b90012d34c14006aa4940000900f52b..."} 
[2026-09-24 16:31:45] local.INFO: Packet analysis {"connection_id":192870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:31:45] local.INFO: Extracted packet for processing {"connection_id":192870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:31:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303253760001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790247386000,"timestamp_ms":1790247386000,"timestamp_seconds":1790247386,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30f3b90"} 
[2026-09-24 16:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303253760001,"66":25647,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303253760001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:31:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:31:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303253760001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":192870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:31:45] local.INFO: GPS data processed {"connection_id":192870,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:31:45] local.INFO: Acknowledgment sent {"connection_id":192870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:31:50] local.INFO: TCP Data received {"connection_id":191489,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:31:50] local.INFO: Processing buffer {"connection_id":191489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:31:50] local.INFO: IMEI packet received {"connection_id":191489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":191489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:31:54] local.INFO: TCP Data received {"connection_id":191489,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:31:54] local.INFO: Processing buffer {"connection_id":191489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:31:54] local.INFO: IMEI packet received {"connection_id":191489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":191489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:31:55] local.INFO: TCP Data received {"connection_id":191489,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d30fdbb8012d196a00071fec30003e011227..."} 
[2026-09-24 16:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d30fdbb8012d196a00071fec30003e011227..."} 
[2026-09-24 16:31:55] local.INFO: Processing buffer {"connection_id":191489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d30fdbb8012d196a00071fec30003e011227..."} 
[2026-09-24 16:31:55] local.INFO: Packet analysis {"connection_id":191489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:31:55] local.INFO: Extracted packet for processing {"connection_id":191489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d30f"} 
[2026-09-24 16:31:55] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303335936001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790247427000,"timestamp_ms":1790247427000,"timestamp_seconds":1790247427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d30fdbb8"} 
[2026-09-24 16:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:31: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-09-24 16:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-24 16:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303335936001,"66":12341,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303335936001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:31:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:31:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303335936001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":191489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:31:55] local.INFO: GPS data processed {"connection_id":191489,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:31:55] local.INFO: Acknowledgment sent {"connection_id":191489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:31:57] local.INFO: TCP Data received {"connection_id":191489,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3102dc0012d196a00071fec30003e011229..."} 
[2026-09-24 16:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3102dc0012d196a00071fec30003e011229..."} 
[2026-09-24 16:31:57] local.INFO: Processing buffer {"connection_id":191489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3102dc0012d196a00071fec30003e011229..."} 
[2026-09-24 16:31:57] local.INFO: Packet analysis {"connection_id":191489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d310"} 
[2026-09-24 16:31:57] local.INFO: Extracted packet for processing {"connection_id":191489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d310"} 
[2026-09-24 16:31:57] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303341312001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790247448000,"timestamp_ms":1790247448000,"timestamp_seconds":1790247448,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3102dc0"} 
[2026-09-24 16:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:31: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-09-24 16: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 16:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":191489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":191489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":191489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303341312001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303341312001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:31:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:31:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303341312001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":191489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:31:57] local.INFO: GPS data processed {"connection_id":191489,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:31:57] local.INFO: Acknowledgment sent {"connection_id":191489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:32:04] local.INFO: TCP Data received {"connection_id":191289,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191289,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:32:04] local.INFO: Processing buffer {"connection_id":191289,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:32:04] local.INFO: IMEI packet received {"connection_id":191289,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":191289,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:32:04] local.INFO: TCP Data received {"connection_id":191289,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191289,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:32:04] local.INFO: Processing buffer {"connection_id":191289,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:32:04] local.INFO: IMEI packet received {"connection_id":191289,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":191289,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:32:05] local.INFO: TCP Data received {"connection_id":191289,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191289,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:32:05] local.INFO: Processing buffer {"connection_id":191289,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:32:05] local.INFO: IMEI packet received {"connection_id":191289,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":191289,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:32:08] local.INFO: TCP Data received {"connection_id":191289,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191289,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:32:08] local.INFO: Processing buffer {"connection_id":191289,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:32:08] local.INFO: IMEI packet received {"connection_id":191289,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":191289,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:32:09] local.INFO: TCP Data received {"connection_id":191289,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3141d90012d0e228007068500001a006c1b..."} 
[2026-09-24 16:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3141d90012d0e228007068500001a006c1b..."} 
[2026-09-24 16:32:09] local.INFO: Processing buffer {"connection_id":191289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3141d90012d0e228007068500001a006c1b..."} 
[2026-09-24 16:32:09] local.INFO: Packet analysis {"connection_id":191289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d314"} 
[2026-09-24 16:32:09] local.INFO: Extracted packet for processing {"connection_id":191289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d314"} 
[2026-09-24 16:32:09] local.INFO: GPS Element Parsed {"raw_longitude":755901056,"raw_latitude":117867776,"longitude_deg":75.5901056,"latitude_deg":11.7867776,"altitude":26,"angle":108,"satellites":27,"speed":17,"hex_longitude":"2d0e2280","hex_latitude":"07068500","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303408896001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33689010505252864,"note":"Value kept but may cause issues"} 
[2026-09-24 16:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012254415170000896,"note":"Value kept but may cause issues"} 
[2026-09-24 16:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790247706000,"timestamp_ms":1790247706000,"timestamp_seconds":1790247706,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3141d90"} 
[2026-09-24 16:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-24 16:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191289,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191289,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303408896001,"66":14407,"219":206,"94":10240,"24":17,"16":33689010505252864,"45":1012254415170000896},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 16:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303408896001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:32:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 16:32:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33689010505252864,"km_value":33689010505252.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012254415170000896,"description":"Unknown IO ID 45"} 
[2026-09-24 16:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303408896001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":1012254415170000896}} 
[2026-09-24 16:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":191289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890757,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:32:09] local.INFO: GPS data processed {"connection_id":191289,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:32:09] local.INFO: Acknowledgment sent {"connection_id":191289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:32:28] local.INFO: TCP Data received {"connection_id":191489,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3107fc8012d196a00071fec30003e011229..."} 
[2026-09-24 16:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3107fc8012d196a00071fec30003e011229..."} 
[2026-09-24 16:32:28] local.INFO: Processing buffer {"connection_id":191489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3107fc8012d196a00071fec30003e011229..."} 
[2026-09-24 16:32:28] local.INFO: Packet analysis {"connection_id":191489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d310"} 
[2026-09-24 16:32:28] local.INFO: Extracted packet for processing {"connection_id":191489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d310"} 
[2026-09-24 16:32:28] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303346688001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790247469000,"timestamp_ms":1790247469000,"timestamp_seconds":1790247469,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3107fc8"} 
[2026-09-24 16:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":191489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":191489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":191489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303346688001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303346688001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:32:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:32:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303346688001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":191489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:32:28] local.INFO: GPS data processed {"connection_id":191489,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:32:28] local.INFO: Acknowledgment sent {"connection_id":191489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:32:28] local.INFO: TCP Data received {"connection_id":191490,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:32:28] local.INFO: Processing buffer {"connection_id":191490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:32:28] local.INFO: IMEI packet received {"connection_id":191490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":191490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:32:33] local.INFO: TCP Data received {"connection_id":191490,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:32:33] local.INFO: Processing buffer {"connection_id":191490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:32:33] local.INFO: IMEI packet received {"connection_id":191490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":191490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:32:34] local.INFO: TCP Data received {"connection_id":191490,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:32:34] local.INFO: Processing buffer {"connection_id":191490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:32:34] local.INFO: Packet analysis {"connection_id":191490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:32:34] local.INFO: Extracted packet for processing {"connection_id":191490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:32:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303330816001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790247687000,"timestamp_ms":1790247687000,"timestamp_seconds":1790247687,"priority":1,"record_length":96,"hex_timestamp":"000001a0d313d358"} 
[2026-09-24 16:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303330816001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303330816001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:32:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:32:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303330816001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":191490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:32:34] local.INFO: GPS data processed {"connection_id":191490,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:32:34] local.INFO: Acknowledgment sent {"connection_id":191490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:32:40] local.INFO: TCP Data received {"connection_id":191289,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3143500012d0e29c007068160001c00601c..."} 
[2026-09-24 16:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3143500012d0e29c007068160001c00601c..."} 
[2026-09-24 16:32:40] local.INFO: Processing buffer {"connection_id":191289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3143500012d0e29c007068160001c00601c..."} 
[2026-09-24 16:32:40] local.INFO: Packet analysis {"connection_id":191289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d314"} 
[2026-09-24 16:32:40] local.INFO: Extracted packet for processing {"connection_id":191289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d314"} 
[2026-09-24 16:32:40] local.INFO: GPS Element Parsed {"raw_longitude":755902912,"raw_latitude":117866848,"longitude_deg":75.5902912,"latitude_deg":11.7866848,"altitude":28,"angle":96,"satellites":28,"speed":8,"hex_longitude":"2d0e29c0","hex_latitude":"07068160","is_valid_coordinates":true} 
[2026-09-24 16:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303412736001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33689109289500672,"note":"Value kept but may cause issues"} 
[2026-09-24 16:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1018517233401659392,"note":"Value kept but may cause issues"} 
[2026-09-24 16:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790247712000,"timestamp_ms":1790247712000,"timestamp_seconds":1790247712,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3143500"} 
[2026-09-24 16:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-24 16:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191289,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191289,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303412736001,"66":14461,"219":206,"94":10240,"24":8,"16":33689109289500672,"45":1018517233401659392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 16:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303412736001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:32:40] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 16:32:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33689109289500672,"km_value":33689109289500.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1018517233401659392,"description":"Unknown IO ID 45"} 
[2026-09-24 16:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303412736001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1018517233401659392}} 
[2026-09-24 16:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":191289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890760,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:32:41] local.INFO: GPS data processed {"connection_id":191289,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:32:41] local.INFO: Acknowledgment sent {"connection_id":191289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:32:45] local.INFO: TCP Data received {"connection_id":191291,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:32:45] local.INFO: Processing buffer {"connection_id":191291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:32:45] local.INFO: IMEI packet received {"connection_id":191291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":191291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:32:50] local.INFO: TCP Data received {"connection_id":191291,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:32:50] local.INFO: Processing buffer {"connection_id":191291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:32:50] local.INFO: IMEI packet received {"connection_id":191291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":191291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:32:51] local.INFO: TCP Data received {"connection_id":191291,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d310d1d0012d196a00071fec30003e011229..."} 
[2026-09-24 16:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d310d1d0012d196a00071fec30003e011229..."} 
[2026-09-24 16:32:51] local.INFO: Processing buffer {"connection_id":191291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d310d1d0012d196a00071fec30003e011229..."} 
[2026-09-24 16:32:51] local.INFO: Packet analysis {"connection_id":191291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d310"} 
[2026-09-24 16:32:51] local.INFO: Extracted packet for processing {"connection_id":191291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d310"} 
[2026-09-24 16:32:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303352064001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790247490000,"timestamp_ms":1790247490000,"timestamp_seconds":1790247490,"priority":1,"record_length":96,"hex_timestamp":"000001a0d310d1d0"} 
[2026-09-24 16:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303352064001,"66":12341,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303352064001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:32:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:32:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303352064001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":191291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:32:51] local.INFO: GPS data processed {"connection_id":191291,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:32:51] local.INFO: Acknowledgment sent {"connection_id":191291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:32:55] local.INFO: TCP Data received {"connection_id":191291,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31123d8012d196a00071fec30003e01122a..."} 
[2026-09-24 16:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31123d8012d196a00071fec30003e01122a..."} 
[2026-09-24 16:32:55] local.INFO: Processing buffer {"connection_id":191291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31123d8012d196a00071fec30003e01122a..."} 
[2026-09-24 16:32:55] local.INFO: Packet analysis {"connection_id":191291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d311"} 
[2026-09-24 16:32:55] local.INFO: Extracted packet for processing {"connection_id":191291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d311"} 
[2026-09-24 16:32:55] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:32: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-09-24 16:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303357440001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790247511000,"timestamp_ms":1790247511000,"timestamp_seconds":1790247511,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31123d8"} 
[2026-09-24 16:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:32: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-09-24 16:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 16:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:32: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-09-24 16:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303357440001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303357440001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:32:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:32:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303357440001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":191291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:32:55] local.INFO: GPS data processed {"connection_id":191291,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:32:55] local.INFO: Acknowledgment sent {"connection_id":191291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:33:02] local.INFO: TCP Data received {"connection_id":191491,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191491,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:33:02] local.INFO: Processing buffer {"connection_id":191491,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:33:02] local.INFO: IMEI packet received {"connection_id":191491,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":191491,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:33:03] local.INFO: TCP Data received {"connection_id":191491,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191491,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:33:03] local.INFO: Processing buffer {"connection_id":191491,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:33:03] local.INFO: IMEI packet received {"connection_id":191491,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":191491,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:33:06] local.INFO: TCP Data received {"connection_id":191490,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:33:06] local.INFO: Processing buffer {"connection_id":191490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:33:06] local.INFO: Packet analysis {"connection_id":191490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:33:06] local.INFO: Extracted packet for processing {"connection_id":191490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:33:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303330816001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790247687000,"timestamp_ms":1790247687000,"timestamp_seconds":1790247687,"priority":1,"record_length":96,"hex_timestamp":"000001a0d313d358"} 
[2026-09-24 16:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303330816001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303330816001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:33:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:33:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303330816001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":191490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:33:06] local.INFO: GPS data processed {"connection_id":191490,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:33:06] local.INFO: Acknowledgment sent {"connection_id":191490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:33:09] local.INFO: TCP Data received {"connection_id":191491,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191491,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:33:09] local.INFO: Processing buffer {"connection_id":191491,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:33:09] local.INFO: IMEI packet received {"connection_id":191491,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":191491,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:33:09] local.INFO: TCP Data received {"connection_id":191491,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3152f00012d0e3f400706d6380026015e1b..."} 
[2026-09-24 16:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3152f00012d0e3f400706d6380026015e1b..."} 
[2026-09-24 16:33:09] local.INFO: Processing buffer {"connection_id":191491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3152f00012d0e3f400706d6380026015e1b..."} 
[2026-09-24 16:33:09] local.INFO: Packet analysis {"connection_id":191491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d315"} 
[2026-09-24 16:33:09] local.INFO: Extracted packet for processing {"connection_id":191491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d315"} 
[2026-09-24 16:33:09] local.INFO: GPS Element Parsed {"raw_longitude":755908416,"raw_latitude":117888568,"longitude_deg":75.5908416,"latitude_deg":11.7888568,"altitude":38,"angle":350,"satellites":27,"speed":10,"hex_longitude":"2d0e3f40","hex_latitude":"0706d638","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303429888001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33690247455834112,"note":"Value kept but may cause issues"} 
[2026-09-24 16:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026609638987237376,"note":"Value kept but may cause issues"} 
[2026-09-24 16:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790247776000,"timestamp_ms":1790247776000,"timestamp_seconds":1790247776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3152f00"} 
[2026-09-24 16:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-24 16:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191491,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191491,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303429888001,"66":13961,"219":206,"94":10240,"24":10,"16":33690247455834112,"45":1026609638987237376},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 16:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303429888001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:33:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 16:33:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33690247455834112,"km_value":33690247455834.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026609638987237376,"description":"Unknown IO ID 45"} 
[2026-09-24 16:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303429888001,"power":13961,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":1026609638987237376}} 
[2026-09-24 16:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":191491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890764,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:33:09] local.INFO: GPS data processed {"connection_id":191491,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:33:09] local.INFO: Acknowledgment sent {"connection_id":191491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:33:26] local.INFO: TCP Data received {"connection_id":191291,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31175e0012d196a00071fec30003e011229..."} 
[2026-09-24 16:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31175e0012d196a00071fec30003e011229..."} 
[2026-09-24 16:33:26] local.INFO: Processing buffer {"connection_id":191291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31175e0012d196a00071fec30003e011229..."} 
[2026-09-24 16:33:26] local.INFO: Packet analysis {"connection_id":191291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d311"} 
[2026-09-24 16:33:26] local.INFO: Extracted packet for processing {"connection_id":191291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d311"} 
[2026-09-24 16:33:26] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303362816001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790247532000,"timestamp_ms":1790247532000,"timestamp_seconds":1790247532,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31175e0"} 
[2026-09-24 16:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:33:26] 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-09-24 16:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303362816001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303362816001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:33:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:33:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303362816001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":191291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:33:26] local.INFO: GPS data processed {"connection_id":191291,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:33:26] local.INFO: Acknowledgment sent {"connection_id":191291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:33:28] local.INFO: TCP Data received {"connection_id":191293,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:33:28] local.INFO: Processing buffer {"connection_id":191293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:33:28] local.INFO: IMEI packet received {"connection_id":191293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":191293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:33:33] local.INFO: TCP Data received {"connection_id":191293,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:33:33] local.INFO: Processing buffer {"connection_id":191293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:33:33] local.INFO: IMEI packet received {"connection_id":191293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":191293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:33:34] local.INFO: TCP Data received {"connection_id":191293,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:33:34] local.INFO: Processing buffer {"connection_id":191293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:33:34] local.INFO: Packet analysis {"connection_id":191293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:33:34] local.INFO: Extracted packet for processing {"connection_id":191293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:33:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303330816001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790247687000,"timestamp_ms":1790247687000,"timestamp_seconds":1790247687,"priority":1,"record_length":96,"hex_timestamp":"000001a0d313d358"} 
[2026-09-24 16:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303330816001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303330816001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:33:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:33:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303330816001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":191293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:33:34] local.INFO: GPS data processed {"connection_id":191293,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:33:34] local.INFO: Acknowledgment sent {"connection_id":191293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:33:40] local.INFO: TCP Data received {"connection_id":191491,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31532e8012d0e3f000706d7080026014f1b..."} 
[2026-09-24 16:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31532e8012d0e3f000706d7080026014f1b..."} 
[2026-09-24 16:33:40] local.INFO: Processing buffer {"connection_id":191491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31532e8012d0e3f000706d7080026014f1b..."} 
[2026-09-24 16:33:40] local.INFO: Packet analysis {"connection_id":191491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d315"} 
[2026-09-24 16:33:40] local.INFO: Extracted packet for processing {"connection_id":191491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d315"} 
[2026-09-24 16:33:40] local.INFO: GPS Element Parsed {"raw_longitude":755908352,"raw_latitude":117888776,"longitude_deg":75.5908352,"latitude_deg":11.7888776,"altitude":38,"angle":335,"satellites":27,"speed":11,"hex_longitude":"2d0e3f00","hex_latitude":"0706d708","is_valid_coordinates":true} 
[2026-09-24 16:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303430656001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33690260340736000,"note":"Value kept but may cause issues"} 
[2026-09-24 16:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026609638987413504,"note":"Value kept but may cause issues"} 
[2026-09-24 16:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790247777000,"timestamp_ms":1790247777000,"timestamp_seconds":1790247777,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31532e8"} 
[2026-09-24 16:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-24 16:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191491,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191491,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303430656001,"66":14537,"219":206,"94":10240,"24":11,"16":33690260340736000,"45":1026609638987413504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 16:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303430656001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:33:40] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 16:33:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33690260340736000,"km_value":33690260340736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026609638987413504,"description":"Unknown IO ID 45"} 
[2026-09-24 16:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303430656001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1026609638987413504}} 
[2026-09-24 16:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":191491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890767,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:33:40] local.INFO: GPS data processed {"connection_id":191491,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:33:40] local.INFO: Acknowledgment sent {"connection_id":191491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:33:42] local.INFO: TCP Data received {"connection_id":191294,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:33:42] local.INFO: Processing buffer {"connection_id":191294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:33:42] local.INFO: IMEI packet received {"connection_id":191294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":191294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:33:45] local.INFO: TCP Data received {"connection_id":191294,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:33:45] local.INFO: Processing buffer {"connection_id":191294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:33:45] local.INFO: IMEI packet received {"connection_id":191294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":191294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:33:50] local.INFO: TCP Data received {"connection_id":191294,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:33:50] local.INFO: Processing buffer {"connection_id":191294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:33:50] local.INFO: IMEI packet received {"connection_id":191294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":191294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:33:51] local.INFO: TCP Data received {"connection_id":191294,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d311c7e8012d196a00071fec30003e011227..."} 
[2026-09-24 16:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d311c7e8012d196a00071fec30003e011227..."} 
[2026-09-24 16:33:51] local.INFO: Processing buffer {"connection_id":191294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d311c7e8012d196a00071fec30003e011227..."} 
[2026-09-24 16:33:51] local.INFO: Packet analysis {"connection_id":191294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d311"} 
[2026-09-24 16:33:51] local.INFO: Extracted packet for processing {"connection_id":191294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d311"} 
[2026-09-24 16:33:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303368192001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790247553000,"timestamp_ms":1790247553000,"timestamp_seconds":1790247553,"priority":1,"record_length":96,"hex_timestamp":"000001a0d311c7e8"} 
[2026-09-24 16:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303368192001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303368192001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:33:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:33:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303368192001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":191294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:33:51] local.INFO: GPS data processed {"connection_id":191294,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:33:51] local.INFO: Acknowledgment sent {"connection_id":191294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:34:03] local.INFO: TCP Data received {"connection_id":191295,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191295,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:34:03] local.INFO: Processing buffer {"connection_id":191295,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:34:03] local.INFO: IMEI packet received {"connection_id":191295,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":191295,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:34:06] local.INFO: TCP Data received {"connection_id":191293,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:34:06] local.INFO: Processing buffer {"connection_id":191293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:34:06] local.INFO: Packet analysis {"connection_id":191293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:34:06] local.INFO: Extracted packet for processing {"connection_id":191293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:34:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303330816001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790247687000,"timestamp_ms":1790247687000,"timestamp_seconds":1790247687,"priority":1,"record_length":96,"hex_timestamp":"000001a0d313d358"} 
[2026-09-24 16:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303330816001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303330816001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:34:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:34:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303330816001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":191293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:34:06] local.INFO: GPS data processed {"connection_id":191293,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:34:06] local.INFO: Acknowledgment sent {"connection_id":191293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:34:08] local.INFO: TCP Data received {"connection_id":191295,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191295,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:34:08] local.INFO: Processing buffer {"connection_id":191295,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:34:08] local.INFO: IMEI packet received {"connection_id":191295,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":191295,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:34:09] local.INFO: TCP Data received {"connection_id":191295,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3154288012d0e3d000706dad00026015d1b..."} 
[2026-09-24 16:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3154288012d0e3d000706dad00026015d1b..."} 
[2026-09-24 16:34:09] local.INFO: Processing buffer {"connection_id":191295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3154288012d0e3d000706dad00026015d1b..."} 
[2026-09-24 16:34:09] local.INFO: Packet analysis {"connection_id":191295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d315"} 
[2026-09-24 16:34:09] local.INFO: Extracted packet for processing {"connection_id":191295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d315"} 
[2026-09-24 16:34:09] local.INFO: GPS Element Parsed {"raw_longitude":755907840,"raw_latitude":117889744,"longitude_deg":75.590784,"latitude_deg":11.7889744,"altitude":38,"angle":349,"satellites":27,"speed":11,"hex_longitude":"2d0e3d00","hex_latitude":"0706dad0","is_valid_coordinates":true} 
[2026-09-24 16:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303430912001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33690311880343552,"note":"Value kept but may cause issues"} 
[2026-09-24 16:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026539270243289088,"note":"Value kept but may cause issues"} 
[2026-09-24 16:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790247781000,"timestamp_ms":1790247781000,"timestamp_seconds":1790247781,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3154288"} 
[2026-09-24 16:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-24 16:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303430912001,"66":14428,"219":206,"94":10240,"24":11,"16":33690311880343552,"45":1026539270243289088},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 16:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303430912001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:34:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 16:34:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33690311880343552,"km_value":33690311880343.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026539270243289088,"description":"Unknown IO ID 45"} 
[2026-09-24 16:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303430912001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1026539270243289088}} 
[2026-09-24 16:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":191295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890770,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:34:09] local.INFO: GPS data processed {"connection_id":191295,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:34:09] local.INFO: Acknowledgment sent {"connection_id":191295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:34:22] local.INFO: TCP Data received {"connection_id":191294,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31219f0012d196a00071fec30003e011226..."} 
[2026-09-24 16:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31219f0012d196a00071fec30003e011226..."} 
[2026-09-24 16:34:22] local.INFO: Processing buffer {"connection_id":191294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31219f0012d196a00071fec30003e011226..."} 
[2026-09-24 16:34:22] local.INFO: Packet analysis {"connection_id":191294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d312"} 
[2026-09-24 16:34:22] local.INFO: Extracted packet for processing {"connection_id":191294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d312"} 
[2026-09-24 16:34:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303373568001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790247574000,"timestamp_ms":1790247574000,"timestamp_seconds":1790247574,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31219f0"} 
[2026-09-24 16:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:34: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-09-24 16:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303373568001,"66":12406,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303373568001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:34:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:34:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303373568001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":191294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:34:22] local.INFO: GPS data processed {"connection_id":191294,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:34:22] local.INFO: Acknowledgment sent {"connection_id":191294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:34:28] local.INFO: TCP Data received {"connection_id":191492,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:34:28] local.INFO: Processing buffer {"connection_id":191492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:34:28] local.INFO: IMEI packet received {"connection_id":191492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":191492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:34:33] local.INFO: TCP Data received {"connection_id":191492,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:34:33] local.INFO: Processing buffer {"connection_id":191492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:34:33] local.INFO: IMEI packet received {"connection_id":191492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":191492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:34:34] local.INFO: TCP Data received {"connection_id":191492,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:34:34] local.INFO: Processing buffer {"connection_id":191492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:34:34] local.INFO: Packet analysis {"connection_id":191492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:34:34] local.INFO: Extracted packet for processing {"connection_id":191492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:34:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303330816001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790247687000,"timestamp_ms":1790247687000,"timestamp_seconds":1790247687,"priority":1,"record_length":96,"hex_timestamp":"000001a0d313d358"} 
[2026-09-24 16:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303330816001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303330816001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:34:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:34:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303330816001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":191492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:34:34] local.INFO: GPS data processed {"connection_id":191492,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:34:34] local.INFO: Acknowledgment sent {"connection_id":191492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:34:41] local.INFO: TCP Data received {"connection_id":191295,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3166398012d0dfec0070706500025010a1c..."} 
[2026-09-24 16:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3166398012d0dfec0070706500025010a1c..."} 
[2026-09-24 16:34:41] local.INFO: Processing buffer {"connection_id":191295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3166398012d0dfec0070706500025010a1c..."} 
[2026-09-24 16:34:41] local.INFO: Packet analysis {"connection_id":191295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d316"} 
[2026-09-24 16:34:41] local.INFO: Extracted packet for processing {"connection_id":191295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d316"} 
[2026-09-24 16:34:41] local.INFO: GPS Element Parsed {"raw_longitude":755891904,"raw_latitude":117900880,"longitude_deg":75.5891904,"latitude_deg":11.790088,"altitude":37,"angle":266,"satellites":28,"speed":18,"hex_longitude":"2d0dfec0","hex_latitude":"07070650","is_valid_coordinates":true} 
[2026-09-24 16:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303450624001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33691578895695872,"note":"Value kept but may cause issues"} 
[2026-09-24 16:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1008947084201984000,"note":"Value kept but may cause issues"} 
[2026-09-24 16:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790247855000,"timestamp_ms":1790247855000,"timestamp_seconds":1790247855,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3166398"} 
[2026-09-24 16:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 16:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303450624001,"66":14461,"219":206,"94":10240,"24":18,"16":33691578895695872,"45":1008947084201984000},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-24 16:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303450624001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:34:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-24 16:34:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33691578895695872,"km_value":33691578895695.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1008947084201984000,"description":"Unknown IO ID 45"} 
[2026-09-24 16:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303450624001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":1008947084201984000}} 
[2026-09-24 16:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":191295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890773,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:34:41] local.INFO: GPS data processed {"connection_id":191295,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:34:41] local.INFO: Acknowledgment sent {"connection_id":191295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:34:45] local.INFO: TCP Data received {"connection_id":194144,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:34:45] local.INFO: Processing buffer {"connection_id":194144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:34:45] local.INFO: IMEI packet received {"connection_id":194144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":194144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:34:45] local.INFO: TCP Data received {"connection_id":194144,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:34:45] local.INFO: Processing buffer {"connection_id":194144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:34:45] local.INFO: IMEI packet received {"connection_id":194144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":194144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:34:50] local.INFO: TCP Data received {"connection_id":194144,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:34:50] local.INFO: Processing buffer {"connection_id":194144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:34:50] local.INFO: IMEI packet received {"connection_id":194144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":194144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:34:51] local.INFO: TCP Data received {"connection_id":194144,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d315a048012d196a00071fec30003e011227..."} 
[2026-09-24 16:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d315a048012d196a00071fec30003e011227..."} 
[2026-09-24 16:34:51] local.INFO: Processing buffer {"connection_id":194144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d315a048012d196a00071fec30003e011227..."} 
[2026-09-24 16:34:51] local.INFO: Packet analysis {"connection_id":194144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d315"} 
[2026-09-24 16:34:51] local.INFO: Extracted packet for processing {"connection_id":194144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d315"} 
[2026-09-24 16:34:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303432704001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790247805000,"timestamp_ms":1790247805000,"timestamp_seconds":1790247805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d315a048"} 
[2026-09-24 16:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-24 16:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303432704001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303432704001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:34:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:34:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303432704001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":194144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:34:51] local.INFO: GPS data processed {"connection_id":194144,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:34:51] local.INFO: Acknowledgment sent {"connection_id":194144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:35:04] local.INFO: TCP Data received {"connection_id":191297,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191297,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:35:04] local.INFO: Processing buffer {"connection_id":191297,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:35:04] local.INFO: IMEI packet received {"connection_id":191297,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":191297,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:35:05] local.INFO: TCP Data received {"connection_id":191297,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191297,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:35:05] local.INFO: Processing buffer {"connection_id":191297,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:35:05] local.INFO: IMEI packet received {"connection_id":191297,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":191297,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:35:06] local.INFO: TCP Data received {"connection_id":191492,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:35:06] local.INFO: Processing buffer {"connection_id":191492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:35:06] local.INFO: Packet analysis {"connection_id":191492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:35:06] local.INFO: Extracted packet for processing {"connection_id":191492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:35:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303330816001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790247687000,"timestamp_ms":1790247687000,"timestamp_seconds":1790247687,"priority":1,"record_length":96,"hex_timestamp":"000001a0d313d358"} 
[2026-09-24 16:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303330816001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303330816001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:35:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:35:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303330816001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":191492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:35:06] local.INFO: GPS data processed {"connection_id":191492,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:35:06] local.INFO: Acknowledgment sent {"connection_id":191492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:35:07] local.INFO: TCP Data received {"connection_id":191297,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191297,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:35:07] local.INFO: Processing buffer {"connection_id":191297,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:35:07] local.INFO: IMEI packet received {"connection_id":191297,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":191297,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:35:08] local.INFO: TCP Data received {"connection_id":191297,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191297,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:35:08] local.INFO: Processing buffer {"connection_id":191297,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:35:08] local.INFO: IMEI packet received {"connection_id":191297,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":191297,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:35:22] local.INFO: TCP Data received {"connection_id":194144,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d315f250012d196a00071fec30003e01122a..."} 
[2026-09-24 16:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d315f250012d196a00071fec30003e01122a..."} 
[2026-09-24 16:35:22] local.INFO: Processing buffer {"connection_id":194144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d315f250012d196a00071fec30003e01122a..."} 
[2026-09-24 16:35:22] local.INFO: Packet analysis {"connection_id":194144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d315"} 
[2026-09-24 16:35:22] local.INFO: Extracted packet for processing {"connection_id":194144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d315"} 
[2026-09-24 16:35:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303438080001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790247826000,"timestamp_ms":1790247826000,"timestamp_seconds":1790247826,"priority":1,"record_length":96,"hex_timestamp":"000001a0d315f250"} 
[2026-09-24 16:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:35: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-09-24 16: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303438080001,"66":12341,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303438080001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:35:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:35:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303438080001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":194144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:35:22] local.INFO: GPS data processed {"connection_id":194144,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:35:22] local.INFO: Acknowledgment sent {"connection_id":194144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:35:28] local.INFO: TCP Data received {"connection_id":192872,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:35:28] local.INFO: Processing buffer {"connection_id":192872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:35:28] local.INFO: IMEI packet received {"connection_id":192872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":192872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:35:34] local.INFO: TCP Data received {"connection_id":192872,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:35:34] local.INFO: Processing buffer {"connection_id":192872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:35:34] local.INFO: IMEI packet received {"connection_id":192872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":192872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:35:35] local.INFO: TCP Data received {"connection_id":192872,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:35:35] local.INFO: Processing buffer {"connection_id":192872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:35:35] local.INFO: Packet analysis {"connection_id":192872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:35:35] local.INFO: Extracted packet for processing {"connection_id":192872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303330816001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790247687000,"timestamp_ms":1790247687000,"timestamp_seconds":1790247687,"priority":1,"record_length":96,"hex_timestamp":"000001a0d313d358"} 
[2026-09-24 16:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303330816001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303330816001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:35:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:35:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303330816001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":192872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:35:35] local.INFO: GPS data processed {"connection_id":192872,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:35:35] local.INFO: Acknowledgment sent {"connection_id":192872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:35:45] local.INFO: TCP Data received {"connection_id":191493,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:35:45] local.INFO: Processing buffer {"connection_id":191493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:35:45] local.INFO: IMEI packet received {"connection_id":191493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":191493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:35:48] local.INFO: TCP Data received {"connection_id":191493,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:35:48] local.INFO: Processing buffer {"connection_id":191493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:35:48] local.INFO: IMEI packet received {"connection_id":191493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":191493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:35:50] local.INFO: TCP Data received {"connection_id":191493,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:35:50] local.INFO: Processing buffer {"connection_id":191493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:35:50] local.INFO: IMEI packet received {"connection_id":191493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":191493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:35:50] local.INFO: TCP Data received {"connection_id":191493,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3164458012d196a00071fec30003e01122b..."} 
[2026-09-24 16:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3164458012d196a00071fec30003e01122b..."} 
[2026-09-24 16:35:50] local.INFO: Processing buffer {"connection_id":191493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3164458012d196a00071fec30003e01122b..."} 
[2026-09-24 16:35:50] local.INFO: Packet analysis {"connection_id":191493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d316"} 
[2026-09-24 16:35:50] local.INFO: Extracted packet for processing {"connection_id":191493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d316"} 
[2026-09-24 16:35:50] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:35: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-09-24 16:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303443456001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790247847000,"timestamp_ms":1790247847000,"timestamp_seconds":1790247847,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3164458"} 
[2026-09-24 16:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:35: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-09-24 16:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 16:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:35: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-09-24 16:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303443456001,"66":12341,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303443456001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:35:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:35:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303443456001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":191493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:35:51] local.INFO: GPS data processed {"connection_id":191493,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:35:51] local.INFO: Acknowledgment sent {"connection_id":191493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:35:55] local.INFO: TCP Data received {"connection_id":191493,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3169660012d196a00071fec30003e01122d..."} 
[2026-09-24 16:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3169660012d196a00071fec30003e01122d..."} 
[2026-09-24 16:35:55] local.INFO: Processing buffer {"connection_id":191493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3169660012d196a00071fec30003e01122d..."} 
[2026-09-24 16:35:55] local.INFO: Packet analysis {"connection_id":191493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d316"} 
[2026-09-24 16:35:55] local.INFO: Extracted packet for processing {"connection_id":191493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d316"} 
[2026-09-24 16:35:55] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:35: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-09-24 16:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303448832001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790247868000,"timestamp_ms":1790247868000,"timestamp_seconds":1790247868,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3169660"} 
[2026-09-24 16:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:35: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-09-24 16:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 16:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:35: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-09-24 16:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303448832001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303448832001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:35:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:35:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303448832001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":191493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:35:55] local.INFO: GPS data processed {"connection_id":191493,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:35:55] local.INFO: Acknowledgment sent {"connection_id":191493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:36:07] local.INFO: TCP Data received {"connection_id":191298,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191298,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:36:07] local.INFO: Processing buffer {"connection_id":191298,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:36:07] local.INFO: IMEI packet received {"connection_id":191298,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 16:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":191298,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:36:07] local.INFO: TCP Data received {"connection_id":192872,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:36:07] local.INFO: Processing buffer {"connection_id":192872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:36:07] local.INFO: Packet analysis {"connection_id":192872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:36:07] local.INFO: Extracted packet for processing {"connection_id":192872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:36:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303330816001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790247687000,"timestamp_ms":1790247687000,"timestamp_seconds":1790247687,"priority":1,"record_length":96,"hex_timestamp":"000001a0d313d358"} 
[2026-09-24 16:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303330816001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303330816001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:36:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:36:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303330816001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":192872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:36:07] local.INFO: GPS data processed {"connection_id":192872,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:36:07] local.INFO: Acknowledgment sent {"connection_id":192872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:36:26] local.INFO: TCP Data received {"connection_id":191493,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d316e868012d196a00071fec30003e01122b..."} 
[2026-09-24 16:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d316e868012d196a00071fec30003e01122b..."} 
[2026-09-24 16:36:26] local.INFO: Processing buffer {"connection_id":191493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d316e868012d196a00071fec30003e01122b..."} 
[2026-09-24 16:36:26] local.INFO: Packet analysis {"connection_id":191493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d316"} 
[2026-09-24 16:36:26] local.INFO: Extracted packet for processing {"connection_id":191493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d316"} 
[2026-09-24 16:36:26] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303454208001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790247889000,"timestamp_ms":1790247889000,"timestamp_seconds":1790247889,"priority":1,"record_length":96,"hex_timestamp":"000001a0d316e868"} 
[2026-09-24 16:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:36:26] 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-09-24 16:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303454208001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303454208001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:36:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:36:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303454208001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":191493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:36:26] local.INFO: GPS data processed {"connection_id":191493,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:36:26] local.INFO: Acknowledgment sent {"connection_id":191493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:36:33] local.INFO: TCP Data received {"connection_id":191495,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:36:33] local.INFO: Processing buffer {"connection_id":191495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:36:33] local.INFO: IMEI packet received {"connection_id":191495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":191495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:36:38] local.INFO: TCP Data received {"connection_id":191495,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:36:38] local.INFO: Processing buffer {"connection_id":191495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:36:38] local.INFO: IMEI packet received {"connection_id":191495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":191495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:36:40] local.INFO: TCP Data received {"connection_id":191495,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:36:40] local.INFO: Processing buffer {"connection_id":191495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:36:40] local.INFO: Packet analysis {"connection_id":191495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:36:40] local.INFO: Extracted packet for processing {"connection_id":191495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:36:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303330816001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790247687000,"timestamp_ms":1790247687000,"timestamp_seconds":1790247687,"priority":1,"record_length":96,"hex_timestamp":"000001a0d313d358"} 
[2026-09-24 16:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303330816001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303330816001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:36:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:36:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303330816001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":191495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:36:40] local.INFO: GPS data processed {"connection_id":191495,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:36:40] local.INFO: Acknowledgment sent {"connection_id":191495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:36:43] local.INFO: TCP Data received {"connection_id":191495,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:36:43] local.INFO: Processing buffer {"connection_id":191495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d313d358012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:36:43] local.INFO: Packet analysis {"connection_id":191495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:36:43] local.INFO: Extracted packet for processing {"connection_id":191495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d313"} 
[2026-09-24 16:36:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303330816001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790247687000,"timestamp_ms":1790247687000,"timestamp_seconds":1790247687,"priority":1,"record_length":96,"hex_timestamp":"000001a0d313d358"} 
[2026-09-24 16:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 16:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303330816001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303330816001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:36:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:36:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303330816001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":191495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:36:43] local.INFO: GPS data processed {"connection_id":191495,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:36:43] local.INFO: Acknowledgment sent {"connection_id":191495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:36:44] local.INFO: TCP Data received {"connection_id":194145,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:36:44] local.INFO: Processing buffer {"connection_id":194145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:36:44] local.INFO: IMEI packet received {"connection_id":194145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":194145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:36:50] local.INFO: TCP Data received {"connection_id":194145,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:36:50] local.INFO: Processing buffer {"connection_id":194145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:36:50] local.INFO: IMEI packet received {"connection_id":194145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":194145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:36:51] local.INFO: TCP Data received {"connection_id":194145,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3173a70012d196a00071fec30003e01122a..."} 
[2026-09-24 16:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3173a70012d196a00071fec30003e01122a..."} 
[2026-09-24 16:36:51] local.INFO: Processing buffer {"connection_id":194145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3173a70012d196a00071fec30003e01122a..."} 
[2026-09-24 16:36:51] local.INFO: Packet analysis {"connection_id":194145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d317"} 
[2026-09-24 16:36:51] local.INFO: Extracted packet for processing {"connection_id":194145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d317"} 
[2026-09-24 16:36:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303459584001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790247910000,"timestamp_ms":1790247910000,"timestamp_seconds":1790247910,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3173a70"} 
[2026-09-24 16:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303459584001,"66":12374,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303459584001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:36:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:36:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303459584001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":194145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:36:51] local.INFO: GPS data processed {"connection_id":194145,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:36:51] local.INFO: Acknowledgment sent {"connection_id":194145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:37:07] local.INFO: TCP Data received {"connection_id":191299,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191299,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:37:07] local.INFO: Processing buffer {"connection_id":191299,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:37:07] local.INFO: IMEI packet received {"connection_id":191299,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 16:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":191299,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:37:22] local.INFO: TCP Data received {"connection_id":194145,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3178c78012d196a00071fec30003e011229..."} 
[2026-09-24 16:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3178c78012d196a00071fec30003e011229..."} 
[2026-09-24 16:37:22] local.INFO: Processing buffer {"connection_id":194145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3178c78012d196a00071fec30003e011229..."} 
[2026-09-24 16:37:22] local.INFO: Packet analysis {"connection_id":194145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d317"} 
[2026-09-24 16:37:22] local.INFO: Extracted packet for processing {"connection_id":194145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d317"} 
[2026-09-24 16:37:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303464960001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790247931000,"timestamp_ms":1790247931000,"timestamp_seconds":1790247931,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3178c78"} 
[2026-09-24 16:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:37: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-09-24 16:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-24 16:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303464960001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303464960001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:37:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:37:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303464960001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":194145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:37:22] local.INFO: GPS data processed {"connection_id":194145,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:37:22] local.INFO: Acknowledgment sent {"connection_id":194145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:37:28] local.INFO: TCP Data received {"connection_id":191496,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:37:28] local.INFO: Processing buffer {"connection_id":191496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:37:28] local.INFO: IMEI packet received {"connection_id":191496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":191496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:37:33] local.INFO: TCP Data received {"connection_id":191496,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:37:33] local.INFO: Processing buffer {"connection_id":191496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:37:33] local.INFO: IMEI packet received {"connection_id":191496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":191496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:37:34] local.INFO: TCP Data received {"connection_id":191496,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:37:34] local.INFO: Processing buffer {"connection_id":191496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:37:34] local.INFO: Packet analysis {"connection_id":191496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:37:34] local.INFO: Extracted packet for processing {"connection_id":191496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:37:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303407872001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790247988000,"timestamp_ms":1790247988000,"timestamp_seconds":1790247988,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3186b20"} 
[2026-09-24 16:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303407872001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303407872001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:37:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:37:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303407872001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":191496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:37:34] local.INFO: GPS data processed {"connection_id":191496,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:37:34] local.INFO: Acknowledgment sent {"connection_id":191496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:37:44] local.INFO: TCP Data received {"connection_id":191497,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:37:44] local.INFO: Processing buffer {"connection_id":191497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:37:44] local.INFO: IMEI packet received {"connection_id":191497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":191497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:37:50] local.INFO: TCP Data received {"connection_id":191497,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:37:50] local.INFO: Processing buffer {"connection_id":191497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:37:50] local.INFO: IMEI packet received {"connection_id":191497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":191497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:37:51] local.INFO: TCP Data received {"connection_id":191497,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d317de80012d196a00071fec30003e011227..."} 
[2026-09-24 16:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d317de80012d196a00071fec30003e011227..."} 
[2026-09-24 16:37:51] local.INFO: Processing buffer {"connection_id":191497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d317de80012d196a00071fec30003e011227..."} 
[2026-09-24 16:37:51] local.INFO: Packet analysis {"connection_id":191497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d317"} 
[2026-09-24 16:37:51] local.INFO: Extracted packet for processing {"connection_id":191497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d317"} 
[2026-09-24 16:37:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303470336001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790247952000,"timestamp_ms":1790247952000,"timestamp_seconds":1790247952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d317de80"} 
[2026-09-24 16:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303470336001,"66":12374,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303470336001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:37:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:37:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303470336001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":191497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:37:51] local.INFO: GPS data processed {"connection_id":191497,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:37:51] local.INFO: Acknowledgment sent {"connection_id":191497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:38:06] local.INFO: TCP Data received {"connection_id":191496,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:38:06] local.INFO: Processing buffer {"connection_id":191496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:38:06] local.INFO: Packet analysis {"connection_id":191496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:38:06] local.INFO: Extracted packet for processing {"connection_id":191496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:38:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303407872001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790247988000,"timestamp_ms":1790247988000,"timestamp_seconds":1790247988,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3186b20"} 
[2026-09-24 16:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303407872001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303407872001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:38:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:38:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303407872001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":191496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:38:06] local.INFO: GPS data processed {"connection_id":191496,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:38:06] local.INFO: Acknowledgment sent {"connection_id":191496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:38:22] local.INFO: TCP Data received {"connection_id":191497,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3183088012d196a00071fec30003e011229..."} 
[2026-09-24 16:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3183088012d196a00071fec30003e011229..."} 
[2026-09-24 16:38:22] local.INFO: Processing buffer {"connection_id":191497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3183088012d196a00071fec30003e011229..."} 
[2026-09-24 16:38:22] local.INFO: Packet analysis {"connection_id":191497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:38:22] local.INFO: Extracted packet for processing {"connection_id":191497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:38:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303475712001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790247973000,"timestamp_ms":1790247973000,"timestamp_seconds":1790247973,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3183088"} 
[2026-09-24 16:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:38: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-09-24 16:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-24 16:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303475712001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303475712001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:38:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:38:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303475712001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":191497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:38:22] local.INFO: GPS data processed {"connection_id":191497,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:38:22] local.INFO: Acknowledgment sent {"connection_id":191497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:38:28] local.INFO: TCP Data received {"connection_id":194146,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:38:28] local.INFO: Processing buffer {"connection_id":194146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:38:28] local.INFO: IMEI packet received {"connection_id":194146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":194146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:38:33] local.INFO: TCP Data received {"connection_id":194146,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:38:33] local.INFO: Processing buffer {"connection_id":194146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:38:33] local.INFO: IMEI packet received {"connection_id":194146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":194146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:38:34] local.INFO: TCP Data received {"connection_id":194146,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:38:34] local.INFO: Processing buffer {"connection_id":194146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:38:34] local.INFO: Packet analysis {"connection_id":194146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:38:34] local.INFO: Extracted packet for processing {"connection_id":194146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:38:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303407872001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790247988000,"timestamp_ms":1790247988000,"timestamp_seconds":1790247988,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3186b20"} 
[2026-09-24 16:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303407872001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303407872001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:38:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:38:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303407872001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":194146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:38:34] local.INFO: GPS data processed {"connection_id":194146,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:38:34] local.INFO: Acknowledgment sent {"connection_id":194146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:38:50] local.INFO: TCP Data received {"connection_id":191498,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:38:50] local.INFO: Processing buffer {"connection_id":191498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:38:50] local.INFO: IMEI packet received {"connection_id":191498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":191498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:38:54] local.INFO: TCP Data received {"connection_id":191498,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:38:54] local.INFO: Processing buffer {"connection_id":191498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:38:54] local.INFO: IMEI packet received {"connection_id":191498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":191498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:38:55] local.INFO: TCP Data received {"connection_id":191498,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3188290012d196a00071fec30003e011228..."} 
[2026-09-24 16:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3188290012d196a00071fec30003e011228..."} 
[2026-09-24 16:38:55] local.INFO: Processing buffer {"connection_id":191498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3188290012d196a00071fec30003e011228..."} 
[2026-09-24 16:38:55] local.INFO: Packet analysis {"connection_id":191498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:38:55] local.INFO: Extracted packet for processing {"connection_id":191498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:38:55] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303481088001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790247994000,"timestamp_ms":1790247994000,"timestamp_seconds":1790247994,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3188290"} 
[2026-09-24 16:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:38: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-09-24 16:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:38: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-09-24 16:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303481088001,"66":12374,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303481088001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:38:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:38:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303481088001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":191498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:38:55] local.INFO: GPS data processed {"connection_id":191498,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:38:55] local.INFO: Acknowledgment sent {"connection_id":191498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:38:57] local.INFO: TCP Data received {"connection_id":191498,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d318d498012d196a00071fec30003e011226..."} 
[2026-09-24 16:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d318d498012d196a00071fec30003e011226..."} 
[2026-09-24 16:38:57] local.INFO: Processing buffer {"connection_id":191498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d318d498012d196a00071fec30003e011226..."} 
[2026-09-24 16:38:57] local.INFO: Packet analysis {"connection_id":191498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:38:57] local.INFO: Extracted packet for processing {"connection_id":191498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:38:57] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303486464001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790248015000,"timestamp_ms":1790248015000,"timestamp_seconds":1790248015,"priority":1,"record_length":96,"hex_timestamp":"000001a0d318d498"} 
[2026-09-24 16:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:38: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-09-24 16:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-24 16:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":191498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":191498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":191498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303486464001,"66":12319,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303486464001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:38:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:38:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303486464001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":191498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:38:57] local.INFO: GPS data processed {"connection_id":191498,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:38:57] local.INFO: Acknowledgment sent {"connection_id":191498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:39:06] local.INFO: TCP Data received {"connection_id":194146,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:39:06] local.INFO: Processing buffer {"connection_id":194146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:39:06] local.INFO: Packet analysis {"connection_id":194146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:39:06] local.INFO: Extracted packet for processing {"connection_id":194146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:39:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303407872001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790247988000,"timestamp_ms":1790247988000,"timestamp_seconds":1790247988,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3186b20"} 
[2026-09-24 16:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303407872001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303407872001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:39:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:39:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303407872001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":194146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:39:06] local.INFO: GPS data processed {"connection_id":194146,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:39:06] local.INFO: Acknowledgment sent {"connection_id":194146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:39:28] local.INFO: TCP Data received {"connection_id":192875,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:39:28] local.INFO: Processing buffer {"connection_id":192875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:39:28] local.INFO: IMEI packet received {"connection_id":192875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":192875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:39:28] local.INFO: TCP Data received {"connection_id":191498,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31926a0012d196a00071fec30003e011226..."} 
[2026-09-24 16:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31926a0012d196a00071fec30003e011226..."} 
[2026-09-24 16:39:28] local.INFO: Processing buffer {"connection_id":191498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31926a0012d196a00071fec30003e011226..."} 
[2026-09-24 16:39:28] local.INFO: Packet analysis {"connection_id":191498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d319"} 
[2026-09-24 16:39:28] local.INFO: Extracted packet for processing {"connection_id":191498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d319"} 
[2026-09-24 16:39:28] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303491840001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790248036000,"timestamp_ms":1790248036000,"timestamp_seconds":1790248036,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31926a0"} 
[2026-09-24 16:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-24 16:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":191498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":191498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":191498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303491840001,"66":12113,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303491840001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:39:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:39:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303491840001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":191498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:39:28] local.INFO: GPS data processed {"connection_id":191498,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:39:28] local.INFO: Acknowledgment sent {"connection_id":191498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:39:33] local.INFO: TCP Data received {"connection_id":192875,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:39:33] local.INFO: Processing buffer {"connection_id":192875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:39:33] local.INFO: IMEI packet received {"connection_id":192875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":192875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:39:34] local.INFO: TCP Data received {"connection_id":192875,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:39:34] local.INFO: Processing buffer {"connection_id":192875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:39:34] local.INFO: Packet analysis {"connection_id":192875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:39:34] local.INFO: Extracted packet for processing {"connection_id":192875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:39:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303407872001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790247988000,"timestamp_ms":1790247988000,"timestamp_seconds":1790247988,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3186b20"} 
[2026-09-24 16:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303407872001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303407872001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:39:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:39:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303407872001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":192875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:39:34] local.INFO: GPS data processed {"connection_id":192875,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:39:34] local.INFO: Acknowledgment sent {"connection_id":192875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:39:45] local.INFO: TCP Data received {"connection_id":191303,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:39:45] local.INFO: Processing buffer {"connection_id":191303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:39:45] local.INFO: IMEI packet received {"connection_id":191303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":191303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:39:50] local.INFO: TCP Data received {"connection_id":191303,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:39:50] local.INFO: Processing buffer {"connection_id":191303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:39:50] local.INFO: IMEI packet received {"connection_id":191303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":191303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:39:51] local.INFO: TCP Data received {"connection_id":191303,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31978a8012d196a00071fec30003e011228..."} 
[2026-09-24 16:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31978a8012d196a00071fec30003e011228..."} 
[2026-09-24 16:39:51] local.INFO: Processing buffer {"connection_id":191303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31978a8012d196a00071fec30003e011228..."} 
[2026-09-24 16:39:51] local.INFO: Packet analysis {"connection_id":191303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d319"} 
[2026-09-24 16:39:51] local.INFO: Extracted packet for processing {"connection_id":191303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d319"} 
[2026-09-24 16:39:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303497216001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790248057000,"timestamp_ms":1790248057000,"timestamp_seconds":1790248057,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31978a8"} 
[2026-09-24 16:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-24 16:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303497216001,"66":12341,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303497216001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:39:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:39:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303497216001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":191303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:39:51] local.INFO: GPS data processed {"connection_id":191303,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:39:51] local.INFO: Acknowledgment sent {"connection_id":191303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:40:06] local.INFO: TCP Data received {"connection_id":192875,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:40:06] local.INFO: Processing buffer {"connection_id":192875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:40:06] local.INFO: Packet analysis {"connection_id":192875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:40:06] local.INFO: Extracted packet for processing {"connection_id":192875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:40:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303407872001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790247988000,"timestamp_ms":1790247988000,"timestamp_seconds":1790247988,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3186b20"} 
[2026-09-24 16:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303407872001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303407872001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:40:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:40:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303407872001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":192875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:40:06] local.INFO: GPS data processed {"connection_id":192875,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:40:06] local.INFO: Acknowledgment sent {"connection_id":192875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:40:14] local.INFO: TCP Data received {"connection_id":192876,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192876,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:40:14] local.INFO: Processing buffer {"connection_id":192876,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:40:14] local.INFO: IMEI packet received {"connection_id":192876,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":192876,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:40:15] local.INFO: TCP Data received {"connection_id":192876,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31b64d8012d0c358007075658001400e61d..."} 
[2026-09-24 16:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31b64d8012d0c358007075658001400e61d..."} 
[2026-09-24 16:40:15] local.INFO: Processing buffer {"connection_id":192876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31b64d8012d0c358007075658001400e61d..."} 
[2026-09-24 16:40:15] local.INFO: Packet analysis {"connection_id":192876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31b"} 
[2026-09-24 16:40:15] local.INFO: Extracted packet for processing {"connection_id":192876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31b"} 
[2026-09-24 16:40:15] local.INFO: GPS Element Parsed {"raw_longitude":755774848,"raw_latitude":117921368,"longitude_deg":75.5774848,"latitude_deg":11.7921368,"altitude":20,"angle":230,"satellites":29,"speed":21,"hex_longitude":"2d0c3580","hex_latitude":"07075658","is_valid_coordinates":true} 
[2026-09-24 16:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303534592001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33698596872257536,"note":"Value kept but may cause issues"} 
[2026-09-24 16:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880172282362187776,"note":"Value kept but may cause issues"} 
[2026-09-24 16:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790248183000,"timestamp_ms":1790248183000,"timestamp_seconds":1790248183,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31b64d8"} 
[2026-09-24 16:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-24 16:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192876,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192876,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303534592001,"66":14396,"221":206,"94":10240,"24":21,"16":33698596872257536,"45":880172282362187776},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-24 16:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303534592001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:40:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-24 16:40:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33698596872257536,"km_value":33698596872257.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":880172282362187776,"description":"Unknown IO ID 45"} 
[2026-09-24 16:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303534592001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":880172282362187776}} 
[2026-09-24 16:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":192876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890798,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:40:15] local.INFO: GPS data processed {"connection_id":192876,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:40:15] local.INFO: Acknowledgment sent {"connection_id":192876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:40:21] local.INFO: TCP Data received {"connection_id":191303,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d319cab0012d196a00071fec30003e011228..."} 
[2026-09-24 16:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d319cab0012d196a00071fec30003e011228..."} 
[2026-09-24 16:40:21] local.INFO: Processing buffer {"connection_id":191303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d319cab0012d196a00071fec30003e011228..."} 
[2026-09-24 16:40:21] local.INFO: Packet analysis {"connection_id":191303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d319"} 
[2026-09-24 16:40:21] local.INFO: Extracted packet for processing {"connection_id":191303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d319"} 
[2026-09-24 16:40:21] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303502592001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790248078000,"timestamp_ms":1790248078000,"timestamp_seconds":1790248078,"priority":1,"record_length":96,"hex_timestamp":"000001a0d319cab0"} 
[2026-09-24 16:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:40: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-09-24 16:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 16:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303502592001,"66":12374,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303502592001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:40:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:40:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303502592001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":191303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:40:21] local.INFO: GPS data processed {"connection_id":191303,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:40:21] local.INFO: Acknowledgment sent {"connection_id":191303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:40:33] local.INFO: TCP Data received {"connection_id":194148,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:40:33] local.INFO: Processing buffer {"connection_id":194148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:40:33] local.INFO: IMEI packet received {"connection_id":194148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":194148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:40:38] local.INFO: TCP Data received {"connection_id":194148,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:40:38] local.INFO: Processing buffer {"connection_id":194148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:40:38] local.INFO: IMEI packet received {"connection_id":194148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":194148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:40:39] local.INFO: TCP Data received {"connection_id":194148,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:40:39] local.INFO: Processing buffer {"connection_id":194148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:40:39] local.INFO: Packet analysis {"connection_id":194148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:40:39] local.INFO: Extracted packet for processing {"connection_id":194148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:40:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303407872001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790247988000,"timestamp_ms":1790247988000,"timestamp_seconds":1790247988,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3186b20"} 
[2026-09-24 16:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303407872001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303407872001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:40:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:40:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303407872001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":194148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:40:39] local.INFO: GPS data processed {"connection_id":194148,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:40:39] local.INFO: Acknowledgment sent {"connection_id":194148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:40:42] local.INFO: TCP Data received {"connection_id":192877,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:40:42] local.INFO: Processing buffer {"connection_id":192877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:40:42] local.INFO: IMEI packet received {"connection_id":192877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":192877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:40:44] local.INFO: TCP Data received {"connection_id":194148,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:40:44] local.INFO: Processing buffer {"connection_id":194148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:40:44] local.INFO: Packet analysis {"connection_id":194148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:40:44] local.INFO: Extracted packet for processing {"connection_id":194148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:40:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303407872001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790247988000,"timestamp_ms":1790247988000,"timestamp_seconds":1790247988,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3186b20"} 
[2026-09-24 16:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303407872001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303407872001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:40:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:40:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303407872001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":194148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:40:44] local.INFO: GPS data processed {"connection_id":194148,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:40:44] local.INFO: Acknowledgment sent {"connection_id":194148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:40:45] local.INFO: TCP Data received {"connection_id":192877,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:40:45] local.INFO: Processing buffer {"connection_id":192877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:40:45] local.INFO: IMEI packet received {"connection_id":192877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":192877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:40:46] local.INFO: TCP Data received {"connection_id":192876,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31b6ca8012d0c310007075448001400fb1d..."} 
[2026-09-24 16:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31b6ca8012d0c310007075448001400fb1d..."} 
[2026-09-24 16:40:46] local.INFO: Processing buffer {"connection_id":192876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31b6ca8012d0c310007075448001400fb1d..."} 
[2026-09-24 16:40:46] local.INFO: Packet analysis {"connection_id":192876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31b"} 
[2026-09-24 16:40:46] local.INFO: Extracted packet for processing {"connection_id":192876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31b"} 
[2026-09-24 16:40:46] local.INFO: GPS Element Parsed {"raw_longitude":755773696,"raw_latitude":117920840,"longitude_deg":75.5773696,"latitude_deg":11.792084,"altitude":20,"angle":251,"satellites":29,"speed":26,"hex_longitude":"2d0c3100","hex_latitude":"07075448","is_valid_coordinates":true} 
[2026-09-24 16:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303534848001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33698657001799680,"note":"Value kept but may cause issues"} 
[2026-09-24 16:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879750069897025536,"note":"Value kept but may cause issues"} 
[2026-09-24 16:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790248185000,"timestamp_ms":1790248185000,"timestamp_seconds":1790248185,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31b6ca8"} 
[2026-09-24 16:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-24 16:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":192876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":192876,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":192876,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303534848001,"66":14461,"221":206,"94":10240,"24":26,"16":33698657001799680,"45":879750069897025536},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-24 16:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303534848001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:40:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-24 16:40:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33698657001799680,"km_value":33698657001799.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":879750069897025536,"description":"Unknown IO ID 45"} 
[2026-09-24 16:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303534848001,"power":14461,"unknown_221":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":879750069897025536}} 
[2026-09-24 16:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":192876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890802,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:40:46] local.INFO: GPS data processed {"connection_id":192876,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:40:46] local.INFO: Acknowledgment sent {"connection_id":192876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:40:50] local.INFO: TCP Data received {"connection_id":192877,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:40:50] local.INFO: Processing buffer {"connection_id":192877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:40:50] local.INFO: IMEI packet received {"connection_id":192877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":192877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:40:51] local.INFO: TCP Data received {"connection_id":192877,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31a1cb8012d196a00071fec30003e011227..."} 
[2026-09-24 16:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31a1cb8012d196a00071fec30003e011227..."} 
[2026-09-24 16:40:51] local.INFO: Processing buffer {"connection_id":192877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31a1cb8012d196a00071fec30003e011227..."} 
[2026-09-24 16:40:51] local.INFO: Packet analysis {"connection_id":192877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31a"} 
[2026-09-24 16:40:51] local.INFO: Extracted packet for processing {"connection_id":192877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31a"} 
[2026-09-24 16:40:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303507968001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790248099000,"timestamp_ms":1790248099000,"timestamp_seconds":1790248099,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31a1cb8"} 
[2026-09-24 16:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-24 16:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303507968001,"66":12004,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303507968001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:40:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:40:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303507968001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":192877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:40:51] local.INFO: GPS data processed {"connection_id":192877,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:40:51] local.INFO: Acknowledgment sent {"connection_id":192877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:41:02] local.INFO: TCP Data received {"connection_id":192878,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192878,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:41:02] local.INFO: Processing buffer {"connection_id":192878,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:41:02] local.INFO: IMEI packet received {"connection_id":192878,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":192878,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:41:03] local.INFO: TCP Data received {"connection_id":192878,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192878,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:41:03] local.INFO: Processing buffer {"connection_id":192878,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:41:03] local.INFO: IMEI packet received {"connection_id":192878,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":192878,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:41:08] local.INFO: TCP Data received {"connection_id":192878,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192878,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:41:08] local.INFO: Processing buffer {"connection_id":192878,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:41:08] local.INFO: IMEI packet received {"connection_id":192878,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":192878,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:41:08] local.INFO: TCP Data received {"connection_id":192878,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31c89d0012d0bb58007071a18001400d91d..."} 
[2026-09-24 16:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31c89d0012d0bb58007071a18001400d91d..."} 
[2026-09-24 16:41:08] local.INFO: Processing buffer {"connection_id":192878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31c89d0012d0bb58007071a18001400d91d..."} 
[2026-09-24 16:41:08] local.INFO: Packet analysis {"connection_id":192878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31c"} 
[2026-09-24 16:41:08] local.INFO: Extracted packet for processing {"connection_id":192878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31c"} 
[2026-09-24 16:41:08] local.INFO: GPS Element Parsed {"raw_longitude":755742080,"raw_latitude":117905944,"longitude_deg":75.574208,"latitude_deg":11.7905944,"altitude":20,"angle":217,"satellites":29,"speed":9,"hex_longitude":"2d0bb580","hex_latitude":"07071a18","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303553792001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33700679931396096,"note":"Value kept but may cause issues"} 
[2026-09-24 16:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843932379106701312,"note":"Value kept but may cause issues"} 
[2026-09-24 16:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790248258000,"timestamp_ms":1790248258000,"timestamp_seconds":1790248258,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31c89d0"} 
[2026-09-24 16:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-24 16:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192878,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192878,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303553792001,"66":14548,"163":206,"94":10240,"24":9,"16":33700679931396096,"45":843932379106701312},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-24 16:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303553792001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:41:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-24 16:41:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33700679931396096,"km_value":33700679931396.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":843932379106701312,"description":"Unknown IO ID 45"} 
[2026-09-24 16:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303553792001,"power":14548,"unknown_163":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":843932379106701312}} 
[2026-09-24 16:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":192878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890804,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:41:09] local.INFO: GPS data processed {"connection_id":192878,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:41:09] local.INFO: Acknowledgment sent {"connection_id":192878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:41:22] local.INFO: TCP Data received {"connection_id":192877,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31a6ec0012d196a00071fec30003e011226..."} 
[2026-09-24 16:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31a6ec0012d196a00071fec30003e011226..."} 
[2026-09-24 16:41:22] local.INFO: Processing buffer {"connection_id":192877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31a6ec0012d196a00071fec30003e011226..."} 
[2026-09-24 16:41:22] local.INFO: Packet analysis {"connection_id":192877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31a"} 
[2026-09-24 16:41:22] local.INFO: Extracted packet for processing {"connection_id":192877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31a"} 
[2026-09-24 16:41:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303513344001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790248120000,"timestamp_ms":1790248120000,"timestamp_seconds":1790248120,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31a6ec0"} 
[2026-09-24 16:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:41: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-09-24 16:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 16:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303513344001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303513344001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:41:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:41:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303513344001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":192877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:41:22] local.INFO: GPS data processed {"connection_id":192877,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:41:22] local.INFO: Acknowledgment sent {"connection_id":192877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:41:28] local.INFO: TCP Data received {"connection_id":192879,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:41:28] local.INFO: Processing buffer {"connection_id":192879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:41:28] local.INFO: IMEI packet received {"connection_id":192879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":192879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:41:33] local.INFO: TCP Data received {"connection_id":192879,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:41:33] local.INFO: Processing buffer {"connection_id":192879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:41:33] local.INFO: IMEI packet received {"connection_id":192879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":192879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:41:35] local.INFO: TCP Data received {"connection_id":192879,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:41:35] local.INFO: Processing buffer {"connection_id":192879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:41:35] local.INFO: Packet analysis {"connection_id":192879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:41:35] local.INFO: Extracted packet for processing {"connection_id":192879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:41:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303407872001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790247988000,"timestamp_ms":1790247988000,"timestamp_seconds":1790247988,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3186b20"} 
[2026-09-24 16:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303407872001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303407872001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:41:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:41:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303407872001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":192879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:41:35] local.INFO: GPS data processed {"connection_id":192879,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:41:35] local.INFO: Acknowledgment sent {"connection_id":192879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:41:40] local.INFO: TCP Data received {"connection_id":192878,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31c91a0012d0bb480070718d8001300ee1e..."} 
[2026-09-24 16:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31c91a0012d0bb480070718d8001300ee1e..."} 
[2026-09-24 16:41:40] local.INFO: Processing buffer {"connection_id":192878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31c91a0012d0bb480070718d8001300ee1e..."} 
[2026-09-24 16:41:40] local.INFO: Packet analysis {"connection_id":192878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31c"} 
[2026-09-24 16:41:40] local.INFO: Extracted packet for processing {"connection_id":192878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31c"} 
[2026-09-24 16:41:40] local.INFO: GPS Element Parsed {"raw_longitude":755741824,"raw_latitude":117905624,"longitude_deg":75.5741824,"latitude_deg":11.7905624,"altitude":19,"angle":238,"satellites":30,"speed":9,"hex_longitude":"2d0bb480","hex_latitude":"070718d8","is_valid_coordinates":true} 
[2026-09-24 16:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303554048001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33700701406232576,"note":"Value kept but may cause issues"} 
[2026-09-24 16:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843721272874113024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790248260000,"timestamp_ms":1790248260000,"timestamp_seconds":1790248260,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31c91a0"} 
[2026-09-24 16:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-24 16:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192878,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192878,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303554048001,"66":14515,"163":206,"94":10240,"24":9,"16":33700701406232576,"45":843721272874113024},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-24 16:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303554048001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:41:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-24 16:41:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33700701406232576,"km_value":33700701406232.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":843721272874113024,"description":"Unknown IO ID 45"} 
[2026-09-24 16:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303554048001,"power":14515,"unknown_163":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":843721272874113024}} 
[2026-09-24 16:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":192878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890807,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:41:40] local.INFO: GPS data processed {"connection_id":192878,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:41:40] local.INFO: Acknowledgment sent {"connection_id":192878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:41:40] local.INFO: TCP Data received {"connection_id":192879,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:41:40] local.INFO: Processing buffer {"connection_id":192879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3186b20012d34c14006aa4940000900f52c..."} 
[2026-09-24 16:41:40] local.INFO: Packet analysis {"connection_id":192879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:41:40] local.INFO: Extracted packet for processing {"connection_id":192879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d318"} 
[2026-09-24 16:41:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303407872001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790247988000,"timestamp_ms":1790247988000,"timestamp_seconds":1790247988,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3186b20"} 
[2026-09-24 16:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303407872001,"66":25625,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303407872001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:41:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:41:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303407872001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":192879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:41:40] local.INFO: GPS data processed {"connection_id":192879,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:41:40] local.INFO: Acknowledgment sent {"connection_id":192879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:41:45] local.INFO: TCP Data received {"connection_id":191304,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:41:45] local.INFO: Processing buffer {"connection_id":191304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:41:45] local.INFO: IMEI packet received {"connection_id":191304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":191304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:41:45] local.INFO: TCP Data received {"connection_id":191304,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:41:45] local.INFO: Processing buffer {"connection_id":191304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:41:45] local.INFO: IMEI packet received {"connection_id":191304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":191304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:41:50] local.INFO: TCP Data received {"connection_id":191304,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:41:50] local.INFO: Processing buffer {"connection_id":191304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:41:50] local.INFO: IMEI packet received {"connection_id":191304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":191304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:41:50] local.INFO: TCP Data received {"connection_id":191304,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31ac0c8012d196a00071fec30003e01122a..."} 
[2026-09-24 16:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31ac0c8012d196a00071fec30003e01122a..."} 
[2026-09-24 16:41:50] local.INFO: Processing buffer {"connection_id":191304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31ac0c8012d196a00071fec30003e01122a..."} 
[2026-09-24 16:41:50] local.INFO: Packet analysis {"connection_id":191304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31a"} 
[2026-09-24 16:41:50] local.INFO: Extracted packet for processing {"connection_id":191304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31a"} 
[2026-09-24 16:41:50] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303518720001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790248141000,"timestamp_ms":1790248141000,"timestamp_seconds":1790248141,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31ac0c8"} 
[2026-09-24 16:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:41: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-09-24 16:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303518720001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303518720001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:41:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:41:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303518720001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":191304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:41:51] local.INFO: GPS data processed {"connection_id":191304,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:41:51] local.INFO: Acknowledgment sent {"connection_id":191304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:42:03] local.INFO: TCP Data received {"connection_id":192880,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192880,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:42:03] local.INFO: Processing buffer {"connection_id":192880,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:42:03] local.INFO: IMEI packet received {"connection_id":192880,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":192880,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:42:04] local.INFO: TCP Data received {"connection_id":192880,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192880,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:42:04] local.INFO: Processing buffer {"connection_id":192880,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:42:04] local.INFO: IMEI packet received {"connection_id":192880,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":192880,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:42:08] local.INFO: TCP Data received {"connection_id":192880,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192880,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:42:08] local.INFO: Processing buffer {"connection_id":192880,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:42:08] local.INFO: IMEI packet received {"connection_id":192880,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":192880,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:42:09] local.INFO: TCP Data received {"connection_id":192880,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31c9588012d0bb34007071870001300fd1e..."} 
[2026-09-24 16:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31c9588012d0bb34007071870001300fd1e..."} 
[2026-09-24 16:42:09] local.INFO: Processing buffer {"connection_id":192880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31c9588012d0bb34007071870001300fd1e..."} 
[2026-09-24 16:42:09] local.INFO: Packet analysis {"connection_id":192880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31c"} 
[2026-09-24 16:42:09] local.INFO: Extracted packet for processing {"connection_id":192880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31c"} 
[2026-09-24 16:42:09] local.INFO: GPS Element Parsed {"raw_longitude":755741504,"raw_latitude":117905520,"longitude_deg":75.5741504,"latitude_deg":11.790552,"altitude":19,"angle":253,"satellites":30,"speed":11,"hex_longitude":"2d0bb340","hex_latitude":"07071870","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303554560001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33700718586101760,"note":"Value kept but may cause issues"} 
[2026-09-24 16:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843439797897320448,"note":"Value kept but may cause issues"} 
[2026-09-24 16:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790248261000,"timestamp_ms":1790248261000,"timestamp_seconds":1790248261,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31c9588"} 
[2026-09-24 16:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-24 16:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192880,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192880,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303554560001,"66":14407,"163":206,"94":10240,"24":11,"16":33700718586101760,"45":843439797897320448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-24 16:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303554560001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:42:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-24 16:42:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33700718586101760,"km_value":33700718586101.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":843439797897320448,"description":"Unknown IO ID 45"} 
[2026-09-24 16:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303554560001,"power":14407,"unknown_163":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":843439797897320448}} 
[2026-09-24 16:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":192880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890810,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:42:09] local.INFO: GPS data processed {"connection_id":192880,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:42:09] local.INFO: Acknowledgment sent {"connection_id":192880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:42:12] local.INFO: TCP Data received {"connection_id":192879,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:42:12] local.INFO: Processing buffer {"connection_id":192879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:42:12] local.INFO: Packet analysis {"connection_id":192879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:42:12] local.INFO: Extracted packet for processing {"connection_id":192879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:42:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303484928001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790248289000,"timestamp_ms":1790248289000,"timestamp_seconds":1790248289,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31d02e8"} 
[2026-09-24 16:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 16:42:12] 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-09-24 16:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303484928001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303484928001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:42:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:42:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303484928001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":192879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:42:12] local.INFO: GPS data processed {"connection_id":192879,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:42:12] local.INFO: Acknowledgment sent {"connection_id":192879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:42:18] local.INFO: TCP Data received {"connection_id":194149,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:42:18] local.INFO: Processing buffer {"connection_id":194149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:42:18] local.INFO: IMEI packet received {"connection_id":194149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 16:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":194149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:42:22] local.INFO: TCP Data received {"connection_id":191304,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31b12d0012d196a00071fec30003e011226..."} 
[2026-09-24 16:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31b12d0012d196a00071fec30003e011226..."} 
[2026-09-24 16:42:22] local.INFO: Processing buffer {"connection_id":191304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31b12d0012d196a00071fec30003e011226..."} 
[2026-09-24 16:42:22] local.INFO: Packet analysis {"connection_id":191304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31b"} 
[2026-09-24 16:42:22] local.INFO: Extracted packet for processing {"connection_id":191304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31b"} 
[2026-09-24 16:42:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:42: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-09-24 16:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303524096001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790248162000,"timestamp_ms":1790248162000,"timestamp_seconds":1790248162,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31b12d0"} 
[2026-09-24 16:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:42: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-09-24 16:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:42: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-09-24 16:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303524096001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303524096001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:42:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:42:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303524096001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":191304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:42:22] local.INFO: GPS data processed {"connection_id":191304,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:42:22] local.INFO: Acknowledgment sent {"connection_id":191304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:42:28] local.INFO: TCP Data received {"connection_id":192881,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:42:28] local.INFO: Processing buffer {"connection_id":192881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:42:28] local.INFO: IMEI packet received {"connection_id":192881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":192881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:42:33] local.INFO: TCP Data received {"connection_id":192881,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:42:33] local.INFO: Processing buffer {"connection_id":192881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:42:33] local.INFO: IMEI packet received {"connection_id":192881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":192881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:42:34] local.INFO: TCP Data received {"connection_id":192881,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:42:34] local.INFO: Processing buffer {"connection_id":192881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:42:34] local.INFO: Packet analysis {"connection_id":192881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:42:34] local.INFO: Extracted packet for processing {"connection_id":192881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:42:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303484928001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790248289000,"timestamp_ms":1790248289000,"timestamp_seconds":1790248289,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31d02e8"} 
[2026-09-24 16:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 16:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303484928001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303484928001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:42:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:42:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303484928001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":192881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:42:34] local.INFO: GPS data processed {"connection_id":192881,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:42:34] local.INFO: Acknowledgment sent {"connection_id":192881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:42:40] local.INFO: TCP Data received {"connection_id":192880,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31de960012d0aef8007066e68000e00b61d..."} 
[2026-09-24 16:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31de960012d0aef8007066e68000e00b61d..."} 
[2026-09-24 16:42:40] local.INFO: Processing buffer {"connection_id":192880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31de960012d0aef8007066e68000e00b61d..."} 
[2026-09-24 16:42:40] local.INFO: Packet analysis {"connection_id":192880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:42:40] local.INFO: Extracted packet for processing {"connection_id":192880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:42:40] local.INFO: GPS Element Parsed {"raw_longitude":755691392,"raw_latitude":117861992,"longitude_deg":75.5691392,"latitude_deg":11.7861992,"altitude":14,"angle":182,"satellites":29,"speed":7,"hex_longitude":"2d0aef80","hex_latitude":"07066e68","is_valid_coordinates":true} 
[2026-09-24 16:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303576832001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33704180329742336,"note":"Value kept but may cause issues"} 
[2026-09-24 16:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787989227474198528,"note":"Value kept but may cause issues"} 
[2026-09-24 16:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790248348000,"timestamp_ms":1790248348000,"timestamp_seconds":1790248348,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31de960"} 
[2026-09-24 16:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-24 16:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192880,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192880,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303576832001,"66":14439,"163":206,"94":10240,"24":7,"16":33704180329742336,"45":787989227474198528},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-24 16:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303576832001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:42:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-24 16:42:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33704180329742336,"km_value":33704180329742.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":787989227474198528,"description":"Unknown IO ID 45"} 
[2026-09-24 16:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303576832001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":787989227474198528}} 
[2026-09-24 16:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":192880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890814,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:42:40] local.INFO: GPS data processed {"connection_id":192880,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:42:40] local.INFO: Acknowledgment sent {"connection_id":192880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:42:45] local.INFO: TCP Data received {"connection_id":191305,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:42:45] local.INFO: Processing buffer {"connection_id":191305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:42:45] local.INFO: IMEI packet received {"connection_id":191305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":191305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:42:48] local.INFO: TCP Data received {"connection_id":191305,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:42:48] local.INFO: Processing buffer {"connection_id":191305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:42:48] local.INFO: IMEI packet received {"connection_id":191305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":191305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:42:49] local.INFO: TCP Data received {"connection_id":191305,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:42:49] local.INFO: Processing buffer {"connection_id":191305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:42:49] local.INFO: IMEI packet received {"connection_id":191305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":191305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:42:50] local.INFO: TCP Data received {"connection_id":191305,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31b64d8012d196a00071fec30003e011226..."} 
[2026-09-24 16:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31b64d8012d196a00071fec30003e011226..."} 
[2026-09-24 16:42:50] local.INFO: Processing buffer {"connection_id":191305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31b64d8012d196a00071fec30003e011226..."} 
[2026-09-24 16:42:50] local.INFO: Packet analysis {"connection_id":191305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31b"} 
[2026-09-24 16:42:50] local.INFO: Extracted packet for processing {"connection_id":191305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31b"} 
[2026-09-24 16:42:50] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303529472001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790248183000,"timestamp_ms":1790248183000,"timestamp_seconds":1790248183,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31b64d8"} 
[2026-09-24 16:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:42: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-09-24 16:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303529472001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303529472001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:42:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:42:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303529472001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":191305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:42:50] local.INFO: GPS data processed {"connection_id":191305,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:42:50] local.INFO: Acknowledgment sent {"connection_id":191305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:42:55] local.INFO: TCP Data received {"connection_id":191305,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31bb6e0012d196a00071fec30003e011226..."} 
[2026-09-24 16:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31bb6e0012d196a00071fec30003e011226..."} 
[2026-09-24 16:42:55] local.INFO: Processing buffer {"connection_id":191305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31bb6e0012d196a00071fec30003e011226..."} 
[2026-09-24 16:42:55] local.INFO: Packet analysis {"connection_id":191305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31b"} 
[2026-09-24 16:42:55] local.INFO: Extracted packet for processing {"connection_id":191305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31b"} 
[2026-09-24 16:42:55] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303534848001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790248204000,"timestamp_ms":1790248204000,"timestamp_seconds":1790248204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31bb6e0"} 
[2026-09-24 16:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:42: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-09-24 16:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303534848001,"66":12341,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303534848001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:42:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:42:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303534848001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":191305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:42:55] local.INFO: GPS data processed {"connection_id":191305,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:42:55] local.INFO: Acknowledgment sent {"connection_id":191305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:43:05] local.INFO: TCP Data received {"connection_id":192881,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:43:05] local.INFO: Processing buffer {"connection_id":192881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:43:05] local.INFO: Packet analysis {"connection_id":192881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:43:05] local.INFO: Extracted packet for processing {"connection_id":192881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:43:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303484928001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790248289000,"timestamp_ms":1790248289000,"timestamp_seconds":1790248289,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31d02e8"} 
[2026-09-24 16:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 16:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303484928001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303484928001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:43:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:43:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303484928001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":192881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:43:05] local.INFO: GPS data processed {"connection_id":192881,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:43:05] local.INFO: Acknowledgment sent {"connection_id":192881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:43:08] local.INFO: TCP Data received {"connection_id":192882,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192882,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:43:08] local.INFO: Processing buffer {"connection_id":192882,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:43:08] local.INFO: IMEI packet received {"connection_id":192882,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":192882,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:43:14] local.INFO: TCP Data received {"connection_id":192882,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192882,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:43:14] local.INFO: Processing buffer {"connection_id":192882,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:43:14] local.INFO: IMEI packet received {"connection_id":192882,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":192882,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:43:14] local.INFO: TCP Data received {"connection_id":192882,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31df130012d0aef8007066ca8000e00a61d..."} 
[2026-09-24 16:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31df130012d0aef8007066ca8000e00a61d..."} 
[2026-09-24 16:43:14] local.INFO: Processing buffer {"connection_id":192882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31df130012d0aef8007066ca8000e00a61d..."} 
[2026-09-24 16:43:14] local.INFO: Packet analysis {"connection_id":192882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:43:14] local.INFO: Extracted packet for processing {"connection_id":192882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:43:14] local.INFO: GPS Element Parsed {"raw_longitude":755691392,"raw_latitude":117861544,"longitude_deg":75.5691392,"latitude_deg":11.7861544,"altitude":14,"angle":166,"satellites":29,"speed":10,"hex_longitude":"2d0aef80","hex_latitude":"07066ca8","is_valid_coordinates":true} 
[2026-09-24 16:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303577088001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33704201804578816,"note":"Value kept but may cause issues"} 
[2026-09-24 16:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787989227474151424,"note":"Value kept but may cause issues"} 
[2026-09-24 16:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790248350000,"timestamp_ms":1790248350000,"timestamp_seconds":1790248350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31df130"} 
[2026-09-24 16:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 16:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":192882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":192882,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":192882,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303577088001,"66":14515,"163":206,"94":10240,"24":10,"16":33704201804578816,"45":787989227474151424},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-24 16:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303577088001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:43:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-24 16:43:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33704201804578816,"km_value":33704201804578.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":787989227474151424,"description":"Unknown IO ID 45"} 
[2026-09-24 16:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303577088001,"power":14515,"unknown_163":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":787989227474151424}} 
[2026-09-24 16:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":192882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890818,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:43:15] local.INFO: GPS data processed {"connection_id":192882,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:43:15] local.INFO: Acknowledgment sent {"connection_id":192882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:43:16] local.INFO: TCP Data received {"connection_id":192882,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31e1070012d0af38007066008000d009a1d..."} 
[2026-09-24 16:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31e1070012d0af38007066008000d009a1d..."} 
[2026-09-24 16:43:16] local.INFO: Processing buffer {"connection_id":192882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31e1070012d0af38007066008000d009a1d..."} 
[2026-09-24 16:43:16] local.INFO: Packet analysis {"connection_id":192882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31e"} 
[2026-09-24 16:43:16] local.INFO: Extracted packet for processing {"connection_id":192882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31e"} 
[2026-09-24 16:43:16] local.INFO: GPS Element Parsed {"raw_longitude":755692416,"raw_latitude":117858312,"longitude_deg":75.5692416,"latitude_deg":11.7858312,"altitude":13,"angle":154,"satellites":29,"speed":17,"hex_longitude":"2d0af380","hex_latitude":"07066008","is_valid_coordinates":true} 
[2026-09-24 16:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303577600001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33704365013336064,"note":"Value kept but may cause issues"} 
[2026-09-24 16:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787989227474036736,"note":"Value kept but may cause issues"} 
[2026-09-24 16:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790248358000,"timestamp_ms":1790248358000,"timestamp_seconds":1790248358,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31e1070"} 
[2026-09-24 16:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-24 16:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":192882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":192882,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":192882,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303577600001,"66":14537,"163":206,"94":10240,"24":17,"16":33704365013336064,"45":787989227474036736},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-24 16:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303577600001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:43:16] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-24 16:43:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33704365013336064,"km_value":33704365013336.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":787989227474036736,"description":"Unknown IO ID 45"} 
[2026-09-24 16:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303577600001,"power":14537,"unknown_163":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":787989227474036736}} 
[2026-09-24 16:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":192882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890819,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:43:16] local.INFO: GPS data processed {"connection_id":192882,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:43:16] local.INFO: Acknowledgment sent {"connection_id":192882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:43:26] local.INFO: TCP Data received {"connection_id":191305,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31c08e8012d196a00071fec30003e011227..."} 
[2026-09-24 16:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31c08e8012d196a00071fec30003e011227..."} 
[2026-09-24 16:43:26] local.INFO: Processing buffer {"connection_id":191305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31c08e8012d196a00071fec30003e011227..."} 
[2026-09-24 16:43:26] local.INFO: Packet analysis {"connection_id":191305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31c"} 
[2026-09-24 16:43:26] local.INFO: Extracted packet for processing {"connection_id":191305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31c"} 
[2026-09-24 16:43:26] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303540224001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790248225000,"timestamp_ms":1790248225000,"timestamp_seconds":1790248225,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31c08e8"} 
[2026-09-24 16:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:43: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-09-24 16:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 16:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303540224001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303540224001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:43:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:43:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303540224001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":191305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:43:26] local.INFO: GPS data processed {"connection_id":191305,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:43:26] local.INFO: Acknowledgment sent {"connection_id":191305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:43:28] local.INFO: TCP Data received {"connection_id":194150,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:43:28] local.INFO: Processing buffer {"connection_id":194150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:43:28] local.INFO: IMEI packet received {"connection_id":194150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":194150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:43:33] local.INFO: TCP Data received {"connection_id":194150,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:43:33] local.INFO: Processing buffer {"connection_id":194150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:43:33] local.INFO: IMEI packet received {"connection_id":194150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":194150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:43:34] local.INFO: TCP Data received {"connection_id":194150,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:43:34] local.INFO: Processing buffer {"connection_id":194150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:43:34] local.INFO: Packet analysis {"connection_id":194150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:43:34] local.INFO: Extracted packet for processing {"connection_id":194150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:43:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303484928001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790248289000,"timestamp_ms":1790248289000,"timestamp_seconds":1790248289,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31d02e8"} 
[2026-09-24 16:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 16:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303484928001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303484928001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:43:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:43:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303484928001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":194150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:43:34] local.INFO: GPS data processed {"connection_id":194150,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:43:34] local.INFO: Acknowledgment sent {"connection_id":194150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:43:44] local.INFO: TCP Data received {"connection_id":191500,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:43:44] local.INFO: Processing buffer {"connection_id":191500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:43:44] local.INFO: IMEI packet received {"connection_id":191500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":191500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:43:47] local.INFO: TCP Data received {"connection_id":192882,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31e4ef0012d0b0580070641b0000b00941d..."} 
[2026-09-24 16:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31e4ef0012d0b0580070641b0000b00941d..."} 
[2026-09-24 16:43:47] local.INFO: Processing buffer {"connection_id":192882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31e4ef0012d0b0580070641b0000b00941d..."} 
[2026-09-24 16:43:47] local.INFO: Packet analysis {"connection_id":192882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31e"} 
[2026-09-24 16:43:47] local.INFO: Extracted packet for processing {"connection_id":192882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31e"} 
[2026-09-24 16:43:47] local.INFO: GPS Element Parsed {"raw_longitude":755697024,"raw_latitude":117850544,"longitude_deg":75.5697024,"latitude_deg":11.7850544,"altitude":11,"angle":148,"satellites":29,"speed":24,"hex_longitude":"2d0b0580","hex_latitude":"070641b0","is_valid_coordinates":true} 
[2026-09-24 16:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303579648001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33704803100000256,"note":"Value kept but may cause issues"} 
[2026-09-24 16:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789115127380051968,"note":"Value kept but may cause issues"} 
[2026-09-24 16:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790248374000,"timestamp_ms":1790248374000,"timestamp_seconds":1790248374,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31e4ef0"} 
[2026-09-24 16:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-24 16:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":192882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":192882,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":192882,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 16:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 16:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 16:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303579648001,"66":14537,"165":206,"94":10240,"24":24,"16":33704803100000256,"45":789115127380051968},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-24 16:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 16:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 16:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303579648001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:43:47] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 16:43:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 16:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33704803100000256,"km_value":33704803100000.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":789115127380051968,"description":"Unknown IO ID 45"} 
[2026-09-24 16:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303579648001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":789115127380051968}} 
[2026-09-24 16:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":192882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890822,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:43:47] local.INFO: GPS data processed {"connection_id":192882,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:43:47] local.INFO: Acknowledgment sent {"connection_id":192882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:43:50] local.INFO: TCP Data received {"connection_id":191500,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:43:50] local.INFO: Processing buffer {"connection_id":191500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:43:50] local.INFO: IMEI packet received {"connection_id":191500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":191500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:43:51] local.INFO: TCP Data received {"connection_id":191500,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31c5af0012d196a00071fec30003e011228..."} 
[2026-09-24 16:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31c5af0012d196a00071fec30003e011228..."} 
[2026-09-24 16:43:51] local.INFO: Processing buffer {"connection_id":191500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31c5af0012d196a00071fec30003e011228..."} 
[2026-09-24 16:43:51] local.INFO: Packet analysis {"connection_id":191500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31c"} 
[2026-09-24 16:43:51] local.INFO: Extracted packet for processing {"connection_id":191500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31c"} 
[2026-09-24 16:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303545600001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790248246000,"timestamp_ms":1790248246000,"timestamp_seconds":1790248246,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31c5af0"} 
[2026-09-24 16:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303545600001,"66":12341,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303545600001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:43:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:43:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303545600001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":191500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:43:51] local.INFO: GPS data processed {"connection_id":191500,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:43:51] local.INFO: Acknowledgment sent {"connection_id":191500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:44:03] local.INFO: TCP Data received {"connection_id":194151,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194151,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:44:03] local.INFO: Processing buffer {"connection_id":194151,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:44:03] local.INFO: IMEI packet received {"connection_id":194151,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":194151,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:44:03] local.INFO: TCP Data received {"connection_id":194151,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194151,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:44:03] local.INFO: Processing buffer {"connection_id":194151,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:44:03] local.INFO: IMEI packet received {"connection_id":194151,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":194151,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:44:06] local.INFO: TCP Data received {"connection_id":194150,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:44:06] local.INFO: Processing buffer {"connection_id":194150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:44:06] local.INFO: Packet analysis {"connection_id":194150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:44:06] local.INFO: Extracted packet for processing {"connection_id":194150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303484928001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790248289000,"timestamp_ms":1790248289000,"timestamp_seconds":1790248289,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31d02e8"} 
[2026-09-24 16:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 16:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303484928001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303484928001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:44:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:44:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303484928001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":194150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:44:06] local.INFO: GPS data processed {"connection_id":194150,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:44:06] local.INFO: Acknowledgment sent {"connection_id":194150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:44:22] local.INFO: TCP Data received {"connection_id":191500,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31cacf8012d196a00071fec30003e011228..."} 
[2026-09-24 16:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31cacf8012d196a00071fec30003e011228..."} 
[2026-09-24 16:44:22] local.INFO: Processing buffer {"connection_id":191500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31cacf8012d196a00071fec30003e011228..."} 
[2026-09-24 16:44:22] local.INFO: Packet analysis {"connection_id":191500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31c"} 
[2026-09-24 16:44:22] local.INFO: Extracted packet for processing {"connection_id":191500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31c"} 
[2026-09-24 16:44:22] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303550976001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790248267000,"timestamp_ms":1790248267000,"timestamp_seconds":1790248267,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31cacf8"} 
[2026-09-24 16:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:44: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-09-24 16:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 16:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303550976001,"66":12341,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303550976001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:44:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:44:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303550976001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":191500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:44:22] local.INFO: GPS data processed {"connection_id":191500,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:44:22] local.INFO: Acknowledgment sent {"connection_id":191500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:44:28] local.INFO: TCP Data received {"connection_id":191501,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:44:28] local.INFO: Processing buffer {"connection_id":191501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:44:28] local.INFO: IMEI packet received {"connection_id":191501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":191501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:44:33] local.INFO: TCP Data received {"connection_id":191501,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:44:33] local.INFO: Processing buffer {"connection_id":191501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:44:33] local.INFO: IMEI packet received {"connection_id":191501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":191501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:44:34] local.INFO: TCP Data received {"connection_id":191501,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:44:34] local.INFO: Processing buffer {"connection_id":191501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:44:34] local.INFO: Packet analysis {"connection_id":191501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:44:34] local.INFO: Extracted packet for processing {"connection_id":191501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:44:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303484928001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790248289000,"timestamp_ms":1790248289000,"timestamp_seconds":1790248289,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31d02e8"} 
[2026-09-24 16:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 16:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303484928001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303484928001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:44:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:44:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303484928001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":191501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:44:34] local.INFO: GPS data processed {"connection_id":191501,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:44:34] local.INFO: Acknowledgment sent {"connection_id":191501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:44:50] local.INFO: TCP Data received {"connection_id":191306,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:44:50] local.INFO: Processing buffer {"connection_id":191306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:44:50] local.INFO: IMEI packet received {"connection_id":191306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":191306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:44:53] local.INFO: TCP Data received {"connection_id":191306,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:44:53] local.INFO: Processing buffer {"connection_id":191306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:44:53] local.INFO: IMEI packet received {"connection_id":191306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":191306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:44:54] local.INFO: TCP Data received {"connection_id":191306,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31cff00012d196a00071fec30003e011229..."} 
[2026-09-24 16:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31cff00012d196a00071fec30003e011229..."} 
[2026-09-24 16:44:54] local.INFO: Processing buffer {"connection_id":191306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31cff00012d196a00071fec30003e011229..."} 
[2026-09-24 16:44:54] local.INFO: Packet analysis {"connection_id":191306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31c"} 
[2026-09-24 16:44:54] local.INFO: Extracted packet for processing {"connection_id":191306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31c"} 
[2026-09-24 16:44:54] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":41,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303556352001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790248288000,"timestamp_ms":1790248288000,"timestamp_seconds":1790248288,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31cff00"} 
[2026-09-24 16:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 16:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":191306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":191306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":191306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303556352001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303556352001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:44:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:44:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303556352001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":191306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:44:54] local.INFO: GPS data processed {"connection_id":191306,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:44:54] local.INFO: Acknowledgment sent {"connection_id":191306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:44:55] local.INFO: TCP Data received {"connection_id":191306,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31d5108012d196a00071fec30003e011222..."} 
[2026-09-24 16:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31d5108012d196a00071fec30003e011222..."} 
[2026-09-24 16:44:55] local.INFO: Processing buffer {"connection_id":191306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31d5108012d196a00071fec30003e011222..."} 
[2026-09-24 16:44:55] local.INFO: Packet analysis {"connection_id":191306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:44:55] local.INFO: Extracted packet for processing {"connection_id":191306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:44:55] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":34,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303561728001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790248309000,"timestamp_ms":1790248309000,"timestamp_seconds":1790248309,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31d5108"} 
[2026-09-24 16:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:44: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-09-24 16:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303561728001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303561728001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:44:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:44:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303561728001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":191306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:44:55] local.INFO: GPS data processed {"connection_id":191306,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:44:55] local.INFO: Acknowledgment sent {"connection_id":191306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:45:06] local.INFO: TCP Data received {"connection_id":191501,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:45:06] local.INFO: Processing buffer {"connection_id":191501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:45:06] local.INFO: Packet analysis {"connection_id":191501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:45:06] local.INFO: Extracted packet for processing {"connection_id":191501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:45:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303484928001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790248289000,"timestamp_ms":1790248289000,"timestamp_seconds":1790248289,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31d02e8"} 
[2026-09-24 16:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 16:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303484928001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303484928001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:45:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:45:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303484928001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":191501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:45:06] local.INFO: GPS data processed {"connection_id":191501,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:45:06] local.INFO: Acknowledgment sent {"connection_id":191501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:45:25] local.INFO: TCP Data received {"connection_id":194151,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194151,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:45:25] local.INFO: Processing buffer {"connection_id":194151,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:45:25] local.INFO: IMEI packet received {"connection_id":194151,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":194151,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:45:26] local.INFO: TCP Data received {"connection_id":191306,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31da310012d196a00071fec30003e011227..."} 
[2026-09-24 16:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31da310012d196a00071fec30003e011227..."} 
[2026-09-24 16:45:26] local.INFO: Processing buffer {"connection_id":191306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31da310012d196a00071fec30003e011227..."} 
[2026-09-24 16:45:26] local.INFO: Packet analysis {"connection_id":191306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:45:26] local.INFO: Extracted packet for processing {"connection_id":191306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:45:26] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:45: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-09-24 16:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303567104001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790248330000,"timestamp_ms":1790248330000,"timestamp_seconds":1790248330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31da310"} 
[2026-09-24 16:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:45: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-09-24 16:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:45: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-09-24 16:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303567104001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303567104001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:45:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:45:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303567104001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":191306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:45:26] local.INFO: GPS data processed {"connection_id":191306,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:45:26] local.INFO: Acknowledgment sent {"connection_id":191306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:45:28] local.INFO: TCP Data received {"connection_id":192884,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:45:28] local.INFO: Processing buffer {"connection_id":192884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:45:28] local.INFO: IMEI packet received {"connection_id":192884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":192884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:45:33] local.INFO: TCP Data received {"connection_id":192884,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:45:33] local.INFO: Processing buffer {"connection_id":192884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:45:33] local.INFO: IMEI packet received {"connection_id":192884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":192884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:45:34] local.INFO: TCP Data received {"connection_id":192884,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:45:34] local.INFO: Processing buffer {"connection_id":192884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:45:34] local.INFO: Packet analysis {"connection_id":192884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:45:34] local.INFO: Extracted packet for processing {"connection_id":192884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:45:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303484928001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790248289000,"timestamp_ms":1790248289000,"timestamp_seconds":1790248289,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31d02e8"} 
[2026-09-24 16:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 16:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303484928001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303484928001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:45:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:45:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303484928001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":192884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:45:34] local.INFO: GPS data processed {"connection_id":192884,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:45:34] local.INFO: Acknowledgment sent {"connection_id":192884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:45:45] local.INFO: TCP Data received {"connection_id":191503,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:45:45] local.INFO: Processing buffer {"connection_id":191503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:45:45] local.INFO: IMEI packet received {"connection_id":191503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":191503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:45:50] local.INFO: TCP Data received {"connection_id":191503,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:45:50] local.INFO: Processing buffer {"connection_id":191503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:45:50] local.INFO: IMEI packet received {"connection_id":191503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":191503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:45:50] local.INFO: TCP Data received {"connection_id":191503,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31df518012d196a00071fec30003e011226..."} 
[2026-09-24 16:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31df518012d196a00071fec30003e011226..."} 
[2026-09-24 16:45:50] local.INFO: Processing buffer {"connection_id":191503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31df518012d196a00071fec30003e011226..."} 
[2026-09-24 16:45:50] local.INFO: Packet analysis {"connection_id":191503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:45:50] local.INFO: Extracted packet for processing {"connection_id":191503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:45:50] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303572480001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790248351000,"timestamp_ms":1790248351000,"timestamp_seconds":1790248351,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31df518"} 
[2026-09-24 16:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:45: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-09-24 16:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303572480001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303572480001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:45:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:45:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303572480001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":191503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:45:51] local.INFO: GPS data processed {"connection_id":191503,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:45:51] local.INFO: Acknowledgment sent {"connection_id":191503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:46:06] local.INFO: TCP Data received {"connection_id":192884,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:46:06] local.INFO: Processing buffer {"connection_id":192884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:46:06] local.INFO: Packet analysis {"connection_id":192884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:46:06] local.INFO: Extracted packet for processing {"connection_id":192884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:46:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303484928001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790248289000,"timestamp_ms":1790248289000,"timestamp_seconds":1790248289,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31d02e8"} 
[2026-09-24 16:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 16:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303484928001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303484928001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:46:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:46:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303484928001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":192884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:46:06] local.INFO: GPS data processed {"connection_id":192884,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:46:06] local.INFO: Acknowledgment sent {"connection_id":192884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:46:21] local.INFO: TCP Data received {"connection_id":191503,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31e4720012d196a00071fec30003e011226..."} 
[2026-09-24 16:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31e4720012d196a00071fec30003e011226..."} 
[2026-09-24 16:46:21] local.INFO: Processing buffer {"connection_id":191503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31e4720012d196a00071fec30003e011226..."} 
[2026-09-24 16:46:21] local.INFO: Packet analysis {"connection_id":191503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31e"} 
[2026-09-24 16:46:21] local.INFO: Extracted packet for processing {"connection_id":191503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31e"} 
[2026-09-24 16:46:21] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":38,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303577856001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790248372000,"timestamp_ms":1790248372000,"timestamp_seconds":1790248372,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31e4720"} 
[2026-09-24 16:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:46: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-09-24 16:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303577856001,"66":12363,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303577856001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:46:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:46:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303577856001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":191503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:46:21] local.INFO: GPS data processed {"connection_id":191503,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:46:21] local.INFO: Acknowledgment sent {"connection_id":191503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:46:33] local.INFO: TCP Data received {"connection_id":191307,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:46:33] local.INFO: Processing buffer {"connection_id":191307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:46:33] local.INFO: IMEI packet received {"connection_id":191307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":191307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:46:38] local.INFO: TCP Data received {"connection_id":191307,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:46:38] local.INFO: Processing buffer {"connection_id":191307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:46:38] local.INFO: IMEI packet received {"connection_id":191307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":191307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:46:39] local.INFO: TCP Data received {"connection_id":191307,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:46:39] local.INFO: Processing buffer {"connection_id":191307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:46:39] local.INFO: Packet analysis {"connection_id":191307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:46:39] local.INFO: Extracted packet for processing {"connection_id":191307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:46:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303484928001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790248289000,"timestamp_ms":1790248289000,"timestamp_seconds":1790248289,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31d02e8"} 
[2026-09-24 16:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 16:46:39] 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-09-24 16:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303484928001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303484928001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:46:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:46:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303484928001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":191307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:46:39] local.INFO: GPS data processed {"connection_id":191307,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:46:39] local.INFO: Acknowledgment sent {"connection_id":191307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:46:44] local.INFO: TCP Data received {"connection_id":191307,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:46:44] local.INFO: Processing buffer {"connection_id":191307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31d02e8012d34c14006aa4940000900f527..."} 
[2026-09-24 16:46:44] local.INFO: Packet analysis {"connection_id":191307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:46:44] local.INFO: Extracted packet for processing {"connection_id":191307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31d"} 
[2026-09-24 16:46:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303484928001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790248289000,"timestamp_ms":1790248289000,"timestamp_seconds":1790248289,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31d02e8"} 
[2026-09-24 16:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-24 16:46:44] 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-09-24 16:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303484928001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303484928001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:46:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:46:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303484928001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":191307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:46:44] local.INFO: GPS data processed {"connection_id":191307,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:46:44] local.INFO: Acknowledgment sent {"connection_id":191307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:46:45] local.INFO: TCP Data received {"connection_id":194154,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:46:45] local.INFO: Processing buffer {"connection_id":194154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:46:45] local.INFO: IMEI packet received {"connection_id":194154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":194154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:46:50] local.INFO: TCP Data received {"connection_id":194154,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:46:50] local.INFO: Processing buffer {"connection_id":194154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:46:50] local.INFO: IMEI packet received {"connection_id":194154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":194154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:46:50] local.INFO: TCP Data received {"connection_id":194154,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31e9928012d196a00071fec30003e011227..."} 
[2026-09-24 16:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31e9928012d196a00071fec30003e011227..."} 
[2026-09-24 16:46:50] local.INFO: Processing buffer {"connection_id":194154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31e9928012d196a00071fec30003e011227..."} 
[2026-09-24 16:46:50] local.INFO: Packet analysis {"connection_id":194154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31e"} 
[2026-09-24 16:46:50] local.INFO: Extracted packet for processing {"connection_id":194154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31e"} 
[2026-09-24 16:46:50] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303583232001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790248393000,"timestamp_ms":1790248393000,"timestamp_seconds":1790248393,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31e9928"} 
[2026-09-24 16:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:46: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-09-24 16:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-24 16:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":194154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":194154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":194154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303583232001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303583232001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:46:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:46:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303583232001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":194154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:46:51] local.INFO: GPS data processed {"connection_id":194154,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:46:51] local.INFO: Acknowledgment sent {"connection_id":194154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:47:21] local.INFO: TCP Data received {"connection_id":194154,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31eeb30012d196a00071fec30003e011227..."} 
[2026-09-24 16:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31eeb30012d196a00071fec30003e011227..."} 
[2026-09-24 16:47:21] local.INFO: Processing buffer {"connection_id":194154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31eeb30012d196a00071fec30003e011227..."} 
[2026-09-24 16:47:21] local.INFO: Packet analysis {"connection_id":194154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31e"} 
[2026-09-24 16:47:21] local.INFO: Extracted packet for processing {"connection_id":194154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31e"} 
[2026-09-24 16:47:21] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":39,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303588608001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790248414000,"timestamp_ms":1790248414000,"timestamp_seconds":1790248414,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31eeb30"} 
[2026-09-24 16:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:47: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-09-24 16:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303588608001,"66":12385,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303588608001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:47:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:47:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303588608001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":194154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:47:21] local.INFO: GPS data processed {"connection_id":194154,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:47:21] local.INFO: Acknowledgment sent {"connection_id":194154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:47:28] local.INFO: TCP Data received {"connection_id":192886,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:47:28] local.INFO: Processing buffer {"connection_id":192886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:47:28] local.INFO: IMEI packet received {"connection_id":192886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":192886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:47:33] local.INFO: TCP Data received {"connection_id":192886,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:47:33] local.INFO: Processing buffer {"connection_id":192886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:47:33] local.INFO: IMEI packet received {"connection_id":192886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":192886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:47:34] local.INFO: TCP Data received {"connection_id":192886,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:47:34] local.INFO: Processing buffer {"connection_id":192886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:47:34] local.INFO: Packet analysis {"connection_id":192886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d321"} 
[2026-09-24 16:47:34] local.INFO: Extracted packet for processing {"connection_id":192886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d321"} 
[2026-09-24 16:47:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303561984001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790248590000,"timestamp_ms":1790248590000,"timestamp_seconds":1790248590,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3219ab0"} 
[2026-09-24 16:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 16:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303561984001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303561984001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:47:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:47:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303561984001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":192886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:47:34] local.INFO: GPS data processed {"connection_id":192886,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:47:34] local.INFO: Acknowledgment sent {"connection_id":192886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:47:45] local.INFO: TCP Data received {"connection_id":192887,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:47:45] local.INFO: Processing buffer {"connection_id":192887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:47:45] local.INFO: IMEI packet received {"connection_id":192887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":192887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:47:48] local.INFO: TCP Data received {"connection_id":192885,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:47:49] local.INFO: Processing buffer {"connection_id":192885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:47:49] local.INFO: IMEI packet received {"connection_id":192885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 16:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":192885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:47:50] local.INFO: TCP Data received {"connection_id":192887,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:47:50] local.INFO: Processing buffer {"connection_id":192887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:47:50] local.INFO: IMEI packet received {"connection_id":192887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":192887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:47:50] local.INFO: TCP Data received {"connection_id":192887,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d31f3d38012d196a00071fec30003e011228..."} 
[2026-09-24 16:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d31f3d38012d196a00071fec30003e011228..."} 
[2026-09-24 16:47:50] local.INFO: Processing buffer {"connection_id":192887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d31f3d38012d196a00071fec30003e011228..."} 
[2026-09-24 16:47:50] local.INFO: Packet analysis {"connection_id":192887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d31f"} 
[2026-09-24 16:47:50] local.INFO: Extracted packet for processing {"connection_id":192887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d31f"} 
[2026-09-24 16:47:50] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532592,"longitude_deg":75.6640256,"latitude_deg":11.9532592,"altitude":62,"angle":274,"satellites":40,"speed":0,"hex_longitude":"2d196a00","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-24 16:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303593984001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925650662785024,"note":"Value kept but may cause issues"} 
[2026-09-24 16:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079871488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790248435000,"timestamp_ms":1790248435000,"timestamp_seconds":1790248435,"priority":1,"record_length":96,"hex_timestamp":"000001a0d31f3d38"} 
[2026-09-24 16:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:47: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-09-24 16:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 16:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303593984001,"66":12374,"102":206,"83":41984,"24":0,"16":22925650662785024,"45":1831276229079871488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303593984001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:47:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:47:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925650662785024,"km_value":22925650662785.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079871488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303593984001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831276229079871488}} 
[2026-09-24 16:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":192887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:47:51] local.INFO: GPS data processed {"connection_id":192887,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:47:51] local.INFO: Acknowledgment sent {"connection_id":192887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:48:06] local.INFO: TCP Data received {"connection_id":192886,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:48:06] local.INFO: Processing buffer {"connection_id":192886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:48:06] local.INFO: Packet analysis {"connection_id":192886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d321"} 
[2026-09-24 16:48:06] local.INFO: Extracted packet for processing {"connection_id":192886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d321"} 
[2026-09-24 16:48:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303561984001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790248590000,"timestamp_ms":1790248590000,"timestamp_seconds":1790248590,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3219ab0"} 
[2026-09-24 16:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 16:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303561984001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303561984001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:48:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:48:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303561984001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":192886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:48:06] local.INFO: GPS data processed {"connection_id":192886,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:48:06] local.INFO: Acknowledgment sent {"connection_id":192886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:48:21] local.INFO: TCP Data received {"connection_id":191308,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:48:21] local.INFO: Processing buffer {"connection_id":191308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:48:21] local.INFO: IMEI packet received {"connection_id":191308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 16:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":191308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:48:22] local.INFO: TCP Data received {"connection_id":192887,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3227570012d196780071fede00040004628..."} 
[2026-09-24 16:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3227570012d196780071fede00040004628..."} 
[2026-09-24 16:48:22] local.INFO: Processing buffer {"connection_id":192887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3227570012d196780071fede00040004628..."} 
[2026-09-24 16:48:22] local.INFO: Packet analysis {"connection_id":192887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d322"} 
[2026-09-24 16:48:22] local.INFO: Extracted packet for processing {"connection_id":192887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d322"} 
[2026-09-24 16:48:22] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533024,"longitude_deg":75.6639616,"latitude_deg":11.9533024,"altitude":64,"angle":70,"satellites":40,"speed":5,"hex_longitude":"2d196780","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303653120001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925697907425280,"note":"Value kept but may cause issues"} 
[2026-09-24 16:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894011392,"note":"Value kept but may cause issues"} 
[2026-09-24 16:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790248646000,"timestamp_ms":1790248646000,"timestamp_seconds":1790248646,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3227570"} 
[2026-09-24 16:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:48: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-09-24 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-24 16:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303653120001,"66":13993,"102":206,"83":41984,"24":5,"16":22925697907425280,"45":1830502172894011392},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303653120001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:48:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:48:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925697907425280,"km_value":22925697907425.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894011392,"description":"Unknown IO ID 45"} 
[2026-09-24 16:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303653120001,"power":13993,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1830502172894011392}} 
[2026-09-24 16:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":192887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:48:22] local.INFO: GPS data processed {"connection_id":192887,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:48:22] local.INFO: Acknowledgment sent {"connection_id":192887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:48:28] local.INFO: TCP Data received {"connection_id":191504,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:48:28] local.INFO: Processing buffer {"connection_id":191504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:48:28] local.INFO: IMEI packet received {"connection_id":191504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":191504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:48:33] local.INFO: TCP Data received {"connection_id":191504,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:48:33] local.INFO: Processing buffer {"connection_id":191504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:48:33] local.INFO: IMEI packet received {"connection_id":191504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":191504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:48:34] local.INFO: TCP Data received {"connection_id":191504,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:48:34] local.INFO: Processing buffer {"connection_id":191504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:48:34] local.INFO: Packet analysis {"connection_id":191504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d321"} 
[2026-09-24 16:48:34] local.INFO: Extracted packet for processing {"connection_id":191504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d321"} 
[2026-09-24 16:48:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303561984001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790248590000,"timestamp_ms":1790248590000,"timestamp_seconds":1790248590,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3219ab0"} 
[2026-09-24 16:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 16:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303561984001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303561984001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:48:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:48:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303561984001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":191504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:48:34] local.INFO: GPS data processed {"connection_id":191504,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:48:34] local.INFO: Acknowledgment sent {"connection_id":191504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:48:45] local.INFO: TCP Data received {"connection_id":194156,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:48:45] local.INFO: Processing buffer {"connection_id":194156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:48:45] local.INFO: IMEI packet received {"connection_id":194156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":194156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:48:48] local.INFO: TCP Data received {"connection_id":194156,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:48:48] local.INFO: Processing buffer {"connection_id":194156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:48:48] local.INFO: IMEI packet received {"connection_id":194156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":194156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:48:49] local.INFO: TCP Data received {"connection_id":194156,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:48:49] local.INFO: Processing buffer {"connection_id":194156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:48:49] local.INFO: IMEI packet received {"connection_id":194156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":194156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:48:50] local.INFO: TCP Data received {"connection_id":194156,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3227958012d1967c0071fede00040005c27..."} 
[2026-09-24 16:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3227958012d1967c0071fede00040005c27..."} 
[2026-09-24 16:48:50] local.INFO: Processing buffer {"connection_id":194156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3227958012d1967c0071fede00040005c27..."} 
[2026-09-24 16:48:50] local.INFO: Packet analysis {"connection_id":194156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d322"} 
[2026-09-24 16:48:50] local.INFO: Extracted packet for processing {"connection_id":194156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d322"} 
[2026-09-24 16:48:50] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533024,"longitude_deg":75.663968,"latitude_deg":11.9533024,"altitude":64,"angle":92,"satellites":39,"speed":4,"hex_longitude":"2d1967c0","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-09-24 16:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303653376001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925702202392576,"note":"Value kept but may cause issues"} 
[2026-09-24 16:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638205440,"note":"Value kept but may cause issues"} 
[2026-09-24 16:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790248647000,"timestamp_ms":1790248647000,"timestamp_seconds":1790248647,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3227958"} 
[2026-09-24 16:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:48: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-09-24 16:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-24 16:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":194156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":194156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":194156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303653376001,"66":13993,"102":206,"83":41984,"24":4,"16":22925702202392576,"45":1830572541638205440},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303653376001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:48:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:48:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925702202392576,"km_value":22925702202392.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638205440,"description":"Unknown IO ID 45"} 
[2026-09-24 16:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303653376001,"power":13993,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1830572541638205440}} 
[2026-09-24 16:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":194156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:48:50] local.INFO: GPS data processed {"connection_id":194156,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:48:50] local.INFO: Acknowledgment sent {"connection_id":194156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:48:55] local.INFO: TCP Data received {"connection_id":194156,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3227d40012d196840071fede00040004128..."} 
[2026-09-24 16:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3227d40012d196840071fede00040004128..."} 
[2026-09-24 16:48:55] local.INFO: Processing buffer {"connection_id":194156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3227d40012d196840071fede00040004128..."} 
[2026-09-24 16:48:55] local.INFO: Packet analysis {"connection_id":194156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d322"} 
[2026-09-24 16:48:55] local.INFO: Extracted packet for processing {"connection_id":194156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d322"} 
[2026-09-24 16:48:55] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533024,"longitude_deg":75.6639808,"latitude_deg":11.9533024,"altitude":64,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-09-24 16:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303653632001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925706497359872,"note":"Value kept but may cause issues"} 
[2026-09-24 16:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382383104,"note":"Value kept but may cause issues"} 
[2026-09-24 16:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790248648000,"timestamp_ms":1790248648000,"timestamp_seconds":1790248648,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3227d40"} 
[2026-09-24 16:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:48: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-09-24 16:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-24 16:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303653632001,"66":13656,"102":206,"83":41984,"24":0,"16":22925706497359872,"45":1830642910382383104},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303653632001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:48:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:48:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925706497359872,"km_value":22925706497359.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382383104,"description":"Unknown IO ID 45"} 
[2026-09-24 16:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303653632001,"power":13656,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382383104}} 
[2026-09-24 16:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":194156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:48:55] local.INFO: GPS data processed {"connection_id":194156,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:48:55] local.INFO: Acknowledgment sent {"connection_id":194156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:49:06] local.INFO: TCP Data received {"connection_id":191504,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:49:06] local.INFO: Processing buffer {"connection_id":191504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:49:06] local.INFO: Packet analysis {"connection_id":191504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d321"} 
[2026-09-24 16:49:06] local.INFO: Extracted packet for processing {"connection_id":191504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d321"} 
[2026-09-24 16:49:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303561984001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790248590000,"timestamp_ms":1790248590000,"timestamp_seconds":1790248590,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3219ab0"} 
[2026-09-24 16:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 16:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303561984001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303561984001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:49:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:49:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303561984001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":191504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:49:06] local.INFO: GPS data processed {"connection_id":191504,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:49:06] local.INFO: Acknowledgment sent {"connection_id":191504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:49:26] local.INFO: TCP Data received {"connection_id":194156,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d322cf48012d196840071fedc0004000412a..."} 
[2026-09-24 16:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d322cf48012d196840071fedc0004000412a..."} 
[2026-09-24 16:49:26] local.INFO: Processing buffer {"connection_id":194156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d322cf48012d196840071fedc0004000412a..."} 
[2026-09-24 16:49:26] local.INFO: Packet analysis {"connection_id":194156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d322"} 
[2026-09-24 16:49:26] local.INFO: Extracted packet for processing {"connection_id":194156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d322"} 
[2026-09-24 16:49:26] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532992,"longitude_deg":75.6639808,"latitude_deg":11.9532992,"altitude":64,"angle":65,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-09-24 16:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303653888001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925706497359872,"note":"Value kept but may cause issues"} 
[2026-09-24 16:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870738432,"note":"Value kept but may cause issues"} 
[2026-09-24 16:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790248669000,"timestamp_ms":1790248669000,"timestamp_seconds":1790248669,"priority":1,"record_length":96,"hex_timestamp":"000001a0d322cf48"} 
[2026-09-24 16:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:49: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-09-24 16:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-24 16:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":194156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":194156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":194156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303653888001,"66":14080,"102":206,"83":41984,"24":0,"16":22925706497359872,"45":1830783647870738432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303653888001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:49:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:49:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925706497359872,"km_value":22925706497359.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870738432,"description":"Unknown IO ID 45"} 
[2026-09-24 16:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303653888001,"power":14080,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870738432}} 
[2026-09-24 16:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":194156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:49:26] local.INFO: GPS data processed {"connection_id":194156,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:49:26] local.INFO: Acknowledgment sent {"connection_id":194156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:49:33] local.INFO: TCP Data received {"connection_id":194157,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:49:33] local.INFO: Processing buffer {"connection_id":194157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:49:33] local.INFO: IMEI packet received {"connection_id":194157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":194157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:49:38] local.INFO: TCP Data received {"connection_id":194157,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:49:38] local.INFO: Processing buffer {"connection_id":194157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:49:38] local.INFO: IMEI packet received {"connection_id":194157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":194157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:49:39] local.INFO: TCP Data received {"connection_id":194157,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:49:39] local.INFO: Processing buffer {"connection_id":194157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:49:39] local.INFO: Packet analysis {"connection_id":194157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d321"} 
[2026-09-24 16:49:39] local.INFO: Extracted packet for processing {"connection_id":194157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d321"} 
[2026-09-24 16:49:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303561984001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790248590000,"timestamp_ms":1790248590000,"timestamp_seconds":1790248590,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3219ab0"} 
[2026-09-24 16:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 16:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303561984001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303561984001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:49:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:49:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303561984001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":194157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:49:39] local.INFO: GPS data processed {"connection_id":194157,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:49:39] local.INFO: Acknowledgment sent {"connection_id":194157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:49:44] local.INFO: TCP Data received {"connection_id":194157,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:49:44] local.INFO: Processing buffer {"connection_id":194157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:49:44] local.INFO: Packet analysis {"connection_id":194157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d321"} 
[2026-09-24 16:49:44] local.INFO: Extracted packet for processing {"connection_id":194157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d321"} 
[2026-09-24 16:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303561984001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790248590000,"timestamp_ms":1790248590000,"timestamp_seconds":1790248590,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3219ab0"} 
[2026-09-24 16:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 16:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303561984001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303561984001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:49:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:49:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303561984001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":194157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:49:44] local.INFO: GPS data processed {"connection_id":194157,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:49:44] local.INFO: Acknowledgment sent {"connection_id":194157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:49:44] local.INFO: TCP Data received {"connection_id":191309,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:49:44] local.INFO: Processing buffer {"connection_id":191309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:49:44] local.INFO: IMEI packet received {"connection_id":191309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":191309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:49:50] local.INFO: TCP Data received {"connection_id":191309,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:49:50] local.INFO: Processing buffer {"connection_id":191309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:49:50] local.INFO: IMEI packet received {"connection_id":191309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":191309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:49:50] local.INFO: TCP Data received {"connection_id":191309,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3232150012d196840071fedc00040004128..."} 
[2026-09-24 16:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3232150012d196840071fedc00040004128..."} 
[2026-09-24 16:49:50] local.INFO: Processing buffer {"connection_id":191309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3232150012d196840071fedc00040004128..."} 
[2026-09-24 16:49:50] local.INFO: Packet analysis {"connection_id":191309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d323"} 
[2026-09-24 16:49:50] local.INFO: Extracted packet for processing {"connection_id":191309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d323"} 
[2026-09-24 16:49:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532992,"longitude_deg":75.6639808,"latitude_deg":11.9532992,"altitude":64,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-09-24 16:49: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-09-24 16:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303659264001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925706497359872,"note":"Value kept but may cause issues"} 
[2026-09-24 16:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870730240,"note":"Value kept but may cause issues"} 
[2026-09-24 16:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790248690000,"timestamp_ms":1790248690000,"timestamp_seconds":1790248690,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3232150"} 
[2026-09-24 16:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:49: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-09-24 16:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-24 16:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219712,"note":"Value kept but may cause issues"} 
[2026-09-24 16:49:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 16:49:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 16:49:50] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3439329280,"note":"Value kept but may cause issues"} 
[2026-09-24 16:49:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3542247864,"note":"Value kept but may cause issues"} 
[2026-09-24 16:49:50] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3986686016,"note":"Value kept but may cause issues"} 
[2026-09-24 16:49:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 16:49:50] local.WARNING: Large IO value detected {"io_id":109,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-09-24 16:49:50] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758148984,"note":"Value kept but may cause issues"} 
[2026-09-24 16:49:50] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,114,160,125,45,64,237,40,10,66,121,192,39,117,128,1,240,169,227,211,31,4,113,205,5,109,103,56,239,54,2,81,7],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 16:49:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611757667071819776,"timestamp_seconds":4611757667071820.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 16:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303659264001,"66":14102,"102":206,"83":41984,"24":0,"16":22925706497359872,"45":1830783647870730240},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303659264001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:49:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:49:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925706497359872,"km_value":22925706497359.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870730240,"description":"Unknown IO ID 45"} 
[2026-09-24 16:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303659264001,"power":14102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870730240}} 
[2026-09-24 16:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":191309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:49:51] local.INFO: GPS data processed {"connection_id":191309,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:49:51] local.INFO: Acknowledgment sent {"connection_id":191309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:50:04] local.INFO: TCP Data received {"connection_id":194158,"ip":"117.224.81.178","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194158,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:50:04] local.INFO: Processing buffer {"connection_id":194158,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:50:04] local.INFO: IMEI packet received {"connection_id":194158,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":194158,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:50:08] local.INFO: TCP Data received {"connection_id":194158,"ip":"117.224.81.178","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194158,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:50:08] local.INFO: Processing buffer {"connection_id":194158,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:50:08] local.INFO: IMEI packet received {"connection_id":194158,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":194158,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:50:21] local.INFO: TCP Data received {"connection_id":191309,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3237358012d196840071fedc00040004127..."} 
[2026-09-24 16:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3237358012d196840071fedc00040004127..."} 
[2026-09-24 16:50:21] local.INFO: Processing buffer {"connection_id":191309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3237358012d196840071fedc00040004127..."} 
[2026-09-24 16:50:21] local.INFO: Packet analysis {"connection_id":191309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d323"} 
[2026-09-24 16:50:21] local.INFO: Extracted packet for processing {"connection_id":191309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d323"} 
[2026-09-24 16:50:21] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532992,"longitude_deg":75.6639808,"latitude_deg":11.9532992,"altitude":64,"angle":65,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-09-24 16:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303664640001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22925706497359872,"note":"Value kept but may cause issues"} 
[2026-09-24 16:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870730240,"note":"Value kept but may cause issues"} 
[2026-09-24 16:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790248711000,"timestamp_ms":1790248711000,"timestamp_seconds":1790248711,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3237358"} 
[2026-09-24 16:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:50: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-09-24 16:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-24 16:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303664640001,"66":14135,"102":206,"83":41984,"24":0,"16":22925706497359872,"45":1830783647870730240},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 16:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303664640001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:50:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 16:50:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22925706497359872,"km_value":22925706497359.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870730240,"description":"Unknown IO ID 45"} 
[2026-09-24 16:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303664640001,"power":14135,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870730240}} 
[2026-09-24 16:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":191309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:50:22] local.INFO: GPS data processed {"connection_id":191309,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:50:22] local.INFO: Acknowledgment sent {"connection_id":191309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:50:28] local.INFO: TCP Data received {"connection_id":192891,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:50:28] local.INFO: Processing buffer {"connection_id":192891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:50:28] local.INFO: IMEI packet received {"connection_id":192891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":192891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:50:33] local.INFO: TCP Data received {"connection_id":192891,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:50:33] local.INFO: Processing buffer {"connection_id":192891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:50:33] local.INFO: IMEI packet received {"connection_id":192891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":192891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:50:34] local.INFO: TCP Data received {"connection_id":192891,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:50:34] local.INFO: Processing buffer {"connection_id":192891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:50:34] local.INFO: Packet analysis {"connection_id":192891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d321"} 
[2026-09-24 16:50:34] local.INFO: Extracted packet for processing {"connection_id":192891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d321"} 
[2026-09-24 16:50:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303561984001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790248590000,"timestamp_ms":1790248590000,"timestamp_seconds":1790248590,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3219ab0"} 
[2026-09-24 16:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 16:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303561984001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303561984001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:50:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:50:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303561984001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":192891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:50:34] local.INFO: GPS data processed {"connection_id":192891,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:50:34] local.INFO: Acknowledgment sent {"connection_id":192891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:50:39] local.INFO: TCP Data received {"connection_id":194158,"ip":"117.224.81.178","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194158,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:50:39] local.INFO: Processing buffer {"connection_id":194158,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:50:39] local.INFO: IMEI packet received {"connection_id":194158,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 16:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":194158,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:50:44] local.INFO: TCP Data received {"connection_id":194159,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:50:44] local.INFO: Processing buffer {"connection_id":194159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:50:44] local.INFO: IMEI packet received {"connection_id":194159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":194159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:50:47] local.INFO: TCP Data received {"connection_id":194159,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:50:47] local.INFO: Processing buffer {"connection_id":194159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:50:47] local.INFO: IMEI packet received {"connection_id":194159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":194159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:50:48] local.INFO: TCP Data received {"connection_id":194159,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:50:48] local.INFO: Processing buffer {"connection_id":194159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:50:48] local.INFO: IMEI packet received {"connection_id":194159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":194159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:50:49] local.INFO: TCP Data received {"connection_id":194159,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:50:49] local.INFO: Processing buffer {"connection_id":194159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:50:49] local.INFO: IMEI packet received {"connection_id":194159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":194159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:50:50] local.INFO: TCP Data received {"connection_id":194159,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d324d6d0012d19a100071ff000003f004126..."} 
[2026-09-24 16:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d324d6d0012d19a100071ff000003f004126..."} 
[2026-09-24 16:50:50] local.INFO: Processing buffer {"connection_id":194159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d324d6d0012d19a100071ff000003f004126..."} 
[2026-09-24 16:50:50] local.INFO: Packet analysis {"connection_id":194159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d324"} 
[2026-09-24 16:50:50] local.INFO: Extracted packet for processing {"connection_id":194159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d324"} 
[2026-09-24 16:50:50] local.INFO: GPS Element Parsed {"raw_longitude":756654336,"raw_latitude":119533568,"longitude_deg":75.6654336,"latitude_deg":11.9533568,"altitude":63,"angle":65,"satellites":38,"speed":15,"hex_longitude":"2d19a100","hex_latitude":"071ff000","is_valid_coordinates":true} 
[2026-09-24 16:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303690240001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22926440936767488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839579740893128704,"note":"Value kept but may cause issues"} 
[2026-09-24 16:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790248802000,"timestamp_ms":1790248802000,"timestamp_seconds":1790248802,"priority":1,"record_length":96,"hex_timestamp":"000001a0d324d6d0"} 
[2026-09-24 16:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:50: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-09-24 16:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-24 16:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":194159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":194159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":194159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303690240001,"66":14004,"101":206,"83":41984,"24":15,"16":22926440936767488,"45":1839579740893128704},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-24 16:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303690240001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:50:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-24 16:50:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22926440936767488,"km_value":22926440936767.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839579740893128704,"description":"Unknown IO ID 45"} 
[2026-09-24 16:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303690240001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1839579740893128704}} 
[2026-09-24 16:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":194159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:50:50] local.INFO: GPS data processed {"connection_id":194159,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:50:50] local.INFO: Acknowledgment sent {"connection_id":194159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:50:55] local.INFO: TCP Data received {"connection_id":194159,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d324dea0012d19a3c0071ff0f8003e005027..."} 
[2026-09-24 16:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d324dea0012d19a3c0071ff0f8003e005027..."} 
[2026-09-24 16:50:55] local.INFO: Processing buffer {"connection_id":194159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d324dea0012d19a3c0071ff0f8003e005027..."} 
[2026-09-24 16:50:55] local.INFO: Packet analysis {"connection_id":194159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d324"} 
[2026-09-24 16:50:55] local.INFO: Extracted packet for processing {"connection_id":194159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d324"} 
[2026-09-24 16:50:55] local.INFO: GPS Element Parsed {"raw_longitude":756655040,"raw_latitude":119533816,"longitude_deg":75.665504,"latitude_deg":11.9533816,"altitude":62,"angle":80,"satellites":39,"speed":14,"hex_longitude":"2d19a3c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-09-24 16:50: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-09-24 16:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303693312001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22926475296505856,"note":"Value kept but may cause issues"} 
[2026-09-24 16:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846757352799207424,"note":"Value kept but may cause issues"} 
[2026-09-24 16:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790248804000,"timestamp_ms":1790248804000,"timestamp_seconds":1790248804,"priority":1,"record_length":96,"hex_timestamp":"000001a0d324dea0"} 
[2026-09-24 16:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:50: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-09-24 16:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-24 16:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:50: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-09-24 16:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303693312001,"66":14189,"101":206,"83":41984,"24":14,"16":22926475296505856,"45":1846757352799207424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-24 16:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303693312001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:50:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-24 16:50:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22926475296505856,"km_value":22926475296505.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846757352799207424,"description":"Unknown IO ID 45"} 
[2026-09-24 16:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303693312001,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1846757352799207424}} 
[2026-09-24 16:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":194159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:50:55] local.INFO: GPS data processed {"connection_id":194159,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:50:55] local.INFO: Acknowledgment sent {"connection_id":194159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:51:06] local.INFO: TCP Data received {"connection_id":192891,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:51:06] local.INFO: Processing buffer {"connection_id":192891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:51:06] local.INFO: Packet analysis {"connection_id":192891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d321"} 
[2026-09-24 16:51:06] local.INFO: Extracted packet for processing {"connection_id":192891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d321"} 
[2026-09-24 16:51:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303561984001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790248590000,"timestamp_ms":1790248590000,"timestamp_seconds":1790248590,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3219ab0"} 
[2026-09-24 16:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 16:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303561984001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303561984001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:51:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:51:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303561984001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":192891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:51:06] local.INFO: GPS data processed {"connection_id":192891,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:51:06] local.INFO: Acknowledgment sent {"connection_id":192891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:51:27] local.INFO: TCP Data received {"connection_id":194159,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d324e288012d19a580071ff0f0003d005d28..."} 
[2026-09-24 16:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d324e288012d19a580071ff0f0003d005d28..."} 
[2026-09-24 16:51:27] local.INFO: Processing buffer {"connection_id":194159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d324e288012d19a580071ff0f0003d005d28..."} 
[2026-09-24 16:51:27] local.INFO: Packet analysis {"connection_id":194159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d324"} 
[2026-09-24 16:51:27] local.INFO: Extracted packet for processing {"connection_id":194159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d324"} 
[2026-09-24 16:51:27] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119533808,"longitude_deg":75.6655488,"latitude_deg":11.9533808,"altitude":61,"angle":93,"satellites":40,"speed":17,"hex_longitude":"2d19a580","hex_latitude":"071ff0f0","is_valid_coordinates":true} 
[2026-09-24 16:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303693824001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22926496771342336,"note":"Value kept but may cause issues"} 
[2026-09-24 16:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847531408985225216,"note":"Value kept but may cause issues"} 
[2026-09-24 16:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790248805000,"timestamp_ms":1790248805000,"timestamp_seconds":1790248805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d324e288"} 
[2026-09-24 16:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-24 16:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":194159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":194159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":194159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303693824001,"66":14189,"101":206,"83":41984,"24":17,"16":22926496771342336,"45":1847531408985225216},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-24 16:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303693824001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:51:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-24 16:51:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22926496771342336,"km_value":22926496771342.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847531408985225216,"description":"Unknown IO ID 45"} 
[2026-09-24 16:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303693824001,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1847531408985225216}} 
[2026-09-24 16:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":194159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:51:27] local.INFO: GPS data processed {"connection_id":194159,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:51:27] local.INFO: Acknowledgment sent {"connection_id":194159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:51:28] local.INFO: TCP Data received {"connection_id":191310,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:51:28] local.INFO: Processing buffer {"connection_id":191310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:51:28] local.INFO: IMEI packet received {"connection_id":191310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":191310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:51:33] local.INFO: TCP Data received {"connection_id":191310,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:51:33] local.INFO: Processing buffer {"connection_id":191310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:51:33] local.INFO: IMEI packet received {"connection_id":191310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":191310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:51:35] local.INFO: TCP Data received {"connection_id":191310,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:51:35] local.INFO: Processing buffer {"connection_id":191310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:51:35] local.INFO: Packet analysis {"connection_id":191310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d321"} 
[2026-09-24 16:51:35] local.INFO: Extracted packet for processing {"connection_id":191310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d321"} 
[2026-09-24 16:51:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303561984001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790248590000,"timestamp_ms":1790248590000,"timestamp_seconds":1790248590,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3219ab0"} 
[2026-09-24 16:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 16:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303561984001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303561984001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:51:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:51:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303561984001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":191310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:51:35] local.INFO: GPS data processed {"connection_id":191310,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:51:35] local.INFO: Acknowledgment sent {"connection_id":191310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:51:50] local.INFO: TCP Data received {"connection_id":192892,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:51:50] local.INFO: Processing buffer {"connection_id":192892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:51:50] local.INFO: IMEI packet received {"connection_id":192892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":192892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:51:52] local.INFO: TCP Data received {"connection_id":192892,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:51:52] local.INFO: Processing buffer {"connection_id":192892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:51:52] local.INFO: IMEI packet received {"connection_id":192892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":192892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:51:52] local.INFO: TCP Data received {"connection_id":192892,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3259a20012d19de40072008980032016428..."} 
[2026-09-24 16:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3259a20012d19de40072008980032016428..."} 
[2026-09-24 16:51:52] local.INFO: Processing buffer {"connection_id":192892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3259a20012d19de40072008980032016428..."} 
[2026-09-24 16:51:52] local.INFO: Packet analysis {"connection_id":192892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d325"} 
[2026-09-24 16:51:52] local.INFO: Extracted packet for processing {"connection_id":192892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d325"} 
[2026-09-24 16:51:52] local.INFO: GPS Element Parsed {"raw_longitude":756670016,"raw_latitude":119539864,"longitude_deg":75.6670016,"latitude_deg":11.9539864,"altitude":50,"angle":356,"satellites":40,"speed":11,"hex_longitude":"2d19de40","hex_latitude":"07200898","is_valid_coordinates":true} 
[2026-09-24 16:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303705856001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22927334289965056,"note":"Value kept but may cause issues"} 
[2026-09-24 16:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863927326380095488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790248852000,"timestamp_ms":1790248852000,"timestamp_seconds":1790248852,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3259a20"} 
[2026-09-24 16:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-24 16:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":192892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":192892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":192892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303705856001,"66":14135,"101":206,"83":41984,"24":11,"16":22927334289965056,"45":1863927326380095488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-24 16:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303705856001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:51:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-24 16:51:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22927334289965056,"km_value":22927334289965.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863927326380095488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303705856001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1863927326380095488}} 
[2026-09-24 16:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":192892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:51:52] local.INFO: GPS data processed {"connection_id":192892,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:51:52] local.INFO: Acknowledgment sent {"connection_id":192892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:51:55] local.INFO: TCP Data received {"connection_id":192892,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3259e08012d19de00072009880031014927..."} 
[2026-09-24 16:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3259e08012d19de00072009880031014927..."} 
[2026-09-24 16:51:55] local.INFO: Processing buffer {"connection_id":192892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3259e08012d19de00072009880031014927..."} 
[2026-09-24 16:51:55] local.INFO: Packet analysis {"connection_id":192892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d325"} 
[2026-09-24 16:51:55] local.INFO: Extracted packet for processing {"connection_id":192892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d325"} 
[2026-09-24 16:51:55] local.INFO: GPS Element Parsed {"raw_longitude":756669952,"raw_latitude":119540104,"longitude_deg":75.6669952,"latitude_deg":11.9540104,"altitude":49,"angle":329,"satellites":39,"speed":10,"hex_longitude":"2d19de00","hex_latitude":"07200988","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303706112001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22927342879899648,"note":"Value kept but may cause issues"} 
[2026-09-24 16:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863997695124346880,"note":"Value kept but may cause issues"} 
[2026-09-24 16:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790248853000,"timestamp_ms":1790248853000,"timestamp_seconds":1790248853,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3259e08"} 
[2026-09-24 16:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:51:55] 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-09-24 16: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-24 16:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303706112001,"66":14135,"101":206,"83":41984,"24":10,"16":22927342879899648,"45":1863997695124346880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-24 16:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303706112001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:51:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-24 16:51:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22927342879899648,"km_value":22927342879899.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863997695124346880,"description":"Unknown IO ID 45"} 
[2026-09-24 16:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303706112001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1863997695124346880}} 
[2026-09-24 16:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":192892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:51:55] local.INFO: GPS data processed {"connection_id":192892,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:51:55] local.INFO: Acknowledgment sent {"connection_id":192892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:52:06] local.INFO: TCP Data received {"connection_id":191310,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:52:06] local.INFO: Processing buffer {"connection_id":191310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3219ab0012d34c14006aa4940000900f526..."} 
[2026-09-24 16:52:06] local.INFO: Packet analysis {"connection_id":191310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d321"} 
[2026-09-24 16:52:06] local.INFO: Extracted packet for processing {"connection_id":191310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d321"} 
[2026-09-24 16:52:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303561984001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790248590000,"timestamp_ms":1790248590000,"timestamp_seconds":1790248590,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3219ab0"} 
[2026-09-24 16:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 16:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303561984001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303561984001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:52:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:52:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303561984001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":191310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:52:06] local.INFO: GPS data processed {"connection_id":191310,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:52:06] local.INFO: Acknowledgment sent {"connection_id":191310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:52:26] local.INFO: TCP Data received {"connection_id":192892,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3266158012d19b5c00720ad800036013e28..."} 
[2026-09-24 16:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3266158012d19b5c00720ad800036013e28..."} 
[2026-09-24 16:52:26] local.INFO: Processing buffer {"connection_id":192892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3266158012d19b5c00720ad800036013e28..."} 
[2026-09-24 16:52:26] local.INFO: Packet analysis {"connection_id":192892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:52:26] local.INFO: Extracted packet for processing {"connection_id":192892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:52:26] local.INFO: GPS Element Parsed {"raw_longitude":756659648,"raw_latitude":119582080,"longitude_deg":75.6659648,"latitude_deg":11.958208,"altitude":54,"angle":318,"satellites":40,"speed":23,"hex_longitude":"2d19b5c0","hex_latitude":"0720ad80","is_valid_coordinates":true} 
[2026-09-24 16:52: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-09-24 16:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303718912001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22929614917599232,"note":"Value kept but may cause issues"} 
[2026-09-24 16:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853231277275879424,"note":"Value kept but may cause issues"} 
[2026-09-24 16:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790248903000,"timestamp_ms":1790248903000,"timestamp_seconds":1790248903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3266158"} 
[2026-09-24 16:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:52: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-09-24 16:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-24 16:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:52: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-09-24 16:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":192892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":192892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":192892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303718912001,"66":14189,"103":206,"83":41984,"24":23,"16":22929614917599232,"45":1853231277275879424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 16:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303718912001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:52:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 16:52:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22929614917599232,"km_value":22929614917599.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853231277275879424,"description":"Unknown IO ID 45"} 
[2026-09-24 16:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303718912001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1853231277275879424}} 
[2026-09-24 16:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":192892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:52:27] local.INFO: GPS data processed {"connection_id":192892,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:52:27] local.INFO: Acknowledgment sent {"connection_id":192892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:52:28] local.INFO: TCP Data received {"connection_id":191506,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:52:28] local.INFO: Processing buffer {"connection_id":191506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:52:28] local.INFO: IMEI packet received {"connection_id":191506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":191506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:52:33] local.INFO: TCP Data received {"connection_id":191506,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:52:33] local.INFO: Processing buffer {"connection_id":191506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:52:33] local.INFO: IMEI packet received {"connection_id":191506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":191506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:52:34] local.INFO: TCP Data received {"connection_id":191506,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:52:34] local.INFO: Processing buffer {"connection_id":191506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:52:34] local.INFO: Packet analysis {"connection_id":191506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:52:34] local.INFO: Extracted packet for processing {"connection_id":191506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:52:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303639040001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790248891000,"timestamp_ms":1790248891000,"timestamp_seconds":1790248891,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3263278"} 
[2026-09-24 16:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303639040001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303639040001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:52:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:52:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303639040001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":191506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:52:34] local.INFO: GPS data processed {"connection_id":191506,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:52:34] local.INFO: Acknowledgment sent {"connection_id":191506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:52:45] local.INFO: TCP Data received {"connection_id":191507,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:52:45] local.INFO: Processing buffer {"connection_id":191507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:52:45] local.INFO: IMEI packet received {"connection_id":191507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":191507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:52:50] local.INFO: TCP Data received {"connection_id":191507,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:52:50] local.INFO: Processing buffer {"connection_id":191507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:52:50] local.INFO: IMEI packet received {"connection_id":191507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":191507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:52:51] local.INFO: TCP Data received {"connection_id":191507,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3266540012d19b2400720ae800037012e28..."} 
[2026-09-24 16:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3266540012d19b2400720ae800037012e28..."} 
[2026-09-24 16:52:51] local.INFO: Processing buffer {"connection_id":191507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3266540012d19b2400720ae800037012e28..."} 
[2026-09-24 16:52:51] local.INFO: Packet analysis {"connection_id":191507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:52:51] local.INFO: Extracted packet for processing {"connection_id":191507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:52:51] local.INFO: GPS Element Parsed {"raw_longitude":756658752,"raw_latitude":119582336,"longitude_deg":75.6658752,"latitude_deg":11.9582336,"altitude":55,"angle":302,"satellites":40,"speed":27,"hex_longitude":"2d19b240","hex_latitude":"0720ae80","is_valid_coordinates":true} 
[2026-09-24 16:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303719168001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22929657867272192,"note":"Value kept but may cause issues"} 
[2026-09-24 16:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852597958578372608,"note":"Value kept but may cause issues"} 
[2026-09-24 16:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790248904000,"timestamp_ms":1790248904000,"timestamp_seconds":1790248904,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3266540"} 
[2026-09-24 16:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-24 16:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303719168001,"66":13820,"103":206,"83":41984,"24":27,"16":22929657867272192,"45":1852597958578372608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 16:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303719168001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:52:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 16:52:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22929657867272192,"km_value":22929657867272.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852597958578372608,"description":"Unknown IO ID 45"} 
[2026-09-24 16:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303719168001,"power":13820,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1852597958578372608}} 
[2026-09-24 16:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":191507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:52:51] local.INFO: GPS data processed {"connection_id":191507,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:52:51] local.INFO: Acknowledgment sent {"connection_id":191507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:52:54] local.INFO: TCP Data received {"connection_id":191507,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3266d10012d19ac800720b0300039012027..."} 
[2026-09-24 16:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3266d10012d19ac800720b0300039012027..."} 
[2026-09-24 16:52:54] local.INFO: Processing buffer {"connection_id":191507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3266d10012d19ac800720b0300039012027..."} 
[2026-09-24 16:52:54] local.INFO: Packet analysis {"connection_id":191507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:52:54] local.INFO: Extracted packet for processing {"connection_id":191507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:52:54] local.INFO: GPS Element Parsed {"raw_longitude":756657280,"raw_latitude":119582768,"longitude_deg":75.665728,"latitude_deg":11.9582768,"altitude":57,"angle":288,"satellites":39,"speed":28,"hex_longitude":"2d19ac80","hex_latitude":"0720b030","is_valid_coordinates":true} 
[2026-09-24 16:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303719424001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22929730881716224,"note":"Value kept but may cause issues"} 
[2026-09-24 16:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851612796159950848,"note":"Value kept but may cause issues"} 
[2026-09-24 16:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790248906000,"timestamp_ms":1790248906000,"timestamp_seconds":1790248906,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3266d10"} 
[2026-09-24 16:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:52: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-09-24 16:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-24 16:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":191507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":191507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":191507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303719424001,"66":14233,"103":206,"83":41984,"24":28,"16":22929730881716224,"45":1851612796159950848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 16:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303719424001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:52:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 16:52:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22929730881716224,"km_value":22929730881716.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851612796159950848,"description":"Unknown IO ID 45"} 
[2026-09-24 16:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303719424001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1851612796159950848}} 
[2026-09-24 16:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":191507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:52:54] local.INFO: GPS data processed {"connection_id":191507,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:52:54] local.INFO: Acknowledgment sent {"connection_id":191507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:53:05] local.INFO: TCP Data received {"connection_id":191506,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:53:05] local.INFO: Processing buffer {"connection_id":191506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:53:05] local.INFO: Packet analysis {"connection_id":191506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:53:05] local.INFO: Extracted packet for processing {"connection_id":191506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:53:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303639040001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790248891000,"timestamp_ms":1790248891000,"timestamp_seconds":1790248891,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3263278"} 
[2026-09-24 16:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303639040001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303639040001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:53:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303639040001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":191506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:53:05] local.INFO: GPS data processed {"connection_id":191506,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:53:05] local.INFO: Acknowledgment sent {"connection_id":191506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:53:25] local.INFO: TCP Data received {"connection_id":191507,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32678c8012d19a4000720b1b8003a011428..."} 
[2026-09-24 16:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32678c8012d19a4000720b1b8003a011428..."} 
[2026-09-24 16:53:25] local.INFO: Processing buffer {"connection_id":191507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32678c8012d19a4000720b1b8003a011428..."} 
[2026-09-24 16:53:25] local.INFO: Packet analysis {"connection_id":191507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:53:25] local.INFO: Extracted packet for processing {"connection_id":191507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:53:25] local.INFO: GPS Element Parsed {"raw_longitude":756655104,"raw_latitude":119583160,"longitude_deg":75.6655104,"latitude_deg":11.958316,"altitude":58,"angle":276,"satellites":40,"speed":25,"hex_longitude":"2d19a400","hex_latitude":"0720b1b8","is_valid_coordinates":true} 
[2026-09-24 16:53: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-09-24 16:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303719936001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22929833960931328,"note":"Value kept but may cause issues"} 
[2026-09-24 16:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849994315043975168,"note":"Value kept but may cause issues"} 
[2026-09-24 16:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790248909000,"timestamp_ms":1790248909000,"timestamp_seconds":1790248909,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32678c8"} 
[2026-09-24 16:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-24 16:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:53: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-09-24 16:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":191507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":191507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":191507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303719936001,"66":14189,"103":206,"83":41984,"24":25,"16":22929833960931328,"45":1849994315043975168},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 16:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303719936001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:53:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 16:53:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22929833960931328,"km_value":22929833960931.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849994315043975168,"description":"Unknown IO ID 45"} 
[2026-09-24 16:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303719936001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1849994315043975168}} 
[2026-09-24 16:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":191507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:53:25] local.INFO: GPS data processed {"connection_id":191507,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:53:25] local.INFO: Acknowledgment sent {"connection_id":191507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:53:28] local.INFO: TCP Data received {"connection_id":192894,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:53:28] local.INFO: Processing buffer {"connection_id":192894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:53:28] local.INFO: IMEI packet received {"connection_id":192894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":192894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:53:33] local.INFO: TCP Data received {"connection_id":192894,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:53:33] local.INFO: Processing buffer {"connection_id":192894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:53:33] local.INFO: IMEI packet received {"connection_id":192894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":192894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:53:34] local.INFO: TCP Data received {"connection_id":192894,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:53:34] local.INFO: Processing buffer {"connection_id":192894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:53:34] local.INFO: Packet analysis {"connection_id":192894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:53:34] local.INFO: Extracted packet for processing {"connection_id":192894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:53:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303639040001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790248891000,"timestamp_ms":1790248891000,"timestamp_seconds":1790248891,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3263278"} 
[2026-09-24 16:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303639040001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303639040001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:53:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:53:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303639040001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":192894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:53:34] local.INFO: GPS data processed {"connection_id":192894,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:53:34] local.INFO: Acknowledgment sent {"connection_id":192894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:53:45] local.INFO: TCP Data received {"connection_id":192895,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:53:45] local.INFO: Processing buffer {"connection_id":192895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:53:45] local.INFO: IMEI packet received {"connection_id":192895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":192895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:53:46] local.INFO: TCP Data received {"connection_id":192895,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:53:46] local.INFO: Processing buffer {"connection_id":192895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:53:46] local.INFO: IMEI packet received {"connection_id":192895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":192895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:53:48] local.INFO: TCP Data received {"connection_id":192895,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:53:48] local.INFO: Processing buffer {"connection_id":192895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:53:48] local.INFO: IMEI packet received {"connection_id":192895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":192895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:53:49] local.INFO: TCP Data received {"connection_id":192895,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d326ab90012d198ac00720b310003d01062a..."} 
[2026-09-24 16:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d326ab90012d198ac00720b310003d01062a..."} 
[2026-09-24 16:53:49] local.INFO: Processing buffer {"connection_id":192895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d326ab90012d198ac00720b310003d01062a..."} 
[2026-09-24 16:53:49] local.INFO: Packet analysis {"connection_id":192895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:53:49] local.INFO: Extracted packet for processing {"connection_id":192895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:53:49] local.INFO: GPS Element Parsed {"raw_longitude":756648640,"raw_latitude":119583504,"longitude_deg":75.664864,"latitude_deg":11.9583504,"altitude":61,"angle":262,"satellites":42,"speed":7,"hex_longitude":"2d198ac0","hex_latitude":"0720b310","is_valid_coordinates":true} 
[2026-09-24 16:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303720704001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22930143198576640,"note":"Value kept but may cause issues"} 
[2026-09-24 16:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777742034944,"note":"Value kept but may cause issues"} 
[2026-09-24 16:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790248922000,"timestamp_ms":1790248922000,"timestamp_seconds":1790248922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d326ab90"} 
[2026-09-24 16:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:53: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-09-24 16:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-24 16:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":192895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":192895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":192895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303720704001,"66":14189,"103":206,"83":41984,"24":7,"16":22930143198576640,"45":1847601777742034944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 16:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303720704001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:53:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 16:53:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22930143198576640,"km_value":22930143198576.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777742034944,"description":"Unknown IO ID 45"} 
[2026-09-24 16:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303720704001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1847601777742034944}} 
[2026-09-24 16:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":192895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:53:49] local.INFO: GPS data processed {"connection_id":192895,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:53:49] local.INFO: Acknowledgment sent {"connection_id":192895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:53:50] local.INFO: TCP Data received {"connection_id":192895,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d326e240012d1975c00720af40003900fa28..."} 
[2026-09-24 16:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d326e240012d1975c00720af40003900fa28..."} 
[2026-09-24 16:53:50] local.INFO: Processing buffer {"connection_id":192895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d326e240012d1975c00720af40003900fa28..."} 
[2026-09-24 16:53:50] local.INFO: Packet analysis {"connection_id":192895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:53:50] local.INFO: Extracted packet for processing {"connection_id":192895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:53:50] local.INFO: GPS Element Parsed {"raw_longitude":756643264,"raw_latitude":119582528,"longitude_deg":75.6643264,"latitude_deg":11.9582528,"altitude":57,"angle":250,"satellites":40,"speed":18,"hex_longitude":"2d1975c0","hex_latitude":"0720af40","is_valid_coordinates":true} 
[2026-09-24 16:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303724032001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22930400896614400,"note":"Value kept but may cause issues"} 
[2026-09-24 16:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840494534580178944,"note":"Value kept but may cause issues"} 
[2026-09-24 16:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790248936000,"timestamp_ms":1790248936000,"timestamp_seconds":1790248936,"priority":1,"record_length":96,"hex_timestamp":"000001a0d326e240"} 
[2026-09-24 16:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:53: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-09-24 16:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-24 16:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303724032001,"66":14243,"103":206,"83":41984,"24":18,"16":22930400896614400,"45":1840494534580178944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 16:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303724032001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:53:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 16:53:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22930400896614400,"km_value":22930400896614.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840494534580178944,"description":"Unknown IO ID 45"} 
[2026-09-24 16:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303724032001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1840494534580178944}} 
[2026-09-24 16:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":192895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:53:50] local.INFO: GPS data processed {"connection_id":192895,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:53:50] local.INFO: Acknowledgment sent {"connection_id":192895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:54:05] local.INFO: TCP Data received {"connection_id":192894,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:54:05] local.INFO: Processing buffer {"connection_id":192894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:54:05] local.INFO: Packet analysis {"connection_id":192894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:54:05] local.INFO: Extracted packet for processing {"connection_id":192894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:54:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303639040001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790248891000,"timestamp_ms":1790248891000,"timestamp_seconds":1790248891,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3263278"} 
[2026-09-24 16:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303639040001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303639040001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:54:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:54:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303639040001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":192894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:54:05] local.INFO: GPS data processed {"connection_id":192894,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:54:05] local.INFO: Acknowledgment sent {"connection_id":192894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:54:07] local.INFO: TCP Data received {"connection_id":191508,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:54:07] local.INFO: Processing buffer {"connection_id":191508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:54:07] local.INFO: IMEI packet received {"connection_id":191508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 16:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":191508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:54:21] local.INFO: TCP Data received {"connection_id":192895,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32816d8012d18c5c007213ca00044015827..."} 
[2026-09-24 16:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32816d8012d18c5c007213ca00044015827..."} 
[2026-09-24 16:54:21] local.INFO: Processing buffer {"connection_id":192895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32816d8012d18c5c007213ca00044015827..."} 
[2026-09-24 16:54:21] local.INFO: Packet analysis {"connection_id":192895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d328"} 
[2026-09-24 16:54:21] local.INFO: Extracted packet for processing {"connection_id":192895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d328"} 
[2026-09-24 16:54:21] local.INFO: GPS Element Parsed {"raw_longitude":756598208,"raw_latitude":119618720,"longitude_deg":75.6598208,"latitude_deg":11.961872,"altitude":68,"angle":344,"satellites":39,"speed":30,"hex_longitude":"2d18c5c0","hex_latitude":"07213ca0","is_valid_coordinates":true} 
[2026-09-24 16:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303746048001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22933536222740480,"note":"Value kept but may cause issues"} 
[2026-09-24 16:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787788345198981120,"note":"Value kept but may cause issues"} 
[2026-09-24 16:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790249015000,"timestamp_ms":1790249015000,"timestamp_seconds":1790249015,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32816d8"} 
[2026-09-24 16:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:54: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-09-24 16:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-24 16:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":192895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":192895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":192895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303746048001,"66":14243,"106":206,"83":41984,"24":30,"16":22933536222740480,"45":1787788345198981120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-24 16:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303746048001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:54:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-24 16:54:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22933536222740480,"km_value":22933536222740.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787788345198981120,"description":"Unknown IO ID 45"} 
[2026-09-24 16:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303746048001,"power":14243,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1787788345198981120}} 
[2026-09-24 16:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":192895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:54:21] local.INFO: GPS data processed {"connection_id":192895,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:54:21] local.INFO: Acknowledgment sent {"connection_id":192895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:54:28] local.INFO: TCP Data received {"connection_id":194160,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:54:28] local.INFO: Processing buffer {"connection_id":194160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:54:28] local.INFO: IMEI packet received {"connection_id":194160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":194160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:54:33] local.INFO: TCP Data received {"connection_id":194160,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:54:33] local.INFO: Processing buffer {"connection_id":194160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:54:33] local.INFO: IMEI packet received {"connection_id":194160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":194160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:54:34] local.INFO: TCP Data received {"connection_id":194160,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:54:34] local.INFO: Processing buffer {"connection_id":194160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:54:34] local.INFO: Packet analysis {"connection_id":194160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:54:34] local.INFO: Extracted packet for processing {"connection_id":194160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:54:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303639040001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790248891000,"timestamp_ms":1790248891000,"timestamp_seconds":1790248891,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3263278"} 
[2026-09-24 16:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303639040001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303639040001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:54:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:54:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303639040001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":194160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:54:34] local.INFO: GPS data processed {"connection_id":194160,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:54:34] local.INFO: Acknowledgment sent {"connection_id":194160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:54:45] local.INFO: TCP Data received {"connection_id":194161,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:54:45] local.INFO: Processing buffer {"connection_id":194161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:54:45] local.INFO: IMEI packet received {"connection_id":194161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":194161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:54:46] local.INFO: TCP Data received {"connection_id":194161,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:54:46] local.INFO: Processing buffer {"connection_id":194161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:54:46] local.INFO: IMEI packet received {"connection_id":194161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":194161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:54:46] local.INFO: TCP Data received {"connection_id":194161,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:54:46] local.INFO: Processing buffer {"connection_id":194161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:54:46] local.INFO: IMEI packet received {"connection_id":194161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":194161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:54:50] local.INFO: TCP Data received {"connection_id":194161,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:54:50] local.INFO: Processing buffer {"connection_id":194161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:54:50] local.INFO: IMEI packet received {"connection_id":194161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":194161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:54:51] local.INFO: TCP Data received {"connection_id":194161,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3282290012d18c440072145480045016527..."} 
[2026-09-24 16:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3282290012d18c440072145480045016527..."} 
[2026-09-24 16:54:51] local.INFO: Processing buffer {"connection_id":194161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3282290012d18c440072145480045016527..."} 
[2026-09-24 16:54:51] local.INFO: Packet analysis {"connection_id":194161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d328"} 
[2026-09-24 16:54:51] local.INFO: Extracted packet for processing {"connection_id":194161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d328"} 
[2026-09-24 16:54:51] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119620936,"longitude_deg":75.6597824,"latitude_deg":11.9620936,"altitude":69,"angle":357,"satellites":39,"speed":28,"hex_longitude":"2d18c440","hex_latitude":"07214548","is_valid_coordinates":true} 
[2026-09-24 16:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303747840001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22933647891890176,"note":"Value kept but may cause issues"} 
[2026-09-24 16:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785043964177195008,"note":"Value kept but may cause issues"} 
[2026-09-24 16:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790249018000,"timestamp_ms":1790249018000,"timestamp_seconds":1790249018,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3282290"} 
[2026-09-24 16:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-24 16:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303747840001,"66":14265,"106":206,"83":41984,"24":28,"16":22933647891890176,"45":1785043964177195008},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-24 16:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303747840001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:54:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-24 16:54:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22933647891890176,"km_value":22933647891890.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785043964177195008,"description":"Unknown IO ID 45"} 
[2026-09-24 16:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303747840001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1785043964177195008}} 
[2026-09-24 16:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":194161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:54:51] local.INFO: GPS data processed {"connection_id":194161,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:54:51] local.INFO: Acknowledgment sent {"connection_id":194161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:54:58] local.INFO: TCP Data received {"connection_id":192896,"ip":"117.225.159.192","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192896,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:54:58] local.INFO: Processing buffer {"connection_id":192896,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 16:54:58] local.INFO: IMEI packet received {"connection_id":192896,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 16:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":192896,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:55:05] local.INFO: TCP Data received {"connection_id":194160,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:55:05] local.INFO: Processing buffer {"connection_id":194160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:55:05] local.INFO: Packet analysis {"connection_id":194160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:55:05] local.INFO: Extracted packet for processing {"connection_id":194160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303639040001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790248891000,"timestamp_ms":1790248891000,"timestamp_seconds":1790248891,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3263278"} 
[2026-09-24 16:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303639040001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303639040001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:55:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:55:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303639040001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":194160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:55:05] local.INFO: GPS data processed {"connection_id":194160,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:55:05] local.INFO: Acknowledgment sent {"connection_id":194160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:55:22] local.INFO: TCP Data received {"connection_id":194161,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d328f968012d182e4007219950004f012f28..."} 
[2026-09-24 16:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d328f968012d182e4007219950004f012f28..."} 
[2026-09-24 16:55:22] local.INFO: Processing buffer {"connection_id":194161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d328f968012d182e4007219950004f012f28..."} 
[2026-09-24 16:55:22] local.INFO: Packet analysis {"connection_id":194161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d328"} 
[2026-09-24 16:55:22] local.INFO: Extracted packet for processing {"connection_id":194161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d328"} 
[2026-09-24 16:55:22] local.INFO: GPS Element Parsed {"raw_longitude":756559424,"raw_latitude":119642448,"longitude_deg":75.6559424,"latitude_deg":11.9642448,"altitude":79,"angle":303,"satellites":40,"speed":22,"hex_longitude":"2d182e40","hex_latitude":"07219950","is_valid_coordinates":true} 
[2026-09-24 16:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303761408001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22935911339655168,"note":"Value kept but may cause issues"} 
[2026-09-24 16:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745918942420127744,"note":"Value kept but may cause issues"} 
[2026-09-24 16:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790249073000,"timestamp_ms":1790249073000,"timestamp_seconds":1790249073,"priority":1,"record_length":96,"hex_timestamp":"000001a0d328f968"} 
[2026-09-24 16:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:55:22] 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-09-24 16:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-24 16:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-09-24 16:55:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 16:55:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 16:55:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3542642864,"note":"Value kept but may cause issues"} 
[2026-09-24 16:55:22] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2169503819,"note":"Value kept but may cause issues"} 
[2026-09-24 16:55:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-24 16:55:22] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-09-24 16:55:22] local.WARNING: Large IO value detected {"io_id":127,"raw_value":3221692801,"note":"Value kept but may cause issues"} 
[2026-09-24 16:55:22] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951466,"note":"Value kept but may cause issues"} 
[2026-09-24 16:55:22] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,123,160,190,45,192,132,76,40,10,66,179,129,75,167,1,240,227,211,33,4,113,205,38,151,127,80,41,239,54,2,81,7,35],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-24 16:55:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764926553207078912,"timestamp_seconds":5764926553207079.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 16:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303761408001,"66":14070,"105":206,"83":41984,"24":22,"16":22935911339655168,"45":1745918942420127744},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 16:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303761408001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:55:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 16:55:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22935911339655168,"km_value":22935911339655.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745918942420127744,"description":"Unknown IO ID 45"} 
[2026-09-24 16:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303761408001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1745918942420127744}} 
[2026-09-24 16:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":194161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:55:22] local.INFO: GPS data processed {"connection_id":194161,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:55:22] local.INFO: Acknowledgment sent {"connection_id":194161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:55:33] local.INFO: TCP Data received {"connection_id":191509,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:55:33] local.INFO: Processing buffer {"connection_id":191509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:55:33] local.INFO: IMEI packet received {"connection_id":191509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":191509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:55:38] local.INFO: TCP Data received {"connection_id":191509,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:55:38] local.INFO: Processing buffer {"connection_id":191509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:55:38] local.INFO: IMEI packet received {"connection_id":191509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":191509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:55:39] local.INFO: TCP Data received {"connection_id":191509,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:55:39] local.INFO: Processing buffer {"connection_id":191509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:55:39] local.INFO: Packet analysis {"connection_id":191509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:55:39] local.INFO: Extracted packet for processing {"connection_id":191509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:55:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303639040001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790248891000,"timestamp_ms":1790248891000,"timestamp_seconds":1790248891,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3263278"} 
[2026-09-24 16:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303639040001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303639040001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:55:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:55:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303639040001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":191509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:55:39] local.INFO: GPS data processed {"connection_id":191509,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:55:39] local.INFO: Acknowledgment sent {"connection_id":191509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:55:45] local.INFO: TCP Data received {"connection_id":191313,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:55:45] local.INFO: Processing buffer {"connection_id":191313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:55:45] local.INFO: IMEI packet received {"connection_id":191313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":191313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:55:50] local.INFO: TCP Data received {"connection_id":191313,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:55:50] local.INFO: Processing buffer {"connection_id":191313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:55:50] local.INFO: IMEI packet received {"connection_id":191313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":191313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:55:50] local.INFO: TCP Data received {"connection_id":191313,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3290520012d18298007219d20004e013d27..."} 
[2026-09-24 16:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3290520012d18298007219d20004e013d27..."} 
[2026-09-24 16:55:50] local.INFO: Processing buffer {"connection_id":191313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3290520012d18298007219d20004e013d27..."} 
[2026-09-24 16:55:50] local.INFO: Packet analysis {"connection_id":191313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d329"} 
[2026-09-24 16:55:50] local.INFO: Extracted packet for processing {"connection_id":191313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d329"} 
[2026-09-24 16:55:50] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643424,"longitude_deg":75.6558208,"latitude_deg":11.9643424,"altitude":78,"angle":317,"satellites":39,"speed":18,"hex_longitude":"2d182980","hex_latitude":"07219d20","is_valid_coordinates":true} 
[2026-09-24 16:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303762688001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22935984354099200,"note":"Value kept but may cause issues"} 
[2026-09-24 16:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742400505211604992,"note":"Value kept but may cause issues"} 
[2026-09-24 16:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790249076000,"timestamp_ms":1790249076000,"timestamp_seconds":1790249076,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3290520"} 
[2026-09-24 16:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:55: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-09-24 16:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-24 16:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303762688001,"66":14265,"105":206,"83":41984,"24":18,"16":22935984354099200,"45":1742400505211604992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 16:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303762688001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:55:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 16:55:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22935984354099200,"km_value":22935984354099.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742400505211604992,"description":"Unknown IO ID 45"} 
[2026-09-24 16:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303762688001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1742400505211604992}} 
[2026-09-24 16:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":191313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:55:51] local.INFO: GPS data processed {"connection_id":191313,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:55:51] local.INFO: Acknowledgment sent {"connection_id":191313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:56:10] local.INFO: TCP Data received {"connection_id":191509,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:56:10] local.INFO: Processing buffer {"connection_id":191509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:56:10] local.INFO: Packet analysis {"connection_id":191509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:56:10] local.INFO: Extracted packet for processing {"connection_id":191509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303639040001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790248891000,"timestamp_ms":1790248891000,"timestamp_seconds":1790248891,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3263278"} 
[2026-09-24 16:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303639040001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303639040001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:56:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303639040001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":191509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:56:10] local.INFO: GPS data processed {"connection_id":191509,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:56:10] local.INFO: Acknowledgment sent {"connection_id":191509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:56:22] local.INFO: TCP Data received {"connection_id":191313,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3292078012d1820c00721a468004b013026..."} 
[2026-09-24 16:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3292078012d1820c00721a468004b013026..."} 
[2026-09-24 16:56:22] local.INFO: Processing buffer {"connection_id":191313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3292078012d1820c00721a468004b013026..."} 
[2026-09-24 16:56:22] local.INFO: Packet analysis {"connection_id":191313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d329"} 
[2026-09-24 16:56:22] local.INFO: Extracted packet for processing {"connection_id":191313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d329"} 
[2026-09-24 16:56:22] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119645288,"longitude_deg":75.6555968,"latitude_deg":11.9645288,"altitude":75,"angle":304,"satellites":38,"speed":10,"hex_longitude":"2d1820c0","hex_latitude":"0721a468","is_valid_coordinates":true} 
[2026-09-24 16:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303763456001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22936126088019968,"note":"Value kept but may cause issues"} 
[2026-09-24 16:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499072479232,"note":"Value kept but may cause issues"} 
[2026-09-24 16:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790249083000,"timestamp_ms":1790249083000,"timestamp_seconds":1790249083,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3292078"} 
[2026-09-24 16:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:56:22] 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-09-24 16:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-24 16:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303763456001,"66":14276,"105":206,"83":41984,"24":10,"16":22936126088019968,"45":1741063499072479232},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 16:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303763456001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:56:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 16:56:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22936126088019968,"km_value":22936126088019.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499072479232,"description":"Unknown IO ID 45"} 
[2026-09-24 16:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303763456001,"power":14276,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1741063499072479232}} 
[2026-09-24 16:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":191313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:56:22] local.INFO: GPS data processed {"connection_id":191313,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:56:22] local.INFO: Acknowledgment sent {"connection_id":191313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:56:28] local.INFO: TCP Data received {"connection_id":194163,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:56:28] local.INFO: Processing buffer {"connection_id":194163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:56:28] local.INFO: IMEI packet received {"connection_id":194163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":194163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:56:33] local.INFO: TCP Data received {"connection_id":194163,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:56:33] local.INFO: Processing buffer {"connection_id":194163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:56:33] local.INFO: IMEI packet received {"connection_id":194163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":194163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:56:34] local.INFO: TCP Data received {"connection_id":194163,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:56:34] local.INFO: Processing buffer {"connection_id":194163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:56:34] local.INFO: Packet analysis {"connection_id":194163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:56:34] local.INFO: Extracted packet for processing {"connection_id":194163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:56:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303639040001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790248891000,"timestamp_ms":1790248891000,"timestamp_seconds":1790248891,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3263278"} 
[2026-09-24 16:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303639040001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303639040001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:56:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:56:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303639040001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":194163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:56:34] local.INFO: GPS data processed {"connection_id":194163,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:56:34] local.INFO: Acknowledgment sent {"connection_id":194163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:56:44] local.INFO: TCP Data received {"connection_id":194164,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:56:44] local.INFO: Processing buffer {"connection_id":194164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:56:44] local.INFO: IMEI packet received {"connection_id":194164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":194164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:56:46] local.INFO: TCP Data received {"connection_id":194164,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:56:46] local.INFO: Processing buffer {"connection_id":194164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:56:46] local.INFO: IMEI packet received {"connection_id":194164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":194164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:56:50] local.INFO: TCP Data received {"connection_id":194164,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:56:50] local.INFO: Processing buffer {"connection_id":194164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:56:50] local.INFO: IMEI packet received {"connection_id":194164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":194164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:56:51] local.INFO: TCP Data received {"connection_id":194164,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3297280012d181e000721a6d8004a013127..."} 
[2026-09-24 16:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3297280012d181e000721a6d8004a013127..."} 
[2026-09-24 16:56:51] local.INFO: Processing buffer {"connection_id":194164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3297280012d181e000721a6d8004a013127..."} 
[2026-09-24 16:56:51] local.INFO: Packet analysis {"connection_id":194164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d329"} 
[2026-09-24 16:56:51] local.INFO: Extracted packet for processing {"connection_id":194164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d329"} 
[2026-09-24 16:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119645912,"longitude_deg":75.6555264,"latitude_deg":11.9645912,"altitude":74,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721a6d8","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303765248001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22936173332660224,"note":"Value kept but may cause issues"} 
[2026-09-24 16:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593026738176,"note":"Value kept but may cause issues"} 
[2026-09-24 16:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790249104000,"timestamp_ms":1790249104000,"timestamp_seconds":1790249104,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3297280"} 
[2026-09-24 16:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-24 16:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16: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-09-24 16:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303765248001,"66":14070,"105":206,"83":41984,"24":0,"16":22936173332660224,"45":1738600593026738176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 16:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303765248001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:56:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 16:56:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22936173332660224,"km_value":22936173332660.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593026738176,"description":"Unknown IO ID 45"} 
[2026-09-24 16:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303765248001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593026738176}} 
[2026-09-24 16:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":194164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:56:51] local.INFO: GPS data processed {"connection_id":194164,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:56:51] local.INFO: Acknowledgment sent {"connection_id":194164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:57:06] local.INFO: TCP Data received {"connection_id":194163,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:57:06] local.INFO: Processing buffer {"connection_id":194163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3263278012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:57:06] local.INFO: Packet analysis {"connection_id":194163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:57:06] local.INFO: Extracted packet for processing {"connection_id":194163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d326"} 
[2026-09-24 16:57:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303639040001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790248891000,"timestamp_ms":1790248891000,"timestamp_seconds":1790248891,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3263278"} 
[2026-09-24 16:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 16:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303639040001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303639040001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:57:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:57:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303639040001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":194163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:57:06] local.INFO: GPS data processed {"connection_id":194163,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:57:06] local.INFO: Acknowledgment sent {"connection_id":194163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:57:22] local.INFO: TCP Data received {"connection_id":194164,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32a8bc0012d181f400721a720004e008d27..."} 
[2026-09-24 16:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32a8bc0012d181f400721a720004e008d27..."} 
[2026-09-24 16:57:22] local.INFO: Processing buffer {"connection_id":194164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32a8bc0012d181f400721a720004e008d27..."} 
[2026-09-24 16:57:22] local.INFO: Packet analysis {"connection_id":194164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 16:57:22] local.INFO: Extracted packet for processing {"connection_id":194164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 16:57:22] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119645984,"longitude_deg":75.6555584,"latitude_deg":11.9645984,"altitude":78,"angle":141,"satellites":39,"speed":9,"hex_longitude":"2d181f40","hex_latitude":"0721a720","is_valid_coordinates":true} 
[2026-09-24 16:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303788800001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22936499750174720,"note":"Value kept but may cause issues"} 
[2026-09-24 16:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329374720,"note":"Value kept but may cause issues"} 
[2026-09-24 16:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790249176000,"timestamp_ms":1790249176000,"timestamp_seconds":1790249176,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32a8bc0"} 
[2026-09-24 16:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:57:22] 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-09-24 16:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-24 16:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-09-24 16:57:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 16:57:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 16:57:22] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2264924160,"note":"Value kept but may cause issues"} 
[2026-09-24 16:57:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3542744864,"note":"Value kept but may cause issues"} 
[2026-09-24 16:57:22] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2974810190,"note":"Value kept but may cause issues"} 
[2026-09-24 16:57:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-24 16:57:22] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951466,"note":"Value kept but may cause issues"} 
[2026-09-24 16:57:22] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,124,160,131,45,64,169,77,40,10,66,128,170,78,41,108,1,240,22,227,211,33,4,113,205,5,81,35,239,54,2,7],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-24 16:57:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620667329106608128,"timestamp_seconds":5620667329106608.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 16:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303788800001,"66":14363,"105":206,"83":41984,"24":9,"16":22936499750174720,"45":1737967274329374720},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 16:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303788800001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:57:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 16:57:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22936499750174720,"km_value":22936499750174.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329374720,"description":"Unknown IO ID 45"} 
[2026-09-24 16:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303788800001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737967274329374720}} 
[2026-09-24 16:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":194164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:57:22] local.INFO: GPS data processed {"connection_id":194164,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:57:22] local.INFO: Acknowledgment sent {"connection_id":194164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:57:28] local.INFO: TCP Data received {"connection_id":192897,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:57:28] local.INFO: Processing buffer {"connection_id":192897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:57:28] local.INFO: IMEI packet received {"connection_id":192897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":192897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:57:33] local.INFO: TCP Data received {"connection_id":192897,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:57:33] local.INFO: Processing buffer {"connection_id":192897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:57:33] local.INFO: IMEI packet received {"connection_id":192897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":192897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:57:34] local.INFO: TCP Data received {"connection_id":192897,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:57:34] local.INFO: Processing buffer {"connection_id":192897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:57:34] local.INFO: Packet analysis {"connection_id":192897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 16:57:34] local.INFO: Extracted packet for processing {"connection_id":192897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 16:57:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303716096001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790249192000,"timestamp_ms":1790249192000,"timestamp_seconds":1790249192,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32aca40"} 
[2026-09-24 16:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 16:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303716096001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303716096001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:57:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:57:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303716096001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":192897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:57:34] local.INFO: GPS data processed {"connection_id":192897,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:57:34] local.INFO: Acknowledgment sent {"connection_id":192897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:57:45] local.INFO: TCP Data received {"connection_id":192898,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:57:45] local.INFO: Processing buffer {"connection_id":192898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:57:45] local.INFO: IMEI packet received {"connection_id":192898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":192898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:57:45] local.INFO: TCP Data received {"connection_id":192898,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:57:45] local.INFO: Processing buffer {"connection_id":192898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:57:45] local.INFO: IMEI packet received {"connection_id":192898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":192898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:57:50] local.INFO: TCP Data received {"connection_id":192898,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:57:50] local.INFO: Processing buffer {"connection_id":192898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:57:50] local.INFO: IMEI packet received {"connection_id":192898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":192898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:57:50] local.INFO: TCP Data received {"connection_id":192898,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32aa330012d1821c00721a4e0004f008227..."} 
[2026-09-24 16:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32aa330012d1821c00721a4e0004f008227..."} 
[2026-09-24 16:57:50] local.INFO: Processing buffer {"connection_id":192898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32aa330012d1821c00721a4e0004f008227..."} 
[2026-09-24 16:57:50] local.INFO: Packet analysis {"connection_id":192898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 16:57:50] local.INFO: Extracted packet for processing {"connection_id":192898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 16:57:50] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119645408,"longitude_deg":75.6556224,"latitude_deg":11.9645408,"altitude":79,"angle":130,"satellites":39,"speed":8,"hex_longitude":"2d1821c0","hex_latitude":"0721a4e0","is_valid_coordinates":true} 
[2026-09-24 16:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303789056001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22936542699847680,"note":"Value kept but may cause issues"} 
[2026-09-24 16:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561850368,"note":"Value kept but may cause issues"} 
[2026-09-24 16:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790249182000,"timestamp_ms":1790249182000,"timestamp_seconds":1790249182,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32aa330"} 
[2026-09-24 16:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:57: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-09-24 16:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-24 16:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303789056001,"66":14265,"105":206,"83":41984,"24":8,"16":22936542699847680,"45":1738178380561850368},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 16:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303789056001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:57:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 16:57:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22936542699847680,"km_value":22936542699847.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561850368,"description":"Unknown IO ID 45"} 
[2026-09-24 16:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303789056001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738178380561850368}} 
[2026-09-24 16:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":192898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:57:51] local.INFO: GPS data processed {"connection_id":192898,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:57:51] local.INFO: Acknowledgment sent {"connection_id":192898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:58:05] local.INFO: TCP Data received {"connection_id":192897,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:58:05] local.INFO: Processing buffer {"connection_id":192897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:58:05] local.INFO: Packet analysis {"connection_id":192897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 16:58:05] local.INFO: Extracted packet for processing {"connection_id":192897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 16:58:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303716096001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790249192000,"timestamp_ms":1790249192000,"timestamp_seconds":1790249192,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32aca40"} 
[2026-09-24 16:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 16:58: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-09-24 16:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303716096001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303716096001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:58:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:58:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303716096001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":192897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:58:05] local.INFO: GPS data processed {"connection_id":192897,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:58:05] local.INFO: Acknowledgment sent {"connection_id":192897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:58:22] local.INFO: TCP Data received {"connection_id":192898,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32af538012d1825800721a1200051008724..."} 
[2026-09-24 16:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32af538012d1825800721a1200051008724..."} 
[2026-09-24 16:58:22] local.INFO: Processing buffer {"connection_id":192898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32af538012d1825800721a1200051008724..."} 
[2026-09-24 16:58:22] local.INFO: Packet analysis {"connection_id":192898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 16:58:22] local.INFO: Extracted packet for processing {"connection_id":192898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 16:58:22] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119644448,"longitude_deg":75.6557184,"latitude_deg":11.9644448,"altitude":81,"angle":135,"satellites":36,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721a120","is_valid_coordinates":true} 
[2026-09-24 16:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303790592001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22936615714291712,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068003479552,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790249203000,"timestamp_ms":1790249203000,"timestamp_seconds":1790249203,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32af538"} 
[2026-09-24 16:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:58:22] 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-09-24 16:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-24 16:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303790592001,"66":14265,"105":206,"83":41984,"24":0,"16":22936615714291712,"45":1738882068003479552},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 16:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303790592001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:58:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 16:58:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22936615714291712,"km_value":22936615714291.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068003479552,"description":"Unknown IO ID 45"} 
[2026-09-24 16:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303790592001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068003479552}} 
[2026-09-24 16:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":192898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:58:22] local.INFO: GPS data processed {"connection_id":192898,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:58:22] local.INFO: Acknowledgment sent {"connection_id":192898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:58:28] local.INFO: TCP Data received {"connection_id":191316,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:58:28] local.INFO: Processing buffer {"connection_id":191316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:58:28] local.INFO: IMEI packet received {"connection_id":191316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":191316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:58:33] local.INFO: TCP Data received {"connection_id":191316,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:58:33] local.INFO: Processing buffer {"connection_id":191316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:58:33] local.INFO: IMEI packet received {"connection_id":191316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":191316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:58:34] local.INFO: TCP Data received {"connection_id":191316,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:58:34] local.INFO: Processing buffer {"connection_id":191316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:58:34] local.INFO: Packet analysis {"connection_id":191316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 16:58:34] local.INFO: Extracted packet for processing {"connection_id":191316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 16:58:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303716096001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790249192000,"timestamp_ms":1790249192000,"timestamp_seconds":1790249192,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32aca40"} 
[2026-09-24 16:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 16:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303716096001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303716096001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:58:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:58:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303716096001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":191316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:58:34] local.INFO: GPS data processed {"connection_id":191316,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:58:34] local.INFO: Acknowledgment sent {"connection_id":191316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:58:41] local.INFO: TCP Data received {"connection_id":194165,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:58:41] local.INFO: Processing buffer {"connection_id":194165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:58:41] local.INFO: IMEI packet received {"connection_id":194165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":194165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:58:45] local.INFO: TCP Data received {"connection_id":194165,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:58:45] local.INFO: Processing buffer {"connection_id":194165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:58:45] local.INFO: IMEI packet received {"connection_id":194165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":194165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:58:45] local.INFO: TCP Data received {"connection_id":194165,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:58:45] local.INFO: Processing buffer {"connection_id":194165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:58:45] local.INFO: IMEI packet received {"connection_id":194165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":194165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:58:46] local.INFO: TCP Data received {"connection_id":194165,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:58:46] local.INFO: Processing buffer {"connection_id":194165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:58:46] local.INFO: IMEI packet received {"connection_id":194165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":194165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:58:47] local.INFO: TCP Data received {"connection_id":194165,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32c02c0012d18b20007216bc0004a009325..."} 
[2026-09-24 16:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32c02c0012d18b20007216bc0004a009325..."} 
[2026-09-24 16:58:47] local.INFO: Processing buffer {"connection_id":194165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32c02c0012d18b20007216bc0004a009325..."} 
[2026-09-24 16:58:47] local.INFO: Packet analysis {"connection_id":194165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32c"} 
[2026-09-24 16:58:47] local.INFO: Extracted packet for processing {"connection_id":194165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32c"} 
[2026-09-24 16:58:47] local.INFO: GPS Element Parsed {"raw_longitude":756593152,"raw_latitude":119630784,"longitude_deg":75.6593152,"latitude_deg":11.9630784,"altitude":74,"angle":147,"satellites":37,"speed":28,"hex_longitude":"2d18b200","hex_latitude":"07216bc0","is_valid_coordinates":true} 
[2026-09-24 16:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303813120001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22938496909967360,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778570039716214784,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790249272000,"timestamp_ms":1790249272000,"timestamp_seconds":1790249272,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32c02c0"} 
[2026-09-24 16:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-24 16:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":194165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":194165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":194165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303813120001,"66":14352,"106":206,"83":41984,"24":28,"16":22938496909967360,"45":1778570039716214784},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-24 16:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303813120001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:58:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-24 16:58:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22938496909967360,"km_value":22938496909967.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778570039716214784,"description":"Unknown IO ID 45"} 
[2026-09-24 16:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303813120001,"power":14352,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1778570039716214784}} 
[2026-09-24 16:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":194165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:58:47] local.INFO: GPS data processed {"connection_id":194165,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:58:47] local.INFO: Acknowledgment sent {"connection_id":194165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:58:50] local.INFO: TCP Data received {"connection_id":194165,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32c29d0012d18c44007214f28004700a529..."} 
[2026-09-24 16:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32c29d0012d18c44007214f28004700a529..."} 
[2026-09-24 16:58:50] local.INFO: Processing buffer {"connection_id":194165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32c29d0012d18c44007214f28004700a529..."} 
[2026-09-24 16:58:50] local.INFO: Packet analysis {"connection_id":194165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32c"} 
[2026-09-24 16:58:50] local.INFO: Extracted packet for processing {"connection_id":194165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32c"} 
[2026-09-24 16:58:50] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119623464,"longitude_deg":75.6597824,"latitude_deg":11.9623464,"altitude":71,"angle":165,"satellites":41,"speed":35,"hex_longitude":"2d18c440","hex_latitude":"07214f28","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303813632001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22938917816762368,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779484833390247936,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790249282000,"timestamp_ms":1790249282000,"timestamp_seconds":1790249282,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32c29d0"} 
[2026-09-24 16:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:58: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-09-24 16: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-24 16:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733145088,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:50] local.WARNING: Large IO value detected {"io_id":24,"raw_value":6341076115922616399,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3542852864,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:50] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2049,"corrected_to":0} 
[2026-09-24 16:58:50] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6197216974351958272,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:50] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503949627621376,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:50] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638616184842858,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-24 16:58:50] local.WARNING: Large IO value detected {"io_id":129,"raw_value":3221692801,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:50] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:50] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84750794356105601,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:50] local.WARNING: Large IO value detected {"io_id":224,"raw_value":21673999062802176,"note":"Value kept but may cause issues"} 
[2026-09-24 16:58:50] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,106,83,24,241,157,16,126,160,250,45,192,111,75,39,10,66,247,113,1,240,27,227,211,33,4,205,32,188,129,216,239,56,2,81,7,76,30,206,72,224],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":247,"original":2049,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-24 16:58:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332423745931575296,"timestamp_seconds":5332423745931575.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 16:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":194165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":194165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":194165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303813632001,"66":14276,"103":206,"83":41984,"24":35,"16":22938917816762368,"45":1779484833390247936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 16:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303813632001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:58:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 16:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22938917816762368,"km_value":22938917816762.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779484833390247936,"description":"Unknown IO ID 45"} 
[2026-09-24 16:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303813632001,"power":14276,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1779484833390247936}} 
[2026-09-24 16:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":194165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:58:50] local.INFO: GPS data processed {"connection_id":194165,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:58:50] local.INFO: Acknowledgment sent {"connection_id":194165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:59:05] local.INFO: TCP Data received {"connection_id":191316,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:59:05] local.INFO: Processing buffer {"connection_id":191316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:59:05] local.INFO: Packet analysis {"connection_id":191316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 16:59:05] local.INFO: Extracted packet for processing {"connection_id":191316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 16:59:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16: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-09-24 16:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303716096001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790249192000,"timestamp_ms":1790249192000,"timestamp_seconds":1790249192,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32aca40"} 
[2026-09-24 16:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 16:59: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-09-24 16: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-09-24 16:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303716096001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303716096001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:59:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:59:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303716096001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":191316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:59:05] local.INFO: GPS data processed {"connection_id":191316,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:59:05] local.INFO: Acknowledgment sent {"connection_id":191316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:59:21] local.INFO: TCP Data received {"connection_id":194165,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32c31a0012d18c54007214808004600b228..."} 
[2026-09-24 16:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32c31a0012d18c54007214808004600b228..."} 
[2026-09-24 16:59:21] local.INFO: Processing buffer {"connection_id":194165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32c31a0012d18c54007214808004600b228..."} 
[2026-09-24 16:59:21] local.INFO: Packet analysis {"connection_id":194165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32c"} 
[2026-09-24 16:59:21] local.INFO: Extracted packet for processing {"connection_id":194165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32c"} 
[2026-09-24 16:59:21] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119621640,"longitude_deg":75.659808,"latitude_deg":11.962164,"altitude":70,"angle":178,"satellites":40,"speed":36,"hex_longitude":"2d18c540","hex_latitude":"07214808","is_valid_coordinates":true} 
[2026-09-24 16:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303816192001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22939008011075584,"note":"Value kept but may cause issues"} 
[2026-09-24 16:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751713343488,"note":"Value kept but may cause issues"} 
[2026-09-24 16:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790249284000,"timestamp_ms":1790249284000,"timestamp_seconds":1790249284,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32c31a0"} 
[2026-09-24 16:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:59: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-09-24 16:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-24 16:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303816192001,"66":13972,"103":206,"83":41984,"24":36,"16":22939008011075584,"45":1784621751713343488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 16:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303816192001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:59:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 16:59:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22939008011075584,"km_value":22939008011075.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751713343488,"description":"Unknown IO ID 45"} 
[2026-09-24 16:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303816192001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1784621751713343488}} 
[2026-09-24 16:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":194165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:59:21] local.INFO: GPS data processed {"connection_id":194165,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:59:21] local.INFO: Acknowledgment sent {"connection_id":194165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:59:28] local.INFO: TCP Data received {"connection_id":192899,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:59:28] local.INFO: Processing buffer {"connection_id":192899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:59:28] local.INFO: IMEI packet received {"connection_id":192899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 16:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":192899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:59:33] local.INFO: TCP Data received {"connection_id":192899,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:59:33] local.INFO: Processing buffer {"connection_id":192899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 16:59:33] local.INFO: IMEI packet received {"connection_id":192899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 16:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":192899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:59:34] local.INFO: TCP Data received {"connection_id":192899,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:59:34] local.INFO: Processing buffer {"connection_id":192899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 16:59:34] local.INFO: Packet analysis {"connection_id":192899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 16:59:34] local.INFO: Extracted packet for processing {"connection_id":192899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 16:59:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 16:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303716096001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 16:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 16:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790249192000,"timestamp_ms":1790249192000,"timestamp_seconds":1790249192,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32aca40"} 
[2026-09-24 16:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 16:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 16:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 16:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 16:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 16:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303716096001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 16:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 16:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 16:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303716096001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:59:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 16:59:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 16:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 16:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303716096001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 16:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":192899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:59:34] local.INFO: GPS data processed {"connection_id":192899,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:59:34] local.INFO: Acknowledgment sent {"connection_id":192899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:59:41] local.INFO: TCP Data received {"connection_id":191317,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:59:41] local.INFO: Processing buffer {"connection_id":191317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 16:59:41] local.INFO: IMEI packet received {"connection_id":191317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 16:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":191317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:59:45] local.INFO: TCP Data received {"connection_id":191512,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:59:45] local.INFO: Processing buffer {"connection_id":191512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:59:45] local.INFO: IMEI packet received {"connection_id":191512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 16:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":191512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 16:59:45] local.INFO: TCP Data received {"connection_id":191512,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:59:45] local.INFO: Processing buffer {"connection_id":191512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:59:45] local.INFO: IMEI packet received {"connection_id":191512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":191512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:59:50] local.INFO: TCP Data received {"connection_id":191512,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:59:50] local.INFO: Processing buffer {"connection_id":191512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 16:59:50] local.INFO: IMEI packet received {"connection_id":191512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 16:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":191512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 16:59:50] local.INFO: TCP Data received {"connection_id":191512,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32ce938012d192f000720bae0002f007128..."} 
[2026-09-24 16:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32ce938012d192f000720bae0002f007128..."} 
[2026-09-24 16:59:50] local.INFO: Processing buffer {"connection_id":191512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32ce938012d192f000720bae0002f007128..."} 
[2026-09-24 16:59:50] local.INFO: Packet analysis {"connection_id":191512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32c"} 
[2026-09-24 16:59:50] local.INFO: Extracted packet for processing {"connection_id":191512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32c"} 
[2026-09-24 16:59:50] local.INFO: GPS Element Parsed {"raw_longitude":756625152,"raw_latitude":119585504,"longitude_deg":75.6625152,"latitude_deg":11.9585504,"altitude":47,"angle":113,"satellites":40,"speed":54,"hex_longitude":"2d192f00","hex_latitude":"0720bae0","is_valid_coordinates":true} 
[2026-09-24 16:59: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-09-24 16:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303826944001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22941361653153792,"note":"Value kept but may cause issues"} 
[2026-09-24 16:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805169425004392448,"note":"Value kept but may cause issues"} 
[2026-09-24 16:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790249331000,"timestamp_ms":1790249331000,"timestamp_seconds":1790249331,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32ce938"} 
[2026-09-24 16:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:59: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-09-24 16:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-24 16:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:59: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-09-24 16:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303826944001,"66":14396,"103":206,"83":41984,"24":54,"16":22941361653153792,"45":1805169425004392448},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 16:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303826944001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:59:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 16:59:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22941361653153792,"km_value":22941361653153.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805169425004392448,"description":"Unknown IO ID 45"} 
[2026-09-24 16:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303826944001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":54,"odometer":null,"unknown_45":1805169425004392448}} 
[2026-09-24 16:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":191512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:59:51] local.INFO: GPS data processed {"connection_id":191512,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:59:51] local.INFO: Acknowledgment sent {"connection_id":191512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 16:59:53] local.INFO: TCP Data received {"connection_id":191512,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32cf4f0012d193bc00720b3900030007e29..."} 
[2026-09-24 16:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32cf4f0012d193bc00720b3900030007e29..."} 
[2026-09-24 16:59:53] local.INFO: Processing buffer {"connection_id":191512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32cf4f0012d193bc00720b3900030007e29..."} 
[2026-09-24 16:59:53] local.INFO: Packet analysis {"connection_id":191512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32c"} 
[2026-09-24 16:59:53] local.INFO: Extracted packet for processing {"connection_id":191512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32c"} 
[2026-09-24 16:59:53] local.INFO: GPS Element Parsed {"raw_longitude":756628416,"raw_latitude":119583632,"longitude_deg":75.6628416,"latitude_deg":11.9583632,"altitude":48,"angle":126,"satellites":41,"speed":46,"hex_longitude":"2d193bc0","hex_latitude":"0720b390","is_valid_coordinates":true} 
[2026-09-24 16:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 16:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303828736001,"note":"Value kept but may cause issues"} 
[2026-09-24 16:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22941542041780224,"note":"Value kept but may cause issues"} 
[2026-09-24 16:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1814669205467488256,"note":"Value kept but may cause issues"} 
[2026-09-24 16:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 16:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790249334000,"timestamp_ms":1790249334000,"timestamp_seconds":1790249334,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32cf4f0"} 
[2026-09-24 16:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 16:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 16:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-24 16:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 16:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 16:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 16:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 16:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 16:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 16:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 16:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 16:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 16:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303828736001,"66":14265,"103":206,"83":41984,"24":46,"16":22941542041780224,"45":1814669205467488256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 16:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 16:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 16:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303828736001,"description":"Unknown IO ID 0"} 
[2026-09-24 16:59:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 16:59:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 16:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22941542041780224,"km_value":22941542041780.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 16:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1814669205467488256,"description":"Unknown IO ID 45"} 
[2026-09-24 16:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303828736001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1814669205467488256}} 
[2026-09-24 16:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":191512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 16:59:53] local.INFO: GPS data processed {"connection_id":191512,"processed":1,"errors":0,"total":1} 
[2026-09-24 16:59:53] local.INFO: Acknowledgment sent {"connection_id":191512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:00:02] local.INFO: TCP Data received {"connection_id":194166,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194166,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:00:02] local.INFO: Processing buffer {"connection_id":194166,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:00:02] local.INFO: IMEI packet received {"connection_id":194166,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 17:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":194166,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:00:03] local.INFO: TCP Data received {"connection_id":194166,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194166,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:00:03] local.INFO: Processing buffer {"connection_id":194166,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:00:03] local.INFO: IMEI packet received {"connection_id":194166,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 17:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":194166,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:00:06] local.INFO: TCP Data received {"connection_id":192899,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:00:06] local.INFO: Processing buffer {"connection_id":192899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:00:06] local.INFO: Packet analysis {"connection_id":192899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 17:00:06] local.INFO: Extracted packet for processing {"connection_id":192899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 17:00:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303716096001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790249192000,"timestamp_ms":1790249192000,"timestamp_seconds":1790249192,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32aca40"} 
[2026-09-24 17:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303716096001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303716096001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:00:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:00:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303716096001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":192899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:00:06] local.INFO: GPS data processed {"connection_id":192899,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:00:06] local.INFO: Acknowledgment sent {"connection_id":192899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:00:08] local.INFO: TCP Data received {"connection_id":194166,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194166,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:00:08] local.INFO: Processing buffer {"connection_id":194166,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:00:08] local.INFO: IMEI packet received {"connection_id":194166,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 17:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":194166,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:00:09] local.INFO: TCP Data received {"connection_id":194166,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32d75d8012d0c21000702adc80016012422..."} 
[2026-09-24 17:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32d75d8012d0c21000702adc80016012422..."} 
[2026-09-24 17:00:09] local.INFO: Processing buffer {"connection_id":194166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32d75d8012d0c21000702adc80016012422..."} 
[2026-09-24 17:00:09] local.INFO: Packet analysis {"connection_id":194166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32d"} 
[2026-09-24 17:00:09] local.INFO: Extracted packet for processing {"connection_id":194166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32d"} 
[2026-09-24 17:00:09] local.INFO: GPS Element Parsed {"raw_longitude":755769600,"raw_latitude":117616072,"longitude_deg":75.57696,"latitude_deg":11.7616072,"altitude":22,"angle":292,"satellites":34,"speed":6,"hex_longitude":"2d0c2100","hex_latitude":"0702adc8","is_valid_coordinates":true} 
[2026-09-24 17:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303836672001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33723241394601984,"note":"Value kept but may cause issues"} 
[2026-09-24 17:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874683520237977600,"note":"Value kept but may cause issues"} 
[2026-09-24 17:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790249367000,"timestamp_ms":1790249367000,"timestamp_seconds":1790249367,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32d75d8"} 
[2026-09-24 17:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 17:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":194166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":194166,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":194166,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303836672001,"66":14309,"37":206,"94":11008,"24":6,"16":33723241394601984,"45":874683520237977600},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 17:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303836672001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:00:09] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 17:00:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 17:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33723241394601984,"km_value":33723241394601.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":874683520237977600,"description":"Unknown IO ID 45"} 
[2026-09-24 17:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303836672001,"power":14309,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":874683520237977600}} 
[2026-09-24 17:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":194166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890897,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:00:09] local.INFO: GPS data processed {"connection_id":194166,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:00:09] local.INFO: Acknowledgment sent {"connection_id":194166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:00:21] local.INFO: TCP Data received {"connection_id":191513,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:00:21] local.INFO: Processing buffer {"connection_id":191513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:00:21] local.INFO: IMEI packet received {"connection_id":191513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":191513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:00:25] local.INFO: TCP Data received {"connection_id":191512,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32d9ce8012d19ad8007208bf0003200b625..."} 
[2026-09-24 17:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32d9ce8012d19ad8007208bf0003200b625..."} 
[2026-09-24 17:00:25] local.INFO: Processing buffer {"connection_id":191512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32d9ce8012d19ad8007208bf0003200b625..."} 
[2026-09-24 17:00:25] local.INFO: Packet analysis {"connection_id":191512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32d"} 
[2026-09-24 17:00:25] local.INFO: Extracted packet for processing {"connection_id":191512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32d"} 
[2026-09-24 17:00:25] local.INFO: GPS Element Parsed {"raw_longitude":756657536,"raw_latitude":119573488,"longitude_deg":75.6657536,"latitude_deg":11.9573488,"altitude":50,"angle":182,"satellites":37,"speed":37,"hex_longitude":"2d19ad80","hex_latitude":"07208bf0","is_valid_coordinates":true} 
[2026-09-24 17:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303840256001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22943569266343936,"note":"Value kept but may cause issues"} 
[2026-09-24 17:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896251086848,"note":"Value kept but may cause issues"} 
[2026-09-24 17:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790249377000,"timestamp_ms":1790249377000,"timestamp_seconds":1790249377,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32d9ce8"} 
[2026-09-24 17:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-24 17:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":191512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":191512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":191512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303840256001,"66":14113,"103":206,"83":41984,"24":37,"16":22943569266343936,"45":1850486896251086848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 17:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303840256001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:00:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 17:00:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22943569266343936,"km_value":22943569266343.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896251086848,"description":"Unknown IO ID 45"} 
[2026-09-24 17:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303840256001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1850486896251086848}} 
[2026-09-24 17:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":191512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:00:25] local.INFO: GPS data processed {"connection_id":191512,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:00:25] local.INFO: Acknowledgment sent {"connection_id":191512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:00:33] local.INFO: TCP Data received {"connection_id":191514,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:00:33] local.INFO: Processing buffer {"connection_id":191514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:00:33] local.INFO: IMEI packet received {"connection_id":191514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":191514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:00:38] local.INFO: TCP Data received {"connection_id":191514,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:00:38] local.INFO: Processing buffer {"connection_id":191514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:00:38] local.INFO: IMEI packet received {"connection_id":191514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":191514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:00:39] local.INFO: TCP Data received {"connection_id":191514,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:00:39] local.INFO: Processing buffer {"connection_id":191514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:00:39] local.INFO: Packet analysis {"connection_id":191514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 17:00:39] local.INFO: Extracted packet for processing {"connection_id":191514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 17:00:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303716096001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790249192000,"timestamp_ms":1790249192000,"timestamp_seconds":1790249192,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32aca40"} 
[2026-09-24 17:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303716096001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303716096001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:00:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:00:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303716096001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":191514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:00:39] local.INFO: GPS data processed {"connection_id":191514,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:00:39] local.INFO: Acknowledgment sent {"connection_id":191514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:00:41] local.INFO: TCP Data received {"connection_id":194166,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32e6420012d0bf6800702a1500014010122..."} 
[2026-09-24 17:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32e6420012d0bf6800702a1500014010122..."} 
[2026-09-24 17:00:41] local.INFO: Processing buffer {"connection_id":194166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32e6420012d0bf6800702a1500014010122..."} 
[2026-09-24 17:00:41] local.INFO: Packet analysis {"connection_id":194166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32e"} 
[2026-09-24 17:00:41] local.INFO: Extracted packet for processing {"connection_id":194166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32e"} 
[2026-09-24 17:00:41] local.INFO: GPS Element Parsed {"raw_longitude":755758720,"raw_latitude":117612880,"longitude_deg":75.575872,"latitude_deg":11.761288,"altitude":20,"angle":257,"satellites":34,"speed":10,"hex_longitude":"2d0bf680","hex_latitude":"0702a150","is_valid_coordinates":true} 
[2026-09-24 17:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303853312001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33723799740350464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862298621262010368,"note":"Value kept but may cause issues"} 
[2026-09-24 17:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790249428000,"timestamp_ms":1790249428000,"timestamp_seconds":1790249428,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32e6420"} 
[2026-09-24 17:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-24 17:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":194166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":194166,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":194166,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303853312001,"66":14396,"37":206,"94":11008,"24":10,"16":33723799740350464,"45":862298621262010368},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 17:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303853312001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:00:41] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 17:00:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 17:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33723799740350464,"km_value":33723799740350.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":862298621262010368,"description":"Unknown IO ID 45"} 
[2026-09-24 17:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303853312001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":862298621262010368}} 
[2026-09-24 17:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":194166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890900,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:00:41] local.INFO: GPS data processed {"connection_id":194166,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:00:41] local.INFO: Acknowledgment sent {"connection_id":194166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:00:44] local.INFO: TCP Data received {"connection_id":191514,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:00:44] local.INFO: Processing buffer {"connection_id":191514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:00:44] local.INFO: Packet analysis {"connection_id":191514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 17:00:44] local.INFO: Extracted packet for processing {"connection_id":191514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 17:00:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303716096001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790249192000,"timestamp_ms":1790249192000,"timestamp_seconds":1790249192,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32aca40"} 
[2026-09-24 17:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303716096001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303716096001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:00:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:00:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303716096001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":191514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:00:44] local.INFO: GPS data processed {"connection_id":191514,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:00:44] local.INFO: Acknowledgment sent {"connection_id":191514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:00:45] local.INFO: TCP Data received {"connection_id":192900,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:00:45] local.INFO: Processing buffer {"connection_id":192900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:00:45] local.INFO: IMEI packet received {"connection_id":192900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":192900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:00:50] local.INFO: TCP Data received {"connection_id":192900,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:00:50] local.INFO: Processing buffer {"connection_id":192900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:00:50] local.INFO: IMEI packet received {"connection_id":192900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":192900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:00:51] local.INFO: TCP Data received {"connection_id":192900,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32da0d0012d19ae40072087d0003100aa25..."} 
[2026-09-24 17:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32da0d0012d19ae40072087d0003100aa25..."} 
[2026-09-24 17:00:51] local.INFO: Processing buffer {"connection_id":192900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32da0d0012d19ae40072087d0003100aa25..."} 
[2026-09-24 17:00:51] local.INFO: Packet analysis {"connection_id":192900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32d"} 
[2026-09-24 17:00:51] local.INFO: Extracted packet for processing {"connection_id":192900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32d"} 
[2026-09-24 17:00:51] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119572432,"longitude_deg":75.6657728,"latitude_deg":11.9572432,"altitude":49,"angle":170,"satellites":37,"speed":42,"hex_longitude":"2d19ae40","hex_latitude":"072087d0","is_valid_coordinates":true} 
[2026-09-24 17:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303840512001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22943620805951488,"note":"Value kept but may cause issues"} 
[2026-09-24 17:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790018310144,"note":"Value kept but may cause issues"} 
[2026-09-24 17:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790249378000,"timestamp_ms":1790249378000,"timestamp_seconds":1790249378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32da0d0"} 
[2026-09-24 17:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-24 17:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:00: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-09-24 17:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303840512001,"66":14102,"103":206,"83":41984,"24":42,"16":22943620805951488,"45":1850275790018310144},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 17:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303840512001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:00:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 17:00:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22943620805951488,"km_value":22943620805951.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790018310144,"description":"Unknown IO ID 45"} 
[2026-09-24 17:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303840512001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1850275790018310144}} 
[2026-09-24 17:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":192900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:00:51] local.INFO: GPS data processed {"connection_id":192900,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:00:51] local.INFO: Acknowledgment sent {"connection_id":192900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:01:03] local.INFO: TCP Data received {"connection_id":191515,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191515,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:01:03] local.INFO: Processing buffer {"connection_id":191515,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:01:03] local.INFO: IMEI packet received {"connection_id":191515,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 17:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":191515,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:01:08] local.INFO: TCP Data received {"connection_id":191515,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191515,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:01:08] local.INFO: Processing buffer {"connection_id":191515,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:01:08] local.INFO: IMEI packet received {"connection_id":191515,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 17:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":191515,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:01:09] local.INFO: TCP Data received {"connection_id":191515,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32e73c0012d0bf2c00702a0c00014011122..."} 
[2026-09-24 17:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32e73c0012d0bf2c00702a0c00014011122..."} 
[2026-09-24 17:01:09] local.INFO: Processing buffer {"connection_id":191515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32e73c0012d0bf2c00702a0c00014011122..."} 
[2026-09-24 17:01:09] local.INFO: Packet analysis {"connection_id":191515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32e"} 
[2026-09-24 17:01:09] local.INFO: Extracted packet for processing {"connection_id":191515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32e"} 
[2026-09-24 17:01:09] local.INFO: GPS Element Parsed {"raw_longitude":755757760,"raw_latitude":117612736,"longitude_deg":75.575776,"latitude_deg":11.7612736,"altitude":20,"angle":273,"satellites":34,"speed":8,"hex_longitude":"2d0bf2c0","hex_latitude":"0702a0c0","is_valid_coordinates":true} 
[2026-09-24 17:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303853568001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33723851279958016,"note":"Value kept but may cause issues"} 
[2026-09-24 17:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862017146285281280,"note":"Value kept but may cause issues"} 
[2026-09-24 17:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790249432000,"timestamp_ms":1790249432000,"timestamp_seconds":1790249432,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32e73c0"} 
[2026-09-24 17:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-24 17:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191515,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191515,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303853568001,"66":14374,"37":206,"94":11008,"24":8,"16":33723851279958016,"45":862017146285281280},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 17:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303853568001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:01:09] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 17:01:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 17:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33723851279958016,"km_value":33723851279958.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":862017146285281280,"description":"Unknown IO ID 45"} 
[2026-09-24 17:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303853568001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":862017146285281280}} 
[2026-09-24 17:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":191515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890903,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:01:09] local.INFO: GPS data processed {"connection_id":191515,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:01:09] local.INFO: Acknowledgment sent {"connection_id":191515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:01:22] local.INFO: TCP Data received {"connection_id":192900,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32db458012d19b44007207090002b009e25..."} 
[2026-09-24 17:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32db458012d19b44007207090002b009e25..."} 
[2026-09-24 17:01:22] local.INFO: Processing buffer {"connection_id":192900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32db458012d19b44007207090002b009e25..."} 
[2026-09-24 17:01:22] local.INFO: Packet analysis {"connection_id":192900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32d"} 
[2026-09-24 17:01:22] local.INFO: Extracted packet for processing {"connection_id":192900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32d"} 
[2026-09-24 17:01:22] local.INFO: GPS Element Parsed {"raw_longitude":756659264,"raw_latitude":119566480,"longitude_deg":75.6659264,"latitude_deg":11.956648,"altitude":43,"angle":158,"satellites":37,"speed":50,"hex_longitude":"2d19b440","hex_latitude":"07207090","is_valid_coordinates":true} 
[2026-09-24 17:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303840768001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22943917158694912,"note":"Value kept but may cause issues"} 
[2026-09-24 17:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896250572800,"note":"Value kept but may cause issues"} 
[2026-09-24 17:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790249383000,"timestamp_ms":1790249383000,"timestamp_seconds":1790249383,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32db458"} 
[2026-09-24 17:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:01:22] 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-09-24 17:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-24 17:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303840768001,"66":14135,"103":206,"83":41984,"24":50,"16":22943917158694912,"45":1850486896250572800},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 17:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303840768001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:01:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 17:01:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22943917158694912,"km_value":22943917158694.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896250572800,"description":"Unknown IO ID 45"} 
[2026-09-24 17:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303840768001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":50,"odometer":null,"unknown_45":1850486896250572800}} 
[2026-09-24 17:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":192900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:01:22] local.INFO: GPS data processed {"connection_id":192900,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:01:22] local.INFO: Acknowledgment sent {"connection_id":192900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:01:28] local.INFO: TCP Data received {"connection_id":191516,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:01:28] local.INFO: Processing buffer {"connection_id":191516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:01:28] local.INFO: IMEI packet received {"connection_id":191516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":191516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:01:33] local.INFO: TCP Data received {"connection_id":191516,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:01:33] local.INFO: Processing buffer {"connection_id":191516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:01:33] local.INFO: IMEI packet received {"connection_id":191516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":191516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:01:34] local.INFO: TCP Data received {"connection_id":191516,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:01:34] local.INFO: Processing buffer {"connection_id":191516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:01:34] local.INFO: Packet analysis {"connection_id":191516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 17:01:34] local.INFO: Extracted packet for processing {"connection_id":191516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 17:01:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303716096001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790249192000,"timestamp_ms":1790249192000,"timestamp_seconds":1790249192,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32aca40"} 
[2026-09-24 17:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303716096001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303716096001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:01:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:01:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303716096001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":191516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:01:34] local.INFO: GPS data processed {"connection_id":191516,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:01:34] local.INFO: Acknowledgment sent {"connection_id":191516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:01:40] local.INFO: TCP Data received {"connection_id":191515,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32e7f78012d0bf0000702a0f00014011e22..."} 
[2026-09-24 17:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32e7f78012d0bf0000702a0f00014011e22..."} 
[2026-09-24 17:01:40] local.INFO: Processing buffer {"connection_id":191515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32e7f78012d0bf0000702a0f00014011e22..."} 
[2026-09-24 17:01:40] local.INFO: Packet analysis {"connection_id":191515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32e"} 
[2026-09-24 17:01:40] local.INFO: Extracted packet for processing {"connection_id":191515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32e"} 
[2026-09-24 17:01:40] local.INFO: GPS Element Parsed {"raw_longitude":755757056,"raw_latitude":117612784,"longitude_deg":75.5757056,"latitude_deg":11.7612784,"altitude":20,"angle":286,"satellites":34,"speed":10,"hex_longitude":"2d0bf000","hex_latitude":"0702a0f0","is_valid_coordinates":true} 
[2026-09-24 17:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303854592001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33723881344729088,"note":"Value kept but may cause issues"} 
[2026-09-24 17:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":860961615122579456,"note":"Value kept but may cause issues"} 
[2026-09-24 17:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790249435000,"timestamp_ms":1790249435000,"timestamp_seconds":1790249435,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32e7f78"} 
[2026-09-24 17:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-24 17:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191515,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191515,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303854592001,"66":14428,"37":206,"94":11008,"24":10,"16":33723881344729088,"45":860961615122579456},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 17:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303854592001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:01:40] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 17:01:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 17:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33723881344729088,"km_value":33723881344729.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":860961615122579456,"description":"Unknown IO ID 45"} 
[2026-09-24 17:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303854592001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":860961615122579456}} 
[2026-09-24 17:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":191515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890906,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:01:40] local.INFO: GPS data processed {"connection_id":191515,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:01:40] local.INFO: Acknowledgment sent {"connection_id":191515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:01:45] local.INFO: TCP Data received {"connection_id":191319,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:01:45] local.INFO: Processing buffer {"connection_id":191319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:01:45] local.INFO: IMEI packet received {"connection_id":191319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":191319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:01:45] local.INFO: TCP Data received {"connection_id":191319,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:01:45] local.INFO: Processing buffer {"connection_id":191319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:01:45] local.INFO: IMEI packet received {"connection_id":191319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":191319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:01:49] local.INFO: TCP Data received {"connection_id":191319,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:01:49] local.INFO: Processing buffer {"connection_id":191319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:01:49] local.INFO: IMEI packet received {"connection_id":191319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":191319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:01:50] local.INFO: TCP Data received {"connection_id":191319,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32dc3f8012d19ba0007205dd8002a00aa29..."} 
[2026-09-24 17:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32dc3f8012d19ba0007205dd8002a00aa29..."} 
[2026-09-24 17:01:50] local.INFO: Processing buffer {"connection_id":191319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32dc3f8012d19ba0007205dd8002a00aa29..."} 
[2026-09-24 17:01:50] local.INFO: Packet analysis {"connection_id":191319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32d"} 
[2026-09-24 17:01:50] local.INFO: Extracted packet for processing {"connection_id":191319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32d"} 
[2026-09-24 17:01:50] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119561688,"longitude_deg":75.6660736,"latitude_deg":11.9561688,"altitude":42,"angle":170,"satellites":41,"speed":48,"hex_longitude":"2d19ba00","hex_latitude":"07205dd8","is_valid_coordinates":true} 
[2026-09-24 17:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303842048001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22944161971830784,"note":"Value kept but may cause issues"} 
[2026-09-24 17:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852175746109313024,"note":"Value kept but may cause issues"} 
[2026-09-24 17:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790249387000,"timestamp_ms":1790249387000,"timestamp_seconds":1790249387,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32dc3f8"} 
[2026-09-24 17:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:01: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-09-24 17:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-24 17:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303842048001,"66":14070,"103":206,"83":41984,"24":48,"16":22944161971830784,"45":1852175746109313024},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 17:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303842048001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:01:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 17:01:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22944161971830784,"km_value":22944161971830.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852175746109313024,"description":"Unknown IO ID 45"} 
[2026-09-24 17:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303842048001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1852175746109313024}} 
[2026-09-24 17:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":191319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:01:50] local.INFO: GPS data processed {"connection_id":191319,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:01:50] local.INFO: Acknowledgment sent {"connection_id":191319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:02:03] local.INFO: TCP Data received {"connection_id":194167,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194167,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:02:03] local.INFO: Processing buffer {"connection_id":194167,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:02:03] local.INFO: IMEI packet received {"connection_id":194167,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 17:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":194167,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:02:05] local.INFO: TCP Data received {"connection_id":191516,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:02:05] local.INFO: Processing buffer {"connection_id":191516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32aca40012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:02:05] local.INFO: Packet analysis {"connection_id":191516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 17:02:05] local.INFO: Extracted packet for processing {"connection_id":191516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32a"} 
[2026-09-24 17:02:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303716096001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790249192000,"timestamp_ms":1790249192000,"timestamp_seconds":1790249192,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32aca40"} 
[2026-09-24 17:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:02: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-09-24 17:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303716096001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303716096001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:02:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:02:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303716096001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":191516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:02:05] local.INFO: GPS data processed {"connection_id":191516,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:02:05] local.INFO: Acknowledgment sent {"connection_id":191516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:02:08] local.INFO: TCP Data received {"connection_id":194167,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194167,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:02:08] local.INFO: Processing buffer {"connection_id":194167,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:02:08] local.INFO: IMEI packet received {"connection_id":194167,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 17:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":194167,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:02:10] local.INFO: TCP Data received {"connection_id":194167,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32ed180012d0bdc400702a5300012011522..."} 
[2026-09-24 17:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32ed180012d0bdc400702a5300012011522..."} 
[2026-09-24 17:02:10] local.INFO: Processing buffer {"connection_id":194167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32ed180012d0bdc400702a5300012011522..."} 
[2026-09-24 17:02:10] local.INFO: Packet analysis {"connection_id":194167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32e"} 
[2026-09-24 17:02:10] local.INFO: Extracted packet for processing {"connection_id":194167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32e"} 
[2026-09-24 17:02:10] local.INFO: GPS Element Parsed {"raw_longitude":755752000,"raw_latitude":117613872,"longitude_deg":75.5752,"latitude_deg":11.7613872,"altitude":18,"angle":277,"satellites":34,"speed":12,"hex_longitude":"2d0bdc40","hex_latitude":"0702a530","is_valid_coordinates":true} 
[2026-09-24 17:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303855360001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33724126157864960,"note":"Value kept but may cause issues"} 
[2026-09-24 17:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":860187558936637440,"note":"Value kept but may cause issues"} 
[2026-09-24 17:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790249456000,"timestamp_ms":1790249456000,"timestamp_seconds":1790249456,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32ed180"} 
[2026-09-24 17:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-24 17:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":194167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":194167,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":194167,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303855360001,"66":14439,"37":206,"94":11008,"24":12,"16":33724126157864960,"45":860187558936637440},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-24 17:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303855360001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:02:10] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 17:02:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 17:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33724126157864960,"km_value":33724126157864.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":860187558936637440,"description":"Unknown IO ID 45"} 
[2026-09-24 17:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303855360001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":860187558936637440}} 
[2026-09-24 17:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":194167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890909,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:02:10] local.INFO: GPS data processed {"connection_id":194167,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:02:10] local.INFO: Acknowledgment sent {"connection_id":194167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:02:21] local.INFO: TCP Data received {"connection_id":191319,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32f3ee0012d19f780072030700036003726..."} 
[2026-09-24 17:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32f3ee0012d19f780072030700036003726..."} 
[2026-09-24 17:02:21] local.INFO: Processing buffer {"connection_id":191319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32f3ee0012d19f780072030700036003726..."} 
[2026-09-24 17:02:21] local.INFO: Packet analysis {"connection_id":191319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:02:21] local.INFO: Extracted packet for processing {"connection_id":191319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:02:21] local.INFO: GPS Element Parsed {"raw_longitude":756676480,"raw_latitude":119550064,"longitude_deg":75.667648,"latitude_deg":11.9550064,"altitude":54,"angle":55,"satellites":38,"speed":33,"hex_longitude":"2d19f780","hex_latitude":"07203070","is_valid_coordinates":true} 
[2026-09-24 17:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303866880001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22945613670776832,"note":"Value kept but may cause issues"} 
[2026-09-24 17:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867516132335439872,"note":"Value kept but may cause issues"} 
[2026-09-24 17:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790249484000,"timestamp_ms":1790249484000,"timestamp_seconds":1790249484,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32f3ee0"} 
[2026-09-24 17:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:02: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-09-24 17:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-24 17:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303866880001,"66":14461,"101":206,"83":41984,"24":33,"16":22945613670776832,"45":1867516132335439872},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-24 17:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303866880001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:02:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-24 17:02:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22945613670776832,"km_value":22945613670776.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867516132335439872,"description":"Unknown IO ID 45"} 
[2026-09-24 17:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303866880001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1867516132335439872}} 
[2026-09-24 17:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":191319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:02:21] local.INFO: GPS data processed {"connection_id":191319,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:02:21] local.INFO: Acknowledgment sent {"connection_id":191319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:02:28] local.INFO: TCP Data received {"connection_id":192901,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:02:28] local.INFO: Processing buffer {"connection_id":192901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:02:28] local.INFO: IMEI packet received {"connection_id":192901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":192901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:02:33] local.INFO: TCP Data received {"connection_id":192901,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:02:33] local.INFO: Processing buffer {"connection_id":192901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:02:33] local.INFO: IMEI packet received {"connection_id":192901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":192901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:02:34] local.INFO: TCP Data received {"connection_id":192901,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:02:34] local.INFO: Processing buffer {"connection_id":192901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:02:34] local.INFO: Packet analysis {"connection_id":192901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:02:34] local.INFO: Extracted packet for processing {"connection_id":192901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:02:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303793152001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790249493000,"timestamp_ms":1790249493000,"timestamp_seconds":1790249493,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32f6208"} 
[2026-09-24 17:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303793152001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303793152001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:02:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:02:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303793152001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":192901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:02:34] local.INFO: GPS data processed {"connection_id":192901,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:02:34] local.INFO: Acknowledgment sent {"connection_id":192901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:02:41] local.INFO: TCP Data received {"connection_id":194167,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32ff290012d0b83400702ac70000a00f922..."} 
[2026-09-24 17:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32ff290012d0b83400702ac70000a00f922..."} 
[2026-09-24 17:02:41] local.INFO: Processing buffer {"connection_id":194167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32ff290012d0b83400702ac70000a00f922..."} 
[2026-09-24 17:02:41] local.INFO: Packet analysis {"connection_id":194167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:02:41] local.INFO: Extracted packet for processing {"connection_id":194167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:02:41] local.INFO: GPS Element Parsed {"raw_longitude":755729216,"raw_latitude":117615728,"longitude_deg":75.5729216,"latitude_deg":11.7615728,"altitude":10,"angle":249,"satellites":34,"speed":11,"hex_longitude":"2d0b8340","hex_latitude":"0702ac70","is_valid_coordinates":true} 
[2026-09-24 17:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303879168001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33725294388969472,"note":"Value kept but may cause issues"} 
[2026-09-24 17:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830069736429377536,"note":"Value kept but may cause issues"} 
[2026-09-24 17:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790249530000,"timestamp_ms":1790249530000,"timestamp_seconds":1790249530,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32ff290"} 
[2026-09-24 17:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-24 17:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":194167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":194167,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":194167,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303879168001,"66":14396,"17":206,"94":11008,"24":11,"16":33725294388969472,"45":830069736429377536},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-24 17:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303879168001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:02:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 17:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33725294388969472,"km_value":33725294388969.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":830069736429377536,"description":"Unknown IO ID 45"} 
[2026-09-24 17:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303879168001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":830069736429377536}} 
[2026-09-24 17:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":194167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890912,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:02:42] local.INFO: GPS data processed {"connection_id":194167,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:02:42] local.INFO: Acknowledgment sent {"connection_id":194167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:02:45] local.INFO: TCP Data received {"connection_id":191517,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:02:45] local.INFO: Processing buffer {"connection_id":191517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:02:45] local.INFO: IMEI packet received {"connection_id":191517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":191517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:02:45] local.INFO: TCP Data received {"connection_id":191517,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:02:45] local.INFO: Processing buffer {"connection_id":191517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:02:45] local.INFO: IMEI packet received {"connection_id":191517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":191517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:02:56] local.INFO: TCP Data received {"connection_id":191517,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:02:56] local.INFO: Processing buffer {"connection_id":191517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:02:56] local.INFO: IMEI packet received {"connection_id":191517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":191517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:02:57] local.INFO: TCP Data received {"connection_id":191517,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32f71a8012d1a0cc007203f98003e004626..."} 
[2026-09-24 17:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32f71a8012d1a0cc007203f98003e004626..."} 
[2026-09-24 17:02:57] local.INFO: Processing buffer {"connection_id":191517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32f71a8012d1a0cc007203f98003e004626..."} 
[2026-09-24 17:02:57] local.INFO: Packet analysis {"connection_id":191517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:02:57] local.INFO: Extracted packet for processing {"connection_id":191517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:02:57] local.INFO: GPS Element Parsed {"raw_longitude":756681920,"raw_latitude":119553944,"longitude_deg":75.668192,"latitude_deg":11.9553944,"altitude":62,"angle":70,"satellites":38,"speed":19,"hex_longitude":"2d1a0cc0","hex_latitude":"07203f98","is_valid_coordinates":true} 
[2026-09-24 17:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303867904001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22945935793324032,"note":"Value kept but may cause issues"} 
[2026-09-24 17:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871104938288902144,"note":"Value kept but may cause issues"} 
[2026-09-24 17:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790249497000,"timestamp_ms":1790249497000,"timestamp_seconds":1790249497,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32f71a8"} 
[2026-09-24 17:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-24 17:02:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":191517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":191517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":191517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303867904001,"66":14374,"101":206,"83":41984,"24":19,"16":22945935793324032,"45":1871104938288902144},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-24 17:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303867904001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:02:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-24 17:02:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22945935793324032,"km_value":22945935793324.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871104938288902144,"description":"Unknown IO ID 45"} 
[2026-09-24 17:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303867904001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1871104938288902144}} 
[2026-09-24 17:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":191517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:02:57] local.INFO: GPS data processed {"connection_id":191517,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:02:57] local.INFO: Acknowledgment sent {"connection_id":191517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:03:05] local.INFO: TCP Data received {"connection_id":192901,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:03:05] local.INFO: Processing buffer {"connection_id":192901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:03:05] local.INFO: Packet analysis {"connection_id":192901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:03:05] local.INFO: Extracted packet for processing {"connection_id":192901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:03:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303793152001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790249493000,"timestamp_ms":1790249493000,"timestamp_seconds":1790249493,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32f6208"} 
[2026-09-24 17:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303793152001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303793152001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:03:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:03:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303793152001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":192901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:03:05] local.INFO: GPS data processed {"connection_id":192901,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:03:05] local.INFO: Acknowledgment sent {"connection_id":192901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:03:06] local.INFO: TCP Data received {"connection_id":191320,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191320,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:03:06] local.INFO: Processing buffer {"connection_id":191320,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:03:06] local.INFO: IMEI packet received {"connection_id":191320,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 17:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":191320,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:03:06] local.INFO: TCP Data received {"connection_id":191320,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191320,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:03:06] local.INFO: Processing buffer {"connection_id":191320,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:03:06] local.INFO: IMEI packet received {"connection_id":191320,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 17:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":191320,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:03:07] local.INFO: TCP Data received {"connection_id":191320,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191320,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:03:07] local.INFO: Processing buffer {"connection_id":191320,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:03:07] local.INFO: IMEI packet received {"connection_id":191320,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 17:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":191320,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:03:08] local.INFO: TCP Data received {"connection_id":191320,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191320,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:03:08] local.INFO: Processing buffer {"connection_id":191320,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:03:08] local.INFO: IMEI packet received {"connection_id":191320,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 17:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":191320,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:03:28] local.INFO: TCP Data received {"connection_id":194169,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:03:28] local.INFO: Processing buffer {"connection_id":194169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:03:28] local.INFO: IMEI packet received {"connection_id":194169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":194169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:03:29] local.INFO: TCP Data received {"connection_id":191517,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3307378012d1a9b40072065180045002727..."} 
[2026-09-24 17:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3307378012d1a9b40072065180045002727..."} 
[2026-09-24 17:03:29] local.INFO: Processing buffer {"connection_id":191517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3307378012d1a9b40072065180045002727..."} 
[2026-09-24 17:03:29] local.INFO: Packet analysis {"connection_id":191517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d330"} 
[2026-09-24 17:03:29] local.INFO: Extracted packet for processing {"connection_id":191517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d330"} 
[2026-09-24 17:03:29] local.INFO: GPS Element Parsed {"raw_longitude":756718400,"raw_latitude":119563544,"longitude_deg":75.67184,"latitude_deg":11.9563544,"altitude":69,"angle":39,"satellites":39,"speed":16,"hex_longitude":"2d1a9b40","hex_latitude":"07206518","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303887872001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22947958722920448,"note":"Value kept but may cause issues"} 
[2026-09-24 17:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916914990751928320,"note":"Value kept but may cause issues"} 
[2026-09-24 17:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790249563000,"timestamp_ms":1790249563000,"timestamp_seconds":1790249563,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3307378"} 
[2026-09-24 17:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-24 17:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":191517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":191517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":191517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303887872001,"66":14363,"106":206,"83":41984,"24":16,"16":22947958722920448,"45":1916914990751928320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-24 17:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303887872001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:03:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-24 17:03:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22947958722920448,"km_value":22947958722920.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916914990751928320,"description":"Unknown IO ID 45"} 
[2026-09-24 17:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303887872001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1916914990751928320}} 
[2026-09-24 17:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":191517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:03:29] local.INFO: GPS data processed {"connection_id":191517,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:03:29] local.INFO: Acknowledgment sent {"connection_id":191517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:03:33] local.INFO: TCP Data received {"connection_id":194169,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:03:33] local.INFO: Processing buffer {"connection_id":194169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:03:33] local.INFO: IMEI packet received {"connection_id":194169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":194169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:03:34] local.INFO: TCP Data received {"connection_id":194169,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:03:34] local.INFO: Processing buffer {"connection_id":194169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:03:34] local.INFO: Packet analysis {"connection_id":194169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:03:34] local.INFO: Extracted packet for processing {"connection_id":194169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:03:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303793152001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790249493000,"timestamp_ms":1790249493000,"timestamp_seconds":1790249493,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32f6208"} 
[2026-09-24 17:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303793152001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303793152001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:03:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:03:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303793152001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":194169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:03:34] local.INFO: GPS data processed {"connection_id":194169,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:03:34] local.INFO: Acknowledgment sent {"connection_id":194169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:03:46] local.INFO: TCP Data received {"connection_id":194170,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:03:46] local.INFO: Processing buffer {"connection_id":194170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:03:46] local.INFO: IMEI packet received {"connection_id":194170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":194170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:03:50] local.INFO: TCP Data received {"connection_id":194170,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:03:50] local.INFO: Processing buffer {"connection_id":194170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:03:50] local.INFO: IMEI packet received {"connection_id":194170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":194170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:03:50] local.INFO: TCP Data received {"connection_id":194170,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:03:50] local.INFO: Processing buffer {"connection_id":194170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:03:50] local.INFO: IMEI packet received {"connection_id":194170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":194170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:03:51] local.INFO: TCP Data received {"connection_id":194170,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3307760012d1a9c40072066000044003c27..."} 
[2026-09-24 17:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3307760012d1a9c40072066000044003c27..."} 
[2026-09-24 17:03:51] local.INFO: Processing buffer {"connection_id":194170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3307760012d1a9c40072066000044003c27..."} 
[2026-09-24 17:03:51] local.INFO: Packet analysis {"connection_id":194170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d330"} 
[2026-09-24 17:03:51] local.INFO: Extracted packet for processing {"connection_id":194170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d330"} 
[2026-09-24 17:03:51] local.INFO: GPS Element Parsed {"raw_longitude":756718656,"raw_latitude":119563776,"longitude_deg":75.6718656,"latitude_deg":11.9563776,"altitude":68,"angle":60,"satellites":39,"speed":16,"hex_longitude":"2d1a9c40","hex_latitude":"07206600","is_valid_coordinates":true} 
[2026-09-24 17:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303888128001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22947975902789632,"note":"Value kept but may cause issues"} 
[2026-09-24 17:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1917196465728722944,"note":"Value kept but may cause issues"} 
[2026-09-24 17:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790249564000,"timestamp_ms":1790249564000,"timestamp_seconds":1790249564,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3307760"} 
[2026-09-24 17:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-24 17:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303888128001,"66":14363,"106":206,"83":41984,"24":16,"16":22947975902789632,"45":1917196465728722944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-24 17:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303888128001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:03:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-24 17:03:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22947975902789632,"km_value":22947975902789.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1917196465728722944,"description":"Unknown IO ID 45"} 
[2026-09-24 17:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303888128001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1917196465728722944}} 
[2026-09-24 17:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":194170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:03:51] local.INFO: GPS data processed {"connection_id":194170,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:03:51] local.INFO: Acknowledgment sent {"connection_id":194170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:03:53] local.INFO: TCP Data received {"connection_id":194170,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3307b48012d1a9e00072066880045004b25..."} 
[2026-09-24 17:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3307b48012d1a9e00072066880045004b25..."} 
[2026-09-24 17:03:53] local.INFO: Processing buffer {"connection_id":194170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3307b48012d1a9e00072066880045004b25..."} 
[2026-09-24 17:03:53] local.INFO: Packet analysis {"connection_id":194170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d330"} 
[2026-09-24 17:03:53] local.INFO: Extracted packet for processing {"connection_id":194170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d330"} 
[2026-09-24 17:03:53] local.INFO: GPS Element Parsed {"raw_longitude":756719104,"raw_latitude":119563912,"longitude_deg":75.6719104,"latitude_deg":11.9563912,"altitude":69,"angle":75,"satellites":37,"speed":17,"hex_longitude":"2d1a9e00","hex_latitude":"07206688","is_valid_coordinates":true} 
[2026-09-24 17:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303888384001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22947997377626112,"note":"Value kept but may cause issues"} 
[2026-09-24 17:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1917477940705492992,"note":"Value kept but may cause issues"} 
[2026-09-24 17:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790249565000,"timestamp_ms":1790249565000,"timestamp_seconds":1790249565,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3307b48"} 
[2026-09-24 17:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-24 17:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303888384001,"66":14363,"106":206,"83":41984,"24":17,"16":22947997377626112,"45":1917477940705492992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-24 17:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303888384001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:03:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-24 17:03:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22947997377626112,"km_value":22947997377626.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1917477940705492992,"description":"Unknown IO ID 45"} 
[2026-09-24 17:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303888384001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1917477940705492992}} 
[2026-09-24 17:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":194170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:03:53] local.INFO: GPS data processed {"connection_id":194170,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:03:53] local.INFO: Acknowledgment sent {"connection_id":194170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:04:06] local.INFO: TCP Data received {"connection_id":194169,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:04:06] local.INFO: Processing buffer {"connection_id":194169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:04:06] local.INFO: Packet analysis {"connection_id":194169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:04:06] local.INFO: Extracted packet for processing {"connection_id":194169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:04:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303793152001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790249493000,"timestamp_ms":1790249493000,"timestamp_seconds":1790249493,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32f6208"} 
[2026-09-24 17:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303793152001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303793152001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:04:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:04:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303793152001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":194169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:04:06] local.INFO: GPS data processed {"connection_id":194169,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:04:06] local.INFO: Acknowledgment sent {"connection_id":194169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:04:24] local.INFO: TCP Data received {"connection_id":194170,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3314280012d1ae08007205f58004b007a22..."} 
[2026-09-24 17:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3314280012d1ae08007205f58004b007a22..."} 
[2026-09-24 17:04:24] local.INFO: Processing buffer {"connection_id":194170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3314280012d1ae08007205f58004b007a22..."} 
[2026-09-24 17:04:24] local.INFO: Packet analysis {"connection_id":194170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d331"} 
[2026-09-24 17:04:24] local.INFO: Extracted packet for processing {"connection_id":194170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d331"} 
[2026-09-24 17:04:24] local.INFO: GPS Element Parsed {"raw_longitude":756736128,"raw_latitude":119562072,"longitude_deg":75.6736128,"latitude_deg":11.9562072,"altitude":75,"angle":122,"satellites":34,"speed":13,"hex_longitude":"2d1ae080","hex_latitude":"07205f58","is_valid_coordinates":true} 
[2026-09-24 17:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303901440001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22948920795594752,"note":"Value kept but may cause issues"} 
[2026-09-24 17:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936477501633073152,"note":"Value kept but may cause issues"} 
[2026-09-24 17:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790249616000,"timestamp_ms":1790249616000,"timestamp_seconds":1790249616,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3314280"} 
[2026-09-24 17:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-24 17:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":194170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":194170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":194170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303901440001,"66":14070,"106":206,"83":41984,"24":13,"16":22948920795594752,"45":1936477501633073152},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-24 17:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303901440001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:04:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-24 17:04:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22948920795594752,"km_value":22948920795594.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936477501633073152,"description":"Unknown IO ID 45"} 
[2026-09-24 17:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303901440001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1936477501633073152}} 
[2026-09-24 17:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":194170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:04:24] local.INFO: GPS data processed {"connection_id":194170,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:04:24] local.INFO: Acknowledgment sent {"connection_id":194170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:04:33] local.INFO: TCP Data received {"connection_id":192903,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:04:33] local.INFO: Processing buffer {"connection_id":192903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:04:33] local.INFO: IMEI packet received {"connection_id":192903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":192903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:04:38] local.INFO: TCP Data received {"connection_id":192903,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:04:38] local.INFO: Processing buffer {"connection_id":192903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:04:38] local.INFO: IMEI packet received {"connection_id":192903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":192903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:04:39] local.INFO: TCP Data received {"connection_id":192903,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:04:39] local.INFO: Processing buffer {"connection_id":192903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:04:39] local.INFO: Packet analysis {"connection_id":192903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:04:39] local.INFO: Extracted packet for processing {"connection_id":192903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:04:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303793152001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790249493000,"timestamp_ms":1790249493000,"timestamp_seconds":1790249493,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32f6208"} 
[2026-09-24 17:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303793152001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303793152001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:04:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:04:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303793152001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":192903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:04:39] local.INFO: GPS data processed {"connection_id":192903,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:04:39] local.INFO: Acknowledgment sent {"connection_id":192903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:04:44] local.INFO: TCP Data received {"connection_id":192903,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:04:44] local.INFO: Processing buffer {"connection_id":192903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:04:44] local.INFO: Packet analysis {"connection_id":192903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:04:44] local.INFO: Extracted packet for processing {"connection_id":192903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:04:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303793152001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790249493000,"timestamp_ms":1790249493000,"timestamp_seconds":1790249493,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32f6208"} 
[2026-09-24 17:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303793152001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303793152001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:04:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:04:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303793152001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":192903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:04:44] local.INFO: GPS data processed {"connection_id":192903,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:04:44] local.INFO: Acknowledgment sent {"connection_id":192903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:04:45] local.INFO: TCP Data received {"connection_id":191518,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:04:45] local.INFO: Processing buffer {"connection_id":191518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:04:45] local.INFO: IMEI packet received {"connection_id":191518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":191518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:04:50] local.INFO: TCP Data received {"connection_id":191518,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:04:50] local.INFO: Processing buffer {"connection_id":191518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:04:50] local.INFO: IMEI packet received {"connection_id":191518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":191518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:04:50] local.INFO: TCP Data received {"connection_id":191518,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3314668012d1ae20007205f40004b006122..."} 
[2026-09-24 17:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3314668012d1ae20007205f40004b006122..."} 
[2026-09-24 17:04:50] local.INFO: Processing buffer {"connection_id":191518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3314668012d1ae20007205f40004b006122..."} 
[2026-09-24 17:04:50] local.INFO: Packet analysis {"connection_id":191518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d331"} 
[2026-09-24 17:04:50] local.INFO: Extracted packet for processing {"connection_id":191518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d331"} 
[2026-09-24 17:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756736512,"raw_latitude":119562048,"longitude_deg":75.6736512,"latitude_deg":11.9562048,"altitude":75,"angle":97,"satellites":34,"speed":13,"hex_longitude":"2d1ae200","hex_latitude":"07205f40","is_valid_coordinates":true} 
[2026-09-24 17:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303901696001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22948942270431232,"note":"Value kept but may cause issues"} 
[2026-09-24 17:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936688607865559040,"note":"Value kept but may cause issues"} 
[2026-09-24 17:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790249617000,"timestamp_ms":1790249617000,"timestamp_seconds":1790249617,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3314668"} 
[2026-09-24 17:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-24 17:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303901696001,"66":14070,"106":206,"83":41984,"24":13,"16":22948942270431232,"45":1936688607865559040},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-24 17:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303901696001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:04:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-24 17:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22948942270431232,"km_value":22948942270431.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936688607865559040,"description":"Unknown IO ID 45"} 
[2026-09-24 17:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303901696001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1936688607865559040}} 
[2026-09-24 17:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":191518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:04:51] local.INFO: GPS data processed {"connection_id":191518,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:04:51] local.INFO: Acknowledgment sent {"connection_id":191518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:04:55] local.INFO: TCP Data received {"connection_id":191518,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3314a50012d1ae38007205f60004c005521..."} 
[2026-09-24 17:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3314a50012d1ae38007205f60004c005521..."} 
[2026-09-24 17:04:55] local.INFO: Processing buffer {"connection_id":191518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3314a50012d1ae38007205f60004c005521..."} 
[2026-09-24 17:04:55] local.INFO: Packet analysis {"connection_id":191518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d331"} 
[2026-09-24 17:04:55] local.INFO: Extracted packet for processing {"connection_id":191518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d331"} 
[2026-09-24 17:04:55] local.INFO: GPS Element Parsed {"raw_longitude":756736896,"raw_latitude":119562080,"longitude_deg":75.6736896,"latitude_deg":11.956208,"altitude":76,"angle":85,"satellites":33,"speed":16,"hex_longitude":"2d1ae380","hex_latitude":"07205f60","is_valid_coordinates":true} 
[2026-09-24 17:04: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-09-24 17:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303901952001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22948959450300416,"note":"Value kept but may cause issues"} 
[2026-09-24 17:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1937110820330618880,"note":"Value kept but may cause issues"} 
[2026-09-24 17:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790249618000,"timestamp_ms":1790249618000,"timestamp_seconds":1790249618,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3314a50"} 
[2026-09-24 17:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:04:55] 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-09-24 17:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-24 17:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:04: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-09-24 17:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303901952001,"66":14070,"106":206,"83":41984,"24":16,"16":22948959450300416,"45":1937110820330618880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-24 17:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303901952001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:04:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-24 17:04:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22948959450300416,"km_value":22948959450300.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1937110820330618880,"description":"Unknown IO ID 45"} 
[2026-09-24 17:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303901952001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1937110820330618880}} 
[2026-09-24 17:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":191518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:04:55] local.INFO: GPS data processed {"connection_id":191518,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:04:55] local.INFO: Acknowledgment sent {"connection_id":191518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:05:26] local.INFO: TCP Data received {"connection_id":191518,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d33188d0012d1b01c0072063100052004821..."} 
[2026-09-24 17:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d33188d0012d1b01c0072063100052004821..."} 
[2026-09-24 17:05:26] local.INFO: Processing buffer {"connection_id":191518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d33188d0012d1b01c0072063100052004821..."} 
[2026-09-24 17:05:26] local.INFO: Packet analysis {"connection_id":191518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d331"} 
[2026-09-24 17:05:26] local.INFO: Extracted packet for processing {"connection_id":191518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d331"} 
[2026-09-24 17:05:26] local.INFO: GPS Element Parsed {"raw_longitude":756744640,"raw_latitude":119563024,"longitude_deg":75.674464,"latitude_deg":11.9563024,"altitude":82,"angle":72,"satellites":33,"speed":16,"hex_longitude":"2d1b01c0","hex_latitude":"07206310","is_valid_coordinates":true} 
[2026-09-24 17:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303902208001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22949328817487872,"note":"Value kept but may cause issues"} 
[2026-09-24 17:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1937533032795693056,"note":"Value kept but may cause issues"} 
[2026-09-24 17:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790249634000,"timestamp_ms":1790249634000,"timestamp_seconds":1790249634,"priority":1,"record_length":96,"hex_timestamp":"000001a0d33188d0"} 
[2026-09-24 17:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:05: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-09-24 17:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-24 17:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303902208001,"66":14026,"106":206,"83":41984,"24":16,"16":22949328817487872,"45":1937533032795693056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-24 17:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303902208001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:05:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-24 17:05:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22949328817487872,"km_value":22949328817487.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1937533032795693056,"description":"Unknown IO ID 45"} 
[2026-09-24 17:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303902208001,"power":14026,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1937533032795693056}} 
[2026-09-24 17:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":191518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:05:26] local.INFO: GPS data processed {"connection_id":191518,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:05:26] local.INFO: Acknowledgment sent {"connection_id":191518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:05:28] local.INFO: TCP Data received {"connection_id":194173,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:05:28] local.INFO: Processing buffer {"connection_id":194173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:05:28] local.INFO: IMEI packet received {"connection_id":194173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":194173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:05:33] local.INFO: TCP Data received {"connection_id":194173,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:05:33] local.INFO: Processing buffer {"connection_id":194173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:05:33] local.INFO: IMEI packet received {"connection_id":194173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":194173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:05:34] local.INFO: TCP Data received {"connection_id":194173,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:05:34] local.INFO: Processing buffer {"connection_id":194173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:05:34] local.INFO: Packet analysis {"connection_id":194173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:05:34] local.INFO: Extracted packet for processing {"connection_id":194173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:05:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303793152001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790249493000,"timestamp_ms":1790249493000,"timestamp_seconds":1790249493,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32f6208"} 
[2026-09-24 17:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303793152001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303793152001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:05:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:05:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303793152001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":194173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:05:34] local.INFO: GPS data processed {"connection_id":194173,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:05:34] local.INFO: Acknowledgment sent {"connection_id":194173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:05:42] local.INFO: TCP Data received {"connection_id":191519,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:05:42] local.INFO: Processing buffer {"connection_id":191519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:05:42] local.INFO: IMEI packet received {"connection_id":191519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":191519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:05:44] local.INFO: TCP Data received {"connection_id":191519,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:05:44] local.INFO: Processing buffer {"connection_id":191519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:05:44] local.INFO: IMEI packet received {"connection_id":191519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":191519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:05:44] local.INFO: TCP Data received {"connection_id":191519,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:05:44] local.INFO: Processing buffer {"connection_id":191519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:05:44] local.INFO: IMEI packet received {"connection_id":191519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":191519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:05:46] local.INFO: TCP Data received {"connection_id":191519,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:05:46] local.INFO: Processing buffer {"connection_id":191519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:05:46] local.INFO: IMEI packet received {"connection_id":191519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":191519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:06:23] local.INFO: TCP Data received {"connection_id":194174,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:06:23] local.INFO: Processing buffer {"connection_id":194174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:06:23] local.INFO: IMEI packet received {"connection_id":194174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":194174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:06:28] local.INFO: TCP Data received {"connection_id":194174,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:06:28] local.INFO: Processing buffer {"connection_id":194174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:06:28] local.INFO: IMEI packet received {"connection_id":194174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":194174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:06:29] local.INFO: TCP Data received {"connection_id":194174,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:06:29] local.INFO: Processing buffer {"connection_id":194174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:06:29] local.INFO: Packet analysis {"connection_id":194174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:06:29] local.INFO: Extracted packet for processing {"connection_id":194174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:06:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:06: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-09-24 17:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303793152001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790249493000,"timestamp_ms":1790249493000,"timestamp_seconds":1790249493,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32f6208"} 
[2026-09-24 17:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:06: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":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:06: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-09-24 17:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":194174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":194174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":194174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303793152001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303793152001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:06:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:06:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303793152001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":194174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:06:29] local.INFO: GPS data processed {"connection_id":194174,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:06:29] local.INFO: Acknowledgment sent {"connection_id":194174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:07:01] local.INFO: TCP Data received {"connection_id":194174,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:07:01] local.INFO: Processing buffer {"connection_id":194174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d32f6208012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:07:01] local.INFO: Packet analysis {"connection_id":194174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:07:01] local.INFO: Extracted packet for processing {"connection_id":194174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d32f"} 
[2026-09-24 17:07:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303793152001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790249493000,"timestamp_ms":1790249493000,"timestamp_seconds":1790249493,"priority":1,"record_length":96,"hex_timestamp":"000001a0d32f6208"} 
[2026-09-24 17:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":194174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":194174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":194174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303793152001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303793152001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:07:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:07:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303793152001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":194174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:07:01] local.INFO: GPS data processed {"connection_id":194174,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:07:01] local.INFO: Acknowledgment sent {"connection_id":194174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:07:23] local.INFO: TCP Data received {"connection_id":192906,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:07:23] local.INFO: Processing buffer {"connection_id":192906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:07:23] local.INFO: IMEI packet received {"connection_id":192906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":192906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:07:28] local.INFO: TCP Data received {"connection_id":192906,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:07:28] local.INFO: Processing buffer {"connection_id":192906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:07:28] local.INFO: IMEI packet received {"connection_id":192906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":192906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:07:29] local.INFO: TCP Data received {"connection_id":192906,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:07:29] local.INFO: Processing buffer {"connection_id":192906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:07:29] local.INFO: Packet analysis {"connection_id":192906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d333"} 
[2026-09-24 17:07:29] local.INFO: Extracted packet for processing {"connection_id":192906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d333"} 
[2026-09-24 17:07:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303870208001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790249794000,"timestamp_ms":1790249794000,"timestamp_seconds":1790249794,"priority":1,"record_length":96,"hex_timestamp":"000001a0d333f9d0"} 
[2026-09-24 17:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":192906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":192906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":192906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303870208001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303870208001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:07:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:07:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303870208001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":192906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:07:29] local.INFO: GPS data processed {"connection_id":192906,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:07:29] local.INFO: Acknowledgment sent {"connection_id":192906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:08:00] local.INFO: TCP Data received {"connection_id":192906,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:08:00] local.INFO: Processing buffer {"connection_id":192906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:08:00] local.INFO: Packet analysis {"connection_id":192906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d333"} 
[2026-09-24 17:08:00] local.INFO: Extracted packet for processing {"connection_id":192906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d333"} 
[2026-09-24 17:08:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303870208001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790249794000,"timestamp_ms":1790249794000,"timestamp_seconds":1790249794,"priority":1,"record_length":96,"hex_timestamp":"000001a0d333f9d0"} 
[2026-09-24 17:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303870208001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303870208001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:08:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:08:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303870208001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":192906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:08:00] local.INFO: GPS data processed {"connection_id":192906,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:08:00] local.INFO: Acknowledgment sent {"connection_id":192906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:08:14] local.INFO: TCP Data received {"connection_id":191521,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191521,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:08:14] local.INFO: Processing buffer {"connection_id":191521,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:08:14] local.INFO: IMEI packet received {"connection_id":191521,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 17:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":191521,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:08:15] local.INFO: TCP Data received {"connection_id":191521,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d331dec0012d0b10400702a330001000a422..."} 
[2026-09-24 17:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d331dec0012d0b10400702a330001000a422..."} 
[2026-09-24 17:08:15] local.INFO: Processing buffer {"connection_id":191521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d331dec0012d0b10400702a330001000a422..."} 
[2026-09-24 17:08:15] local.INFO: Packet analysis {"connection_id":191521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d331"} 
[2026-09-24 17:08:15] local.INFO: Extracted packet for processing {"connection_id":191521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d331"} 
[2026-09-24 17:08:15] local.INFO: GPS Element Parsed {"raw_longitude":755699776,"raw_latitude":117613360,"longitude_deg":75.5699776,"latitude_deg":11.761336,"altitude":16,"angle":164,"satellites":34,"speed":9,"hex_longitude":"2d0b1040","hex_latitude":"0702a330","is_valid_coordinates":true} 
[2026-09-24 17:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303911680001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727575016603648,"note":"Value kept but may cause issues"} 
[2026-09-24 17:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797137164153655296,"note":"Value kept but may cause issues"} 
[2026-09-24 17:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790249656000,"timestamp_ms":1790249656000,"timestamp_seconds":1790249656,"priority":1,"record_length":96,"hex_timestamp":"000001a0d331dec0"} 
[2026-09-24 17:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 17:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303911680001,"66":14439,"17":206,"94":11008,"24":9,"16":33727575016603648,"45":797137164153655296},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-24 17:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303911680001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:08:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 17:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33727575016603648,"km_value":33727575016603.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":797137164153655296,"description":"Unknown IO ID 45"} 
[2026-09-24 17:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303911680001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":797137164153655296}} 
[2026-09-24 17:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":191521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890931,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:08:15] local.INFO: GPS data processed {"connection_id":191521,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:08:15] local.INFO: Acknowledgment sent {"connection_id":191521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:08:33] local.INFO: TCP Data received {"connection_id":194175,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:08:33] local.INFO: Processing buffer {"connection_id":194175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:08:33] local.INFO: IMEI packet received {"connection_id":194175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":194175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:08:38] local.INFO: TCP Data received {"connection_id":194175,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:08:38] local.INFO: Processing buffer {"connection_id":194175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:08:38] local.INFO: IMEI packet received {"connection_id":194175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":194175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:08:40] local.INFO: TCP Data received {"connection_id":194175,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:08:40] local.INFO: Processing buffer {"connection_id":194175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:08:40] local.INFO: Packet analysis {"connection_id":194175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d333"} 
[2026-09-24 17:08:40] local.INFO: Extracted packet for processing {"connection_id":194175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d333"} 
[2026-09-24 17:08:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303870208001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790249794000,"timestamp_ms":1790249794000,"timestamp_seconds":1790249794,"priority":1,"record_length":96,"hex_timestamp":"000001a0d333f9d0"} 
[2026-09-24 17:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":194175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":194175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":194175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303870208001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303870208001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:08:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:08:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303870208001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":194175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:08:40] local.INFO: GPS data processed {"connection_id":194175,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:08:40] local.INFO: Acknowledgment sent {"connection_id":194175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:08:43] local.INFO: TCP Data received {"connection_id":194175,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:08:43] local.INFO: Processing buffer {"connection_id":194175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:08:43] local.INFO: Packet analysis {"connection_id":194175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d333"} 
[2026-09-24 17:08:43] local.INFO: Extracted packet for processing {"connection_id":194175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d333"} 
[2026-09-24 17:08:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303870208001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790249794000,"timestamp_ms":1790249794000,"timestamp_seconds":1790249794,"priority":1,"record_length":96,"hex_timestamp":"000001a0d333f9d0"} 
[2026-09-24 17:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":194175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":194175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":194175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303870208001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303870208001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:08:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:08:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303870208001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":194175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:08:43] local.INFO: GPS data processed {"connection_id":194175,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:08:43] local.INFO: Acknowledgment sent {"connection_id":194175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:08:46] local.INFO: TCP Data received {"connection_id":191521,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3321958012d0b124007029ee00011003d22..."} 
[2026-09-24 17:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3321958012d0b124007029ee00011003d22..."} 
[2026-09-24 17:08:46] local.INFO: Processing buffer {"connection_id":191521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3321958012d0b124007029ee00011003d22..."} 
[2026-09-24 17:08:46] local.INFO: Packet analysis {"connection_id":191521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d332"} 
[2026-09-24 17:08:46] local.INFO: Extracted packet for processing {"connection_id":191521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d332"} 
[2026-09-24 17:08:46] local.INFO: GPS Element Parsed {"raw_longitude":755700288,"raw_latitude":117612256,"longitude_deg":75.5700288,"latitude_deg":11.7612256,"altitude":17,"angle":61,"satellites":34,"speed":3,"hex_longitude":"2d0b1240","hex_latitude":"07029ee0","is_valid_coordinates":true} 
[2026-09-24 17:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303911936001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727639441113088,"note":"Value kept but may cause issues"} 
[2026-09-24 17:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797207532897775616,"note":"Value kept but may cause issues"} 
[2026-09-24 17:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790249671000,"timestamp_ms":1790249671000,"timestamp_seconds":1790249671,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3321958"} 
[2026-09-24 17:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-24 17:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303911936001,"66":14439,"17":206,"94":11008,"24":3,"16":33727639441113088,"45":797207532897775616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-24 17:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303911936001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:08:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 17:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33727639441113088,"km_value":33727639441113.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":797207532897775616,"description":"Unknown IO ID 45"} 
[2026-09-24 17:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303911936001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":797207532897775616}} 
[2026-09-24 17:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":191521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890934,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:08:46] local.INFO: GPS data processed {"connection_id":191521,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:08:46] local.INFO: Acknowledgment sent {"connection_id":191521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:09:11] local.INFO: TCP Data received {"connection_id":192907,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192907,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:09:11] local.INFO: Processing buffer {"connection_id":192907,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:09:11] local.INFO: IMEI packet received {"connection_id":192907,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 17:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":192907,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:09:21] local.INFO: TCP Data received {"connection_id":192907,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192907,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:09:21] local.INFO: Processing buffer {"connection_id":192907,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:09:21] local.INFO: IMEI packet received {"connection_id":192907,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 17:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":192907,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:09:21] local.INFO: TCP Data received {"connection_id":192907,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192907,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:09:21] local.INFO: Processing buffer {"connection_id":192907,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:09:21] local.INFO: IMEI packet received {"connection_id":192907,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 17:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":192907,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:09:24] local.INFO: TCP Data received {"connection_id":192907,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192907,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:09:24] local.INFO: Processing buffer {"connection_id":192907,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:09:24] local.INFO: IMEI packet received {"connection_id":192907,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 17:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":192907,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:09:28] local.INFO: TCP Data received {"connection_id":194176,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:09:28] local.INFO: Processing buffer {"connection_id":194176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:09:28] local.INFO: IMEI packet received {"connection_id":194176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":194176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:09:33] local.INFO: TCP Data received {"connection_id":194176,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:09:33] local.INFO: Processing buffer {"connection_id":194176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:09:33] local.INFO: IMEI packet received {"connection_id":194176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":194176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:09:34] local.INFO: TCP Data received {"connection_id":194176,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:09:34] local.INFO: Processing buffer {"connection_id":194176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:09:34] local.INFO: Packet analysis {"connection_id":194176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d333"} 
[2026-09-24 17:09:34] local.INFO: Extracted packet for processing {"connection_id":194176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d333"} 
[2026-09-24 17:09:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303870208001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790249794000,"timestamp_ms":1790249794000,"timestamp_seconds":1790249794,"priority":1,"record_length":96,"hex_timestamp":"000001a0d333f9d0"} 
[2026-09-24 17:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303870208001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303870208001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:09:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:09:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303870208001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":194176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:09:34] local.INFO: GPS data processed {"connection_id":194176,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:09:34] local.INFO: Acknowledgment sent {"connection_id":194176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:10:05] local.INFO: TCP Data received {"connection_id":194176,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:10:05] local.INFO: Processing buffer {"connection_id":194176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:10:05] local.INFO: Packet analysis {"connection_id":194176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d333"} 
[2026-09-24 17:10:05] local.INFO: Extracted packet for processing {"connection_id":194176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d333"} 
[2026-09-24 17:10:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303870208001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790249794000,"timestamp_ms":1790249794000,"timestamp_seconds":1790249794,"priority":1,"record_length":96,"hex_timestamp":"000001a0d333f9d0"} 
[2026-09-24 17:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303870208001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303870208001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:10:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:10:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303870208001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":194176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:10:05] local.INFO: GPS data processed {"connection_id":194176,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:10:05] local.INFO: Acknowledgment sent {"connection_id":194176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:10:06] local.INFO: TCP Data received {"connection_id":191324,"ip":"117.224.64.255","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:10:06] local.INFO: Processing buffer {"connection_id":191324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:10:06] local.INFO: IMEI packet received {"connection_id":191324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":191324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:10:11] local.INFO: TCP Data received {"connection_id":191324,"ip":"117.224.64.255","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:10:11] local.INFO: Processing buffer {"connection_id":191324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:10:11] local.INFO: IMEI packet received {"connection_id":191324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":191324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:10:12] local.INFO: TCP Data received {"connection_id":191324,"ip":"117.224.64.255","data_length":795,"data_hex":"000000000000030f8e0a000001a0d335b3380100000000000000000000000000..."} 
[2026-09-24 17:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d335b3380100000000000000000000000000..."} 
[2026-09-24 17:10:12] local.INFO: Processing buffer {"connection_id":191324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d335b3380100000000000000000000000000..."} 
[2026-09-24 17:10:12] local.INFO: Packet analysis {"connection_id":191324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d335"} 
[2026-09-24 17:10:12] local.INFO: Extracted packet for processing {"connection_id":191324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d335"} 
[2026-09-24 17:10:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 17:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303956480001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:10:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7005138081285445632,"note":"Value kept but may cause issues"} 
[2026-09-24 17:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790249907000,"timestamp_ms":1790249907000,"timestamp_seconds":1790249907,"priority":1,"record_length":96,"hex_timestamp":"000001a0d335b338"} 
[2026-09-24 17:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 17:10:12] 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-09-24 17:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.64.255","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":191324,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 17:10:12] local.INFO: GPS data processed {"connection_id":191324,"processed":0,"errors":0,"total":1} 
[2026-09-24 17:10:12] local.INFO: Acknowledgment sent {"connection_id":191324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:10:28] local.INFO: TCP Data received {"connection_id":194177,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:10:28] local.INFO: Processing buffer {"connection_id":194177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:10:28] local.INFO: IMEI packet received {"connection_id":194177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":194177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:10:33] local.INFO: TCP Data received {"connection_id":194177,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:10:33] local.INFO: Processing buffer {"connection_id":194177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:10:33] local.INFO: IMEI packet received {"connection_id":194177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":194177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:10:34] local.INFO: TCP Data received {"connection_id":194177,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:10:34] local.INFO: Processing buffer {"connection_id":194177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:10:34] local.INFO: Packet analysis {"connection_id":194177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d333"} 
[2026-09-24 17:10:34] local.INFO: Extracted packet for processing {"connection_id":194177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d333"} 
[2026-09-24 17:10:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303870208001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790249794000,"timestamp_ms":1790249794000,"timestamp_seconds":1790249794,"priority":1,"record_length":96,"hex_timestamp":"000001a0d333f9d0"} 
[2026-09-24 17:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303870208001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303870208001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:10:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:10:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303870208001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":194177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:10:34] local.INFO: GPS data processed {"connection_id":194177,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:10:34] local.INFO: Acknowledgment sent {"connection_id":194177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:10:48] local.INFO: TCP Data received {"connection_id":191324,"ip":"117.224.64.255","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3353a20012c9ebdc007a56a98000b00b82f..."} 
[2026-09-24 17:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3353a20012c9ebdc007a56a98000b00b82f..."} 
[2026-09-24 17:10:48] local.INFO: Processing buffer {"connection_id":191324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3353a20012c9ebdc007a56a98000b00b82f..."} 
[2026-09-24 17:10:48] local.INFO: Packet analysis {"connection_id":191324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d335"} 
[2026-09-24 17:10:48] local.INFO: Extracted packet for processing {"connection_id":191324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d335"} 
[2026-09-24 17:10:48] local.INFO: GPS Element Parsed {"raw_longitude":748600768,"raw_latitude":128281240,"longitude_deg":74.8600768,"latitude_deg":12.828124,"altitude":11,"angle":184,"satellites":47,"speed":51,"hex_longitude":"2c9ebdc0","hex_latitude":"07a56a98","is_valid_coordinates":true} 
[2026-09-24 17:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:10:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,69,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 17:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790249876000,"timestamp_ms":1790249876000,"timestamp_seconds":1790249876,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3353a20"} 
[2026-09-24 17:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:10: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-09-24 17:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:10: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-09-24 17:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.64.255","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28430,"69":206,"9":57344,"24":51,"16":3605341577150464},"client_ip":"117.224.64.255","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,9,24,16]} 
[2026-09-24 17:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 17:10:48] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-24 17:10:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 17:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:10:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28430,"unknown_69":206,"unknown_9":57344,"ignition":51,"odometer":null}} 
[2026-09-24 17:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":191324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890938,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:10:48] local.INFO: GPS data processed {"connection_id":191324,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:10:48] local.INFO: Acknowledgment sent {"connection_id":191324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:10:50] local.INFO: TCP Data received {"connection_id":191325,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:10:50] local.INFO: Processing buffer {"connection_id":191325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:10:50] local.INFO: IMEI packet received {"connection_id":191325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":191325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:10:50] local.INFO: TCP Data received {"connection_id":191325,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d33666e8012d1907800720cb980038012e28..."} 
[2026-09-24 17:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d33666e8012d1907800720cb980038012e28..."} 
[2026-09-24 17:10:50] local.INFO: Processing buffer {"connection_id":191325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d33666e8012d1907800720cb980038012e28..."} 
[2026-09-24 17:10:50] local.INFO: Packet analysis {"connection_id":191325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d336"} 
[2026-09-24 17:10:50] local.INFO: Extracted packet for processing {"connection_id":191325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d336"} 
[2026-09-24 17:10:50] local.INFO: GPS Element Parsed {"raw_longitude":756615040,"raw_latitude":119589784,"longitude_deg":75.661504,"latitude_deg":11.9589784,"altitude":56,"angle":302,"satellites":40,"speed":34,"hex_longitude":"2d190780","hex_latitude":"0720cb98","is_valid_coordinates":true} 
[2026-09-24 17:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303986176001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22958008946393088,"note":"Value kept but may cause issues"} 
[2026-09-24 17:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1810728555793817600,"note":"Value kept but may cause issues"} 
[2026-09-24 17:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790249953000,"timestamp_ms":1790249953000,"timestamp_seconds":1790249953,"priority":1,"record_length":96,"hex_timestamp":"000001a0d33666e8"} 
[2026-09-24 17:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-24 17:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303986176001,"66":14374,"103":206,"83":41984,"24":34,"16":22958008946393088,"45":1810728555793817600},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 17:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303986176001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:10:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 17:10:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22958008946393088,"km_value":22958008946393.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1810728555793817600,"description":"Unknown IO ID 45"} 
[2026-09-24 17:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303986176001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1810728555793817600}} 
[2026-09-24 17:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":191325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:10:51] local.INFO: GPS data processed {"connection_id":191325,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:10:51] local.INFO: Acknowledgment sent {"connection_id":191325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:11:06] local.INFO: TCP Data received {"connection_id":194177,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:11:06] local.INFO: Processing buffer {"connection_id":194177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:11:06] local.INFO: Packet analysis {"connection_id":194177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d333"} 
[2026-09-24 17:11:06] local.INFO: Extracted packet for processing {"connection_id":194177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d333"} 
[2026-09-24 17:11:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303870208001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790249794000,"timestamp_ms":1790249794000,"timestamp_seconds":1790249794,"priority":1,"record_length":96,"hex_timestamp":"000001a0d333f9d0"} 
[2026-09-24 17:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303870208001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303870208001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:11:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:11:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303870208001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":194177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:11:06] local.INFO: GPS data processed {"connection_id":194177,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:11:06] local.INFO: Acknowledgment sent {"connection_id":194177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:11:06] local.INFO: TCP Data received {"connection_id":192909,"ip":"117.224.64.255","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:11:06] local.INFO: Processing buffer {"connection_id":192909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:11:06] local.INFO: IMEI packet received {"connection_id":192909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":192909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:11:11] local.INFO: TCP Data received {"connection_id":192909,"ip":"117.224.64.255","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:11:11] local.INFO: Processing buffer {"connection_id":192909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:11:11] local.INFO: IMEI packet received {"connection_id":192909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":192909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:11:21] local.INFO: TCP Data received {"connection_id":191325,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d337b6d8012d188c400720f3500044007e26..."} 
[2026-09-24 17:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d337b6d8012d188c400720f3500044007e26..."} 
[2026-09-24 17:11:21] local.INFO: Processing buffer {"connection_id":191325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d337b6d8012d188c400720f3500044007e26..."} 
[2026-09-24 17:11:21] local.INFO: Packet analysis {"connection_id":191325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d337"} 
[2026-09-24 17:11:21] local.INFO: Extracted packet for processing {"connection_id":191325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d337"} 
[2026-09-24 17:11:21] local.INFO: GPS Element Parsed {"raw_longitude":756583488,"raw_latitude":119599952,"longitude_deg":75.6583488,"latitude_deg":11.9599952,"altitude":68,"angle":126,"satellites":38,"speed":15,"hex_longitude":"2d188c40","hex_latitude":"0720f350","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304009728001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22960311048863744,"note":"Value kept but may cause issues"} 
[2026-09-24 17:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768507309290700800,"note":"Value kept but may cause issues"} 
[2026-09-24 17:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790250039000,"timestamp_ms":1790250039000,"timestamp_seconds":1790250039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d337b6d8"} 
[2026-09-24 17:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-24 17:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304009728001,"66":14102,"103":206,"83":41984,"24":15,"16":22960311048863744,"45":1768507309290700800},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 17:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304009728001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:11:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 17:11:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22960311048863744,"km_value":22960311048863.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768507309290700800,"description":"Unknown IO ID 45"} 
[2026-09-24 17:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304009728001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1768507309290700800}} 
[2026-09-24 17:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":191325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:11:21] local.INFO: GPS data processed {"connection_id":191325,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:11:21] local.INFO: Acknowledgment sent {"connection_id":191325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:11:28] local.INFO: TCP Data received {"connection_id":192910,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:11:28] local.INFO: Processing buffer {"connection_id":192910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:11:28] local.INFO: IMEI packet received {"connection_id":192910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":192910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:11:33] local.INFO: TCP Data received {"connection_id":192910,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:11:33] local.INFO: Processing buffer {"connection_id":192910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:11:33] local.INFO: IMEI packet received {"connection_id":192910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":192910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:11:34] local.INFO: TCP Data received {"connection_id":192910,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:11:34] local.INFO: Processing buffer {"connection_id":192910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:11:34] local.INFO: Packet analysis {"connection_id":192910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d333"} 
[2026-09-24 17:11:34] local.INFO: Extracted packet for processing {"connection_id":192910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d333"} 
[2026-09-24 17:11:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303870208001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790249794000,"timestamp_ms":1790249794000,"timestamp_seconds":1790249794,"priority":1,"record_length":96,"hex_timestamp":"000001a0d333f9d0"} 
[2026-09-24 17:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303870208001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303870208001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:11:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:11:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303870208001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":192910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:11:34] local.INFO: GPS data processed {"connection_id":192910,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:11:34] local.INFO: Acknowledgment sent {"connection_id":192910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:11:44] local.INFO: TCP Data received {"connection_id":194178,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:11:44] local.INFO: Processing buffer {"connection_id":194178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:11:44] local.INFO: IMEI packet received {"connection_id":194178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":194178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:11:46] local.INFO: TCP Data received {"connection_id":194178,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:11:46] local.INFO: Processing buffer {"connection_id":194178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:11:46] local.INFO: IMEI packet received {"connection_id":194178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":194178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:11:50] local.INFO: TCP Data received {"connection_id":194178,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:11:50] local.INFO: Processing buffer {"connection_id":194178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:11:50] local.INFO: IMEI packet received {"connection_id":194178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":194178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:11:51] local.INFO: TCP Data received {"connection_id":194178,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d337bac0012d188dc00720f2980044007127..."} 
[2026-09-24 17:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d337bac0012d188dc00720f2980044007127..."} 
[2026-09-24 17:11:51] local.INFO: Processing buffer {"connection_id":194178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d337bac0012d188dc00720f2980044007127..."} 
[2026-09-24 17:11:51] local.INFO: Packet analysis {"connection_id":194178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d337"} 
[2026-09-24 17:11:51] local.INFO: Extracted packet for processing {"connection_id":194178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d337"} 
[2026-09-24 17:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756583872,"raw_latitude":119599768,"longitude_deg":75.6583872,"latitude_deg":11.9599768,"altitude":68,"angle":113,"satellites":39,"speed":17,"hex_longitude":"2d188dc0","hex_latitude":"0720f298","is_valid_coordinates":true} 
[2026-09-24 17:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304009984001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22960332523700224,"note":"Value kept but may cause issues"} 
[2026-09-24 17:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768859153011527680,"note":"Value kept but may cause issues"} 
[2026-09-24 17:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790250040000,"timestamp_ms":1790250040000,"timestamp_seconds":1790250040,"priority":1,"record_length":96,"hex_timestamp":"000001a0d337bac0"} 
[2026-09-24 17:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-24 17:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304009984001,"66":14102,"103":206,"83":41984,"24":17,"16":22960332523700224,"45":1768859153011527680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 17:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304009984001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:11:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 17:11:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22960332523700224,"km_value":22960332523700.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768859153011527680,"description":"Unknown IO ID 45"} 
[2026-09-24 17:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304009984001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1768859153011527680}} 
[2026-09-24 17:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":194178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:11:51] local.INFO: GPS data processed {"connection_id":194178,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:11:51] local.INFO: Acknowledgment sent {"connection_id":194178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:12:05] local.INFO: TCP Data received {"connection_id":192910,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:12:05] local.INFO: Processing buffer {"connection_id":192910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d333f9d0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:12:05] local.INFO: Packet analysis {"connection_id":192910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d333"} 
[2026-09-24 17:12:05] local.INFO: Extracted packet for processing {"connection_id":192910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d333"} 
[2026-09-24 17:12:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303870208001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790249794000,"timestamp_ms":1790249794000,"timestamp_seconds":1790249794,"priority":1,"record_length":96,"hex_timestamp":"000001a0d333f9d0"} 
[2026-09-24 17:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303870208001,"66":25615,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303870208001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:12:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:12:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303870208001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":192910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:12:05] local.INFO: GPS data processed {"connection_id":192910,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:12:05] local.INFO: Acknowledgment sent {"connection_id":192910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:12:22] local.INFO: TCP Data received {"connection_id":194178,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d337c678012d1892000720f0880044008526..."} 
[2026-09-24 17:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d337c678012d1892000720f0880044008526..."} 
[2026-09-24 17:12:22] local.INFO: Processing buffer {"connection_id":194178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d337c678012d1892000720f0880044008526..."} 
[2026-09-24 17:12:22] local.INFO: Packet analysis {"connection_id":194178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d337"} 
[2026-09-24 17:12:22] local.INFO: Extracted packet for processing {"connection_id":194178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d337"} 
[2026-09-24 17:12:22] local.INFO: GPS Element Parsed {"raw_longitude":756584960,"raw_latitude":119599240,"longitude_deg":75.658496,"latitude_deg":11.959924,"altitude":68,"angle":133,"satellites":38,"speed":15,"hex_longitude":"2d189200","hex_latitude":"0720f088","is_valid_coordinates":true} 
[2026-09-24 17:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304010240001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22960388358275072,"note":"Value kept but may cause issues"} 
[2026-09-24 17:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1769281365476546560,"note":"Value kept but may cause issues"} 
[2026-09-24 17:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790250043000,"timestamp_ms":1790250043000,"timestamp_seconds":1790250043,"priority":1,"record_length":96,"hex_timestamp":"000001a0d337c678"} 
[2026-09-24 17:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:12:22] 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-09-24 17:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-24 17:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304010240001,"66":14113,"103":206,"83":41984,"24":15,"16":22960388358275072,"45":1769281365476546560},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 17:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304010240001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:12:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 17:12:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22960388358275072,"km_value":22960388358275.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1769281365476546560,"description":"Unknown IO ID 45"} 
[2026-09-24 17:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304010240001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1769281365476546560}} 
[2026-09-24 17:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":194178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:12:22] local.INFO: GPS data processed {"connection_id":194178,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:12:22] local.INFO: Acknowledgment sent {"connection_id":194178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:12:28] local.INFO: TCP Data received {"connection_id":192912,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:12:28] local.INFO: Processing buffer {"connection_id":192912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:12:28] local.INFO: IMEI packet received {"connection_id":192912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":192912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:12:33] local.INFO: TCP Data received {"connection_id":192912,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:12:33] local.INFO: Processing buffer {"connection_id":192912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:12:33] local.INFO: IMEI packet received {"connection_id":192912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":192912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:12:33] local.INFO: TCP Data received {"connection_id":192912,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:12:33] local.INFO: Processing buffer {"connection_id":192912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:12:33] local.INFO: Packet analysis {"connection_id":192912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:12:33] local.INFO: Extracted packet for processing {"connection_id":192912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:12:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303947264001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790250095000,"timestamp_ms":1790250095000,"timestamp_seconds":1790250095,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3389198"} 
[2026-09-24 17:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 17:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303947264001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303947264001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:12:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:12:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303947264001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":192912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:12:33] local.INFO: GPS data processed {"connection_id":192912,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:12:33] local.INFO: Acknowledgment sent {"connection_id":192912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:12:50] local.INFO: TCP Data received {"connection_id":192913,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:12:50] local.INFO: Processing buffer {"connection_id":192913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:12:50] local.INFO: IMEI packet received {"connection_id":192913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":192913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:12:55] local.INFO: TCP Data received {"connection_id":192913,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:12:55] local.INFO: Processing buffer {"connection_id":192913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:12:55] local.INFO: IMEI packet received {"connection_id":192913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":192913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:12:56] local.INFO: TCP Data received {"connection_id":192913,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3389198012d1898c00720e1f80042006326..."} 
[2026-09-24 17:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3389198012d1898c00720e1f80042006326..."} 
[2026-09-24 17:12:56] local.INFO: Processing buffer {"connection_id":192913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3389198012d1898c00720e1f80042006326..."} 
[2026-09-24 17:12:56] local.INFO: Packet analysis {"connection_id":192913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:12:56] local.INFO: Extracted packet for processing {"connection_id":192913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:12:56] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119595512,"longitude_deg":75.6586688,"latitude_deg":11.9595512,"altitude":66,"angle":99,"satellites":38,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"0720e1f8","is_valid_coordinates":true} 
[2026-09-24 17:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304018944001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22960710480822272,"note":"Value kept but may cause issues"} 
[2026-09-24 17:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772096115242571776,"note":"Value kept but may cause issues"} 
[2026-09-24 17:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790250095000,"timestamp_ms":1790250095000,"timestamp_seconds":1790250095,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3389198"} 
[2026-09-24 17:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:12:56] 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-09-24 17:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-24 17:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-09-24 17:12:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 17:12:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 17:12:56] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2181038080,"note":"Value kept but may cause issues"} 
[2026-09-24 17:12:56] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3543651864,"note":"Value kept but may cause issues"} 
[2026-09-24 17:12:56] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3889168451,"note":"Value kept but may cause issues"} 
[2026-09-24 17:12:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-24 17:12:56] local.WARNING: Large IO value detected {"io_id":143,"raw_value":3221692650,"note":"Value kept but may cause issues"} 
[2026-09-24 17:12:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4391098,"corrected_to":0} 
[2026-09-24 17:12:56] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2456682496,"note":"Value kept but may cause issues"} 
[2026-09-24 17:12:56] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,146,160,40,45,226,67,39,10,66,249,38,237,192,1,240,55,227,211,32,4,113,205,15,218,143,200,239,52,2,81,7,13],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":200,"original":4391098,"validated":0}]} 
[2026-09-24 17:12:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4827967823991209984,"timestamp_seconds":4827967823991210.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 17:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304018944001,"66":14135,"103":206,"83":41984,"24":0,"16":22960710480822272,"45":1772096115242571776},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 17:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304018944001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:12:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 17:12:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22960710480822272,"km_value":22960710480822.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772096115242571776,"description":"Unknown IO ID 45"} 
[2026-09-24 17:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304018944001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772096115242571776}} 
[2026-09-24 17:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":192913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:12:56] local.INFO: GPS data processed {"connection_id":192913,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:12:56] local.INFO: Acknowledgment sent {"connection_id":192913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:12:56] local.INFO: TCP Data received {"connection_id":192913,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d338e3a0012d1898c00720e1f80042006325..."} 
[2026-09-24 17:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d338e3a0012d1898c00720e1f80042006325..."} 
[2026-09-24 17:12:56] local.INFO: Processing buffer {"connection_id":192913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d338e3a0012d1898c00720e1f80042006325..."} 
[2026-09-24 17:12:56] local.INFO: Packet analysis {"connection_id":192913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:12:56] local.INFO: Extracted packet for processing {"connection_id":192913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:12:56] local.INFO: GPS Element Parsed {"raw_longitude":756586688,"raw_latitude":119595512,"longitude_deg":75.6586688,"latitude_deg":11.9595512,"altitude":66,"angle":99,"satellites":37,"speed":0,"hex_longitude":"2d1898c0","hex_latitude":"0720e1f8","is_valid_coordinates":true} 
[2026-09-24 17:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304024320001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22960710480822272,"note":"Value kept but may cause issues"} 
[2026-09-24 17:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772377590219274240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790250116000,"timestamp_ms":1790250116000,"timestamp_seconds":1790250116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d338e3a0"} 
[2026-09-24 17:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:12:56] 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-09-24 17:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-24 17:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304024320001,"66":14428,"103":206,"83":41984,"24":0,"16":22960710480822272,"45":1772377590219274240},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 17:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304024320001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:12:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 17:12:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22960710480822272,"km_value":22960710480822.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772377590219274240,"description":"Unknown IO ID 45"} 
[2026-09-24 17:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304024320001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1772377590219274240}} 
[2026-09-24 17:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":192913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:12:56] local.INFO: GPS data processed {"connection_id":192913,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:12:56] local.INFO: Acknowledgment sent {"connection_id":192913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:13:06] local.INFO: TCP Data received {"connection_id":192912,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:13:06] local.INFO: Processing buffer {"connection_id":192912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:13:06] local.INFO: Packet analysis {"connection_id":192912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:13:06] local.INFO: Extracted packet for processing {"connection_id":192912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:13:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303947264001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790250095000,"timestamp_ms":1790250095000,"timestamp_seconds":1790250095,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3389198"} 
[2026-09-24 17:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 17:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303947264001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303947264001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:13:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:13:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303947264001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":192912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:13:06] local.INFO: GPS data processed {"connection_id":192912,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:13:06] local.INFO: Acknowledgment sent {"connection_id":192912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:13:27] local.INFO: TCP Data received {"connection_id":192913,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d339a6f0012d1892800720f0280043015426..."} 
[2026-09-24 17:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d339a6f0012d1892800720f0280043015426..."} 
[2026-09-24 17:13:27] local.INFO: Processing buffer {"connection_id":192913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d339a6f0012d1892800720f0280043015426..."} 
[2026-09-24 17:13:27] local.INFO: Packet analysis {"connection_id":192913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d339"} 
[2026-09-24 17:13:27] local.INFO: Extracted packet for processing {"connection_id":192913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d339"} 
[2026-09-24 17:13:27] local.INFO: GPS Element Parsed {"raw_longitude":756585088,"raw_latitude":119599144,"longitude_deg":75.6585088,"latitude_deg":11.9599144,"altitude":67,"angle":340,"satellites":38,"speed":9,"hex_longitude":"2d189280","hex_latitude":"0720f028","is_valid_coordinates":true} 
[2026-09-24 17:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304042240001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22960981063761920,"note":"Value kept but may cause issues"} 
[2026-09-24 17:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770688740359886848,"note":"Value kept but may cause issues"} 
[2026-09-24 17:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790250166000,"timestamp_ms":1790250166000,"timestamp_seconds":1790250166,"priority":1,"record_length":96,"hex_timestamp":"000001a0d339a6f0"} 
[2026-09-24 17:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-24 17:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304042240001,"66":14070,"103":206,"83":41984,"24":9,"16":22960981063761920,"45":1770688740359886848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 17:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304042240001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:13:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 17:13:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22960981063761920,"km_value":22960981063761.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770688740359886848,"description":"Unknown IO ID 45"} 
[2026-09-24 17:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304042240001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1770688740359886848}} 
[2026-09-24 17:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":192913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:13:27] local.INFO: GPS data processed {"connection_id":192913,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:13:27] local.INFO: Acknowledgment sent {"connection_id":192913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:13:33] local.INFO: TCP Data received {"connection_id":191524,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:13:33] local.INFO: Processing buffer {"connection_id":191524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:13:33] local.INFO: IMEI packet received {"connection_id":191524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":191524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:13:38] local.INFO: TCP Data received {"connection_id":191524,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:13:38] local.INFO: Processing buffer {"connection_id":191524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:13:38] local.INFO: IMEI packet received {"connection_id":191524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":191524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:13:39] local.INFO: TCP Data received {"connection_id":191524,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:13:39] local.INFO: Processing buffer {"connection_id":191524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:13:39] local.INFO: Packet analysis {"connection_id":191524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:13:39] local.INFO: Extracted packet for processing {"connection_id":191524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:13:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303947264001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790250095000,"timestamp_ms":1790250095000,"timestamp_seconds":1790250095,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3389198"} 
[2026-09-24 17:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 17:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303947264001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303947264001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:13:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:13:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303947264001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":191524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:13:39] local.INFO: GPS data processed {"connection_id":191524,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:13:39] local.INFO: Acknowledgment sent {"connection_id":191524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:13:43] local.INFO: TCP Data received {"connection_id":191524,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:13:43] local.INFO: Processing buffer {"connection_id":191524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:13:43] local.INFO: Packet analysis {"connection_id":191524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:13:43] local.INFO: Extracted packet for processing {"connection_id":191524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:13:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303947264001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790250095000,"timestamp_ms":1790250095000,"timestamp_seconds":1790250095,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3389198"} 
[2026-09-24 17:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 17:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303947264001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303947264001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:13:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:13:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303947264001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":191524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:13:43] local.INFO: GPS data processed {"connection_id":191524,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:13:43] local.INFO: Acknowledgment sent {"connection_id":191524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:13:45] local.INFO: TCP Data received {"connection_id":191326,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:13:45] local.INFO: Processing buffer {"connection_id":191326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:13:45] local.INFO: IMEI packet received {"connection_id":191326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":191326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:13:48] local.INFO: TCP Data received {"connection_id":191326,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:13:48] local.INFO: Processing buffer {"connection_id":191326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:13:48] local.INFO: IMEI packet received {"connection_id":191326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":191326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:13:48] local.INFO: TCP Data received {"connection_id":191326,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d339aad8012d1892000720f0c80043013326..."} 
[2026-09-24 17:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d339aad8012d1892000720f0c80043013326..."} 
[2026-09-24 17:13:48] local.INFO: Processing buffer {"connection_id":191326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d339aad8012d1892000720f0c80043013326..."} 
[2026-09-24 17:13:48] local.INFO: Packet analysis {"connection_id":191326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d339"} 
[2026-09-24 17:13:48] local.INFO: Extracted packet for processing {"connection_id":191326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d339"} 
[2026-09-24 17:13:48] local.INFO: GPS Element Parsed {"raw_longitude":756584960,"raw_latitude":119599304,"longitude_deg":75.658496,"latitude_deg":11.9599304,"altitude":67,"angle":307,"satellites":38,"speed":9,"hex_longitude":"2d189200","hex_latitude":"0720f0c8","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304042496001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22960993948663808,"note":"Value kept but may cause issues"} 
[2026-09-24 17:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770618371615762432,"note":"Value kept but may cause issues"} 
[2026-09-24 17:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790250167000,"timestamp_ms":1790250167000,"timestamp_seconds":1790250167,"priority":1,"record_length":96,"hex_timestamp":"000001a0d339aad8"} 
[2026-09-24 17:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-24 17:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304042496001,"66":14070,"103":206,"83":41984,"24":9,"16":22960993948663808,"45":1770618371615762432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 17:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304042496001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:13:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 17:13:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22960993948663808,"km_value":22960993948663.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770618371615762432,"description":"Unknown IO ID 45"} 
[2026-09-24 17:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304042496001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1770618371615762432}} 
[2026-09-24 17:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":191326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:13:49] local.INFO: GPS data processed {"connection_id":191326,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:13:49] local.INFO: Acknowledgment sent {"connection_id":191326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:14:05] local.INFO: TCP Data received {"connection_id":192909,"ip":"117.224.64.255","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3358c28012c9eb98007a51fc8000b00b62f..."} 
[2026-09-24 17:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3358c28012c9eb98007a51fc8000b00b62f..."} 
[2026-09-24 17:14:05] local.INFO: Processing buffer {"connection_id":192909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3358c28012c9eb98007a51fc8000b00b62f..."} 
[2026-09-24 17:14:05] local.INFO: Packet analysis {"connection_id":192909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d335"} 
[2026-09-24 17:14:05] local.INFO: Extracted packet for processing {"connection_id":192909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d335"} 
[2026-09-24 17:14:05] local.INFO: GPS Element Parsed {"raw_longitude":748599680,"raw_latitude":128262088,"longitude_deg":74.859968,"latitude_deg":12.8262088,"altitude":11,"angle":182,"satellites":47,"speed":0,"hex_longitude":"2c9eb980","hex_latitude":"07a51fc8","is_valid_coordinates":true} 
[2026-09-24 17:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303968256001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:14:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7008234306046093312,"note":"Value kept but may cause issues"} 
[2026-09-24 17:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790249897000,"timestamp_ms":1790249897000,"timestamp_seconds":1790249897,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3358c28"} 
[2026-09-24 17:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 17:14:05] 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-09-24 17:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.64.255","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303968256001,"66":28398,"69":206,"9":57344,"24":0,"16":3605341577150464,"44":-7008234306046093312},"client_ip":"117.224.64.255","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,9,24,16,44]} 
[2026-09-24 17:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303968256001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:14:05] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-24 17:14:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 17:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:14:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7008234306046093312,"description":"Unknown IO ID 44"} 
[2026-09-24 17:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303968256001,"power":28398,"unknown_69":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7008234306046093312}} 
[2026-09-24 17:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":192909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890954,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:14:05] local.INFO: GPS data processed {"connection_id":192909,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:14:05] local.INFO: Acknowledgment sent {"connection_id":192909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:14:20] local.INFO: TCP Data received {"connection_id":191326,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d339aec0012d1890c00720f1380044012526..."} 
[2026-09-24 17:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d339aec0012d1890c00720f1380044012526..."} 
[2026-09-24 17:14:20] local.INFO: Processing buffer {"connection_id":191326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d339aec0012d1890c00720f1380044012526..."} 
[2026-09-24 17:14:20] local.INFO: Packet analysis {"connection_id":191326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d339"} 
[2026-09-24 17:14:20] local.INFO: Extracted packet for processing {"connection_id":191326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d339"} 
[2026-09-24 17:14:20] local.INFO: GPS Element Parsed {"raw_longitude":756584640,"raw_latitude":119599416,"longitude_deg":75.658464,"latitude_deg":11.9599416,"altitude":68,"angle":293,"satellites":38,"speed":11,"hex_longitude":"2d1890c0","hex_latitude":"0720f138","is_valid_coordinates":true} 
[2026-09-24 17:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304042752001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22961011128532992,"note":"Value kept but may cause issues"} 
[2026-09-24 17:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770477634127448064,"note":"Value kept but may cause issues"} 
[2026-09-24 17:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790250168000,"timestamp_ms":1790250168000,"timestamp_seconds":1790250168,"priority":1,"record_length":96,"hex_timestamp":"000001a0d339aec0"} 
[2026-09-24 17:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-24 17:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304042752001,"66":13396,"103":206,"83":41984,"24":11,"16":22961011128532992,"45":1770477634127448064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 17:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304042752001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:14:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 17:14:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22961011128532992,"km_value":22961011128532.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770477634127448064,"description":"Unknown IO ID 45"} 
[2026-09-24 17:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304042752001,"power":13396,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1770477634127448064}} 
[2026-09-24 17:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":191326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:14:20] local.INFO: GPS data processed {"connection_id":191326,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:14:20] local.INFO: Acknowledgment sent {"connection_id":191326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:14:28] local.INFO: TCP Data received {"connection_id":191525,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:14:28] local.INFO: Processing buffer {"connection_id":191525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:14:28] local.INFO: IMEI packet received {"connection_id":191525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":191525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:14:28] local.INFO: TCP Data received {"connection_id":194180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194180,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:14:28] local.INFO: Processing buffer {"connection_id":194180,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:14:28] local.INFO: IMEI packet received {"connection_id":194180,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 17:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":194180,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:14:29] local.INFO: TCP Data received {"connection_id":194180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3384b48012d0b0f400702a188000f011a1a..."} 
[2026-09-24 17:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3384b48012d0b0f400702a188000f011a1a..."} 
[2026-09-24 17:14:29] local.INFO: Processing buffer {"connection_id":194180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3384b48012d0b0f400702a188000f011a1a..."} 
[2026-09-24 17:14:29] local.INFO: Packet analysis {"connection_id":194180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:14:29] local.INFO: Extracted packet for processing {"connection_id":194180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:14:29] local.INFO: GPS Element Parsed {"raw_longitude":755699520,"raw_latitude":117612936,"longitude_deg":75.569952,"latitude_deg":11.7612936,"altitude":15,"angle":282,"satellites":26,"speed":1,"hex_longitude":"2d0b0f40","hex_latitude":"0702a188","is_valid_coordinates":true} 
[2026-09-24 17:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304016128001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727686685753344,"note":"Value kept but may cause issues"} 
[2026-09-24 17:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797207532897640448,"note":"Value kept but may cause issues"} 
[2026-09-24 17:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790250077000,"timestamp_ms":1790250077000,"timestamp_seconds":1790250077,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3384b48"} 
[2026-09-24 17:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 17:14:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:14:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":194180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":194180,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":194180,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304016128001,"66":14265,"18":206,"94":10240,"24":1,"16":33727686685753344,"45":797207532897640448},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-24 17:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304016128001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:14:29] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-24 17:14:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 17:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33727686685753344,"km_value":33727686685753.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797207532897640448,"description":"Unknown IO ID 45"} 
[2026-09-24 17:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304016128001,"power":14265,"unknown_18":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":797207532897640448}} 
[2026-09-24 17:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":194180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890956,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:14:29] local.INFO: GPS data processed {"connection_id":194180,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:14:29] local.INFO: Acknowledgment sent {"connection_id":194180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:14:33] local.INFO: TCP Data received {"connection_id":191525,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:14:33] local.INFO: Processing buffer {"connection_id":191525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:14:33] local.INFO: IMEI packet received {"connection_id":191525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":191525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:14:34] local.INFO: TCP Data received {"connection_id":191525,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:14:34] local.INFO: Processing buffer {"connection_id":191525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:14:34] local.INFO: Packet analysis {"connection_id":191525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:14:34] local.INFO: Extracted packet for processing {"connection_id":191525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:14:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303947264001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790250095000,"timestamp_ms":1790250095000,"timestamp_seconds":1790250095,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3389198"} 
[2026-09-24 17:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 17:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303947264001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303947264001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:14:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:14:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303947264001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":191525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:14:34] local.INFO: GPS data processed {"connection_id":191525,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:14:34] local.INFO: Acknowledgment sent {"connection_id":191525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:14:45] local.INFO: TCP Data received {"connection_id":194181,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:14:45] local.INFO: Processing buffer {"connection_id":194181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:14:45] local.INFO: IMEI packet received {"connection_id":194181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":194181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:14:45] local.INFO: TCP Data received {"connection_id":194181,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:14:45] local.INFO: Processing buffer {"connection_id":194181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:14:45] local.INFO: IMEI packet received {"connection_id":194181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":194181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:14:49] local.INFO: TCP Data received {"connection_id":194181,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:14:49] local.INFO: Processing buffer {"connection_id":194181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:14:49] local.INFO: IMEI packet received {"connection_id":194181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":194181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:14:50] local.INFO: TCP Data received {"connection_id":194181,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d33a9150012d18d240072111d0003e008725..."} 
[2026-09-24 17:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d33a9150012d18d240072111d0003e008725..."} 
[2026-09-24 17:14:50] local.INFO: Processing buffer {"connection_id":194181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d33a9150012d18d240072111d0003e008725..."} 
[2026-09-24 17:14:50] local.INFO: Packet analysis {"connection_id":194181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d33a"} 
[2026-09-24 17:14:50] local.INFO: Extracted packet for processing {"connection_id":194181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d33a"} 
[2026-09-24 17:14:50] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119607760,"longitude_deg":75.6601408,"latitude_deg":11.960776,"altitude":62,"angle":135,"satellites":37,"speed":9,"hex_longitude":"2d18d240","hex_latitude":"072111d0","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304056064001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22962269553950720,"note":"Value kept but may cause issues"} 
[2026-09-24 17:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787295763988148224,"note":"Value kept but may cause issues"} 
[2026-09-24 17:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790250226000,"timestamp_ms":1790250226000,"timestamp_seconds":1790250226,"priority":1,"record_length":96,"hex_timestamp":"000001a0d33a9150"} 
[2026-09-24 17:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-24 17:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":194181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":194181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":194181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304056064001,"66":14396,"103":206,"83":41984,"24":9,"16":22962269553950720,"45":1787295763988148224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 17:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304056064001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:14:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 17:14:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22962269553950720,"km_value":22962269553950.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787295763988148224,"description":"Unknown IO ID 45"} 
[2026-09-24 17:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304056064001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1787295763988148224}} 
[2026-09-24 17:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":194181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:14:50] local.INFO: GPS data processed {"connection_id":194181,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:14:50] local.INFO: Acknowledgment sent {"connection_id":194181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:15:03] local.INFO: TCP Data received {"connection_id":192915,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192915,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:15:03] local.INFO: Processing buffer {"connection_id":192915,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:15:03] local.INFO: IMEI packet received {"connection_id":192915,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 17:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":192915,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:15:05] local.INFO: TCP Data received {"connection_id":191525,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:15:05] local.INFO: Processing buffer {"connection_id":191525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:15:05] local.INFO: Packet analysis {"connection_id":191525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:15:05] local.INFO: Extracted packet for processing {"connection_id":191525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:15:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303947264001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790250095000,"timestamp_ms":1790250095000,"timestamp_seconds":1790250095,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3389198"} 
[2026-09-24 17:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 17:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303947264001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303947264001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:15:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:15:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303947264001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":191525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:15:05] local.INFO: GPS data processed {"connection_id":191525,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:15:05] local.INFO: Acknowledgment sent {"connection_id":191525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:15:10] local.INFO: TCP Data received {"connection_id":192915,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192915,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:15:10] local.INFO: Processing buffer {"connection_id":192915,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:15:10] local.INFO: IMEI packet received {"connection_id":192915,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 17:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":192915,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:15:11] local.INFO: TCP Data received {"connection_id":192915,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3385700012d0b0f400702a160000f00f11c..."} 
[2026-09-24 17:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3385700012d0b0f400702a160000f00f11c..."} 
[2026-09-24 17:15:11] local.INFO: Processing buffer {"connection_id":192915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3385700012d0b0f400702a160000f00f11c..."} 
[2026-09-24 17:15:11] local.INFO: Packet analysis {"connection_id":192915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:15:11] local.INFO: Extracted packet for processing {"connection_id":192915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:15:11] local.INFO: GPS Element Parsed {"raw_longitude":755699520,"raw_latitude":117612896,"longitude_deg":75.569952,"latitude_deg":11.7612896,"altitude":15,"angle":241,"satellites":28,"speed":0,"hex_longitude":"2d0b0f40","hex_latitude":"0702a160","is_valid_coordinates":true} 
[2026-09-24 17:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304019712001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727686685753344,"note":"Value kept but may cause issues"} 
[2026-09-24 17:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796926057920956416,"note":"Value kept but may cause issues"} 
[2026-09-24 17:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790250080000,"timestamp_ms":1790250080000,"timestamp_seconds":1790250080,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3385700"} 
[2026-09-24 17:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-24 17:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192915,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192915,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304019712001,"66":14374,"18":206,"94":10240,"24":0,"16":33727686685753344,"45":796926057920956416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-24 17:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304019712001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:15:11] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-24 17:15:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 17:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33727686685753344,"km_value":33727686685753.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":796926057920956416,"description":"Unknown IO ID 45"} 
[2026-09-24 17:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304019712001,"power":14374,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":796926057920956416}} 
[2026-09-24 17:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":192915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890960,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:15:11] local.INFO: GPS data processed {"connection_id":192915,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:15:11] local.INFO: Acknowledgment sent {"connection_id":192915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:15:21] local.INFO: TCP Data received {"connection_id":194181,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d33a9538012d18d280072110f0003e009725..."} 
[2026-09-24 17:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d33a9538012d18d280072110f0003e009725..."} 
[2026-09-24 17:15:21] local.INFO: Processing buffer {"connection_id":194181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d33a9538012d18d280072110f0003e009725..."} 
[2026-09-24 17:15:21] local.INFO: Packet analysis {"connection_id":194181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d33a"} 
[2026-09-24 17:15:21] local.INFO: Extracted packet for processing {"connection_id":194181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d33a"} 
[2026-09-24 17:15:21] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119607536,"longitude_deg":75.6601472,"latitude_deg":11.9607536,"altitude":62,"angle":151,"satellites":37,"speed":11,"hex_longitude":"2d18d280","hex_latitude":"072110f0","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304057856001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22962278143885312,"note":"Value kept but may cause issues"} 
[2026-09-24 17:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401383272448,"note":"Value kept but may cause issues"} 
[2026-09-24 17:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790250227000,"timestamp_ms":1790250227000,"timestamp_seconds":1790250227,"priority":1,"record_length":96,"hex_timestamp":"000001a0d33a9538"} 
[2026-09-24 17:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-24 17:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304057856001,"66":14396,"103":206,"83":41984,"24":11,"16":22962278143885312,"45":1788562401383272448},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 17:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304057856001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:15:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 17:15:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22962278143885312,"km_value":22962278143885.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401383272448,"description":"Unknown IO ID 45"} 
[2026-09-24 17:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304057856001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1788562401383272448}} 
[2026-09-24 17:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":194181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:15:21] local.INFO: GPS data processed {"connection_id":194181,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:15:21] local.INFO: Acknowledgment sent {"connection_id":194181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:15:27] local.INFO: TCP Data received {"connection_id":191527,"ip":"117.224.158.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:15:27] local.INFO: Processing buffer {"connection_id":191527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:15:27] local.INFO: IMEI packet received {"connection_id":191527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":191527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:15:29] local.INFO: TCP Data received {"connection_id":191526,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:15:29] local.INFO: Processing buffer {"connection_id":191526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:15:29] local.INFO: IMEI packet received {"connection_id":191526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":191526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:15:33] local.INFO: TCP Data received {"connection_id":191526,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:15:33] local.INFO: Processing buffer {"connection_id":191526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:15:33] local.INFO: IMEI packet received {"connection_id":191526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":191526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:15:33] local.INFO: TCP Data received {"connection_id":191527,"ip":"117.224.158.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:15:33] local.INFO: Processing buffer {"connection_id":191527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:15:33] local.INFO: IMEI packet received {"connection_id":191527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":191527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:15:34] local.INFO: TCP Data received {"connection_id":191526,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:15:34] local.INFO: Processing buffer {"connection_id":191526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:15:34] local.INFO: Packet analysis {"connection_id":191526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:15:34] local.INFO: Extracted packet for processing {"connection_id":191526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:15:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303947264001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790250095000,"timestamp_ms":1790250095000,"timestamp_seconds":1790250095,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3389198"} 
[2026-09-24 17:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 17:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303947264001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303947264001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:15:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:15:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303947264001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":191526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:15:34] local.INFO: GPS data processed {"connection_id":191526,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:15:34] local.INFO: Acknowledgment sent {"connection_id":191526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:15:35] local.INFO: TCP Data received {"connection_id":191527,"ip":"117.224.158.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3389580012c9e7ac007a24f80001400b82d..."} 
[2026-09-24 17:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3389580012c9e7ac007a24f80001400b82d..."} 
[2026-09-24 17:15:35] local.INFO: Processing buffer {"connection_id":191527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3389580012c9e7ac007a24f80001400b82d..."} 
[2026-09-24 17:15:35] local.INFO: Packet analysis {"connection_id":191527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:15:35] local.INFO: Extracted packet for processing {"connection_id":191527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:15:35] local.INFO: GPS Element Parsed {"raw_longitude":748583616,"raw_latitude":128077696,"longitude_deg":74.8583616,"latitude_deg":12.8077696,"altitude":20,"angle":184,"satellites":45,"speed":52,"hex_longitude":"2c9e7ac0","hex_latitude":"07a24f80","is_valid_coordinates":true} 
[2026-09-24 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-09-24 17:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:15:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,251,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 17:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790250096000,"timestamp_ms":1790250096000,"timestamp_seconds":1790250096,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3389580"} 
[2026-09-24 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-09-24 17:15: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 17:15:35] 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-09-24 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-09-24 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-09-24 17:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.158.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"251":206,"9":57344,"24":52,"16":3605341577150464},"client_ip":"117.224.158.55","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,9,24,16]} 
[2026-09-24 17:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 17:15:35] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-24 17:15:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 17:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:15:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_251":206,"unknown_9":57344,"ignition":52,"odometer":null}} 
[2026-09-24 17:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":191527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890963,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:15:35] local.INFO: GPS data processed {"connection_id":191527,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:15:35] local.INFO: Acknowledgment sent {"connection_id":191527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:15:39] local.INFO: TCP Data received {"connection_id":191526,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:15:39] local.INFO: Processing buffer {"connection_id":191526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:15:39] local.INFO: Packet analysis {"connection_id":191526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:15:39] local.INFO: Extracted packet for processing {"connection_id":191526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:15:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303947264001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790250095000,"timestamp_ms":1790250095000,"timestamp_seconds":1790250095,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3389198"} 
[2026-09-24 17:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 17:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303947264001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303947264001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:15:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:15:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303947264001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":191526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:15:39] local.INFO: GPS data processed {"connection_id":191526,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:15:39] local.INFO: Acknowledgment sent {"connection_id":191526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:15:42] local.INFO: TCP Data received {"connection_id":192915,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d33866a0012d0b0e800702a108000f00e51f..."} 
[2026-09-24 17:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d33866a0012d0b0e800702a108000f00e51f..."} 
[2026-09-24 17:15:42] local.INFO: Processing buffer {"connection_id":192915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d33866a0012d0b0e800702a108000f00e51f..."} 
[2026-09-24 17:15:42] local.INFO: Packet analysis {"connection_id":192915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:15:42] local.INFO: Extracted packet for processing {"connection_id":192915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:15:42] local.INFO: GPS Element Parsed {"raw_longitude":755699328,"raw_latitude":117612808,"longitude_deg":75.5699328,"latitude_deg":11.7612808,"altitude":15,"angle":229,"satellites":31,"speed":0,"hex_longitude":"2d0b0e80","hex_latitude":"0702a108","is_valid_coordinates":true} 
[2026-09-24 17:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304020480001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727699570655232,"note":"Value kept but may cause issues"} 
[2026-09-24 17:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796926057920946176,"note":"Value kept but may cause issues"} 
[2026-09-24 17:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790250084000,"timestamp_ms":1790250084000,"timestamp_seconds":1790250084,"priority":1,"record_length":96,"hex_timestamp":"000001a0d33866a0"} 
[2026-09-24 17:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-24 17:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192915,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192915,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304020480001,"66":14309,"18":206,"94":10240,"24":0,"16":33727699570655232,"45":796926057920946176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-24 17:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304020480001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:15:42] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-24 17:15:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 17:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33727699570655232,"km_value":33727699570655.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":796926057920946176,"description":"Unknown IO ID 45"} 
[2026-09-24 17:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304020480001,"power":14309,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":796926057920946176}} 
[2026-09-24 17:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":192915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890965,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:15:42] local.INFO: GPS data processed {"connection_id":192915,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:15:42] local.INFO: Acknowledgment sent {"connection_id":192915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:15:42] local.INFO: TCP Data received {"connection_id":194182,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:15:42] local.INFO: Processing buffer {"connection_id":194182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:15:42] local.INFO: IMEI packet received {"connection_id":194182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":194182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:15:43] local.INFO: TCP Data received {"connection_id":194182,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:15:43] local.INFO: Processing buffer {"connection_id":194182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:15:43] local.INFO: IMEI packet received {"connection_id":194182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":194182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:15:44] local.INFO: TCP Data received {"connection_id":194182,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:15:44] local.INFO: Processing buffer {"connection_id":194182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:15:44] local.INFO: IMEI packet received {"connection_id":194182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":194182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:15:45] local.INFO: TCP Data received {"connection_id":194182,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:15:45] local.INFO: Processing buffer {"connection_id":194182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:15:45] local.INFO: IMEI packet received {"connection_id":194182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":194182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:16:04] local.INFO: TCP Data received {"connection_id":194183,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194183,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:16:04] local.INFO: Processing buffer {"connection_id":194183,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:16:04] local.INFO: IMEI packet received {"connection_id":194183,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 17:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":194183,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:16:08] local.INFO: TCP Data received {"connection_id":194183,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194183,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:16:08] local.INFO: Processing buffer {"connection_id":194183,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:16:08] local.INFO: IMEI packet received {"connection_id":194183,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 17:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":194183,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:16:09] local.INFO: TCP Data received {"connection_id":194183,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3387640012d0b0e400702a0d8000f00e520..."} 
[2026-09-24 17:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3387640012d0b0e400702a0d8000f00e520..."} 
[2026-09-24 17:16:09] local.INFO: Processing buffer {"connection_id":194183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3387640012d0b0e400702a0d8000f00e520..."} 
[2026-09-24 17:16:09] local.INFO: Packet analysis {"connection_id":194183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:16:09] local.INFO: Extracted packet for processing {"connection_id":194183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:16:09] local.INFO: GPS Element Parsed {"raw_longitude":755699264,"raw_latitude":117612760,"longitude_deg":75.5699264,"latitude_deg":11.761276,"altitude":15,"angle":229,"satellites":32,"speed":0,"hex_longitude":"2d0b0e40","hex_latitude":"0702a0d8","is_valid_coordinates":true} 
[2026-09-24 17:16: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-09-24 17:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304021504001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727703865622528,"note":"Value kept but may cause issues"} 
[2026-09-24 17:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796714951688390656,"note":"Value kept but may cause issues"} 
[2026-09-24 17:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790250088000,"timestamp_ms":1790250088000,"timestamp_seconds":1790250088,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3387640"} 
[2026-09-24 17:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-24 17:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":194183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":194183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":194183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304021504001,"66":14559,"18":206,"94":10240,"24":0,"16":33727703865622528,"45":796714951688390656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-24 17:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304021504001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:16:09] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-24 17:16:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 17:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33727703865622528,"km_value":33727703865622.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":796714951688390656,"description":"Unknown IO ID 45"} 
[2026-09-24 17:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304021504001,"power":14559,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":796714951688390656}} 
[2026-09-24 17:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":194183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890966,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:16:09] local.INFO: GPS data processed {"connection_id":194183,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:16:09] local.INFO: Acknowledgment sent {"connection_id":194183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:16:10] local.INFO: TCP Data received {"connection_id":191526,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:16:10] local.INFO: Processing buffer {"connection_id":191526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:16:10] local.INFO: Packet analysis {"connection_id":191526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:16:10] local.INFO: Extracted packet for processing {"connection_id":191526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:16:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303947264001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790250095000,"timestamp_ms":1790250095000,"timestamp_seconds":1790250095,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3389198"} 
[2026-09-24 17:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 17:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303947264001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303947264001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:16:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:16:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303947264001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":191526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:16:10] local.INFO: GPS data processed {"connection_id":191526,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:16:10] local.INFO: Acknowledgment sent {"connection_id":191526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:16:16] local.INFO: TCP Data received {"connection_id":191327,"ip":"117.224.158.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:16:16] local.INFO: Processing buffer {"connection_id":191327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:16:16] local.INFO: IMEI packet received {"connection_id":191327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":191327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:16:21] local.INFO: TCP Data received {"connection_id":191327,"ip":"117.224.158.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:16:21] local.INFO: Processing buffer {"connection_id":191327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:16:21] local.INFO: IMEI packet received {"connection_id":191327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":191327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:16:26] local.INFO: TCP Data received {"connection_id":191327,"ip":"117.224.158.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:16:26] local.INFO: Processing buffer {"connection_id":191327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:16:26] local.INFO: IMEI packet received {"connection_id":191327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":191327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:16:28] local.INFO: TCP Data received {"connection_id":192916,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:16:28] local.INFO: Processing buffer {"connection_id":192916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:16:28] local.INFO: IMEI packet received {"connection_id":192916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":192916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:16:29] local.INFO: TCP Data received {"connection_id":191327,"ip":"117.224.158.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d338d400012c9e66c007a1fc68001000c42c..."} 
[2026-09-24 17:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d338d400012c9e66c007a1fc68001000c42c..."} 
[2026-09-24 17:16:29] local.INFO: Processing buffer {"connection_id":191327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d338d400012c9e66c007a1fc68001000c42c..."} 
[2026-09-24 17:16:29] local.INFO: Packet analysis {"connection_id":191327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:16:29] local.INFO: Extracted packet for processing {"connection_id":191327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:16:29] local.INFO: GPS Element Parsed {"raw_longitude":748578496,"raw_latitude":128056424,"longitude_deg":74.8578496,"latitude_deg":12.8056424,"altitude":16,"angle":196,"satellites":44,"speed":53,"hex_longitude":"2c9e66c0","hex_latitude":"07a1fc68","is_valid_coordinates":true} 
[2026-09-24 17:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304024576001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:16:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7027093129537814528,"note":"Value kept but may cause issues"} 
[2026-09-24 17:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790250112000,"timestamp_ms":1790250112000,"timestamp_seconds":1790250112,"priority":1,"record_length":96,"hex_timestamp":"000001a0d338d400"} 
[2026-09-24 17:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 17:16:29] 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-09-24 17:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":191327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":191327,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":191327,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.158.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304024576001,"66":28376,"251":206,"9":57344,"24":53,"16":3605341577150464,"44":-7027093129537814528},"client_ip":"117.224.158.55","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,9,24,16,44]} 
[2026-09-24 17:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304024576001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:16:29] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-24 17:16:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 17:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:16:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7027093129537814528,"description":"Unknown IO ID 44"} 
[2026-09-24 17:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304024576001,"power":28376,"unknown_251":206,"unknown_9":57344,"ignition":53,"odometer":null,"unknown_44":-7027093129537814528}} 
[2026-09-24 17:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":191327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890968,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:16:29] local.INFO: GPS data processed {"connection_id":191327,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:16:29] local.INFO: Acknowledgment sent {"connection_id":191327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:16:32] local.INFO: TCP Data received {"connection_id":191327,"ip":"117.224.158.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3392608012c9e50c007a1a9a8001300bc2c..."} 
[2026-09-24 17:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3392608012c9e50c007a1a9a8001300bc2c..."} 
[2026-09-24 17:16:32] local.INFO: Processing buffer {"connection_id":191327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3392608012c9e50c007a1a9a8001300bc2c..."} 
[2026-09-24 17:16:32] local.INFO: Packet analysis {"connection_id":191327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d339"} 
[2026-09-24 17:16:32] local.INFO: Extracted packet for processing {"connection_id":191327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d339"} 
[2026-09-24 17:16:32] local.INFO: GPS Element Parsed {"raw_longitude":748572864,"raw_latitude":128035240,"longitude_deg":74.8572864,"latitude_deg":12.803524,"altitude":19,"angle":188,"satellites":44,"speed":0,"hex_longitude":"2c9e50c0","hex_latitude":"07a1a9a8","is_valid_coordinates":true} 
[2026-09-24 17:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304028672001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:16:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7032722629077473280,"note":"Value kept but may cause issues"} 
[2026-09-24 17:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790250133000,"timestamp_ms":1790250133000,"timestamp_seconds":1790250133,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3392608"} 
[2026-09-24 17:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 17:16:32] 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-09-24 17:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191327,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191327,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.158.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304028672001,"66":28452,"67":206,"9":57344,"24":0,"16":3605341577150464,"44":-7032722629077473280},"client_ip":"117.224.158.55","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,9,24,16,44]} 
[2026-09-24 17:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304028672001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:16:32] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-24 17:16:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 17:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:16:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7032722629077473280,"description":"Unknown IO ID 44"} 
[2026-09-24 17:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304028672001,"power":28452,"unknown_67":206,"unknown_9":57344,"ignition":0,"odometer":null,"unknown_44":-7032722629077473280}} 
[2026-09-24 17:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":191327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890969,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:16:32] local.INFO: GPS data processed {"connection_id":191327,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:16:32] local.INFO: Acknowledgment sent {"connection_id":191327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:16:33] local.INFO: TCP Data received {"connection_id":192916,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:16:33] local.INFO: Processing buffer {"connection_id":192916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:16:33] local.INFO: IMEI packet received {"connection_id":192916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":192916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:16:34] local.INFO: TCP Data received {"connection_id":192916,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:16:34] local.INFO: Processing buffer {"connection_id":192916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:16:34] local.INFO: Packet analysis {"connection_id":192916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:16:34] local.INFO: Extracted packet for processing {"connection_id":192916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:16:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303947264001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790250095000,"timestamp_ms":1790250095000,"timestamp_seconds":1790250095,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3389198"} 
[2026-09-24 17:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 17:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303947264001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303947264001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:16:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:16:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303947264001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":192916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:16:34] local.INFO: GPS data processed {"connection_id":192916,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:16:34] local.INFO: Acknowledgment sent {"connection_id":192916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:16:40] local.INFO: TCP Data received {"connection_id":194183,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3387640012d0b0e400702a0d8000f00e520..."} 
[2026-09-24 17:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3387640012d0b0e400702a0d8000f00e520..."} 
[2026-09-24 17:16:40] local.INFO: Processing buffer {"connection_id":194183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3387640012d0b0e400702a0d8000f00e520..."} 
[2026-09-24 17:16:40] local.INFO: Packet analysis {"connection_id":194183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:16:40] local.INFO: Extracted packet for processing {"connection_id":194183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:16:40] local.INFO: GPS Element Parsed {"raw_longitude":755699264,"raw_latitude":117612760,"longitude_deg":75.5699264,"latitude_deg":11.761276,"altitude":15,"angle":229,"satellites":32,"speed":0,"hex_longitude":"2d0b0e40","hex_latitude":"0702a0d8","is_valid_coordinates":true} 
[2026-09-24 17:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304022528001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727703865622528,"note":"Value kept but may cause issues"} 
[2026-09-24 17:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796644582944200704,"note":"Value kept but may cause issues"} 
[2026-09-24 17:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790250088000,"timestamp_ms":1790250088000,"timestamp_seconds":1790250088,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3387640"} 
[2026-09-24 17:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-24 17:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":194183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":194183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":194183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304022528001,"66":14559,"18":206,"94":10240,"24":0,"16":33727703865622528,"45":796644582944200704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-24 17:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304022528001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:16:40] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-24 17:16:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 17:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33727703865622528,"km_value":33727703865622.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":796644582944200704,"description":"Unknown IO ID 45"} 
[2026-09-24 17:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304022528001,"power":14559,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":796644582944200704}} 
[2026-09-24 17:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":194183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890971,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:16:41] local.INFO: GPS data processed {"connection_id":194183,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:16:41] local.INFO: Acknowledgment sent {"connection_id":194183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:17:05] local.INFO: TCP Data received {"connection_id":192916,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:17:05] local.INFO: Processing buffer {"connection_id":192916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3389198012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:17:05] local.INFO: Packet analysis {"connection_id":192916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:17:05] local.INFO: Extracted packet for processing {"connection_id":192916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d338"} 
[2026-09-24 17:17:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458303947264001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790250095000,"timestamp_ms":1790250095000,"timestamp_seconds":1790250095,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3389198"} 
[2026-09-24 17:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 17:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458303947264001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458303947264001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:17:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:17:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458303947264001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":192916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:17:06] local.INFO: GPS data processed {"connection_id":192916,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:17:06] local.INFO: Acknowledgment sent {"connection_id":192916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:17:06] local.INFO: TCP Data received {"connection_id":191529,"ip":"117.224.158.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:17:06] local.INFO: Processing buffer {"connection_id":191529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:17:06] local.INFO: IMEI packet received {"connection_id":191529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":191529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:17:27] local.INFO: TCP Data received {"connection_id":191529,"ip":"117.224.158.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:17:27] local.INFO: Processing buffer {"connection_id":191529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:17:27] local.INFO: IMEI packet received {"connection_id":191529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":191529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:17:28] local.INFO: TCP Data received {"connection_id":192917,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:17:28] local.INFO: Processing buffer {"connection_id":192917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:17:28] local.INFO: IMEI packet received {"connection_id":192917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":192917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:17:33] local.INFO: TCP Data received {"connection_id":192917,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:17:33] local.INFO: Processing buffer {"connection_id":192917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:17:33] local.INFO: IMEI packet received {"connection_id":192917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":192917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:17:34] local.INFO: TCP Data received {"connection_id":192917,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:17:34] local.INFO: Processing buffer {"connection_id":192917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:17:34] local.INFO: Packet analysis {"connection_id":192917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:17:34] local.INFO: Extracted packet for processing {"connection_id":192917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:17:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304024320001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790250396000,"timestamp_ms":1790250396000,"timestamp_seconds":1790250396,"priority":1,"record_length":96,"hex_timestamp":"000001a0d33d2960"} 
[2026-09-24 17:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304024320001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304024320001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:17:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:17:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304024320001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":192917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:17:34] local.INFO: GPS data processed {"connection_id":192917,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:17:34] local.INFO: Acknowledgment sent {"connection_id":192917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:17:36] local.INFO: TCP Data received {"connection_id":191529,"ip":"117.224.158.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d33a0c800100000000000000000000000000..."} 
[2026-09-24 17:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d33a0c800100000000000000000000000000..."} 
[2026-09-24 17:17:36] local.INFO: Processing buffer {"connection_id":191529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d33a0c800100000000000000000000000000..."} 
[2026-09-24 17:17:36] local.INFO: Packet analysis {"connection_id":191529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d33a"} 
[2026-09-24 17:17:36] local.INFO: Extracted packet for processing {"connection_id":191529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d33a"} 
[2026-09-24 17:17:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 17:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304034048001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:17:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7038915078570530816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,9,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790250192000,"timestamp_ms":1790250192000,"timestamp_seconds":1790250192,"priority":1,"record_length":96,"hex_timestamp":"000001a0d33a0c80"} 
[2026-09-24 17:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-24 17:17:36] 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-09-24 17:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.158.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":191529,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 17:17:36] local.INFO: GPS data processed {"connection_id":191529,"processed":0,"errors":0,"total":1} 
[2026-09-24 17:17:36] local.INFO: Acknowledgment sent {"connection_id":191529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:18:06] local.INFO: TCP Data received {"connection_id":192917,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:18:06] local.INFO: Processing buffer {"connection_id":192917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:18:06] local.INFO: Packet analysis {"connection_id":192917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:18:06] local.INFO: Extracted packet for processing {"connection_id":192917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:18:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304024320001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790250396000,"timestamp_ms":1790250396000,"timestamp_seconds":1790250396,"priority":1,"record_length":96,"hex_timestamp":"000001a0d33d2960"} 
[2026-09-24 17:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:18: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-09-24 17:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304024320001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304024320001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:18:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:18:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304024320001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":192917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:18:06] local.INFO: GPS data processed {"connection_id":192917,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:18:06] local.INFO: Acknowledgment sent {"connection_id":192917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:18:17] local.INFO: TCP Data received {"connection_id":194185,"ip":"117.224.158.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:18:17] local.INFO: Processing buffer {"connection_id":194185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:18:17] local.INFO: IMEI packet received {"connection_id":194185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":194185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:18:21] local.INFO: TCP Data received {"connection_id":194185,"ip":"117.224.158.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:18:21] local.INFO: Processing buffer {"connection_id":194185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:18:21] local.INFO: IMEI packet received {"connection_id":194185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":194185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:18:33] local.INFO: TCP Data received {"connection_id":191328,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:18:33] local.INFO: Processing buffer {"connection_id":191328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:18:33] local.INFO: IMEI packet received {"connection_id":191328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":191328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:18:38] local.INFO: TCP Data received {"connection_id":191328,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:18:38] local.INFO: Processing buffer {"connection_id":191328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:18:38] local.INFO: IMEI packet received {"connection_id":191328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":191328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:18:39] local.INFO: TCP Data received {"connection_id":191328,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:18:39] local.INFO: Processing buffer {"connection_id":191328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:18:39] local.INFO: Packet analysis {"connection_id":191328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:18:39] local.INFO: Extracted packet for processing {"connection_id":191328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:18:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304024320001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790250396000,"timestamp_ms":1790250396000,"timestamp_seconds":1790250396,"priority":1,"record_length":96,"hex_timestamp":"000001a0d33d2960"} 
[2026-09-24 17:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304024320001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304024320001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:18:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:18:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304024320001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":191328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:18:39] local.INFO: GPS data processed {"connection_id":191328,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:18:39] local.INFO: Acknowledgment sent {"connection_id":191328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:18:43] local.INFO: TCP Data received {"connection_id":194186,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194186,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:18:43] local.INFO: Processing buffer {"connection_id":194186,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:18:43] local.INFO: IMEI packet received {"connection_id":194186,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 17:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":194186,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:18:43] local.INFO: TCP Data received {"connection_id":191328,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:18:43] local.INFO: Processing buffer {"connection_id":191328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:18:43] local.INFO: Packet analysis {"connection_id":191328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:18:43] local.INFO: Extracted packet for processing {"connection_id":191328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:18:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304024320001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790250396000,"timestamp_ms":1790250396000,"timestamp_seconds":1790250396,"priority":1,"record_length":96,"hex_timestamp":"000001a0d33d2960"} 
[2026-09-24 17:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304024320001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304024320001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:18:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:18:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304024320001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":191328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:18:43] local.INFO: GPS data processed {"connection_id":191328,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:18:43] local.INFO: Acknowledgment sent {"connection_id":191328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:18:44] local.INFO: TCP Data received {"connection_id":194185,"ip":"117.224.158.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3399750012c9e4c0007a10500001500b42e..."} 
[2026-09-24 17:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3399750012c9e4c0007a10500001500b42e..."} 
[2026-09-24 17:18:44] local.INFO: Processing buffer {"connection_id":194185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3399750012c9e4c0007a10500001500b42e..."} 
[2026-09-24 17:18:44] local.INFO: Packet analysis {"connection_id":194185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d339"} 
[2026-09-24 17:18:44] local.INFO: Extracted packet for processing {"connection_id":194185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d339"} 
[2026-09-24 17:18:44] local.INFO: GPS Element Parsed {"raw_longitude":748571648,"raw_latitude":127993088,"longitude_deg":74.8571648,"latitude_deg":12.7993088,"altitude":21,"angle":180,"satellites":46,"speed":43,"hex_longitude":"2c9e4c00","hex_latitude":"07a10500","is_valid_coordinates":true} 
[2026-09-24 17:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:18:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,67,9,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 17:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790250162000,"timestamp_ms":1790250162000,"timestamp_seconds":1790250162,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3399750"} 
[2026-09-24 17:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 17:18:44] 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-09-24 17:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194185,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194185,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.158.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28398,"67":206,"9":57344,"24":43,"16":3605341577150464},"client_ip":"117.224.158.55","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,9,24,16]} 
[2026-09-24 17:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 17:18:44] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-24 17:18:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":57344,"description":"Unknown IO ID 9"} 
[2026-09-24 17:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:18:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28398,"unknown_67":206,"unknown_9":57344,"ignition":43,"odometer":null}} 
[2026-09-24 17:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":194185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890977,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:18:44] local.INFO: GPS data processed {"connection_id":194185,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:18:44] local.INFO: Acknowledgment sent {"connection_id":194185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:19:03] local.INFO: TCP Data received {"connection_id":191530,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:19:03] local.INFO: Processing buffer {"connection_id":191530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:19:03] local.INFO: IMEI packet received {"connection_id":191530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 17:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":191530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:19:09] local.INFO: TCP Data received {"connection_id":191530,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:19:09] local.INFO: Processing buffer {"connection_id":191530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:19:09] local.INFO: IMEI packet received {"connection_id":191530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 17:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":191530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:19:09] local.INFO: TCP Data received {"connection_id":191530,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d33d19c0012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d33d19c0012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:19:09] local.INFO: Processing buffer {"connection_id":191530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d33d19c0012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:19:09] local.INFO: Packet analysis {"connection_id":191530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:19:09] local.INFO: Extracted packet for processing {"connection_id":191530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:19:09] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612856,"longitude_deg":75.5698752,"latitude_deg":11.7612856,"altitude":14,"angle":229,"satellites":34,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a138","is_valid_coordinates":true} 
[2026-09-24 17:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304022528001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727703865622528,"note":"Value kept but may cause issues"} 
[2026-09-24 17:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796644582944200704,"note":"Value kept but may cause issues"} 
[2026-09-24 17:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790250392000,"timestamp_ms":1790250392000,"timestamp_seconds":1790250392,"priority":1,"record_length":96,"hex_timestamp":"000001a0d33d19c0"} 
[2026-09-24 17:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-24 17:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304022528001,"66":12819,"36":206,"94":11008,"24":0,"16":33727703865622528,"45":796644582944200704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-09-24 17:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304022528001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:19:09] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-24 17:19:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 17:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33727703865622528,"km_value":33727703865622.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":796644582944200704,"description":"Unknown IO ID 45"} 
[2026-09-24 17:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304022528001,"power":12819,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796644582944200704}} 
[2026-09-24 17:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":191530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890978,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:19:10] local.INFO: GPS data processed {"connection_id":191530,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:19:10] local.INFO: Acknowledgment sent {"connection_id":191530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:19:17] local.INFO: TCP Data received {"connection_id":191531,"ip":"117.224.158.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:19:17] local.INFO: Processing buffer {"connection_id":191531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:19:17] local.INFO: IMEI packet received {"connection_id":191531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":191531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:19:18] local.INFO: TCP Data received {"connection_id":191531,"ip":"117.224.158.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:19:18] local.INFO: Processing buffer {"connection_id":191531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:19:18] local.INFO: IMEI packet received {"connection_id":191531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":191531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:19:20] local.INFO: TCP Data received {"connection_id":191531,"ip":"117.224.158.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d339e958012c9e48c007a0b1f8000f00b62e..."} 
[2026-09-24 17:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d339e958012c9e48c007a0b1f8000f00b62e..."} 
[2026-09-24 17:19:20] local.INFO: Processing buffer {"connection_id":191531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d339e958012c9e48c007a0b1f8000f00b62e..."} 
[2026-09-24 17:19:20] local.INFO: Packet analysis {"connection_id":191531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d339"} 
[2026-09-24 17:19:20] local.INFO: Extracted packet for processing {"connection_id":191531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d339"} 
[2026-09-24 17:19:20] local.INFO: GPS Element Parsed {"raw_longitude":748570816,"raw_latitude":127971832,"longitude_deg":74.8570816,"latitude_deg":12.7971832,"altitude":15,"angle":182,"satellites":46,"speed":0,"hex_longitude":"2c9e48c0","hex_latitude":"07a0b1f8","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304041472001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:19:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7040252084720697344,"note":"Value kept but may cause issues"} 
[2026-09-24 17:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,18,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790250183000,"timestamp_ms":1790250183000,"timestamp_seconds":1790250183,"priority":1,"record_length":96,"hex_timestamp":"000001a0d339e958"} 
[2026-09-24 17:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:19: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-09-24 17: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-09-24 17:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.158.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304041472001,"66":28278,"139":206,"18":24064,"24":0,"16":3605341577150464,"44":-7040252084720697344},"client_ip":"117.224.158.55","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,18,24,16,44]} 
[2026-09-24 17:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304041472001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:19:20] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-24 17:19:20] local.INFO: Unknown IO ID detected {"io_id":18,"value":24064,"description":"Unknown IO ID 18"} 
[2026-09-24 17:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:19:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7040252084720697344,"description":"Unknown IO ID 44"} 
[2026-09-24 17:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304041472001,"power":28278,"unknown_139":206,"unknown_18":24064,"ignition":0,"odometer":null,"unknown_44":-7040252084720697344}} 
[2026-09-24 17:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":191531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890979,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:19:20] local.INFO: GPS data processed {"connection_id":191531,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:19:20] local.INFO: Acknowledgment sent {"connection_id":191531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:19:23] local.INFO: TCP Data received {"connection_id":191531,"ip":"117.224.158.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d33a1c20012c9e4dc007a05ac0000e00a42f..."} 
[2026-09-24 17:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d33a1c20012c9e4dc007a05ac0000e00a42f..."} 
[2026-09-24 17:19:23] local.INFO: Processing buffer {"connection_id":191531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d33a1c20012c9e4dc007a05ac0000e00a42f..."} 
[2026-09-24 17:19:23] local.INFO: Packet analysis {"connection_id":191531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d33a"} 
[2026-09-24 17:19:23] local.INFO: Extracted packet for processing {"connection_id":191531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d33a"} 
[2026-09-24 17:19:23] local.INFO: GPS Element Parsed {"raw_longitude":748572096,"raw_latitude":127949504,"longitude_deg":74.8572096,"latitude_deg":12.7949504,"altitude":14,"angle":164,"satellites":47,"speed":55,"hex_longitude":"2c9e4dc0","hex_latitude":"07a05ac0","is_valid_coordinates":true} 
[2026-09-24 17:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304046848001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:19:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7041166878400448512,"note":"Value kept but may cause issues"} 
[2026-09-24 17:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,18,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790250196000,"timestamp_ms":1790250196000,"timestamp_seconds":1790250196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d33a1c20"} 
[2026-09-24 17:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:19: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-09-24 17:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 17:19:23] 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-09-24 17:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.158.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304046848001,"66":28267,"139":206,"18":24064,"24":55,"16":3605341577150464,"44":-7041166878400448512},"client_ip":"117.224.158.55","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,18,24,16,44]} 
[2026-09-24 17:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304046848001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:19:23] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-24 17:19:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":24064,"description":"Unknown IO ID 18"} 
[2026-09-24 17:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:19:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-7041166878400448512,"description":"Unknown IO ID 44"} 
[2026-09-24 17:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304046848001,"power":28267,"unknown_139":206,"unknown_18":24064,"ignition":55,"odometer":null,"unknown_44":-7041166878400448512}} 
[2026-09-24 17:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":191531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890980,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:19:23] local.INFO: GPS data processed {"connection_id":191531,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:19:23] local.INFO: Acknowledgment sent {"connection_id":191531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:19:28] local.INFO: TCP Data received {"connection_id":191532,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:19:28] local.INFO: Processing buffer {"connection_id":191532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:19:28] local.INFO: IMEI packet received {"connection_id":191532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":191532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:19:33] local.INFO: TCP Data received {"connection_id":191532,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:19:33] local.INFO: Processing buffer {"connection_id":191532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:19:33] local.INFO: IMEI packet received {"connection_id":191532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":191532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:19:34] local.INFO: TCP Data received {"connection_id":191532,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:19:34] local.INFO: Processing buffer {"connection_id":191532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:19:34] local.INFO: Packet analysis {"connection_id":191532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:19:34] local.INFO: Extracted packet for processing {"connection_id":191532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:19:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304024320001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790250396000,"timestamp_ms":1790250396000,"timestamp_seconds":1790250396,"priority":1,"record_length":96,"hex_timestamp":"000001a0d33d2960"} 
[2026-09-24 17:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304024320001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304024320001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:19:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:19:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304024320001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":191532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:19:34] local.INFO: GPS data processed {"connection_id":191532,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:19:34] local.INFO: Acknowledgment sent {"connection_id":191532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:19:41] local.INFO: TCP Data received {"connection_id":191530,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d33d19c0012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d33d19c0012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:19:41] local.INFO: Processing buffer {"connection_id":191530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d33d19c0012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:19:41] local.INFO: Packet analysis {"connection_id":191530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:19:41] local.INFO: Extracted packet for processing {"connection_id":191530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:19:41] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612856,"longitude_deg":75.5698752,"latitude_deg":11.7612856,"altitude":14,"angle":229,"satellites":34,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a138","is_valid_coordinates":true} 
[2026-09-24 17:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304022528001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727703865622528,"note":"Value kept but may cause issues"} 
[2026-09-24 17:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796644582944200704,"note":"Value kept but may cause issues"} 
[2026-09-24 17:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790250392000,"timestamp_ms":1790250392000,"timestamp_seconds":1790250392,"priority":1,"record_length":96,"hex_timestamp":"000001a0d33d19c0"} 
[2026-09-24 17:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-24 17:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304022528001,"66":12819,"36":206,"94":11008,"24":0,"16":33727703865622528,"45":796644582944200704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-09-24 17:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304022528001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:19:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-24 17:19:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 17:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33727703865622528,"km_value":33727703865622.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":796644582944200704,"description":"Unknown IO ID 45"} 
[2026-09-24 17:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304022528001,"power":12819,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796644582944200704}} 
[2026-09-24 17:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":191530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890982,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:19:41] local.INFO: GPS data processed {"connection_id":191530,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:19:41] local.INFO: Acknowledgment sent {"connection_id":191530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:20:06] local.INFO: TCP Data received {"connection_id":191532,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:20:06] local.INFO: Processing buffer {"connection_id":191532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:20:06] local.INFO: Packet analysis {"connection_id":191532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:20:06] local.INFO: Extracted packet for processing {"connection_id":191532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:20:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304024320001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790250396000,"timestamp_ms":1790250396000,"timestamp_seconds":1790250396,"priority":1,"record_length":96,"hex_timestamp":"000001a0d33d2960"} 
[2026-09-24 17:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:20: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-09-24 17:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304024320001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304024320001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:20:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:20:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304024320001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":191532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:20:06] local.INFO: GPS data processed {"connection_id":191532,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:20:06] local.INFO: Acknowledgment sent {"connection_id":191532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:20:08] local.INFO: TCP Data received {"connection_id":191329,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191329,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:20:08] local.INFO: Processing buffer {"connection_id":191329,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:20:08] local.INFO: IMEI packet received {"connection_id":191329,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 17:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":191329,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:20:13] local.INFO: TCP Data received {"connection_id":191329,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191329,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:20:13] local.INFO: Processing buffer {"connection_id":191329,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:20:13] local.INFO: IMEI packet received {"connection_id":191329,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 17:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":191329,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:20:14] local.INFO: TCP Data received {"connection_id":191329,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d33d19c0012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d33d19c0012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:20:14] local.INFO: Processing buffer {"connection_id":191329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d33d19c0012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:20:14] local.INFO: Packet analysis {"connection_id":191329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:20:14] local.INFO: Extracted packet for processing {"connection_id":191329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:20:14] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612856,"longitude_deg":75.5698752,"latitude_deg":11.7612856,"altitude":14,"angle":229,"satellites":34,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a138","is_valid_coordinates":true} 
[2026-09-24 17:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304022528001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727703865622528,"note":"Value kept but may cause issues"} 
[2026-09-24 17:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796644582944200704,"note":"Value kept but may cause issues"} 
[2026-09-24 17:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790250392000,"timestamp_ms":1790250392000,"timestamp_seconds":1790250392,"priority":1,"record_length":96,"hex_timestamp":"000001a0d33d19c0"} 
[2026-09-24 17:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-24 17:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191329,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191329,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304022528001,"66":12819,"36":206,"94":11008,"24":0,"16":33727703865622528,"45":796644582944200704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-09-24 17:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304022528001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:20:14] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-24 17:20:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 17:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33727703865622528,"km_value":33727703865622.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":796644582944200704,"description":"Unknown IO ID 45"} 
[2026-09-24 17:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304022528001,"power":12819,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796644582944200704}} 
[2026-09-24 17:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":191329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890984,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:20:14] local.INFO: GPS data processed {"connection_id":191329,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:20:14] local.INFO: Acknowledgment sent {"connection_id":191329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:20:19] local.INFO: TCP Data received {"connection_id":191329,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d33d19c0012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d33d19c0012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:20:19] local.INFO: Processing buffer {"connection_id":191329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d33d19c0012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:20:19] local.INFO: Packet analysis {"connection_id":191329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:20:19] local.INFO: Extracted packet for processing {"connection_id":191329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:20:19] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612856,"longitude_deg":75.5698752,"latitude_deg":11.7612856,"altitude":14,"angle":229,"satellites":34,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a138","is_valid_coordinates":true} 
[2026-09-24 17:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304022528001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727703865622528,"note":"Value kept but may cause issues"} 
[2026-09-24 17:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796644582944200704,"note":"Value kept but may cause issues"} 
[2026-09-24 17:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790250392000,"timestamp_ms":1790250392000,"timestamp_seconds":1790250392,"priority":1,"record_length":96,"hex_timestamp":"000001a0d33d19c0"} 
[2026-09-24 17:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-24 17:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191329,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191329,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304022528001,"66":12819,"36":206,"94":11008,"24":0,"16":33727703865622528,"45":796644582944200704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-09-24 17:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304022528001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:20:19] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-24 17:20:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 17:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33727703865622528,"km_value":33727703865622.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":796644582944200704,"description":"Unknown IO ID 45"} 
[2026-09-24 17:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304022528001,"power":12819,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796644582944200704}} 
[2026-09-24 17:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":191329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890985,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:20:19] local.INFO: GPS data processed {"connection_id":191329,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:20:19] local.INFO: Acknowledgment sent {"connection_id":191329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:20:28] local.INFO: TCP Data received {"connection_id":194188,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:20:28] local.INFO: Processing buffer {"connection_id":194188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:20:28] local.INFO: IMEI packet received {"connection_id":194188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":194188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:20:33] local.INFO: TCP Data received {"connection_id":194188,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:20:33] local.INFO: Processing buffer {"connection_id":194188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:20:33] local.INFO: IMEI packet received {"connection_id":194188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":194188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:20:34] local.INFO: TCP Data received {"connection_id":194188,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:20:34] local.INFO: Processing buffer {"connection_id":194188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:20:34] local.INFO: Packet analysis {"connection_id":194188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:20:34] local.INFO: Extracted packet for processing {"connection_id":194188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:20:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304024320001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790250396000,"timestamp_ms":1790250396000,"timestamp_seconds":1790250396,"priority":1,"record_length":96,"hex_timestamp":"000001a0d33d2960"} 
[2026-09-24 17:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304024320001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304024320001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:20:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:20:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304024320001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":194188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:20:34] local.INFO: GPS data processed {"connection_id":194188,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:20:34] local.INFO: Acknowledgment sent {"connection_id":194188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:20:51] local.INFO: TCP Data received {"connection_id":191330,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:20:51] local.INFO: Processing buffer {"connection_id":191330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:20:51] local.INFO: IMEI packet received {"connection_id":191330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":191330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:21:03] local.INFO: TCP Data received {"connection_id":191331,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:21:03] local.INFO: Processing buffer {"connection_id":191331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:21:03] local.INFO: IMEI packet received {"connection_id":191331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 17:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":191331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:21:06] local.INFO: TCP Data received {"connection_id":194188,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:21:06] local.INFO: Processing buffer {"connection_id":194188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:21:06] local.INFO: Packet analysis {"connection_id":194188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:21:06] local.INFO: Extracted packet for processing {"connection_id":194188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:21:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304024320001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790250396000,"timestamp_ms":1790250396000,"timestamp_seconds":1790250396,"priority":1,"record_length":96,"hex_timestamp":"000001a0d33d2960"} 
[2026-09-24 17:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:21: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-09-24 17:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304024320001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304024320001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:21:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:21:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304024320001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":194188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:21:06] local.INFO: GPS data processed {"connection_id":194188,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:21:06] local.INFO: Acknowledgment sent {"connection_id":194188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:21:08] local.INFO: TCP Data received {"connection_id":191331,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:21:08] local.INFO: Processing buffer {"connection_id":191331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:21:08] local.INFO: IMEI packet received {"connection_id":191331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 17:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":191331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:21:10] local.INFO: TCP Data received {"connection_id":191331,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d33d19c0012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d33d19c0012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:21:10] local.INFO: Processing buffer {"connection_id":191331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d33d19c0012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:21:10] local.INFO: Packet analysis {"connection_id":191331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:21:10] local.INFO: Extracted packet for processing {"connection_id":191331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:21:10] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612856,"longitude_deg":75.5698752,"latitude_deg":11.7612856,"altitude":14,"angle":229,"satellites":34,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a138","is_valid_coordinates":true} 
[2026-09-24 17:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304022528001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727703865622528,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796644582944200704,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790250392000,"timestamp_ms":1790250392000,"timestamp_seconds":1790250392,"priority":1,"record_length":96,"hex_timestamp":"000001a0d33d19c0"} 
[2026-09-24 17:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-24 17:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304022528001,"66":12819,"36":206,"94":11008,"24":0,"16":33727703865622528,"45":796644582944200704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-09-24 17:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304022528001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:21:10] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-24 17:21:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-24 17:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33727703865622528,"km_value":33727703865622.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":796644582944200704,"description":"Unknown IO ID 45"} 
[2026-09-24 17:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304022528001,"power":12819,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796644582944200704}} 
[2026-09-24 17:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":191331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890988,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:21:10] local.INFO: GPS data processed {"connection_id":191331,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:21:10] local.INFO: Acknowledgment sent {"connection_id":191331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:21:28] local.INFO: TCP Data received {"connection_id":192919,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:21:28] local.INFO: Processing buffer {"connection_id":192919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:21:28] local.INFO: IMEI packet received {"connection_id":192919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":192919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:21:33] local.INFO: TCP Data received {"connection_id":192919,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:21:33] local.INFO: Processing buffer {"connection_id":192919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:21:33] local.INFO: IMEI packet received {"connection_id":192919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":192919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:21:34] local.INFO: TCP Data received {"connection_id":192919,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:21:34] local.INFO: Processing buffer {"connection_id":192919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:21:34] local.INFO: Packet analysis {"connection_id":192919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:21:34] local.INFO: Extracted packet for processing {"connection_id":192919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:21:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304024320001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790250396000,"timestamp_ms":1790250396000,"timestamp_seconds":1790250396,"priority":1,"record_length":96,"hex_timestamp":"000001a0d33d2960"} 
[2026-09-24 17:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304024320001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304024320001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:21:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:21:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304024320001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":192919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:21:34] local.INFO: GPS data processed {"connection_id":192919,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:21:34] local.INFO: Acknowledgment sent {"connection_id":192919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:21:41] local.INFO: TCP Data received {"connection_id":191331,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d341b188012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d341b188012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:21:41] local.INFO: Processing buffer {"connection_id":191331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d341b188012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:21:41] local.INFO: Packet analysis {"connection_id":191331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:21:41] local.INFO: Extracted packet for processing {"connection_id":191331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:21:41] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612856,"longitude_deg":75.5698752,"latitude_deg":11.7612856,"altitude":14,"angle":229,"satellites":34,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a138","is_valid_coordinates":true} 
[2026-09-24 17:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304100352001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727703865622528,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796081632990803968,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790250693000,"timestamp_ms":1790250693000,"timestamp_seconds":1790250693,"priority":1,"record_length":96,"hex_timestamp":"000001a0d341b188"} 
[2026-09-24 17:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-24 17:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6993164292,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:41] local.WARNING: Large IO value detected {"io_id":211,"raw_value":4036623849965163264,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:41] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3543667864,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:41] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:41] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504114270633984,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:41] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5116353063783039232,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7499057215868239896,"corrected_to":0} 
[2026-09-24 17:21:41] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:41] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837544,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:41] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3542548480,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:41] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189028039298997020,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:41] local.WARNING: Large IO value detected {"io_id":46,"raw_value":-2017386786199646626,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:41] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:41] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194992128,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:41] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84736144222651039,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:41] local.WARNING: Large IO value detected {"io_id":144,"raw_value":4223615474073600,"note":"Value kept but may cause issues"} 
[2026-09-24 17:21:41] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,36,94,24,241,157,16,211,160,118,45,64,15,32,10,66,18,102,128,1,240,229,227,2,4,113,205,75,136,26,239,55,119,7,46,40,34,69,248,144],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":7499057215868239896,"validated":0}]} 
[2026-09-24 17:21:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009058250722639872,"timestamp_seconds":1009058250722639.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 17:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304100352001,"66":12819,"104":206,"94":10240,"24":0,"16":33727703865622528,"45":796081632990803968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,94,24,16,45]} 
[2026-09-24 17:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304100352001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:21:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-24 17:21:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 17:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33727703865622528,"km_value":33727703865622.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":796081632990803968,"description":"Unknown IO ID 45"} 
[2026-09-24 17:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304100352001,"power":12819,"unknown_104":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":796081632990803968}} 
[2026-09-24 17:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":191331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890990,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:21:41] local.INFO: GPS data processed {"connection_id":191331,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:21:41] local.INFO: Acknowledgment sent {"connection_id":191331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:22:03] local.INFO: TCP Data received {"connection_id":194189,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194189,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:22:03] local.INFO: Processing buffer {"connection_id":194189,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:22:03] local.INFO: IMEI packet received {"connection_id":194189,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 17:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":194189,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:22:06] local.INFO: TCP Data received {"connection_id":192919,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:22:06] local.INFO: Processing buffer {"connection_id":192919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d33d2960012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:22:06] local.INFO: Packet analysis {"connection_id":192919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:22:06] local.INFO: Extracted packet for processing {"connection_id":192919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d33d"} 
[2026-09-24 17:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304024320001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790250396000,"timestamp_ms":1790250396000,"timestamp_seconds":1790250396,"priority":1,"record_length":96,"hex_timestamp":"000001a0d33d2960"} 
[2026-09-24 17:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304024320001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304024320001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:22:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304024320001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":192919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:22:06] local.INFO: GPS data processed {"connection_id":192919,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:22:06] local.INFO: Acknowledgment sent {"connection_id":192919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:22:08] local.INFO: TCP Data received {"connection_id":194189,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194189,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:22:08] local.INFO: Processing buffer {"connection_id":194189,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:22:08] local.INFO: IMEI packet received {"connection_id":194189,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 17:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":194189,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:22:09] local.INFO: TCP Data received {"connection_id":194189,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d341b188012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d341b188012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:22:09] local.INFO: Processing buffer {"connection_id":194189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d341b188012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:22:09] local.INFO: Packet analysis {"connection_id":194189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:22:09] local.INFO: Extracted packet for processing {"connection_id":194189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:22:09] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612856,"longitude_deg":75.5698752,"latitude_deg":11.7612856,"altitude":14,"angle":229,"satellites":34,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a138","is_valid_coordinates":true} 
[2026-09-24 17:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304100352001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727703865622528,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796081632990803968,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790250693000,"timestamp_ms":1790250693000,"timestamp_seconds":1790250693,"priority":1,"record_length":96,"hex_timestamp":"000001a0d341b188"} 
[2026-09-24 17:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-24 17:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6993164292,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:09] local.WARNING: Large IO value detected {"io_id":211,"raw_value":4036623849965163264,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:09] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3543667864,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:09] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504114270633984,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:09] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5116353063783039232,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7499057215868239896,"corrected_to":0} 
[2026-09-24 17:22:09] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:09] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837544,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:09] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3542548480,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:09] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189028039298997020,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:09] local.WARNING: Large IO value detected {"io_id":46,"raw_value":-2017386786199646626,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:09] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:09] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194992128,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:09] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84736144222651039,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:09] local.WARNING: Large IO value detected {"io_id":144,"raw_value":4223615474073600,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:09] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,36,94,24,241,157,16,211,160,118,45,64,15,32,10,66,18,102,128,1,240,229,227,2,4,113,205,75,136,26,239,55,119,7,46,40,34,69,248,144],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":7499057215868239896,"validated":0}]} 
[2026-09-24 17:22:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009058250722639872,"timestamp_seconds":1009058250722639.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 17:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":194189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":194189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":194189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304100352001,"66":12819,"104":206,"94":10240,"24":0,"16":33727703865622528,"45":796081632990803968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,94,24,16,45]} 
[2026-09-24 17:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304100352001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:22:09] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-24 17:22:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 17:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33727703865622528,"km_value":33727703865622.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":796081632990803968,"description":"Unknown IO ID 45"} 
[2026-09-24 17:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304100352001,"power":12819,"unknown_104":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":796081632990803968}} 
[2026-09-24 17:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":194189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890992,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:22:09] local.INFO: GPS data processed {"connection_id":194189,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:22:09] local.INFO: Acknowledgment sent {"connection_id":194189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:22:28] local.INFO: TCP Data received {"connection_id":191533,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:22:28] local.INFO: Processing buffer {"connection_id":191533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:22:28] local.INFO: IMEI packet received {"connection_id":191533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":191533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:22:33] local.INFO: TCP Data received {"connection_id":191533,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:22:33] local.INFO: Processing buffer {"connection_id":191533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:22:33] local.INFO: IMEI packet received {"connection_id":191533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":191533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:22:34] local.INFO: TCP Data received {"connection_id":191533,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:22:34] local.INFO: Processing buffer {"connection_id":191533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:22:34] local.INFO: Packet analysis {"connection_id":191533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:22:34] local.INFO: Extracted packet for processing {"connection_id":191533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:22:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304101376001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790250697000,"timestamp_ms":1790250697000,"timestamp_seconds":1790250697,"priority":1,"record_length":96,"hex_timestamp":"000001a0d341c128"} 
[2026-09-24 17:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304101376001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304101376001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:22:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:22:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304101376001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":191533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:22:34] local.INFO: GPS data processed {"connection_id":191533,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:22:34] local.INFO: Acknowledgment sent {"connection_id":191533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:22:43] local.INFO: TCP Data received {"connection_id":194189,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d341b188012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d341b188012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:22:43] local.INFO: Processing buffer {"connection_id":194189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d341b188012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:22:43] local.INFO: Packet analysis {"connection_id":194189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:22:43] local.INFO: Extracted packet for processing {"connection_id":194189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:22:43] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612856,"longitude_deg":75.5698752,"latitude_deg":11.7612856,"altitude":14,"angle":229,"satellites":34,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a138","is_valid_coordinates":true} 
[2026-09-24 17:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304100352001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727703865622528,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796081632990803968,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790250693000,"timestamp_ms":1790250693000,"timestamp_seconds":1790250693,"priority":1,"record_length":96,"hex_timestamp":"000001a0d341b188"} 
[2026-09-24 17:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-24 17:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6993164292,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:43] local.WARNING: Large IO value detected {"io_id":211,"raw_value":4036623849965163264,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:43] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3543667864,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:43] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504114270633984,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:43] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5116353063783039232,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7499057215868239896,"corrected_to":0} 
[2026-09-24 17:22:43] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:43] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837544,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:43] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3542548480,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:43] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189028039298997020,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:43] local.WARNING: Large IO value detected {"io_id":46,"raw_value":-2017386786199646626,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:43] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:43] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194992128,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:43] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84736144222651039,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:43] local.WARNING: Large IO value detected {"io_id":144,"raw_value":4223615474073600,"note":"Value kept but may cause issues"} 
[2026-09-24 17:22:43] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,36,94,24,241,157,16,211,160,118,45,64,15,32,10,66,18,102,128,1,240,229,227,2,4,113,205,75,136,26,239,55,119,7,46,40,34,69,248,144],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":7499057215868239896,"validated":0}]} 
[2026-09-24 17:22:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009058250722639872,"timestamp_seconds":1009058250722639.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 17:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":194189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":194189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":194189,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304100352001,"66":12819,"104":206,"94":10240,"24":0,"16":33727703865622528,"45":796081632990803968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,94,24,16,45]} 
[2026-09-24 17:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304100352001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:22:43] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-24 17:22:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 17:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33727703865622528,"km_value":33727703865622.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":796081632990803968,"description":"Unknown IO ID 45"} 
[2026-09-24 17:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304100352001,"power":12819,"unknown_104":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":796081632990803968}} 
[2026-09-24 17:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":194189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890994,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:22:43] local.INFO: GPS data processed {"connection_id":194189,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:22:43] local.INFO: Acknowledgment sent {"connection_id":194189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:23:03] local.INFO: TCP Data received {"connection_id":191332,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191332,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:23:03] local.INFO: Processing buffer {"connection_id":191332,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:23:03] local.INFO: IMEI packet received {"connection_id":191332,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 17:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":191332,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:23:05] local.INFO: TCP Data received {"connection_id":191533,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:23:05] local.INFO: Processing buffer {"connection_id":191533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:23:05] local.INFO: Packet analysis {"connection_id":191533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:23:05] local.INFO: Extracted packet for processing {"connection_id":191533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:23:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304101376001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790250697000,"timestamp_ms":1790250697000,"timestamp_seconds":1790250697,"priority":1,"record_length":96,"hex_timestamp":"000001a0d341c128"} 
[2026-09-24 17:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304101376001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304101376001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:23:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:23:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304101376001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":191533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:23:05] local.INFO: GPS data processed {"connection_id":191533,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:23:05] local.INFO: Acknowledgment sent {"connection_id":191533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:23:09] local.INFO: TCP Data received {"connection_id":191332,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191332,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:23:09] local.INFO: Processing buffer {"connection_id":191332,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:23:09] local.INFO: IMEI packet received {"connection_id":191332,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 17:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":191332,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:23:10] local.INFO: TCP Data received {"connection_id":191332,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d341b188012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d341b188012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:23:10] local.INFO: Processing buffer {"connection_id":191332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d341b188012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:23:10] local.INFO: Packet analysis {"connection_id":191332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:23:10] local.INFO: Extracted packet for processing {"connection_id":191332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:23:10] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612856,"longitude_deg":75.5698752,"latitude_deg":11.7612856,"altitude":14,"angle":229,"satellites":34,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a138","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304100352001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727703865622528,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796081632990803968,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790250693000,"timestamp_ms":1790250693000,"timestamp_seconds":1790250693,"priority":1,"record_length":96,"hex_timestamp":"000001a0d341b188"} 
[2026-09-24 17:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-24 17:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6993164292,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:10] local.WARNING: Large IO value detected {"io_id":211,"raw_value":4036623849965163264,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:10] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3543667864,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504114270633984,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:10] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5116353063783039232,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7499057215868239896,"corrected_to":0} 
[2026-09-24 17:23:10] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:10] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837544,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:10] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3542548480,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:10] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189028039298997020,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:10] local.WARNING: Large IO value detected {"io_id":46,"raw_value":-2017386786199646626,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:10] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:10] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194992128,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:10] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84736144222651039,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:10] local.WARNING: Large IO value detected {"io_id":144,"raw_value":4223615474073600,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:10] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,36,94,24,241,157,16,211,160,118,45,64,15,32,10,66,18,102,128,1,240,229,227,2,4,113,205,75,136,26,239,55,119,7,46,40,34,69,248,144],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":7499057215868239896,"validated":0}]} 
[2026-09-24 17:23:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009058250722639872,"timestamp_seconds":1009058250722639.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 17:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191332,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191332,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304100352001,"66":12819,"104":206,"94":10240,"24":0,"16":33727703865622528,"45":796081632990803968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,94,24,16,45]} 
[2026-09-24 17:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304100352001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:23:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-24 17:23:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 17:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33727703865622528,"km_value":33727703865622.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":796081632990803968,"description":"Unknown IO ID 45"} 
[2026-09-24 17:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304100352001,"power":12819,"unknown_104":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":796081632990803968}} 
[2026-09-24 17:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":191332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890996,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:23:10] local.INFO: GPS data processed {"connection_id":191332,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:23:10] local.INFO: Acknowledgment sent {"connection_id":191332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:23:26] local.INFO: TCP Data received {"connection_id":191534,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191534,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:23:26] local.INFO: Processing buffer {"connection_id":191534,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:23:26] local.INFO: IMEI packet received {"connection_id":191534,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":191534,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:23:33] local.INFO: TCP Data received {"connection_id":194190,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:23:33] local.INFO: Processing buffer {"connection_id":194190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:23:33] local.INFO: IMEI packet received {"connection_id":194190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":194190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:23:38] local.INFO: TCP Data received {"connection_id":194190,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:23:38] local.INFO: Processing buffer {"connection_id":194190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:23:38] local.INFO: IMEI packet received {"connection_id":194190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":194190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:23:39] local.INFO: TCP Data received {"connection_id":194190,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:23:39] local.INFO: Processing buffer {"connection_id":194190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:23:39] local.INFO: Packet analysis {"connection_id":194190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:23:39] local.INFO: Extracted packet for processing {"connection_id":194190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:23:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304101376001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790250697000,"timestamp_ms":1790250697000,"timestamp_seconds":1790250697,"priority":1,"record_length":96,"hex_timestamp":"000001a0d341c128"} 
[2026-09-24 17:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304101376001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304101376001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:23:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:23:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304101376001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":194190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:23:39] local.INFO: GPS data processed {"connection_id":194190,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:23:39] local.INFO: Acknowledgment sent {"connection_id":194190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:23:43] local.INFO: TCP Data received {"connection_id":194190,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:23:43] local.INFO: Processing buffer {"connection_id":194190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:23:43] local.INFO: Packet analysis {"connection_id":194190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:23:43] local.INFO: Extracted packet for processing {"connection_id":194190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:23:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304101376001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790250697000,"timestamp_ms":1790250697000,"timestamp_seconds":1790250697,"priority":1,"record_length":96,"hex_timestamp":"000001a0d341c128"} 
[2026-09-24 17:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":194190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":194190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":194190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304101376001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304101376001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:23:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:23:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304101376001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":194190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:23:43] local.INFO: GPS data processed {"connection_id":194190,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:23:43] local.INFO: Acknowledgment sent {"connection_id":194190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:24:28] local.INFO: TCP Data received {"connection_id":192921,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:24:28] local.INFO: Processing buffer {"connection_id":192921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:24:28] local.INFO: IMEI packet received {"connection_id":192921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":192921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:24:33] local.INFO: TCP Data received {"connection_id":192921,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:24:33] local.INFO: Processing buffer {"connection_id":192921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:24:33] local.INFO: IMEI packet received {"connection_id":192921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":192921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:24:35] local.INFO: TCP Data received {"connection_id":192921,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:24:35] local.INFO: Processing buffer {"connection_id":192921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:24:35] local.INFO: Packet analysis {"connection_id":192921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:24:35] local.INFO: Extracted packet for processing {"connection_id":192921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304101376001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790250697000,"timestamp_ms":1790250697000,"timestamp_seconds":1790250697,"priority":1,"record_length":96,"hex_timestamp":"000001a0d341c128"} 
[2026-09-24 17:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:24: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-09-24 17:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304101376001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304101376001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:24:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:24:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304101376001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":192921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":890999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:24:35] local.INFO: GPS data processed {"connection_id":192921,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:24:35] local.INFO: Acknowledgment sent {"connection_id":192921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:24:39] local.INFO: TCP Data received {"connection_id":192921,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:24:39] local.INFO: Processing buffer {"connection_id":192921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:24:39] local.INFO: Packet analysis {"connection_id":192921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:24:39] local.INFO: Extracted packet for processing {"connection_id":192921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:24:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304101376001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790250697000,"timestamp_ms":1790250697000,"timestamp_seconds":1790250697,"priority":1,"record_length":96,"hex_timestamp":"000001a0d341c128"} 
[2026-09-24 17:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304101376001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304101376001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:24:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:24:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304101376001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":192921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:24:39] local.INFO: GPS data processed {"connection_id":192921,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:24:39] local.INFO: Acknowledgment sent {"connection_id":192921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:25:10] local.INFO: TCP Data received {"connection_id":192921,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:25:10] local.INFO: Processing buffer {"connection_id":192921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:25:10] local.INFO: Packet analysis {"connection_id":192921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:25:10] local.INFO: Extracted packet for processing {"connection_id":192921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:25:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304101376001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790250697000,"timestamp_ms":1790250697000,"timestamp_seconds":1790250697,"priority":1,"record_length":96,"hex_timestamp":"000001a0d341c128"} 
[2026-09-24 17:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304101376001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304101376001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:25:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:25:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304101376001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":192921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:25:10] local.INFO: GPS data processed {"connection_id":192921,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:25:10] local.INFO: Acknowledgment sent {"connection_id":192921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:25:20] local.INFO: TCP Data received {"connection_id":194191,"ip":"117.224.246.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:25:20] local.INFO: Processing buffer {"connection_id":194191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:25:20] local.INFO: IMEI packet received {"connection_id":194191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":194191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:25:24] local.INFO: TCP Data received {"connection_id":194191,"ip":"117.224.246.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:25:24] local.INFO: Processing buffer {"connection_id":194191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:25:24] local.INFO: IMEI packet received {"connection_id":194191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":194191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:25:24] local.INFO: TCP Data received {"connection_id":194191,"ip":"117.224.246.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:25:24] local.INFO: Processing buffer {"connection_id":194191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:25:24] local.INFO: IMEI packet received {"connection_id":194191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":194191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:25:27] local.INFO: TCP Data received {"connection_id":194191,"ip":"117.224.246.26","data_length":1360,"data_hex":"000000000000030f8e0a000001a0d3448818012d1c1440071cd4900032009023..."} 
[2026-09-24 17:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194191,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a0d3448818012d1c1440071cd4900032009023..."} 
[2026-09-24 17:25:27] local.INFO: Processing buffer {"connection_id":194191,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a0d3448818012d1c1440071cd4900032009023..."} 
[2026-09-24 17:25:27] local.INFO: Packet analysis {"connection_id":194191,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a0d344"} 
[2026-09-24 17:25:27] local.INFO: Extracted packet for processing {"connection_id":194191,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a0d344"} 
[2026-09-24 17:25:27] local.INFO: GPS Element Parsed {"raw_longitude":756814912,"raw_latitude":119329936,"longitude_deg":75.6814912,"latitude_deg":11.9329936,"altitude":50,"angle":144,"satellites":35,"speed":20,"hex_longitude":"2d1c1440","hex_latitude":"071cd490","is_valid_coordinates":true} 
[2026-09-24 17:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304224768001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22983044310761472,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022890319423860736,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790250879000,"timestamp_ms":1790250879000,"timestamp_seconds":1790250879,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3448818"} 
[2026-09-24 17:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-24 17:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":194191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":194191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":194191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.246.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304224768001,"66":14298,"30":206,"28":31744,"24":20,"16":22983044310761472,"45":2022890319423860736},"client_ip":"117.224.246.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,28,24,16,45]} 
[2026-09-24 17:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304224768001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:25:27] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-24 17:25:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-24 17:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22983044310761472,"km_value":22983044310761.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022890319423860736,"description":"Unknown IO ID 45"} 
[2026-09-24 17:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304224768001,"power":14298,"unknown_30":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":2022890319423860736}} 
[2026-09-24 17:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":194191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:25:27] local.INFO: GPS data processed {"connection_id":194191,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:25:27] local.INFO: Acknowledgment sent {"connection_id":194191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:25:27] local.INFO: Packet analysis {"connection_id":194191,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a0d344"} 
[2026-09-24 17:25:27] local.INFO: Incomplete packet, waiting for more data {"connection_id":194191,"needed":795,"available":565} 
[2026-09-24 17:25:27] local.INFO: TCP Data received {"connection_id":194191,"ip":"117.224.246.26","data_length":230,"data_hex":"2d1c0400071d0778003600b323001e0000000a000400ef0100715700f0010045..."} 
[2026-09-24 17:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194191,"packet_length":230,"packet_hex":"2d1c0400071d0778003600b323001e0000000a000400ef0100715700f0010045..."} 
[2026-09-24 17:25:27] local.INFO: Processing buffer {"connection_id":194191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3448c00012d1c14c0071cd2c0003200a320..."} 
[2026-09-24 17:25:27] local.INFO: Packet analysis {"connection_id":194191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d344"} 
[2026-09-24 17:25:27] local.INFO: Extracted packet for processing {"connection_id":194191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d344"} 
[2026-09-24 17:25:27] local.INFO: GPS Element Parsed {"raw_longitude":756815040,"raw_latitude":119329472,"longitude_deg":75.681504,"latitude_deg":11.9329472,"altitude":50,"angle":163,"satellites":32,"speed":20,"hex_longitude":"2d1c14c0","hex_latitude":"071cd2c0","is_valid_coordinates":true} 
[2026-09-24 17:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304225024001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22983065785597952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2023312531888836608,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790250880000,"timestamp_ms":1790250880000,"timestamp_seconds":1790250880,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3448c00"} 
[2026-09-24 17:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-24 17:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":194191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":194191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":194191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.246.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304225024001,"66":14048,"30":206,"28":31744,"24":20,"16":22983065785597952,"45":2023312531888836608},"client_ip":"117.224.246.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,28,24,16,45]} 
[2026-09-24 17:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304225024001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:25:27] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-24 17:25:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-24 17:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22983065785597952,"km_value":22983065785597.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2023312531888836608,"description":"Unknown IO ID 45"} 
[2026-09-24 17:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304225024001,"power":14048,"unknown_30":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":2023312531888836608}} 
[2026-09-24 17:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":194191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:25:27] local.INFO: GPS data processed {"connection_id":194191,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:25:27] local.INFO: Acknowledgment sent {"connection_id":194191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:25:28] local.INFO: TCP Data received {"connection_id":191333,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:25:28] local.INFO: Processing buffer {"connection_id":191333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:25:28] local.INFO: IMEI packet received {"connection_id":191333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":191333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:25:33] local.INFO: TCP Data received {"connection_id":191333,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:25:33] local.INFO: Processing buffer {"connection_id":191333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:25:33] local.INFO: IMEI packet received {"connection_id":191333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":191333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:25:33] local.INFO: TCP Data received {"connection_id":191535,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191535,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:25:33] local.INFO: Processing buffer {"connection_id":191535,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:25:33] local.INFO: IMEI packet received {"connection_id":191535,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 17:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":191535,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:25:34] local.INFO: TCP Data received {"connection_id":191333,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:25:34] local.INFO: Processing buffer {"connection_id":191333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:25:34] local.INFO: Packet analysis {"connection_id":191333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:25:34] local.INFO: Extracted packet for processing {"connection_id":191333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:25:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304101376001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790250697000,"timestamp_ms":1790250697000,"timestamp_seconds":1790250697,"priority":1,"record_length":96,"hex_timestamp":"000001a0d341c128"} 
[2026-09-24 17:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304101376001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304101376001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:25:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:25:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304101376001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":191333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:25:34] local.INFO: GPS data processed {"connection_id":191333,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:25:34] local.INFO: Acknowledgment sent {"connection_id":191333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:25:44] local.INFO: TCP Data received {"connection_id":191535,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191535,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:25:44] local.INFO: Processing buffer {"connection_id":191535,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:25:44] local.INFO: IMEI packet received {"connection_id":191535,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 17:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":191535,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:25:45] local.INFO: TCP Data received {"connection_id":191535,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0d341b188012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d341b188012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:25:45] local.INFO: Processing buffer {"connection_id":191535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d341b188012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:25:45] local.INFO: Packet analysis {"connection_id":191535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:25:45] local.INFO: Extracted packet for processing {"connection_id":191535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:25:45] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612856,"longitude_deg":75.5698752,"latitude_deg":11.7612856,"altitude":14,"angle":229,"satellites":34,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a138","is_valid_coordinates":true} 
[2026-09-24 17:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304100352001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727703865622528,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796081632990803968,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790250693000,"timestamp_ms":1790250693000,"timestamp_seconds":1790250693,"priority":1,"record_length":96,"hex_timestamp":"000001a0d341b188"} 
[2026-09-24 17:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-24 17:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6993164292,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:45] local.WARNING: Large IO value detected {"io_id":211,"raw_value":4036623849965163264,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:45] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3543667864,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:45] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504114270633984,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:45] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5116353063783039232,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7499057215868239896,"corrected_to":0} 
[2026-09-24 17:25:45] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:45] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837544,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:45] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3542548480,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189028039298997020,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:45] local.WARNING: Large IO value detected {"io_id":46,"raw_value":-2017386786199646626,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:45] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:45] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194992128,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:45] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84736144222651039,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:45] local.WARNING: Large IO value detected {"io_id":144,"raw_value":4223615474073600,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:45] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,36,94,24,241,157,16,211,160,118,45,64,15,32,10,66,18,102,128,1,240,229,227,2,4,113,205,75,136,26,239,55,119,7,46,40,34,69,248,144],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":7499057215868239896,"validated":0}]} 
[2026-09-24 17:25:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009058250722639872,"timestamp_seconds":1009058250722639.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 17:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304100352001,"66":12819,"104":206,"94":10240,"24":0,"16":33727703865622528,"45":796081632990803968},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,94,24,16,45]} 
[2026-09-24 17:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304100352001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:25:45] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-24 17:25:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 17:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33727703865622528,"km_value":33727703865622.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":796081632990803968,"description":"Unknown IO ID 45"} 
[2026-09-24 17:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304100352001,"power":12819,"unknown_104":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":796081632990803968}} 
[2026-09-24 17:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":191535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891005,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:25:46] local.INFO: GPS data processed {"connection_id":191535,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:25:46] local.INFO: Acknowledgment sent {"connection_id":191535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:25:46] local.INFO: TCP Data received {"connection_id":191535,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0d341b188012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d341b188012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:25:46] local.INFO: Processing buffer {"connection_id":191535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d341b188012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:25:46] local.INFO: Packet analysis {"connection_id":191535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:25:46] local.INFO: Extracted packet for processing {"connection_id":191535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:25:46] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612856,"longitude_deg":75.5698752,"latitude_deg":11.7612856,"altitude":14,"angle":229,"satellites":34,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a138","is_valid_coordinates":true} 
[2026-09-24 17:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304100352001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727703865622528,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796081632990803968,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790250693000,"timestamp_ms":1790250693000,"timestamp_seconds":1790250693,"priority":1,"record_length":96,"hex_timestamp":"000001a0d341b188"} 
[2026-09-24 17:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-24 17:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6993164292,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:46] local.WARNING: Large IO value detected {"io_id":211,"raw_value":4036623849965163264,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:46] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3543667864,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:46] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504114270633984,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:46] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5116353063783039232,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7499057215868239896,"corrected_to":0} 
[2026-09-24 17:25:46] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:46] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837544,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:46] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3542548480,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:46] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189028039298997020,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:46] local.WARNING: Large IO value detected {"io_id":46,"raw_value":-2017386786199646626,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:46] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:46] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194992128,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:46] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84736144222651039,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:46] local.WARNING: Large IO value detected {"io_id":144,"raw_value":4223615474073600,"note":"Value kept but may cause issues"} 
[2026-09-24 17:25:46] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,36,94,24,241,157,16,211,160,118,45,64,15,32,10,66,18,102,128,1,240,229,227,2,4,113,205,75,136,26,239,55,119,7,46,40,34,69,248,144],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":7499057215868239896,"validated":0}]} 
[2026-09-24 17:25:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009058250722639872,"timestamp_seconds":1009058250722639.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 17:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304100352001,"66":12819,"104":206,"94":10240,"24":0,"16":33727703865622528,"45":796081632990803968},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,94,24,16,45]} 
[2026-09-24 17:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304100352001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:25:46] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-24 17:25:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 17:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33727703865622528,"km_value":33727703865622.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":796081632990803968,"description":"Unknown IO ID 45"} 
[2026-09-24 17:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304100352001,"power":12819,"unknown_104":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":796081632990803968}} 
[2026-09-24 17:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":191535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891006,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:25:46] local.INFO: GPS data processed {"connection_id":191535,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:25:46] local.INFO: Acknowledgment sent {"connection_id":191535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:25:51] local.INFO: TCP Data received {"connection_id":194192,"ip":"117.224.246.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:25:51] local.INFO: Processing buffer {"connection_id":194192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:25:51] local.INFO: IMEI packet received {"connection_id":194192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":194192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:25:53] local.INFO: TCP Data received {"connection_id":194192,"ip":"117.224.246.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:25:53] local.INFO: Processing buffer {"connection_id":194192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:25:53] local.INFO: IMEI packet received {"connection_id":194192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":194192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:25:57] local.INFO: TCP Data received {"connection_id":194192,"ip":"117.224.246.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:25:57] local.INFO: Processing buffer {"connection_id":194192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:25:57] local.INFO: IMEI packet received {"connection_id":194192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":194192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:25:58] local.INFO: TCP Data received {"connection_id":194192,"ip":"117.224.246.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:25:58] local.INFO: Processing buffer {"connection_id":194192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:25:58] local.INFO: IMEI packet received {"connection_id":194192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":194192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:26:03] local.INFO: TCP Data received {"connection_id":194192,"ip":"117.224.246.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0d344a370012d1c17c0071cc528003100b821..."} 
[2026-09-24 17:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d344a370012d1c17c0071cc528003100b821..."} 
[2026-09-24 17:26:03] local.INFO: Processing buffer {"connection_id":194192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d344a370012d1c17c0071cc528003100b821..."} 
[2026-09-24 17:26:03] local.INFO: Packet analysis {"connection_id":194192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d344"} 
[2026-09-24 17:26:03] local.INFO: Extracted packet for processing {"connection_id":194192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d344"} 
[2026-09-24 17:26:03] local.INFO: GPS Element Parsed {"raw_longitude":756815808,"raw_latitude":119325992,"longitude_deg":75.6815808,"latitude_deg":11.9325992,"altitude":49,"angle":184,"satellites":33,"speed":26,"hex_longitude":"2d1c17c0","hex_latitude":"071cc528","is_valid_coordinates":true} 
[2026-09-24 17:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304225280001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22983241879257088,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2023453269377073152,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790250886000,"timestamp_ms":1790250886000,"timestamp_seconds":1790250886,"priority":1,"record_length":96,"hex_timestamp":"000001a0d344a370"} 
[2026-09-24 17:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:26:03] 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-09-24 17:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-24 17:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.246.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304225280001,"66":14102,"30":206,"28":31744,"24":26,"16":22983241879257088,"45":2023453269377073152},"client_ip":"117.224.246.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,28,24,16,45]} 
[2026-09-24 17:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304225280001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:26:03] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-24 17:26:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-24 17:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22983241879257088,"km_value":22983241879257.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2023453269377073152,"description":"Unknown IO ID 45"} 
[2026-09-24 17:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304225280001,"power":14102,"unknown_30":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":2023453269377073152}} 
[2026-09-24 17:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":194192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:26:03] local.INFO: GPS data processed {"connection_id":194192,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:26:03] local.INFO: Acknowledgment sent {"connection_id":194192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:26:04] local.INFO: TCP Data received {"connection_id":194192,"ip":"117.224.246.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0d344ab40012d1c1640071cbfe8003000c721..."} 
[2026-09-24 17:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d344ab40012d1c1640071cbfe8003000c721..."} 
[2026-09-24 17:26:04] local.INFO: Processing buffer {"connection_id":194192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d344ab40012d1c1640071cbfe8003000c721..."} 
[2026-09-24 17:26:04] local.INFO: Packet analysis {"connection_id":194192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d344"} 
[2026-09-24 17:26:04] local.INFO: Extracted packet for processing {"connection_id":194192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d344"} 
[2026-09-24 17:26:04] local.INFO: GPS Element Parsed {"raw_longitude":756815424,"raw_latitude":119324648,"longitude_deg":75.6815424,"latitude_deg":11.9324648,"altitude":48,"angle":199,"satellites":33,"speed":29,"hex_longitude":"2d1c1640","hex_latitude":"071cbfe8","is_valid_coordinates":true} 
[2026-09-24 17:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304226816001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22983310598733824,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2024297694306314240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790250888000,"timestamp_ms":1790250888000,"timestamp_seconds":1790250888,"priority":1,"record_length":96,"hex_timestamp":"000001a0d344ab40"} 
[2026-09-24 17:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:26:04] 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-09-24 17:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-24 17:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.246.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304226816001,"66":14189,"30":206,"28":31744,"24":29,"16":22983310598733824,"45":2024297694306314240},"client_ip":"117.224.246.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,28,24,16,45]} 
[2026-09-24 17:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304226816001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:26:04] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-24 17:26:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-24 17:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22983310598733824,"km_value":22983310598733.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2024297694306314240,"description":"Unknown IO ID 45"} 
[2026-09-24 17:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304226816001,"power":14189,"unknown_30":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":2024297694306314240}} 
[2026-09-24 17:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":194192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:26:04] local.INFO: GPS data processed {"connection_id":194192,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:26:04] local.INFO: Acknowledgment sent {"connection_id":194192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:26:06] local.INFO: TCP Data received {"connection_id":191333,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:26:06] local.INFO: Processing buffer {"connection_id":191333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:26:06] local.INFO: Packet analysis {"connection_id":191333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:26:06] local.INFO: Extracted packet for processing {"connection_id":191333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:26:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304101376001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790250697000,"timestamp_ms":1790250697000,"timestamp_seconds":1790250697,"priority":1,"record_length":96,"hex_timestamp":"000001a0d341c128"} 
[2026-09-24 17:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304101376001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304101376001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:26:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:26:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304101376001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":191333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:26:06] local.INFO: GPS data processed {"connection_id":191333,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:26:06] local.INFO: Acknowledgment sent {"connection_id":191333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:26:19] local.INFO: TCP Data received {"connection_id":191536,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191536,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:26:19] local.INFO: Processing buffer {"connection_id":191536,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:26:19] local.INFO: IMEI packet received {"connection_id":191536,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-24 17:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":191536,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:26:23] local.INFO: TCP Data received {"connection_id":191536,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191536,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:26:23] local.INFO: Processing buffer {"connection_id":191536,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-24 17:26:23] local.INFO: IMEI packet received {"connection_id":191536,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-24 17:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":191536,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:26:24] local.INFO: TCP Data received {"connection_id":191536,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0d341b188012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d341b188012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:26:24] local.INFO: Processing buffer {"connection_id":191536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d341b188012d0b0c400702a138000e00e522..."} 
[2026-09-24 17:26:24] local.INFO: Packet analysis {"connection_id":191536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:26:24] local.INFO: Extracted packet for processing {"connection_id":191536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:26:24] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612856,"longitude_deg":75.5698752,"latitude_deg":11.7612856,"altitude":14,"angle":229,"satellites":34,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a138","is_valid_coordinates":true} 
[2026-09-24 17:26: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-09-24 17:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304100352001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727703865622528,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796081632990803968,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790250693000,"timestamp_ms":1790250693000,"timestamp_seconds":1790250693,"priority":1,"record_length":96,"hex_timestamp":"000001a0d341b188"} 
[2026-09-24 17:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-24 17:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6993164292,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:24] local.WARNING: Large IO value detected {"io_id":211,"raw_value":4036623849965163264,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:24] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3543667864,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:24] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:24] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504114270633984,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:24] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5116353063783039232,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7499057215868239896,"corrected_to":0} 
[2026-09-24 17:26:24] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:24] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837544,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:24] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3542548480,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:24] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189028039298997020,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:24] local.WARNING: Large IO value detected {"io_id":46,"raw_value":-2017386786199646626,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:24] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:24] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194992128,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:24] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84736144222651039,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:24] local.WARNING: Large IO value detected {"io_id":144,"raw_value":4223615474073600,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:24] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,36,94,24,241,157,16,211,160,118,45,64,15,32,10,66,18,102,128,1,240,229,227,2,4,113,205,75,136,26,239,55,119,7,46,40,34,69,248,144],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":7499057215868239896,"validated":0}]} 
[2026-09-24 17:26:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009058250722639872,"timestamp_seconds":1009058250722639.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 17:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":191536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":191536,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":191536,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-24 17:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-24 17:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-24 17:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304100352001,"66":12819,"104":206,"94":10240,"24":0,"16":33727703865622528,"45":796081632990803968},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,94,24,16,45]} 
[2026-09-24 17:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-24 17:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-24 17:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304100352001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:26:24] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-24 17:26:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-24 17:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33727703865622528,"km_value":33727703865622.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":796081632990803968,"description":"Unknown IO ID 45"} 
[2026-09-24 17:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304100352001,"power":12819,"unknown_104":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":796081632990803968}} 
[2026-09-24 17:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":191536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891010,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:26:24] local.INFO: GPS data processed {"connection_id":191536,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:26:24] local.INFO: Acknowledgment sent {"connection_id":191536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:26:28] local.INFO: TCP Data received {"connection_id":194193,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:26:28] local.INFO: Processing buffer {"connection_id":194193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:26:28] local.INFO: IMEI packet received {"connection_id":194193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":194193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:26:33] local.INFO: TCP Data received {"connection_id":194193,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:26:33] local.INFO: Processing buffer {"connection_id":194193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:26:33] local.INFO: IMEI packet received {"connection_id":194193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":194193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:26:34] local.INFO: TCP Data received {"connection_id":194193,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:26:34] local.INFO: Processing buffer {"connection_id":194193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:26:34] local.INFO: Packet analysis {"connection_id":194193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:26:34] local.INFO: Extracted packet for processing {"connection_id":194193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:26:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304101376001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790250697000,"timestamp_ms":1790250697000,"timestamp_seconds":1790250697,"priority":1,"record_length":96,"hex_timestamp":"000001a0d341c128"} 
[2026-09-24 17:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304101376001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304101376001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:26:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:26:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304101376001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":194193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:26:34] local.INFO: GPS data processed {"connection_id":194193,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:26:34] local.INFO: Acknowledgment sent {"connection_id":194193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:26:43] local.INFO: TCP Data received {"connection_id":191334,"ip":"117.224.246.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:26:43] local.INFO: Processing buffer {"connection_id":191334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:26:43] local.INFO: IMEI packet received {"connection_id":191334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":191334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:27:03] local.INFO: TCP Data received {"connection_id":191334,"ip":"117.224.246.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:27:03] local.INFO: Processing buffer {"connection_id":191334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:27:03] local.INFO: IMEI packet received {"connection_id":191334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":191334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:27:04] local.INFO: TCP Data received {"connection_id":191334,"ip":"117.224.246.26","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-24 17:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191334,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-24 17:27:04] local.INFO: Processing buffer {"connection_id":191334,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-24 17:27:04] local.INFO: IMEI packet received {"connection_id":191334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":191334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:27:05] local.INFO: TCP Data received {"connection_id":194193,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:27:05] local.INFO: Processing buffer {"connection_id":194193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d341c128012d34c14006aa4940000900f52c..."} 
[2026-09-24 17:27:05] local.INFO: Packet analysis {"connection_id":194193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:27:05] local.INFO: Extracted packet for processing {"connection_id":194193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d341"} 
[2026-09-24 17:27:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304101376001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790250697000,"timestamp_ms":1790250697000,"timestamp_seconds":1790250697,"priority":1,"record_length":96,"hex_timestamp":"000001a0d341c128"} 
[2026-09-24 17:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 17:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304101376001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304101376001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:27:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:27:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304101376001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":194193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:27:05] local.INFO: GPS data processed {"connection_id":194193,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:27:05] local.INFO: Acknowledgment sent {"connection_id":194193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:27:28] local.INFO: TCP Data received {"connection_id":194194,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:27:28] local.INFO: Processing buffer {"connection_id":194194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:27:28] local.INFO: IMEI packet received {"connection_id":194194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":194194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:27:33] local.INFO: TCP Data received {"connection_id":194194,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:27:33] local.INFO: Processing buffer {"connection_id":194194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:27:33] local.INFO: IMEI packet received {"connection_id":194194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":194194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:27:34] local.INFO: TCP Data received {"connection_id":194194,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:27:34] local.INFO: Processing buffer {"connection_id":194194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:27:34] local.INFO: Packet analysis {"connection_id":194194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d346"} 
[2026-09-24 17:27:34] local.INFO: Extracted packet for processing {"connection_id":194194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d346"} 
[2026-09-24 17:27:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304178432001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790250998000,"timestamp_ms":1790250998000,"timestamp_seconds":1790250998,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34658f0"} 
[2026-09-24 17:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 17:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304178432001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304178432001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:27:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:27:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304178432001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":194194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:27:34] local.INFO: GPS data processed {"connection_id":194194,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:27:34] local.INFO: Acknowledgment sent {"connection_id":194194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:28:05] local.INFO: TCP Data received {"connection_id":194194,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:28:05] local.INFO: Processing buffer {"connection_id":194194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:28:05] local.INFO: Packet analysis {"connection_id":194194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d346"} 
[2026-09-24 17:28:05] local.INFO: Extracted packet for processing {"connection_id":194194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d346"} 
[2026-09-24 17:28:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304178432001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790250998000,"timestamp_ms":1790250998000,"timestamp_seconds":1790250998,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34658f0"} 
[2026-09-24 17:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 17:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304178432001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304178432001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:28:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:28:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304178432001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":194194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:28:05] local.INFO: GPS data processed {"connection_id":194194,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:28:05] local.INFO: Acknowledgment sent {"connection_id":194194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:28:33] local.INFO: TCP Data received {"connection_id":194195,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:28:33] local.INFO: Processing buffer {"connection_id":194195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:28:33] local.INFO: IMEI packet received {"connection_id":194195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":194195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:28:38] local.INFO: TCP Data received {"connection_id":194195,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:28:38] local.INFO: Processing buffer {"connection_id":194195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:28:38] local.INFO: IMEI packet received {"connection_id":194195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":194195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:28:38] local.INFO: TCP Data received {"connection_id":194195,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:28:38] local.INFO: Processing buffer {"connection_id":194195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:28:38] local.INFO: Packet analysis {"connection_id":194195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d346"} 
[2026-09-24 17:28:38] local.INFO: Extracted packet for processing {"connection_id":194195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d346"} 
[2026-09-24 17:28:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304178432001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790250998000,"timestamp_ms":1790250998000,"timestamp_seconds":1790250998,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34658f0"} 
[2026-09-24 17:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 17:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304178432001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304178432001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:28:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:28:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304178432001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":194195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:28:38] local.INFO: GPS data processed {"connection_id":194195,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:28:38] local.INFO: Acknowledgment sent {"connection_id":194195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:28:43] local.INFO: TCP Data received {"connection_id":194195,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:28:43] local.INFO: Processing buffer {"connection_id":194195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:28:43] local.INFO: Packet analysis {"connection_id":194195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d346"} 
[2026-09-24 17:28:43] local.INFO: Extracted packet for processing {"connection_id":194195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d346"} 
[2026-09-24 17:28:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304178432001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790250998000,"timestamp_ms":1790250998000,"timestamp_seconds":1790250998,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34658f0"} 
[2026-09-24 17:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 17:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":194195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":194195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":194195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304178432001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304178432001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:28:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:28:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304178432001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":194195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:28:43] local.INFO: GPS data processed {"connection_id":194195,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:28:43] local.INFO: Acknowledgment sent {"connection_id":194195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:29:06] local.INFO: TCP Data received {"connection_id":194196,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:29:06] local.INFO: Processing buffer {"connection_id":194196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:29:06] local.INFO: IMEI packet received {"connection_id":194196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":194196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:29:28] local.INFO: TCP Data received {"connection_id":191537,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:29:28] local.INFO: Processing buffer {"connection_id":191537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:29:28] local.INFO: IMEI packet received {"connection_id":191537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":191537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:29:33] local.INFO: TCP Data received {"connection_id":191537,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:29:33] local.INFO: Processing buffer {"connection_id":191537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:29:33] local.INFO: IMEI packet received {"connection_id":191537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":191537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:29:34] local.INFO: TCP Data received {"connection_id":191537,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:29:34] local.INFO: Processing buffer {"connection_id":191537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:29:34] local.INFO: Packet analysis {"connection_id":191537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d346"} 
[2026-09-24 17:29:34] local.INFO: Extracted packet for processing {"connection_id":191537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d346"} 
[2026-09-24 17:29:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304178432001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790250998000,"timestamp_ms":1790250998000,"timestamp_seconds":1790250998,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34658f0"} 
[2026-09-24 17:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 17:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304178432001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304178432001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:29:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:29:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304178432001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":191537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:29:34] local.INFO: GPS data processed {"connection_id":191537,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:29:34] local.INFO: Acknowledgment sent {"connection_id":191537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:30:05] local.INFO: TCP Data received {"connection_id":191537,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:30:05] local.INFO: Processing buffer {"connection_id":191537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:30:05] local.INFO: Packet analysis {"connection_id":191537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d346"} 
[2026-09-24 17:30:05] local.INFO: Extracted packet for processing {"connection_id":191537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d346"} 
[2026-09-24 17:30:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304178432001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790250998000,"timestamp_ms":1790250998000,"timestamp_seconds":1790250998,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34658f0"} 
[2026-09-24 17:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 17:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304178432001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304178432001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:30:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:30:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304178432001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":191537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:30:05] local.INFO: GPS data processed {"connection_id":191537,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:30:05] local.INFO: Acknowledgment sent {"connection_id":191537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:30:10] local.INFO: TCP Data received {"connection_id":192924,"ip":"85.217.149.2","data_length":8,"data_hex":"3030303030303030..."} 
[2026-09-24 17:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192924,"packet_length":8,"packet_hex":"3030303030303030..."} 
[2026-09-24 17:30:10] local.INFO: Processing buffer {"connection_id":192924,"buffer_length":8,"buffer_hex":"3030303030303030..."} 
[2026-09-24 17:30:28] local.INFO: TCP Data received {"connection_id":192925,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:30:28] local.INFO: Processing buffer {"connection_id":192925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:30:28] local.INFO: IMEI packet received {"connection_id":192925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":192925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:30:33] local.INFO: TCP Data received {"connection_id":192925,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:30:33] local.INFO: Processing buffer {"connection_id":192925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:30:33] local.INFO: IMEI packet received {"connection_id":192925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":192925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:30:34] local.INFO: TCP Data received {"connection_id":192925,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:30:34] local.INFO: Processing buffer {"connection_id":192925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:30:34] local.INFO: Packet analysis {"connection_id":192925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d346"} 
[2026-09-24 17:30:34] local.INFO: Extracted packet for processing {"connection_id":192925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d346"} 
[2026-09-24 17:30:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304178432001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790250998000,"timestamp_ms":1790250998000,"timestamp_seconds":1790250998,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34658f0"} 
[2026-09-24 17:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 17:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304178432001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304178432001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:30:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:30:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304178432001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":192925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:30:34] local.INFO: GPS data processed {"connection_id":192925,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:30:34] local.INFO: Acknowledgment sent {"connection_id":192925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:31:05] local.INFO: TCP Data received {"connection_id":192925,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:31:05] local.INFO: Processing buffer {"connection_id":192925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:31:05] local.INFO: Packet analysis {"connection_id":192925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d346"} 
[2026-09-24 17:31:05] local.INFO: Extracted packet for processing {"connection_id":192925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d346"} 
[2026-09-24 17:31:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304178432001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790250998000,"timestamp_ms":1790250998000,"timestamp_seconds":1790250998,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34658f0"} 
[2026-09-24 17:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 17:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304178432001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304178432001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:31:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:31:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304178432001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":192925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:31:05] local.INFO: GPS data processed {"connection_id":192925,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:31:05] local.INFO: Acknowledgment sent {"connection_id":192925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:31:28] local.INFO: TCP Data received {"connection_id":191538,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:31:28] local.INFO: Processing buffer {"connection_id":191538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:31:28] local.INFO: IMEI packet received {"connection_id":191538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":191538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:31:33] local.INFO: TCP Data received {"connection_id":191538,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:31:33] local.INFO: Processing buffer {"connection_id":191538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:31:33] local.INFO: IMEI packet received {"connection_id":191538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":191538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:31:34] local.INFO: TCP Data received {"connection_id":191538,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:31:34] local.INFO: Processing buffer {"connection_id":191538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:31:34] local.INFO: Packet analysis {"connection_id":191538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d346"} 
[2026-09-24 17:31:34] local.INFO: Extracted packet for processing {"connection_id":191538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d346"} 
[2026-09-24 17:31:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304178432001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790250998000,"timestamp_ms":1790250998000,"timestamp_seconds":1790250998,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34658f0"} 
[2026-09-24 17:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 17:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304178432001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304178432001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:31:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:31:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304178432001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":191538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:31:34] local.INFO: GPS data processed {"connection_id":191538,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:31:34] local.INFO: Acknowledgment sent {"connection_id":191538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:32:05] local.INFO: TCP Data received {"connection_id":191538,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:32:05] local.INFO: Processing buffer {"connection_id":191538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34658f0012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:32:05] local.INFO: Packet analysis {"connection_id":191538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d346"} 
[2026-09-24 17:32:05] local.INFO: Extracted packet for processing {"connection_id":191538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d346"} 
[2026-09-24 17:32:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304178432001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790250998000,"timestamp_ms":1790250998000,"timestamp_seconds":1790250998,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34658f0"} 
[2026-09-24 17:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 17:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304178432001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304178432001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:32:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:32:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304178432001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":191538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:32:05] local.INFO: GPS data processed {"connection_id":191538,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:32:05] local.INFO: Acknowledgment sent {"connection_id":191538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:32:28] local.INFO: TCP Data received {"connection_id":192926,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:32:28] local.INFO: Processing buffer {"connection_id":192926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:32:28] local.INFO: IMEI packet received {"connection_id":192926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":192926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:32:33] local.INFO: TCP Data received {"connection_id":192926,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:32:33] local.INFO: Processing buffer {"connection_id":192926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:32:33] local.INFO: IMEI packet received {"connection_id":192926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":192926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:32:34] local.INFO: TCP Data received {"connection_id":192926,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:32:34] local.INFO: Processing buffer {"connection_id":192926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:32:34] local.INFO: Packet analysis {"connection_id":192926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34a"} 
[2026-09-24 17:32:34] local.INFO: Extracted packet for processing {"connection_id":192926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34a"} 
[2026-09-24 17:32:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304255488001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790251299000,"timestamp_ms":1790251299000,"timestamp_seconds":1790251299,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34af0b8"} 
[2026-09-24 17:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304255488001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304255488001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:32:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:32:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304255488001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":192926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:32:34] local.INFO: GPS data processed {"connection_id":192926,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:32:34] local.INFO: Acknowledgment sent {"connection_id":192926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:33:05] local.INFO: TCP Data received {"connection_id":192926,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:33:05] local.INFO: Processing buffer {"connection_id":192926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:33:05] local.INFO: Packet analysis {"connection_id":192926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34a"} 
[2026-09-24 17:33:05] local.INFO: Extracted packet for processing {"connection_id":192926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34a"} 
[2026-09-24 17:33:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304255488001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790251299000,"timestamp_ms":1790251299000,"timestamp_seconds":1790251299,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34af0b8"} 
[2026-09-24 17:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304255488001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304255488001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:33:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:33:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304255488001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":192926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:33:05] local.INFO: GPS data processed {"connection_id":192926,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:33:05] local.INFO: Acknowledgment sent {"connection_id":192926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:33:28] local.INFO: TCP Data received {"connection_id":194198,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:33:28] local.INFO: Processing buffer {"connection_id":194198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:33:28] local.INFO: IMEI packet received {"connection_id":194198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":194198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:33:33] local.INFO: TCP Data received {"connection_id":194198,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:33:33] local.INFO: Processing buffer {"connection_id":194198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:33:33] local.INFO: IMEI packet received {"connection_id":194198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":194198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:33:34] local.INFO: TCP Data received {"connection_id":194198,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:33:34] local.INFO: Processing buffer {"connection_id":194198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:33:34] local.INFO: Packet analysis {"connection_id":194198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34a"} 
[2026-09-24 17:33:34] local.INFO: Extracted packet for processing {"connection_id":194198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34a"} 
[2026-09-24 17:33:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304255488001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790251299000,"timestamp_ms":1790251299000,"timestamp_seconds":1790251299,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34af0b8"} 
[2026-09-24 17:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304255488001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304255488001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:33:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:33:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304255488001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":194198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:33:34] local.INFO: GPS data processed {"connection_id":194198,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:33:34] local.INFO: Acknowledgment sent {"connection_id":194198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:34:05] local.INFO: TCP Data received {"connection_id":194198,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:34:05] local.INFO: Processing buffer {"connection_id":194198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:34:05] local.INFO: Packet analysis {"connection_id":194198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34a"} 
[2026-09-24 17:34:05] local.INFO: Extracted packet for processing {"connection_id":194198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34a"} 
[2026-09-24 17:34:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304255488001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790251299000,"timestamp_ms":1790251299000,"timestamp_seconds":1790251299,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34af0b8"} 
[2026-09-24 17:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:34: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-09-24 17:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304255488001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304255488001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:34:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:34:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304255488001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":194198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:34:05] local.INFO: GPS data processed {"connection_id":194198,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:34:05] local.INFO: Acknowledgment sent {"connection_id":194198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:34:28] local.INFO: TCP Data received {"connection_id":191338,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:34:28] local.INFO: Processing buffer {"connection_id":191338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:34:28] local.INFO: IMEI packet received {"connection_id":191338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":191338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:34:33] local.INFO: TCP Data received {"connection_id":191338,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:34:33] local.INFO: Processing buffer {"connection_id":191338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:34:33] local.INFO: IMEI packet received {"connection_id":191338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":191338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:34:34] local.INFO: TCP Data received {"connection_id":191338,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:34:34] local.INFO: Processing buffer {"connection_id":191338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:34:34] local.INFO: Packet analysis {"connection_id":191338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34a"} 
[2026-09-24 17:34:34] local.INFO: Extracted packet for processing {"connection_id":191338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34a"} 
[2026-09-24 17:34:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304255488001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790251299000,"timestamp_ms":1790251299000,"timestamp_seconds":1790251299,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34af0b8"} 
[2026-09-24 17:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304255488001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304255488001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:34:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:34:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304255488001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":191338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:34:34] local.INFO: GPS data processed {"connection_id":191338,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:34:34] local.INFO: Acknowledgment sent {"connection_id":191338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:35:05] local.INFO: TCP Data received {"connection_id":191338,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:35:05] local.INFO: Processing buffer {"connection_id":191338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:35:05] local.INFO: Packet analysis {"connection_id":191338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34a"} 
[2026-09-24 17:35:05] local.INFO: Extracted packet for processing {"connection_id":191338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34a"} 
[2026-09-24 17:35:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304255488001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790251299000,"timestamp_ms":1790251299000,"timestamp_seconds":1790251299,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34af0b8"} 
[2026-09-24 17:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304255488001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304255488001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:35:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:35:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304255488001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":191338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:35:05] local.INFO: GPS data processed {"connection_id":191338,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:35:05] local.INFO: Acknowledgment sent {"connection_id":191338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:35:28] local.INFO: TCP Data received {"connection_id":194199,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:35:28] local.INFO: Processing buffer {"connection_id":194199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:35:28] local.INFO: IMEI packet received {"connection_id":194199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":194199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:35:33] local.INFO: TCP Data received {"connection_id":194199,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:35:34] local.INFO: Processing buffer {"connection_id":194199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:35:34] local.INFO: IMEI packet received {"connection_id":194199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":194199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:35:35] local.INFO: TCP Data received {"connection_id":194199,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:35:36] local.INFO: Processing buffer {"connection_id":194199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:35:36] local.INFO: Packet analysis {"connection_id":194199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34a"} 
[2026-09-24 17:35:36] local.INFO: Extracted packet for processing {"connection_id":194199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34a"} 
[2026-09-24 17:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304255488001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790251299000,"timestamp_ms":1790251299000,"timestamp_seconds":1790251299,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34af0b8"} 
[2026-09-24 17:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":194199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":194199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":194199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304255488001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304255488001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:35:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304255488001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":194199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:35:36] local.INFO: GPS data processed {"connection_id":194199,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:35:36] local.INFO: Acknowledgment sent {"connection_id":194199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:35:38] local.INFO: TCP Data received {"connection_id":191539,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:35:38] local.INFO: Processing buffer {"connection_id":191539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:35:38] local.INFO: IMEI packet received {"connection_id":191539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":191539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:35:44] local.INFO: TCP Data received {"connection_id":192927,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:35:44] local.INFO: Processing buffer {"connection_id":192927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:35:44] local.INFO: IMEI packet received {"connection_id":192927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":192927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:35:49] local.INFO: TCP Data received {"connection_id":192927,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:35:49] local.INFO: Processing buffer {"connection_id":192927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:35:49] local.INFO: IMEI packet received {"connection_id":192927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":192927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:35:50] local.INFO: TCP Data received {"connection_id":192927,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34d2b08012d1d8980071b3060004300c326..."} 
[2026-09-24 17:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34d2b08012d1d8980071b3060004300c326..."} 
[2026-09-24 17:35:50] local.INFO: Processing buffer {"connection_id":192927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34d2b08012d1d8980071b3060004300c326..."} 
[2026-09-24 17:35:50] local.INFO: Packet analysis {"connection_id":192927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34d"} 
[2026-09-24 17:35:50] local.INFO: Extracted packet for processing {"connection_id":192927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34d"} 
[2026-09-24 17:35:50] local.INFO: GPS Element Parsed {"raw_longitude":756910464,"raw_latitude":119222368,"longitude_deg":75.6910464,"latitude_deg":11.9222368,"altitude":67,"angle":195,"satellites":38,"speed":4,"hex_longitude":"2d1d8980","hex_latitude":"071b3060","is_valid_coordinates":true} 
[2026-09-24 17:35: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-09-24 17:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304369664001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997672969371648,"note":"Value kept but may cause issues"} 
[2026-09-24 17:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128373066918574080,"note":"Value kept but may cause issues"} 
[2026-09-24 17:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,17,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790251445000,"timestamp_ms":1790251445000,"timestamp_seconds":1790251445,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34d2b08"} 
[2026-09-24 17:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 17:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:35: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-09-24 17:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304369664001,"66":12798,"235":206,"17":42496,"24":4,"16":22997672969371648,"45":2128373066918574080},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,17,24,16,45]} 
[2026-09-24 17:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304369664001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:35:50] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-24 17:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997672969371648,"km_value":22997672969371.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128373066918574080,"description":"Unknown IO ID 45"} 
[2026-09-24 17:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304369664001,"power":12798,"unknown_235":206,"axis_x":42496,"ignition":4,"odometer":null,"unknown_45":2128373066918574080}} 
[2026-09-24 17:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":192927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:35:50] local.INFO: GPS data processed {"connection_id":192927,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:35:50] local.INFO: Acknowledgment sent {"connection_id":192927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:35:51] local.INFO: TCP Data received {"connection_id":191539,"ip":"117.224.9.235","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-24 17:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191539,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-24 17:35:51] local.INFO: Processing buffer {"connection_id":191539,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-24 17:35:51] local.INFO: IMEI packet received {"connection_id":191539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":191539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:35:59] local.INFO: TCP Data received {"connection_id":191539,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34c40a8012ca0cf40079a4700001f009d31..."} 
[2026-09-24 17:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34c40a8012ca0cf40079a4700001f009d31..."} 
[2026-09-24 17:35:59] local.INFO: Processing buffer {"connection_id":191539,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a0d3..."} 
[2026-09-24 17:35:59] local.INFO: IMEI packet received {"connection_id":191539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":191539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:36:05] local.INFO: TCP Data received {"connection_id":191540,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:36:05] local.INFO: Processing buffer {"connection_id":191540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:36:05] local.INFO: IMEI packet received {"connection_id":191540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":191540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:36:06] local.INFO: TCP Data received {"connection_id":191540,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:36:06] local.INFO: Processing buffer {"connection_id":191540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:36:06] local.INFO: IMEI packet received {"connection_id":191540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":191540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:36:06] local.INFO: TCP Data received {"connection_id":194199,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:36:06] local.INFO: Processing buffer {"connection_id":194199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:36:06] local.INFO: Packet analysis {"connection_id":194199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34a"} 
[2026-09-24 17:36:06] local.INFO: Extracted packet for processing {"connection_id":194199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34a"} 
[2026-09-24 17:36:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304255488001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790251299000,"timestamp_ms":1790251299000,"timestamp_seconds":1790251299,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34af0b8"} 
[2026-09-24 17:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304255488001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304255488001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:36:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:36:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304255488001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":194199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:36:06] local.INFO: GPS data processed {"connection_id":194199,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:36:06] local.INFO: Acknowledgment sent {"connection_id":194199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:36:12] local.INFO: TCP Data received {"connection_id":191540,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:36:12] local.INFO: Processing buffer {"connection_id":191540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:36:12] local.INFO: IMEI packet received {"connection_id":191540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":191540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:36:13] local.INFO: TCP Data received {"connection_id":191540,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34c9698012ca0f300079a17780024009131..."} 
[2026-09-24 17:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34c9698012ca0f300079a17780024009131..."} 
[2026-09-24 17:36:13] local.INFO: Processing buffer {"connection_id":191540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34c9698012ca0f300079a17780024009131..."} 
[2026-09-24 17:36:13] local.INFO: Packet analysis {"connection_id":191540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34c"} 
[2026-09-24 17:36:13] local.INFO: Extracted packet for processing {"connection_id":191540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34c"} 
[2026-09-24 17:36:13] local.INFO: GPS Element Parsed {"raw_longitude":748745472,"raw_latitude":127539064,"longitude_deg":74.8745472,"latitude_deg":12.7539064,"altitude":36,"angle":145,"satellites":49,"speed":28,"hex_longitude":"2ca0f300","hex_latitude":"079a1778","is_valid_coordinates":true} 
[2026-09-24 17:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304354560001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:36:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6859193306064683008,"note":"Value kept but may cause issues"} 
[2026-09-24 17:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790251407000,"timestamp_ms":1790251407000,"timestamp_seconds":1790251407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34c9698"} 
[2026-09-24 17:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 17:36:13] 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-09-24 17:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304354560001,"66":28300,"3":206,"85":36096,"24":28,"16":3605341577150464,"44":-6859193306064683008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-09-24 17:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304354560001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:36:13] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-24 17:36:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-09-24 17:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:36:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6859193306064683008,"description":"Unknown IO ID 44"} 
[2026-09-24 17:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304354560001,"power":28300,"unknown_3":206,"unknown_85":36096,"ignition":28,"odometer":null,"unknown_44":-6859193306064683008}} 
[2026-09-24 17:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":191540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891032,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:36:13] local.INFO: GPS data processed {"connection_id":191540,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:36:13] local.INFO: Acknowledgment sent {"connection_id":191540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:36:21] local.INFO: TCP Data received {"connection_id":192927,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34d2ef0012d1d8980071b2fe8004300a926..."} 
[2026-09-24 17:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34d2ef0012d1d8980071b2fe8004300a926..."} 
[2026-09-24 17:36:21] local.INFO: Processing buffer {"connection_id":192927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34d2ef0012d1d8980071b2fe8004300a926..."} 
[2026-09-24 17:36:21] local.INFO: Packet analysis {"connection_id":192927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34d"} 
[2026-09-24 17:36:21] local.INFO: Extracted packet for processing {"connection_id":192927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34d"} 
[2026-09-24 17:36:21] local.INFO: GPS Element Parsed {"raw_longitude":756910464,"raw_latitude":119222248,"longitude_deg":75.6910464,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":38,"speed":5,"hex_longitude":"2d1d8980","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304369920001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997677264338944,"note":"Value kept but may cause issues"} 
[2026-09-24 17:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128373066918551552,"note":"Value kept but may cause issues"} 
[2026-09-24 17:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,17,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790251446000,"timestamp_ms":1790251446000,"timestamp_seconds":1790251446,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34d2ef0"} 
[2026-09-24 17:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 17:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":192927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":192927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":192927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304369920001,"66":12667,"235":206,"17":42496,"24":5,"16":22997677264338944,"45":2128373066918551552},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,17,24,16,45]} 
[2026-09-24 17:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304369920001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:36:21] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-24 17:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997677264338944,"km_value":22997677264338.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128373066918551552,"description":"Unknown IO ID 45"} 
[2026-09-24 17:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304369920001,"power":12667,"unknown_235":206,"axis_x":42496,"ignition":5,"odometer":null,"unknown_45":2128373066918551552}} 
[2026-09-24 17:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":192927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:36:21] local.INFO: GPS data processed {"connection_id":192927,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:36:21] local.INFO: Acknowledgment sent {"connection_id":192927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:36:33] local.INFO: TCP Data received {"connection_id":191339,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:36:33] local.INFO: Processing buffer {"connection_id":191339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:36:33] local.INFO: IMEI packet received {"connection_id":191339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":191339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:36:38] local.INFO: TCP Data received {"connection_id":191339,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:36:38] local.INFO: Processing buffer {"connection_id":191339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:36:38] local.INFO: IMEI packet received {"connection_id":191339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":191339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:36:39] local.INFO: TCP Data received {"connection_id":191339,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:36:39] local.INFO: Processing buffer {"connection_id":191339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:36:39] local.INFO: Packet analysis {"connection_id":191339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34a"} 
[2026-09-24 17:36:39] local.INFO: Extracted packet for processing {"connection_id":191339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34a"} 
[2026-09-24 17:36:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304255488001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790251299000,"timestamp_ms":1790251299000,"timestamp_seconds":1790251299,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34af0b8"} 
[2026-09-24 17:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304255488001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304255488001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:36:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:36:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304255488001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":191339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:36:39] local.INFO: GPS data processed {"connection_id":191339,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:36:39] local.INFO: Acknowledgment sent {"connection_id":191339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:36:43] local.INFO: TCP Data received {"connection_id":191339,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:36:43] local.INFO: Processing buffer {"connection_id":191339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34af0b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:36:43] local.INFO: Packet analysis {"connection_id":191339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34a"} 
[2026-09-24 17:36:43] local.INFO: Extracted packet for processing {"connection_id":191339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34a"} 
[2026-09-24 17:36:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304255488001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790251299000,"timestamp_ms":1790251299000,"timestamp_seconds":1790251299,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34af0b8"} 
[2026-09-24 17:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304255488001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304255488001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:36:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:36:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304255488001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":191339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:36:43] local.INFO: GPS data processed {"connection_id":191339,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:36:43] local.INFO: Acknowledgment sent {"connection_id":191339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:36:44] local.INFO: TCP Data received {"connection_id":191541,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:36:44] local.INFO: Processing buffer {"connection_id":191541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:36:44] local.INFO: IMEI packet received {"connection_id":191541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":191541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:36:45] local.INFO: TCP Data received {"connection_id":191540,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34d7d100100000000000000000000000000..."} 
[2026-09-24 17:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34d7d100100000000000000000000000000..."} 
[2026-09-24 17:36:45] local.INFO: Processing buffer {"connection_id":191540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34d7d100100000000000000000000000000..."} 
[2026-09-24 17:36:45] local.INFO: Packet analysis {"connection_id":191540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34d"} 
[2026-09-24 17:36:45] local.INFO: Extracted packet for processing {"connection_id":191540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34d"} 
[2026-09-24 17:36:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 17:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304360192001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:36:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6849130575650392064,"note":"Value kept but may cause issues"} 
[2026-09-24 17:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790251466000,"timestamp_ms":1790251466000,"timestamp_seconds":1790251466,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34d7d10"} 
[2026-09-24 17:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 17:36:45] 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-09-24 17:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":191540,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 17:36:45] local.INFO: GPS data processed {"connection_id":191540,"processed":0,"errors":0,"total":1} 
[2026-09-24 17:36:45] local.INFO: Acknowledgment sent {"connection_id":191540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:36:50] local.INFO: TCP Data received {"connection_id":191541,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:36:50] local.INFO: Processing buffer {"connection_id":191541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:36:50] local.INFO: IMEI packet received {"connection_id":191541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":191541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:36:50] local.INFO: TCP Data received {"connection_id":191541,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34d80f8012d1d8980071b2fe8004300a925..."} 
[2026-09-24 17:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34d80f8012d1d8980071b2fe8004300a925..."} 
[2026-09-24 17:36:50] local.INFO: Processing buffer {"connection_id":191541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34d80f8012d1d8980071b2fe8004300a925..."} 
[2026-09-24 17:36:50] local.INFO: Packet analysis {"connection_id":191541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34d"} 
[2026-09-24 17:36:50] local.INFO: Extracted packet for processing {"connection_id":191541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34d"} 
[2026-09-24 17:36:50] local.INFO: GPS Element Parsed {"raw_longitude":756910464,"raw_latitude":119222248,"longitude_deg":75.6910464,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":37,"speed":0,"hex_longitude":"2d1d8980","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304370176001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128373066918520832,"note":"Value kept but may cause issues"} 
[2026-09-24 17:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,17,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790251467000,"timestamp_ms":1790251467000,"timestamp_seconds":1790251467,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34d80f8"} 
[2026-09-24 17:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-24 17:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304370176001,"66":12743,"235":206,"17":42496,"24":0,"16":22997681559306240,"45":2128373066918520832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,17,24,16,45]} 
[2026-09-24 17:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304370176001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:36:50] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-24 17:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128373066918520832,"description":"Unknown IO ID 45"} 
[2026-09-24 17:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304370176001,"power":12743,"unknown_235":206,"axis_x":42496,"ignition":0,"odometer":null,"unknown_45":2128373066918520832}} 
[2026-09-24 17:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":191541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:36:50] local.INFO: GPS data processed {"connection_id":191541,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:36:50] local.INFO: Acknowledgment sent {"connection_id":191541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:37:21] local.INFO: TCP Data received {"connection_id":191541,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34dbb90012d1d8980071b2fe8004300a922..."} 
[2026-09-24 17:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34dbb90012d1d8980071b2fe8004300a922..."} 
[2026-09-24 17:37:21] local.INFO: Processing buffer {"connection_id":191541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34dbb90012d1d8980071b2fe8004300a922..."} 
[2026-09-24 17:37:21] local.INFO: Packet analysis {"connection_id":191541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34d"} 
[2026-09-24 17:37:21] local.INFO: Extracted packet for processing {"connection_id":191541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34d"} 
[2026-09-24 17:37:21] local.INFO: GPS Element Parsed {"raw_longitude":756910464,"raw_latitude":119222248,"longitude_deg":75.6910464,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d1d8980","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:37:21] 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-09-24 17:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304375552001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128373066918520832,"note":"Value kept but may cause issues"} 
[2026-09-24 17:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790251482000,"timestamp_ms":1790251482000,"timestamp_seconds":1790251482,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34dbb90"} 
[2026-09-24 17:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-24 17:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304375552001,"66":12722,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128373066918520832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304375552001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:37:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:37:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128373066918520832,"description":"Unknown IO ID 45"} 
[2026-09-24 17:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304375552001,"power":12722,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128373066918520832}} 
[2026-09-24 17:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":191541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:37:22] local.INFO: GPS data processed {"connection_id":191541,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:37:22] local.INFO: Acknowledgment sent {"connection_id":191541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:37:22] local.INFO: TCP Data received {"connection_id":191340,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:37:22] local.INFO: Processing buffer {"connection_id":191340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:37:22] local.INFO: IMEI packet received {"connection_id":191340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":191340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:37:28] local.INFO: TCP Data received {"connection_id":191341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:37:28] local.INFO: Processing buffer {"connection_id":191341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:37:28] local.INFO: IMEI packet received {"connection_id":191341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":191341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:37:33] local.INFO: TCP Data received {"connection_id":191341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:37:33] local.INFO: Processing buffer {"connection_id":191341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:37:33] local.INFO: IMEI packet received {"connection_id":191341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":191341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:37:34] local.INFO: TCP Data received {"connection_id":191341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:37:34] local.INFO: Processing buffer {"connection_id":191341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:37:34] local.INFO: Packet analysis {"connection_id":191341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:37:34] local.INFO: Extracted packet for processing {"connection_id":191341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:37:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304332544001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790251600000,"timestamp_ms":1790251600000,"timestamp_seconds":1790251600,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34f8880"} 
[2026-09-24 17:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304332544001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304332544001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:37:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:37:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304332544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":191341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:37:34] local.INFO: GPS data processed {"connection_id":191341,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:37:34] local.INFO: Acknowledgment sent {"connection_id":191341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:37:38] local.INFO: TCP Data received {"connection_id":191341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:37:38] local.INFO: Processing buffer {"connection_id":191341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:37:38] local.INFO: Packet analysis {"connection_id":191341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:37:38] local.INFO: Extracted packet for processing {"connection_id":191341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:37:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304332544001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790251600000,"timestamp_ms":1790251600000,"timestamp_seconds":1790251600,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34f8880"} 
[2026-09-24 17:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304332544001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304332544001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:37:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:37:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304332544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":191341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:37:38] local.INFO: GPS data processed {"connection_id":191341,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:37:38] local.INFO: Acknowledgment sent {"connection_id":191341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:37:41] local.INFO: TCP Data received {"connection_id":191542,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:37:41] local.INFO: Processing buffer {"connection_id":191542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:37:41] local.INFO: IMEI packet received {"connection_id":191542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":191542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:37:42] local.INFO: TCP Data received {"connection_id":191542,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:37:42] local.INFO: Processing buffer {"connection_id":191542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:37:42] local.INFO: IMEI packet received {"connection_id":191542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":191542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:37:44] local.INFO: TCP Data received {"connection_id":194200,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:37:44] local.INFO: Processing buffer {"connection_id":194200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:37:44] local.INFO: IMEI packet received {"connection_id":194200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":194200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:37:46] local.INFO: TCP Data received {"connection_id":191542,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:37:46] local.INFO: Processing buffer {"connection_id":191542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:37:46] local.INFO: IMEI packet received {"connection_id":191542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":191542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:37:47] local.INFO: TCP Data received {"connection_id":191542,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34f6558012ca2774007971c38000d00bd31..."} 
[2026-09-24 17:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34f6558012ca2774007971c38000d00bd31..."} 
[2026-09-24 17:37:47] local.INFO: Processing buffer {"connection_id":191542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34f6558012ca2774007971c38000d00bd31..."} 
[2026-09-24 17:37:47] local.INFO: Packet analysis {"connection_id":191542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:37:47] local.INFO: Extracted packet for processing {"connection_id":191542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:37:47] local.INFO: GPS Element Parsed {"raw_longitude":748844864,"raw_latitude":127343672,"longitude_deg":74.8844864,"latitude_deg":12.7343672,"altitude":13,"angle":189,"satellites":49,"speed":59,"hex_longitude":"2ca27740","hex_latitude":"07971c38","is_valid_coordinates":true} 
[2026-09-24 17:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:37:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,72,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 17:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790251591000,"timestamp_ms":1790251591000,"timestamp_seconds":1790251591,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34f6558"} 
[2026-09-24 17:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 17:37: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-09-24 17:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28332,"72":206,"27":54016,"24":59,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,27,24,16]} 
[2026-09-24 17:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 17:37:47] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-24 17:37:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:37:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28332,"unknown_72":206,"unknown_27":54016,"ignition":59,"odometer":null}} 
[2026-09-24 17:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":191542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891040,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:37:47] local.INFO: GPS data processed {"connection_id":191542,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:37:47] local.INFO: Acknowledgment sent {"connection_id":191542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:37:50] local.INFO: TCP Data received {"connection_id":194200,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:37:50] local.INFO: Processing buffer {"connection_id":194200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:37:50] local.INFO: IMEI packet received {"connection_id":194200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":194200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:37:51] local.INFO: TCP Data received {"connection_id":194200,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34dbb90012d1d8980071b2fe8004300a922..."} 
[2026-09-24 17:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34dbb90012d1d8980071b2fe8004300a922..."} 
[2026-09-24 17:37:51] local.INFO: Processing buffer {"connection_id":194200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34dbb90012d1d8980071b2fe8004300a922..."} 
[2026-09-24 17:37:51] local.INFO: Packet analysis {"connection_id":194200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34d"} 
[2026-09-24 17:37:51] local.INFO: Extracted packet for processing {"connection_id":194200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34d"} 
[2026-09-24 17:37:51] local.INFO: GPS Element Parsed {"raw_longitude":756910464,"raw_latitude":119222248,"longitude_deg":75.6910464,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d1d8980","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304379392001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128373066918520832,"note":"Value kept but may cause issues"} 
[2026-09-24 17:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790251482000,"timestamp_ms":1790251482000,"timestamp_seconds":1790251482,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34dbb90"} 
[2026-09-24 17:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 17:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304379392001,"66":12722,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128373066918520832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304379392001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:37:51] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:37:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128373066918520832,"description":"Unknown IO ID 45"} 
[2026-09-24 17:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304379392001,"power":12722,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128373066918520832}} 
[2026-09-24 17:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":194200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:37:51] local.INFO: GPS data processed {"connection_id":194200,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:37:51] local.INFO: Acknowledgment sent {"connection_id":194200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:38:09] local.INFO: TCP Data received {"connection_id":191341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:38:09] local.INFO: Processing buffer {"connection_id":191341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:38:09] local.INFO: Packet analysis {"connection_id":191341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:38:09] local.INFO: Extracted packet for processing {"connection_id":191341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304332544001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790251600000,"timestamp_ms":1790251600000,"timestamp_seconds":1790251600,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34f8880"} 
[2026-09-24 17:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17: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-09-24 17:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:38: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-09-24 17:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304332544001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304332544001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:38:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304332544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":191341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:38:09] local.INFO: GPS data processed {"connection_id":191341,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:38:09] local.INFO: Acknowledgment sent {"connection_id":191341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:38:11] local.INFO: TCP Data received {"connection_id":191342,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:38:11] local.INFO: Processing buffer {"connection_id":191342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:38:11] local.INFO: IMEI packet received {"connection_id":191342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":191342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:38:17] local.INFO: TCP Data received {"connection_id":191342,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:38:17] local.INFO: Processing buffer {"connection_id":191342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:38:17] local.INFO: IMEI packet received {"connection_id":191342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":191342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:38:19] local.INFO: TCP Data received {"connection_id":191342,"ip":"117.224.9.235","data_length":812,"data_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a0d3..."} 
[2026-09-24 17:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191342,"packet_length":812,"packet_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a0d3..."} 
[2026-09-24 17:38:19] local.INFO: Processing buffer {"connection_id":191342,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a0d3..."} 
[2026-09-24 17:38:19] local.INFO: IMEI packet received {"connection_id":191342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":191342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:38:22] local.INFO: TCP Data received {"connection_id":191342,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34fe258012ca261c007966840001100ac31..."} 
[2026-09-24 17:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34fe258012ca261c007966840001100ac31..."} 
[2026-09-24 17:38:22] local.INFO: Processing buffer {"connection_id":191342,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0d34fb760012ca269c00796c1d8000d00bc32..."} 
[2026-09-24 17:38:22] local.INFO: Packet analysis {"connection_id":191342,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:38:22] local.INFO: Extracted packet for processing {"connection_id":191342,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:38:22] local.INFO: GPS Element Parsed {"raw_longitude":748841408,"raw_latitude":127320536,"longitude_deg":74.8841408,"latitude_deg":12.7320536,"altitude":13,"angle":188,"satellites":50,"speed":0,"hex_longitude":"2ca269c0","hex_latitude":"0796c1d8","is_valid_coordinates":true} 
[2026-09-24 17:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304407296001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:38:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6739847915992500224,"note":"Value kept but may cause issues"} 
[2026-09-24 17:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790251612000,"timestamp_ms":1790251612000,"timestamp_seconds":1790251612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34fb760"} 
[2026-09-24 17:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 17:38:22] 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-09-24 17:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304407296001,"66":28452,"73":206,"27":54016,"24":0,"16":3605341577150464,"44":-6739847915992500224},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,27,24,16,44]} 
[2026-09-24 17:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304407296001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:38:22] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-24 17:38:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:38:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6739847915992500224,"description":"Unknown IO ID 44"} 
[2026-09-24 17:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304407296001,"power":28452,"unknown_73":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6739847915992500224}} 
[2026-09-24 17:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":191342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891043,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:38:22] local.INFO: GPS data processed {"connection_id":191342,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:38:22] local.INFO: Acknowledgment sent {"connection_id":191342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:38:22] local.INFO: Packet analysis {"connection_id":191342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:38:22] local.INFO: Extracted packet for processing {"connection_id":191342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:38:22] local.INFO: GPS Element Parsed {"raw_longitude":748839360,"raw_latitude":127297600,"longitude_deg":74.883936,"latitude_deg":12.72976,"altitude":17,"angle":172,"satellites":49,"speed":58,"hex_longitude":"2ca261c0","hex_latitude":"07966840","is_valid_coordinates":true} 
[2026-09-24 17:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304412672001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:38:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6743647828184016896,"note":"Value kept but may cause issues"} 
[2026-09-24 17:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790251623000,"timestamp_ms":1790251623000,"timestamp_seconds":1790251623,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34fe258"} 
[2026-09-24 17:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-24 17:38:22] 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-09-24 17:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304412672001,"66":28430,"73":206,"27":54016,"24":58,"16":3605341577150464,"44":-6743647828184016896},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,27,24,16,44]} 
[2026-09-24 17:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304412672001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:38:22] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-24 17:38:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:38:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6743647828184016896,"description":"Unknown IO ID 44"} 
[2026-09-24 17:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304412672001,"power":28430,"unknown_73":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-6743647828184016896}} 
[2026-09-24 17:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":191342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891044,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:38:22] local.INFO: GPS data processed {"connection_id":191342,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:38:22] local.INFO: Acknowledgment sent {"connection_id":191342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:38:23] local.INFO: TCP Data received {"connection_id":194200,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34dbb90012d1d8980071b2fe8004300a922..."} 
[2026-09-24 17:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34dbb90012d1d8980071b2fe8004300a922..."} 
[2026-09-24 17:38:23] local.INFO: Processing buffer {"connection_id":194200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34dbb90012d1d8980071b2fe8004300a922..."} 
[2026-09-24 17:38:23] local.INFO: Packet analysis {"connection_id":194200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34d"} 
[2026-09-24 17:38:23] local.INFO: Extracted packet for processing {"connection_id":194200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34d"} 
[2026-09-24 17:38:23] local.INFO: GPS Element Parsed {"raw_longitude":756910464,"raw_latitude":119222248,"longitude_deg":75.6910464,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d1d8980","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304379392001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128373066918520832,"note":"Value kept but may cause issues"} 
[2026-09-24 17:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790251482000,"timestamp_ms":1790251482000,"timestamp_seconds":1790251482,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34dbb90"} 
[2026-09-24 17:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 17:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304379392001,"66":12722,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128373066918520832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304379392001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:38:23] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:38:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128373066918520832,"description":"Unknown IO ID 45"} 
[2026-09-24 17:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304379392001,"power":12722,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128373066918520832}} 
[2026-09-24 17:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":194200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:38:23] local.INFO: GPS data processed {"connection_id":194200,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:38:23] local.INFO: Acknowledgment sent {"connection_id":194200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:38:27] local.INFO: TCP Data received {"connection_id":191342,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35020d8012ca28b0007961748000e008533..."} 
[2026-09-24 17:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35020d8012ca28b0007961748000e008533..."} 
[2026-09-24 17:38:27] local.INFO: Processing buffer {"connection_id":191342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35020d8012ca28b0007961748000e008533..."} 
[2026-09-24 17:38:27] local.INFO: Packet analysis {"connection_id":191342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d350"} 
[2026-09-24 17:38:27] local.INFO: Extracted packet for processing {"connection_id":191342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d350"} 
[2026-09-24 17:38:27] local.INFO: GPS Element Parsed {"raw_longitude":748849920,"raw_latitude":127276872,"longitude_deg":74.884992,"latitude_deg":12.7276872,"altitude":14,"angle":133,"satellites":51,"speed":58,"hex_longitude":"2ca28b00","hex_latitude":"07961748","is_valid_coordinates":true} 
[2026-09-24 17:38: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-09-24 17:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304415488001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:38:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6745899628003573760,"note":"Value kept but may cause issues"} 
[2026-09-24 17:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790251639000,"timestamp_ms":1790251639000,"timestamp_seconds":1790251639,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35020d8"} 
[2026-09-24 17:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:38: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 17:38:27] 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-09-24 17:38: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-09-24 17:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304415488001,"66":28376,"73":206,"27":54016,"24":58,"16":3605341577150464,"44":-6745899628003573760},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,27,24,16,44]} 
[2026-09-24 17:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304415488001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:38:27] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-24 17:38:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:38:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6745899628003573760,"description":"Unknown IO ID 44"} 
[2026-09-24 17:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304415488001,"power":28376,"unknown_73":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-6745899628003573760}} 
[2026-09-24 17:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":191342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891046,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:38:27] local.INFO: GPS data processed {"connection_id":191342,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:38:27] local.INFO: Acknowledgment sent {"connection_id":191342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:38:28] local.INFO: TCP Data received {"connection_id":194201,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:38:28] local.INFO: Processing buffer {"connection_id":194201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:38:28] local.INFO: IMEI packet received {"connection_id":194201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":194201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:38:33] local.INFO: TCP Data received {"connection_id":194201,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:38:33] local.INFO: Processing buffer {"connection_id":194201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:38:33] local.INFO: IMEI packet received {"connection_id":194201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":194201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:38:34] local.INFO: TCP Data received {"connection_id":194201,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:38:34] local.INFO: Processing buffer {"connection_id":194201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:38:34] local.INFO: Packet analysis {"connection_id":194201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:38:34] local.INFO: Extracted packet for processing {"connection_id":194201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:38:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304332544001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790251600000,"timestamp_ms":1790251600000,"timestamp_seconds":1790251600,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34f8880"} 
[2026-09-24 17:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304332544001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304332544001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:38:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:38:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304332544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":194201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:38:34] local.INFO: GPS data processed {"connection_id":194201,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:38:34] local.INFO: Acknowledgment sent {"connection_id":194201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:38:50] local.INFO: TCP Data received {"connection_id":194202,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:38:50] local.INFO: Processing buffer {"connection_id":194202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:38:50] local.INFO: IMEI packet received {"connection_id":194202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":194202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:38:55] local.INFO: TCP Data received {"connection_id":194202,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:38:55] local.INFO: Processing buffer {"connection_id":194202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:38:55] local.INFO: IMEI packet received {"connection_id":194202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":194202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:38:55] local.INFO: TCP Data received {"connection_id":194202,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34dbb90012d1d8980071b2fe8004300a922..."} 
[2026-09-24 17:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34dbb90012d1d8980071b2fe8004300a922..."} 
[2026-09-24 17:38:55] local.INFO: Processing buffer {"connection_id":194202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34dbb90012d1d8980071b2fe8004300a922..."} 
[2026-09-24 17:38:55] local.INFO: Packet analysis {"connection_id":194202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34d"} 
[2026-09-24 17:38:55] local.INFO: Extracted packet for processing {"connection_id":194202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34d"} 
[2026-09-24 17:38:55] local.INFO: GPS Element Parsed {"raw_longitude":756910464,"raw_latitude":119222248,"longitude_deg":75.6910464,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d1d8980","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304379392001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128373066918520832,"note":"Value kept but may cause issues"} 
[2026-09-24 17:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790251482000,"timestamp_ms":1790251482000,"timestamp_seconds":1790251482,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34dbb90"} 
[2026-09-24 17:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 17:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:38: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-09-24 17:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304379392001,"66":12722,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128373066918520832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304379392001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:38:56] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:38:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128373066918520832,"description":"Unknown IO ID 45"} 
[2026-09-24 17:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304379392001,"power":12722,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128373066918520832}} 
[2026-09-24 17:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":194202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:38:56] local.INFO: GPS data processed {"connection_id":194202,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:38:56] local.INFO: Acknowledgment sent {"connection_id":194202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:39:00] local.INFO: TCP Data received {"connection_id":194202,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34dbb90012d1d8980071b2fe8004300a922..."} 
[2026-09-24 17:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34dbb90012d1d8980071b2fe8004300a922..."} 
[2026-09-24 17:39:00] local.INFO: Processing buffer {"connection_id":194202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34dbb90012d1d8980071b2fe8004300a922..."} 
[2026-09-24 17:39:00] local.INFO: Packet analysis {"connection_id":194202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34d"} 
[2026-09-24 17:39:00] local.INFO: Extracted packet for processing {"connection_id":194202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34d"} 
[2026-09-24 17:39:00] local.INFO: GPS Element Parsed {"raw_longitude":756910464,"raw_latitude":119222248,"longitude_deg":75.6910464,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d1d8980","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304379392001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128373066918520832,"note":"Value kept but may cause issues"} 
[2026-09-24 17:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790251482000,"timestamp_ms":1790251482000,"timestamp_seconds":1790251482,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34dbb90"} 
[2026-09-24 17:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 17:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":194202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":194202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":194202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304379392001,"66":12722,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128373066918520832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304379392001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:39:00] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:39:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128373066918520832,"description":"Unknown IO ID 45"} 
[2026-09-24 17:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304379392001,"power":12722,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128373066918520832}} 
[2026-09-24 17:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":194202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:39:00] local.INFO: GPS data processed {"connection_id":194202,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:39:00] local.INFO: Acknowledgment sent {"connection_id":194202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:39:05] local.INFO: TCP Data received {"connection_id":194201,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:39:05] local.INFO: Processing buffer {"connection_id":194201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:39:05] local.INFO: Packet analysis {"connection_id":194201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:39:05] local.INFO: Extracted packet for processing {"connection_id":194201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:39:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304332544001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790251600000,"timestamp_ms":1790251600000,"timestamp_seconds":1790251600,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34f8880"} 
[2026-09-24 17:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304332544001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304332544001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:39:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:39:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304332544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":194201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:39:05] local.INFO: GPS data processed {"connection_id":194201,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:39:05] local.INFO: Acknowledgment sent {"connection_id":194201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:39:22] local.INFO: TCP Data received {"connection_id":191343,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:39:22] local.INFO: Processing buffer {"connection_id":191343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:39:22] local.INFO: IMEI packet received {"connection_id":191343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":191343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:39:23] local.INFO: TCP Data received {"connection_id":191343,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:39:23] local.INFO: Processing buffer {"connection_id":191343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:39:23] local.INFO: IMEI packet received {"connection_id":191343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":191343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:39:26] local.INFO: TCP Data received {"connection_id":191343,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3505f58012ca2d9400795e530000a007831..."} 
[2026-09-24 17:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3505f58012ca2d9400795e530000a007831..."} 
[2026-09-24 17:39:26] local.INFO: Processing buffer {"connection_id":191343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3505f58012ca2d9400795e530000a007831..."} 
[2026-09-24 17:39:26] local.INFO: Packet analysis {"connection_id":191343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d350"} 
[2026-09-24 17:39:26] local.INFO: Extracted packet for processing {"connection_id":191343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d350"} 
[2026-09-24 17:39:26] local.INFO: GPS Element Parsed {"raw_longitude":748869952,"raw_latitude":127264048,"longitude_deg":74.8869952,"latitude_deg":12.7264048,"altitude":10,"angle":120,"satellites":49,"speed":57,"hex_longitude":"2ca2d940","hex_latitude":"0795e530","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304419584001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:39:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6734288785219565568,"note":"Value kept but may cause issues"} 
[2026-09-24 17:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790251655000,"timestamp_ms":1790251655000,"timestamp_seconds":1790251655,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3505f58"} 
[2026-09-24 17:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 17:39:26] 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-09-24 17: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-09-24 17:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191343,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191343,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304419584001,"66":28430,"73":206,"27":54016,"24":57,"16":3605341577150464,"44":-6734288785219565568},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,27,24,16,44]} 
[2026-09-24 17:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304419584001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:39:26] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-24 17:39:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:39:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6734288785219565568,"description":"Unknown IO ID 44"} 
[2026-09-24 17:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304419584001,"power":28430,"unknown_73":206,"unknown_27":54016,"ignition":57,"odometer":null,"unknown_44":-6734288785219565568}} 
[2026-09-24 17:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":191343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891051,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:39:26] local.INFO: GPS data processed {"connection_id":191343,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:39:26] local.INFO: Acknowledgment sent {"connection_id":191343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:39:27] local.INFO: TCP Data received {"connection_id":194203,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:39:28] local.INFO: Processing buffer {"connection_id":194203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:39:28] local.INFO: IMEI packet received {"connection_id":194203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":194203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:39:29] local.INFO: TCP Data received {"connection_id":191343,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d350b160012ca328800795b6400009007a2d..."} 
[2026-09-24 17:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d350b160012ca328800795b6400009007a2d..."} 
[2026-09-24 17:39:29] local.INFO: Processing buffer {"connection_id":191343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d350b160012ca328800795b6400009007a2d..."} 
[2026-09-24 17:39:29] local.INFO: Packet analysis {"connection_id":191343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d350"} 
[2026-09-24 17:39:29] local.INFO: Extracted packet for processing {"connection_id":191343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d350"} 
[2026-09-24 17:39:29] local.INFO: GPS Element Parsed {"raw_longitude":748890240,"raw_latitude":127252032,"longitude_deg":74.889024,"latitude_deg":12.7252032,"altitude":9,"angle":122,"satellites":45,"speed":0,"hex_longitude":"2ca32880","hex_latitude":"0795b640","is_valid_coordinates":true} 
[2026-09-24 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-09-24 17:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304423680001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:39:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6712263368295239680,"note":"Value kept but may cause issues"} 
[2026-09-24 17:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790251676000,"timestamp_ms":1790251676000,"timestamp_seconds":1790251676,"priority":1,"record_length":96,"hex_timestamp":"000001a0d350b160"} 
[2026-09-24 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-09-24 17:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 17:39:29] 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-09-24 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-09-24 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-09-24 17:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":191343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":191343,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":191343,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304423680001,"66":28452,"73":206,"27":54016,"24":0,"16":3605341577150464,"44":-6712263368295239680},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,27,24,16,44]} 
[2026-09-24 17:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304423680001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:39:29] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-24 17:39:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:39:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6712263368295239680,"description":"Unknown IO ID 44"} 
[2026-09-24 17:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304423680001,"power":28452,"unknown_73":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6712263368295239680}} 
[2026-09-24 17:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":191343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891052,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:39:29] local.INFO: GPS data processed {"connection_id":191343,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:39:29] local.INFO: Acknowledgment sent {"connection_id":191343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:39:33] local.INFO: TCP Data received {"connection_id":194203,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:39:33] local.INFO: Processing buffer {"connection_id":194203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:39:33] local.INFO: IMEI packet received {"connection_id":194203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":194203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:39:34] local.INFO: TCP Data received {"connection_id":194203,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:39:34] local.INFO: Processing buffer {"connection_id":194203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:39:34] local.INFO: Packet analysis {"connection_id":194203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:39:34] local.INFO: Extracted packet for processing {"connection_id":194203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:39:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304332544001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790251600000,"timestamp_ms":1790251600000,"timestamp_seconds":1790251600,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34f8880"} 
[2026-09-24 17:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304332544001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304332544001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:39:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:39:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304332544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":194203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:39:34] local.INFO: GPS data processed {"connection_id":194203,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:39:34] local.INFO: Acknowledgment sent {"connection_id":194203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:39:44] local.INFO: TCP Data received {"connection_id":191543,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:39:44] local.INFO: Processing buffer {"connection_id":191543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:39:44] local.INFO: IMEI packet received {"connection_id":191543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":191543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:39:50] local.INFO: TCP Data received {"connection_id":191543,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:39:50] local.INFO: Processing buffer {"connection_id":191543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:39:50] local.INFO: IMEI packet received {"connection_id":191543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":191543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:39:51] local.INFO: TCP Data received {"connection_id":191543,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34dbb90012d1d8980071b2fe8004300a922..."} 
[2026-09-24 17:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34dbb90012d1d8980071b2fe8004300a922..."} 
[2026-09-24 17:39:51] local.INFO: Processing buffer {"connection_id":191543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34dbb90012d1d8980071b2fe8004300a922..."} 
[2026-09-24 17:39:51] local.INFO: Packet analysis {"connection_id":191543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34d"} 
[2026-09-24 17:39:51] local.INFO: Extracted packet for processing {"connection_id":191543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34d"} 
[2026-09-24 17:39:51] local.INFO: GPS Element Parsed {"raw_longitude":756910464,"raw_latitude":119222248,"longitude_deg":75.6910464,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d1d8980","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304379392001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128373066918520832,"note":"Value kept but may cause issues"} 
[2026-09-24 17:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790251482000,"timestamp_ms":1790251482000,"timestamp_seconds":1790251482,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34dbb90"} 
[2026-09-24 17:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 17:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304379392001,"66":12722,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128373066918520832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304379392001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:39:51] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:39:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128373066918520832,"description":"Unknown IO ID 45"} 
[2026-09-24 17:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304379392001,"power":12722,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128373066918520832}} 
[2026-09-24 17:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":191543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:39:51] local.INFO: GPS data processed {"connection_id":191543,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:39:51] local.INFO: Acknowledgment sent {"connection_id":191543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:40:05] local.INFO: TCP Data received {"connection_id":192928,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:40:05] local.INFO: Processing buffer {"connection_id":192928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:40:05] local.INFO: IMEI packet received {"connection_id":192928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":192928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:40:06] local.INFO: TCP Data received {"connection_id":194203,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:40:06] local.INFO: Processing buffer {"connection_id":194203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:40:06] local.INFO: Packet analysis {"connection_id":194203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:40:06] local.INFO: Extracted packet for processing {"connection_id":194203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:40:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304332544001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790251600000,"timestamp_ms":1790251600000,"timestamp_seconds":1790251600,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34f8880"} 
[2026-09-24 17:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:40: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-09-24 17:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304332544001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304332544001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:40:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:40:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304332544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":194203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:40:06] local.INFO: GPS data processed {"connection_id":194203,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:40:06] local.INFO: Acknowledgment sent {"connection_id":194203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:40:14] local.INFO: TCP Data received {"connection_id":192928,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:40:14] local.INFO: Processing buffer {"connection_id":192928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:40:14] local.INFO: IMEI packet received {"connection_id":192928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":192928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:40:14] local.INFO: TCP Data received {"connection_id":192928,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:40:14] local.INFO: Processing buffer {"connection_id":192928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:40:14] local.INFO: IMEI packet received {"connection_id":192928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":192928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:40:19] local.INFO: TCP Data received {"connection_id":192928,"ip":"117.224.9.235","data_length":812,"data_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a0d3..."} 
[2026-09-24 17:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192928,"packet_length":812,"packet_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a0d3..."} 
[2026-09-24 17:40:19] local.INFO: Processing buffer {"connection_id":192928,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a0d3..."} 
[2026-09-24 17:40:19] local.INFO: IMEI packet received {"connection_id":192928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":192928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:40:22] local.INFO: TCP Data received {"connection_id":191543,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34dbb90012d1d8980071b2fe8004300a922..."} 
[2026-09-24 17:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34dbb90012d1d8980071b2fe8004300a922..."} 
[2026-09-24 17:40:22] local.INFO: Processing buffer {"connection_id":191543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34dbb90012d1d8980071b2fe8004300a922..."} 
[2026-09-24 17:40:22] local.INFO: Packet analysis {"connection_id":191543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34d"} 
[2026-09-24 17:40:22] local.INFO: Extracted packet for processing {"connection_id":191543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34d"} 
[2026-09-24 17:40:22] local.INFO: GPS Element Parsed {"raw_longitude":756910464,"raw_latitude":119222248,"longitude_deg":75.6910464,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":34,"speed":0,"hex_longitude":"2d1d8980","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304379392001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128373066918520832,"note":"Value kept but may cause issues"} 
[2026-09-24 17:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790251482000,"timestamp_ms":1790251482000,"timestamp_seconds":1790251482,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34dbb90"} 
[2026-09-24 17:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 17:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304379392001,"66":12722,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128373066918520832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304379392001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:40:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:40:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128373066918520832,"description":"Unknown IO ID 45"} 
[2026-09-24 17:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304379392001,"power":12722,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128373066918520832}} 
[2026-09-24 17:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":191543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:40:22] local.INFO: GPS data processed {"connection_id":191543,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:40:22] local.INFO: Acknowledgment sent {"connection_id":191543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:40:28] local.INFO: TCP Data received {"connection_id":194204,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:40:28] local.INFO: Processing buffer {"connection_id":194204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:40:28] local.INFO: IMEI packet received {"connection_id":194204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":194204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:40:28] local.INFO: TCP Data received {"connection_id":192928,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3511ad8012ca3bec007954b58000800882c..."} 
[2026-09-24 17:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3511ad8012ca3bec007954b58000800882c..."} 
[2026-09-24 17:40:28] local.INFO: Processing buffer {"connection_id":192928,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0d35197d80100000000000000000000000000..."} 
[2026-09-24 17:40:28] local.INFO: Packet analysis {"connection_id":192928,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d351"} 
[2026-09-24 17:40:28] local.INFO: Extracted packet for processing {"connection_id":192928,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d351"} 
[2026-09-24 17:40:28] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 17:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304429056001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:40:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6689956476393996288,"note":"Value kept but may cause issues"} 
[2026-09-24 17:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790251735000,"timestamp_ms":1790251735000,"timestamp_seconds":1790251735,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35197d8"} 
[2026-09-24 17:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-24 17:40:28] 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-09-24 17:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":192928,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 17:40:28] local.INFO: GPS data processed {"connection_id":192928,"processed":0,"errors":0,"total":1} 
[2026-09-24 17:40:28] local.INFO: Acknowledgment sent {"connection_id":192928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:40:28] local.INFO: Packet analysis {"connection_id":192928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d351"} 
[2026-09-24 17:40:28] local.INFO: Extracted packet for processing {"connection_id":192928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d351"} 
[2026-09-24 17:40:28] local.INFO: GPS Element Parsed {"raw_longitude":748928704,"raw_latitude":127224664,"longitude_deg":74.8928704,"latitude_deg":12.7224664,"altitude":8,"angle":136,"satellites":44,"speed":59,"hex_longitude":"2ca3bec0","hex_latitude":"07954b58","is_valid_coordinates":true} 
[2026-09-24 17:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:40:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,73,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 17:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790251703000,"timestamp_ms":1790251703000,"timestamp_seconds":1790251703,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3511ad8"} 
[2026-09-24 17:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:40:28] 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-09-24 17:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"73":206,"27":54016,"24":59,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,27,24,16]} 
[2026-09-24 17:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 17:40:28] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-24 17:40:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:40:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_73":206,"unknown_27":54016,"ignition":59,"odometer":null}} 
[2026-09-24 17:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":192928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891057,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:40:28] local.INFO: GPS data processed {"connection_id":192928,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:40:28] local.INFO: Acknowledgment sent {"connection_id":192928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:40:29] local.INFO: TCP Data received {"connection_id":192928,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3516ce0012ca3fa80079501c00003008f30..."} 
[2026-09-24 17:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3516ce0012ca3fa80079501c00003008f30..."} 
[2026-09-24 17:40:29] local.INFO: Processing buffer {"connection_id":192928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3516ce0012ca3fa80079501c00003008f30..."} 
[2026-09-24 17:40:29] local.INFO: Packet analysis {"connection_id":192928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d351"} 
[2026-09-24 17:40:29] local.INFO: Extracted packet for processing {"connection_id":192928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d351"} 
[2026-09-24 17:40:29] local.INFO: GPS Element Parsed {"raw_longitude":748944000,"raw_latitude":127205824,"longitude_deg":74.8944,"latitude_deg":12.7205824,"altitude":3,"angle":143,"satellites":48,"speed":0,"hex_longitude":"2ca3fa80","hex_latitude":"079501c0","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304435968001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:40:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6647664861150226432,"note":"Value kept but may cause issues"} 
[2026-09-24 17:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790251724000,"timestamp_ms":1790251724000,"timestamp_seconds":1790251724,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3516ce0"} 
[2026-09-24 17:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 17:40:29] 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-09-24 17: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-09-24 17:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":192928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":192928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":192928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304435968001,"66":28430,"145":206,"27":54016,"24":0,"16":3605341577150464,"44":-6647664861150226432},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,27,24,16,44]} 
[2026-09-24 17:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304435968001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:40:29] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-24 17:40:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:40:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6647664861150226432,"description":"Unknown IO ID 44"} 
[2026-09-24 17:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304435968001,"power":28430,"unknown_145":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6647664861150226432}} 
[2026-09-24 17:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":192928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891058,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:40:29] local.INFO: GPS data processed {"connection_id":192928,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:40:29] local.INFO: Acknowledgment sent {"connection_id":192928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:40:33] local.INFO: TCP Data received {"connection_id":194204,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:40:33] local.INFO: Processing buffer {"connection_id":194204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:40:33] local.INFO: IMEI packet received {"connection_id":194204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":194204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:40:34] local.INFO: TCP Data received {"connection_id":194204,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:40:34] local.INFO: Processing buffer {"connection_id":194204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:40:34] local.INFO: Packet analysis {"connection_id":194204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:40:34] local.INFO: Extracted packet for processing {"connection_id":194204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:40:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304332544001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790251600000,"timestamp_ms":1790251600000,"timestamp_seconds":1790251600,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34f8880"} 
[2026-09-24 17:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304332544001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304332544001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:40:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:40:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304332544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":194204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:40:34] local.INFO: GPS data processed {"connection_id":194204,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:40:34] local.INFO: Acknowledgment sent {"connection_id":194204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:40:45] local.INFO: TCP Data received {"connection_id":191344,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:40:45] local.INFO: Processing buffer {"connection_id":191344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:40:45] local.INFO: IMEI packet received {"connection_id":191344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":191344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:40:50] local.INFO: TCP Data received {"connection_id":191344,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:40:50] local.INFO: Processing buffer {"connection_id":191344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:40:50] local.INFO: IMEI packet received {"connection_id":191344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":191344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:40:50] local.INFO: TCP Data received {"connection_id":191344,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:40:50] local.INFO: Processing buffer {"connection_id":191344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:40:50] local.INFO: Packet analysis {"connection_id":191344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:40:50] local.INFO: Extracted packet for processing {"connection_id":191344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:40:50] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":38,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304379392001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128373066918520832,"note":"Value kept but may cause issues"} 
[2026-09-24 17:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790251788000,"timestamp_ms":1790251788000,"timestamp_seconds":1790251788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35266e0"} 
[2026-09-24 17:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 17:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304379392001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128373066918520832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304379392001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:40:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:40:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128373066918520832,"description":"Unknown IO ID 45"} 
[2026-09-24 17:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304379392001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128373066918520832}} 
[2026-09-24 17:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":191344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:40:51] local.INFO: GPS data processed {"connection_id":191344,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:40:51] local.INFO: Acknowledgment sent {"connection_id":191344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:41:05] local.INFO: TCP Data received {"connection_id":194204,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:41:05] local.INFO: Processing buffer {"connection_id":194204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:41:05] local.INFO: Packet analysis {"connection_id":194204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:41:05] local.INFO: Extracted packet for processing {"connection_id":194204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:41:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304332544001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790251600000,"timestamp_ms":1790251600000,"timestamp_seconds":1790251600,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34f8880"} 
[2026-09-24 17:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:41: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-09-24 17:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304332544001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304332544001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:41:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:41:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304332544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":194204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:41:05] local.INFO: GPS data processed {"connection_id":194204,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:41:05] local.INFO: Acknowledgment sent {"connection_id":194204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:41:06] local.INFO: TCP Data received {"connection_id":192929,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:41:06] local.INFO: Processing buffer {"connection_id":192929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:41:06] local.INFO: IMEI packet received {"connection_id":192929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":192929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:41:10] local.INFO: TCP Data received {"connection_id":192929,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:41:10] local.INFO: Processing buffer {"connection_id":192929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:41:10] local.INFO: IMEI packet received {"connection_id":192929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":192929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:41:11] local.INFO: TCP Data received {"connection_id":192929,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:41:11] local.INFO: Processing buffer {"connection_id":192929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:41:11] local.INFO: IMEI packet received {"connection_id":192929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":192929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:41:15] local.INFO: TCP Data received {"connection_id":192929,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35253580100000000000000000000000000..."} 
[2026-09-24 17:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35253580100000000000000000000000000..."} 
[2026-09-24 17:41:15] local.INFO: Processing buffer {"connection_id":192929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35253580100000000000000000000000000..."} 
[2026-09-24 17:41:15] local.INFO: Packet analysis {"connection_id":192929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:41:15] local.INFO: Extracted packet for processing {"connection_id":192929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:41:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 17:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304441344001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:41:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6630846731296587776,"note":"Value kept but may cause issues"} 
[2026-09-24 17:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790251783000,"timestamp_ms":1790251783000,"timestamp_seconds":1790251783,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3525358"} 
[2026-09-24 17:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 17:41:15] 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-09-24 17:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":192929,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 17:41:15] local.INFO: GPS data processed {"connection_id":192929,"processed":0,"errors":0,"total":1} 
[2026-09-24 17:41:15] local.INFO: Acknowledgment sent {"connection_id":192929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:41:22] local.INFO: TCP Data received {"connection_id":191344,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:41:22] local.INFO: Processing buffer {"connection_id":191344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:41:22] local.INFO: Packet analysis {"connection_id":191344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:41:22] local.INFO: Extracted packet for processing {"connection_id":191344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:41:22] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":38,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304379392001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128373066918520832,"note":"Value kept but may cause issues"} 
[2026-09-24 17:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790251788000,"timestamp_ms":1790251788000,"timestamp_seconds":1790251788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35266e0"} 
[2026-09-24 17:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 17:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304379392001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128373066918520832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304379392001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:41:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:41:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128373066918520832,"description":"Unknown IO ID 45"} 
[2026-09-24 17:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304379392001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128373066918520832}} 
[2026-09-24 17:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":191344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:41:22] local.INFO: GPS data processed {"connection_id":191344,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:41:22] local.INFO: Acknowledgment sent {"connection_id":191344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:41:25] local.INFO: TCP Data received {"connection_id":192929,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d351d658012ca487c007949ad80005005f2f..."} 
[2026-09-24 17:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d351d658012ca487c007949ad80005005f2f..."} 
[2026-09-24 17:41:25] local.INFO: Processing buffer {"connection_id":192929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d351d658012ca487c007949ad80005005f2f..."} 
[2026-09-24 17:41:25] local.INFO: Packet analysis {"connection_id":192929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d351"} 
[2026-09-24 17:41:25] local.INFO: Extracted packet for processing {"connection_id":192929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d351"} 
[2026-09-24 17:41:25] local.INFO: GPS Element Parsed {"raw_longitude":748980160,"raw_latitude":127179480,"longitude_deg":74.898016,"latitude_deg":12.717948,"altitude":5,"angle":95,"satellites":47,"speed":57,"hex_longitude":"2ca487c0","hex_latitude":"07949ad8","is_valid_coordinates":true} 
[2026-09-24 17:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:41:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,145,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 17:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790251751000,"timestamp_ms":1790251751000,"timestamp_seconds":1790251751,"priority":1,"record_length":96,"hex_timestamp":"000001a0d351d658"} 
[2026-09-24 17:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 17:41:25] 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-09-24 17:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":192929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":192929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":192929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"145":206,"27":54016,"24":57,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,27,24,16]} 
[2026-09-24 17:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 17:41:25] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-24 17:41:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:41:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_145":206,"unknown_27":54016,"ignition":57,"odometer":null}} 
[2026-09-24 17:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":192929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891063,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:41:25] local.INFO: GPS data processed {"connection_id":192929,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:41:25] local.INFO: Acknowledgment sent {"connection_id":192929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:41:33] local.INFO: TCP Data received {"connection_id":191544,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:41:33] local.INFO: Processing buffer {"connection_id":191544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:41:33] local.INFO: IMEI packet received {"connection_id":191544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":191544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:41:38] local.INFO: TCP Data received {"connection_id":191544,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:41:38] local.INFO: Processing buffer {"connection_id":191544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:41:38] local.INFO: IMEI packet received {"connection_id":191544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":191544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:41:39] local.INFO: TCP Data received {"connection_id":191544,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:41:39] local.INFO: Processing buffer {"connection_id":191544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:41:39] local.INFO: Packet analysis {"connection_id":191544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:41:39] local.INFO: Extracted packet for processing {"connection_id":191544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:41:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304332544001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790251600000,"timestamp_ms":1790251600000,"timestamp_seconds":1790251600,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34f8880"} 
[2026-09-24 17:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304332544001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304332544001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:41:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:41:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304332544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":191544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:41:39] local.INFO: GPS data processed {"connection_id":191544,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:41:39] local.INFO: Acknowledgment sent {"connection_id":191544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:41:43] local.INFO: TCP Data received {"connection_id":191544,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:41:43] local.INFO: Processing buffer {"connection_id":191544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d34f8880012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:41:43] local.INFO: Packet analysis {"connection_id":191544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:41:43] local.INFO: Extracted packet for processing {"connection_id":191544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d34f"} 
[2026-09-24 17:41:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304332544001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790251600000,"timestamp_ms":1790251600000,"timestamp_seconds":1790251600,"priority":1,"record_length":96,"hex_timestamp":"000001a0d34f8880"} 
[2026-09-24 17:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304332544001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304332544001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:41:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:41:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304332544001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":191544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:41:43] local.INFO: GPS data processed {"connection_id":191544,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:41:43] local.INFO: Acknowledgment sent {"connection_id":191544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:41:45] local.INFO: TCP Data received {"connection_id":194205,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:41:45] local.INFO: Processing buffer {"connection_id":194205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:41:45] local.INFO: IMEI packet received {"connection_id":194205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":194205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:41:50] local.INFO: TCP Data received {"connection_id":194205,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:41:50] local.INFO: Processing buffer {"connection_id":194205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:41:50] local.INFO: IMEI packet received {"connection_id":194205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":194205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:41:51] local.INFO: TCP Data received {"connection_id":194205,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:41:51] local.INFO: Processing buffer {"connection_id":194205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:41:51] local.INFO: Packet analysis {"connection_id":194205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:41:51] local.INFO: Extracted packet for processing {"connection_id":194205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:41:51] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":38,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304379392001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128373066918520832,"note":"Value kept but may cause issues"} 
[2026-09-24 17:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790251788000,"timestamp_ms":1790251788000,"timestamp_seconds":1790251788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35266e0"} 
[2026-09-24 17:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 17:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304379392001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128373066918520832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304379392001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:41:51] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:41:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128373066918520832,"description":"Unknown IO ID 45"} 
[2026-09-24 17:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304379392001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128373066918520832}} 
[2026-09-24 17:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":194205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:41:51] local.INFO: GPS data processed {"connection_id":194205,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:41:51] local.INFO: Acknowledgment sent {"connection_id":194205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:42:06] local.INFO: TCP Data received {"connection_id":191545,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:42:06] local.INFO: Processing buffer {"connection_id":191545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:42:06] local.INFO: IMEI packet received {"connection_id":191545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":191545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:42:12] local.INFO: TCP Data received {"connection_id":191545,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:42:12] local.INFO: Processing buffer {"connection_id":191545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:42:12] local.INFO: IMEI packet received {"connection_id":191545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":191545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:42:13] local.INFO: TCP Data received {"connection_id":191545,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35214d8012ca4dd0007948350000800812f..."} 
[2026-09-24 17:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35214d8012ca4dd0007948350000800812f..."} 
[2026-09-24 17:42:13] local.INFO: Processing buffer {"connection_id":191545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35214d8012ca4dd0007948350000800812f..."} 
[2026-09-24 17:42:13] local.INFO: Packet analysis {"connection_id":191545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:42:13] local.INFO: Extracted packet for processing {"connection_id":191545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:42:13] local.INFO: GPS Element Parsed {"raw_longitude":749001984,"raw_latitude":127173456,"longitude_deg":74.9001984,"latitude_deg":12.7173456,"altitude":8,"angle":129,"satellites":47,"speed":55,"hex_longitude":"2ca4dd00","hex_latitude":"07948350","is_valid_coordinates":true} 
[2026-09-24 17:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304448256001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:42:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6591088390842951680,"note":"Value kept but may cause issues"} 
[2026-09-24 17:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790251767000,"timestamp_ms":1790251767000,"timestamp_seconds":1790251767,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35214d8"} 
[2026-09-24 17:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 17:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304448256001,"66":28376,"145":206,"27":54016,"24":55,"16":3605341577150464,"44":-6591088390842951680},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,27,24,16,44]} 
[2026-09-24 17:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304448256001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:42:13] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-24 17:42:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:42:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6591088390842951680,"description":"Unknown IO ID 44"} 
[2026-09-24 17:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304448256001,"power":28376,"unknown_145":206,"unknown_27":54016,"ignition":55,"odometer":null,"unknown_44":-6591088390842951680}} 
[2026-09-24 17:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":191545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891067,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:42:14] local.INFO: GPS data processed {"connection_id":191545,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:42:14] local.INFO: Acknowledgment sent {"connection_id":191545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:42:22] local.INFO: TCP Data received {"connection_id":194205,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:42:22] local.INFO: Processing buffer {"connection_id":194205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:42:22] local.INFO: Packet analysis {"connection_id":194205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:42:22] local.INFO: Extracted packet for processing {"connection_id":194205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:42:22] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":38,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:42: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-09-24 17:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304379392001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128373066918520832,"note":"Value kept but may cause issues"} 
[2026-09-24 17:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790251788000,"timestamp_ms":1790251788000,"timestamp_seconds":1790251788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35266e0"} 
[2026-09-24 17:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 17:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:42: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-09-24 17:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304379392001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128373066918520832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304379392001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:42:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:42:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128373066918520832,"description":"Unknown IO ID 45"} 
[2026-09-24 17:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304379392001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128373066918520832}} 
[2026-09-24 17:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":194205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:42:22] local.INFO: GPS data processed {"connection_id":194205,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:42:22] local.INFO: Acknowledgment sent {"connection_id":194205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:42:27] local.INFO: TCP Data received {"connection_id":191546,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:42:27] local.INFO: Processing buffer {"connection_id":191546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:42:27] local.INFO: IMEI packet received {"connection_id":191546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":191546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:42:33] local.INFO: TCP Data received {"connection_id":191546,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:42:33] local.INFO: Processing buffer {"connection_id":191546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:42:33] local.INFO: IMEI packet received {"connection_id":191546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":191546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:42:35] local.INFO: TCP Data received {"connection_id":191546,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:42:35] local.INFO: Processing buffer {"connection_id":191546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:42:35] local.INFO: Packet analysis {"connection_id":191546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d354"} 
[2026-09-24 17:42:35] local.INFO: Extracted packet for processing {"connection_id":191546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d354"} 
[2026-09-24 17:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304409600001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790251901000,"timestamp_ms":1790251901000,"timestamp_seconds":1790251901,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3542048"} 
[2026-09-24 17:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:42: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-09-24 17:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304409600001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304409600001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:42:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:42:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304409600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":191546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:42:35] local.INFO: GPS data processed {"connection_id":191546,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:42:35] local.INFO: Acknowledgment sent {"connection_id":191546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:42:47] local.INFO: TCP Data received {"connection_id":191547,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:42:47] local.INFO: Processing buffer {"connection_id":191547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:42:47] local.INFO: IMEI packet received {"connection_id":191547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":191547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:42:51] local.INFO: TCP Data received {"connection_id":191547,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:42:51] local.INFO: Processing buffer {"connection_id":191547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:42:51] local.INFO: IMEI packet received {"connection_id":191547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":191547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:42:52] local.INFO: TCP Data received {"connection_id":191547,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:42:52] local.INFO: Processing buffer {"connection_id":191547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:42:52] local.INFO: Packet analysis {"connection_id":191547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:42:52] local.INFO: Extracted packet for processing {"connection_id":191547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:42:52] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":38,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304379392001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128373066918520832,"note":"Value kept but may cause issues"} 
[2026-09-24 17:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790251788000,"timestamp_ms":1790251788000,"timestamp_seconds":1790251788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35266e0"} 
[2026-09-24 17:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 17:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304379392001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128373066918520832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304379392001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:42:52] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:42:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128373066918520832,"description":"Unknown IO ID 45"} 
[2026-09-24 17:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304379392001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128373066918520832}} 
[2026-09-24 17:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":191547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:42:52] local.INFO: GPS data processed {"connection_id":191547,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:42:52] local.INFO: Acknowledgment sent {"connection_id":191547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:42:55] local.INFO: TCP Data received {"connection_id":191547,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:42:55] local.INFO: Processing buffer {"connection_id":191547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:42:55] local.INFO: Packet analysis {"connection_id":191547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:42:55] local.INFO: Extracted packet for processing {"connection_id":191547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:42:55] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":38,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304379392001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128373066918520832,"note":"Value kept but may cause issues"} 
[2026-09-24 17:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790251788000,"timestamp_ms":1790251788000,"timestamp_seconds":1790251788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35266e0"} 
[2026-09-24 17:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 17:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304379392001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128373066918520832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304379392001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:42:55] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:42:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128373066918520832,"description":"Unknown IO ID 45"} 
[2026-09-24 17:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304379392001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128373066918520832}} 
[2026-09-24 17:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":191547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:42:55] local.INFO: GPS data processed {"connection_id":191547,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:42:55] local.INFO: Acknowledgment sent {"connection_id":191547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:43:06] local.INFO: TCP Data received {"connection_id":191345,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:43:06] local.INFO: Processing buffer {"connection_id":191345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:43:06] local.INFO: IMEI packet received {"connection_id":191345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":191345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:43:06] local.INFO: TCP Data received {"connection_id":191546,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:43:06] local.INFO: Processing buffer {"connection_id":191546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:43:06] local.INFO: Packet analysis {"connection_id":191546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d354"} 
[2026-09-24 17:43:06] local.INFO: Extracted packet for processing {"connection_id":191546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d354"} 
[2026-09-24 17:43:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304409600001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790251901000,"timestamp_ms":1790251901000,"timestamp_seconds":1790251901,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3542048"} 
[2026-09-24 17:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304409600001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304409600001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:43:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:43:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304409600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":191546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:43:06] local.INFO: GPS data processed {"connection_id":191546,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:43:06] local.INFO: Acknowledgment sent {"connection_id":191546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:43:11] local.INFO: TCP Data received {"connection_id":191345,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:43:12] local.INFO: Processing buffer {"connection_id":191345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:43:12] local.INFO: IMEI packet received {"connection_id":191345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":191345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:43:12] local.INFO: TCP Data received {"connection_id":191345,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:43:12] local.INFO: Processing buffer {"connection_id":191345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:43:12] local.INFO: IMEI packet received {"connection_id":191345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":191345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:43:17] local.INFO: TCP Data received {"connection_id":191345,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:43:17] local.INFO: Processing buffer {"connection_id":191345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:43:17] local.INFO: IMEI packet received {"connection_id":191345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":191345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:43:21] local.INFO: TCP Data received {"connection_id":191345,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3525358012ca50800079436c8000a009d30..."} 
[2026-09-24 17:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3525358012ca50800079436c8000a009d30..."} 
[2026-09-24 17:43:21] local.INFO: Processing buffer {"connection_id":191345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3525358012ca50800079436c8000a009d30..."} 
[2026-09-24 17:43:21] local.INFO: Packet analysis {"connection_id":191345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:43:21] local.INFO: Extracted packet for processing {"connection_id":191345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:43:21] local.INFO: GPS Element Parsed {"raw_longitude":749012992,"raw_latitude":127153864,"longitude_deg":74.9012992,"latitude_deg":12.7153864,"altitude":10,"angle":157,"satellites":48,"speed":58,"hex_longitude":"2ca50800","hex_latitude":"079436c8","is_valid_coordinates":true} 
[2026-09-24 17:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304452352001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:43:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6567092649079910400,"note":"Value kept but may cause issues"} 
[2026-09-24 17:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790251783000,"timestamp_ms":1790251783000,"timestamp_seconds":1790251783,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3525358"} 
[2026-09-24 17:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 17:43: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-09-24 17:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304452352001,"66":28376,"216":206,"27":54016,"24":58,"16":3605341577150464,"44":-6567092649079910400},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,27,24,16,44]} 
[2026-09-24 17:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304452352001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:43:21] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 17:43:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:43:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6567092649079910400,"description":"Unknown IO ID 44"} 
[2026-09-24 17:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304452352001,"power":28376,"unknown_216":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-6567092649079910400}} 
[2026-09-24 17:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":191345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891073,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:43:22] local.INFO: GPS data processed {"connection_id":191345,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:43:22] local.INFO: Acknowledgment sent {"connection_id":191345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:43:23] local.INFO: TCP Data received {"connection_id":191345,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d352a560012ca52a400793e110000a009f31..."} 
[2026-09-24 17:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d352a560012ca52a400793e110000a009f31..."} 
[2026-09-24 17:43:23] local.INFO: Processing buffer {"connection_id":191345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d352a560012ca52a400793e110000a009f31..."} 
[2026-09-24 17:43:23] local.INFO: Packet analysis {"connection_id":191345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:43:23] local.INFO: Extracted packet for processing {"connection_id":191345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:43:23] local.INFO: GPS Element Parsed {"raw_longitude":749021760,"raw_latitude":127131920,"longitude_deg":74.902176,"latitude_deg":12.713192,"altitude":10,"angle":159,"satellites":49,"speed":0,"hex_longitude":"2ca52a40","hex_latitude":"0793e110","is_valid_coordinates":true} 
[2026-09-24 17:43: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-09-24 17:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304456448001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:43:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6554989225086367744,"note":"Value kept but may cause issues"} 
[2026-09-24 17:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790251804000,"timestamp_ms":1790251804000,"timestamp_seconds":1790251804,"priority":1,"record_length":96,"hex_timestamp":"000001a0d352a560"} 
[2026-09-24 17:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:43: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":216,"data_length":795,"current_offset":136} 
[2026-09-24 17:43:23] 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-09-24 17:43: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-09-24 17:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304456448001,"66":28430,"216":206,"27":54016,"24":0,"16":3605341577150464,"44":-6554989225086367744},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,27,24,16,44]} 
[2026-09-24 17:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304456448001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:43:23] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 17:43:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:43:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6554989225086367744,"description":"Unknown IO ID 44"} 
[2026-09-24 17:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304456448001,"power":28430,"unknown_216":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6554989225086367744}} 
[2026-09-24 17:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":191345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891074,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:43:23] local.INFO: GPS data processed {"connection_id":191345,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:43:23] local.INFO: Acknowledgment sent {"connection_id":191345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:43:26] local.INFO: TCP Data received {"connection_id":191547,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:43:26] local.INFO: Processing buffer {"connection_id":191547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:43:26] local.INFO: Packet analysis {"connection_id":191547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:43:26] local.INFO: Extracted packet for processing {"connection_id":191547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:43:26] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":38,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304379392001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128373066918520832,"note":"Value kept but may cause issues"} 
[2026-09-24 17:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790251788000,"timestamp_ms":1790251788000,"timestamp_seconds":1790251788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35266e0"} 
[2026-09-24 17:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 17:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304379392001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128373066918520832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304379392001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:43:26] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:43:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128373066918520832,"description":"Unknown IO ID 45"} 
[2026-09-24 17:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304379392001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128373066918520832}} 
[2026-09-24 17:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":191547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:43:26] local.INFO: GPS data processed {"connection_id":191547,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:43:26] local.INFO: Acknowledgment sent {"connection_id":191547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:43:28] local.INFO: TCP Data received {"connection_id":194206,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:43:28] local.INFO: Processing buffer {"connection_id":194206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:43:28] local.INFO: IMEI packet received {"connection_id":194206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":194206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:43:33] local.INFO: TCP Data received {"connection_id":194206,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:43:33] local.INFO: Processing buffer {"connection_id":194206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:43:33] local.INFO: IMEI packet received {"connection_id":194206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":194206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:43:35] local.INFO: TCP Data received {"connection_id":194206,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:43:35] local.INFO: Processing buffer {"connection_id":194206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:43:35] local.INFO: Packet analysis {"connection_id":194206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d354"} 
[2026-09-24 17:43:35] local.INFO: Extracted packet for processing {"connection_id":194206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d354"} 
[2026-09-24 17:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304409600001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790251901000,"timestamp_ms":1790251901000,"timestamp_seconds":1790251901,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3542048"} 
[2026-09-24 17:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:43: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-09-24 17:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304409600001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304409600001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:43:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:43:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304409600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":194206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:43:35] local.INFO: GPS data processed {"connection_id":194206,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:43:35] local.INFO: Acknowledgment sent {"connection_id":194206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:43:44] local.INFO: TCP Data received {"connection_id":191548,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:43:44] local.INFO: Processing buffer {"connection_id":191548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:43:44] local.INFO: IMEI packet received {"connection_id":191548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":191548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:43:49] local.INFO: TCP Data received {"connection_id":191548,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:43:49] local.INFO: Processing buffer {"connection_id":191548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:43:49] local.INFO: IMEI packet received {"connection_id":191548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":191548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:43:50] local.INFO: TCP Data received {"connection_id":191548,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:43:50] local.INFO: Processing buffer {"connection_id":191548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:43:50] local.INFO: Packet analysis {"connection_id":191548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:43:50] local.INFO: Extracted packet for processing {"connection_id":191548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:43:50] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":38,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304379392001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128373066918520832,"note":"Value kept but may cause issues"} 
[2026-09-24 17:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790251788000,"timestamp_ms":1790251788000,"timestamp_seconds":1790251788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35266e0"} 
[2026-09-24 17:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 17:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304379392001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128373066918520832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304379392001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:43:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:43:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128373066918520832,"description":"Unknown IO ID 45"} 
[2026-09-24 17:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304379392001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128373066918520832}} 
[2026-09-24 17:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":191548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:43:50] local.INFO: GPS data processed {"connection_id":191548,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:43:50] local.INFO: Acknowledgment sent {"connection_id":191548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:44:05] local.INFO: TCP Data received {"connection_id":192930,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:44:05] local.INFO: Processing buffer {"connection_id":192930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:44:05] local.INFO: IMEI packet received {"connection_id":192930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":192930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:44:06] local.INFO: TCP Data received {"connection_id":194206,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:44:06] local.INFO: Processing buffer {"connection_id":194206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:44:06] local.INFO: Packet analysis {"connection_id":194206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d354"} 
[2026-09-24 17:44:06] local.INFO: Extracted packet for processing {"connection_id":194206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d354"} 
[2026-09-24 17:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304409600001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790251901000,"timestamp_ms":1790251901000,"timestamp_seconds":1790251901,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3542048"} 
[2026-09-24 17:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304409600001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304409600001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:44:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:44:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304409600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":194206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:44:06] local.INFO: GPS data processed {"connection_id":194206,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:44:06] local.INFO: Acknowledgment sent {"connection_id":194206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:44:06] local.INFO: TCP Data received {"connection_id":192930,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:44:06] local.INFO: Processing buffer {"connection_id":192930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:44:06] local.INFO: IMEI packet received {"connection_id":192930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":192930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:44:12] local.INFO: TCP Data received {"connection_id":192930,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:44:12] local.INFO: Processing buffer {"connection_id":192930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:44:12] local.INFO: IMEI packet received {"connection_id":192930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":192930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:44:13] local.INFO: TCP Data received {"connection_id":192930,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35554e0012ca583c007900960000900c02f..."} 
[2026-09-24 17:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35554e0012ca583c007900960000900c02f..."} 
[2026-09-24 17:44:13] local.INFO: Processing buffer {"connection_id":192930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35554e0012ca583c007900960000900c02f..."} 
[2026-09-24 17:44:13] local.INFO: Packet analysis {"connection_id":192930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d355"} 
[2026-09-24 17:44:13] local.INFO: Extracted packet for processing {"connection_id":192930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d355"} 
[2026-09-24 17:44:13] local.INFO: GPS Element Parsed {"raw_longitude":749044672,"raw_latitude":126880096,"longitude_deg":74.9044672,"latitude_deg":12.6880096,"altitude":9,"angle":192,"satellites":47,"speed":0,"hex_longitude":"2ca583c0","hex_latitude":"07900960","is_valid_coordinates":true} 
[2026-09-24 17:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304501504001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:44:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6516075309620350976,"note":"Value kept but may cause issues"} 
[2026-09-24 17:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790251980000,"timestamp_ms":1790251980000,"timestamp_seconds":1790251980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35554e0"} 
[2026-09-24 17:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:44:13] 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-09-24 17:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304501504001,"66":28398,"208":206,"27":54016,"24":0,"16":3605341577150464,"44":-6516075309620350976},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,27,24,16,44]} 
[2026-09-24 17:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304501504001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:44:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-24 17:44:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:44:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6516075309620350976,"description":"Unknown IO ID 44"} 
[2026-09-24 17:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304501504001,"power":28398,"unknown_208":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6516075309620350976}} 
[2026-09-24 17:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":192930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891079,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:44:13] local.INFO: GPS data processed {"connection_id":192930,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:44:13] local.INFO: Acknowledgment sent {"connection_id":192930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:44:21] local.INFO: TCP Data received {"connection_id":191548,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:44:21] local.INFO: Processing buffer {"connection_id":191548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:44:21] local.INFO: Packet analysis {"connection_id":191548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:44:21] local.INFO: Extracted packet for processing {"connection_id":191548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:44:21] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":38,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304379392001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128373066918520832,"note":"Value kept but may cause issues"} 
[2026-09-24 17:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790251788000,"timestamp_ms":1790251788000,"timestamp_seconds":1790251788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35266e0"} 
[2026-09-24 17:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 17:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304379392001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128373066918520832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304379392001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:44:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:44:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128373066918520832,"description":"Unknown IO ID 45"} 
[2026-09-24 17:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304379392001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128373066918520832}} 
[2026-09-24 17:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":191548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:44:21] local.INFO: GPS data processed {"connection_id":191548,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:44:21] local.INFO: Acknowledgment sent {"connection_id":191548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:44:28] local.INFO: TCP Data received {"connection_id":192931,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:44:28] local.INFO: Processing buffer {"connection_id":192931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:44:28] local.INFO: IMEI packet received {"connection_id":192931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":192931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:44:32] local.INFO: TCP Data received {"connection_id":192931,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:44:33] local.INFO: Processing buffer {"connection_id":192931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:44:33] local.INFO: IMEI packet received {"connection_id":192931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":192931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:44:34] local.INFO: TCP Data received {"connection_id":192931,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:44:34] local.INFO: Processing buffer {"connection_id":192931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:44:34] local.INFO: Packet analysis {"connection_id":192931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d354"} 
[2026-09-24 17:44:34] local.INFO: Extracted packet for processing {"connection_id":192931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d354"} 
[2026-09-24 17:44:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304409600001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790251901000,"timestamp_ms":1790251901000,"timestamp_seconds":1790251901,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3542048"} 
[2026-09-24 17:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304409600001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304409600001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:44:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:44:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304409600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":192931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:44:34] local.INFO: GPS data processed {"connection_id":192931,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:44:34] local.INFO: Acknowledgment sent {"connection_id":192931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:44:44] local.INFO: TCP Data received {"connection_id":194207,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:44:44] local.INFO: Processing buffer {"connection_id":194207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:44:44] local.INFO: IMEI packet received {"connection_id":194207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":194207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:44:45] local.INFO: TCP Data received {"connection_id":192930,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3563b580100000000000000000000000000..."} 
[2026-09-24 17:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3563b580100000000000000000000000000..."} 
[2026-09-24 17:44:45] local.INFO: Processing buffer {"connection_id":192930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3563b580100000000000000000000000000..."} 
[2026-09-24 17:44:45] local.INFO: Packet analysis {"connection_id":192930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:44:45] local.INFO: Extracted packet for processing {"connection_id":192930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:44:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 17:44: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-09-24 17:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304506880001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:44:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6520156696788508672,"note":"Value kept but may cause issues"} 
[2026-09-24 17:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790252039000,"timestamp_ms":1790252039000,"timestamp_seconds":1790252039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3563b58"} 
[2026-09-24 17:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:44: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-09-24 17:44: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":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:44:45] 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-09-24 17:44: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-09-24 17:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":192930,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 17:44:45] local.INFO: GPS data processed {"connection_id":192930,"processed":0,"errors":0,"total":1} 
[2026-09-24 17:44:45] local.INFO: Acknowledgment sent {"connection_id":192930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:44:50] local.INFO: TCP Data received {"connection_id":194207,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:44:50] local.INFO: Processing buffer {"connection_id":194207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:44:50] local.INFO: IMEI packet received {"connection_id":194207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":194207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:44:50] local.INFO: TCP Data received {"connection_id":194207,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:44:50] local.INFO: Processing buffer {"connection_id":194207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:44:50] local.INFO: Packet analysis {"connection_id":194207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:44:50] local.INFO: Extracted packet for processing {"connection_id":194207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:44:50] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":38,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304379392001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128373066918520832,"note":"Value kept but may cause issues"} 
[2026-09-24 17:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790251788000,"timestamp_ms":1790251788000,"timestamp_seconds":1790251788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35266e0"} 
[2026-09-24 17:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 17:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":194207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":194207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":194207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304379392001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128373066918520832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304379392001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:44:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:44:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128373066918520832,"description":"Unknown IO ID 45"} 
[2026-09-24 17:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304379392001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128373066918520832}} 
[2026-09-24 17:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":194207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:44:50] local.INFO: GPS data processed {"connection_id":194207,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:44:50] local.INFO: Acknowledgment sent {"connection_id":194207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:45:06] local.INFO: TCP Data received {"connection_id":194208,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:45:06] local.INFO: Processing buffer {"connection_id":194208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:45:06] local.INFO: IMEI packet received {"connection_id":194208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":194208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:45:06] local.INFO: TCP Data received {"connection_id":192931,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:45:06] local.INFO: Processing buffer {"connection_id":192931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:45:06] local.INFO: Packet analysis {"connection_id":192931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d354"} 
[2026-09-24 17:45:06] local.INFO: Extracted packet for processing {"connection_id":192931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d354"} 
[2026-09-24 17:45:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304409600001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790251901000,"timestamp_ms":1790251901000,"timestamp_seconds":1790251901,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3542048"} 
[2026-09-24 17:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304409600001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304409600001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:45:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:45:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304409600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":192931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:45:06] local.INFO: GPS data processed {"connection_id":192931,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:45:06] local.INFO: Acknowledgment sent {"connection_id":192931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:45:12] local.INFO: TCP Data received {"connection_id":194208,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:45:12] local.INFO: Processing buffer {"connection_id":194208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:45:12] local.INFO: IMEI packet received {"connection_id":194208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":194208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:45:13] local.INFO: TCP Data received {"connection_id":194208,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d355be58012ca55600078f59e8000c00be2f..."} 
[2026-09-24 17:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d355be58012ca55600078f59e8000c00be2f..."} 
[2026-09-24 17:45:13] local.INFO: Processing buffer {"connection_id":194208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d355be58012ca55600078f59e8000c00be2f..."} 
[2026-09-24 17:45:13] local.INFO: Packet analysis {"connection_id":194208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d355"} 
[2026-09-24 17:45:13] local.INFO: Extracted packet for processing {"connection_id":194208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d355"} 
[2026-09-24 17:45:13] local.INFO: GPS Element Parsed {"raw_longitude":749032960,"raw_latitude":126835176,"longitude_deg":74.903296,"latitude_deg":12.6835176,"altitude":12,"angle":190,"satellites":47,"speed":54,"hex_longitude":"2ca55600","hex_latitude":"078f59e8","is_valid_coordinates":true} 
[2026-09-24 17:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:45:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,207,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 17:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790252007000,"timestamp_ms":1790252007000,"timestamp_seconds":1790252007,"priority":1,"record_length":96,"hex_timestamp":"000001a0d355be58"} 
[2026-09-24 17:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:45:13] 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-09-24 17:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":194208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":194208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":194208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"207":206,"27":54016,"24":54,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,27,24,16]} 
[2026-09-24 17:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 17:45:13] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-24 17:45:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:45:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_207":206,"unknown_27":54016,"ignition":54,"odometer":null}} 
[2026-09-24 17:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":194208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891084,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:45:13] local.INFO: GPS data processed {"connection_id":194208,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:45:13] local.INFO: Acknowledgment sent {"connection_id":194208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:45:21] local.INFO: TCP Data received {"connection_id":194207,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:45:21] local.INFO: Processing buffer {"connection_id":194207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35266e0012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:45:21] local.INFO: Packet analysis {"connection_id":194207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:45:21] local.INFO: Extracted packet for processing {"connection_id":194207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d352"} 
[2026-09-24 17:45:21] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":38,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304379392001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128373066918520832,"note":"Value kept but may cause issues"} 
[2026-09-24 17:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790251788000,"timestamp_ms":1790251788000,"timestamp_seconds":1790251788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35266e0"} 
[2026-09-24 17:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 17:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304379392001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128373066918520832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304379392001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:45:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:45:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128373066918520832,"description":"Unknown IO ID 45"} 
[2026-09-24 17:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304379392001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128373066918520832}} 
[2026-09-24 17:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":194207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:45:22] local.INFO: GPS data processed {"connection_id":194207,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:45:22] local.INFO: Acknowledgment sent {"connection_id":194207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:45:27] local.INFO: TCP Data received {"connection_id":191549,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:45:27] local.INFO: Processing buffer {"connection_id":191549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:45:27] local.INFO: IMEI packet received {"connection_id":191549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":191549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:45:33] local.INFO: TCP Data received {"connection_id":191549,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:45:33] local.INFO: Processing buffer {"connection_id":191549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:45:33] local.INFO: IMEI packet received {"connection_id":191549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":191549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:45:35] local.INFO: TCP Data received {"connection_id":191549,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:45:35] local.INFO: Processing buffer {"connection_id":191549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:45:35] local.INFO: Packet analysis {"connection_id":191549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d354"} 
[2026-09-24 17:45:35] local.INFO: Extracted packet for processing {"connection_id":191549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d354"} 
[2026-09-24 17:45:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304409600001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790251901000,"timestamp_ms":1790251901000,"timestamp_seconds":1790251901,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3542048"} 
[2026-09-24 17:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:45: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-09-24 17:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304409600001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304409600001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:45:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:45:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304409600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":191549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:45:35] local.INFO: GPS data processed {"connection_id":191549,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:45:35] local.INFO: Acknowledgment sent {"connection_id":191549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:45:50] local.INFO: TCP Data received {"connection_id":192932,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:45:50] local.INFO: Processing buffer {"connection_id":192932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:45:50] local.INFO: IMEI packet received {"connection_id":192932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":192932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:45:53] local.INFO: TCP Data received {"connection_id":194208,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d355fcd8012ca560c0078f0b20001100992e..."} 
[2026-09-24 17:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d355fcd8012ca560c0078f0b20001100992e..."} 
[2026-09-24 17:45:53] local.INFO: Processing buffer {"connection_id":194208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d355fcd8012ca560c0078f0b20001100992e..."} 
[2026-09-24 17:45:53] local.INFO: Packet analysis {"connection_id":194208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d355"} 
[2026-09-24 17:45:53] local.INFO: Extracted packet for processing {"connection_id":194208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d355"} 
[2026-09-24 17:45:53] local.INFO: GPS Element Parsed {"raw_longitude":749035712,"raw_latitude":126815008,"longitude_deg":74.9035712,"latitude_deg":12.6815008,"altitude":17,"angle":153,"satellites":46,"speed":47,"hex_longitude":"2ca560c0","hex_latitude":"078f0b20","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304513792001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:45:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6533034176984520704,"note":"Value kept but may cause issues"} 
[2026-09-24 17:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790252023000,"timestamp_ms":1790252023000,"timestamp_seconds":1790252023,"priority":1,"record_length":96,"hex_timestamp":"000001a0d355fcd8"} 
[2026-09-24 17:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 17:45: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-09-24 17: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-09-24 17:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304513792001,"66":28354,"207":206,"27":54016,"24":47,"16":3605341577150464,"44":-6533034176984520704},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,27,24,16,44]} 
[2026-09-24 17:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304513792001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:45:53] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-24 17:45:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:45:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6533034176984520704,"description":"Unknown IO ID 44"} 
[2026-09-24 17:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304513792001,"power":28354,"unknown_207":206,"unknown_27":54016,"ignition":47,"odometer":null,"unknown_44":-6533034176984520704}} 
[2026-09-24 17:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":194208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891087,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:45:53] local.INFO: GPS data processed {"connection_id":194208,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:45:53] local.INFO: Acknowledgment sent {"connection_id":194208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:45:55] local.INFO: TCP Data received {"connection_id":192932,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:45:55] local.INFO: Processing buffer {"connection_id":192932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:45:55] local.INFO: IMEI packet received {"connection_id":192932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":192932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:45:56] local.INFO: TCP Data received {"connection_id":192932,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:45:56] local.INFO: Processing buffer {"connection_id":192932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:45:56] local.INFO: Packet analysis {"connection_id":192932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:45:56] local.INFO: Extracted packet for processing {"connection_id":192932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:45:56] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304457728001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790252089000,"timestamp_ms":1790252089000,"timestamp_seconds":1790252089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d356fea8"} 
[2026-09-24 17:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304457728001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304457728001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:45:56] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:45:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304457728001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":192932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:45:56] local.INFO: GPS data processed {"connection_id":192932,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:45:56] local.INFO: Acknowledgment sent {"connection_id":192932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:46:01] local.INFO: TCP Data received {"connection_id":192932,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:46:01] local.INFO: Processing buffer {"connection_id":192932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:46:01] local.INFO: Packet analysis {"connection_id":192932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:46:01] local.INFO: Extracted packet for processing {"connection_id":192932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:46:01] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304457728001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790252089000,"timestamp_ms":1790252089000,"timestamp_seconds":1790252089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d356fea8"} 
[2026-09-24 17:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304457728001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304457728001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:46:01] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:46:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304457728001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":192932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:46:01] local.INFO: GPS data processed {"connection_id":192932,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:46:01] local.INFO: Acknowledgment sent {"connection_id":192932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:46:06] local.INFO: TCP Data received {"connection_id":191549,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:46:06] local.INFO: Processing buffer {"connection_id":191549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:46:06] local.INFO: Packet analysis {"connection_id":191549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d354"} 
[2026-09-24 17:46:06] local.INFO: Extracted packet for processing {"connection_id":191549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d354"} 
[2026-09-24 17:46:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304409600001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790251901000,"timestamp_ms":1790251901000,"timestamp_seconds":1790251901,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3542048"} 
[2026-09-24 17:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304409600001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304409600001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:46:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:46:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304409600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":191549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:46:06] local.INFO: GPS data processed {"connection_id":191549,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:46:06] local.INFO: Acknowledgment sent {"connection_id":191549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:46:13] local.INFO: TCP Data received {"connection_id":194209,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194209,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:46:13] local.INFO: Processing buffer {"connection_id":194209,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:46:13] local.INFO: IMEI packet received {"connection_id":194209,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":194209,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:46:15] local.INFO: TCP Data received {"connection_id":194209,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194209,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:46:15] local.INFO: Processing buffer {"connection_id":194209,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:46:15] local.INFO: IMEI packet received {"connection_id":194209,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":194209,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:46:17] local.INFO: TCP Data received {"connection_id":194209,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3563f40012ca58fc0078ed1c0001500872f..."} 
[2026-09-24 17:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3563f40012ca58fc0078ed1c0001500872f..."} 
[2026-09-24 17:46:17] local.INFO: Processing buffer {"connection_id":194209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3563f40012ca58fc0078ed1c0001500872f..."} 
[2026-09-24 17:46:17] local.INFO: Packet analysis {"connection_id":194209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:46:17] local.INFO: Extracted packet for processing {"connection_id":194209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:46:17] local.INFO: GPS Element Parsed {"raw_longitude":749047744,"raw_latitude":126800320,"longitude_deg":74.9047744,"latitude_deg":12.680032,"altitude":21,"angle":135,"satellites":47,"speed":41,"hex_longitude":"2ca58fc0","hex_latitude":"078ed1c0","is_valid_coordinates":true} 
[2026-09-24 17:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304517888001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6530008320990044160,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 17:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790252040000,"timestamp_ms":1790252040000,"timestamp_seconds":1790252040,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3563f40"} 
[2026-09-24 17:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 17:46:17] 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-09-24 17:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":194209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":194209,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":194209,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304517888001,"66":206,"27":54016,"24":41,"16":3605341577150464,"44":-6530008320990044160},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-09-24 17:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304517888001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:46:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:46:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6530008320990044160,"description":"Unknown IO ID 44"} 
[2026-09-24 17:46:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458304517888001,"power":206,"unknown_27":54016,"ignition":41,"odometer":null,"unknown_44":-6530008320990044160}} 
[2026-09-24 17:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":194209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891091,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:46:17] local.INFO: GPS data processed {"connection_id":194209,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:46:17] local.INFO: Acknowledgment sent {"connection_id":194209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:46:19] local.INFO: TCP Data received {"connection_id":194209,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3569148012ca5c480078e9e180017008530..."} 
[2026-09-24 17:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3569148012ca5c480078e9e180017008530..."} 
[2026-09-24 17:46:19] local.INFO: Processing buffer {"connection_id":194209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3569148012ca5c480078e9e180017008530..."} 
[2026-09-24 17:46:19] local.INFO: Packet analysis {"connection_id":194209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:46:19] local.INFO: Extracted packet for processing {"connection_id":194209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:46:19] local.INFO: GPS Element Parsed {"raw_longitude":749061248,"raw_latitude":126787096,"longitude_deg":74.9061248,"latitude_deg":12.6787096,"altitude":23,"angle":133,"satellites":48,"speed":0,"hex_longitude":"2ca5c480","hex_latitude":"078e9e18","is_valid_coordinates":true} 
[2026-09-24 17:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304522240001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6516778997088403456,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 17:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790252061000,"timestamp_ms":1790252061000,"timestamp_seconds":1790252061,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3569148"} 
[2026-09-24 17:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:46: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-09-24 17:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":194209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":194209,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":194209,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304522240001,"66":206,"27":54016,"24":0,"16":3605341577150464,"44":-6516778997088403456},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-09-24 17:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304522240001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:46:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:46:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6516778997088403456,"description":"Unknown IO ID 44"} 
[2026-09-24 17:46:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458304522240001,"power":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6516778997088403456}} 
[2026-09-24 17:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":194209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891092,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:46:19] local.INFO: GPS data processed {"connection_id":194209,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:46:19] local.INFO: Acknowledgment sent {"connection_id":194209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:46:26] local.INFO: TCP Data received {"connection_id":191346,"ip":"85.217.149.61","data_length":8,"data_hex":"3030303030303030..."} 
[2026-09-24 17:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191346,"packet_length":8,"packet_hex":"3030303030303030..."} 
[2026-09-24 17:46:26] local.INFO: Processing buffer {"connection_id":191346,"buffer_length":8,"buffer_hex":"3030303030303030..."} 
[2026-09-24 17:46:33] local.INFO: TCP Data received {"connection_id":191347,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:46:33] local.INFO: Processing buffer {"connection_id":191347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:46:33] local.INFO: IMEI packet received {"connection_id":191347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":191347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:46:38] local.INFO: TCP Data received {"connection_id":191347,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:46:38] local.INFO: Processing buffer {"connection_id":191347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:46:38] local.INFO: IMEI packet received {"connection_id":191347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":191347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:46:39] local.INFO: TCP Data received {"connection_id":191347,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:46:39] local.INFO: Processing buffer {"connection_id":191347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:46:39] local.INFO: Packet analysis {"connection_id":191347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d354"} 
[2026-09-24 17:46:39] local.INFO: Extracted packet for processing {"connection_id":191347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d354"} 
[2026-09-24 17:46:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304409600001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790251901000,"timestamp_ms":1790251901000,"timestamp_seconds":1790251901,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3542048"} 
[2026-09-24 17:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304409600001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304409600001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:46:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:46:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304409600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":191347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:46:39] local.INFO: GPS data processed {"connection_id":191347,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:46:39] local.INFO: Acknowledgment sent {"connection_id":191347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:46:43] local.INFO: TCP Data received {"connection_id":191347,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:46:43] local.INFO: Processing buffer {"connection_id":191347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3542048012d34c14006aa4940000900f52a..."} 
[2026-09-24 17:46:43] local.INFO: Packet analysis {"connection_id":191347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d354"} 
[2026-09-24 17:46:43] local.INFO: Extracted packet for processing {"connection_id":191347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d354"} 
[2026-09-24 17:46:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304409600001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790251901000,"timestamp_ms":1790251901000,"timestamp_seconds":1790251901,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3542048"} 
[2026-09-24 17:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:46:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:46:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304409600001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304409600001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:46:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:46:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304409600001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":191347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:46:43] local.INFO: GPS data processed {"connection_id":191347,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:46:43] local.INFO: Acknowledgment sent {"connection_id":191347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:46:45] local.INFO: TCP Data received {"connection_id":192933,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:46:45] local.INFO: Processing buffer {"connection_id":192933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:46:45] local.INFO: IMEI packet received {"connection_id":192933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":192933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:46:50] local.INFO: TCP Data received {"connection_id":192933,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:46:50] local.INFO: Processing buffer {"connection_id":192933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:46:50] local.INFO: IMEI packet received {"connection_id":192933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":192933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:46:50] local.INFO: TCP Data received {"connection_id":192933,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:46:50] local.INFO: Processing buffer {"connection_id":192933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:46:50] local.INFO: Packet analysis {"connection_id":192933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:46:50] local.INFO: Extracted packet for processing {"connection_id":192933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:46:50] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304457728001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790252089000,"timestamp_ms":1790252089000,"timestamp_seconds":1790252089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d356fea8"} 
[2026-09-24 17:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304457728001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304457728001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:46:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:46:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304457728001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":192933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:46:50] local.INFO: GPS data processed {"connection_id":192933,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:46:50] local.INFO: Acknowledgment sent {"connection_id":192933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:46:51] local.INFO: TCP Data received {"connection_id":194209,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d356e350012ca5fa80078e6890001a008b2e..."} 
[2026-09-24 17:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d356e350012ca5fa80078e6890001a008b2e..."} 
[2026-09-24 17:46:51] local.INFO: Processing buffer {"connection_id":194209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d356e350012ca5fa80078e6890001a008b2e..."} 
[2026-09-24 17:46:51] local.INFO: Packet analysis {"connection_id":194209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:46:51] local.INFO: Extracted packet for processing {"connection_id":194209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:46:51] local.INFO: GPS Element Parsed {"raw_longitude":749075072,"raw_latitude":126773392,"longitude_deg":74.9075072,"latitude_deg":12.6773392,"altitude":26,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ca5fa80","hex_latitude":"078e6890","is_valid_coordinates":true} 
[2026-09-24 17:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304527616001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6501931192070301696,"note":"Value kept but may cause issues"} 
[2026-09-24 17:46:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 17:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790252082000,"timestamp_ms":1790252082000,"timestamp_seconds":1790252082,"priority":1,"record_length":96,"hex_timestamp":"000001a0d356e350"} 
[2026-09-24 17:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 17:46:51] 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-09-24 17:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194209,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194209,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304527616001,"66":206,"27":54016,"24":0,"16":3605341577150464,"44":-6501931192070301696},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-09-24 17:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304527616001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:46:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:46:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6501931192070301696,"description":"Unknown IO ID 44"} 
[2026-09-24 17:46:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458304527616001,"power":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6501931192070301696}} 
[2026-09-24 17:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":194209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891096,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:46:51] local.INFO: GPS data processed {"connection_id":194209,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:46:51] local.INFO: Acknowledgment sent {"connection_id":194209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:47:04] local.INFO: TCP Data received {"connection_id":191550,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:47:04] local.INFO: Processing buffer {"connection_id":191550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:47:04] local.INFO: IMEI packet received {"connection_id":191550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":191550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:47:06] local.INFO: TCP Data received {"connection_id":191550,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:47:06] local.INFO: Processing buffer {"connection_id":191550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:47:06] local.INFO: IMEI packet received {"connection_id":191550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":191550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:47:12] local.INFO: TCP Data received {"connection_id":191550,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:47:12] local.INFO: Processing buffer {"connection_id":191550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:47:12] local.INFO: IMEI packet received {"connection_id":191550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":191550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:47:13] local.INFO: TCP Data received {"connection_id":191550,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3571230012ca625c0078e29b0001a00972f..."} 
[2026-09-24 17:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3571230012ca625c0078e29b0001a00972f..."} 
[2026-09-24 17:47:13] local.INFO: Processing buffer {"connection_id":191550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3571230012ca625c0078e29b0001a00972f..."} 
[2026-09-24 17:47:13] local.INFO: Packet analysis {"connection_id":191550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d357"} 
[2026-09-24 17:47:13] local.INFO: Extracted packet for processing {"connection_id":191550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d357"} 
[2026-09-24 17:47:13] local.INFO: GPS Element Parsed {"raw_longitude":749086144,"raw_latitude":126757296,"longitude_deg":74.9086144,"latitude_deg":12.6757296,"altitude":26,"angle":151,"satellites":47,"speed":46,"hex_longitude":"2ca625c0","hex_latitude":"078e29b0","is_valid_coordinates":true} 
[2026-09-24 17:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304532992001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:47:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6486731543331434496,"note":"Value kept but may cause issues"} 
[2026-09-24 17:47:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 17:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790252094000,"timestamp_ms":1790252094000,"timestamp_seconds":1790252094,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3571230"} 
[2026-09-24 17:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 17:47:13] 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-09-24 17:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304532992001,"66":206,"27":54016,"24":46,"16":3605341577150464,"44":-6486731543331434496},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-09-24 17:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304532992001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:47:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:47:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6486731543331434496,"description":"Unknown IO ID 44"} 
[2026-09-24 17:47:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458304532992001,"power":206,"unknown_27":54016,"ignition":46,"odometer":null,"unknown_44":-6486731543331434496}} 
[2026-09-24 17:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":191550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891097,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:47:13] local.INFO: GPS data processed {"connection_id":191550,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:47:13] local.INFO: Acknowledgment sent {"connection_id":191550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:47:22] local.INFO: TCP Data received {"connection_id":192933,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:47:22] local.INFO: Processing buffer {"connection_id":192933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:47:22] local.INFO: Packet analysis {"connection_id":192933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:47:22] local.INFO: Extracted packet for processing {"connection_id":192933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:47:22] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304457728001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790252089000,"timestamp_ms":1790252089000,"timestamp_seconds":1790252089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d356fea8"} 
[2026-09-24 17:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304457728001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304457728001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:47:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:47:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304457728001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":192933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:47:22] local.INFO: GPS data processed {"connection_id":192933,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:47:22] local.INFO: Acknowledgment sent {"connection_id":192933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:47:28] local.INFO: TCP Data received {"connection_id":191348,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:47:28] local.INFO: Processing buffer {"connection_id":191348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:47:28] local.INFO: IMEI packet received {"connection_id":191348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":191348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:47:33] local.INFO: TCP Data received {"connection_id":191348,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:47:33] local.INFO: Processing buffer {"connection_id":191348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:47:33] local.INFO: IMEI packet received {"connection_id":191348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":191348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:47:35] local.INFO: TCP Data received {"connection_id":191348,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:47:35] local.INFO: Processing buffer {"connection_id":191348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:47:35] local.INFO: Packet analysis {"connection_id":191348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:47:35] local.INFO: Extracted packet for processing {"connection_id":191348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304486656001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790252202000,"timestamp_ms":1790252202000,"timestamp_seconds":1790252202,"priority":1,"record_length":96,"hex_timestamp":"000001a0d358b810"} 
[2026-09-24 17:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:47: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-09-24 17:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 17:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304486656001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304486656001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:47:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:47:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304486656001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":191348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:47:35] local.INFO: GPS data processed {"connection_id":191348,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:47:35] local.INFO: Acknowledgment sent {"connection_id":191348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:47:38] local.INFO: TCP Data received {"connection_id":191348,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:47:38] local.INFO: Processing buffer {"connection_id":191348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:47:38] local.INFO: Packet analysis {"connection_id":191348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:47:38] local.INFO: Extracted packet for processing {"connection_id":191348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304486656001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790252202000,"timestamp_ms":1790252202000,"timestamp_seconds":1790252202,"priority":1,"record_length":96,"hex_timestamp":"000001a0d358b810"} 
[2026-09-24 17:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 17:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304486656001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304486656001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304486656001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":191348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:47:38] local.INFO: GPS data processed {"connection_id":191348,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:47:38] local.INFO: Acknowledgment sent {"connection_id":191348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:47:45] local.INFO: TCP Data received {"connection_id":191550,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3576438012ca64c00078ddfa0001c009f30..."} 
[2026-09-24 17:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3576438012ca64c00078ddfa0001c009f30..."} 
[2026-09-24 17:47:45] local.INFO: Processing buffer {"connection_id":191550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3576438012ca64c00078ddfa0001c009f30..."} 
[2026-09-24 17:47:45] local.INFO: Packet analysis {"connection_id":191550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d357"} 
[2026-09-24 17:47:45] local.INFO: Extracted packet for processing {"connection_id":191550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d357"} 
[2026-09-24 17:47:45] local.INFO: GPS Element Parsed {"raw_longitude":749095936,"raw_latitude":126738336,"longitude_deg":74.9095936,"latitude_deg":12.6738336,"altitude":28,"angle":159,"satellites":48,"speed":0,"hex_longitude":"2ca64c00","hex_latitude":"078ddfa0","is_valid_coordinates":true} 
[2026-09-24 17:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304536064001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:47:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6474557750592819200,"note":"Value kept but may cause issues"} 
[2026-09-24 17:47:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 17:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790252115000,"timestamp_ms":1790252115000,"timestamp_seconds":1790252115,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3576438"} 
[2026-09-24 17:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:47: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-09-24 17:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 17:47: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-09-24 17:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304536064001,"66":206,"27":54016,"24":0,"16":3605341577150464,"44":-6474557750592819200},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-09-24 17:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304536064001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:47:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:47:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6474557750592819200,"description":"Unknown IO ID 44"} 
[2026-09-24 17:47:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458304536064001,"power":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6474557750592819200}} 
[2026-09-24 17:47:45] local.INFO: TCP Data received {"connection_id":192934,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:47:45] local.INFO: Processing buffer {"connection_id":192934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:47:45] local.INFO: IMEI packet received {"connection_id":192934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":192934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":191550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891101,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:47:45] local.INFO: GPS data processed {"connection_id":191550,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:47:45] local.INFO: Acknowledgment sent {"connection_id":191550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:47:50] local.INFO: TCP Data received {"connection_id":192934,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:47:50] local.INFO: Processing buffer {"connection_id":192934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:47:50] local.INFO: IMEI packet received {"connection_id":192934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":192934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:47:50] local.INFO: TCP Data received {"connection_id":192934,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:47:50] local.INFO: Processing buffer {"connection_id":192934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:47:50] local.INFO: Packet analysis {"connection_id":192934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:47:50] local.INFO: Extracted packet for processing {"connection_id":192934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:47:50] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304457728001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790252089000,"timestamp_ms":1790252089000,"timestamp_seconds":1790252089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d356fea8"} 
[2026-09-24 17:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304457728001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304457728001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:47:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:47:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304457728001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":192934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:47:51] local.INFO: GPS data processed {"connection_id":192934,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:47:51] local.INFO: Acknowledgment sent {"connection_id":192934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:48:06] local.INFO: TCP Data received {"connection_id":192935,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:48:06] local.INFO: Processing buffer {"connection_id":192935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:48:06] local.INFO: IMEI packet received {"connection_id":192935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":192935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:48:10] local.INFO: TCP Data received {"connection_id":191348,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:48:10] local.INFO: Processing buffer {"connection_id":191348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:48:10] local.INFO: Packet analysis {"connection_id":191348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:48:10] local.INFO: Extracted packet for processing {"connection_id":191348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304486656001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790252202000,"timestamp_ms":1790252202000,"timestamp_seconds":1790252202,"priority":1,"record_length":96,"hex_timestamp":"000001a0d358b810"} 
[2026-09-24 17:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 17:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304486656001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304486656001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:48:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304486656001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":191348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:48:10] local.INFO: GPS data processed {"connection_id":191348,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:48:10] local.INFO: Acknowledgment sent {"connection_id":191348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:48:13] local.INFO: TCP Data received {"connection_id":192935,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:48:13] local.INFO: Processing buffer {"connection_id":192935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:48:13] local.INFO: IMEI packet received {"connection_id":192935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":192935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:48:14] local.INFO: TCP Data received {"connection_id":192935,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3584ab00100000000000000000000000000..."} 
[2026-09-24 17:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3584ab00100000000000000000000000000..."} 
[2026-09-24 17:48:14] local.INFO: Processing buffer {"connection_id":192935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3584ab00100000000000000000000000000..."} 
[2026-09-24 17:48:14] local.INFO: Packet analysis {"connection_id":192935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:48:14] local.INFO: Extracted packet for processing {"connection_id":192935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:48:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 17:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304541440001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:48:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6463791332738490368,"note":"Value kept but may cause issues"} 
[2026-09-24 17:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790252174000,"timestamp_ms":1790252174000,"timestamp_seconds":1790252174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3584ab0"} 
[2026-09-24 17:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:48: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-09-24 17:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 17:48:14] 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-09-24 17:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":192935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":192935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":192935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":192935,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 17:48:14] local.INFO: GPS data processed {"connection_id":192935,"processed":0,"errors":0,"total":1} 
[2026-09-24 17:48:14] local.INFO: Acknowledgment sent {"connection_id":192935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:48:18] local.INFO: TCP Data received {"connection_id":192935,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d357d580012ca6a300078d4438001e008d30..."} 
[2026-09-24 17:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d357d580012ca6a300078d4438001e008d30..."} 
[2026-09-24 17:48:18] local.INFO: Processing buffer {"connection_id":192935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d357d580012ca6a300078d4438001e008d30..."} 
[2026-09-24 17:48:18] local.INFO: Packet analysis {"connection_id":192935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d357"} 
[2026-09-24 17:48:18] local.INFO: Extracted packet for processing {"connection_id":192935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d357"} 
[2026-09-24 17:48:18] local.INFO: GPS Element Parsed {"raw_longitude":749118208,"raw_latitude":126698552,"longitude_deg":74.9118208,"latitude_deg":12.6698552,"altitude":30,"angle":141,"satellites":48,"speed":59,"hex_longitude":"2ca6a300","hex_latitude":"078d4438","is_valid_coordinates":true} 
[2026-09-24 17:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:48:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,67,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 17:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790252144000,"timestamp_ms":1790252144000,"timestamp_seconds":1790252144,"priority":1,"record_length":96,"hex_timestamp":"000001a0d357d580"} 
[2026-09-24 17:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 17:48:18] 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-09-24 17:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":192935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":192935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":192935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28398,"67":206,"27":54016,"24":59,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,27,24,16]} 
[2026-09-24 17:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 17:48:18] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-24 17:48:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:48:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28398,"unknown_67":206,"unknown_27":54016,"ignition":59,"odometer":null}} 
[2026-09-24 17:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":192935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891104,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:48:18] local.INFO: GPS data processed {"connection_id":192935,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:48:18] local.INFO: Acknowledgment sent {"connection_id":192935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:48:22] local.INFO: TCP Data received {"connection_id":192934,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:48:22] local.INFO: Processing buffer {"connection_id":192934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:48:22] local.INFO: Packet analysis {"connection_id":192934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:48:22] local.INFO: Extracted packet for processing {"connection_id":192934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:48:22] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304457728001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790252089000,"timestamp_ms":1790252089000,"timestamp_seconds":1790252089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d356fea8"} 
[2026-09-24 17:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304457728001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304457728001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:48:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:48:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304457728001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":192934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:48:22] local.INFO: GPS data processed {"connection_id":192934,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:48:22] local.INFO: Acknowledgment sent {"connection_id":192934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:48:28] local.INFO: TCP Data received {"connection_id":194210,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:48:28] local.INFO: Processing buffer {"connection_id":194210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:48:28] local.INFO: IMEI packet received {"connection_id":194210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":194210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:48:33] local.INFO: TCP Data received {"connection_id":194210,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:48:33] local.INFO: Processing buffer {"connection_id":194210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:48:33] local.INFO: IMEI packet received {"connection_id":194210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":194210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:48:34] local.INFO: TCP Data received {"connection_id":194210,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:48:34] local.INFO: Processing buffer {"connection_id":194210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:48:34] local.INFO: Packet analysis {"connection_id":194210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:48:34] local.INFO: Extracted packet for processing {"connection_id":194210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:48:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304486656001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790252202000,"timestamp_ms":1790252202000,"timestamp_seconds":1790252202,"priority":1,"record_length":96,"hex_timestamp":"000001a0d358b810"} 
[2026-09-24 17:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 17:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304486656001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304486656001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:48:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:48:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304486656001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":194210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:48:34] local.INFO: GPS data processed {"connection_id":194210,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:48:34] local.INFO: Acknowledgment sent {"connection_id":194210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:48:45] local.INFO: TCP Data received {"connection_id":191551,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:48:45] local.INFO: Processing buffer {"connection_id":191551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:48:45] local.INFO: IMEI packet received {"connection_id":191551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":191551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:48:50] local.INFO: TCP Data received {"connection_id":191551,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:48:50] local.INFO: Processing buffer {"connection_id":191551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:48:50] local.INFO: IMEI packet received {"connection_id":191551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":191551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:48:50] local.INFO: TCP Data received {"connection_id":192935,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3582788012ca6de00078cfcd0001b008c2f..."} 
[2026-09-24 17:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3582788012ca6de00078cfcd0001b008c2f..."} 
[2026-09-24 17:48:50] local.INFO: Processing buffer {"connection_id":192935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3582788012ca6de00078cfcd0001b008c2f..."} 
[2026-09-24 17:48:50] local.INFO: Packet analysis {"connection_id":192935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:48:50] local.INFO: Extracted packet for processing {"connection_id":192935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:48:50] local.INFO: GPS Element Parsed {"raw_longitude":749133312,"raw_latitude":126680272,"longitude_deg":74.9133312,"latitude_deg":12.6680272,"altitude":27,"angle":140,"satellites":47,"speed":0,"hex_longitude":"2ca6de00","hex_latitude":"078cfcd0","is_valid_coordinates":true} 
[2026-09-24 17:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304548864001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:48:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6439303009774848000,"note":"Value kept but may cause issues"} 
[2026-09-24 17:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790252165000,"timestamp_ms":1790252165000,"timestamp_seconds":1790252165,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3582788"} 
[2026-09-24 17:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:48:50] 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-09-24 17:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304548864001,"66":28354,"26":206,"27":54016,"24":0,"16":3605341577150464,"44":-6439303009774848000},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,27,24,16,44]} 
[2026-09-24 17:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304548864001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:48:50] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-09-24 17:48:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:48:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6439303009774848000,"description":"Unknown IO ID 44"} 
[2026-09-24 17:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304548864001,"power":28354,"unknown_26":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6439303009774848000}} 
[2026-09-24 17:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":192935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891107,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:48:50] local.INFO: GPS data processed {"connection_id":192935,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:48:50] local.INFO: Acknowledgment sent {"connection_id":192935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:48:50] local.INFO: TCP Data received {"connection_id":191551,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:48:50] local.INFO: Processing buffer {"connection_id":191551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:48:50] local.INFO: Packet analysis {"connection_id":191551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:48:50] local.INFO: Extracted packet for processing {"connection_id":191551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:48:50] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304457728001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790252089000,"timestamp_ms":1790252089000,"timestamp_seconds":1790252089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d356fea8"} 
[2026-09-24 17:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304457728001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304457728001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:48:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:48:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304457728001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":191551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:48:51] local.INFO: GPS data processed {"connection_id":191551,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:48:51] local.INFO: Acknowledgment sent {"connection_id":191551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:49:05] local.INFO: TCP Data received {"connection_id":194210,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:49:05] local.INFO: Processing buffer {"connection_id":194210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:49:05] local.INFO: Packet analysis {"connection_id":194210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:49:05] local.INFO: Extracted packet for processing {"connection_id":194210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:49:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304486656001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790252202000,"timestamp_ms":1790252202000,"timestamp_seconds":1790252202,"priority":1,"record_length":96,"hex_timestamp":"000001a0d358b810"} 
[2026-09-24 17:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 17:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304486656001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304486656001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:49:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:49:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304486656001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":194210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:49:05] local.INFO: GPS data processed {"connection_id":194210,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:49:05] local.INFO: Acknowledgment sent {"connection_id":194210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:49:06] local.INFO: TCP Data received {"connection_id":194211,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:49:06] local.INFO: Processing buffer {"connection_id":194211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:49:06] local.INFO: IMEI packet received {"connection_id":194211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":194211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:49:10] local.INFO: TCP Data received {"connection_id":194211,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:49:10] local.INFO: Processing buffer {"connection_id":194211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:49:10] local.INFO: IMEI packet received {"connection_id":194211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":194211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:49:13] local.INFO: TCP Data received {"connection_id":194211,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:49:13] local.INFO: Processing buffer {"connection_id":194211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:49:13] local.INFO: IMEI packet received {"connection_id":194211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":194211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:49:14] local.INFO: TCP Data received {"connection_id":194211,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3590e000100000000000000000000000000..."} 
[2026-09-24 17:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3590e000100000000000000000000000000..."} 
[2026-09-24 17:49:14] local.INFO: Processing buffer {"connection_id":194211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3590e000100000000000000000000000000..."} 
[2026-09-24 17:49:14] local.INFO: Packet analysis {"connection_id":194211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d359"} 
[2026-09-24 17:49:14] local.INFO: Extracted packet for processing {"connection_id":194211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d359"} 
[2026-09-24 17:49:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 17:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304554240001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:49:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6422695986153598976,"note":"Value kept but may cause issues"} 
[2026-09-24 17:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790252224000,"timestamp_ms":1790252224000,"timestamp_seconds":1790252224,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3590e00"} 
[2026-09-24 17:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 17:49:14] 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-09-24 17:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":194211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":194211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":194211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":194211,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 17:49:14] local.INFO: GPS data processed {"connection_id":194211,"processed":0,"errors":0,"total":1} 
[2026-09-24 17:49:14] local.INFO: Acknowledgment sent {"connection_id":194211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:49:17] local.INFO: TCP Data received {"connection_id":194211,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35894e8012ca75840078c80e0002300852f..."} 
[2026-09-24 17:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35894e8012ca75840078c80e0002300852f..."} 
[2026-09-24 17:49:17] local.INFO: Processing buffer {"connection_id":194211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35894e8012ca75840078c80e0002300852f..."} 
[2026-09-24 17:49:17] local.INFO: Packet analysis {"connection_id":194211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:49:17] local.INFO: Extracted packet for processing {"connection_id":194211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:49:17] local.INFO: GPS Element Parsed {"raw_longitude":749164608,"raw_latitude":126648544,"longitude_deg":74.9164608,"latitude_deg":12.6648544,"altitude":35,"angle":133,"satellites":47,"speed":49,"hex_longitude":"2ca75840","hex_latitude":"078c80e0","is_valid_coordinates":true} 
[2026-09-24 17:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:49:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,26,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 17:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790252193000,"timestamp_ms":1790252193000,"timestamp_seconds":1790252193,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35894e8"} 
[2026-09-24 17:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:49:17] 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-09-24 17:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":194211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":194211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":194211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"26":206,"27":54016,"24":49,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,27,24,16]} 
[2026-09-24 17:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 17:49:17] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-09-24 17:49:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:49:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_26":206,"unknown_27":54016,"ignition":49,"odometer":null}} 
[2026-09-24 17:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":194211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891110,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:49:17] local.INFO: GPS data processed {"connection_id":194211,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:49:17] local.INFO: Acknowledgment sent {"connection_id":194211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:49:22] local.INFO: TCP Data received {"connection_id":191551,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:49:22] local.INFO: Processing buffer {"connection_id":191551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:49:22] local.INFO: Packet analysis {"connection_id":191551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:49:22] local.INFO: Extracted packet for processing {"connection_id":191551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:49:22] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304457728001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790252089000,"timestamp_ms":1790252089000,"timestamp_seconds":1790252089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d356fea8"} 
[2026-09-24 17:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304457728001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304457728001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:49:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:49:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304457728001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":191551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:49:22] local.INFO: GPS data processed {"connection_id":191551,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:49:22] local.INFO: Acknowledgment sent {"connection_id":191551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:49:28] local.INFO: TCP Data received {"connection_id":194212,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:49:28] local.INFO: Processing buffer {"connection_id":194212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:49:28] local.INFO: IMEI packet received {"connection_id":194212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":194212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:49:33] local.INFO: TCP Data received {"connection_id":194212,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:49:33] local.INFO: Processing buffer {"connection_id":194212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:49:33] local.INFO: IMEI packet received {"connection_id":194212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":194212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:49:34] local.INFO: TCP Data received {"connection_id":194212,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:49:34] local.INFO: Processing buffer {"connection_id":194212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:49:34] local.INFO: Packet analysis {"connection_id":194212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:49:34] local.INFO: Extracted packet for processing {"connection_id":194212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:49:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304486656001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790252202000,"timestamp_ms":1790252202000,"timestamp_seconds":1790252202,"priority":1,"record_length":96,"hex_timestamp":"000001a0d358b810"} 
[2026-09-24 17:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 17:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304486656001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304486656001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:49:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:49:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304486656001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":194212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:49:34] local.INFO: GPS data processed {"connection_id":194212,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:49:34] local.INFO: Acknowledgment sent {"connection_id":194212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:49:44] local.INFO: TCP Data received {"connection_id":192936,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:49:44] local.INFO: Processing buffer {"connection_id":192936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:49:44] local.INFO: IMEI packet received {"connection_id":192936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":192936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:49:49] local.INFO: TCP Data received {"connection_id":194211,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d358d750012ca78e80078c3bb00021009a2f..."} 
[2026-09-24 17:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d358d750012ca78e80078c3bb00021009a2f..."} 
[2026-09-24 17:49:49] local.INFO: Processing buffer {"connection_id":194211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d358d750012ca78e80078c3bb00021009a2f..."} 
[2026-09-24 17:49:49] local.INFO: Packet analysis {"connection_id":194211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:49:49] local.INFO: Extracted packet for processing {"connection_id":194211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:49:49] local.INFO: GPS Element Parsed {"raw_longitude":749178496,"raw_latitude":126630832,"longitude_deg":74.9178496,"latitude_deg":12.6630832,"altitude":33,"angle":154,"satellites":47,"speed":59,"hex_longitude":"2ca78e80","hex_latitude":"078c3bb0","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304561408001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:49:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6388285670258843648,"note":"Value kept but may cause issues"} 
[2026-09-24 17:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790252210000,"timestamp_ms":1790252210000,"timestamp_seconds":1790252210,"priority":1,"record_length":96,"hex_timestamp":"000001a0d358d750"} 
[2026-09-24 17:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 17:49: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-09-24 17: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-09-24 17:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":194211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":194211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":194211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304561408001,"66":28256,"28":206,"27":54016,"24":59,"16":3605341577150464,"44":-6388285670258843648},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-09-24 17:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304561408001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:49:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-24 17:49:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:49:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6388285670258843648,"description":"Unknown IO ID 44"} 
[2026-09-24 17:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304561408001,"power":28256,"unknown_28":206,"unknown_27":54016,"ignition":59,"odometer":null,"unknown_44":-6388285670258843648}} 
[2026-09-24 17:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":194211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891113,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:49:49] local.INFO: GPS data processed {"connection_id":194211,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:49:49] local.INFO: Acknowledgment sent {"connection_id":194211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:49:50] local.INFO: TCP Data received {"connection_id":192936,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:49:50] local.INFO: Processing buffer {"connection_id":192936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:49:50] local.INFO: IMEI packet received {"connection_id":192936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":192936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:49:50] local.INFO: TCP Data received {"connection_id":192936,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:49:50] local.INFO: Processing buffer {"connection_id":192936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:49:50] local.INFO: Packet analysis {"connection_id":192936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:49:50] local.INFO: Extracted packet for processing {"connection_id":192936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:49:50] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:49: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-09-24 17:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304457728001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790252089000,"timestamp_ms":1790252089000,"timestamp_seconds":1790252089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d356fea8"} 
[2026-09-24 17:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:49: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-09-24 17:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304457728001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304457728001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:49:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:49:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304457728001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":192936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:49:51] local.INFO: GPS data processed {"connection_id":192936,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:49:51] local.INFO: Acknowledgment sent {"connection_id":192936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:50:05] local.INFO: TCP Data received {"connection_id":194212,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:50:05] local.INFO: Processing buffer {"connection_id":194212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:50:05] local.INFO: Packet analysis {"connection_id":194212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:50:05] local.INFO: Extracted packet for processing {"connection_id":194212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:50:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304486656001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790252202000,"timestamp_ms":1790252202000,"timestamp_seconds":1790252202,"priority":1,"record_length":96,"hex_timestamp":"000001a0d358b810"} 
[2026-09-24 17:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 17:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304486656001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304486656001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:50:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:50:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304486656001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":194212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:50:05] local.INFO: GPS data processed {"connection_id":194212,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:50:05] local.INFO: Acknowledgment sent {"connection_id":194212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:50:06] local.INFO: TCP Data received {"connection_id":191552,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:50:06] local.INFO: Processing buffer {"connection_id":191552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:50:06] local.INFO: IMEI packet received {"connection_id":191552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":191552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:50:09] local.INFO: TCP Data received {"connection_id":191552,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:50:09] local.INFO: Processing buffer {"connection_id":191552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:50:09] local.INFO: IMEI packet received {"connection_id":191552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":191552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:50:12] local.INFO: TCP Data received {"connection_id":191552,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:50:12] local.INFO: Processing buffer {"connection_id":191552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:50:12] local.INFO: IMEI packet received {"connection_id":191552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":191552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:50:15] local.INFO: TCP Data received {"connection_id":191552,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3592958012ca7b480078be328001b00a330..."} 
[2026-09-24 17:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3592958012ca7b480078be328001b00a330..."} 
[2026-09-24 17:50:15] local.INFO: Processing buffer {"connection_id":191552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3592958012ca7b480078be328001b00a330..."} 
[2026-09-24 17:50:15] local.INFO: Packet analysis {"connection_id":191552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d359"} 
[2026-09-24 17:50:15] local.INFO: Extracted packet for processing {"connection_id":191552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d359"} 
[2026-09-24 17:50:15] local.INFO: GPS Element Parsed {"raw_longitude":749188224,"raw_latitude":126608168,"longitude_deg":74.9188224,"latitude_deg":12.6608168,"altitude":27,"angle":163,"satellites":48,"speed":0,"hex_longitude":"2ca7b480","hex_latitude":"078be328","is_valid_coordinates":true} 
[2026-09-24 17:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304565760001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:50:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6373015652776824832,"note":"Value kept but may cause issues"} 
[2026-09-24 17:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790252231000,"timestamp_ms":1790252231000,"timestamp_seconds":1790252231,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3592958"} 
[2026-09-24 17:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 17:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304565760001,"66":28300,"54":206,"27":54016,"24":0,"16":3605341577150464,"44":-6373015652776824832},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,27,24,16,44]} 
[2026-09-24 17:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304565760001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:50:15] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-24 17:50:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:50:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6373015652776824832,"description":"Unknown IO ID 44"} 
[2026-09-24 17:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304565760001,"power":28300,"unknown_54":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6373015652776824832}} 
[2026-09-24 17:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":191552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891116,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:50:16] local.INFO: GPS data processed {"connection_id":191552,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:50:16] local.INFO: Acknowledgment sent {"connection_id":191552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:50:17] local.INFO: TCP Data received {"connection_id":191552,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3595450012ca7bf00078b87b8001b00b12f..."} 
[2026-09-24 17:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3595450012ca7bf00078b87b8001b00b12f..."} 
[2026-09-24 17:50:17] local.INFO: Processing buffer {"connection_id":191552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3595450012ca7bf00078b87b8001b00b12f..."} 
[2026-09-24 17:50:17] local.INFO: Packet analysis {"connection_id":191552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d359"} 
[2026-09-24 17:50:17] local.INFO: Extracted packet for processing {"connection_id":191552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d359"} 
[2026-09-24 17:50:17] local.INFO: GPS Element Parsed {"raw_longitude":749190912,"raw_latitude":126584760,"longitude_deg":74.9190912,"latitude_deg":12.658476,"altitude":27,"angle":177,"satellites":47,"speed":58,"hex_longitude":"2ca7bf00","hex_latitude":"078b87b8","is_valid_coordinates":true} 
[2026-09-24 17:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304571136001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:50:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6362319603667621888,"note":"Value kept but may cause issues"} 
[2026-09-24 17:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790252242000,"timestamp_ms":1790252242000,"timestamp_seconds":1790252242,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3595450"} 
[2026-09-24 17:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 17:50:17] 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-09-24 17:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304571136001,"66":28376,"54":206,"27":54016,"24":58,"16":3605341577150464,"44":-6362319603667621888},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,27,24,16,44]} 
[2026-09-24 17:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304571136001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:50:17] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-24 17:50:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:50:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6362319603667621888,"description":"Unknown IO ID 44"} 
[2026-09-24 17:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304571136001,"power":28376,"unknown_54":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-6362319603667621888}} 
[2026-09-24 17:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":191552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891117,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:50:17] local.INFO: GPS data processed {"connection_id":191552,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:50:17] local.INFO: Acknowledgment sent {"connection_id":191552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:50:22] local.INFO: TCP Data received {"connection_id":192936,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:50:22] local.INFO: Processing buffer {"connection_id":192936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d356fea8012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 17:50:22] local.INFO: Packet analysis {"connection_id":192936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:50:22] local.INFO: Extracted packet for processing {"connection_id":192936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d356"} 
[2026-09-24 17:50:22] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304457728001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790252089000,"timestamp_ms":1790252089000,"timestamp_seconds":1790252089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d356fea8"} 
[2026-09-24 17:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304457728001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304457728001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:50:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:50:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304457728001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":192936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:50:22] local.INFO: GPS data processed {"connection_id":192936,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:50:22] local.INFO: Acknowledgment sent {"connection_id":192936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:50:33] local.INFO: TCP Data received {"connection_id":191349,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:50:33] local.INFO: Processing buffer {"connection_id":191349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:50:33] local.INFO: IMEI packet received {"connection_id":191349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":191349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:50:38] local.INFO: TCP Data received {"connection_id":191349,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:50:38] local.INFO: Processing buffer {"connection_id":191349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:50:38] local.INFO: IMEI packet received {"connection_id":191349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":191349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:50:41] local.INFO: TCP Data received {"connection_id":191349,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:50:41] local.INFO: Processing buffer {"connection_id":191349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:50:41] local.INFO: Packet analysis {"connection_id":191349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:50:41] local.INFO: Extracted packet for processing {"connection_id":191349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:50:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304486656001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790252202000,"timestamp_ms":1790252202000,"timestamp_seconds":1790252202,"priority":1,"record_length":96,"hex_timestamp":"000001a0d358b810"} 
[2026-09-24 17:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 17:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304486656001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304486656001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:50:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:50:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304486656001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":191349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:50:41] local.INFO: GPS data processed {"connection_id":191349,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:50:41] local.INFO: Acknowledgment sent {"connection_id":191349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:50:44] local.INFO: TCP Data received {"connection_id":192937,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:50:44] local.INFO: Processing buffer {"connection_id":192937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:50:44] local.INFO: IMEI packet received {"connection_id":192937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":192937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:50:49] local.INFO: TCP Data received {"connection_id":191552,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35992d0012ca7c980078b2d70001a009f2e..."} 
[2026-09-24 17:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35992d0012ca7c980078b2d70001a009f2e..."} 
[2026-09-24 17:50:49] local.INFO: Processing buffer {"connection_id":191552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35992d0012ca7c980078b2d70001a009f2e..."} 
[2026-09-24 17:50:49] local.INFO: Packet analysis {"connection_id":191552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d359"} 
[2026-09-24 17:50:49] local.INFO: Extracted packet for processing {"connection_id":191552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d359"} 
[2026-09-24 17:50:49] local.INFO: GPS Element Parsed {"raw_longitude":749193600,"raw_latitude":126561648,"longitude_deg":74.91936,"latitude_deg":12.6561648,"altitude":26,"angle":159,"satellites":46,"speed":58,"hex_longitude":"2ca7c980","hex_latitude":"078b2d70","is_valid_coordinates":true} 
[2026-09-24 17:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304573952001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:50:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6359364116418152448,"note":"Value kept but may cause issues"} 
[2026-09-24 17:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790252258000,"timestamp_ms":1790252258000,"timestamp_seconds":1790252258,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35992d0"} 
[2026-09-24 17:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 17:50: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-09-24 17:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304573952001,"66":28354,"54":206,"27":54016,"24":58,"16":3605341577150464,"44":-6359364116418152448},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,27,24,16,44]} 
[2026-09-24 17:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304573952001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:50:49] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-24 17:50:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:50:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6359364116418152448,"description":"Unknown IO ID 44"} 
[2026-09-24 17:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304573952001,"power":28354,"unknown_54":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-6359364116418152448}} 
[2026-09-24 17:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":191552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891120,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:50:49] local.INFO: GPS data processed {"connection_id":191552,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:50:49] local.INFO: Acknowledgment sent {"connection_id":191552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:50:50] local.INFO: TCP Data received {"connection_id":192937,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:50:50] local.INFO: Processing buffer {"connection_id":192937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:50:50] local.INFO: IMEI packet received {"connection_id":192937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":192937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:50:51] local.INFO: TCP Data received {"connection_id":192937,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:50:51] local.INFO: Processing buffer {"connection_id":192937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:50:51] local.INFO: Packet analysis {"connection_id":192937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35b"} 
[2026-09-24 17:50:51] local.INFO: Extracted packet for processing {"connection_id":192937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35b"} 
[2026-09-24 17:50:51] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":38,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304534784001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790252390000,"timestamp_ms":1790252390000,"timestamp_seconds":1790252390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35b9670"} 
[2026-09-24 17:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304534784001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304534784001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:50:51] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:50:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304534784001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":192937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:50:51] local.INFO: GPS data processed {"connection_id":192937,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:50:51] local.INFO: Acknowledgment sent {"connection_id":192937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:51:11] local.INFO: TCP Data received {"connection_id":191553,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:51:11] local.INFO: Processing buffer {"connection_id":191553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:51:11] local.INFO: IMEI packet received {"connection_id":191553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":191553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:51:12] local.INFO: TCP Data received {"connection_id":191349,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:51:12] local.INFO: Processing buffer {"connection_id":191349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:51:12] local.INFO: Packet analysis {"connection_id":191349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:51:12] local.INFO: Extracted packet for processing {"connection_id":191349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:51:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304486656001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790252202000,"timestamp_ms":1790252202000,"timestamp_seconds":1790252202,"priority":1,"record_length":96,"hex_timestamp":"000001a0d358b810"} 
[2026-09-24 17:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 17:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304486656001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304486656001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:51:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:51:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304486656001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":191349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:51:12] local.INFO: GPS data processed {"connection_id":191349,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:51:12] local.INFO: Acknowledgment sent {"connection_id":191349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:51:17] local.INFO: TCP Data received {"connection_id":191553,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:51:17] local.INFO: Processing buffer {"connection_id":191553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:51:17] local.INFO: IMEI packet received {"connection_id":191553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":191553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:51:18] local.INFO: TCP Data received {"connection_id":191553,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d359d150012ca80080078ae2f8001200892f..."} 
[2026-09-24 17:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d359d150012ca80080078ae2f8001200892f..."} 
[2026-09-24 17:51:18] local.INFO: Processing buffer {"connection_id":191553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d359d150012ca80080078ae2f8001200892f..."} 
[2026-09-24 17:51:18] local.INFO: Packet analysis {"connection_id":191553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d359"} 
[2026-09-24 17:51:18] local.INFO: Extracted packet for processing {"connection_id":191553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d359"} 
[2026-09-24 17:51:18] local.INFO: GPS Element Parsed {"raw_longitude":749207680,"raw_latitude":126542584,"longitude_deg":74.920768,"latitude_deg":12.6542584,"altitude":18,"angle":137,"satellites":47,"speed":60,"hex_longitude":"2ca80080","hex_latitude":"078ae2f8","is_valid_coordinates":true} 
[2026-09-24 17:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304578048001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:51:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6356408629168607232,"note":"Value kept but may cause issues"} 
[2026-09-24 17:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790252274000,"timestamp_ms":1790252274000,"timestamp_seconds":1790252274,"priority":1,"record_length":96,"hex_timestamp":"000001a0d359d150"} 
[2026-09-24 17:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 17:51:18] 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-09-24 17:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191553,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191553,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304578048001,"66":28430,"55":206,"27":54016,"24":60,"16":3605341577150464,"44":-6356408629168607232},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16,44]} 
[2026-09-24 17:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304578048001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:51:18] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-24 17:51:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:51:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6356408629168607232,"description":"Unknown IO ID 44"} 
[2026-09-24 17:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304578048001,"power":28430,"unknown_55":206,"unknown_27":54016,"ignition":60,"odometer":null,"unknown_44":-6356408629168607232}} 
[2026-09-24 17:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":191553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891123,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:51:18] local.INFO: GPS data processed {"connection_id":191553,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:51:18] local.INFO: Acknowledgment sent {"connection_id":191553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:51:23] local.INFO: TCP Data received {"connection_id":192937,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:51:23] local.INFO: Processing buffer {"connection_id":192937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:51:23] local.INFO: Packet analysis {"connection_id":192937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35b"} 
[2026-09-24 17:51:23] local.INFO: Extracted packet for processing {"connection_id":192937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35b"} 
[2026-09-24 17:51:23] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":38,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304534784001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790252390000,"timestamp_ms":1790252390000,"timestamp_seconds":1790252390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35b9670"} 
[2026-09-24 17:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:51: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-09-24 17:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304534784001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304534784001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:51:23] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:51:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304534784001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":192937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:51:23] local.INFO: GPS data processed {"connection_id":192937,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:51:23] local.INFO: Acknowledgment sent {"connection_id":192937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:51:28] local.INFO: TCP Data received {"connection_id":194213,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:51:28] local.INFO: Processing buffer {"connection_id":194213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:51:28] local.INFO: IMEI packet received {"connection_id":194213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":194213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:51:33] local.INFO: TCP Data received {"connection_id":194213,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:51:33] local.INFO: Processing buffer {"connection_id":194213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:51:33] local.INFO: IMEI packet received {"connection_id":194213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":194213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:51:34] local.INFO: TCP Data received {"connection_id":194213,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:51:34] local.INFO: Processing buffer {"connection_id":194213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:51:34] local.INFO: Packet analysis {"connection_id":194213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:51:34] local.INFO: Extracted packet for processing {"connection_id":194213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:51:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304486656001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790252202000,"timestamp_ms":1790252202000,"timestamp_seconds":1790252202,"priority":1,"record_length":96,"hex_timestamp":"000001a0d358b810"} 
[2026-09-24 17:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 17:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304486656001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304486656001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:51:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:51:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304486656001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":194213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:51:34] local.INFO: GPS data processed {"connection_id":194213,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:51:34] local.INFO: Acknowledgment sent {"connection_id":194213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:51:50] local.INFO: TCP Data received {"connection_id":191350,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:51:50] local.INFO: Processing buffer {"connection_id":191350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:51:50] local.INFO: IMEI packet received {"connection_id":191350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":191350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:51:55] local.INFO: TCP Data received {"connection_id":191350,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:51:55] local.INFO: Processing buffer {"connection_id":191350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:51:55] local.INFO: IMEI packet received {"connection_id":191350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":191350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:51:55] local.INFO: TCP Data received {"connection_id":191350,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:51:55] local.INFO: Processing buffer {"connection_id":191350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:51:55] local.INFO: Packet analysis {"connection_id":191350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35b"} 
[2026-09-24 17:51:55] local.INFO: Extracted packet for processing {"connection_id":191350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35b"} 
[2026-09-24 17:51:55] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":38,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304534784001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790252390000,"timestamp_ms":1790252390000,"timestamp_seconds":1790252390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35b9670"} 
[2026-09-24 17:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304534784001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304534784001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:51:55] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:51:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304534784001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":191350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:51:56] local.INFO: GPS data processed {"connection_id":191350,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:51:56] local.INFO: Acknowledgment sent {"connection_id":191350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:52:05] local.INFO: TCP Data received {"connection_id":194213,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:52:05] local.INFO: Processing buffer {"connection_id":194213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d358b810012d34c14006aa4940000900f52d..."} 
[2026-09-24 17:52:05] local.INFO: Packet analysis {"connection_id":194213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:52:05] local.INFO: Extracted packet for processing {"connection_id":194213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d358"} 
[2026-09-24 17:52:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304486656001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790252202000,"timestamp_ms":1790252202000,"timestamp_seconds":1790252202,"priority":1,"record_length":96,"hex_timestamp":"000001a0d358b810"} 
[2026-09-24 17:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 17:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304486656001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304486656001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:52:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:52:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304486656001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":194213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:52:05] local.INFO: GPS data processed {"connection_id":194213,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:52:05] local.INFO: Acknowledgment sent {"connection_id":194213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:52:06] local.INFO: TCP Data received {"connection_id":191554,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:52:06] local.INFO: Processing buffer {"connection_id":191554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:52:06] local.INFO: IMEI packet received {"connection_id":191554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":191554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:52:10] local.INFO: TCP Data received {"connection_id":191554,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:52:10] local.INFO: Processing buffer {"connection_id":191554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:52:10] local.INFO: IMEI packet received {"connection_id":191554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":191554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:52:12] local.INFO: TCP Data received {"connection_id":191554,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35c80d0012ca8cf4007874328000d00a62e..."} 
[2026-09-24 17:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35c80d0012ca8cf4007874328000d00a62e..."} 
[2026-09-24 17:52:12] local.INFO: Processing buffer {"connection_id":191554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35c80d0012ca8cf4007874328000d00a62e..."} 
[2026-09-24 17:52:12] local.INFO: Packet analysis {"connection_id":191554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35c"} 
[2026-09-24 17:52:12] local.INFO: Extracted packet for processing {"connection_id":191554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35c"} 
[2026-09-24 17:52:12] local.INFO: GPS Element Parsed {"raw_longitude":749260608,"raw_latitude":126305064,"longitude_deg":74.9260608,"latitude_deg":12.6305064,"altitude":13,"angle":166,"satellites":46,"speed":58,"hex_longitude":"2ca8cf40","hex_latitude":"07874328","is_valid_coordinates":true} 
[2026-09-24 17:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:52:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,216,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 17:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790252450000,"timestamp_ms":1790252450000,"timestamp_seconds":1790252450,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35c80d0"} 
[2026-09-24 17:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-24 17:52:12] 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-09-24 17:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"216":206,"27":54016,"24":58,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,27,24,16]} 
[2026-09-24 17:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 17:52:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 17:52:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:52:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_216":206,"unknown_27":54016,"ignition":58,"odometer":null}} 
[2026-09-24 17:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":191554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891128,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:52:12] local.INFO: GPS data processed {"connection_id":191554,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:52:12] local.INFO: Acknowledgment sent {"connection_id":191554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:52:27] local.INFO: TCP Data received {"connection_id":191350,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:52:27] local.INFO: Processing buffer {"connection_id":191350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:52:27] local.INFO: Packet analysis {"connection_id":191350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35b"} 
[2026-09-24 17:52:27] local.INFO: Extracted packet for processing {"connection_id":191350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35b"} 
[2026-09-24 17:52:27] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":38,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304534784001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790252390000,"timestamp_ms":1790252390000,"timestamp_seconds":1790252390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35b9670"} 
[2026-09-24 17:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304534784001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304534784001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:52:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:52:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304534784001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":191350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:52:27] local.INFO: GPS data processed {"connection_id":191350,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:52:27] local.INFO: Acknowledgment sent {"connection_id":191350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:52:27] local.INFO: TCP Data received {"connection_id":192938,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:52:28] local.INFO: Processing buffer {"connection_id":192938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:52:28] local.INFO: IMEI packet received {"connection_id":192938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":192938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:52:32] local.INFO: TCP Data received {"connection_id":192938,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:52:32] local.INFO: Processing buffer {"connection_id":192938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:52:32] local.INFO: IMEI packet received {"connection_id":192938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":192938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:52:33] local.INFO: TCP Data received {"connection_id":192938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:52:33] local.INFO: Processing buffer {"connection_id":192938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:52:33] local.INFO: Packet analysis {"connection_id":192938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:52:33] local.INFO: Extracted packet for processing {"connection_id":192938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:52:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304563712001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790252503000,"timestamp_ms":1790252503000,"timestamp_seconds":1790252503,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35d4fd8"} 
[2026-09-24 17:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 17:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304563712001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304563712001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:52:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:52:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304563712001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":192938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:52:33] local.INFO: GPS data processed {"connection_id":192938,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:52:33] local.INFO: Acknowledgment sent {"connection_id":192938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:52:44] local.INFO: TCP Data received {"connection_id":191554,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35cd2d8012ca8e3000786eba0001000a830..."} 
[2026-09-24 17:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35cd2d8012ca8e3000786eba0001000a830..."} 
[2026-09-24 17:52:44] local.INFO: Processing buffer {"connection_id":191554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35cd2d8012ca8e3000786eba0001000a830..."} 
[2026-09-24 17:52:44] local.INFO: Packet analysis {"connection_id":191554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35c"} 
[2026-09-24 17:52:44] local.INFO: Extracted packet for processing {"connection_id":191554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35c"} 
[2026-09-24 17:52:44] local.INFO: GPS Element Parsed {"raw_longitude":749265664,"raw_latitude":126282656,"longitude_deg":74.9265664,"latitude_deg":12.6282656,"altitude":16,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2ca8e300","hex_latitude":"0786eba0","is_valid_coordinates":true} 
[2026-09-24 17:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304627200001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:52:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6282732554080278528,"note":"Value kept but may cause issues"} 
[2026-09-24 17:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790252471000,"timestamp_ms":1790252471000,"timestamp_seconds":1790252471,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35cd2d8"} 
[2026-09-24 17:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 17:52:44] 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-09-24 17:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191554,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304627200001,"66":28376,"216":206,"27":54016,"24":0,"16":3605341577150464,"44":-6282732554080278528},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,27,24,16,44]} 
[2026-09-24 17:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304627200001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:52:45] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-24 17:52:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:52:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6282732554080278528,"description":"Unknown IO ID 44"} 
[2026-09-24 17:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304627200001,"power":28376,"unknown_216":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6282732554080278528}} 
[2026-09-24 17:52:45] local.INFO: TCP Data received {"connection_id":192939,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:52:45] local.INFO: Processing buffer {"connection_id":192939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:52:45] local.INFO: IMEI packet received {"connection_id":192939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":192939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":191554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891131,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:52:45] local.INFO: GPS data processed {"connection_id":191554,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:52:45] local.INFO: Acknowledgment sent {"connection_id":191554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:52:50] local.INFO: TCP Data received {"connection_id":192939,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:52:50] local.INFO: Processing buffer {"connection_id":192939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:52:50] local.INFO: IMEI packet received {"connection_id":192939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":192939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:52:50] local.INFO: TCP Data received {"connection_id":192939,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:52:50] local.INFO: Processing buffer {"connection_id":192939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:52:50] local.INFO: Packet analysis {"connection_id":192939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35b"} 
[2026-09-24 17:52:50] local.INFO: Extracted packet for processing {"connection_id":192939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35b"} 
[2026-09-24 17:52:50] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":38,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304534784001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790252390000,"timestamp_ms":1790252390000,"timestamp_seconds":1790252390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35b9670"} 
[2026-09-24 17:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304534784001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304534784001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:52:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:52:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304534784001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":192939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:52:51] local.INFO: GPS data processed {"connection_id":192939,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:52:51] local.INFO: Acknowledgment sent {"connection_id":192939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:53:05] local.INFO: TCP Data received {"connection_id":192938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:53:05] local.INFO: Processing buffer {"connection_id":192938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:53:05] local.INFO: Packet analysis {"connection_id":192938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:53:05] local.INFO: Extracted packet for processing {"connection_id":192938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:53:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304563712001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790252503000,"timestamp_ms":1790252503000,"timestamp_seconds":1790252503,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35d4fd8"} 
[2026-09-24 17:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 17:53:05] 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-09-24 17:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304563712001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304563712001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:53:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304563712001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":192938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:53:05] local.INFO: GPS data processed {"connection_id":192938,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:53:05] local.INFO: Acknowledgment sent {"connection_id":192938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:53:06] local.INFO: TCP Data received {"connection_id":194214,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:53:06] local.INFO: Processing buffer {"connection_id":194214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:53:06] local.INFO: IMEI packet received {"connection_id":194214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":194214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:53:12] local.INFO: TCP Data received {"connection_id":194214,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:53:12] local.INFO: Processing buffer {"connection_id":194214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:53:12] local.INFO: IMEI packet received {"connection_id":194214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":194214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:53:16] local.INFO: TCP Data received {"connection_id":194214,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35db9500100000000000000000000000000..."} 
[2026-09-24 17:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35db9500100000000000000000000000000..."} 
[2026-09-24 17:53:16] local.INFO: Processing buffer {"connection_id":194214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35db9500100000000000000000000000000..."} 
[2026-09-24 17:53:16] local.INFO: Packet analysis {"connection_id":194214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:53:16] local.INFO: Extracted packet for processing {"connection_id":194214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:53:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 17:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304632576001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:53:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6277173423295979520,"note":"Value kept but may cause issues"} 
[2026-09-24 17:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790252530000,"timestamp_ms":1790252530000,"timestamp_seconds":1790252530,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35db950"} 
[2026-09-24 17:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 17:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":194214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":194214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":194214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":194214,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 17:53:16] local.INFO: GPS data processed {"connection_id":194214,"processed":0,"errors":0,"total":1} 
[2026-09-24 17:53:16] local.INFO: Acknowledgment sent {"connection_id":194214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:53:22] local.INFO: TCP Data received {"connection_id":192939,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:53:22] local.INFO: Processing buffer {"connection_id":192939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:53:22] local.INFO: Packet analysis {"connection_id":192939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35b"} 
[2026-09-24 17:53:22] local.INFO: Extracted packet for processing {"connection_id":192939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35b"} 
[2026-09-24 17:53:22] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":38,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304534784001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790252390000,"timestamp_ms":1790252390000,"timestamp_seconds":1790252390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35b9670"} 
[2026-09-24 17:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304534784001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304534784001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:53:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:53:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304534784001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":192939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:53:22] local.INFO: GPS data processed {"connection_id":192939,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:53:22] local.INFO: Acknowledgment sent {"connection_id":192939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:53:27] local.INFO: TCP Data received {"connection_id":191555,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:53:27] local.INFO: Processing buffer {"connection_id":191555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:53:27] local.INFO: IMEI packet received {"connection_id":191555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":191555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:53:33] local.INFO: TCP Data received {"connection_id":191555,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:53:33] local.INFO: Processing buffer {"connection_id":191555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:53:33] local.INFO: IMEI packet received {"connection_id":191555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":191555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:53:34] local.INFO: TCP Data received {"connection_id":191555,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:53:34] local.INFO: Processing buffer {"connection_id":191555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:53:34] local.INFO: Packet analysis {"connection_id":191555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:53:34] local.INFO: Extracted packet for processing {"connection_id":191555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:53:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304563712001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790252503000,"timestamp_ms":1790252503000,"timestamp_seconds":1790252503,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35d4fd8"} 
[2026-09-24 17:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 17:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304563712001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304563712001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:53:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:53:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304563712001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":191555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:53:34] local.INFO: GPS data processed {"connection_id":191555,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:53:34] local.INFO: Acknowledgment sent {"connection_id":191555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:53:44] local.INFO: TCP Data received {"connection_id":191351,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:53:44] local.INFO: Processing buffer {"connection_id":191351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:53:44] local.INFO: IMEI packet received {"connection_id":191351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":191351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:53:47] local.INFO: TCP Data received {"connection_id":194214,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35d3c50012ca90e8007863d00000e009731..."} 
[2026-09-24 17:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35d3c50012ca90e8007863d00000e009731..."} 
[2026-09-24 17:53:47] local.INFO: Processing buffer {"connection_id":194214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35d3c50012ca90e8007863d00000e009731..."} 
[2026-09-24 17:53:47] local.INFO: Packet analysis {"connection_id":194214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:53:47] local.INFO: Extracted packet for processing {"connection_id":194214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:53:47] local.INFO: GPS Element Parsed {"raw_longitude":749276800,"raw_latitude":126237952,"longitude_deg":74.92768,"latitude_deg":12.6237952,"altitude":14,"angle":151,"satellites":49,"speed":63,"hex_longitude":"2ca90e80","hex_latitude":"07863d00","is_valid_coordinates":true} 
[2026-09-24 17:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:53:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 17:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790252498000,"timestamp_ms":1790252498000,"timestamp_seconds":1790252498,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35d3c50"} 
[2026-09-24 17:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:53: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 17:53:47] 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-09-24 17:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":194214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":194214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":194214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"217":206,"27":54016,"24":63,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,27,24,16]} 
[2026-09-24 17:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 17:53:47] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 17:53:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:53:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_217":206,"unknown_27":54016,"ignition":63,"odometer":null}} 
[2026-09-24 17:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":194214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891136,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:53:47] local.INFO: GPS data processed {"connection_id":194214,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:53:47] local.INFO: Acknowledgment sent {"connection_id":194214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:53:50] local.INFO: TCP Data received {"connection_id":191351,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:53:50] local.INFO: Processing buffer {"connection_id":191351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:53:50] local.INFO: IMEI packet received {"connection_id":191351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":191351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:53:51] local.INFO: TCP Data received {"connection_id":191351,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:53:51] local.INFO: Processing buffer {"connection_id":191351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:53:51] local.INFO: Packet analysis {"connection_id":191351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35b"} 
[2026-09-24 17:53:51] local.INFO: Extracted packet for processing {"connection_id":191351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35b"} 
[2026-09-24 17:53:51] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":38,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304534784001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790252390000,"timestamp_ms":1790252390000,"timestamp_seconds":1790252390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35b9670"} 
[2026-09-24 17:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304534784001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304534784001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:53:51] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:53:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304534784001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":191351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:53:51] local.INFO: GPS data processed {"connection_id":191351,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:53:51] local.INFO: Acknowledgment sent {"connection_id":191351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:54:06] local.INFO: TCP Data received {"connection_id":191555,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:54:06] local.INFO: Processing buffer {"connection_id":191555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:54:06] local.INFO: Packet analysis {"connection_id":191555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:54:06] local.INFO: Extracted packet for processing {"connection_id":191555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:54:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304563712001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790252503000,"timestamp_ms":1790252503000,"timestamp_seconds":1790252503,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35d4fd8"} 
[2026-09-24 17:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 17:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304563712001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304563712001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:54:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:54:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304563712001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":191555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:54:06] local.INFO: GPS data processed {"connection_id":191555,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:54:06] local.INFO: Acknowledgment sent {"connection_id":191555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:54:08] local.INFO: TCP Data received {"connection_id":194215,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:54:08] local.INFO: Processing buffer {"connection_id":194215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:54:08] local.INFO: IMEI packet received {"connection_id":194215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":194215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:54:11] local.INFO: TCP Data received {"connection_id":194215,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:54:11] local.INFO: Processing buffer {"connection_id":194215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:54:11] local.INFO: IMEI packet received {"connection_id":194215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":194215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:54:16] local.INFO: TCP Data received {"connection_id":194215,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:54:16] local.INFO: Processing buffer {"connection_id":194215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:54:16] local.INFO: IMEI packet received {"connection_id":194215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":194215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:54:18] local.INFO: TCP Data received {"connection_id":194215,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35d8e58012ca941c00785e738000a009731..."} 
[2026-09-24 17:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35d8e58012ca941c00785e738000a009731..."} 
[2026-09-24 17:54:18] local.INFO: Processing buffer {"connection_id":194215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35d8e58012ca941c00785e738000a009731..."} 
[2026-09-24 17:54:18] local.INFO: Packet analysis {"connection_id":194215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:54:18] local.INFO: Extracted packet for processing {"connection_id":194215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:54:18] local.INFO: GPS Element Parsed {"raw_longitude":749289920,"raw_latitude":126215992,"longitude_deg":74.928992,"latitude_deg":12.6215992,"altitude":10,"angle":151,"satellites":49,"speed":0,"hex_longitude":"2ca941c0","hex_latitude":"0785e738","is_valid_coordinates":true} 
[2026-09-24 17:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304639488001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:54:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6264929261820510208,"note":"Value kept but may cause issues"} 
[2026-09-24 17:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790252519000,"timestamp_ms":1790252519000,"timestamp_seconds":1790252519,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35d8e58"} 
[2026-09-24 17:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:54: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-09-24 17:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 17:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":194215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":194215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":194215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304639488001,"66":28267,"217":206,"27":54016,"24":0,"16":3605341577150464,"44":-6264929261820510208},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,27,24,16,44]} 
[2026-09-24 17:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304639488001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:54:18] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 17:54:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:54:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6264929261820510208,"description":"Unknown IO ID 44"} 
[2026-09-24 17:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304639488001,"power":28267,"unknown_217":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6264929261820510208}} 
[2026-09-24 17:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":194215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891139,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:54:18] local.INFO: GPS data processed {"connection_id":194215,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:54:18] local.INFO: Acknowledgment sent {"connection_id":194215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:54:22] local.INFO: TCP Data received {"connection_id":191351,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:54:22] local.INFO: Processing buffer {"connection_id":191351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:54:22] local.INFO: Packet analysis {"connection_id":191351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35b"} 
[2026-09-24 17:54:22] local.INFO: Extracted packet for processing {"connection_id":191351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35b"} 
[2026-09-24 17:54:22] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":38,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304534784001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790252390000,"timestamp_ms":1790252390000,"timestamp_seconds":1790252390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35b9670"} 
[2026-09-24 17:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304534784001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304534784001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:54:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:54:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304534784001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":191351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:54:22] local.INFO: GPS data processed {"connection_id":191351,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:54:22] local.INFO: Acknowledgment sent {"connection_id":191351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:54:28] local.INFO: TCP Data received {"connection_id":191352,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:54:28] local.INFO: Processing buffer {"connection_id":191352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:54:28] local.INFO: IMEI packet received {"connection_id":191352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":191352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:54:33] local.INFO: TCP Data received {"connection_id":191352,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:54:33] local.INFO: Processing buffer {"connection_id":191352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:54:33] local.INFO: IMEI packet received {"connection_id":191352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":191352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:54:34] local.INFO: TCP Data received {"connection_id":191352,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:54:34] local.INFO: Processing buffer {"connection_id":191352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:54:34] local.INFO: Packet analysis {"connection_id":191352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:54:34] local.INFO: Extracted packet for processing {"connection_id":191352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:54:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304563712001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790252503000,"timestamp_ms":1790252503000,"timestamp_seconds":1790252503,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35d4fd8"} 
[2026-09-24 17:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 17:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304563712001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304563712001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:54:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:54:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304563712001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":191352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:54:34] local.INFO: GPS data processed {"connection_id":191352,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:54:34] local.INFO: Acknowledgment sent {"connection_id":191352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:54:44] local.INFO: TCP Data received {"connection_id":192940,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:54:44] local.INFO: Processing buffer {"connection_id":192940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:54:44] local.INFO: IMEI packet received {"connection_id":192940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":192940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:54:50] local.INFO: TCP Data received {"connection_id":192940,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:54:50] local.INFO: Processing buffer {"connection_id":192940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:54:50] local.INFO: IMEI packet received {"connection_id":192940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":192940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:54:50] local.INFO: TCP Data received {"connection_id":194215,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35e74d00100000000000000000000000000..."} 
[2026-09-24 17:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35e74d00100000000000000000000000000..."} 
[2026-09-24 17:54:50] local.INFO: Processing buffer {"connection_id":194215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35e74d00100000000000000000000000000..."} 
[2026-09-24 17:54:50] local.INFO: Packet analysis {"connection_id":194215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35e"} 
[2026-09-24 17:54:50] local.INFO: Extracted packet for processing {"connection_id":194215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35e"} 
[2026-09-24 17:54:50] 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-09-24 17:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304644864001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:54:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6250503669269710848,"note":"Value kept but may cause issues"} 
[2026-09-24 17:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790252578000,"timestamp_ms":1790252578000,"timestamp_seconds":1790252578,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35e74d0"} 
[2026-09-24 17:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:54:50] 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-09-24 17:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":194215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":194215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":194215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":194215,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 17:54:50] local.INFO: GPS data processed {"connection_id":194215,"processed":0,"errors":0,"total":1} 
[2026-09-24 17:54:50] local.INFO: Acknowledgment sent {"connection_id":194215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:54:50] local.INFO: TCP Data received {"connection_id":192940,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:54:50] local.INFO: Processing buffer {"connection_id":192940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:54:50] local.INFO: Packet analysis {"connection_id":192940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35b"} 
[2026-09-24 17:54:50] local.INFO: Extracted packet for processing {"connection_id":192940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35b"} 
[2026-09-24 17:54:50] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":38,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304534784001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790252390000,"timestamp_ms":1790252390000,"timestamp_seconds":1790252390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35b9670"} 
[2026-09-24 17:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304534784001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304534784001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:54:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:54:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304534784001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":192940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:54:51] local.INFO: GPS data processed {"connection_id":192940,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:54:51] local.INFO: Acknowledgment sent {"connection_id":192940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:55:05] local.INFO: TCP Data received {"connection_id":191352,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:55:05] local.INFO: Processing buffer {"connection_id":191352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:55:05] local.INFO: Packet analysis {"connection_id":191352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:55:05] local.INFO: Extracted packet for processing {"connection_id":191352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304563712001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790252503000,"timestamp_ms":1790252503000,"timestamp_seconds":1790252503,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35d4fd8"} 
[2026-09-24 17:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 17:55:05] 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-09-24 17: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-09-24 17:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304563712001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304563712001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:55:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:55:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304563712001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":191352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:55:05] local.INFO: GPS data processed {"connection_id":191352,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:55:05] local.INFO: Acknowledgment sent {"connection_id":191352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:55:06] local.INFO: TCP Data received {"connection_id":194216,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:55:06] local.INFO: Processing buffer {"connection_id":194216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:55:06] local.INFO: IMEI packet received {"connection_id":194216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":194216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:55:12] local.INFO: TCP Data received {"connection_id":194216,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:55:12] local.INFO: Processing buffer {"connection_id":194216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:55:12] local.INFO: IMEI packet received {"connection_id":194216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":194216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:55:17] local.INFO: TCP Data received {"connection_id":194216,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35df7d0012ca9a44007854d28000b008930..."} 
[2026-09-24 17:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35df7d0012ca9a44007854d28000b008930..."} 
[2026-09-24 17:55:17] local.INFO: Processing buffer {"connection_id":194216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35df7d0012ca9a44007854d28000b008930..."} 
[2026-09-24 17:55:17] local.INFO: Packet analysis {"connection_id":194216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:55:17] local.INFO: Extracted packet for processing {"connection_id":194216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:55:17] local.INFO: GPS Element Parsed {"raw_longitude":749315136,"raw_latitude":126176552,"longitude_deg":74.9315136,"latitude_deg":12.6176552,"altitude":11,"angle":137,"satellites":48,"speed":58,"hex_longitude":"2ca9a440","hex_latitude":"07854d28","is_valid_coordinates":true} 
[2026-09-24 17:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:55:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 17:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790252546000,"timestamp_ms":1790252546000,"timestamp_seconds":1790252546,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35df7d0"} 
[2026-09-24 17:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 17:55:17] 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-09-24 17:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":194216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":194216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":194216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28398,"217":206,"27":54016,"24":58,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,27,24,16]} 
[2026-09-24 17:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 17:55:17] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-24 17:55:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:55:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28398,"unknown_217":206,"unknown_27":54016,"ignition":58,"odometer":null}} 
[2026-09-24 17:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":194216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891144,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:55:18] local.INFO: GPS data processed {"connection_id":194216,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:55:18] local.INFO: Acknowledgment sent {"connection_id":194216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:55:23] local.INFO: TCP Data received {"connection_id":192940,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:55:23] local.INFO: Processing buffer {"connection_id":192940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35b9670012d1d8b00071b2fe8004300a926..."} 
[2026-09-24 17:55:23] local.INFO: Packet analysis {"connection_id":192940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35b"} 
[2026-09-24 17:55:23] local.INFO: Extracted packet for processing {"connection_id":192940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35b"} 
[2026-09-24 17:55:23] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":38,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304534784001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790252390000,"timestamp_ms":1790252390000,"timestamp_seconds":1790252390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35b9670"} 
[2026-09-24 17:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:55:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304534784001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304534784001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:55:23] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:55:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304534784001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":192940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:55:23] local.INFO: GPS data processed {"connection_id":192940,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:55:23] local.INFO: Acknowledgment sent {"connection_id":192940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:55:33] local.INFO: TCP Data received {"connection_id":191556,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:55:33] local.INFO: Processing buffer {"connection_id":191556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:55:33] local.INFO: IMEI packet received {"connection_id":191556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":191556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:55:38] local.INFO: TCP Data received {"connection_id":191556,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:55:38] local.INFO: Processing buffer {"connection_id":191556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:55:38] local.INFO: IMEI packet received {"connection_id":191556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":191556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:55:39] local.INFO: TCP Data received {"connection_id":191556,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:55:39] local.INFO: Processing buffer {"connection_id":191556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:55:39] local.INFO: Packet analysis {"connection_id":191556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:55:39] local.INFO: Extracted packet for processing {"connection_id":191556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:55:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304563712001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790252503000,"timestamp_ms":1790252503000,"timestamp_seconds":1790252503,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35d4fd8"} 
[2026-09-24 17:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 17:55:39] 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-09-24 17:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304563712001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304563712001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:55:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:55:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304563712001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":191556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:55:39] local.INFO: GPS data processed {"connection_id":191556,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:55:39] local.INFO: Acknowledgment sent {"connection_id":191556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:55:43] local.INFO: TCP Data received {"connection_id":191556,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:55:43] local.INFO: Processing buffer {"connection_id":191556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:55:43] local.INFO: Packet analysis {"connection_id":191556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:55:43] local.INFO: Extracted packet for processing {"connection_id":191556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:55:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304563712001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790252503000,"timestamp_ms":1790252503000,"timestamp_seconds":1790252503,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35d4fd8"} 
[2026-09-24 17:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 17:55:43] 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-09-24 17:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304563712001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304563712001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:55:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:55:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304563712001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":191556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:55:43] local.INFO: GPS data processed {"connection_id":191556,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:55:43] local.INFO: Acknowledgment sent {"connection_id":191556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:55:49] local.INFO: TCP Data received {"connection_id":194216,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35e49d8012ca9e34007850a28000a008831..."} 
[2026-09-24 17:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35e49d8012ca9e34007850a28000a008831..."} 
[2026-09-24 17:55:49] local.INFO: Processing buffer {"connection_id":194216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35e49d8012ca9e34007850a28000a008831..."} 
[2026-09-24 17:55:49] local.INFO: Packet analysis {"connection_id":194216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35e"} 
[2026-09-24 17:55:49] local.INFO: Extracted packet for processing {"connection_id":194216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35e"} 
[2026-09-24 17:55:49] local.INFO: GPS Element Parsed {"raw_longitude":749331264,"raw_latitude":126159400,"longitude_deg":74.9331264,"latitude_deg":12.61594,"altitude":10,"angle":136,"satellites":49,"speed":0,"hex_longitude":"2ca9e340","hex_latitude":"07850a28","is_valid_coordinates":true} 
[2026-09-24 17:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304651776001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:55:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6222778384073807872,"note":"Value kept but may cause issues"} 
[2026-09-24 17:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790252567000,"timestamp_ms":1790252567000,"timestamp_seconds":1790252567,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35e49d8"} 
[2026-09-24 17:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 17:55: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-09-24 17:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":194216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":194216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":194216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304651776001,"66":28376,"192":206,"27":54016,"24":0,"16":3605341577150464,"44":-6222778384073807872},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,27,24,16,44]} 
[2026-09-24 17:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304651776001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:55:49] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-24 17:55:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:55:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6222778384073807872,"description":"Unknown IO ID 44"} 
[2026-09-24 17:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304651776001,"power":28376,"unknown_192":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6222778384073807872}} 
[2026-09-24 17:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":194216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891148,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:55:49] local.INFO: GPS data processed {"connection_id":194216,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:55:49] local.INFO: Acknowledgment sent {"connection_id":194216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:55:50] local.INFO: TCP Data received {"connection_id":192941,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:55:50] local.INFO: Processing buffer {"connection_id":192941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:55:50] local.INFO: IMEI packet received {"connection_id":192941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":192941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:55:55] local.INFO: TCP Data received {"connection_id":192941,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:55:55] local.INFO: Processing buffer {"connection_id":192941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:55:55] local.INFO: IMEI packet received {"connection_id":192941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":192941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:55:56] local.INFO: TCP Data received {"connection_id":192941,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:55:56] local.INFO: Processing buffer {"connection_id":192941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:55:56] local.INFO: Packet analysis {"connection_id":192941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d360"} 
[2026-09-24 17:55:56] local.INFO: Extracted packet for processing {"connection_id":192941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d360"} 
[2026-09-24 17:55:56] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:55: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-09-24 17:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304611840001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790252690000,"timestamp_ms":1790252690000,"timestamp_seconds":1790252690,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3602a50"} 
[2026-09-24 17:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:55: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-09-24 17:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304611840001,"66":2166,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304611840001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:55:56] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:55:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304611840001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":192941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:55:56] local.INFO: GPS data processed {"connection_id":192941,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:55:56] local.INFO: Acknowledgment sent {"connection_id":192941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:56:06] local.INFO: TCP Data received {"connection_id":191353,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191353,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:56:06] local.INFO: Processing buffer {"connection_id":191353,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:56:06] local.INFO: IMEI packet received {"connection_id":191353,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":191353,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:56:10] local.INFO: TCP Data received {"connection_id":191353,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191353,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:56:10] local.INFO: Processing buffer {"connection_id":191353,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:56:10] local.INFO: IMEI packet received {"connection_id":191353,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":191353,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:56:11] local.INFO: TCP Data received {"connection_id":191353,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35f30500100000000000000000000000000..."} 
[2026-09-24 17:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35f30500100000000000000000000000000..."} 
[2026-09-24 17:56:11] local.INFO: Processing buffer {"connection_id":191353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35f30500100000000000000000000000000..."} 
[2026-09-24 17:56:11] local.INFO: Packet analysis {"connection_id":191353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35f"} 
[2026-09-24 17:56:11] local.INFO: Extracted packet for processing {"connection_id":191353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35f"} 
[2026-09-24 17:56: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-09-24 17:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304657152001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:56:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6205045460545427456,"note":"Value kept but may cause issues"} 
[2026-09-24 17:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790252626000,"timestamp_ms":1790252626000,"timestamp_seconds":1790252626,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35f3050"} 
[2026-09-24 17:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:56: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-09-24 17:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 17:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191353,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191353,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":191353,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 17:56:11] local.INFO: GPS data processed {"connection_id":191353,"processed":0,"errors":0,"total":1} 
[2026-09-24 17:56:11] local.INFO: Acknowledgment sent {"connection_id":191353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:56:27] local.INFO: TCP Data received {"connection_id":192941,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:56:27] local.INFO: Processing buffer {"connection_id":192941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:56:27] local.INFO: Packet analysis {"connection_id":192941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d360"} 
[2026-09-24 17:56:27] local.INFO: Extracted packet for processing {"connection_id":192941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d360"} 
[2026-09-24 17:56:27] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304611840001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790252690000,"timestamp_ms":1790252690000,"timestamp_seconds":1790252690,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3602a50"} 
[2026-09-24 17:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304611840001,"66":2166,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304611840001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:56:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:56:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304611840001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":192941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:56:27] local.INFO: GPS data processed {"connection_id":192941,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:56:27] local.INFO: Acknowledgment sent {"connection_id":192941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:56:28] local.INFO: TCP Data received {"connection_id":191557,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:56:28] local.INFO: Processing buffer {"connection_id":191557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:56:28] local.INFO: IMEI packet received {"connection_id":191557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":191557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:56:33] local.INFO: TCP Data received {"connection_id":191557,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:56:33] local.INFO: Processing buffer {"connection_id":191557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:56:33] local.INFO: IMEI packet received {"connection_id":191557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":191557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:56:34] local.INFO: TCP Data received {"connection_id":191557,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:56:34] local.INFO: Processing buffer {"connection_id":191557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:56:34] local.INFO: Packet analysis {"connection_id":191557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:56:34] local.INFO: Extracted packet for processing {"connection_id":191557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:56:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304563712001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790252503000,"timestamp_ms":1790252503000,"timestamp_seconds":1790252503,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35d4fd8"} 
[2026-09-24 17:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 17:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304563712001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304563712001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:56:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:56:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304563712001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":191557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:56:34] local.INFO: GPS data processed {"connection_id":191557,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:56:34] local.INFO: Acknowledgment sent {"connection_id":191557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:56:38] local.INFO: TCP Data received {"connection_id":191557,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:56:38] local.INFO: Processing buffer {"connection_id":191557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:56:38] local.INFO: Packet analysis {"connection_id":191557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:56:38] local.INFO: Extracted packet for processing {"connection_id":191557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:56:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304563712001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790252503000,"timestamp_ms":1790252503000,"timestamp_seconds":1790252503,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35d4fd8"} 
[2026-09-24 17:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 17:56:38] 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-09-24 17:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304563712001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304563712001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:56:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:56:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304563712001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":191557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:56:38] local.INFO: GPS data processed {"connection_id":191557,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:56:38] local.INFO: Acknowledgment sent {"connection_id":191557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:56:45] local.INFO: TCP Data received {"connection_id":191558,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:56:45] local.INFO: Processing buffer {"connection_id":191558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:56:45] local.INFO: IMEI packet received {"connection_id":191558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":191558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:56:50] local.INFO: TCP Data received {"connection_id":191558,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:56:50] local.INFO: Processing buffer {"connection_id":191558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:56:50] local.INFO: IMEI packet received {"connection_id":191558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":191558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:56:51] local.INFO: TCP Data received {"connection_id":191558,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:56:51] local.INFO: Processing buffer {"connection_id":191558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:56:51] local.INFO: Packet analysis {"connection_id":191558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d360"} 
[2026-09-24 17:56:51] local.INFO: Extracted packet for processing {"connection_id":191558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d360"} 
[2026-09-24 17:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304611840001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790252690000,"timestamp_ms":1790252690000,"timestamp_seconds":1790252690,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3602a50"} 
[2026-09-24 17:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304611840001,"66":2166,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304611840001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:56:51] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:56:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304611840001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:56:51] local.INFO: TCP Data received {"connection_id":191353,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35eb350012caa64c0078488200008009530..."} 
[2026-09-24 17:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35eb350012caa64c0078488200008009530..."} 
[2026-09-24 17:56:51] local.INFO: Processing buffer {"connection_id":191353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35eb350012caa64c0078488200008009530..."} 
[2026-09-24 17:56:51] local.INFO: Packet analysis {"connection_id":191353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35e"} 
[2026-09-24 17:56:51] local.INFO: Extracted packet for processing {"connection_id":191353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35e"} 
[2026-09-24 17:56:51] local.INFO: GPS Element Parsed {"raw_longitude":749364416,"raw_latitude":126126112,"longitude_deg":74.9364416,"latitude_deg":12.6126112,"altitude":8,"angle":149,"satellites":48,"speed":57,"hex_longitude":"2caa64c0","hex_latitude":"07848820","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:56:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,192,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 17:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790252594000,"timestamp_ms":1790252594000,"timestamp_seconds":1790252594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35eb350"} 
[2026-09-24 17:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17: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":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-24 17:56:51] 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-09-24 17: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-09-24 17:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191353,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191353,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"192":206,"27":54016,"24":57,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,27,24,16]} 
[2026-09-24 17:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 17:56:51] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-24 17:56:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:56:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_192":206,"unknown_27":54016,"ignition":57,"odometer":null}} 
[2026-09-24 17:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":191558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:56:51] local.INFO: GPS data processed {"connection_id":191558,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:56:51] local.INFO: Acknowledgment sent {"connection_id":191558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":191353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891154,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:56:51] local.INFO: GPS data processed {"connection_id":191353,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:56:51] local.INFO: Acknowledgment sent {"connection_id":191353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:57:06] local.INFO: TCP Data received {"connection_id":191559,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:57:06] local.INFO: Processing buffer {"connection_id":191559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:57:06] local.INFO: IMEI packet received {"connection_id":191559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":191559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:57:11] local.INFO: TCP Data received {"connection_id":191557,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:57:11] local.INFO: Processing buffer {"connection_id":191557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35d4fd8012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:57:11] local.INFO: Packet analysis {"connection_id":191557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:57:11] local.INFO: Extracted packet for processing {"connection_id":191557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35d"} 
[2026-09-24 17:57:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304563712001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790252503000,"timestamp_ms":1790252503000,"timestamp_seconds":1790252503,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35d4fd8"} 
[2026-09-24 17:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 17:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304563712001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304563712001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:57:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:57:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304563712001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":191557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:57:11] local.INFO: GPS data processed {"connection_id":191557,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:57:11] local.INFO: Acknowledgment sent {"connection_id":191557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:57:12] local.INFO: TCP Data received {"connection_id":191559,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:57:12] local.INFO: Processing buffer {"connection_id":191559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:57:12] local.INFO: IMEI packet received {"connection_id":191559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":191559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:57:13] local.INFO: TCP Data received {"connection_id":191559,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35ef1d0012caa7f8007843188000b00a531..."} 
[2026-09-24 17:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35ef1d0012caa7f8007843188000b00a531..."} 
[2026-09-24 17:57:13] local.INFO: Processing buffer {"connection_id":191559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35ef1d0012caa7f8007843188000b00a531..."} 
[2026-09-24 17:57:13] local.INFO: Packet analysis {"connection_id":191559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35e"} 
[2026-09-24 17:57:13] local.INFO: Extracted packet for processing {"connection_id":191559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35e"} 
[2026-09-24 17:57:13] local.INFO: GPS Element Parsed {"raw_longitude":749371264,"raw_latitude":126103944,"longitude_deg":74.9371264,"latitude_deg":12.6103944,"altitude":11,"angle":165,"satellites":49,"speed":58,"hex_longitude":"2caa7f80","hex_latitude":"07843188","is_valid_coordinates":true} 
[2026-09-24 17:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304664064001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:57:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6168594451069919232,"note":"Value kept but may cause issues"} 
[2026-09-24 17:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790252610000,"timestamp_ms":1790252610000,"timestamp_seconds":1790252610,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35ef1d0"} 
[2026-09-24 17:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 17:57:13] 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-09-24 17:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304664064001,"66":28245,"192":206,"27":54016,"24":58,"16":3605341577150464,"44":-6168594451069919232},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,27,24,16,44]} 
[2026-09-24 17:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304664064001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:57:13] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-24 17:57:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:57:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6168594451069919232,"description":"Unknown IO ID 44"} 
[2026-09-24 17:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304664064001,"power":28245,"unknown_192":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-6168594451069919232}} 
[2026-09-24 17:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":191559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891156,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:57:13] local.INFO: GPS data processed {"connection_id":191559,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:57:13] local.INFO: Acknowledgment sent {"connection_id":191559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:57:22] local.INFO: TCP Data received {"connection_id":191558,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:57:22] local.INFO: Processing buffer {"connection_id":191558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:57:22] local.INFO: Packet analysis {"connection_id":191558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d360"} 
[2026-09-24 17:57:22] local.INFO: Extracted packet for processing {"connection_id":191558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d360"} 
[2026-09-24 17:57:22] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304611840001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790252690000,"timestamp_ms":1790252690000,"timestamp_seconds":1790252690,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3602a50"} 
[2026-09-24 17:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304611840001,"66":2166,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304611840001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:57:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:57:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304611840001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":191558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:57:23] local.INFO: GPS data processed {"connection_id":191558,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:57:23] local.INFO: Acknowledgment sent {"connection_id":191558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:57:28] local.INFO: TCP Data received {"connection_id":192942,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:57:28] local.INFO: Processing buffer {"connection_id":192942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:57:28] local.INFO: IMEI packet received {"connection_id":192942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":192942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:57:33] local.INFO: TCP Data received {"connection_id":192942,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:57:33] local.INFO: Processing buffer {"connection_id":192942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:57:33] local.INFO: IMEI packet received {"connection_id":192942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":192942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:57:34] local.INFO: TCP Data received {"connection_id":192942,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:57:34] local.INFO: Processing buffer {"connection_id":192942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:57:34] local.INFO: Packet analysis {"connection_id":192942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d361"} 
[2026-09-24 17:57:34] local.INFO: Extracted packet for processing {"connection_id":192942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d361"} 
[2026-09-24 17:57:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304640768001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790252804000,"timestamp_ms":1790252804000,"timestamp_seconds":1790252804,"priority":1,"record_length":96,"hex_timestamp":"000001a0d361e7a0"} 
[2026-09-24 17:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 17:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304640768001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304640768001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:57:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:57:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304640768001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":192942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:57:34] local.INFO: GPS data processed {"connection_id":192942,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:57:34] local.INFO: Acknowledgment sent {"connection_id":192942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:57:49] local.INFO: TCP Data received {"connection_id":191559,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d35f43d8012caa96c00783d790000900a630..."} 
[2026-09-24 17:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d35f43d8012caa96c00783d790000900a630..."} 
[2026-09-24 17:57:49] local.INFO: Processing buffer {"connection_id":191559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d35f43d8012caa96c00783d790000900a630..."} 
[2026-09-24 17:57:49] local.INFO: Packet analysis {"connection_id":191559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d35f"} 
[2026-09-24 17:57:49] local.INFO: Extracted packet for processing {"connection_id":191559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d35f"} 
[2026-09-24 17:57:49] local.INFO: GPS Element Parsed {"raw_longitude":749377216,"raw_latitude":126080912,"longitude_deg":74.9377216,"latitude_deg":12.6080912,"altitude":9,"angle":166,"satellites":48,"speed":0,"hex_longitude":"2caa96c0","hex_latitude":"0783d790","is_valid_coordinates":true} 
[2026-09-24 17:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304668160001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:57:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6161064995448584192,"note":"Value kept but may cause issues"} 
[2026-09-24 17:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790252631000,"timestamp_ms":1790252631000,"timestamp_seconds":1790252631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d35f43d8"} 
[2026-09-24 17:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-24 17:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1513,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304668160001,"66":28278,"191":206,"27":54016,"24":0,"16":3605341577150464,"44":-6161064995448584192},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,27,24,16,44]} 
[2026-09-24 17:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304668160001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:57:49] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-24 17:57:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:57:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6161064995448584192,"description":"Unknown IO ID 44"} 
[2026-09-24 17:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304668160001,"power":28278,"unknown_191":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6161064995448584192}} 
[2026-09-24 17:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":191559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891159,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:57:49] local.INFO: GPS data processed {"connection_id":191559,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:57:49] local.INFO: Acknowledgment sent {"connection_id":191559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:57:50] local.INFO: TCP Data received {"connection_id":191354,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:57:50] local.INFO: Processing buffer {"connection_id":191354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:57:50] local.INFO: IMEI packet received {"connection_id":191354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":191354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:57:55] local.INFO: TCP Data received {"connection_id":191354,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:57:55] local.INFO: Processing buffer {"connection_id":191354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:57:55] local.INFO: IMEI packet received {"connection_id":191354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":191354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:57:56] local.INFO: TCP Data received {"connection_id":191354,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:57:56] local.INFO: Processing buffer {"connection_id":191354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:57:56] local.INFO: Packet analysis {"connection_id":191354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d360"} 
[2026-09-24 17:57:56] local.INFO: Extracted packet for processing {"connection_id":191354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d360"} 
[2026-09-24 17:57:56] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304611840001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790252690000,"timestamp_ms":1790252690000,"timestamp_seconds":1790252690,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3602a50"} 
[2026-09-24 17:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":191354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":191354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":191354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304611840001,"66":2166,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304611840001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:57:56] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:57:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304611840001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":191354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:57:56] local.INFO: GPS data processed {"connection_id":191354,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:57:56] local.INFO: Acknowledgment sent {"connection_id":191354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:58:00] local.INFO: TCP Data received {"connection_id":191354,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:58:00] local.INFO: Processing buffer {"connection_id":191354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:58:00] local.INFO: Packet analysis {"connection_id":191354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d360"} 
[2026-09-24 17:58:00] local.INFO: Extracted packet for processing {"connection_id":191354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d360"} 
[2026-09-24 17:58:00] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17: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-09-24 17:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304611840001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790252690000,"timestamp_ms":1790252690000,"timestamp_seconds":1790252690,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3602a50"} 
[2026-09-24 17:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:58:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17: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-09-24 17:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":191354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":191354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":191354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304611840001,"66":2166,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304611840001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:58:00] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:58:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304611840001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":191354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:58:00] local.INFO: GPS data processed {"connection_id":191354,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:58:00] local.INFO: Acknowledgment sent {"connection_id":191354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:58:06] local.INFO: TCP Data received {"connection_id":192942,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:58:06] local.INFO: Processing buffer {"connection_id":192942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:58:06] local.INFO: Packet analysis {"connection_id":192942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d361"} 
[2026-09-24 17:58:06] local.INFO: Extracted packet for processing {"connection_id":192942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d361"} 
[2026-09-24 17:58:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304640768001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790252804000,"timestamp_ms":1790252804000,"timestamp_seconds":1790252804,"priority":1,"record_length":96,"hex_timestamp":"000001a0d361e7a0"} 
[2026-09-24 17:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 17:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304640768001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304640768001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:58:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:58:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304640768001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":192942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:58:06] local.INFO: GPS data processed {"connection_id":192942,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:58:06] local.INFO: Acknowledgment sent {"connection_id":192942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:58:10] local.INFO: TCP Data received {"connection_id":191355,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:58:10] local.INFO: Processing buffer {"connection_id":191355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:58:10] local.INFO: IMEI packet received {"connection_id":191355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":191355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:58:11] local.INFO: TCP Data received {"connection_id":191355,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:58:11] local.INFO: Processing buffer {"connection_id":191355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:58:11] local.INFO: IMEI packet received {"connection_id":191355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":191355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:58:17] local.INFO: TCP Data received {"connection_id":191355,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:58:17] local.INFO: Processing buffer {"connection_id":191355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:58:17] local.INFO: IMEI packet received {"connection_id":191355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":191355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:58:27] local.INFO: TCP Data received {"connection_id":192943,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:58:27] local.INFO: Processing buffer {"connection_id":192943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:58:27] local.INFO: IMEI packet received {"connection_id":192943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":192943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:58:33] local.INFO: TCP Data received {"connection_id":192943,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:58:33] local.INFO: Processing buffer {"connection_id":192943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:58:33] local.INFO: IMEI packet received {"connection_id":192943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":192943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:58:33] local.INFO: TCP Data received {"connection_id":191355,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d362c6480100000000000000000000000000..."} 
[2026-09-24 17:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d362c6480100000000000000000000000000..."} 
[2026-09-24 17:58:33] local.INFO: Processing buffer {"connection_id":191355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d362c6480100000000000000000000000000..."} 
[2026-09-24 17:58:33] local.INFO: Packet analysis {"connection_id":191355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d362"} 
[2026-09-24 17:58:33] local.INFO: Extracted packet for processing {"connection_id":191355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d362"} 
[2026-09-24 17:58:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 17:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304717312001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:58:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6077185452444346368,"note":"Value kept but may cause issues"} 
[2026-09-24 17:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790252861000,"timestamp_ms":1790252861000,"timestamp_seconds":1790252861,"priority":1,"record_length":96,"hex_timestamp":"000001a0d362c648"} 
[2026-09-24 17:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 17:58:33] 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-09-24 17:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":191355,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 17:58:33] local.INFO: GPS data processed {"connection_id":191355,"processed":0,"errors":0,"total":1} 
[2026-09-24 17:58:33] local.INFO: Acknowledgment sent {"connection_id":191355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:58:34] local.INFO: TCP Data received {"connection_id":191355,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3624d30012cabeb8007802f58000e009831..."} 
[2026-09-24 17:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3624d30012cabeb8007802f58000e009831..."} 
[2026-09-24 17:58:34] local.INFO: Processing buffer {"connection_id":191355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3624d30012cabeb8007802f58000e009831..."} 
[2026-09-24 17:58:34] local.INFO: Packet analysis {"connection_id":191355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d362"} 
[2026-09-24 17:58:34] local.INFO: Extracted packet for processing {"connection_id":191355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d362"} 
[2026-09-24 17:58:34] local.INFO: GPS Element Parsed {"raw_longitude":749464448,"raw_latitude":125841240,"longitude_deg":74.9464448,"latitude_deg":12.584124,"altitude":14,"angle":152,"satellites":49,"speed":57,"hex_longitude":"2cabeb80","hex_latitude":"07802f58","is_valid_coordinates":true} 
[2026-09-24 17:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:58:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 17:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790252830000,"timestamp_ms":1790252830000,"timestamp_seconds":1790252830,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3624d30"} 
[2026-09-24 17:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:58:34] 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-09-24 17:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 17:58:34] 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-09-24 17:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"17":206,"27":54016,"24":57,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,27,24,16]} 
[2026-09-24 17:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 17:58:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:58:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"axis_x":206,"unknown_27":54016,"ignition":57,"odometer":null}} 
[2026-09-24 17:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":191355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891163,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:58:34] local.INFO: GPS data processed {"connection_id":191355,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:58:34] local.INFO: Acknowledgment sent {"connection_id":191355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:58:34] local.INFO: TCP Data received {"connection_id":192943,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:58:34] local.INFO: Processing buffer {"connection_id":192943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:58:34] local.INFO: Packet analysis {"connection_id":192943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d361"} 
[2026-09-24 17:58:34] local.INFO: Extracted packet for processing {"connection_id":192943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d361"} 
[2026-09-24 17:58:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304640768001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790252804000,"timestamp_ms":1790252804000,"timestamp_seconds":1790252804,"priority":1,"record_length":96,"hex_timestamp":"000001a0d361e7a0"} 
[2026-09-24 17:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 17:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304640768001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304640768001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:58:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:58:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304640768001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":192943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:58:34] local.INFO: GPS data processed {"connection_id":192943,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:58:34] local.INFO: Acknowledgment sent {"connection_id":192943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:58:35] local.INFO: TCP Data received {"connection_id":191355,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3629f38012cac17c0077fe3d0001100922d..."} 
[2026-09-24 17:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3629f38012cac17c0077fe3d0001100922d..."} 
[2026-09-24 17:58:35] local.INFO: Processing buffer {"connection_id":191355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3629f38012cac17c0077fe3d0001100922d..."} 
[2026-09-24 17:58:35] local.INFO: Packet analysis {"connection_id":191355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d362"} 
[2026-09-24 17:58:35] local.INFO: Extracted packet for processing {"connection_id":191355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d362"} 
[2026-09-24 17:58:35] local.INFO: GPS Element Parsed {"raw_longitude":749475776,"raw_latitude":125821904,"longitude_deg":74.9475776,"latitude_deg":12.5821904,"altitude":17,"angle":146,"satellites":45,"speed":0,"hex_longitude":"2cac17c0","hex_latitude":"077fe3d0","is_valid_coordinates":true} 
[2026-09-24 17:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304724480001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:58:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6058608103993157632,"note":"Value kept but may cause issues"} 
[2026-09-24 17:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790252851000,"timestamp_ms":1790252851000,"timestamp_seconds":1790252851,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3629f38"} 
[2026-09-24 17:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:58:35] 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-09-24 17:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 17:58:35] 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-09-24 17:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304724480001,"66":28256,"62":206,"27":54016,"24":0,"16":3605341577150464,"44":-6058608103993157632},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,27,24,16,44]} 
[2026-09-24 17:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 17:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 17:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304724480001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:58:35] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-24 17:58:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 17:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:58:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6058608103993157632,"description":"Unknown IO ID 44"} 
[2026-09-24 17:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304724480001,"power":28256,"unknown_62":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6058608103993157632}} 
[2026-09-24 17:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":191355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891165,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:58:35] local.INFO: GPS data processed {"connection_id":191355,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:58:35] local.INFO: Acknowledgment sent {"connection_id":191355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:58:45] local.INFO: TCP Data received {"connection_id":191560,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:58:45] local.INFO: Processing buffer {"connection_id":191560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:58:45] local.INFO: IMEI packet received {"connection_id":191560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":191560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:58:50] local.INFO: TCP Data received {"connection_id":191560,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:58:50] local.INFO: Processing buffer {"connection_id":191560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:58:50] local.INFO: IMEI packet received {"connection_id":191560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":191560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:58:51] local.INFO: TCP Data received {"connection_id":191560,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:58:51] local.INFO: Processing buffer {"connection_id":191560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:58:51] local.INFO: Packet analysis {"connection_id":191560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d360"} 
[2026-09-24 17:58:51] local.INFO: Extracted packet for processing {"connection_id":191560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d360"} 
[2026-09-24 17:58:51] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 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-09-24 17:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304611840001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790252690000,"timestamp_ms":1790252690000,"timestamp_seconds":1790252690,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3602a50"} 
[2026-09-24 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-09-24 17:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 17:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304611840001,"66":2166,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304611840001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:58:51] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:58:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304611840001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":191560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:58:51] local.INFO: GPS data processed {"connection_id":191560,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:58:51] local.INFO: Acknowledgment sent {"connection_id":191560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:59:06] local.INFO: TCP Data received {"connection_id":192943,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:59:06] local.INFO: Processing buffer {"connection_id":192943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:59:06] local.INFO: Packet analysis {"connection_id":192943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d361"} 
[2026-09-24 17:59:06] local.INFO: Extracted packet for processing {"connection_id":192943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d361"} 
[2026-09-24 17:59:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304640768001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790252804000,"timestamp_ms":1790252804000,"timestamp_seconds":1790252804,"priority":1,"record_length":96,"hex_timestamp":"000001a0d361e7a0"} 
[2026-09-24 17:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:59: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-09-24 17:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 17:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304640768001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304640768001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:59:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:59:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304640768001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":192943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:59:06] local.INFO: GPS data processed {"connection_id":192943,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:59:06] local.INFO: Acknowledgment sent {"connection_id":192943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:59:07] local.INFO: TCP Data received {"connection_id":191561,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:59:07] local.INFO: Processing buffer {"connection_id":191561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:59:07] local.INFO: IMEI packet received {"connection_id":191561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 17:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":191561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:59:11] local.INFO: TCP Data received {"connection_id":191561,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:59:11] local.INFO: Processing buffer {"connection_id":191561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 17:59:11] local.INFO: IMEI packet received {"connection_id":191561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 17:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":191561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:59:18] local.INFO: TCP Data received {"connection_id":191561,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36385b00100000000000000000000000000..."} 
[2026-09-24 17:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36385b00100000000000000000000000000..."} 
[2026-09-24 17:59:18] local.INFO: Processing buffer {"connection_id":191561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36385b00100000000000000000000000000..."} 
[2026-09-24 17:59:18] local.INFO: Packet analysis {"connection_id":191561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d363"} 
[2026-09-24 17:59:18] local.INFO: Extracted packet for processing {"connection_id":191561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d363"} 
[2026-09-24 17:59: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-09-24 17:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304729856001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 17:59:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6046152836278661120,"note":"Value kept but may cause issues"} 
[2026-09-24 17:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790252910000,"timestamp_ms":1790252910000,"timestamp_seconds":1790252910,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36385b0"} 
[2026-09-24 17:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 17:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 17:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 17:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 17:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 17:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":191561,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 17:59:18] local.INFO: GPS data processed {"connection_id":191561,"processed":0,"errors":0,"total":1} 
[2026-09-24 17:59:18] local.INFO: Acknowledgment sent {"connection_id":191561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:59:22] local.INFO: TCP Data received {"connection_id":191560,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:59:22] local.INFO: Processing buffer {"connection_id":191560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:59:22] local.INFO: Packet analysis {"connection_id":191560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d360"} 
[2026-09-24 17:59:22] local.INFO: Extracted packet for processing {"connection_id":191560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d360"} 
[2026-09-24 17:59:22] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304611840001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790252690000,"timestamp_ms":1790252690000,"timestamp_seconds":1790252690,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3602a50"} 
[2026-09-24 17:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304611840001,"66":2166,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304611840001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:59:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:59:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304611840001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":191560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:59:22] local.INFO: GPS data processed {"connection_id":191560,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:59:22] local.INFO: Acknowledgment sent {"connection_id":191560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:59:28] local.INFO: TCP Data received {"connection_id":192944,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:59:28] local.INFO: Processing buffer {"connection_id":192944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:59:28] local.INFO: IMEI packet received {"connection_id":192944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 17:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":192944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:59:33] local.INFO: TCP Data received {"connection_id":192944,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:59:33] local.INFO: Processing buffer {"connection_id":192944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 17:59:33] local.INFO: IMEI packet received {"connection_id":192944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 17:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":192944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:59:34] local.INFO: TCP Data received {"connection_id":192944,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:59:34] local.INFO: Processing buffer {"connection_id":192944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 17:59:34] local.INFO: Packet analysis {"connection_id":192944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d361"} 
[2026-09-24 17:59:34] local.INFO: Extracted packet for processing {"connection_id":192944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d361"} 
[2026-09-24 17:59:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 17:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 17:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304640768001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 17:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 17:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790252804000,"timestamp_ms":1790252804000,"timestamp_seconds":1790252804,"priority":1,"record_length":96,"hex_timestamp":"000001a0d361e7a0"} 
[2026-09-24 17:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 17:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 17:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 17:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 17:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304640768001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 17:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 17:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 17:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304640768001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:59:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 17:59:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 17:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 17:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304640768001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 17:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":192944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:59:34] local.INFO: GPS data processed {"connection_id":192944,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:59:34] local.INFO: Acknowledgment sent {"connection_id":192944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 17:59:45] local.INFO: TCP Data received {"connection_id":192945,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:59:45] local.INFO: Processing buffer {"connection_id":192945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:59:45] local.INFO: IMEI packet received {"connection_id":192945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 17:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":192945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 17:59:50] local.INFO: TCP Data received {"connection_id":192945,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:59:50] local.INFO: Processing buffer {"connection_id":192945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 17:59:50] local.INFO: IMEI packet received {"connection_id":192945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 17:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":192945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 17:59:50] local.INFO: TCP Data received {"connection_id":192945,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:59:50] local.INFO: Processing buffer {"connection_id":192945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 17:59:50] local.INFO: Packet analysis {"connection_id":192945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d360"} 
[2026-09-24 17:59:50] local.INFO: Extracted packet for processing {"connection_id":192945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d360"} 
[2026-09-24 17:59:50] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 17:59: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-09-24 17:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304611840001,"note":"Value kept but may cause issues"} 
[2026-09-24 17:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 17:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 17:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 17:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790252690000,"timestamp_ms":1790252690000,"timestamp_seconds":1790252690,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3602a50"} 
[2026-09-24 17:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 17:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 17:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 17:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 17:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 17:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 17:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 17:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 17:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 17:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 17:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 17:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 17:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304611840001,"66":2166,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 17:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 17:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 17:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304611840001,"description":"Unknown IO ID 0"} 
[2026-09-24 17:59:51] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 17:59:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 17:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 17:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 17:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304611840001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 17:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":192945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 17:59:51] local.INFO: GPS data processed {"connection_id":192945,"processed":1,"errors":0,"total":1} 
[2026-09-24 17:59:51] local.INFO: Acknowledgment sent {"connection_id":192945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:00:06] local.INFO: TCP Data received {"connection_id":192944,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 18:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 18:00:06] local.INFO: Processing buffer {"connection_id":192944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 18:00:06] local.INFO: Packet analysis {"connection_id":192944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d361"} 
[2026-09-24 18:00:06] local.INFO: Extracted packet for processing {"connection_id":192944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d361"} 
[2026-09-24 18:00:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304640768001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790252804000,"timestamp_ms":1790252804000,"timestamp_seconds":1790252804,"priority":1,"record_length":96,"hex_timestamp":"000001a0d361e7a0"} 
[2026-09-24 18:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304640768001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304640768001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:00:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:00:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304640768001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":192944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:00:06] local.INFO: GPS data processed {"connection_id":192944,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:00:06] local.INFO: Acknowledgment sent {"connection_id":192944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:00:07] local.INFO: TCP Data received {"connection_id":192946,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:00:07] local.INFO: Processing buffer {"connection_id":192946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:00:07] local.INFO: IMEI packet received {"connection_id":192946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":192946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:00:08] local.INFO: TCP Data received {"connection_id":192946,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:00:08] local.INFO: Processing buffer {"connection_id":192946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:00:08] local.INFO: IMEI packet received {"connection_id":192946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":192946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:00:12] local.INFO: TCP Data received {"connection_id":192946,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:00:12] local.INFO: Processing buffer {"connection_id":192946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:00:12] local.INFO: IMEI packet received {"connection_id":192946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":192946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:00:13] local.INFO: TCP Data received {"connection_id":192946,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36308b0012cac7280077f46780014009731..."} 
[2026-09-24 18:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36308b0012cac7280077f46780014009731..."} 
[2026-09-24 18:00:13] local.INFO: Processing buffer {"connection_id":192946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36308b0012cac7280077f46780014009731..."} 
[2026-09-24 18:00:13] local.INFO: Packet analysis {"connection_id":192946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d363"} 
[2026-09-24 18:00:13] local.INFO: Extracted packet for processing {"connection_id":192946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d363"} 
[2026-09-24 18:00:13] local.INFO: GPS Element Parsed {"raw_longitude":749499008,"raw_latitude":125781624,"longitude_deg":74.9499008,"latitude_deg":12.5781624,"altitude":20,"angle":151,"satellites":49,"speed":56,"hex_longitude":"2cac7280","hex_latitude":"077f4678","is_valid_coordinates":true} 
[2026-09-24 18:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:00:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,62,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790252878000,"timestamp_ms":1790252878000,"timestamp_seconds":1790252878,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36308b0"} 
[2026-09-24 18:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 18:00:13] 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-09-24 18:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27517,"62":206,"27":54016,"24":56,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,27,24,16]} 
[2026-09-24 18:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 18:00:13] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-24 18:00:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:00:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27517,"unknown_62":206,"unknown_27":54016,"ignition":56,"odometer":null}} 
[2026-09-24 18:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":192946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891172,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:00:13] local.INFO: GPS data processed {"connection_id":192946,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:00:13] local.INFO: Acknowledgment sent {"connection_id":192946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:00:15] local.INFO: TCP Data received {"connection_id":192946,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3635ab8012cac9880077ef0d00011009d2f..."} 
[2026-09-24 18:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3635ab8012cac9880077ef0d00011009d2f..."} 
[2026-09-24 18:00:15] local.INFO: Processing buffer {"connection_id":192946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3635ab8012cac9880077ef0d00011009d2f..."} 
[2026-09-24 18:00:15] local.INFO: Packet analysis {"connection_id":192946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d363"} 
[2026-09-24 18:00:15] local.INFO: Extracted packet for processing {"connection_id":192946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d363"} 
[2026-09-24 18:00:15] local.INFO: GPS Element Parsed {"raw_longitude":749508736,"raw_latitude":125759696,"longitude_deg":74.9508736,"latitude_deg":12.5759696,"altitude":17,"angle":157,"satellites":47,"speed":0,"hex_longitude":"2cac9880","hex_latitude":"077ef0d0","is_valid_coordinates":true} 
[2026-09-24 18:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304736768001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:00:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6020608982152480768,"note":"Value kept but may cause issues"} 
[2026-09-24 18:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790252899000,"timestamp_ms":1790252899000,"timestamp_seconds":1790252899,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3635ab8"} 
[2026-09-24 18:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-24 18:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304736768001,"66":28300,"62":206,"27":54016,"24":0,"16":3605341577150464,"44":-6020608982152480768},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,27,24,16,44]} 
[2026-09-24 18:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304736768001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:00:15] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-24 18:00:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:00:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6020608982152480768,"description":"Unknown IO ID 44"} 
[2026-09-24 18:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304736768001,"power":28300,"unknown_62":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-6020608982152480768}} 
[2026-09-24 18:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":192946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891173,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:00:15] local.INFO: GPS data processed {"connection_id":192946,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:00:15] local.INFO: Acknowledgment sent {"connection_id":192946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:00:22] local.INFO: TCP Data received {"connection_id":192945,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 18:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 18:00:22] local.INFO: Processing buffer {"connection_id":192945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3602a50012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 18:00:22] local.INFO: Packet analysis {"connection_id":192945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d360"} 
[2026-09-24 18:00:22] local.INFO: Extracted packet for processing {"connection_id":192945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d360"} 
[2026-09-24 18:00:22] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304611840001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790252690000,"timestamp_ms":1790252690000,"timestamp_seconds":1790252690,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3602a50"} 
[2026-09-24 18:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 18:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304611840001,"66":2166,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304611840001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:00:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:00:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304611840001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":192945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:00:23] local.INFO: GPS data processed {"connection_id":192945,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:00:23] local.INFO: Acknowledgment sent {"connection_id":192945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:00:33] local.INFO: TCP Data received {"connection_id":191356,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:00:33] local.INFO: Processing buffer {"connection_id":191356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:00:33] local.INFO: IMEI packet received {"connection_id":191356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":191356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:00:38] local.INFO: TCP Data received {"connection_id":191356,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:00:38] local.INFO: Processing buffer {"connection_id":191356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:00:38] local.INFO: IMEI packet received {"connection_id":191356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":191356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:00:39] local.INFO: TCP Data received {"connection_id":191356,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 18:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 18:00:39] local.INFO: Processing buffer {"connection_id":191356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 18:00:39] local.INFO: Packet analysis {"connection_id":191356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d361"} 
[2026-09-24 18:00:39] local.INFO: Extracted packet for processing {"connection_id":191356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d361"} 
[2026-09-24 18:00:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304640768001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790252804000,"timestamp_ms":1790252804000,"timestamp_seconds":1790252804,"priority":1,"record_length":96,"hex_timestamp":"000001a0d361e7a0"} 
[2026-09-24 18:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304640768001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304640768001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:00:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:00:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304640768001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":191356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:00:39] local.INFO: GPS data processed {"connection_id":191356,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:00:39] local.INFO: Acknowledgment sent {"connection_id":191356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:00:43] local.INFO: TCP Data received {"connection_id":191356,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 18:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 18:00:43] local.INFO: Processing buffer {"connection_id":191356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 18:00:43] local.INFO: Packet analysis {"connection_id":191356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d361"} 
[2026-09-24 18:00:43] local.INFO: Extracted packet for processing {"connection_id":191356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d361"} 
[2026-09-24 18:00:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304640768001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790252804000,"timestamp_ms":1790252804000,"timestamp_seconds":1790252804,"priority":1,"record_length":96,"hex_timestamp":"000001a0d361e7a0"} 
[2026-09-24 18:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304640768001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304640768001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:00:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:00:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304640768001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":191356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:00:43] local.INFO: GPS data processed {"connection_id":191356,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:00:43] local.INFO: Acknowledgment sent {"connection_id":191356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:00:44] local.INFO: TCP Data received {"connection_id":194217,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:00:44] local.INFO: Processing buffer {"connection_id":194217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:00:44] local.INFO: IMEI packet received {"connection_id":194217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":194217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:00:46] local.INFO: TCP Data received {"connection_id":192946,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36441300100000000000000000000000000..."} 
[2026-09-24 18:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36441300100000000000000000000000000..."} 
[2026-09-24 18:00:46] local.INFO: Processing buffer {"connection_id":192946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36441300100000000000000000000000000..."} 
[2026-09-24 18:00:46] local.INFO: Packet analysis {"connection_id":192946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:00:46] local.INFO: Extracted packet for processing {"connection_id":192946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:00:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 18:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304742144001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:00:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6009912933043089408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790252958000,"timestamp_ms":1790252958000,"timestamp_seconds":1790252958,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3644130"} 
[2026-09-24 18:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:00: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-09-24 18:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 18:00:46] 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-09-24 18:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":192946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":192946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":192946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":192946,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 18:00:46] local.INFO: GPS data processed {"connection_id":192946,"processed":0,"errors":0,"total":1} 
[2026-09-24 18:00:46] local.INFO: Acknowledgment sent {"connection_id":192946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:00:49] local.INFO: TCP Data received {"connection_id":194217,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:00:49] local.INFO: Processing buffer {"connection_id":194217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:00:49] local.INFO: IMEI packet received {"connection_id":194217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":194217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:00:51] local.INFO: TCP Data received {"connection_id":194217,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:00:51] local.INFO: Processing buffer {"connection_id":194217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:00:51] local.INFO: Packet analysis {"connection_id":194217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:00:51] local.INFO: Extracted packet for processing {"connection_id":194217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:00:51] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304688640001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790252991000,"timestamp_ms":1790252991000,"timestamp_seconds":1790252991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d364c218"} 
[2026-09-24 18:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 18:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:00: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-09-24 18:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304688640001,"66":2144,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304688640001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:00:51] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:00:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304688640001,"power":2144,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":194217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:00:51] local.INFO: GPS data processed {"connection_id":194217,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:00:51] local.INFO: Acknowledgment sent {"connection_id":194217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:01:05] local.INFO: TCP Data received {"connection_id":194218,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:01:05] local.INFO: Processing buffer {"connection_id":194218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:01:05] local.INFO: IMEI packet received {"connection_id":194218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":194218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:01:06] local.INFO: TCP Data received {"connection_id":194218,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:01:06] local.INFO: Processing buffer {"connection_id":194218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:01:06] local.INFO: IMEI packet received {"connection_id":194218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":194218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:01:12] local.INFO: TCP Data received {"connection_id":194218,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:01:12] local.INFO: Processing buffer {"connection_id":194218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:01:12] local.INFO: IMEI packet received {"connection_id":194218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":194218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:01:13] local.INFO: TCP Data received {"connection_id":194218,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d363c430012cacd980077e4668001100a72f..."} 
[2026-09-24 18:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d363c430012cacd980077e4668001100a72f..."} 
[2026-09-24 18:01:13] local.INFO: Processing buffer {"connection_id":194218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d363c430012cacd980077e4668001100a72f..."} 
[2026-09-24 18:01:13] local.INFO: Packet analysis {"connection_id":194218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d363"} 
[2026-09-24 18:01:13] local.INFO: Extracted packet for processing {"connection_id":194218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d363"} 
[2026-09-24 18:01:13] local.INFO: GPS Element Parsed {"raw_longitude":749525376,"raw_latitude":125716072,"longitude_deg":74.9525376,"latitude_deg":12.5716072,"altitude":17,"angle":167,"satellites":47,"speed":57,"hex_longitude":"2cacd980","hex_latitude":"077e4668","is_valid_coordinates":true} 
[2026-09-24 18:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:01:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,228,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790252926000,"timestamp_ms":1790252926000,"timestamp_seconds":1790252926,"priority":1,"record_length":96,"hex_timestamp":"000001a0d363c430"} 
[2026-09-24 18:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-24 18:01:13] 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-09-24 18:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":194218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":194218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":194218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"228":206,"27":54016,"24":57,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16]} 
[2026-09-24 18:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 18:01:13] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-24 18:01:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:01:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_228":206,"unknown_27":54016,"ignition":57,"odometer":null}} 
[2026-09-24 18:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":194218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891178,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:01:13] local.INFO: GPS data processed {"connection_id":194218,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:01:13] local.INFO: Acknowledgment sent {"connection_id":194218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:01:22] local.INFO: TCP Data received {"connection_id":194217,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:01:22] local.INFO: Processing buffer {"connection_id":194217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:01:22] local.INFO: Packet analysis {"connection_id":194217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:01:22] local.INFO: Extracted packet for processing {"connection_id":194217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:01:22] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304688640001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790252991000,"timestamp_ms":1790252991000,"timestamp_seconds":1790252991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d364c218"} 
[2026-09-24 18:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 18:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304688640001,"66":2144,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304688640001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:01:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:01:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304688640001,"power":2144,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":194217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:01:22] local.INFO: GPS data processed {"connection_id":194217,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:01:22] local.INFO: Acknowledgment sent {"connection_id":194217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:01:28] local.INFO: TCP Data received {"connection_id":191357,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:01:28] local.INFO: Processing buffer {"connection_id":191357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:01:28] local.INFO: IMEI packet received {"connection_id":191357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":191357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:01:33] local.INFO: TCP Data received {"connection_id":191357,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:01:33] local.INFO: Processing buffer {"connection_id":191357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:01:33] local.INFO: IMEI packet received {"connection_id":191357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":191357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:01:34] local.INFO: TCP Data received {"connection_id":191357,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 18:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 18:01:34] local.INFO: Processing buffer {"connection_id":191357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 18:01:34] local.INFO: Packet analysis {"connection_id":191357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d361"} 
[2026-09-24 18:01:34] local.INFO: Extracted packet for processing {"connection_id":191357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d361"} 
[2026-09-24 18:01:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304640768001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790252804000,"timestamp_ms":1790252804000,"timestamp_seconds":1790252804,"priority":1,"record_length":96,"hex_timestamp":"000001a0d361e7a0"} 
[2026-09-24 18:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304640768001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304640768001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:01:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:01:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304640768001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":191357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:01:34] local.INFO: GPS data processed {"connection_id":191357,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:01:34] local.INFO: Acknowledgment sent {"connection_id":191357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:01:45] local.INFO: TCP Data received {"connection_id":194218,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3641638012caceb00077def68001500a730..."} 
[2026-09-24 18:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3641638012caceb00077def68001500a730..."} 
[2026-09-24 18:01:45] local.INFO: Processing buffer {"connection_id":194218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3641638012caceb00077def68001500a730..."} 
[2026-09-24 18:01:45] local.INFO: Packet analysis {"connection_id":194218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:01:45] local.INFO: Extracted packet for processing {"connection_id":194218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:01:45] local.INFO: GPS Element Parsed {"raw_longitude":749529856,"raw_latitude":125693800,"longitude_deg":74.9529856,"latitude_deg":12.56938,"altitude":21,"angle":167,"satellites":48,"speed":0,"hex_longitude":"2caceb00","hex_latitude":"077def68","is_valid_coordinates":true} 
[2026-09-24 18:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304749056001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:01:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5991617059568064512,"note":"Value kept but may cause issues"} 
[2026-09-24 18:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790252947000,"timestamp_ms":1790252947000,"timestamp_seconds":1790252947,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3641638"} 
[2026-09-24 18:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 18:01:45] 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-09-24 18:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":194218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":194218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":194218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304749056001,"66":28398,"228":206,"27":54016,"24":0,"16":3605341577150464,"44":-5991617059568064512},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-09-24 18:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304749056001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:01:45] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-24 18:01:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:01:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5991617059568064512,"description":"Unknown IO ID 44"} 
[2026-09-24 18:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304749056001,"power":28398,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5991617059568064512}} 
[2026-09-24 18:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":194218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891181,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:01:45] local.INFO: GPS data processed {"connection_id":194218,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:01:45] local.INFO: Acknowledgment sent {"connection_id":194218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:01:51] local.INFO: TCP Data received {"connection_id":191562,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:01:51] local.INFO: Processing buffer {"connection_id":191562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:01:51] local.INFO: IMEI packet received {"connection_id":191562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":191562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:01:54] local.INFO: TCP Data received {"connection_id":191562,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:01:54] local.INFO: Processing buffer {"connection_id":191562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:01:54] local.INFO: IMEI packet received {"connection_id":191562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":191562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:01:55] local.INFO: TCP Data received {"connection_id":191562,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:01:55] local.INFO: Processing buffer {"connection_id":191562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:01:55] local.INFO: Packet analysis {"connection_id":191562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:01:55] local.INFO: Extracted packet for processing {"connection_id":191562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:01:55] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304688640001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790252991000,"timestamp_ms":1790252991000,"timestamp_seconds":1790252991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d364c218"} 
[2026-09-24 18:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 18:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304688640001,"66":2144,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304688640001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:01:55] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:01:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304688640001,"power":2144,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":191562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:01:55] local.INFO: GPS data processed {"connection_id":191562,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:01:55] local.INFO: Acknowledgment sent {"connection_id":191562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:02:02] local.INFO: TCP Data received {"connection_id":191562,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:02:02] local.INFO: Processing buffer {"connection_id":191562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:02:02] local.INFO: Packet analysis {"connection_id":191562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:02:02] local.INFO: Extracted packet for processing {"connection_id":191562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:02:02] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304688640001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790252991000,"timestamp_ms":1790252991000,"timestamp_seconds":1790252991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d364c218"} 
[2026-09-24 18:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 18:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":191562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":191562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":191562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304688640001,"66":2144,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304688640001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:02:02] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:02:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304688640001,"power":2144,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":191562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:02:02] local.INFO: GPS data processed {"connection_id":191562,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:02:02] local.INFO: Acknowledgment sent {"connection_id":191562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:02:05] local.INFO: TCP Data received {"connection_id":191357,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 18:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 18:02:05] local.INFO: Processing buffer {"connection_id":191357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d361e7a0012d34c14006aa4940000900f52b..."} 
[2026-09-24 18:02:05] local.INFO: Packet analysis {"connection_id":191357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d361"} 
[2026-09-24 18:02:05] local.INFO: Extracted packet for processing {"connection_id":191357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d361"} 
[2026-09-24 18:02:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304640768001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790252804000,"timestamp_ms":1790252804000,"timestamp_seconds":1790252804,"priority":1,"record_length":96,"hex_timestamp":"000001a0d361e7a0"} 
[2026-09-24 18:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304640768001,"66":25604,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304640768001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:02:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:02:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304640768001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":191357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:02:05] local.INFO: GPS data processed {"connection_id":191357,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:02:05] local.INFO: Acknowledgment sent {"connection_id":191357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:02:07] local.INFO: TCP Data received {"connection_id":192947,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:02:07] local.INFO: Processing buffer {"connection_id":192947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:02:07] local.INFO: IMEI packet received {"connection_id":192947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":192947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:02:11] local.INFO: TCP Data received {"connection_id":192947,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:02:11] local.INFO: Processing buffer {"connection_id":192947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:02:11] local.INFO: IMEI packet received {"connection_id":192947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":192947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:02:12] local.INFO: TCP Data received {"connection_id":192947,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d364fcb00100000000000000000000000000..."} 
[2026-09-24 18:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d364fcb00100000000000000000000000000..."} 
[2026-09-24 18:02:12] local.INFO: Processing buffer {"connection_id":192947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d364fcb00100000000000000000000000000..."} 
[2026-09-24 18:02:12] local.INFO: Packet analysis {"connection_id":192947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:02:12] local.INFO: Extracted packet for processing {"connection_id":192947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:02:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 18:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304754432001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:02:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5986691247481329664,"note":"Value kept but may cause issues"} 
[2026-09-24 18:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790253006000,"timestamp_ms":1790253006000,"timestamp_seconds":1790253006,"priority":1,"record_length":96,"hex_timestamp":"000001a0d364fcb0"} 
[2026-09-24 18:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:02:12] 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-09-24 18:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":192947,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 18:02:12] local.INFO: GPS data processed {"connection_id":192947,"processed":0,"errors":0,"total":1} 
[2026-09-24 18:02:12] local.INFO: Acknowledgment sent {"connection_id":192947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:02:15] local.INFO: TCP Data received {"connection_id":192947,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3647fb0012cad1c80077d37f0000b00af30..."} 
[2026-09-24 18:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3647fb0012cad1c80077d37f0000b00af30..."} 
[2026-09-24 18:02:15] local.INFO: Processing buffer {"connection_id":192947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3647fb0012cad1c80077d37f0000b00af30..."} 
[2026-09-24 18:02:15] local.INFO: Packet analysis {"connection_id":192947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:02:15] local.INFO: Extracted packet for processing {"connection_id":192947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:02:15] local.INFO: GPS Element Parsed {"raw_longitude":749542528,"raw_latitude":125646832,"longitude_deg":74.9542528,"latitude_deg":12.5646832,"altitude":11,"angle":175,"satellites":48,"speed":63,"hex_longitude":"2cad1c80","hex_latitude":"077d37f0","is_valid_coordinates":true} 
[2026-09-24 18:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:02:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,228,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790252974000,"timestamp_ms":1790252974000,"timestamp_seconds":1790252974,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3647fb0"} 
[2026-09-24 18:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-24 18:02:15] 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-09-24 18:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"228":206,"27":54016,"24":63,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16]} 
[2026-09-24 18:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 18:02:15] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-24 18:02:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:02:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_228":206,"unknown_27":54016,"ignition":63,"odometer":null}} 
[2026-09-24 18:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":192947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891185,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:02:15] local.INFO: GPS data processed {"connection_id":192947,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:02:15] local.INFO: Acknowledgment sent {"connection_id":192947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:02:28] local.INFO: TCP Data received {"connection_id":191563,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:02:28] local.INFO: Processing buffer {"connection_id":191563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:02:28] local.INFO: IMEI packet received {"connection_id":191563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":191563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:02:33] local.INFO: TCP Data received {"connection_id":191563,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:02:33] local.INFO: Processing buffer {"connection_id":191563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:02:33] local.INFO: IMEI packet received {"connection_id":191563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":191563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:02:34] local.INFO: TCP Data received {"connection_id":191563,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:02:34] local.INFO: Processing buffer {"connection_id":191563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:02:34] local.INFO: Packet analysis {"connection_id":191563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:02:34] local.INFO: Extracted packet for processing {"connection_id":191563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:02:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304717824001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790253105000,"timestamp_ms":1790253105000,"timestamp_seconds":1790253105,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3667f68"} 
[2026-09-24 18:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 18:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304717824001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304717824001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:02:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:02:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304717824001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":191563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:02:35] local.INFO: GPS data processed {"connection_id":191563,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:02:35] local.INFO: Acknowledgment sent {"connection_id":191563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:02:45] local.INFO: TCP Data received {"connection_id":194219,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:02:45] local.INFO: Processing buffer {"connection_id":194219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:02:45] local.INFO: IMEI packet received {"connection_id":194219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":194219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:02:47] local.INFO: TCP Data received {"connection_id":192947,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d364be30012cad2880077cd8d8000a00a231..."} 
[2026-09-24 18:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d364be30012cad2880077cd8d8000a00a231..."} 
[2026-09-24 18:02:47] local.INFO: Processing buffer {"connection_id":192947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d364be30012cad2880077cd8d8000a00a231..."} 
[2026-09-24 18:02:47] local.INFO: Packet analysis {"connection_id":192947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:02:47] local.INFO: Extracted packet for processing {"connection_id":192947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:02:47] local.INFO: GPS Element Parsed {"raw_longitude":749545600,"raw_latitude":125622488,"longitude_deg":74.95456,"latitude_deg":12.5622488,"altitude":10,"angle":162,"satellites":49,"speed":57,"hex_longitude":"2cad2880","hex_latitude":"077cd8d8","is_valid_coordinates":true} 
[2026-09-24 18:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304761344001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:02:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5972758236146176000,"note":"Value kept but may cause issues"} 
[2026-09-24 18:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790252990000,"timestamp_ms":1790252990000,"timestamp_seconds":1790252990,"priority":1,"record_length":96,"hex_timestamp":"000001a0d364be30"} 
[2026-09-24 18:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:02: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-09-24 18:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:02: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-09-24 18:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":192947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":192947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":192947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304761344001,"66":28126,"228":206,"27":54016,"24":57,"16":3605341577150464,"44":-5972758236146176000},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-09-24 18:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304761344001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:02:47] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-24 18:02:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:02:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5972758236146176000,"description":"Unknown IO ID 44"} 
[2026-09-24 18:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304761344001,"power":28126,"unknown_228":206,"unknown_27":54016,"ignition":57,"odometer":null,"unknown_44":-5972758236146176000}} 
[2026-09-24 18:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":192947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891187,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:02:47] local.INFO: GPS data processed {"connection_id":192947,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:02:47] local.INFO: Acknowledgment sent {"connection_id":192947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:02:50] local.INFO: TCP Data received {"connection_id":194219,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:02:50] local.INFO: Processing buffer {"connection_id":194219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:02:50] local.INFO: IMEI packet received {"connection_id":194219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":194219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:02:51] local.INFO: TCP Data received {"connection_id":194219,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:02:51] local.INFO: Processing buffer {"connection_id":194219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:02:51] local.INFO: Packet analysis {"connection_id":194219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:02:51] local.INFO: Extracted packet for processing {"connection_id":194219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:02:51] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304688640001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790252991000,"timestamp_ms":1790252991000,"timestamp_seconds":1790252991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d364c218"} 
[2026-09-24 18:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 18:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304688640001,"66":2144,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304688640001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:02:51] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:02:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304688640001,"power":2144,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":194219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:02:51] local.INFO: GPS data processed {"connection_id":194219,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:02:51] local.INFO: Acknowledgment sent {"connection_id":194219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:02:55] local.INFO: TCP Data received {"connection_id":194219,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:02:55] local.INFO: Processing buffer {"connection_id":194219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:02:55] local.INFO: Packet analysis {"connection_id":194219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:02:55] local.INFO: Extracted packet for processing {"connection_id":194219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:02:55] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:02: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-09-24 18:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304688640001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790252991000,"timestamp_ms":1790252991000,"timestamp_seconds":1790252991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d364c218"} 
[2026-09-24 18:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 18:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:02: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-09-24 18:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304688640001,"66":2144,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304688640001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:02:55] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:02:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304688640001,"power":2144,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":194219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:02:55] local.INFO: GPS data processed {"connection_id":194219,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:02:55] local.INFO: Acknowledgment sent {"connection_id":194219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:03:06] local.INFO: TCP Data received {"connection_id":194220,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:03:06] local.INFO: Processing buffer {"connection_id":194220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:03:06] local.INFO: IMEI packet received {"connection_id":194220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":194220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:03:07] local.INFO: TCP Data received {"connection_id":191563,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:03:07] local.INFO: Processing buffer {"connection_id":191563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:03:07] local.INFO: Packet analysis {"connection_id":191563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:03:07] local.INFO: Extracted packet for processing {"connection_id":191563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:03:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304717824001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790253105000,"timestamp_ms":1790253105000,"timestamp_seconds":1790253105,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3667f68"} 
[2026-09-24 18:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:03: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-09-24 18:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 18:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304717824001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304717824001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:03:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:03:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304717824001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":191563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:03:07] local.INFO: GPS data processed {"connection_id":191563,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:03:07] local.INFO: Acknowledgment sent {"connection_id":191563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:03:09] local.INFO: TCP Data received {"connection_id":194220,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:03:09] local.INFO: Processing buffer {"connection_id":194220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:03:09] local.INFO: IMEI packet received {"connection_id":194220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":194220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:03:11] local.INFO: TCP Data received {"connection_id":194220,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:03:11] local.INFO: Processing buffer {"connection_id":194220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:03:11] local.INFO: IMEI packet received {"connection_id":194220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":194220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:03:12] local.INFO: TCP Data received {"connection_id":194220,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d364fcb0012cad5880077c8b20000b009031..."} 
[2026-09-24 18:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d364fcb0012cad5880077c8b20000b009031..."} 
[2026-09-24 18:03:12] local.INFO: Processing buffer {"connection_id":194220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d364fcb0012cad5880077c8b20000b009031..."} 
[2026-09-24 18:03:12] local.INFO: Packet analysis {"connection_id":194220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:03:12] local.INFO: Extracted packet for processing {"connection_id":194220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:03:12] local.INFO: GPS Element Parsed {"raw_longitude":749557888,"raw_latitude":125602592,"longitude_deg":74.9557888,"latitude_deg":12.5602592,"altitude":11,"angle":144,"satellites":49,"speed":58,"hex_longitude":"2cad5880","hex_latitude":"077c8b20","is_valid_coordinates":true} 
[2026-09-24 18:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304765440001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:03:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5969380536431880192,"note":"Value kept but may cause issues"} 
[2026-09-24 18:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790253006000,"timestamp_ms":1790253006000,"timestamp_seconds":1790253006,"priority":1,"record_length":96,"hex_timestamp":"000001a0d364fcb0"} 
[2026-09-24 18:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-24 18:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304765440001,"66":28430,"228":206,"27":54016,"24":58,"16":3605341577150464,"44":-5969380536431880192},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-09-24 18:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304765440001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:03:12] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-24 18:03:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:03:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5969380536431880192,"description":"Unknown IO ID 44"} 
[2026-09-24 18:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304765440001,"power":28430,"unknown_228":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-5969380536431880192}} 
[2026-09-24 18:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":194220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891191,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:03:12] local.INFO: GPS data processed {"connection_id":194220,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:03:12] local.INFO: Acknowledgment sent {"connection_id":194220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:03:16] local.INFO: TCP Data received {"connection_id":194220,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3654eb8012cad8b00077c3ea0000b009431..."} 
[2026-09-24 18:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3654eb8012cad8b00077c3ea0000b009431..."} 
[2026-09-24 18:03:16] local.INFO: Processing buffer {"connection_id":194220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3654eb8012cad8b00077c3ea0000b009431..."} 
[2026-09-24 18:03:16] local.INFO: Packet analysis {"connection_id":194220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d365"} 
[2026-09-24 18:03:16] local.INFO: Extracted packet for processing {"connection_id":194220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d365"} 
[2026-09-24 18:03:16] local.INFO: GPS Element Parsed {"raw_longitude":749570816,"raw_latitude":125583008,"longitude_deg":74.9570816,"latitude_deg":12.5583008,"altitude":11,"angle":148,"satellites":49,"speed":0,"hex_longitude":"2cad8b00","hex_latitude":"077c3ea0","is_valid_coordinates":true} 
[2026-09-24 18:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304769536001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:03:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5955869737554862080,"note":"Value kept but may cause issues"} 
[2026-09-24 18:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790253027000,"timestamp_ms":1790253027000,"timestamp_seconds":1790253027,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3654eb8"} 
[2026-09-24 18:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 18:03:16] 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-09-24 18:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":194220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":194220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":194220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304769536001,"66":28354,"228":206,"27":54016,"24":0,"16":3605341577150464,"44":-5955869737554862080},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-09-24 18:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304769536001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:03:16] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-24 18:03:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:03:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5955869737554862080,"description":"Unknown IO ID 44"} 
[2026-09-24 18:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304769536001,"power":28354,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5955869737554862080}} 
[2026-09-24 18:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":194220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891192,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:03:17] local.INFO: GPS data processed {"connection_id":194220,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:03:17] local.INFO: Acknowledgment sent {"connection_id":194220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:03:26] local.INFO: TCP Data received {"connection_id":194219,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:03:26] local.INFO: Processing buffer {"connection_id":194219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:03:26] local.INFO: Packet analysis {"connection_id":194219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:03:26] local.INFO: Extracted packet for processing {"connection_id":194219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:03:26] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304688640001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790252991000,"timestamp_ms":1790252991000,"timestamp_seconds":1790252991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d364c218"} 
[2026-09-24 18:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 18:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:03: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-09-24 18:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":194219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":194219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":194219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304688640001,"66":2144,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304688640001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:03:26] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:03:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304688640001,"power":2144,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":194219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:03:26] local.INFO: GPS data processed {"connection_id":194219,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:03:26] local.INFO: Acknowledgment sent {"connection_id":194219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:03:27] local.INFO: TCP Data received {"connection_id":191358,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:03:28] local.INFO: Processing buffer {"connection_id":191358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:03:28] local.INFO: IMEI packet received {"connection_id":191358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":191358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:03:33] local.INFO: TCP Data received {"connection_id":191358,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:03:33] local.INFO: Processing buffer {"connection_id":191358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:03:33] local.INFO: IMEI packet received {"connection_id":191358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":191358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:03:34] local.INFO: TCP Data received {"connection_id":191358,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:03:34] local.INFO: Processing buffer {"connection_id":191358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:03:34] local.INFO: Packet analysis {"connection_id":191358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:03:34] local.INFO: Extracted packet for processing {"connection_id":191358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:03:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304717824001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790253105000,"timestamp_ms":1790253105000,"timestamp_seconds":1790253105,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3667f68"} 
[2026-09-24 18:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 18:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304717824001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304717824001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:03:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:03:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304717824001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":191358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:03:34] local.INFO: GPS data processed {"connection_id":191358,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:03:34] local.INFO: Acknowledgment sent {"connection_id":191358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:03:44] local.INFO: TCP Data received {"connection_id":194221,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:03:44] local.INFO: Processing buffer {"connection_id":194221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:03:44] local.INFO: IMEI packet received {"connection_id":194221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":194221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:03:48] local.INFO: TCP Data received {"connection_id":194220,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36635300100000000000000000000000000..."} 
[2026-09-24 18:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36635300100000000000000000000000000..."} 
[2026-09-24 18:03:48] local.INFO: Processing buffer {"connection_id":194220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36635300100000000000000000000000000..."} 
[2026-09-24 18:03:48] local.INFO: Packet analysis {"connection_id":194220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:03:48] local.INFO: Extracted packet for processing {"connection_id":194220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:03: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-09-24 18:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304774912001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:03:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5941655251235987456,"note":"Value kept but may cause issues"} 
[2026-09-24 18:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790253086000,"timestamp_ms":1790253086000,"timestamp_seconds":1790253086,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3663530"} 
[2026-09-24 18:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:03: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-09-24 18:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:03: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-09-24 18:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":194220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":194220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":194220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":194220,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 18:03:48] local.INFO: GPS data processed {"connection_id":194220,"processed":0,"errors":0,"total":1} 
[2026-09-24 18:03:48] local.INFO: Acknowledgment sent {"connection_id":194220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:03:50] local.INFO: TCP Data received {"connection_id":194221,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:03:50] local.INFO: Processing buffer {"connection_id":194221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:03:50] local.INFO: IMEI packet received {"connection_id":194221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":194221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:03:51] local.INFO: TCP Data received {"connection_id":194221,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:03:51] local.INFO: Processing buffer {"connection_id":194221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:03:51] local.INFO: Packet analysis {"connection_id":194221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:03:51] local.INFO: Extracted packet for processing {"connection_id":194221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:03:51] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304688640001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790252991000,"timestamp_ms":1790252991000,"timestamp_seconds":1790252991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d364c218"} 
[2026-09-24 18:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 18:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304688640001,"66":2144,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304688640001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:03:51] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:03:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304688640001,"power":2144,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":194221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:03:51] local.INFO: GPS data processed {"connection_id":194221,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:03:51] local.INFO: Acknowledgment sent {"connection_id":194221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:04:05] local.INFO: TCP Data received {"connection_id":191358,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:04:05] local.INFO: Processing buffer {"connection_id":191358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:04:05] local.INFO: Packet analysis {"connection_id":191358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:04:05] local.INFO: Extracted packet for processing {"connection_id":191358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:04:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304717824001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790253105000,"timestamp_ms":1790253105000,"timestamp_seconds":1790253105,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3667f68"} 
[2026-09-24 18:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 18:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304717824001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304717824001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:04:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:04:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304717824001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":191358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:04:05] local.INFO: GPS data processed {"connection_id":191358,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:04:05] local.INFO: Acknowledgment sent {"connection_id":191358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:04:06] local.INFO: TCP Data received {"connection_id":194222,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:04:06] local.INFO: Processing buffer {"connection_id":194222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:04:06] local.INFO: IMEI packet received {"connection_id":194222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":194222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:04:12] local.INFO: TCP Data received {"connection_id":194222,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:04:12] local.INFO: Processing buffer {"connection_id":194222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:04:12] local.INFO: IMEI packet received {"connection_id":194222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":194222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:04:13] local.INFO: TCP Data received {"connection_id":194222,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d365b830012cadd900077b99a0000a009e31..."} 
[2026-09-24 18:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d365b830012cadd900077b99a0000a009e31..."} 
[2026-09-24 18:04:13] local.INFO: Processing buffer {"connection_id":194222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d365b830012cadd900077b99a0000a009e31..."} 
[2026-09-24 18:04:13] local.INFO: Packet analysis {"connection_id":194222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d365"} 
[2026-09-24 18:04:13] local.INFO: Extracted packet for processing {"connection_id":194222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d365"} 
[2026-09-24 18:04:13] local.INFO: GPS Element Parsed {"raw_longitude":749590784,"raw_latitude":125540768,"longitude_deg":74.9590784,"latitude_deg":12.5540768,"altitude":10,"angle":158,"satellites":49,"speed":57,"hex_longitude":"2cadd900","hex_latitude":"077b99a0","is_valid_coordinates":true} 
[2026-09-24 18:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:04:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,228,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790253054000,"timestamp_ms":1790253054000,"timestamp_seconds":1790253054,"priority":1,"record_length":96,"hex_timestamp":"000001a0d365b830"} 
[2026-09-24 18:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 18:04:13] 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-09-24 18:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":194222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":194222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":194222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"228":206,"27":54016,"24":57,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16]} 
[2026-09-24 18:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 18:04:13] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-24 18:04:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:04:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_228":206,"unknown_27":54016,"ignition":57,"odometer":null}} 
[2026-09-24 18:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":194222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891197,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:04:14] local.INFO: GPS data processed {"connection_id":194222,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:04:14] local.INFO: Acknowledgment sent {"connection_id":194222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:04:22] local.INFO: TCP Data received {"connection_id":194221,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:04:22] local.INFO: Processing buffer {"connection_id":194221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:04:22] local.INFO: Packet analysis {"connection_id":194221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:04:22] local.INFO: Extracted packet for processing {"connection_id":194221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:04:22] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304688640001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790252991000,"timestamp_ms":1790252991000,"timestamp_seconds":1790252991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d364c218"} 
[2026-09-24 18:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 18:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304688640001,"66":2144,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304688640001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:04:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:04:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304688640001,"power":2144,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":194221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:04:22] local.INFO: GPS data processed {"connection_id":194221,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:04:22] local.INFO: Acknowledgment sent {"connection_id":194221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:04:33] local.INFO: TCP Data received {"connection_id":191564,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:04:33] local.INFO: Processing buffer {"connection_id":191564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:04:33] local.INFO: IMEI packet received {"connection_id":191564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":191564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:04:38] local.INFO: TCP Data received {"connection_id":191564,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:04:38] local.INFO: Processing buffer {"connection_id":191564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:04:38] local.INFO: IMEI packet received {"connection_id":191564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":191564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:04:39] local.INFO: TCP Data received {"connection_id":191564,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:04:39] local.INFO: Processing buffer {"connection_id":191564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:04:39] local.INFO: Packet analysis {"connection_id":191564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:04:39] local.INFO: Extracted packet for processing {"connection_id":191564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:04:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304717824001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790253105000,"timestamp_ms":1790253105000,"timestamp_seconds":1790253105,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3667f68"} 
[2026-09-24 18:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 18:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304717824001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304717824001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:04:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:04:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304717824001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":191564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:04:39] local.INFO: GPS data processed {"connection_id":191564,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:04:39] local.INFO: Acknowledgment sent {"connection_id":191564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:04:44] local.INFO: TCP Data received {"connection_id":191564,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:04:44] local.INFO: Processing buffer {"connection_id":191564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:04:44] local.INFO: Packet analysis {"connection_id":191564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:04:44] local.INFO: Extracted packet for processing {"connection_id":191564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:04:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304717824001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790253105000,"timestamp_ms":1790253105000,"timestamp_seconds":1790253105,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3667f68"} 
[2026-09-24 18:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 18:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304717824001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304717824001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:04:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:04:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304717824001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":191564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:04:44] local.INFO: GPS data processed {"connection_id":191564,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:04:44] local.INFO: Acknowledgment sent {"connection_id":191564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:04:44] local.INFO: TCP Data received {"connection_id":192948,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:04:44] local.INFO: Processing buffer {"connection_id":192948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:04:44] local.INFO: IMEI packet received {"connection_id":192948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":192948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:04:46] local.INFO: TCP Data received {"connection_id":194222,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3660a38012cadefc0077b42b0000c00a730..."} 
[2026-09-24 18:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3660a38012cadefc0077b42b0000c00a730..."} 
[2026-09-24 18:04:46] local.INFO: Processing buffer {"connection_id":194222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3660a38012cadefc0077b42b0000c00a730..."} 
[2026-09-24 18:04:46] local.INFO: Packet analysis {"connection_id":194222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:04:46] local.INFO: Extracted packet for processing {"connection_id":194222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:04:46] local.INFO: GPS Element Parsed {"raw_longitude":749596608,"raw_latitude":125518512,"longitude_deg":74.9596608,"latitude_deg":12.5518512,"altitude":12,"angle":167,"satellites":48,"speed":0,"hex_longitude":"2cadefc0","hex_latitude":"077b42b0","is_valid_coordinates":true} 
[2026-09-24 18:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304781824001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:04:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5919700203063369728,"note":"Value kept but may cause issues"} 
[2026-09-24 18:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790253075000,"timestamp_ms":1790253075000,"timestamp_seconds":1790253075,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3660a38"} 
[2026-09-24 18:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:04:46] 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-09-24 18:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":194222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":194222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":194222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304781824001,"66":28256,"228":206,"27":54016,"24":0,"16":3605341577150464,"44":-5919700203063369728},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-09-24 18:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304781824001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:04:46] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-24 18:04:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:04:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5919700203063369728,"description":"Unknown IO ID 44"} 
[2026-09-24 18:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304781824001,"power":28256,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5919700203063369728}} 
[2026-09-24 18:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":194222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891201,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:04:46] local.INFO: GPS data processed {"connection_id":194222,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:04:46] local.INFO: Acknowledgment sent {"connection_id":194222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:04:50] local.INFO: TCP Data received {"connection_id":192948,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:04:50] local.INFO: Processing buffer {"connection_id":192948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:04:50] local.INFO: IMEI packet received {"connection_id":192948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":192948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:05:03] local.INFO: TCP Data received {"connection_id":192948,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:05:03] local.INFO: Processing buffer {"connection_id":192948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d364c218012d1d8b00071b2fe8004300a928..."} 
[2026-09-24 18:05:03] local.INFO: Packet analysis {"connection_id":192948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:05:03] local.INFO: Extracted packet for processing {"connection_id":192948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d364"} 
[2026-09-24 18:05:03] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":40,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304688640001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790252991000,"timestamp_ms":1790252991000,"timestamp_seconds":1790252991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d364c218"} 
[2026-09-24 18:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 18:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304688640001,"66":2144,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304688640001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:05:03] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:05:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304688640001,"power":2144,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":192948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:05:03] local.INFO: GPS data processed {"connection_id":192948,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:05:03] local.INFO: Acknowledgment sent {"connection_id":192948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:05:11] local.INFO: TCP Data received {"connection_id":191359,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:05:11] local.INFO: Processing buffer {"connection_id":191359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:05:11] local.INFO: IMEI packet received {"connection_id":191359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":191359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:05:17] local.INFO: TCP Data received {"connection_id":191359,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:05:17] local.INFO: Processing buffer {"connection_id":191359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:05:17] local.INFO: IMEI packet received {"connection_id":191359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":191359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:05:18] local.INFO: TCP Data received {"connection_id":191359,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d366f0b00100000000000000000000000000..."} 
[2026-09-24 18:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d366f0b00100000000000000000000000000..."} 
[2026-09-24 18:05:18] local.INFO: Processing buffer {"connection_id":191359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d366f0b00100000000000000000000000000..."} 
[2026-09-24 18:05:18] local.INFO: Packet analysis {"connection_id":191359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:05:18] local.INFO: Extracted packet for processing {"connection_id":191359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:05: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-09-24 18:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304787200001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:05:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5913296647348899840,"note":"Value kept but may cause issues"} 
[2026-09-24 18:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790253134000,"timestamp_ms":1790253134000,"timestamp_seconds":1790253134,"priority":1,"record_length":96,"hex_timestamp":"000001a0d366f0b0"} 
[2026-09-24 18:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 18:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":191359,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 18:05:18] local.INFO: GPS data processed {"connection_id":191359,"processed":0,"errors":0,"total":1} 
[2026-09-24 18:05:18] local.INFO: Acknowledgment sent {"connection_id":191359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:05:19] local.INFO: TCP Data received {"connection_id":191359,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3667798012cae1b00077aa320001300a62f..."} 
[2026-09-24 18:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3667798012cae1b00077aa320001300a62f..."} 
[2026-09-24 18:05:19] local.INFO: Processing buffer {"connection_id":191359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3667798012cae1b00077aa320001300a62f..."} 
[2026-09-24 18:05:19] local.INFO: Packet analysis {"connection_id":191359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:05:19] local.INFO: Extracted packet for processing {"connection_id":191359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:05:19] local.INFO: GPS Element Parsed {"raw_longitude":749607680,"raw_latitude":125477664,"longitude_deg":74.960768,"latitude_deg":12.5477664,"altitude":19,"angle":166,"satellites":47,"speed":52,"hex_longitude":"2cae1b00","hex_latitude":"077aa320","is_valid_coordinates":true} 
[2026-09-24 18:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:05:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,227,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790253103000,"timestamp_ms":1790253103000,"timestamp_seconds":1790253103,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3667798"} 
[2026-09-24 18:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 18:05:19] 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-09-24 18:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28267,"227":206,"27":54016,"24":52,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16]} 
[2026-09-24 18:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 18:05:19] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-24 18:05:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:05:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28267,"unknown_227":206,"unknown_27":54016,"ignition":52,"odometer":null}} 
[2026-09-24 18:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":191359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891203,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:05:19] local.INFO: GPS data processed {"connection_id":191359,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:05:19] local.INFO: Acknowledgment sent {"connection_id":191359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:05:28] local.INFO: TCP Data received {"connection_id":191565,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:05:28] local.INFO: Processing buffer {"connection_id":191565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:05:28] local.INFO: IMEI packet received {"connection_id":191565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":191565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:05:33] local.INFO: TCP Data received {"connection_id":191565,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:05:33] local.INFO: Processing buffer {"connection_id":191565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:05:33] local.INFO: IMEI packet received {"connection_id":191565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":191565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:05:36] local.INFO: TCP Data received {"connection_id":191565,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:05:36] local.INFO: Processing buffer {"connection_id":191565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:05:36] local.INFO: Packet analysis {"connection_id":191565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:05:36] local.INFO: Extracted packet for processing {"connection_id":191565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:05:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304717824001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790253105000,"timestamp_ms":1790253105000,"timestamp_seconds":1790253105,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3667f68"} 
[2026-09-24 18:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 18:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304717824001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304717824001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:05:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:05:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304717824001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":191565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:05:36] local.INFO: GPS data processed {"connection_id":191565,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:05:36] local.INFO: Acknowledgment sent {"connection_id":191565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:05:44] local.INFO: TCP Data received {"connection_id":194223,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:05:44] local.INFO: Processing buffer {"connection_id":194223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:05:44] local.INFO: IMEI packet received {"connection_id":194223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":194223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:05:49] local.INFO: TCP Data received {"connection_id":194223,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:05:49] local.INFO: Processing buffer {"connection_id":194223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:05:49] local.INFO: IMEI packet received {"connection_id":194223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":194223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:05:50] local.INFO: TCP Data received {"connection_id":194223,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:05:50] local.INFO: Processing buffer {"connection_id":194223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:05:50] local.INFO: Packet analysis {"connection_id":194223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:05:50] local.INFO: Extracted packet for processing {"connection_id":194223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:05:50] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":43,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304765696001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790253292000,"timestamp_ms":1790253292000,"timestamp_seconds":1790253292,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36959e0"} 
[2026-09-24 18:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 18:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":194223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":194223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":194223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304765696001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304765696001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:05:51] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:05:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304765696001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":194223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:05:51] local.INFO: GPS data processed {"connection_id":194223,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:05:51] local.INFO: Acknowledgment sent {"connection_id":194223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:05:51] local.INFO: TCP Data received {"connection_id":191359,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d366c9a0012cae31c0077a4aa0000f00a232..."} 
[2026-09-24 18:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d366c9a0012cae31c0077a4aa0000f00a232..."} 
[2026-09-24 18:05:51] local.INFO: Processing buffer {"connection_id":191359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d366c9a0012cae31c0077a4aa0000f00a232..."} 
[2026-09-24 18:05:51] local.INFO: Packet analysis {"connection_id":191359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:05:51] local.INFO: Extracted packet for processing {"connection_id":191359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:05:51] local.INFO: GPS Element Parsed {"raw_longitude":749613504,"raw_latitude":125455008,"longitude_deg":74.9613504,"latitude_deg":12.5455008,"altitude":15,"angle":162,"satellites":50,"speed":0,"hex_longitude":"2cae31c0","hex_latitude":"077a4aa0","is_valid_coordinates":true} 
[2026-09-24 18:05: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-09-24 18:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304794368001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:05:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5901122854616621056,"note":"Value kept but may cause issues"} 
[2026-09-24 18:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790253124000,"timestamp_ms":1790253124000,"timestamp_seconds":1790253124,"priority":1,"record_length":96,"hex_timestamp":"000001a0d366c9a0"} 
[2026-09-24 18:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:05: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-09-24 18:05: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":107,"data_length":795,"current_offset":136} 
[2026-09-24 18:05:51] 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-09-24 18:05: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-09-24 18:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304794368001,"66":28343,"227":206,"27":54016,"24":0,"16":3605341577150464,"44":-5901122854616621056},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-09-24 18:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304794368001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:05:51] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-24 18:05:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:05:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5901122854616621056,"description":"Unknown IO ID 44"} 
[2026-09-24 18:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304794368001,"power":28343,"unknown_227":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5901122854616621056}} 
[2026-09-24 18:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":191359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891206,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:05:51] local.INFO: GPS data processed {"connection_id":191359,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:05:51] local.INFO: Acknowledgment sent {"connection_id":191359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:06:06] local.INFO: TCP Data received {"connection_id":194224,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:06:06] local.INFO: Processing buffer {"connection_id":194224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:06:06] local.INFO: IMEI packet received {"connection_id":194224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":194224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:06:06] local.INFO: TCP Data received {"connection_id":194224,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:06:06] local.INFO: Processing buffer {"connection_id":194224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:06:06] local.INFO: IMEI packet received {"connection_id":194224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":194224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:06:07] local.INFO: TCP Data received {"connection_id":191565,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:06:07] local.INFO: Processing buffer {"connection_id":191565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:06:07] local.INFO: Packet analysis {"connection_id":191565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:06:07] local.INFO: Extracted packet for processing {"connection_id":191565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:06:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 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-09-24 18:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304717824001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790253105000,"timestamp_ms":1790253105000,"timestamp_seconds":1790253105,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3667f68"} 
[2026-09-24 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-09-24 18:06: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-09-24 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 18:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 18:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304717824001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304717824001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:06:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:06:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304717824001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":191565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:06:07] local.INFO: GPS data processed {"connection_id":191565,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:06:07] local.INFO: Acknowledgment sent {"connection_id":191565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:06:11] local.INFO: TCP Data received {"connection_id":194224,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:06:11] local.INFO: Processing buffer {"connection_id":194224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:06:11] local.INFO: IMEI packet received {"connection_id":194224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":194224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:06:13] local.INFO: TCP Data received {"connection_id":194224,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3697920012cafefc00776c8f8000a008930..."} 
[2026-09-24 18:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3697920012cafefc00776c8f8000a008930..."} 
[2026-09-24 18:06:13] local.INFO: Processing buffer {"connection_id":194224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3697920012cafefc00776c8f8000a008930..."} 
[2026-09-24 18:06:13] local.INFO: Packet analysis {"connection_id":194224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:06:13] local.INFO: Extracted packet for processing {"connection_id":194224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:06:13] local.INFO: GPS Element Parsed {"raw_longitude":749727680,"raw_latitude":125225208,"longitude_deg":74.972768,"latitude_deg":12.5225208,"altitude":10,"angle":137,"satellites":48,"speed":0,"hex_longitude":"2cafefc0","hex_latitude":"0776c8f8","is_valid_coordinates":true} 
[2026-09-24 18:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304839424001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:06:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5785155164271732736,"note":"Value kept but may cause issues"} 
[2026-09-24 18:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790253300000,"timestamp_ms":1790253300000,"timestamp_seconds":1790253300,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3697920"} 
[2026-09-24 18:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-24 18:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":194224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":194224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":194224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304839424001,"66":28332,"252":206,"27":54016,"24":0,"16":3605341577150464,"44":-5785155164271732736},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,27,24,16,44]} 
[2026-09-24 18:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304839424001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:06:13] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-09-24 18:06:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:06:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5785155164271732736,"description":"Unknown IO ID 44"} 
[2026-09-24 18:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304839424001,"power":28332,"unknown_252":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5785155164271732736}} 
[2026-09-24 18:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":194224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891208,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:06:13] local.INFO: GPS data processed {"connection_id":194224,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:06:13] local.INFO: Acknowledgment sent {"connection_id":194224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:06:22] local.INFO: TCP Data received {"connection_id":194223,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:06:22] local.INFO: Processing buffer {"connection_id":194223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:06:22] local.INFO: Packet analysis {"connection_id":194223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:06:22] local.INFO: Extracted packet for processing {"connection_id":194223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:06:22] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":43,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304765696001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790253292000,"timestamp_ms":1790253292000,"timestamp_seconds":1790253292,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36959e0"} 
[2026-09-24 18:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 18:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304765696001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304765696001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:06:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:06:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304765696001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":194223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:06:22] local.INFO: GPS data processed {"connection_id":194223,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:06:22] local.INFO: Acknowledgment sent {"connection_id":194223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:06:28] local.INFO: TCP Data received {"connection_id":191566,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:06:28] local.INFO: Processing buffer {"connection_id":191566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:06:28] local.INFO: IMEI packet received {"connection_id":191566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":191566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:06:33] local.INFO: TCP Data received {"connection_id":191566,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:06:33] local.INFO: Processing buffer {"connection_id":191566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:06:33] local.INFO: IMEI packet received {"connection_id":191566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":191566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:06:34] local.INFO: TCP Data received {"connection_id":191566,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:06:34] local.INFO: Processing buffer {"connection_id":191566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:06:34] local.INFO: Packet analysis {"connection_id":191566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:06:34] local.INFO: Extracted packet for processing {"connection_id":191566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:06:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304717824001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790253105000,"timestamp_ms":1790253105000,"timestamp_seconds":1790253105,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3667f68"} 
[2026-09-24 18:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 18:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304717824001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304717824001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:06:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:06:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304717824001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":191566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:06:34] local.INFO: GPS data processed {"connection_id":191566,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:06:34] local.INFO: Acknowledgment sent {"connection_id":191566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:06:44] local.INFO: TCP Data received {"connection_id":191567,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:06:44] local.INFO: Processing buffer {"connection_id":191567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:06:44] local.INFO: IMEI packet received {"connection_id":191567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":191567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:06:44] local.INFO: TCP Data received {"connection_id":194224,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36a5f980100000000000000000000000000..."} 
[2026-09-24 18:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36a5f980100000000000000000000000000..."} 
[2026-09-24 18:06:44] local.INFO: Processing buffer {"connection_id":194224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36a5f980100000000000000000000000000..."} 
[2026-09-24 18:06:44] local.INFO: Packet analysis {"connection_id":194224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36a"} 
[2026-09-24 18:06:44] local.INFO: Extracted packet for processing {"connection_id":194224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36a"} 
[2026-09-24 18:06:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 18:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304844800001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:06:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5769181459348129792,"note":"Value kept but may cause issues"} 
[2026-09-24 18:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790253359000,"timestamp_ms":1790253359000,"timestamp_seconds":1790253359,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36a5f98"} 
[2026-09-24 18:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 18:06:44] 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-09-24 18:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":194224,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 18:06:44] local.INFO: GPS data processed {"connection_id":194224,"processed":0,"errors":0,"total":1} 
[2026-09-24 18:06:44] local.INFO: Acknowledgment sent {"connection_id":194224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:06:50] local.INFO: TCP Data received {"connection_id":191567,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:06:50] local.INFO: Processing buffer {"connection_id":191567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:06:50] local.INFO: IMEI packet received {"connection_id":191567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":191567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:06:50] local.INFO: TCP Data received {"connection_id":191567,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:06:50] local.INFO: Processing buffer {"connection_id":191567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:06:50] local.INFO: Packet analysis {"connection_id":191567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:06:50] local.INFO: Extracted packet for processing {"connection_id":191567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:06:50] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":43,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304765696001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790253292000,"timestamp_ms":1790253292000,"timestamp_seconds":1790253292,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36959e0"} 
[2026-09-24 18:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 18:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304765696001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304765696001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:06:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:06:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304765696001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":191567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:06:51] local.INFO: GPS data processed {"connection_id":191567,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:06:51] local.INFO: Acknowledgment sent {"connection_id":191567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:07:06] local.INFO: TCP Data received {"connection_id":191566,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:07:06] local.INFO: Processing buffer {"connection_id":191566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3667f68012d34c14006aa4940000900f52c..."} 
[2026-09-24 18:07:06] local.INFO: Packet analysis {"connection_id":191566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:07:06] local.INFO: Extracted packet for processing {"connection_id":191566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d366"} 
[2026-09-24 18:07:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304717824001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790253105000,"timestamp_ms":1790253105000,"timestamp_seconds":1790253105,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3667f68"} 
[2026-09-24 18:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:07: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-09-24 18:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 18:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304717824001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304717824001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:07:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:07:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304717824001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":191566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:07:06] local.INFO: GPS data processed {"connection_id":191566,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:07:06] local.INFO: Acknowledgment sent {"connection_id":191566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:07:08] local.INFO: TCP Data received {"connection_id":191360,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:07:08] local.INFO: Processing buffer {"connection_id":191360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:07:08] local.INFO: IMEI packet received {"connection_id":191360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":191360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:07:14] local.INFO: TCP Data received {"connection_id":191360,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:07:14] local.INFO: Processing buffer {"connection_id":191360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:07:14] local.INFO: IMEI packet received {"connection_id":191360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":191360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:07:16] local.INFO: TCP Data received {"connection_id":191360,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d369e298012cb05b4007763748000c009631..."} 
[2026-09-24 18:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d369e298012cb05b4007763748000c009631..."} 
[2026-09-24 18:07:16] local.INFO: Processing buffer {"connection_id":191360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d369e298012cb05b4007763748000c009631..."} 
[2026-09-24 18:07:16] local.INFO: Packet analysis {"connection_id":191360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:07:16] local.INFO: Extracted packet for processing {"connection_id":191360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:07:16] local.INFO: GPS Element Parsed {"raw_longitude":749755200,"raw_latitude":125187912,"longitude_deg":74.97552,"latitude_deg":12.5187912,"altitude":12,"angle":150,"satellites":49,"speed":57,"hex_longitude":"2cb05b40","hex_latitude":"07763748","is_valid_coordinates":true} 
[2026-09-24 18:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:07:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,252,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790253327000,"timestamp_ms":1790253327000,"timestamp_seconds":1790253327,"priority":1,"record_length":96,"hex_timestamp":"000001a0d369e298"} 
[2026-09-24 18:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 18:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"252":206,"27":54016,"24":57,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,27,24,16]} 
[2026-09-24 18:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 18:07:16] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-09-24 18:07:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:07:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_252":206,"unknown_27":54016,"ignition":57,"odometer":null}} 
[2026-09-24 18:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":191360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891213,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:07:16] local.INFO: GPS data processed {"connection_id":191360,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:07:16] local.INFO: Acknowledgment sent {"connection_id":191360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:07:18] local.INFO: TCP Data received {"connection_id":191360,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36a2118012cb09a000775f420000d007c31..."} 
[2026-09-24 18:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36a2118012cb09a000775f420000d007c31..."} 
[2026-09-24 18:07:18] local.INFO: Processing buffer {"connection_id":191360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36a2118012cb09a000775f420000d007c31..."} 
[2026-09-24 18:07:18] local.INFO: Packet analysis {"connection_id":191360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36a"} 
[2026-09-24 18:07:18] local.INFO: Extracted packet for processing {"connection_id":191360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36a"} 
[2026-09-24 18:07:18] local.INFO: GPS Element Parsed {"raw_longitude":749771264,"raw_latitude":125170720,"longitude_deg":74.9771264,"latitude_deg":12.517072,"altitude":13,"angle":124,"satellites":49,"speed":57,"hex_longitude":"2cb09a00","hex_latitude":"0775f420","is_valid_coordinates":true} 
[2026-09-24 18:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304851712001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:07:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5738922899361282048,"note":"Value kept but may cause issues"} 
[2026-09-24 18:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790253343000,"timestamp_ms":1790253343000,"timestamp_seconds":1790253343,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36a2118"} 
[2026-09-24 18:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 18:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304851712001,"66":28354,"8":206,"27":54016,"24":57,"16":3605341577150464,"44":-5738922899361282048},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,27,24,16,44]} 
[2026-09-24 18:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304851712001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:07:18] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-24 18:07:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:07:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5738922899361282048,"description":"Unknown IO ID 44"} 
[2026-09-24 18:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304851712001,"power":28354,"unknown_8":206,"unknown_27":54016,"ignition":57,"odometer":null,"unknown_44":-5738922899361282048}} 
[2026-09-24 18:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":191360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891214,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:07:18] local.INFO: GPS data processed {"connection_id":191360,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:07:18] local.INFO: Acknowledgment sent {"connection_id":191360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:07:22] local.INFO: TCP Data received {"connection_id":191567,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:07:22] local.INFO: Processing buffer {"connection_id":191567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:07:22] local.INFO: Packet analysis {"connection_id":191567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:07:22] local.INFO: Extracted packet for processing {"connection_id":191567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:07:22] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":43,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304765696001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790253292000,"timestamp_ms":1790253292000,"timestamp_seconds":1790253292,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36959e0"} 
[2026-09-24 18:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 18:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304765696001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304765696001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:07:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:07:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304765696001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":191567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:07:22] local.INFO: GPS data processed {"connection_id":191567,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:07:22] local.INFO: Acknowledgment sent {"connection_id":191567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:07:28] local.INFO: TCP Data received {"connection_id":191361,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:07:28] local.INFO: Processing buffer {"connection_id":191361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:07:28] local.INFO: IMEI packet received {"connection_id":191361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":191361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:07:33] local.INFO: TCP Data received {"connection_id":191361,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:07:33] local.INFO: Processing buffer {"connection_id":191361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:07:33] local.INFO: IMEI packet received {"connection_id":191361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":191361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:07:35] local.INFO: TCP Data received {"connection_id":191361,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:07:35] local.INFO: Processing buffer {"connection_id":191361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:07:35] local.INFO: Packet analysis {"connection_id":191361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:07:35] local.INFO: Extracted packet for processing {"connection_id":191361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304794880001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790253406000,"timestamp_ms":1790253406000,"timestamp_seconds":1790253406,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36b1730"} 
[2026-09-24 18:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:07: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-09-24 18:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 18:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304794880001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304794880001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:07:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:07:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304794880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":191361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:07:35] local.INFO: GPS data processed {"connection_id":191361,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:07:35] local.INFO: Acknowledgment sent {"connection_id":191361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:07:50] local.INFO: TCP Data received {"connection_id":191360,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36a7320012cb0e7000775c3b8001000762e..."} 
[2026-09-24 18:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36a7320012cb0e7000775c3b8001000762e..."} 
[2026-09-24 18:07:50] local.INFO: Processing buffer {"connection_id":191360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36a7320012cb0e7000775c3b8001000762e..."} 
[2026-09-24 18:07:50] local.INFO: Packet analysis {"connection_id":191360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36a"} 
[2026-09-24 18:07:50] local.INFO: Extracted packet for processing {"connection_id":191360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36a"} 
[2026-09-24 18:07:50] local.INFO: GPS Element Parsed {"raw_longitude":749790976,"raw_latitude":125158328,"longitude_deg":74.9790976,"latitude_deg":12.5158328,"altitude":16,"angle":118,"satellites":46,"speed":0,"hex_longitude":"2cb0e700","hex_latitude":"0775c3b8","is_valid_coordinates":true} 
[2026-09-24 18:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304855808001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:07:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5721260344577089536,"note":"Value kept but may cause issues"} 
[2026-09-24 18:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790253364000,"timestamp_ms":1790253364000,"timestamp_seconds":1790253364,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36a7320"} 
[2026-09-24 18:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:07: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-09-24 18:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304855808001,"66":28126,"8":206,"27":54016,"24":0,"16":3605341577150464,"44":-5721260344577089536},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,27,24,16,44]} 
[2026-09-24 18:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304855808001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:07:50] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-24 18:07:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:07:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5721260344577089536,"description":"Unknown IO ID 44"} 
[2026-09-24 18:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304855808001,"power":28126,"unknown_8":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5721260344577089536}} 
[2026-09-24 18:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":191360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891217,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:07:50] local.INFO: GPS data processed {"connection_id":191360,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:07:50] local.INFO: Acknowledgment sent {"connection_id":191360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:07:50] local.INFO: TCP Data received {"connection_id":192949,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:07:50] local.INFO: Processing buffer {"connection_id":192949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:07:50] local.INFO: IMEI packet received {"connection_id":192949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":192949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:07:55] local.INFO: TCP Data received {"connection_id":192949,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:07:55] local.INFO: Processing buffer {"connection_id":192949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:07:55] local.INFO: IMEI packet received {"connection_id":192949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":192949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:07:59] local.INFO: TCP Data received {"connection_id":192949,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:07:59] local.INFO: Processing buffer {"connection_id":192949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:07:59] local.INFO: Packet analysis {"connection_id":192949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:07:59] local.INFO: Extracted packet for processing {"connection_id":192949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:07:59] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":43,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 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-09-24 18:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304765696001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790253292000,"timestamp_ms":1790253292000,"timestamp_seconds":1790253292,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36959e0"} 
[2026-09-24 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-09-24 18:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 18:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 18:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304765696001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304765696001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:07:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:07:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304765696001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":192949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:07:59] local.INFO: GPS data processed {"connection_id":192949,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:07:59] local.INFO: Acknowledgment sent {"connection_id":192949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:08:01] local.INFO: TCP Data received {"connection_id":192949,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:08:01] local.INFO: Processing buffer {"connection_id":192949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:08:01] local.INFO: Packet analysis {"connection_id":192949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:08:01] local.INFO: Extracted packet for processing {"connection_id":192949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:08:01] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":43,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304765696001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790253292000,"timestamp_ms":1790253292000,"timestamp_seconds":1790253292,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36959e0"} 
[2026-09-24 18:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 18:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304765696001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304765696001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:08:01] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:08:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304765696001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":192949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:08:01] local.INFO: GPS data processed {"connection_id":192949,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:08:01] local.INFO: Acknowledgment sent {"connection_id":192949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:08:06] local.INFO: TCP Data received {"connection_id":194225,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:08:06] local.INFO: Processing buffer {"connection_id":194225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:08:06] local.INFO: IMEI packet received {"connection_id":194225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":194225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:08:07] local.INFO: TCP Data received {"connection_id":191361,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:08:07] local.INFO: Processing buffer {"connection_id":191361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:08:07] local.INFO: Packet analysis {"connection_id":191361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:08:07] local.INFO: Extracted packet for processing {"connection_id":191361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:08:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304794880001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790253406000,"timestamp_ms":1790253406000,"timestamp_seconds":1790253406,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36b1730"} 
[2026-09-24 18:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:08: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-09-24 18:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 18:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304794880001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304794880001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:08:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:08:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304794880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":191361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:08:07] local.INFO: GPS data processed {"connection_id":191361,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:08:07] local.INFO: Acknowledgment sent {"connection_id":191361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:08:11] local.INFO: TCP Data received {"connection_id":194225,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:08:11] local.INFO: Processing buffer {"connection_id":194225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:08:11] local.INFO: IMEI packet received {"connection_id":194225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":194225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:08:12] local.INFO: TCP Data received {"connection_id":194225,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36a9e18012cb13780077595780012008431..."} 
[2026-09-24 18:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36a9e18012cb13780077595780012008431..."} 
[2026-09-24 18:08:12] local.INFO: Processing buffer {"connection_id":194225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36a9e18012cb13780077595780012008431..."} 
[2026-09-24 18:08:12] local.INFO: Packet analysis {"connection_id":194225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36a"} 
[2026-09-24 18:08:12] local.INFO: Extracted packet for processing {"connection_id":194225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36a"} 
[2026-09-24 18:08:12] local.INFO: GPS Element Parsed {"raw_longitude":749811584,"raw_latitude":125146488,"longitude_deg":74.9811584,"latitude_deg":12.5146488,"altitude":18,"angle":132,"satellites":49,"speed":57,"hex_longitude":"2cb13780","hex_latitude":"07759578","is_valid_coordinates":true} 
[2026-09-24 18:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304861184001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5699586771373541376,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790253375000,"timestamp_ms":1790253375000,"timestamp_seconds":1790253375,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36a9e18"} 
[2026-09-24 18:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-24 18:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304861184001,"66":28300,"8":206,"27":54016,"24":57,"16":3605341577150464,"44":-5699586771373541376},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,27,24,16,44]} 
[2026-09-24 18:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304861184001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:08:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-24 18:08:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:08:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5699586771373541376,"description":"Unknown IO ID 44"} 
[2026-09-24 18:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304861184001,"power":28300,"unknown_8":206,"unknown_27":54016,"ignition":57,"odometer":null,"unknown_44":-5699586771373541376}} 
[2026-09-24 18:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":194225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891221,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:08:12] local.INFO: GPS data processed {"connection_id":194225,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:08:12] local.INFO: Acknowledgment sent {"connection_id":194225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:08:33] local.INFO: TCP Data received {"connection_id":191362,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:08:33] local.INFO: Processing buffer {"connection_id":191362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:08:33] local.INFO: IMEI packet received {"connection_id":191362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":191362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:08:38] local.INFO: TCP Data received {"connection_id":191362,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:08:38] local.INFO: Processing buffer {"connection_id":191362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:08:38] local.INFO: IMEI packet received {"connection_id":191362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":191362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:08:39] local.INFO: TCP Data received {"connection_id":191362,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:08:39] local.INFO: Processing buffer {"connection_id":191362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:08:39] local.INFO: Packet analysis {"connection_id":191362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:08:39] local.INFO: Extracted packet for processing {"connection_id":191362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:08:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304794880001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790253406000,"timestamp_ms":1790253406000,"timestamp_seconds":1790253406,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36b1730"} 
[2026-09-24 18:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 18:08:39] 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-09-24 18:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304794880001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304794880001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:08:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:08:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304794880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":191362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:08:39] local.INFO: GPS data processed {"connection_id":191362,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:08:39] local.INFO: Acknowledgment sent {"connection_id":191362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:08:43] local.INFO: TCP Data received {"connection_id":191362,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:08:43] local.INFO: Processing buffer {"connection_id":191362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:08:43] local.INFO: Packet analysis {"connection_id":191362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:08:43] local.INFO: Extracted packet for processing {"connection_id":191362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:08:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304794880001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790253406000,"timestamp_ms":1790253406000,"timestamp_seconds":1790253406,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36b1730"} 
[2026-09-24 18:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 18:08:43] 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-09-24 18:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304794880001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304794880001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:08:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:08:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304794880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":191362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:08:43] local.INFO: GPS data processed {"connection_id":191362,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:08:43] local.INFO: Acknowledgment sent {"connection_id":191362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:08:44] local.INFO: TCP Data received {"connection_id":192950,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:08:44] local.INFO: Processing buffer {"connection_id":192950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:08:44] local.INFO: IMEI packet received {"connection_id":192950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":192950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:08:44] local.INFO: TCP Data received {"connection_id":194225,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36adc98012cb16b0007754a18001200912e..."} 
[2026-09-24 18:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36adc98012cb16b0007754a18001200912e..."} 
[2026-09-24 18:08:44] local.INFO: Processing buffer {"connection_id":194225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36adc98012cb16b0007754a18001200912e..."} 
[2026-09-24 18:08:44] local.INFO: Packet analysis {"connection_id":194225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36a"} 
[2026-09-24 18:08:44] local.INFO: Extracted packet for processing {"connection_id":194225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36a"} 
[2026-09-24 18:08:44] local.INFO: GPS Element Parsed {"raw_longitude":749824768,"raw_latitude":125127192,"longitude_deg":74.9824768,"latitude_deg":12.5127192,"altitude":18,"angle":145,"satellites":46,"speed":59,"hex_longitude":"2cb16b00","hex_latitude":"07754a18","is_valid_coordinates":true} 
[2026-09-24 18:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304864000001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5676928035751364608,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790253391000,"timestamp_ms":1790253391000,"timestamp_seconds":1790253391,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36adc98"} 
[2026-09-24 18:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 18:08:44] 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-09-24 18:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304864000001,"66":27832,"8":206,"27":54016,"24":59,"16":3605341577150464,"44":-5676928035751364608},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,27,24,16,44]} 
[2026-09-24 18:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304864000001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:08:44] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-24 18:08:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:08:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5676928035751364608,"description":"Unknown IO ID 44"} 
[2026-09-24 18:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304864000001,"power":27832,"unknown_8":206,"unknown_27":54016,"ignition":59,"odometer":null,"unknown_44":-5676928035751364608}} 
[2026-09-24 18:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":194225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891224,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:08:44] local.INFO: GPS data processed {"connection_id":194225,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:08:44] local.INFO: Acknowledgment sent {"connection_id":194225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:08:49] local.INFO: TCP Data received {"connection_id":192950,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:08:49] local.INFO: Processing buffer {"connection_id":192950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:08:49] local.INFO: IMEI packet received {"connection_id":192950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":192950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:08:50] local.INFO: TCP Data received {"connection_id":192950,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:08:50] local.INFO: Processing buffer {"connection_id":192950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:08:50] local.INFO: Packet analysis {"connection_id":192950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:08:50] local.INFO: Extracted packet for processing {"connection_id":192950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:08:50] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":43,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:08: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-09-24 18:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304765696001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790253292000,"timestamp_ms":1790253292000,"timestamp_seconds":1790253292,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36959e0"} 
[2026-09-24 18:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 18:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:08: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-09-24 18:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304765696001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304765696001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:08:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:08:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304765696001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":192950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:08:50] local.INFO: GPS data processed {"connection_id":192950,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:08:50] local.INFO: Acknowledgment sent {"connection_id":192950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:08:55] local.INFO: TCP Data received {"connection_id":192950,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:08:55] local.INFO: Processing buffer {"connection_id":192950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:08:55] local.INFO: Packet analysis {"connection_id":192950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:08:55] local.INFO: Extracted packet for processing {"connection_id":192950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:08:55] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":43,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304765696001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790253292000,"timestamp_ms":1790253292000,"timestamp_seconds":1790253292,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36959e0"} 
[2026-09-24 18:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 18:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304765696001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304765696001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:08:55] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:08:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304765696001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":192950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:08:55] local.INFO: GPS data processed {"connection_id":192950,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:08:55] local.INFO: Acknowledgment sent {"connection_id":192950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:09:06] local.INFO: TCP Data received {"connection_id":194226,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:09:06] local.INFO: Processing buffer {"connection_id":194226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:09:06] local.INFO: IMEI packet received {"connection_id":194226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":194226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:09:10] local.INFO: TCP Data received {"connection_id":194226,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:09:10] local.INFO: Processing buffer {"connection_id":194226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:09:10] local.INFO: IMEI packet received {"connection_id":194226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":194226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:09:11] local.INFO: TCP Data received {"connection_id":194226,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:09:11] local.INFO: Processing buffer {"connection_id":194226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:09:11] local.INFO: IMEI packet received {"connection_id":194226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":194226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:09:12] local.INFO: TCP Data received {"connection_id":194226,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36b2ea0012cb1a9c0077506d8000f008630..."} 
[2026-09-24 18:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36b2ea0012cb1a9c0077506d8000f008630..."} 
[2026-09-24 18:09:12] local.INFO: Processing buffer {"connection_id":194226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36b2ea0012cb1a9c0077506d8000f008630..."} 
[2026-09-24 18:09:12] local.INFO: Packet analysis {"connection_id":194226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:09:12] local.INFO: Extracted packet for processing {"connection_id":194226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:09:12] local.INFO: GPS Element Parsed {"raw_longitude":749840832,"raw_latitude":125109976,"longitude_deg":74.9840832,"latitude_deg":12.5109976,"altitude":15,"angle":134,"satellites":48,"speed":0,"hex_longitude":"2cb1a9c0","hex_latitude":"077506d8","is_valid_coordinates":true} 
[2026-09-24 18:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304868096001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:09:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5662432074455705600,"note":"Value kept but may cause issues"} 
[2026-09-24 18:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790253412000,"timestamp_ms":1790253412000,"timestamp_seconds":1790253412,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36b2ea0"} 
[2026-09-24 18:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-24 18:09:12] 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-09-24 18:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304868096001,"66":28332,"6":206,"27":54016,"24":0,"16":3605341577150464,"44":-5662432074455705600},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-09-24 18:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304868096001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:09:12] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-24 18:09:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:09:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5662432074455705600,"description":"Unknown IO ID 44"} 
[2026-09-24 18:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304868096001,"power":28332,"unknown_6":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5662432074455705600}} 
[2026-09-24 18:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":194226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891227,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:09:12] local.INFO: GPS data processed {"connection_id":194226,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:09:12] local.INFO: Acknowledgment sent {"connection_id":194226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:09:17] local.INFO: TCP Data received {"connection_id":194226,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36c15180100000000000000000000000000..."} 
[2026-09-24 18:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36c15180100000000000000000000000000..."} 
[2026-09-24 18:09:17] local.INFO: Processing buffer {"connection_id":194226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36c15180100000000000000000000000000..."} 
[2026-09-24 18:09:17] local.INFO: Packet analysis {"connection_id":194226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36c"} 
[2026-09-24 18:09:17] local.INFO: Extracted packet for processing {"connection_id":194226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36c"} 
[2026-09-24 18:09:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 18:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304873472001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:09:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5644769519671519232,"note":"Value kept but may cause issues"} 
[2026-09-24 18:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790253471000,"timestamp_ms":1790253471000,"timestamp_seconds":1790253471,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36c1518"} 
[2026-09-24 18:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 18:09:17] 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-09-24 18:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":194226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":194226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":194226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":194226,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 18:09:17] local.INFO: GPS data processed {"connection_id":194226,"processed":0,"errors":0,"total":1} 
[2026-09-24 18:09:17] local.INFO: Acknowledgment sent {"connection_id":194226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:09:27] local.INFO: TCP Data received {"connection_id":192950,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:09:27] local.INFO: Processing buffer {"connection_id":192950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:09:27] local.INFO: Packet analysis {"connection_id":192950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:09:27] local.INFO: Extracted packet for processing {"connection_id":192950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:09:27] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":43,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:09: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-09-24 18:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304765696001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790253292000,"timestamp_ms":1790253292000,"timestamp_seconds":1790253292,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36959e0"} 
[2026-09-24 18:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 18:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:09: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-09-24 18:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304765696001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304765696001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:09:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:09:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304765696001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":192950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:09:27] local.INFO: GPS data processed {"connection_id":192950,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:09:27] local.INFO: Acknowledgment sent {"connection_id":192950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:09:29] local.INFO: TCP Data received {"connection_id":191363,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:09:29] local.INFO: Processing buffer {"connection_id":191363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:09:29] local.INFO: IMEI packet received {"connection_id":191363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":191363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:09:33] local.INFO: TCP Data received {"connection_id":191363,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:09:33] local.INFO: Processing buffer {"connection_id":191363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:09:33] local.INFO: IMEI packet received {"connection_id":191363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":191363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:09:34] local.INFO: TCP Data received {"connection_id":191363,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:09:34] local.INFO: Processing buffer {"connection_id":191363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:09:34] local.INFO: Packet analysis {"connection_id":191363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:09:34] local.INFO: Extracted packet for processing {"connection_id":191363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:09:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304794880001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790253406000,"timestamp_ms":1790253406000,"timestamp_seconds":1790253406,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36b1730"} 
[2026-09-24 18:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 18:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304794880001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304794880001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:09:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:09:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304794880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":191363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:09:34] local.INFO: GPS data processed {"connection_id":191363,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:09:34] local.INFO: Acknowledgment sent {"connection_id":191363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:09:38] local.INFO: TCP Data received {"connection_id":191363,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:09:38] local.INFO: Processing buffer {"connection_id":191363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:09:38] local.INFO: Packet analysis {"connection_id":191363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:09:38] local.INFO: Extracted packet for processing {"connection_id":191363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304794880001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790253406000,"timestamp_ms":1790253406000,"timestamp_seconds":1790253406,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36b1730"} 
[2026-09-24 18:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 18:09:38] 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-09-24 18:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304794880001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304794880001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:09:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:09:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304794880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":191363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:09:38] local.INFO: GPS data processed {"connection_id":191363,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:09:38] local.INFO: Acknowledgment sent {"connection_id":191363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:09:44] local.INFO: TCP Data received {"connection_id":191568,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:09:44] local.INFO: Processing buffer {"connection_id":191568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:09:44] local.INFO: IMEI packet received {"connection_id":191568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":191568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:09:50] local.INFO: TCP Data received {"connection_id":191568,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:09:50] local.INFO: Processing buffer {"connection_id":191568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:09:50] local.INFO: IMEI packet received {"connection_id":191568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":191568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:09:51] local.INFO: TCP Data received {"connection_id":191568,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:09:51] local.INFO: Processing buffer {"connection_id":191568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:09:51] local.INFO: Packet analysis {"connection_id":191568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:09:51] local.INFO: Extracted packet for processing {"connection_id":191568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:09:51] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":43,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304765696001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790253292000,"timestamp_ms":1790253292000,"timestamp_seconds":1790253292,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36959e0"} 
[2026-09-24 18:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 18:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304765696001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304765696001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:09:51] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:09:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304765696001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":191568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:09:51] local.INFO: GPS data processed {"connection_id":191568,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:09:51] local.INFO: Acknowledgment sent {"connection_id":191568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:09:51] local.INFO: TCP Data received {"connection_id":194226,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36b9818012cb231400774a018001a00762f..."} 
[2026-09-24 18:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36b9818012cb231400774a018001a00762f..."} 
[2026-09-24 18:09:51] local.INFO: Processing buffer {"connection_id":194226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36b9818012cb231400774a018001a00762f..."} 
[2026-09-24 18:09:51] local.INFO: Packet analysis {"connection_id":194226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:09:51] local.INFO: Extracted packet for processing {"connection_id":194226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:09:51] local.INFO: GPS Element Parsed {"raw_longitude":749875520,"raw_latitude":125083672,"longitude_deg":74.987552,"latitude_deg":12.5083672,"altitude":26,"angle":118,"satellites":47,"speed":48,"hex_longitude":"2cb23140","hex_latitude":"0774a018","is_valid_coordinates":true} 
[2026-09-24 18:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:09:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,6,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790253439000,"timestamp_ms":1790253439000,"timestamp_seconds":1790253439,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36b9818"} 
[2026-09-24 18:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:09: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 18:09:51] 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-09-24 18:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28278,"6":206,"27":54016,"24":48,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16]} 
[2026-09-24 18:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 18:09:51] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-24 18:09:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:09:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28278,"unknown_6":206,"unknown_27":54016,"ignition":48,"odometer":null}} 
[2026-09-24 18:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":194226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891232,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:09:51] local.INFO: GPS data processed {"connection_id":194226,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:09:51] local.INFO: Acknowledgment sent {"connection_id":194226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:10:06] local.INFO: TCP Data received {"connection_id":191569,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:10:06] local.INFO: Processing buffer {"connection_id":191569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:10:06] local.INFO: IMEI packet received {"connection_id":191569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":191569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:10:09] local.INFO: TCP Data received {"connection_id":191363,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:10:09] local.INFO: Processing buffer {"connection_id":191363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:10:09] local.INFO: Packet analysis {"connection_id":191363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:10:09] local.INFO: Extracted packet for processing {"connection_id":191363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304794880001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790253406000,"timestamp_ms":1790253406000,"timestamp_seconds":1790253406,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36b1730"} 
[2026-09-24 18:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:10: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-09-24 18:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 18:10:09] 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-09-24 18:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304794880001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304794880001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:10:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304794880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":191363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:10:10] local.INFO: GPS data processed {"connection_id":191363,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:10:10] local.INFO: Acknowledgment sent {"connection_id":191363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:10:11] local.INFO: TCP Data received {"connection_id":191569,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:10:11] local.INFO: Processing buffer {"connection_id":191569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:10:11] local.INFO: IMEI packet received {"connection_id":191569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":191569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:10:14] local.INFO: TCP Data received {"connection_id":191569,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36bea20012cb27b0007747898001d007330..."} 
[2026-09-24 18:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36bea20012cb27b0007747898001d007330..."} 
[2026-09-24 18:10:14] local.INFO: Processing buffer {"connection_id":191569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36bea20012cb27b0007747898001d007330..."} 
[2026-09-24 18:10:14] local.INFO: Packet analysis {"connection_id":191569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:10:14] local.INFO: Extracted packet for processing {"connection_id":191569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:10:14] local.INFO: GPS Element Parsed {"raw_longitude":749894400,"raw_latitude":125073560,"longitude_deg":74.98944,"latitude_deg":12.507356,"altitude":29,"angle":115,"satellites":48,"speed":0,"hex_longitude":"2cb27b00","hex_latitude":"07747898","is_valid_coordinates":true} 
[2026-09-24 18:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304880384001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:10:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5606629660333959168,"note":"Value kept but may cause issues"} 
[2026-09-24 18:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790253460000,"timestamp_ms":1790253460000,"timestamp_seconds":1790253460,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36bea20"} 
[2026-09-24 18:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 18:10:14] 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-09-24 18:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304880384001,"66":28332,"102":206,"27":54016,"24":0,"16":3605341577150464,"44":-5606629660333959168},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,27,24,16,44]} 
[2026-09-24 18:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304880384001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:10:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 18:10:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:10:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5606629660333959168,"description":"Unknown IO ID 44"} 
[2026-09-24 18:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304880384001,"power":28332,"unknown_102":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5606629660333959168}} 
[2026-09-24 18:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":191569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891234,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:10:14] local.INFO: GPS data processed {"connection_id":191569,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:10:14] local.INFO: Acknowledgment sent {"connection_id":191569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:10:22] local.INFO: TCP Data received {"connection_id":191568,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:10:22] local.INFO: Processing buffer {"connection_id":191568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36959e0012d1d8b00071b2fe8004300a92b..."} 
[2026-09-24 18:10:22] local.INFO: Packet analysis {"connection_id":191568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:10:22] local.INFO: Extracted packet for processing {"connection_id":191568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d369"} 
[2026-09-24 18:10:22] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":43,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304765696001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790253292000,"timestamp_ms":1790253292000,"timestamp_seconds":1790253292,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36959e0"} 
[2026-09-24 18:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 18:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304765696001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304765696001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:10:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:10:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304765696001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":191568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:10:23] local.INFO: GPS data processed {"connection_id":191568,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:10:23] local.INFO: Acknowledgment sent {"connection_id":191568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:10:28] local.INFO: TCP Data received {"connection_id":191364,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:10:28] local.INFO: Processing buffer {"connection_id":191364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:10:28] local.INFO: IMEI packet received {"connection_id":191364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":191364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:10:33] local.INFO: TCP Data received {"connection_id":191364,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:10:33] local.INFO: Processing buffer {"connection_id":191364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:10:33] local.INFO: IMEI packet received {"connection_id":191364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":191364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:10:34] local.INFO: TCP Data received {"connection_id":191364,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:10:34] local.INFO: Processing buffer {"connection_id":191364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:10:34] local.INFO: Packet analysis {"connection_id":191364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:10:34] local.INFO: Extracted packet for processing {"connection_id":191364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:10:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304794880001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790253406000,"timestamp_ms":1790253406000,"timestamp_seconds":1790253406,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36b1730"} 
[2026-09-24 18:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 18:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304794880001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304794880001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:10:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:10:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304794880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":191364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:10:34] local.INFO: GPS data processed {"connection_id":191364,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:10:34] local.INFO: Acknowledgment sent {"connection_id":191364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:10:44] local.INFO: TCP Data received {"connection_id":192951,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:10:44] local.INFO: Processing buffer {"connection_id":192951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:10:44] local.INFO: IMEI packet received {"connection_id":192951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":192951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:10:49] local.INFO: TCP Data received {"connection_id":191569,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36c3c28012cb2c200077457700023007431..."} 
[2026-09-24 18:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36c3c28012cb2c200077457700023007431..."} 
[2026-09-24 18:10:49] local.INFO: Processing buffer {"connection_id":191569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36c3c28012cb2c200077457700023007431..."} 
[2026-09-24 18:10:49] local.INFO: Packet analysis {"connection_id":191569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36c"} 
[2026-09-24 18:10:49] local.INFO: Extracted packet for processing {"connection_id":191569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36c"} 
[2026-09-24 18:10:49] local.INFO: GPS Element Parsed {"raw_longitude":749912576,"raw_latitude":125065072,"longitude_deg":74.9912576,"latitude_deg":12.5065072,"altitude":35,"angle":116,"satellites":49,"speed":0,"hex_longitude":"2cb2c200","hex_latitude":"07745770","is_valid_coordinates":true} 
[2026-09-24 18:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304885760001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:10:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5585870880804136960,"note":"Value kept but may cause issues"} 
[2026-09-24 18:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790253481000,"timestamp_ms":1790253481000,"timestamp_seconds":1790253481,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36c3c28"} 
[2026-09-24 18:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 18:10:49] 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-09-24 18:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304885760001,"66":28267,"101":206,"27":54016,"24":0,"16":3605341577150464,"44":-5585870880804136960},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,27,24,16,44]} 
[2026-09-24 18:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304885760001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:10:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-24 18:10:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:10:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5585870880804136960,"description":"Unknown IO ID 44"} 
[2026-09-24 18:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304885760001,"power":28267,"unknown_101":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5585870880804136960}} 
[2026-09-24 18:10:49] local.INFO: TCP Data received {"connection_id":192951,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:10:49] local.INFO: Processing buffer {"connection_id":192951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:10:49] local.INFO: IMEI packet received {"connection_id":192951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":192951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":191569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891237,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:10:49] local.INFO: GPS data processed {"connection_id":191569,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:10:49] local.INFO: Acknowledgment sent {"connection_id":191569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:10:50] local.INFO: TCP Data received {"connection_id":192951,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:10:50] local.INFO: Processing buffer {"connection_id":192951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:10:50] local.INFO: Packet analysis {"connection_id":192951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:10:50] local.INFO: Extracted packet for processing {"connection_id":192951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:10:50] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304842752001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790253593000,"timestamp_ms":1790253593000,"timestamp_seconds":1790253593,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36df1a8"} 
[2026-09-24 18:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 18:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304842752001,"66":2166,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304842752001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:10:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:10:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304842752001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":192951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:10:51] local.INFO: GPS data processed {"connection_id":192951,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:10:51] local.INFO: Acknowledgment sent {"connection_id":192951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:11:05] local.INFO: TCP Data received {"connection_id":191364,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:11:05] local.INFO: Processing buffer {"connection_id":191364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:11:05] local.INFO: Packet analysis {"connection_id":191364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:11:05] local.INFO: Extracted packet for processing {"connection_id":191364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:11:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304794880001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790253406000,"timestamp_ms":1790253406000,"timestamp_seconds":1790253406,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36b1730"} 
[2026-09-24 18:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 18:11:05] 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-09-24 18: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-09-24 18:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304794880001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304794880001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:11:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:11:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304794880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":191364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:11:05] local.INFO: GPS data processed {"connection_id":191364,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:11:05] local.INFO: Acknowledgment sent {"connection_id":191364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:11:06] local.INFO: TCP Data received {"connection_id":191570,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:11:06] local.INFO: Processing buffer {"connection_id":191570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:11:06] local.INFO: IMEI packet received {"connection_id":191570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":191570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:11:07] local.INFO: TCP Data received {"connection_id":191570,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:11:07] local.INFO: Processing buffer {"connection_id":191570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:11:07] local.INFO: IMEI packet received {"connection_id":191570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":191570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:11:11] local.INFO: TCP Data received {"connection_id":191570,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:11:11] local.INFO: Processing buffer {"connection_id":191570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:11:11] local.INFO: IMEI packet received {"connection_id":191570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":191570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:11:12] local.INFO: TCP Data received {"connection_id":191570,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36c6720012cb30a0007744cb00029005032..."} 
[2026-09-24 18:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36c6720012cb30a0007744cb00029005032..."} 
[2026-09-24 18:11:12] local.INFO: Processing buffer {"connection_id":191570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36c6720012cb30a0007744cb00029005032..."} 
[2026-09-24 18:11:12] local.INFO: Packet analysis {"connection_id":191570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36c"} 
[2026-09-24 18:11:12] local.INFO: Extracted packet for processing {"connection_id":191570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36c"} 
[2026-09-24 18:11:12] local.INFO: GPS Element Parsed {"raw_longitude":749931008,"raw_latitude":125062320,"longitude_deg":74.9931008,"latitude_deg":12.506232,"altitude":41,"angle":80,"satellites":50,"speed":38,"hex_longitude":"2cb30a00","hex_latitude":"07744cb0","is_valid_coordinates":true} 
[2026-09-24 18:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304891136001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:11:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5565886157459853312,"note":"Value kept but may cause issues"} 
[2026-09-24 18:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790253492000,"timestamp_ms":1790253492000,"timestamp_seconds":1790253492,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36c6720"} 
[2026-09-24 18:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 18:11:12] 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-09-24 18:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304891136001,"66":28256,"101":206,"27":54016,"24":38,"16":3605341577150464,"44":-5565886157459853312},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,27,24,16,44]} 
[2026-09-24 18:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304891136001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:11:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-24 18:11:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:11:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5565886157459853312,"description":"Unknown IO ID 44"} 
[2026-09-24 18:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304891136001,"power":28256,"unknown_101":206,"unknown_27":54016,"ignition":38,"odometer":null,"unknown_44":-5565886157459853312}} 
[2026-09-24 18:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":191570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891240,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:11:12] local.INFO: GPS data processed {"connection_id":191570,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:11:12] local.INFO: Acknowledgment sent {"connection_id":191570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:11:22] local.INFO: TCP Data received {"connection_id":192951,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:11:22] local.INFO: Processing buffer {"connection_id":192951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:11:22] local.INFO: Packet analysis {"connection_id":192951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:11:22] local.INFO: Extracted packet for processing {"connection_id":192951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:11:22] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304842752001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790253593000,"timestamp_ms":1790253593000,"timestamp_seconds":1790253593,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36df1a8"} 
[2026-09-24 18:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 18:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304842752001,"66":2166,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304842752001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:11:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:11:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304842752001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":192951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:11:22] local.INFO: GPS data processed {"connection_id":192951,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:11:22] local.INFO: Acknowledgment sent {"connection_id":192951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:11:28] local.INFO: TCP Data received {"connection_id":194227,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:11:28] local.INFO: Processing buffer {"connection_id":194227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:11:28] local.INFO: IMEI packet received {"connection_id":194227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":194227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:11:33] local.INFO: TCP Data received {"connection_id":194227,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:11:33] local.INFO: Processing buffer {"connection_id":194227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:11:33] local.INFO: IMEI packet received {"connection_id":194227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":194227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:11:34] local.INFO: TCP Data received {"connection_id":194227,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:11:34] local.INFO: Processing buffer {"connection_id":194227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:11:34] local.INFO: Packet analysis {"connection_id":194227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:11:34] local.INFO: Extracted packet for processing {"connection_id":194227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:11:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304794880001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790253406000,"timestamp_ms":1790253406000,"timestamp_seconds":1790253406,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36b1730"} 
[2026-09-24 18:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 18:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304794880001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304794880001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:11:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:11:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304794880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":194227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:11:34] local.INFO: GPS data processed {"connection_id":194227,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:11:34] local.INFO: Acknowledgment sent {"connection_id":194227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:11:46] local.INFO: TCP Data received {"connection_id":191570,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36cb158012cb34ac007747170002e002832..."} 
[2026-09-24 18:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36cb158012cb34ac007747170002e002832..."} 
[2026-09-24 18:11:46] local.INFO: Processing buffer {"connection_id":191570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36cb158012cb34ac007747170002e002832..."} 
[2026-09-24 18:11:46] local.INFO: Packet analysis {"connection_id":191570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36c"} 
[2026-09-24 18:11:46] local.INFO: Extracted packet for processing {"connection_id":191570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36c"} 
[2026-09-24 18:11:46] local.INFO: GPS Element Parsed {"raw_longitude":749947584,"raw_latitude":125071728,"longitude_deg":74.9947584,"latitude_deg":12.5071728,"altitude":46,"angle":40,"satellites":50,"speed":43,"hex_longitude":"2cb34ac0","hex_latitude":"07747170","is_valid_coordinates":true} 
[2026-09-24 18:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304893952001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:11:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5545619959137390592,"note":"Value kept but may cause issues"} 
[2026-09-24 18:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790253511000,"timestamp_ms":1790253511000,"timestamp_seconds":1790253511,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36cb158"} 
[2026-09-24 18:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 18:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304893952001,"66":28256,"100":206,"27":54016,"24":43,"16":3605341577150464,"44":-5545619959137390592},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-09-24 18:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304893952001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:11:46] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-24 18:11:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:11:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5545619959137390592,"description":"Unknown IO ID 44"} 
[2026-09-24 18:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304893952001,"power":28256,"unknown_100":206,"unknown_27":54016,"ignition":43,"odometer":null,"unknown_44":-5545619959137390592}} 
[2026-09-24 18:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":191570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891243,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:11:46] local.INFO: GPS data processed {"connection_id":191570,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:11:46] local.INFO: Acknowledgment sent {"connection_id":191570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:11:50] local.INFO: TCP Data received {"connection_id":192952,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:11:50] local.INFO: Processing buffer {"connection_id":192952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:11:50] local.INFO: IMEI packet received {"connection_id":192952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":192952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:11:55] local.INFO: TCP Data received {"connection_id":192952,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:11:55] local.INFO: Processing buffer {"connection_id":192952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:11:55] local.INFO: IMEI packet received {"connection_id":192952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":192952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:11:55] local.INFO: TCP Data received {"connection_id":192952,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:11:55] local.INFO: Processing buffer {"connection_id":192952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:11:55] local.INFO: Packet analysis {"connection_id":192952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:11:55] local.INFO: Extracted packet for processing {"connection_id":192952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:11:55] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:11: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-09-24 18:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304842752001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790253593000,"timestamp_ms":1790253593000,"timestamp_seconds":1790253593,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36df1a8"} 
[2026-09-24 18:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 18:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:11: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-09-24 18:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304842752001,"66":2166,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304842752001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:11:55] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:11:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304842752001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":192952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:11:56] local.INFO: GPS data processed {"connection_id":192952,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:11:56] local.INFO: Acknowledgment sent {"connection_id":192952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:12:00] local.INFO: TCP Data received {"connection_id":192952,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:12:00] local.INFO: Processing buffer {"connection_id":192952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:12:00] local.INFO: Packet analysis {"connection_id":192952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:12:00] local.INFO: Extracted packet for processing {"connection_id":192952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:12:00] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304842752001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790253593000,"timestamp_ms":1790253593000,"timestamp_seconds":1790253593,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36df1a8"} 
[2026-09-24 18:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 18:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304842752001,"66":2166,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304842752001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:12:00] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:12:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304842752001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":192952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:12:00] local.INFO: GPS data processed {"connection_id":192952,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:12:00] local.INFO: Acknowledgment sent {"connection_id":192952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:12:06] local.INFO: TCP Data received {"connection_id":194227,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:12:06] local.INFO: Processing buffer {"connection_id":194227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36b1730012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:12:06] local.INFO: Packet analysis {"connection_id":194227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:12:06] local.INFO: Extracted packet for processing {"connection_id":194227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36b"} 
[2026-09-24 18:12:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304794880001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790253406000,"timestamp_ms":1790253406000,"timestamp_seconds":1790253406,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36b1730"} 
[2026-09-24 18:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:12: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-09-24 18:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-24 18:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304794880001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304794880001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:12:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:12:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304794880001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":194227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:12:06] local.INFO: GPS data processed {"connection_id":194227,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:12:06] local.INFO: Acknowledgment sent {"connection_id":194227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:12:11] local.INFO: TCP Data received {"connection_id":192953,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:12:11] local.INFO: Processing buffer {"connection_id":192953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:12:11] local.INFO: IMEI packet received {"connection_id":192953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":192953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:12:11] local.INFO: TCP Data received {"connection_id":192953,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:12:11] local.INFO: Processing buffer {"connection_id":192953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:12:11] local.INFO: IMEI packet received {"connection_id":192953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":192953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:12:17] local.INFO: TCP Data received {"connection_id":192953,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:12:17] local.INFO: Processing buffer {"connection_id":192953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:12:17] local.INFO: IMEI packet received {"connection_id":192953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":192953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:12:18] local.INFO: TCP Data received {"connection_id":192953,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36d0360012cb373000774bce0002a001f30..."} 
[2026-09-24 18:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36d0360012cb373000774bce0002a001f30..."} 
[2026-09-24 18:12:18] local.INFO: Processing buffer {"connection_id":192953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36d0360012cb373000774bce0002a001f30..."} 
[2026-09-24 18:12:18] local.INFO: Packet analysis {"connection_id":192953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:12:18] local.INFO: Extracted packet for processing {"connection_id":192953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:12:18] local.INFO: GPS Element Parsed {"raw_longitude":749957888,"raw_latitude":125091040,"longitude_deg":74.9957888,"latitude_deg":12.509104,"altitude":42,"angle":31,"satellites":48,"speed":0,"hex_longitude":"2cb37300","hex_latitude":"0774bce0","is_valid_coordinates":true} 
[2026-09-24 18:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304898816001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:12:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5527394454392967168,"note":"Value kept but may cause issues"} 
[2026-09-24 18:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790253532000,"timestamp_ms":1790253532000,"timestamp_seconds":1790253532,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36d0360"} 
[2026-09-24 18:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:12: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-09-24 18:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 18:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":192953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":192953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":192953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304898816001,"66":28300,"100":206,"27":54016,"24":0,"16":3605341577150464,"44":-5527394454392967168},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-09-24 18:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304898816001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:12:18] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-24 18:12:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:12:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5527394454392967168,"description":"Unknown IO ID 44"} 
[2026-09-24 18:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304898816001,"power":28300,"unknown_100":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5527394454392967168}} 
[2026-09-24 18:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":192953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891247,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:12:18] local.INFO: GPS data processed {"connection_id":192953,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:12:18] local.INFO: Acknowledgment sent {"connection_id":192953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:12:28] local.INFO: TCP Data received {"connection_id":192954,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:12:28] local.INFO: Processing buffer {"connection_id":192954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:12:28] local.INFO: IMEI packet received {"connection_id":192954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":192954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:12:33] local.INFO: TCP Data received {"connection_id":192954,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:12:33] local.INFO: Processing buffer {"connection_id":192954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:12:33] local.INFO: IMEI packet received {"connection_id":192954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":192954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:12:34] local.INFO: TCP Data received {"connection_id":192954,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:12:34] local.INFO: Processing buffer {"connection_id":192954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:12:34] local.INFO: Packet analysis {"connection_id":192954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36f"} 
[2026-09-24 18:12:34] local.INFO: Extracted packet for processing {"connection_id":192954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36f"} 
[2026-09-24 18:12:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304871936001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790253707000,"timestamp_ms":1790253707000,"timestamp_seconds":1790253707,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36faef8"} 
[2026-09-24 18:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304871936001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304871936001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:12:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:12:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304871936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":192954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:12:34] local.INFO: GPS data processed {"connection_id":192954,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:12:34] local.INFO: Acknowledgment sent {"connection_id":192954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:12:45] local.INFO: TCP Data received {"connection_id":192955,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:12:45] local.INFO: Processing buffer {"connection_id":192955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:12:45] local.INFO: IMEI packet received {"connection_id":192955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":192955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:12:49] local.INFO: TCP Data received {"connection_id":192955,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:12:49] local.INFO: Processing buffer {"connection_id":192955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:12:49] local.INFO: IMEI packet received {"connection_id":192955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":192955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:12:50] local.INFO: TCP Data received {"connection_id":192953,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36de9d80100000000000000000000000000..."} 
[2026-09-24 18:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36de9d80100000000000000000000000000..."} 
[2026-09-24 18:12:50] local.INFO: Processing buffer {"connection_id":192953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36de9d80100000000000000000000000000..."} 
[2026-09-24 18:12:50] local.INFO: Packet analysis {"connection_id":192953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:12:50] local.INFO: Extracted packet for processing {"connection_id":192953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:12:50] 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-09-24 18:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304904192001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:12:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5516065086575419392,"note":"Value kept but may cause issues"} 
[2026-09-24 18:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790253591000,"timestamp_ms":1790253591000,"timestamp_seconds":1790253591,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36de9d8"} 
[2026-09-24 18:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 18:12:50] 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-09-24 18:12:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":192953,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 18:12:50] local.INFO: GPS data processed {"connection_id":192953,"processed":0,"errors":0,"total":1} 
[2026-09-24 18:12:50] local.INFO: Acknowledgment sent {"connection_id":192953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:12:50] local.INFO: TCP Data received {"connection_id":192955,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:12:50] local.INFO: Processing buffer {"connection_id":192955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:12:50] local.INFO: Packet analysis {"connection_id":192955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:12:50] local.INFO: Extracted packet for processing {"connection_id":192955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:12:50] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304842752001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790253593000,"timestamp_ms":1790253593000,"timestamp_seconds":1790253593,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36df1a8"} 
[2026-09-24 18:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 18:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:12:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304842752001,"66":2166,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304842752001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:12:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:12:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304842752001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":192955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:12:50] local.INFO: GPS data processed {"connection_id":192955,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:12:50] local.INFO: Acknowledgment sent {"connection_id":192955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:13:05] local.INFO: TCP Data received {"connection_id":192954,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:13:05] local.INFO: Processing buffer {"connection_id":192954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:13:05] local.INFO: Packet analysis {"connection_id":192954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36f"} 
[2026-09-24 18:13:05] local.INFO: Extracted packet for processing {"connection_id":192954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36f"} 
[2026-09-24 18:13:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304871936001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790253707000,"timestamp_ms":1790253707000,"timestamp_seconds":1790253707,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36faef8"} 
[2026-09-24 18:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:13: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-09-24 18: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-09-24 18:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304871936001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304871936001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:13:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:13:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304871936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":192954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:13:05] local.INFO: GPS data processed {"connection_id":192954,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:13:05] local.INFO: Acknowledgment sent {"connection_id":192954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:13:06] local.INFO: TCP Data received {"connection_id":191571,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:13:06] local.INFO: Processing buffer {"connection_id":191571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:13:06] local.INFO: IMEI packet received {"connection_id":191571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":191571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:13:09] local.INFO: TCP Data received {"connection_id":191571,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:13:09] local.INFO: Processing buffer {"connection_id":191571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:13:09] local.INFO: IMEI packet received {"connection_id":191571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":191571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:13:11] local.INFO: TCP Data received {"connection_id":191571,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:13:11] local.INFO: Processing buffer {"connection_id":191571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:13:11] local.INFO: IMEI packet received {"connection_id":191571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":191571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:13:12] local.INFO: TCP Data received {"connection_id":191571,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36d74a8012cb3e74007754b680025002432..."} 
[2026-09-24 18:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36d74a8012cb3e74007754b680025002432..."} 
[2026-09-24 18:13:12] local.INFO: Processing buffer {"connection_id":191571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36d74a8012cb3e74007754b680025002432..."} 
[2026-09-24 18:13:12] local.INFO: Packet analysis {"connection_id":191571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:13:12] local.INFO: Extracted packet for processing {"connection_id":191571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:13:12] local.INFO: GPS Element Parsed {"raw_longitude":749987648,"raw_latitude":125127528,"longitude_deg":74.9987648,"latitude_deg":12.5127528,"altitude":37,"angle":36,"satellites":50,"speed":53,"hex_longitude":"2cb3e740","hex_latitude":"07754b68","is_valid_coordinates":true} 
[2026-09-24 18:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:13:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,5,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790253561000,"timestamp_ms":1790253561000,"timestamp_seconds":1790253561,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36d74a8"} 
[2026-09-24 18:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 18:13:12] 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-09-24 18:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28267,"5":206,"27":54016,"24":53,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,27,24,16]} 
[2026-09-24 18:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 18:13:12] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-24 18:13:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:13:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28267,"unknown_5":206,"unknown_27":54016,"ignition":53,"odometer":null}} 
[2026-09-24 18:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":191571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891251,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:13:13] local.INFO: GPS data processed {"connection_id":191571,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:13:13] local.INFO: Acknowledgment sent {"connection_id":191571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:13:16] local.INFO: TCP Data received {"connection_id":191571,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36db710012cb42dc0077578300029004f31..."} 
[2026-09-24 18:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36db710012cb42dc0077578300029004f31..."} 
[2026-09-24 18:13:16] local.INFO: Processing buffer {"connection_id":191571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36db710012cb42dc0077578300029004f31..."} 
[2026-09-24 18:13:16] local.INFO: Packet analysis {"connection_id":191571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:13:16] local.INFO: Extracted packet for processing {"connection_id":191571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:13:16] local.INFO: GPS Element Parsed {"raw_longitude":750005696,"raw_latitude":125138992,"longitude_deg":75.0005696,"latitude_deg":12.5138992,"altitude":41,"angle":79,"satellites":49,"speed":49,"hex_longitude":"2cb42dc0","hex_latitude":"07757830","is_valid_coordinates":true} 
[2026-09-24 18:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304911616001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:13:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5483343620523464704,"note":"Value kept but may cause issues"} 
[2026-09-24 18:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790253578000,"timestamp_ms":1790253578000,"timestamp_seconds":1790253578,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36db710"} 
[2026-09-24 18:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 18:13:16] 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-09-24 18:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304911616001,"66":27843,"5":206,"27":54016,"24":49,"16":3605341577150464,"44":-5483343620523464704},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,27,24,16,44]} 
[2026-09-24 18:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304911616001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:13:16] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-24 18:13:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:13:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5483343620523464704,"description":"Unknown IO ID 44"} 
[2026-09-24 18:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304911616001,"power":27843,"unknown_5":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-5483343620523464704}} 
[2026-09-24 18:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":191571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891252,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:13:17] local.INFO: GPS data processed {"connection_id":191571,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:13:17] local.INFO: Acknowledgment sent {"connection_id":191571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:13:22] local.INFO: TCP Data received {"connection_id":192955,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:13:22] local.INFO: Processing buffer {"connection_id":192955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:13:22] local.INFO: Packet analysis {"connection_id":192955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:13:22] local.INFO: Extracted packet for processing {"connection_id":192955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:13:22] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304842752001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790253593000,"timestamp_ms":1790253593000,"timestamp_seconds":1790253593,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36df1a8"} 
[2026-09-24 18:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 18:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304842752001,"66":2166,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304842752001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:13:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:13:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304842752001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":192955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:13:22] local.INFO: GPS data processed {"connection_id":192955,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:13:22] local.INFO: Acknowledgment sent {"connection_id":192955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:13:34] local.INFO: TCP Data received {"connection_id":191365,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:13:34] local.INFO: Processing buffer {"connection_id":191365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:13:34] local.INFO: IMEI packet received {"connection_id":191365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":191365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:13:38] local.INFO: TCP Data received {"connection_id":191365,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:13:38] local.INFO: Processing buffer {"connection_id":191365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:13:38] local.INFO: IMEI packet received {"connection_id":191365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":191365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:13:39] local.INFO: TCP Data received {"connection_id":191365,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:13:39] local.INFO: Processing buffer {"connection_id":191365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:13:39] local.INFO: Packet analysis {"connection_id":191365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36f"} 
[2026-09-24 18:13:39] local.INFO: Extracted packet for processing {"connection_id":191365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36f"} 
[2026-09-24 18:13:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304871936001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790253707000,"timestamp_ms":1790253707000,"timestamp_seconds":1790253707,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36faef8"} 
[2026-09-24 18:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304871936001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304871936001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:13:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:13:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304871936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":191365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:13:39] local.INFO: GPS data processed {"connection_id":191365,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:13:39] local.INFO: Acknowledgment sent {"connection_id":191365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:13:43] local.INFO: TCP Data received {"connection_id":191365,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:13:43] local.INFO: Processing buffer {"connection_id":191365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:13:43] local.INFO: Packet analysis {"connection_id":191365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36f"} 
[2026-09-24 18:13:43] local.INFO: Extracted packet for processing {"connection_id":191365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36f"} 
[2026-09-24 18:13:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304871936001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790253707000,"timestamp_ms":1790253707000,"timestamp_seconds":1790253707,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36faef8"} 
[2026-09-24 18:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304871936001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304871936001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:13:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:13:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304871936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":191365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:13:44] local.INFO: GPS data processed {"connection_id":191365,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:13:44] local.INFO: Acknowledgment sent {"connection_id":191365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:13:44] local.INFO: TCP Data received {"connection_id":191366,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:13:44] local.INFO: Processing buffer {"connection_id":191366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:13:44] local.INFO: IMEI packet received {"connection_id":191366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":191366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:13:49] local.INFO: TCP Data received {"connection_id":191571,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36df978012cb47d40077569d8002d007930..."} 
[2026-09-24 18:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36df978012cb47d40077569d8002d007930..."} 
[2026-09-24 18:13:49] local.INFO: Processing buffer {"connection_id":191571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36df978012cb47d40077569d8002d007930..."} 
[2026-09-24 18:13:49] local.INFO: Packet analysis {"connection_id":191571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:13:49] local.INFO: Extracted packet for processing {"connection_id":191571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:13:49] local.INFO: GPS Element Parsed {"raw_longitude":750026048,"raw_latitude":125135320,"longitude_deg":75.0026048,"latitude_deg":12.513532,"altitude":45,"angle":121,"satellites":48,"speed":48,"hex_longitude":"2cb47d40","hex_latitude":"077569d8","is_valid_coordinates":true} 
[2026-09-24 18:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304915968001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:13:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5463499634662428672,"note":"Value kept but may cause issues"} 
[2026-09-24 18:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790253595000,"timestamp_ms":1790253595000,"timestamp_seconds":1790253595,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36df978"} 
[2026-09-24 18:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-24 18:13:49] 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-09-24 18:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304915968001,"66":28137,"41":206,"27":54016,"24":48,"16":3605341577150464,"44":-5463499634662428672},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,27,24,16,44]} 
[2026-09-24 18:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304915968001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:13:49] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-24 18:13:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:13:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5463499634662428672,"description":"Unknown IO ID 44"} 
[2026-09-24 18:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304915968001,"power":28137,"unknown_41":206,"unknown_27":54016,"ignition":48,"odometer":null,"unknown_44":-5463499634662428672}} 
[2026-09-24 18:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":191571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891256,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:13:49] local.INFO: GPS data processed {"connection_id":191571,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:13:49] local.INFO: Acknowledgment sent {"connection_id":191571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:13:50] local.INFO: TCP Data received {"connection_id":191366,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:13:50] local.INFO: Processing buffer {"connection_id":191366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:13:50] local.INFO: IMEI packet received {"connection_id":191366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":191366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:13:50] local.INFO: TCP Data received {"connection_id":191366,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:13:50] local.INFO: Processing buffer {"connection_id":191366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:13:50] local.INFO: Packet analysis {"connection_id":191366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:13:50] local.INFO: Extracted packet for processing {"connection_id":191366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:13:50] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304842752001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790253593000,"timestamp_ms":1790253593000,"timestamp_seconds":1790253593,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36df1a8"} 
[2026-09-24 18:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 18:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304842752001,"66":2166,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304842752001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:13:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:13:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304842752001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":191366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:13:51] local.INFO: GPS data processed {"connection_id":191366,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:13:51] local.INFO: Acknowledgment sent {"connection_id":191366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:14:11] local.INFO: TCP Data received {"connection_id":191572,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:14:11] local.INFO: Processing buffer {"connection_id":191572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:14:11] local.INFO: IMEI packet received {"connection_id":191572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":191572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:14:19] local.INFO: TCP Data received {"connection_id":191572,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:14:19] local.INFO: Processing buffer {"connection_id":191572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:14:19] local.INFO: IMEI packet received {"connection_id":191572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":191572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:14:19] local.INFO: TCP Data received {"connection_id":191572,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:14:19] local.INFO: Processing buffer {"connection_id":191572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:14:19] local.INFO: IMEI packet received {"connection_id":191572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":191572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:14:21] local.INFO: TCP Data received {"connection_id":191572,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:14:21] local.INFO: Processing buffer {"connection_id":191572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:14:21] local.INFO: IMEI packet received {"connection_id":191572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":191572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:14:22] local.INFO: TCP Data received {"connection_id":191366,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:14:22] local.INFO: Processing buffer {"connection_id":191366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:14:22] local.INFO: Packet analysis {"connection_id":191366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:14:22] local.INFO: Extracted packet for processing {"connection_id":191366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:14:22] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304842752001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790253593000,"timestamp_ms":1790253593000,"timestamp_seconds":1790253593,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36df1a8"} 
[2026-09-24 18:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 18:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304842752001,"66":2166,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304842752001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:14:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:14:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304842752001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":191366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:14:22] local.INFO: GPS data processed {"connection_id":191366,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:14:22] local.INFO: Acknowledgment sent {"connection_id":191366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:14:22] local.INFO: TCP Data received {"connection_id":191572,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3718f700100000000000000000000000000..."} 
[2026-09-24 18:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3718f700100000000000000000000000000..."} 
[2026-09-24 18:14:22] local.INFO: Processing buffer {"connection_id":191572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3718f700100000000000000000000000000..."} 
[2026-09-24 18:14:22] local.INFO: Packet analysis {"connection_id":191572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d371"} 
[2026-09-24 18:14:22] local.INFO: Extracted packet for processing {"connection_id":191572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d371"} 
[2026-09-24 18:14:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 18:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304965376001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:14:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5226427335523332096,"note":"Value kept but may cause issues"} 
[2026-09-24 18:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790253830000,"timestamp_ms":1790253830000,"timestamp_seconds":1790253830,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3718f70"} 
[2026-09-24 18:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-24 18:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":191572,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 18:14:22] local.INFO: GPS data processed {"connection_id":191572,"processed":0,"errors":0,"total":1} 
[2026-09-24 18:14:22] local.INFO: Acknowledgment sent {"connection_id":191572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:14:27] local.INFO: TCP Data received {"connection_id":191572,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3711270012cb81d40077569f00038007c34..."} 
[2026-09-24 18:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3711270012cb81d40077569f00038007c34..."} 
[2026-09-24 18:14:27] local.INFO: Processing buffer {"connection_id":191572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3711270012cb81d40077569f00038007c34..."} 
[2026-09-24 18:14:27] local.INFO: Packet analysis {"connection_id":191572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d371"} 
[2026-09-24 18:14:27] local.INFO: Extracted packet for processing {"connection_id":191572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d371"} 
[2026-09-24 18:14:27] local.INFO: GPS Element Parsed {"raw_longitude":750263616,"raw_latitude":125135344,"longitude_deg":75.0263616,"latitude_deg":12.5135344,"altitude":56,"angle":124,"satellites":52,"speed":57,"hex_longitude":"2cb81d40","hex_latitude":"077569f0","is_valid_coordinates":true} 
[2026-09-24 18:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:14:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,201,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790253798000,"timestamp_ms":1790253798000,"timestamp_seconds":1790253798,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3711270"} 
[2026-09-24 18:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 18:14:27] 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-09-24 18:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28278,"201":206,"27":54016,"24":57,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,27,24,16]} 
[2026-09-24 18:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 18:14:27] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-24 18:14:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:14:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28278,"unknown_201":206,"unknown_27":54016,"ignition":57,"odometer":null}} 
[2026-09-24 18:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":191572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891259,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:14:27] local.INFO: GPS data processed {"connection_id":191572,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:14:27] local.INFO: Acknowledgment sent {"connection_id":191572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:14:28] local.INFO: TCP Data received {"connection_id":192956,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:14:28] local.INFO: Processing buffer {"connection_id":192956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:14:28] local.INFO: IMEI packet received {"connection_id":192956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":192956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:14:33] local.INFO: TCP Data received {"connection_id":192956,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:14:33] local.INFO: Processing buffer {"connection_id":192956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:14:33] local.INFO: IMEI packet received {"connection_id":192956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":192956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:14:34] local.INFO: TCP Data received {"connection_id":192956,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:14:34] local.INFO: Processing buffer {"connection_id":192956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:14:34] local.INFO: Packet analysis {"connection_id":192956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36f"} 
[2026-09-24 18:14:34] local.INFO: Extracted packet for processing {"connection_id":192956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36f"} 
[2026-09-24 18:14:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304871936001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790253707000,"timestamp_ms":1790253707000,"timestamp_seconds":1790253707,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36faef8"} 
[2026-09-24 18:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304871936001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304871936001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:14:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:14:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304871936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":192956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:14:34] local.INFO: GPS data processed {"connection_id":192956,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:14:34] local.INFO: Acknowledgment sent {"connection_id":192956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:14:44] local.INFO: TCP Data received {"connection_id":191367,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:14:44] local.INFO: Processing buffer {"connection_id":191367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:14:44] local.INFO: IMEI packet received {"connection_id":191367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":191367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:14:52] local.INFO: TCP Data received {"connection_id":191367,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:14:52] local.INFO: Processing buffer {"connection_id":191367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:14:52] local.INFO: IMEI packet received {"connection_id":191367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":191367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:14:53] local.INFO: TCP Data received {"connection_id":191367,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:14:53] local.INFO: Processing buffer {"connection_id":191367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:14:53] local.INFO: Packet analysis {"connection_id":191367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:14:53] local.INFO: Extracted packet for processing {"connection_id":191367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:14:53] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304842752001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790253593000,"timestamp_ms":1790253593000,"timestamp_seconds":1790253593,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36df1a8"} 
[2026-09-24 18:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 18:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304842752001,"66":2166,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304842752001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:14:53] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:14:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304842752001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":191367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:14:53] local.INFO: GPS data processed {"connection_id":191367,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:14:53] local.INFO: Acknowledgment sent {"connection_id":191367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:15:05] local.INFO: TCP Data received {"connection_id":192956,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:15:05] local.INFO: Processing buffer {"connection_id":192956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:15:05] local.INFO: Packet analysis {"connection_id":192956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36f"} 
[2026-09-24 18:15:05] local.INFO: Extracted packet for processing {"connection_id":192956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36f"} 
[2026-09-24 18:15:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304871936001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790253707000,"timestamp_ms":1790253707000,"timestamp_seconds":1790253707,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36faef8"} 
[2026-09-24 18:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:15: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-09-24 18: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-09-24 18:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304871936001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304871936001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:15:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:15:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304871936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":192956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:15:05] local.INFO: GPS data processed {"connection_id":192956,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:15:05] local.INFO: Acknowledgment sent {"connection_id":192956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:15:07] local.INFO: TCP Data received {"connection_id":191368,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:15:07] local.INFO: Processing buffer {"connection_id":191368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:15:07] local.INFO: IMEI packet received {"connection_id":191368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":191368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:15:12] local.INFO: TCP Data received {"connection_id":191368,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:15:12] local.INFO: Processing buffer {"connection_id":191368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:15:12] local.INFO: IMEI packet received {"connection_id":191368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":191368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:15:12] local.INFO: TCP Data received {"connection_id":191368,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37150f0012cb86b40077540a0003b006933..."} 
[2026-09-24 18:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37150f0012cb86b40077540a0003b006933..."} 
[2026-09-24 18:15:12] local.INFO: Processing buffer {"connection_id":191368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37150f0012cb86b40077540a0003b006933..."} 
[2026-09-24 18:15:12] local.INFO: Packet analysis {"connection_id":191368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d371"} 
[2026-09-24 18:15:12] local.INFO: Extracted packet for processing {"connection_id":191368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d371"} 
[2026-09-24 18:15:12] local.INFO: GPS Element Parsed {"raw_longitude":750283584,"raw_latitude":125124768,"longitude_deg":75.0283584,"latitude_deg":12.5124768,"altitude":59,"angle":105,"satellites":51,"speed":53,"hex_longitude":"2cb86b40","hex_latitude":"077540a0","is_valid_coordinates":true} 
[2026-09-24 18:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304972288001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:15:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5179913595627376640,"note":"Value kept but may cause issues"} 
[2026-09-24 18:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790253814000,"timestamp_ms":1790253814000,"timestamp_seconds":1790253814,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37150f0"} 
[2026-09-24 18:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 18:15:12] 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-09-24 18:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304972288001,"66":28300,"3":206,"27":54016,"24":53,"16":3605341577150464,"44":-5179913595627376640},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,27,24,16,44]} 
[2026-09-24 18:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304972288001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:15:12] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-24 18:15:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:15:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5179913595627376640,"description":"Unknown IO ID 44"} 
[2026-09-24 18:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304972288001,"power":28300,"unknown_3":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-5179913595627376640}} 
[2026-09-24 18:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":191368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891263,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:15:13] local.INFO: GPS data processed {"connection_id":191368,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:15:13] local.INFO: Acknowledgment sent {"connection_id":191368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:15:25] local.INFO: TCP Data received {"connection_id":191367,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:15:25] local.INFO: Processing buffer {"connection_id":191367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36df1a8012d1d8b00071b2fe8004300a92a..."} 
[2026-09-24 18:15:25] local.INFO: Packet analysis {"connection_id":191367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:15:25] local.INFO: Extracted packet for processing {"connection_id":191367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36d"} 
[2026-09-24 18:15:25] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":42,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304842752001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790253593000,"timestamp_ms":1790253593000,"timestamp_seconds":1790253593,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36df1a8"} 
[2026-09-24 18:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 18:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":191367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":191367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":191367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304842752001,"66":2166,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304842752001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:15:25] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:15:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304842752001,"power":2166,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":191367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:15:25] local.INFO: GPS data processed {"connection_id":191367,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:15:25] local.INFO: Acknowledgment sent {"connection_id":191367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:15:28] local.INFO: TCP Data received {"connection_id":191369,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:15:28] local.INFO: Processing buffer {"connection_id":191369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:15:28] local.INFO: IMEI packet received {"connection_id":191369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":191369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:15:33] local.INFO: TCP Data received {"connection_id":191369,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:15:33] local.INFO: Processing buffer {"connection_id":191369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:15:33] local.INFO: IMEI packet received {"connection_id":191369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":191369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:15:34] local.INFO: TCP Data received {"connection_id":191369,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:15:34] local.INFO: Processing buffer {"connection_id":191369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:15:34] local.INFO: Packet analysis {"connection_id":191369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36f"} 
[2026-09-24 18:15:34] local.INFO: Extracted packet for processing {"connection_id":191369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36f"} 
[2026-09-24 18:15:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304871936001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790253707000,"timestamp_ms":1790253707000,"timestamp_seconds":1790253707,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36faef8"} 
[2026-09-24 18:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304871936001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304871936001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:15:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:15:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304871936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":191369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:15:34] local.INFO: GPS data processed {"connection_id":191369,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:15:34] local.INFO: Acknowledgment sent {"connection_id":191369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:15:44] local.INFO: TCP Data received {"connection_id":191368,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d371a2f8012cb8c10007752cc0003f006831..."} 
[2026-09-24 18:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d371a2f8012cb8c10007752cc0003f006831..."} 
[2026-09-24 18:15:44] local.INFO: Processing buffer {"connection_id":191368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d371a2f8012cb8c10007752cc0003f006831..."} 
[2026-09-24 18:15:44] local.INFO: Packet analysis {"connection_id":191368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d371"} 
[2026-09-24 18:15:44] local.INFO: Extracted packet for processing {"connection_id":191368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d371"} 
[2026-09-24 18:15:44] local.INFO: GPS Element Parsed {"raw_longitude":750305536,"raw_latitude":125119680,"longitude_deg":75.0305536,"latitude_deg":12.511968,"altitude":63,"angle":104,"satellites":49,"speed":0,"hex_longitude":"2cb8c100","hex_latitude":"07752cc0","is_valid_coordinates":true} 
[2026-09-24 18:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304976384001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:15:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5157958547446652928,"note":"Value kept but may cause issues"} 
[2026-09-24 18:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790253835000,"timestamp_ms":1790253835000,"timestamp_seconds":1790253835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d371a2f8"} 
[2026-09-24 18:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 18:15:44] 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-09-24 18:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304976384001,"66":27691,"3":206,"27":54016,"24":0,"16":3605341577150464,"44":-5157958547446652928},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,27,24,16,44]} 
[2026-09-24 18:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304976384001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:15:44] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-24 18:15:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:15:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5157958547446652928,"description":"Unknown IO ID 44"} 
[2026-09-24 18:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304976384001,"power":27691,"unknown_3":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5157958547446652928}} 
[2026-09-24 18:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":191368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891266,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:15:44] local.INFO: GPS data processed {"connection_id":191368,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:15:44] local.INFO: Acknowledgment sent {"connection_id":191368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:15:44] local.INFO: TCP Data received {"connection_id":191573,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:15:44] local.INFO: Processing buffer {"connection_id":191573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:15:44] local.INFO: IMEI packet received {"connection_id":191573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":191573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:15:49] local.INFO: TCP Data received {"connection_id":191573,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:15:49] local.INFO: Processing buffer {"connection_id":191573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:15:49] local.INFO: IMEI packet received {"connection_id":191573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":191573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:15:50] local.INFO: TCP Data received {"connection_id":191573,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3728970012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 18:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3728970012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 18:15:50] local.INFO: Processing buffer {"connection_id":191573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3728970012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 18:15:50] local.INFO: Packet analysis {"connection_id":191573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d372"} 
[2026-09-24 18:15:50] local.INFO: Extracted packet for processing {"connection_id":191573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d372"} 
[2026-09-24 18:15:50] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304919808001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790253894000,"timestamp_ms":1790253894000,"timestamp_seconds":1790253894,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3728970"} 
[2026-09-24 18:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 18:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304919808001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304919808001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:15:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:15:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304919808001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":191573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:15:50] local.INFO: GPS data processed {"connection_id":191573,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:15:50] local.INFO: Acknowledgment sent {"connection_id":191573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:16:06] local.INFO: TCP Data received {"connection_id":192957,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192957,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:16:06] local.INFO: Processing buffer {"connection_id":192957,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:16:06] local.INFO: IMEI packet received {"connection_id":192957,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":192957,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:16:06] local.INFO: TCP Data received {"connection_id":191369,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:16:06] local.INFO: Processing buffer {"connection_id":191369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:16:06] local.INFO: Packet analysis {"connection_id":191369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36f"} 
[2026-09-24 18:16:06] local.INFO: Extracted packet for processing {"connection_id":191369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36f"} 
[2026-09-24 18:16:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304871936001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790253707000,"timestamp_ms":1790253707000,"timestamp_seconds":1790253707,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36faef8"} 
[2026-09-24 18:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304871936001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304871936001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:16:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:16:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304871936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":191369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:16:06] local.INFO: GPS data processed {"connection_id":191369,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:16:06] local.INFO: Acknowledgment sent {"connection_id":191369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:16:07] local.INFO: TCP Data received {"connection_id":192957,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192957,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:16:07] local.INFO: Processing buffer {"connection_id":192957,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:16:07] local.INFO: IMEI packet received {"connection_id":192957,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":192957,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:16:12] local.INFO: TCP Data received {"connection_id":192957,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192957,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:16:12] local.INFO: Processing buffer {"connection_id":192957,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:16:12] local.INFO: IMEI packet received {"connection_id":192957,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":192957,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:16:16] local.INFO: TCP Data received {"connection_id":192957,"ip":"117.224.9.235","data_length":1360,"data_hex":"000000000000030f8e0a000001a0d371f500012cb90dc0077518500047006b34..."} 
[2026-09-24 18:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192957,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a0d371f500012cb90dc0077518500047006b34..."} 
[2026-09-24 18:16:16] local.INFO: Processing buffer {"connection_id":192957,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a0d371f500012cb90dc0077518500047006b34..."} 
[2026-09-24 18:16:16] local.INFO: Packet analysis {"connection_id":192957,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a0d371"} 
[2026-09-24 18:16:16] local.INFO: Extracted packet for processing {"connection_id":192957,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a0d371"} 
[2026-09-24 18:16:16] local.INFO: GPS Element Parsed {"raw_longitude":750325184,"raw_latitude":125114448,"longitude_deg":75.0325184,"latitude_deg":12.5114448,"altitude":71,"angle":107,"satellites":52,"speed":0,"hex_longitude":"2cb90dc0","hex_latitude":"07751850","is_valid_coordinates":true} 
[2026-09-24 18:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304981760001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:16:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5133822068195016704,"note":"Value kept but may cause issues"} 
[2026-09-24 18:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790253856000,"timestamp_ms":1790253856000,"timestamp_seconds":1790253856,"priority":1,"record_length":96,"hex_timestamp":"000001a0d371f500"} 
[2026-09-24 18:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-24 18:16:16] 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-09-24 18:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":192957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":192957,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":192957,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304981760001,"66":28278,"3":206,"27":54016,"24":0,"16":3605341577150464,"44":-5133822068195016704},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,27,24,16,44]} 
[2026-09-24 18:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304981760001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:16:16] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-24 18:16:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:16:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5133822068195016704,"description":"Unknown IO ID 44"} 
[2026-09-24 18:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304981760001,"power":28278,"unknown_3":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5133822068195016704}} 
[2026-09-24 18:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":192957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891269,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:16:16] local.INFO: GPS data processed {"connection_id":192957,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:16:16] local.INFO: Acknowledgment sent {"connection_id":192957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:16:16] local.INFO: Packet analysis {"connection_id":192957,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a0d372"} 
[2026-09-24 18:16:16] local.INFO: Incomplete packet, waiting for more data {"connection_id":192957,"needed":795,"available":565} 
[2026-09-24 18:16:17] local.INFO: TCP Data received {"connection_id":192957,"ip":"117.224.9.235","data_length":1025,"data_hex":"2cb72a400775f1980041007534003a0000000a000400ef0100715200f0010045..."} 
[2026-09-24 18:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192957,"packet_length":1025,"packet_hex":"2cb72a400775f1980041007534003a0000000a000400ef0100715200f0010045..."} 
[2026-09-24 18:16:17] local.INFO: Processing buffer {"connection_id":192957,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0d372db780100000000000000000000000000..."} 
[2026-09-24 18:16:17] local.INFO: Packet analysis {"connection_id":192957,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d372"} 
[2026-09-24 18:16:17] local.INFO: Extracted packet for processing {"connection_id":192957,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d372"} 
[2026-09-24 18:16:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 18:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304987136001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:16:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5112218863733813248,"note":"Value kept but may cause issues"} 
[2026-09-24 18:16:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790253915000,"timestamp_ms":1790253915000,"timestamp_seconds":1790253915,"priority":1,"record_length":96,"hex_timestamp":"000001a0d372db78"} 
[2026-09-24 18:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 18:16:17] 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-09-24 18:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":192957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":192957,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":192957,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":192957,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 18:16:17] local.INFO: GPS data processed {"connection_id":192957,"processed":0,"errors":0,"total":1} 
[2026-09-24 18:16:17] local.INFO: Acknowledgment sent {"connection_id":192957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:16:17] local.INFO: Packet analysis {"connection_id":192957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d372"} 
[2026-09-24 18:16:17] local.INFO: Extracted packet for processing {"connection_id":192957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d372"} 
[2026-09-24 18:16:17] local.INFO: GPS Element Parsed {"raw_longitude":750362496,"raw_latitude":125104664,"longitude_deg":75.0362496,"latitude_deg":12.5104664,"altitude":77,"angle":94,"satellites":51,"speed":44,"hex_longitude":"2cb99f80","hex_latitude":"0774f218","is_valid_coordinates":true} 
[2026-09-24 18:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:16:17] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,27,24,16],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-24 18:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790253885000,"timestamp_ms":1790253885000,"timestamp_seconds":1790253885,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3726648"} 
[2026-09-24 18:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 18:16:17] 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-09-24 18:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":192957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":192957,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":192957,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28202,"27":54016,"24":44,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16]} 
[2026-09-24 18:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 18:16:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:16:17] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":0,"power":28202,"unknown_27":54016,"ignition":44,"odometer":null}} 
[2026-09-24 18:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":192957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891270,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:16:18] local.INFO: GPS data processed {"connection_id":192957,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:16:18] local.INFO: Acknowledgment sent {"connection_id":192957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:16:22] local.INFO: TCP Data received {"connection_id":191573,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3728970012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 18:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3728970012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 18:16:22] local.INFO: Processing buffer {"connection_id":191573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3728970012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 18:16:22] local.INFO: Packet analysis {"connection_id":191573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d372"} 
[2026-09-24 18:16:22] local.INFO: Extracted packet for processing {"connection_id":191573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d372"} 
[2026-09-24 18:16:22] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304919808001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790253894000,"timestamp_ms":1790253894000,"timestamp_seconds":1790253894,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3728970"} 
[2026-09-24 18:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 18:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304919808001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304919808001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:16:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:16:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304919808001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":191573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:16:22] local.INFO: GPS data processed {"connection_id":191573,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:16:22] local.INFO: Acknowledgment sent {"connection_id":191573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:16:28] local.INFO: TCP Data received {"connection_id":191370,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:16:28] local.INFO: Processing buffer {"connection_id":191370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:16:28] local.INFO: IMEI packet received {"connection_id":191370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":191370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:16:33] local.INFO: TCP Data received {"connection_id":191370,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:16:33] local.INFO: Processing buffer {"connection_id":191370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:16:33] local.INFO: IMEI packet received {"connection_id":191370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":191370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:16:34] local.INFO: TCP Data received {"connection_id":191370,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:16:34] local.INFO: Processing buffer {"connection_id":191370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:16:34] local.INFO: Packet analysis {"connection_id":191370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36f"} 
[2026-09-24 18:16:34] local.INFO: Extracted packet for processing {"connection_id":191370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36f"} 
[2026-09-24 18:16:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304871936001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790253707000,"timestamp_ms":1790253707000,"timestamp_seconds":1790253707,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36faef8"} 
[2026-09-24 18:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304871936001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304871936001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:16:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:16:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304871936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":191370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:16:34] local.INFO: GPS data processed {"connection_id":191370,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:16:34] local.INFO: Acknowledgment sent {"connection_id":191370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:16:50] local.INFO: TCP Data received {"connection_id":191371,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:16:50] local.INFO: Processing buffer {"connection_id":191371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:16:50] local.INFO: IMEI packet received {"connection_id":191371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":191371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:16:55] local.INFO: TCP Data received {"connection_id":191371,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:16:55] local.INFO: Processing buffer {"connection_id":191371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:16:55] local.INFO: IMEI packet received {"connection_id":191371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":191371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:16:55] local.INFO: TCP Data received {"connection_id":191371,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3728970012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 18:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3728970012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 18:16:55] local.INFO: Processing buffer {"connection_id":191371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3728970012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 18:16:55] local.INFO: Packet analysis {"connection_id":191371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d372"} 
[2026-09-24 18:16:55] local.INFO: Extracted packet for processing {"connection_id":191371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d372"} 
[2026-09-24 18:16:55] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18:16: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-09-24 18:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304919808001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790253894000,"timestamp_ms":1790253894000,"timestamp_seconds":1790253894,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3728970"} 
[2026-09-24 18:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 18:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:16: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-09-24 18:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304919808001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304919808001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:16:55] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:16:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304919808001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":191371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:16:55] local.INFO: GPS data processed {"connection_id":191371,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:16:55] local.INFO: Acknowledgment sent {"connection_id":191371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:17:00] local.INFO: TCP Data received {"connection_id":191371,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3728970012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 18:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3728970012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 18:17:00] local.INFO: Processing buffer {"connection_id":191371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3728970012d1d8b00071b2fe8004300a929..."} 
[2026-09-24 18:17:00] local.INFO: Packet analysis {"connection_id":191371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d372"} 
[2026-09-24 18:17:00] local.INFO: Extracted packet for processing {"connection_id":191371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d372"} 
[2026-09-24 18:17:00] local.INFO: GPS Element Parsed {"raw_longitude":756910848,"raw_latitude":119222248,"longitude_deg":75.6910848,"latitude_deg":11.9222248,"altitude":67,"angle":169,"satellites":41,"speed":0,"hex_longitude":"2d1d8b00","hex_latitude":"071b2fe8","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304919808001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22997681559306240,"note":"Value kept but may cause issues"} 
[2026-09-24 18:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128795279383586816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790253894000,"timestamp_ms":1790253894000,"timestamp_seconds":1790253894,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3728970"} 
[2026-09-24 18:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 18:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":191371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":191371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":191371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304919808001,"66":2155,"82":206,"83":41984,"24":0,"16":22997681559306240,"45":2128795279383586816},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,45]} 
[2026-09-24 18:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304919808001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:17:00] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-24 18:17:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22997681559306240,"km_value":22997681559306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128795279383586816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304919808001,"power":2155,"unknown_82":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":2128795279383586816}} 
[2026-09-24 18:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":191371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:17:00] local.INFO: GPS data processed {"connection_id":191371,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:17:00] local.INFO: Acknowledgment sent {"connection_id":191371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:17:06] local.INFO: TCP Data received {"connection_id":194228,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:17:06] local.INFO: Processing buffer {"connection_id":194228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:17:06] local.INFO: IMEI packet received {"connection_id":194228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":194228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:17:07] local.INFO: TCP Data received {"connection_id":191370,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:17:07] local.INFO: Processing buffer {"connection_id":191370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d36faef8012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:17:07] local.INFO: Packet analysis {"connection_id":191370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d36f"} 
[2026-09-24 18:17:07] local.INFO: Extracted packet for processing {"connection_id":191370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d36f"} 
[2026-09-24 18:17:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304871936001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790253707000,"timestamp_ms":1790253707000,"timestamp_seconds":1790253707,"priority":1,"record_length":96,"hex_timestamp":"000001a0d36faef8"} 
[2026-09-24 18:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:17: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-09-24 18:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304871936001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304871936001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:17:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:17:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304871936001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":191370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:17:07] local.INFO: GPS data processed {"connection_id":191370,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:17:07] local.INFO: Acknowledgment sent {"connection_id":191370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:17:12] local.INFO: TCP Data received {"connection_id":194228,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:17:12] local.INFO: Processing buffer {"connection_id":194228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:17:12] local.INFO: IMEI packet received {"connection_id":194228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":194228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:17:13] local.INFO: TCP Data received {"connection_id":194228,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d372b850012cb9f8800774ec380048005c34..."} 
[2026-09-24 18:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d372b850012cb9f8800774ec380048005c34..."} 
[2026-09-24 18:17:13] local.INFO: Processing buffer {"connection_id":194228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d372b850012cb9f8800774ec380048005c34..."} 
[2026-09-24 18:17:13] local.INFO: Packet analysis {"connection_id":194228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d372"} 
[2026-09-24 18:17:13] local.INFO: Extracted packet for processing {"connection_id":194228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d372"} 
[2026-09-24 18:17:13] local.INFO: GPS Element Parsed {"raw_longitude":750385280,"raw_latitude":125103160,"longitude_deg":75.038528,"latitude_deg":12.510316,"altitude":72,"angle":92,"satellites":52,"speed":0,"hex_longitude":"2cb9f880","hex_latitude":"0774ec38","is_valid_coordinates":true} 
[2026-09-24 18:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304994560001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:17:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5071193885880739840,"note":"Value kept but may cause issues"} 
[2026-09-24 18:17:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790253906000,"timestamp_ms":1790253906000,"timestamp_seconds":1790253906,"priority":1,"record_length":96,"hex_timestamp":"000001a0d372b850"} 
[2026-09-24 18:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-24 18:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":194228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":194228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":194228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304994560001,"66":28354,"27":54016,"24":0,"16":3605341577150464,"44":-5071193885880739840},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-09-24 18:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304994560001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:17:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:17:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5071193885880739840,"description":"Unknown IO ID 44"} 
[2026-09-24 18:17:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458304994560001,"power":28354,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5071193885880739840}} 
[2026-09-24 18:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":194228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891276,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:17:13] local.INFO: GPS data processed {"connection_id":194228,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:17:13] local.INFO: Acknowledgment sent {"connection_id":194228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:17:28] local.INFO: TCP Data received {"connection_id":191372,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:17:28] local.INFO: Processing buffer {"connection_id":191372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:17:28] local.INFO: IMEI packet received {"connection_id":191372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":191372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:17:33] local.INFO: TCP Data received {"connection_id":191372,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:17:33] local.INFO: Processing buffer {"connection_id":191372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:17:33] local.INFO: IMEI packet received {"connection_id":191372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":191372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:17:34] local.INFO: TCP Data received {"connection_id":191372,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:17:34] local.INFO: Processing buffer {"connection_id":191372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:17:34] local.INFO: Packet analysis {"connection_id":191372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:17:34] local.INFO: Extracted packet for processing {"connection_id":191372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:17:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304948992001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790254008000,"timestamp_ms":1790254008000,"timestamp_seconds":1790254008,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37446c0"} 
[2026-09-24 18:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304948992001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304948992001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:17:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:17:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304948992001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":191372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:17:34] local.INFO: GPS data processed {"connection_id":191372,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:17:34] local.INFO: Acknowledgment sent {"connection_id":191372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:17:43] local.INFO: TCP Data received {"connection_id":191574,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:17:43] local.INFO: Processing buffer {"connection_id":191574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:17:43] local.INFO: IMEI packet received {"connection_id":191574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":191574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:17:44] local.INFO: TCP Data received {"connection_id":191574,"ip":"42.106.6.14","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-24 18:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191574,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-24 18:17:44] local.INFO: Processing buffer {"connection_id":191574,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-24 18:17:44] local.INFO: IMEI packet received {"connection_id":191574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":191574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:17:44] local.INFO: TCP Data received {"connection_id":194228,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3739ec80100000000000000000000000000..."} 
[2026-09-24 18:17:44] local.INFO: TCP Data received {"connection_id":191574,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3739ec80100000000000000000000000000..."} 
[2026-09-24 18:17:44] local.INFO: Processing buffer {"connection_id":194228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3739ec80100000000000000000000000000..."} 
[2026-09-24 18:17:44] local.INFO: Packet analysis {"connection_id":194228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d373"} 
[2026-09-24 18:17:44] local.INFO: Extracted packet for processing {"connection_id":194228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d373"} 
[2026-09-24 18:17:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 18:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304999936001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:17:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5046142612953876480,"note":"Value kept but may cause issues"} 
[2026-09-24 18:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790253965000,"timestamp_ms":1790253965000,"timestamp_seconds":1790253965,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3739ec8"} 
[2026-09-24 18:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:17:44] 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-09-24 18:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:17:44] local.INFO: Processing buffer {"connection_id":191574,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-24 18:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:17:44] local.INFO: IMEI packet received {"connection_id":191574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":191574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":194228,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 18:17:44] local.INFO: GPS data processed {"connection_id":194228,"processed":0,"errors":0,"total":1} 
[2026-09-24 18:17:44] local.INFO: Acknowledgment sent {"connection_id":194228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:18:06] local.INFO: TCP Data received {"connection_id":191372,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:18:06] local.INFO: Processing buffer {"connection_id":191372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:18:06] local.INFO: Packet analysis {"connection_id":191372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:18:06] local.INFO: Extracted packet for processing {"connection_id":191372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:18:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304948992001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790254008000,"timestamp_ms":1790254008000,"timestamp_seconds":1790254008,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37446c0"} 
[2026-09-24 18:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:18: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-09-24 18:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304948992001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304948992001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:18:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:18:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304948992001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":191372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:18:06] local.INFO: GPS data processed {"connection_id":191372,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:18:06] local.INFO: Acknowledgment sent {"connection_id":191372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:18:12] local.INFO: TCP Data received {"connection_id":194229,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:18:12] local.INFO: Processing buffer {"connection_id":194229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:18:12] local.INFO: IMEI packet received {"connection_id":194229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":194229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:18:17] local.INFO: TCP Data received {"connection_id":194229,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:18:17] local.INFO: Processing buffer {"connection_id":194229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:18:17] local.INFO: IMEI packet received {"connection_id":194229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":194229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:18:18] local.INFO: TCP Data received {"connection_id":194229,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37325b0012cbab1800774dec8004c005b33..."} 
[2026-09-24 18:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37325b0012cbab1800774dec8004c005b33..."} 
[2026-09-24 18:18:18] local.INFO: Processing buffer {"connection_id":194229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37325b0012cbab1800774dec8004c005b33..."} 
[2026-09-24 18:18:18] local.INFO: Packet analysis {"connection_id":194229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d373"} 
[2026-09-24 18:18:18] local.INFO: Extracted packet for processing {"connection_id":194229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d373"} 
[2026-09-24 18:18:18] local.INFO: GPS Element Parsed {"raw_longitude":750432640,"raw_latitude":125099720,"longitude_deg":75.043264,"latitude_deg":12.509972,"altitude":76,"angle":91,"satellites":51,"speed":56,"hex_longitude":"2cbab180","hex_latitude":"0774dec8","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:18:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,57,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790253934000,"timestamp_ms":1790253934000,"timestamp_seconds":1790253934,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37325b0"} 
[2026-09-24 18:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 18:18:18] 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-09-24 18: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-09-24 18:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":194229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":194229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":194229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28278,"57":206,"27":54016,"24":56,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,27,24,16]} 
[2026-09-24 18:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 18:18:18] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-09-24 18:18:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:18:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28278,"unknown_57":206,"unknown_27":54016,"ignition":56,"odometer":null}} 
[2026-09-24 18:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":194229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891279,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:18:18] local.INFO: GPS data processed {"connection_id":194229,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:18:18] local.INFO: Acknowledgment sent {"connection_id":194229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:18:19] local.INFO: TCP Data received {"connection_id":194229,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37377b8012cbb0c800774da48004e005832..."} 
[2026-09-24 18:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37377b8012cbb0c800774da48004e005832..."} 
[2026-09-24 18:18:19] local.INFO: Processing buffer {"connection_id":194229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37377b8012cbb0c800774da48004e005832..."} 
[2026-09-24 18:18:19] local.INFO: Packet analysis {"connection_id":194229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d373"} 
[2026-09-24 18:18:19] local.INFO: Extracted packet for processing {"connection_id":194229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d373"} 
[2026-09-24 18:18:19] local.INFO: GPS Element Parsed {"raw_longitude":750455936,"raw_latitude":125098568,"longitude_deg":75.0455936,"latitude_deg":12.5098568,"altitude":78,"angle":88,"satellites":50,"speed":0,"hex_longitude":"2cbb0c80","hex_latitude":"0774da48","is_valid_coordinates":true} 
[2026-09-24 18:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305007104001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:18:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4994069742263285760,"note":"Value kept but may cause issues"} 
[2026-09-24 18:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790253955000,"timestamp_ms":1790253955000,"timestamp_seconds":1790253955,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37377b8"} 
[2026-09-24 18:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:18: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-09-24 18:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 18:18:19] 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-09-24 18:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":194229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":194229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":194229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305007104001,"66":28256,"56":206,"27":54016,"24":0,"16":3605341577150464,"44":-4994069742263285760},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,27,24,16,44]} 
[2026-09-24 18:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305007104001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:18:19] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-24 18:18:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:18:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4994069742263285760,"description":"Unknown IO ID 44"} 
[2026-09-24 18:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305007104001,"power":28256,"unknown_56":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4994069742263285760}} 
[2026-09-24 18:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":194229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891280,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:18:19] local.INFO: GPS data processed {"connection_id":194229,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:18:19] local.INFO: Acknowledgment sent {"connection_id":194229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:18:28] local.INFO: TCP Data received {"connection_id":192958,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:18:28] local.INFO: Processing buffer {"connection_id":192958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:18:28] local.INFO: IMEI packet received {"connection_id":192958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":192958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:18:33] local.INFO: TCP Data received {"connection_id":192958,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:18:33] local.INFO: Processing buffer {"connection_id":192958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:18:33] local.INFO: IMEI packet received {"connection_id":192958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":192958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:18:34] local.INFO: TCP Data received {"connection_id":192958,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:18:34] local.INFO: Processing buffer {"connection_id":192958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:18:34] local.INFO: Packet analysis {"connection_id":192958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:18:34] local.INFO: Extracted packet for processing {"connection_id":192958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:18:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304948992001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790254008000,"timestamp_ms":1790254008000,"timestamp_seconds":1790254008,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37446c0"} 
[2026-09-24 18:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304948992001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304948992001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:18:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:18:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304948992001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":192958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:18:34] local.INFO: GPS data processed {"connection_id":192958,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:18:34] local.INFO: Acknowledgment sent {"connection_id":192958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:19:05] local.INFO: TCP Data received {"connection_id":192958,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:19:05] local.INFO: Processing buffer {"connection_id":192958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:19:05] local.INFO: Packet analysis {"connection_id":192958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:19:05] local.INFO: Extracted packet for processing {"connection_id":192958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:19:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304948992001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790254008000,"timestamp_ms":1790254008000,"timestamp_seconds":1790254008,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37446c0"} 
[2026-09-24 18:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:19: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-09-24 18:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304948992001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304948992001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:19:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:19:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304948992001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":192958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:19:05] local.INFO: GPS data processed {"connection_id":192958,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:19:05] local.INFO: Acknowledgment sent {"connection_id":192958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:19:06] local.INFO: TCP Data received {"connection_id":191575,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:19:06] local.INFO: Processing buffer {"connection_id":191575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:19:06] local.INFO: IMEI packet received {"connection_id":191575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":191575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:19:11] local.INFO: TCP Data received {"connection_id":191575,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:19:11] local.INFO: Processing buffer {"connection_id":191575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:19:11] local.INFO: IMEI packet received {"connection_id":191575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":191575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:19:15] local.INFO: TCP Data received {"connection_id":191575,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3745e300100000000000000000000000000..."} 
[2026-09-24 18:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3745e300100000000000000000000000000..."} 
[2026-09-24 18:19:15] local.INFO: Processing buffer {"connection_id":191575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3745e300100000000000000000000000000..."} 
[2026-09-24 18:19:15] local.INFO: Packet analysis {"connection_id":191575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:19:15] local.INFO: Extracted packet for processing {"connection_id":191575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:19:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 18:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305012480001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:19:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4968455519382910976,"note":"Value kept but may cause issues"} 
[2026-09-24 18:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790254014000,"timestamp_ms":1790254014000,"timestamp_seconds":1790254014,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3745e30"} 
[2026-09-24 18:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 18:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":191575,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 18:19:15] local.INFO: GPS data processed {"connection_id":191575,"processed":0,"errors":0,"total":1} 
[2026-09-24 18:19:15] local.INFO: Acknowledgment sent {"connection_id":191575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:19:28] local.INFO: TCP Data received {"connection_id":191373,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:19:28] local.INFO: Processing buffer {"connection_id":191373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:19:28] local.INFO: IMEI packet received {"connection_id":191373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":191373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:19:33] local.INFO: TCP Data received {"connection_id":191373,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:19:33] local.INFO: Processing buffer {"connection_id":191373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:19:33] local.INFO: IMEI packet received {"connection_id":191373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":191373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:19:34] local.INFO: TCP Data received {"connection_id":191373,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:19:34] local.INFO: Processing buffer {"connection_id":191373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:19:34] local.INFO: Packet analysis {"connection_id":191373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:19:34] local.INFO: Extracted packet for processing {"connection_id":191373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:19:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304948992001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790254008000,"timestamp_ms":1790254008000,"timestamp_seconds":1790254008,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37446c0"} 
[2026-09-24 18:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304948992001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304948992001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:19:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:19:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304948992001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":191373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:19:34] local.INFO: GPS data processed {"connection_id":191373,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:19:34] local.INFO: Acknowledgment sent {"connection_id":191373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:19:47] local.INFO: TCP Data received {"connection_id":191575,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d373e130012cbbc6c00774e108004e006433..."} 
[2026-09-24 18:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d373e130012cbbc6c00774e108004e006433..."} 
[2026-09-24 18:19:47] local.INFO: Processing buffer {"connection_id":191575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d373e130012cbbc6c00774e108004e006433..."} 
[2026-09-24 18:19:47] local.INFO: Packet analysis {"connection_id":191575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d373"} 
[2026-09-24 18:19:47] local.INFO: Extracted packet for processing {"connection_id":191575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d373"} 
[2026-09-24 18:19:47] local.INFO: GPS Element Parsed {"raw_longitude":750503616,"raw_latitude":125100296,"longitude_deg":75.0503616,"latitude_deg":12.5100296,"altitude":78,"angle":100,"satellites":51,"speed":58,"hex_longitude":"2cbbc6c0","hex_latitude":"0774e108","is_valid_coordinates":true} 
[2026-09-24 18:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:19:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,55,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790253982000,"timestamp_ms":1790253982000,"timestamp_seconds":1790253982,"priority":1,"record_length":96,"hex_timestamp":"000001a0d373e130"} 
[2026-09-24 18:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:19:47] 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-09-24 18:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28267,"55":206,"27":54016,"24":58,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16]} 
[2026-09-24 18:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 18:19:47] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-24 18:19:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:19:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28267,"unknown_55":206,"unknown_27":54016,"ignition":58,"odometer":null}} 
[2026-09-24 18:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":191575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891284,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:19:47] local.INFO: GPS data processed {"connection_id":191575,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:19:47] local.INFO: Acknowledgment sent {"connection_id":191575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:20:06] local.INFO: TCP Data received {"connection_id":191373,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:20:06] local.INFO: Processing buffer {"connection_id":191373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:20:06] local.INFO: Packet analysis {"connection_id":191373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:20:06] local.INFO: Extracted packet for processing {"connection_id":191373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:20:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304948992001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790254008000,"timestamp_ms":1790254008000,"timestamp_seconds":1790254008,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37446c0"} 
[2026-09-24 18:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:20: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-09-24 18:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304948992001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304948992001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:20:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:20:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304948992001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":191373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:20:06] local.INFO: GPS data processed {"connection_id":191373,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:20:06] local.INFO: Acknowledgment sent {"connection_id":191373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:20:06] local.INFO: TCP Data received {"connection_id":191576,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191576,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:20:06] local.INFO: Processing buffer {"connection_id":191576,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:20:06] local.INFO: IMEI packet received {"connection_id":191576,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":191576,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:20:12] local.INFO: TCP Data received {"connection_id":191576,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191576,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:20:12] local.INFO: Processing buffer {"connection_id":191576,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:20:12] local.INFO: IMEI packet received {"connection_id":191576,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":191576,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:20:20] local.INFO: TCP Data received {"connection_id":191576,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3743338012cbc18000774d0580052006533..."} 
[2026-09-24 18:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3743338012cbc18000774d0580052006533..."} 
[2026-09-24 18:20:20] local.INFO: Processing buffer {"connection_id":191576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3743338012cbc18000774d0580052006533..."} 
[2026-09-24 18:20:20] local.INFO: Packet analysis {"connection_id":191576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:20:20] local.INFO: Extracted packet for processing {"connection_id":191576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:20:20] local.INFO: GPS Element Parsed {"raw_longitude":750524416,"raw_latitude":125096024,"longitude_deg":75.0524416,"latitude_deg":12.5096024,"altitude":82,"angle":101,"satellites":51,"speed":0,"hex_longitude":"2cbc1800","hex_latitude":"0774d058","is_valid_coordinates":true} 
[2026-09-24 18:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305019392001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:20:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4916030804970108928,"note":"Value kept but may cause issues"} 
[2026-09-24 18:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790254003000,"timestamp_ms":1790254003000,"timestamp_seconds":1790254003,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3743338"} 
[2026-09-24 18:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 18:20:20] 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-09-24 18:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191576,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191576,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305019392001,"66":27952,"55":206,"27":54016,"24":0,"16":3605341577150464,"44":-4916030804970108928},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16,44]} 
[2026-09-24 18:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305019392001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:20:20] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-24 18:20:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:20:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4916030804970108928,"description":"Unknown IO ID 44"} 
[2026-09-24 18:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305019392001,"power":27952,"unknown_55":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4916030804970108928}} 
[2026-09-24 18:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":191576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891286,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:20:20] local.INFO: GPS data processed {"connection_id":191576,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:20:20] local.INFO: Acknowledgment sent {"connection_id":191576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:20:28] local.INFO: TCP Data received {"connection_id":194231,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:20:28] local.INFO: Processing buffer {"connection_id":194231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:20:28] local.INFO: IMEI packet received {"connection_id":194231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":194231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:20:33] local.INFO: TCP Data received {"connection_id":194231,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:20:33] local.INFO: Processing buffer {"connection_id":194231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:20:33] local.INFO: IMEI packet received {"connection_id":194231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":194231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:20:34] local.INFO: TCP Data received {"connection_id":194231,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:20:34] local.INFO: Processing buffer {"connection_id":194231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:20:34] local.INFO: Packet analysis {"connection_id":194231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:20:34] local.INFO: Extracted packet for processing {"connection_id":194231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:20:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304948992001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790254008000,"timestamp_ms":1790254008000,"timestamp_seconds":1790254008,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37446c0"} 
[2026-09-24 18:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304948992001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304948992001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:20:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:20:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304948992001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":194231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:20:34] local.INFO: GPS data processed {"connection_id":194231,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:20:34] local.INFO: Acknowledgment sent {"connection_id":194231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:20:51] local.INFO: TCP Data received {"connection_id":191576,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3748540012cbc53000774bfe80053006c34..."} 
[2026-09-24 18:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3748540012cbc53000774bfe80053006c34..."} 
[2026-09-24 18:20:51] local.INFO: Processing buffer {"connection_id":191576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3748540012cbc53000774bfe80053006c34..."} 
[2026-09-24 18:20:51] local.INFO: Packet analysis {"connection_id":191576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:20:51] local.INFO: Extracted packet for processing {"connection_id":191576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:20:51] local.INFO: GPS Element Parsed {"raw_longitude":750539520,"raw_latitude":125091816,"longitude_deg":75.053952,"latitude_deg":12.5091816,"altitude":83,"angle":108,"satellites":52,"speed":34,"hex_longitude":"2cbc5300","hex_latitude":"0774bfe8","is_valid_coordinates":true} 
[2026-09-24 18:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305024768001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:20:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4893160963113461760,"note":"Value kept but may cause issues"} 
[2026-09-24 18:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790254024000,"timestamp_ms":1790254024000,"timestamp_seconds":1790254024,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3748540"} 
[2026-09-24 18:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:20: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-09-24 18:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 18:20:51] 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-09-24 18:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191576,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191576,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305024768001,"66":28398,"55":206,"27":54016,"24":34,"16":3605341577150464,"44":-4893160963113461760},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16,44]} 
[2026-09-24 18:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305024768001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:20:51] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-24 18:20:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:20:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4893160963113461760,"description":"Unknown IO ID 44"} 
[2026-09-24 18:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305024768001,"power":28398,"unknown_55":206,"unknown_27":54016,"ignition":34,"odometer":null,"unknown_44":-4893160963113461760}} 
[2026-09-24 18:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":191576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891288,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:20:51] local.INFO: GPS data processed {"connection_id":191576,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:20:51] local.INFO: Acknowledgment sent {"connection_id":191576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:21:06] local.INFO: TCP Data received {"connection_id":194231,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:21:06] local.INFO: Processing buffer {"connection_id":194231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:21:06] local.INFO: Packet analysis {"connection_id":194231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:21:06] local.INFO: Extracted packet for processing {"connection_id":194231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:21:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304948992001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790254008000,"timestamp_ms":1790254008000,"timestamp_seconds":1790254008,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37446c0"} 
[2026-09-24 18:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:21: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-09-24 18:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304948992001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304948992001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:21:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:21:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304948992001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":194231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:21:06] local.INFO: GPS data processed {"connection_id":194231,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:21:06] local.INFO: Acknowledgment sent {"connection_id":194231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:21:06] local.INFO: TCP Data received {"connection_id":191375,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:21:06] local.INFO: Processing buffer {"connection_id":191375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:21:06] local.INFO: IMEI packet received {"connection_id":191375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":191375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:21:12] local.INFO: TCP Data received {"connection_id":191375,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:21:12] local.INFO: Processing buffer {"connection_id":191375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:21:12] local.INFO: IMEI packet received {"connection_id":191375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":191375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:21:15] local.INFO: TCP Data received {"connection_id":191375,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d374cf78012cbc69c007747d58005200b833..."} 
[2026-09-24 18:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d374cf78012cbc69c007747d58005200b833..."} 
[2026-09-24 18:21:15] local.INFO: Processing buffer {"connection_id":191375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d374cf78012cbc69c007747d58005200b833..."} 
[2026-09-24 18:21:15] local.INFO: Packet analysis {"connection_id":191375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:21:15] local.INFO: Extracted packet for processing {"connection_id":191375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:21:15] local.INFO: GPS Element Parsed {"raw_longitude":750545344,"raw_latitude":125074776,"longitude_deg":75.0545344,"latitude_deg":12.5074776,"altitude":82,"angle":184,"satellites":51,"speed":45,"hex_longitude":"2cbc69c0","hex_latitude":"07747d58","is_valid_coordinates":true} 
[2026-09-24 18:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305030144001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:21:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4876553939488610304,"note":"Value kept but may cause issues"} 
[2026-09-24 18:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790254043000,"timestamp_ms":1790254043000,"timestamp_seconds":1790254043,"priority":1,"record_length":96,"hex_timestamp":"000001a0d374cf78"} 
[2026-09-24 18:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:21:15] 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-09-24 18:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305030144001,"66":28354,"55":206,"27":54016,"24":45,"16":3605341577150464,"44":-4876553939488610304},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16,44]} 
[2026-09-24 18:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305030144001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:21:15] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-24 18:21:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:21:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4876553939488610304,"description":"Unknown IO ID 44"} 
[2026-09-24 18:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305030144001,"power":28354,"unknown_55":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-4876553939488610304}} 
[2026-09-24 18:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":191375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891290,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:21:15] local.INFO: GPS data processed {"connection_id":191375,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:21:15] local.INFO: Acknowledgment sent {"connection_id":191375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:21:28] local.INFO: TCP Data received {"connection_id":194232,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:21:28] local.INFO: Processing buffer {"connection_id":194232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:21:28] local.INFO: IMEI packet received {"connection_id":194232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":194232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:21:33] local.INFO: TCP Data received {"connection_id":194232,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:21:33] local.INFO: Processing buffer {"connection_id":194232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:21:33] local.INFO: IMEI packet received {"connection_id":194232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":194232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:21:34] local.INFO: TCP Data received {"connection_id":194232,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:21:34] local.INFO: Processing buffer {"connection_id":194232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:21:34] local.INFO: Packet analysis {"connection_id":194232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:21:34] local.INFO: Extracted packet for processing {"connection_id":194232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:21:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304948992001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790254008000,"timestamp_ms":1790254008000,"timestamp_seconds":1790254008,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37446c0"} 
[2026-09-24 18:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304948992001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304948992001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:21:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:21:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304948992001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":194232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:21:34] local.INFO: GPS data processed {"connection_id":194232,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:21:34] local.INFO: Acknowledgment sent {"connection_id":194232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:21:47] local.INFO: TCP Data received {"connection_id":191375,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3776b70012cbc4700077300a80012006434..."} 
[2026-09-24 18:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3776b70012cbc4700077300a80012006434..."} 
[2026-09-24 18:21:47] local.INFO: Processing buffer {"connection_id":191375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3776b70012cbc4700077300a80012006434..."} 
[2026-09-24 18:21:47] local.INFO: Packet analysis {"connection_id":191375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d377"} 
[2026-09-24 18:21:47] local.INFO: Extracted packet for processing {"connection_id":191375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d377"} 
[2026-09-24 18:21:47] local.INFO: GPS Element Parsed {"raw_longitude":750536448,"raw_latitude":124977320,"longitude_deg":75.0536448,"latitude_deg":12.497732,"altitude":18,"angle":100,"satellites":52,"speed":31,"hex_longitude":"2cbc4700","hex_latitude":"077300a8","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305074176001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:21:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4900057100073175040,"note":"Value kept but may cause issues"} 
[2026-09-24 18:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790254214000,"timestamp_ms":1790254214000,"timestamp_seconds":1790254214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3776b70"} 
[2026-09-24 18:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-24 18:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305074176001,"66":28137,"104":206,"27":54016,"24":31,"16":3605341577150464,"44":-4900057100073175040},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-09-24 18:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305074176001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:21:47] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-24 18:21:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:21:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4900057100073175040,"description":"Unknown IO ID 44"} 
[2026-09-24 18:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305074176001,"power":28137,"unknown_104":206,"unknown_27":54016,"ignition":31,"odometer":null,"unknown_44":-4900057100073175040}} 
[2026-09-24 18:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":191375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891292,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:21:47] local.INFO: GPS data processed {"connection_id":191375,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:21:47] local.INFO: Acknowledgment sent {"connection_id":191375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:22:05] local.INFO: TCP Data received {"connection_id":194232,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:22:05] local.INFO: Processing buffer {"connection_id":194232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37446c0012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:22:05] local.INFO: Packet analysis {"connection_id":194232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:22:05] local.INFO: Extracted packet for processing {"connection_id":194232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d374"} 
[2026-09-24 18:22:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458304948992001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790254008000,"timestamp_ms":1790254008000,"timestamp_seconds":1790254008,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37446c0"} 
[2026-09-24 18:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:22: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-09-24 18: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-09-24 18:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458304948992001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458304948992001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:22:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:22:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458304948992001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":194232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:22:05] local.INFO: GPS data processed {"connection_id":194232,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:22:05] local.INFO: Acknowledgment sent {"connection_id":194232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:22:11] local.INFO: TCP Data received {"connection_id":194233,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:22:11] local.INFO: Processing buffer {"connection_id":194233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:22:11] local.INFO: IMEI packet received {"connection_id":194233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":194233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:22:12] local.INFO: TCP Data received {"connection_id":194233,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:22:12] local.INFO: Processing buffer {"connection_id":194233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:22:12] local.INFO: IMEI packet received {"connection_id":194233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":194233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:22:13] local.INFO: TCP Data received {"connection_id":194233,"ip":"117.224.9.235","data_length":812,"data_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a0d3..."} 
[2026-09-24 18:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194233,"packet_length":812,"packet_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a0d3..."} 
[2026-09-24 18:22:13] local.INFO: Processing buffer {"connection_id":194233,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a0d3..."} 
[2026-09-24 18:22:13] local.INFO: IMEI packet received {"connection_id":194233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":194233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:22:16] local.INFO: TCP Data received {"connection_id":194233,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d377ffe0012cbcb5800772b788000f009e33..."} 
[2026-09-24 18:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d377ffe0012cbcb5800772b788000f009e33..."} 
[2026-09-24 18:22:16] local.INFO: Processing buffer {"connection_id":194233,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0d377bd78012cbc8f800772f418000c006e34..."} 
[2026-09-24 18:22:16] local.INFO: Packet analysis {"connection_id":194233,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d377"} 
[2026-09-24 18:22:16] local.INFO: Extracted packet for processing {"connection_id":194233,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d377"} 
[2026-09-24 18:22:16] local.INFO: GPS Element Parsed {"raw_longitude":750555008,"raw_latitude":124974104,"longitude_deg":75.0555008,"latitude_deg":12.4974104,"altitude":12,"angle":110,"satellites":52,"speed":0,"hex_longitude":"2cbc8f80","hex_latitude":"0772f418","is_valid_coordinates":true} 
[2026-09-24 18:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305078784001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4879931639238449152,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790254235000,"timestamp_ms":1790254235000,"timestamp_seconds":1790254235,"priority":1,"record_length":96,"hex_timestamp":"000001a0d377bd78"} 
[2026-09-24 18:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-24 18:22:16] 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-09-24 18:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":194233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":194233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":194233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305078784001,"66":28278,"104":206,"27":54016,"24":0,"16":3605341577150464,"44":-4879931639238449152},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-09-24 18:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305078784001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:22:16] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-24 18:22:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:22:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4879931639238449152,"description":"Unknown IO ID 44"} 
[2026-09-24 18:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305078784001,"power":28278,"unknown_104":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4879931639238449152}} 
[2026-09-24 18:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":194233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891294,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:22:17] local.INFO: GPS data processed {"connection_id":194233,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:22:17] local.INFO: Acknowledgment sent {"connection_id":194233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:22:17] local.INFO: Packet analysis {"connection_id":194233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d377"} 
[2026-09-24 18:22:17] local.INFO: Extracted packet for processing {"connection_id":194233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d377"} 
[2026-09-24 18:22:17] local.INFO: GPS Element Parsed {"raw_longitude":750564736,"raw_latitude":124958600,"longitude_deg":75.0564736,"latitude_deg":12.49586,"altitude":15,"angle":158,"satellites":51,"speed":41,"hex_longitude":"2cbcb580","hex_latitude":"0772b788","is_valid_coordinates":true} 
[2026-09-24 18:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305084160001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4859524703427749888,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790254252000,"timestamp_ms":1790254252000,"timestamp_seconds":1790254252,"priority":1,"record_length":96,"hex_timestamp":"000001a0d377ffe0"} 
[2026-09-24 18:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 18:22:17] 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-09-24 18:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":194233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":194233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":194233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305084160001,"66":28300,"104":206,"27":54016,"24":41,"16":3605341577150464,"44":-4859524703427749888},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-09-24 18:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305084160001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:22:17] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-24 18:22:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:22:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4859524703427749888,"description":"Unknown IO ID 44"} 
[2026-09-24 18:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305084160001,"power":28300,"unknown_104":206,"unknown_27":54016,"ignition":41,"odometer":null,"unknown_44":-4859524703427749888}} 
[2026-09-24 18:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":194233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891295,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:22:17] local.INFO: GPS data processed {"connection_id":194233,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:22:17] local.INFO: Acknowledgment sent {"connection_id":194233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:22:33] local.INFO: TCP Data received {"connection_id":191376,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:22:33] local.INFO: Processing buffer {"connection_id":191376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:22:33] local.INFO: IMEI packet received {"connection_id":191376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":191376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:22:38] local.INFO: TCP Data received {"connection_id":191376,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:22:38] local.INFO: Processing buffer {"connection_id":191376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:22:38] local.INFO: IMEI packet received {"connection_id":191376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":191376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:22:39] local.INFO: TCP Data received {"connection_id":191376,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:22:39] local.INFO: Processing buffer {"connection_id":191376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:22:39] local.INFO: Packet analysis {"connection_id":191376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:22:39] local.INFO: Extracted packet for processing {"connection_id":191376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:22:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305026048001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790254309000,"timestamp_ms":1790254309000,"timestamp_seconds":1790254309,"priority":1,"record_length":96,"hex_timestamp":"000001a0d378de88"} 
[2026-09-24 18:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305026048001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305026048001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:22:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:22:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305026048001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":191376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:22:39] local.INFO: GPS data processed {"connection_id":191376,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:22:39] local.INFO: Acknowledgment sent {"connection_id":191376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:22:44] local.INFO: TCP Data received {"connection_id":191376,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:22:44] local.INFO: Processing buffer {"connection_id":191376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:22:44] local.INFO: Packet analysis {"connection_id":191376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:22:44] local.INFO: Extracted packet for processing {"connection_id":191376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305026048001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790254309000,"timestamp_ms":1790254309000,"timestamp_seconds":1790254309,"priority":1,"record_length":96,"hex_timestamp":"000001a0d378de88"} 
[2026-09-24 18:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305026048001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305026048001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:22:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305026048001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":191376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:22:44] local.INFO: GPS data processed {"connection_id":191376,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:22:44] local.INFO: Acknowledgment sent {"connection_id":191376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:22:47] local.INFO: TCP Data received {"connection_id":194234,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:22:47] local.INFO: Processing buffer {"connection_id":194234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:22:47] local.INFO: IMEI packet received {"connection_id":194234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":194234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:22:49] local.INFO: TCP Data received {"connection_id":194233,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3784e00012cbcb90007728678000c00ba33..."} 
[2026-09-24 18:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3784e00012cbcb90007728678000c00ba33..."} 
[2026-09-24 18:22:49] local.INFO: Processing buffer {"connection_id":194233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3784e00012cbcb90007728678000c00ba33..."} 
[2026-09-24 18:22:49] local.INFO: Packet analysis {"connection_id":194233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:22:49] local.INFO: Extracted packet for processing {"connection_id":194233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:22:49] local.INFO: GPS Element Parsed {"raw_longitude":750565632,"raw_latitude":124946040,"longitude_deg":75.0565632,"latitude_deg":12.494604,"altitude":12,"angle":186,"satellites":51,"speed":21,"hex_longitude":"2cbcb900","hex_latitude":"07728678","is_valid_coordinates":true} 
[2026-09-24 18:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305088512001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4848828654316713984,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790254272000,"timestamp_ms":1790254272000,"timestamp_seconds":1790254272,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3784e00"} 
[2026-09-24 18:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 18:22:49] 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-09-24 18:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":194233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":194233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":194233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305088512001,"66":27767,"105":206,"27":54016,"24":21,"16":3605341577150464,"44":-4848828654316713984},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305088512001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:22:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:22:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:22:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4848828654316713984,"description":"Unknown IO ID 44"} 
[2026-09-24 18:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305088512001,"power":27767,"unknown_105":206,"unknown_27":54016,"ignition":21,"odometer":null,"unknown_44":-4848828654316713984}} 
[2026-09-24 18:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":194233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891298,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:22:49] local.INFO: GPS data processed {"connection_id":194233,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:22:49] local.INFO: Acknowledgment sent {"connection_id":194233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:22:49] local.INFO: TCP Data received {"connection_id":194234,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:22:49] local.INFO: Processing buffer {"connection_id":194234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:22:49] local.INFO: IMEI packet received {"connection_id":194234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":194234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:22:50] local.INFO: TCP Data received {"connection_id":194234,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d378bb60012d1d8740071bf410003b012827..."} 
[2026-09-24 18:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d378bb60012d1d8740071bf410003b012827..."} 
[2026-09-24 18:22:50] local.INFO: Processing buffer {"connection_id":194234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d378bb60012d1d8740071bf410003b012827..."} 
[2026-09-24 18:22:50] local.INFO: Packet analysis {"connection_id":194234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:22:50] local.INFO: Extracted packet for processing {"connection_id":194234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:22:50] local.INFO: GPS Element Parsed {"raw_longitude":756909888,"raw_latitude":119272464,"longitude_deg":75.6909888,"latitude_deg":11.9272464,"altitude":59,"angle":296,"satellites":39,"speed":19,"hex_longitude":"2d1d8740","hex_latitude":"071bf410","is_valid_coordinates":true} 
[2026-09-24 18:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305098240001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23001680173858816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2134706253906208768,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790254300000,"timestamp_ms":1790254300000,"timestamp_seconds":1790254300,"priority":1,"record_length":96,"hex_timestamp":"000001a0d378bb60"} 
[2026-09-24 18:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:22:50] 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-09-24 18:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-24 18:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3547860864,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":30720,"corrected_to":0} 
[2026-09-24 18:22:50] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3251019763330811536,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:50] local.WARNING: Large IO value detected {"io_id":27,"raw_value":-8588364266036713216,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1766981838,"corrected_to":0} 
[2026-09-24 18:22:50] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812265,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:50] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:50] local.WARNING: Large IO value detected {"io_id":252,"raw_value":57818171147441060,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:50] local.WARNING: Large IO value detected {"io_id":119,"raw_value":-2542280696363270137,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:50] local.WARNING: Large IO value detected {"io_id":15,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:50] local.WARNING: Large IO value detected {"io_id":105,"raw_value":5908949569739167744,"note":"Value kept but may cause issues"} 
[2026-09-24 18:22:50] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,83,24,241,157,16,183,160,101,45,64,200,65,41,10,66,78,189,43,182,70,128,1,240,104,227,211,27,4,113,205,21,23,213,48,42,239,53,82,2,81,7,56,28,252,119,15,105],"length":626,"final_offset":756,"validated_count":48,"validation_warnings":[{"io_id":200,"original":30720,"validated":0},{"io_id":205,"original":1766981838,"validated":0}]} 
[2026-09-24 18:22:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612023731707969536,"timestamp_seconds":4612023731707970.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 18:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":194234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":194234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":194234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305098240001,"66":13820,"83":41984,"24":19,"16":23001680173858816,"45":2134706253906208768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-24 18:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305098240001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:22:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23001680173858816,"km_value":23001680173858.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2134706253906208768,"description":"Unknown IO ID 45"} 
[2026-09-24 18:22:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458305098240001,"power":13820,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":2134706253906208768}} 
[2026-09-24 18:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":194234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:22:50] local.INFO: GPS data processed {"connection_id":194234,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:22:50] local.INFO: Acknowledgment sent {"connection_id":194234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:23:06] local.INFO: TCP Data received {"connection_id":191377,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191377,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:23:06] local.INFO: Processing buffer {"connection_id":191377,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:23:06] local.INFO: IMEI packet received {"connection_id":191377,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":191377,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:23:11] local.INFO: TCP Data received {"connection_id":191377,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191377,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:23:11] local.INFO: Processing buffer {"connection_id":191377,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:23:11] local.INFO: IMEI packet received {"connection_id":191377,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":191377,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:23:13] local.INFO: TCP Data received {"connection_id":191377,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37934780100000000000000000000000000..."} 
[2026-09-24 18:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37934780100000000000000000000000000..."} 
[2026-09-24 18:23:13] local.INFO: Processing buffer {"connection_id":191377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37934780100000000000000000000000000..."} 
[2026-09-24 18:23:13] local.INFO: Packet analysis {"connection_id":191377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d379"} 
[2026-09-24 18:23:13] local.INFO: Extracted packet for processing {"connection_id":191377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d379"} 
[2026-09-24 18:23:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 18:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305093632001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:23:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4847843491901442048,"note":"Value kept but may cause issues"} 
[2026-09-24 18:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790254331000,"timestamp_ms":1790254331000,"timestamp_seconds":1790254331,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3793478"} 
[2026-09-24 18:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-24 18:23:13] 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-09-24 18:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":191377,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 18:23:13] local.INFO: GPS data processed {"connection_id":191377,"processed":0,"errors":0,"total":1} 
[2026-09-24 18:23:13] local.INFO: Acknowledgment sent {"connection_id":191377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:23:21] local.INFO: TCP Data received {"connection_id":194234,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3791150012d1d6b40071c01b00035011f29..."} 
[2026-09-24 18:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3791150012d1d6b40071c01b00035011f29..."} 
[2026-09-24 18:23:21] local.INFO: Processing buffer {"connection_id":194234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3791150012d1d6b40071c01b00035011f29..."} 
[2026-09-24 18:23:21] local.INFO: Packet analysis {"connection_id":194234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d379"} 
[2026-09-24 18:23:21] local.INFO: Extracted packet for processing {"connection_id":194234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d379"} 
[2026-09-24 18:23:21] local.INFO: GPS Element Parsed {"raw_longitude":756902720,"raw_latitude":119275952,"longitude_deg":75.690272,"latitude_deg":11.9275952,"altitude":53,"angle":287,"satellites":41,"speed":30,"hex_longitude":"2d1d6b40","hex_latitude":"071c01b0","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305100800001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23002062425948160,"note":"Value kept but may cause issues"} 
[2026-09-24 18:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2127739748233777152,"note":"Value kept but may cause issues"} 
[2026-09-24 18:23:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790254322000,"timestamp_ms":1790254322000,"timestamp_seconds":1790254322,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3791150"} 
[2026-09-24 18:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-24 18:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305100800001,"66":13906,"83":41984,"24":30,"16":23002062425948160,"45":2127739748233777152},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-24 18:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305100800001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:23:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23002062425948160,"km_value":23002062425948.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2127739748233777152,"description":"Unknown IO ID 45"} 
[2026-09-24 18:23:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458305100800001,"power":13906,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":2127739748233777152}} 
[2026-09-24 18:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":194234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:23:22] local.INFO: GPS data processed {"connection_id":194234,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:23:22] local.INFO: Acknowledgment sent {"connection_id":194234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:23:28] local.INFO: TCP Data received {"connection_id":192959,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:23:28] local.INFO: Processing buffer {"connection_id":192959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:23:28] local.INFO: IMEI packet received {"connection_id":192959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":192959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:23:33] local.INFO: TCP Data received {"connection_id":192959,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:23:33] local.INFO: Processing buffer {"connection_id":192959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:23:33] local.INFO: IMEI packet received {"connection_id":192959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":192959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:23:34] local.INFO: TCP Data received {"connection_id":192959,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:23:34] local.INFO: Processing buffer {"connection_id":192959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:23:34] local.INFO: Packet analysis {"connection_id":192959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:23:34] local.INFO: Extracted packet for processing {"connection_id":192959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:23:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305026048001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790254309000,"timestamp_ms":1790254309000,"timestamp_seconds":1790254309,"priority":1,"record_length":96,"hex_timestamp":"000001a0d378de88"} 
[2026-09-24 18:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305026048001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305026048001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:23:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:23:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305026048001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":192959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:23:34] local.INFO: GPS data processed {"connection_id":192959,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:23:34] local.INFO: Acknowledgment sent {"connection_id":192959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:23:44] local.INFO: TCP Data received {"connection_id":191579,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:23:44] local.INFO: Processing buffer {"connection_id":191579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:23:44] local.INFO: IMEI packet received {"connection_id":191579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":191579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:23:45] local.INFO: TCP Data received {"connection_id":191377,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d378a3f0012cbcb14007724a20000d00ba34..."} 
[2026-09-24 18:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d378a3f0012cbcb14007724a20000d00ba34..."} 
[2026-09-24 18:23:45] local.INFO: Processing buffer {"connection_id":191377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d378a3f0012cbcb14007724a20000d00ba34..."} 
[2026-09-24 18:23:45] local.INFO: Packet analysis {"connection_id":191377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:23:45] local.INFO: Extracted packet for processing {"connection_id":191377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:23:45] local.INFO: GPS Element Parsed {"raw_longitude":750563648,"raw_latitude":124930592,"longitude_deg":75.0563648,"latitude_deg":12.4930592,"altitude":13,"angle":186,"satellites":52,"speed":22,"hex_longitude":"2cbcb140","hex_latitude":"07724a20","is_valid_coordinates":true} 
[2026-09-24 18:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:23:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,105,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790254294000,"timestamp_ms":1790254294000,"timestamp_seconds":1790254294,"priority":1,"record_length":96,"hex_timestamp":"000001a0d378a3f0"} 
[2026-09-24 18:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 18:23:45] 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-09-24 18:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"105":206,"27":54016,"24":22,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16]} 
[2026-09-24 18:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 18:23:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:23:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:23:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_105":206,"unknown_27":54016,"ignition":22,"odometer":null}} 
[2026-09-24 18:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":191377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891302,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:23:45] local.INFO: GPS data processed {"connection_id":191377,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:23:45] local.INFO: Acknowledgment sent {"connection_id":191377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:23:45] local.INFO: TCP Data received {"connection_id":191579,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:23:45] local.INFO: Processing buffer {"connection_id":191579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:23:45] local.INFO: IMEI packet received {"connection_id":191579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":191579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:23:49] local.INFO: TCP Data received {"connection_id":191579,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:23:49] local.INFO: Processing buffer {"connection_id":191579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:23:49] local.INFO: IMEI packet received {"connection_id":191579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":191579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:23:50] local.INFO: TCP Data received {"connection_id":191579,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3791d08012d1d6240071c03200035010e28..."} 
[2026-09-24 18:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3791d08012d1d6240071c03200035010e28..."} 
[2026-09-24 18:23:50] local.INFO: Processing buffer {"connection_id":191579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3791d08012d1d6240071c03200035010e28..."} 
[2026-09-24 18:23:50] local.INFO: Packet analysis {"connection_id":191579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d379"} 
[2026-09-24 18:23:50] local.INFO: Extracted packet for processing {"connection_id":191579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d379"} 
[2026-09-24 18:23:50] local.INFO: GPS Element Parsed {"raw_longitude":756900416,"raw_latitude":119276320,"longitude_deg":75.6900416,"latitude_deg":11.927632,"altitude":53,"angle":270,"satellites":40,"speed":29,"hex_longitude":"2d1d6240","hex_latitude":"071c0320","is_valid_coordinates":true} 
[2026-09-24 18:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305106432001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23002174095097856,"note":"Value kept but may cause issues"} 
[2026-09-24 18:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2119858448886771712,"note":"Value kept but may cause issues"} 
[2026-09-24 18:23:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790254325000,"timestamp_ms":1790254325000,"timestamp_seconds":1790254325,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3791d08"} 
[2026-09-24 18:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:23:50] 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-09-24 18:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-24 18:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305106432001,"66":13820,"83":41984,"24":29,"16":23002174095097856,"45":2119858448886771712},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-24 18:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305106432001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:23:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23002174095097856,"km_value":23002174095097.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2119858448886771712,"description":"Unknown IO ID 45"} 
[2026-09-24 18:23:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458305106432001,"power":13820,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":2119858448886771712}} 
[2026-09-24 18:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":191579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:23:50] local.INFO: GPS data processed {"connection_id":191579,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:23:50] local.INFO: Acknowledgment sent {"connection_id":191579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:24:05] local.INFO: TCP Data received {"connection_id":194235,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:24:05] local.INFO: Processing buffer {"connection_id":194235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:24:05] local.INFO: IMEI packet received {"connection_id":194235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":194235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:24:06] local.INFO: TCP Data received {"connection_id":192959,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:24:06] local.INFO: Processing buffer {"connection_id":192959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:24:06] local.INFO: Packet analysis {"connection_id":192959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:24:06] local.INFO: Extracted packet for processing {"connection_id":192959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305026048001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790254309000,"timestamp_ms":1790254309000,"timestamp_seconds":1790254309,"priority":1,"record_length":96,"hex_timestamp":"000001a0d378de88"} 
[2026-09-24 18:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305026048001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305026048001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:24:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305026048001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":192959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:24:06] local.INFO: GPS data processed {"connection_id":192959,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:24:06] local.INFO: Acknowledgment sent {"connection_id":192959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:24:08] local.INFO: TCP Data received {"connection_id":194235,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:24:08] local.INFO: Processing buffer {"connection_id":194235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:24:08] local.INFO: IMEI packet received {"connection_id":194235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":194235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:24:11] local.INFO: TCP Data received {"connection_id":194235,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:24:11] local.INFO: Processing buffer {"connection_id":194235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:24:11] local.INFO: IMEI packet received {"connection_id":194235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":194235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:24:13] local.INFO: TCP Data received {"connection_id":194235,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3798a680100000000000000000000000000..."} 
[2026-09-24 18:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3798a680100000000000000000000000000..."} 
[2026-09-24 18:24:13] local.INFO: Processing buffer {"connection_id":194235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3798a680100000000000000000000000000..."} 
[2026-09-24 18:24:13] local.INFO: Packet analysis {"connection_id":194235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d379"} 
[2026-09-24 18:24:13] local.INFO: Extracted packet for processing {"connection_id":194235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d379"} 
[2026-09-24 18:24:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 18:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305099264001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4850024922974904320,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790254353000,"timestamp_ms":1790254353000,"timestamp_seconds":1790254353,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3798a68"} 
[2026-09-24 18:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 18:24:13] 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-09-24 18:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":194235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":194235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":194235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":194235,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 18:24:13] local.INFO: GPS data processed {"connection_id":194235,"processed":0,"errors":0,"total":1} 
[2026-09-24 18:24:13] local.INFO: Acknowledgment sent {"connection_id":194235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:24:21] local.INFO: TCP Data received {"connection_id":191579,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3793090012d1d54c0071c01a80034010227..."} 
[2026-09-24 18:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3793090012d1d54c0071c01a80034010227..."} 
[2026-09-24 18:24:21] local.INFO: Processing buffer {"connection_id":191579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3793090012d1d54c0071c01a80034010227..."} 
[2026-09-24 18:24:21] local.INFO: Packet analysis {"connection_id":191579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d379"} 
[2026-09-24 18:24:21] local.INFO: Extracted packet for processing {"connection_id":191579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d379"} 
[2026-09-24 18:24:21] local.INFO: GPS Element Parsed {"raw_longitude":756896960,"raw_latitude":119275944,"longitude_deg":75.689696,"latitude_deg":11.9275944,"altitude":52,"angle":258,"satellites":39,"speed":25,"hex_longitude":"2d1d54c0","hex_latitude":"071c01a8","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305107200001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23002337303855104,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2117325174096470016,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790254330000,"timestamp_ms":1790254330000,"timestamp_seconds":1790254330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3793090"} 
[2026-09-24 18:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-24 18:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305107200001,"66":13852,"83":41984,"24":25,"16":23002337303855104,"45":2117325174096470016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-24 18:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305107200001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:24:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23002337303855104,"km_value":23002337303855.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2117325174096470016,"description":"Unknown IO ID 45"} 
[2026-09-24 18:24:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458305107200001,"power":13852,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":2117325174096470016}} 
[2026-09-24 18:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":191579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:24:21] local.INFO: GPS data processed {"connection_id":191579,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:24:21] local.INFO: Acknowledgment sent {"connection_id":191579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:24:28] local.INFO: TCP Data received {"connection_id":191580,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:24:28] local.INFO: Processing buffer {"connection_id":191580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:24:28] local.INFO: IMEI packet received {"connection_id":191580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":191580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:24:33] local.INFO: TCP Data received {"connection_id":191580,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:24:33] local.INFO: Processing buffer {"connection_id":191580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:24:33] local.INFO: IMEI packet received {"connection_id":191580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":191580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:24:35] local.INFO: TCP Data received {"connection_id":191580,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:24:35] local.INFO: Processing buffer {"connection_id":191580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:24:35] local.INFO: Packet analysis {"connection_id":191580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:24:35] local.INFO: Extracted packet for processing {"connection_id":191580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305026048001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790254309000,"timestamp_ms":1790254309000,"timestamp_seconds":1790254309,"priority":1,"record_length":96,"hex_timestamp":"000001a0d378de88"} 
[2026-09-24 18:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18: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-09-24 18:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305026048001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305026048001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:24:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:24:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305026048001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":191580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:24:35] local.INFO: GPS data processed {"connection_id":191580,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:24:35] local.INFO: Acknowledgment sent {"connection_id":191580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:24:46] local.INFO: TCP Data received {"connection_id":194235,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d378f9e0012cbca30007720460000d00d731..."} 
[2026-09-24 18:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d378f9e0012cbca30007720460000d00d731..."} 
[2026-09-24 18:24:46] local.INFO: Processing buffer {"connection_id":194235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d378f9e0012cbca30007720460000d00d731..."} 
[2026-09-24 18:24:46] local.INFO: Packet analysis {"connection_id":194235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:24:46] local.INFO: Extracted packet for processing {"connection_id":194235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:24:46] local.INFO: GPS Element Parsed {"raw_longitude":750560000,"raw_latitude":124912736,"longitude_deg":75.056,"latitude_deg":12.4912736,"altitude":13,"angle":215,"satellites":49,"speed":40,"hex_longitude":"2cbca300","hex_latitude":"07720460","is_valid_coordinates":true} 
[2026-09-24 18:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,105,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790254316000,"timestamp_ms":1790254316000,"timestamp_seconds":1790254316,"priority":1,"record_length":96,"hex_timestamp":"000001a0d378f9e0"} 
[2026-09-24 18:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 18:24:46] 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-09-24 18:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":194235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":194235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":194235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28332,"105":206,"27":54016,"24":40,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16]} 
[2026-09-24 18:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 18:24:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:24:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:24:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28332,"unknown_105":206,"unknown_27":54016,"ignition":40,"odometer":null}} 
[2026-09-24 18:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":194235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891307,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:24:46] local.INFO: GPS data processed {"connection_id":194235,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:24:46] local.INFO: Acknowledgment sent {"connection_id":194235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:24:50] local.INFO: TCP Data received {"connection_id":192960,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:24:50] local.INFO: Processing buffer {"connection_id":192960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:24:50] local.INFO: IMEI packet received {"connection_id":192960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":192960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:24:51] local.INFO: TCP Data received {"connection_id":192960,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:24:51] local.INFO: Processing buffer {"connection_id":192960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:24:51] local.INFO: IMEI packet received {"connection_id":192960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":192960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:24:52] local.INFO: TCP Data received {"connection_id":192960,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37a9fc0012d1c3700071bc9580035010329..."} 
[2026-09-24 18:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37a9fc0012d1c3700071bc9580035010329..."} 
[2026-09-24 18:24:52] local.INFO: Processing buffer {"connection_id":192960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37a9fc0012d1c3700071bc9580035010329..."} 
[2026-09-24 18:24:52] local.INFO: Packet analysis {"connection_id":192960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37a"} 
[2026-09-24 18:24:52] local.INFO: Extracted packet for processing {"connection_id":192960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37a"} 
[2026-09-24 18:24:52] local.INFO: GPS Element Parsed {"raw_longitude":756823808,"raw_latitude":119261528,"longitude_deg":75.6823808,"latitude_deg":11.9261528,"altitude":53,"angle":259,"satellites":41,"speed":23,"hex_longitude":"2d1c3700","hex_latitude":"071bc958","is_valid_coordinates":true} 
[2026-09-24 18:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305132544001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23005915011612672,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2033093787312019456,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790254424000,"timestamp_ms":1790254424000,"timestamp_seconds":1790254424,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37a9fc0"} 
[2026-09-24 18:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-24 18:24:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:52] local.WARNING: Large IO value detected {"io_id":24,"raw_value":7881307953627136,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652633542738432,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3547977864,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:52] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2181038080,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:52] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3613392951,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1766981838,"corrected_to":0} 
[2026-09-24 18:24:52] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2147560732,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1074207706,"corrected_to":0} 
[2026-09-24 18:24:52] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3122790400,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:52] local.WARNING: Large IO value detected {"io_id":181,"raw_value":6917860105216067355,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:52] local.WARNING: Large IO value detected {"io_id":229,"raw_value":-576401374529126373,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:52] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,83,24,241,157,16,187,160,105,45,128,199,49,42,10,66,82,192,204,52,35,186,34,64,1,240,227,211,27,4,113,205,40,3,200,152,239,54,2,81,7,28,181,229],"length":528,"final_offset":658,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1766981838,"validated":0},{"io_id":200,"original":1074207706,"validated":0}]} 
[2026-09-24 18:24:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819337433616941056,"timestamp_seconds":3819337433616941.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 18:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":192960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":192960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":192960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305132544001,"66":13830,"83":41984,"24":23,"16":23005915011612672,"45":2033093787312019456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-24 18:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305132544001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:24:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23005915011612672,"km_value":23005915011612.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2033093787312019456,"description":"Unknown IO ID 45"} 
[2026-09-24 18:24:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458305132544001,"power":13830,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":2033093787312019456}} 
[2026-09-24 18:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":192960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:24:52] local.INFO: GPS data processed {"connection_id":192960,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:24:52] local.INFO: Acknowledgment sent {"connection_id":192960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:24:54] local.INFO: TCP Data received {"connection_id":192960,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37ac2e8012d1c24c0071bc390003900f725..."} 
[2026-09-24 18:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37ac2e8012d1c24c0071bc390003900f725..."} 
[2026-09-24 18:24:54] local.INFO: Processing buffer {"connection_id":192960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37ac2e8012d1c24c0071bc390003900f725..."} 
[2026-09-24 18:24:54] local.INFO: Packet analysis {"connection_id":192960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37a"} 
[2026-09-24 18:24:54] local.INFO: Extracted packet for processing {"connection_id":192960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37a"} 
[2026-09-24 18:24:54] local.INFO: GPS Element Parsed {"raw_longitude":756819136,"raw_latitude":119260048,"longitude_deg":75.6819136,"latitude_deg":11.9260048,"altitude":57,"angle":247,"satellites":37,"speed":21,"hex_longitude":"2d1c24c0","hex_latitude":"071bc390","is_valid_coordinates":true} 
[2026-09-24 18:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305132544001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23006146939846656,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2033093787312019456,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790254433000,"timestamp_ms":1790254433000,"timestamp_seconds":1790254433,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37ac2e8"} 
[2026-09-24 18:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-24 18:24:54] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:54] local.WARNING: Large IO value detected {"io_id":24,"raw_value":10696057720733696,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652633542712832,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:54] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3547988864,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:54] local.WARNING: Large IO value detected {"io_id":186,"raw_value":3976200192,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:54] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3512729653,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1766981838,"corrected_to":0} 
[2026-09-24 18:24:54] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3125084160,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:54] local.WARNING: Large IO value detected {"io_id":216,"raw_value":-8646580207345465573,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:54] local.WARNING: Large IO value detected {"io_id":222,"raw_value":4035284644099915804,"note":"Value kept but may cause issues"} 
[2026-09-24 18:24:54] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,83,24,241,157,16,187,160,159,45,201,53,41,10,66,105,128,199,49,42,82,192,1,240,28,227,186,211,27,4,113,205,46,15,188,96,39,239,54,2,81,7,55,38,216,222],"length":528,"final_offset":658,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1766981838,"validated":0}]} 
[2026-09-24 18:24:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819337433616941056,"timestamp_seconds":3819337433616941.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 18:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305132544001,"66":13928,"83":41984,"24":21,"16":23006146939846656,"45":2033093787312019456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-24 18:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305132544001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:24:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23006146939846656,"km_value":23006146939846.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":2033093787312019456,"description":"Unknown IO ID 45"} 
[2026-09-24 18:24:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458305132544001,"power":13928,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":2033093787312019456}} 
[2026-09-24 18:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":192960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:24:55] local.INFO: GPS data processed {"connection_id":192960,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:24:55] local.INFO: Acknowledgment sent {"connection_id":192960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:25:06] local.INFO: TCP Data received {"connection_id":192961,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:25:06] local.INFO: Processing buffer {"connection_id":192961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:25:06] local.INFO: IMEI packet received {"connection_id":192961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":192961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:25:06] local.INFO: TCP Data received {"connection_id":191580,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:25:06] local.INFO: Processing buffer {"connection_id":191580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:25:06] local.INFO: Packet analysis {"connection_id":191580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:25:06] local.INFO: Extracted packet for processing {"connection_id":191580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:25:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305026048001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790254309000,"timestamp_ms":1790254309000,"timestamp_seconds":1790254309,"priority":1,"record_length":96,"hex_timestamp":"000001a0d378de88"} 
[2026-09-24 18:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:25: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-09-24 18:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305026048001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305026048001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:25:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:25:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305026048001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":191580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:25:06] local.INFO: GPS data processed {"connection_id":191580,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:25:06] local.INFO: Acknowledgment sent {"connection_id":191580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:25:07] local.INFO: TCP Data received {"connection_id":192961,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:25:07] local.INFO: Processing buffer {"connection_id":192961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:25:07] local.INFO: IMEI packet received {"connection_id":192961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":192961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:25:11] local.INFO: TCP Data received {"connection_id":192961,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:25:11] local.INFO: Processing buffer {"connection_id":192961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:25:11] local.INFO: IMEI packet received {"connection_id":192961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":192961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:25:13] local.INFO: TCP Data received {"connection_id":192961,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3794418012cbc6ec00771d478001200c330..."} 
[2026-09-24 18:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3794418012cbc6ec00771d478001200c330..."} 
[2026-09-24 18:25:13] local.INFO: Processing buffer {"connection_id":192961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3794418012cbc6ec00771d478001200c330..."} 
[2026-09-24 18:25:13] local.INFO: Packet analysis {"connection_id":192961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d379"} 
[2026-09-24 18:25:13] local.INFO: Extracted packet for processing {"connection_id":192961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d379"} 
[2026-09-24 18:25:13] local.INFO: GPS Element Parsed {"raw_longitude":750546624,"raw_latitude":124900472,"longitude_deg":75.0546624,"latitude_deg":12.4900472,"altitude":18,"angle":195,"satellites":48,"speed":34,"hex_longitude":"2cbc6ec0","hex_latitude":"0771d478","is_valid_coordinates":true} 
[2026-09-24 18:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305104896001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:25:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4854035941397602304,"note":"Value kept but may cause issues"} 
[2026-09-24 18:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790254335000,"timestamp_ms":1790254335000,"timestamp_seconds":1790254335,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3794418"} 
[2026-09-24 18:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 18:25:13] 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-09-24 18:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305104896001,"66":28354,"105":206,"27":54016,"24":34,"16":3605341577150464,"44":-4854035941397602304},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305104896001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:25:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:25:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:25:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4854035941397602304,"description":"Unknown IO ID 44"} 
[2026-09-24 18:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305104896001,"power":28354,"unknown_105":206,"unknown_27":54016,"ignition":34,"odometer":null,"unknown_44":-4854035941397602304}} 
[2026-09-24 18:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":192961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891311,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:25:13] local.INFO: GPS data processed {"connection_id":192961,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:25:13] local.INFO: Acknowledgment sent {"connection_id":192961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:25:27] local.INFO: TCP Data received {"connection_id":192960,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37ade40012d1c1580071bbef0003c010823..."} 
[2026-09-24 18:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37ade40012d1c1580071bbef0003c010823..."} 
[2026-09-24 18:25:27] local.INFO: Processing buffer {"connection_id":192960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37ade40012d1c1580071bbef0003c010823..."} 
[2026-09-24 18:25:27] local.INFO: Packet analysis {"connection_id":192960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37a"} 
[2026-09-24 18:25:27] local.INFO: Extracted packet for processing {"connection_id":192960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37a"} 
[2026-09-24 18:25:27] local.INFO: GPS Element Parsed {"raw_longitude":756815232,"raw_latitude":119258864,"longitude_deg":75.6815232,"latitude_deg":11.9258864,"altitude":60,"angle":264,"satellites":35,"speed":26,"hex_longitude":"2d1c1580","hex_latitude":"071bbef0","is_valid_coordinates":true} 
[2026-09-24 18:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305134848001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23006344508342272,"note":"Value kept but may cause issues"} 
[2026-09-24 18:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2027956868986671104,"note":"Value kept but may cause issues"} 
[2026-09-24 18:25:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790254440000,"timestamp_ms":1790254440000,"timestamp_seconds":1790254440,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37ade40"} 
[2026-09-24 18:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-24 18:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305134848001,"66":13906,"83":41984,"24":26,"16":23006344508342272,"45":2027956868986671104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-09-24 18:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305134848001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:25:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23006344508342272,"km_value":23006344508342.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2027956868986671104,"description":"Unknown IO ID 45"} 
[2026-09-24 18:25:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458305134848001,"power":13906,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":2027956868986671104}} 
[2026-09-24 18:25:27] local.INFO: TCP Data received {"connection_id":194236,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:25:27] local.INFO: Processing buffer {"connection_id":194236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:25:27] local.INFO: IMEI packet received {"connection_id":194236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":194236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":192960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:25:28] local.INFO: GPS data processed {"connection_id":192960,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:25:28] local.INFO: Acknowledgment sent {"connection_id":192960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:25:33] local.INFO: TCP Data received {"connection_id":194236,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:25:33] local.INFO: Processing buffer {"connection_id":194236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:25:33] local.INFO: IMEI packet received {"connection_id":194236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":194236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:25:34] local.INFO: TCP Data received {"connection_id":194236,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:25:34] local.INFO: Processing buffer {"connection_id":194236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:25:34] local.INFO: Packet analysis {"connection_id":194236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:25:34] local.INFO: Extracted packet for processing {"connection_id":194236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:25:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305026048001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790254309000,"timestamp_ms":1790254309000,"timestamp_seconds":1790254309,"priority":1,"record_length":96,"hex_timestamp":"000001a0d378de88"} 
[2026-09-24 18:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305026048001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305026048001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:25:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:25:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305026048001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":194236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:25:34] local.INFO: GPS data processed {"connection_id":194236,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:25:34] local.INFO: Acknowledgment sent {"connection_id":194236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:25:40] local.INFO: TCP Data received {"connection_id":192962,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:25:40] local.INFO: Processing buffer {"connection_id":192962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:25:40] local.INFO: IMEI packet received {"connection_id":192962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":192962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:25:41] local.INFO: TCP Data received {"connection_id":192962,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:25:41] local.INFO: Processing buffer {"connection_id":192962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:25:41] local.INFO: IMEI packet received {"connection_id":192962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":192962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:25:43] local.INFO: TCP Data received {"connection_id":192962,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:25:43] local.INFO: Processing buffer {"connection_id":192962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:25:43] local.INFO: IMEI packet received {"connection_id":192962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":192962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:25:44] local.INFO: TCP Data received {"connection_id":192962,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:25:44] local.INFO: Processing buffer {"connection_id":192962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:25:44] local.INFO: IMEI packet received {"connection_id":192962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":192962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:25:45] local.INFO: TCP Data received {"connection_id":192961,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37a2a900100000000000000000000000000..."} 
[2026-09-24 18:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37a2a900100000000000000000000000000..."} 
[2026-09-24 18:25:45] local.INFO: Processing buffer {"connection_id":192961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37a2a900100000000000000000000000000..."} 
[2026-09-24 18:25:45] local.INFO: Packet analysis {"connection_id":192961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37a"} 
[2026-09-24 18:25:45] local.INFO: Extracted packet for processing {"connection_id":192961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37a"} 
[2026-09-24 18:25:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 18:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305109760001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:25:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4868743008933873664,"note":"Value kept but may cause issues"} 
[2026-09-24 18:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790254394000,"timestamp_ms":1790254394000,"timestamp_seconds":1790254394,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37a2a90"} 
[2026-09-24 18:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:25: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-09-24 18:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":192961,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 18:25:45] local.INFO: GPS data processed {"connection_id":192961,"processed":0,"errors":0,"total":1} 
[2026-09-24 18:25:45] local.INFO: Acknowledgment sent {"connection_id":192961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:26:06] local.INFO: TCP Data received {"connection_id":194236,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:26:06] local.INFO: Processing buffer {"connection_id":194236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:26:06] local.INFO: Packet analysis {"connection_id":194236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:26:06] local.INFO: Extracted packet for processing {"connection_id":194236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:26:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305026048001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790254309000,"timestamp_ms":1790254309000,"timestamp_seconds":1790254309,"priority":1,"record_length":96,"hex_timestamp":"000001a0d378de88"} 
[2026-09-24 18:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305026048001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305026048001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:26:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:26:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305026048001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":194236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:26:06] local.INFO: GPS data processed {"connection_id":194236,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:26:06] local.INFO: Acknowledgment sent {"connection_id":194236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:26:12] local.INFO: TCP Data received {"connection_id":192963,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:26:12] local.INFO: Processing buffer {"connection_id":192963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:26:12] local.INFO: IMEI packet received {"connection_id":192963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":192963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:26:16] local.INFO: TCP Data received {"connection_id":192963,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:26:16] local.INFO: Processing buffer {"connection_id":192963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:26:16] local.INFO: IMEI packet received {"connection_id":192963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":192963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:26:17] local.INFO: TCP Data received {"connection_id":192963,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3799df0012cbc8b800771ab880016005f32..."} 
[2026-09-24 18:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3799df0012cbc8b800771ab880016005f32..."} 
[2026-09-24 18:26:17] local.INFO: Processing buffer {"connection_id":192963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3799df0012cbc8b800771ab880016005f32..."} 
[2026-09-24 18:26:17] local.INFO: Packet analysis {"connection_id":192963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d379"} 
[2026-09-24 18:26:17] local.INFO: Extracted packet for processing {"connection_id":192963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d379"} 
[2026-09-24 18:26:17] local.INFO: GPS Element Parsed {"raw_longitude":750553984,"raw_latitude":124889992,"longitude_deg":75.0553984,"latitude_deg":12.4889992,"altitude":22,"angle":95,"satellites":50,"speed":16,"hex_longitude":"2cbc8b80","hex_latitude":"0771ab88","is_valid_coordinates":true} 
[2026-09-24 18:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:26:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,105,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790254358000,"timestamp_ms":1790254358000,"timestamp_seconds":1790254358,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3799df0"} 
[2026-09-24 18:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:26:17] 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-09-24 18:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":192963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":192963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":192963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"105":206,"27":54016,"24":16,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16]} 
[2026-09-24 18:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 18:26:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:26:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:26:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_105":206,"unknown_27":54016,"ignition":16,"odometer":null}} 
[2026-09-24 18:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":192963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891315,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:26:17] local.INFO: GPS data processed {"connection_id":192963,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:26:17] local.INFO: Acknowledgment sent {"connection_id":192963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:26:20] local.INFO: TCP Data received {"connection_id":192963,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37a84680100000000000000000000000000..."} 
[2026-09-24 18:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37a84680100000000000000000000000000..."} 
[2026-09-24 18:26:20] local.INFO: Processing buffer {"connection_id":192963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37a84680100000000000000000000000000..."} 
[2026-09-24 18:26:20] local.INFO: Packet analysis {"connection_id":192963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37a"} 
[2026-09-24 18:26:20] local.INFO: Extracted packet for processing {"connection_id":192963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37a"} 
[2026-09-24 18:26: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-09-24 18: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-09-24 18:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305115648001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:26:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4860650603356125184,"note":"Value kept but may cause issues"} 
[2026-09-24 18:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790254417000,"timestamp_ms":1790254417000,"timestamp_seconds":1790254417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37a8468"} 
[2026-09-24 18:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 18:26:20] 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-09-24 18: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-09-24 18:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":192963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":192963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":192963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":192963,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 18:26:20] local.INFO: GPS data processed {"connection_id":192963,"processed":0,"errors":0,"total":1} 
[2026-09-24 18:26:20] local.INFO: Acknowledgment sent {"connection_id":192963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:26:27] local.INFO: TCP Data received {"connection_id":191378,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:26:27] local.INFO: Processing buffer {"connection_id":191378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:26:27] local.INFO: IMEI packet received {"connection_id":191378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":191378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:26:33] local.INFO: TCP Data received {"connection_id":191378,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:26:33] local.INFO: Processing buffer {"connection_id":191378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:26:33] local.INFO: IMEI packet received {"connection_id":191378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":191378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:26:34] local.INFO: TCP Data received {"connection_id":191378,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:26:34] local.INFO: Processing buffer {"connection_id":191378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:26:34] local.INFO: Packet analysis {"connection_id":191378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:26:34] local.INFO: Extracted packet for processing {"connection_id":191378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:26:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305026048001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790254309000,"timestamp_ms":1790254309000,"timestamp_seconds":1790254309,"priority":1,"record_length":96,"hex_timestamp":"000001a0d378de88"} 
[2026-09-24 18:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305026048001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305026048001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:26:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:26:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305026048001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":191378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:26:34] local.INFO: GPS data processed {"connection_id":191378,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:26:34] local.INFO: Acknowledgment sent {"connection_id":191378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:26:52] local.INFO: TCP Data received {"connection_id":192963,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37a0b50012cbcb9000771b3500020004f31..."} 
[2026-09-24 18:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37a0b50012cbcb9000771b3500020004f31..."} 
[2026-09-24 18:26:52] local.INFO: Processing buffer {"connection_id":192963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37a0b50012cbcb9000771b3500020004f31..."} 
[2026-09-24 18:26:52] local.INFO: Packet analysis {"connection_id":192963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37a"} 
[2026-09-24 18:26:52] local.INFO: Extracted packet for processing {"connection_id":192963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37a"} 
[2026-09-24 18:26:52] local.INFO: GPS Element Parsed {"raw_longitude":750565632,"raw_latitude":124891984,"longitude_deg":75.0565632,"latitude_deg":12.4891984,"altitude":32,"angle":79,"satellites":49,"speed":13,"hex_longitude":"2cbcb900","hex_latitude":"0771b350","is_valid_coordinates":true} 
[2026-09-24 18:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:26:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,105,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790254386000,"timestamp_ms":1790254386000,"timestamp_seconds":1790254386,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37a0b50"} 
[2026-09-24 18:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:26: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-09-24 18:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":192963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":192963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":192963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28278,"105":206,"27":54016,"24":13,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16]} 
[2026-09-24 18:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 18:26:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:26:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:26:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28278,"unknown_105":206,"unknown_27":54016,"ignition":13,"odometer":null}} 
[2026-09-24 18:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":192963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891317,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:26:52] local.INFO: GPS data processed {"connection_id":192963,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:26:52] local.INFO: Acknowledgment sent {"connection_id":192963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:27:05] local.INFO: TCP Data received {"connection_id":191378,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:27:06] local.INFO: Processing buffer {"connection_id":191378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d378de88012d34c14006aa4940000900f530..."} 
[2026-09-24 18:27:06] local.INFO: Packet analysis {"connection_id":191378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:27:06] local.INFO: Extracted packet for processing {"connection_id":191378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d378"} 
[2026-09-24 18:27:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305026048001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790254309000,"timestamp_ms":1790254309000,"timestamp_seconds":1790254309,"priority":1,"record_length":96,"hex_timestamp":"000001a0d378de88"} 
[2026-09-24 18:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:27: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-09-24 18:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305026048001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305026048001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:27:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:27:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305026048001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":191378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:27:06] local.INFO: GPS data processed {"connection_id":191378,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:27:06] local.INFO: Acknowledgment sent {"connection_id":191378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:27:06] local.INFO: TCP Data received {"connection_id":194237,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:27:06] local.INFO: Processing buffer {"connection_id":194237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:27:06] local.INFO: IMEI packet received {"connection_id":194237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":194237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:27:12] local.INFO: TCP Data received {"connection_id":194237,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:27:12] local.INFO: Processing buffer {"connection_id":194237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:27:12] local.INFO: IMEI packet received {"connection_id":194237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":194237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:27:13] local.INFO: TCP Data received {"connection_id":194237,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37af1c80100000000000000000000000000..."} 
[2026-09-24 18:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37af1c80100000000000000000000000000..."} 
[2026-09-24 18:27:13] local.INFO: Processing buffer {"connection_id":194237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37af1c80100000000000000000000000000..."} 
[2026-09-24 18:27:13] local.INFO: Packet analysis {"connection_id":194237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37a"} 
[2026-09-24 18:27:13] local.INFO: Extracted packet for processing {"connection_id":194237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37a"} 
[2026-09-24 18:27:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 18:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305122816001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:27:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4847843491915280384,"note":"Value kept but may cause issues"} 
[2026-09-24 18:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790254445000,"timestamp_ms":1790254445000,"timestamp_seconds":1790254445,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37af1c8"} 
[2026-09-24 18:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 18:27:13] 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-09-24 18:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":194237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":194237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":194237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":194237,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 18:27:13] local.INFO: GPS data processed {"connection_id":194237,"processed":0,"errors":0,"total":1} 
[2026-09-24 18:27:13] local.INFO: Acknowledgment sent {"connection_id":194237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:27:28] local.INFO: TCP Data received {"connection_id":194238,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:27:28] local.INFO: Processing buffer {"connection_id":194238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:27:28] local.INFO: IMEI packet received {"connection_id":194238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":194238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:27:28] local.INFO: TCP Data received {"connection_id":194238,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:27:28] local.INFO: Processing buffer {"connection_id":194238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:27:28] local.INFO: IMEI packet received {"connection_id":194238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":194238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:27:33] local.INFO: TCP Data received {"connection_id":194238,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:27:33] local.INFO: Processing buffer {"connection_id":194238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:27:33] local.INFO: IMEI packet received {"connection_id":194238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":194238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:27:40] local.INFO: TCP Data received {"connection_id":194238,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:27:40] local.INFO: Processing buffer {"connection_id":194238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:27:40] local.INFO: Packet analysis {"connection_id":194238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37d"} 
[2026-09-24 18:27:40] local.INFO: Extracted packet for processing {"connection_id":194238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37d"} 
[2026-09-24 18:27:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305103104001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790254610000,"timestamp_ms":1790254610000,"timestamp_seconds":1790254610,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37d7650"} 
[2026-09-24 18:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 18:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":194238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":194238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":194238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305103104001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305103104001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:27:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:27:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305103104001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":194238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:27:40] local.INFO: GPS data processed {"connection_id":194238,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:27:40] local.INFO: Acknowledgment sent {"connection_id":194238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:27:44] local.INFO: TCP Data received {"connection_id":194237,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37a8468012cbce6000771a080002800752d..."} 
[2026-09-24 18:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37a8468012cbce6000771a080002800752d..."} 
[2026-09-24 18:27:44] local.INFO: Processing buffer {"connection_id":194237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37a8468012cbce6000771a080002800752d..."} 
[2026-09-24 18:27:44] local.INFO: Packet analysis {"connection_id":194237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37a"} 
[2026-09-24 18:27:44] local.INFO: Extracted packet for processing {"connection_id":194237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37a"} 
[2026-09-24 18:27:44] local.INFO: GPS Element Parsed {"raw_longitude":750577152,"raw_latitude":124887168,"longitude_deg":75.0577152,"latitude_deg":12.4887168,"altitude":40,"angle":117,"satellites":45,"speed":16,"hex_longitude":"2cbce600","hex_latitude":"0771a080","is_valid_coordinates":true} 
[2026-09-24 18:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:27:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,105,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790254417000,"timestamp_ms":1790254417000,"timestamp_seconds":1790254417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37a8468"} 
[2026-09-24 18:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:27:44] 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-09-24 18:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"105":206,"27":54016,"24":16,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16]} 
[2026-09-24 18:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 18:27:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:27:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:27:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_105":206,"unknown_27":54016,"ignition":16,"odometer":null}} 
[2026-09-24 18:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":194237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891320,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:27:44] local.INFO: GPS data processed {"connection_id":194237,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:27:44] local.INFO: Acknowledgment sent {"connection_id":194237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:28:04] local.INFO: TCP Data received {"connection_id":192964,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:28:04] local.INFO: Processing buffer {"connection_id":192964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:28:04] local.INFO: IMEI packet received {"connection_id":192964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":192964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:28:06] local.INFO: TCP Data received {"connection_id":192964,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:28:06] local.INFO: Processing buffer {"connection_id":192964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:28:06] local.INFO: IMEI packet received {"connection_id":192964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":192964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:28:12] local.INFO: TCP Data received {"connection_id":192964,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:28:12] local.INFO: Processing buffer {"connection_id":192964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:28:12] local.INFO: IMEI packet received {"connection_id":192964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":192964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:28:13] local.INFO: TCP Data received {"connection_id":192964,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37b6ae00100000000000000000000000000..."} 
[2026-09-24 18:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37b6ae00100000000000000000000000000..."} 
[2026-09-24 18:28:13] local.INFO: Processing buffer {"connection_id":192964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37b6ae00100000000000000000000000000..."} 
[2026-09-24 18:28:13] local.INFO: Packet analysis {"connection_id":192964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37b"} 
[2026-09-24 18:28:13] local.INFO: Extracted packet for processing {"connection_id":192964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37b"} 
[2026-09-24 18:28:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305130752001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:28:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835177117964533760,"note":"Value kept but may cause issues"} 
[2026-09-24 18:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790254476000,"timestamp_ms":1790254476000,"timestamp_seconds":1790254476,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37b6ae0"} 
[2026-09-24 18:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:28:13] 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-09-24 18:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":192964,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 18:28:13] local.INFO: GPS data processed {"connection_id":192964,"processed":0,"errors":0,"total":1} 
[2026-09-24 18:28:13] local.INFO: Acknowledgment sent {"connection_id":192964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:28:13] local.INFO: TCP Data received {"connection_id":194238,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:28:13] local.INFO: Processing buffer {"connection_id":194238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:28:13] local.INFO: Packet analysis {"connection_id":194238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37d"} 
[2026-09-24 18:28:13] local.INFO: Extracted packet for processing {"connection_id":194238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37d"} 
[2026-09-24 18:28:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305103104001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790254610000,"timestamp_ms":1790254610000,"timestamp_seconds":1790254610,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37d7650"} 
[2026-09-24 18:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:28: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-09-24 18:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 18:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":194238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":194238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":194238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305103104001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305103104001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:28:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:28:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305103104001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":194238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:28:13] local.INFO: GPS data processed {"connection_id":194238,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:28:13] local.INFO: Acknowledgment sent {"connection_id":194238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:28:28] local.INFO: TCP Data received {"connection_id":191583,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:28:28] local.INFO: Processing buffer {"connection_id":191583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:28:28] local.INFO: IMEI packet received {"connection_id":191583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":191583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:28:33] local.INFO: TCP Data received {"connection_id":191583,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:28:33] local.INFO: Processing buffer {"connection_id":191583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:28:33] local.INFO: IMEI packet received {"connection_id":191583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":191583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:28:34] local.INFO: TCP Data received {"connection_id":191583,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:28:34] local.INFO: Processing buffer {"connection_id":191583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:28:34] local.INFO: Packet analysis {"connection_id":191583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37d"} 
[2026-09-24 18:28:34] local.INFO: Extracted packet for processing {"connection_id":191583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37d"} 
[2026-09-24 18:28:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305103104001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790254610000,"timestamp_ms":1790254610000,"timestamp_seconds":1790254610,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37d7650"} 
[2026-09-24 18:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 18:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305103104001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305103104001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:28:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:28:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305103104001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":191583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:28:34] local.INFO: GPS data processed {"connection_id":191583,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:28:34] local.INFO: Acknowledgment sent {"connection_id":191583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:28:45] local.INFO: TCP Data received {"connection_id":192964,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37afd80012cbd0e80077186200030008e2d..."} 
[2026-09-24 18:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37afd80012cbd0e80077186200030008e2d..."} 
[2026-09-24 18:28:45] local.INFO: Processing buffer {"connection_id":192964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37afd80012cbd0e80077186200030008e2d..."} 
[2026-09-24 18:28:45] local.INFO: Packet analysis {"connection_id":192964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37a"} 
[2026-09-24 18:28:45] local.INFO: Extracted packet for processing {"connection_id":192964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37a"} 
[2026-09-24 18:28:45] local.INFO: GPS Element Parsed {"raw_longitude":750587520,"raw_latitude":124880416,"longitude_deg":75.058752,"latitude_deg":12.4880416,"altitude":48,"angle":142,"satellites":45,"speed":16,"hex_longitude":"2cbd0e80","hex_latitude":"07718620","is_valid_coordinates":true} 
[2026-09-24 18:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:28:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,105,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 18:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790254448000,"timestamp_ms":1790254448000,"timestamp_seconds":1790254448,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37afd80"} 
[2026-09-24 18:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:28: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:28:45] 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-09-24 18:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28398,"105":206,"27":54016,"24":16,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16]} 
[2026-09-24 18:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 18:28:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:28:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:28:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28398,"unknown_105":206,"unknown_27":54016,"ignition":16,"odometer":null}} 
[2026-09-24 18:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":192964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891323,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:28:45] local.INFO: GPS data processed {"connection_id":192964,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:28:45] local.INFO: Acknowledgment sent {"connection_id":192964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:29:06] local.INFO: TCP Data received {"connection_id":191583,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:29:06] local.INFO: Processing buffer {"connection_id":191583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:29:06] local.INFO: Packet analysis {"connection_id":191583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37d"} 
[2026-09-24 18:29:06] local.INFO: Extracted packet for processing {"connection_id":191583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37d"} 
[2026-09-24 18:29:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305103104001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790254610000,"timestamp_ms":1790254610000,"timestamp_seconds":1790254610,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37d7650"} 
[2026-09-24 18:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:29: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-09-24 18:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 18:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:29: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-09-24 18:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305103104001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305103104001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:29:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:29:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305103104001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":191583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:29:06] local.INFO: GPS data processed {"connection_id":191583,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:29:06] local.INFO: Acknowledgment sent {"connection_id":191583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:29:06] local.INFO: TCP Data received {"connection_id":191584,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:29:06] local.INFO: Processing buffer {"connection_id":191584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:29:06] local.INFO: IMEI packet received {"connection_id":191584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":191584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:29:07] local.INFO: TCP Data received {"connection_id":191584,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:29:07] local.INFO: Processing buffer {"connection_id":191584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:29:07] local.INFO: IMEI packet received {"connection_id":191584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":191584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:29:11] local.INFO: TCP Data received {"connection_id":191584,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:29:11] local.INFO: Processing buffer {"connection_id":191584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:29:11] local.INFO: IMEI packet received {"connection_id":191584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":191584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:29:12] local.INFO: TCP Data received {"connection_id":191584,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37e5cc8012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37e5cc8012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:29:12] local.INFO: Processing buffer {"connection_id":191584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37e5cc8012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:29:12] local.INFO: Packet analysis {"connection_id":191584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37e"} 
[2026-09-24 18:29:12] local.INFO: Extracted packet for processing {"connection_id":191584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37e"} 
[2026-09-24 18:29:12] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305189632001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:29:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790254669000,"timestamp_ms":1790254669000,"timestamp_seconds":1790254669,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37e5cc8"} 
[2026-09-24 18:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-24 18:29:12] 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-09-24 18:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305189632001,"66":28485,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305189632001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:29:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:29:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:29:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305189632001,"power":28485,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":191584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891325,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:29:12] local.INFO: GPS data processed {"connection_id":191584,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:29:12] local.INFO: Acknowledgment sent {"connection_id":191584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:29:27] local.INFO: TCP Data received {"connection_id":191380,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:29:27] local.INFO: Processing buffer {"connection_id":191380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:29:27] local.INFO: IMEI packet received {"connection_id":191380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":191380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:29:33] local.INFO: TCP Data received {"connection_id":191380,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:29:33] local.INFO: Processing buffer {"connection_id":191380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:29:33] local.INFO: IMEI packet received {"connection_id":191380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":191380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:29:34] local.INFO: TCP Data received {"connection_id":191380,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:29:34] local.INFO: Processing buffer {"connection_id":191380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:29:34] local.INFO: Packet analysis {"connection_id":191380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37d"} 
[2026-09-24 18:29:34] local.INFO: Extracted packet for processing {"connection_id":191380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37d"} 
[2026-09-24 18:29:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305103104001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790254610000,"timestamp_ms":1790254610000,"timestamp_seconds":1790254610,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37d7650"} 
[2026-09-24 18:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 18:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305103104001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305103104001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:29:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:29:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305103104001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":191380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:29:34] local.INFO: GPS data processed {"connection_id":191380,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:29:34] local.INFO: Acknowledgment sent {"connection_id":191380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:29:44] local.INFO: TCP Data received {"connection_id":191584,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37eaed0012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37eaed0012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:29:44] local.INFO: Processing buffer {"connection_id":191584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37eaed0012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:29:44] local.INFO: Packet analysis {"connection_id":191584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37e"} 
[2026-09-24 18:29:44] local.INFO: Extracted packet for processing {"connection_id":191584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37e"} 
[2026-09-24 18:29:44] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305195264001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:29:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790254690000,"timestamp_ms":1790254690000,"timestamp_seconds":1790254690,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37eaed0"} 
[2026-09-24 18:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-24 18:29:44] 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-09-24 18:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305195264001,"66":28050,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305195264001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:29:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:29:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:29:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305195264001,"power":28050,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":191584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891327,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:29:44] local.INFO: GPS data processed {"connection_id":191584,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:29:44] local.INFO: Acknowledgment sent {"connection_id":191584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:30:05] local.INFO: TCP Data received {"connection_id":191380,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:30:05] local.INFO: Processing buffer {"connection_id":191380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:30:05] local.INFO: Packet analysis {"connection_id":191380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37d"} 
[2026-09-24 18:30:05] local.INFO: Extracted packet for processing {"connection_id":191380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37d"} 
[2026-09-24 18:30:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305103104001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790254610000,"timestamp_ms":1790254610000,"timestamp_seconds":1790254610,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37d7650"} 
[2026-09-24 18:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 18:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305103104001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305103104001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:30:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:30:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305103104001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":191380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:30:05] local.INFO: GPS data processed {"connection_id":191380,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:30:05] local.INFO: Acknowledgment sent {"connection_id":191380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:30:06] local.INFO: TCP Data received {"connection_id":191381,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:30:06] local.INFO: Processing buffer {"connection_id":191381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:30:06] local.INFO: IMEI packet received {"connection_id":191381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":191381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:30:11] local.INFO: TCP Data received {"connection_id":191381,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:30:11] local.INFO: Processing buffer {"connection_id":191381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:30:11] local.INFO: IMEI packet received {"connection_id":191381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":191381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:30:11] local.INFO: TCP Data received {"connection_id":191381,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:30:11] local.INFO: Processing buffer {"connection_id":191381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:30:11] local.INFO: IMEI packet received {"connection_id":191381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":191381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:30:13] local.INFO: TCP Data received {"connection_id":191381,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37f00d8012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37f00d8012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:30:13] local.INFO: Processing buffer {"connection_id":191381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37f00d8012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:30:13] local.INFO: Packet analysis {"connection_id":191381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37f"} 
[2026-09-24 18:30:13] local.INFO: Extracted packet for processing {"connection_id":191381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37f"} 
[2026-09-24 18:30:13] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305200640001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:30:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790254711000,"timestamp_ms":1790254711000,"timestamp_seconds":1790254711,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37f00d8"} 
[2026-09-24 18:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-24 18:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305200640001,"66":28495,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305200640001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:30:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:30:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:30:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305200640001,"power":28495,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":191381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891329,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:30:13] local.INFO: GPS data processed {"connection_id":191381,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:30:13] local.INFO: Acknowledgment sent {"connection_id":191381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:30:17] local.INFO: TCP Data received {"connection_id":191381,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37f4b10012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37f4b10012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:30:17] local.INFO: Processing buffer {"connection_id":191381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37f4b10012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:30:17] local.INFO: Packet analysis {"connection_id":191381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37f"} 
[2026-09-24 18:30:17] local.INFO: Extracted packet for processing {"connection_id":191381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37f"} 
[2026-09-24 18:30:17] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305206016001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:30:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790254730000,"timestamp_ms":1790254730000,"timestamp_seconds":1790254730,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37f4b10"} 
[2026-09-24 18:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-24 18:30:17] 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-09-24 18:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305206016001,"66":28354,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305206016001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:30:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:30:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:30:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305206016001,"power":28354,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":191381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891330,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:30:17] local.INFO: GPS data processed {"connection_id":191381,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:30:17] local.INFO: Acknowledgment sent {"connection_id":191381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:30:27] local.INFO: TCP Data received {"connection_id":192966,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:30:27] local.INFO: Processing buffer {"connection_id":192966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:30:27] local.INFO: IMEI packet received {"connection_id":192966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":192966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:30:32] local.INFO: TCP Data received {"connection_id":192966,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:30:32] local.INFO: Processing buffer {"connection_id":192966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:30:32] local.INFO: IMEI packet received {"connection_id":192966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":192966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:30:34] local.INFO: TCP Data received {"connection_id":192966,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:30:34] local.INFO: Processing buffer {"connection_id":192966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:30:34] local.INFO: Packet analysis {"connection_id":192966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37d"} 
[2026-09-24 18:30:34] local.INFO: Extracted packet for processing {"connection_id":192966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37d"} 
[2026-09-24 18:30:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305103104001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790254610000,"timestamp_ms":1790254610000,"timestamp_seconds":1790254610,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37d7650"} 
[2026-09-24 18:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 18:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305103104001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305103104001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:30:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:30:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305103104001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":192966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:30:34] local.INFO: GPS data processed {"connection_id":192966,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:30:34] local.INFO: Acknowledgment sent {"connection_id":192966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:30:49] local.INFO: TCP Data received {"connection_id":191381,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37f9d18012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37f9d18012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:30:49] local.INFO: Processing buffer {"connection_id":191381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37f9d18012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:30:49] local.INFO: Packet analysis {"connection_id":191381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37f"} 
[2026-09-24 18:30:49] local.INFO: Extracted packet for processing {"connection_id":191381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37f"} 
[2026-09-24 18:30:49] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305210880001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:30:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790254751000,"timestamp_ms":1790254751000,"timestamp_seconds":1790254751,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37f9d18"} 
[2026-09-24 18:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:30: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-09-24 18:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305210880001,"66":28452,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305210880001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:30:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:30:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:30:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305210880001,"power":28452,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":191381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891332,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:30:49] local.INFO: GPS data processed {"connection_id":191381,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:30:49] local.INFO: Acknowledgment sent {"connection_id":191381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:31:05] local.INFO: TCP Data received {"connection_id":192966,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:31:05] local.INFO: Processing buffer {"connection_id":192966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:31:05] local.INFO: Packet analysis {"connection_id":192966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37d"} 
[2026-09-24 18:31:05] local.INFO: Extracted packet for processing {"connection_id":192966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37d"} 
[2026-09-24 18:31:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305103104001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790254610000,"timestamp_ms":1790254610000,"timestamp_seconds":1790254610,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37d7650"} 
[2026-09-24 18:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 18:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305103104001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305103104001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:31:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:31:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305103104001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":192966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:31:05] local.INFO: GPS data processed {"connection_id":192966,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:31:05] local.INFO: Acknowledgment sent {"connection_id":192966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:31:12] local.INFO: TCP Data received {"connection_id":191382,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:31:12] local.INFO: Processing buffer {"connection_id":191382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:31:12] local.INFO: IMEI packet received {"connection_id":191382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":191382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:31:13] local.INFO: TCP Data received {"connection_id":191382,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:31:13] local.INFO: Processing buffer {"connection_id":191382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:31:13] local.INFO: IMEI packet received {"connection_id":191382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":191382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:31:15] local.INFO: TCP Data received {"connection_id":191382,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37fef20012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37fef20012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:31:15] local.INFO: Processing buffer {"connection_id":191382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37fef20012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:31:15] local.INFO: Packet analysis {"connection_id":191382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37f"} 
[2026-09-24 18:31:15] local.INFO: Extracted packet for processing {"connection_id":191382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37f"} 
[2026-09-24 18:31:15] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305216256001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:31:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790254772000,"timestamp_ms":1790254772000,"timestamp_seconds":1790254772,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37fef20"} 
[2026-09-24 18:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-24 18:31:15] 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-09-24 18:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305216256001,"66":28398,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305216256001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:31:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:31:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:31:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305216256001,"power":28398,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":191382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891334,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:31:15] local.INFO: GPS data processed {"connection_id":191382,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:31:15] local.INFO: Acknowledgment sent {"connection_id":191382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:31:17] local.INFO: TCP Data received {"connection_id":191382,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3804128012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3804128012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:31:17] local.INFO: Processing buffer {"connection_id":191382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3804128012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:31:17] local.INFO: Packet analysis {"connection_id":191382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d380"} 
[2026-09-24 18:31:17] local.INFO: Extracted packet for processing {"connection_id":191382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d380"} 
[2026-09-24 18:31:17] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305221632001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:31:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790254793000,"timestamp_ms":1790254793000,"timestamp_seconds":1790254793,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3804128"} 
[2026-09-24 18:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:31:17] 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-09-24 18:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:31:17] 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-09-24 18:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305221632001,"66":28398,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305221632001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:31:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:31:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:31:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305221632001,"power":28398,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":191382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891335,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:31:17] local.INFO: GPS data processed {"connection_id":191382,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:31:17] local.INFO: Acknowledgment sent {"connection_id":191382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:31:27] local.INFO: TCP Data received {"connection_id":191383,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:31:28] local.INFO: Processing buffer {"connection_id":191383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:31:28] local.INFO: IMEI packet received {"connection_id":191383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":191383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:31:33] local.ERROR: TCP Connection error {"connection_id":194239,"code":2,"message":"client closed"} 
[2026-09-24 18:31:33] local.INFO: TCP Data received {"connection_id":191383,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:31:33] local.INFO: Processing buffer {"connection_id":191383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:31:33] local.INFO: IMEI packet received {"connection_id":191383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":191383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:31:34] local.INFO: TCP Data received {"connection_id":191383,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:31:34] local.INFO: Processing buffer {"connection_id":191383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:31:34] local.INFO: Packet analysis {"connection_id":191383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37d"} 
[2026-09-24 18:31:34] local.INFO: Extracted packet for processing {"connection_id":191383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37d"} 
[2026-09-24 18:31:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305103104001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790254610000,"timestamp_ms":1790254610000,"timestamp_seconds":1790254610,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37d7650"} 
[2026-09-24 18:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 18:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305103104001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305103104001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:31:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:31:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305103104001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":191383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:31:34] local.INFO: GPS data processed {"connection_id":191383,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:31:34] local.INFO: Acknowledgment sent {"connection_id":191383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:31:49] local.INFO: TCP Data received {"connection_id":191382,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3809718012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3809718012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:31:49] local.INFO: Processing buffer {"connection_id":191382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3809718012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:31:49] local.INFO: Packet analysis {"connection_id":191382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d380"} 
[2026-09-24 18:31:49] local.INFO: Extracted packet for processing {"connection_id":191382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d380"} 
[2026-09-24 18:31:49] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305227008001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:31:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790254815000,"timestamp_ms":1790254815000,"timestamp_seconds":1790254815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3809718"} 
[2026-09-24 18:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:31: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-09-24 18:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305227008001,"66":28354,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305227008001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:31:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:31:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:31:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305227008001,"power":28354,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":191382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891337,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:31:49] local.INFO: GPS data processed {"connection_id":191382,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:31:49] local.INFO: Acknowledgment sent {"connection_id":191382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:32:05] local.INFO: TCP Data received {"connection_id":191383,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:32:05] local.INFO: Processing buffer {"connection_id":191383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d37d7650012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:32:05] local.INFO: Packet analysis {"connection_id":191383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d37d"} 
[2026-09-24 18:32:05] local.INFO: Extracted packet for processing {"connection_id":191383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d37d"} 
[2026-09-24 18:32:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305103104001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790254610000,"timestamp_ms":1790254610000,"timestamp_seconds":1790254610,"priority":1,"record_length":96,"hex_timestamp":"000001a0d37d7650"} 
[2026-09-24 18:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 18:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305103104001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305103104001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:32:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:32:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305103104001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":191383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:32:05] local.INFO: GPS data processed {"connection_id":191383,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:32:05] local.INFO: Acknowledgment sent {"connection_id":191383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:32:07] local.INFO: TCP Data received {"connection_id":191384,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:32:07] local.INFO: Processing buffer {"connection_id":191384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:32:07] local.INFO: IMEI packet received {"connection_id":191384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":191384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:32:11] local.INFO: TCP Data received {"connection_id":191384,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:32:11] local.INFO: Processing buffer {"connection_id":191384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:32:11] local.INFO: IMEI packet received {"connection_id":191384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":191384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:32:12] local.INFO: TCP Data received {"connection_id":191384,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d380e920012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d380e920012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:32:12] local.INFO: Processing buffer {"connection_id":191384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d380e920012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:32:12] local.INFO: Packet analysis {"connection_id":191384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d380"} 
[2026-09-24 18:32:12] local.INFO: Extracted packet for processing {"connection_id":191384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d380"} 
[2026-09-24 18:32:12] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:32: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-09-24 18:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305232640001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:32:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790254836000,"timestamp_ms":1790254836000,"timestamp_seconds":1790254836,"priority":1,"record_length":96,"hex_timestamp":"000001a0d380e920"} 
[2026-09-24 18:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:32:12] 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-09-24 18:32:12] 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-09-24 18:32: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-09-24 18:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305232640001,"66":28376,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305232640001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:32:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:32:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:32:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305232640001,"power":28376,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":191384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891339,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:32:13] local.INFO: GPS data processed {"connection_id":191384,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:32:13] local.INFO: Acknowledgment sent {"connection_id":191384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:32:17] local.INFO: TCP Data received {"connection_id":191384,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3813b28012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3813b28012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:32:17] local.INFO: Processing buffer {"connection_id":191384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3813b28012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:32:17] local.INFO: Packet analysis {"connection_id":191384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d381"} 
[2026-09-24 18:32:17] local.INFO: Extracted packet for processing {"connection_id":191384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d381"} 
[2026-09-24 18:32:17] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305238016001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:32:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790254857000,"timestamp_ms":1790254857000,"timestamp_seconds":1790254857,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3813b28"} 
[2026-09-24 18:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:32:17] 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-09-24 18:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:32:17] 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-09-24 18:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305238016001,"66":28430,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305238016001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:32:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:32:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:32:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305238016001,"power":28430,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":191384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891340,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:32:17] local.INFO: GPS data processed {"connection_id":191384,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:32:17] local.INFO: Acknowledgment sent {"connection_id":191384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:32:28] local.INFO: TCP Data received {"connection_id":191585,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:32:28] local.INFO: Processing buffer {"connection_id":191585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:32:28] local.INFO: IMEI packet received {"connection_id":191585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":191585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:32:32] local.INFO: TCP Data received {"connection_id":191585,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:32:32] local.INFO: Processing buffer {"connection_id":191585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:32:32] local.INFO: IMEI packet received {"connection_id":191585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":191585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:32:37] local.INFO: TCP Data received {"connection_id":191585,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:32:37] local.INFO: Processing buffer {"connection_id":191585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:32:37] local.INFO: IMEI packet received {"connection_id":191585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":191585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:32:38] local.INFO: TCP Data received {"connection_id":191585,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:32:38] local.INFO: Processing buffer {"connection_id":191585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:32:38] local.INFO: Packet analysis {"connection_id":191585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:32:38] local.INFO: Extracted packet for processing {"connection_id":191585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305180160001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790254911000,"timestamp_ms":1790254911000,"timestamp_seconds":1790254911,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3820e18"} 
[2026-09-24 18:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305180160001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305180160001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:32:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305180160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":191585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:32:38] local.INFO: GPS data processed {"connection_id":191585,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:32:38] local.INFO: Acknowledgment sent {"connection_id":191585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:32:43] local.INFO: TCP Data received {"connection_id":191585,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:32:43] local.INFO: Processing buffer {"connection_id":191585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:32:43] local.INFO: Packet analysis {"connection_id":191585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:32:43] local.INFO: Extracted packet for processing {"connection_id":191585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:32:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305180160001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790254911000,"timestamp_ms":1790254911000,"timestamp_seconds":1790254911,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3820e18"} 
[2026-09-24 18:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305180160001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305180160001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:32:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:32:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305180160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":191585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:32:43] local.INFO: GPS data processed {"connection_id":191585,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:32:43] local.INFO: Acknowledgment sent {"connection_id":191585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:32:51] local.INFO: TCP Data received {"connection_id":191384,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3818948012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3818948012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:32:51] local.INFO: Processing buffer {"connection_id":191384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3818948012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:32:51] local.INFO: Packet analysis {"connection_id":191384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d381"} 
[2026-09-24 18:32:51] local.INFO: Extracted packet for processing {"connection_id":191384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d381"} 
[2026-09-24 18:32:51] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305243392001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:32:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790254877000,"timestamp_ms":1790254877000,"timestamp_seconds":1790254877,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3818948"} 
[2026-09-24 18:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 18:32:51] 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-09-24 18:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305243392001,"66":28398,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305243392001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:32:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:32:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:32:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305243392001,"power":28398,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":191384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891343,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:32:51] local.INFO: GPS data processed {"connection_id":191384,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:32:51] local.INFO: Acknowledgment sent {"connection_id":191384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:33:07] local.INFO: TCP Data received {"connection_id":192967,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:33:07] local.INFO: Processing buffer {"connection_id":192967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:33:07] local.INFO: IMEI packet received {"connection_id":192967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":192967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:33:12] local.INFO: TCP Data received {"connection_id":192967,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:33:12] local.INFO: Processing buffer {"connection_id":192967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:33:12] local.INFO: IMEI packet received {"connection_id":192967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":192967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:33:13] local.INFO: TCP Data received {"connection_id":192967,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d381db50012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d381db50012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:33:13] local.INFO: Processing buffer {"connection_id":192967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d381db50012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:33:13] local.INFO: Packet analysis {"connection_id":192967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d381"} 
[2026-09-24 18:33:13] local.INFO: Extracted packet for processing {"connection_id":192967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d381"} 
[2026-09-24 18:33:13] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305248512001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:33:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790254898000,"timestamp_ms":1790254898000,"timestamp_seconds":1790254898,"priority":1,"record_length":96,"hex_timestamp":"000001a0d381db50"} 
[2026-09-24 18:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:33:13] 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-09-24 18:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305248512001,"66":28398,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305248512001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:33:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:33:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:33:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305248512001,"power":28398,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":192967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891344,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:33:13] local.INFO: GPS data processed {"connection_id":192967,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:33:13] local.INFO: Acknowledgment sent {"connection_id":192967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:33:29] local.INFO: TCP Data received {"connection_id":194240,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:33:29] local.INFO: Processing buffer {"connection_id":194240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:33:29] local.INFO: IMEI packet received {"connection_id":194240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":194240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:33:33] local.INFO: TCP Data received {"connection_id":194240,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:33:33] local.INFO: Processing buffer {"connection_id":194240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:33:33] local.INFO: IMEI packet received {"connection_id":194240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":194240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:33:33] local.INFO: TCP Data received {"connection_id":194240,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:33:33] local.INFO: Processing buffer {"connection_id":194240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:33:33] local.INFO: Packet analysis {"connection_id":194240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:33:33] local.INFO: Extracted packet for processing {"connection_id":194240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:33:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305180160001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790254911000,"timestamp_ms":1790254911000,"timestamp_seconds":1790254911,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3820e18"} 
[2026-09-24 18:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305180160001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305180160001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:33:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:33:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305180160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":194240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:33:33] local.INFO: GPS data processed {"connection_id":194240,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:33:33] local.INFO: Acknowledgment sent {"connection_id":194240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:33:39] local.INFO: TCP Data received {"connection_id":194240,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:33:39] local.INFO: Processing buffer {"connection_id":194240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:33:39] local.INFO: Packet analysis {"connection_id":194240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:33:39] local.INFO: Extracted packet for processing {"connection_id":194240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:33:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305180160001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790254911000,"timestamp_ms":1790254911000,"timestamp_seconds":1790254911,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3820e18"} 
[2026-09-24 18:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:33:39] 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-09-24 18:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305180160001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305180160001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:33:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:33:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305180160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":194240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:33:39] local.INFO: GPS data processed {"connection_id":194240,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:33:39] local.INFO: Acknowledgment sent {"connection_id":194240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:33:44] local.INFO: TCP Data received {"connection_id":192967,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:33:44] local.INFO: Processing buffer {"connection_id":192967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:33:44] local.INFO: Packet analysis {"connection_id":192967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:33:44] local.INFO: Extracted packet for processing {"connection_id":192967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:33:44] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305253888001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:33:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790254910000,"timestamp_ms":1790254910000,"timestamp_seconds":1790254910,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3820a30"} 
[2026-09-24 18:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:33:44] 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-09-24 18:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305253888001,"66":28376,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305253888001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:33:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:33:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:33:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305253888001,"power":28376,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":192967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891347,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:33:44] local.INFO: GPS data processed {"connection_id":192967,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:33:44] local.INFO: Acknowledgment sent {"connection_id":192967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:34:06] local.INFO: TCP Data received {"connection_id":191385,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:34:06] local.INFO: Processing buffer {"connection_id":191385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:34:06] local.INFO: IMEI packet received {"connection_id":191385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":191385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:34:10] local.INFO: TCP Data received {"connection_id":194240,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:34:10] local.INFO: Processing buffer {"connection_id":194240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:34:10] local.INFO: Packet analysis {"connection_id":194240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:34:10] local.INFO: Extracted packet for processing {"connection_id":194240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305180160001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790254911000,"timestamp_ms":1790254911000,"timestamp_seconds":1790254911,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3820e18"} 
[2026-09-24 18:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":194240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":194240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":194240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305180160001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305180160001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:34:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305180160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":194240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:34:10] local.INFO: GPS data processed {"connection_id":194240,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:34:10] local.INFO: Acknowledgment sent {"connection_id":194240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:34:12] local.INFO: TCP Data received {"connection_id":191385,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:34:12] local.INFO: Processing buffer {"connection_id":191385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:34:12] local.INFO: IMEI packet received {"connection_id":191385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":191385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:34:13] local.INFO: TCP Data received {"connection_id":191385,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:34:13] local.INFO: Processing buffer {"connection_id":191385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:34:13] local.INFO: Packet analysis {"connection_id":191385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:34:13] local.INFO: Extracted packet for processing {"connection_id":191385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:34:13] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305253888001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:34:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790254910000,"timestamp_ms":1790254910000,"timestamp_seconds":1790254910,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3820a30"} 
[2026-09-24 18:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:34:13] 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-09-24 18:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305253888001,"66":28376,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305253888001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:34:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:34:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:34:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305253888001,"power":28376,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":191385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891349,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:34:13] local.INFO: GPS data processed {"connection_id":191385,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:34:13] local.INFO: Acknowledgment sent {"connection_id":191385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:34:28] local.INFO: TCP Data received {"connection_id":191386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:34:28] local.INFO: Processing buffer {"connection_id":191386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:34:28] local.INFO: IMEI packet received {"connection_id":191386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":191386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:34:32] local.INFO: TCP Data received {"connection_id":191386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:34:32] local.INFO: Processing buffer {"connection_id":191386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:34:32] local.INFO: IMEI packet received {"connection_id":191386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":191386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:34:34] local.INFO: TCP Data received {"connection_id":191386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:34:34] local.INFO: Processing buffer {"connection_id":191386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:34:34] local.INFO: Packet analysis {"connection_id":191386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:34:34] local.INFO: Extracted packet for processing {"connection_id":191386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:34:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305180160001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790254911000,"timestamp_ms":1790254911000,"timestamp_seconds":1790254911,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3820e18"} 
[2026-09-24 18:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305180160001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305180160001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:34:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:34:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305180160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":191386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:34:34] local.INFO: GPS data processed {"connection_id":191386,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:34:34] local.INFO: Acknowledgment sent {"connection_id":191386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:34:45] local.INFO: TCP Data received {"connection_id":191385,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:34:45] local.INFO: Processing buffer {"connection_id":191385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:34:45] local.INFO: Packet analysis {"connection_id":191385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:34:45] local.INFO: Extracted packet for processing {"connection_id":191385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:34:45] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305253888001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:34:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790254910000,"timestamp_ms":1790254910000,"timestamp_seconds":1790254910,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3820a30"} 
[2026-09-24 18:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:34:45] 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-09-24 18:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305253888001,"66":28376,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305253888001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:34:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:34:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:34:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305253888001,"power":28376,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":191385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891351,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:34:45] local.INFO: GPS data processed {"connection_id":191385,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:34:45] local.INFO: Acknowledgment sent {"connection_id":191385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:35:06] local.INFO: TCP Data received {"connection_id":191386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:35:06] local.INFO: Processing buffer {"connection_id":191386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:35:06] local.INFO: Packet analysis {"connection_id":191386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:35:06] local.INFO: Extracted packet for processing {"connection_id":191386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:35:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305180160001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790254911000,"timestamp_ms":1790254911000,"timestamp_seconds":1790254911,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3820e18"} 
[2026-09-24 18:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:35: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-09-24 18:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305180160001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305180160001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:35:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:35:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305180160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":191386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:35:06] local.INFO: GPS data processed {"connection_id":191386,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:35:06] local.INFO: Acknowledgment sent {"connection_id":191386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:35:11] local.INFO: TCP Data received {"connection_id":191587,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:35:11] local.INFO: Processing buffer {"connection_id":191587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:35:11] local.INFO: IMEI packet received {"connection_id":191587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":191587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:35:16] local.INFO: TCP Data received {"connection_id":191587,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:35:16] local.INFO: Processing buffer {"connection_id":191587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:35:16] local.INFO: IMEI packet received {"connection_id":191587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":191587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:35:18] local.INFO: TCP Data received {"connection_id":191587,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:35:18] local.INFO: Processing buffer {"connection_id":191587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:35:18] local.INFO: Packet analysis {"connection_id":191587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:35:18] local.INFO: Extracted packet for processing {"connection_id":191587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:35:18] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305253888001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:35:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790254910000,"timestamp_ms":1790254910000,"timestamp_seconds":1790254910,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3820a30"} 
[2026-09-24 18:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:35:18] 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-09-24 18:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305253888001,"66":28376,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305253888001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:35:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:35:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:35:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305253888001,"power":28376,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":191587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891353,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:35:18] local.INFO: GPS data processed {"connection_id":191587,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:35:18] local.INFO: Acknowledgment sent {"connection_id":191587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:35:30] local.INFO: TCP Data received {"connection_id":192970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:35:30] local.INFO: Processing buffer {"connection_id":192970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:35:30] local.INFO: IMEI packet received {"connection_id":192970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":192970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:35:34] local.INFO: TCP Data received {"connection_id":192970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:35:34] local.INFO: Processing buffer {"connection_id":192970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:35:34] local.INFO: IMEI packet received {"connection_id":192970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":192970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:35:35] local.INFO: TCP Data received {"connection_id":192970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:35:35] local.INFO: Processing buffer {"connection_id":192970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:35:35] local.INFO: Packet analysis {"connection_id":192970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:35:35] local.INFO: Extracted packet for processing {"connection_id":192970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305180160001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790254911000,"timestamp_ms":1790254911000,"timestamp_seconds":1790254911,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3820e18"} 
[2026-09-24 18:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305180160001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305180160001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:35:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:35:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305180160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":192970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:35:35] local.INFO: GPS data processed {"connection_id":192970,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:35:35] local.INFO: Acknowledgment sent {"connection_id":192970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:35:39] local.INFO: TCP Data received {"connection_id":192970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:35:39] local.INFO: Processing buffer {"connection_id":192970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:35:39] local.INFO: Packet analysis {"connection_id":192970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:35:39] local.INFO: Extracted packet for processing {"connection_id":192970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:35:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305180160001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790254911000,"timestamp_ms":1790254911000,"timestamp_seconds":1790254911,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3820e18"} 
[2026-09-24 18:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:35:39] 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-09-24 18:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305180160001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305180160001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:35:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:35:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305180160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":192970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:35:39] local.INFO: GPS data processed {"connection_id":192970,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:35:39] local.INFO: Acknowledgment sent {"connection_id":192970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:35:49] local.INFO: TCP Data received {"connection_id":191587,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:35:49] local.INFO: Processing buffer {"connection_id":191587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:35:49] local.INFO: Packet analysis {"connection_id":191587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:35:49] local.INFO: Extracted packet for processing {"connection_id":191587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:35:49] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305253888001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:35:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790254910000,"timestamp_ms":1790254910000,"timestamp_seconds":1790254910,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3820a30"} 
[2026-09-24 18:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:35: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-09-24 18:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305253888001,"66":28376,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305253888001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:35:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:35:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:35:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305253888001,"power":28376,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":191587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891356,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:35:50] local.INFO: GPS data processed {"connection_id":191587,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:35:50] local.INFO: Acknowledgment sent {"connection_id":191587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:36:06] local.INFO: TCP Data received {"connection_id":194241,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:36:06] local.INFO: Processing buffer {"connection_id":194241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:36:06] local.INFO: IMEI packet received {"connection_id":194241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":194241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:36:10] local.INFO: TCP Data received {"connection_id":192970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:36:10] local.INFO: Processing buffer {"connection_id":192970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:36:10] local.INFO: Packet analysis {"connection_id":192970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:36:10] local.INFO: Extracted packet for processing {"connection_id":192970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305180160001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790254911000,"timestamp_ms":1790254911000,"timestamp_seconds":1790254911,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3820e18"} 
[2026-09-24 18:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305180160001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305180160001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:36:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:36:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305180160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":192970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:36:10] local.INFO: GPS data processed {"connection_id":192970,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:36:10] local.INFO: Acknowledgment sent {"connection_id":192970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:36:12] local.INFO: TCP Data received {"connection_id":194241,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:36:12] local.INFO: Processing buffer {"connection_id":194241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:36:12] local.INFO: IMEI packet received {"connection_id":194241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":194241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:36:15] local.INFO: TCP Data received {"connection_id":194241,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:36:15] local.INFO: Processing buffer {"connection_id":194241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:36:15] local.INFO: Packet analysis {"connection_id":194241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:36:15] local.INFO: Extracted packet for processing {"connection_id":194241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:36:15] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:36:15] 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-09-24 18:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305253888001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:36:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790254910000,"timestamp_ms":1790254910000,"timestamp_seconds":1790254910,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3820a30"} 
[2026-09-24 18:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:36:15] 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-09-24 18:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":194241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":194241,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":194241,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305253888001,"66":28376,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305253888001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:36:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:36:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:36:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305253888001,"power":28376,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":194241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891358,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:36:15] local.INFO: GPS data processed {"connection_id":194241,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:36:15] local.INFO: Acknowledgment sent {"connection_id":194241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:36:27] local.INFO: TCP Data received {"connection_id":194242,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:36:27] local.INFO: Processing buffer {"connection_id":194242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:36:27] local.INFO: IMEI packet received {"connection_id":194242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":194242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:36:34] local.INFO: TCP Data received {"connection_id":194242,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:36:34] local.INFO: Processing buffer {"connection_id":194242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:36:34] local.INFO: IMEI packet received {"connection_id":194242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":194242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:36:35] local.INFO: TCP Data received {"connection_id":194242,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:36:35] local.INFO: Processing buffer {"connection_id":194242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:36:35] local.INFO: Packet analysis {"connection_id":194242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:36:35] local.INFO: Extracted packet for processing {"connection_id":194242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305180160001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790254911000,"timestamp_ms":1790254911000,"timestamp_seconds":1790254911,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3820e18"} 
[2026-09-24 18:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305180160001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305180160001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:36:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:36:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305180160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":194242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:36:35] local.INFO: GPS data processed {"connection_id":194242,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:36:35] local.INFO: Acknowledgment sent {"connection_id":194242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:36:43] local.INFO: TCP Data received {"connection_id":192971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:36:43] local.INFO: Processing buffer {"connection_id":192971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:36:43] local.INFO: IMEI packet received {"connection_id":192971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":192971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:36:44] local.INFO: TCP Data received {"connection_id":192971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:36:44] local.INFO: Processing buffer {"connection_id":192971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:36:44] local.INFO: IMEI packet received {"connection_id":192971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":192971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:36:49] local.INFO: TCP Data received {"connection_id":192971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:36:49] local.INFO: Processing buffer {"connection_id":192971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:36:49] local.INFO: IMEI packet received {"connection_id":192971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":192971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:36:50] local.INFO: TCP Data received {"connection_id":192971,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3859858012d1a2040071ff0900026011f26..."} 
[2026-09-24 18:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3859858012d1a2040071ff0900026011f26..."} 
[2026-09-24 18:36:50] local.INFO: Processing buffer {"connection_id":192971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3859858012d1a2040071ff0900026011f26..."} 
[2026-09-24 18:36:50] local.INFO: Packet analysis {"connection_id":192971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d385"} 
[2026-09-24 18:36:50] local.INFO: Extracted packet for processing {"connection_id":192971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d385"} 
[2026-09-24 18:36:50] local.INFO: GPS Element Parsed {"raw_longitude":756686912,"raw_latitude":119533712,"longitude_deg":75.6686912,"latitude_deg":11.9533712,"altitude":38,"angle":287,"satellites":38,"speed":45,"hex_longitude":"2d1a2040","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-09-24 18:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305314304001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23026539444568064,"note":"Value kept but may cause issues"} 
[2026-09-24 18:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893341461444186112,"note":"Value kept but may cause issues"} 
[2026-09-24 18:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790255143000,"timestamp_ms":1790255143000,"timestamp_seconds":1790255143,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3859858"} 
[2026-09-24 18:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-24 18:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305314304001,"66":13798,"101":206,"83":41984,"24":45,"16":23026539444568064,"45":1893341461444186112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-24 18:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305314304001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:36:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-24 18:36:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23026539444568064,"km_value":23026539444568.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893341461444186112,"description":"Unknown IO ID 45"} 
[2026-09-24 18:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305314304001,"power":13798,"unknown_101":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1893341461444186112}} 
[2026-09-24 18:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":192971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:36:50] local.INFO: GPS data processed {"connection_id":192971,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:36:50] local.INFO: Acknowledgment sent {"connection_id":192971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:37:07] local.INFO: TCP Data received {"connection_id":194242,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:37:07] local.INFO: Processing buffer {"connection_id":194242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3820e18012d34c14006aa4940000900f530..."} 
[2026-09-24 18:37:07] local.INFO: Packet analysis {"connection_id":194242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:37:07] local.INFO: Extracted packet for processing {"connection_id":194242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:37:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305180160001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790254911000,"timestamp_ms":1790254911000,"timestamp_seconds":1790254911,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3820e18"} 
[2026-09-24 18:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:37: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-09-24 18:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":194242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":194242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":194242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305180160001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305180160001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:37:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:37:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305180160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":194242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:37:07] local.INFO: GPS data processed {"connection_id":194242,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:37:07] local.INFO: Acknowledgment sent {"connection_id":194242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:37:12] local.INFO: TCP Data received {"connection_id":194243,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:37:12] local.INFO: Processing buffer {"connection_id":194243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:37:12] local.INFO: IMEI packet received {"connection_id":194243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":194243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:37:16] local.INFO: TCP Data received {"connection_id":194243,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:37:16] local.INFO: Processing buffer {"connection_id":194243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:37:16] local.INFO: IMEI packet received {"connection_id":194243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":194243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:37:20] local.INFO: TCP Data received {"connection_id":194243,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:37:20] local.INFO: Processing buffer {"connection_id":194243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:37:20] local.INFO: Packet analysis {"connection_id":194243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:37:20] local.INFO: Extracted packet for processing {"connection_id":194243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:37:20] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305253888001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:37:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790254910000,"timestamp_ms":1790254910000,"timestamp_seconds":1790254910,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3820a30"} 
[2026-09-24 18:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:37: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-09-24 18:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":194243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":194243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":194243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305253888001,"66":28376,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305253888001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:37:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:37:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:37:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305253888001,"power":28376,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":194243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891362,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:37:21] local.INFO: GPS data processed {"connection_id":194243,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:37:21] local.INFO: Acknowledgment sent {"connection_id":194243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:37:21] local.INFO: TCP Data received {"connection_id":192971,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3864050012d19bc00072042800023016428..."} 
[2026-09-24 18:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3864050012d19bc00072042800023016428..."} 
[2026-09-24 18:37:21] local.INFO: Processing buffer {"connection_id":192971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3864050012d19bc00072042800023016428..."} 
[2026-09-24 18:37:21] local.INFO: Packet analysis {"connection_id":192971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:37:21] local.INFO: Extracted packet for processing {"connection_id":192971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:37:21] local.INFO: GPS Element Parsed {"raw_longitude":756661248,"raw_latitude":119554688,"longitude_deg":75.6661248,"latitude_deg":11.9554688,"altitude":35,"angle":356,"satellites":40,"speed":37,"hex_longitude":"2d19bc00","hex_latitude":"07204280","is_valid_coordinates":true} 
[2026-09-24 18:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305327104001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23028296086192128,"note":"Value kept but may cause issues"} 
[2026-09-24 18:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854568283407851520,"note":"Value kept but may cause issues"} 
[2026-09-24 18:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790255186000,"timestamp_ms":1790255186000,"timestamp_seconds":1790255186,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3864050"} 
[2026-09-24 18:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-24 18:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":192971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":192971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":192971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305327104001,"66":12993,"103":206,"83":41984,"24":37,"16":23028296086192128,"45":1854568283407851520},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 18:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305327104001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:37:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 18:37:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23028296086192128,"km_value":23028296086192.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854568283407851520,"description":"Unknown IO ID 45"} 
[2026-09-24 18:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305327104001,"power":12993,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1854568283407851520}} 
[2026-09-24 18:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":192971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:37:21] local.INFO: GPS data processed {"connection_id":192971,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:37:21] local.INFO: Acknowledgment sent {"connection_id":192971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:37:22] local.INFO: TCP Data received {"connection_id":194243,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:37:22] local.INFO: Processing buffer {"connection_id":194243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3820a30012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:37:22] local.INFO: Packet analysis {"connection_id":194243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:37:22] local.INFO: Extracted packet for processing {"connection_id":194243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d382"} 
[2026-09-24 18:37:22] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305253888001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:37:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790254910000,"timestamp_ms":1790254910000,"timestamp_seconds":1790254910,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3820a30"} 
[2026-09-24 18:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:37:22] 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-09-24 18:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305253888001,"66":28376,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305253888001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:37:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:37:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:37:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305253888001,"power":28376,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":194243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891364,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:37:22] local.INFO: GPS data processed {"connection_id":194243,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:37:22] local.INFO: Acknowledgment sent {"connection_id":194243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:37:27] local.INFO: TCP Data received {"connection_id":191387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:37:27] local.INFO: Processing buffer {"connection_id":191387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:37:27] local.INFO: IMEI packet received {"connection_id":191387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":191387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:37:29] local.INFO: TCP Data received {"connection_id":191387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:37:29] local.INFO: Processing buffer {"connection_id":191387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:37:29] local.INFO: IMEI packet received {"connection_id":191387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":191387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:37:33] local.INFO: TCP Data received {"connection_id":191387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:37:33] local.INFO: Processing buffer {"connection_id":191387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:37:33] local.INFO: IMEI packet received {"connection_id":191387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":191387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:37:34] local.INFO: TCP Data received {"connection_id":191387,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:37:34] local.INFO: Processing buffer {"connection_id":191387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:37:34] local.INFO: Packet analysis {"connection_id":191387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:37:34] local.INFO: Extracted packet for processing {"connection_id":191387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:37:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305257216001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790255212000,"timestamp_ms":1790255212000,"timestamp_seconds":1790255212,"priority":1,"record_length":96,"hex_timestamp":"000001a0d386a5e0"} 
[2026-09-24 18:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 18:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305257216001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305257216001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:37:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:37:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305257216001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":191387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:37:34] local.INFO: GPS data processed {"connection_id":191387,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:37:34] local.INFO: Acknowledgment sent {"connection_id":191387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:37:44] local.INFO: TCP Data received {"connection_id":191388,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:37:44] local.INFO: Processing buffer {"connection_id":191388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:37:44] local.INFO: IMEI packet received {"connection_id":191388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":191388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:37:47] local.INFO: TCP Data received {"connection_id":191388,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:37:47] local.INFO: Processing buffer {"connection_id":191388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:37:47] local.INFO: IMEI packet received {"connection_id":191388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":191388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:37:50] local.INFO: TCP Data received {"connection_id":191388,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:37:50] local.INFO: Processing buffer {"connection_id":191388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:37:50] local.INFO: IMEI packet received {"connection_id":191388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":191388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:37:50] local.INFO: TCP Data received {"connection_id":191388,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3866760012d19b7c0072067a00023015629..."} 
[2026-09-24 18:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3866760012d19b7c0072067a00023015629..."} 
[2026-09-24 18:37:50] local.INFO: Processing buffer {"connection_id":191388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3866760012d19b7c0072067a00023015629..."} 
[2026-09-24 18:37:50] local.INFO: Packet analysis {"connection_id":191388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:37:50] local.INFO: Extracted packet for processing {"connection_id":191388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:37:50] local.INFO: GPS Element Parsed {"raw_longitude":756660160,"raw_latitude":119564192,"longitude_deg":75.666016,"latitude_deg":11.9564192,"altitude":35,"angle":342,"satellites":41,"speed":36,"hex_longitude":"2d19b7c0","hex_latitude":"072067a0","is_valid_coordinates":true} 
[2026-09-24 18:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305327616001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23028764237627392,"note":"Value kept but may cause issues"} 
[2026-09-24 18:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854357177175801856,"note":"Value kept but may cause issues"} 
[2026-09-24 18:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790255196000,"timestamp_ms":1790255196000,"timestamp_seconds":1790255196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3866760"} 
[2026-09-24 18:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-24 18:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305327616001,"66":13515,"103":206,"83":41984,"24":36,"16":23028764237627392,"45":1854357177175801856},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 18:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305327616001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:37:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 18:37:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23028764237627392,"km_value":23028764237627.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854357177175801856,"description":"Unknown IO ID 45"} 
[2026-09-24 18:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305327616001,"power":13515,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1854357177175801856}} 
[2026-09-24 18:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":191388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:37:50] local.INFO: GPS data processed {"connection_id":191388,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:37:50] local.INFO: Acknowledgment sent {"connection_id":191388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:38:05] local.INFO: TCP Data received {"connection_id":191387,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:38:05] local.INFO: Processing buffer {"connection_id":191387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:38:05] local.INFO: Packet analysis {"connection_id":191387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:38:05] local.INFO: Extracted packet for processing {"connection_id":191387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:38:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305257216001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790255212000,"timestamp_ms":1790255212000,"timestamp_seconds":1790255212,"priority":1,"record_length":96,"hex_timestamp":"000001a0d386a5e0"} 
[2026-09-24 18:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 18:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305257216001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305257216001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:38:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:38:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305257216001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":191387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:38:05] local.INFO: GPS data processed {"connection_id":191387,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:38:05] local.INFO: Acknowledgment sent {"connection_id":191387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:38:06] local.INFO: TCP Data received {"connection_id":191389,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:38:06] local.INFO: Processing buffer {"connection_id":191389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:38:06] local.INFO: IMEI packet received {"connection_id":191389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":191389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:38:12] local.INFO: TCP Data received {"connection_id":191389,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:38:12] local.INFO: Processing buffer {"connection_id":191389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:38:12] local.INFO: IMEI packet received {"connection_id":191389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":191389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:38:13] local.INFO: TCP Data received {"connection_id":191389,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:38:13] local.INFO: Processing buffer {"connection_id":191389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:38:13] local.INFO: Packet analysis {"connection_id":191389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:38:13] local.INFO: Extracted packet for processing {"connection_id":191389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:38:13] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305256960001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:38:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790255215000,"timestamp_ms":1790255215000,"timestamp_seconds":1790255215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d386b198"} 
[2026-09-24 18:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:38:13] 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-09-24 18:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305256960001,"66":26963,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305256960001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:38:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:38:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:38:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305256960001,"power":26963,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":191389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891368,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:38:13] local.INFO: GPS data processed {"connection_id":191389,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:38:13] local.INFO: Acknowledgment sent {"connection_id":191389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:38:21] local.INFO: TCP Data received {"connection_id":191388,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3873e38012d1962800720ab68002e010822..."} 
[2026-09-24 18:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3873e38012d1962800720ab68002e010822..."} 
[2026-09-24 18:38:21] local.INFO: Processing buffer {"connection_id":191388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3873e38012d1962800720ab68002e010822..."} 
[2026-09-24 18:38:21] local.INFO: Packet analysis {"connection_id":191388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d387"} 
[2026-09-24 18:38:21] local.INFO: Extracted packet for processing {"connection_id":191388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d387"} 
[2026-09-24 18:38:21] local.INFO: GPS Element Parsed {"raw_longitude":756638336,"raw_latitude":119581544,"longitude_deg":75.6638336,"latitude_deg":11.9581544,"altitude":46,"angle":264,"satellites":34,"speed":33,"hex_longitude":"2d196280","hex_latitude":"0720ab68","is_valid_coordinates":true} 
[2026-09-24 18:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305342976001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23030739922583552,"note":"Value kept but may cause issues"} 
[2026-09-24 18:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833950241371359232,"note":"Value kept but may cause issues"} 
[2026-09-24 18:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790255251000,"timestamp_ms":1790255251000,"timestamp_seconds":1790255251,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3873e38"} 
[2026-09-24 18:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-24 18:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305342976001,"66":13450,"103":206,"83":41984,"24":33,"16":23030739922583552,"45":1833950241371359232},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 18:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305342976001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:38:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 18:38:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23030739922583552,"km_value":23030739922583.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833950241371359232,"description":"Unknown IO ID 45"} 
[2026-09-24 18:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305342976001,"power":13450,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1833950241371359232}} 
[2026-09-24 18:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":191388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:38:21] local.INFO: GPS data processed {"connection_id":191388,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:38:21] local.INFO: Acknowledgment sent {"connection_id":191388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:38:32] local.INFO: TCP Data received {"connection_id":191589,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:38:32] local.INFO: Processing buffer {"connection_id":191589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:38:32] local.INFO: IMEI packet received {"connection_id":191589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":191589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:38:38] local.INFO: TCP Data received {"connection_id":191589,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:38:38] local.INFO: Processing buffer {"connection_id":191589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:38:38] local.INFO: IMEI packet received {"connection_id":191589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":191589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:38:39] local.INFO: TCP Data received {"connection_id":191589,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:38:39] local.INFO: Processing buffer {"connection_id":191589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:38:39] local.INFO: Packet analysis {"connection_id":191589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:38:39] local.INFO: Extracted packet for processing {"connection_id":191589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:38:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305257216001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790255212000,"timestamp_ms":1790255212000,"timestamp_seconds":1790255212,"priority":1,"record_length":96,"hex_timestamp":"000001a0d386a5e0"} 
[2026-09-24 18:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 18:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305257216001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305257216001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:38:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:38:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305257216001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":191589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:38:39] local.INFO: GPS data processed {"connection_id":191589,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:38:39] local.INFO: Acknowledgment sent {"connection_id":191589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:38:45] local.INFO: TCP Data received {"connection_id":191389,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:38:45] local.INFO: Processing buffer {"connection_id":191389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:38:45] local.INFO: Packet analysis {"connection_id":191389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:38:45] local.INFO: Extracted packet for processing {"connection_id":191389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:38:45] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305256960001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:38:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790255215000,"timestamp_ms":1790255215000,"timestamp_seconds":1790255215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d386b198"} 
[2026-09-24 18:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:38:45] 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-09-24 18:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305256960001,"66":26963,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305256960001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:38:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:38:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:38:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305256960001,"power":26963,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":191389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891371,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:38:45] local.INFO: GPS data processed {"connection_id":191389,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:38:45] local.INFO: Acknowledgment sent {"connection_id":191389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:38:47] local.INFO: TCP Data received {"connection_id":194244,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:38:47] local.INFO: Processing buffer {"connection_id":194244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:38:47] local.INFO: IMEI packet received {"connection_id":194244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":194244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:38:50] local.INFO: TCP Data received {"connection_id":194244,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:38:50] local.INFO: Processing buffer {"connection_id":194244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:38:50] local.INFO: IMEI packet received {"connection_id":194244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":194244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:38:50] local.INFO: TCP Data received {"connection_id":194244,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:38:50] local.INFO: Processing buffer {"connection_id":194244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:38:50] local.INFO: IMEI packet received {"connection_id":194244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":194244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:38:54] local.INFO: TCP Data received {"connection_id":194244,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:38:54] local.INFO: Processing buffer {"connection_id":194244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:38:54] local.INFO: IMEI packet received {"connection_id":194244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":194244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:38:55] local.INFO: TCP Data received {"connection_id":194244,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38751c0012d1952000720aaa0002d011323..."} 
[2026-09-24 18:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38751c0012d1952000720aaa0002d011323..."} 
[2026-09-24 18:38:55] local.INFO: Processing buffer {"connection_id":194244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38751c0012d1952000720aaa0002d011323..."} 
[2026-09-24 18:38:55] local.INFO: Packet analysis {"connection_id":194244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d387"} 
[2026-09-24 18:38:55] local.INFO: Extracted packet for processing {"connection_id":194244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d387"} 
[2026-09-24 18:38:55] local.INFO: GPS Element Parsed {"raw_longitude":756634112,"raw_latitude":119581344,"longitude_deg":75.6634112,"latitude_deg":11.9581344,"altitude":45,"angle":275,"satellites":35,"speed":34,"hex_longitude":"2d195200","hex_latitude":"0720aaa0","is_valid_coordinates":true} 
[2026-09-24 18:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305344256001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23030941786046464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829165166767073280,"note":"Value kept but may cause issues"} 
[2026-09-24 18:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790255256000,"timestamp_ms":1790255256000,"timestamp_seconds":1790255256,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38751c0"} 
[2026-09-24 18:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-24 18:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:38: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-09-24 18:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305344256001,"66":13559,"103":206,"83":41984,"24":34,"16":23030941786046464,"45":1829165166767073280},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 18:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305344256001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:38:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 18:38:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23030941786046464,"km_value":23030941786046.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829165166767073280,"description":"Unknown IO ID 45"} 
[2026-09-24 18:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305344256001,"power":13559,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1829165166767073280}} 
[2026-09-24 18:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":194244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:38:55] local.INFO: GPS data processed {"connection_id":194244,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:38:55] local.INFO: Acknowledgment sent {"connection_id":194244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:38:59] local.INFO: TCP Data received {"connection_id":194244,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3876160012d1944000720ae30002b012125..."} 
[2026-09-24 18:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3876160012d1944000720ae30002b012125..."} 
[2026-09-24 18:38:59] local.INFO: Processing buffer {"connection_id":194244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3876160012d1944000720ae30002b012125..."} 
[2026-09-24 18:38:59] local.INFO: Packet analysis {"connection_id":194244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d387"} 
[2026-09-24 18:38:59] local.INFO: Extracted packet for processing {"connection_id":194244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d387"} 
[2026-09-24 18:38:59] local.INFO: GPS Element Parsed {"raw_longitude":756630528,"raw_latitude":119582256,"longitude_deg":75.6630528,"latitude_deg":11.9582256,"altitude":43,"angle":289,"satellites":37,"speed":36,"hex_longitude":"2d194400","hex_latitude":"0720ae30","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305345536001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23031117879705600,"note":"Value kept but may cause issues"} 
[2026-09-24 18:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824520829651296256,"note":"Value kept but may cause issues"} 
[2026-09-24 18:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790255260000,"timestamp_ms":1790255260000,"timestamp_seconds":1790255260,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3876160"} 
[2026-09-24 18:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-24 18:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305345536001,"66":13559,"103":206,"83":41984,"24":36,"16":23031117879705600,"45":1824520829651296256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 18:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305345536001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:38:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 18:38:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23031117879705600,"km_value":23031117879705.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824520829651296256,"description":"Unknown IO ID 45"} 
[2026-09-24 18:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305345536001,"power":13559,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1824520829651296256}} 
[2026-09-24 18:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":194244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:38:59] local.INFO: GPS data processed {"connection_id":194244,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:38:59] local.INFO: Acknowledgment sent {"connection_id":194244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:39:06] local.INFO: TCP Data received {"connection_id":191390,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191390,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:39:06] local.INFO: Processing buffer {"connection_id":191390,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:39:06] local.INFO: IMEI packet received {"connection_id":191390,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":191390,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:39:10] local.INFO: TCP Data received {"connection_id":191589,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:39:10] local.INFO: Processing buffer {"connection_id":191589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:39:10] local.INFO: Packet analysis {"connection_id":191589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:39:10] local.INFO: Extracted packet for processing {"connection_id":191589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:39:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305257216001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790255212000,"timestamp_ms":1790255212000,"timestamp_seconds":1790255212,"priority":1,"record_length":96,"hex_timestamp":"000001a0d386a5e0"} 
[2026-09-24 18:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 18:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305257216001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305257216001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:39:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:39:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305257216001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":191589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:39:10] local.INFO: GPS data processed {"connection_id":191589,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:39:10] local.INFO: Acknowledgment sent {"connection_id":191589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:39:12] local.INFO: TCP Data received {"connection_id":191390,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191390,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:39:12] local.INFO: Processing buffer {"connection_id":191390,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:39:12] local.INFO: IMEI packet received {"connection_id":191390,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":191390,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:39:13] local.INFO: TCP Data received {"connection_id":191390,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:39:13] local.INFO: Processing buffer {"connection_id":191390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:39:13] local.INFO: Packet analysis {"connection_id":191390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:39:13] local.INFO: Extracted packet for processing {"connection_id":191390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:39:13] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305256960001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:39:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790255215000,"timestamp_ms":1790255215000,"timestamp_seconds":1790255215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d386b198"} 
[2026-09-24 18:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:39:13] 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-09-24 18:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305256960001,"66":26963,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305256960001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:39:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:39:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:39:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305256960001,"power":26963,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":191390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891375,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:39:13] local.INFO: GPS data processed {"connection_id":191390,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:39:13] local.INFO: Acknowledgment sent {"connection_id":191390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:39:28] local.INFO: TCP Data received {"connection_id":191590,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:39:28] local.INFO: Processing buffer {"connection_id":191590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:39:28] local.INFO: IMEI packet received {"connection_id":191590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":191590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:39:33] local.INFO: TCP Data received {"connection_id":191590,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:39:33] local.INFO: Processing buffer {"connection_id":191590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:39:33] local.INFO: IMEI packet received {"connection_id":191590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":191590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:39:34] local.INFO: TCP Data received {"connection_id":191590,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:39:34] local.INFO: Processing buffer {"connection_id":191590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:39:34] local.INFO: Packet analysis {"connection_id":191590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:39:34] local.INFO: Extracted packet for processing {"connection_id":191590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:39:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305257216001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790255212000,"timestamp_ms":1790255212000,"timestamp_seconds":1790255212,"priority":1,"record_length":96,"hex_timestamp":"000001a0d386a5e0"} 
[2026-09-24 18:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 18:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305257216001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305257216001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:39:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:39:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305257216001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":191590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:39:34] local.INFO: GPS data processed {"connection_id":191590,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:39:34] local.INFO: Acknowledgment sent {"connection_id":191590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:39:44] local.INFO: TCP Data received {"connection_id":194245,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:39:44] local.INFO: Processing buffer {"connection_id":194245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:39:44] local.INFO: IMEI packet received {"connection_id":194245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":194245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:39:45] local.INFO: TCP Data received {"connection_id":191390,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:39:45] local.INFO: Processing buffer {"connection_id":191390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:39:45] local.INFO: Packet analysis {"connection_id":191390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:39:45] local.INFO: Extracted packet for processing {"connection_id":191390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:39:45] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305256960001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:39:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790255215000,"timestamp_ms":1790255215000,"timestamp_seconds":1790255215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d386b198"} 
[2026-09-24 18:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:39:45] 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-09-24 18:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305256960001,"66":26963,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305256960001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:39:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:39:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:39:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305256960001,"power":26963,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":191390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891377,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:39:45] local.INFO: GPS data processed {"connection_id":191390,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:39:45] local.INFO: Acknowledgment sent {"connection_id":191390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:39:47] local.INFO: TCP Data received {"connection_id":194245,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:39:47] local.INFO: Processing buffer {"connection_id":194245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:39:47] local.INFO: IMEI packet received {"connection_id":194245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":194245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:39:48] local.INFO: TCP Data received {"connection_id":194245,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3876d18012d193a400720b350002a012f22..."} 
[2026-09-24 18:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3876d18012d193a400720b350002a012f22..."} 
[2026-09-24 18:39:48] local.INFO: Processing buffer {"connection_id":194245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3876d18012d193a400720b350002a012f22..."} 
[2026-09-24 18:39:48] local.INFO: Packet analysis {"connection_id":194245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d387"} 
[2026-09-24 18:39:48] local.INFO: Extracted packet for processing {"connection_id":194245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d387"} 
[2026-09-24 18:39:48] local.INFO: GPS Element Parsed {"raw_longitude":756628032,"raw_latitude":119583568,"longitude_deg":75.6628032,"latitude_deg":11.9583568,"altitude":42,"angle":303,"satellites":34,"speed":37,"hex_longitude":"2d193a40","hex_latitude":"0720b350","is_valid_coordinates":true} 
[2026-09-24 18:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305346560001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23031251023691776,"note":"Value kept but may cause issues"} 
[2026-09-24 18:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820580179977580544,"note":"Value kept but may cause issues"} 
[2026-09-24 18:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790255263000,"timestamp_ms":1790255263000,"timestamp_seconds":1790255263,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3876d18"} 
[2026-09-24 18:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:39: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-09-24 18:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-24 18:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":194245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":194245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":194245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305346560001,"66":13624,"103":206,"83":41984,"24":37,"16":23031251023691776,"45":1820580179977580544},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 18:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305346560001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:39:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 18:39:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23031251023691776,"km_value":23031251023691.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820580179977580544,"description":"Unknown IO ID 45"} 
[2026-09-24 18:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305346560001,"power":13624,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1820580179977580544}} 
[2026-09-24 18:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":194245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:39:48] local.INFO: GPS data processed {"connection_id":194245,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:39:48] local.INFO: Acknowledgment sent {"connection_id":194245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:40:05] local.INFO: TCP Data received {"connection_id":191590,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:40:05] local.INFO: Processing buffer {"connection_id":191590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:40:05] local.INFO: Packet analysis {"connection_id":191590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:40:05] local.INFO: Extracted packet for processing {"connection_id":191590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:40:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305257216001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790255212000,"timestamp_ms":1790255212000,"timestamp_seconds":1790255212,"priority":1,"record_length":96,"hex_timestamp":"000001a0d386a5e0"} 
[2026-09-24 18:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 18:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305257216001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305257216001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:40:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:40:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305257216001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":191590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:40:05] local.INFO: GPS data processed {"connection_id":191590,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:40:05] local.INFO: Acknowledgment sent {"connection_id":191590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:40:12] local.INFO: TCP Data received {"connection_id":194246,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194246,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:40:12] local.INFO: Processing buffer {"connection_id":194246,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:40:12] local.INFO: IMEI packet received {"connection_id":194246,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":194246,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:40:16] local.INFO: TCP Data received {"connection_id":194246,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194246,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:40:17] local.INFO: Processing buffer {"connection_id":194246,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:40:17] local.INFO: IMEI packet received {"connection_id":194246,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":194246,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:40:18] local.INFO: TCP Data received {"connection_id":194246,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:40:18] local.INFO: Processing buffer {"connection_id":194246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:40:18] local.INFO: Packet analysis {"connection_id":194246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:40:18] local.INFO: Extracted packet for processing {"connection_id":194246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:40:18] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305256960001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:40:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790255215000,"timestamp_ms":1790255215000,"timestamp_seconds":1790255215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d386b198"} 
[2026-09-24 18:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:40: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-09-24 18:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":194246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":194246,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":194246,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305256960001,"66":26963,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305256960001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:40:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:40:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:40:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305256960001,"power":26963,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":194246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891380,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:40:18] local.INFO: GPS data processed {"connection_id":194246,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:40:18] local.INFO: Acknowledgment sent {"connection_id":194246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:40:19] local.INFO: TCP Data received {"connection_id":194245,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38916e0012d189100072111d0004000e327..."} 
[2026-09-24 18:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38916e0012d189100072111d0004000e327..."} 
[2026-09-24 18:40:19] local.INFO: Processing buffer {"connection_id":194245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38916e0012d189100072111d0004000e327..."} 
[2026-09-24 18:40:19] local.INFO: Packet analysis {"connection_id":194245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d389"} 
[2026-09-24 18:40:19] local.INFO: Extracted packet for processing {"connection_id":194245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d389"} 
[2026-09-24 18:40:19] local.INFO: GPS Element Parsed {"raw_longitude":756584704,"raw_latitude":119607760,"longitude_deg":75.6584704,"latitude_deg":11.960776,"altitude":64,"angle":227,"satellites":39,"speed":10,"hex_longitude":"2d189100","hex_latitude":"072111d0","is_valid_coordinates":true} 
[2026-09-24 18:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305372416001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23033862363807744,"note":"Value kept but may cause issues"} 
[2026-09-24 18:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774981233757140992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790255372000,"timestamp_ms":1790255372000,"timestamp_seconds":1790255372,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38916e0"} 
[2026-09-24 18:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:40: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-09-24 18:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-24 18:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":194245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":194245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":194245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305372416001,"66":12537,"103":206,"83":41984,"24":10,"16":23033862363807744,"45":1774981233757140992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 18:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305372416001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:40:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 18:40:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23033862363807744,"km_value":23033862363807.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774981233757140992,"description":"Unknown IO ID 45"} 
[2026-09-24 18:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305372416001,"power":12537,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1774981233757140992}} 
[2026-09-24 18:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":194245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:40:19] local.INFO: GPS data processed {"connection_id":194245,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:40:19] local.INFO: Acknowledgment sent {"connection_id":194245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:40:22] local.INFO: TCP Data received {"connection_id":194246,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:40:22] local.INFO: Processing buffer {"connection_id":194246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:40:22] local.INFO: Packet analysis {"connection_id":194246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:40:22] local.INFO: Extracted packet for processing {"connection_id":194246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:40:22] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305256960001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:40:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790255215000,"timestamp_ms":1790255215000,"timestamp_seconds":1790255215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d386b198"} 
[2026-09-24 18:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:40: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-09-24 18:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194246,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194246,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305256960001,"66":26963,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305256960001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:40:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:40:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:40:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305256960001,"power":26963,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":194246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891382,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:40:22] local.INFO: GPS data processed {"connection_id":194246,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:40:22] local.INFO: Acknowledgment sent {"connection_id":194246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:40:27] local.INFO: TCP Data received {"connection_id":191591,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:40:27] local.INFO: Processing buffer {"connection_id":191591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:40:27] local.INFO: IMEI packet received {"connection_id":191591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":191591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:40:32] local.INFO: TCP Data received {"connection_id":191591,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:40:32] local.INFO: Processing buffer {"connection_id":191591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:40:32] local.INFO: IMEI packet received {"connection_id":191591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":191591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:40:34] local.INFO: TCP Data received {"connection_id":191591,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:40:34] local.INFO: Processing buffer {"connection_id":191591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:40:34] local.INFO: Packet analysis {"connection_id":191591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:40:34] local.INFO: Extracted packet for processing {"connection_id":191591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:40:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305257216001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790255212000,"timestamp_ms":1790255212000,"timestamp_seconds":1790255212,"priority":1,"record_length":96,"hex_timestamp":"000001a0d386a5e0"} 
[2026-09-24 18:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 18:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305257216001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305257216001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:40:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:40:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305257216001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":191591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:40:34] local.INFO: GPS data processed {"connection_id":191591,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:40:34] local.INFO: Acknowledgment sent {"connection_id":191591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:40:43] local.INFO: TCP Data received {"connection_id":191592,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:40:43] local.INFO: Processing buffer {"connection_id":191592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:40:43] local.INFO: IMEI packet received {"connection_id":191592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":191592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:40:43] local.INFO: TCP Data received {"connection_id":191592,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:40:43] local.INFO: Processing buffer {"connection_id":191592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:40:43] local.INFO: IMEI packet received {"connection_id":191592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":191592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:40:44] local.INFO: TCP Data received {"connection_id":191592,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:40:44] local.INFO: Processing buffer {"connection_id":191592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:40:44] local.INFO: IMEI packet received {"connection_id":191592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":191592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:40:45] local.INFO: TCP Data received {"connection_id":191592,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:40:45] local.INFO: Processing buffer {"connection_id":191592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:40:45] local.INFO: IMEI packet received {"connection_id":191592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":191592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:41:05] local.INFO: TCP Data received {"connection_id":191591,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:41:05] local.INFO: Processing buffer {"connection_id":191591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:41:05] local.INFO: Packet analysis {"connection_id":191591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:41:05] local.INFO: Extracted packet for processing {"connection_id":191591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:41:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305257216001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790255212000,"timestamp_ms":1790255212000,"timestamp_seconds":1790255212,"priority":1,"record_length":96,"hex_timestamp":"000001a0d386a5e0"} 
[2026-09-24 18:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 18:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305257216001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305257216001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:41:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:41:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305257216001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":191591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:41:05] local.INFO: GPS data processed {"connection_id":191591,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:41:05] local.INFO: Acknowledgment sent {"connection_id":191591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:41:06] local.INFO: TCP Data received {"connection_id":192972,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:41:06] local.INFO: Processing buffer {"connection_id":192972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:41:06] local.INFO: IMEI packet received {"connection_id":192972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":192972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:41:11] local.INFO: TCP Data received {"connection_id":192972,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:41:12] local.INFO: Processing buffer {"connection_id":192972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:41:12] local.INFO: IMEI packet received {"connection_id":192972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":192972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:41:13] local.INFO: TCP Data received {"connection_id":192972,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:41:13] local.INFO: Processing buffer {"connection_id":192972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:41:13] local.INFO: Packet analysis {"connection_id":192972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:41:13] local.INFO: Extracted packet for processing {"connection_id":192972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:41:13] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305256960001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:41:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790255215000,"timestamp_ms":1790255215000,"timestamp_seconds":1790255215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d386b198"} 
[2026-09-24 18:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:41:13] 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-09-24 18:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305256960001,"66":26963,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305256960001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:41:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:41:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:41:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305256960001,"power":26963,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":192972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891385,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:41:13] local.INFO: GPS data processed {"connection_id":192972,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:41:13] local.INFO: Acknowledgment sent {"connection_id":192972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:41:28] local.INFO: TCP Data received {"connection_id":191593,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:41:28] local.INFO: Processing buffer {"connection_id":191593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:41:28] local.INFO: IMEI packet received {"connection_id":191593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":191593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:41:33] local.INFO: TCP Data received {"connection_id":191593,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:41:33] local.INFO: Processing buffer {"connection_id":191593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:41:33] local.INFO: IMEI packet received {"connection_id":191593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":191593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:41:34] local.INFO: TCP Data received {"connection_id":191593,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:41:34] local.INFO: Processing buffer {"connection_id":191593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:41:34] local.INFO: Packet analysis {"connection_id":191593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:41:34] local.INFO: Extracted packet for processing {"connection_id":191593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:41:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305257216001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790255212000,"timestamp_ms":1790255212000,"timestamp_seconds":1790255212,"priority":1,"record_length":96,"hex_timestamp":"000001a0d386a5e0"} 
[2026-09-24 18:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 18:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305257216001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305257216001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:41:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:41:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305257216001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":191593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:41:34] local.INFO: GPS data processed {"connection_id":191593,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:41:34] local.INFO: Acknowledgment sent {"connection_id":191593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:41:45] local.INFO: TCP Data received {"connection_id":192972,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:41:45] local.INFO: Processing buffer {"connection_id":192972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:41:45] local.INFO: Packet analysis {"connection_id":192972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:41:45] local.INFO: Extracted packet for processing {"connection_id":192972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:41:45] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:41: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-09-24 18:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305256960001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:41:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790255215000,"timestamp_ms":1790255215000,"timestamp_seconds":1790255215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d386b198"} 
[2026-09-24 18:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:41: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":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:41:45] 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-09-24 18:41: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-09-24 18:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305256960001,"66":26963,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305256960001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:41:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:41:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:41:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305256960001,"power":26963,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":192972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891387,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:41:45] local.INFO: GPS data processed {"connection_id":192972,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:41:45] local.INFO: Acknowledgment sent {"connection_id":192972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:42:05] local.INFO: TCP Data received {"connection_id":191593,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:42:05] local.INFO: Processing buffer {"connection_id":191593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d386a5e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:42:05] local.INFO: Packet analysis {"connection_id":191593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:42:05] local.INFO: Extracted packet for processing {"connection_id":191593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:42:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305257216001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790255212000,"timestamp_ms":1790255212000,"timestamp_seconds":1790255212,"priority":1,"record_length":96,"hex_timestamp":"000001a0d386a5e0"} 
[2026-09-24 18:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-24 18:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305257216001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305257216001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:42:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:42:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305257216001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":191593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:42:05] local.INFO: GPS data processed {"connection_id":191593,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:42:05] local.INFO: Acknowledgment sent {"connection_id":191593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:42:06] local.INFO: TCP Data received {"connection_id":191594,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:42:06] local.INFO: Processing buffer {"connection_id":191594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:42:06] local.INFO: IMEI packet received {"connection_id":191594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":191594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:42:11] local.INFO: TCP Data received {"connection_id":191594,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:42:11] local.INFO: Processing buffer {"connection_id":191594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:42:11] local.INFO: IMEI packet received {"connection_id":191594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":191594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:42:12] local.INFO: TCP Data received {"connection_id":191594,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:42:12] local.INFO: Processing buffer {"connection_id":191594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d386b198012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:42:12] local.INFO: Packet analysis {"connection_id":191594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:42:12] local.INFO: Extracted packet for processing {"connection_id":191594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d386"} 
[2026-09-24 18:42:12] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305256960001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:42:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790255215000,"timestamp_ms":1790255215000,"timestamp_seconds":1790255215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d386b198"} 
[2026-09-24 18:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:42:12] 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-09-24 18:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305256960001,"66":26963,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305256960001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:42:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:42:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:42:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305256960001,"power":26963,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":191594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891389,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:42:12] local.INFO: GPS data processed {"connection_id":191594,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:42:12] local.INFO: Acknowledgment sent {"connection_id":191594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:42:27] local.INFO: TCP Data received {"connection_id":191392,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:42:27] local.INFO: Processing buffer {"connection_id":191392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:42:27] local.INFO: IMEI packet received {"connection_id":191392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":191392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:42:30] local.INFO: TCP Data received {"connection_id":191392,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:42:30] local.INFO: Processing buffer {"connection_id":191392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:42:30] local.INFO: IMEI packet received {"connection_id":191392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":191392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:42:31] local.INFO: TCP Data received {"connection_id":191392,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:42:31] local.INFO: Processing buffer {"connection_id":191392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:42:31] local.INFO: Packet analysis {"connection_id":191392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:42:31] local.INFO: Extracted packet for processing {"connection_id":191392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:42:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 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-09-24 18:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305334272001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790255513000,"timestamp_ms":1790255513000,"timestamp_seconds":1790255513,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38b3da8"} 
[2026-09-24 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-09-24 18: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-09-24 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 18:42: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-09-24 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-09-24 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-09-24 18:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":191392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":191392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":191392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305334272001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305334272001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:42:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:42:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305334272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":191392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:42:31] local.INFO: GPS data processed {"connection_id":191392,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:42:31] local.INFO: Acknowledgment sent {"connection_id":191392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:42:44] local.INFO: TCP Data received {"connection_id":191594,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:42:44] local.INFO: Processing buffer {"connection_id":191594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:42:44] local.INFO: Packet analysis {"connection_id":191594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:42:44] local.INFO: Extracted packet for processing {"connection_id":191594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:42:44] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305335040001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:42:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790255515000,"timestamp_ms":1790255515000,"timestamp_seconds":1790255515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38b4578"} 
[2026-09-24 18:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-09-24 18:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305335040001,"66":26789,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305335040001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:42:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:42:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:42:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305335040001,"power":26789,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":191594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891391,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:42:44] local.INFO: GPS data processed {"connection_id":191594,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:42:44] local.INFO: Acknowledgment sent {"connection_id":191594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:43:03] local.INFO: TCP Data received {"connection_id":191392,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:43:03] local.INFO: Processing buffer {"connection_id":191392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:43:03] local.INFO: Packet analysis {"connection_id":191392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:43:03] local.INFO: Extracted packet for processing {"connection_id":191392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305334272001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790255513000,"timestamp_ms":1790255513000,"timestamp_seconds":1790255513,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38b3da8"} 
[2026-09-24 18:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:43: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-09-24 18:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 18:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305334272001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305334272001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:43:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305334272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":191392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:43:03] local.INFO: GPS data processed {"connection_id":191392,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:43:03] local.INFO: Acknowledgment sent {"connection_id":191392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:43:12] local.INFO: TCP Data received {"connection_id":191595,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:43:12] local.INFO: Processing buffer {"connection_id":191595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:43:12] local.INFO: IMEI packet received {"connection_id":191595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":191595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:43:16] local.INFO: TCP Data received {"connection_id":191595,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:43:16] local.INFO: Processing buffer {"connection_id":191595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:43:16] local.INFO: IMEI packet received {"connection_id":191595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":191595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:43:18] local.INFO: TCP Data received {"connection_id":191595,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:43:18] local.INFO: Processing buffer {"connection_id":191595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:43:18] local.INFO: Packet analysis {"connection_id":191595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:43:18] local.INFO: Extracted packet for processing {"connection_id":191595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:43:18] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305335040001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:43:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790255515000,"timestamp_ms":1790255515000,"timestamp_seconds":1790255515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38b4578"} 
[2026-09-24 18:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-09-24 18:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305335040001,"66":26789,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305335040001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:43:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:43:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:43:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305335040001,"power":26789,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":191595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891393,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:43:18] local.INFO: GPS data processed {"connection_id":191595,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:43:18] local.INFO: Acknowledgment sent {"connection_id":191595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:43:27] local.INFO: TCP Data received {"connection_id":192974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:43:27] local.INFO: Processing buffer {"connection_id":192974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:43:27] local.INFO: IMEI packet received {"connection_id":192974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":192974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:43:33] local.INFO: TCP Data received {"connection_id":192974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:43:33] local.INFO: Processing buffer {"connection_id":192974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:43:33] local.INFO: IMEI packet received {"connection_id":192974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":192974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:43:34] local.INFO: TCP Data received {"connection_id":192974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:43:34] local.INFO: Processing buffer {"connection_id":192974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:43:34] local.INFO: Packet analysis {"connection_id":192974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:43:34] local.INFO: Extracted packet for processing {"connection_id":192974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:43:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305334272001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790255513000,"timestamp_ms":1790255513000,"timestamp_seconds":1790255513,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38b3da8"} 
[2026-09-24 18:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 18:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305334272001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305334272001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:43:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:43:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305334272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":192974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:43:34] local.INFO: GPS data processed {"connection_id":192974,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:43:34] local.INFO: Acknowledgment sent {"connection_id":192974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:43:50] local.INFO: TCP Data received {"connection_id":191595,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:43:50] local.INFO: Processing buffer {"connection_id":191595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:43:50] local.INFO: Packet analysis {"connection_id":191595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:43:50] local.INFO: Extracted packet for processing {"connection_id":191595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:43:50] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305335040001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:43:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790255515000,"timestamp_ms":1790255515000,"timestamp_seconds":1790255515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38b4578"} 
[2026-09-24 18:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-09-24 18:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305335040001,"66":26789,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305335040001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:43:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:43:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:43:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305335040001,"power":26789,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":191595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891395,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:43:50] local.INFO: GPS data processed {"connection_id":191595,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:43:50] local.INFO: Acknowledgment sent {"connection_id":191595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:44:05] local.INFO: TCP Data received {"connection_id":192974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:44:05] local.INFO: Processing buffer {"connection_id":192974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:44:05] local.INFO: Packet analysis {"connection_id":192974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:44:05] local.INFO: Extracted packet for processing {"connection_id":192974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:44:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305334272001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790255513000,"timestamp_ms":1790255513000,"timestamp_seconds":1790255513,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38b3da8"} 
[2026-09-24 18:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:44: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-09-24 18:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 18:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305334272001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305334272001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:44:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:44:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305334272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":192974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:44:05] local.INFO: GPS data processed {"connection_id":192974,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:44:05] local.INFO: Acknowledgment sent {"connection_id":192974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:44:06] local.INFO: TCP Data received {"connection_id":191394,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:44:06] local.INFO: Processing buffer {"connection_id":191394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:44:06] local.INFO: IMEI packet received {"connection_id":191394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":191394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:44:11] local.INFO: TCP Data received {"connection_id":191394,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:44:11] local.INFO: Processing buffer {"connection_id":191394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:44:11] local.INFO: IMEI packet received {"connection_id":191394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":191394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:44:13] local.INFO: TCP Data received {"connection_id":191394,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:44:13] local.INFO: Processing buffer {"connection_id":191394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:44:13] local.INFO: Packet analysis {"connection_id":191394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:44:13] local.INFO: Extracted packet for processing {"connection_id":191394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:44:13] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305335040001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:44:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790255515000,"timestamp_ms":1790255515000,"timestamp_seconds":1790255515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38b4578"} 
[2026-09-24 18:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-09-24 18:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191394,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191394,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305335040001,"66":26789,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305335040001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:44:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:44:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:44:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305335040001,"power":26789,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":191394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891397,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:44:13] local.INFO: GPS data processed {"connection_id":191394,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:44:13] local.INFO: Acknowledgment sent {"connection_id":191394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:44:28] local.INFO: TCP Data received {"connection_id":191596,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:44:28] local.INFO: Processing buffer {"connection_id":191596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:44:28] local.INFO: IMEI packet received {"connection_id":191596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":191596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:44:32] local.INFO: TCP Data received {"connection_id":191596,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:44:32] local.INFO: Processing buffer {"connection_id":191596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:44:32] local.INFO: IMEI packet received {"connection_id":191596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":191596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:44:34] local.INFO: TCP Data received {"connection_id":191596,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:44:34] local.INFO: Processing buffer {"connection_id":191596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:44:34] local.INFO: Packet analysis {"connection_id":191596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:44:34] local.INFO: Extracted packet for processing {"connection_id":191596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:44:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305334272001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790255513000,"timestamp_ms":1790255513000,"timestamp_seconds":1790255513,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38b3da8"} 
[2026-09-24 18:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 18:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305334272001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305334272001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:44:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:44:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305334272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":191596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:44:34] local.INFO: GPS data processed {"connection_id":191596,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:44:34] local.INFO: Acknowledgment sent {"connection_id":191596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:44:44] local.INFO: TCP Data received {"connection_id":191394,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:44:44] local.INFO: Processing buffer {"connection_id":191394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:44:44] local.INFO: Packet analysis {"connection_id":191394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:44:44] local.INFO: Extracted packet for processing {"connection_id":191394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:44:44] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305335040001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:44:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790255515000,"timestamp_ms":1790255515000,"timestamp_seconds":1790255515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38b4578"} 
[2026-09-24 18:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-09-24 18:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191394,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191394,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305335040001,"66":26789,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305335040001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:44:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:44:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:44:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305335040001,"power":26789,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":191394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891399,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:44:45] local.INFO: GPS data processed {"connection_id":191394,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:44:45] local.INFO: Acknowledgment sent {"connection_id":191394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:45:05] local.INFO: TCP Data received {"connection_id":191596,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:45:05] local.INFO: Processing buffer {"connection_id":191596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:45:05] local.INFO: Packet analysis {"connection_id":191596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:45:05] local.INFO: Extracted packet for processing {"connection_id":191596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305334272001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790255513000,"timestamp_ms":1790255513000,"timestamp_seconds":1790255513,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38b3da8"} 
[2026-09-24 18:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 18:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305334272001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305334272001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:45:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:45:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305334272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":191596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:45:05] local.INFO: GPS data processed {"connection_id":191596,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:45:05] local.INFO: Acknowledgment sent {"connection_id":191596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:45:06] local.INFO: TCP Data received {"connection_id":194248,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:45:06] local.INFO: Processing buffer {"connection_id":194248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:45:06] local.INFO: IMEI packet received {"connection_id":194248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":194248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:45:11] local.INFO: TCP Data received {"connection_id":194248,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:45:11] local.INFO: Processing buffer {"connection_id":194248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:45:11] local.INFO: IMEI packet received {"connection_id":194248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":194248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:45:19] local.INFO: TCP Data received {"connection_id":194248,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:45:19] local.INFO: Processing buffer {"connection_id":194248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:45:19] local.INFO: Packet analysis {"connection_id":194248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:45:19] local.INFO: Extracted packet for processing {"connection_id":194248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:45:19] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305335040001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:45:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790255515000,"timestamp_ms":1790255515000,"timestamp_seconds":1790255515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38b4578"} 
[2026-09-24 18:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-09-24 18:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":194248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":194248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":194248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305335040001,"66":26789,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305335040001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:45:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:45:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:45:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305335040001,"power":26789,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":194248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891401,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:45:19] local.INFO: GPS data processed {"connection_id":194248,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:45:19] local.INFO: Acknowledgment sent {"connection_id":194248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:45:33] local.INFO: TCP Data received {"connection_id":191395,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:45:33] local.INFO: Processing buffer {"connection_id":191395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:45:33] local.INFO: IMEI packet received {"connection_id":191395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":191395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:45:38] local.INFO: TCP Data received {"connection_id":191395,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:45:38] local.INFO: Processing buffer {"connection_id":191395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:45:38] local.INFO: IMEI packet received {"connection_id":191395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":191395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:45:40] local.INFO: TCP Data received {"connection_id":191395,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:45:40] local.INFO: Processing buffer {"connection_id":191395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:45:40] local.INFO: Packet analysis {"connection_id":191395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:45:40] local.INFO: Extracted packet for processing {"connection_id":191395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:45:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305334272001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790255513000,"timestamp_ms":1790255513000,"timestamp_seconds":1790255513,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38b3da8"} 
[2026-09-24 18:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 18:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305334272001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305334272001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:45:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:45:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305334272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":191395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:45:40] local.INFO: GPS data processed {"connection_id":191395,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:45:40] local.INFO: Acknowledgment sent {"connection_id":191395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:45:43] local.INFO: TCP Data received {"connection_id":191395,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:45:43] local.INFO: Processing buffer {"connection_id":191395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:45:43] local.INFO: Packet analysis {"connection_id":191395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:45:43] local.INFO: Extracted packet for processing {"connection_id":191395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:45:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305334272001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790255513000,"timestamp_ms":1790255513000,"timestamp_seconds":1790255513,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38b3da8"} 
[2026-09-24 18:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 18:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305334272001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305334272001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:45:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:45:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305334272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":191395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:45:43] local.INFO: GPS data processed {"connection_id":191395,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:45:43] local.INFO: Acknowledgment sent {"connection_id":191395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:45:48] local.INFO: TCP Data received {"connection_id":191396,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:45:48] local.INFO: Processing buffer {"connection_id":191396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:45:48] local.INFO: IMEI packet received {"connection_id":191396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":191396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:45:49] local.INFO: TCP Data received {"connection_id":191396,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:45:49] local.INFO: Processing buffer {"connection_id":191396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:45:49] local.INFO: IMEI packet received {"connection_id":191396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":191396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:45:50] local.INFO: TCP Data received {"connection_id":194248,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:45:50] local.INFO: Processing buffer {"connection_id":194248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:45:50] local.INFO: Packet analysis {"connection_id":194248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:45:50] local.INFO: Extracted packet for processing {"connection_id":194248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:45:50] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305335040001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:45:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790255515000,"timestamp_ms":1790255515000,"timestamp_seconds":1790255515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38b4578"} 
[2026-09-24 18:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-09-24 18:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":194248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":194248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":194248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305335040001,"66":26789,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305335040001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:45:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:45:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:45:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305335040001,"power":26789,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":194248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891404,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:45:50] local.INFO: GPS data processed {"connection_id":194248,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:45:50] local.INFO: Acknowledgment sent {"connection_id":194248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:45:54] local.INFO: TCP Data received {"connection_id":191396,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:45:54] local.INFO: Processing buffer {"connection_id":191396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:45:54] local.INFO: IMEI packet received {"connection_id":191396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":191396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:45:55] local.INFO: TCP Data received {"connection_id":191396,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38e1438012d183b40072193a8004b011f2b..."} 
[2026-09-24 18:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38e1438012d183b40072193a8004b011f2b..."} 
[2026-09-24 18:45:55] local.INFO: Processing buffer {"connection_id":191396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38e1438012d183b40072193a8004b011f2b..."} 
[2026-09-24 18:45:55] local.INFO: Packet analysis {"connection_id":191396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38e"} 
[2026-09-24 18:45:55] local.INFO: Extracted packet for processing {"connection_id":191396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38e"} 
[2026-09-24 18:45:55] local.INFO: GPS Element Parsed {"raw_longitude":756562752,"raw_latitude":119641000,"longitude_deg":75.6562752,"latitude_deg":11.9641,"altitude":75,"angle":287,"satellites":43,"speed":22,"hex_longitude":"2d183b40","hex_latitude":"072193a8","is_valid_coordinates":true} 
[2026-09-24 18:45: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-09-24 18:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305455360001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23039252547764224,"note":"Value kept but may cause issues"} 
[2026-09-24 18:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755348354138937344,"note":"Value kept but may cause issues"} 
[2026-09-24 18:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790255699000,"timestamp_ms":1790255699000,"timestamp_seconds":1790255699,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38e1438"} 
[2026-09-24 18:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:45: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-09-24 18:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-24 18:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:45: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-09-24 18:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305455360001,"66":12961,"105":206,"83":41984,"24":22,"16":23039252547764224,"45":1755348354138937344},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 18:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305455360001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:45:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:45:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23039252547764224,"km_value":23039252547764.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755348354138937344,"description":"Unknown IO ID 45"} 
[2026-09-24 18:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305455360001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1755348354138937344}} 
[2026-09-24 18:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":191396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:45:55] local.INFO: GPS data processed {"connection_id":191396,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:45:55] local.INFO: Acknowledgment sent {"connection_id":191396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:46:11] local.INFO: TCP Data received {"connection_id":192975,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:46:11] local.INFO: Processing buffer {"connection_id":192975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:46:11] local.INFO: IMEI packet received {"connection_id":192975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":192975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:46:17] local.INFO: TCP Data received {"connection_id":192975,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:46:17] local.INFO: Processing buffer {"connection_id":192975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:46:17] local.INFO: IMEI packet received {"connection_id":192975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":192975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:46:18] local.INFO: TCP Data received {"connection_id":192975,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:46:18] local.INFO: Processing buffer {"connection_id":192975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:46:18] local.INFO: Packet analysis {"connection_id":192975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:46:18] local.INFO: Extracted packet for processing {"connection_id":192975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:46:18] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305335040001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:46:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790255515000,"timestamp_ms":1790255515000,"timestamp_seconds":1790255515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38b4578"} 
[2026-09-24 18:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-09-24 18:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":192975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":192975,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":192975,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305335040001,"66":26789,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305335040001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:46:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:46:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:46:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305335040001,"power":26789,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":192975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891406,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:46:18] local.INFO: GPS data processed {"connection_id":192975,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:46:18] local.INFO: Acknowledgment sent {"connection_id":192975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:46:26] local.INFO: TCP Data received {"connection_id":191396,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38e1c08012d18374007219540004b012b2b..."} 
[2026-09-24 18:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38e1c08012d18374007219540004b012b2b..."} 
[2026-09-24 18:46:26] local.INFO: Processing buffer {"connection_id":191396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38e1c08012d18374007219540004b012b2b..."} 
[2026-09-24 18:46:26] local.INFO: Packet analysis {"connection_id":191396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38e"} 
[2026-09-24 18:46:26] local.INFO: Extracted packet for processing {"connection_id":191396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38e"} 
[2026-09-24 18:46:26] local.INFO: GPS Element Parsed {"raw_longitude":756561728,"raw_latitude":119641408,"longitude_deg":75.6561728,"latitude_deg":11.9641408,"altitude":75,"angle":299,"satellites":43,"speed":19,"hex_longitude":"2d183740","hex_latitude":"07219540","is_valid_coordinates":true} 
[2026-09-24 18:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305458944001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23039304087371776,"note":"Value kept but may cause issues"} 
[2026-09-24 18:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746059679908472832,"note":"Value kept but may cause issues"} 
[2026-09-24 18:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790255701000,"timestamp_ms":1790255701000,"timestamp_seconds":1790255701,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38e1c08"} 
[2026-09-24 18:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-24 18:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305458944001,"66":13004,"105":206,"83":41984,"24":19,"16":23039304087371776,"45":1746059679908472832},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 18:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305458944001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:46:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:46:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23039304087371776,"km_value":23039304087371.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746059679908472832,"description":"Unknown IO ID 45"} 
[2026-09-24 18:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305458944001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1746059679908472832}} 
[2026-09-24 18:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":191396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:46:26] local.INFO: GPS data processed {"connection_id":191396,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:46:26] local.INFO: Acknowledgment sent {"connection_id":191396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:46:27] local.INFO: TCP Data received {"connection_id":192976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:46:27] local.INFO: Processing buffer {"connection_id":192976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:46:27] local.INFO: IMEI packet received {"connection_id":192976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":192976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:46:32] local.INFO: TCP Data received {"connection_id":192976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:46:32] local.INFO: Processing buffer {"connection_id":192976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:46:32] local.INFO: IMEI packet received {"connection_id":192976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":192976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:46:34] local.INFO: TCP Data received {"connection_id":192976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:46:34] local.INFO: Processing buffer {"connection_id":192976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:46:34] local.INFO: Packet analysis {"connection_id":192976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:46:34] local.INFO: Extracted packet for processing {"connection_id":192976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:46:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305334272001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790255513000,"timestamp_ms":1790255513000,"timestamp_seconds":1790255513,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38b3da8"} 
[2026-09-24 18:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 18:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305334272001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305334272001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:46:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:46:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305334272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":192976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:46:34] local.INFO: GPS data processed {"connection_id":192976,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:46:34] local.INFO: Acknowledgment sent {"connection_id":192976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:46:44] local.INFO: TCP Data received {"connection_id":194249,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:46:44] local.INFO: Processing buffer {"connection_id":194249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:46:44] local.INFO: IMEI packet received {"connection_id":194249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":194249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:46:49] local.INFO: TCP Data received {"connection_id":194249,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:46:49] local.INFO: Processing buffer {"connection_id":194249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:46:49] local.INFO: IMEI packet received {"connection_id":194249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":194249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:46:50] local.INFO: TCP Data received {"connection_id":192975,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:46:50] local.INFO: Processing buffer {"connection_id":192975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:46:50] local.INFO: Packet analysis {"connection_id":192975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:46:50] local.INFO: Extracted packet for processing {"connection_id":192975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:46:50] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305335040001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:46:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790255515000,"timestamp_ms":1790255515000,"timestamp_seconds":1790255515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38b4578"} 
[2026-09-24 18:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-09-24 18:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192975,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192975,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305335040001,"66":26789,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305335040001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:46:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:46:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:46:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305335040001,"power":26789,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:46:50] local.INFO: TCP Data received {"connection_id":194249,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38e3f30012d182cc007219ab00049011528..."} 
[2026-09-24 18:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38e3f30012d182cc007219ab00049011528..."} 
[2026-09-24 18:46:50] local.INFO: Processing buffer {"connection_id":194249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38e3f30012d182cc007219ab00049011528..."} 
[2026-09-24 18:46:50] local.INFO: Packet analysis {"connection_id":194249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38e"} 
[2026-09-24 18:46:50] local.INFO: Extracted packet for processing {"connection_id":194249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38e"} 
[2026-09-24 18:46:50] local.INFO: GPS Element Parsed {"raw_longitude":756559040,"raw_latitude":119642800,"longitude_deg":75.655904,"latitude_deg":11.96428,"altitude":73,"angle":277,"satellites":40,"speed":7,"hex_longitude":"2d182cc0","hex_latitude":"07219ab0","is_valid_coordinates":true} 
[2026-09-24 18:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305459456001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23039450116259840,"note":"Value kept but may cause issues"} 
[2026-09-24 18:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744933780001734656,"note":"Value kept but may cause issues"} 
[2026-09-24 18:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790255710000,"timestamp_ms":1790255710000,"timestamp_seconds":1790255710,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38e3f30"} 
[2026-09-24 18:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:46: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-09-24 18:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-24 18:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":194249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":194249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":194249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305459456001,"66":12993,"105":206,"83":41984,"24":7,"16":23039450116259840,"45":1744933780001734656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 18:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305459456001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:46:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:46:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23039450116259840,"km_value":23039450116259.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744933780001734656,"description":"Unknown IO ID 45"} 
[2026-09-24 18:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305459456001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1744933780001734656}} 
[2026-09-24 18:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":192975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891409,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:46:50] local.INFO: GPS data processed {"connection_id":192975,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:46:50] local.INFO: Acknowledgment sent {"connection_id":192975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":194249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:46:50] local.INFO: GPS data processed {"connection_id":194249,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:46:50] local.INFO: Acknowledgment sent {"connection_id":194249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:47:05] local.INFO: TCP Data received {"connection_id":192976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:47:05] local.INFO: Processing buffer {"connection_id":192976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38b3da8012d34c14006aa4940000900f52e..."} 
[2026-09-24 18:47:05] local.INFO: Packet analysis {"connection_id":192976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:47:05] local.INFO: Extracted packet for processing {"connection_id":192976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:47:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305334272001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790255513000,"timestamp_ms":1790255513000,"timestamp_seconds":1790255513,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38b3da8"} 
[2026-09-24 18:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18: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-09-24 18:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 18:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305334272001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305334272001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:47:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:47:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305334272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":192976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:47:05] local.INFO: GPS data processed {"connection_id":192976,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:47:05] local.INFO: Acknowledgment sent {"connection_id":192976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:47:11] local.INFO: TCP Data received {"connection_id":191397,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:47:11] local.INFO: Processing buffer {"connection_id":191397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:47:11] local.INFO: IMEI packet received {"connection_id":191397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":191397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:47:17] local.INFO: TCP Data received {"connection_id":191397,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:47:17] local.INFO: Processing buffer {"connection_id":191397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:47:17] local.INFO: IMEI packet received {"connection_id":191397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":191397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:47:20] local.INFO: TCP Data received {"connection_id":191397,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:47:20] local.INFO: Processing buffer {"connection_id":191397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:47:20] local.INFO: Packet analysis {"connection_id":191397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:47:20] local.INFO: Extracted packet for processing {"connection_id":191397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:47:20] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305335040001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:47:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790255515000,"timestamp_ms":1790255515000,"timestamp_seconds":1790255515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38b4578"} 
[2026-09-24 18:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-09-24 18:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305335040001,"66":26789,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305335040001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:47:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:47:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:47:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305335040001,"power":26789,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":191397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891412,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:47:21] local.INFO: GPS data processed {"connection_id":191397,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:47:21] local.INFO: Acknowledgment sent {"connection_id":191397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:47:21] local.INFO: TCP Data received {"connection_id":194249,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38e9138012d182a8007219b38004a011027..."} 
[2026-09-24 18:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38e9138012d182a8007219b38004a011027..."} 
[2026-09-24 18:47:21] local.INFO: Processing buffer {"connection_id":194249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38e9138012d182a8007219b38004a011027..."} 
[2026-09-24 18:47:21] local.INFO: Packet analysis {"connection_id":194249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38e"} 
[2026-09-24 18:47:21] local.INFO: Extracted packet for processing {"connection_id":194249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38e"} 
[2026-09-24 18:47:21] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119642936,"longitude_deg":75.6558464,"latitude_deg":11.9642936,"altitude":74,"angle":272,"satellites":39,"speed":0,"hex_longitude":"2d182a80","hex_latitude":"07219b38","is_valid_coordinates":true} 
[2026-09-24 18:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305461760001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23039480181030912,"note":"Value kept but may cause issues"} 
[2026-09-24 18:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741978292746629120,"note":"Value kept but may cause issues"} 
[2026-09-24 18:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790255731000,"timestamp_ms":1790255731000,"timestamp_seconds":1790255731,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38e9138"} 
[2026-09-24 18:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:47: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-09-24 18:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-24 18:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305461760001,"66":12917,"105":206,"83":41984,"24":0,"16":23039480181030912,"45":1741978292746629120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 18:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305461760001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:47:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:47:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23039480181030912,"km_value":23039480181030.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741978292746629120,"description":"Unknown IO ID 45"} 
[2026-09-24 18:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305461760001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741978292746629120}} 
[2026-09-24 18:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":194249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:47:21] local.INFO: GPS data processed {"connection_id":194249,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:47:21] local.INFO: Acknowledgment sent {"connection_id":194249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:47:22] local.INFO: TCP Data received {"connection_id":191397,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:47:22] local.INFO: Processing buffer {"connection_id":191397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38b4578012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:47:22] local.INFO: Packet analysis {"connection_id":191397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:47:22] local.INFO: Extracted packet for processing {"connection_id":191397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38b"} 
[2026-09-24 18:47:22] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305335040001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:47:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790255515000,"timestamp_ms":1790255515000,"timestamp_seconds":1790255515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38b4578"} 
[2026-09-24 18:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-09-24 18:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305335040001,"66":26789,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305335040001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:47:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:47:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:47:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305335040001,"power":26789,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":191397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891414,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:47:22] local.INFO: GPS data processed {"connection_id":191397,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:47:22] local.INFO: Acknowledgment sent {"connection_id":191397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:47:28] local.INFO: TCP Data received {"connection_id":194250,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:47:28] local.INFO: Processing buffer {"connection_id":194250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:47:28] local.INFO: IMEI packet received {"connection_id":194250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":194250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:47:32] local.INFO: TCP Data received {"connection_id":194250,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:47:32] local.INFO: Processing buffer {"connection_id":194250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:47:32] local.INFO: IMEI packet received {"connection_id":194250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":194250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:47:33] local.INFO: TCP Data received {"connection_id":194250,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:47:33] local.INFO: Processing buffer {"connection_id":194250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:47:33] local.INFO: Packet analysis {"connection_id":194250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:47:33] local.INFO: Extracted packet for processing {"connection_id":194250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:47:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305411328001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790255814000,"timestamp_ms":1790255814000,"timestamp_seconds":1790255814,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38fd570"} 
[2026-09-24 18:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 18:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305411328001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305411328001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:47:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:47:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305411328001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":194250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:47:33] local.INFO: GPS data processed {"connection_id":194250,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:47:33] local.INFO: Acknowledgment sent {"connection_id":194250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:47:34] local.INFO: TCP Data received {"connection_id":194250,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:47:34] local.INFO: Processing buffer {"connection_id":194250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:47:34] local.INFO: Packet analysis {"connection_id":194250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:47:34] local.INFO: Extracted packet for processing {"connection_id":194250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:47:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305411328001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790255814000,"timestamp_ms":1790255814000,"timestamp_seconds":1790255814,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38fd570"} 
[2026-09-24 18:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 18:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305411328001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305411328001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:47:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:47:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305411328001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":194250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:47:34] local.INFO: GPS data processed {"connection_id":194250,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:47:34] local.INFO: Acknowledgment sent {"connection_id":194250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:47:44] local.INFO: TCP Data received {"connection_id":191398,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:47:44] local.INFO: Processing buffer {"connection_id":191398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:47:44] local.INFO: IMEI packet received {"connection_id":191398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":191398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:47:49] local.INFO: TCP Data received {"connection_id":191398,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:47:49] local.INFO: Processing buffer {"connection_id":191398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:47:49] local.INFO: IMEI packet received {"connection_id":191398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":191398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:47:50] local.INFO: TCP Data received {"connection_id":191398,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38ee340012d182a8007219b38004a011028..."} 
[2026-09-24 18:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38ee340012d182a8007219b38004a011028..."} 
[2026-09-24 18:47:50] local.INFO: Processing buffer {"connection_id":191398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38ee340012d182a8007219b38004a011028..."} 
[2026-09-24 18:47:50] local.INFO: Packet analysis {"connection_id":191398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38e"} 
[2026-09-24 18:47:50] local.INFO: Extracted packet for processing {"connection_id":191398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38e"} 
[2026-09-24 18:47:50] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119642936,"longitude_deg":75.6558464,"latitude_deg":11.9642936,"altitude":74,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d182a80","hex_latitude":"07219b38","is_valid_coordinates":true} 
[2026-09-24 18:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305467136001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23039480181030912,"note":"Value kept but may cause issues"} 
[2026-09-24 18:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974049064960,"note":"Value kept but may cause issues"} 
[2026-09-24 18:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790255752000,"timestamp_ms":1790255752000,"timestamp_seconds":1790255752,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38ee340"} 
[2026-09-24 18:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:47: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-09-24 18:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-24 18:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305467136001,"66":12874,"105":206,"83":41984,"24":0,"16":23039480181030912,"45":1741344974049064960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 18:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305467136001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:47:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:47:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23039480181030912,"km_value":23039480181030.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974049064960,"description":"Unknown IO ID 45"} 
[2026-09-24 18:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305467136001,"power":12874,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741344974049064960}} 
[2026-09-24 18:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":191398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:47:50] local.INFO: GPS data processed {"connection_id":191398,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:47:50] local.INFO: Acknowledgment sent {"connection_id":191398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:48:05] local.INFO: TCP Data received {"connection_id":194250,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:48:05] local.INFO: Processing buffer {"connection_id":194250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:48:05] local.INFO: Packet analysis {"connection_id":194250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:48:05] local.INFO: Extracted packet for processing {"connection_id":194250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:48:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305411328001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790255814000,"timestamp_ms":1790255814000,"timestamp_seconds":1790255814,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38fd570"} 
[2026-09-24 18:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 18:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305411328001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305411328001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:48:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:48:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305411328001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":194250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:48:05] local.INFO: GPS data processed {"connection_id":194250,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:48:05] local.INFO: Acknowledgment sent {"connection_id":194250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:48:06] local.INFO: TCP Data received {"connection_id":191597,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191597,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:48:06] local.INFO: Processing buffer {"connection_id":191597,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:48:06] local.INFO: IMEI packet received {"connection_id":191597,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":191597,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:48:11] local.INFO: TCP Data received {"connection_id":191597,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191597,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:48:12] local.INFO: Processing buffer {"connection_id":191597,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:48:12] local.INFO: IMEI packet received {"connection_id":191597,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":191597,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:48:13] local.INFO: TCP Data received {"connection_id":191597,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:48:13] local.INFO: Processing buffer {"connection_id":191597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:48:13] local.INFO: Packet analysis {"connection_id":191597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:48:13] local.INFO: Extracted packet for processing {"connection_id":191597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:48:13] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305411840001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:48:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790255816000,"timestamp_ms":1790255816000,"timestamp_seconds":1790255816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38fdd40"} 
[2026-09-24 18:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-09-24 18:48:13] 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-09-24 18:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305411840001,"66":26691,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305411840001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:48:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:48:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:48:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305411840001,"power":26691,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":191597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891419,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:48:13] local.INFO: GPS data processed {"connection_id":191597,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:48:13] local.INFO: Acknowledgment sent {"connection_id":191597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:48:21] local.INFO: TCP Data received {"connection_id":191398,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38f3548012d182a8007219b38004a011028..."} 
[2026-09-24 18:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38f3548012d182a8007219b38004a011028..."} 
[2026-09-24 18:48:21] local.INFO: Processing buffer {"connection_id":191398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38f3548012d182a8007219b38004a011028..."} 
[2026-09-24 18:48:21] local.INFO: Packet analysis {"connection_id":191398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:48:21] local.INFO: Extracted packet for processing {"connection_id":191398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:48:21] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119642936,"longitude_deg":75.6558464,"latitude_deg":11.9642936,"altitude":74,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d182a80","hex_latitude":"07219b38","is_valid_coordinates":true} 
[2026-09-24 18:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305472512001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23039480181030912,"note":"Value kept but may cause issues"} 
[2026-09-24 18:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974049064960,"note":"Value kept but may cause issues"} 
[2026-09-24 18:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790255773000,"timestamp_ms":1790255773000,"timestamp_seconds":1790255773,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38f3548"} 
[2026-09-24 18:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-24 18:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305472512001,"66":12841,"105":206,"83":41984,"24":0,"16":23039480181030912,"45":1741344974049064960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 18:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305472512001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:48:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:48:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23039480181030912,"km_value":23039480181030.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974049064960,"description":"Unknown IO ID 45"} 
[2026-09-24 18:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305472512001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741344974049064960}} 
[2026-09-24 18:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":191398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:48:21] local.INFO: GPS data processed {"connection_id":191398,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:48:21] local.INFO: Acknowledgment sent {"connection_id":191398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:48:27] local.INFO: TCP Data received {"connection_id":192977,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:48:27] local.INFO: Processing buffer {"connection_id":192977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:48:27] local.INFO: IMEI packet received {"connection_id":192977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":192977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:48:32] local.INFO: TCP Data received {"connection_id":192977,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:48:32] local.INFO: Processing buffer {"connection_id":192977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:48:32] local.INFO: IMEI packet received {"connection_id":192977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":192977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:48:34] local.INFO: TCP Data received {"connection_id":192977,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:48:34] local.INFO: Processing buffer {"connection_id":192977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:48:34] local.INFO: Packet analysis {"connection_id":192977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:48:34] local.INFO: Extracted packet for processing {"connection_id":192977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:48:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305411328001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790255814000,"timestamp_ms":1790255814000,"timestamp_seconds":1790255814,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38fd570"} 
[2026-09-24 18:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 18:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305411328001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305411328001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:48:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:48:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305411328001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":192977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:48:34] local.INFO: GPS data processed {"connection_id":192977,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:48:34] local.INFO: Acknowledgment sent {"connection_id":192977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:48:44] local.INFO: TCP Data received {"connection_id":192978,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:48:44] local.INFO: Processing buffer {"connection_id":192978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:48:44] local.INFO: IMEI packet received {"connection_id":192978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":192978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:48:45] local.INFO: TCP Data received {"connection_id":191597,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:48:45] local.INFO: Processing buffer {"connection_id":191597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:48:45] local.INFO: Packet analysis {"connection_id":191597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:48:45] local.INFO: Extracted packet for processing {"connection_id":191597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:48:45] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305411840001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:48:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790255816000,"timestamp_ms":1790255816000,"timestamp_seconds":1790255816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38fdd40"} 
[2026-09-24 18:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-09-24 18:48:45] 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-09-24 18:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305411840001,"66":26691,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305411840001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:48:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:48:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:48:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305411840001,"power":26691,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":191597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891422,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:48:45] local.INFO: GPS data processed {"connection_id":191597,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:48:45] local.INFO: Acknowledgment sent {"connection_id":191597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:48:49] local.INFO: TCP Data received {"connection_id":192978,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:48:49] local.INFO: Processing buffer {"connection_id":192978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:48:49] local.INFO: IMEI packet received {"connection_id":192978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":192978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:48:50] local.INFO: TCP Data received {"connection_id":192978,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38f8750012d182a8007219b38004a011028..."} 
[2026-09-24 18:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38f8750012d182a8007219b38004a011028..."} 
[2026-09-24 18:48:50] local.INFO: Processing buffer {"connection_id":192978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38f8750012d182a8007219b38004a011028..."} 
[2026-09-24 18:48:50] local.INFO: Packet analysis {"connection_id":192978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:48:50] local.INFO: Extracted packet for processing {"connection_id":192978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:48:50] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119642936,"longitude_deg":75.6558464,"latitude_deg":11.9642936,"altitude":74,"angle":272,"satellites":40,"speed":0,"hex_longitude":"2d182a80","hex_latitude":"07219b38","is_valid_coordinates":true} 
[2026-09-24 18:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305477888001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23039480181030912,"note":"Value kept but may cause issues"} 
[2026-09-24 18:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974049064960,"note":"Value kept but may cause issues"} 
[2026-09-24 18:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790255794000,"timestamp_ms":1790255794000,"timestamp_seconds":1790255794,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38f8750"} 
[2026-09-24 18:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-24 18:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305477888001,"66":12776,"105":206,"83":41984,"24":0,"16":23039480181030912,"45":1741344974049064960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-24 18:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305477888001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:48:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:48:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23039480181030912,"km_value":23039480181030.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974049064960,"description":"Unknown IO ID 45"} 
[2026-09-24 18:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305477888001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741344974049064960}} 
[2026-09-24 18:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":192978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:48:50] local.INFO: GPS data processed {"connection_id":192978,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:48:50] local.INFO: Acknowledgment sent {"connection_id":192978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:49:05] local.INFO: TCP Data received {"connection_id":192977,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:49:05] local.INFO: Processing buffer {"connection_id":192977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:49:05] local.INFO: Packet analysis {"connection_id":192977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:49:05] local.INFO: Extracted packet for processing {"connection_id":192977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:49:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305411328001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790255814000,"timestamp_ms":1790255814000,"timestamp_seconds":1790255814,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38fd570"} 
[2026-09-24 18:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 18:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305411328001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305411328001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:49:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:49:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305411328001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":192977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:49:05] local.INFO: GPS data processed {"connection_id":192977,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:49:05] local.INFO: Acknowledgment sent {"connection_id":192977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:49:06] local.INFO: TCP Data received {"connection_id":191598,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:49:06] local.INFO: Processing buffer {"connection_id":191598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:49:06] local.INFO: IMEI packet received {"connection_id":191598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":191598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:49:11] local.INFO: TCP Data received {"connection_id":191598,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:49:11] local.INFO: Processing buffer {"connection_id":191598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:49:11] local.INFO: IMEI packet received {"connection_id":191598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":191598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:49:13] local.INFO: TCP Data received {"connection_id":191598,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:49:13] local.INFO: Processing buffer {"connection_id":191598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:49:13] local.INFO: Packet analysis {"connection_id":191598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:49:13] local.INFO: Extracted packet for processing {"connection_id":191598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:49:13] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305411840001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:49:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790255816000,"timestamp_ms":1790255816000,"timestamp_seconds":1790255816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38fdd40"} 
[2026-09-24 18:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-09-24 18:49:13] 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-09-24 18:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305411840001,"66":26691,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305411840001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:49:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:49:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:49:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305411840001,"power":26691,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":191598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891425,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:49:13] local.INFO: GPS data processed {"connection_id":191598,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:49:13] local.INFO: Acknowledgment sent {"connection_id":191598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:49:27] local.INFO: TCP Data received {"connection_id":194251,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:49:27] local.INFO: Processing buffer {"connection_id":194251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:49:27] local.INFO: IMEI packet received {"connection_id":194251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":194251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:49:33] local.INFO: TCP Data received {"connection_id":194251,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:49:33] local.INFO: Processing buffer {"connection_id":194251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:49:33] local.INFO: IMEI packet received {"connection_id":194251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":194251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:49:34] local.INFO: TCP Data received {"connection_id":194251,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:49:34] local.INFO: Processing buffer {"connection_id":194251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:49:34] local.INFO: Packet analysis {"connection_id":194251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:49:34] local.INFO: Extracted packet for processing {"connection_id":194251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:49:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305411328001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790255814000,"timestamp_ms":1790255814000,"timestamp_seconds":1790255814,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38fd570"} 
[2026-09-24 18:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 18:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305411328001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305411328001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:49:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:49:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305411328001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":194251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:49:34] local.INFO: GPS data processed {"connection_id":194251,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:49:34] local.INFO: Acknowledgment sent {"connection_id":194251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:49:45] local.INFO: TCP Data received {"connection_id":191598,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:49:45] local.INFO: Processing buffer {"connection_id":191598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:49:45] local.INFO: Packet analysis {"connection_id":191598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:49:45] local.INFO: Extracted packet for processing {"connection_id":191598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:49:45] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305411840001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:49:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790255816000,"timestamp_ms":1790255816000,"timestamp_seconds":1790255816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38fdd40"} 
[2026-09-24 18:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-09-24 18:49:45] 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-09-24 18:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305411840001,"66":26691,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305411840001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:49:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:49:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:49:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305411840001,"power":26691,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":191598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891427,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:49:45] local.INFO: GPS data processed {"connection_id":191598,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:49:45] local.INFO: Acknowledgment sent {"connection_id":191598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:50:05] local.INFO: TCP Data received {"connection_id":194251,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:50:05] local.INFO: Processing buffer {"connection_id":194251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:50:05] local.INFO: Packet analysis {"connection_id":194251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:50:05] local.INFO: Extracted packet for processing {"connection_id":194251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:50:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305411328001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790255814000,"timestamp_ms":1790255814000,"timestamp_seconds":1790255814,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38fd570"} 
[2026-09-24 18:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 18:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305411328001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305411328001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:50:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:50:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305411328001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":194251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:50:05] local.INFO: GPS data processed {"connection_id":194251,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:50:05] local.INFO: Acknowledgment sent {"connection_id":194251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:50:06] local.INFO: TCP Data received {"connection_id":194252,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:50:06] local.INFO: Processing buffer {"connection_id":194252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:50:06] local.INFO: IMEI packet received {"connection_id":194252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":194252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:50:11] local.INFO: TCP Data received {"connection_id":194252,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:50:11] local.INFO: Processing buffer {"connection_id":194252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:50:11] local.INFO: IMEI packet received {"connection_id":194252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":194252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:50:13] local.INFO: TCP Data received {"connection_id":194252,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:50:13] local.INFO: Processing buffer {"connection_id":194252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:50:13] local.INFO: Packet analysis {"connection_id":194252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:50:13] local.INFO: Extracted packet for processing {"connection_id":194252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:50:13] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305411840001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:50:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790255816000,"timestamp_ms":1790255816000,"timestamp_seconds":1790255816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38fdd40"} 
[2026-09-24 18:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-09-24 18:50:13] 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-09-24 18:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":194252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":194252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":194252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305411840001,"66":26691,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305411840001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:50:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:50:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:50:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305411840001,"power":26691,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":194252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891429,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:50:13] local.INFO: GPS data processed {"connection_id":194252,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:50:13] local.INFO: Acknowledgment sent {"connection_id":194252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:50:27] local.INFO: TCP Data received {"connection_id":194253,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:50:27] local.INFO: Processing buffer {"connection_id":194253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:50:27] local.INFO: IMEI packet received {"connection_id":194253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":194253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:50:33] local.INFO: TCP Data received {"connection_id":194253,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:50:33] local.INFO: Processing buffer {"connection_id":194253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:50:33] local.INFO: IMEI packet received {"connection_id":194253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":194253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:50:37] local.INFO: TCP Data received {"connection_id":194253,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:50:37] local.INFO: Processing buffer {"connection_id":194253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:50:37] local.INFO: Packet analysis {"connection_id":194253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:50:37] local.INFO: Extracted packet for processing {"connection_id":194253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305411328001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790255814000,"timestamp_ms":1790255814000,"timestamp_seconds":1790255814,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38fd570"} 
[2026-09-24 18:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 18:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":194253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":194253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":194253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305411328001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305411328001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305411328001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":194253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:50:37] local.INFO: GPS data processed {"connection_id":194253,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:50:37] local.INFO: Acknowledgment sent {"connection_id":194253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:50:45] local.INFO: TCP Data received {"connection_id":194252,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:50:45] local.INFO: Processing buffer {"connection_id":194252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:50:45] local.INFO: Packet analysis {"connection_id":194252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:50:45] local.INFO: Extracted packet for processing {"connection_id":194252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:50:45] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305411840001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:50:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790255816000,"timestamp_ms":1790255816000,"timestamp_seconds":1790255816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38fdd40"} 
[2026-09-24 18:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-09-24 18:50:45] 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-09-24 18:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":194252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":194252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":194252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305411840001,"66":26691,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305411840001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:50:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:50:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:50:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305411840001,"power":26691,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":194252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891431,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:50:45] local.INFO: GPS data processed {"connection_id":194252,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:50:45] local.INFO: Acknowledgment sent {"connection_id":194252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:51:08] local.INFO: TCP Data received {"connection_id":194253,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:51:08] local.INFO: Processing buffer {"connection_id":194253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:51:08] local.INFO: Packet analysis {"connection_id":194253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:51:08] local.INFO: Extracted packet for processing {"connection_id":194253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305411328001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790255814000,"timestamp_ms":1790255814000,"timestamp_seconds":1790255814,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38fd570"} 
[2026-09-24 18:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18: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-09-24 18: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":151,"data_length":795,"current_offset":136} 
[2026-09-24 18:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":194253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":194253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":194253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305411328001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305411328001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:51:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:51:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305411328001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":194253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:51:08] local.INFO: GPS data processed {"connection_id":194253,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:51:08] local.INFO: Acknowledgment sent {"connection_id":194253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:51:11] local.INFO: TCP Data received {"connection_id":191599,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:51:11] local.INFO: Processing buffer {"connection_id":191599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:51:11] local.INFO: IMEI packet received {"connection_id":191599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":191599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:51:16] local.INFO: TCP Data received {"connection_id":191599,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:51:16] local.INFO: Processing buffer {"connection_id":191599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:51:16] local.INFO: IMEI packet received {"connection_id":191599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":191599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:51:18] local.INFO: TCP Data received {"connection_id":191599,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:51:18] local.INFO: Processing buffer {"connection_id":191599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:51:18] local.INFO: Packet analysis {"connection_id":191599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:51:18] local.INFO: Extracted packet for processing {"connection_id":191599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:51:18] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305411840001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:51:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790255816000,"timestamp_ms":1790255816000,"timestamp_seconds":1790255816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38fdd40"} 
[2026-09-24 18:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-09-24 18:51:18] 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-09-24 18:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305411840001,"66":26691,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305411840001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:51:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:51:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:51:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305411840001,"power":26691,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":191599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891433,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:51:18] local.INFO: GPS data processed {"connection_id":191599,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:51:18] local.INFO: Acknowledgment sent {"connection_id":191599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:51:22] local.INFO: TCP Data received {"connection_id":191599,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:51:22] local.INFO: Processing buffer {"connection_id":191599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:51:22] local.INFO: Packet analysis {"connection_id":191599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:51:22] local.INFO: Extracted packet for processing {"connection_id":191599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:51:22] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305411840001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:51:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790255816000,"timestamp_ms":1790255816000,"timestamp_seconds":1790255816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38fdd40"} 
[2026-09-24 18:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-09-24 18:51:22] 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-09-24 18:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305411840001,"66":26691,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305411840001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:51:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:51:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:51:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305411840001,"power":26691,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":191599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891434,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:51:22] local.INFO: GPS data processed {"connection_id":191599,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:51:22] local.INFO: Acknowledgment sent {"connection_id":191599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:51:27] local.INFO: TCP Data received {"connection_id":194254,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:51:27] local.INFO: Processing buffer {"connection_id":194254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:51:27] local.INFO: IMEI packet received {"connection_id":194254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":194254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:51:33] local.INFO: TCP Data received {"connection_id":194254,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:51:33] local.INFO: Processing buffer {"connection_id":194254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:51:33] local.INFO: IMEI packet received {"connection_id":194254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":194254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:51:34] local.INFO: TCP Data received {"connection_id":194254,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:51:34] local.INFO: Processing buffer {"connection_id":194254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:51:34] local.INFO: Packet analysis {"connection_id":194254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:51:34] local.INFO: Extracted packet for processing {"connection_id":194254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:51:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305411328001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790255814000,"timestamp_ms":1790255814000,"timestamp_seconds":1790255814,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38fd570"} 
[2026-09-24 18:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 18:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305411328001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305411328001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:51:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:51:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305411328001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":194254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:51:34] local.INFO: GPS data processed {"connection_id":194254,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:51:34] local.INFO: Acknowledgment sent {"connection_id":194254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:52:05] local.INFO: TCP Data received {"connection_id":194254,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:52:05] local.INFO: Processing buffer {"connection_id":194254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38fd570012d34c14006aa4940000900f52d..."} 
[2026-09-24 18:52:05] local.INFO: Packet analysis {"connection_id":194254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:52:05] local.INFO: Extracted packet for processing {"connection_id":194254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:52:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305411328001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790255814000,"timestamp_ms":1790255814000,"timestamp_seconds":1790255814,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38fd570"} 
[2026-09-24 18:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 18:52: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-09-24 18: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-09-24 18:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305411328001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305411328001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:52:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:52:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305411328001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":194254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:52:05] local.INFO: GPS data processed {"connection_id":194254,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:52:05] local.INFO: Acknowledgment sent {"connection_id":194254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:52:07] local.INFO: TCP Data received {"connection_id":192979,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:52:07] local.INFO: Processing buffer {"connection_id":192979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:52:07] local.INFO: IMEI packet received {"connection_id":192979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":192979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:52:12] local.INFO: TCP Data received {"connection_id":192979,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:52:12] local.INFO: Processing buffer {"connection_id":192979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:52:12] local.INFO: IMEI packet received {"connection_id":192979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":192979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:52:20] local.INFO: TCP Data received {"connection_id":192979,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:52:20] local.INFO: Processing buffer {"connection_id":192979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:52:20] local.INFO: IMEI packet received {"connection_id":192979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":192979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:52:21] local.INFO: TCP Data received {"connection_id":192979,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:52:21] local.INFO: Processing buffer {"connection_id":192979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d38fdd40012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:52:21] local.INFO: Packet analysis {"connection_id":192979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:52:21] local.INFO: Extracted packet for processing {"connection_id":192979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d38f"} 
[2026-09-24 18:52:21] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305411840001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:52:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790255816000,"timestamp_ms":1790255816000,"timestamp_seconds":1790255816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d38fdd40"} 
[2026-09-24 18:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18: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":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-09-24 18:52:21] 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-09-24 18: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-09-24 18:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":192979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":192979,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":192979,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305411840001,"66":26691,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305411840001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:52:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:52:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:52:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305411840001,"power":26691,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":192979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891437,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:52:21] local.INFO: GPS data processed {"connection_id":192979,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:52:21] local.INFO: Acknowledgment sent {"connection_id":192979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:52:27] local.INFO: TCP Data received {"connection_id":191399,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:52:27] local.INFO: Processing buffer {"connection_id":191399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:52:27] local.INFO: IMEI packet received {"connection_id":191399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":191399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:52:32] local.INFO: TCP Data received {"connection_id":191399,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:52:32] local.INFO: Processing buffer {"connection_id":191399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:52:32] local.INFO: IMEI packet received {"connection_id":191399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":191399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:52:34] local.INFO: TCP Data received {"connection_id":191399,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:52:34] local.INFO: Processing buffer {"connection_id":191399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:52:34] local.INFO: Packet analysis {"connection_id":191399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:52:34] local.INFO: Extracted packet for processing {"connection_id":191399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:52:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305488384001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790256115000,"timestamp_ms":1790256115000,"timestamp_seconds":1790256115,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3946d38"} 
[2026-09-24 18:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305488384001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305488384001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:52:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:52:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305488384001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":191399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:52:34] local.INFO: GPS data processed {"connection_id":191399,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:52:34] local.INFO: Acknowledgment sent {"connection_id":191399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:52:34] local.INFO: TCP Data received {"connection_id":191400,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:52:34] local.INFO: Processing buffer {"connection_id":191400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:52:34] local.INFO: IMEI packet received {"connection_id":191400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":191400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:52:36] local.INFO: TCP Data received {"connection_id":191400,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:52:36] local.INFO: Processing buffer {"connection_id":191400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:52:36] local.INFO: IMEI packet received {"connection_id":191400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":191400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:52:41] local.INFO: TCP Data received {"connection_id":191400,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:52:41] local.INFO: Processing buffer {"connection_id":191400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:52:41] local.INFO: IMEI packet received {"connection_id":191400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":191400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:52:42] local.INFO: TCP Data received {"connection_id":191400,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3944240012d181c40072158c80046008329..."} 
[2026-09-24 18:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3944240012d181c40072158c80046008329..."} 
[2026-09-24 18:52:42] local.INFO: Processing buffer {"connection_id":191400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3944240012d181c40072158c80046008329..."} 
[2026-09-24 18:52:42] local.INFO: Packet analysis {"connection_id":191400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:52:42] local.INFO: Extracted packet for processing {"connection_id":191400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:52:42] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119625928,"longitude_deg":75.6554816,"latitude_deg":11.9625928,"altitude":70,"angle":131,"satellites":41,"speed":9,"hex_longitude":"2d181c40","hex_latitude":"072158c8","is_valid_coordinates":true} 
[2026-09-24 18:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305562368001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23040498088280064,"note":"Value kept but may cause issues"} 
[2026-09-24 18:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737052480649920512,"note":"Value kept but may cause issues"} 
[2026-09-24 18:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790256104000,"timestamp_ms":1790256104000,"timestamp_seconds":1790256104,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3944240"} 
[2026-09-24 18:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:52: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-09-24 18:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-24 18:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305562368001,"66":12667,"106":206,"83":41984,"24":9,"16":23040498088280064,"45":1737052480649920512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-24 18:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305562368001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:52:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-24 18:52:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23040498088280064,"km_value":23040498088280.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737052480649920512,"description":"Unknown IO ID 45"} 
[2026-09-24 18:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305562368001,"power":12667,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737052480649920512}} 
[2026-09-24 18:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":191400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:52:42] local.INFO: GPS data processed {"connection_id":191400,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:52:42] local.INFO: Acknowledgment sent {"connection_id":191400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:53:05] local.INFO: TCP Data received {"connection_id":191399,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:53:05] local.INFO: Processing buffer {"connection_id":191399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:53:05] local.INFO: Packet analysis {"connection_id":191399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:53:05] local.INFO: Extracted packet for processing {"connection_id":191399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:53:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305488384001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790256115000,"timestamp_ms":1790256115000,"timestamp_seconds":1790256115,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3946d38"} 
[2026-09-24 18:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305488384001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305488384001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:53:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305488384001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":191399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:53:05] local.INFO: GPS data processed {"connection_id":191399,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:53:05] local.INFO: Acknowledgment sent {"connection_id":191399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:53:09] local.INFO: TCP Data received {"connection_id":191401,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:53:09] local.INFO: Processing buffer {"connection_id":191401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:53:09] local.INFO: IMEI packet received {"connection_id":191401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":191401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:53:13] local.INFO: TCP Data received {"connection_id":191401,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:53:13] local.INFO: Processing buffer {"connection_id":191401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:53:13] local.INFO: IMEI packet received {"connection_id":191401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":191401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:53:13] local.INFO: TCP Data received {"connection_id":191400,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3944628012d181cc0072158680046006d29..."} 
[2026-09-24 18:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3944628012d181cc0072158680046006d29..."} 
[2026-09-24 18:53:13] local.INFO: Processing buffer {"connection_id":191400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3944628012d181cc0072158680046006d29..."} 
[2026-09-24 18:53:13] local.INFO: Packet analysis {"connection_id":191400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:53:13] local.INFO: Extracted packet for processing {"connection_id":191400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:53:13] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119625832,"longitude_deg":75.6554944,"latitude_deg":11.9625832,"altitude":70,"angle":109,"satellites":41,"speed":7,"hex_longitude":"2d181cc0","hex_latitude":"07215868","is_valid_coordinates":true} 
[2026-09-24 18:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305562624001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23040506678214656,"note":"Value kept but may cause issues"} 
[2026-09-24 18:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955626584064,"note":"Value kept but may cause issues"} 
[2026-09-24 18:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790256105000,"timestamp_ms":1790256105000,"timestamp_seconds":1790256105,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3944628"} 
[2026-09-24 18:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-24 18:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305562624001,"66":12537,"106":206,"83":41984,"24":7,"16":23040506678214656,"45":1737333955626584064},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-24 18:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305562624001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:53:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-24 18:53:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23040506678214656,"km_value":23040506678214.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955626584064,"description":"Unknown IO ID 45"} 
[2026-09-24 18:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305562624001,"power":12537,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737333955626584064}} 
[2026-09-24 18:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":191400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:53:13] local.INFO: GPS data processed {"connection_id":191400,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:53:13] local.INFO: Acknowledgment sent {"connection_id":191400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:53:14] local.INFO: TCP Data received {"connection_id":191401,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3947508012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3947508012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:53:14] local.INFO: Processing buffer {"connection_id":191401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3947508012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:53:14] local.INFO: Packet analysis {"connection_id":191401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:53:14] local.INFO: Extracted packet for processing {"connection_id":191401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:53:14] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305488896001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:53:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790256117000,"timestamp_ms":1790256117000,"timestamp_seconds":1790256117,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3947508"} 
[2026-09-24 18:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-09-24 18:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305488896001,"66":26560,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305488896001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:53:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:53:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:53:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305488896001,"power":26560,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":191401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891442,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:53:14] local.INFO: GPS data processed {"connection_id":191401,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:53:14] local.INFO: Acknowledgment sent {"connection_id":191401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:53:17] local.INFO: TCP Data received {"connection_id":191401,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3947508012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3947508012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:53:17] local.INFO: Processing buffer {"connection_id":191401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3947508012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:53:17] local.INFO: Packet analysis {"connection_id":191401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:53:17] local.INFO: Extracted packet for processing {"connection_id":191401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:53:17] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305488896001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:53:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790256117000,"timestamp_ms":1790256117000,"timestamp_seconds":1790256117,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3947508"} 
[2026-09-24 18:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-09-24 18:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305488896001,"66":26560,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305488896001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:53:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:53:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:53:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305488896001,"power":26560,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":191401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891443,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:53:17] local.INFO: GPS data processed {"connection_id":191401,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:53:17] local.INFO: Acknowledgment sent {"connection_id":191401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:53:28] local.INFO: TCP Data received {"connection_id":191402,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:53:28] local.INFO: Processing buffer {"connection_id":191402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:53:28] local.INFO: IMEI packet received {"connection_id":191402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":191402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:53:33] local.INFO: TCP Data received {"connection_id":191402,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:53:33] local.INFO: Processing buffer {"connection_id":191402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:53:33] local.INFO: IMEI packet received {"connection_id":191402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":191402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:53:34] local.INFO: TCP Data received {"connection_id":191402,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:53:34] local.INFO: Processing buffer {"connection_id":191402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:53:34] local.INFO: Packet analysis {"connection_id":191402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:53:34] local.INFO: Extracted packet for processing {"connection_id":191402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:53:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305488384001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790256115000,"timestamp_ms":1790256115000,"timestamp_seconds":1790256115,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3946d38"} 
[2026-09-24 18:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305488384001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305488384001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:53:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:53:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305488384001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":191402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:53:34] local.INFO: GPS data processed {"connection_id":191402,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:53:34] local.INFO: Acknowledgment sent {"connection_id":191402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:53:44] local.INFO: TCP Data received {"connection_id":191400,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3956738012d185780072105b80037006728..."} 
[2026-09-24 18:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3956738012d185780072105b80037006728..."} 
[2026-09-24 18:53:44] local.INFO: Processing buffer {"connection_id":191400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3956738012d185780072105b80037006728..."} 
[2026-09-24 18:53:44] local.INFO: Packet analysis {"connection_id":191400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d395"} 
[2026-09-24 18:53:44] local.INFO: Extracted packet for processing {"connection_id":191400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d395"} 
[2026-09-24 18:53:44] local.INFO: GPS Element Parsed {"raw_longitude":756569984,"raw_latitude":119604664,"longitude_deg":75.6569984,"latitude_deg":11.9604664,"altitude":55,"angle":103,"satellites":40,"speed":15,"hex_longitude":"2d185780","hex_latitude":"072105b8","is_valid_coordinates":true} 
[2026-09-24 18:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305578752001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23042143060754432,"note":"Value kept but may cause issues"} 
[2026-09-24 18:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748381848456755200,"note":"Value kept but may cause issues"} 
[2026-09-24 18:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790256179000,"timestamp_ms":1790256179000,"timestamp_seconds":1790256179,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3956738"} 
[2026-09-24 18:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-24 18:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305578752001,"66":13472,"106":206,"83":41984,"24":15,"16":23042143060754432,"45":1748381848456755200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-24 18:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305578752001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:53:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-24 18:53:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23042143060754432,"km_value":23042143060754.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748381848456755200,"description":"Unknown IO ID 45"} 
[2026-09-24 18:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305578752001,"power":13472,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1748381848456755200}} 
[2026-09-24 18:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":191400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:53:44] local.INFO: GPS data processed {"connection_id":191400,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:53:44] local.INFO: Acknowledgment sent {"connection_id":191400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:53:49] local.INFO: TCP Data received {"connection_id":191401,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3947508012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3947508012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:53:49] local.INFO: Processing buffer {"connection_id":191401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3947508012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:53:49] local.INFO: Packet analysis {"connection_id":191401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:53:49] local.INFO: Extracted packet for processing {"connection_id":191401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:53:49] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305488896001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:53:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790256117000,"timestamp_ms":1790256117000,"timestamp_seconds":1790256117,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3947508"} 
[2026-09-24 18:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-09-24 18:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305488896001,"66":26560,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305488896001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:53:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:53:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:53:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305488896001,"power":26560,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":191401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891446,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:53:49] local.INFO: GPS data processed {"connection_id":191401,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:53:49] local.INFO: Acknowledgment sent {"connection_id":191401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:54:05] local.INFO: TCP Data received {"connection_id":191402,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:54:05] local.INFO: Processing buffer {"connection_id":191402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:54:05] local.INFO: Packet analysis {"connection_id":191402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:54:05] local.INFO: Extracted packet for processing {"connection_id":191402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:54:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305488384001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790256115000,"timestamp_ms":1790256115000,"timestamp_seconds":1790256115,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3946d38"} 
[2026-09-24 18:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305488384001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305488384001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:54:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:54:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305488384001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":191402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:54:05] local.INFO: GPS data processed {"connection_id":191402,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:54:05] local.INFO: Acknowledgment sent {"connection_id":191402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:54:06] local.INFO: TCP Data received {"connection_id":192980,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:54:06] local.INFO: Processing buffer {"connection_id":192980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:54:06] local.INFO: IMEI packet received {"connection_id":192980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":192980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:54:11] local.INFO: TCP Data received {"connection_id":192980,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:54:11] local.INFO: Processing buffer {"connection_id":192980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:54:11] local.INFO: IMEI packet received {"connection_id":192980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":192980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:54:16] local.INFO: TCP Data received {"connection_id":191400,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3956b20012d1858c0072104f80038008128..."} 
[2026-09-24 18:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3956b20012d1858c0072104f80038008128..."} 
[2026-09-24 18:54:16] local.INFO: Processing buffer {"connection_id":191400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3956b20012d1858c0072104f80038008128..."} 
[2026-09-24 18:54:16] local.INFO: Packet analysis {"connection_id":191400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d395"} 
[2026-09-24 18:54:16] local.INFO: Extracted packet for processing {"connection_id":191400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d395"} 
[2026-09-24 18:54:16] local.INFO: GPS Element Parsed {"raw_longitude":756570304,"raw_latitude":119604472,"longitude_deg":75.6570304,"latitude_deg":11.9604472,"altitude":56,"angle":129,"satellites":40,"speed":14,"hex_longitude":"2d1858c0","hex_latitude":"072104f8","is_valid_coordinates":true} 
[2026-09-24 18:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305581824001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23042160240623616,"note":"Value kept but may cause issues"} 
[2026-09-24 18:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754011347991246848,"note":"Value kept but may cause issues"} 
[2026-09-24 18:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790256180000,"timestamp_ms":1790256180000,"timestamp_seconds":1790256180,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3956b20"} 
[2026-09-24 18:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-24 18:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305581824001,"66":13472,"106":206,"83":41984,"24":14,"16":23042160240623616,"45":1754011347991246848},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-24 18:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305581824001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:54:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-24 18:54:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23042160240623616,"km_value":23042160240623.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754011347991246848,"description":"Unknown IO ID 45"} 
[2026-09-24 18:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305581824001,"power":13472,"unknown_106":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1754011347991246848}} 
[2026-09-24 18:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":191400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:54:16] local.INFO: GPS data processed {"connection_id":191400,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:54:16] local.INFO: Acknowledgment sent {"connection_id":191400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:54:25] local.INFO: TCP Data received {"connection_id":192980,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3947508012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3947508012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:54:25] local.INFO: Processing buffer {"connection_id":192980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3947508012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:54:25] local.INFO: Packet analysis {"connection_id":192980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:54:25] local.INFO: Extracted packet for processing {"connection_id":192980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:54:25] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305488896001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:54:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790256117000,"timestamp_ms":1790256117000,"timestamp_seconds":1790256117,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3947508"} 
[2026-09-24 18:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-09-24 18:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":192980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":192980,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":192980,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305488896001,"66":26560,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305488896001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:54:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:54:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:54:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305488896001,"power":26560,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":192980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891449,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:54:25] local.INFO: GPS data processed {"connection_id":192980,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:54:25] local.INFO: Acknowledgment sent {"connection_id":192980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:54:27] local.INFO: TCP Data received {"connection_id":192981,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:54:27] local.INFO: Processing buffer {"connection_id":192981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:54:27] local.INFO: IMEI packet received {"connection_id":192981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":192981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:54:32] local.INFO: TCP Data received {"connection_id":192981,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:54:32] local.INFO: Processing buffer {"connection_id":192981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:54:32] local.INFO: IMEI packet received {"connection_id":192981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":192981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:54:34] local.INFO: TCP Data received {"connection_id":192981,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:54:34] local.INFO: Processing buffer {"connection_id":192981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:54:34] local.INFO: Packet analysis {"connection_id":192981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:54:34] local.INFO: Extracted packet for processing {"connection_id":192981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:54:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305488384001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790256115000,"timestamp_ms":1790256115000,"timestamp_seconds":1790256115,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3946d38"} 
[2026-09-24 18:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305488384001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305488384001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:54:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:54:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305488384001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":192981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:54:34] local.INFO: GPS data processed {"connection_id":192981,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:54:34] local.INFO: Acknowledgment sent {"connection_id":192981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:54:49] local.INFO: TCP Data received {"connection_id":191400,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3965d50012d1892000720b5a80035007126..."} 
[2026-09-24 18:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3965d50012d1892000720b5a80035007126..."} 
[2026-09-24 18:54:49] local.INFO: Processing buffer {"connection_id":191400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3965d50012d1892000720b5a80035007126..."} 
[2026-09-24 18:54:49] local.INFO: Packet analysis {"connection_id":191400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d396"} 
[2026-09-24 18:54:49] local.INFO: Extracted packet for processing {"connection_id":191400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d396"} 
[2026-09-24 18:54:49] local.INFO: GPS Element Parsed {"raw_longitude":756584960,"raw_latitude":119584168,"longitude_deg":75.658496,"latitude_deg":11.9584168,"altitude":53,"angle":113,"satellites":38,"speed":15,"hex_longitude":"2d189200","hex_latitude":"0720b5a8","is_valid_coordinates":true} 
[2026-09-24 18:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305596416001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23043517450289152,"note":"Value kept but may cause issues"} 
[2026-09-24 18:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767311040635752448,"note":"Value kept but may cause issues"} 
[2026-09-24 18:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790256242000,"timestamp_ms":1790256242000,"timestamp_seconds":1790256242,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3965d50"} 
[2026-09-24 18:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-24 18:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":815,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305596416001,"66":12917,"102":206,"83":41984,"24":15,"16":23043517450289152,"45":1767311040635752448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 18:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305596416001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:54:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 18:54:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23043517450289152,"km_value":23043517450289.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767311040635752448,"description":"Unknown IO ID 45"} 
[2026-09-24 18:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305596416001,"power":12917,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1767311040635752448}} 
[2026-09-24 18:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":191400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:54:49] local.INFO: GPS data processed {"connection_id":191400,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:54:49] local.INFO: Acknowledgment sent {"connection_id":191400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:55:05] local.INFO: TCP Data received {"connection_id":192981,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:55:05] local.INFO: Processing buffer {"connection_id":192981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:55:05] local.INFO: Packet analysis {"connection_id":192981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:55:05] local.INFO: Extracted packet for processing {"connection_id":192981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305488384001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790256115000,"timestamp_ms":1790256115000,"timestamp_seconds":1790256115,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3946d38"} 
[2026-09-24 18:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305488384001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305488384001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:55:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:55:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305488384001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":192981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:55:05] local.INFO: GPS data processed {"connection_id":192981,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:55:05] local.INFO: Acknowledgment sent {"connection_id":192981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:55:06] local.INFO: TCP Data received {"connection_id":192982,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:55:06] local.INFO: Processing buffer {"connection_id":192982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:55:06] local.INFO: IMEI packet received {"connection_id":192982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":192982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:55:11] local.INFO: TCP Data received {"connection_id":192982,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:55:11] local.INFO: Processing buffer {"connection_id":192982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:55:11] local.INFO: IMEI packet received {"connection_id":192982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":192982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:55:13] local.INFO: TCP Data received {"connection_id":192982,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3947508012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3947508012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:55:13] local.INFO: Processing buffer {"connection_id":192982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3947508012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:55:13] local.INFO: Packet analysis {"connection_id":192982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:55:13] local.INFO: Extracted packet for processing {"connection_id":192982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:55:13] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305488896001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:55:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790256117000,"timestamp_ms":1790256117000,"timestamp_seconds":1790256117,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3947508"} 
[2026-09-24 18:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-09-24 18:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305488896001,"66":26560,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305488896001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:55:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:55:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:55:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305488896001,"power":26560,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":192982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891453,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:55:13] local.INFO: GPS data processed {"connection_id":192982,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:55:13] local.INFO: Acknowledgment sent {"connection_id":192982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:55:19] local.INFO: TCP Data received {"connection_id":191400,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3966520012d1894400720b3c00035008c27..."} 
[2026-09-24 18:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3966520012d1894400720b3c00035008c27..."} 
[2026-09-24 18:55:19] local.INFO: Processing buffer {"connection_id":191400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3966520012d1894400720b3c00035008c27..."} 
[2026-09-24 18:55:19] local.INFO: Packet analysis {"connection_id":191400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d396"} 
[2026-09-24 18:55:19] local.INFO: Extracted packet for processing {"connection_id":191400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d396"} 
[2026-09-24 18:55:19] local.INFO: GPS Element Parsed {"raw_longitude":756585536,"raw_latitude":119583680,"longitude_deg":75.6585536,"latitude_deg":11.958368,"altitude":53,"angle":140,"satellites":39,"speed":15,"hex_longitude":"2d189440","hex_latitude":"0720b3c0","is_valid_coordinates":true} 
[2026-09-24 18:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305597952001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23043556104994816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770477634123573248,"note":"Value kept but may cause issues"} 
[2026-09-24 18:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790256244000,"timestamp_ms":1790256244000,"timestamp_seconds":1790256244,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3966520"} 
[2026-09-24 18:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:55: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-09-24 18:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-24 18:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305597952001,"66":13439,"102":206,"83":41984,"24":15,"16":23043556104994816,"45":1770477634123573248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 18:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305597952001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:55:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 18:55:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23043556104994816,"km_value":23043556104994.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770477634123573248,"description":"Unknown IO ID 45"} 
[2026-09-24 18:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305597952001,"power":13439,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1770477634123573248}} 
[2026-09-24 18:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":191400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:55:19] local.INFO: GPS data processed {"connection_id":191400,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:55:19] local.INFO: Acknowledgment sent {"connection_id":191400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:55:28] local.INFO: TCP Data received {"connection_id":192983,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:55:28] local.INFO: Processing buffer {"connection_id":192983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:55:28] local.INFO: IMEI packet received {"connection_id":192983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":192983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:55:33] local.INFO: TCP Data received {"connection_id":192983,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:55:33] local.INFO: Processing buffer {"connection_id":192983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:55:33] local.INFO: IMEI packet received {"connection_id":192983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":192983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:55:33] local.INFO: TCP Data received {"connection_id":192983,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:55:33] local.INFO: Processing buffer {"connection_id":192983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:55:33] local.INFO: Packet analysis {"connection_id":192983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:55:33] local.INFO: Extracted packet for processing {"connection_id":192983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:55:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305488384001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790256115000,"timestamp_ms":1790256115000,"timestamp_seconds":1790256115,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3946d38"} 
[2026-09-24 18:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:55:33] local.INFO: IO Element 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-09-24 18:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305488384001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305488384001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:55:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:55:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305488384001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":192983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:55:33] local.INFO: GPS data processed {"connection_id":192983,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:55:33] local.INFO: Acknowledgment sent {"connection_id":192983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:55:45] local.INFO: TCP Data received {"connection_id":192982,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3947508012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3947508012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:55:45] local.INFO: Processing buffer {"connection_id":192982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3947508012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:55:45] local.INFO: Packet analysis {"connection_id":192982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:55:45] local.INFO: Extracted packet for processing {"connection_id":192982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:55:45] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305488896001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:55:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790256117000,"timestamp_ms":1790256117000,"timestamp_seconds":1790256117,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3947508"} 
[2026-09-24 18:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-09-24 18:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305488896001,"66":26560,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305488896001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:55:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:55:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:55:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305488896001,"power":26560,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":192982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891456,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:55:45] local.INFO: GPS data processed {"connection_id":192982,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:55:45] local.INFO: Acknowledgment sent {"connection_id":192982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:55:51] local.INFO: TCP Data received {"connection_id":191400,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39743c8012d18bb4007208f680022008c2a..."} 
[2026-09-24 18:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39743c8012d18bb4007208f680022008c2a..."} 
[2026-09-24 18:55:51] local.INFO: Processing buffer {"connection_id":191400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39743c8012d18bb4007208f680022008c2a..."} 
[2026-09-24 18:55:51] local.INFO: Packet analysis {"connection_id":191400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d397"} 
[2026-09-24 18:55:51] local.INFO: Extracted packet for processing {"connection_id":191400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d397"} 
[2026-09-24 18:55:51] local.INFO: GPS Element Parsed {"raw_longitude":756595520,"raw_latitude":119574376,"longitude_deg":75.659552,"latitude_deg":11.9574376,"altitude":34,"angle":140,"satellites":42,"speed":8,"hex_longitude":"2d18bb40","hex_latitude":"07208f68","is_valid_coordinates":true} 
[2026-09-24 18:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305612800001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23044604077015040,"note":"Value kept but may cause issues"} 
[2026-09-24 18:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781947739422074880,"note":"Value kept but may cause issues"} 
[2026-09-24 18:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790256301000,"timestamp_ms":1790256301000,"timestamp_seconds":1790256301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39743c8"} 
[2026-09-24 18:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:55: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-09-24 18:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-24 18:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305612800001,"66":13450,"102":206,"83":41984,"24":8,"16":23044604077015040,"45":1781947739422074880},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 18:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305612800001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:55:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 18:55:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23044604077015040,"km_value":23044604077015.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781947739422074880,"description":"Unknown IO ID 45"} 
[2026-09-24 18:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305612800001,"power":13450,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1781947739422074880}} 
[2026-09-24 18:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":191400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:55:51] local.INFO: GPS data processed {"connection_id":191400,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:55:51] local.INFO: Acknowledgment sent {"connection_id":191400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:56:05] local.INFO: TCP Data received {"connection_id":192983,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:56:05] local.INFO: Processing buffer {"connection_id":192983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:56:05] local.INFO: Packet analysis {"connection_id":192983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:56:05] local.INFO: Extracted packet for processing {"connection_id":192983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:56:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305488384001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790256115000,"timestamp_ms":1790256115000,"timestamp_seconds":1790256115,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3946d38"} 
[2026-09-24 18:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305488384001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305488384001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:56:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:56:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305488384001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":192983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:56:05] local.INFO: GPS data processed {"connection_id":192983,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:56:05] local.INFO: Acknowledgment sent {"connection_id":192983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:56:11] local.INFO: TCP Data received {"connection_id":192984,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:56:11] local.INFO: Processing buffer {"connection_id":192984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:56:11] local.INFO: IMEI packet received {"connection_id":192984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":192984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:56:17] local.INFO: TCP Data received {"connection_id":192984,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:56:17] local.INFO: Processing buffer {"connection_id":192984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:56:17] local.INFO: IMEI packet received {"connection_id":192984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":192984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:56:21] local.INFO: TCP Data received {"connection_id":192984,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3947508012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3947508012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:56:21] local.INFO: Processing buffer {"connection_id":192984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3947508012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:56:21] local.INFO: Packet analysis {"connection_id":192984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:56:21] local.INFO: Extracted packet for processing {"connection_id":192984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:56:21] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305488896001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:56:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790256117000,"timestamp_ms":1790256117000,"timestamp_seconds":1790256117,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3947508"} 
[2026-09-24 18:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-09-24 18:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":192984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":192984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":192984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305488896001,"66":26560,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305488896001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:56:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:56:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:56:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305488896001,"power":26560,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":192984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891459,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:56:22] local.INFO: GPS data processed {"connection_id":192984,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:56:22] local.INFO: Acknowledgment sent {"connection_id":192984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:56:22] local.INFO: TCP Data received {"connection_id":191400,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3974b98012d18bc4007208d580021009829..."} 
[2026-09-24 18:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3974b98012d18bc4007208d580021009829..."} 
[2026-09-24 18:56:22] local.INFO: Processing buffer {"connection_id":191400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3974b98012d18bc4007208d580021009829..."} 
[2026-09-24 18:56:22] local.INFO: Packet analysis {"connection_id":191400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d397"} 
[2026-09-24 18:56:22] local.INFO: Extracted packet for processing {"connection_id":191400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d397"} 
[2026-09-24 18:56:22] local.INFO: GPS Element Parsed {"raw_longitude":756595776,"raw_latitude":119573848,"longitude_deg":75.6595776,"latitude_deg":11.9573848,"altitude":33,"angle":152,"satellites":41,"speed":10,"hex_longitude":"2d18bc40","hex_latitude":"07208d58","is_valid_coordinates":true} 
[2026-09-24 18:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305613056001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23044634141786112,"note":"Value kept but may cause issues"} 
[2026-09-24 18:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782088476910381056,"note":"Value kept but may cause issues"} 
[2026-09-24 18:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790256303000,"timestamp_ms":1790256303000,"timestamp_seconds":1790256303,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3974b98"} 
[2026-09-24 18:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:56: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-09-24 18:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-24 18:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305613056001,"66":13493,"102":206,"83":41984,"24":10,"16":23044634141786112,"45":1782088476910381056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 18:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305613056001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:56:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 18:56:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23044634141786112,"km_value":23044634141786.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782088476910381056,"description":"Unknown IO ID 45"} 
[2026-09-24 18:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305613056001,"power":13493,"unknown_102":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1782088476910381056}} 
[2026-09-24 18:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":191400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:56:22] local.INFO: GPS data processed {"connection_id":191400,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:56:22] local.INFO: Acknowledgment sent {"connection_id":191400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:56:27] local.INFO: TCP Data received {"connection_id":191600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:56:27] local.INFO: Processing buffer {"connection_id":191600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:56:27] local.INFO: IMEI packet received {"connection_id":191600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":191600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:56:32] local.INFO: TCP Data received {"connection_id":191600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:56:32] local.INFO: Processing buffer {"connection_id":191600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:56:32] local.INFO: IMEI packet received {"connection_id":191600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":191600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:56:33] local.INFO: TCP Data received {"connection_id":191600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:56:33] local.INFO: Processing buffer {"connection_id":191600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:56:33] local.INFO: Packet analysis {"connection_id":191600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:56:33] local.INFO: Extracted packet for processing {"connection_id":191600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:56:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305488384001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790256115000,"timestamp_ms":1790256115000,"timestamp_seconds":1790256115,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3946d38"} 
[2026-09-24 18:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305488384001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305488384001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:56:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:56:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305488384001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":191600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:56:34] local.INFO: GPS data processed {"connection_id":191600,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:56:34] local.INFO: Acknowledgment sent {"connection_id":191600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:56:47] local.INFO: TCP Data received {"connection_id":192984,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39812d0012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39812d0012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:56:47] local.INFO: Processing buffer {"connection_id":192984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39812d0012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:56:47] local.INFO: Packet analysis {"connection_id":192984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d398"} 
[2026-09-24 18:56:47] local.INFO: Extracted packet for processing {"connection_id":192984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d398"} 
[2026-09-24 18:56:47] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305565952001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:56:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790256354000,"timestamp_ms":1790256354000,"timestamp_seconds":1790256354,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39812d0"} 
[2026-09-24 18:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-24 18:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":192984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":192984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":192984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305565952001,"66":26528,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305565952001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:56:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:56:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:56:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305565952001,"power":26528,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":192984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891462,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:56:47] local.INFO: GPS data processed {"connection_id":192984,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:56:47] local.INFO: Acknowledgment sent {"connection_id":192984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:56:49] local.INFO: TCP Data received {"connection_id":192984,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39812d0012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39812d0012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:56:49] local.INFO: Processing buffer {"connection_id":192984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39812d0012cbd1ac0077158a8003500bb23..."} 
[2026-09-24 18:56:49] local.INFO: Packet analysis {"connection_id":192984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d398"} 
[2026-09-24 18:56:49] local.INFO: Extracted packet for processing {"connection_id":192984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d398"} 
[2026-09-24 18:56:49] local.INFO: GPS Element Parsed {"raw_longitude":750590656,"raw_latitude":124868776,"longitude_deg":75.0590656,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1ac0","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305565952001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:56:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790256354000,"timestamp_ms":1790256354000,"timestamp_seconds":1790256354,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39812d0"} 
[2026-09-24 18:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-24 18:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":192984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":192984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":192984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305565952001,"66":26528,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305565952001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:56:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:56:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:56:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305565952001,"power":26528,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":192984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891463,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:56:49] local.INFO: GPS data processed {"connection_id":192984,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:56:49] local.INFO: Acknowledgment sent {"connection_id":192984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:56:53] local.INFO: TCP Data received {"connection_id":191400,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39841b0012d18db80072059900023008c2b..."} 
[2026-09-24 18:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39841b0012d18db80072059900023008c2b..."} 
[2026-09-24 18:56:53] local.INFO: Processing buffer {"connection_id":191400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39841b0012d18db80072059900023008c2b..."} 
[2026-09-24 18:56:53] local.INFO: Packet analysis {"connection_id":191400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d398"} 
[2026-09-24 18:56:53] local.INFO: Extracted packet for processing {"connection_id":191400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d398"} 
[2026-09-24 18:56:53] local.INFO: GPS Element Parsed {"raw_longitude":756603776,"raw_latitude":119560592,"longitude_deg":75.6603776,"latitude_deg":11.9560592,"altitude":35,"angle":140,"satellites":43,"speed":12,"hex_longitude":"2d18db80","hex_latitude":"07205990","is_valid_coordinates":true} 
[2026-09-24 18:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305629440001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23045424415768576,"note":"Value kept but may cause issues"} 
[2026-09-24 18:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790884569929117696,"note":"Value kept but may cause issues"} 
[2026-09-24 18:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790256366000,"timestamp_ms":1790256366000,"timestamp_seconds":1790256366,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39841b0"} 
[2026-09-24 18:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:56: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-09-24 18:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-24 18:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305629440001,"66":13493,"102":206,"83":41984,"24":12,"16":23045424415768576,"45":1790884569929117696},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 18:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305629440001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:56:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 18:56:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23045424415768576,"km_value":23045424415768.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790884569929117696,"description":"Unknown IO ID 45"} 
[2026-09-24 18:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305629440001,"power":13493,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1790884569929117696}} 
[2026-09-24 18:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":191400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:56:53] local.INFO: GPS data processed {"connection_id":191400,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:56:53] local.INFO: Acknowledgment sent {"connection_id":191400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:57:05] local.INFO: TCP Data received {"connection_id":191600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:57:05] local.INFO: Processing buffer {"connection_id":191600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3946d38012d34c14006aa4940000900f52f..."} 
[2026-09-24 18:57:05] local.INFO: Packet analysis {"connection_id":191600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:57:05] local.INFO: Extracted packet for processing {"connection_id":191600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d394"} 
[2026-09-24 18:57:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305488384001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790256115000,"timestamp_ms":1790256115000,"timestamp_seconds":1790256115,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3946d38"} 
[2026-09-24 18:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305488384001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305488384001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:57:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:57:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305488384001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":191600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:57:05] local.INFO: GPS data processed {"connection_id":191600,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:57:05] local.INFO: Acknowledgment sent {"connection_id":191600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:57:06] local.INFO: TCP Data received {"connection_id":194255,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:57:06] local.INFO: Processing buffer {"connection_id":194255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:57:06] local.INFO: IMEI packet received {"connection_id":194255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":194255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:57:12] local.INFO: TCP Data received {"connection_id":194255,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:57:12] local.INFO: Processing buffer {"connection_id":194255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:57:12] local.INFO: IMEI packet received {"connection_id":194255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":194255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:57:13] local.INFO: TCP Data received {"connection_id":194255,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3987478012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3987478012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:57:13] local.INFO: Processing buffer {"connection_id":194255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3987478012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:57:13] local.INFO: Packet analysis {"connection_id":194255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d398"} 
[2026-09-24 18:57:13] local.INFO: Extracted packet for processing {"connection_id":194255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d398"} 
[2026-09-24 18:57:13] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305626624001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:57:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820329312947755008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790256379000,"timestamp_ms":1790256379000,"timestamp_seconds":1790256379,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3987478"} 
[2026-09-24 18:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-24 18:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":194255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":194255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":194255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305626624001,"66":26289,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820329312947755008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305626624001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:57:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:57:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:57:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820329312947755008,"description":"Unknown IO ID 44"} 
[2026-09-24 18:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305626624001,"power":26289,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820329312947755008}} 
[2026-09-24 18:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":194255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891466,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:57:13] local.INFO: GPS data processed {"connection_id":194255,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:57:13] local.INFO: Acknowledgment sent {"connection_id":194255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:57:16] local.INFO: TCP Data received {"connection_id":191403,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:57:16] local.INFO: Processing buffer {"connection_id":191403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:57:16] local.INFO: IMEI packet received {"connection_id":191403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":191403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:57:21] local.INFO: TCP Data received {"connection_id":191403,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:57:21] local.INFO: Processing buffer {"connection_id":191403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:57:21] local.INFO: IMEI packet received {"connection_id":191403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":191403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:57:22] local.INFO: TCP Data received {"connection_id":191403,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3984598012d18dc00072058900024009e2b..."} 
[2026-09-24 18:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3984598012d18dc00072058900024009e2b..."} 
[2026-09-24 18:57:22] local.INFO: Processing buffer {"connection_id":191403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3984598012d18dc00072058900024009e2b..."} 
[2026-09-24 18:57:22] local.INFO: Packet analysis {"connection_id":191403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d398"} 
[2026-09-24 18:57:22] local.INFO: Extracted packet for processing {"connection_id":191403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d398"} 
[2026-09-24 18:57:22] local.INFO: GPS Element Parsed {"raw_longitude":756603904,"raw_latitude":119560336,"longitude_deg":75.6603904,"latitude_deg":11.9560336,"altitude":36,"angle":158,"satellites":43,"speed":11,"hex_longitude":"2d18dc00","hex_latitude":"07205890","is_valid_coordinates":true} 
[2026-09-24 18:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305629696001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23045441595637760,"note":"Value kept but may cause issues"} 
[2026-09-24 18:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791166044905771008,"note":"Value kept but may cause issues"} 
[2026-09-24 18:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790256367000,"timestamp_ms":1790256367000,"timestamp_seconds":1790256367,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3984598"} 
[2026-09-24 18:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:57: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-09-24 18:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-24 18:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305629696001,"66":12743,"102":206,"83":41984,"24":11,"16":23045441595637760,"45":1791166044905771008},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 18:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305629696001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:57:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 18:57:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23045441595637760,"km_value":23045441595637.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791166044905771008,"description":"Unknown IO ID 45"} 
[2026-09-24 18:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305629696001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1791166044905771008}} 
[2026-09-24 18:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":191403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:57:22] local.INFO: GPS data processed {"connection_id":191403,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:57:22] local.INFO: Acknowledgment sent {"connection_id":191403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:57:27] local.INFO: TCP Data received {"connection_id":194256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:57:27] local.INFO: Processing buffer {"connection_id":194256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:57:27] local.INFO: IMEI packet received {"connection_id":194256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":194256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:57:33] local.INFO: TCP Data received {"connection_id":194256,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:57:33] local.INFO: Processing buffer {"connection_id":194256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:57:33] local.INFO: IMEI packet received {"connection_id":194256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":194256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:57:34] local.INFO: TCP Data received {"connection_id":194256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 18:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 18:57:34] local.INFO: Processing buffer {"connection_id":194256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 18:57:34] local.INFO: Packet analysis {"connection_id":194256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:57:34] local.INFO: Extracted packet for processing {"connection_id":194256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:57:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305565440001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790256416000,"timestamp_ms":1790256416000,"timestamp_seconds":1790256416,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3990500"} 
[2026-09-24 18:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305565440001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305565440001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:57:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:57:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305565440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":194256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:57:34] local.INFO: GPS data processed {"connection_id":194256,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:57:34] local.INFO: Acknowledgment sent {"connection_id":194256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:57:45] local.INFO: TCP Data received {"connection_id":194255,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d398c680012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d398c680012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:57:45] local.INFO: Processing buffer {"connection_id":194255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d398c680012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:57:45] local.INFO: Packet analysis {"connection_id":194255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d398"} 
[2026-09-24 18:57:45] local.INFO: Extracted packet for processing {"connection_id":194255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d398"} 
[2026-09-24 18:57:45] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305633024001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:57:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790256400000,"timestamp_ms":1790256400000,"timestamp_seconds":1790256400,"priority":1,"record_length":96,"hex_timestamp":"000001a0d398c680"} 
[2026-09-24 18:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-09-24 18:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":194255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":194255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":194255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305633024001,"66":28300,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305633024001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:57:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:57:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:57:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305633024001,"power":28300,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":194255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891469,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:57:45] local.INFO: GPS data processed {"connection_id":194255,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:57:45] local.INFO: Acknowledgment sent {"connection_id":194255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:57:53] local.INFO: TCP Data received {"connection_id":191403,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3984980012d18dc8007205770002400ab2b..."} 
[2026-09-24 18:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3984980012d18dc8007205770002400ab2b..."} 
[2026-09-24 18:57:53] local.INFO: Processing buffer {"connection_id":191403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3984980012d18dc8007205770002400ab2b..."} 
[2026-09-24 18:57:53] local.INFO: Packet analysis {"connection_id":191403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d398"} 
[2026-09-24 18:57:53] local.INFO: Extracted packet for processing {"connection_id":191403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d398"} 
[2026-09-24 18:57:53] local.INFO: GPS Element Parsed {"raw_longitude":756604032,"raw_latitude":119560048,"longitude_deg":75.6604032,"latitude_deg":11.9560048,"altitude":36,"angle":171,"satellites":43,"speed":11,"hex_longitude":"2d18dc80","hex_latitude":"07205770","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305629952001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23045454480539648,"note":"Value kept but may cause issues"} 
[2026-09-24 18:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791306782394060800,"note":"Value kept but may cause issues"} 
[2026-09-24 18:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790256368000,"timestamp_ms":1790256368000,"timestamp_seconds":1790256368,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3984980"} 
[2026-09-24 18:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18: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-09-24 18:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-24 18:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305629952001,"66":12743,"102":206,"83":41984,"24":11,"16":23045454480539648,"45":1791306782394060800},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 18:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305629952001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:57:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 18:57:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23045454480539648,"km_value":23045454480539.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791306782394060800,"description":"Unknown IO ID 45"} 
[2026-09-24 18:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305629952001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1791306782394060800}} 
[2026-09-24 18:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":191403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:57:53] local.INFO: GPS data processed {"connection_id":191403,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:57:53] local.INFO: Acknowledgment sent {"connection_id":191403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:58:05] local.INFO: TCP Data received {"connection_id":194256,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 18:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 18:58:05] local.INFO: Processing buffer {"connection_id":194256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 18:58:05] local.INFO: Packet analysis {"connection_id":194256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:58:05] local.INFO: Extracted packet for processing {"connection_id":194256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:58:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305565440001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790256416000,"timestamp_ms":1790256416000,"timestamp_seconds":1790256416,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3990500"} 
[2026-09-24 18:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305565440001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305565440001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:58:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:58:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305565440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":194256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:58:05] local.INFO: GPS data processed {"connection_id":194256,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:58:05] local.INFO: Acknowledgment sent {"connection_id":194256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:58:06] local.INFO: TCP Data received {"connection_id":191601,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:58:06] local.INFO: Processing buffer {"connection_id":191601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:58:06] local.INFO: IMEI packet received {"connection_id":191601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":191601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:58:11] local.INFO: TCP Data received {"connection_id":191601,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:58:11] local.INFO: Processing buffer {"connection_id":191601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:58:11] local.INFO: IMEI packet received {"connection_id":191601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":191601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:58:13] local.INFO: TCP Data received {"connection_id":191601,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3991888012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3991888012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:58:13] local.INFO: Processing buffer {"connection_id":191601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3991888012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:58:13] local.INFO: Packet analysis {"connection_id":191601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:58:13] local.INFO: Extracted packet for processing {"connection_id":191601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:58:13] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305638400001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:58:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790256421000,"timestamp_ms":1790256421000,"timestamp_seconds":1790256421,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3991888"} 
[2026-09-24 18:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 18:58:13] 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-09-24 18:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305638400001,"66":27952,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305638400001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:58:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:58:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:58:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305638400001,"power":27952,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":191601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891472,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:58:13] local.INFO: GPS data processed {"connection_id":191601,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:58:13] local.INFO: Acknowledgment sent {"connection_id":191601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:58:24] local.INFO: TCP Data received {"connection_id":191403,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d399a910012d19178007200ac00035005a2b..."} 
[2026-09-24 18:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d399a910012d19178007200ac00035005a2b..."} 
[2026-09-24 18:58:24] local.INFO: Processing buffer {"connection_id":191403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d399a910012d19178007200ac00035005a2b..."} 
[2026-09-24 18:58:24] local.INFO: Packet analysis {"connection_id":191403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:58:24] local.INFO: Extracted packet for processing {"connection_id":191403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:58:24] local.INFO: GPS Element Parsed {"raw_longitude":756619136,"raw_latitude":119540416,"longitude_deg":75.6619136,"latitude_deg":11.9540416,"altitude":53,"angle":90,"satellites":43,"speed":13,"hex_longitude":"2d191780","hex_latitude":"07200ac0","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305652992001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047052208373760,"note":"Value kept but may cause issues"} 
[2026-09-24 18:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807702699782369280,"note":"Value kept but may cause issues"} 
[2026-09-24 18:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790256458000,"timestamp_ms":1790256458000,"timestamp_seconds":1790256458,"priority":1,"record_length":96,"hex_timestamp":"000001a0d399a910"} 
[2026-09-24 18:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:58: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-09-24 18: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-24 18:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":191403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":191403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":191403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305652992001,"66":12156,"102":206,"83":41984,"24":13,"16":23047052208373760,"45":1807702699782369280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 18:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305652992001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:58:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 18:58:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047052208373760,"km_value":23047052208373.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807702699782369280,"description":"Unknown IO ID 45"} 
[2026-09-24 18:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305652992001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1807702699782369280}} 
[2026-09-24 18:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":191403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:58:24] local.INFO: GPS data processed {"connection_id":191403,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:58:24] local.INFO: Acknowledgment sent {"connection_id":191403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:58:27] local.INFO: TCP Data received {"connection_id":191404,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:58:27] local.INFO: Processing buffer {"connection_id":191404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:58:27] local.INFO: IMEI packet received {"connection_id":191404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":191404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:58:32] local.INFO: TCP Data received {"connection_id":191404,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:58:32] local.INFO: Processing buffer {"connection_id":191404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:58:32] local.INFO: IMEI packet received {"connection_id":191404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":191404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:58:34] local.INFO: TCP Data received {"connection_id":191404,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 18:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 18:58:34] local.INFO: Processing buffer {"connection_id":191404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 18:58:34] local.INFO: Packet analysis {"connection_id":191404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:58:34] local.INFO: Extracted packet for processing {"connection_id":191404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:58:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305565440001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790256416000,"timestamp_ms":1790256416000,"timestamp_seconds":1790256416,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3990500"} 
[2026-09-24 18:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305565440001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305565440001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:58:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:58:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305565440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":191404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:58:34] local.INFO: GPS data processed {"connection_id":191404,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:58:34] local.INFO: Acknowledgment sent {"connection_id":191404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:58:44] local.INFO: TCP Data received {"connection_id":191601,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3996a90012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3996a90012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:58:44] local.INFO: Processing buffer {"connection_id":191601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3996a90012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:58:44] local.INFO: Packet analysis {"connection_id":191601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:58:44] local.INFO: Extracted packet for processing {"connection_id":191601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:58:44] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305643776001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:58:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790256442000,"timestamp_ms":1790256442000,"timestamp_seconds":1790256442,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3996a90"} 
[2026-09-24 18:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 18:58:44] 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-09-24 18:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305643776001,"66":28398,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305643776001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:58:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:58:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:58:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305643776001,"power":28398,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":191601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891475,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:58:44] local.INFO: GPS data processed {"connection_id":191601,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:58:44] local.INFO: Acknowledgment sent {"connection_id":191601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:58:54] local.INFO: TCP Data received {"connection_id":191403,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d399b4c8012d191b4007200b500034004f2b..."} 
[2026-09-24 18:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d399b4c8012d191b4007200b500034004f2b..."} 
[2026-09-24 18:58:54] local.INFO: Processing buffer {"connection_id":191403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d399b4c8012d191b4007200b500034004f2b..."} 
[2026-09-24 18:58:54] local.INFO: Packet analysis {"connection_id":191403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:58:54] local.INFO: Extracted packet for processing {"connection_id":191403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:58:54] local.INFO: GPS Element Parsed {"raw_longitude":756620096,"raw_latitude":119540560,"longitude_deg":75.6620096,"latitude_deg":11.954056,"altitude":52,"angle":79,"satellites":43,"speed":12,"hex_longitude":"2d191b40","hex_latitude":"07200b50","is_valid_coordinates":true} 
[2026-09-24 18:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305653248001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047099453014016,"note":"Value kept but may cause issues"} 
[2026-09-24 18:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1808054543503245312,"note":"Value kept but may cause issues"} 
[2026-09-24 18:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790256461000,"timestamp_ms":1790256461000,"timestamp_seconds":1790256461,"priority":1,"record_length":96,"hex_timestamp":"000001a0d399b4c8"} 
[2026-09-24 18:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-24 18:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":191403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":191403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":191403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305653248001,"66":12298,"102":206,"83":41984,"24":12,"16":23047099453014016,"45":1808054543503245312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 18:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305653248001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:58:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 18:58:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047099453014016,"km_value":23047099453014.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1808054543503245312,"description":"Unknown IO ID 45"} 
[2026-09-24 18:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305653248001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1808054543503245312}} 
[2026-09-24 18:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":191403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:58:54] local.INFO: GPS data processed {"connection_id":191403,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:58:54] local.INFO: Acknowledgment sent {"connection_id":191403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:59:05] local.INFO: TCP Data received {"connection_id":191404,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 18:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 18:59:05] local.INFO: Processing buffer {"connection_id":191404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 18:59:05] local.INFO: Packet analysis {"connection_id":191404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:59:05] local.INFO: Extracted packet for processing {"connection_id":191404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:59:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18: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-09-24 18:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305565440001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790256416000,"timestamp_ms":1790256416000,"timestamp_seconds":1790256416,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3990500"} 
[2026-09-24 18:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18: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-09-24 18:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305565440001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305565440001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:59:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:59:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305565440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":191404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:59:05] local.INFO: GPS data processed {"connection_id":191404,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:59:05] local.INFO: Acknowledgment sent {"connection_id":191404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:59:06] local.INFO: TCP Data received {"connection_id":194257,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194257,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:59:06] local.INFO: Processing buffer {"connection_id":194257,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:59:06] local.INFO: IMEI packet received {"connection_id":194257,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 18:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":194257,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:59:11] local.INFO: TCP Data received {"connection_id":194257,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194257,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:59:11] local.INFO: Processing buffer {"connection_id":194257,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 18:59:11] local.INFO: IMEI packet received {"connection_id":194257,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 18:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":194257,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:59:13] local.INFO: TCP Data received {"connection_id":194257,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d399bc98012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d399bc98012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:59:13] local.INFO: Processing buffer {"connection_id":194257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d399bc98012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:59:13] local.INFO: Packet analysis {"connection_id":194257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:59:13] local.INFO: Extracted packet for processing {"connection_id":194257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:59:13] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305649152001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790256463000,"timestamp_ms":1790256463000,"timestamp_seconds":1790256463,"priority":1,"record_length":96,"hex_timestamp":"000001a0d399bc98"} 
[2026-09-24 18:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 18:59:13] 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-09-24 18:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":194257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":194257,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":194257,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305649152001,"66":28376,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305649152001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:59:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:59:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:59:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305649152001,"power":28376,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":194257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891478,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:59:13] local.INFO: GPS data processed {"connection_id":194257,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:59:13] local.INFO: Acknowledgment sent {"connection_id":194257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:59:16] local.INFO: TCP Data received {"connection_id":191602,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:59:16] local.INFO: Processing buffer {"connection_id":191602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:59:16] local.INFO: IMEI packet received {"connection_id":191602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 18:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":191602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:59:21] local.INFO: TCP Data received {"connection_id":191602,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:59:21] local.INFO: Processing buffer {"connection_id":191602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 18:59:21] local.INFO: IMEI packet received {"connection_id":191602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 18:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":191602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:59:22] local.INFO: TCP Data received {"connection_id":191602,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d399c080012d191ec007200b900033005c2d..."} 
[2026-09-24 18:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d399c080012d191ec007200b900033005c2d..."} 
[2026-09-24 18:59:22] local.INFO: Processing buffer {"connection_id":191602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d399c080012d191ec007200b900033005c2d..."} 
[2026-09-24 18:59:22] local.INFO: Packet analysis {"connection_id":191602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:59:22] local.INFO: Extracted packet for processing {"connection_id":191602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:59:22] local.INFO: GPS Element Parsed {"raw_longitude":756620992,"raw_latitude":119540624,"longitude_deg":75.6620992,"latitude_deg":11.9540624,"altitude":51,"angle":92,"satellites":45,"speed":11,"hex_longitude":"2d191ec0","hex_latitude":"07200b90","is_valid_coordinates":true} 
[2026-09-24 18:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305654016001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047146697654272,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1809110074665947136,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790256464000,"timestamp_ms":1790256464000,"timestamp_seconds":1790256464,"priority":1,"record_length":96,"hex_timestamp":"000001a0d399c080"} 
[2026-09-24 18:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:59: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-09-24 18:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-24 18:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272262975421952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:22] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185681,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:22] local.WARNING: Large IO value detected {"io_id":225,"raw_value":360287970189639681,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-3199387418705979120,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:22] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513435646291083401,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:22] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:22] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3940649674604548,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:22] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3415699724872057038,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3472936312,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:22] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2577225729,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 18:59:22] local.WARNING: Large IO value detected {"io_id":137,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:22] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3775725568,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:22] local.WARNING: Large IO value detected {"io_id":52,"raw_value":42552199741440000,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:22] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,225,160,169,45,128,10,53,43,66,165,64,44,161,1,240,227,211,32,4,113,205,14,137,18,48,239,2,81,7,52],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 18:59:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747081936075227136,"timestamp_seconds":3747081936075227.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 18:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305654016001,"66":12287,"102":206,"83":41984,"24":11,"16":23047146697654272,"45":1809110074665947136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 18:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305654016001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:59:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 18:59:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047146697654272,"km_value":23047146697654.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1809110074665947136,"description":"Unknown IO ID 45"} 
[2026-09-24 18:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305654016001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1809110074665947136}} 
[2026-09-24 18:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":191602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:59:22] local.INFO: GPS data processed {"connection_id":191602,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:59:22] local.INFO: Acknowledgment sent {"connection_id":191602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:59:28] local.INFO: TCP Data received {"connection_id":194258,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:59:28] local.INFO: Processing buffer {"connection_id":194258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:59:28] local.INFO: IMEI packet received {"connection_id":194258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 18:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":194258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 18:59:33] local.INFO: TCP Data received {"connection_id":194258,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:59:33] local.INFO: Processing buffer {"connection_id":194258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 18:59:33] local.INFO: IMEI packet received {"connection_id":194258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 18:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":194258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 18:59:34] local.INFO: TCP Data received {"connection_id":194258,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 18:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 18:59:34] local.INFO: Processing buffer {"connection_id":194258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 18:59:34] local.INFO: Packet analysis {"connection_id":194258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:59:34] local.INFO: Extracted packet for processing {"connection_id":194258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:59:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 18:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305565440001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790256416000,"timestamp_ms":1790256416000,"timestamp_seconds":1790256416,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3990500"} 
[2026-09-24 18:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 18:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 18:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 18:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 18:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 18:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305565440001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 18:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 18:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 18:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305565440001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:59:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 18:59:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 18:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 18:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305565440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 18:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":194258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:59:34] local.INFO: GPS data processed {"connection_id":194258,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:59:34] local.INFO: Acknowledgment sent {"connection_id":194258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:59:44] local.INFO: TCP Data received {"connection_id":194257,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39a0ea0012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39a0ea0012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:59:44] local.INFO: Processing buffer {"connection_id":194257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39a0ea0012cbd1940077158a8003500bb23..."} 
[2026-09-24 18:59:44] local.INFO: Packet analysis {"connection_id":194257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39a"} 
[2026-09-24 18:59:44] local.INFO: Extracted packet for processing {"connection_id":194257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39a"} 
[2026-09-24 18:59:44] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 18:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305654528001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790256484000,"timestamp_ms":1790256484000,"timestamp_seconds":1790256484,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39a0ea0"} 
[2026-09-24 18:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 18:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 18:59:44] 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-09-24 18:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194257,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194257,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 18:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 18:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 18:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305654528001,"66":28398,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 18:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 18:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 18:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305654528001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:59:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 18:59:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 18:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:59:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 18:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305654528001,"power":28398,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 18:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":194257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891481,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:59:44] local.INFO: GPS data processed {"connection_id":194257,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:59:44] local.INFO: Acknowledgment sent {"connection_id":194257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 18:59:53] local.INFO: TCP Data received {"connection_id":191602,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d399d7f0012d19250007200b800032004f2a..."} 
[2026-09-24 18:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d399d7f0012d19250007200b800032004f2a..."} 
[2026-09-24 18:59:53] local.INFO: Processing buffer {"connection_id":191602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d399d7f0012d19250007200b800032004f2a..."} 
[2026-09-24 18:59:53] local.INFO: Packet analysis {"connection_id":191602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:59:53] local.INFO: Extracted packet for processing {"connection_id":191602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 18:59:53] local.INFO: GPS Element Parsed {"raw_longitude":756622592,"raw_latitude":119540608,"longitude_deg":75.6622592,"latitude_deg":11.9540608,"altitude":50,"angle":79,"satellites":42,"speed":6,"hex_longitude":"2d192500","hex_latitude":"07200b80","is_valid_coordinates":true} 
[2026-09-24 18:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 18:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305654784001,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047219712098304,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1810095237084450816,"note":"Value kept but may cause issues"} 
[2026-09-24 18:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 18:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790256470000,"timestamp_ms":1790256470000,"timestamp_seconds":1790256470,"priority":1,"record_length":96,"hex_timestamp":"000001a0d399d7f0"} 
[2026-09-24 18:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 18:59: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-09-24 18:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-24 18:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 18:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 18:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 18:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 18:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 18:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 18:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 18:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 18:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 18:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305654784001,"66":11961,"102":206,"83":41984,"24":6,"16":23047219712098304,"45":1810095237084450816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 18:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 18:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 18:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305654784001,"description":"Unknown IO ID 0"} 
[2026-09-24 18:59:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 18:59:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 18:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047219712098304,"km_value":23047219712098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 18:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1810095237084450816,"description":"Unknown IO ID 45"} 
[2026-09-24 18:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305654784001,"power":11961,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1810095237084450816}} 
[2026-09-24 18:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":191602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 18:59:53] local.INFO: GPS data processed {"connection_id":191602,"processed":1,"errors":0,"total":1} 
[2026-09-24 18:59:53] local.INFO: Acknowledgment sent {"connection_id":191602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:00:06] local.INFO: TCP Data received {"connection_id":194258,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 19:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 19:00:06] local.INFO: Processing buffer {"connection_id":194258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 19:00:06] local.INFO: Packet analysis {"connection_id":194258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 19:00:06] local.INFO: Extracted packet for processing {"connection_id":194258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 19:00:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305565440001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790256416000,"timestamp_ms":1790256416000,"timestamp_seconds":1790256416,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3990500"} 
[2026-09-24 19:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 19:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305565440001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305565440001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:00:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:00:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305565440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":194258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:00:06] local.INFO: GPS data processed {"connection_id":194258,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:00:06] local.INFO: Acknowledgment sent {"connection_id":194258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:00:11] local.INFO: TCP Data received {"connection_id":191603,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:00:11] local.INFO: Processing buffer {"connection_id":191603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:00:11] local.INFO: IMEI packet received {"connection_id":191603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":191603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:00:16] local.INFO: TCP Data received {"connection_id":194259,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:00:16] local.INFO: Processing buffer {"connection_id":194259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:00:16] local.INFO: IMEI packet received {"connection_id":194259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":194259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:00:16] local.INFO: TCP Data received {"connection_id":191603,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:00:16] local.INFO: Processing buffer {"connection_id":191603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:00:16] local.INFO: IMEI packet received {"connection_id":191603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":191603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:00:17] local.INFO: TCP Data received {"connection_id":191603,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39a60a8012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39a60a8012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:00:17] local.INFO: Processing buffer {"connection_id":191603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39a60a8012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:00:17] local.INFO: Packet analysis {"connection_id":191603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39a"} 
[2026-09-24 19:00:17] local.INFO: Extracted packet for processing {"connection_id":191603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39a"} 
[2026-09-24 19:00:17] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 19:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305659904001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:00:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 19:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790256505000,"timestamp_ms":1790256505000,"timestamp_seconds":1790256505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39a60a8"} 
[2026-09-24 19:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:00:17] 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-09-24 19:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305659904001,"66":28506,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 19:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305659904001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:00:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 19:00:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:00:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 19:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305659904001,"power":28506,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 19:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":191603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891484,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:00:17] local.INFO: GPS data processed {"connection_id":191603,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:00:17] local.INFO: Acknowledgment sent {"connection_id":191603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:00:21] local.INFO: TCP Data received {"connection_id":194259,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:00:21] local.INFO: Processing buffer {"connection_id":194259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:00:21] local.INFO: IMEI packet received {"connection_id":194259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":194259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:00:22] local.INFO: TCP Data received {"connection_id":194259,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39a29f8012d19268007200bb80031004f28..."} 
[2026-09-24 19:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39a29f8012d19268007200bb80031004f28..."} 
[2026-09-24 19:00:22] local.INFO: Processing buffer {"connection_id":194259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39a29f8012d19268007200bb80031004f28..."} 
[2026-09-24 19:00:22] local.INFO: Packet analysis {"connection_id":194259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39a"} 
[2026-09-24 19:00:22] local.INFO: Extracted packet for processing {"connection_id":194259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39a"} 
[2026-09-24 19:00:22] local.INFO: GPS Element Parsed {"raw_longitude":756622976,"raw_latitude":119540664,"longitude_deg":75.6622976,"latitude_deg":11.9540664,"altitude":49,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d192680","hex_latitude":"07200bb8","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305656320001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047241186934784,"note":"Value kept but may cause issues"} 
[2026-09-24 19:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811854455688888320,"note":"Value kept but may cause issues"} 
[2026-09-24 19:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790256491000,"timestamp_ms":1790256491000,"timestamp_seconds":1790256491,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39a29f8"} 
[2026-09-24 19:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:00: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-09-24 19: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":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-24 19:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:00:22] local.INFO: TCP Data received {"connection_id":191603,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39ab2b0012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305656320001,"66":12678,"102":206,"83":41984,"24":0,"16":23047241186934784,"45":1811854455688888320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305656320001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:00:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:00:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047241186934784,"km_value":23047241186934.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811854455688888320,"description":"Unknown IO ID 45"} 
[2026-09-24 19:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305656320001,"power":12678,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1811854455688888320}} 
[2026-09-24 19:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39ab2b0012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:00:22] local.INFO: Processing buffer {"connection_id":191603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39ab2b0012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:00:22] local.INFO: Packet analysis {"connection_id":191603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39a"} 
[2026-09-24 19:00:22] local.INFO: Extracted packet for processing {"connection_id":191603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39a"} 
[2026-09-24 19:00:22] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305665280001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:00:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 19:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790256526000,"timestamp_ms":1790256526000,"timestamp_seconds":1790256526,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39ab2b0"} 
[2026-09-24 19:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19: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":111,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-24 19:00:22] 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-09-24 19: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-09-24 19:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305665280001,"66":28539,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 19:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305665280001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:00:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 19:00:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:00:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 19:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305665280001,"power":28539,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 19:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":194259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:00:22] local.INFO: GPS data processed {"connection_id":194259,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:00:22] local.INFO: Acknowledgment sent {"connection_id":194259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":191603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891486,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:00:22] local.INFO: GPS data processed {"connection_id":191603,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:00:22] local.INFO: Acknowledgment sent {"connection_id":191603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:00:27] local.INFO: TCP Data received {"connection_id":191604,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:00:27] local.INFO: Processing buffer {"connection_id":191604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:00:27] local.INFO: IMEI packet received {"connection_id":191604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":191604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:00:32] local.INFO: TCP Data received {"connection_id":191604,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:00:32] local.INFO: Processing buffer {"connection_id":191604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:00:32] local.INFO: IMEI packet received {"connection_id":191604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":191604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:00:33] local.INFO: TCP Data received {"connection_id":191604,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 19:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 19:00:33] local.INFO: Processing buffer {"connection_id":191604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 19:00:33] local.INFO: Packet analysis {"connection_id":191604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 19:00:33] local.INFO: Extracted packet for processing {"connection_id":191604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 19:00:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305565440001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790256416000,"timestamp_ms":1790256416000,"timestamp_seconds":1790256416,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3990500"} 
[2026-09-24 19:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 19:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305565440001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305565440001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:00:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:00:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305565440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":191604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:00:33] local.INFO: GPS data processed {"connection_id":191604,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:00:33] local.INFO: Acknowledgment sent {"connection_id":191604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:00:53] local.INFO: TCP Data received {"connection_id":194259,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39a7c00012d19278007200d500031004f2a..."} 
[2026-09-24 19:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39a7c00012d19278007200d500031004f2a..."} 
[2026-09-24 19:00:53] local.INFO: Processing buffer {"connection_id":194259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39a7c00012d19278007200d500031004f2a..."} 
[2026-09-24 19:00:53] local.INFO: Packet analysis {"connection_id":194259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39a"} 
[2026-09-24 19:00:53] local.INFO: Extracted packet for processing {"connection_id":194259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39a"} 
[2026-09-24 19:00:53] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":42,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305661696001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812276668153968640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790256512000,"timestamp_ms":1790256512000,"timestamp_seconds":1790256512,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39a7c00"} 
[2026-09-24 19:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:00: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-09-24 19:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 19:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305661696001,"66":12678,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812276668153968640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305661696001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:00:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:00:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812276668153968640,"description":"Unknown IO ID 45"} 
[2026-09-24 19:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305661696001,"power":12678,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812276668153968640}} 
[2026-09-24 19:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":194259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:00:53] local.INFO: GPS data processed {"connection_id":194259,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:00:53] local.INFO: Acknowledgment sent {"connection_id":194259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:01:04] local.INFO: TCP Data received {"connection_id":191604,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 19:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 19:01:04] local.INFO: Processing buffer {"connection_id":191604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 19:01:04] local.INFO: Packet analysis {"connection_id":191604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 19:01:04] local.INFO: Extracted packet for processing {"connection_id":191604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 19:01:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305565440001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790256416000,"timestamp_ms":1790256416000,"timestamp_seconds":1790256416,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3990500"} 
[2026-09-24 19:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 19:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305565440001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305565440001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:01:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:01:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305565440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":191604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:01:05] local.INFO: GPS data processed {"connection_id":191604,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:01:05] local.INFO: Acknowledgment sent {"connection_id":191604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:01:07] local.INFO: TCP Data received {"connection_id":191405,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191405,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:01:07] local.INFO: Processing buffer {"connection_id":191405,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:01:07] local.INFO: IMEI packet received {"connection_id":191405,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":191405,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:01:10] local.INFO: TCP Data received {"connection_id":191405,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191405,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:01:10] local.INFO: Processing buffer {"connection_id":191405,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:01:10] local.INFO: IMEI packet received {"connection_id":191405,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":191405,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:01:14] local.INFO: TCP Data received {"connection_id":191405,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39b04b8012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39b04b8012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:01:14] local.INFO: Processing buffer {"connection_id":191405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39b04b8012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:01:14] local.INFO: Packet analysis {"connection_id":191405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39b"} 
[2026-09-24 19:01:14] local.INFO: Extracted packet for processing {"connection_id":191405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39b"} 
[2026-09-24 19:01:14] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 19:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305670656001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:01:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 19:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790256547000,"timestamp_ms":1790256547000,"timestamp_seconds":1790256547,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39b04b8"} 
[2026-09-24 19:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-24 19:01:14] 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-09-24 19:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191405,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191405,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305670656001,"66":28137,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 19:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305670656001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:01:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 19:01:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:01:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 19:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305670656001,"power":28137,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 19:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":191405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891490,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:01:14] local.INFO: GPS data processed {"connection_id":191405,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:01:14] local.INFO: Acknowledgment sent {"connection_id":191405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:01:15] local.INFO: TCP Data received {"connection_id":191405,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39b56c0012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39b56c0012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:01:15] local.INFO: Processing buffer {"connection_id":191405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39b56c0012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:01:15] local.INFO: Packet analysis {"connection_id":191405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39b"} 
[2026-09-24 19:01:15] local.INFO: Extracted packet for processing {"connection_id":191405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39b"} 
[2026-09-24 19:01:15] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 19:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305676032001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:01:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 19:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790256568000,"timestamp_ms":1790256568000,"timestamp_seconds":1790256568,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39b56c0"} 
[2026-09-24 19:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-24 19:01:15] 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-09-24 19:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191405,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191405,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305676032001,"66":28419,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 19:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305676032001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:01:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 19:01:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:01:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 19:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305676032001,"power":28419,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 19:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":191405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891491,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:01:15] local.INFO: GPS data processed {"connection_id":191405,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:01:15] local.INFO: Acknowledgment sent {"connection_id":191405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:01:21] local.INFO: TCP Data received {"connection_id":191605,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:01:21] local.INFO: Processing buffer {"connection_id":191605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:01:21] local.INFO: IMEI packet received {"connection_id":191605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":191605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:01:26] local.INFO: TCP Data received {"connection_id":191605,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:01:26] local.INFO: Processing buffer {"connection_id":191605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:01:26] local.INFO: IMEI packet received {"connection_id":191605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":191605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:01:27] local.INFO: TCP Data received {"connection_id":191605,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39ace08012d19278007200d500031004f2d..."} 
[2026-09-24 19:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39ace08012d19278007200d500031004f2d..."} 
[2026-09-24 19:01:27] local.INFO: Processing buffer {"connection_id":191605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39ace08012d19278007200d500031004f2d..."} 
[2026-09-24 19:01:27] local.INFO: Packet analysis {"connection_id":191605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39a"} 
[2026-09-24 19:01:27] local.INFO: Extracted packet for processing {"connection_id":191605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39a"} 
[2026-09-24 19:01:27] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":45,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:01: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-09-24 19:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305667072001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790256533000,"timestamp_ms":1790256533000,"timestamp_seconds":1790256533,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39ace08"} 
[2026-09-24 19:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:01: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-09-24 19:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 19:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:01: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-09-24 19:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305667072001,"66":12667,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305667072001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:01:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:01:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305667072001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":191605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:01:27] local.INFO: GPS data processed {"connection_id":191605,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:01:27] local.INFO: Acknowledgment sent {"connection_id":191605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:01:27] local.INFO: TCP Data received {"connection_id":191606,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:01:27] local.INFO: Processing buffer {"connection_id":191606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:01:27] local.INFO: IMEI packet received {"connection_id":191606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":191606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:01:31] local.INFO: TCP Data received {"connection_id":191605,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39b2010012d19278007200d500031004f2d..."} 
[2026-09-24 19:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39b2010012d19278007200d500031004f2d..."} 
[2026-09-24 19:01:31] local.INFO: Processing buffer {"connection_id":191605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39b2010012d19278007200d500031004f2d..."} 
[2026-09-24 19:01:31] local.INFO: Packet analysis {"connection_id":191605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39b"} 
[2026-09-24 19:01:31] local.INFO: Extracted packet for processing {"connection_id":191605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39b"} 
[2026-09-24 19:01:31] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":45,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305672448001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790256554000,"timestamp_ms":1790256554000,"timestamp_seconds":1790256554,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39b2010"} 
[2026-09-24 19:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-24 19:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":191605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":191605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":191605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305672448001,"66":12667,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305672448001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:01:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:01:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305672448001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":191605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:01:31] local.INFO: GPS data processed {"connection_id":191605,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:01:31] local.INFO: Acknowledgment sent {"connection_id":191605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:01:32] local.INFO: TCP Data received {"connection_id":191606,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:01:32] local.INFO: Processing buffer {"connection_id":191606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:01:32] local.INFO: IMEI packet received {"connection_id":191606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":191606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:01:34] local.INFO: TCP Data received {"connection_id":191606,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 19:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 19:01:34] local.INFO: Processing buffer {"connection_id":191606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 19:01:34] local.INFO: Packet analysis {"connection_id":191606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 19:01:34] local.INFO: Extracted packet for processing {"connection_id":191606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 19:01:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305565440001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790256416000,"timestamp_ms":1790256416000,"timestamp_seconds":1790256416,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3990500"} 
[2026-09-24 19:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 19:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305565440001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305565440001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:01:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:01:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305565440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":191606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:01:34] local.INFO: GPS data processed {"connection_id":191606,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:01:34] local.INFO: Acknowledgment sent {"connection_id":191606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:01:48] local.INFO: TCP Data received {"connection_id":191405,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39ba8c8012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39ba8c8012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:01:48] local.INFO: Processing buffer {"connection_id":191405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39ba8c8012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:01:48] local.INFO: Packet analysis {"connection_id":191405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39b"} 
[2026-09-24 19:01:48] local.INFO: Extracted packet for processing {"connection_id":191405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39b"} 
[2026-09-24 19:01:48] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 19:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305681408001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:01:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 19:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790256589000,"timestamp_ms":1790256589000,"timestamp_seconds":1790256589,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39ba8c8"} 
[2026-09-24 19:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:01: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-09-24 19:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-24 19:01: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-09-24 19:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191405,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191405,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305681408001,"66":28506,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 19:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305681408001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:01:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 19:01:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:01:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 19:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305681408001,"power":28506,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 19:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":191405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891495,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:01:48] local.INFO: GPS data processed {"connection_id":191405,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:01:48] local.INFO: Acknowledgment sent {"connection_id":191405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:02:05] local.INFO: TCP Data received {"connection_id":191606,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 19:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 19:02:05] local.INFO: Processing buffer {"connection_id":191606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 19:02:05] local.INFO: Packet analysis {"connection_id":191606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 19:02:05] local.INFO: Extracted packet for processing {"connection_id":191606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 19:02:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305565440001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790256416000,"timestamp_ms":1790256416000,"timestamp_seconds":1790256416,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3990500"} 
[2026-09-24 19:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 19:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305565440001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305565440001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:02:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:02:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305565440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":191606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:02:05] local.INFO: GPS data processed {"connection_id":191606,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:02:05] local.INFO: Acknowledgment sent {"connection_id":191606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:02:11] local.INFO: TCP Data received {"connection_id":191607,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:02:11] local.INFO: Processing buffer {"connection_id":191607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:02:11] local.INFO: IMEI packet received {"connection_id":191607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":191607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:02:12] local.INFO: TCP Data received {"connection_id":191607,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:02:12] local.INFO: Processing buffer {"connection_id":191607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:02:12] local.INFO: IMEI packet received {"connection_id":191607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":191607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:02:16] local.INFO: TCP Data received {"connection_id":192985,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:02:16] local.INFO: Processing buffer {"connection_id":192985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:02:16] local.INFO: IMEI packet received {"connection_id":192985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":192985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:02:16] local.INFO: TCP Data received {"connection_id":191607,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:02:16] local.INFO: Processing buffer {"connection_id":191607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:02:16] local.INFO: IMEI packet received {"connection_id":191607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":191607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:02:18] local.INFO: TCP Data received {"connection_id":191607,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39bfad0012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39bfad0012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:02:18] local.INFO: Processing buffer {"connection_id":191607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39bfad0012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:02:18] local.INFO: Packet analysis {"connection_id":191607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39b"} 
[2026-09-24 19:02:18] local.INFO: Extracted packet for processing {"connection_id":191607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39b"} 
[2026-09-24 19:02:18] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 19:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305686784001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:02:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 19:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790256610000,"timestamp_ms":1790256610000,"timestamp_seconds":1790256610,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39bfad0"} 
[2026-09-24 19:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:02: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-09-24 19:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-09-24 19:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1563,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305686784001,"66":28452,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 19:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305686784001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:02:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 19:02:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:02:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 19:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305686784001,"power":28452,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 19:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":191607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891497,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:02:18] local.INFO: GPS data processed {"connection_id":191607,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:02:18] local.INFO: Acknowledgment sent {"connection_id":191607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:02:19] local.INFO: TCP Data received {"connection_id":192985,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:02:19] local.INFO: Processing buffer {"connection_id":192985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:02:19] local.INFO: IMEI packet received {"connection_id":192985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":192985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:02:20] local.INFO: TCP Data received {"connection_id":192985,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39b7218012d19278007200d500031004f2c..."} 
[2026-09-24 19:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39b7218012d19278007200d500031004f2c..."} 
[2026-09-24 19:02:20] local.INFO: Processing buffer {"connection_id":192985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39b7218012d19278007200d500031004f2c..."} 
[2026-09-24 19:02:20] local.INFO: Packet analysis {"connection_id":192985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39b"} 
[2026-09-24 19:02:20] local.INFO: Extracted packet for processing {"connection_id":192985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39b"} 
[2026-09-24 19:02:20] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":44,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305677824001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790256575000,"timestamp_ms":1790256575000,"timestamp_seconds":1790256575,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39b7218"} 
[2026-09-24 19:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:02: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-09-24 19:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-24 19:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":192985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":192985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":192985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305677824001,"66":12645,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305677824001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:02:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:02:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305677824001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":192985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:02:20] local.INFO: GPS data processed {"connection_id":192985,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:02:20] local.INFO: Acknowledgment sent {"connection_id":192985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:02:22] local.INFO: TCP Data received {"connection_id":191607,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39c4cd8012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39c4cd8012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:02:22] local.INFO: Processing buffer {"connection_id":191607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39c4cd8012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:02:22] local.INFO: Packet analysis {"connection_id":191607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39c"} 
[2026-09-24 19:02:22] local.INFO: Extracted packet for processing {"connection_id":191607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39c"} 
[2026-09-24 19:02:22] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 19:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305692160001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:02:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 19:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790256631000,"timestamp_ms":1790256631000,"timestamp_seconds":1790256631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39c4cd8"} 
[2026-09-24 19:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-24 19:02:22] 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-09-24 19:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305692160001,"66":28517,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 19:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305692160001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:02:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 19:02:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:02:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 19:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305692160001,"power":28517,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 19:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":191607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891499,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:02:22] local.INFO: GPS data processed {"connection_id":191607,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:02:22] local.INFO: Acknowledgment sent {"connection_id":191607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:02:27] local.INFO: TCP Data received {"connection_id":191608,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:02:27] local.INFO: Processing buffer {"connection_id":191608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:02:27] local.INFO: IMEI packet received {"connection_id":191608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":191608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:02:32] local.INFO: TCP Data received {"connection_id":191608,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:02:32] local.INFO: Processing buffer {"connection_id":191608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:02:32] local.INFO: IMEI packet received {"connection_id":191608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":191608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:02:33] local.INFO: TCP Data received {"connection_id":191608,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 19:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 19:02:33] local.INFO: Processing buffer {"connection_id":191608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3990500012d34c14006aa4940000900f531..."} 
[2026-09-24 19:02:33] local.INFO: Packet analysis {"connection_id":191608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 19:02:33] local.INFO: Extracted packet for processing {"connection_id":191608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d399"} 
[2026-09-24 19:02:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305565440001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790256416000,"timestamp_ms":1790256416000,"timestamp_seconds":1790256416,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3990500"} 
[2026-09-24 19:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 19:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305565440001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305565440001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:02:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:02:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305565440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":191608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:02:33] local.INFO: GPS data processed {"connection_id":191608,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:02:33] local.INFO: Acknowledgment sent {"connection_id":191608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:02:51] local.INFO: TCP Data received {"connection_id":192985,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39bc420012d19278007200d500031004f2e..."} 
[2026-09-24 19:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39bc420012d19278007200d500031004f2e..."} 
[2026-09-24 19:02:51] local.INFO: Processing buffer {"connection_id":192985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39bc420012d19278007200d500031004f2e..."} 
[2026-09-24 19:02:51] local.INFO: Packet analysis {"connection_id":192985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39b"} 
[2026-09-24 19:02:51] local.INFO: Extracted packet for processing {"connection_id":192985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39b"} 
[2026-09-24 19:02:51] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":46,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305683200001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790256596000,"timestamp_ms":1790256596000,"timestamp_seconds":1790256596,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39bc420"} 
[2026-09-24 19:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-24 19:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305683200001,"66":12667,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305683200001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:02:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:02:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305683200001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":192985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:02:51] local.INFO: GPS data processed {"connection_id":192985,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:02:51] local.INFO: Acknowledgment sent {"connection_id":192985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:03:04] local.INFO: TCP Data received {"connection_id":191608,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:03:04] local.INFO: Processing buffer {"connection_id":191608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:03:04] local.INFO: Packet analysis {"connection_id":191608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:03:04] local.INFO: Extracted packet for processing {"connection_id":191608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:03:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305642496001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790256717000,"timestamp_ms":1790256717000,"timestamp_seconds":1790256717,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39d9cc8"} 
[2026-09-24 19:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19: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-09-24 19:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:03: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-09-24 19:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305642496001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305642496001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:03:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:03:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305642496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":191608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:03:04] local.INFO: GPS data processed {"connection_id":191608,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:03:04] local.INFO: Acknowledgment sent {"connection_id":191608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:03:06] local.INFO: TCP Data received {"connection_id":192986,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:03:06] local.INFO: Processing buffer {"connection_id":192986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:03:06] local.INFO: IMEI packet received {"connection_id":192986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":192986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:03:11] local.INFO: TCP Data received {"connection_id":192986,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:03:11] local.INFO: Processing buffer {"connection_id":192986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:03:11] local.INFO: IMEI packet received {"connection_id":192986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":192986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:03:13] local.INFO: TCP Data received {"connection_id":192986,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39c9ee0012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39c9ee0012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:03:13] local.INFO: Processing buffer {"connection_id":192986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39c9ee0012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:03:13] local.INFO: Packet analysis {"connection_id":192986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39c"} 
[2026-09-24 19:03:13] local.INFO: Extracted packet for processing {"connection_id":192986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39c"} 
[2026-09-24 19:03:13] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305697536001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:03:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 19:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790256652000,"timestamp_ms":1790256652000,"timestamp_seconds":1790256652,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39c9ee0"} 
[2026-09-24 19:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19: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":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-24 19:03:13] 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-09-24 19: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-09-24 19:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305697536001,"66":28571,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 19:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305697536001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:03:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 19:03:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:03:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 19:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305697536001,"power":28571,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 19:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":192986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891503,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:03:13] local.INFO: GPS data processed {"connection_id":192986,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:03:13] local.INFO: Acknowledgment sent {"connection_id":192986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:03:16] local.INFO: TCP Data received {"connection_id":192987,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:03:16] local.INFO: Processing buffer {"connection_id":192987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:03:16] local.INFO: IMEI packet received {"connection_id":192987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":192987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:03:21] local.INFO: TCP Data received {"connection_id":192987,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:03:21] local.INFO: Processing buffer {"connection_id":192987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:03:21] local.INFO: IMEI packet received {"connection_id":192987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":192987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:03:22] local.INFO: TCP Data received {"connection_id":192987,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39c1628012d19278007200d500031004f2c..."} 
[2026-09-24 19:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39c1628012d19278007200d500031004f2c..."} 
[2026-09-24 19:03:22] local.INFO: Processing buffer {"connection_id":192987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39c1628012d19278007200d500031004f2c..."} 
[2026-09-24 19:03:22] local.INFO: Packet analysis {"connection_id":192987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39c"} 
[2026-09-24 19:03:22] local.INFO: Extracted packet for processing {"connection_id":192987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39c"} 
[2026-09-24 19:03:22] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":44,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305688576001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790256617000,"timestamp_ms":1790256617000,"timestamp_seconds":1790256617,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39c1628"} 
[2026-09-24 19:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:03: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-09-24 19:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-24 19:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305688576001,"66":12591,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305688576001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:03:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:03:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305688576001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":192987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:03:22] local.INFO: GPS data processed {"connection_id":192987,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:03:22] local.INFO: Acknowledgment sent {"connection_id":192987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:03:27] local.INFO: TCP Data received {"connection_id":191406,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:03:27] local.INFO: Processing buffer {"connection_id":191406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:03:27] local.INFO: IMEI packet received {"connection_id":191406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":191406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:03:32] local.INFO: TCP Data received {"connection_id":191406,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:03:32] local.INFO: Processing buffer {"connection_id":191406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:03:32] local.INFO: IMEI packet received {"connection_id":191406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":191406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:03:33] local.INFO: TCP Data received {"connection_id":191406,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:03:33] local.INFO: Processing buffer {"connection_id":191406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:03:33] local.INFO: Packet analysis {"connection_id":191406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:03:33] local.INFO: Extracted packet for processing {"connection_id":191406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:03:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305642496001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790256717000,"timestamp_ms":1790256717000,"timestamp_seconds":1790256717,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39d9cc8"} 
[2026-09-24 19:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305642496001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305642496001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:03:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:03:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305642496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":191406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:03:33] local.INFO: GPS data processed {"connection_id":191406,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:03:33] local.INFO: Acknowledgment sent {"connection_id":191406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:03:50] local.INFO: TCP Data received {"connection_id":192986,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39cf0e8012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39cf0e8012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:03:50] local.INFO: Processing buffer {"connection_id":192986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39cf0e8012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:03:50] local.INFO: Packet analysis {"connection_id":192986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39c"} 
[2026-09-24 19:03:50] local.INFO: Extracted packet for processing {"connection_id":192986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39c"} 
[2026-09-24 19:03:50] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305702912001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:03:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 19:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790256673000,"timestamp_ms":1790256673000,"timestamp_seconds":1790256673,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39cf0e8"} 
[2026-09-24 19:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19: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":111,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-24 19:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2148,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305702912001,"66":28104,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 19:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305702912001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:03:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 19:03:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:03:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 19:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305702912001,"power":28104,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 19:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":192986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891506,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:03:50] local.INFO: GPS data processed {"connection_id":192986,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:03:50] local.INFO: Acknowledgment sent {"connection_id":192986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:03:53] local.INFO: TCP Data received {"connection_id":192987,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39c6830012d19278007200d500031004f29..."} 
[2026-09-24 19:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39c6830012d19278007200d500031004f29..."} 
[2026-09-24 19:03:53] local.INFO: Processing buffer {"connection_id":192987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39c6830012d19278007200d500031004f29..."} 
[2026-09-24 19:03:53] local.INFO: Packet analysis {"connection_id":192987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39c"} 
[2026-09-24 19:03:53] local.INFO: Extracted packet for processing {"connection_id":192987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39c"} 
[2026-09-24 19:03:53] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305693952001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790256638000,"timestamp_ms":1790256638000,"timestamp_seconds":1790256638,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39c6830"} 
[2026-09-24 19:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:03: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-09-24 19: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 19:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":192987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":192987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":192987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305693952001,"66":12613,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305693952001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:03:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:03:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305693952001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":192987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:03:53] local.INFO: GPS data processed {"connection_id":192987,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:03:53] local.INFO: Acknowledgment sent {"connection_id":192987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:04:04] local.INFO: TCP Data received {"connection_id":191406,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:04:04] local.INFO: Processing buffer {"connection_id":191406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:04:04] local.INFO: Packet analysis {"connection_id":191406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:04:04] local.INFO: Extracted packet for processing {"connection_id":191406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:04:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305642496001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790256717000,"timestamp_ms":1790256717000,"timestamp_seconds":1790256717,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39d9cc8"} 
[2026-09-24 19:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:04: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-09-24 19:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:04: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-09-24 19: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-09-24 19:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305642496001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305642496001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:04:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:04:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305642496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":191406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:04:04] local.INFO: GPS data processed {"connection_id":191406,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:04:04] local.INFO: Acknowledgment sent {"connection_id":191406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:04:06] local.INFO: TCP Data received {"connection_id":192988,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:04:06] local.INFO: Processing buffer {"connection_id":192988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:04:06] local.INFO: IMEI packet received {"connection_id":192988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":192988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:04:11] local.INFO: TCP Data received {"connection_id":192988,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:04:11] local.INFO: Processing buffer {"connection_id":192988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:04:11] local.INFO: IMEI packet received {"connection_id":192988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":192988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:04:12] local.INFO: TCP Data received {"connection_id":192988,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39d42f0012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39d42f0012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:04:12] local.INFO: Processing buffer {"connection_id":192988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39d42f0012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:04:12] local.INFO: Packet analysis {"connection_id":192988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:04:12] local.INFO: Extracted packet for processing {"connection_id":192988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:04:12] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 19:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305708288001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:04:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 19:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790256694000,"timestamp_ms":1790256694000,"timestamp_seconds":1790256694,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39d42f0"} 
[2026-09-24 19:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-24 19:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305708288001,"66":27952,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 19:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305708288001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:04:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 19:04:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:04:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 19:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305708288001,"power":27952,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 19:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":192988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891509,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:04:12] local.INFO: GPS data processed {"connection_id":192988,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:04:12] local.INFO: Acknowledgment sent {"connection_id":192988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:04:16] local.INFO: TCP Data received {"connection_id":194260,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:04:16] local.INFO: Processing buffer {"connection_id":194260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:04:16] local.INFO: IMEI packet received {"connection_id":194260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":194260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:04:21] local.INFO: TCP Data received {"connection_id":194260,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:04:21] local.INFO: Processing buffer {"connection_id":194260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:04:21] local.INFO: IMEI packet received {"connection_id":194260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":194260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:04:22] local.INFO: TCP Data received {"connection_id":194260,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39cba38012d19278007200d500031004f29..."} 
[2026-09-24 19:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39cba38012d19278007200d500031004f29..."} 
[2026-09-24 19:04:22] local.INFO: Processing buffer {"connection_id":194260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39cba38012d19278007200d500031004f29..."} 
[2026-09-24 19:04:22] local.INFO: Packet analysis {"connection_id":194260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39c"} 
[2026-09-24 19:04:22] local.INFO: Extracted packet for processing {"connection_id":194260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39c"} 
[2026-09-24 19:04:22] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305699328001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790256659000,"timestamp_ms":1790256659000,"timestamp_seconds":1790256659,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39cba38"} 
[2026-09-24 19:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19: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-09-24 19: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-24 19:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305699328001,"66":12602,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305699328001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:04:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:04:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305699328001,"power":12602,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":194260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:04:22] local.INFO: GPS data processed {"connection_id":194260,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:04:22] local.INFO: Acknowledgment sent {"connection_id":194260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:04:28] local.INFO: TCP Data received {"connection_id":191609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:04:28] local.INFO: Processing buffer {"connection_id":191609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:04:28] local.INFO: IMEI packet received {"connection_id":191609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":191609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:04:33] local.INFO: TCP Data received {"connection_id":191609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:04:33] local.INFO: Processing buffer {"connection_id":191609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:04:33] local.INFO: IMEI packet received {"connection_id":191609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":191609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:04:34] local.INFO: TCP Data received {"connection_id":191609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:04:34] local.INFO: Processing buffer {"connection_id":191609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:04:34] local.INFO: Packet analysis {"connection_id":191609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:04:34] local.INFO: Extracted packet for processing {"connection_id":191609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:04:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305642496001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790256717000,"timestamp_ms":1790256717000,"timestamp_seconds":1790256717,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39d9cc8"} 
[2026-09-24 19:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305642496001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305642496001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:04:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:04:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305642496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":191609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:04:34] local.INFO: GPS data processed {"connection_id":191609,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:04:34] local.INFO: Acknowledgment sent {"connection_id":191609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:04:44] local.INFO: TCP Data received {"connection_id":192988,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39d94f8012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39d94f8012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:04:44] local.INFO: Processing buffer {"connection_id":192988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39d94f8012cbd1940077158a8003500bb23..."} 
[2026-09-24 19:04:44] local.INFO: Packet analysis {"connection_id":192988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:04:44] local.INFO: Extracted packet for processing {"connection_id":192988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:04:44] local.INFO: GPS Element Parsed {"raw_longitude":750590272,"raw_latitude":124868776,"longitude_deg":75.0590272,"latitude_deg":12.4868776,"altitude":53,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2cbd1940","hex_latitude":"077158a8","is_valid_coordinates":true} 
[2026-09-24 19:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305713664001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:04:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 19:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790256715000,"timestamp_ms":1790256715000,"timestamp_seconds":1790256715,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39d94f8"} 
[2026-09-24 19:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 19:04:44] 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-09-24 19:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305713664001,"66":27952,"105":206,"27":54016,"24":0,"16":3605341577150464,"44":-4820751525412820992},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-09-24 19:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305713664001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:04:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-24 19:04:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:04:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4820751525412820992,"description":"Unknown IO ID 44"} 
[2026-09-24 19:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305713664001,"power":27952,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4820751525412820992}} 
[2026-09-24 19:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":192988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891512,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:04:44] local.INFO: GPS data processed {"connection_id":192988,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:04:44] local.INFO: Acknowledgment sent {"connection_id":192988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:04:53] local.INFO: TCP Data received {"connection_id":194260,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39d0c40012d19278007200d500031004f2b..."} 
[2026-09-24 19:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39d0c40012d19278007200d500031004f2b..."} 
[2026-09-24 19:04:53] local.INFO: Processing buffer {"connection_id":194260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39d0c40012d19278007200d500031004f2b..."} 
[2026-09-24 19:04:53] local.INFO: Packet analysis {"connection_id":194260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:04:53] local.INFO: Extracted packet for processing {"connection_id":194260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:04:53] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":43,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305704704001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790256680000,"timestamp_ms":1790256680000,"timestamp_seconds":1790256680,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39d0c40"} 
[2026-09-24 19:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19: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-09-24 19: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-24 19:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305704704001,"66":12591,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305704704001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:04:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:04:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305704704001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":194260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:04:53] local.INFO: GPS data processed {"connection_id":194260,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:04:53] local.INFO: Acknowledgment sent {"connection_id":194260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:05:05] local.INFO: TCP Data received {"connection_id":191609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:05:05] local.INFO: Processing buffer {"connection_id":191609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:05:05] local.INFO: Packet analysis {"connection_id":191609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:05:05] local.INFO: Extracted packet for processing {"connection_id":191609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:05:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305642496001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790256717000,"timestamp_ms":1790256717000,"timestamp_seconds":1790256717,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39d9cc8"} 
[2026-09-24 19:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:05: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-09-24 19:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305642496001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305642496001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:05:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:05:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305642496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":191609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:05:05] local.INFO: GPS data processed {"connection_id":191609,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:05:05] local.INFO: Acknowledgment sent {"connection_id":191609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:05:06] local.INFO: TCP Data received {"connection_id":194261,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194261,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:05:06] local.INFO: Processing buffer {"connection_id":194261,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:05:06] local.INFO: IMEI packet received {"connection_id":194261,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":194261,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:05:11] local.INFO: TCP Data received {"connection_id":194261,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194261,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:05:11] local.INFO: Processing buffer {"connection_id":194261,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:05:11] local.INFO: IMEI packet received {"connection_id":194261,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":194261,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:05:13] local.INFO: TCP Data received {"connection_id":194261,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39e7b700100000000000000000000000000..."} 
[2026-09-24 19:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39e7b700100000000000000000000000000..."} 
[2026-09-24 19:05:13] local.INFO: Processing buffer {"connection_id":194261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39e7b700100000000000000000000000000..."} 
[2026-09-24 19:05:13] local.INFO: Packet analysis {"connection_id":194261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39e"} 
[2026-09-24 19:05:13] local.INFO: Extracted packet for processing {"connection_id":194261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39e"} 
[2026-09-24 19:05:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 19:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305719040001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:05:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4820751525412820992,"note":"Value kept but may cause issues"} 
[2026-09-24 19:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790256774000,"timestamp_ms":1790256774000,"timestamp_seconds":1790256774,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39e7b70"} 
[2026-09-24 19:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 19:05:13] 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-09-24 19:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":194261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":194261,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":194261,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":194261,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 19:05:13] local.INFO: GPS data processed {"connection_id":194261,"processed":0,"errors":0,"total":1} 
[2026-09-24 19:05:13] local.INFO: Acknowledgment sent {"connection_id":194261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:05:16] local.INFO: TCP Data received {"connection_id":191610,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:05:16] local.INFO: Processing buffer {"connection_id":191610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:05:16] local.INFO: IMEI packet received {"connection_id":191610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":191610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:05:21] local.INFO: TCP Data received {"connection_id":191610,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:05:21] local.INFO: Processing buffer {"connection_id":191610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:05:21] local.INFO: IMEI packet received {"connection_id":191610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":191610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:05:22] local.INFO: TCP Data received {"connection_id":191610,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39d5e48012d19278007200d500031004f29..."} 
[2026-09-24 19:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39d5e48012d19278007200d500031004f29..."} 
[2026-09-24 19:05:22] local.INFO: Processing buffer {"connection_id":191610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39d5e48012d19278007200d500031004f29..."} 
[2026-09-24 19:05:22] local.INFO: Packet analysis {"connection_id":191610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:05:22] local.INFO: Extracted packet for processing {"connection_id":191610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:05:22] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305710080001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790256701000,"timestamp_ms":1790256701000,"timestamp_seconds":1790256701,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39d5e48"} 
[2026-09-24 19:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:05: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-09-24 19:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 19:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305710080001,"66":12591,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305710080001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:05:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:05:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305710080001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":191610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:05:22] local.INFO: GPS data processed {"connection_id":191610,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:05:22] local.INFO: Acknowledgment sent {"connection_id":191610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:05:27] local.INFO: TCP Data received {"connection_id":192989,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:05:27] local.INFO: Processing buffer {"connection_id":192989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:05:27] local.INFO: IMEI packet received {"connection_id":192989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":192989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:05:32] local.INFO: TCP Data received {"connection_id":192989,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:05:32] local.INFO: Processing buffer {"connection_id":192989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:05:32] local.INFO: IMEI packet received {"connection_id":192989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":192989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:05:33] local.INFO: TCP Data received {"connection_id":192989,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:05:33] local.INFO: Processing buffer {"connection_id":192989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:05:33] local.INFO: Packet analysis {"connection_id":192989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:05:33] local.INFO: Extracted packet for processing {"connection_id":192989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:05:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305642496001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790256717000,"timestamp_ms":1790256717000,"timestamp_seconds":1790256717,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39d9cc8"} 
[2026-09-24 19:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305642496001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305642496001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:05:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:05:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305642496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":192989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:05:33] local.INFO: GPS data processed {"connection_id":192989,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:05:33] local.INFO: Acknowledgment sent {"connection_id":192989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:05:52] local.INFO: TCP Data received {"connection_id":194261,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39df6a0012cbcf5c007714038003f01292b..."} 
[2026-09-24 19:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39df6a0012cbcf5c007714038003f01292b..."} 
[2026-09-24 19:05:52] local.INFO: Processing buffer {"connection_id":194261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39df6a0012cbcf5c007714038003f01292b..."} 
[2026-09-24 19:05:52] local.INFO: Packet analysis {"connection_id":194261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:05:52] local.INFO: Extracted packet for processing {"connection_id":194261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:05:52] local.INFO: GPS Element Parsed {"raw_longitude":750581184,"raw_latitude":124862520,"longitude_deg":75.0581184,"latitude_deg":12.486252,"altitude":63,"angle":297,"satellites":43,"speed":16,"hex_longitude":"2cbcf5c0","hex_latitude":"07714038","is_valid_coordinates":true} 
[2026-09-24 19:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:05:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,194,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 19:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790256740000,"timestamp_ms":1790256740000,"timestamp_seconds":1790256740,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39df6a0"} 
[2026-09-24 19:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:05: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-24 19:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":194261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":194261,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":194261,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"194":206,"27":54016,"24":16,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,27,24,16]} 
[2026-09-24 19:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 19:05:52] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-24 19:05:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:05:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_194":206,"unknown_27":54016,"ignition":16,"odometer":null}} 
[2026-09-24 19:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":194261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891517,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:05:52] local.INFO: GPS data processed {"connection_id":194261,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:05:52] local.INFO: Acknowledgment sent {"connection_id":194261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:05:53] local.INFO: TCP Data received {"connection_id":191610,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39db050012d19278007200d500031004f25..."} 
[2026-09-24 19:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39db050012d19278007200d500031004f25..."} 
[2026-09-24 19:05:53] local.INFO: Processing buffer {"connection_id":191610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39db050012d19278007200d500031004f25..."} 
[2026-09-24 19:05:53] local.INFO: Packet analysis {"connection_id":191610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:05:53] local.INFO: Extracted packet for processing {"connection_id":191610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:05:53] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":37,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305715456001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790256722000,"timestamp_ms":1790256722000,"timestamp_seconds":1790256722,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39db050"} 
[2026-09-24 19:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19: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-09-24 19: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 19:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305715456001,"66":12580,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305715456001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:05:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:05:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305715456001,"power":12580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":191610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:05:53] local.INFO: GPS data processed {"connection_id":191610,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:05:53] local.INFO: Acknowledgment sent {"connection_id":191610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:06:05] local.INFO: TCP Data received {"connection_id":192989,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:06:05] local.INFO: Processing buffer {"connection_id":192989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:06:05] local.INFO: Packet analysis {"connection_id":192989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:06:05] local.INFO: Extracted packet for processing {"connection_id":192989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:06:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305642496001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790256717000,"timestamp_ms":1790256717000,"timestamp_seconds":1790256717,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39d9cc8"} 
[2026-09-24 19:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19: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":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:06: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-09-24 19: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-09-24 19:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305642496001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305642496001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:06:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:06:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305642496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":192989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:06:05] local.INFO: GPS data processed {"connection_id":192989,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:06:05] local.INFO: Acknowledgment sent {"connection_id":192989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:06:11] local.INFO: TCP Data received {"connection_id":192990,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:06:11] local.INFO: Processing buffer {"connection_id":192990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:06:11] local.INFO: IMEI packet received {"connection_id":192990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":192990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:06:16] local.INFO: TCP Data received {"connection_id":192990,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:06:16] local.INFO: Processing buffer {"connection_id":192990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:06:16] local.INFO: IMEI packet received {"connection_id":192990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":192990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:06:21] local.INFO: TCP Data received {"connection_id":191407,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:06:21] local.INFO: Processing buffer {"connection_id":191407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:06:21] local.INFO: IMEI packet received {"connection_id":191407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":191407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:06:25] local.INFO: TCP Data received {"connection_id":192990,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39edd180100000000000000000000000000..."} 
[2026-09-24 19:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39edd180100000000000000000000000000..."} 
[2026-09-24 19:06:25] local.INFO: Processing buffer {"connection_id":192990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39edd180100000000000000000000000000..."} 
[2026-09-24 19:06:25] local.INFO: Packet analysis {"connection_id":192990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39e"} 
[2026-09-24 19:06:25] local.INFO: Extracted packet for processing {"connection_id":192990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39e"} 
[2026-09-24 19:06:25] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 19:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305725440001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:06:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4830743887087650816,"note":"Value kept but may cause issues"} 
[2026-09-24 19:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790256799000,"timestamp_ms":1790256799000,"timestamp_seconds":1790256799,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39edd18"} 
[2026-09-24 19:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 19:06:25] 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-09-24 19:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":192990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":192990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":192990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":192990,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 19:06:25] local.INFO: GPS data processed {"connection_id":192990,"processed":0,"errors":0,"total":1} 
[2026-09-24 19:06:25] local.INFO: Acknowledgment sent {"connection_id":192990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:06:26] local.INFO: TCP Data received {"connection_id":191407,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:06:26] local.INFO: Processing buffer {"connection_id":191407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:06:26] local.INFO: IMEI packet received {"connection_id":191407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":191407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:06:28] local.INFO: TCP Data received {"connection_id":191407,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39e0258012d19278007200d500031004f2c..."} 
[2026-09-24 19:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39e0258012d19278007200d500031004f2c..."} 
[2026-09-24 19:06:28] local.INFO: Processing buffer {"connection_id":191407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39e0258012d19278007200d500031004f2c..."} 
[2026-09-24 19:06:28] local.INFO: Packet analysis {"connection_id":191407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39e"} 
[2026-09-24 19:06:28] local.INFO: Extracted packet for processing {"connection_id":191407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39e"} 
[2026-09-24 19:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":44,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305720832001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790256743000,"timestamp_ms":1790256743000,"timestamp_seconds":1790256743,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39e0258"} 
[2026-09-24 19:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-24 19:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":191407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":191407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":191407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305720832001,"66":12526,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305720832001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:06:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305720832001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":191407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:06:28] local.INFO: GPS data processed {"connection_id":191407,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:06:28] local.INFO: Acknowledgment sent {"connection_id":191407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:06:28] local.INFO: TCP Data received {"connection_id":194262,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:06:28] local.INFO: Processing buffer {"connection_id":194262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:06:28] local.INFO: IMEI packet received {"connection_id":194262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":194262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:06:32] local.INFO: TCP Data received {"connection_id":194262,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:06:32] local.INFO: Processing buffer {"connection_id":194262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:06:32] local.INFO: IMEI packet received {"connection_id":194262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":194262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:06:33] local.INFO: TCP Data received {"connection_id":194262,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:06:33] local.INFO: Processing buffer {"connection_id":194262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:06:33] local.INFO: Packet analysis {"connection_id":194262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:06:33] local.INFO: Extracted packet for processing {"connection_id":194262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:06:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305642496001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790256717000,"timestamp_ms":1790256717000,"timestamp_seconds":1790256717,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39d9cc8"} 
[2026-09-24 19:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305642496001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305642496001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:06:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:06:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305642496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":194262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:06:33] local.INFO: GPS data processed {"connection_id":194262,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:06:33] local.INFO: Acknowledgment sent {"connection_id":194262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:06:34] local.INFO: TCP Data received {"connection_id":191407,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39e5460012d19278007200d500031004f28..."} 
[2026-09-24 19:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39e5460012d19278007200d500031004f28..."} 
[2026-09-24 19:06:34] local.INFO: Processing buffer {"connection_id":191407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39e5460012d19278007200d500031004f28..."} 
[2026-09-24 19:06:34] local.INFO: Packet analysis {"connection_id":191407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39e"} 
[2026-09-24 19:06:34] local.INFO: Extracted packet for processing {"connection_id":191407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39e"} 
[2026-09-24 19:06:34] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305726208001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790256764000,"timestamp_ms":1790256764000,"timestamp_seconds":1790256764,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39e5460"} 
[2026-09-24 19:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:06: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-09-24 19:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305726208001,"66":12558,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305726208001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:06:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:06:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305726208001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":191407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:06:34] local.INFO: GPS data processed {"connection_id":191407,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:06:34] local.INFO: Acknowledgment sent {"connection_id":191407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:07:05] local.INFO: TCP Data received {"connection_id":194262,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:07:05] local.INFO: Processing buffer {"connection_id":194262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:07:05] local.INFO: Packet analysis {"connection_id":194262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:07:05] local.INFO: Extracted packet for processing {"connection_id":194262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:07:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305642496001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790256717000,"timestamp_ms":1790256717000,"timestamp_seconds":1790256717,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39d9cc8"} 
[2026-09-24 19:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:07: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-09-24 19: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-09-24 19:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305642496001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305642496001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:07:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:07:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305642496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":194262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:07:05] local.INFO: GPS data processed {"connection_id":194262,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:07:05] local.INFO: Acknowledgment sent {"connection_id":194262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:07:06] local.INFO: TCP Data received {"connection_id":192991,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:07:06] local.INFO: Processing buffer {"connection_id":192991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:07:06] local.INFO: IMEI packet received {"connection_id":192991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":192991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:07:11] local.INFO: TCP Data received {"connection_id":192991,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:07:11] local.INFO: Processing buffer {"connection_id":192991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:07:11] local.INFO: IMEI packet received {"connection_id":192991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":192991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:07:13] local.INFO: TCP Data received {"connection_id":191408,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:07:13] local.INFO: Processing buffer {"connection_id":191408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:07:13] local.INFO: IMEI packet received {"connection_id":191408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":191408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:07:16] local.INFO: TCP Data received {"connection_id":191408,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:07:16] local.INFO: Processing buffer {"connection_id":191408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:07:16] local.INFO: IMEI packet received {"connection_id":191408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":191408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:07:18] local.INFO: TCP Data received {"connection_id":192991,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a1a0200100000000000000000000000000..."} 
[2026-09-24 19:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a1a0200100000000000000000000000000..."} 
[2026-09-24 19:07:18] local.INFO: Processing buffer {"connection_id":192991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a1a0200100000000000000000000000000..."} 
[2026-09-24 19:07:18] local.INFO: Packet analysis {"connection_id":192991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a1"} 
[2026-09-24 19:07:18] local.INFO: Extracted packet for processing {"connection_id":192991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a1"} 
[2026-09-24 19:07: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-09-24 19:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305771776001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4831377205802045440,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790256980000,"timestamp_ms":1790256980000,"timestamp_seconds":1790256980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a1a020"} 
[2026-09-24 19:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:07: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-09-24 19:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 19:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":192991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":192991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":192991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":192991,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 19:07:18] local.INFO: GPS data processed {"connection_id":192991,"processed":0,"errors":0,"total":1} 
[2026-09-24 19:07:18] local.INFO: Acknowledgment sent {"connection_id":192991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:07:21] local.INFO: TCP Data received {"connection_id":191408,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:07:21] local.INFO: Processing buffer {"connection_id":191408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:07:21] local.INFO: IMEI packet received {"connection_id":191408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":191408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:07:22] local.INFO: TCP Data received {"connection_id":191408,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39ea668012d19278007200d500031004f26..."} 
[2026-09-24 19:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39ea668012d19278007200d500031004f26..."} 
[2026-09-24 19:07:22] local.INFO: Processing buffer {"connection_id":191408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39ea668012d19278007200d500031004f26..."} 
[2026-09-24 19:07:22] local.INFO: Packet analysis {"connection_id":191408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39e"} 
[2026-09-24 19:07:22] local.INFO: Extracted packet for processing {"connection_id":191408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39e"} 
[2026-09-24 19:07:22] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305731584001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790256785000,"timestamp_ms":1790256785000,"timestamp_seconds":1790256785,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39ea668"} 
[2026-09-24 19:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:07: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-09-24 19:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 19:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3550242864,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249672036953361744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:22] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2634825729,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 19:07:22] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2147950605,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:22] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3780968448,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:22] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:22] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:22] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:22] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,225,160,2,45,128,13,49,44,10,66,176,37,94,1,240,47,227,211,32,4,113,205,186,39,80,41,239,81,7,120,85,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 19:07:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3530909141075755008,"timestamp_seconds":3530909141075755.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 19:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305731584001,"66":12558,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305731584001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:07:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:07:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305731584001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":191408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:07:22] local.INFO: GPS data processed {"connection_id":191408,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:07:22] local.INFO: Acknowledgment sent {"connection_id":191408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:07:27] local.INFO: TCP Data received {"connection_id":194263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:07:27] local.INFO: Processing buffer {"connection_id":194263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:07:27] local.INFO: IMEI packet received {"connection_id":194263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":194263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:07:32] local.INFO: TCP Data received {"connection_id":194263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:07:32] local.INFO: Processing buffer {"connection_id":194263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:07:32] local.INFO: IMEI packet received {"connection_id":194263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":194263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:07:34] local.INFO: TCP Data received {"connection_id":194263,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:07:34] local.INFO: Processing buffer {"connection_id":194263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39d9cc8012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:07:34] local.INFO: Packet analysis {"connection_id":194263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:07:34] local.INFO: Extracted packet for processing {"connection_id":194263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39d"} 
[2026-09-24 19:07:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305642496001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790256717000,"timestamp_ms":1790256717000,"timestamp_seconds":1790256717,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39d9cc8"} 
[2026-09-24 19:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305642496001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305642496001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:07:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:07:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305642496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":194263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:07:34] local.INFO: GPS data processed {"connection_id":194263,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:07:34] local.INFO: Acknowledgment sent {"connection_id":194263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:07:50] local.INFO: TCP Data received {"connection_id":192991,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a10f98012cbcfc00076ffac8006000ab30..."} 
[2026-09-24 19:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a10f98012cbcfc00076ffac8006000ab30..."} 
[2026-09-24 19:07:50] local.INFO: Processing buffer {"connection_id":192991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a10f98012cbcfc00076ffac8006000ab30..."} 
[2026-09-24 19:07:50] local.INFO: Packet analysis {"connection_id":192991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a1"} 
[2026-09-24 19:07:50] local.INFO: Extracted packet for processing {"connection_id":192991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a1"} 
[2026-09-24 19:07:50] local.INFO: GPS Element Parsed {"raw_longitude":750582784,"raw_latitude":124779208,"longitude_deg":75.0582784,"latitude_deg":12.4779208,"altitude":96,"angle":171,"satellites":48,"speed":39,"hex_longitude":"2cbcfc00","hex_latitude":"076ffac8","is_valid_coordinates":true} 
[2026-09-24 19:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,195,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 19:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790256943000,"timestamp_ms":1790256943000,"timestamp_seconds":1790256943,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a10f98"} 
[2026-09-24 19:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 19:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27930,"195":206,"27":54016,"24":39,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,27,24,16]} 
[2026-09-24 19:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 19:07:50] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-24 19:07:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:07:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27930,"unknown_195":206,"unknown_27":54016,"ignition":39,"odometer":null}} 
[2026-09-24 19:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":192991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891526,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:07:50] local.INFO: GPS data processed {"connection_id":192991,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:07:50] local.INFO: Acknowledgment sent {"connection_id":192991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:07:54] local.INFO: TCP Data received {"connection_id":191408,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39ef870012d19278007200d500031004f2b..."} 
[2026-09-24 19:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39ef870012d19278007200d500031004f2b..."} 
[2026-09-24 19:07:54] local.INFO: Processing buffer {"connection_id":191408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39ef870012d19278007200d500031004f2b..."} 
[2026-09-24 19:07:54] local.INFO: Packet analysis {"connection_id":191408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39e"} 
[2026-09-24 19:07:54] local.INFO: Extracted packet for processing {"connection_id":191408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39e"} 
[2026-09-24 19:07:54] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":43,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:07: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-09-24 19:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305736960001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790256806000,"timestamp_ms":1790256806000,"timestamp_seconds":1790256806,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39ef870"} 
[2026-09-24 19:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 19:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:54] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:54] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3550263864,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249672036953361744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:54] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2640201729,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 19:07:54] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2147950605,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:54] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3780968448,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:54] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:54] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:54] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-24 19:07:54] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,225,160,84,45,128,13,49,40,10,66,2,44,176,1,240,36,227,211,32,4,113,205,12,39,80,43,239,81,7,120,85,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 19:07:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3530909132485820416,"timestamp_seconds":3530909132485820.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 19:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":191408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":191408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":191408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305736960001,"66":12526,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305736960001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:07:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:07:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305736960001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":191408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:07:54] local.INFO: GPS data processed {"connection_id":191408,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:07:54] local.INFO: Acknowledgment sent {"connection_id":191408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:08:06] local.INFO: TCP Data received {"connection_id":194263,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:08:06] local.INFO: Processing buffer {"connection_id":194263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:08:06] local.INFO: Packet analysis {"connection_id":194263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:08:06] local.INFO: Extracted packet for processing {"connection_id":194263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:08:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305719552001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790257018000,"timestamp_ms":1790257018000,"timestamp_seconds":1790257018,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a23490"} 
[2026-09-24 19:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:08: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-09-24 19:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305719552001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305719552001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:08:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:08:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305719552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":194263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:08:06] local.INFO: GPS data processed {"connection_id":194263,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:08:06] local.INFO: Acknowledgment sent {"connection_id":194263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:08:16] local.INFO: TCP Data received {"connection_id":191611,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:08:16] local.INFO: Processing buffer {"connection_id":191611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:08:16] local.INFO: IMEI packet received {"connection_id":191611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":191611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:08:17] local.INFO: TCP Data received {"connection_id":191611,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:08:17] local.INFO: Processing buffer {"connection_id":191611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:08:17] local.INFO: IMEI packet received {"connection_id":191611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":191611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:08:21] local.INFO: TCP Data received {"connection_id":194264,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:08:21] local.INFO: TCP Data received {"connection_id":191611,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:08:21] local.INFO: Processing buffer {"connection_id":194264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:08:21] local.INFO: IMEI packet received {"connection_id":194264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":194264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:08:21] local.INFO: Processing buffer {"connection_id":191611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:08:21] local.INFO: IMEI packet received {"connection_id":191611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":191611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:08:22] local.INFO: TCP Data received {"connection_id":191611,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39f4a78012d19278007200d500031004f27..."} 
[2026-09-24 19:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39f4a78012d19278007200d500031004f27..."} 
[2026-09-24 19:08:22] local.INFO: Processing buffer {"connection_id":191611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39f4a78012d19278007200d500031004f27..."} 
[2026-09-24 19:08:22] local.INFO: Packet analysis {"connection_id":191611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39f"} 
[2026-09-24 19:08:22] local.INFO: Extracted packet for processing {"connection_id":191611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39f"} 
[2026-09-24 19:08:22] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305742336001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790256827000,"timestamp_ms":1790256827000,"timestamp_seconds":1790256827,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39f4a78"} 
[2026-09-24 19:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:08: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-09-24 19:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305742336001,"66":12548,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305742336001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:08:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:08:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305742336001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":191611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:08:22] local.INFO: GPS data processed {"connection_id":191611,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:08:22] local.INFO: Acknowledgment sent {"connection_id":191611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:08:23] local.INFO: TCP Data received {"connection_id":194264,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:08:23] local.INFO: Processing buffer {"connection_id":194264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:08:23] local.INFO: IMEI packet received {"connection_id":194264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":194264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:08:26] local.INFO: TCP Data received {"connection_id":194264,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:08:26] local.INFO: Processing buffer {"connection_id":194264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:08:26] local.INFO: IMEI packet received {"connection_id":194264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":194264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:08:27] local.INFO: TCP Data received {"connection_id":194265,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:08:27] local.INFO: Processing buffer {"connection_id":194265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:08:27] local.INFO: IMEI packet received {"connection_id":194265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":194265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:08:30] local.INFO: TCP Data received {"connection_id":194264,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a161a0012cbd0980076fa790005900a734..."} 
[2026-09-24 19:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a161a0012cbd0980076fa790005900a734..."} 
[2026-09-24 19:08:30] local.INFO: Processing buffer {"connection_id":194264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a161a0012cbd0980076fa790005900a734..."} 
[2026-09-24 19:08:30] local.INFO: Packet analysis {"connection_id":194264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a1"} 
[2026-09-24 19:08:30] local.INFO: Extracted packet for processing {"connection_id":194264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a1"} 
[2026-09-24 19:08:30] local.INFO: GPS Element Parsed {"raw_longitude":750586240,"raw_latitude":124757904,"longitude_deg":75.058624,"latitude_deg":12.4757904,"altitude":89,"angle":167,"satellites":52,"speed":0,"hex_longitude":"2cbd0980","hex_latitude":"076fa790","is_valid_coordinates":true} 
[2026-09-24 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-09-24 19:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305777408001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4828984668504537088,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790256964000,"timestamp_ms":1790256964000,"timestamp_seconds":1790256964,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a161a0"} 
[2026-09-24 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-09-24 19:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-24 19:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 19:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194264,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194264,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305777408001,"66":27887,"195":206,"27":54016,"24":0,"16":3605341577150464,"44":-4828984668504537088},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,27,24,16,44]} 
[2026-09-24 19:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305777408001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:08:30] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-24 19:08:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:08:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4828984668504537088,"description":"Unknown IO ID 44"} 
[2026-09-24 19:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305777408001,"power":27887,"unknown_195":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4828984668504537088}} 
[2026-09-24 19:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":194264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891530,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:08:30] local.INFO: GPS data processed {"connection_id":194264,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:08:30] local.INFO: Acknowledgment sent {"connection_id":194264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:08:32] local.INFO: TCP Data received {"connection_id":194265,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:08:32] local.INFO: Processing buffer {"connection_id":194265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:08:32] local.INFO: IMEI packet received {"connection_id":194265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":194265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:08:34] local.INFO: TCP Data received {"connection_id":194265,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:08:34] local.INFO: Processing buffer {"connection_id":194265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:08:34] local.INFO: Packet analysis {"connection_id":194265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:08:34] local.INFO: Extracted packet for processing {"connection_id":194265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:08:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305719552001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790257018000,"timestamp_ms":1790257018000,"timestamp_seconds":1790257018,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a23490"} 
[2026-09-24 19:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305719552001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305719552001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:08:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:08:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305719552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":194265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:08:34] local.INFO: GPS data processed {"connection_id":194265,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:08:34] local.INFO: Acknowledgment sent {"connection_id":194265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:08:53] local.INFO: TCP Data received {"connection_id":191611,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d39f9c80012d19278007200d500031004f2a..."} 
[2026-09-24 19:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d39f9c80012d19278007200d500031004f2a..."} 
[2026-09-24 19:08:53] local.INFO: Processing buffer {"connection_id":191611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d39f9c80012d19278007200d500031004f2a..."} 
[2026-09-24 19:08:53] local.INFO: Packet analysis {"connection_id":191611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d39f"} 
[2026-09-24 19:08:53] local.INFO: Extracted packet for processing {"connection_id":191611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d39f"} 
[2026-09-24 19:08:53] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":42,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305747712001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790256848000,"timestamp_ms":1790256848000,"timestamp_seconds":1790256848,"priority":1,"record_length":96,"hex_timestamp":"000001a0d39f9c80"} 
[2026-09-24 19:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:08: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-09-24 19:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 19:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:53] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3550305864,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:53] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2650953729,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 19:08:53] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2147950605,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:53] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3780968448,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:53] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:08:53] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,225,160,248,45,128,13,49,43,10,66,166,38,84,1,240,14,227,211,32,4,113,205,176,39,80,37,239,2,81,7,120],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 19:08:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3530909136780787712,"timestamp_seconds":3530909136780787.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 19:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305747712001,"66":12548,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305747712001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:08:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:08:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305747712001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":191611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:08:53] local.INFO: GPS data processed {"connection_id":191611,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:08:53] local.INFO: Acknowledgment sent {"connection_id":191611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:09:05] local.INFO: TCP Data received {"connection_id":194265,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:09:05] local.INFO: Processing buffer {"connection_id":194265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:09:05] local.INFO: Packet analysis {"connection_id":194265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:09:05] local.INFO: Extracted packet for processing {"connection_id":194265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:09:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305719552001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790257018000,"timestamp_ms":1790257018000,"timestamp_seconds":1790257018,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a23490"} 
[2026-09-24 19:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:09: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-09-24 19: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-09-24 19:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305719552001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305719552001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:09:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:09:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305719552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":194265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:09:05] local.INFO: GPS data processed {"connection_id":194265,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:09:05] local.INFO: Acknowledgment sent {"connection_id":194265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:09:12] local.INFO: TCP Data received {"connection_id":191409,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:09:12] local.INFO: Processing buffer {"connection_id":191409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:09:12] local.INFO: IMEI packet received {"connection_id":191409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":191409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:09:15] local.INFO: TCP Data received {"connection_id":191409,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:09:15] local.INFO: Processing buffer {"connection_id":191409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:09:15] local.INFO: IMEI packet received {"connection_id":191409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":191409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:09:16] local.INFO: TCP Data received {"connection_id":192992,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:09:16] local.INFO: Processing buffer {"connection_id":192992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:09:16] local.INFO: IMEI packet received {"connection_id":192992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":192992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:09:17] local.INFO: TCP Data received {"connection_id":191409,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a19850012cbd2a80076f58c0005900b332..."} 
[2026-09-24 19:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a19850012cbd2a80076f58c0005900b332..."} 
[2026-09-24 19:09:17] local.INFO: Processing buffer {"connection_id":191409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a19850012cbd2a80076f58c0005900b332..."} 
[2026-09-24 19:09:17] local.INFO: Packet analysis {"connection_id":191409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a1"} 
[2026-09-24 19:09:17] local.INFO: Extracted packet for processing {"connection_id":191409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a1"} 
[2026-09-24 19:09:17] local.INFO: GPS Element Parsed {"raw_longitude":750594688,"raw_latitude":124737728,"longitude_deg":75.0594688,"latitude_deg":12.4737728,"altitude":89,"angle":179,"satellites":50,"speed":52,"hex_longitude":"2cbd2a80","hex_latitude":"076f58c0","is_valid_coordinates":true} 
[2026-09-24 19:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305782784001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:09:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4825184756324397056,"note":"Value kept but may cause issues"} 
[2026-09-24 19:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790256978000,"timestamp_ms":1790256978000,"timestamp_seconds":1790256978,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a19850"} 
[2026-09-24 19:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:09:17] 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-09-24 19:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-24 19:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305782784001,"66":27821,"74":206,"27":54016,"24":52,"16":3605341577150464,"44":-4825184756324397056},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,27,24,16,44]} 
[2026-09-24 19:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305782784001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:09:17] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-24 19:09:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:09:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4825184756324397056,"description":"Unknown IO ID 44"} 
[2026-09-24 19:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305782784001,"power":27821,"unknown_74":206,"unknown_27":54016,"ignition":52,"odometer":null,"unknown_44":-4825184756324397056}} 
[2026-09-24 19:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":191409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891534,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:09:17] local.INFO: GPS data processed {"connection_id":191409,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:09:17] local.INFO: Acknowledgment sent {"connection_id":191409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:09:19] local.INFO: TCP Data received {"connection_id":192992,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:09:19] local.INFO: Processing buffer {"connection_id":192992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:09:19] local.INFO: IMEI packet received {"connection_id":192992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":192992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:09:20] local.INFO: TCP Data received {"connection_id":192992,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a322d8012d19278007200d500031004f28..."} 
[2026-09-24 19:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a322d8012d19278007200d500031004f28..."} 
[2026-09-24 19:09:20] local.INFO: Processing buffer {"connection_id":192992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a322d8012d19278007200d500031004f28..."} 
[2026-09-24 19:09:20] local.INFO: Packet analysis {"connection_id":192992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a3"} 
[2026-09-24 19:09:20] local.INFO: Extracted packet for processing {"connection_id":192992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a3"} 
[2026-09-24 19:09:20] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305806848001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790257079000,"timestamp_ms":1790257079000,"timestamp_seconds":1790257079,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a322d8"} 
[2026-09-24 19:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:09: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-09-24 19:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-24 19:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":192992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":192992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":192992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305806848001,"66":12504,"103":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 19:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305806848001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:09:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 19:09:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305806848001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":192992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:09:20] local.INFO: GPS data processed {"connection_id":192992,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:09:20] local.INFO: Acknowledgment sent {"connection_id":192992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:09:28] local.INFO: TCP Data received {"connection_id":194266,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:09:28] local.INFO: Processing buffer {"connection_id":194266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:09:28] local.INFO: IMEI packet received {"connection_id":194266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":194266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:09:32] local.INFO: TCP Data received {"connection_id":194266,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:09:32] local.INFO: Processing buffer {"connection_id":194266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:09:32] local.INFO: IMEI packet received {"connection_id":194266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":194266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:09:34] local.INFO: TCP Data received {"connection_id":194266,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:09:34] local.INFO: Processing buffer {"connection_id":194266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:09:34] local.INFO: Packet analysis {"connection_id":194266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:09:34] local.INFO: Extracted packet for processing {"connection_id":194266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:09:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305719552001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790257018000,"timestamp_ms":1790257018000,"timestamp_seconds":1790257018,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a23490"} 
[2026-09-24 19:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305719552001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305719552001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:09:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:09:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305719552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":194266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:09:34] local.INFO: GPS data processed {"connection_id":194266,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:09:34] local.INFO: Acknowledgment sent {"connection_id":194266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:09:49] local.INFO: TCP Data received {"connection_id":191409,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a1dab8012cbcfcc0076f0998005400cb32..."} 
[2026-09-24 19:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a1dab8012cbcfcc0076f0998005400cb32..."} 
[2026-09-24 19:09:49] local.INFO: Processing buffer {"connection_id":191409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a1dab8012cbcfcc0076f0998005400cb32..."} 
[2026-09-24 19:09:49] local.INFO: Packet analysis {"connection_id":191409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a1"} 
[2026-09-24 19:09:49] local.INFO: Extracted packet for processing {"connection_id":191409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a1"} 
[2026-09-24 19:09:49] local.INFO: GPS Element Parsed {"raw_longitude":750582976,"raw_latitude":124717464,"longitude_deg":75.0582976,"latitude_deg":12.4717464,"altitude":84,"angle":203,"satellites":50,"speed":58,"hex_longitude":"2cbcfcc0","hex_latitude":"076f0998","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305786368001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:09:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4815896082098110464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790256995000,"timestamp_ms":1790256995000,"timestamp_seconds":1790256995,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a1dab8"} 
[2026-09-24 19:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 19:09:49] 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-09-24 19: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-09-24 19:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305786368001,"66":27843,"74":206,"27":54016,"24":58,"16":3605341577150464,"44":-4815896082098110464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,27,24,16,44]} 
[2026-09-24 19:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305786368001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:09:49] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-24 19:09:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:09:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4815896082098110464,"description":"Unknown IO ID 44"} 
[2026-09-24 19:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305786368001,"power":27843,"unknown_74":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-4815896082098110464}} 
[2026-09-24 19:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":191409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891537,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:09:49] local.INFO: GPS data processed {"connection_id":191409,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:09:49] local.INFO: Acknowledgment sent {"connection_id":191409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:09:51] local.INFO: TCP Data received {"connection_id":192992,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a374e0012d19278007200d500031004f29..."} 
[2026-09-24 19:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a374e0012d19278007200d500031004f29..."} 
[2026-09-24 19:09:51] local.INFO: Processing buffer {"connection_id":192992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a374e0012d19278007200d500031004f29..."} 
[2026-09-24 19:09:51] local.INFO: Packet analysis {"connection_id":192992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a3"} 
[2026-09-24 19:09:51] local.INFO: Extracted packet for processing {"connection_id":192992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a3"} 
[2026-09-24 19:09:51] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305812224001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790257100000,"timestamp_ms":1790257100000,"timestamp_seconds":1790257100,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a374e0"} 
[2026-09-24 19:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 19:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305812224001,"66":12504,"103":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 19:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305812224001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:09:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 19:09:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305812224001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":192992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:09:51] local.INFO: GPS data processed {"connection_id":192992,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:09:51] local.INFO: Acknowledgment sent {"connection_id":192992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:10:05] local.INFO: TCP Data received {"connection_id":194266,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:10:05] local.INFO: Processing buffer {"connection_id":194266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:10:05] local.INFO: Packet analysis {"connection_id":194266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:10:05] local.INFO: Extracted packet for processing {"connection_id":194266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:10:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305719552001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790257018000,"timestamp_ms":1790257018000,"timestamp_seconds":1790257018,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a23490"} 
[2026-09-24 19:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:10: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-09-24 19:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305719552001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305719552001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:10:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:10:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305719552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":194266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:10:05] local.INFO: GPS data processed {"connection_id":194266,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:10:05] local.INFO: Acknowledgment sent {"connection_id":194266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:10:06] local.INFO: TCP Data received {"connection_id":191410,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:10:06] local.INFO: Processing buffer {"connection_id":191410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:10:06] local.INFO: IMEI packet received {"connection_id":191410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":191410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:10:11] local.INFO: TCP Data received {"connection_id":191410,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:10:11] local.INFO: Processing buffer {"connection_id":191410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:10:11] local.INFO: IMEI packet received {"connection_id":191410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":191410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:10:13] local.INFO: TCP Data received {"connection_id":191410,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a21938012cbcec40076eacb8004e00af34..."} 
[2026-09-24 19:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a21938012cbcec40076eacb8004e00af34..."} 
[2026-09-24 19:10:13] local.INFO: Processing buffer {"connection_id":191410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a21938012cbcec40076eacb8004e00af34..."} 
[2026-09-24 19:10:13] local.INFO: Packet analysis {"connection_id":191410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:10:13] local.INFO: Extracted packet for processing {"connection_id":191410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:10:13] local.INFO: GPS Element Parsed {"raw_longitude":750578752,"raw_latitude":124693688,"longitude_deg":75.0578752,"latitude_deg":12.4693688,"altitude":78,"angle":175,"satellites":52,"speed":61,"hex_longitude":"2cbcec40","hex_latitude":"076eacb8","is_valid_coordinates":true} 
[2026-09-24 19:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305790720001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:10:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4828773562287810560,"note":"Value kept but may cause issues"} 
[2026-09-24 19:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790257011000,"timestamp_ms":1790257011000,"timestamp_seconds":1790257011,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a21938"} 
[2026-09-24 19:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-24 19:10:13] 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-09-24 19:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305790720001,"66":27843,"74":206,"27":54016,"24":61,"16":3605341577150464,"44":-4828773562287810560},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,27,24,16,44]} 
[2026-09-24 19:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305790720001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:10:13] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-24 19:10:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:10:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4828773562287810560,"description":"Unknown IO ID 44"} 
[2026-09-24 19:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305790720001,"power":27843,"unknown_74":206,"unknown_27":54016,"ignition":61,"odometer":null,"unknown_44":-4828773562287810560}} 
[2026-09-24 19:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":191410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891540,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:10:13] local.INFO: GPS data processed {"connection_id":191410,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:10:13] local.INFO: Acknowledgment sent {"connection_id":191410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:10:16] local.INFO: TCP Data received {"connection_id":191612,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:10:16] local.INFO: Processing buffer {"connection_id":191612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:10:16] local.INFO: IMEI packet received {"connection_id":191612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":191612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:10:21] local.INFO: TCP Data received {"connection_id":191612,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:10:21] local.INFO: Processing buffer {"connection_id":191612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:10:21] local.INFO: IMEI packet received {"connection_id":191612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":191612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:10:22] local.INFO: TCP Data received {"connection_id":191612,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a3c6e8012d19278007200d500031004f25..."} 
[2026-09-24 19:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a3c6e8012d19278007200d500031004f25..."} 
[2026-09-24 19:10:22] local.INFO: Processing buffer {"connection_id":191612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a3c6e8012d19278007200d500031004f25..."} 
[2026-09-24 19:10:22] local.INFO: Packet analysis {"connection_id":191612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a3"} 
[2026-09-24 19:10:22] local.INFO: Extracted packet for processing {"connection_id":191612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a3"} 
[2026-09-24 19:10:22] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":37,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305817600001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790257121000,"timestamp_ms":1790257121000,"timestamp_seconds":1790257121,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a3c6e8"} 
[2026-09-24 19:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:10: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-09-24 19:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 19:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305817600001,"66":12504,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305817600001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:10:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:10:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305817600001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":191612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:10:22] local.INFO: GPS data processed {"connection_id":191612,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:10:22] local.INFO: Acknowledgment sent {"connection_id":191612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:10:27] local.INFO: TCP Data received {"connection_id":192993,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:10:27] local.INFO: Processing buffer {"connection_id":192993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:10:27] local.INFO: IMEI packet received {"connection_id":192993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":192993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:10:32] local.INFO: TCP Data received {"connection_id":192993,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:10:32] local.INFO: Processing buffer {"connection_id":192993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:10:32] local.INFO: IMEI packet received {"connection_id":192993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":192993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:10:33] local.INFO: TCP Data received {"connection_id":192993,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:10:33] local.INFO: Processing buffer {"connection_id":192993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:10:33] local.INFO: Packet analysis {"connection_id":192993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:10:33] local.INFO: Extracted packet for processing {"connection_id":192993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:10:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305719552001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790257018000,"timestamp_ms":1790257018000,"timestamp_seconds":1790257018,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a23490"} 
[2026-09-24 19:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305719552001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305719552001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:10:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:10:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305719552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":192993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:10:33] local.INFO: GPS data processed {"connection_id":192993,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:10:33] local.INFO: Acknowledgment sent {"connection_id":192993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:10:45] local.INFO: TCP Data received {"connection_id":191410,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a26b40012cbcff80076e5138004900a933..."} 
[2026-09-24 19:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a26b40012cbcff80076e5138004900a933..."} 
[2026-09-24 19:10:45] local.INFO: Processing buffer {"connection_id":191410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a26b40012cbcff80076e5138004900a933..."} 
[2026-09-24 19:10:45] local.INFO: Packet analysis {"connection_id":191410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:10:45] local.INFO: Extracted packet for processing {"connection_id":191410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:10:45] local.INFO: GPS Element Parsed {"raw_longitude":750583680,"raw_latitude":124670264,"longitude_deg":75.058368,"latitude_deg":12.4670264,"altitude":73,"angle":169,"satellites":51,"speed":0,"hex_longitude":"2cbcff80","hex_latitude":"076e5138","is_valid_coordinates":true} 
[2026-09-24 19:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305794816001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:10:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4833417899409623040,"note":"Value kept but may cause issues"} 
[2026-09-24 19:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790257032000,"timestamp_ms":1790257032000,"timestamp_seconds":1790257032,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a26b40"} 
[2026-09-24 19:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:10: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-09-24 19:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-24 19:10:45] 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-09-24 19:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305794816001,"66":27952,"75":206,"27":54016,"24":0,"16":3605341577150464,"44":-4833417899409623040},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305794816001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:10:45] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:10:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:10:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4833417899409623040,"description":"Unknown IO ID 44"} 
[2026-09-24 19:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305794816001,"power":27952,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4833417899409623040}} 
[2026-09-24 19:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":191410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891543,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:10:45] local.INFO: GPS data processed {"connection_id":191410,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:10:45] local.INFO: Acknowledgment sent {"connection_id":191410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:10:53] local.INFO: TCP Data received {"connection_id":191612,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a418f0012d19278007200d500031004f27..."} 
[2026-09-24 19:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a418f0012d19278007200d500031004f27..."} 
[2026-09-24 19:10:53] local.INFO: Processing buffer {"connection_id":191612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a418f0012d19278007200d500031004f27..."} 
[2026-09-24 19:10:53] local.INFO: Packet analysis {"connection_id":191612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a4"} 
[2026-09-24 19:10:53] local.INFO: Extracted packet for processing {"connection_id":191612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a4"} 
[2026-09-24 19:10:53] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305822976001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790257142000,"timestamp_ms":1790257142000,"timestamp_seconds":1790257142,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a418f0"} 
[2026-09-24 19:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:10: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-09-24 19:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 19:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305822976001,"66":12461,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305822976001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:10:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:10:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305822976001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":191612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:10:53] local.INFO: GPS data processed {"connection_id":191612,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:10:53] local.INFO: Acknowledgment sent {"connection_id":191612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:11:05] local.INFO: TCP Data received {"connection_id":192993,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:11:05] local.INFO: Processing buffer {"connection_id":192993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:11:05] local.INFO: Packet analysis {"connection_id":192993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:11:05] local.INFO: Extracted packet for processing {"connection_id":192993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:11:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305719552001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790257018000,"timestamp_ms":1790257018000,"timestamp_seconds":1790257018,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a23490"} 
[2026-09-24 19:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:11: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-09-24 19: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-09-24 19:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305719552001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305719552001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:11:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:11:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305719552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":192993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:11:05] local.INFO: GPS data processed {"connection_id":192993,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:11:05] local.INFO: Acknowledgment sent {"connection_id":192993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:11:16] local.INFO: TCP Data received {"connection_id":194267,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:11:16] local.INFO: Processing buffer {"connection_id":194267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:11:16] local.INFO: IMEI packet received {"connection_id":194267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":194267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:11:16] local.INFO: TCP Data received {"connection_id":192994,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:11:16] local.INFO: Processing buffer {"connection_id":192994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:11:16] local.INFO: IMEI packet received {"connection_id":192994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":192994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:11:17] local.INFO: TCP Data received {"connection_id":192994,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:11:17] local.INFO: Processing buffer {"connection_id":192994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:11:17] local.INFO: IMEI packet received {"connection_id":192994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":192994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:11:19] local.INFO: TCP Data received {"connection_id":192994,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a29638012cbcfc00076df780004300b92d..."} 
[2026-09-24 19:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a29638012cbcfc00076df780004300b92d..."} 
[2026-09-24 19:11:19] local.INFO: Processing buffer {"connection_id":192994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a29638012cbcfc00076df780004300b92d..."} 
[2026-09-24 19:11:19] local.INFO: Packet analysis {"connection_id":192994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:11:19] local.INFO: Extracted packet for processing {"connection_id":192994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:11:19] local.INFO: GPS Element Parsed {"raw_longitude":750582784,"raw_latitude":124647296,"longitude_deg":75.0582784,"latitude_deg":12.4647296,"altitude":67,"angle":185,"satellites":45,"speed":57,"hex_longitude":"2cbcfc00","hex_latitude":"076df780","is_valid_coordinates":true} 
[2026-09-24 19:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305800192001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:11:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4827999506113939456,"note":"Value kept but may cause issues"} 
[2026-09-24 19:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790257043000,"timestamp_ms":1790257043000,"timestamp_seconds":1790257043,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a29638"} 
[2026-09-24 19:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:11: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-09-24 19:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 19:11:19] 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-09-24 19:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":192994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":192994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":192994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305800192001,"66":28028,"75":206,"27":54016,"24":57,"16":3605341577150464,"44":-4827999506113939456},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305800192001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:11:19] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:11:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:11:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4827999506113939456,"description":"Unknown IO ID 44"} 
[2026-09-24 19:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305800192001,"power":28028,"unknown_75":206,"unknown_27":54016,"ignition":57,"odometer":null,"unknown_44":-4827999506113939456}} 
[2026-09-24 19:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":192994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891546,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:11:19] local.INFO: GPS data processed {"connection_id":192994,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:11:19] local.INFO: Acknowledgment sent {"connection_id":192994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:11:21] local.INFO: TCP Data received {"connection_id":194267,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:11:21] local.INFO: Processing buffer {"connection_id":194267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:11:21] local.INFO: IMEI packet received {"connection_id":194267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":194267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:11:22] local.INFO: TCP Data received {"connection_id":194267,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a46af8012d19278007200d500031004f25..."} 
[2026-09-24 19:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a46af8012d19278007200d500031004f25..."} 
[2026-09-24 19:11:22] local.INFO: Processing buffer {"connection_id":194267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a46af8012d19278007200d500031004f25..."} 
[2026-09-24 19:11:22] local.INFO: Packet analysis {"connection_id":194267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a4"} 
[2026-09-24 19:11:22] local.INFO: Extracted packet for processing {"connection_id":194267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a4"} 
[2026-09-24 19:11:22] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":37,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305828352001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790257163000,"timestamp_ms":1790257163000,"timestamp_seconds":1790257163,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a46af8"} 
[2026-09-24 19:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:11: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-09-24 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 19:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305828352001,"66":12461,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305828352001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:11:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:11:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305828352001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":194267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:11:22] local.INFO: GPS data processed {"connection_id":194267,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:11:22] local.INFO: Acknowledgment sent {"connection_id":194267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:11:25] local.INFO: TCP Data received {"connection_id":192994,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a2e840012cbcf440076d9c10004400b42f..."} 
[2026-09-24 19:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a2e840012cbcf440076d9c10004400b42f..."} 
[2026-09-24 19:11:25] local.INFO: Processing buffer {"connection_id":192994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a2e840012cbcf440076d9c10004400b42f..."} 
[2026-09-24 19:11:25] local.INFO: Packet analysis {"connection_id":192994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:11:25] local.INFO: Extracted packet for processing {"connection_id":192994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:11:25] local.INFO: GPS Element Parsed {"raw_longitude":750580800,"raw_latitude":124623888,"longitude_deg":75.05808,"latitude_deg":12.4623888,"altitude":68,"angle":180,"satellites":47,"speed":0,"hex_longitude":"2cbcf440","hex_latitude":"076d9c10","is_valid_coordinates":true} 
[2026-09-24 19:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305803008001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:11:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4828984668538306560,"note":"Value kept but may cause issues"} 
[2026-09-24 19:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790257064000,"timestamp_ms":1790257064000,"timestamp_seconds":1790257064,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a2e840"} 
[2026-09-24 19:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-24 19:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":192994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":192994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":192994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305803008001,"66":28082,"75":206,"27":54016,"24":0,"16":3605341577150464,"44":-4828984668538306560},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305803008001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:11:25] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:11:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:11:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4828984668538306560,"description":"Unknown IO ID 44"} 
[2026-09-24 19:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305803008001,"power":28082,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4828984668538306560}} 
[2026-09-24 19:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":192994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891548,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:11:25] local.INFO: GPS data processed {"connection_id":192994,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:11:25] local.INFO: Acknowledgment sent {"connection_id":192994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:11:27] local.INFO: TCP Data received {"connection_id":191613,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:11:27] local.INFO: Processing buffer {"connection_id":191613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:11:27] local.INFO: IMEI packet received {"connection_id":191613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":191613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:11:32] local.INFO: TCP Data received {"connection_id":191613,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:11:32] local.INFO: Processing buffer {"connection_id":191613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:11:32] local.INFO: IMEI packet received {"connection_id":191613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":191613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:11:34] local.INFO: TCP Data received {"connection_id":191613,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:11:34] local.INFO: Processing buffer {"connection_id":191613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:11:34] local.INFO: Packet analysis {"connection_id":191613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:11:34] local.INFO: Extracted packet for processing {"connection_id":191613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:11:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305719552001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790257018000,"timestamp_ms":1790257018000,"timestamp_seconds":1790257018,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a23490"} 
[2026-09-24 19:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305719552001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305719552001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:11:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:11:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305719552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":191613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:11:34] local.INFO: GPS data processed {"connection_id":191613,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:11:34] local.INFO: Acknowledgment sent {"connection_id":191613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:11:53] local.INFO: TCP Data received {"connection_id":194267,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a4bd00012d19278007200d500031004f29..."} 
[2026-09-24 19:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a4bd00012d19278007200d500031004f29..."} 
[2026-09-24 19:11:53] local.INFO: Processing buffer {"connection_id":194267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a4bd00012d19278007200d500031004f29..."} 
[2026-09-24 19:11:53] local.INFO: Packet analysis {"connection_id":194267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a4"} 
[2026-09-24 19:11:53] local.INFO: Extracted packet for processing {"connection_id":194267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a4"} 
[2026-09-24 19:11:53] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305833728001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790257184000,"timestamp_ms":1790257184000,"timestamp_seconds":1790257184,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a4bd00"} 
[2026-09-24 19:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:11: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-09-24 19:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 19:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305833728001,"66":12504,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305833728001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:11:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:11:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305833728001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":194267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:11:53] local.INFO: GPS data processed {"connection_id":194267,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:11:53] local.INFO: Acknowledgment sent {"connection_id":194267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:12:04] local.INFO: TCP Data received {"connection_id":194268,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194268,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:12:04] local.INFO: Processing buffer {"connection_id":194268,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:12:04] local.INFO: IMEI packet received {"connection_id":194268,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":194268,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:12:05] local.INFO: TCP Data received {"connection_id":191613,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:12:05] local.INFO: Processing buffer {"connection_id":191613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:12:05] local.INFO: Packet analysis {"connection_id":191613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:12:05] local.INFO: Extracted packet for processing {"connection_id":191613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:12:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305719552001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790257018000,"timestamp_ms":1790257018000,"timestamp_seconds":1790257018,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a23490"} 
[2026-09-24 19:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:12: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-09-24 19: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-09-24 19:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305719552001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305719552001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:12:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:12:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305719552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":191613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:12:05] local.INFO: GPS data processed {"connection_id":191613,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:12:05] local.INFO: Acknowledgment sent {"connection_id":191613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:12:06] local.INFO: TCP Data received {"connection_id":194268,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194268,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:12:06] local.INFO: Processing buffer {"connection_id":194268,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:12:06] local.INFO: IMEI packet received {"connection_id":194268,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":194268,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:12:11] local.INFO: TCP Data received {"connection_id":194268,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194268,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:12:11] local.INFO: Processing buffer {"connection_id":194268,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:12:11] local.INFO: IMEI packet received {"connection_id":194268,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":194268,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:12:16] local.INFO: TCP Data received {"connection_id":194269,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:12:16] local.INFO: Processing buffer {"connection_id":194269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:12:16] local.INFO: IMEI packet received {"connection_id":194269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":194269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:12:16] local.INFO: TCP Data received {"connection_id":194268,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a31338012cbcfe00076d4788004300a632..."} 
[2026-09-24 19:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a31338012cbcfe00076d4788004300a632..."} 
[2026-09-24 19:12:16] local.INFO: Processing buffer {"connection_id":194268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a31338012cbcfe00076d4788004300a632..."} 
[2026-09-24 19:12:16] local.INFO: Packet analysis {"connection_id":194268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a3"} 
[2026-09-24 19:12:16] local.INFO: Extracted packet for processing {"connection_id":194268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a3"} 
[2026-09-24 19:12:16] local.INFO: GPS Element Parsed {"raw_longitude":750583296,"raw_latitude":124602248,"longitude_deg":75.0583296,"latitude_deg":12.4602248,"altitude":67,"angle":166,"satellites":50,"speed":52,"hex_longitude":"2cbcfe00","hex_latitude":"076d4788","is_valid_coordinates":true} 
[2026-09-24 19:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305808384001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:12:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4831166099613806592,"note":"Value kept but may cause issues"} 
[2026-09-24 19:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790257075000,"timestamp_ms":1790257075000,"timestamp_seconds":1790257075,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a31338"} 
[2026-09-24 19:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 19:12:16] 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-09-24 19:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":194268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":194268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":194268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305808384001,"66":28452,"75":206,"27":54016,"24":52,"16":3605341577150464,"44":-4831166099613806592},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305808384001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:12:16] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:12:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:12:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4831166099613806592,"description":"Unknown IO ID 44"} 
[2026-09-24 19:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305808384001,"power":28452,"unknown_75":206,"unknown_27":54016,"ignition":52,"odometer":null,"unknown_44":-4831166099613806592}} 
[2026-09-24 19:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":194268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891552,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:12:16] local.INFO: GPS data processed {"connection_id":194268,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:12:16] local.INFO: Acknowledgment sent {"connection_id":194268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:12:21] local.INFO: TCP Data received {"connection_id":194269,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:12:21] local.INFO: Processing buffer {"connection_id":194269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:12:21] local.INFO: IMEI packet received {"connection_id":194269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":194269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:12:22] local.INFO: TCP Data received {"connection_id":194269,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a50f08012d19278007200d500031004f29..."} 
[2026-09-24 19:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a50f08012d19278007200d500031004f29..."} 
[2026-09-24 19:12:22] local.INFO: Processing buffer {"connection_id":194269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a50f08012d19278007200d500031004f29..."} 
[2026-09-24 19:12:22] local.INFO: Packet analysis {"connection_id":194269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a5"} 
[2026-09-24 19:12:22] local.INFO: Extracted packet for processing {"connection_id":194269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a5"} 
[2026-09-24 19:12:22] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305839104001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790257205000,"timestamp_ms":1790257205000,"timestamp_seconds":1790257205,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a50f08"} 
[2026-09-24 19:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 19:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305839104001,"66":12504,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305839104001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:12:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:12:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305839104001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":194269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:12:22] local.INFO: GPS data processed {"connection_id":194269,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:12:22] local.INFO: Acknowledgment sent {"connection_id":194269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:12:27] local.INFO: TCP Data received {"connection_id":192995,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:12:27] local.INFO: Processing buffer {"connection_id":192995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:12:27] local.INFO: IMEI packet received {"connection_id":192995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":192995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:12:32] local.INFO: TCP Data received {"connection_id":192995,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:12:32] local.INFO: Processing buffer {"connection_id":192995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:12:32] local.INFO: IMEI packet received {"connection_id":192995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":192995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:12:33] local.INFO: TCP Data received {"connection_id":192995,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:12:33] local.INFO: Processing buffer {"connection_id":192995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a23490012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:12:33] local.INFO: Packet analysis {"connection_id":192995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:12:33] local.INFO: Extracted packet for processing {"connection_id":192995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a2"} 
[2026-09-24 19:12:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305719552001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790257018000,"timestamp_ms":1790257018000,"timestamp_seconds":1790257018,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a23490"} 
[2026-09-24 19:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305719552001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305719552001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:12:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:12:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305719552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":192995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:12:33] local.INFO: GPS data processed {"connection_id":192995,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:12:33] local.INFO: Acknowledgment sent {"connection_id":192995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:12:48] local.INFO: TCP Data received {"connection_id":194268,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a36540012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a36540012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:12:48] local.INFO: Processing buffer {"connection_id":194268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a36540012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:12:48] local.INFO: Packet analysis {"connection_id":194268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a3"} 
[2026-09-24 19:12:48] local.INFO: Extracted packet for processing {"connection_id":194268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a3"} 
[2026-09-24 19:12:48] local.INFO: GPS Element Parsed {"raw_longitude":750588672,"raw_latitude":124581488,"longitude_deg":75.0588672,"latitude_deg":12.4581488,"altitude":63,"angle":165,"satellites":50,"speed":0,"hex_longitude":"2cbd1300","hex_latitude":"076cf670","is_valid_coordinates":true} 
[2026-09-24 19:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305811200001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:12:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4828421718596417536,"note":"Value kept but may cause issues"} 
[2026-09-24 19:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790257096000,"timestamp_ms":1790257096000,"timestamp_seconds":1790257096,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a36540"} 
[2026-09-24 19:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:12: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-09-24 19:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-24 19:12: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-09-24 19:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":194268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":194268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":194268,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305811200001,"66":28452,"75":206,"27":54016,"24":0,"16":3605341577150464,"44":-4828421718596417536},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305811200001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:12:48] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:12:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:12:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4828421718596417536,"description":"Unknown IO ID 44"} 
[2026-09-24 19:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305811200001,"power":28452,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4828421718596417536}} 
[2026-09-24 19:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":194268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891555,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:12:48] local.INFO: GPS data processed {"connection_id":194268,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:12:48] local.INFO: Acknowledgment sent {"connection_id":194268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:12:53] local.INFO: TCP Data received {"connection_id":194269,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a56110012d19278007200d500031004f28..."} 
[2026-09-24 19:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a56110012d19278007200d500031004f28..."} 
[2026-09-24 19:12:53] local.INFO: Processing buffer {"connection_id":194269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a56110012d19278007200d500031004f28..."} 
[2026-09-24 19:12:53] local.INFO: Packet analysis {"connection_id":194269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a5"} 
[2026-09-24 19:12:53] local.INFO: Extracted packet for processing {"connection_id":194269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a5"} 
[2026-09-24 19:12:53] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305844480001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790257226000,"timestamp_ms":1790257226000,"timestamp_seconds":1790257226,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a56110"} 
[2026-09-24 19:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:12: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-09-24 19:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 19:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305844480001,"66":12145,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305844480001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:12:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:12:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305844480001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":194269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:12:53] local.INFO: GPS data processed {"connection_id":194269,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:12:53] local.INFO: Acknowledgment sent {"connection_id":194269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:13:05] local.INFO: TCP Data received {"connection_id":192995,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:13:05] local.INFO: Processing buffer {"connection_id":192995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:13:05] local.INFO: Packet analysis {"connection_id":192995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:13:05] local.INFO: Extracted packet for processing {"connection_id":192995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:13:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305796608001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790257319000,"timestamp_ms":1790257319000,"timestamp_seconds":1790257319,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a6cc58"} 
[2026-09-24 19:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305796608001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305796608001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:13:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:13:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305796608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":192995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:13:05] local.INFO: GPS data processed {"connection_id":192995,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:13:05] local.INFO: Acknowledgment sent {"connection_id":192995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:13:06] local.INFO: TCP Data received {"connection_id":191614,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:13:06] local.INFO: Processing buffer {"connection_id":191614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:13:06] local.INFO: IMEI packet received {"connection_id":191614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":191614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:13:12] local.INFO: TCP Data received {"connection_id":191614,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:13:12] local.INFO: Processing buffer {"connection_id":191614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:13:12] local.INFO: IMEI packet received {"connection_id":191614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":191614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:13:13] local.INFO: TCP Data received {"connection_id":191614,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:13:13] local.INFO: Processing buffer {"connection_id":191614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:13:13] local.INFO: IMEI packet received {"connection_id":191614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":191614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:13:17] local.INFO: TCP Data received {"connection_id":191614,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:13:17] local.INFO: Processing buffer {"connection_id":191614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:13:17] local.INFO: IMEI packet received {"connection_id":191614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":191614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:13:18] local.INFO: TCP Data received {"connection_id":191614,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a3b748012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a3b748012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:13:18] local.INFO: Processing buffer {"connection_id":191614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a3b748012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:13:18] local.INFO: Packet analysis {"connection_id":191614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a3"} 
[2026-09-24 19:13:18] local.INFO: Extracted packet for processing {"connection_id":191614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a3"} 
[2026-09-24 19:13:18] local.INFO: GPS Element Parsed {"raw_longitude":750588672,"raw_latitude":124581488,"longitude_deg":75.0588672,"latitude_deg":12.4581488,"altitude":63,"angle":165,"satellites":50,"speed":0,"hex_longitude":"2cbd1300","hex_latitude":"076cf670","is_valid_coordinates":true} 
[2026-09-24 19:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305816576001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:13:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4822510744090808320,"note":"Value kept but may cause issues"} 
[2026-09-24 19:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790257117000,"timestamp_ms":1790257117000,"timestamp_seconds":1790257117,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a3b748"} 
[2026-09-24 19:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:13: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-09-24 19:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-24 19:13:18] 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-09-24 19:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305816576001,"66":28202,"75":206,"27":54016,"24":0,"16":3605341577150464,"44":-4822510744090808320},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305816576001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:13:18] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:13:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:13:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4822510744090808320,"description":"Unknown IO ID 44"} 
[2026-09-24 19:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305816576001,"power":28202,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4822510744090808320}} 
[2026-09-24 19:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":191614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891558,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:13:18] local.INFO: GPS data processed {"connection_id":191614,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:13:18] local.INFO: Acknowledgment sent {"connection_id":191614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:13:21] local.INFO: TCP Data received {"connection_id":191411,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:13:21] local.INFO: Processing buffer {"connection_id":191411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:13:21] local.INFO: IMEI packet received {"connection_id":191411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":191411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:13:26] local.INFO: TCP Data received {"connection_id":191411,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:13:26] local.INFO: Processing buffer {"connection_id":191411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:13:26] local.INFO: IMEI packet received {"connection_id":191411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":191411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:13:27] local.INFO: TCP Data received {"connection_id":191411,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a5b318012d19278007200d500031004f29..."} 
[2026-09-24 19:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a5b318012d19278007200d500031004f29..."} 
[2026-09-24 19:13:27] local.INFO: Processing buffer {"connection_id":191411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a5b318012d19278007200d500031004f29..."} 
[2026-09-24 19:13:27] local.INFO: Packet analysis {"connection_id":191411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a5"} 
[2026-09-24 19:13:27] local.INFO: Extracted packet for processing {"connection_id":191411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a5"} 
[2026-09-24 19:13:27] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305849856001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790257247000,"timestamp_ms":1790257247000,"timestamp_seconds":1790257247,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a5b318"} 
[2026-09-24 19:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-24 19:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305849856001,"66":12526,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305849856001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:13:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:13:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305849856001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":191411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:13:27] local.INFO: GPS data processed {"connection_id":191411,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:13:27] local.INFO: Acknowledgment sent {"connection_id":191411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:13:27] local.INFO: TCP Data received {"connection_id":191412,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:13:27] local.INFO: Processing buffer {"connection_id":191412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:13:27] local.INFO: IMEI packet received {"connection_id":191412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":191412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:13:31] local.INFO: TCP Data received {"connection_id":191411,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a60520012d19278007200d500031004f28..."} 
[2026-09-24 19:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a60520012d19278007200d500031004f28..."} 
[2026-09-24 19:13:31] local.INFO: Processing buffer {"connection_id":191411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a60520012d19278007200d500031004f28..."} 
[2026-09-24 19:13:31] local.INFO: Packet analysis {"connection_id":191411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:13:31] local.INFO: Extracted packet for processing {"connection_id":191411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:13:31] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305855232001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790257268000,"timestamp_ms":1790257268000,"timestamp_seconds":1790257268,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a60520"} 
[2026-09-24 19:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":191411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":191411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":191411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305855232001,"66":12504,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305855232001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:13:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:13:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305855232001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":191411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:13:31] local.INFO: GPS data processed {"connection_id":191411,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:13:31] local.INFO: Acknowledgment sent {"connection_id":191411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:13:33] local.INFO: TCP Data received {"connection_id":191412,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:13:33] local.INFO: Processing buffer {"connection_id":191412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:13:33] local.INFO: IMEI packet received {"connection_id":191412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":191412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:13:34] local.INFO: TCP Data received {"connection_id":191412,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:13:34] local.INFO: Processing buffer {"connection_id":191412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:13:34] local.INFO: Packet analysis {"connection_id":191412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:13:34] local.INFO: Extracted packet for processing {"connection_id":191412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:13:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305796608001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790257319000,"timestamp_ms":1790257319000,"timestamp_seconds":1790257319,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a6cc58"} 
[2026-09-24 19:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305796608001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305796608001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:13:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:13:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305796608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":191412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:13:34] local.INFO: GPS data processed {"connection_id":191412,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:13:34] local.INFO: Acknowledgment sent {"connection_id":191412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:13:50] local.INFO: TCP Data received {"connection_id":191614,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a73da0012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a73da0012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:13:50] local.INFO: Processing buffer {"connection_id":191614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a73da0012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:13:50] local.INFO: Packet analysis {"connection_id":191614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a7"} 
[2026-09-24 19:13:50] local.INFO: Extracted packet for processing {"connection_id":191614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a7"} 
[2026-09-24 19:13:50] local.INFO: GPS Element Parsed {"raw_longitude":750588672,"raw_latitude":124581488,"longitude_deg":75.0588672,"latitude_deg":12.4581488,"altitude":63,"angle":165,"satellites":50,"speed":0,"hex_longitude":"2cbd1300","hex_latitude":"076cf670","is_valid_coordinates":true} 
[2026-09-24 19:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305875712001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:13:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4822510744090808320,"note":"Value kept but may cause issues"} 
[2026-09-24 19:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790257348000,"timestamp_ms":1790257348000,"timestamp_seconds":1790257348,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a73da0"} 
[2026-09-24 19:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 19:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305875712001,"66":28202,"75":206,"27":54016,"24":0,"16":3605341577150464,"44":-4822510744090808320},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305875712001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:13:50] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:13:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:13:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4822510744090808320,"description":"Unknown IO ID 44"} 
[2026-09-24 19:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305875712001,"power":28202,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4822510744090808320}} 
[2026-09-24 19:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":191614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891562,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:13:50] local.INFO: GPS data processed {"connection_id":191614,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:13:50] local.INFO: Acknowledgment sent {"connection_id":191614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:14:05] local.INFO: TCP Data received {"connection_id":191412,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:14:05] local.INFO: Processing buffer {"connection_id":191412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:14:05] local.INFO: Packet analysis {"connection_id":191412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:14:05] local.INFO: Extracted packet for processing {"connection_id":191412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:14:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305796608001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790257319000,"timestamp_ms":1790257319000,"timestamp_seconds":1790257319,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a6cc58"} 
[2026-09-24 19:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305796608001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305796608001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:14:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:14:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305796608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":191412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:14:05] local.INFO: GPS data processed {"connection_id":191412,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:14:05] local.INFO: Acknowledgment sent {"connection_id":191412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:14:06] local.INFO: TCP Data received {"connection_id":191413,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:14:06] local.INFO: Processing buffer {"connection_id":191413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:14:06] local.INFO: IMEI packet received {"connection_id":191413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":191413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:14:09] local.INFO: TCP Data received {"connection_id":191413,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:14:09] local.INFO: Processing buffer {"connection_id":191413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:14:09] local.INFO: IMEI packet received {"connection_id":191413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":191413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:14:11] local.INFO: TCP Data received {"connection_id":191413,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:14:11] local.INFO: Processing buffer {"connection_id":191413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:14:11] local.INFO: IMEI packet received {"connection_id":191413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":191413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:14:13] local.INFO: TCP Data received {"connection_id":191615,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:14:13] local.INFO: Processing buffer {"connection_id":191615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:14:13] local.INFO: IMEI packet received {"connection_id":191615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":191615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:14:16] local.INFO: TCP Data received {"connection_id":191615,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:14:16] local.INFO: Processing buffer {"connection_id":191615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:14:16] local.INFO: IMEI packet received {"connection_id":191615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":191615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:14:21] local.INFO: TCP Data received {"connection_id":191615,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:14:21] local.INFO: Processing buffer {"connection_id":191615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:14:21] local.INFO: IMEI packet received {"connection_id":191615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":191615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:14:22] local.INFO: TCP Data received {"connection_id":191615,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a65728012d19278007200d500031004f25..."} 
[2026-09-24 19:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a65728012d19278007200d500031004f25..."} 
[2026-09-24 19:14:22] local.INFO: Processing buffer {"connection_id":191615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a65728012d19278007200d500031004f25..."} 
[2026-09-24 19:14:22] local.INFO: Packet analysis {"connection_id":191615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:14:22] local.INFO: Extracted packet for processing {"connection_id":191615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:14:22] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":37,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305860608001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790257289000,"timestamp_ms":1790257289000,"timestamp_seconds":1790257289,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a65728"} 
[2026-09-24 19:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:14: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-09-24 19:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 19:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305860608001,"66":12515,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305860608001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:14:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:14:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305860608001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":191615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:14:22] local.INFO: GPS data processed {"connection_id":191615,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:14:22] local.INFO: Acknowledgment sent {"connection_id":191615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:14:23] local.INFO: TCP Data received {"connection_id":191413,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a78fa8012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a78fa8012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:14:23] local.INFO: Processing buffer {"connection_id":191413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a78fa8012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:14:23] local.INFO: Packet analysis {"connection_id":191413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a7"} 
[2026-09-24 19:14:23] local.INFO: Extracted packet for processing {"connection_id":191413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a7"} 
[2026-09-24 19:14:23] local.INFO: GPS Element Parsed {"raw_longitude":750588672,"raw_latitude":124581488,"longitude_deg":75.0588672,"latitude_deg":12.4581488,"altitude":63,"angle":165,"satellites":50,"speed":0,"hex_longitude":"2cbd1300","hex_latitude":"076cf670","is_valid_coordinates":true} 
[2026-09-24 19:14: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-09-24 19:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305881088001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:14:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4822510744090808320,"note":"Value kept but may cause issues"} 
[2026-09-24 19:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790257369000,"timestamp_ms":1790257369000,"timestamp_seconds":1790257369,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a78fa8"} 
[2026-09-24 19:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:14: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":42,"data_length":795,"current_offset":136} 
[2026-09-24 19:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:14: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-09-24 19:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305881088001,"66":28300,"75":206,"27":54016,"24":0,"16":3605341577150464,"44":-4822510744090808320},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305881088001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:14:23] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:14:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:14:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4822510744090808320,"description":"Unknown IO ID 44"} 
[2026-09-24 19:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305881088001,"power":28300,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4822510744090808320}} 
[2026-09-24 19:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":191413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891565,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:14:23] local.INFO: GPS data processed {"connection_id":191413,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:14:23] local.INFO: Acknowledgment sent {"connection_id":191413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:14:27] local.INFO: TCP Data received {"connection_id":194270,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:14:27] local.INFO: Processing buffer {"connection_id":194270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:14:27] local.INFO: IMEI packet received {"connection_id":194270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":194270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:14:32] local.INFO: TCP Data received {"connection_id":194270,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:14:32] local.INFO: Processing buffer {"connection_id":194270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:14:32] local.INFO: IMEI packet received {"connection_id":194270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":194270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:14:34] local.INFO: TCP Data received {"connection_id":194270,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:14:34] local.INFO: Processing buffer {"connection_id":194270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:14:34] local.INFO: Packet analysis {"connection_id":194270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:14:34] local.INFO: Extracted packet for processing {"connection_id":194270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:14:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 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-09-24 19:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305796608001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790257319000,"timestamp_ms":1790257319000,"timestamp_seconds":1790257319,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a6cc58"} 
[2026-09-24 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-09-24 19:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 19:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305796608001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305796608001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:14:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:14:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305796608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":194270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:14:34] local.INFO: GPS data processed {"connection_id":194270,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:14:34] local.INFO: Acknowledgment sent {"connection_id":194270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:14:54] local.INFO: TCP Data received {"connection_id":191615,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a6a930012d19278007200d500031004f28..."} 
[2026-09-24 19:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a6a930012d19278007200d500031004f28..."} 
[2026-09-24 19:14:54] local.INFO: Processing buffer {"connection_id":191615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a6a930012d19278007200d500031004f28..."} 
[2026-09-24 19:14:54] local.INFO: Packet analysis {"connection_id":191615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:14:54] local.INFO: Extracted packet for processing {"connection_id":191615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:14:54] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305865984001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790257310000,"timestamp_ms":1790257310000,"timestamp_seconds":1790257310,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a6a930"} 
[2026-09-24 19:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-24 19:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":191615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":191615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":191615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305865984001,"66":12504,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305865984001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:14:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:14:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305865984001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":191615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:14:54] local.INFO: GPS data processed {"connection_id":191615,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:14:54] local.INFO: Acknowledgment sent {"connection_id":191615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:15:05] local.INFO: TCP Data received {"connection_id":194270,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:15:05] local.INFO: Processing buffer {"connection_id":194270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:15:05] local.INFO: Packet analysis {"connection_id":194270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:15:05] local.INFO: Extracted packet for processing {"connection_id":194270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:15:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305796608001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790257319000,"timestamp_ms":1790257319000,"timestamp_seconds":1790257319,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a6cc58"} 
[2026-09-24 19:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305796608001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305796608001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:15:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:15:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305796608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":194270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:15:05] local.INFO: GPS data processed {"connection_id":194270,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:15:05] local.INFO: Acknowledgment sent {"connection_id":194270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:15:12] local.INFO: TCP Data received {"connection_id":194271,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:15:12] local.INFO: Processing buffer {"connection_id":194271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:15:12] local.INFO: IMEI packet received {"connection_id":194271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":194271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:15:13] local.INFO: TCP Data received {"connection_id":194271,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:15:13] local.INFO: Processing buffer {"connection_id":194271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:15:13] local.INFO: IMEI packet received {"connection_id":194271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":194271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:15:16] local.INFO: TCP Data received {"connection_id":191414,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:15:16] local.INFO: Processing buffer {"connection_id":191414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:15:16] local.INFO: IMEI packet received {"connection_id":191414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":191414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:15:17] local.INFO: TCP Data received {"connection_id":191414,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:15:17] local.INFO: Processing buffer {"connection_id":191414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:15:17] local.INFO: IMEI packet received {"connection_id":191414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":191414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:15:17] local.INFO: TCP Data received {"connection_id":194271,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:15:17] local.INFO: Processing buffer {"connection_id":194271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:15:17] local.INFO: IMEI packet received {"connection_id":194271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":194271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:15:20] local.INFO: TCP Data received {"connection_id":194271,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a7e1b0012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a7e1b0012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:15:20] local.INFO: Processing buffer {"connection_id":194271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a7e1b0012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:15:20] local.INFO: Packet analysis {"connection_id":194271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a7"} 
[2026-09-24 19:15:20] local.INFO: Extracted packet for processing {"connection_id":194271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a7"} 
[2026-09-24 19:15:20] local.INFO: GPS Element Parsed {"raw_longitude":750588672,"raw_latitude":124581488,"longitude_deg":75.0588672,"latitude_deg":12.4581488,"altitude":63,"angle":165,"satellites":50,"speed":0,"hex_longitude":"2cbd1300","hex_latitude":"076cf670","is_valid_coordinates":true} 
[2026-09-24 19:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305886464001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:15:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4822510744090808320,"note":"Value kept but may cause issues"} 
[2026-09-24 19:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790257390000,"timestamp_ms":1790257390000,"timestamp_seconds":1790257390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a7e1b0"} 
[2026-09-24 19:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 19:15:20] 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-09-24 19:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":194271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":194271,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":194271,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305886464001,"66":28354,"75":206,"27":54016,"24":0,"16":3605341577150464,"44":-4822510744090808320},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305886464001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:15:20] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:15:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:15:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4822510744090808320,"description":"Unknown IO ID 44"} 
[2026-09-24 19:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305886464001,"power":28354,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4822510744090808320}} 
[2026-09-24 19:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":194271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891569,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:15:20] local.INFO: GPS data processed {"connection_id":194271,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:15:20] local.INFO: Acknowledgment sent {"connection_id":194271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:15:21] local.INFO: TCP Data received {"connection_id":191414,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:15:21] local.INFO: Processing buffer {"connection_id":191414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:15:21] local.INFO: IMEI packet received {"connection_id":191414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":191414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:15:21] local.INFO: TCP Data received {"connection_id":194271,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a833b8012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a833b8012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:15:21] local.INFO: Processing buffer {"connection_id":194271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a833b8012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:15:21] local.INFO: Packet analysis {"connection_id":194271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a8"} 
[2026-09-24 19:15:21] local.INFO: Extracted packet for processing {"connection_id":194271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a8"} 
[2026-09-24 19:15:21] local.INFO: GPS Element Parsed {"raw_longitude":750588672,"raw_latitude":124581488,"longitude_deg":75.0588672,"latitude_deg":12.4581488,"altitude":63,"angle":165,"satellites":50,"speed":0,"hex_longitude":"2cbd1300","hex_latitude":"076cf670","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305891840001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:15:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4822510744090808320,"note":"Value kept but may cause issues"} 
[2026-09-24 19:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790257411000,"timestamp_ms":1790257411000,"timestamp_seconds":1790257411,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a833b8"} 
[2026-09-24 19:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19: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":194,"data_length":795,"current_offset":136} 
[2026-09-24 19:15: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-09-24 19: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-09-24 19:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194271,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194271,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305891840001,"66":28332,"75":206,"27":54016,"24":0,"16":3605341577150464,"44":-4822510744090808320},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305891840001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:15:21] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:15:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:15:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4822510744090808320,"description":"Unknown IO ID 44"} 
[2026-09-24 19:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305891840001,"power":28332,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4822510744090808320}} 
[2026-09-24 19:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":194271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891570,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:15:21] local.INFO: GPS data processed {"connection_id":194271,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:15:21] local.INFO: Acknowledgment sent {"connection_id":194271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:15:22] local.INFO: TCP Data received {"connection_id":191414,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a6fb38012d19278007200d500031004f2a..."} 
[2026-09-24 19:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a6fb38012d19278007200d500031004f2a..."} 
[2026-09-24 19:15:22] local.INFO: Processing buffer {"connection_id":191414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a6fb38012d19278007200d500031004f2a..."} 
[2026-09-24 19:15:22] local.INFO: Packet analysis {"connection_id":191414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:15:22] local.INFO: Extracted packet for processing {"connection_id":191414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:15:22] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":42,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305871360001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790257331000,"timestamp_ms":1790257331000,"timestamp_seconds":1790257331,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a6fb38"} 
[2026-09-24 19:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:15: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-09-24 19:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 19:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305871360001,"66":12504,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305871360001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:15:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:15:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305871360001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":191414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:15:22] local.INFO: GPS data processed {"connection_id":191414,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:15:22] local.INFO: Acknowledgment sent {"connection_id":191414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:15:33] local.INFO: TCP Data received {"connection_id":192996,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:15:33] local.INFO: Processing buffer {"connection_id":192996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:15:33] local.INFO: IMEI packet received {"connection_id":192996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":192996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:15:38] local.INFO: TCP Data received {"connection_id":192996,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:15:38] local.INFO: Processing buffer {"connection_id":192996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:15:38] local.INFO: IMEI packet received {"connection_id":192996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":192996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:15:39] local.INFO: TCP Data received {"connection_id":192996,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:15:39] local.INFO: Processing buffer {"connection_id":192996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:15:39] local.INFO: Packet analysis {"connection_id":192996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:15:39] local.INFO: Extracted packet for processing {"connection_id":192996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:15:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305796608001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790257319000,"timestamp_ms":1790257319000,"timestamp_seconds":1790257319,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a6cc58"} 
[2026-09-24 19:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305796608001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305796608001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:15:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:15:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305796608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":192996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:15:39] local.INFO: GPS data processed {"connection_id":192996,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:15:39] local.INFO: Acknowledgment sent {"connection_id":192996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:15:43] local.INFO: TCP Data received {"connection_id":192996,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:15:43] local.INFO: Processing buffer {"connection_id":192996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:15:43] local.INFO: Packet analysis {"connection_id":192996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:15:43] local.INFO: Extracted packet for processing {"connection_id":192996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305796608001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790257319000,"timestamp_ms":1790257319000,"timestamp_seconds":1790257319,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a6cc58"} 
[2026-09-24 19:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305796608001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305796608001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:15:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:15:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305796608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":192996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:15:43] local.INFO: GPS data processed {"connection_id":192996,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:15:43] local.INFO: Acknowledgment sent {"connection_id":192996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:15:53] local.INFO: TCP Data received {"connection_id":191414,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a74d40012d19278007200d500031004f29..."} 
[2026-09-24 19:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a74d40012d19278007200d500031004f29..."} 
[2026-09-24 19:15:53] local.INFO: Processing buffer {"connection_id":191414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a74d40012d19278007200d500031004f29..."} 
[2026-09-24 19:15:53] local.INFO: Packet analysis {"connection_id":191414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a7"} 
[2026-09-24 19:15:53] local.INFO: Extracted packet for processing {"connection_id":191414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a7"} 
[2026-09-24 19:15:53] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305876736001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790257352000,"timestamp_ms":1790257352000,"timestamp_seconds":1790257352,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a74d40"} 
[2026-09-24 19:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:15: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-09-24 19:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 19:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305876736001,"66":12504,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305876736001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:15:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:15:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305876736001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":191414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:15:53] local.INFO: GPS data processed {"connection_id":191414,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:15:53] local.INFO: Acknowledgment sent {"connection_id":191414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:16:06] local.INFO: TCP Data received {"connection_id":191415,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:16:06] local.INFO: Processing buffer {"connection_id":191415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:16:06] local.INFO: IMEI packet received {"connection_id":191415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":191415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:16:11] local.INFO: TCP Data received {"connection_id":191415,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:16:11] local.INFO: Processing buffer {"connection_id":191415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:16:11] local.INFO: IMEI packet received {"connection_id":191415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":191415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:16:13] local.INFO: TCP Data received {"connection_id":191415,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a885c0012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a885c0012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:16:13] local.INFO: Processing buffer {"connection_id":191415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a885c0012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:16:13] local.INFO: Packet analysis {"connection_id":191415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a8"} 
[2026-09-24 19:16:13] local.INFO: Extracted packet for processing {"connection_id":191415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a8"} 
[2026-09-24 19:16:13] local.INFO: GPS Element Parsed {"raw_longitude":750588672,"raw_latitude":124581488,"longitude_deg":75.0588672,"latitude_deg":12.4581488,"altitude":63,"angle":165,"satellites":50,"speed":0,"hex_longitude":"2cbd1300","hex_latitude":"076cf670","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305897216001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:16:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4822510744090808320,"note":"Value kept but may cause issues"} 
[2026-09-24 19:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790257432000,"timestamp_ms":1790257432000,"timestamp_seconds":1790257432,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a885c0"} 
[2026-09-24 19:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 19:16:13] 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-09-24 19: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-09-24 19:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305897216001,"66":27952,"75":206,"27":54016,"24":0,"16":3605341577150464,"44":-4822510744090808320},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305897216001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:16:13] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:16:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:16:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4822510744090808320,"description":"Unknown IO ID 44"} 
[2026-09-24 19:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305897216001,"power":27952,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4822510744090808320}} 
[2026-09-24 19:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":191415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891575,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:16:13] local.INFO: GPS data processed {"connection_id":191415,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:16:13] local.INFO: Acknowledgment sent {"connection_id":191415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:16:16] local.INFO: TCP Data received {"connection_id":194272,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:16:16] local.INFO: Processing buffer {"connection_id":194272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:16:16] local.INFO: IMEI packet received {"connection_id":194272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":194272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:16:20] local.INFO: TCP Data received {"connection_id":194272,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:16:20] local.INFO: Processing buffer {"connection_id":194272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:16:20] local.INFO: IMEI packet received {"connection_id":194272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":194272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:16:20] local.INFO: TCP Data received {"connection_id":194272,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a79f48012d19278007200d500031004f27..."} 
[2026-09-24 19:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a79f48012d19278007200d500031004f27..."} 
[2026-09-24 19:16:20] local.INFO: Processing buffer {"connection_id":194272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a79f48012d19278007200d500031004f27..."} 
[2026-09-24 19:16:20] local.INFO: Packet analysis {"connection_id":194272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a7"} 
[2026-09-24 19:16:20] local.INFO: Extracted packet for processing {"connection_id":194272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a7"} 
[2026-09-24 19:16:20] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305882112001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790257373000,"timestamp_ms":1790257373000,"timestamp_seconds":1790257373,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a79f48"} 
[2026-09-24 19:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 19:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":194272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":194272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":194272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305882112001,"66":12526,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305882112001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:16:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:16:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305882112001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":194272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:16:20] local.INFO: GPS data processed {"connection_id":194272,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:16:20] local.INFO: Acknowledgment sent {"connection_id":194272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:16:27] local.INFO: TCP Data received {"connection_id":191416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:16:27] local.INFO: Processing buffer {"connection_id":191416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:16:27] local.INFO: IMEI packet received {"connection_id":191416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":191416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:16:32] local.INFO: TCP Data received {"connection_id":191416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:16:32] local.INFO: Processing buffer {"connection_id":191416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:16:32] local.INFO: IMEI packet received {"connection_id":191416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":191416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:16:34] local.INFO: TCP Data received {"connection_id":191416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:16:34] local.INFO: Processing buffer {"connection_id":191416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:16:34] local.INFO: Packet analysis {"connection_id":191416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:16:34] local.INFO: Extracted packet for processing {"connection_id":191416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:16:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305796608001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790257319000,"timestamp_ms":1790257319000,"timestamp_seconds":1790257319,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a6cc58"} 
[2026-09-24 19:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305796608001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305796608001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:16:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:16:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305796608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":191416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:16:34] local.INFO: GPS data processed {"connection_id":191416,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:16:34] local.INFO: Acknowledgment sent {"connection_id":191416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:16:51] local.INFO: TCP Data received {"connection_id":194272,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a7f150012d19278007200d500031004f27..."} 
[2026-09-24 19:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a7f150012d19278007200d500031004f27..."} 
[2026-09-24 19:16:51] local.INFO: Processing buffer {"connection_id":194272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a7f150012d19278007200d500031004f27..."} 
[2026-09-24 19:16:51] local.INFO: Packet analysis {"connection_id":194272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a7"} 
[2026-09-24 19:16:51] local.INFO: Extracted packet for processing {"connection_id":194272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a7"} 
[2026-09-24 19:16:51] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305887488001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790257394000,"timestamp_ms":1790257394000,"timestamp_seconds":1790257394,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a7f150"} 
[2026-09-24 19:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305887488001,"66":12504,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305887488001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:16:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:16:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305887488001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":194272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:16:51] local.INFO: GPS data processed {"connection_id":194272,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:16:51] local.INFO: Acknowledgment sent {"connection_id":194272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:16:54] local.INFO: TCP Data received {"connection_id":191415,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a8d7c8012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a8d7c8012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:16:54] local.INFO: Processing buffer {"connection_id":191415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a8d7c8012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:16:54] local.INFO: Packet analysis {"connection_id":191415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a8"} 
[2026-09-24 19:16:54] local.INFO: Extracted packet for processing {"connection_id":191415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a8"} 
[2026-09-24 19:16:54] local.INFO: GPS Element Parsed {"raw_longitude":750588672,"raw_latitude":124581488,"longitude_deg":75.0588672,"latitude_deg":12.4581488,"altitude":63,"angle":165,"satellites":50,"speed":0,"hex_longitude":"2cbd1300","hex_latitude":"076cf670","is_valid_coordinates":true} 
[2026-09-24 19:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305902592001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:16:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4822510744090808320,"note":"Value kept but may cause issues"} 
[2026-09-24 19:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790257453000,"timestamp_ms":1790257453000,"timestamp_seconds":1790257453,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a8d7c8"} 
[2026-09-24 19:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 19:16:54] 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-09-24 19:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":191415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":191415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":191415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305902592001,"66":27767,"75":206,"27":54016,"24":0,"16":3605341577150464,"44":-4822510744090808320},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305902592001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:16:54] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:16:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:16:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4822510744090808320,"description":"Unknown IO ID 44"} 
[2026-09-24 19:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305902592001,"power":27767,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4822510744090808320}} 
[2026-09-24 19:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":191415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891579,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:16:54] local.INFO: GPS data processed {"connection_id":191415,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:16:54] local.INFO: Acknowledgment sent {"connection_id":191415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:17:05] local.INFO: TCP Data received {"connection_id":191416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:17:05] local.INFO: Processing buffer {"connection_id":191416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:17:05] local.INFO: Packet analysis {"connection_id":191416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:17:05] local.INFO: Extracted packet for processing {"connection_id":191416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:17:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305796608001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790257319000,"timestamp_ms":1790257319000,"timestamp_seconds":1790257319,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a6cc58"} 
[2026-09-24 19:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305796608001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305796608001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:17:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:17:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305796608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":191416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:17:05] local.INFO: GPS data processed {"connection_id":191416,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:17:05] local.INFO: Acknowledgment sent {"connection_id":191416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:17:06] local.INFO: TCP Data received {"connection_id":191616,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:17:06] local.INFO: Processing buffer {"connection_id":191616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:17:06] local.INFO: IMEI packet received {"connection_id":191616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":191616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:17:11] local.INFO: TCP Data received {"connection_id":191616,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:17:11] local.INFO: Processing buffer {"connection_id":191616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:17:11] local.INFO: IMEI packet received {"connection_id":191616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":191616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:17:16] local.INFO: TCP Data received {"connection_id":192997,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:17:16] local.INFO: Processing buffer {"connection_id":192997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:17:16] local.INFO: IMEI packet received {"connection_id":192997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":192997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:17:21] local.INFO: TCP Data received {"connection_id":191616,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a929d0012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a929d0012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:17:21] local.INFO: Processing buffer {"connection_id":191616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a929d0012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:17:21] local.INFO: Packet analysis {"connection_id":191616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a9"} 
[2026-09-24 19:17:21] local.INFO: Extracted packet for processing {"connection_id":191616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a9"} 
[2026-09-24 19:17:21] local.INFO: GPS Element Parsed {"raw_longitude":750588672,"raw_latitude":124581488,"longitude_deg":75.0588672,"latitude_deg":12.4581488,"altitude":63,"angle":165,"satellites":50,"speed":0,"hex_longitude":"2cbd1300","hex_latitude":"076cf670","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305907968001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:17:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4822510744090808320,"note":"Value kept but may cause issues"} 
[2026-09-24 19:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790257474000,"timestamp_ms":1790257474000,"timestamp_seconds":1790257474,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a929d0"} 
[2026-09-24 19:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-24 19:17:21] 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-09-24 19: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-09-24 19:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305907968001,"66":28354,"75":206,"27":54016,"24":0,"16":3605341577150464,"44":-4822510744090808320},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305907968001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:17:21] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:17:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:17:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4822510744090808320,"description":"Unknown IO ID 44"} 
[2026-09-24 19:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305907968001,"power":28354,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4822510744090808320}} 
[2026-09-24 19:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":191616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891581,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:17:21] local.INFO: GPS data processed {"connection_id":191616,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:17:21] local.INFO: Acknowledgment sent {"connection_id":191616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:17:21] local.INFO: TCP Data received {"connection_id":192997,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:17:21] local.INFO: Processing buffer {"connection_id":192997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:17:21] local.INFO: IMEI packet received {"connection_id":192997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":192997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:17:22] local.INFO: TCP Data received {"connection_id":192997,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a84358012d19278007200d500031004f28..."} 
[2026-09-24 19:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a84358012d19278007200d500031004f28..."} 
[2026-09-24 19:17:22] local.INFO: Processing buffer {"connection_id":192997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a84358012d19278007200d500031004f28..."} 
[2026-09-24 19:17:22] local.INFO: Packet analysis {"connection_id":192997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a8"} 
[2026-09-24 19:17:22] local.INFO: Extracted packet for processing {"connection_id":192997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a8"} 
[2026-09-24 19:17:22] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305892864001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790257415000,"timestamp_ms":1790257415000,"timestamp_seconds":1790257415,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a84358"} 
[2026-09-24 19:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:17: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-09-24 19:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 19:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305892864001,"66":11613,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305892864001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:17:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:17:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305892864001,"power":11613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":192997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:17:22] local.INFO: GPS data processed {"connection_id":192997,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:17:22] local.INFO: Acknowledgment sent {"connection_id":192997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:17:28] local.INFO: TCP Data received {"connection_id":194273,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:17:28] local.INFO: Processing buffer {"connection_id":194273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:17:28] local.INFO: IMEI packet received {"connection_id":194273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":194273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:17:33] local.INFO: TCP Data received {"connection_id":194273,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:17:33] local.INFO: Processing buffer {"connection_id":194273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:17:33] local.INFO: IMEI packet received {"connection_id":194273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":194273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:17:33] local.INFO: TCP Data received {"connection_id":194273,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:17:33] local.INFO: Processing buffer {"connection_id":194273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a6cc58012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:17:33] local.INFO: Packet analysis {"connection_id":194273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:17:33] local.INFO: Extracted packet for processing {"connection_id":194273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a6"} 
[2026-09-24 19:17:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305796608001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790257319000,"timestamp_ms":1790257319000,"timestamp_seconds":1790257319,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a6cc58"} 
[2026-09-24 19:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305796608001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305796608001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:17:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:17:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305796608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":194273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:17:33] local.INFO: GPS data processed {"connection_id":194273,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:17:33] local.INFO: Acknowledgment sent {"connection_id":194273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:17:53] local.INFO: TCP Data received {"connection_id":192997,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a89560012d19278007200d500031004f27..."} 
[2026-09-24 19:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a89560012d19278007200d500031004f27..."} 
[2026-09-24 19:17:53] local.INFO: Processing buffer {"connection_id":192997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a89560012d19278007200d500031004f27..."} 
[2026-09-24 19:17:53] local.INFO: Packet analysis {"connection_id":192997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a8"} 
[2026-09-24 19:17:53] local.INFO: Extracted packet for processing {"connection_id":192997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a8"} 
[2026-09-24 19:17:53] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305898240001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790257436000,"timestamp_ms":1790257436000,"timestamp_seconds":1790257436,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a89560"} 
[2026-09-24 19:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-24 19:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1260,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":192997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":192997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":192997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305898240001,"66":12504,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305898240001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:17:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:17:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305898240001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":192997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:17:54] local.INFO: GPS data processed {"connection_id":192997,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:17:54] local.INFO: Acknowledgment sent {"connection_id":192997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:18:06] local.INFO: TCP Data received {"connection_id":192998,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:18:06] local.INFO: Processing buffer {"connection_id":192998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:18:06] local.INFO: IMEI packet received {"connection_id":192998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":192998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:18:06] local.INFO: TCP Data received {"connection_id":194273,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:18:06] local.INFO: Processing buffer {"connection_id":194273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:18:06] local.INFO: Packet analysis {"connection_id":194273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:18:06] local.INFO: Extracted packet for processing {"connection_id":194273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:18:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305873664001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790257620000,"timestamp_ms":1790257620000,"timestamp_seconds":1790257620,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ab6420"} 
[2026-09-24 19:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:18: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-09-24 19:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 19:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305873664001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305873664001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:18:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:18:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305873664001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":194273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:18:06] local.INFO: GPS data processed {"connection_id":194273,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:18:06] local.INFO: Acknowledgment sent {"connection_id":194273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:18:11] local.INFO: TCP Data received {"connection_id":192998,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:18:11] local.INFO: Processing buffer {"connection_id":192998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:18:11] local.INFO: IMEI packet received {"connection_id":192998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":192998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:18:14] local.INFO: TCP Data received {"connection_id":192998,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a97bd8012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a97bd8012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:18:14] local.INFO: Processing buffer {"connection_id":192998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a97bd8012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:18:14] local.INFO: Packet analysis {"connection_id":192998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a9"} 
[2026-09-24 19:18:14] local.INFO: Extracted packet for processing {"connection_id":192998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a9"} 
[2026-09-24 19:18:14] local.INFO: GPS Element Parsed {"raw_longitude":750588672,"raw_latitude":124581488,"longitude_deg":75.0588672,"latitude_deg":12.4581488,"altitude":63,"angle":165,"satellites":50,"speed":0,"hex_longitude":"2cbd1300","hex_latitude":"076cf670","is_valid_coordinates":true} 
[2026-09-24 19:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305913344001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:18:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4822510744090808320,"note":"Value kept but may cause issues"} 
[2026-09-24 19:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790257495000,"timestamp_ms":1790257495000,"timestamp_seconds":1790257495,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a97bd8"} 
[2026-09-24 19:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 19:18:14] 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-09-24 19:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":192998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":192998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":192998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305913344001,"66":28485,"75":206,"27":54016,"24":0,"16":3605341577150464,"44":-4822510744090808320},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305913344001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:18:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:18:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:18:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4822510744090808320,"description":"Unknown IO ID 44"} 
[2026-09-24 19:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305913344001,"power":28485,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4822510744090808320}} 
[2026-09-24 19:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":192998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891586,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:18:14] local.INFO: GPS data processed {"connection_id":192998,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:18:14] local.INFO: Acknowledgment sent {"connection_id":192998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:18:16] local.INFO: TCP Data received {"connection_id":191417,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:18:16] local.INFO: Processing buffer {"connection_id":191417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:18:16] local.INFO: IMEI packet received {"connection_id":191417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":191417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:18:21] local.INFO: TCP Data received {"connection_id":191417,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:18:21] local.INFO: Processing buffer {"connection_id":191417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:18:21] local.INFO: IMEI packet received {"connection_id":191417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":191417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:18:22] local.INFO: TCP Data received {"connection_id":191417,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a8e768012d19278007200d500031004f2a..."} 
[2026-09-24 19:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a8e768012d19278007200d500031004f2a..."} 
[2026-09-24 19:18:22] local.INFO: Processing buffer {"connection_id":191417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a8e768012d19278007200d500031004f2a..."} 
[2026-09-24 19:18:22] local.INFO: Packet analysis {"connection_id":191417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a8"} 
[2026-09-24 19:18:22] local.INFO: Extracted packet for processing {"connection_id":191417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a8"} 
[2026-09-24 19:18:22] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":42,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305903616001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790257457000,"timestamp_ms":1790257457000,"timestamp_seconds":1790257457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a8e768"} 
[2026-09-24 19:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:18:22] 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-09-24 19:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 19:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305903616001,"66":12461,"102":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305903616001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:18:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:18:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305903616001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":191417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:18:22] local.INFO: GPS data processed {"connection_id":191417,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:18:22] local.INFO: Acknowledgment sent {"connection_id":191417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:18:27] local.INFO: TCP Data received {"connection_id":192999,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:18:27] local.INFO: Processing buffer {"connection_id":192999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:18:27] local.INFO: IMEI packet received {"connection_id":192999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":192999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:18:33] local.INFO: TCP Data received {"connection_id":192999,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:18:33] local.INFO: Processing buffer {"connection_id":192999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:18:33] local.INFO: IMEI packet received {"connection_id":192999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":192999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:18:34] local.INFO: TCP Data received {"connection_id":192999,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:18:34] local.INFO: Processing buffer {"connection_id":192999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:18:34] local.INFO: Packet analysis {"connection_id":192999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:18:34] local.INFO: Extracted packet for processing {"connection_id":192999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:18:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305873664001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790257620000,"timestamp_ms":1790257620000,"timestamp_seconds":1790257620,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ab6420"} 
[2026-09-24 19:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 19:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305873664001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305873664001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:18:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:18:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305873664001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":192999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:18:34] local.INFO: GPS data processed {"connection_id":192999,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:18:34] local.INFO: Acknowledgment sent {"connection_id":192999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:18:46] local.INFO: TCP Data received {"connection_id":192998,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a9cde0012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a9cde0012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:18:46] local.INFO: Processing buffer {"connection_id":192998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a9cde0012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:18:46] local.INFO: Packet analysis {"connection_id":192998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a9"} 
[2026-09-24 19:18:46] local.INFO: Extracted packet for processing {"connection_id":192998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a9"} 
[2026-09-24 19:18:46] local.INFO: GPS Element Parsed {"raw_longitude":750588672,"raw_latitude":124581488,"longitude_deg":75.0588672,"latitude_deg":12.4581488,"altitude":63,"angle":165,"satellites":50,"speed":0,"hex_longitude":"2cbd1300","hex_latitude":"076cf670","is_valid_coordinates":true} 
[2026-09-24 19:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305918720001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:18:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4822510744090808320,"note":"Value kept but may cause issues"} 
[2026-09-24 19:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790257516000,"timestamp_ms":1790257516000,"timestamp_seconds":1790257516,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a9cde0"} 
[2026-09-24 19:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19: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-09-24 19:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-24 19:18:46] 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-09-24 19:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":192998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":192998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":192998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305918720001,"66":28354,"75":206,"27":54016,"24":0,"16":3605341577150464,"44":-4822510744090808320},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305918720001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:18:46] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:18:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:18:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4822510744090808320,"description":"Unknown IO ID 44"} 
[2026-09-24 19:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305918720001,"power":28354,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4822510744090808320}} 
[2026-09-24 19:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":192998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891589,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:18:46] local.INFO: GPS data processed {"connection_id":192998,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:18:46] local.INFO: Acknowledgment sent {"connection_id":192998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:18:52] local.INFO: TCP Data received {"connection_id":191417,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a93970012d19278007200d500031004f28..."} 
[2026-09-24 19:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a93970012d19278007200d500031004f28..."} 
[2026-09-24 19:18:53] local.INFO: Processing buffer {"connection_id":191417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a93970012d19278007200d500031004f28..."} 
[2026-09-24 19:18:53] local.INFO: Packet analysis {"connection_id":191417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a9"} 
[2026-09-24 19:18:53] local.INFO: Extracted packet for processing {"connection_id":191417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a9"} 
[2026-09-24 19:18:53] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305908992001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790257478000,"timestamp_ms":1790257478000,"timestamp_seconds":1790257478,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a93970"} 
[2026-09-24 19:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 19:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305908992001,"66":12461,"103":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 19:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305908992001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:18:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 19:18:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305908992001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":191417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:18:53] local.INFO: GPS data processed {"connection_id":191417,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:18:53] local.INFO: Acknowledgment sent {"connection_id":191417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:19:05] local.INFO: TCP Data received {"connection_id":192999,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:19:05] local.INFO: Processing buffer {"connection_id":192999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:19:05] local.INFO: Packet analysis {"connection_id":192999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:19:05] local.INFO: Extracted packet for processing {"connection_id":192999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:19:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305873664001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790257620000,"timestamp_ms":1790257620000,"timestamp_seconds":1790257620,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ab6420"} 
[2026-09-24 19:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 19:19: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-09-24 19: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-09-24 19:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305873664001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305873664001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:19:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:19:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305873664001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":192999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:19:05] local.INFO: GPS data processed {"connection_id":192999,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:19:05] local.INFO: Acknowledgment sent {"connection_id":192999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:19:11] local.INFO: TCP Data received {"connection_id":194274,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:19:11] local.INFO: Processing buffer {"connection_id":194274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:19:11] local.INFO: IMEI packet received {"connection_id":194274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":194274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:19:16] local.INFO: TCP Data received {"connection_id":194275,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:19:16] local.INFO: Processing buffer {"connection_id":194275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:19:16] local.INFO: IMEI packet received {"connection_id":194275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":194275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:19:16] local.INFO: TCP Data received {"connection_id":194274,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:19:16] local.INFO: Processing buffer {"connection_id":194274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:19:16] local.INFO: IMEI packet received {"connection_id":194274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":194274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:19:17] local.INFO: TCP Data received {"connection_id":194274,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3aa1fe8012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3aa1fe8012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:19:17] local.INFO: Processing buffer {"connection_id":194274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3aa1fe8012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:19:17] local.INFO: Packet analysis {"connection_id":194274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3aa"} 
[2026-09-24 19:19:17] local.INFO: Extracted packet for processing {"connection_id":194274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3aa"} 
[2026-09-24 19:19:17] local.INFO: GPS Element Parsed {"raw_longitude":750588672,"raw_latitude":124581488,"longitude_deg":75.0588672,"latitude_deg":12.4581488,"altitude":63,"angle":165,"satellites":50,"speed":0,"hex_longitude":"2cbd1300","hex_latitude":"076cf670","is_valid_coordinates":true} 
[2026-09-24 19:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305924096001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:19:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4822510744090808320,"note":"Value kept but may cause issues"} 
[2026-09-24 19:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790257537000,"timestamp_ms":1790257537000,"timestamp_seconds":1790257537,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3aa1fe8"} 
[2026-09-24 19:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 19:19:17] 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-09-24 19:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":194274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":194274,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":194274,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305924096001,"66":28354,"75":206,"27":54016,"24":0,"16":3605341577150464,"44":-4822510744090808320},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305924096001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:19:17] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:19:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:19:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4822510744090808320,"description":"Unknown IO ID 44"} 
[2026-09-24 19:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305924096001,"power":28354,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4822510744090808320}} 
[2026-09-24 19:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":194274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891592,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:19:17] local.INFO: GPS data processed {"connection_id":194274,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:19:17] local.INFO: Acknowledgment sent {"connection_id":194274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:19:21] local.INFO: TCP Data received {"connection_id":194275,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:19:21] local.INFO: Processing buffer {"connection_id":194275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:19:21] local.INFO: IMEI packet received {"connection_id":194275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":194275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:19:22] local.INFO: TCP Data received {"connection_id":194275,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a98b78012d19278007200d500031004f2b..."} 
[2026-09-24 19:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a98b78012d19278007200d500031004f2b..."} 
[2026-09-24 19:19:22] local.INFO: Processing buffer {"connection_id":194275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a98b78012d19278007200d500031004f2b..."} 
[2026-09-24 19:19:22] local.INFO: Packet analysis {"connection_id":194275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a9"} 
[2026-09-24 19:19:22] local.INFO: Extracted packet for processing {"connection_id":194275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a9"} 
[2026-09-24 19:19:22] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":43,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305914368001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790257499000,"timestamp_ms":1790257499000,"timestamp_seconds":1790257499,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a98b78"} 
[2026-09-24 19:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:19:22] 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-09-24 19:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 19:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305914368001,"66":12461,"103":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 19:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305914368001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:19:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 19:19:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305914368001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":194275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:19:22] local.INFO: GPS data processed {"connection_id":194275,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:19:22] local.INFO: Acknowledgment sent {"connection_id":194275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:19:27] local.INFO: TCP Data received {"connection_id":191418,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:19:27] local.INFO: Processing buffer {"connection_id":191418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:19:27] local.INFO: IMEI packet received {"connection_id":191418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":191418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:19:33] local.INFO: TCP Data received {"connection_id":191418,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:19:33] local.INFO: Processing buffer {"connection_id":191418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:19:33] local.INFO: IMEI packet received {"connection_id":191418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":191418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:19:34] local.INFO: TCP Data received {"connection_id":191418,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:19:34] local.INFO: Processing buffer {"connection_id":191418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:19:34] local.INFO: Packet analysis {"connection_id":191418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:19:34] local.INFO: Extracted packet for processing {"connection_id":191418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:19:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305873664001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790257620000,"timestamp_ms":1790257620000,"timestamp_seconds":1790257620,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ab6420"} 
[2026-09-24 19:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 19:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305873664001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305873664001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:19:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:19:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305873664001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":191418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:19:34] local.INFO: GPS data processed {"connection_id":191418,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:19:34] local.INFO: Acknowledgment sent {"connection_id":191418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:19:53] local.INFO: TCP Data received {"connection_id":194275,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3a9dd80012d19278007200d500031004f2a..."} 
[2026-09-24 19:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3a9dd80012d19278007200d500031004f2a..."} 
[2026-09-24 19:19:53] local.INFO: Processing buffer {"connection_id":194275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3a9dd80012d19278007200d500031004f2a..."} 
[2026-09-24 19:19:53] local.INFO: Packet analysis {"connection_id":194275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3a9"} 
[2026-09-24 19:19:53] local.INFO: Extracted packet for processing {"connection_id":194275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3a9"} 
[2026-09-24 19:19:53] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":42,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305919744001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790257520000,"timestamp_ms":1790257520000,"timestamp_seconds":1790257520,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3a9dd80"} 
[2026-09-24 19:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:19: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-09-24 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 19:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305919744001,"66":12461,"103":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 19:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305919744001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:19:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 19:19:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305919744001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":194275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:19:53] local.INFO: GPS data processed {"connection_id":194275,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:19:53] local.INFO: Acknowledgment sent {"connection_id":194275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:20:05] local.INFO: TCP Data received {"connection_id":191418,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:20:05] local.INFO: Processing buffer {"connection_id":191418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:20:05] local.INFO: Packet analysis {"connection_id":191418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:20:05] local.INFO: Extracted packet for processing {"connection_id":191418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:20:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305873664001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790257620000,"timestamp_ms":1790257620000,"timestamp_seconds":1790257620,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ab6420"} 
[2026-09-24 19:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 19:20: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-09-24 19:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305873664001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305873664001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:20:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:20:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305873664001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":191418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:20:05] local.INFO: GPS data processed {"connection_id":191418,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:20:05] local.INFO: Acknowledgment sent {"connection_id":191418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:20:07] local.INFO: TCP Data received {"connection_id":193000,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193000,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:20:07] local.INFO: Processing buffer {"connection_id":193000,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:20:07] local.INFO: IMEI packet received {"connection_id":193000,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":193000,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:20:07] local.INFO: TCP Data received {"connection_id":193000,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193000,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:20:07] local.INFO: Processing buffer {"connection_id":193000,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:20:07] local.INFO: IMEI packet received {"connection_id":193000,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":193000,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:20:11] local.INFO: TCP Data received {"connection_id":193000,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193000,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:20:11] local.INFO: Processing buffer {"connection_id":193000,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:20:11] local.INFO: IMEI packet received {"connection_id":193000,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":193000,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:20:13] local.INFO: TCP Data received {"connection_id":193000,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3aa71f0012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3aa71f0012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:20:13] local.INFO: Processing buffer {"connection_id":193000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3aa71f0012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:20:13] local.INFO: Packet analysis {"connection_id":193000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3aa"} 
[2026-09-24 19:20:13] local.INFO: Extracted packet for processing {"connection_id":193000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3aa"} 
[2026-09-24 19:20:13] local.INFO: GPS Element Parsed {"raw_longitude":750588672,"raw_latitude":124581488,"longitude_deg":75.0588672,"latitude_deg":12.4581488,"altitude":63,"angle":165,"satellites":50,"speed":0,"hex_longitude":"2cbd1300","hex_latitude":"076cf670","is_valid_coordinates":true} 
[2026-09-24 19:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305929472001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:20:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4822510744090808320,"note":"Value kept but may cause issues"} 
[2026-09-24 19:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790257558000,"timestamp_ms":1790257558000,"timestamp_seconds":1790257558,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3aa71f0"} 
[2026-09-24 19:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 19:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193000,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193000,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305929472001,"66":28224,"75":206,"27":54016,"24":0,"16":3605341577150464,"44":-4822510744090808320},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305929472001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:20:13] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:20:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:20:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4822510744090808320,"description":"Unknown IO ID 44"} 
[2026-09-24 19:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305929472001,"power":28224,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4822510744090808320}} 
[2026-09-24 19:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":193000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891597,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:20:13] local.INFO: GPS data processed {"connection_id":193000,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:20:13] local.INFO: Acknowledgment sent {"connection_id":193000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:20:21] local.INFO: TCP Data received {"connection_id":194276,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:20:21] local.INFO: Processing buffer {"connection_id":194276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:20:21] local.INFO: IMEI packet received {"connection_id":194276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":194276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:20:26] local.INFO: TCP Data received {"connection_id":194276,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:20:26] local.INFO: Processing buffer {"connection_id":194276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:20:26] local.INFO: IMEI packet received {"connection_id":194276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":194276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:20:27] local.INFO: TCP Data received {"connection_id":194276,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3aa2f88012d19278007200d500031004f2a..."} 
[2026-09-24 19:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3aa2f88012d19278007200d500031004f2a..."} 
[2026-09-24 19:20:27] local.INFO: Processing buffer {"connection_id":194276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3aa2f88012d19278007200d500031004f2a..."} 
[2026-09-24 19:20:27] local.INFO: Packet analysis {"connection_id":194276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3aa"} 
[2026-09-24 19:20:27] local.INFO: Extracted packet for processing {"connection_id":194276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3aa"} 
[2026-09-24 19:20:27] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":42,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305925120001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790257541000,"timestamp_ms":1790257541000,"timestamp_seconds":1790257541,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3aa2f88"} 
[2026-09-24 19:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 19:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":194276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":194276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":194276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305925120001,"66":12504,"103":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 19:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305925120001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:20:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 19:20:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305925120001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":194276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:20:27] local.INFO: GPS data processed {"connection_id":194276,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:20:27] local.INFO: Acknowledgment sent {"connection_id":194276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:20:27] local.INFO: TCP Data received {"connection_id":194277,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:20:27] local.INFO: Processing buffer {"connection_id":194277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:20:27] local.INFO: IMEI packet received {"connection_id":194277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":194277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:20:31] local.INFO: TCP Data received {"connection_id":194276,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3aa8190012d19278007200d500031004f29..."} 
[2026-09-24 19:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3aa8190012d19278007200d500031004f29..."} 
[2026-09-24 19:20:31] local.INFO: Processing buffer {"connection_id":194276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3aa8190012d19278007200d500031004f29..."} 
[2026-09-24 19:20:31] local.INFO: Packet analysis {"connection_id":194276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3aa"} 
[2026-09-24 19:20:31] local.INFO: Extracted packet for processing {"connection_id":194276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3aa"} 
[2026-09-24 19:20:31] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 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-09-24 19:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305930496001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790257562000,"timestamp_ms":1790257562000,"timestamp_seconds":1790257562,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3aa8190"} 
[2026-09-24 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-09-24 19:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 19:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 19:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305930496001,"66":12504,"103":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 19:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305930496001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:20:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 19:20:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305930496001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":194276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:20:31] local.INFO: GPS data processed {"connection_id":194276,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:20:31] local.INFO: Acknowledgment sent {"connection_id":194276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:20:32] local.INFO: TCP Data received {"connection_id":194277,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:20:32] local.INFO: Processing buffer {"connection_id":194277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:20:32] local.INFO: IMEI packet received {"connection_id":194277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":194277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:20:34] local.INFO: TCP Data received {"connection_id":194277,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:20:34] local.INFO: Processing buffer {"connection_id":194277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:20:34] local.INFO: Packet analysis {"connection_id":194277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:20:34] local.INFO: Extracted packet for processing {"connection_id":194277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:20:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305873664001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790257620000,"timestamp_ms":1790257620000,"timestamp_seconds":1790257620,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ab6420"} 
[2026-09-24 19:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 19:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305873664001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305873664001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:20:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:20:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305873664001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":194277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:20:34] local.INFO: GPS data processed {"connection_id":194277,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:20:34] local.INFO: Acknowledgment sent {"connection_id":194277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:20:45] local.INFO: TCP Data received {"connection_id":193000,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3aac3f8012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3aac3f8012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:20:45] local.INFO: Processing buffer {"connection_id":193000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3aac3f8012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:20:45] local.INFO: Packet analysis {"connection_id":193000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3aa"} 
[2026-09-24 19:20:45] local.INFO: Extracted packet for processing {"connection_id":193000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3aa"} 
[2026-09-24 19:20:45] local.INFO: GPS Element Parsed {"raw_longitude":750588672,"raw_latitude":124581488,"longitude_deg":75.0588672,"latitude_deg":12.4581488,"altitude":63,"angle":165,"satellites":50,"speed":0,"hex_longitude":"2cbd1300","hex_latitude":"076cf670","is_valid_coordinates":true} 
[2026-09-24 19:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305934848001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:20:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4822510744090808320,"note":"Value kept but may cause issues"} 
[2026-09-24 19:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790257579000,"timestamp_ms":1790257579000,"timestamp_seconds":1790257579,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3aac3f8"} 
[2026-09-24 19:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-09-24 19:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193000,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193000,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305934848001,"66":28354,"75":206,"27":54016,"24":0,"16":3605341577150464,"44":-4822510744090808320},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305934848001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:20:45] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:20:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:20:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4822510744090808320,"description":"Unknown IO ID 44"} 
[2026-09-24 19:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305934848001,"power":28354,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4822510744090808320}} 
[2026-09-24 19:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":193000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891601,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:20:46] local.INFO: GPS data processed {"connection_id":193000,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:20:46] local.INFO: Acknowledgment sent {"connection_id":193000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:21:05] local.INFO: TCP Data received {"connection_id":194277,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:21:05] local.INFO: Processing buffer {"connection_id":194277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:21:05] local.INFO: Packet analysis {"connection_id":194277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:21:05] local.INFO: Extracted packet for processing {"connection_id":194277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:21:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305873664001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790257620000,"timestamp_ms":1790257620000,"timestamp_seconds":1790257620,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ab6420"} 
[2026-09-24 19:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 19:21: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-09-24 19: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-09-24 19:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305873664001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305873664001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:21:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:21:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305873664001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":194277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:21:05] local.INFO: GPS data processed {"connection_id":194277,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:21:05] local.INFO: Acknowledgment sent {"connection_id":194277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:21:10] local.INFO: TCP Data received {"connection_id":191419,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:21:10] local.INFO: Processing buffer {"connection_id":191419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:21:10] local.INFO: IMEI packet received {"connection_id":191419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":191419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:21:11] local.INFO: TCP Data received {"connection_id":191419,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:21:11] local.INFO: Processing buffer {"connection_id":191419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:21:11] local.INFO: IMEI packet received {"connection_id":191419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":191419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:21:13] local.INFO: TCP Data received {"connection_id":193001,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:21:13] local.INFO: Processing buffer {"connection_id":193001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:21:13] local.INFO: IMEI packet received {"connection_id":193001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":193001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:21:16] local.INFO: TCP Data received {"connection_id":193001,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:21:16] local.INFO: Processing buffer {"connection_id":193001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:21:16] local.INFO: IMEI packet received {"connection_id":193001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":193001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:21:16] local.INFO: TCP Data received {"connection_id":191419,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:21:16] local.INFO: Processing buffer {"connection_id":191419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:21:16] local.INFO: IMEI packet received {"connection_id":191419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":191419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:21:18] local.INFO: TCP Data received {"connection_id":191419,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ab1600012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ab1600012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:21:18] local.INFO: Processing buffer {"connection_id":191419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ab1600012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:21:18] local.INFO: Packet analysis {"connection_id":191419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:21:18] local.INFO: Extracted packet for processing {"connection_id":191419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:21:18] local.INFO: GPS Element Parsed {"raw_longitude":750588672,"raw_latitude":124581488,"longitude_deg":75.0588672,"latitude_deg":12.4581488,"altitude":63,"angle":165,"satellites":50,"speed":0,"hex_longitude":"2cbd1300","hex_latitude":"076cf670","is_valid_coordinates":true} 
[2026-09-24 19:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305940224001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:21:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4822510744090808320,"note":"Value kept but may cause issues"} 
[2026-09-24 19:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790257600000,"timestamp_ms":1790257600000,"timestamp_seconds":1790257600,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ab1600"} 
[2026-09-24 19:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 19:21:18] 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-09-24 19:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305940224001,"66":28354,"75":206,"27":54016,"24":0,"16":3605341577150464,"44":-4822510744090808320},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305940224001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:21:18] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:21:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:21:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4822510744090808320,"description":"Unknown IO ID 44"} 
[2026-09-24 19:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305940224001,"power":28354,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4822510744090808320}} 
[2026-09-24 19:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":191419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891603,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:21:18] local.INFO: GPS data processed {"connection_id":191419,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:21:18] local.INFO: Acknowledgment sent {"connection_id":191419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:21:21] local.INFO: TCP Data received {"connection_id":193001,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:21:21] local.INFO: Processing buffer {"connection_id":193001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:21:21] local.INFO: IMEI packet received {"connection_id":193001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":193001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:21:22] local.INFO: TCP Data received {"connection_id":191419,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ab6808012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ab6808012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:21:22] local.INFO: Processing buffer {"connection_id":191419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ab6808012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:21:22] local.INFO: Packet analysis {"connection_id":191419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:21:22] local.INFO: Extracted packet for processing {"connection_id":191419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:21:22] local.INFO: GPS Element Parsed {"raw_longitude":750588672,"raw_latitude":124581488,"longitude_deg":75.0588672,"latitude_deg":12.4581488,"altitude":63,"angle":165,"satellites":50,"speed":0,"hex_longitude":"2cbd1300","hex_latitude":"076cf670","is_valid_coordinates":true} 
[2026-09-24 19:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305945600001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:21:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4822510744090808320,"note":"Value kept but may cause issues"} 
[2026-09-24 19:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790257621000,"timestamp_ms":1790257621000,"timestamp_seconds":1790257621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ab6808"} 
[2026-09-24 19:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 19:21:22] 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-09-24 19:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305945600001,"66":28278,"75":206,"27":54016,"24":0,"16":3605341577150464,"44":-4822510744090808320},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305945600001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:21:22] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:21:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:21:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4822510744090808320,"description":"Unknown IO ID 44"} 
[2026-09-24 19:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305945600001,"power":28278,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4822510744090808320}} 
[2026-09-24 19:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":191419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891604,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:21:22] local.INFO: GPS data processed {"connection_id":191419,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:21:22] local.INFO: Acknowledgment sent {"connection_id":191419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:21:22] local.INFO: TCP Data received {"connection_id":193001,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ae07e8012d19278007200d500031004f27..."} 
[2026-09-24 19:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ae07e8012d19278007200d500031004f27..."} 
[2026-09-24 19:21:22] local.INFO: Processing buffer {"connection_id":193001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ae07e8012d19278007200d500031004f27..."} 
[2026-09-24 19:21:22] local.INFO: Packet analysis {"connection_id":193001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ae"} 
[2026-09-24 19:21:22] local.INFO: Extracted packet for processing {"connection_id":193001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ae"} 
[2026-09-24 19:21:22] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305989632001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790257793000,"timestamp_ms":1790257793000,"timestamp_seconds":1790257793,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ae07e8"} 
[2026-09-24 19:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:21: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-09-24 19:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 19:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305989632001,"66":12504,"103":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 19:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305989632001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:21:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 19:21:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305989632001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":193001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:21:22] local.INFO: GPS data processed {"connection_id":193001,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:21:22] local.INFO: Acknowledgment sent {"connection_id":193001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:21:27] local.INFO: TCP Data received {"connection_id":191420,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:21:27] local.INFO: Processing buffer {"connection_id":191420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:21:27] local.INFO: IMEI packet received {"connection_id":191420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":191420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:21:33] local.INFO: TCP Data received {"connection_id":191420,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:21:33] local.INFO: Processing buffer {"connection_id":191420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:21:33] local.INFO: IMEI packet received {"connection_id":191420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":191420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:21:34] local.INFO: TCP Data received {"connection_id":191420,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:21:34] local.INFO: Processing buffer {"connection_id":191420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:21:34] local.INFO: Packet analysis {"connection_id":191420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:21:34] local.INFO: Extracted packet for processing {"connection_id":191420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:21:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305873664001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790257620000,"timestamp_ms":1790257620000,"timestamp_seconds":1790257620,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ab6420"} 
[2026-09-24 19:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 19:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305873664001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305873664001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:21:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:21:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305873664001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":191420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:21:34] local.INFO: GPS data processed {"connection_id":191420,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:21:34] local.INFO: Acknowledgment sent {"connection_id":191420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:21:53] local.INFO: TCP Data received {"connection_id":193001,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ae59f0012d19278007200d500031004f2c..."} 
[2026-09-24 19:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ae59f0012d19278007200d500031004f2c..."} 
[2026-09-24 19:21:53] local.INFO: Processing buffer {"connection_id":193001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ae59f0012d19278007200d500031004f2c..."} 
[2026-09-24 19:21:53] local.INFO: Packet analysis {"connection_id":193001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ae"} 
[2026-09-24 19:21:53] local.INFO: Extracted packet for processing {"connection_id":193001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ae"} 
[2026-09-24 19:21:53] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":44,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305995008001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790257814000,"timestamp_ms":1790257814000,"timestamp_seconds":1790257814,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ae59f0"} 
[2026-09-24 19:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 19:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":193001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":193001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":193001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305995008001,"66":11787,"103":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 19:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305995008001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:21:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 19:21:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305995008001,"power":11787,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":193001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:21:54] local.INFO: GPS data processed {"connection_id":193001,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:21:54] local.INFO: Acknowledgment sent {"connection_id":193001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:22:05] local.INFO: TCP Data received {"connection_id":191420,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:22:05] local.INFO: Processing buffer {"connection_id":191420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:22:05] local.INFO: Packet analysis {"connection_id":191420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:22:05] local.INFO: Extracted packet for processing {"connection_id":191420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:22:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305873664001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790257620000,"timestamp_ms":1790257620000,"timestamp_seconds":1790257620,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ab6420"} 
[2026-09-24 19:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 19:22: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-09-24 19: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-09-24 19:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305873664001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305873664001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:22:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:22:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305873664001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":191420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:22:05] local.INFO: GPS data processed {"connection_id":191420,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:22:05] local.INFO: Acknowledgment sent {"connection_id":191420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:22:06] local.INFO: TCP Data received {"connection_id":193002,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:22:06] local.INFO: Processing buffer {"connection_id":193002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:22:06] local.INFO: IMEI packet received {"connection_id":193002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":193002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:22:11] local.INFO: TCP Data received {"connection_id":193002,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:22:11] local.INFO: Processing buffer {"connection_id":193002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:22:11] local.INFO: IMEI packet received {"connection_id":193002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":193002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:22:13] local.INFO: TCP Data received {"connection_id":193002,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3abba10012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3abba10012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:22:13] local.INFO: Processing buffer {"connection_id":193002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3abba10012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:22:13] local.INFO: Packet analysis {"connection_id":193002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:22:13] local.INFO: Extracted packet for processing {"connection_id":193002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:22:13] local.INFO: GPS Element Parsed {"raw_longitude":750588672,"raw_latitude":124581488,"longitude_deg":75.0588672,"latitude_deg":12.4581488,"altitude":63,"angle":165,"satellites":50,"speed":0,"hex_longitude":"2cbd1300","hex_latitude":"076cf670","is_valid_coordinates":true} 
[2026-09-24 19:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305950976001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4822510744090808320,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790257642000,"timestamp_ms":1790257642000,"timestamp_seconds":1790257642,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3abba10"} 
[2026-09-24 19:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 19:22:13] 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-09-24 19:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305950976001,"66":28126,"75":206,"27":54016,"24":0,"16":3605341577150464,"44":-4822510744090808320},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305950976001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:22:13] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:22:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:22:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4822510744090808320,"description":"Unknown IO ID 44"} 
[2026-09-24 19:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305950976001,"power":28126,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4822510744090808320}} 
[2026-09-24 19:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":193002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891609,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:22:13] local.INFO: GPS data processed {"connection_id":193002,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:22:13] local.INFO: Acknowledgment sent {"connection_id":193002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:22:16] local.INFO: TCP Data received {"connection_id":191421,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:22:16] local.INFO: Processing buffer {"connection_id":191421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:22:16] local.INFO: IMEI packet received {"connection_id":191421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":191421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:22:17] local.INFO: TCP Data received {"connection_id":191421,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:22:17] local.INFO: Processing buffer {"connection_id":191421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:22:17] local.INFO: IMEI packet received {"connection_id":191421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":191421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:22:19] local.INFO: TCP Data received {"connection_id":191421,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:22:19] local.INFO: Processing buffer {"connection_id":191421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:22:19] local.INFO: IMEI packet received {"connection_id":191421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":191421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:22:20] local.INFO: TCP Data received {"connection_id":191421,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3aeabf8012d19278007200d500031004f26..."} 
[2026-09-24 19:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3aeabf8012d19278007200d500031004f26..."} 
[2026-09-24 19:22:20] local.INFO: Processing buffer {"connection_id":191421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3aeabf8012d19278007200d500031004f26..."} 
[2026-09-24 19:22:20] local.INFO: Packet analysis {"connection_id":191421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ae"} 
[2026-09-24 19:22:20] local.INFO: Extracted packet for processing {"connection_id":191421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ae"} 
[2026-09-24 19:22:20] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119541072,"longitude_deg":75.6623232,"latitude_deg":11.9541072,"altitude":49,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d192780","hex_latitude":"07200d50","is_valid_coordinates":true} 
[2026-09-24 19:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306000384001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047262661771264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130783744,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790257835000,"timestamp_ms":1790257835000,"timestamp_seconds":1790257835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3aeabf8"} 
[2026-09-24 19:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-09-24 19:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:20] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3551292864,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:20] local.WARNING: Large IO value detected {"io_id":39,"raw_value":-9221366470468947712,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6857948572503954151,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:20] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2903625729,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-24 19:22:20] local.WARNING: Large IO value detected {"io_id":191,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:20] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931256,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:20] local.WARNING: Large IO value detected {"io_id":81,"raw_value":-2207608242341675008,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:20] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:20] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:20] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2738188573441264128,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:20] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,225,160,7,45,128,13,49,39,10,66,181,99,1,240,216,227,211,32,4,113,205,191,80,41,239,48,2,81,86,206,79],"length":533,"final_offset":663,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-24 19:22:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3530909158255624192,"timestamp_seconds":3530909158255624.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 19:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306000384001,"66":12461,"103":206,"83":41984,"24":0,"16":23047262661771264,"45":1812558143130783744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-24 19:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306000384001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:22:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-24 19:22:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047262661771264,"km_value":23047262661771.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130783744,"description":"Unknown IO ID 45"} 
[2026-09-24 19:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306000384001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812558143130783744}} 
[2026-09-24 19:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":191421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:22:20] local.INFO: GPS data processed {"connection_id":191421,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:22:20] local.INFO: Acknowledgment sent {"connection_id":191421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:22:32] local.INFO: TCP Data received {"connection_id":191617,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:22:32] local.INFO: Processing buffer {"connection_id":191617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:22:32] local.INFO: IMEI packet received {"connection_id":191617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":191617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:22:37] local.INFO: TCP Data received {"connection_id":191617,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:22:37] local.INFO: Processing buffer {"connection_id":191617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:22:37] local.INFO: IMEI packet received {"connection_id":191617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":191617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:22:38] local.INFO: TCP Data received {"connection_id":191617,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:22:38] local.INFO: Processing buffer {"connection_id":191617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ab6420012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:22:38] local.INFO: Packet analysis {"connection_id":191617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:22:38] local.INFO: Extracted packet for processing {"connection_id":191617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ab"} 
[2026-09-24 19:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305873664001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790257620000,"timestamp_ms":1790257620000,"timestamp_seconds":1790257620,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ab6420"} 
[2026-09-24 19:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 19:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305873664001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305873664001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:22:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305873664001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":191617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:22:38] local.INFO: GPS data processed {"connection_id":191617,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:22:38] local.INFO: Acknowledgment sent {"connection_id":191617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:22:39] local.INFO: TCP Data received {"connection_id":191617,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:22:39] local.INFO: Processing buffer {"connection_id":191617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:22:39] local.INFO: Packet analysis {"connection_id":191617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:22:39] local.INFO: Extracted packet for processing {"connection_id":191617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:22:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305950720001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790257921000,"timestamp_ms":1790257921000,"timestamp_seconds":1790257921,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3affbe8"} 
[2026-09-24 19:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 19:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305950720001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305950720001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:22:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:22:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305950720001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":191617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:22:39] local.INFO: GPS data processed {"connection_id":191617,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:22:39] local.INFO: Acknowledgment sent {"connection_id":191617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:22:48] local.INFO: TCP Data received {"connection_id":193002,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3af4068012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3af4068012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:22:48] local.INFO: Processing buffer {"connection_id":193002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3af4068012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:22:48] local.INFO: Packet analysis {"connection_id":193002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:22:48] local.INFO: Extracted packet for processing {"connection_id":193002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:22:48] local.INFO: GPS Element Parsed {"raw_longitude":750588672,"raw_latitude":124581488,"longitude_deg":75.0588672,"latitude_deg":12.4581488,"altitude":63,"angle":165,"satellites":50,"speed":0,"hex_longitude":"2cbd1300","hex_latitude":"076cf670","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306010112001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4822510744090808320,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790257873000,"timestamp_ms":1790257873000,"timestamp_seconds":1790257873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3af4068"} 
[2026-09-24 19:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-24 19:22: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-09-24 19: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-09-24 19:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":193002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":193002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":193002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306010112001,"66":27908,"75":206,"27":54016,"24":0,"16":3605341577150464,"44":-4822510744090808320},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306010112001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:22:48] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:22:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:22:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4822510744090808320,"description":"Unknown IO ID 44"} 
[2026-09-24 19:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306010112001,"power":27908,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4822510744090808320}} 
[2026-09-24 19:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":193002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891613,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:22:48] local.INFO: GPS data processed {"connection_id":193002,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:22:48] local.INFO: Acknowledgment sent {"connection_id":193002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:22:51] local.INFO: TCP Data received {"connection_id":191421,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b00b88012d192b00071ffcc00030007c2d..."} 
[2026-09-24 19:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b00b88012d192b00071ffcc00030007c2d..."} 
[2026-09-24 19:22:51] local.INFO: Processing buffer {"connection_id":191421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b00b88012d192b00071ffcc00030007c2d..."} 
[2026-09-24 19:22:51] local.INFO: Packet analysis {"connection_id":191421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b0"} 
[2026-09-24 19:22:51] local.INFO: Extracted packet for processing {"connection_id":191421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b0"} 
[2026-09-24 19:22:51] local.INFO: GPS Element Parsed {"raw_longitude":756624128,"raw_latitude":119536832,"longitude_deg":75.6624128,"latitude_deg":11.9536832,"altitude":48,"angle":124,"satellites":45,"speed":14,"hex_longitude":"2d192b00","hex_latitude":"071ffcc0","is_valid_coordinates":true} 
[2026-09-24 19:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306028288001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047503179939840,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812980355594897408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790257925000,"timestamp_ms":1790257925000,"timestamp_seconds":1790257925,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b00b88"} 
[2026-09-24 19:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-24 19:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306028288001,"66":13135,"102":206,"83":41984,"24":14,"16":23047503179939840,"45":1812980355594897408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306028288001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:22:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:22:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047503179939840,"km_value":23047503179939.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812980355594897408,"description":"Unknown IO ID 45"} 
[2026-09-24 19:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306028288001,"power":13135,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1812980355594897408}} 
[2026-09-24 19:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":191421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:22:51] local.INFO: GPS data processed {"connection_id":191421,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:22:51] local.INFO: Acknowledgment sent {"connection_id":191421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:23:06] local.INFO: TCP Data received {"connection_id":194278,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:23:06] local.INFO: Processing buffer {"connection_id":194278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:23:06] local.INFO: IMEI packet received {"connection_id":194278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":194278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:23:11] local.INFO: TCP Data received {"connection_id":191617,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:23:11] local.INFO: Processing buffer {"connection_id":191617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:23:11] local.INFO: Packet analysis {"connection_id":191617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:23:11] local.INFO: Extracted packet for processing {"connection_id":191617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:23:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305950720001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790257921000,"timestamp_ms":1790257921000,"timestamp_seconds":1790257921,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3affbe8"} 
[2026-09-24 19:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 19:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305950720001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305950720001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:23:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:23:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305950720001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":191617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:23:11] local.INFO: GPS data processed {"connection_id":191617,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:23:11] local.INFO: Acknowledgment sent {"connection_id":191617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:23:11] local.INFO: TCP Data received {"connection_id":194278,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:23:11] local.INFO: Processing buffer {"connection_id":194278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:23:11] local.INFO: IMEI packet received {"connection_id":194278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":194278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:23:14] local.INFO: TCP Data received {"connection_id":194278,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3af9270012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3af9270012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:23:14] local.INFO: Processing buffer {"connection_id":194278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3af9270012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:23:14] local.INFO: Packet analysis {"connection_id":194278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:23:14] local.INFO: Extracted packet for processing {"connection_id":194278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:23:14] local.INFO: GPS Element Parsed {"raw_longitude":750588672,"raw_latitude":124581488,"longitude_deg":75.0588672,"latitude_deg":12.4581488,"altitude":63,"angle":165,"satellites":50,"speed":0,"hex_longitude":"2cbd1300","hex_latitude":"076cf670","is_valid_coordinates":true} 
[2026-09-24 19:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306015488001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:23:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4822510744090808320,"note":"Value kept but may cause issues"} 
[2026-09-24 19:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790257894000,"timestamp_ms":1790257894000,"timestamp_seconds":1790257894,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3af9270"} 
[2026-09-24 19:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 19:23:14] 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-09-24 19:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":194278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":194278,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":194278,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306015488001,"66":27745,"75":206,"27":54016,"24":0,"16":3605341577150464,"44":-4822510744090808320},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306015488001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:23:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:23:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:23:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4822510744090808320,"description":"Unknown IO ID 44"} 
[2026-09-24 19:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306015488001,"power":27745,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4822510744090808320}} 
[2026-09-24 19:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":194278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891616,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:23:14] local.INFO: GPS data processed {"connection_id":194278,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:23:14] local.INFO: Acknowledgment sent {"connection_id":194278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:23:16] local.INFO: TCP Data received {"connection_id":191422,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:23:16] local.INFO: Processing buffer {"connection_id":191422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:23:16] local.INFO: IMEI packet received {"connection_id":191422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":191422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:23:21] local.INFO: TCP Data received {"connection_id":191422,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:23:21] local.INFO: Processing buffer {"connection_id":191422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:23:21] local.INFO: IMEI packet received {"connection_id":191422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":191422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:23:21] local.INFO: TCP Data received {"connection_id":191422,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b00f70012d192c80071ffc300031006c2d..."} 
[2026-09-24 19:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b00f70012d192c80071ffc300031006c2d..."} 
[2026-09-24 19:23:22] local.INFO: Processing buffer {"connection_id":191422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b00f70012d192c80071ffc300031006c2d..."} 
[2026-09-24 19:23:22] local.INFO: Packet analysis {"connection_id":191422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b0"} 
[2026-09-24 19:23:22] local.INFO: Extracted packet for processing {"connection_id":191422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b0"} 
[2026-09-24 19:23:22] local.INFO: GPS Element Parsed {"raw_longitude":756624512,"raw_latitude":119536688,"longitude_deg":75.6624512,"latitude_deg":11.9536688,"altitude":49,"angle":108,"satellites":45,"speed":14,"hex_longitude":"2d192c80","hex_latitude":"071ffc30","is_valid_coordinates":true} 
[2026-09-24 19:23: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-09-24 19:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306028800001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047524654776320,"note":"Value kept but may cause issues"} 
[2026-09-24 19:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1813543305548185600,"note":"Value kept but may cause issues"} 
[2026-09-24 19:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790257926000,"timestamp_ms":1790257926000,"timestamp_seconds":1790257926,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b00f70"} 
[2026-09-24 19:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:23:22] 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-09-24 19:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-24 19:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:23: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-09-24 19:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306028800001,"66":13135,"102":206,"83":41984,"24":14,"16":23047524654776320,"45":1813543305548185600},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306028800001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:23:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:23:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047524654776320,"km_value":23047524654776.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1813543305548185600,"description":"Unknown IO ID 45"} 
[2026-09-24 19:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306028800001,"power":13135,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1813543305548185600}} 
[2026-09-24 19:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":191422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:23:22] local.INFO: GPS data processed {"connection_id":191422,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:23:22] local.INFO: Acknowledgment sent {"connection_id":191422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:23:28] local.INFO: TCP Data received {"connection_id":194279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:23:28] local.INFO: Processing buffer {"connection_id":194279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:23:28] local.INFO: IMEI packet received {"connection_id":194279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":194279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:23:33] local.INFO: TCP Data received {"connection_id":194279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:23:33] local.INFO: Processing buffer {"connection_id":194279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:23:33] local.INFO: IMEI packet received {"connection_id":194279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":194279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:23:34] local.INFO: TCP Data received {"connection_id":194279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:23:34] local.INFO: Processing buffer {"connection_id":194279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:23:34] local.INFO: Packet analysis {"connection_id":194279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:23:34] local.INFO: Extracted packet for processing {"connection_id":194279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:23:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305950720001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790257921000,"timestamp_ms":1790257921000,"timestamp_seconds":1790257921,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3affbe8"} 
[2026-09-24 19:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 19:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305950720001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305950720001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:23:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:23:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305950720001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":194279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:23:34] local.INFO: GPS data processed {"connection_id":194279,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:23:34] local.INFO: Acknowledgment sent {"connection_id":194279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:23:49] local.INFO: TCP Data received {"connection_id":194278,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3afe478012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3afe478012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:23:49] local.INFO: Processing buffer {"connection_id":194278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3afe478012cbd1300076cf670003f00a532..."} 
[2026-09-24 19:23:49] local.INFO: Packet analysis {"connection_id":194278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:23:49] local.INFO: Extracted packet for processing {"connection_id":194278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:23:49] local.INFO: GPS Element Parsed {"raw_longitude":750588672,"raw_latitude":124581488,"longitude_deg":75.0588672,"latitude_deg":12.4581488,"altitude":63,"angle":165,"satellites":50,"speed":0,"hex_longitude":"2cbd1300","hex_latitude":"076cf670","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306020864001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:23:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4822510744090808320,"note":"Value kept but may cause issues"} 
[2026-09-24 19:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790257915000,"timestamp_ms":1790257915000,"timestamp_seconds":1790257915,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3afe478"} 
[2026-09-24 19:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 19:23:49] 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-09-24 19: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-09-24 19:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":194278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":194278,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":194278,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306020864001,"66":27930,"75":206,"27":54016,"24":0,"16":3605341577150464,"44":-4822510744090808320},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306020864001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:23:49] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:23:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:23:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4822510744090808320,"description":"Unknown IO ID 44"} 
[2026-09-24 19:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306020864001,"power":27930,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4822510744090808320}} 
[2026-09-24 19:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":194278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891619,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:23:49] local.INFO: GPS data processed {"connection_id":194278,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:23:49] local.INFO: Acknowledgment sent {"connection_id":194278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:23:52] local.INFO: TCP Data received {"connection_id":191422,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b01f10012d193180071ffb40003300612d..."} 
[2026-09-24 19:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b01f10012d193180071ffb40003300612d..."} 
[2026-09-24 19:23:52] local.INFO: Processing buffer {"connection_id":191422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b01f10012d193180071ffb40003300612d..."} 
[2026-09-24 19:23:52] local.INFO: Packet analysis {"connection_id":191422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b0"} 
[2026-09-24 19:23:52] local.INFO: Extracted packet for processing {"connection_id":191422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b0"} 
[2026-09-24 19:23:52] local.INFO: GPS Element Parsed {"raw_longitude":756625792,"raw_latitude":119536448,"longitude_deg":75.6625792,"latitude_deg":11.9536448,"altitude":51,"angle":97,"satellites":45,"speed":11,"hex_longitude":"2d193180","hex_latitude":"071ffb40","is_valid_coordinates":true} 
[2026-09-24 19:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306029056001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047584784318464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1813965518013214720,"note":"Value kept but may cause issues"} 
[2026-09-24 19:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790257930000,"timestamp_ms":1790257930000,"timestamp_seconds":1790257930,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b01f10"} 
[2026-09-24 19:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-24 19:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306029056001,"66":13102,"102":206,"83":41984,"24":11,"16":23047584784318464,"45":1813965518013214720},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306029056001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:23:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:23:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047584784318464,"km_value":23047584784318.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1813965518013214720,"description":"Unknown IO ID 45"} 
[2026-09-24 19:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306029056001,"power":13102,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1813965518013214720}} 
[2026-09-24 19:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":191422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:23:52] local.INFO: GPS data processed {"connection_id":191422,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:23:52] local.INFO: Acknowledgment sent {"connection_id":191422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:24:05] local.INFO: TCP Data received {"connection_id":194279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:24:05] local.INFO: Processing buffer {"connection_id":194279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:24:05] local.INFO: Packet analysis {"connection_id":194279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:24:05] local.INFO: Extracted packet for processing {"connection_id":194279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:24:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305950720001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790257921000,"timestamp_ms":1790257921000,"timestamp_seconds":1790257921,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3affbe8"} 
[2026-09-24 19:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 19:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305950720001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305950720001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:24:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:24:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305950720001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":194279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:24:05] local.INFO: GPS data processed {"connection_id":194279,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:24:05] local.INFO: Acknowledgment sent {"connection_id":194279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:24:06] local.INFO: TCP Data received {"connection_id":194280,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194280,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:24:06] local.INFO: Processing buffer {"connection_id":194280,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:24:06] local.INFO: IMEI packet received {"connection_id":194280,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":194280,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:24:11] local.INFO: TCP Data received {"connection_id":194280,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194280,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:24:11] local.INFO: Processing buffer {"connection_id":194280,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:24:11] local.INFO: IMEI packet received {"connection_id":194280,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":194280,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:24:16] local.INFO: TCP Data received {"connection_id":191423,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:24:16] local.INFO: Processing buffer {"connection_id":191423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:24:16] local.INFO: IMEI packet received {"connection_id":191423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":191423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:24:20] local.INFO: TCP Data received {"connection_id":194280,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b03680012cbd1f00076cc0e0003d00a933..."} 
[2026-09-24 19:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b03680012cbd1f00076cc0e0003d00a933..."} 
[2026-09-24 19:24:20] local.INFO: Processing buffer {"connection_id":194280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b03680012cbd1f00076cc0e0003d00a933..."} 
[2026-09-24 19:24:20] local.INFO: Packet analysis {"connection_id":194280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b0"} 
[2026-09-24 19:24:20] local.INFO: Extracted packet for processing {"connection_id":194280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b0"} 
[2026-09-24 19:24:20] local.INFO: GPS Element Parsed {"raw_longitude":750591744,"raw_latitude":124567776,"longitude_deg":75.0591744,"latitude_deg":12.4567776,"altitude":61,"angle":169,"satellites":51,"speed":0,"hex_longitude":"2cbd1f00","hex_latitude":"076cc0e0","is_valid_coordinates":true} 
[2026-09-24 19:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306026240001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:24:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4822510744090808320,"note":"Value kept but may cause issues"} 
[2026-09-24 19:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790257936000,"timestamp_ms":1790257936000,"timestamp_seconds":1790257936,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b03680"} 
[2026-09-24 19:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-24 19:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":194280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":194280,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":194280,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306026240001,"66":27952,"75":206,"27":54016,"24":0,"16":3605341577150464,"44":-4822510744090808320},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-09-24 19:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306026240001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:24:20] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-24 19:24:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:24:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4822510744090808320,"description":"Unknown IO ID 44"} 
[2026-09-24 19:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306026240001,"power":27952,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4822510744090808320}} 
[2026-09-24 19:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":194280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891622,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:24:20] local.INFO: GPS data processed {"connection_id":194280,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:24:20] local.INFO: Acknowledgment sent {"connection_id":194280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:24:21] local.INFO: TCP Data received {"connection_id":191423,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:24:21] local.INFO: Processing buffer {"connection_id":191423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:24:21] local.INFO: IMEI packet received {"connection_id":191423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":191423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:24:21] local.INFO: TCP Data received {"connection_id":191423,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b07118012d193c40071ffa280036005a2a..."} 
[2026-09-24 19:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b07118012d193c40071ffa280036005a2a..."} 
[2026-09-24 19:24:21] local.INFO: Processing buffer {"connection_id":191423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b07118012d193c40071ffa280036005a2a..."} 
[2026-09-24 19:24:21] local.INFO: Packet analysis {"connection_id":191423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b0"} 
[2026-09-24 19:24:21] local.INFO: Extracted packet for processing {"connection_id":191423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b0"} 
[2026-09-24 19:24:21] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536168,"longitude_deg":75.6628544,"latitude_deg":11.9536168,"altitude":54,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306030080001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047717928304640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1815372892896706560,"note":"Value kept but may cause issues"} 
[2026-09-24 19:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790257951000,"timestamp_ms":1790257951000,"timestamp_seconds":1790257951,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b07118"} 
[2026-09-24 19:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:24: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-09-24 19:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-24 19:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306030080001,"66":13080,"102":206,"83":41984,"24":0,"16":23047717928304640,"45":1815372892896706560},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306030080001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:24:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:24:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047717928304640,"km_value":23047717928304.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1815372892896706560,"description":"Unknown IO ID 45"} 
[2026-09-24 19:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306030080001,"power":13080,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1815372892896706560}} 
[2026-09-24 19:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":191423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:24:21] local.INFO: GPS data processed {"connection_id":191423,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:24:21] local.INFO: Acknowledgment sent {"connection_id":191423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:24:27] local.INFO: TCP Data received {"connection_id":191618,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:24:27] local.INFO: Processing buffer {"connection_id":191618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:24:27] local.INFO: IMEI packet received {"connection_id":191618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":191618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:24:32] local.INFO: TCP Data received {"connection_id":191618,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:24:32] local.INFO: Processing buffer {"connection_id":191618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:24:32] local.INFO: IMEI packet received {"connection_id":191618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":191618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:24:34] local.INFO: TCP Data received {"connection_id":191618,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:24:34] local.INFO: Processing buffer {"connection_id":191618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:24:34] local.INFO: Packet analysis {"connection_id":191618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:24:34] local.INFO: Extracted packet for processing {"connection_id":191618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:24:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 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-09-24 19:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305950720001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790257921000,"timestamp_ms":1790257921000,"timestamp_seconds":1790257921,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3affbe8"} 
[2026-09-24 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-09-24 19:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 19:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 19:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305950720001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305950720001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:24:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:24:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305950720001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":191618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:24:34] local.INFO: GPS data processed {"connection_id":191618,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:24:34] local.INFO: Acknowledgment sent {"connection_id":191618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:24:52] local.INFO: TCP Data received {"connection_id":191423,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b0c320012d193c40071ffa280036005a2c..."} 
[2026-09-24 19:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b0c320012d193c40071ffa280036005a2c..."} 
[2026-09-24 19:24:52] local.INFO: Processing buffer {"connection_id":191423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b0c320012d193c40071ffa280036005a2c..."} 
[2026-09-24 19:24:52] local.INFO: Packet analysis {"connection_id":191423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b0"} 
[2026-09-24 19:24:52] local.INFO: Extracted packet for processing {"connection_id":191423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b0"} 
[2026-09-24 19:24:52] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536168,"longitude_deg":75.6628544,"latitude_deg":11.9536168,"altitude":54,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-09-24 19:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306035456001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047717928304640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896274432,"note":"Value kept but may cause issues"} 
[2026-09-24 19:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790257972000,"timestamp_ms":1790257972000,"timestamp_seconds":1790257972,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b0c320"} 
[2026-09-24 19:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-24 19:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306035456001,"66":13004,"102":206,"83":41984,"24":0,"16":23047717928304640,"45":1818398748896274432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306035456001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:24:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:24:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047717928304640,"km_value":23047717928304.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896274432,"description":"Unknown IO ID 45"} 
[2026-09-24 19:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306035456001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896274432}} 
[2026-09-24 19:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":191423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:24:52] local.INFO: GPS data processed {"connection_id":191423,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:24:52] local.INFO: Acknowledgment sent {"connection_id":191423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:25:05] local.INFO: TCP Data received {"connection_id":191618,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:25:05] local.INFO: Processing buffer {"connection_id":191618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:25:05] local.INFO: Packet analysis {"connection_id":191618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:25:05] local.INFO: Extracted packet for processing {"connection_id":191618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:25:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305950720001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790257921000,"timestamp_ms":1790257921000,"timestamp_seconds":1790257921,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3affbe8"} 
[2026-09-24 19:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 19:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305950720001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305950720001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:25:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:25:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305950720001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":191618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:25:05] local.INFO: GPS data processed {"connection_id":191618,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:25:05] local.INFO: Acknowledgment sent {"connection_id":191618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:25:11] local.INFO: TCP Data received {"connection_id":191424,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:25:11] local.INFO: Processing buffer {"connection_id":191424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:25:11] local.INFO: IMEI packet received {"connection_id":191424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":191424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:25:12] local.INFO: TCP Data received {"connection_id":191424,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:25:12] local.INFO: Processing buffer {"connection_id":191424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:25:12] local.INFO: IMEI packet received {"connection_id":191424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":191424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:25:15] local.INFO: TCP Data received {"connection_id":193003,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:25:15] local.INFO: Processing buffer {"connection_id":193003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:25:15] local.INFO: IMEI packet received {"connection_id":193003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":193003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:25:16] local.INFO: TCP Data received {"connection_id":193003,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:25:16] local.INFO: Processing buffer {"connection_id":193003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:25:16] local.INFO: IMEI packet received {"connection_id":193003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":193003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:25:16] local.INFO: TCP Data received {"connection_id":191424,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:25:16] local.INFO: Processing buffer {"connection_id":191424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:25:16] local.INFO: IMEI packet received {"connection_id":191424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":191424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:25:21] local.INFO: TCP Data received {"connection_id":193003,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:25:21] local.INFO: Processing buffer {"connection_id":193003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:25:21] local.INFO: IMEI packet received {"connection_id":193003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":193003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:25:22] local.INFO: TCP Data received {"connection_id":193003,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b11528012d193c40071ffa280036005a2d..."} 
[2026-09-24 19:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b11528012d193c40071ffa280036005a2d..."} 
[2026-09-24 19:25:22] local.INFO: Processing buffer {"connection_id":193003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b11528012d193c40071ffa280036005a2d..."} 
[2026-09-24 19:25:22] local.INFO: Packet analysis {"connection_id":193003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b1"} 
[2026-09-24 19:25:22] local.INFO: Extracted packet for processing {"connection_id":193003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b1"} 
[2026-09-24 19:25:22] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536168,"longitude_deg":75.6628544,"latitude_deg":11.9536168,"altitude":54,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-09-24 19:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306040832001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047717928304640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896274432,"note":"Value kept but may cause issues"} 
[2026-09-24 19:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790257993000,"timestamp_ms":1790257993000,"timestamp_seconds":1790257993,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b11528"} 
[2026-09-24 19:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:25:22] 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-09-24 19:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-24 19:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306040832001,"66":12885,"102":206,"83":41984,"24":0,"16":23047717928304640,"45":1818398748896274432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306040832001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:25:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:25:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047717928304640,"km_value":23047717928304.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896274432,"description":"Unknown IO ID 45"} 
[2026-09-24 19:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306040832001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896274432}} 
[2026-09-24 19:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":193003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:25:22] local.INFO: GPS data processed {"connection_id":193003,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:25:22] local.INFO: Acknowledgment sent {"connection_id":193003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:25:26] local.INFO: TCP Data received {"connection_id":191424,"ip":"117.224.9.235","data_length":1360,"data_hex":"000000000000030f8e0a000001a0d3b11cf80100000000000000000000000000..."} 
[2026-09-24 19:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191424,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a0d3b11cf80100000000000000000000000000..."} 
[2026-09-24 19:25:26] local.INFO: Processing buffer {"connection_id":191424,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a0d3b11cf80100000000000000000000000000..."} 
[2026-09-24 19:25:26] local.INFO: Packet analysis {"connection_id":191424,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a0d3b1"} 
[2026-09-24 19:25:26] local.INFO: Extracted packet for processing {"connection_id":191424,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a0d3b1"} 
[2026-09-24 19:25:26] 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-09-24 19:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306031616001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:25:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819133044373790720,"note":"Value kept but may cause issues"} 
[2026-09-24 19:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790257995000,"timestamp_ms":1790257995000,"timestamp_seconds":1790257995,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b11cf8"} 
[2026-09-24 19:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 19:25:26] 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-09-24 19:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":191424,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 19:25:26] local.INFO: GPS data processed {"connection_id":191424,"processed":0,"errors":0,"total":1} 
[2026-09-24 19:25:26] local.INFO: Acknowledgment sent {"connection_id":191424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:25:26] local.INFO: Packet analysis {"connection_id":191424,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a0d3b0"} 
[2026-09-24 19:25:26] local.INFO: Incomplete packet, waiting for more data {"connection_id":191424,"needed":795,"available":565} 
[2026-09-24 19:25:28] local.INFO: TCP Data received {"connection_id":191619,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:25:28] local.INFO: Processing buffer {"connection_id":191619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:25:28] local.INFO: IMEI packet received {"connection_id":191619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":191619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:25:29] local.INFO: TCP Data received {"connection_id":191424,"ip":"117.224.9.235","data_length":1025,"data_hex":"2cbd1300076cf670003f00a53200000000000a000400ef0100715200f0010045..."} 
[2026-09-24 19:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191424,"packet_length":1025,"packet_hex":"2cbd1300076cf670003f00a53200000000000a000400ef0100715200f0010045..."} 
[2026-09-24 19:25:29] local.INFO: Processing buffer {"connection_id":191424,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0d3b0a7c8012cbd3880076c2f08003900aa30..."} 
[2026-09-24 19:25:29] local.INFO: Packet analysis {"connection_id":191424,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d3b0"} 
[2026-09-24 19:25:29] local.INFO: Extracted packet for processing {"connection_id":191424,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b0"} 
[2026-09-24 19:25:29] local.INFO: GPS Element Parsed {"raw_longitude":750598272,"raw_latitude":124530440,"longitude_deg":75.0598272,"latitude_deg":12.453044,"altitude":57,"angle":170,"satellites":48,"speed":46,"hex_longitude":"2cbd3880","hex_latitude":"076c2f08","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:25:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,122,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 19:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790257965000,"timestamp_ms":1790257965000,"timestamp_seconds":1790257965,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b0a7c8"} 
[2026-09-24 19:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 19:25:29] 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-09-24 19: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-09-24 19:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":191424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":191424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":191424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27800,"122":206,"27":54016,"24":46,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16]} 
[2026-09-24 19:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 19:25:29] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-24 19:25:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:25:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27800,"unknown_122":206,"unknown_27":54016,"ignition":46,"odometer":null}} 
[2026-09-24 19:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":191424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891628,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:25:29] local.INFO: GPS data processed {"connection_id":191424,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:25:29] local.INFO: Acknowledgment sent {"connection_id":191424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:25:29] local.INFO: Packet analysis {"connection_id":191424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b0"} 
[2026-09-24 19:25:29] local.INFO: Extracted packet for processing {"connection_id":191424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b0"} 
[2026-09-24 19:25:29] local.INFO: GPS Element Parsed {"raw_longitude":750602944,"raw_latitude":124510992,"longitude_deg":75.0602944,"latitude_deg":12.4510992,"altitude":60,"angle":157,"satellites":51,"speed":46,"hex_longitude":"2cbd4ac0","hex_latitude":"076be310","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306039040001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:25:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4811955432477227008,"note":"Value kept but may cause issues"} 
[2026-09-24 19:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790257982000,"timestamp_ms":1790257982000,"timestamp_seconds":1790257982,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b0ea30"} 
[2026-09-24 19:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-24 19:25:29] 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-09-24 19: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-09-24 19:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":191424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":191424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":191424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306039040001,"66":28050,"122":206,"27":54016,"24":46,"16":3605341577150464,"44":-4811955432477227008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-09-24 19:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306039040001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:25:29] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-24 19:25:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:25:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4811955432477227008,"description":"Unknown IO ID 44"} 
[2026-09-24 19:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306039040001,"power":28050,"unknown_122":206,"unknown_27":54016,"ignition":46,"odometer":null,"unknown_44":-4811955432477227008}} 
[2026-09-24 19:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":191424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891629,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:25:29] local.INFO: GPS data processed {"connection_id":191424,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:25:29] local.INFO: Acknowledgment sent {"connection_id":191424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:25:33] local.INFO: TCP Data received {"connection_id":191619,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:25:33] local.INFO: Processing buffer {"connection_id":191619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:25:33] local.INFO: IMEI packet received {"connection_id":191619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":191619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:25:34] local.INFO: TCP Data received {"connection_id":191619,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:25:34] local.INFO: Processing buffer {"connection_id":191619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:25:34] local.INFO: Packet analysis {"connection_id":191619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:25:34] local.INFO: Extracted packet for processing {"connection_id":191619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:25:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305950720001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790257921000,"timestamp_ms":1790257921000,"timestamp_seconds":1790257921,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3affbe8"} 
[2026-09-24 19:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 19:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305950720001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305950720001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:25:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:25:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305950720001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":191619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:25:34] local.INFO: GPS data processed {"connection_id":191619,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:25:34] local.INFO: Acknowledgment sent {"connection_id":191619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:25:53] local.INFO: TCP Data received {"connection_id":193003,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b16730012d193c40071ffa280036005a2a..."} 
[2026-09-24 19:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b16730012d193c40071ffa280036005a2a..."} 
[2026-09-24 19:25:53] local.INFO: Processing buffer {"connection_id":193003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b16730012d193c40071ffa280036005a2a..."} 
[2026-09-24 19:25:53] local.INFO: Packet analysis {"connection_id":193003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b1"} 
[2026-09-24 19:25:53] local.INFO: Extracted packet for processing {"connection_id":193003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b1"} 
[2026-09-24 19:25:53] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536168,"longitude_deg":75.6628544,"latitude_deg":11.9536168,"altitude":54,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-09-24 19:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306046208001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047717928304640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896274432,"note":"Value kept but may cause issues"} 
[2026-09-24 19:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790258014000,"timestamp_ms":1790258014000,"timestamp_seconds":1790258014,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b16730"} 
[2026-09-24 19:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-24 19:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":193003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":193003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":193003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306046208001,"66":12841,"102":206,"83":41984,"24":0,"16":23047717928304640,"45":1818398748896274432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306046208001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:25:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:25:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047717928304640,"km_value":23047717928304.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896274432,"description":"Unknown IO ID 45"} 
[2026-09-24 19:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306046208001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896274432}} 
[2026-09-24 19:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":193003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:25:53] local.INFO: GPS data processed {"connection_id":193003,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:25:53] local.INFO: Acknowledgment sent {"connection_id":193003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:26:06] local.INFO: TCP Data received {"connection_id":191619,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:26:06] local.INFO: Processing buffer {"connection_id":191619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:26:06] local.INFO: Packet analysis {"connection_id":191619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:26:06] local.INFO: Extracted packet for processing {"connection_id":191619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:26:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305950720001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790257921000,"timestamp_ms":1790257921000,"timestamp_seconds":1790257921,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3affbe8"} 
[2026-09-24 19:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 19:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305950720001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305950720001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:26:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:26:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305950720001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":191619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:26:06] local.INFO: GPS data processed {"connection_id":191619,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:26:06] local.INFO: Acknowledgment sent {"connection_id":191619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:26:12] local.INFO: TCP Data received {"connection_id":191620,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:26:12] local.INFO: Processing buffer {"connection_id":191620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:26:12] local.INFO: IMEI packet received {"connection_id":191620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":191620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:26:16] local.INFO: TCP Data received {"connection_id":194281,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:26:16] local.INFO: Processing buffer {"connection_id":194281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:26:16] local.INFO: IMEI packet received {"connection_id":194281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":194281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:26:17] local.INFO: TCP Data received {"connection_id":191620,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:26:17] local.INFO: Processing buffer {"connection_id":191620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:26:17] local.INFO: IMEI packet received {"connection_id":191620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":191620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:26:18] local.INFO: TCP Data received {"connection_id":191620,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:26:18] local.INFO: Processing buffer {"connection_id":191620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:26:18] local.INFO: IMEI packet received {"connection_id":191620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":191620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:26:18] local.INFO: TCP Data received {"connection_id":194281,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:26:18] local.INFO: Processing buffer {"connection_id":194281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:26:18] local.INFO: IMEI packet received {"connection_id":194281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":194281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:26:21] local.INFO: TCP Data received {"connection_id":191620,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:26:21] local.INFO: Processing buffer {"connection_id":191620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:26:21] local.INFO: IMEI packet received {"connection_id":191620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":191620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:26:22] local.INFO: TCP Data received {"connection_id":194281,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:26:22] local.INFO: Processing buffer {"connection_id":194281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:26:22] local.INFO: IMEI packet received {"connection_id":194281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":194281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:26:22] local.INFO: TCP Data received {"connection_id":194281,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b1b938012d193c40071ffa280036005a2c..."} 
[2026-09-24 19:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b1b938012d193c40071ffa280036005a2c..."} 
[2026-09-24 19:26:22] local.INFO: Processing buffer {"connection_id":194281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b1b938012d193c40071ffa280036005a2c..."} 
[2026-09-24 19:26:22] local.INFO: Packet analysis {"connection_id":194281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b1"} 
[2026-09-24 19:26:22] local.INFO: Extracted packet for processing {"connection_id":194281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b1"} 
[2026-09-24 19:26:22] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536168,"longitude_deg":75.6628544,"latitude_deg":11.9536168,"altitude":54,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-09-24 19:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306051584001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047717928304640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896274432,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790258035000,"timestamp_ms":1790258035000,"timestamp_seconds":1790258035,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b1b938"} 
[2026-09-24 19:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:26:22] 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-09-24 19:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-24 19:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306051584001,"66":12819,"102":206,"83":41984,"24":0,"16":23047717928304640,"45":1818398748896274432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306051584001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:26:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:26:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047717928304640,"km_value":23047717928304.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896274432,"description":"Unknown IO ID 45"} 
[2026-09-24 19:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306051584001,"power":12819,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896274432}} 
[2026-09-24 19:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":194281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:26:22] local.INFO: GPS data processed {"connection_id":194281,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:26:22] local.INFO: Acknowledgment sent {"connection_id":194281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:26:23] local.INFO: TCP Data received {"connection_id":191620,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b12c98012cbd7740076ba560003f008531..."} 
[2026-09-24 19:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b12c98012cbd7740076ba560003f008531..."} 
[2026-09-24 19:26:23] local.INFO: Processing buffer {"connection_id":191620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b12c98012cbd7740076ba560003f008531..."} 
[2026-09-24 19:26:23] local.INFO: Packet analysis {"connection_id":191620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b1"} 
[2026-09-24 19:26:23] local.INFO: Extracted packet for processing {"connection_id":191620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b1"} 
[2026-09-24 19:26:23] local.INFO: GPS Element Parsed {"raw_longitude":750614336,"raw_latitude":124495200,"longitude_deg":75.0614336,"latitude_deg":12.44952,"altitude":63,"angle":133,"satellites":49,"speed":45,"hex_longitude":"2cbd7740","hex_latitude":"076ba560","is_valid_coordinates":true} 
[2026-09-24 19:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306043392001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4806818514157236224,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790257999000,"timestamp_ms":1790257999000,"timestamp_seconds":1790257999,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b12c98"} 
[2026-09-24 19:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-24 19:26:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306043392001,"66":27952,"122":206,"27":54016,"24":45,"16":3605341577150464,"44":-4806818514157236224},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-09-24 19:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306043392001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:26:23] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-24 19:26:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:26:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4806818514157236224,"description":"Unknown IO ID 44"} 
[2026-09-24 19:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306043392001,"power":27952,"unknown_122":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-4806818514157236224}} 
[2026-09-24 19:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":191620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891634,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:26:23] local.INFO: GPS data processed {"connection_id":191620,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:26:23] local.INFO: Acknowledgment sent {"connection_id":191620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:26:27] local.INFO: TCP Data received {"connection_id":194282,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:26:27] local.INFO: Processing buffer {"connection_id":194282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:26:27] local.INFO: IMEI packet received {"connection_id":194282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":194282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:26:32] local.INFO: TCP Data received {"connection_id":194282,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:26:32] local.INFO: Processing buffer {"connection_id":194282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:26:32] local.INFO: IMEI packet received {"connection_id":194282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":194282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:26:33] local.INFO: TCP Data received {"connection_id":194282,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:26:33] local.INFO: Processing buffer {"connection_id":194282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:26:33] local.INFO: Packet analysis {"connection_id":194282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:26:33] local.INFO: Extracted packet for processing {"connection_id":194282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:26:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305950720001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790257921000,"timestamp_ms":1790257921000,"timestamp_seconds":1790257921,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3affbe8"} 
[2026-09-24 19:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 19:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305950720001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305950720001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:26:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:26:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305950720001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":194282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:26:33] local.INFO: GPS data processed {"connection_id":194282,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:26:33] local.INFO: Acknowledgment sent {"connection_id":194282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:26:53] local.INFO: TCP Data received {"connection_id":194281,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b20b40012d193c40071ffa280036005a2b..."} 
[2026-09-24 19:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b20b40012d193c40071ffa280036005a2b..."} 
[2026-09-24 19:26:53] local.INFO: Processing buffer {"connection_id":194281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b20b40012d193c40071ffa280036005a2b..."} 
[2026-09-24 19:26:53] local.INFO: Packet analysis {"connection_id":194281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b2"} 
[2026-09-24 19:26:53] local.INFO: Extracted packet for processing {"connection_id":194281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b2"} 
[2026-09-24 19:26:53] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536168,"longitude_deg":75.6628544,"latitude_deg":11.9536168,"altitude":54,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-09-24 19:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306056960001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047717928304640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896274432,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790258056000,"timestamp_ms":1790258056000,"timestamp_seconds":1790258056,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b20b40"} 
[2026-09-24 19:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-24 19:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:53] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3338665984,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:53] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3551530864,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:53] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:53] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":13465702,"corrected_to":0} 
[2026-09-24 19:26:53] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503951304359936,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:53] local.WARNING: Large IO value detected {"io_id":211,"raw_value":-5761361759657448704,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:53] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6197216974351958272,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-09-24 19:26:53] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182208234782976,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:53] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775845987405395,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:53] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3785883648,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:53] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2304928216344722477,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:53] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755459570729201,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:53] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195097856,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:53] local.WARNING: Large IO value detected {"io_id":184,"raw_value":84751631874727934,"note":"Value kept but may cause issues"} 
[2026-09-24 19:26:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13511418112380672,"corrected_to":0} 
[2026-09-24 19:26:53] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,225,160,103,45,64,250,54,42,10,66,21,195,1,240,204,227,211,31,4,113,205,49,239,51,2,81,7,14,164,154,69,184,200],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":204,"original":13465702,"validated":0},{"io_id":205,"original":8675622618342359064,"validated":0},{"io_id":200,"original":13511418112380672,"validated":0}]} 
[2026-09-24 19:26:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891209223073169408,"timestamp_seconds":3891209223073169.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 19:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306056960001,"66":12743,"102":206,"83":41984,"24":0,"16":23047717928304640,"45":1818398748896274432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306056960001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:26:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:26:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047717928304640,"km_value":23047717928304.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896274432,"description":"Unknown IO ID 45"} 
[2026-09-24 19:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306056960001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896274432}} 
[2026-09-24 19:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":194281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:26:54] local.INFO: GPS data processed {"connection_id":194281,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:26:54] local.INFO: Acknowledgment sent {"connection_id":194281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:27:04] local.INFO: TCP Data received {"connection_id":194282,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:27:04] local.INFO: Processing buffer {"connection_id":194282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:27:04] local.INFO: Packet analysis {"connection_id":194282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:27:04] local.INFO: Extracted packet for processing {"connection_id":194282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:27:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305950720001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790257921000,"timestamp_ms":1790257921000,"timestamp_seconds":1790257921,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3affbe8"} 
[2026-09-24 19:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 19:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305950720001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305950720001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:27:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:27:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305950720001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":194282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:27:04] local.INFO: GPS data processed {"connection_id":194282,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:27:04] local.INFO: Acknowledgment sent {"connection_id":194282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:27:11] local.INFO: TCP Data received {"connection_id":194283,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:27:11] local.INFO: Processing buffer {"connection_id":194283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:27:11] local.INFO: IMEI packet received {"connection_id":194283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":194283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:27:17] local.INFO: TCP Data received {"connection_id":194283,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:27:17] local.INFO: Processing buffer {"connection_id":194283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:27:17] local.INFO: IMEI packet received {"connection_id":194283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":194283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:27:19] local.INFO: TCP Data received {"connection_id":194283,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b16f00012cbda6c0076b70280042009332..."} 
[2026-09-24 19:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b16f00012cbda6c0076b70280042009332..."} 
[2026-09-24 19:27:19] local.INFO: Processing buffer {"connection_id":194283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b16f00012cbda6c0076b70280042009332..."} 
[2026-09-24 19:27:19] local.INFO: Packet analysis {"connection_id":194283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b1"} 
[2026-09-24 19:27:19] local.INFO: Extracted packet for processing {"connection_id":194283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b1"} 
[2026-09-24 19:27:19] local.INFO: GPS Element Parsed {"raw_longitude":750626496,"raw_latitude":124481576,"longitude_deg":75.0626496,"latitude_deg":12.4481576,"altitude":66,"angle":147,"satellites":50,"speed":39,"hex_longitude":"2cbda6c0","hex_latitude":"076b7028","is_valid_coordinates":true} 
[2026-09-24 19:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306047744001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:27:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4794292877697654784,"note":"Value kept but may cause issues"} 
[2026-09-24 19:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790258016000,"timestamp_ms":1790258016000,"timestamp_seconds":1790258016,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b16f00"} 
[2026-09-24 19:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 19:27:19] 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-09-24 19:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":194283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":194283,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":194283,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306047744001,"66":27821,"122":206,"27":54016,"24":39,"16":3605341577150464,"44":-4794292877697654784},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-09-24 19:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306047744001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:27:19] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-24 19:27:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:27:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4794292877697654784,"description":"Unknown IO ID 44"} 
[2026-09-24 19:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306047744001,"power":27821,"unknown_122":206,"unknown_27":54016,"ignition":39,"odometer":null,"unknown_44":-4794292877697654784}} 
[2026-09-24 19:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":194283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891638,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:27:19] local.INFO: GPS data processed {"connection_id":194283,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:27:19] local.INFO: Acknowledgment sent {"connection_id":194283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:27:21] local.INFO: TCP Data received {"connection_id":191621,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:27:21] local.INFO: Processing buffer {"connection_id":191621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:27:21] local.INFO: IMEI packet received {"connection_id":191621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":191621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:27:21] local.INFO: TCP Data received {"connection_id":191621,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:27:21] local.INFO: Processing buffer {"connection_id":191621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:27:21] local.INFO: IMEI packet received {"connection_id":191621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":191621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:27:27] local.INFO: TCP Data received {"connection_id":191621,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:27:27] local.INFO: Processing buffer {"connection_id":191621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:27:27] local.INFO: IMEI packet received {"connection_id":191621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":191621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:27:27] local.INFO: TCP Data received {"connection_id":191621,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b25d48012d193c40071ffa280036005a2b..."} 
[2026-09-24 19:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b25d48012d193c40071ffa280036005a2b..."} 
[2026-09-24 19:27:27] local.INFO: Processing buffer {"connection_id":191621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b25d48012d193c40071ffa280036005a2b..."} 
[2026-09-24 19:27:27] local.INFO: Packet analysis {"connection_id":191621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b2"} 
[2026-09-24 19:27:27] local.INFO: Extracted packet for processing {"connection_id":191621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b2"} 
[2026-09-24 19:27:27] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536168,"longitude_deg":75.6628544,"latitude_deg":11.9536168,"altitude":54,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-09-24 19:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306062336001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047717928304640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896274432,"note":"Value kept but may cause issues"} 
[2026-09-24 19:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790258077000,"timestamp_ms":1790258077000,"timestamp_seconds":1790258077,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b25d48"} 
[2026-09-24 19:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-24 19:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306062336001,"66":12689,"102":206,"83":41984,"24":0,"16":23047717928304640,"45":1818398748896274432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306062336001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:27:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:27:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047717928304640,"km_value":23047717928304.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896274432,"description":"Unknown IO ID 45"} 
[2026-09-24 19:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306062336001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896274432}} 
[2026-09-24 19:27:27] local.INFO: TCP Data received {"connection_id":191425,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:27:27] local.INFO: Processing buffer {"connection_id":191425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:27:27] local.INFO: IMEI packet received {"connection_id":191425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":191425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":191621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:27:27] local.INFO: GPS data processed {"connection_id":191621,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:27:27] local.INFO: Acknowledgment sent {"connection_id":191621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:27:31] local.INFO: TCP Data received {"connection_id":191621,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b2af50012d193c40071ffa280036005a2b..."} 
[2026-09-24 19:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b2af50012d193c40071ffa280036005a2b..."} 
[2026-09-24 19:27:31] local.INFO: Processing buffer {"connection_id":191621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b2af50012d193c40071ffa280036005a2b..."} 
[2026-09-24 19:27:31] local.INFO: Packet analysis {"connection_id":191621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b2"} 
[2026-09-24 19:27:31] local.INFO: Extracted packet for processing {"connection_id":191621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b2"} 
[2026-09-24 19:27:31] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536168,"longitude_deg":75.6628544,"latitude_deg":11.9536168,"altitude":54,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-09-24 19:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306067712001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047717928304640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896274432,"note":"Value kept but may cause issues"} 
[2026-09-24 19:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790258098000,"timestamp_ms":1790258098000,"timestamp_seconds":1790258098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b2af50"} 
[2026-09-24 19:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-24 19:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":191621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":191621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":191621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306067712001,"66":12689,"102":206,"83":41984,"24":0,"16":23047717928304640,"45":1818398748896274432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306067712001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:27:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:27:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047717928304640,"km_value":23047717928304.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896274432,"description":"Unknown IO ID 45"} 
[2026-09-24 19:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306067712001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896274432}} 
[2026-09-24 19:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":191621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:27:32] local.INFO: GPS data processed {"connection_id":191621,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:27:32] local.INFO: Acknowledgment sent {"connection_id":191621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:27:33] local.INFO: TCP Data received {"connection_id":191425,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:27:33] local.INFO: Processing buffer {"connection_id":191425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:27:33] local.INFO: IMEI packet received {"connection_id":191425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":191425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:27:34] local.INFO: TCP Data received {"connection_id":191425,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:27:34] local.INFO: Processing buffer {"connection_id":191425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3affbe8012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:27:34] local.INFO: Packet analysis {"connection_id":191425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:27:34] local.INFO: Extracted packet for processing {"connection_id":191425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3af"} 
[2026-09-24 19:27:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458305950720001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790257921000,"timestamp_ms":1790257921000,"timestamp_seconds":1790257921,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3affbe8"} 
[2026-09-24 19:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 19:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458305950720001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458305950720001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:27:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:27:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458305950720001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":191425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:27:34] local.INFO: GPS data processed {"connection_id":191425,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:27:34] local.INFO: Acknowledgment sent {"connection_id":191425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:28:05] local.INFO: TCP Data received {"connection_id":191425,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:28:05] local.INFO: Processing buffer {"connection_id":191425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:28:05] local.INFO: Packet analysis {"connection_id":191425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:28:05] local.INFO: Extracted packet for processing {"connection_id":191425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:28:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306027776001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790258222000,"timestamp_ms":1790258222000,"timestamp_seconds":1790258222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b493b0"} 
[2026-09-24 19:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:28: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-09-24 19: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-09-24 19:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306027776001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306027776001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:28:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:28:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306027776001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":191425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:28:05] local.INFO: GPS data processed {"connection_id":191425,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:28:05] local.INFO: Acknowledgment sent {"connection_id":191425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:28:06] local.INFO: TCP Data received {"connection_id":191426,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:28:06] local.INFO: Processing buffer {"connection_id":191426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:28:06] local.INFO: IMEI packet received {"connection_id":191426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":191426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:28:11] local.INFO: TCP Data received {"connection_id":191426,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:28:11] local.INFO: Processing buffer {"connection_id":191426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:28:11] local.INFO: IMEI packet received {"connection_id":191426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":191426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:28:12] local.INFO: TCP Data received {"connection_id":191426,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b460e8012cbf28800768a588004f006e32..."} 
[2026-09-24 19:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b460e8012cbf28800768a588004f006e32..."} 
[2026-09-24 19:28:12] local.INFO: Processing buffer {"connection_id":191426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b460e8012cbf28800768a588004f006e32..."} 
[2026-09-24 19:28:12] local.INFO: Packet analysis {"connection_id":191426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:28:12] local.INFO: Extracted packet for processing {"connection_id":191426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:28:12] local.INFO: GPS Element Parsed {"raw_longitude":750725248,"raw_latitude":124298632,"longitude_deg":75.0725248,"latitude_deg":12.4298632,"altitude":79,"angle":110,"satellites":50,"speed":0,"hex_longitude":"2cbf2880","hex_latitude":"0768a588","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306096128001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:28:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4692610042410117120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790258209000,"timestamp_ms":1790258209000,"timestamp_seconds":1790258209,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b460e8"} 
[2026-09-24 19:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-24 19:28:12] 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-09-24 19: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-09-24 19:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306096128001,"66":27995,"121":206,"27":54016,"24":0,"16":3605341577150464,"44":-4692610042410117120},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,27,24,16,44]} 
[2026-09-24 19:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306096128001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:28:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-24 19:28:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:28:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4692610042410117120,"description":"Unknown IO ID 44"} 
[2026-09-24 19:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306096128001,"power":27995,"unknown_121":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4692610042410117120}} 
[2026-09-24 19:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":191426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891643,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:28:12] local.INFO: GPS data processed {"connection_id":191426,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:28:12] local.INFO: Acknowledgment sent {"connection_id":191426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:28:16] local.INFO: TCP Data received {"connection_id":193004,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:28:16] local.INFO: Processing buffer {"connection_id":193004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:28:16] local.INFO: IMEI packet received {"connection_id":193004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":193004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:28:21] local.INFO: TCP Data received {"connection_id":193004,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:28:21] local.INFO: Processing buffer {"connection_id":193004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:28:21] local.INFO: IMEI packet received {"connection_id":193004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":193004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:28:22] local.INFO: TCP Data received {"connection_id":193004,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b30158012d193c40071ffa280036005a2d..."} 
[2026-09-24 19:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b30158012d193c40071ffa280036005a2d..."} 
[2026-09-24 19:28:22] local.INFO: Processing buffer {"connection_id":193004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b30158012d193c40071ffa280036005a2d..."} 
[2026-09-24 19:28:22] local.INFO: Packet analysis {"connection_id":193004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b3"} 
[2026-09-24 19:28:22] local.INFO: Extracted packet for processing {"connection_id":193004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b3"} 
[2026-09-24 19:28:22] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536168,"longitude_deg":75.6628544,"latitude_deg":11.9536168,"altitude":54,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-09-24 19:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306073088001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047717928304640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896274432,"note":"Value kept but may cause issues"} 
[2026-09-24 19:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790258119000,"timestamp_ms":1790258119000,"timestamp_seconds":1790258119,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b30158"} 
[2026-09-24 19:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:28:22] 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-09-24 19:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-24 19:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306073088001,"66":12645,"102":206,"83":41984,"24":0,"16":23047717928304640,"45":1818398748896274432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306073088001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:28:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:28:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047717928304640,"km_value":23047717928304.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896274432,"description":"Unknown IO ID 45"} 
[2026-09-24 19:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306073088001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896274432}} 
[2026-09-24 19:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":193004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:28:22] local.INFO: GPS data processed {"connection_id":193004,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:28:22] local.INFO: Acknowledgment sent {"connection_id":193004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:28:32] local.INFO: TCP Data received {"connection_id":191622,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:28:32] local.INFO: Processing buffer {"connection_id":191622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:28:32] local.INFO: IMEI packet received {"connection_id":191622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":191622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:28:38] local.INFO: TCP Data received {"connection_id":191622,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:28:38] local.INFO: Processing buffer {"connection_id":191622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:28:38] local.INFO: IMEI packet received {"connection_id":191622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":191622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:28:39] local.INFO: TCP Data received {"connection_id":191622,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:28:39] local.INFO: Processing buffer {"connection_id":191622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:28:39] local.INFO: Packet analysis {"connection_id":191622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:28:39] local.INFO: Extracted packet for processing {"connection_id":191622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:28:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306027776001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790258222000,"timestamp_ms":1790258222000,"timestamp_seconds":1790258222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b493b0"} 
[2026-09-24 19:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306027776001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306027776001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:28:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:28:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306027776001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":191622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:28:39] local.INFO: GPS data processed {"connection_id":191622,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:28:39] local.INFO: Acknowledgment sent {"connection_id":191622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:28:44] local.INFO: TCP Data received {"connection_id":191622,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:28:44] local.INFO: Processing buffer {"connection_id":191622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:28:44] local.INFO: Packet analysis {"connection_id":191622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:28:44] local.INFO: Extracted packet for processing {"connection_id":191622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:28:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306027776001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790258222000,"timestamp_ms":1790258222000,"timestamp_seconds":1790258222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b493b0"} 
[2026-09-24 19:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:28:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306027776001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306027776001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:28:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:28:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306027776001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":191622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:28:44] local.INFO: GPS data processed {"connection_id":191622,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:28:44] local.INFO: Acknowledgment sent {"connection_id":191622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:28:45] local.INFO: TCP Data received {"connection_id":191426,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b49b80012cbf6f4007687be0004f007f31..."} 
[2026-09-24 19:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b49b80012cbf6f4007687be0004f007f31..."} 
[2026-09-24 19:28:45] local.INFO: Processing buffer {"connection_id":191426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b49b80012cbf6f4007687be0004f007f31..."} 
[2026-09-24 19:28:45] local.INFO: Packet analysis {"connection_id":191426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:28:45] local.INFO: Extracted packet for processing {"connection_id":191426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:28:45] local.INFO: GPS Element Parsed {"raw_longitude":750743360,"raw_latitude":124287968,"longitude_deg":75.074336,"latitude_deg":12.4287968,"altitude":79,"angle":127,"satellites":49,"speed":51,"hex_longitude":"2cbf6f40","hex_latitude":"07687be0","is_valid_coordinates":true} 
[2026-09-24 19:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306101504001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:28:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4672343844088084480,"note":"Value kept but may cause issues"} 
[2026-09-24 19:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790258224000,"timestamp_ms":1790258224000,"timestamp_seconds":1790258224,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b49b80"} 
[2026-09-24 19:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 19:28:45] 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-09-24 19:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306101504001,"66":27984,"121":206,"27":54016,"24":51,"16":3605341577150464,"44":-4672343844088084480},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,27,24,16,44]} 
[2026-09-24 19:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306101504001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:28:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-24 19:28:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:28:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4672343844088084480,"description":"Unknown IO ID 44"} 
[2026-09-24 19:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306101504001,"power":27984,"unknown_121":206,"unknown_27":54016,"ignition":51,"odometer":null,"unknown_44":-4672343844088084480}} 
[2026-09-24 19:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":191426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891647,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:28:45] local.INFO: GPS data processed {"connection_id":191426,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:28:45] local.INFO: Acknowledgment sent {"connection_id":191426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:28:53] local.INFO: TCP Data received {"connection_id":193004,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b35360012d193c40071ffa280036005a2d..."} 
[2026-09-24 19:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b35360012d193c40071ffa280036005a2d..."} 
[2026-09-24 19:28:53] local.INFO: Processing buffer {"connection_id":193004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b35360012d193c40071ffa280036005a2d..."} 
[2026-09-24 19:28:53] local.INFO: Packet analysis {"connection_id":193004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b3"} 
[2026-09-24 19:28:53] local.INFO: Extracted packet for processing {"connection_id":193004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b3"} 
[2026-09-24 19:28:53] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536168,"longitude_deg":75.6628544,"latitude_deg":11.9536168,"altitude":54,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-09-24 19:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306078464001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047717928304640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896274432,"note":"Value kept but may cause issues"} 
[2026-09-24 19:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790258140000,"timestamp_ms":1790258140000,"timestamp_seconds":1790258140,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b35360"} 
[2026-09-24 19:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-24 19:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":193004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":193004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":193004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306078464001,"66":12548,"102":206,"83":41984,"24":0,"16":23047717928304640,"45":1818398748896274432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306078464001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:28:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:28:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047717928304640,"km_value":23047717928304.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896274432,"description":"Unknown IO ID 45"} 
[2026-09-24 19:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306078464001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896274432}} 
[2026-09-24 19:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":193004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:28:54] local.INFO: GPS data processed {"connection_id":193004,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:28:54] local.INFO: Acknowledgment sent {"connection_id":193004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:29:06] local.INFO: TCP Data received {"connection_id":194284,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:29:06] local.INFO: Processing buffer {"connection_id":194284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:29:06] local.INFO: IMEI packet received {"connection_id":194284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":194284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:29:07] local.INFO: TCP Data received {"connection_id":194284,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:29:07] local.INFO: Processing buffer {"connection_id":194284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:29:07] local.INFO: IMEI packet received {"connection_id":194284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":194284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:29:11] local.INFO: TCP Data received {"connection_id":194284,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:29:11] local.INFO: Processing buffer {"connection_id":194284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:29:11] local.INFO: IMEI packet received {"connection_id":194284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":194284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:29:16] local.INFO: TCP Data received {"connection_id":193005,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:29:16] local.INFO: Processing buffer {"connection_id":193005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:29:16] local.INFO: IMEI packet received {"connection_id":193005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":193005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:29:21] local.INFO: TCP Data received {"connection_id":193005,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:29:21] local.INFO: Processing buffer {"connection_id":193005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:29:21] local.INFO: IMEI packet received {"connection_id":193005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":193005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:29:21] local.INFO: TCP Data received {"connection_id":194284,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b4ed88012cbfac0007684a780050008130..."} 
[2026-09-24 19:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b4ed88012cbfac0007684a780050008130..."} 
[2026-09-24 19:29:21] local.INFO: Processing buffer {"connection_id":194284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b4ed88012cbfac0007684a780050008130..."} 
[2026-09-24 19:29:21] local.INFO: Packet analysis {"connection_id":194284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:29:21] local.INFO: Extracted packet for processing {"connection_id":194284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:29:21] local.INFO: GPS Element Parsed {"raw_longitude":750758912,"raw_latitude":124275320,"longitude_deg":75.0758912,"latitude_deg":12.427532,"altitude":80,"angle":129,"satellites":48,"speed":0,"hex_longitude":"2cbfac00","hex_latitude":"07684a78","is_valid_coordinates":true} 
[2026-09-24 19:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306105344001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4652429489488535552,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790258245000,"timestamp_ms":1790258245000,"timestamp_seconds":1790258245,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b4ed88"} 
[2026-09-24 19:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 19:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194284,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194284,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306105344001,"66":27843,"39":206,"27":54016,"24":0,"16":3605341577150464,"44":-4652429489488535552},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-09-24 19:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306105344001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:29:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-24 19:29:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:29:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4652429489488535552,"description":"Unknown IO ID 44"} 
[2026-09-24 19:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306105344001,"power":27843,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4652429489488535552}} 
[2026-09-24 19:29:21] local.INFO: TCP Data received {"connection_id":193005,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b3a568012d193c40071ffa280036005a2b..."} 
[2026-09-24 19:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b3a568012d193c40071ffa280036005a2b..."} 
[2026-09-24 19:29:21] local.INFO: Processing buffer {"connection_id":193005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b3a568012d193c40071ffa280036005a2b..."} 
[2026-09-24 19:29:21] local.INFO: Packet analysis {"connection_id":193005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b3"} 
[2026-09-24 19:29:21] local.INFO: Extracted packet for processing {"connection_id":193005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b3"} 
[2026-09-24 19:29:21] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536168,"longitude_deg":75.6628544,"latitude_deg":11.9536168,"altitude":54,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-09-24 19:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306083840001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047717928304640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896274432,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790258161000,"timestamp_ms":1790258161000,"timestamp_seconds":1790258161,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b3a568"} 
[2026-09-24 19:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:29: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-09-24 19:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 19:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:21] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3338665984,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:21] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3551618864,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184216232141,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:21] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2987081729,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:21] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4196925494,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 19:29:21] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3787915264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:21] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:21] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,225,160,1,45,64,250,54,10,66,175,43,93,240,145,227,211,31,4,113,205,185,60,40,44,239,50,2,81,7,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 19:29:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891209227368136704,"timestamp_seconds":3891209227368136.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 19:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306083840001,"66":12558,"102":206,"83":41984,"24":0,"16":23047717928304640,"45":1818398748896274432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306083840001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:29:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:29:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047717928304640,"km_value":23047717928304.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896274432,"description":"Unknown IO ID 45"} 
[2026-09-24 19:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306083840001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896274432}} 
[2026-09-24 19:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":194284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891649,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:29:21] local.INFO: GPS data processed {"connection_id":194284,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:29:21] local.INFO: Acknowledgment sent {"connection_id":194284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":193005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:29:21] local.INFO: GPS data processed {"connection_id":193005,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:29:21] local.INFO: Acknowledgment sent {"connection_id":193005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:29:28] local.INFO: TCP Data received {"connection_id":194285,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:29:28] local.INFO: Processing buffer {"connection_id":194285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:29:28] local.INFO: IMEI packet received {"connection_id":194285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":194285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:29:28] local.INFO: TCP Data received {"connection_id":194284,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b5d4000100000000000000000000000000..."} 
[2026-09-24 19:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b5d4000100000000000000000000000000..."} 
[2026-09-24 19:29:28] local.INFO: Processing buffer {"connection_id":194284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b5d4000100000000000000000000000000..."} 
[2026-09-24 19:29:28] local.INFO: Packet analysis {"connection_id":194284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b5"} 
[2026-09-24 19:29:28] local.INFO: Extracted packet for processing {"connection_id":194284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b5"} 
[2026-09-24 19:29:28] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306110720001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4635329884656601088,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790258304000,"timestamp_ms":1790258304000,"timestamp_seconds":1790258304,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b5d400"} 
[2026-09-24 19:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-24 19:29:28] 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-09-24 19: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-09-24 19:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":194284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":194284,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":194284,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":194284,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 19:29:28] local.INFO: GPS data processed {"connection_id":194284,"processed":0,"errors":0,"total":1} 
[2026-09-24 19:29:28] local.INFO: Acknowledgment sent {"connection_id":194284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:29:29] local.INFO: TCP Data received {"connection_id":194284,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b566a0012cc013c00767d7a80052008f30..."} 
[2026-09-24 19:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b566a0012cc013c00767d7a80052008f30..."} 
[2026-09-24 19:29:29] local.INFO: Processing buffer {"connection_id":194284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b566a0012cc013c00767d7a80052008f30..."} 
[2026-09-24 19:29:29] local.INFO: Packet analysis {"connection_id":194284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b5"} 
[2026-09-24 19:29:29] local.INFO: Extracted packet for processing {"connection_id":194284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b5"} 
[2026-09-24 19:29:29] local.INFO: GPS Element Parsed {"raw_longitude":750785472,"raw_latitude":124245928,"longitude_deg":75.0785472,"latitude_deg":12.4245928,"altitude":82,"angle":143,"satellites":48,"speed":48,"hex_longitude":"2cc013c0","hex_latitude":"0767d7a8","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,39,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 19:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790258276000,"timestamp_ms":1790258276000,"timestamp_seconds":1790258276,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b566a0"} 
[2026-09-24 19:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 19:29:29] 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-09-24 19: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-09-24 19:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":194284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":194284,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":194284,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28006,"39":206,"27":54016,"24":48,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16]} 
[2026-09-24 19:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 19:29:29] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-24 19:29:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:29:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28006,"unknown_39":206,"unknown_27":54016,"ignition":48,"odometer":null}} 
[2026-09-24 19:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":194284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891651,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:29:29] local.INFO: GPS data processed {"connection_id":194284,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:29:29] local.INFO: Acknowledgment sent {"connection_id":194284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:29:33] local.INFO: TCP Data received {"connection_id":194285,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:29:33] local.INFO: Processing buffer {"connection_id":194285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:29:33] local.INFO: IMEI packet received {"connection_id":194285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":194285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:29:34] local.INFO: TCP Data received {"connection_id":194285,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:29:34] local.INFO: Processing buffer {"connection_id":194285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:29:34] local.INFO: Packet analysis {"connection_id":194285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:29:34] local.INFO: Extracted packet for processing {"connection_id":194285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:29:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306027776001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790258222000,"timestamp_ms":1790258222000,"timestamp_seconds":1790258222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b493b0"} 
[2026-09-24 19:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306027776001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306027776001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:29:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:29:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306027776001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":194285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:29:34] local.INFO: GPS data processed {"connection_id":194285,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:29:34] local.INFO: Acknowledgment sent {"connection_id":194285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:29:52] local.INFO: TCP Data received {"connection_id":193005,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b3f770012d193c40071ffa280036005a2b..."} 
[2026-09-24 19:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b3f770012d193c40071ffa280036005a2b..."} 
[2026-09-24 19:29:52] local.INFO: Processing buffer {"connection_id":193005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b3f770012d193c40071ffa280036005a2b..."} 
[2026-09-24 19:29:52] local.INFO: Packet analysis {"connection_id":193005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b3"} 
[2026-09-24 19:29:52] local.INFO: Extracted packet for processing {"connection_id":193005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b3"} 
[2026-09-24 19:29:52] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536168,"longitude_deg":75.6628544,"latitude_deg":11.9536168,"altitude":54,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-09-24 19:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306089216001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047717928304640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896274432,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790258182000,"timestamp_ms":1790258182000,"timestamp_seconds":1790258182,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b3f770"} 
[2026-09-24 19:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 19:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:52] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3338665984,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:52] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3551639864,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249694851819633192,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:52] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2992457729,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:52] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4196925494,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-24 19:29:52] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718584,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:52] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3787915264,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:52] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:52] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:52] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-24 19:29:52] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,225,160,45,64,250,54,10,66,1,175,240,145,227,211,31,4,113,205,11,60,40,43,239,49,2,81,7,120,86,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-24 19:29:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891209218778202112,"timestamp_seconds":3891209218778202.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 19:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":193005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":193005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":193005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306089216001,"66":12526,"102":206,"83":41984,"24":0,"16":23047717928304640,"45":1818398748896274432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306089216001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:29:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:29:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047717928304640,"km_value":23047717928304.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896274432,"description":"Unknown IO ID 45"} 
[2026-09-24 19:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306089216001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896274432}} 
[2026-09-24 19:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":193005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:29:52] local.INFO: GPS data processed {"connection_id":193005,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:29:52] local.INFO: Acknowledgment sent {"connection_id":193005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:30:05] local.INFO: TCP Data received {"connection_id":194285,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:30:05] local.INFO: Processing buffer {"connection_id":194285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:30:05] local.INFO: Packet analysis {"connection_id":194285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:30:05] local.INFO: Extracted packet for processing {"connection_id":194285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:30:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306027776001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790258222000,"timestamp_ms":1790258222000,"timestamp_seconds":1790258222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b493b0"} 
[2026-09-24 19:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:30: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-09-24 19: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-09-24 19:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306027776001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306027776001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:30:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:30:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306027776001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":194285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:30:05] local.INFO: GPS data processed {"connection_id":194285,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:30:05] local.INFO: Acknowledgment sent {"connection_id":194285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:30:11] local.INFO: TCP Data received {"connection_id":191427,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:30:11] local.INFO: Processing buffer {"connection_id":191427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:30:11] local.INFO: IMEI packet received {"connection_id":191427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":191427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:30:16] local.INFO: TCP Data received {"connection_id":191623,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:30:16] local.INFO: Processing buffer {"connection_id":191623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:30:16] local.INFO: IMEI packet received {"connection_id":191623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":191623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:30:16] local.INFO: TCP Data received {"connection_id":191427,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:30:16] local.INFO: Processing buffer {"connection_id":191427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:30:16] local.INFO: IMEI packet received {"connection_id":191427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":191427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:30:19] local.INFO: TCP Data received {"connection_id":191427,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b5b8a8012cc03d4007678fd0004d009631..."} 
[2026-09-24 19:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b5b8a8012cc03d4007678fd0004d009631..."} 
[2026-09-24 19:30:19] local.INFO: Processing buffer {"connection_id":191427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b5b8a8012cc03d4007678fd0004d009631..."} 
[2026-09-24 19:30:19] local.INFO: Packet analysis {"connection_id":191427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b5"} 
[2026-09-24 19:30:19] local.INFO: Extracted packet for processing {"connection_id":191427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b5"} 
[2026-09-24 19:30:19] local.INFO: GPS Element Parsed {"raw_longitude":750796096,"raw_latitude":124227536,"longitude_deg":75.0796096,"latitude_deg":12.4227536,"altitude":77,"angle":150,"satellites":49,"speed":0,"hex_longitude":"2cc03d40","hex_latitude":"07678fd0","is_valid_coordinates":true} 
[2026-09-24 19:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306118656001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:30:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4606126855830394880,"note":"Value kept but may cause issues"} 
[2026-09-24 19:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790258297000,"timestamp_ms":1790258297000,"timestamp_seconds":1790258297,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b5b8a8"} 
[2026-09-24 19:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 19:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306118656001,"66":27821,"39":206,"27":54016,"24":0,"16":3605341577150464,"44":-4606126855830394880},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-09-24 19:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306118656001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:30:19] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-24 19:30:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:30:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4606126855830394880,"description":"Unknown IO ID 44"} 
[2026-09-24 19:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306118656001,"power":27821,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4606126855830394880}} 
[2026-09-24 19:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":191427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891655,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:30:19] local.INFO: GPS data processed {"connection_id":191427,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:30:19] local.INFO: Acknowledgment sent {"connection_id":191427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:30:21] local.INFO: TCP Data received {"connection_id":191623,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:30:21] local.INFO: Processing buffer {"connection_id":191623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:30:21] local.INFO: IMEI packet received {"connection_id":191623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":191623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:30:22] local.INFO: TCP Data received {"connection_id":191623,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b44978012d193c40071ffa280036005a2c..."} 
[2026-09-24 19:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b44978012d193c40071ffa280036005a2c..."} 
[2026-09-24 19:30:22] local.INFO: Processing buffer {"connection_id":191623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b44978012d193c40071ffa280036005a2c..."} 
[2026-09-24 19:30:22] local.INFO: Packet analysis {"connection_id":191623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:30:22] local.INFO: Extracted packet for processing {"connection_id":191623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:30:22] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536168,"longitude_deg":75.6628544,"latitude_deg":11.9536168,"altitude":54,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306094592001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047717928304640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896274432,"note":"Value kept but may cause issues"} 
[2026-09-24 19:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790258203000,"timestamp_ms":1790258203000,"timestamp_seconds":1790258203,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b44978"} 
[2026-09-24 19:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:30:22] 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-09-24 19: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306094592001,"66":12504,"102":206,"83":41984,"24":0,"16":23047717928304640,"45":1818398748896274432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306094592001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:30:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:30:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047717928304640,"km_value":23047717928304.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896274432,"description":"Unknown IO ID 45"} 
[2026-09-24 19:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306094592001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896274432}} 
[2026-09-24 19:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":191623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:30:22] local.INFO: GPS data processed {"connection_id":191623,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:30:22] local.INFO: Acknowledgment sent {"connection_id":191623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:30:25] local.INFO: TCP Data received {"connection_id":191427,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b5e788012cc0768007675190004a007e32..."} 
[2026-09-24 19:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b5e788012cc0768007675190004a007e32..."} 
[2026-09-24 19:30:25] local.INFO: Processing buffer {"connection_id":191427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b5e788012cc0768007675190004a007e32..."} 
[2026-09-24 19:30:25] local.INFO: Packet analysis {"connection_id":191427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b5"} 
[2026-09-24 19:30:25] local.INFO: Extracted packet for processing {"connection_id":191427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b5"} 
[2026-09-24 19:30:25] local.INFO: GPS Element Parsed {"raw_longitude":750810752,"raw_latitude":124211600,"longitude_deg":75.0810752,"latitude_deg":12.42116,"altitude":74,"angle":126,"satellites":50,"speed":52,"hex_longitude":"2cc07680","hex_latitude":"07675190","is_valid_coordinates":true} 
[2026-09-24 19:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306124032001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:30:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4594445644301611008,"note":"Value kept but may cause issues"} 
[2026-09-24 19:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790258309000,"timestamp_ms":1790258309000,"timestamp_seconds":1790258309,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b5e788"} 
[2026-09-24 19:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 19:30:25] 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-09-24 19:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":191427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":191427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":191427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306124032001,"66":27691,"39":206,"27":54016,"24":52,"16":3605341577150464,"44":-4594445644301611008},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-09-24 19:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306124032001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:30:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-24 19:30:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:30:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4594445644301611008,"description":"Unknown IO ID 44"} 
[2026-09-24 19:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306124032001,"power":27691,"unknown_39":206,"unknown_27":54016,"ignition":52,"odometer":null,"unknown_44":-4594445644301611008}} 
[2026-09-24 19:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":191427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891657,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:30:25] local.INFO: GPS data processed {"connection_id":191427,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:30:25] local.INFO: Acknowledgment sent {"connection_id":191427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:30:27] local.INFO: TCP Data received {"connection_id":193006,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:30:27] local.INFO: Processing buffer {"connection_id":193006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:30:27] local.INFO: IMEI packet received {"connection_id":193006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":193006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:30:32] local.INFO: TCP Data received {"connection_id":193006,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:30:32] local.INFO: Processing buffer {"connection_id":193006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:30:32] local.INFO: IMEI packet received {"connection_id":193006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":193006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:30:34] local.INFO: TCP Data received {"connection_id":193006,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:30:34] local.INFO: Processing buffer {"connection_id":193006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:30:34] local.INFO: Packet analysis {"connection_id":193006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:30:34] local.INFO: Extracted packet for processing {"connection_id":193006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:30:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306027776001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790258222000,"timestamp_ms":1790258222000,"timestamp_seconds":1790258222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b493b0"} 
[2026-09-24 19:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306027776001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306027776001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:30:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:30:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306027776001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":193006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:30:34] local.INFO: GPS data processed {"connection_id":193006,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:30:34] local.INFO: Acknowledgment sent {"connection_id":193006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:30:52] local.INFO: TCP Data received {"connection_id":191623,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b49b80012d193c40071ffa280036005a2d..."} 
[2026-09-24 19:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b49b80012d193c40071ffa280036005a2d..."} 
[2026-09-24 19:30:53] local.INFO: Processing buffer {"connection_id":191623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b49b80012d193c40071ffa280036005a2d..."} 
[2026-09-24 19:30:53] local.INFO: Packet analysis {"connection_id":191623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:30:53] local.INFO: Extracted packet for processing {"connection_id":191623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:30:53] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536168,"longitude_deg":75.6628544,"latitude_deg":11.9536168,"altitude":54,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-09-24 19:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306099968001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047717928304640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896274432,"note":"Value kept but may cause issues"} 
[2026-09-24 19:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790258224000,"timestamp_ms":1790258224000,"timestamp_seconds":1790258224,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b49b80"} 
[2026-09-24 19:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 19:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306099968001,"66":12461,"102":206,"83":41984,"24":0,"16":23047717928304640,"45":1818398748896274432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306099968001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:30:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:30:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047717928304640,"km_value":23047717928304.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896274432,"description":"Unknown IO ID 45"} 
[2026-09-24 19:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306099968001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896274432}} 
[2026-09-24 19:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":191623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:30:53] local.INFO: GPS data processed {"connection_id":191623,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:30:53] local.INFO: Acknowledgment sent {"connection_id":191623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:31:05] local.INFO: TCP Data received {"connection_id":193006,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:31:05] local.INFO: Processing buffer {"connection_id":193006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:31:05] local.INFO: Packet analysis {"connection_id":193006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:31:05] local.INFO: Extracted packet for processing {"connection_id":193006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:31:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306027776001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790258222000,"timestamp_ms":1790258222000,"timestamp_seconds":1790258222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b493b0"} 
[2026-09-24 19:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:31: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-09-24 19:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306027776001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306027776001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:31:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:31:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306027776001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":193006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:31:05] local.INFO: GPS data processed {"connection_id":193006,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:31:05] local.INFO: Acknowledgment sent {"connection_id":193006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:31:06] local.INFO: TCP Data received {"connection_id":193007,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:31:06] local.INFO: Processing buffer {"connection_id":193007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:31:06] local.INFO: IMEI packet received {"connection_id":193007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":193007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:31:11] local.INFO: TCP Data received {"connection_id":193007,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:31:11] local.INFO: Processing buffer {"connection_id":193007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:31:11] local.INFO: IMEI packet received {"connection_id":193007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":193007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:31:13] local.INFO: TCP Data received {"connection_id":193007,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b63990012cc0bc4007671ea80047007e32..."} 
[2026-09-24 19:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b63990012cc0bc4007671ea80047007e32..."} 
[2026-09-24 19:31:13] local.INFO: Processing buffer {"connection_id":193007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b63990012cc0bc4007671ea80047007e32..."} 
[2026-09-24 19:31:13] local.INFO: Packet analysis {"connection_id":193007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b6"} 
[2026-09-24 19:31:13] local.INFO: Extracted packet for processing {"connection_id":193007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b6"} 
[2026-09-24 19:31:13] local.INFO: GPS Element Parsed {"raw_longitude":750828608,"raw_latitude":124198568,"longitude_deg":75.0828608,"latitude_deg":12.4198568,"altitude":71,"angle":126,"satellites":50,"speed":0,"hex_longitude":"2cc0bc40","hex_latitude":"07671ea8","is_valid_coordinates":true} 
[2026-09-24 19:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306127104001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:31:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4578331201889005568,"note":"Value kept but may cause issues"} 
[2026-09-24 19:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790258330000,"timestamp_ms":1790258330000,"timestamp_seconds":1790258330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b63990"} 
[2026-09-24 19:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-24 19:31:13] 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-09-24 19:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306127104001,"66":28006,"39":206,"27":54016,"24":0,"16":3605341577150464,"44":-4578331201889005568},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-09-24 19:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306127104001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:31:13] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-24 19:31:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:31:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4578331201889005568,"description":"Unknown IO ID 44"} 
[2026-09-24 19:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306127104001,"power":28006,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4578331201889005568}} 
[2026-09-24 19:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":193007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891661,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:31:13] local.INFO: GPS data processed {"connection_id":193007,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:31:13] local.INFO: Acknowledgment sent {"connection_id":193007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:31:16] local.INFO: TCP Data received {"connection_id":194286,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:31:16] local.INFO: Processing buffer {"connection_id":194286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:31:16] local.INFO: IMEI packet received {"connection_id":194286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":194286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:31:21] local.INFO: TCP Data received {"connection_id":194286,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:31:21] local.INFO: Processing buffer {"connection_id":194286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:31:21] local.INFO: IMEI packet received {"connection_id":194286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":194286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:31:22] local.INFO: TCP Data received {"connection_id":194286,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b4ed88012d193c40071ffa280036005a2d..."} 
[2026-09-24 19:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b4ed88012d193c40071ffa280036005a2d..."} 
[2026-09-24 19:31:22] local.INFO: Processing buffer {"connection_id":194286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b4ed88012d193c40071ffa280036005a2d..."} 
[2026-09-24 19:31:22] local.INFO: Packet analysis {"connection_id":194286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:31:22] local.INFO: Extracted packet for processing {"connection_id":194286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:31:22] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536168,"longitude_deg":75.6628544,"latitude_deg":11.9536168,"altitude":54,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-09-24 19:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306105344001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047717928304640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896274432,"note":"Value kept but may cause issues"} 
[2026-09-24 19:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790258245000,"timestamp_ms":1790258245000,"timestamp_seconds":1790258245,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b4ed88"} 
[2026-09-24 19:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:31:22] 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-09-24 19:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 19:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306105344001,"66":12461,"102":206,"83":41984,"24":0,"16":23047717928304640,"45":1818398748896274432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306105344001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:31:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:31:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047717928304640,"km_value":23047717928304.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896274432,"description":"Unknown IO ID 45"} 
[2026-09-24 19:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306105344001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896274432}} 
[2026-09-24 19:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":194286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:31:22] local.INFO: GPS data processed {"connection_id":194286,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:31:22] local.INFO: Acknowledgment sent {"connection_id":194286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:31:28] local.INFO: TCP Data received {"connection_id":191428,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:31:28] local.INFO: Processing buffer {"connection_id":191428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:31:28] local.INFO: IMEI packet received {"connection_id":191428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":191428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:31:33] local.INFO: TCP Data received {"connection_id":191428,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:31:33] local.INFO: Processing buffer {"connection_id":191428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:31:33] local.INFO: IMEI packet received {"connection_id":191428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":191428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:31:35] local.INFO: TCP Data received {"connection_id":191428,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:31:35] local.INFO: Processing buffer {"connection_id":191428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:31:35] local.INFO: Packet analysis {"connection_id":191428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:31:35] local.INFO: Extracted packet for processing {"connection_id":191428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:31:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306027776001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790258222000,"timestamp_ms":1790258222000,"timestamp_seconds":1790258222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b493b0"} 
[2026-09-24 19:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:31: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-09-24 19:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306027776001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306027776001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:31:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:31:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306027776001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":191428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:31:35] local.INFO: GPS data processed {"connection_id":191428,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:31:35] local.INFO: Acknowledgment sent {"connection_id":191428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:31:49] local.INFO: TCP Data received {"connection_id":193007,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b720080100000000000000000000000000..."} 
[2026-09-24 19:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b720080100000000000000000000000000..."} 
[2026-09-24 19:31:49] local.INFO: Processing buffer {"connection_id":193007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b720080100000000000000000000000000..."} 
[2026-09-24 19:31:49] local.INFO: Packet analysis {"connection_id":193007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b7"} 
[2026-09-24 19:31:49] local.INFO: Extracted packet for processing {"connection_id":193007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b7"} 
[2026-09-24 19:31:49] 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-09-24 19: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-09-24 19:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306132480001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:31:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4558698322266773504,"note":"Value kept but may cause issues"} 
[2026-09-24 19:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790258389000,"timestamp_ms":1790258389000,"timestamp_seconds":1790258389,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b72008"} 
[2026-09-24 19:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 19:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":193007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":193007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":193007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":193007,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 19:31:49] local.INFO: GPS data processed {"connection_id":193007,"processed":0,"errors":0,"total":1} 
[2026-09-24 19:31:49] local.INFO: Acknowledgment sent {"connection_id":193007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:31:53] local.INFO: TCP Data received {"connection_id":194286,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b53f90012d193c40071ffa280036005a2c..."} 
[2026-09-24 19:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b53f90012d193c40071ffa280036005a2c..."} 
[2026-09-24 19:31:53] local.INFO: Processing buffer {"connection_id":194286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b53f90012d193c40071ffa280036005a2c..."} 
[2026-09-24 19:31:53] local.INFO: Packet analysis {"connection_id":194286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b5"} 
[2026-09-24 19:31:53] local.INFO: Extracted packet for processing {"connection_id":194286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b5"} 
[2026-09-24 19:31:53] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536168,"longitude_deg":75.6628544,"latitude_deg":11.9536168,"altitude":54,"angle":90,"satellites":44,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-09-24 19:31: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-09-24 19:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306110720001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047717928304640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896274432,"note":"Value kept but may cause issues"} 
[2026-09-24 19:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790258266000,"timestamp_ms":1790258266000,"timestamp_seconds":1790258266,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b53f90"} 
[2026-09-24 19:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 19:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:31: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-09-24 19:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306110720001,"66":11874,"102":206,"83":41984,"24":0,"16":23047717928304640,"45":1818398748896274432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306110720001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:31:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:31:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047717928304640,"km_value":23047717928304.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896274432,"description":"Unknown IO ID 45"} 
[2026-09-24 19:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306110720001,"power":11874,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896274432}} 
[2026-09-24 19:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":194286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:31:53] local.INFO: GPS data processed {"connection_id":194286,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:31:53] local.INFO: Acknowledgment sent {"connection_id":194286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:32:06] local.INFO: TCP Data received {"connection_id":191429,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:32:06] local.INFO: Processing buffer {"connection_id":191429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:32:06] local.INFO: IMEI packet received {"connection_id":191429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":191429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:32:07] local.INFO: TCP Data received {"connection_id":191428,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:32:07] local.INFO: Processing buffer {"connection_id":191428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:32:07] local.INFO: Packet analysis {"connection_id":191428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:32:07] local.INFO: Extracted packet for processing {"connection_id":191428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:32:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306027776001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790258222000,"timestamp_ms":1790258222000,"timestamp_seconds":1790258222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b493b0"} 
[2026-09-24 19:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306027776001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306027776001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:32:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:32:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306027776001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":191428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:32:07] local.INFO: GPS data processed {"connection_id":191428,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:32:07] local.INFO: Acknowledgment sent {"connection_id":191428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:32:08] local.INFO: TCP Data received {"connection_id":191429,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:32:08] local.INFO: Processing buffer {"connection_id":191429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:32:08] local.INFO: IMEI packet received {"connection_id":191429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":191429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:32:11] local.INFO: TCP Data received {"connection_id":191429,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:32:11] local.INFO: Processing buffer {"connection_id":191429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:32:11] local.INFO: IMEI packet received {"connection_id":191429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":191429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:32:14] local.INFO: TCP Data received {"connection_id":191429,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b6b2a8012cc148800766cf900050007531..."} 
[2026-09-24 19:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b6b2a8012cc148800766cf900050007531..."} 
[2026-09-24 19:32:15] local.INFO: Processing buffer {"connection_id":191429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b6b2a8012cc148800766cf900050007531..."} 
[2026-09-24 19:32:15] local.INFO: Packet analysis {"connection_id":191429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b6"} 
[2026-09-24 19:32:15] local.INFO: Extracted packet for processing {"connection_id":191429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b6"} 
[2026-09-24 19:32:15] local.INFO: GPS Element Parsed {"raw_longitude":750864512,"raw_latitude":124178320,"longitude_deg":75.0864512,"latitude_deg":12.417832,"altitude":80,"angle":117,"satellites":49,"speed":42,"hex_longitude":"2cc14880","hex_latitude":"0766cf90","is_valid_coordinates":true} 
[2026-09-24 19:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:32:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,39,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 19:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790258361000,"timestamp_ms":1790258361000,"timestamp_seconds":1790258361,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b6b2a8"} 
[2026-09-24 19:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 19:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27843,"39":206,"27":54016,"24":42,"16":3605341577150464},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16]} 
[2026-09-24 19:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 19:32:15] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-24 19:32:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:32:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27843,"unknown_39":206,"unknown_27":54016,"ignition":42,"odometer":null}} 
[2026-09-24 19:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":191429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891666,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:32:15] local.INFO: GPS data processed {"connection_id":191429,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:32:15] local.INFO: Acknowledgment sent {"connection_id":191429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:32:16] local.INFO: TCP Data received {"connection_id":191624,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:32:16] local.INFO: Processing buffer {"connection_id":191624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:32:16] local.INFO: IMEI packet received {"connection_id":191624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":191624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:32:18] local.INFO: TCP Data received {"connection_id":191624,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:32:18] local.INFO: Processing buffer {"connection_id":191624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:32:18] local.INFO: IMEI packet received {"connection_id":191624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":191624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:32:20] local.INFO: TCP Data received {"connection_id":191624,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:32:20] local.INFO: Processing buffer {"connection_id":191624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:32:20] local.INFO: IMEI packet received {"connection_id":191624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":191624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:32:21] local.INFO: TCP Data received {"connection_id":191624,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:32:21] local.INFO: Processing buffer {"connection_id":191624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:32:21] local.INFO: IMEI packet received {"connection_id":191624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":191624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:32:21] local.INFO: TCP Data received {"connection_id":191624,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b8c5e8012d193c40071ffa280036005a2b..."} 
[2026-09-24 19:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b8c5e8012d193c40071ffa280036005a2b..."} 
[2026-09-24 19:32:21] local.INFO: Processing buffer {"connection_id":191624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b8c5e8012d193c40071ffa280036005a2b..."} 
[2026-09-24 19:32:21] local.INFO: Packet analysis {"connection_id":191624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b8"} 
[2026-09-24 19:32:21] local.INFO: Extracted packet for processing {"connection_id":191624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b8"} 
[2026-09-24 19:32:21] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119536168,"longitude_deg":75.6628544,"latitude_deg":11.9536168,"altitude":54,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2d193c40","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-09-24 19:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306169856001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047717928304640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896274432,"note":"Value kept but may cause issues"} 
[2026-09-24 19:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790258497000,"timestamp_ms":1790258497000,"timestamp_seconds":1790258497,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b8c5e8"} 
[2026-09-24 19:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:32: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-09-24 19:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-24 19:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306169856001,"66":13472,"102":206,"83":41984,"24":0,"16":23047717928304640,"45":1818398748896274432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306169856001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:32:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:32:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047717928304640,"km_value":23047717928304.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896274432,"description":"Unknown IO ID 45"} 
[2026-09-24 19:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306169856001,"power":13472,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818398748896274432}} 
[2026-09-24 19:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":191624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:32:21] local.INFO: GPS data processed {"connection_id":191624,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:32:21] local.INFO: Acknowledgment sent {"connection_id":191624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:32:26] local.INFO: TCP Data received {"connection_id":191624,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b8d1a0012d193d00071ffa38003a00472c..."} 
[2026-09-24 19:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b8d1a0012d193d00071ffa38003a00472c..."} 
[2026-09-24 19:32:26] local.INFO: Processing buffer {"connection_id":191624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b8d1a0012d193d00071ffa38003a00472c..."} 
[2026-09-24 19:32:26] local.INFO: Packet analysis {"connection_id":191624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b8"} 
[2026-09-24 19:32:26] local.INFO: Extracted packet for processing {"connection_id":191624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b8"} 
[2026-09-24 19:32:26] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119536184,"longitude_deg":75.6628736,"latitude_deg":11.9536184,"altitude":58,"angle":71,"satellites":44,"speed":4,"hex_longitude":"2d193d00","hex_latitude":"071ffa38","is_valid_coordinates":true} 
[2026-09-24 19:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306175232001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047726518239232,"note":"Value kept but may cause issues"} 
[2026-09-24 19:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748896274432,"note":"Value kept but may cause issues"} 
[2026-09-24 19:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790258500000,"timestamp_ms":1790258500000,"timestamp_seconds":1790258500,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b8d1a0"} 
[2026-09-24 19:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:32: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-09-24 19:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-24 19:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306175232001,"66":12722,"102":206,"83":41984,"24":4,"16":23047726518239232,"45":1818398748896274432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306175232001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:32:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:32:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047726518239232,"km_value":23047726518239.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748896274432,"description":"Unknown IO ID 45"} 
[2026-09-24 19:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306175232001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1818398748896274432}} 
[2026-09-24 19:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":191624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:32:26] local.INFO: GPS data processed {"connection_id":191624,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:32:26] local.INFO: Acknowledgment sent {"connection_id":191624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:32:27] local.INFO: TCP Data received {"connection_id":193008,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:32:27] local.INFO: Processing buffer {"connection_id":193008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:32:27] local.INFO: IMEI packet received {"connection_id":193008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":193008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:32:32] local.INFO: TCP Data received {"connection_id":193008,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:32:32] local.INFO: Processing buffer {"connection_id":193008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:32:32] local.INFO: IMEI packet received {"connection_id":193008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":193008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:32:35] local.INFO: TCP Data received {"connection_id":193008,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:32:35] local.INFO: Processing buffer {"connection_id":193008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b493b0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:32:35] local.INFO: Packet analysis {"connection_id":193008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:32:35] local.INFO: Extracted packet for processing {"connection_id":193008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b4"} 
[2026-09-24 19:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306027776001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790258222000,"timestamp_ms":1790258222000,"timestamp_seconds":1790258222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b493b0"} 
[2026-09-24 19:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:32: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-09-24 19:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306027776001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306027776001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:32:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:32:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306027776001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":193008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:32:35] local.INFO: GPS data processed {"connection_id":193008,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:32:35] local.INFO: Acknowledgment sent {"connection_id":193008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:32:46] local.INFO: TCP Data received {"connection_id":191429,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b704b0012cc18a400766ac100054007931..."} 
[2026-09-24 19:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b704b0012cc18a400766ac100054007931..."} 
[2026-09-24 19:32:46] local.INFO: Processing buffer {"connection_id":191429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b704b0012cc18a400766ac100054007931..."} 
[2026-09-24 19:32:46] local.INFO: Packet analysis {"connection_id":191429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b7"} 
[2026-09-24 19:32:46] local.INFO: Extracted packet for processing {"connection_id":191429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b7"} 
[2026-09-24 19:32:46] local.INFO: GPS Element Parsed {"raw_longitude":750881344,"raw_latitude":124169232,"longitude_deg":75.0881344,"latitude_deg":12.4169232,"altitude":84,"angle":121,"satellites":49,"speed":0,"hex_longitude":"2cc18a40","hex_latitude":"0766ac10","is_valid_coordinates":true} 
[2026-09-24 19:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306140416001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:32:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4519221456788287488,"note":"Value kept but may cause issues"} 
[2026-09-24 19:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790258382000,"timestamp_ms":1790258382000,"timestamp_seconds":1790258382,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b704b0"} 
[2026-09-24 19:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:32: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-09-24 19:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-24 19:32:46] 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-09-24 19:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306140416001,"66":27800,"39":206,"27":54016,"24":0,"16":3605341577150464,"44":-4519221456788287488},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-09-24 19:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306140416001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:32:46] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-24 19:32:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:32:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4519221456788287488,"description":"Unknown IO ID 44"} 
[2026-09-24 19:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306140416001,"power":27800,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4519221456788287488}} 
[2026-09-24 19:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":191429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891670,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:32:46] local.INFO: GPS data processed {"connection_id":191429,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:32:46] local.INFO: Acknowledgment sent {"connection_id":191429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:32:57] local.INFO: TCP Data received {"connection_id":191624,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b8d970012d193e80071ffa68003a00572c..."} 
[2026-09-24 19:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b8d970012d193e80071ffa68003a00572c..."} 
[2026-09-24 19:32:57] local.INFO: Processing buffer {"connection_id":191624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b8d970012d193e80071ffa68003a00572c..."} 
[2026-09-24 19:32:57] local.INFO: Packet analysis {"connection_id":191624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b8"} 
[2026-09-24 19:32:57] local.INFO: Extracted packet for processing {"connection_id":191624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b8"} 
[2026-09-24 19:32:57] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119536232,"longitude_deg":75.662912,"latitude_deg":11.9536232,"altitude":58,"angle":87,"satellites":44,"speed":7,"hex_longitude":"2d193e80","hex_latitude":"071ffa68","is_valid_coordinates":true} 
[2026-09-24 19:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306176000001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047743698108416,"note":"Value kept but may cause issues"} 
[2026-09-24 19:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855128811520,"note":"Value kept but may cause issues"} 
[2026-09-24 19:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790258502000,"timestamp_ms":1790258502000,"timestamp_seconds":1790258502,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b8d970"} 
[2026-09-24 19:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 19:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":191624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":191624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":191624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306176000001,"66":12689,"102":206,"83":41984,"24":7,"16":23047743698108416,"45":1818609855128811520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306176000001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:32:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:32:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047743698108416,"km_value":23047743698108.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855128811520,"description":"Unknown IO ID 45"} 
[2026-09-24 19:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306176000001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1818609855128811520}} 
[2026-09-24 19:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":191624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:32:57] local.INFO: GPS data processed {"connection_id":191624,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:32:57] local.INFO: Acknowledgment sent {"connection_id":191624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:33:06] local.INFO: TCP Data received {"connection_id":193008,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:33:06] local.INFO: Processing buffer {"connection_id":193008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:33:06] local.INFO: Packet analysis {"connection_id":193008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:33:06] local.INFO: Extracted packet for processing {"connection_id":193008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:33:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306104832001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790258523000,"timestamp_ms":1790258523000,"timestamp_seconds":1790258523,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b92b78"} 
[2026-09-24 19:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:33: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-09-24 19:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306104832001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306104832001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:33:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:33:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306104832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":193008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:33:06] local.INFO: GPS data processed {"connection_id":193008,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:33:06] local.INFO: Acknowledgment sent {"connection_id":193008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:33:07] local.INFO: TCP Data received {"connection_id":193009,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:33:07] local.INFO: Processing buffer {"connection_id":193009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:33:07] local.INFO: IMEI packet received {"connection_id":193009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":193009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:33:10] local.INFO: TCP Data received {"connection_id":193009,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:33:10] local.INFO: Processing buffer {"connection_id":193009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:33:10] local.INFO: IMEI packet received {"connection_id":193009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":193009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:33:11] local.INFO: TCP Data received {"connection_id":193009,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:33:11] local.INFO: Processing buffer {"connection_id":193009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:33:11] local.INFO: IMEI packet received {"connection_id":193009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":193009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:33:12] local.INFO: TCP Data received {"connection_id":193009,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b756b8012cc1c940076683c80059008233..."} 
[2026-09-24 19:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b756b8012cc1c940076683c80059008233..."} 
[2026-09-24 19:33:12] local.INFO: Processing buffer {"connection_id":193009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b756b8012cc1c940076683c80059008233..."} 
[2026-09-24 19:33:12] local.INFO: Packet analysis {"connection_id":193009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b7"} 
[2026-09-24 19:33:12] local.INFO: Extracted packet for processing {"connection_id":193009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b7"} 
[2026-09-24 19:33:12] local.INFO: GPS Element Parsed {"raw_longitude":750897472,"raw_latitude":124158920,"longitude_deg":75.0897472,"latitude_deg":12.415892,"altitude":89,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2cc1c940","hex_latitude":"076683c8","is_valid_coordinates":true} 
[2026-09-24 19:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306145792001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:33:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4500714477071888384,"note":"Value kept but may cause issues"} 
[2026-09-24 19:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790258403000,"timestamp_ms":1790258403000,"timestamp_seconds":1790258403,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b756b8"} 
[2026-09-24 19:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-24 19:33:12] 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-09-24 19:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306145792001,"66":27843,"39":206,"27":54016,"24":0,"16":3605341577150464,"44":-4500714477071888384},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-09-24 19:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306145792001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:33:12] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-24 19:33:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:33:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4500714477071888384,"description":"Unknown IO ID 44"} 
[2026-09-24 19:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306145792001,"power":27843,"unknown_39":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4500714477071888384}} 
[2026-09-24 19:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":193009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891673,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:33:13] local.INFO: GPS data processed {"connection_id":193009,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:33:13] local.INFO: Acknowledgment sent {"connection_id":193009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:33:16] local.INFO: TCP Data received {"connection_id":194287,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:33:16] local.INFO: Processing buffer {"connection_id":194287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:33:16] local.INFO: IMEI packet received {"connection_id":194287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":194287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:33:16] local.INFO: TCP Data received {"connection_id":194287,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:33:16] local.INFO: Processing buffer {"connection_id":194287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:33:16] local.INFO: IMEI packet received {"connection_id":194287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":194287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:33:21] local.INFO: TCP Data received {"connection_id":193009,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b78598012cc20100076642a00057009533..."} 
[2026-09-24 19:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b78598012cc20100076642a00057009533..."} 
[2026-09-24 19:33:21] local.INFO: Processing buffer {"connection_id":193009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b78598012cc20100076642a00057009533..."} 
[2026-09-24 19:33:21] local.INFO: Packet analysis {"connection_id":193009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b7"} 
[2026-09-24 19:33:21] local.INFO: Extracted packet for processing {"connection_id":193009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b7"} 
[2026-09-24 19:33:21] local.INFO: GPS Element Parsed {"raw_longitude":750911744,"raw_latitude":124142240,"longitude_deg":75.0911744,"latitude_deg":12.414224,"altitude":87,"angle":149,"satellites":51,"speed":52,"hex_longitude":"2cc20100","hex_latitude":"076642a0","is_valid_coordinates":true} 
[2026-09-24 19:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306151168001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:33:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4482981553541756928,"note":"Value kept but may cause issues"} 
[2026-09-24 19:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790258415000,"timestamp_ms":1790258415000,"timestamp_seconds":1790258415,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b78598"} 
[2026-09-24 19:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-24 19:33:21] 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-09-24 19:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306151168001,"66":27843,"39":206,"27":54016,"24":52,"16":3605341577150464,"44":-4482981553541756928},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-09-24 19:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306151168001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:33:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-24 19:33:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:33:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4482981553541756928,"description":"Unknown IO ID 44"} 
[2026-09-24 19:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306151168001,"power":27843,"unknown_39":206,"unknown_27":54016,"ignition":52,"odometer":null,"unknown_44":-4482981553541756928}} 
[2026-09-24 19:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":193009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891674,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:33:21] local.INFO: GPS data processed {"connection_id":193009,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:33:21] local.INFO: Acknowledgment sent {"connection_id":193009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:33:21] local.INFO: TCP Data received {"connection_id":194287,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:33:21] local.INFO: Processing buffer {"connection_id":194287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:33:21] local.INFO: IMEI packet received {"connection_id":194287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":194287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:33:22] local.INFO: TCP Data received {"connection_id":194287,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b8fc98012d1948c0071ffa78003b00682c..."} 
[2026-09-24 19:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b8fc98012d1948c0071ffa78003b00682c..."} 
[2026-09-24 19:33:22] local.INFO: Processing buffer {"connection_id":194287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b8fc98012d1948c0071ffa78003b00682c..."} 
[2026-09-24 19:33:22] local.INFO: Packet analysis {"connection_id":194287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b8"} 
[2026-09-24 19:33:22] local.INFO: Extracted packet for processing {"connection_id":194287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b8"} 
[2026-09-24 19:33:22] local.INFO: GPS Element Parsed {"raw_longitude":756631744,"raw_latitude":119536248,"longitude_deg":75.6631744,"latitude_deg":11.9536248,"altitude":59,"angle":104,"satellites":44,"speed":12,"hex_longitude":"2d1948c0","hex_latitude":"071ffa78","is_valid_coordinates":true} 
[2026-09-24 19:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306176512001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047872547127296,"note":"Value kept but may cause issues"} 
[2026-09-24 19:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067593889792,"note":"Value kept but may cause issues"} 
[2026-09-24 19:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790258511000,"timestamp_ms":1790258511000,"timestamp_seconds":1790258511,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b8fc98"} 
[2026-09-24 19:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:33:22] 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-09-24 19:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-24 19:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306176512001,"66":12798,"102":206,"83":41984,"24":12,"16":23047872547127296,"45":1819032067593889792},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306176512001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:33:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:33:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047872547127296,"km_value":23047872547127.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067593889792,"description":"Unknown IO ID 45"} 
[2026-09-24 19:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306176512001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1819032067593889792}} 
[2026-09-24 19:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":194287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:33:22] local.INFO: GPS data processed {"connection_id":194287,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:33:22] local.INFO: Acknowledgment sent {"connection_id":194287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:33:28] local.INFO: TCP Data received {"connection_id":194288,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:33:28] local.INFO: Processing buffer {"connection_id":194288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:33:28] local.INFO: IMEI packet received {"connection_id":194288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":194288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:33:33] local.INFO: TCP Data received {"connection_id":194288,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:33:33] local.INFO: Processing buffer {"connection_id":194288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:33:33] local.INFO: IMEI packet received {"connection_id":194288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":194288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:33:34] local.INFO: TCP Data received {"connection_id":194288,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:33:34] local.INFO: Processing buffer {"connection_id":194288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:33:34] local.INFO: Packet analysis {"connection_id":194288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:33:34] local.INFO: Extracted packet for processing {"connection_id":194288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:33:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306104832001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790258523000,"timestamp_ms":1790258523000,"timestamp_seconds":1790258523,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b92b78"} 
[2026-09-24 19:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306104832001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306104832001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:33:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:33:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306104832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":194288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:33:34] local.INFO: GPS data processed {"connection_id":194288,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:33:34] local.INFO: Acknowledgment sent {"connection_id":194288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:33:39] local.INFO: TCP Data received {"connection_id":194288,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:33:39] local.INFO: Processing buffer {"connection_id":194288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:33:39] local.INFO: Packet analysis {"connection_id":194288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:33:39] local.INFO: Extracted packet for processing {"connection_id":194288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:33:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306104832001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790258523000,"timestamp_ms":1790258523000,"timestamp_seconds":1790258523,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b92b78"} 
[2026-09-24 19:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306104832001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306104832001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:33:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:33:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306104832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":194288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:33:39] local.INFO: GPS data processed {"connection_id":194288,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:33:39] local.INFO: Acknowledgment sent {"connection_id":194288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:33:53] local.INFO: TCP Data received {"connection_id":194287,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b90468012d194b40071ff990003b00782a..."} 
[2026-09-24 19:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b90468012d194b40071ff990003b00782a..."} 
[2026-09-24 19:33:53] local.INFO: Processing buffer {"connection_id":194287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b90468012d194b40071ff990003b00782a..."} 
[2026-09-24 19:33:53] local.INFO: Packet analysis {"connection_id":194287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:33:53] local.INFO: Extracted packet for processing {"connection_id":194287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:33:53] local.INFO: GPS Element Parsed {"raw_longitude":756632384,"raw_latitude":119536016,"longitude_deg":75.6632384,"latitude_deg":11.9536016,"altitude":59,"angle":120,"satellites":42,"speed":12,"hex_longitude":"2d194b40","hex_latitude":"071ff990","is_valid_coordinates":true} 
[2026-09-24 19:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306178816001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047902611898368,"note":"Value kept but may cause issues"} 
[2026-09-24 19:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821917186105178112,"note":"Value kept but may cause issues"} 
[2026-09-24 19:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790258513000,"timestamp_ms":1790258513000,"timestamp_seconds":1790258513,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b90468"} 
[2026-09-24 19:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 19:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306178816001,"66":12591,"102":206,"83":41984,"24":12,"16":23047902611898368,"45":1821917186105178112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306178816001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:33:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:33:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047902611898368,"km_value":23047902611898.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821917186105178112,"description":"Unknown IO ID 45"} 
[2026-09-24 19:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306178816001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1821917186105178112}} 
[2026-09-24 19:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":194287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:33:53] local.INFO: GPS data processed {"connection_id":194287,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:33:53] local.INFO: Acknowledgment sent {"connection_id":194287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:34:06] local.INFO: TCP Data received {"connection_id":191430,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:34:06] local.INFO: Processing buffer {"connection_id":191430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:34:06] local.INFO: IMEI packet received {"connection_id":191430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":191430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:34:10] local.INFO: TCP Data received {"connection_id":194288,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:34:10] local.INFO: Processing buffer {"connection_id":194288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:34:10] local.INFO: Packet analysis {"connection_id":194288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:34:10] local.INFO: Extracted packet for processing {"connection_id":194288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 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-09-24 19:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306104832001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790258523000,"timestamp_ms":1790258523000,"timestamp_seconds":1790258523,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b92b78"} 
[2026-09-24 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-09-24 19:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 19:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":194288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":194288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":194288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306104832001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306104832001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:34:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306104832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":194288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:34:10] local.INFO: GPS data processed {"connection_id":194288,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:34:10] local.INFO: Acknowledgment sent {"connection_id":194288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:34:11] local.INFO: TCP Data received {"connection_id":191430,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:34:11] local.INFO: Processing buffer {"connection_id":191430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:34:11] local.INFO: IMEI packet received {"connection_id":191430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":191430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:34:12] local.INFO: TCP Data received {"connection_id":191430,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b7d7a0012cc227800765f1780051009b31..."} 
[2026-09-24 19:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b7d7a0012cc227800765f1780051009b31..."} 
[2026-09-24 19:34:12] local.INFO: Processing buffer {"connection_id":191430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b7d7a0012cc227800765f1780051009b31..."} 
[2026-09-24 19:34:12] local.INFO: Packet analysis {"connection_id":191430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b7"} 
[2026-09-24 19:34:12] local.INFO: Extracted packet for processing {"connection_id":191430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b7"} 
[2026-09-24 19:34:12] local.INFO: GPS Element Parsed {"raw_longitude":750921600,"raw_latitude":124121464,"longitude_deg":75.09216,"latitude_deg":12.4121464,"altitude":81,"angle":155,"satellites":49,"speed":0,"hex_longitude":"2cc22780","hex_latitude":"0765f178","is_valid_coordinates":true} 
[2026-09-24 19:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306154240001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:34:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4467289323594407936,"note":"Value kept but may cause issues"} 
[2026-09-24 19:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790258436000,"timestamp_ms":1790258436000,"timestamp_seconds":1790258436,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b7d7a0"} 
[2026-09-24 19:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-24 19:34:12] 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-09-24 19:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306154240001,"66":27517,"37":206,"27":54016,"24":0,"16":3605341577150464,"44":-4467289323594407936},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-09-24 19:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306154240001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:34:12] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 19:34:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:34:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4467289323594407936,"description":"Unknown IO ID 44"} 
[2026-09-24 19:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306154240001,"power":27517,"unknown_37":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4467289323594407936}} 
[2026-09-24 19:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":191430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891680,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:34:12] local.INFO: GPS data processed {"connection_id":191430,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:34:12] local.INFO: Acknowledgment sent {"connection_id":191430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:34:21] local.INFO: TCP Data received {"connection_id":193010,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:34:21] local.INFO: Processing buffer {"connection_id":193010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:34:21] local.INFO: IMEI packet received {"connection_id":193010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":193010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:34:26] local.INFO: TCP Data received {"connection_id":193010,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:34:26] local.INFO: Processing buffer {"connection_id":193010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:34:26] local.INFO: IMEI packet received {"connection_id":193010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":193010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:34:27] local.INFO: TCP Data received {"connection_id":193010,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b90850012d194c40071ff8c0003b00892b..."} 
[2026-09-24 19:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b90850012d194c40071ff8c0003b00892b..."} 
[2026-09-24 19:34:27] local.INFO: Processing buffer {"connection_id":193010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b90850012d194c40071ff8c0003b00892b..."} 
[2026-09-24 19:34:27] local.INFO: Packet analysis {"connection_id":193010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:34:27] local.INFO: Extracted packet for processing {"connection_id":193010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:34:27] local.INFO: GPS Element Parsed {"raw_longitude":756632640,"raw_latitude":119535808,"longitude_deg":75.663264,"latitude_deg":11.9535808,"altitude":59,"angle":137,"satellites":43,"speed":12,"hex_longitude":"2d194c40","hex_latitude":"071ff8c0","is_valid_coordinates":true} 
[2026-09-24 19:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306179328001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047915496800256,"note":"Value kept but may cause issues"} 
[2026-09-24 19:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822620873546895360,"note":"Value kept but may cause issues"} 
[2026-09-24 19:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790258514000,"timestamp_ms":1790258514000,"timestamp_seconds":1790258514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b90850"} 
[2026-09-24 19:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 19:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":193010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":193010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":193010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306179328001,"66":12591,"102":206,"83":41984,"24":12,"16":23047915496800256,"45":1822620873546895360},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306179328001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:34:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:34:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047915496800256,"km_value":23047915496800.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822620873546895360,"description":"Unknown IO ID 45"} 
[2026-09-24 19:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306179328001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1822620873546895360}} 
[2026-09-24 19:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":193010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:34:27] local.INFO: GPS data processed {"connection_id":193010,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:34:27] local.INFO: Acknowledgment sent {"connection_id":193010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:34:27] local.INFO: TCP Data received {"connection_id":193011,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:34:27] local.INFO: Processing buffer {"connection_id":193011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:34:27] local.INFO: IMEI packet received {"connection_id":193011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":193011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:34:31] local.INFO: TCP Data received {"connection_id":193010,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b90c38012d194d00071ff7b8003c00952c..."} 
[2026-09-24 19:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b90c38012d194d00071ff7b8003c00952c..."} 
[2026-09-24 19:34:31] local.INFO: Processing buffer {"connection_id":193010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b90c38012d194d00071ff7b8003c00952c..."} 
[2026-09-24 19:34:31] local.INFO: Packet analysis {"connection_id":193010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:34:31] local.INFO: Extracted packet for processing {"connection_id":193010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:34:31] local.INFO: GPS Element Parsed {"raw_longitude":756632832,"raw_latitude":119535544,"longitude_deg":75.6632832,"latitude_deg":11.9535544,"altitude":60,"angle":149,"satellites":44,"speed":13,"hex_longitude":"2d194d00","hex_latitude":"071ff7b8","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306179584001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047932676669440,"note":"Value kept but may cause issues"} 
[2026-09-24 19:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822902348523552768,"note":"Value kept but may cause issues"} 
[2026-09-24 19:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790258515000,"timestamp_ms":1790258515000,"timestamp_seconds":1790258515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b90c38"} 
[2026-09-24 19:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 19:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306179584001,"66":12776,"102":206,"83":41984,"24":13,"16":23047932676669440,"45":1822902348523552768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306179584001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:34:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:34:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047932676669440,"km_value":23047932676669.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822902348523552768,"description":"Unknown IO ID 45"} 
[2026-09-24 19:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306179584001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1822902348523552768}} 
[2026-09-24 19:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":193010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:34:32] local.INFO: GPS data processed {"connection_id":193010,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:34:32] local.INFO: Acknowledgment sent {"connection_id":193010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:34:32] local.INFO: TCP Data received {"connection_id":193011,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:34:32] local.INFO: Processing buffer {"connection_id":193011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:34:32] local.INFO: IMEI packet received {"connection_id":193011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":193011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:34:33] local.INFO: TCP Data received {"connection_id":193011,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:34:33] local.INFO: Processing buffer {"connection_id":193011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:34:33] local.INFO: Packet analysis {"connection_id":193011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:34:33] local.INFO: Extracted packet for processing {"connection_id":193011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:34:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306104832001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790258523000,"timestamp_ms":1790258523000,"timestamp_seconds":1790258523,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b92b78"} 
[2026-09-24 19:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306104832001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306104832001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:34:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:34:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306104832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":193011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:34:33] local.INFO: GPS data processed {"connection_id":193011,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:34:33] local.INFO: Acknowledgment sent {"connection_id":193011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:34:44] local.INFO: TCP Data received {"connection_id":191430,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b80680012cc253c00765ad000052008932..."} 
[2026-09-24 19:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b80680012cc253c00765ad000052008932..."} 
[2026-09-24 19:34:44] local.INFO: Processing buffer {"connection_id":191430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b80680012cc253c00765ad000052008932..."} 
[2026-09-24 19:34:44] local.INFO: Packet analysis {"connection_id":191430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b8"} 
[2026-09-24 19:34:44] local.INFO: Extracted packet for processing {"connection_id":191430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b8"} 
[2026-09-24 19:34:44] local.INFO: GPS Element Parsed {"raw_longitude":750932928,"raw_latitude":124103936,"longitude_deg":75.0932928,"latitude_deg":12.4103936,"altitude":82,"angle":137,"satellites":50,"speed":49,"hex_longitude":"2cc253c0","hex_latitude":"0765ad00","is_valid_coordinates":true} 
[2026-09-24 19:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306159616001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:34:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4456452536996366336,"note":"Value kept but may cause issues"} 
[2026-09-24 19:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790258448000,"timestamp_ms":1790258448000,"timestamp_seconds":1790258448,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b80680"} 
[2026-09-24 19:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-24 19:34:44] 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-09-24 19:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306159616001,"66":27876,"37":206,"27":54016,"24":49,"16":3605341577150464,"44":-4456452536996366336},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-09-24 19:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306159616001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:34:44] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-24 19:34:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:34:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4456452536996366336,"description":"Unknown IO ID 44"} 
[2026-09-24 19:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306159616001,"power":27876,"unknown_37":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-4456452536996366336}} 
[2026-09-24 19:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":191430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891684,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:34:44] local.INFO: GPS data processed {"connection_id":191430,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:34:44] local.INFO: Acknowledgment sent {"connection_id":191430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:35:05] local.INFO: TCP Data received {"connection_id":193011,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:35:05] local.INFO: Processing buffer {"connection_id":193011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:35:05] local.INFO: Packet analysis {"connection_id":193011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:35:05] local.INFO: Extracted packet for processing {"connection_id":193011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:35:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306104832001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790258523000,"timestamp_ms":1790258523000,"timestamp_seconds":1790258523,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b92b78"} 
[2026-09-24 19:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306104832001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306104832001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:35:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:35:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306104832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":193011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:35:05] local.INFO: GPS data processed {"connection_id":193011,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:35:05] local.INFO: Acknowledgment sent {"connection_id":193011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:35:06] local.INFO: TCP Data received {"connection_id":191625,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:35:06] local.INFO: Processing buffer {"connection_id":191625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:35:06] local.INFO: IMEI packet received {"connection_id":191625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":191625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:35:10] local.INFO: TCP Data received {"connection_id":191625,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:35:10] local.INFO: Processing buffer {"connection_id":191625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:35:10] local.INFO: IMEI packet received {"connection_id":191625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":191625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:35:11] local.INFO: TCP Data received {"connection_id":191625,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:35:11] local.INFO: Processing buffer {"connection_id":191625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:35:11] local.INFO: IMEI packet received {"connection_id":191625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":191625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:35:12] local.INFO: TCP Data received {"connection_id":191625,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3badd10012cc395400762a9400048009c31..."} 
[2026-09-24 19:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3badd10012cc395400762a9400048009c31..."} 
[2026-09-24 19:35:12] local.INFO: Processing buffer {"connection_id":191625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3badd10012cc395400762a9400048009c31..."} 
[2026-09-24 19:35:12] local.INFO: Packet analysis {"connection_id":191625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ba"} 
[2026-09-24 19:35:12] local.INFO: Extracted packet for processing {"connection_id":191625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ba"} 
[2026-09-24 19:35:12] local.INFO: GPS Element Parsed {"raw_longitude":751015232,"raw_latitude":123906368,"longitude_deg":75.1015232,"latitude_deg":12.3906368,"altitude":72,"angle":156,"satellites":49,"speed":53,"hex_longitude":"2cc39540","hex_latitude":"0762a940","is_valid_coordinates":true} 
[2026-09-24 19:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306205952001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4364902800871112704,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790258634000,"timestamp_ms":1790258634000,"timestamp_seconds":1790258634,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3badd10"} 
[2026-09-24 19:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 19:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306205952001,"66":27908,"227":206,"27":54016,"24":53,"16":3605341577150464,"44":-4364902800871112704},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-09-24 19:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306205952001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:35:12] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-24 19:35:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:35:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4364902800871112704,"description":"Unknown IO ID 44"} 
[2026-09-24 19:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306205952001,"power":27908,"unknown_227":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-4364902800871112704}} 
[2026-09-24 19:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":191625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891686,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:35:12] local.INFO: GPS data processed {"connection_id":191625,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:35:12] local.INFO: Acknowledgment sent {"connection_id":191625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:35:16] local.INFO: TCP Data received {"connection_id":194289,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:35:16] local.INFO: Processing buffer {"connection_id":194289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:35:16] local.INFO: IMEI packet received {"connection_id":194289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":194289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:35:17] local.INFO: TCP Data received {"connection_id":191625,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3bb1f78012cc3a48007625c30004800bd31..."} 
[2026-09-24 19:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3bb1f78012cc3a48007625c30004800bd31..."} 
[2026-09-24 19:35:17] local.INFO: Processing buffer {"connection_id":191625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3bb1f78012cc3a48007625c30004800bd31..."} 
[2026-09-24 19:35:17] local.INFO: Packet analysis {"connection_id":191625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3bb"} 
[2026-09-24 19:35:17] local.INFO: Extracted packet for processing {"connection_id":191625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3bb"} 
[2026-09-24 19:35:17] local.INFO: GPS Element Parsed {"raw_longitude":751019136,"raw_latitude":123886640,"longitude_deg":75.1019136,"latitude_deg":12.388664,"altitude":72,"angle":189,"satellites":49,"speed":47,"hex_longitude":"2cc3a480","hex_latitude":"07625c30","is_valid_coordinates":true} 
[2026-09-24 19:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306210304001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4353503064319508480,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790258651000,"timestamp_ms":1790258651000,"timestamp_seconds":1790258651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3bb1f78"} 
[2026-09-24 19:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 19:35:17] 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-09-24 19:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306210304001,"66":27995,"98":206,"27":54016,"24":47,"16":3605341577150464,"44":-4353503064319508480},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,27,24,16,44]} 
[2026-09-24 19:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306210304001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:35:17] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-24 19:35:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:35:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4353503064319508480,"description":"Unknown IO ID 44"} 
[2026-09-24 19:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306210304001,"power":27995,"unknown_98":206,"unknown_27":54016,"ignition":47,"odometer":null,"unknown_44":-4353503064319508480}} 
[2026-09-24 19:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":191625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891687,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:35:17] local.INFO: GPS data processed {"connection_id":191625,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:35:17] local.INFO: Acknowledgment sent {"connection_id":191625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:35:21] local.INFO: TCP Data received {"connection_id":194289,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:35:21] local.INFO: Processing buffer {"connection_id":194289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:35:21] local.INFO: IMEI packet received {"connection_id":194289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":194289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:35:22] local.INFO: TCP Data received {"connection_id":194289,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b91bd8012d194fc0071ff3c0003c00882b..."} 
[2026-09-24 19:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b91bd8012d194fc0071ff3c0003c00882b..."} 
[2026-09-24 19:35:22] local.INFO: Processing buffer {"connection_id":194289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b91bd8012d194fc0071ff3c0003c00882b..."} 
[2026-09-24 19:35:22] local.INFO: Packet analysis {"connection_id":194289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:35:22] local.INFO: Extracted packet for processing {"connection_id":194289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:35:22] local.INFO: GPS Element Parsed {"raw_longitude":756633536,"raw_latitude":119534528,"longitude_deg":75.6633536,"latitude_deg":11.9534528,"altitude":60,"angle":136,"satellites":43,"speed":11,"hex_longitude":"2d194fc0","hex_latitude":"071ff3c0","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306179840001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047992806211584,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823113454756018176,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790258519000,"timestamp_ms":1790258519000,"timestamp_seconds":1790258519,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b91bd8"} 
[2026-09-24 19:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:35:22] 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-09-24 19: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-24 19:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306179840001,"66":12819,"102":206,"83":41984,"24":11,"16":23047992806211584,"45":1823113454756018176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306179840001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:35:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:35:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23047992806211584,"km_value":23047992806211.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823113454756018176,"description":"Unknown IO ID 45"} 
[2026-09-24 19:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306179840001,"power":12819,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1823113454756018176}} 
[2026-09-24 19:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":194289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:35:22] local.INFO: GPS data processed {"connection_id":194289,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:35:22] local.INFO: Acknowledgment sent {"connection_id":194289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:35:27] local.INFO: TCP Data received {"connection_id":191626,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:35:27] local.INFO: Processing buffer {"connection_id":191626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:35:27] local.INFO: IMEI packet received {"connection_id":191626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":191626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:35:33] local.INFO: TCP Data received {"connection_id":191626,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:35:33] local.INFO: Processing buffer {"connection_id":191626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:35:33] local.INFO: IMEI packet received {"connection_id":191626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":191626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:35:34] local.INFO: TCP Data received {"connection_id":191626,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:35:34] local.INFO: Processing buffer {"connection_id":191626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:35:34] local.INFO: Packet analysis {"connection_id":191626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:35:34] local.INFO: Extracted packet for processing {"connection_id":191626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:35:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 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-09-24 19:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306104832001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790258523000,"timestamp_ms":1790258523000,"timestamp_seconds":1790258523,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b92b78"} 
[2026-09-24 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-09-24 19:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 19:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306104832001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306104832001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:35:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:35:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306104832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":191626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:35:34] local.INFO: GPS data processed {"connection_id":191626,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:35:34] local.INFO: Acknowledgment sent {"connection_id":191626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:35:49] local.INFO: TCP Data received {"connection_id":191625,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3bb7180012cc3910007621cb8004600bf30..."} 
[2026-09-24 19:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3bb7180012cc3910007621cb8004600bf30..."} 
[2026-09-24 19:35:49] local.INFO: Processing buffer {"connection_id":191625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3bb7180012cc3910007621cb8004600bf30..."} 
[2026-09-24 19:35:49] local.INFO: Packet analysis {"connection_id":191625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3bb"} 
[2026-09-24 19:35:49] local.INFO: Extracted packet for processing {"connection_id":191625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3bb"} 
[2026-09-24 19:35:49] local.INFO: GPS Element Parsed {"raw_longitude":751014144,"raw_latitude":123870392,"longitude_deg":75.1014144,"latitude_deg":12.3870392,"altitude":70,"angle":191,"satellites":48,"speed":0,"hex_longitude":"2cc39100","hex_latitude":"07621cb8","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306214656001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4349210570929721344,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790258672000,"timestamp_ms":1790258672000,"timestamp_seconds":1790258672,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3bb7180"} 
[2026-09-24 19:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 19:35:49] 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-09-24 19: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-09-24 19:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306214656001,"66":28028,"98":206,"27":54016,"24":0,"16":3605341577150464,"44":-4349210570929721344},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,27,24,16,44]} 
[2026-09-24 19:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306214656001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:35:49] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-24 19:35:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:35:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4349210570929721344,"description":"Unknown IO ID 44"} 
[2026-09-24 19:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306214656001,"power":28028,"unknown_98":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4349210570929721344}} 
[2026-09-24 19:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":191625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891690,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:35:49] local.INFO: GPS data processed {"connection_id":191625,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:35:49] local.INFO: Acknowledgment sent {"connection_id":191625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:35:53] local.INFO: TCP Data received {"connection_id":194289,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b91fc0012d195100071ff318003c00742a..."} 
[2026-09-24 19:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b91fc0012d195100071ff318003c00742a..."} 
[2026-09-24 19:35:53] local.INFO: Processing buffer {"connection_id":194289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b91fc0012d195100071ff318003c00742a..."} 
[2026-09-24 19:35:53] local.INFO: Packet analysis {"connection_id":194289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:35:53] local.INFO: Extracted packet for processing {"connection_id":194289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:35:53] local.INFO: GPS Element Parsed {"raw_longitude":756633856,"raw_latitude":119534360,"longitude_deg":75.6633856,"latitude_deg":11.953436,"altitude":60,"angle":116,"satellites":42,"speed":13,"hex_longitude":"2d195100","hex_latitude":"071ff318","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306180864001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048009986080768,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823887510941712384,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790258520000,"timestamp_ms":1790258520000,"timestamp_seconds":1790258520,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b91fc0"} 
[2026-09-24 19:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-24 19:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:53] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3552104864,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:53] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":47104,"corrected_to":0} 
[2026-09-24 19:35:53] local.WARNING: Large IO value detected {"io_id":225,"raw_value":4060086272,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:53] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:53] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503951307636736,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:53] local.WARNING: Large IO value detected {"io_id":211,"raw_value":-5132441108569572288,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:53] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4202168379,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:53] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6197216974351958272,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-09-24 19:35:53] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2147950586,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:53] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182208234782976,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:53] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-5620266417967280557,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:53] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3788308480,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:53] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2304198140724533803,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:53] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755416621056241,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:53] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195184128,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:53] local.WARNING: Large IO value detected {"io_id":224,"raw_value":84751714552848378,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:53] local.WARNING: Large IO value detected {"io_id":40,"raw_value":15200035994075136,"note":"Value kept but may cause issues"} 
[2026-09-24 19:35:53] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,102,83,24,241,157,16,226,160,12,45,247,60,44,10,66,225,8,64,248,59,43,4,1,240,47,227,211,31,113,205,217,62,104,239,49,2,81,7,58,164,201,69,224,40],"length":625,"final_offset":755,"validated_count":45,"validation_warnings":[{"io_id":247,"original":47104,"validated":0},{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-09-24 19:35:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323605360541368320,"timestamp_seconds":4323605360541368.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 19:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306180864001,"66":12819,"102":206,"83":41984,"24":13,"16":23048009986080768,"45":1823887510941712384},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306180864001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:35:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:35:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048009986080768,"km_value":23048009986080.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823887510941712384,"description":"Unknown IO ID 45"} 
[2026-09-24 19:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306180864001,"power":12819,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1823887510941712384}} 
[2026-09-24 19:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":194289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:35:53] local.INFO: GPS data processed {"connection_id":194289,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:35:53] local.INFO: Acknowledgment sent {"connection_id":194289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:36:06] local.INFO: TCP Data received {"connection_id":191626,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:36:06] local.INFO: Processing buffer {"connection_id":191626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:36:06] local.INFO: Packet analysis {"connection_id":191626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:36:06] local.INFO: Extracted packet for processing {"connection_id":191626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:36:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306104832001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790258523000,"timestamp_ms":1790258523000,"timestamp_seconds":1790258523,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b92b78"} 
[2026-09-24 19:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:36: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-09-24 19:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306104832001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306104832001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:36:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:36:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306104832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":191626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:36:06] local.INFO: GPS data processed {"connection_id":191626,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:36:06] local.INFO: Acknowledgment sent {"connection_id":191626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:36:11] local.INFO: TCP Data received {"connection_id":191431,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:36:11] local.INFO: Processing buffer {"connection_id":191431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:36:11] local.INFO: IMEI packet received {"connection_id":191431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":191431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:36:16] local.INFO: TCP Data received {"connection_id":194290,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:36:16] local.INFO: Processing buffer {"connection_id":194290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:36:16] local.INFO: IMEI packet received {"connection_id":194290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":194290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:36:16] local.INFO: TCP Data received {"connection_id":191431,"ip":"117.224.9.235","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:36:16] local.INFO: Processing buffer {"connection_id":191431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:36:16] local.INFO: IMEI packet received {"connection_id":191431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 19:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":191431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:36:20] local.INFO: TCP Data received {"connection_id":191431,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3bbc388012cc386c00761d2a8004200bc32..."} 
[2026-09-24 19:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3bbc388012cc386c00761d2a8004200bc32..."} 
[2026-09-24 19:36:20] local.INFO: Processing buffer {"connection_id":191431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3bbc388012cc386c00761d2a8004200bc32..."} 
[2026-09-24 19:36:20] local.INFO: Packet analysis {"connection_id":191431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3bb"} 
[2026-09-24 19:36:20] local.INFO: Extracted packet for processing {"connection_id":191431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3bb"} 
[2026-09-24 19:36:20] local.INFO: GPS Element Parsed {"raw_longitude":751011520,"raw_latitude":123851432,"longitude_deg":75.101152,"latitude_deg":12.3851432,"altitude":66,"angle":188,"satellites":50,"speed":0,"hex_longitude":"2cc386c0","hex_latitude":"0761d2a8","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306220032001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4354699332979738624,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790258693000,"timestamp_ms":1790258693000,"timestamp_seconds":1790258693,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3bbc388"} 
[2026-09-24 19:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-24 19:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306220032001,"66":27745,"98":206,"27":54016,"24":0,"16":3605341577150464,"44":-4354699332979738624},"client_ip":"117.224.9.235","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,27,24,16,44]} 
[2026-09-24 19:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 19:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 19:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306220032001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:36:20] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-24 19:36:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-09-24 19:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:36:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4354699332979738624,"description":"Unknown IO ID 44"} 
[2026-09-24 19:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306220032001,"power":27745,"unknown_98":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4354699332979738624}} 
[2026-09-24 19:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":191431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891693,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:36:20] local.INFO: GPS data processed {"connection_id":191431,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:36:20] local.INFO: Acknowledgment sent {"connection_id":191431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:36:21] local.INFO: TCP Data received {"connection_id":194290,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:36:21] local.INFO: Processing buffer {"connection_id":194290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:36:21] local.INFO: IMEI packet received {"connection_id":194290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":194290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:36:22] local.INFO: TCP Data received {"connection_id":191431,"ip":"117.224.9.235","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3bcaa000100000000000000000000000000..."} 
[2026-09-24 19:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3bcaa000100000000000000000000000000..."} 
[2026-09-24 19:36:22] local.INFO: Processing buffer {"connection_id":191431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3bcaa000100000000000000000000000000..."} 
[2026-09-24 19:36:22] local.INFO: Packet analysis {"connection_id":191431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3bc"} 
[2026-09-24 19:36:22] local.INFO: Extracted packet for processing {"connection_id":191431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3bc"} 
[2026-09-24 19:36:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 19:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306225408001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4357584451495876608,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790258752000,"timestamp_ms":1790258752000,"timestamp_seconds":1790258752,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3bcaa00"} 
[2026-09-24 19:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 19:36:22] 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-09-24 19:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 19:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.9.235","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 19:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 19:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":191431,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 19:36:22] local.INFO: GPS data processed {"connection_id":191431,"processed":0,"errors":0,"total":1} 
[2026-09-24 19:36:22] local.INFO: Acknowledgment sent {"connection_id":191431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:36:22] local.INFO: TCP Data received {"connection_id":194290,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b92b78012d195500071ff188003d00692b..."} 
[2026-09-24 19:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b92b78012d195500071ff188003d00692b..."} 
[2026-09-24 19:36:22] local.INFO: Processing buffer {"connection_id":194290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b92b78012d195500071ff188003d00692b..."} 
[2026-09-24 19:36:22] local.INFO: Packet analysis {"connection_id":194290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:36:22] local.INFO: Extracted packet for processing {"connection_id":194290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:36:22] local.INFO: GPS Element Parsed {"raw_longitude":756634880,"raw_latitude":119533960,"longitude_deg":75.663488,"latitude_deg":11.953396,"altitude":61,"angle":105,"satellites":43,"speed":14,"hex_longitude":"2d195500","hex_latitude":"071ff188","is_valid_coordinates":true} 
[2026-09-24 19:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306181120001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048061525688320,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824239354662557696,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790258523000,"timestamp_ms":1790258523000,"timestamp_seconds":1790258523,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b92b78"} 
[2026-09-24 19:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:36:22] 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-09-24 19:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3552106864,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":47104,"corrected_to":0} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":225,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503951307767808,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":211,"raw_value":-5129142573686244096,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4186964027,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6197216974351958272,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":252,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":72,"raw_value":3221692410,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182208234782976,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-7998167021218902445,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3790274560,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2304215732977682220,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194992128,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":232,"raw_value":84751714552848378,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.WARNING: Large IO value detected {"io_id":40,"raw_value":15200036010852352,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:22] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,102,83,24,241,157,16,226,160,27,45,192,243,60,43,10,66,12,247,44,225,8,64,1,240,47,227,211,31,4,113,205,252,72,120,239,49,2,81,7,58,164,69,232,40],"length":625,"final_offset":755,"validated_count":45,"validation_warnings":[{"io_id":247,"original":47104,"validated":0},{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-09-24 19:36:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323583366013976576,"timestamp_seconds":4323583366013976.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-24 19:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306181120001,"66":12678,"102":206,"83":41984,"24":14,"16":23048061525688320,"45":1824239354662557696},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306181120001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:36:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:36:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048061525688320,"km_value":23048061525688.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824239354662557696,"description":"Unknown IO ID 45"} 
[2026-09-24 19:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306181120001,"power":12678,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1824239354662557696}} 
[2026-09-24 19:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":194290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:36:22] local.INFO: GPS data processed {"connection_id":194290,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:36:22] local.INFO: Acknowledgment sent {"connection_id":194290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:36:27] local.INFO: TCP Data received {"connection_id":191432,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:36:27] local.INFO: Processing buffer {"connection_id":191432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:36:27] local.INFO: IMEI packet received {"connection_id":191432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":191432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:36:32] local.INFO: TCP Data received {"connection_id":191432,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:36:32] local.INFO: Processing buffer {"connection_id":191432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:36:32] local.INFO: IMEI packet received {"connection_id":191432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":191432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:36:35] local.INFO: TCP Data received {"connection_id":191432,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:36:35] local.INFO: Processing buffer {"connection_id":191432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:36:35] local.INFO: Packet analysis {"connection_id":191432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:36:35] local.INFO: Extracted packet for processing {"connection_id":191432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306104832001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790258523000,"timestamp_ms":1790258523000,"timestamp_seconds":1790258523,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b92b78"} 
[2026-09-24 19:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306104832001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306104832001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:36:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:36:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306104832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":191432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:36:35] local.INFO: GPS data processed {"connection_id":191432,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:36:35] local.INFO: Acknowledgment sent {"connection_id":191432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:36:53] local.INFO: TCP Data received {"connection_id":194290,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b96228012d196480071fecc8003d00482c..."} 
[2026-09-24 19:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b96228012d196480071fecc8003d00482c..."} 
[2026-09-24 19:36:53] local.INFO: Processing buffer {"connection_id":194290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b96228012d196480071fecc8003d00482c..."} 
[2026-09-24 19:36:53] local.INFO: Packet analysis {"connection_id":194290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:36:53] local.INFO: Extracted packet for processing {"connection_id":194290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:36:53] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532744,"longitude_deg":75.6638848,"latitude_deg":11.9532744,"altitude":61,"angle":72,"satellites":44,"speed":5,"hex_longitude":"2d196480","hex_latitude":"071fecc8","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306181888001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048263389151232,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825365254569297920,"note":"Value kept but may cause issues"} 
[2026-09-24 19:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790258537000,"timestamp_ms":1790258537000,"timestamp_seconds":1790258537,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b96228"} 
[2026-09-24 19:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 19:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306181888001,"66":12776,"102":206,"83":41984,"24":5,"16":23048263389151232,"45":1825365254569297920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306181888001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:36:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:36:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048263389151232,"km_value":23048263389151.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825365254569297920,"description":"Unknown IO ID 45"} 
[2026-09-24 19:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306181888001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1825365254569297920}} 
[2026-09-24 19:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":194290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:36:53] local.INFO: GPS data processed {"connection_id":194290,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:36:53] local.INFO: Acknowledgment sent {"connection_id":194290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:37:06] local.INFO: TCP Data received {"connection_id":191432,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:37:06] local.INFO: Processing buffer {"connection_id":191432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:37:06] local.INFO: Packet analysis {"connection_id":191432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:37:06] local.INFO: Extracted packet for processing {"connection_id":191432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:37:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306104832001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790258523000,"timestamp_ms":1790258523000,"timestamp_seconds":1790258523,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b92b78"} 
[2026-09-24 19:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:37: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-09-24 19:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306104832001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306104832001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:37:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:37:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306104832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":191432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:37:06] local.INFO: GPS data processed {"connection_id":191432,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:37:06] local.INFO: Acknowledgment sent {"connection_id":191432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:37:16] local.INFO: TCP Data received {"connection_id":194291,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:37:16] local.INFO: Processing buffer {"connection_id":194291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:37:16] local.INFO: IMEI packet received {"connection_id":194291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":194291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:37:21] local.INFO: TCP Data received {"connection_id":194291,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:37:21] local.INFO: Processing buffer {"connection_id":194291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:37:21] local.INFO: IMEI packet received {"connection_id":194291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":194291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:37:22] local.INFO: TCP Data received {"connection_id":194291,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b9b430012d1965c0071fed20003c00482d..."} 
[2026-09-24 19:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b9b430012d1965c0071fed20003c00482d..."} 
[2026-09-24 19:37:22] local.INFO: Processing buffer {"connection_id":194291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b9b430012d1965c0071fed20003c00482d..."} 
[2026-09-24 19:37:22] local.INFO: Packet analysis {"connection_id":194291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:37:22] local.INFO: Extracted packet for processing {"connection_id":194291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:37:22] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119532832,"longitude_deg":75.6639168,"latitude_deg":11.9532832,"altitude":60,"angle":72,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-24 19:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306185472001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708001792,"note":"Value kept but may cause issues"} 
[2026-09-24 19:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790258558000,"timestamp_ms":1790258558000,"timestamp_seconds":1790258558,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b9b430"} 
[2026-09-24 19:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:37:22] 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-09-24 19:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-24 19:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306185472001,"66":12743,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829728116708001792},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306185472001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:37:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:37:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708001792,"description":"Unknown IO ID 45"} 
[2026-09-24 19:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306185472001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708001792}} 
[2026-09-24 19:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":194291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:37:22] local.INFO: GPS data processed {"connection_id":194291,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:37:22] local.INFO: Acknowledgment sent {"connection_id":194291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:37:27] local.INFO: TCP Data received {"connection_id":191433,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:37:27] local.INFO: Processing buffer {"connection_id":191433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:37:27] local.INFO: IMEI packet received {"connection_id":191433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":191433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:37:33] local.INFO: TCP Data received {"connection_id":191433,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:37:33] local.INFO: Processing buffer {"connection_id":191433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:37:33] local.INFO: IMEI packet received {"connection_id":191433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":191433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:37:34] local.INFO: TCP Data received {"connection_id":191433,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:37:34] local.INFO: Processing buffer {"connection_id":191433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3b92b78012d34c14006aa4940000900f52c..."} 
[2026-09-24 19:37:34] local.INFO: Packet analysis {"connection_id":191433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:37:34] local.INFO: Extracted packet for processing {"connection_id":191433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3b9"} 
[2026-09-24 19:37:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306104832001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790258523000,"timestamp_ms":1790258523000,"timestamp_seconds":1790258523,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3b92b78"} 
[2026-09-24 19:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306104832001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306104832001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:37:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:37:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306104832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":191433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:37:34] local.INFO: GPS data processed {"connection_id":191433,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:37:34] local.INFO: Acknowledgment sent {"connection_id":191433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:37:53] local.INFO: TCP Data received {"connection_id":194291,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ba0638012d1965c0071fed20003c00482d..."} 
[2026-09-24 19:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ba0638012d1965c0071fed20003c00482d..."} 
[2026-09-24 19:37:53] local.INFO: Processing buffer {"connection_id":194291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ba0638012d1965c0071fed20003c00482d..."} 
[2026-09-24 19:37:53] local.INFO: Packet analysis {"connection_id":194291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ba"} 
[2026-09-24 19:37:53] local.INFO: Extracted packet for processing {"connection_id":194291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ba"} 
[2026-09-24 19:37:53] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119532832,"longitude_deg":75.6639168,"latitude_deg":11.9532832,"altitude":60,"angle":72,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-24 19:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306190848001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960428912640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790258579000,"timestamp_ms":1790258579000,"timestamp_seconds":1790258579,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ba0638"} 
[2026-09-24 19:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-24 19:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306190848001,"66":13080,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1830079960428912640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306190848001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:37:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:37:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960428912640,"description":"Unknown IO ID 45"} 
[2026-09-24 19:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306190848001,"power":13080,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960428912640}} 
[2026-09-24 19:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":194291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:37:53] local.INFO: GPS data processed {"connection_id":194291,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:37:53] local.INFO: Acknowledgment sent {"connection_id":194291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:38:05] local.INFO: TCP Data received {"connection_id":191433,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:38:05] local.INFO: Processing buffer {"connection_id":191433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:38:05] local.INFO: Packet analysis {"connection_id":191433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3bd"} 
[2026-09-24 19:38:05] local.INFO: Extracted packet for processing {"connection_id":191433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3bd"} 
[2026-09-24 19:38:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306181888001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790258824000,"timestamp_ms":1790258824000,"timestamp_seconds":1790258824,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3bdc340"} 
[2026-09-24 19:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306181888001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306181888001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:38:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:38:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306181888001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":191433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:38:05] local.INFO: GPS data processed {"connection_id":191433,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:38:05] local.INFO: Acknowledgment sent {"connection_id":191433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:38:21] local.INFO: TCP Data received {"connection_id":191434,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:38:21] local.INFO: Processing buffer {"connection_id":191434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:38:21] local.INFO: IMEI packet received {"connection_id":191434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":191434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:38:26] local.INFO: TCP Data received {"connection_id":191434,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:38:26] local.INFO: Processing buffer {"connection_id":191434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:38:26] local.INFO: IMEI packet received {"connection_id":191434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":191434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:38:27] local.INFO: TCP Data received {"connection_id":191434,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ba0638012d1965c0071fed20003c00482d..."} 
[2026-09-24 19:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ba0638012d1965c0071fed20003c00482d..."} 
[2026-09-24 19:38:27] local.INFO: Processing buffer {"connection_id":191434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ba0638012d1965c0071fed20003c00482d..."} 
[2026-09-24 19:38:27] local.INFO: Packet analysis {"connection_id":191434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ba"} 
[2026-09-24 19:38:27] local.INFO: Extracted packet for processing {"connection_id":191434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ba"} 
[2026-09-24 19:38:27] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119532832,"longitude_deg":75.6639168,"latitude_deg":11.9532832,"altitude":60,"angle":72,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-24 19:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306196224001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960428912640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790258579000,"timestamp_ms":1790258579000,"timestamp_seconds":1790258579,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ba0638"} 
[2026-09-24 19:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 19:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-24 19:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:38: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-09-24 19:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306196224001,"66":13080,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1830079960428912640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306196224001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:38:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:38:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960428912640,"description":"Unknown IO ID 45"} 
[2026-09-24 19:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306196224001,"power":13080,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960428912640}} 
[2026-09-24 19:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":191434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:38:27] local.INFO: GPS data processed {"connection_id":191434,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:38:27] local.INFO: Acknowledgment sent {"connection_id":191434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:38:31] local.INFO: TCP Data received {"connection_id":191434,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ba0638012d1965c0071fed20003c00482d..."} 
[2026-09-24 19:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ba0638012d1965c0071fed20003c00482d..."} 
[2026-09-24 19:38:31] local.INFO: Processing buffer {"connection_id":191434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ba0638012d1965c0071fed20003c00482d..."} 
[2026-09-24 19:38:31] local.INFO: Packet analysis {"connection_id":191434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ba"} 
[2026-09-24 19:38:31] local.INFO: Extracted packet for processing {"connection_id":191434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ba"} 
[2026-09-24 19:38:31] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119532832,"longitude_deg":75.6639168,"latitude_deg":11.9532832,"altitude":60,"angle":72,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-24 19:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306196224001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960428912640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790258579000,"timestamp_ms":1790258579000,"timestamp_seconds":1790258579,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ba0638"} 
[2026-09-24 19:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-24 19:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":191434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":191434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":191434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306196224001,"66":13080,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1830079960428912640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306196224001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:38:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:38:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960428912640,"description":"Unknown IO ID 45"} 
[2026-09-24 19:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306196224001,"power":13080,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960428912640}} 
[2026-09-24 19:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":191434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:38:31] local.INFO: GPS data processed {"connection_id":191434,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:38:31] local.INFO: Acknowledgment sent {"connection_id":191434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:38:32] local.INFO: TCP Data received {"connection_id":191627,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:38:32] local.INFO: Processing buffer {"connection_id":191627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:38:32] local.INFO: IMEI packet received {"connection_id":191627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":191627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:38:37] local.INFO: TCP Data received {"connection_id":191627,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:38:37] local.INFO: Processing buffer {"connection_id":191627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:38:37] local.INFO: IMEI packet received {"connection_id":191627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":191627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:38:38] local.INFO: TCP Data received {"connection_id":191627,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:38:38] local.INFO: Processing buffer {"connection_id":191627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:38:38] local.INFO: Packet analysis {"connection_id":191627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3bd"} 
[2026-09-24 19:38:38] local.INFO: Extracted packet for processing {"connection_id":191627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3bd"} 
[2026-09-24 19:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306181888001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790258824000,"timestamp_ms":1790258824000,"timestamp_seconds":1790258824,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3bdc340"} 
[2026-09-24 19:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306181888001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306181888001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:38:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306181888001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":191627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:38:38] local.INFO: GPS data processed {"connection_id":191627,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:38:38] local.INFO: Acknowledgment sent {"connection_id":191627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:38:43] local.INFO: TCP Data received {"connection_id":191627,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:38:43] local.INFO: Processing buffer {"connection_id":191627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:38:43] local.INFO: Packet analysis {"connection_id":191627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3bd"} 
[2026-09-24 19:38:43] local.INFO: Extracted packet for processing {"connection_id":191627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3bd"} 
[2026-09-24 19:38:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306181888001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790258824000,"timestamp_ms":1790258824000,"timestamp_seconds":1790258824,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3bdc340"} 
[2026-09-24 19:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306181888001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306181888001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:38:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:38:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306181888001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":191627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:38:43] local.INFO: GPS data processed {"connection_id":191627,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:38:43] local.INFO: Acknowledgment sent {"connection_id":191627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:39:16] local.INFO: TCP Data received {"connection_id":194292,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:39:16] local.INFO: Processing buffer {"connection_id":194292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:39:16] local.INFO: IMEI packet received {"connection_id":194292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":194292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:39:21] local.INFO: TCP Data received {"connection_id":194292,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:39:21] local.INFO: Processing buffer {"connection_id":194292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:39:21] local.INFO: IMEI packet received {"connection_id":194292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":194292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:39:22] local.INFO: TCP Data received {"connection_id":194292,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ba0638012d1965c0071fed20003c00482d..."} 
[2026-09-24 19:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ba0638012d1965c0071fed20003c00482d..."} 
[2026-09-24 19:39:22] local.INFO: Processing buffer {"connection_id":194292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ba0638012d1965c0071fed20003c00482d..."} 
[2026-09-24 19:39:22] local.INFO: Packet analysis {"connection_id":194292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ba"} 
[2026-09-24 19:39:22] local.INFO: Extracted packet for processing {"connection_id":194292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ba"} 
[2026-09-24 19:39:22] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119532832,"longitude_deg":75.6639168,"latitude_deg":11.9532832,"altitude":60,"angle":72,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-24 19:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306196224001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960428912640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790258579000,"timestamp_ms":1790258579000,"timestamp_seconds":1790258579,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ba0638"} 
[2026-09-24 19:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-24 19:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306196224001,"66":13080,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1830079960428912640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306196224001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:39:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:39:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960428912640,"description":"Unknown IO ID 45"} 
[2026-09-24 19:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306196224001,"power":13080,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960428912640}} 
[2026-09-24 19:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":194292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:39:22] local.INFO: GPS data processed {"connection_id":194292,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:39:22] local.INFO: Acknowledgment sent {"connection_id":194292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:39:28] local.INFO: TCP Data received {"connection_id":194293,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:39:28] local.INFO: Processing buffer {"connection_id":194293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:39:28] local.INFO: IMEI packet received {"connection_id":194293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":194293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:39:33] local.INFO: TCP Data received {"connection_id":194293,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:39:33] local.INFO: Processing buffer {"connection_id":194293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:39:33] local.INFO: IMEI packet received {"connection_id":194293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":194293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:39:34] local.INFO: TCP Data received {"connection_id":194293,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:39:34] local.INFO: Processing buffer {"connection_id":194293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:39:34] local.INFO: Packet analysis {"connection_id":194293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3bd"} 
[2026-09-24 19:39:34] local.INFO: Extracted packet for processing {"connection_id":194293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3bd"} 
[2026-09-24 19:39:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306181888001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790258824000,"timestamp_ms":1790258824000,"timestamp_seconds":1790258824,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3bdc340"} 
[2026-09-24 19:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306181888001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306181888001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:39:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:39:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306181888001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":194293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:39:34] local.INFO: GPS data processed {"connection_id":194293,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:39:34] local.INFO: Acknowledgment sent {"connection_id":194293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:39:38] local.INFO: TCP Data received {"connection_id":194293,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:39:38] local.INFO: Processing buffer {"connection_id":194293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:39:38] local.INFO: Packet analysis {"connection_id":194293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3bd"} 
[2026-09-24 19:39:38] local.INFO: Extracted packet for processing {"connection_id":194293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3bd"} 
[2026-09-24 19:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306181888001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790258824000,"timestamp_ms":1790258824000,"timestamp_seconds":1790258824,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3bdc340"} 
[2026-09-24 19:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306181888001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306181888001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:39:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:39:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306181888001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":194293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:39:38] local.INFO: GPS data processed {"connection_id":194293,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:39:38] local.INFO: Acknowledgment sent {"connection_id":194293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:39:53] local.INFO: TCP Data received {"connection_id":194292,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:39:53] local.INFO: Processing buffer {"connection_id":194292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:39:53] local.INFO: Packet analysis {"connection_id":194292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3be"} 
[2026-09-24 19:39:53] local.INFO: Extracted packet for processing {"connection_id":194292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3be"} 
[2026-09-24 19:39:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":67,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306196224001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960428912640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790258884000,"timestamp_ms":1790258884000,"timestamp_seconds":1790258884,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3beada0"} 
[2026-09-24 19:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-24 19:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306196224001,"66":2177,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1830079960428912640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306196224001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:39:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:39:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960428912640,"description":"Unknown IO ID 45"} 
[2026-09-24 19:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306196224001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960428912640}} 
[2026-09-24 19:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":194292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:39:53] local.INFO: GPS data processed {"connection_id":194292,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:39:53] local.INFO: Acknowledgment sent {"connection_id":194292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:40:10] local.INFO: TCP Data received {"connection_id":194293,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:40:10] local.INFO: Processing buffer {"connection_id":194293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:40:10] local.INFO: Packet analysis {"connection_id":194293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3bd"} 
[2026-09-24 19:40:10] local.INFO: Extracted packet for processing {"connection_id":194293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3bd"} 
[2026-09-24 19:40:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306181888001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790258824000,"timestamp_ms":1790258824000,"timestamp_seconds":1790258824,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3bdc340"} 
[2026-09-24 19:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":194293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":194293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":194293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306181888001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306181888001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:40:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:40:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306181888001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":194293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:40:10] local.INFO: GPS data processed {"connection_id":194293,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:40:10] local.INFO: Acknowledgment sent {"connection_id":194293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:40:16] local.INFO: TCP Data received {"connection_id":193012,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:40:16] local.INFO: Processing buffer {"connection_id":193012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:40:16] local.INFO: IMEI packet received {"connection_id":193012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":193012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:40:21] local.INFO: TCP Data received {"connection_id":191435,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:40:21] local.INFO: Processing buffer {"connection_id":191435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:40:21] local.INFO: IMEI packet received {"connection_id":191435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":191435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:40:21] local.INFO: TCP Data received {"connection_id":193012,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:40:21] local.INFO: Processing buffer {"connection_id":193012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:40:21] local.INFO: IMEI packet received {"connection_id":193012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":193012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:40:22] local.INFO: TCP Data received {"connection_id":193012,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:40:22] local.INFO: Processing buffer {"connection_id":193012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:40:22] local.INFO: Packet analysis {"connection_id":193012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3be"} 
[2026-09-24 19:40:22] local.INFO: Extracted packet for processing {"connection_id":193012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3be"} 
[2026-09-24 19:40:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":67,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306196224001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960428912640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790258884000,"timestamp_ms":1790258884000,"timestamp_seconds":1790258884,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3beada0"} 
[2026-09-24 19:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-24 19:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306196224001,"66":2177,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1830079960428912640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306196224001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:40:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:40:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960428912640,"description":"Unknown IO ID 45"} 
[2026-09-24 19:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306196224001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960428912640}} 
[2026-09-24 19:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":193012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:40:22] local.INFO: GPS data processed {"connection_id":193012,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:40:22] local.INFO: Acknowledgment sent {"connection_id":193012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:40:27] local.INFO: TCP Data received {"connection_id":191628,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:40:27] local.INFO: Processing buffer {"connection_id":191628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:40:27] local.INFO: IMEI packet received {"connection_id":191628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":191628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:40:32] local.INFO: TCP Data received {"connection_id":191628,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:40:32] local.INFO: Processing buffer {"connection_id":191628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:40:32] local.INFO: IMEI packet received {"connection_id":191628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":191628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:40:33] local.INFO: TCP Data received {"connection_id":191628,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:40:33] local.INFO: Processing buffer {"connection_id":191628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:40:33] local.INFO: Packet analysis {"connection_id":191628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3bd"} 
[2026-09-24 19:40:33] local.INFO: Extracted packet for processing {"connection_id":191628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3bd"} 
[2026-09-24 19:40:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306181888001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790258824000,"timestamp_ms":1790258824000,"timestamp_seconds":1790258824,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3bdc340"} 
[2026-09-24 19:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306181888001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306181888001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:40:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:40:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306181888001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":191628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:40:33] local.INFO: GPS data processed {"connection_id":191628,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:40:33] local.INFO: Acknowledgment sent {"connection_id":191628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:40:53] local.INFO: TCP Data received {"connection_id":193012,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:40:53] local.INFO: Processing buffer {"connection_id":193012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:40:53] local.INFO: Packet analysis {"connection_id":193012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3be"} 
[2026-09-24 19:40:53] local.INFO: Extracted packet for processing {"connection_id":193012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3be"} 
[2026-09-24 19:40:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":67,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306196224001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960428912640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790258884000,"timestamp_ms":1790258884000,"timestamp_seconds":1790258884,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3beada0"} 
[2026-09-24 19:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-24 19:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":193012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":193012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":193012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306196224001,"66":2177,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1830079960428912640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306196224001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:40:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:40:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960428912640,"description":"Unknown IO ID 45"} 
[2026-09-24 19:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306196224001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960428912640}} 
[2026-09-24 19:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":193012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:40:53] local.INFO: GPS data processed {"connection_id":193012,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:40:53] local.INFO: Acknowledgment sent {"connection_id":193012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:41:05] local.INFO: TCP Data received {"connection_id":191628,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:41:05] local.INFO: Processing buffer {"connection_id":191628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:41:05] local.INFO: Packet analysis {"connection_id":191628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3bd"} 
[2026-09-24 19:41:05] local.INFO: Extracted packet for processing {"connection_id":191628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3bd"} 
[2026-09-24 19:41:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306181888001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790258824000,"timestamp_ms":1790258824000,"timestamp_seconds":1790258824,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3bdc340"} 
[2026-09-24 19:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306181888001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306181888001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:41:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:41:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306181888001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":191628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:41:05] local.INFO: GPS data processed {"connection_id":191628,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:41:05] local.INFO: Acknowledgment sent {"connection_id":191628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:41:12] local.INFO: TCP Data received {"connection_id":191436,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:41:12] local.INFO: Processing buffer {"connection_id":191436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:41:12] local.INFO: IMEI packet received {"connection_id":191436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":191436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:41:16] local.INFO: TCP Data received {"connection_id":194294,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:41:16] local.INFO: Processing buffer {"connection_id":194294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:41:16] local.INFO: IMEI packet received {"connection_id":194294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":194294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:41:21] local.INFO: TCP Data received {"connection_id":194294,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:41:21] local.INFO: Processing buffer {"connection_id":194294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:41:21] local.INFO: IMEI packet received {"connection_id":194294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":194294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:41:22] local.INFO: TCP Data received {"connection_id":194294,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:41:22] local.INFO: Processing buffer {"connection_id":194294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:41:22] local.INFO: Packet analysis {"connection_id":194294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3be"} 
[2026-09-24 19:41:22] local.INFO: Extracted packet for processing {"connection_id":194294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3be"} 
[2026-09-24 19:41:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":67,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306196224001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960428912640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790258884000,"timestamp_ms":1790258884000,"timestamp_seconds":1790258884,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3beada0"} 
[2026-09-24 19:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-24 19:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306196224001,"66":2177,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1830079960428912640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306196224001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:41:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:41:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960428912640,"description":"Unknown IO ID 45"} 
[2026-09-24 19:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306196224001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960428912640}} 
[2026-09-24 19:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":194294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:41:22] local.INFO: GPS data processed {"connection_id":194294,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:41:22] local.INFO: Acknowledgment sent {"connection_id":194294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:41:28] local.INFO: TCP Data received {"connection_id":193013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:41:28] local.INFO: Processing buffer {"connection_id":193013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:41:28] local.INFO: IMEI packet received {"connection_id":193013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":193013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:41:33] local.INFO: TCP Data received {"connection_id":193013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:41:33] local.INFO: Processing buffer {"connection_id":193013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:41:33] local.INFO: IMEI packet received {"connection_id":193013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":193013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:41:34] local.INFO: TCP Data received {"connection_id":193013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:41:34] local.INFO: Processing buffer {"connection_id":193013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:41:34] local.INFO: Packet analysis {"connection_id":193013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3bd"} 
[2026-09-24 19:41:34] local.INFO: Extracted packet for processing {"connection_id":193013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3bd"} 
[2026-09-24 19:41:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306181888001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790258824000,"timestamp_ms":1790258824000,"timestamp_seconds":1790258824,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3bdc340"} 
[2026-09-24 19:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306181888001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306181888001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:41:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:41:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306181888001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":193013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:41:34] local.INFO: GPS data processed {"connection_id":193013,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:41:34] local.INFO: Acknowledgment sent {"connection_id":193013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:41:53] local.INFO: TCP Data received {"connection_id":194294,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:41:53] local.INFO: Processing buffer {"connection_id":194294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:41:53] local.INFO: Packet analysis {"connection_id":194294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3be"} 
[2026-09-24 19:41:53] local.INFO: Extracted packet for processing {"connection_id":194294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3be"} 
[2026-09-24 19:41:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":67,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306196224001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960428912640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790258884000,"timestamp_ms":1790258884000,"timestamp_seconds":1790258884,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3beada0"} 
[2026-09-24 19:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-24 19:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306196224001,"66":2177,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1830079960428912640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306196224001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:41:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:41:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960428912640,"description":"Unknown IO ID 45"} 
[2026-09-24 19:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306196224001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960428912640}} 
[2026-09-24 19:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":194294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:41:53] local.INFO: GPS data processed {"connection_id":194294,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:41:53] local.INFO: Acknowledgment sent {"connection_id":194294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:42:06] local.INFO: TCP Data received {"connection_id":193013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:42:06] local.INFO: Processing buffer {"connection_id":193013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:42:06] local.INFO: Packet analysis {"connection_id":193013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3bd"} 
[2026-09-24 19:42:06] local.INFO: Extracted packet for processing {"connection_id":193013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3bd"} 
[2026-09-24 19:42:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306181888001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790258824000,"timestamp_ms":1790258824000,"timestamp_seconds":1790258824,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3bdc340"} 
[2026-09-24 19:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306181888001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306181888001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:42:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:42:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306181888001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":193013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:42:06] local.INFO: GPS data processed {"connection_id":193013,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:42:06] local.INFO: Acknowledgment sent {"connection_id":193013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:42:16] local.INFO: TCP Data received {"connection_id":191438,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:42:16] local.INFO: Processing buffer {"connection_id":191438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:42:16] local.INFO: IMEI packet received {"connection_id":191438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":191438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:42:21] local.INFO: TCP Data received {"connection_id":191438,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:42:21] local.INFO: Processing buffer {"connection_id":191438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:42:21] local.INFO: IMEI packet received {"connection_id":191438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":191438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:42:22] local.INFO: TCP Data received {"connection_id":191438,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:42:22] local.INFO: Processing buffer {"connection_id":191438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:42:22] local.INFO: Packet analysis {"connection_id":191438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3be"} 
[2026-09-24 19:42:22] local.INFO: Extracted packet for processing {"connection_id":191438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3be"} 
[2026-09-24 19:42:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":67,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:42: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-09-24 19:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306196224001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960428912640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790258884000,"timestamp_ms":1790258884000,"timestamp_seconds":1790258884,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3beada0"} 
[2026-09-24 19:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-24 19:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:42: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-09-24 19:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306196224001,"66":2177,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1830079960428912640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306196224001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:42:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:42:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960428912640,"description":"Unknown IO ID 45"} 
[2026-09-24 19:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306196224001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960428912640}} 
[2026-09-24 19:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":191438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:42:22] local.INFO: GPS data processed {"connection_id":191438,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:42:22] local.INFO: Acknowledgment sent {"connection_id":191438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:42:27] local.INFO: TCP Data received {"connection_id":193014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:42:27] local.INFO: Processing buffer {"connection_id":193014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:42:27] local.INFO: IMEI packet received {"connection_id":193014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":193014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:42:32] local.INFO: TCP Data received {"connection_id":193014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:42:32] local.INFO: Processing buffer {"connection_id":193014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:42:32] local.INFO: IMEI packet received {"connection_id":193014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":193014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:42:34] local.INFO: TCP Data received {"connection_id":193014,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:42:34] local.INFO: Processing buffer {"connection_id":193014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3bdc340012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:42:34] local.INFO: Packet analysis {"connection_id":193014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3bd"} 
[2026-09-24 19:42:34] local.INFO: Extracted packet for processing {"connection_id":193014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3bd"} 
[2026-09-24 19:42:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306181888001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790258824000,"timestamp_ms":1790258824000,"timestamp_seconds":1790258824,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3bdc340"} 
[2026-09-24 19:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306181888001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306181888001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:42:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:42:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306181888001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":193014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:42:34] local.INFO: GPS data processed {"connection_id":193014,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:42:34] local.INFO: Acknowledgment sent {"connection_id":193014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:42:53] local.INFO: TCP Data received {"connection_id":191438,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:42:53] local.INFO: Processing buffer {"connection_id":191438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:42:53] local.INFO: Packet analysis {"connection_id":191438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3be"} 
[2026-09-24 19:42:53] local.INFO: Extracted packet for processing {"connection_id":191438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3be"} 
[2026-09-24 19:42:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":67,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306196224001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960428912640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790258884000,"timestamp_ms":1790258884000,"timestamp_seconds":1790258884,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3beada0"} 
[2026-09-24 19:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-24 19:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306196224001,"66":2177,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1830079960428912640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306196224001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:42:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:42:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960428912640,"description":"Unknown IO ID 45"} 
[2026-09-24 19:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306196224001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960428912640}} 
[2026-09-24 19:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":191438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:42:53] local.INFO: GPS data processed {"connection_id":191438,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:42:53] local.INFO: Acknowledgment sent {"connection_id":191438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:43:05] local.INFO: TCP Data received {"connection_id":193014,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:43:05] local.INFO: Processing buffer {"connection_id":193014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:43:05] local.INFO: Packet analysis {"connection_id":193014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c2"} 
[2026-09-24 19:43:05] local.INFO: Extracted packet for processing {"connection_id":193014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c2"} 
[2026-09-24 19:43:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306258944001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790259125000,"timestamp_ms":1790259125000,"timestamp_seconds":1790259125,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c25b08"} 
[2026-09-24 19:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:43: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-09-24 19: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-09-24 19:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306258944001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306258944001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:43:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:43:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306258944001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":193014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:43:05] local.INFO: GPS data processed {"connection_id":193014,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:43:05] local.INFO: Acknowledgment sent {"connection_id":193014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:43:16] local.INFO: TCP Data received {"connection_id":191439,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:43:16] local.INFO: Processing buffer {"connection_id":191439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:43:16] local.INFO: IMEI packet received {"connection_id":191439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":191439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:43:21] local.INFO: TCP Data received {"connection_id":191439,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:43:21] local.INFO: Processing buffer {"connection_id":191439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:43:21] local.INFO: IMEI packet received {"connection_id":191439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":191439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:43:22] local.INFO: TCP Data received {"connection_id":191439,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:43:22] local.INFO: Processing buffer {"connection_id":191439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3beada0012d196500071fef18004300482e..."} 
[2026-09-24 19:43:22] local.INFO: Packet analysis {"connection_id":191439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3be"} 
[2026-09-24 19:43:22] local.INFO: Extracted packet for processing {"connection_id":191439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3be"} 
[2026-09-24 19:43:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":67,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306196224001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960428912640,"note":"Value kept but may cause issues"} 
[2026-09-24 19:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790258884000,"timestamp_ms":1790258884000,"timestamp_seconds":1790258884,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3beada0"} 
[2026-09-24 19:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-24 19:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306196224001,"66":2177,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1830079960428912640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306196224001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:43:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:43:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960428912640,"description":"Unknown IO ID 45"} 
[2026-09-24 19:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306196224001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960428912640}} 
[2026-09-24 19:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":191439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:43:22] local.INFO: GPS data processed {"connection_id":191439,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:43:22] local.INFO: Acknowledgment sent {"connection_id":191439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:43:27] local.INFO: TCP Data received {"connection_id":193015,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:43:27] local.INFO: Processing buffer {"connection_id":193015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:43:27] local.INFO: IMEI packet received {"connection_id":193015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":193015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:43:33] local.INFO: TCP Data received {"connection_id":193015,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:43:33] local.INFO: Processing buffer {"connection_id":193015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:43:33] local.INFO: IMEI packet received {"connection_id":193015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":193015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:43:35] local.INFO: TCP Data received {"connection_id":193015,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:43:35] local.INFO: Processing buffer {"connection_id":193015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:43:35] local.INFO: Packet analysis {"connection_id":193015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c2"} 
[2026-09-24 19:43:35] local.INFO: Extracted packet for processing {"connection_id":193015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c2"} 
[2026-09-24 19:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306258944001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790259125000,"timestamp_ms":1790259125000,"timestamp_seconds":1790259125,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c25b08"} 
[2026-09-24 19:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:43: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-09-24 19:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306258944001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306258944001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:43:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:43:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306258944001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":193015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:43:35] local.INFO: GPS data processed {"connection_id":193015,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:43:35] local.INFO: Acknowledgment sent {"connection_id":193015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:43:53] local.INFO: TCP Data received {"connection_id":191439,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:43:53] local.INFO: Processing buffer {"connection_id":191439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:43:53] local.INFO: Packet analysis {"connection_id":191439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c3"} 
[2026-09-24 19:43:53] local.INFO: Extracted packet for processing {"connection_id":191439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c3"} 
[2026-09-24 19:43:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":67,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306274304001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790259185000,"timestamp_ms":1790259185000,"timestamp_seconds":1790259185,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c34568"} 
[2026-09-24 19:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 19:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306274304001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306274304001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:43:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:43:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306274304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":191439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:43:53] local.INFO: GPS data processed {"connection_id":191439,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:43:53] local.INFO: Acknowledgment sent {"connection_id":191439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:44:06] local.INFO: TCP Data received {"connection_id":193015,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:44:06] local.INFO: Processing buffer {"connection_id":193015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:44:06] local.INFO: Packet analysis {"connection_id":193015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c2"} 
[2026-09-24 19:44:06] local.INFO: Extracted packet for processing {"connection_id":193015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c2"} 
[2026-09-24 19:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306258944001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790259125000,"timestamp_ms":1790259125000,"timestamp_seconds":1790259125,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c25b08"} 
[2026-09-24 19:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306258944001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306258944001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:44:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:44:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306258944001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":193015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:44:06] local.INFO: GPS data processed {"connection_id":193015,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:44:06] local.INFO: Acknowledgment sent {"connection_id":193015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:44:21] local.INFO: TCP Data received {"connection_id":194295,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:44:21] local.INFO: Processing buffer {"connection_id":194295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:44:21] local.INFO: IMEI packet received {"connection_id":194295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":194295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:44:26] local.INFO: TCP Data received {"connection_id":194295,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:44:26] local.INFO: Processing buffer {"connection_id":194295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:44:26] local.INFO: IMEI packet received {"connection_id":194295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":194295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:44:27] local.INFO: TCP Data received {"connection_id":194295,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:44:27] local.INFO: Processing buffer {"connection_id":194295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:44:27] local.INFO: Packet analysis {"connection_id":194295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c3"} 
[2026-09-24 19:44:27] local.INFO: Extracted packet for processing {"connection_id":194295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c3"} 
[2026-09-24 19:44:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":67,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306274304001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790259185000,"timestamp_ms":1790259185000,"timestamp_seconds":1790259185,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c34568"} 
[2026-09-24 19:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 19:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":194295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":194295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":194295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306274304001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306274304001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:44:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:44:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306274304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":194295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:44:27] local.INFO: GPS data processed {"connection_id":194295,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:44:27] local.INFO: Acknowledgment sent {"connection_id":194295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:44:27] local.INFO: TCP Data received {"connection_id":194296,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:44:27] local.INFO: Processing buffer {"connection_id":194296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:44:27] local.INFO: IMEI packet received {"connection_id":194296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":194296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:44:32] local.INFO: TCP Data received {"connection_id":194296,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:44:32] local.INFO: Processing buffer {"connection_id":194296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:44:32] local.INFO: IMEI packet received {"connection_id":194296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":194296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:44:34] local.INFO: TCP Data received {"connection_id":194296,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:44:34] local.INFO: Processing buffer {"connection_id":194296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:44:34] local.INFO: Packet analysis {"connection_id":194296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c2"} 
[2026-09-24 19:44:34] local.INFO: Extracted packet for processing {"connection_id":194296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c2"} 
[2026-09-24 19:44:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306258944001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790259125000,"timestamp_ms":1790259125000,"timestamp_seconds":1790259125,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c25b08"} 
[2026-09-24 19:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306258944001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306258944001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:44:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:44:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306258944001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":194296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:44:34] local.INFO: GPS data processed {"connection_id":194296,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:44:34] local.INFO: Acknowledgment sent {"connection_id":194296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:44:58] local.INFO: TCP Data received {"connection_id":194295,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:44:58] local.INFO: Processing buffer {"connection_id":194295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:44:58] local.INFO: Packet analysis {"connection_id":194295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c3"} 
[2026-09-24 19:44:58] local.INFO: Extracted packet for processing {"connection_id":194295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c3"} 
[2026-09-24 19:44:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":67,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306274304001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790259185000,"timestamp_ms":1790259185000,"timestamp_seconds":1790259185,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c34568"} 
[2026-09-24 19:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:44: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-09-24 19: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 19:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":194295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":194295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":194295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306274304001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306274304001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:44:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:44:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306274304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":194295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:44:58] local.INFO: GPS data processed {"connection_id":194295,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:44:58] local.INFO: Acknowledgment sent {"connection_id":194295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:45:06] local.INFO: TCP Data received {"connection_id":194296,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:45:06] local.INFO: Processing buffer {"connection_id":194296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:45:06] local.INFO: Packet analysis {"connection_id":194296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c2"} 
[2026-09-24 19:45:06] local.INFO: Extracted packet for processing {"connection_id":194296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c2"} 
[2026-09-24 19:45:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306258944001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790259125000,"timestamp_ms":1790259125000,"timestamp_seconds":1790259125,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c25b08"} 
[2026-09-24 19:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:45: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-09-24 19:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306258944001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306258944001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:45:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:45:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306258944001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":194296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:45:06] local.INFO: GPS data processed {"connection_id":194296,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:45:06] local.INFO: Acknowledgment sent {"connection_id":194296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:45:16] local.INFO: TCP Data received {"connection_id":194297,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:45:16] local.INFO: Processing buffer {"connection_id":194297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:45:16] local.INFO: IMEI packet received {"connection_id":194297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":194297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:45:21] local.INFO: TCP Data received {"connection_id":194297,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:45:21] local.INFO: Processing buffer {"connection_id":194297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:45:21] local.INFO: IMEI packet received {"connection_id":194297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":194297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:45:22] local.INFO: TCP Data received {"connection_id":194297,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:45:22] local.INFO: Processing buffer {"connection_id":194297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:45:22] local.INFO: Packet analysis {"connection_id":194297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c3"} 
[2026-09-24 19:45:22] local.INFO: Extracted packet for processing {"connection_id":194297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c3"} 
[2026-09-24 19:45:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":67,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306274304001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790259185000,"timestamp_ms":1790259185000,"timestamp_seconds":1790259185,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c34568"} 
[2026-09-24 19:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 19:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306274304001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306274304001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:45:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:45:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306274304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":194297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:45:22] local.INFO: GPS data processed {"connection_id":194297,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:45:22] local.INFO: Acknowledgment sent {"connection_id":194297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:45:27] local.INFO: TCP Data received {"connection_id":194298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:45:27] local.INFO: Processing buffer {"connection_id":194298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:45:27] local.INFO: IMEI packet received {"connection_id":194298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":194298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:45:33] local.INFO: TCP Data received {"connection_id":194298,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:45:33] local.INFO: Processing buffer {"connection_id":194298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:45:33] local.INFO: IMEI packet received {"connection_id":194298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":194298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:45:34] local.INFO: TCP Data received {"connection_id":194298,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:45:34] local.INFO: Processing buffer {"connection_id":194298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:45:34] local.INFO: Packet analysis {"connection_id":194298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c2"} 
[2026-09-24 19:45:34] local.INFO: Extracted packet for processing {"connection_id":194298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c2"} 
[2026-09-24 19:45:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306258944001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790259125000,"timestamp_ms":1790259125000,"timestamp_seconds":1790259125,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c25b08"} 
[2026-09-24 19:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306258944001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306258944001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:45:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:45:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306258944001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":194298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:45:34] local.INFO: GPS data processed {"connection_id":194298,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:45:34] local.INFO: Acknowledgment sent {"connection_id":194298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:45:53] local.INFO: TCP Data received {"connection_id":194297,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:45:53] local.INFO: Processing buffer {"connection_id":194297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:45:53] local.INFO: Packet analysis {"connection_id":194297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c3"} 
[2026-09-24 19:45:53] local.INFO: Extracted packet for processing {"connection_id":194297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c3"} 
[2026-09-24 19:45:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":67,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306274304001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790259185000,"timestamp_ms":1790259185000,"timestamp_seconds":1790259185,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c34568"} 
[2026-09-24 19:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 19:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306274304001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306274304001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:45:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:45:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306274304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":194297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:45:53] local.INFO: GPS data processed {"connection_id":194297,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:45:53] local.INFO: Acknowledgment sent {"connection_id":194297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:46:05] local.INFO: TCP Data received {"connection_id":194298,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:46:05] local.INFO: Processing buffer {"connection_id":194298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:46:05] local.INFO: Packet analysis {"connection_id":194298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c2"} 
[2026-09-24 19:46:05] local.INFO: Extracted packet for processing {"connection_id":194298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c2"} 
[2026-09-24 19:46:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306258944001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790259125000,"timestamp_ms":1790259125000,"timestamp_seconds":1790259125,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c25b08"} 
[2026-09-24 19:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:46: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-09-24 19: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-09-24 19:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306258944001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306258944001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:46:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:46:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306258944001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":194298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:46:05] local.INFO: GPS data processed {"connection_id":194298,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:46:05] local.INFO: Acknowledgment sent {"connection_id":194298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:46:12] local.INFO: TCP Data received {"connection_id":193016,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:46:12] local.INFO: Processing buffer {"connection_id":193016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:46:12] local.INFO: IMEI packet received {"connection_id":193016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":193016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:46:16] local.INFO: TCP Data received {"connection_id":194299,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:46:16] local.INFO: Processing buffer {"connection_id":194299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:46:16] local.INFO: IMEI packet received {"connection_id":194299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":194299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:46:21] local.INFO: TCP Data received {"connection_id":194299,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:46:21] local.INFO: Processing buffer {"connection_id":194299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:46:21] local.INFO: IMEI packet received {"connection_id":194299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":194299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:46:22] local.INFO: TCP Data received {"connection_id":194299,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:46:22] local.INFO: Processing buffer {"connection_id":194299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:46:22] local.INFO: Packet analysis {"connection_id":194299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c3"} 
[2026-09-24 19:46:22] local.INFO: Extracted packet for processing {"connection_id":194299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c3"} 
[2026-09-24 19:46:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":67,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306274304001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790259185000,"timestamp_ms":1790259185000,"timestamp_seconds":1790259185,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c34568"} 
[2026-09-24 19:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 19:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306274304001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306274304001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:46:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:46:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306274304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":194299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:46:22] local.INFO: GPS data processed {"connection_id":194299,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:46:22] local.INFO: Acknowledgment sent {"connection_id":194299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:46:27] local.INFO: TCP Data received {"connection_id":191630,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:46:27] local.INFO: Processing buffer {"connection_id":191630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:46:27] local.INFO: IMEI packet received {"connection_id":191630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":191630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:46:32] local.INFO: TCP Data received {"connection_id":191630,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:46:32] local.INFO: Processing buffer {"connection_id":191630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:46:32] local.INFO: IMEI packet received {"connection_id":191630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":191630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:46:34] local.INFO: TCP Data received {"connection_id":191630,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:46:34] local.INFO: Processing buffer {"connection_id":191630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:46:34] local.INFO: Packet analysis {"connection_id":191630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c2"} 
[2026-09-24 19:46:34] local.INFO: Extracted packet for processing {"connection_id":191630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c2"} 
[2026-09-24 19:46:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306258944001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790259125000,"timestamp_ms":1790259125000,"timestamp_seconds":1790259125,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c25b08"} 
[2026-09-24 19:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306258944001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306258944001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:46:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:46:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306258944001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":191630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:46:34] local.INFO: GPS data processed {"connection_id":191630,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:46:34] local.INFO: Acknowledgment sent {"connection_id":191630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:46:53] local.INFO: TCP Data received {"connection_id":194299,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:46:53] local.INFO: Processing buffer {"connection_id":194299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:46:53] local.INFO: Packet analysis {"connection_id":194299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c3"} 
[2026-09-24 19:46:53] local.INFO: Extracted packet for processing {"connection_id":194299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c3"} 
[2026-09-24 19:46:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":67,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306274304001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790259185000,"timestamp_ms":1790259185000,"timestamp_seconds":1790259185,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c34568"} 
[2026-09-24 19:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 19:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306274304001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306274304001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:46:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:46:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306274304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":194299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:46:53] local.INFO: GPS data processed {"connection_id":194299,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:46:53] local.INFO: Acknowledgment sent {"connection_id":194299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:47:05] local.INFO: TCP Data received {"connection_id":191630,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:47:05] local.INFO: Processing buffer {"connection_id":191630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:47:05] local.INFO: Packet analysis {"connection_id":191630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c2"} 
[2026-09-24 19:47:05] local.INFO: Extracted packet for processing {"connection_id":191630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c2"} 
[2026-09-24 19:47:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306258944001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790259125000,"timestamp_ms":1790259125000,"timestamp_seconds":1790259125,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c25b08"} 
[2026-09-24 19:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19: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-09-24 19:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:47: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-09-24 19:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306258944001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306258944001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:47:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:47:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306258944001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":191630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:47:05] local.INFO: GPS data processed {"connection_id":191630,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:47:05] local.INFO: Acknowledgment sent {"connection_id":191630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:47:16] local.INFO: TCP Data received {"connection_id":191442,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:47:16] local.INFO: Processing buffer {"connection_id":191442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:47:16] local.INFO: IMEI packet received {"connection_id":191442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":191442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:47:21] local.INFO: TCP Data received {"connection_id":191442,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:47:21] local.INFO: Processing buffer {"connection_id":191442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:47:21] local.INFO: IMEI packet received {"connection_id":191442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":191442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:47:22] local.INFO: TCP Data received {"connection_id":191442,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:47:22] local.INFO: Processing buffer {"connection_id":191442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:47:22] local.INFO: Packet analysis {"connection_id":191442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c3"} 
[2026-09-24 19:47:22] local.INFO: Extracted packet for processing {"connection_id":191442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c3"} 
[2026-09-24 19:47:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":67,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306274304001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790259185000,"timestamp_ms":1790259185000,"timestamp_seconds":1790259185,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c34568"} 
[2026-09-24 19:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 19:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306274304001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306274304001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:47:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:47:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306274304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":191442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:47:22] local.INFO: GPS data processed {"connection_id":191442,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:47:22] local.INFO: Acknowledgment sent {"connection_id":191442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:47:33] local.INFO: TCP Data received {"connection_id":193018,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:47:33] local.INFO: Processing buffer {"connection_id":193018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:47:33] local.INFO: IMEI packet received {"connection_id":193018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":193018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:47:38] local.INFO: TCP Data received {"connection_id":193018,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:47:38] local.INFO: Processing buffer {"connection_id":193018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:47:38] local.INFO: IMEI packet received {"connection_id":193018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":193018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:47:39] local.INFO: TCP Data received {"connection_id":193018,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:47:39] local.INFO: Processing buffer {"connection_id":193018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:47:39] local.INFO: Packet analysis {"connection_id":193018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c2"} 
[2026-09-24 19:47:39] local.INFO: Extracted packet for processing {"connection_id":193018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c2"} 
[2026-09-24 19:47:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306258944001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790259125000,"timestamp_ms":1790259125000,"timestamp_seconds":1790259125,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c25b08"} 
[2026-09-24 19:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306258944001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306258944001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:47:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:47:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306258944001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":193018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:47:39] local.INFO: GPS data processed {"connection_id":193018,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:47:39] local.INFO: Acknowledgment sent {"connection_id":193018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:47:43] local.INFO: TCP Data received {"connection_id":193018,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:47:43] local.INFO: Processing buffer {"connection_id":193018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c25b08012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:47:43] local.INFO: Packet analysis {"connection_id":193018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c2"} 
[2026-09-24 19:47:43] local.INFO: Extracted packet for processing {"connection_id":193018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c2"} 
[2026-09-24 19:47:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306258944001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790259125000,"timestamp_ms":1790259125000,"timestamp_seconds":1790259125,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c25b08"} 
[2026-09-24 19:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 19:47:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306258944001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306258944001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:47:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:47:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306258944001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":193018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:47:43] local.INFO: GPS data processed {"connection_id":193018,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:47:43] local.INFO: Acknowledgment sent {"connection_id":193018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:47:53] local.INFO: TCP Data received {"connection_id":191442,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:47:53] local.INFO: Processing buffer {"connection_id":191442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:47:53] local.INFO: Packet analysis {"connection_id":191442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c3"} 
[2026-09-24 19:47:53] local.INFO: Extracted packet for processing {"connection_id":191442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c3"} 
[2026-09-24 19:47:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":67,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306274304001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790259185000,"timestamp_ms":1790259185000,"timestamp_seconds":1790259185,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c34568"} 
[2026-09-24 19:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 19:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306274304001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306274304001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:47:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:47:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306274304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":191442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:47:53] local.INFO: GPS data processed {"connection_id":191442,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:47:53] local.INFO: Acknowledgment sent {"connection_id":191442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:48:16] local.INFO: TCP Data received {"connection_id":191631,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:48:16] local.INFO: Processing buffer {"connection_id":191631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:48:16] local.INFO: IMEI packet received {"connection_id":191631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":191631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:48:21] local.INFO: TCP Data received {"connection_id":191631,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:48:21] local.INFO: Processing buffer {"connection_id":191631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:48:21] local.INFO: IMEI packet received {"connection_id":191631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":191631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:48:22] local.INFO: TCP Data received {"connection_id":191631,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:48:22] local.INFO: Processing buffer {"connection_id":191631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c34568012d196500071fef18004300482e..."} 
[2026-09-24 19:48:22] local.INFO: Packet analysis {"connection_id":191631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c3"} 
[2026-09-24 19:48:22] local.INFO: Extracted packet for processing {"connection_id":191631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c3"} 
[2026-09-24 19:48:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":67,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306274304001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790259185000,"timestamp_ms":1790259185000,"timestamp_seconds":1790259185,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c34568"} 
[2026-09-24 19:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 19:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306274304001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306274304001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:48:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:48:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306274304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":191631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:48:22] local.INFO: GPS data processed {"connection_id":191631,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:48:22] local.INFO: Acknowledgment sent {"connection_id":191631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:48:27] local.INFO: TCP Data received {"connection_id":193019,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:48:27] local.INFO: Processing buffer {"connection_id":193019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:48:27] local.INFO: IMEI packet received {"connection_id":193019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":193019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:48:33] local.INFO: TCP Data received {"connection_id":193019,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:48:33] local.INFO: Processing buffer {"connection_id":193019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:48:33] local.INFO: IMEI packet received {"connection_id":193019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":193019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:48:35] local.INFO: TCP Data received {"connection_id":193019,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:48:35] local.INFO: Processing buffer {"connection_id":193019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:48:35] local.INFO: Packet analysis {"connection_id":193019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c6"} 
[2026-09-24 19:48:35] local.INFO: Extracted packet for processing {"connection_id":193019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c6"} 
[2026-09-24 19:48:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306336000001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790259426000,"timestamp_ms":1790259426000,"timestamp_seconds":1790259426,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c6f2d0"} 
[2026-09-24 19:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306336000001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306336000001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:48:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:48:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306336000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":193019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:48:35] local.INFO: GPS data processed {"connection_id":193019,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:48:35] local.INFO: Acknowledgment sent {"connection_id":193019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:48:53] local.INFO: TCP Data received {"connection_id":191631,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:48:53] local.INFO: Processing buffer {"connection_id":191631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:48:53] local.INFO: Packet analysis {"connection_id":191631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c7"} 
[2026-09-24 19:48:53] local.INFO: Extracted packet for processing {"connection_id":191631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c7"} 
[2026-09-24 19:48:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":47,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306351360001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790259486000,"timestamp_ms":1790259486000,"timestamp_seconds":1790259486,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c7dd30"} 
[2026-09-24 19:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 19:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306351360001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306351360001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:48:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:48:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306351360001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":191631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:48:53] local.INFO: GPS data processed {"connection_id":191631,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:48:53] local.INFO: Acknowledgment sent {"connection_id":191631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:49:07] local.INFO: TCP Data received {"connection_id":193019,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:49:07] local.INFO: Processing buffer {"connection_id":193019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:49:07] local.INFO: Packet analysis {"connection_id":193019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c6"} 
[2026-09-24 19:49:07] local.INFO: Extracted packet for processing {"connection_id":193019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c6"} 
[2026-09-24 19:49:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306336000001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790259426000,"timestamp_ms":1790259426000,"timestamp_seconds":1790259426,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c6f2d0"} 
[2026-09-24 19:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19: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-09-24 19:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306336000001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306336000001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:49:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:49:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306336000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":193019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:49:07] local.INFO: GPS data processed {"connection_id":193019,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:49:07] local.INFO: Acknowledgment sent {"connection_id":193019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:49:21] local.INFO: TCP Data received {"connection_id":191632,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:49:21] local.INFO: Processing buffer {"connection_id":191632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:49:21] local.INFO: IMEI packet received {"connection_id":191632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":191632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:49:26] local.INFO: TCP Data received {"connection_id":191632,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:49:26] local.INFO: Processing buffer {"connection_id":191632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:49:26] local.INFO: IMEI packet received {"connection_id":191632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":191632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:49:27] local.INFO: TCP Data received {"connection_id":191632,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:49:27] local.INFO: Processing buffer {"connection_id":191632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:49:27] local.INFO: Packet analysis {"connection_id":191632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c7"} 
[2026-09-24 19:49:27] local.INFO: Extracted packet for processing {"connection_id":191632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c7"} 
[2026-09-24 19:49:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":47,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306351360001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790259486000,"timestamp_ms":1790259486000,"timestamp_seconds":1790259486,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c7dd30"} 
[2026-09-24 19:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 19:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306351360001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306351360001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:49:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:49:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306351360001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":191632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:49:27] local.INFO: GPS data processed {"connection_id":191632,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:49:27] local.INFO: Acknowledgment sent {"connection_id":191632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:49:27] local.INFO: TCP Data received {"connection_id":194302,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:49:27] local.INFO: Processing buffer {"connection_id":194302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:49:27] local.INFO: IMEI packet received {"connection_id":194302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":194302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:49:31] local.INFO: TCP Data received {"connection_id":191632,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:49:31] local.INFO: Processing buffer {"connection_id":191632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:49:31] local.INFO: Packet analysis {"connection_id":191632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c7"} 
[2026-09-24 19:49:31] local.INFO: Extracted packet for processing {"connection_id":191632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c7"} 
[2026-09-24 19:49:31] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":47,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306351360001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790259486000,"timestamp_ms":1790259486000,"timestamp_seconds":1790259486,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c7dd30"} 
[2026-09-24 19:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 19:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":191632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":191632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":191632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306351360001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306351360001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:49:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:49:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306351360001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":191632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:49:31] local.INFO: GPS data processed {"connection_id":191632,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:49:31] local.INFO: Acknowledgment sent {"connection_id":191632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:49:33] local.INFO: TCP Data received {"connection_id":194302,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:49:33] local.INFO: Processing buffer {"connection_id":194302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:49:33] local.INFO: IMEI packet received {"connection_id":194302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":194302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:49:34] local.INFO: TCP Data received {"connection_id":194302,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:49:34] local.INFO: Processing buffer {"connection_id":194302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:49:34] local.INFO: Packet analysis {"connection_id":194302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c6"} 
[2026-09-24 19:49:34] local.INFO: Extracted packet for processing {"connection_id":194302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c6"} 
[2026-09-24 19:49:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306336000001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790259426000,"timestamp_ms":1790259426000,"timestamp_seconds":1790259426,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c6f2d0"} 
[2026-09-24 19:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306336000001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306336000001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:49:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:49:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306336000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":194302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:49:34] local.INFO: GPS data processed {"connection_id":194302,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:49:34] local.INFO: Acknowledgment sent {"connection_id":194302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:50:06] local.INFO: TCP Data received {"connection_id":194302,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:50:06] local.INFO: Processing buffer {"connection_id":194302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:50:06] local.INFO: Packet analysis {"connection_id":194302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c6"} 
[2026-09-24 19:50:06] local.INFO: Extracted packet for processing {"connection_id":194302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c6"} 
[2026-09-24 19:50:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306336000001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790259426000,"timestamp_ms":1790259426000,"timestamp_seconds":1790259426,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c6f2d0"} 
[2026-09-24 19:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:50: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-09-24 19:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306336000001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306336000001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:50:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:50:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306336000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":194302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:50:06] local.INFO: GPS data processed {"connection_id":194302,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:50:06] local.INFO: Acknowledgment sent {"connection_id":194302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:50:16] local.INFO: TCP Data received {"connection_id":191444,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:50:16] local.INFO: Processing buffer {"connection_id":191444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:50:16] local.INFO: IMEI packet received {"connection_id":191444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":191444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:50:21] local.INFO: TCP Data received {"connection_id":191444,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:50:21] local.INFO: Processing buffer {"connection_id":191444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:50:21] local.INFO: IMEI packet received {"connection_id":191444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":191444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:50:22] local.INFO: TCP Data received {"connection_id":191444,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:50:22] local.INFO: Processing buffer {"connection_id":191444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:50:22] local.INFO: Packet analysis {"connection_id":191444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c7"} 
[2026-09-24 19:50:22] local.INFO: Extracted packet for processing {"connection_id":191444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c7"} 
[2026-09-24 19:50:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":47,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306351360001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790259486000,"timestamp_ms":1790259486000,"timestamp_seconds":1790259486,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c7dd30"} 
[2026-09-24 19:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 19:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306351360001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306351360001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:50:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:50:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306351360001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":191444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:50:22] local.INFO: GPS data processed {"connection_id":191444,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:50:22] local.INFO: Acknowledgment sent {"connection_id":191444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:50:32] local.INFO: TCP Data received {"connection_id":191633,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:50:32] local.INFO: Processing buffer {"connection_id":191633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:50:32] local.INFO: IMEI packet received {"connection_id":191633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":191633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:50:37] local.INFO: TCP Data received {"connection_id":191633,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:50:37] local.INFO: Processing buffer {"connection_id":191633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:50:37] local.INFO: IMEI packet received {"connection_id":191633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":191633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:50:38] local.INFO: TCP Data received {"connection_id":191633,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:50:38] local.INFO: Processing buffer {"connection_id":191633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:50:38] local.INFO: Packet analysis {"connection_id":191633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c6"} 
[2026-09-24 19:50:38] local.INFO: Extracted packet for processing {"connection_id":191633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c6"} 
[2026-09-24 19:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306336000001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790259426000,"timestamp_ms":1790259426000,"timestamp_seconds":1790259426,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c6f2d0"} 
[2026-09-24 19:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306336000001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306336000001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:50:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:50:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306336000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":191633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:50:38] local.INFO: GPS data processed {"connection_id":191633,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:50:38] local.INFO: Acknowledgment sent {"connection_id":191633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:50:43] local.INFO: TCP Data received {"connection_id":191633,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:50:43] local.INFO: Processing buffer {"connection_id":191633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:50:43] local.INFO: Packet analysis {"connection_id":191633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c6"} 
[2026-09-24 19:50:43] local.INFO: Extracted packet for processing {"connection_id":191633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c6"} 
[2026-09-24 19:50:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306336000001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790259426000,"timestamp_ms":1790259426000,"timestamp_seconds":1790259426,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c6f2d0"} 
[2026-09-24 19:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306336000001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306336000001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:50:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:50:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306336000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":191633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:50:43] local.INFO: GPS data processed {"connection_id":191633,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:50:43] local.INFO: Acknowledgment sent {"connection_id":191633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:50:53] local.INFO: TCP Data received {"connection_id":191444,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:50:53] local.INFO: Processing buffer {"connection_id":191444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:50:53] local.INFO: Packet analysis {"connection_id":191444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c7"} 
[2026-09-24 19:50:53] local.INFO: Extracted packet for processing {"connection_id":191444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c7"} 
[2026-09-24 19:50:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":47,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306351360001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790259486000,"timestamp_ms":1790259486000,"timestamp_seconds":1790259486,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c7dd30"} 
[2026-09-24 19:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 19:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306351360001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306351360001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:50:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:50:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306351360001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":191444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:50:53] local.INFO: GPS data processed {"connection_id":191444,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:50:53] local.INFO: Acknowledgment sent {"connection_id":191444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:51:16] local.INFO: TCP Data received {"connection_id":193020,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:51:16] local.INFO: Processing buffer {"connection_id":193020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:51:16] local.INFO: IMEI packet received {"connection_id":193020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":193020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:51:21] local.INFO: TCP Data received {"connection_id":193020,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:51:21] local.INFO: Processing buffer {"connection_id":193020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:51:21] local.INFO: IMEI packet received {"connection_id":193020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":193020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:51:22] local.INFO: TCP Data received {"connection_id":193020,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:51:22] local.INFO: Processing buffer {"connection_id":193020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:51:22] local.INFO: Packet analysis {"connection_id":193020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c7"} 
[2026-09-24 19:51:22] local.INFO: Extracted packet for processing {"connection_id":193020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c7"} 
[2026-09-24 19:51:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":47,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306351360001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790259486000,"timestamp_ms":1790259486000,"timestamp_seconds":1790259486,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c7dd30"} 
[2026-09-24 19:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 19:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306351360001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306351360001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:51:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:51:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306351360001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":193020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:51:22] local.INFO: GPS data processed {"connection_id":193020,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:51:22] local.INFO: Acknowledgment sent {"connection_id":193020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:51:28] local.INFO: TCP Data received {"connection_id":191634,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:51:28] local.INFO: Processing buffer {"connection_id":191634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:51:28] local.INFO: IMEI packet received {"connection_id":191634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":191634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:51:34] local.INFO: TCP Data received {"connection_id":191634,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:51:34] local.INFO: Processing buffer {"connection_id":191634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:51:34] local.INFO: IMEI packet received {"connection_id":191634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":191634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:51:37] local.INFO: TCP Data received {"connection_id":191634,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:51:37] local.INFO: Processing buffer {"connection_id":191634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:51:37] local.INFO: Packet analysis {"connection_id":191634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c6"} 
[2026-09-24 19:51:37] local.INFO: Extracted packet for processing {"connection_id":191634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c6"} 
[2026-09-24 19:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306336000001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790259426000,"timestamp_ms":1790259426000,"timestamp_seconds":1790259426,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c6f2d0"} 
[2026-09-24 19:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306336000001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306336000001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:51:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306336000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":191634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:51:37] local.INFO: GPS data processed {"connection_id":191634,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:51:37] local.INFO: Acknowledgment sent {"connection_id":191634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:51:39] local.INFO: TCP Data received {"connection_id":191634,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:51:39] local.INFO: Processing buffer {"connection_id":191634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:51:39] local.INFO: Packet analysis {"connection_id":191634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c6"} 
[2026-09-24 19:51:39] local.INFO: Extracted packet for processing {"connection_id":191634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c6"} 
[2026-09-24 19:51:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306336000001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790259426000,"timestamp_ms":1790259426000,"timestamp_seconds":1790259426,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c6f2d0"} 
[2026-09-24 19:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306336000001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306336000001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:51:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:51:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306336000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":191634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:51:39] local.INFO: GPS data processed {"connection_id":191634,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:51:39] local.INFO: Acknowledgment sent {"connection_id":191634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:51:41] local.INFO: TCP Data received {"connection_id":194303,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:51:41] local.INFO: Processing buffer {"connection_id":194303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:51:41] local.INFO: IMEI packet received {"connection_id":194303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":194303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:51:53] local.INFO: TCP Data received {"connection_id":193020,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:51:53] local.INFO: Processing buffer {"connection_id":193020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:51:53] local.INFO: Packet analysis {"connection_id":193020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c7"} 
[2026-09-24 19:51:53] local.INFO: Extracted packet for processing {"connection_id":193020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c7"} 
[2026-09-24 19:51:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":47,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306351360001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790259486000,"timestamp_ms":1790259486000,"timestamp_seconds":1790259486,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c7dd30"} 
[2026-09-24 19:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 19:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":193020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":193020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":193020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306351360001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306351360001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:51:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:51:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306351360001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":193020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:51:53] local.INFO: GPS data processed {"connection_id":193020,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:51:53] local.INFO: Acknowledgment sent {"connection_id":193020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:52:06] local.INFO: TCP Data received {"connection_id":194304,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:52:06] local.INFO: Processing buffer {"connection_id":194304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:52:06] local.INFO: IMEI packet received {"connection_id":194304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":194304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:52:10] local.INFO: TCP Data received {"connection_id":191634,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:52:10] local.INFO: Processing buffer {"connection_id":191634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:52:10] local.INFO: Packet analysis {"connection_id":191634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c6"} 
[2026-09-24 19:52:10] local.INFO: Extracted packet for processing {"connection_id":191634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c6"} 
[2026-09-24 19:52:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306336000001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790259426000,"timestamp_ms":1790259426000,"timestamp_seconds":1790259426,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c6f2d0"} 
[2026-09-24 19:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306336000001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306336000001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:52:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:52:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306336000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":191634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:52:10] local.INFO: GPS data processed {"connection_id":191634,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:52:10] local.INFO: Acknowledgment sent {"connection_id":191634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:52:16] local.INFO: TCP Data received {"connection_id":191445,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:52:16] local.INFO: Processing buffer {"connection_id":191445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:52:16] local.INFO: IMEI packet received {"connection_id":191445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":191445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:52:21] local.INFO: TCP Data received {"connection_id":191445,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:52:21] local.INFO: Processing buffer {"connection_id":191445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:52:21] local.INFO: IMEI packet received {"connection_id":191445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":191445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:52:22] local.INFO: TCP Data received {"connection_id":191445,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:52:22] local.INFO: Processing buffer {"connection_id":191445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:52:22] local.INFO: Packet analysis {"connection_id":191445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c7"} 
[2026-09-24 19:52:22] local.INFO: Extracted packet for processing {"connection_id":191445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c7"} 
[2026-09-24 19:52:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":47,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306351360001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790259486000,"timestamp_ms":1790259486000,"timestamp_seconds":1790259486,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c7dd30"} 
[2026-09-24 19:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 19:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306351360001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306351360001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:52:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:52:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306351360001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":191445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:52:22] local.INFO: GPS data processed {"connection_id":191445,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:52:22] local.INFO: Acknowledgment sent {"connection_id":191445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:52:27] local.INFO: TCP Data received {"connection_id":193021,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:52:27] local.INFO: Processing buffer {"connection_id":193021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:52:27] local.INFO: IMEI packet received {"connection_id":193021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":193021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:52:32] local.INFO: TCP Data received {"connection_id":193021,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:52:32] local.INFO: Processing buffer {"connection_id":193021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:52:32] local.INFO: IMEI packet received {"connection_id":193021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":193021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:52:35] local.INFO: TCP Data received {"connection_id":193021,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:52:35] local.INFO: Processing buffer {"connection_id":193021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c6f2d0012d34c14006aa4940000900f52d..."} 
[2026-09-24 19:52:35] local.INFO: Packet analysis {"connection_id":193021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c6"} 
[2026-09-24 19:52:35] local.INFO: Extracted packet for processing {"connection_id":193021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c6"} 
[2026-09-24 19:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306336000001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790259426000,"timestamp_ms":1790259426000,"timestamp_seconds":1790259426,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c6f2d0"} 
[2026-09-24 19:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19: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-09-24 19:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306336000001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306336000001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:52:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:52:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306336000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":193021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:52:35] local.INFO: GPS data processed {"connection_id":193021,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:52:35] local.INFO: Acknowledgment sent {"connection_id":193021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:52:53] local.INFO: TCP Data received {"connection_id":191445,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:52:53] local.INFO: Processing buffer {"connection_id":191445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:52:53] local.INFO: Packet analysis {"connection_id":191445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c7"} 
[2026-09-24 19:52:53] local.INFO: Extracted packet for processing {"connection_id":191445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c7"} 
[2026-09-24 19:52:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":47,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306351360001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790259486000,"timestamp_ms":1790259486000,"timestamp_seconds":1790259486,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c7dd30"} 
[2026-09-24 19:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 19:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306351360001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306351360001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:52:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:52:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306351360001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":191445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:52:53] local.INFO: GPS data processed {"connection_id":191445,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:52:53] local.INFO: Acknowledgment sent {"connection_id":191445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:53:07] local.INFO: TCP Data received {"connection_id":193021,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:53:07] local.INFO: Processing buffer {"connection_id":193021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:53:07] local.INFO: Packet analysis {"connection_id":193021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3cb"} 
[2026-09-24 19:53:07] local.INFO: Extracted packet for processing {"connection_id":193021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3cb"} 
[2026-09-24 19:53:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306413056001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790259726000,"timestamp_ms":1790259726000,"timestamp_seconds":1790259726,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3cb86b0"} 
[2026-09-24 19:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:53: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-09-24 19:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306413056001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306413056001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:53:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:53:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306413056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":193021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:53:07] local.INFO: GPS data processed {"connection_id":193021,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:53:07] local.INFO: Acknowledgment sent {"connection_id":193021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:53:16] local.INFO: TCP Data received {"connection_id":194305,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:53:16] local.INFO: Processing buffer {"connection_id":194305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:53:16] local.INFO: IMEI packet received {"connection_id":194305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":194305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:53:21] local.INFO: TCP Data received {"connection_id":194305,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:53:21] local.INFO: Processing buffer {"connection_id":194305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:53:21] local.INFO: IMEI packet received {"connection_id":194305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":194305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:53:22] local.INFO: TCP Data received {"connection_id":194305,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:53:22] local.INFO: Processing buffer {"connection_id":194305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3c7dd30012d196500071fef18003b00482f..."} 
[2026-09-24 19:53:22] local.INFO: Packet analysis {"connection_id":194305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3c7"} 
[2026-09-24 19:53:22] local.INFO: Extracted packet for processing {"connection_id":194305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3c7"} 
[2026-09-24 19:53:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":47,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306351360001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790259486000,"timestamp_ms":1790259486000,"timestamp_seconds":1790259486,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3c7dd30"} 
[2026-09-24 19:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 19:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306351360001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306351360001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:53:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:53:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306351360001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":194305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:53:22] local.INFO: GPS data processed {"connection_id":194305,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:53:22] local.INFO: Acknowledgment sent {"connection_id":194305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:53:33] local.INFO: TCP Data received {"connection_id":191446,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:53:33] local.INFO: Processing buffer {"connection_id":191446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:53:33] local.INFO: IMEI packet received {"connection_id":191446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":191446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:53:38] local.INFO: TCP Data received {"connection_id":191446,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:53:38] local.INFO: Processing buffer {"connection_id":191446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:53:38] local.INFO: IMEI packet received {"connection_id":191446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":191446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:53:39] local.INFO: TCP Data received {"connection_id":191446,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:53:39] local.INFO: Processing buffer {"connection_id":191446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:53:39] local.INFO: Packet analysis {"connection_id":191446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3cb"} 
[2026-09-24 19:53:39] local.INFO: Extracted packet for processing {"connection_id":191446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3cb"} 
[2026-09-24 19:53:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306413056001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790259726000,"timestamp_ms":1790259726000,"timestamp_seconds":1790259726,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3cb86b0"} 
[2026-09-24 19:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306413056001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306413056001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:53:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:53:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306413056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":191446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:53:39] local.INFO: GPS data processed {"connection_id":191446,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:53:39] local.INFO: Acknowledgment sent {"connection_id":191446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:53:44] local.INFO: TCP Data received {"connection_id":191446,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:53:44] local.INFO: Processing buffer {"connection_id":191446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:53:44] local.INFO: Packet analysis {"connection_id":191446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3cb"} 
[2026-09-24 19:53:44] local.INFO: Extracted packet for processing {"connection_id":191446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3cb"} 
[2026-09-24 19:53:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306413056001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790259726000,"timestamp_ms":1790259726000,"timestamp_seconds":1790259726,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3cb86b0"} 
[2026-09-24 19:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306413056001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306413056001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:53:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:53:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306413056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":191446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:53:44] local.INFO: GPS data processed {"connection_id":191446,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:53:44] local.INFO: Acknowledgment sent {"connection_id":191446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:53:53] local.INFO: TCP Data received {"connection_id":194305,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:53:53] local.INFO: Processing buffer {"connection_id":194305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:53:53] local.INFO: Packet analysis {"connection_id":194305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3cc"} 
[2026-09-24 19:53:53] local.INFO: Extracted packet for processing {"connection_id":194305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3cc"} 
[2026-09-24 19:53:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306428416001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790259787000,"timestamp_ms":1790259787000,"timestamp_seconds":1790259787,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3cc74f8"} 
[2026-09-24 19:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 19:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306428416001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306428416001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:53:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:53:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306428416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":194305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:53:53] local.INFO: GPS data processed {"connection_id":194305,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:53:53] local.INFO: Acknowledgment sent {"connection_id":194305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:54:16] local.INFO: TCP Data received {"connection_id":191447,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:54:16] local.INFO: Processing buffer {"connection_id":191447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:54:16] local.INFO: IMEI packet received {"connection_id":191447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":191447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:54:21] local.INFO: TCP Data received {"connection_id":191447,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:54:21] local.INFO: Processing buffer {"connection_id":191447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:54:21] local.INFO: IMEI packet received {"connection_id":191447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":191447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:54:22] local.INFO: TCP Data received {"connection_id":191447,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:54:22] local.INFO: Processing buffer {"connection_id":191447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:54:22] local.INFO: Packet analysis {"connection_id":191447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3cc"} 
[2026-09-24 19:54:22] local.INFO: Extracted packet for processing {"connection_id":191447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3cc"} 
[2026-09-24 19:54:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306428416001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790259787000,"timestamp_ms":1790259787000,"timestamp_seconds":1790259787,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3cc74f8"} 
[2026-09-24 19:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 19:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306428416001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306428416001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:54:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:54:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306428416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":191447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:54:22] local.INFO: GPS data processed {"connection_id":191447,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:54:22] local.INFO: Acknowledgment sent {"connection_id":191447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:54:26] local.INFO: TCP Data received {"connection_id":191447,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:54:26] local.INFO: Processing buffer {"connection_id":191447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:54:26] local.INFO: Packet analysis {"connection_id":191447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3cc"} 
[2026-09-24 19:54:26] local.INFO: Extracted packet for processing {"connection_id":191447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3cc"} 
[2026-09-24 19:54:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306428416001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790259787000,"timestamp_ms":1790259787000,"timestamp_seconds":1790259787,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3cc74f8"} 
[2026-09-24 19:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 19:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306428416001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306428416001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:54:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:54:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306428416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":191447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:54:26] local.INFO: GPS data processed {"connection_id":191447,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:54:26] local.INFO: Acknowledgment sent {"connection_id":191447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:54:27] local.INFO: TCP Data received {"connection_id":191448,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:54:27] local.INFO: Processing buffer {"connection_id":191448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:54:27] local.INFO: IMEI packet received {"connection_id":191448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":191448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:54:32] local.INFO: TCP Data received {"connection_id":191448,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:54:32] local.INFO: Processing buffer {"connection_id":191448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:54:32] local.INFO: IMEI packet received {"connection_id":191448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":191448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:54:34] local.INFO: TCP Data received {"connection_id":191448,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:54:34] local.INFO: Processing buffer {"connection_id":191448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:54:34] local.INFO: Packet analysis {"connection_id":191448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3cb"} 
[2026-09-24 19:54:34] local.INFO: Extracted packet for processing {"connection_id":191448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3cb"} 
[2026-09-24 19:54:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306413056001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790259726000,"timestamp_ms":1790259726000,"timestamp_seconds":1790259726,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3cb86b0"} 
[2026-09-24 19:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306413056001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306413056001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:54:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:54:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306413056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":191448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:54:34] local.INFO: GPS data processed {"connection_id":191448,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:54:34] local.INFO: Acknowledgment sent {"connection_id":191448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:54:57] local.INFO: TCP Data received {"connection_id":191447,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:54:57] local.INFO: Processing buffer {"connection_id":191447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:54:57] local.INFO: Packet analysis {"connection_id":191447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3cc"} 
[2026-09-24 19:54:57] local.INFO: Extracted packet for processing {"connection_id":191447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3cc"} 
[2026-09-24 19:54:57] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306428416001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790259787000,"timestamp_ms":1790259787000,"timestamp_seconds":1790259787,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3cc74f8"} 
[2026-09-24 19:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:54: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-09-24 19:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 19:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":191447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":191447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":191447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306428416001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306428416001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:54:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:54:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306428416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":191447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:54:57] local.INFO: GPS data processed {"connection_id":191447,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:54:57] local.INFO: Acknowledgment sent {"connection_id":191447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:55:05] local.INFO: TCP Data received {"connection_id":191448,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:55:06] local.INFO: Processing buffer {"connection_id":191448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:55:06] local.INFO: Packet analysis {"connection_id":191448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3cb"} 
[2026-09-24 19:55:06] local.INFO: Extracted packet for processing {"connection_id":191448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3cb"} 
[2026-09-24 19:55:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306413056001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790259726000,"timestamp_ms":1790259726000,"timestamp_seconds":1790259726,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3cb86b0"} 
[2026-09-24 19:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306413056001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306413056001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:55:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:55:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306413056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":191448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:55:06] local.INFO: GPS data processed {"connection_id":191448,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:55:06] local.INFO: Acknowledgment sent {"connection_id":191448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:55:16] local.INFO: TCP Data received {"connection_id":191637,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:55:16] local.INFO: Processing buffer {"connection_id":191637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:55:16] local.INFO: IMEI packet received {"connection_id":191637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":191637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:55:21] local.INFO: TCP Data received {"connection_id":191637,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:55:21] local.INFO: Processing buffer {"connection_id":191637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:55:21] local.INFO: IMEI packet received {"connection_id":191637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":191637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:55:22] local.INFO: TCP Data received {"connection_id":191637,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:55:22] local.INFO: Processing buffer {"connection_id":191637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:55:22] local.INFO: Packet analysis {"connection_id":191637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3cc"} 
[2026-09-24 19:55:22] local.INFO: Extracted packet for processing {"connection_id":191637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3cc"} 
[2026-09-24 19:55:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306428416001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790259787000,"timestamp_ms":1790259787000,"timestamp_seconds":1790259787,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3cc74f8"} 
[2026-09-24 19:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 19:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306428416001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306428416001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:55:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:55:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306428416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":191637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:55:22] local.INFO: GPS data processed {"connection_id":191637,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:55:22] local.INFO: Acknowledgment sent {"connection_id":191637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:55:28] local.INFO: TCP Data received {"connection_id":191449,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:55:28] local.INFO: Processing buffer {"connection_id":191449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:55:28] local.INFO: IMEI packet received {"connection_id":191449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":191449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:55:33] local.INFO: TCP Data received {"connection_id":191449,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:55:33] local.INFO: Processing buffer {"connection_id":191449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:55:33] local.INFO: IMEI packet received {"connection_id":191449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":191449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:55:34] local.INFO: TCP Data received {"connection_id":191449,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:55:34] local.INFO: Processing buffer {"connection_id":191449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:55:34] local.INFO: Packet analysis {"connection_id":191449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3cb"} 
[2026-09-24 19:55:34] local.INFO: Extracted packet for processing {"connection_id":191449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3cb"} 
[2026-09-24 19:55:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306413056001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790259726000,"timestamp_ms":1790259726000,"timestamp_seconds":1790259726,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3cb86b0"} 
[2026-09-24 19:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306413056001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306413056001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:55:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:55:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306413056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":191449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:55:34] local.INFO: GPS data processed {"connection_id":191449,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:55:34] local.INFO: Acknowledgment sent {"connection_id":191449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:55:53] local.INFO: TCP Data received {"connection_id":191637,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:55:53] local.INFO: Processing buffer {"connection_id":191637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:55:53] local.INFO: Packet analysis {"connection_id":191637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3cc"} 
[2026-09-24 19:55:53] local.INFO: Extracted packet for processing {"connection_id":191637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3cc"} 
[2026-09-24 19:55:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306428416001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790259787000,"timestamp_ms":1790259787000,"timestamp_seconds":1790259787,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3cc74f8"} 
[2026-09-24 19:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 19:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306428416001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306428416001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:55:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:55:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306428416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":191637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:55:53] local.INFO: GPS data processed {"connection_id":191637,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:55:53] local.INFO: Acknowledgment sent {"connection_id":191637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:56:05] local.INFO: TCP Data received {"connection_id":191449,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:56:05] local.INFO: Processing buffer {"connection_id":191449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:56:05] local.INFO: Packet analysis {"connection_id":191449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3cb"} 
[2026-09-24 19:56:05] local.INFO: Extracted packet for processing {"connection_id":191449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3cb"} 
[2026-09-24 19:56:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306413056001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790259726000,"timestamp_ms":1790259726000,"timestamp_seconds":1790259726,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3cb86b0"} 
[2026-09-24 19:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306413056001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306413056001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:56:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:56:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306413056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":191449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:56:05] local.INFO: GPS data processed {"connection_id":191449,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:56:05] local.INFO: Acknowledgment sent {"connection_id":191449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:56:16] local.INFO: TCP Data received {"connection_id":191450,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:56:16] local.INFO: Processing buffer {"connection_id":191450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:56:16] local.INFO: IMEI packet received {"connection_id":191450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":191450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:56:21] local.INFO: TCP Data received {"connection_id":191450,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:56:21] local.INFO: Processing buffer {"connection_id":191450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:56:21] local.INFO: IMEI packet received {"connection_id":191450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":191450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:56:22] local.INFO: TCP Data received {"connection_id":191450,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:56:22] local.INFO: Processing buffer {"connection_id":191450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:56:22] local.INFO: Packet analysis {"connection_id":191450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3cc"} 
[2026-09-24 19:56:22] local.INFO: Extracted packet for processing {"connection_id":191450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3cc"} 
[2026-09-24 19:56:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306428416001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790259787000,"timestamp_ms":1790259787000,"timestamp_seconds":1790259787,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3cc74f8"} 
[2026-09-24 19:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 19:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306428416001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306428416001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:56:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:56:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306428416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":191450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:56:22] local.INFO: GPS data processed {"connection_id":191450,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:56:22] local.INFO: Acknowledgment sent {"connection_id":191450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:56:27] local.INFO: TCP Data received {"connection_id":193022,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:56:27] local.INFO: Processing buffer {"connection_id":193022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:56:27] local.INFO: IMEI packet received {"connection_id":193022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":193022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:56:32] local.INFO: TCP Data received {"connection_id":193022,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:56:32] local.INFO: Processing buffer {"connection_id":193022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:56:32] local.INFO: IMEI packet received {"connection_id":193022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":193022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:56:34] local.INFO: TCP Data received {"connection_id":193022,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:56:34] local.INFO: Processing buffer {"connection_id":193022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:56:34] local.INFO: Packet analysis {"connection_id":193022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3cb"} 
[2026-09-24 19:56:34] local.INFO: Extracted packet for processing {"connection_id":193022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3cb"} 
[2026-09-24 19:56:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306413056001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790259726000,"timestamp_ms":1790259726000,"timestamp_seconds":1790259726,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3cb86b0"} 
[2026-09-24 19:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306413056001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306413056001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:56:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:56:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306413056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":193022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:56:34] local.INFO: GPS data processed {"connection_id":193022,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:56:34] local.INFO: Acknowledgment sent {"connection_id":193022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:56:53] local.INFO: TCP Data received {"connection_id":191450,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:56:53] local.INFO: Processing buffer {"connection_id":191450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:56:53] local.INFO: Packet analysis {"connection_id":191450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3cc"} 
[2026-09-24 19:56:53] local.INFO: Extracted packet for processing {"connection_id":191450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3cc"} 
[2026-09-24 19:56:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306428416001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790259787000,"timestamp_ms":1790259787000,"timestamp_seconds":1790259787,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3cc74f8"} 
[2026-09-24 19:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 19:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306428416001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306428416001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:56:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:56:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306428416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":191450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:56:53] local.INFO: GPS data processed {"connection_id":191450,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:56:53] local.INFO: Acknowledgment sent {"connection_id":191450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:57:05] local.INFO: TCP Data received {"connection_id":193022,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:57:05] local.INFO: Processing buffer {"connection_id":193022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:57:05] local.INFO: Packet analysis {"connection_id":193022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3cb"} 
[2026-09-24 19:57:05] local.INFO: Extracted packet for processing {"connection_id":193022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3cb"} 
[2026-09-24 19:57:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306413056001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790259726000,"timestamp_ms":1790259726000,"timestamp_seconds":1790259726,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3cb86b0"} 
[2026-09-24 19:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306413056001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306413056001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:57:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:57:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306413056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":193022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:57:05] local.INFO: GPS data processed {"connection_id":193022,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:57:05] local.INFO: Acknowledgment sent {"connection_id":193022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:57:16] local.INFO: TCP Data received {"connection_id":194308,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:57:16] local.INFO: Processing buffer {"connection_id":194308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:57:16] local.INFO: IMEI packet received {"connection_id":194308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":194308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:57:21] local.INFO: TCP Data received {"connection_id":194308,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:57:21] local.INFO: Processing buffer {"connection_id":194308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:57:21] local.INFO: IMEI packet received {"connection_id":194308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":194308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:57:22] local.INFO: TCP Data received {"connection_id":194308,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:57:22] local.INFO: Processing buffer {"connection_id":194308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:57:22] local.INFO: Packet analysis {"connection_id":194308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3cc"} 
[2026-09-24 19:57:22] local.INFO: Extracted packet for processing {"connection_id":194308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3cc"} 
[2026-09-24 19:57:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306428416001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790259787000,"timestamp_ms":1790259787000,"timestamp_seconds":1790259787,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3cc74f8"} 
[2026-09-24 19:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 19:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306428416001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306428416001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:57:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:57:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306428416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":194308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:57:22] local.INFO: GPS data processed {"connection_id":194308,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:57:22] local.INFO: Acknowledgment sent {"connection_id":194308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:57:28] local.INFO: TCP Data received {"connection_id":193023,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:57:28] local.INFO: Processing buffer {"connection_id":193023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:57:28] local.INFO: IMEI packet received {"connection_id":193023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":193023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:57:30] local.INFO: TCP Data received {"connection_id":191638,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:57:30] local.INFO: Processing buffer {"connection_id":191638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:57:30] local.INFO: IMEI packet received {"connection_id":191638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":191638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:57:33] local.INFO: TCP Data received {"connection_id":193023,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:57:33] local.INFO: Processing buffer {"connection_id":193023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:57:33] local.INFO: IMEI packet received {"connection_id":193023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":193023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:57:34] local.INFO: TCP Data received {"connection_id":193023,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:57:34] local.INFO: Processing buffer {"connection_id":193023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3cb86b0012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:57:34] local.INFO: Packet analysis {"connection_id":193023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3cb"} 
[2026-09-24 19:57:34] local.INFO: Extracted packet for processing {"connection_id":193023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3cb"} 
[2026-09-24 19:57:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306413056001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790259726000,"timestamp_ms":1790259726000,"timestamp_seconds":1790259726,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3cb86b0"} 
[2026-09-24 19:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 19:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306413056001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306413056001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:57:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:57:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306413056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":193023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:57:35] local.INFO: GPS data processed {"connection_id":193023,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:57:35] local.INFO: Acknowledgment sent {"connection_id":193023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:57:53] local.INFO: TCP Data received {"connection_id":194308,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:57:53] local.INFO: Processing buffer {"connection_id":194308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:57:53] local.INFO: Packet analysis {"connection_id":194308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3cc"} 
[2026-09-24 19:57:53] local.INFO: Extracted packet for processing {"connection_id":194308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3cc"} 
[2026-09-24 19:57:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19: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-09-24 19:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306428416001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790259787000,"timestamp_ms":1790259787000,"timestamp_seconds":1790259787,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3cc74f8"} 
[2026-09-24 19:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 19:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19: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-09-24 19:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306428416001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306428416001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:57:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:57:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306428416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":194308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:57:53] local.INFO: GPS data processed {"connection_id":194308,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:57:53] local.INFO: Acknowledgment sent {"connection_id":194308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:58:06] local.INFO: TCP Data received {"connection_id":193023,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:58:06] local.INFO: Processing buffer {"connection_id":193023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:58:06] local.INFO: Packet analysis {"connection_id":193023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d0"} 
[2026-09-24 19:58:06] local.INFO: Extracted packet for processing {"connection_id":193023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d0"} 
[2026-09-24 19:58:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306489856001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790260027000,"timestamp_ms":1790260027000,"timestamp_seconds":1790260027,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d01e78"} 
[2026-09-24 19:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306489856001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306489856001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:58:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:58:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306489856001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":193023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:58:06] local.INFO: GPS data processed {"connection_id":193023,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:58:06] local.INFO: Acknowledgment sent {"connection_id":193023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:58:06] local.INFO: TCP Data received {"connection_id":191639,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:58:06] local.INFO: Processing buffer {"connection_id":191639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 19:58:06] local.INFO: IMEI packet received {"connection_id":191639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 19:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":191639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:58:16] local.INFO: TCP Data received {"connection_id":194309,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:58:16] local.INFO: Processing buffer {"connection_id":194309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:58:16] local.INFO: IMEI packet received {"connection_id":194309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":194309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:58:21] local.INFO: TCP Data received {"connection_id":194309,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:58:21] local.INFO: Processing buffer {"connection_id":194309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:58:21] local.INFO: IMEI packet received {"connection_id":194309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":194309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:58:22] local.INFO: TCP Data received {"connection_id":194309,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:58:22] local.INFO: Processing buffer {"connection_id":194309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3cc74f8012d196500071fef18003b00482d..."} 
[2026-09-24 19:58:22] local.INFO: Packet analysis {"connection_id":194309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3cc"} 
[2026-09-24 19:58:22] local.INFO: Extracted packet for processing {"connection_id":194309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3cc"} 
[2026-09-24 19:58:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306428416001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790259787000,"timestamp_ms":1790259787000,"timestamp_seconds":1790259787,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3cc74f8"} 
[2026-09-24 19:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 19:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306428416001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306428416001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:58:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:58:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306428416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":194309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:58:22] local.INFO: GPS data processed {"connection_id":194309,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:58:22] local.INFO: Acknowledgment sent {"connection_id":194309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:58:27] local.INFO: TCP Data received {"connection_id":191640,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:58:27] local.INFO: Processing buffer {"connection_id":191640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:58:27] local.INFO: IMEI packet received {"connection_id":191640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":191640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:58:33] local.INFO: TCP Data received {"connection_id":191640,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:58:33] local.INFO: Processing buffer {"connection_id":191640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:58:33] local.INFO: IMEI packet received {"connection_id":191640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":191640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:58:36] local.INFO: TCP Data received {"connection_id":191640,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:58:36] local.INFO: Processing buffer {"connection_id":191640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:58:36] local.INFO: Packet analysis {"connection_id":191640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d0"} 
[2026-09-24 19:58:36] local.INFO: Extracted packet for processing {"connection_id":191640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d0"} 
[2026-09-24 19:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306489856001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790260027000,"timestamp_ms":1790260027000,"timestamp_seconds":1790260027,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d01e78"} 
[2026-09-24 19:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306489856001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306489856001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:58:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:58:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306489856001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":191640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:58:36] local.INFO: GPS data processed {"connection_id":191640,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:58:36] local.INFO: Acknowledgment sent {"connection_id":191640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:58:53] local.INFO: TCP Data received {"connection_id":194309,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 19:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 19:58:53] local.INFO: Processing buffer {"connection_id":194309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 19:58:53] local.INFO: Packet analysis {"connection_id":194309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d1"} 
[2026-09-24 19:58:53] local.INFO: Extracted packet for processing {"connection_id":194309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d1"} 
[2026-09-24 19:58:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306505472001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790260088000,"timestamp_ms":1790260088000,"timestamp_seconds":1790260088,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d10cc0"} 
[2026-09-24 19:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 19:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306505472001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306505472001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:58:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:58:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306505472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":194309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:58:53] local.INFO: GPS data processed {"connection_id":194309,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:58:53] local.INFO: Acknowledgment sent {"connection_id":194309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:59:07] local.INFO: TCP Data received {"connection_id":191640,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:59:07] local.INFO: Processing buffer {"connection_id":191640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:59:07] local.INFO: Packet analysis {"connection_id":191640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d0"} 
[2026-09-24 19:59:07] local.INFO: Extracted packet for processing {"connection_id":191640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d0"} 
[2026-09-24 19:59:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306489856001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790260027000,"timestamp_ms":1790260027000,"timestamp_seconds":1790260027,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d01e78"} 
[2026-09-24 19:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:59: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-09-24 19:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306489856001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306489856001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:59:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:59:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306489856001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":191640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:59:07] local.INFO: GPS data processed {"connection_id":191640,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:59:07] local.INFO: Acknowledgment sent {"connection_id":191640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:59:16] local.INFO: TCP Data received {"connection_id":193024,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:59:16] local.INFO: Processing buffer {"connection_id":193024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:59:16] local.INFO: IMEI packet received {"connection_id":193024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 19:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":193024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:59:21] local.INFO: TCP Data received {"connection_id":193024,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:59:21] local.INFO: Processing buffer {"connection_id":193024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 19:59:21] local.INFO: IMEI packet received {"connection_id":193024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 19:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":193024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:59:22] local.INFO: TCP Data received {"connection_id":193024,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 19:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 19:59:22] local.INFO: Processing buffer {"connection_id":193024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 19:59:22] local.INFO: Packet analysis {"connection_id":193024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d1"} 
[2026-09-24 19:59:22] local.INFO: Extracted packet for processing {"connection_id":193024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d1"} 
[2026-09-24 19:59:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306505472001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790260088000,"timestamp_ms":1790260088000,"timestamp_seconds":1790260088,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d10cc0"} 
[2026-09-24 19:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 19:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306505472001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306505472001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:59:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:59:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306505472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":193024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:59:22] local.INFO: GPS data processed {"connection_id":193024,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:59:22] local.INFO: Acknowledgment sent {"connection_id":193024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:59:27] local.INFO: TCP Data received {"connection_id":194311,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:59:27] local.INFO: Processing buffer {"connection_id":194311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:59:27] local.INFO: IMEI packet received {"connection_id":194311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 19:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":194311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 19:59:33] local.INFO: TCP Data received {"connection_id":194311,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:59:33] local.INFO: Processing buffer {"connection_id":194311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 19:59:33] local.INFO: IMEI packet received {"connection_id":194311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 19:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":194311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 19:59:34] local.INFO: TCP Data received {"connection_id":194311,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:59:34] local.INFO: Processing buffer {"connection_id":194311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 19:59:34] local.INFO: Packet analysis {"connection_id":194311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d0"} 
[2026-09-24 19:59:34] local.INFO: Extracted packet for processing {"connection_id":194311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d0"} 
[2026-09-24 19:59:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 19:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306489856001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 19:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 19:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790260027000,"timestamp_ms":1790260027000,"timestamp_seconds":1790260027,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d01e78"} 
[2026-09-24 19:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 19:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 19:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 19:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 19:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306489856001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 19:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 19:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 19:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306489856001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:59:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 19:59:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 19:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 19:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306489856001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 19:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":194311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:59:35] local.INFO: GPS data processed {"connection_id":194311,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:59:35] local.INFO: Acknowledgment sent {"connection_id":194311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 19:59:53] local.INFO: TCP Data received {"connection_id":193024,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 19:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 19:59:53] local.INFO: Processing buffer {"connection_id":193024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 19:59:53] local.INFO: Packet analysis {"connection_id":193024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d1"} 
[2026-09-24 19:59:53] local.INFO: Extracted packet for processing {"connection_id":193024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d1"} 
[2026-09-24 19:59:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 19:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 19:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306505472001,"note":"Value kept but may cause issues"} 
[2026-09-24 19:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 19:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 19:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 19:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790260088000,"timestamp_ms":1790260088000,"timestamp_seconds":1790260088,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d10cc0"} 
[2026-09-24 19:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 19:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 19:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 19:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 19:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 19:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 19:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 19:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":193024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 19:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":193024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":193024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 19:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 19:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 19:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 19:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306505472001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 19:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 19:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 19:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306505472001,"description":"Unknown IO ID 0"} 
[2026-09-24 19:59:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 19:59:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 19:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 19:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 19:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306505472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 19:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":193024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 19:59:53] local.INFO: GPS data processed {"connection_id":193024,"processed":1,"errors":0,"total":1} 
[2026-09-24 19:59:53] local.INFO: Acknowledgment sent {"connection_id":193024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:00:06] local.INFO: TCP Data received {"connection_id":194311,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 20:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 20:00:06] local.INFO: Processing buffer {"connection_id":194311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 20:00:06] local.INFO: Packet analysis {"connection_id":194311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d0"} 
[2026-09-24 20:00:06] local.INFO: Extracted packet for processing {"connection_id":194311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d0"} 
[2026-09-24 20:00:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306489856001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790260027000,"timestamp_ms":1790260027000,"timestamp_seconds":1790260027,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d01e78"} 
[2026-09-24 20:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306489856001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306489856001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:00:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:00:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306489856001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":194311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:00:06] local.INFO: GPS data processed {"connection_id":194311,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:00:06] local.INFO: Acknowledgment sent {"connection_id":194311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:00:16] local.INFO: TCP Data received {"connection_id":191451,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:00:16] local.INFO: Processing buffer {"connection_id":191451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:00:16] local.INFO: IMEI packet received {"connection_id":191451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":191451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:00:21] local.INFO: TCP Data received {"connection_id":191451,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:00:21] local.INFO: Processing buffer {"connection_id":191451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:00:21] local.INFO: IMEI packet received {"connection_id":191451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":191451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:00:22] local.INFO: TCP Data received {"connection_id":191451,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 20:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 20:00:22] local.INFO: Processing buffer {"connection_id":191451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 20:00:22] local.INFO: Packet analysis {"connection_id":191451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d1"} 
[2026-09-24 20:00:22] local.INFO: Extracted packet for processing {"connection_id":191451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d1"} 
[2026-09-24 20:00:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 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-09-24 20:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306505472001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790260088000,"timestamp_ms":1790260088000,"timestamp_seconds":1790260088,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d10cc0"} 
[2026-09-24 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-09-24 20:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 20:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 20:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306505472001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306505472001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:00:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:00:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306505472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":191451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:00:22] local.INFO: GPS data processed {"connection_id":191451,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:00:22] local.INFO: Acknowledgment sent {"connection_id":191451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:00:27] local.INFO: TCP Data received {"connection_id":194312,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:00:27] local.INFO: Processing buffer {"connection_id":194312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:00:27] local.INFO: IMEI packet received {"connection_id":194312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":194312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:00:32] local.INFO: TCP Data received {"connection_id":194312,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:00:32] local.INFO: Processing buffer {"connection_id":194312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:00:32] local.INFO: IMEI packet received {"connection_id":194312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":194312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:00:34] local.INFO: TCP Data received {"connection_id":194312,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 20:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 20:00:34] local.INFO: Processing buffer {"connection_id":194312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 20:00:34] local.INFO: Packet analysis {"connection_id":194312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d0"} 
[2026-09-24 20:00:34] local.INFO: Extracted packet for processing {"connection_id":194312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d0"} 
[2026-09-24 20:00:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306489856001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790260027000,"timestamp_ms":1790260027000,"timestamp_seconds":1790260027,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d01e78"} 
[2026-09-24 20:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306489856001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306489856001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:00:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:00:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306489856001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":194312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:00:34] local.INFO: GPS data processed {"connection_id":194312,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:00:34] local.INFO: Acknowledgment sent {"connection_id":194312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:00:53] local.INFO: TCP Data received {"connection_id":191451,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 20:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 20:00:53] local.INFO: Processing buffer {"connection_id":191451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 20:00:53] local.INFO: Packet analysis {"connection_id":191451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d1"} 
[2026-09-24 20:00:53] local.INFO: Extracted packet for processing {"connection_id":191451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d1"} 
[2026-09-24 20:00:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306505472001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790260088000,"timestamp_ms":1790260088000,"timestamp_seconds":1790260088,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d10cc0"} 
[2026-09-24 20:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 20:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306505472001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306505472001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:00:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:00:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306505472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":191451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:00:53] local.INFO: GPS data processed {"connection_id":191451,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:00:53] local.INFO: Acknowledgment sent {"connection_id":191451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:01:06] local.INFO: TCP Data received {"connection_id":194312,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 20:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 20:01:06] local.INFO: Processing buffer {"connection_id":194312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 20:01:06] local.INFO: Packet analysis {"connection_id":194312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d0"} 
[2026-09-24 20:01:06] local.INFO: Extracted packet for processing {"connection_id":194312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d0"} 
[2026-09-24 20:01:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306489856001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790260027000,"timestamp_ms":1790260027000,"timestamp_seconds":1790260027,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d01e78"} 
[2026-09-24 20:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:01: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-09-24 20:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306489856001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306489856001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:01:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:01:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306489856001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":194312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:01:06] local.INFO: GPS data processed {"connection_id":194312,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:01:06] local.INFO: Acknowledgment sent {"connection_id":194312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:01:16] local.INFO: TCP Data received {"connection_id":191644,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:01:16] local.INFO: Processing buffer {"connection_id":191644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:01:16] local.INFO: IMEI packet received {"connection_id":191644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":191644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:01:21] local.INFO: TCP Data received {"connection_id":191644,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:01:21] local.INFO: Processing buffer {"connection_id":191644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:01:21] local.INFO: IMEI packet received {"connection_id":191644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":191644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:01:22] local.INFO: TCP Data received {"connection_id":191644,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 20:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 20:01:22] local.INFO: Processing buffer {"connection_id":191644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 20:01:22] local.INFO: Packet analysis {"connection_id":191644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d1"} 
[2026-09-24 20:01:22] local.INFO: Extracted packet for processing {"connection_id":191644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d1"} 
[2026-09-24 20:01:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306505472001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790260088000,"timestamp_ms":1790260088000,"timestamp_seconds":1790260088,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d10cc0"} 
[2026-09-24 20:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 20:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306505472001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306505472001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:01:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:01:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306505472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":191644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:01:22] local.INFO: GPS data processed {"connection_id":191644,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:01:22] local.INFO: Acknowledgment sent {"connection_id":191644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:01:27] local.INFO: TCP Data received {"connection_id":191452,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:01:27] local.INFO: Processing buffer {"connection_id":191452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:01:27] local.INFO: IMEI packet received {"connection_id":191452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":191452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:01:32] local.INFO: TCP Data received {"connection_id":191452,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:01:32] local.INFO: Processing buffer {"connection_id":191452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:01:32] local.INFO: IMEI packet received {"connection_id":191452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":191452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:01:33] local.INFO: TCP Data received {"connection_id":191452,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 20:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 20:01:33] local.INFO: Processing buffer {"connection_id":191452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 20:01:33] local.INFO: Packet analysis {"connection_id":191452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d0"} 
[2026-09-24 20:01:33] local.INFO: Extracted packet for processing {"connection_id":191452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d0"} 
[2026-09-24 20:01:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306489856001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790260027000,"timestamp_ms":1790260027000,"timestamp_seconds":1790260027,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d01e78"} 
[2026-09-24 20:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306489856001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306489856001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:01:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:01:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306489856001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":191452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:01:33] local.INFO: GPS data processed {"connection_id":191452,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:01:33] local.INFO: Acknowledgment sent {"connection_id":191452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:01:53] local.INFO: TCP Data received {"connection_id":191644,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 20:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 20:01:53] local.INFO: Processing buffer {"connection_id":191644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 20:01:53] local.INFO: Packet analysis {"connection_id":191644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d1"} 
[2026-09-24 20:01:53] local.INFO: Extracted packet for processing {"connection_id":191644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d1"} 
[2026-09-24 20:01:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306505472001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790260088000,"timestamp_ms":1790260088000,"timestamp_seconds":1790260088,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d10cc0"} 
[2026-09-24 20:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 20:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306505472001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306505472001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:01:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:01:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306505472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":191644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:01:53] local.INFO: GPS data processed {"connection_id":191644,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:01:53] local.INFO: Acknowledgment sent {"connection_id":191644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:02:04] local.INFO: TCP Data received {"connection_id":191452,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 20:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 20:02:04] local.INFO: Processing buffer {"connection_id":191452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 20:02:04] local.INFO: Packet analysis {"connection_id":191452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d0"} 
[2026-09-24 20:02:04] local.INFO: Extracted packet for processing {"connection_id":191452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d0"} 
[2026-09-24 20:02:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306489856001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790260027000,"timestamp_ms":1790260027000,"timestamp_seconds":1790260027,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d01e78"} 
[2026-09-24 20:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:02: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-09-24 20:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:02: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-09-24 20:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306489856001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306489856001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:02:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:02:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306489856001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":191452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:02:04] local.INFO: GPS data processed {"connection_id":191452,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:02:04] local.INFO: Acknowledgment sent {"connection_id":191452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:02:16] local.INFO: TCP Data received {"connection_id":191645,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:02:16] local.INFO: Processing buffer {"connection_id":191645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:02:16] local.INFO: IMEI packet received {"connection_id":191645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":191645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:02:21] local.INFO: TCP Data received {"connection_id":191645,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:02:21] local.INFO: Processing buffer {"connection_id":191645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:02:21] local.INFO: IMEI packet received {"connection_id":191645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":191645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:02:22] local.INFO: TCP Data received {"connection_id":191645,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 20:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 20:02:22] local.INFO: Processing buffer {"connection_id":191645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 20:02:22] local.INFO: Packet analysis {"connection_id":191645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d1"} 
[2026-09-24 20:02:22] local.INFO: Extracted packet for processing {"connection_id":191645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d1"} 
[2026-09-24 20:02:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306505472001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790260088000,"timestamp_ms":1790260088000,"timestamp_seconds":1790260088,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d10cc0"} 
[2026-09-24 20:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 20:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306505472001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306505472001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:02:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:02:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306505472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":191645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:02:22] local.INFO: GPS data processed {"connection_id":191645,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:02:22] local.INFO: Acknowledgment sent {"connection_id":191645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:02:27] local.INFO: TCP Data received {"connection_id":193025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:02:27] local.INFO: Processing buffer {"connection_id":193025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:02:27] local.INFO: IMEI packet received {"connection_id":193025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":193025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:02:32] local.INFO: TCP Data received {"connection_id":193025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:02:32] local.INFO: Processing buffer {"connection_id":193025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:02:32] local.INFO: IMEI packet received {"connection_id":193025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":193025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:02:33] local.INFO: TCP Data received {"connection_id":193025,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 20:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 20:02:33] local.INFO: Processing buffer {"connection_id":193025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d01e78012d34c14006aa4940000900f52e..."} 
[2026-09-24 20:02:33] local.INFO: Packet analysis {"connection_id":193025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d0"} 
[2026-09-24 20:02:33] local.INFO: Extracted packet for processing {"connection_id":193025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d0"} 
[2026-09-24 20:02:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306489856001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790260027000,"timestamp_ms":1790260027000,"timestamp_seconds":1790260027,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d01e78"} 
[2026-09-24 20:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306489856001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306489856001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:02:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:02:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306489856001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":193025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:02:33] local.INFO: GPS data processed {"connection_id":193025,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:02:33] local.INFO: Acknowledgment sent {"connection_id":193025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:02:53] local.INFO: TCP Data received {"connection_id":191645,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 20:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 20:02:53] local.INFO: Processing buffer {"connection_id":191645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 20:02:53] local.INFO: Packet analysis {"connection_id":191645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d1"} 
[2026-09-24 20:02:53] local.INFO: Extracted packet for processing {"connection_id":191645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d1"} 
[2026-09-24 20:02:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306505472001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790260088000,"timestamp_ms":1790260088000,"timestamp_seconds":1790260088,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d10cc0"} 
[2026-09-24 20:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 20:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306505472001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306505472001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:02:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:02:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306505472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":191645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:02:53] local.INFO: GPS data processed {"connection_id":191645,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:02:53] local.INFO: Acknowledgment sent {"connection_id":191645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:03:05] local.INFO: TCP Data received {"connection_id":193025,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:03:05] local.INFO: Processing buffer {"connection_id":193025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:03:05] local.INFO: Packet analysis {"connection_id":193025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d4"} 
[2026-09-24 20:03:05] local.INFO: Extracted packet for processing {"connection_id":193025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d4"} 
[2026-09-24 20:03:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306566912001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790260328000,"timestamp_ms":1790260328000,"timestamp_seconds":1790260328,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d4b640"} 
[2026-09-24 20:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306566912001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306566912001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:03:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:03:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306566912001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":193025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:03:05] local.INFO: GPS data processed {"connection_id":193025,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:03:05] local.INFO: Acknowledgment sent {"connection_id":193025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:03:16] local.INFO: TCP Data received {"connection_id":191646,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:03:16] local.INFO: Processing buffer {"connection_id":191646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:03:16] local.INFO: IMEI packet received {"connection_id":191646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":191646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:03:21] local.INFO: TCP Data received {"connection_id":191646,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:03:21] local.INFO: Processing buffer {"connection_id":191646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:03:21] local.INFO: IMEI packet received {"connection_id":191646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":191646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:03:22] local.INFO: TCP Data received {"connection_id":191646,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 20:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 20:03:22] local.INFO: Processing buffer {"connection_id":191646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d10cc0012d196500071fef18003b00482b..."} 
[2026-09-24 20:03:22] local.INFO: Packet analysis {"connection_id":191646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d1"} 
[2026-09-24 20:03:22] local.INFO: Extracted packet for processing {"connection_id":191646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d1"} 
[2026-09-24 20:03:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306505472001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790260088000,"timestamp_ms":1790260088000,"timestamp_seconds":1790260088,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d10cc0"} 
[2026-09-24 20:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 20:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306505472001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306505472001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:03:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:03:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306505472001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":191646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:03:22] local.INFO: GPS data processed {"connection_id":191646,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:03:22] local.INFO: Acknowledgment sent {"connection_id":191646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:03:32] local.INFO: TCP Data received {"connection_id":191647,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:03:32] local.INFO: Processing buffer {"connection_id":191647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:03:32] local.INFO: IMEI packet received {"connection_id":191647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":191647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:03:37] local.INFO: TCP Data received {"connection_id":191647,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:03:37] local.INFO: Processing buffer {"connection_id":191647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:03:37] local.INFO: IMEI packet received {"connection_id":191647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":191647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:03:38] local.INFO: TCP Data received {"connection_id":191647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:03:38] local.INFO: Processing buffer {"connection_id":191647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:03:38] local.INFO: Packet analysis {"connection_id":191647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d4"} 
[2026-09-24 20:03:38] local.INFO: Extracted packet for processing {"connection_id":191647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d4"} 
[2026-09-24 20:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306566912001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790260328000,"timestamp_ms":1790260328000,"timestamp_seconds":1790260328,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d4b640"} 
[2026-09-24 20:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306566912001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306566912001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:03:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:03:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306566912001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":191647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:03:38] local.INFO: GPS data processed {"connection_id":191647,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:03:38] local.INFO: Acknowledgment sent {"connection_id":191647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:03:43] local.INFO: TCP Data received {"connection_id":191647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:03:43] local.INFO: Processing buffer {"connection_id":191647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:03:43] local.INFO: Packet analysis {"connection_id":191647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d4"} 
[2026-09-24 20:03:43] local.INFO: Extracted packet for processing {"connection_id":191647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d4"} 
[2026-09-24 20:03:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306566912001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790260328000,"timestamp_ms":1790260328000,"timestamp_seconds":1790260328,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d4b640"} 
[2026-09-24 20:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306566912001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306566912001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:03:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:03:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306566912001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":191647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:03:43] local.INFO: GPS data processed {"connection_id":191647,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:03:43] local.INFO: Acknowledgment sent {"connection_id":191647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:03:46] local.INFO: TCP Data received {"connection_id":194313,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194313,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:03:46] local.INFO: Processing buffer {"connection_id":194313,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:03:46] local.INFO: IMEI packet received {"connection_id":194313,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 20:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":194313,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:03:53] local.INFO: TCP Data received {"connection_id":191646,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:03:53] local.INFO: Processing buffer {"connection_id":191646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:03:53] local.INFO: Packet analysis {"connection_id":191646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d5"} 
[2026-09-24 20:03:53] local.INFO: Extracted packet for processing {"connection_id":191646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d5"} 
[2026-09-24 20:03:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306582528001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790260389000,"timestamp_ms":1790260389000,"timestamp_seconds":1790260389,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d5a488"} 
[2026-09-24 20:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306582528001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306582528001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:03:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:03:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306582528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":191646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:03:53] local.INFO: GPS data processed {"connection_id":191646,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:03:53] local.INFO: Acknowledgment sent {"connection_id":191646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:04:06] local.INFO: TCP Data received {"connection_id":193026,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:04:06] local.INFO: Processing buffer {"connection_id":193026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:04:06] local.INFO: IMEI packet received {"connection_id":193026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 20:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":193026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:04:16] local.INFO: TCP Data received {"connection_id":191648,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:04:16] local.INFO: Processing buffer {"connection_id":191648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:04:16] local.INFO: IMEI packet received {"connection_id":191648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":191648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:04:21] local.INFO: TCP Data received {"connection_id":191648,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:04:21] local.INFO: Processing buffer {"connection_id":191648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:04:21] local.INFO: IMEI packet received {"connection_id":191648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":191648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:04:22] local.INFO: TCP Data received {"connection_id":191648,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:04:22] local.INFO: Processing buffer {"connection_id":191648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:04:22] local.INFO: Packet analysis {"connection_id":191648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d5"} 
[2026-09-24 20:04:22] local.INFO: Extracted packet for processing {"connection_id":191648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d5"} 
[2026-09-24 20:04:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306582528001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790260389000,"timestamp_ms":1790260389000,"timestamp_seconds":1790260389,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d5a488"} 
[2026-09-24 20:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306582528001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306582528001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:04:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:04:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306582528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":191648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:04:22] local.INFO: GPS data processed {"connection_id":191648,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:04:22] local.INFO: Acknowledgment sent {"connection_id":191648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:04:27] local.INFO: TCP Data received {"connection_id":193027,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:04:27] local.INFO: Processing buffer {"connection_id":193027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:04:27] local.INFO: IMEI packet received {"connection_id":193027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":193027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:04:32] local.INFO: TCP Data received {"connection_id":193027,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:04:32] local.INFO: Processing buffer {"connection_id":193027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:04:32] local.INFO: IMEI packet received {"connection_id":193027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":193027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:04:34] local.INFO: TCP Data received {"connection_id":193027,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:04:34] local.INFO: Processing buffer {"connection_id":193027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:04:34] local.INFO: Packet analysis {"connection_id":193027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d4"} 
[2026-09-24 20:04:34] local.INFO: Extracted packet for processing {"connection_id":193027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d4"} 
[2026-09-24 20:04:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306566912001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790260328000,"timestamp_ms":1790260328000,"timestamp_seconds":1790260328,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d4b640"} 
[2026-09-24 20:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306566912001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306566912001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:04:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:04:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306566912001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":193027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:04:34] local.INFO: GPS data processed {"connection_id":193027,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:04:34] local.INFO: Acknowledgment sent {"connection_id":193027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:04:38] local.INFO: TCP Data received {"connection_id":193027,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:04:38] local.INFO: Processing buffer {"connection_id":193027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:04:38] local.INFO: Packet analysis {"connection_id":193027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d4"} 
[2026-09-24 20:04:38] local.INFO: Extracted packet for processing {"connection_id":193027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d4"} 
[2026-09-24 20:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306566912001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790260328000,"timestamp_ms":1790260328000,"timestamp_seconds":1790260328,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d4b640"} 
[2026-09-24 20:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306566912001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306566912001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:04:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:04:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306566912001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":193027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:04:38] local.INFO: GPS data processed {"connection_id":193027,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:04:38] local.INFO: Acknowledgment sent {"connection_id":193027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:04:53] local.INFO: TCP Data received {"connection_id":191648,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:04:53] local.INFO: Processing buffer {"connection_id":191648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:04:53] local.INFO: Packet analysis {"connection_id":191648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d5"} 
[2026-09-24 20:04:53] local.INFO: Extracted packet for processing {"connection_id":191648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d5"} 
[2026-09-24 20:04:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306582528001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790260389000,"timestamp_ms":1790260389000,"timestamp_seconds":1790260389,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d5a488"} 
[2026-09-24 20:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306582528001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306582528001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:04:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:04:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306582528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":191648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:04:53] local.INFO: GPS data processed {"connection_id":191648,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:04:53] local.INFO: Acknowledgment sent {"connection_id":191648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:05:10] local.INFO: TCP Data received {"connection_id":193027,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:05:10] local.INFO: Processing buffer {"connection_id":193027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:05:10] local.INFO: Packet analysis {"connection_id":193027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d4"} 
[2026-09-24 20:05:10] local.INFO: Extracted packet for processing {"connection_id":193027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d4"} 
[2026-09-24 20:05:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306566912001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790260328000,"timestamp_ms":1790260328000,"timestamp_seconds":1790260328,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d4b640"} 
[2026-09-24 20:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306566912001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306566912001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:05:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:05:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306566912001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":193027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:05:10] local.INFO: GPS data processed {"connection_id":193027,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:05:10] local.INFO: Acknowledgment sent {"connection_id":193027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:05:16] local.INFO: TCP Data received {"connection_id":191455,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:05:16] local.INFO: Processing buffer {"connection_id":191455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:05:16] local.INFO: IMEI packet received {"connection_id":191455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":191455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:05:21] local.INFO: TCP Data received {"connection_id":191455,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:05:21] local.INFO: Processing buffer {"connection_id":191455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:05:21] local.INFO: IMEI packet received {"connection_id":191455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":191455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:05:22] local.INFO: TCP Data received {"connection_id":191455,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:05:22] local.INFO: Processing buffer {"connection_id":191455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:05:22] local.INFO: Packet analysis {"connection_id":191455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d5"} 
[2026-09-24 20:05:22] local.INFO: Extracted packet for processing {"connection_id":191455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d5"} 
[2026-09-24 20:05:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306582528001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790260389000,"timestamp_ms":1790260389000,"timestamp_seconds":1790260389,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d5a488"} 
[2026-09-24 20:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306582528001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306582528001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:05:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:05:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306582528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":191455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:05:22] local.INFO: GPS data processed {"connection_id":191455,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:05:22] local.INFO: Acknowledgment sent {"connection_id":191455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:05:27] local.INFO: TCP Data received {"connection_id":191649,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:05:27] local.INFO: Processing buffer {"connection_id":191649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:05:27] local.INFO: IMEI packet received {"connection_id":191649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":191649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:05:32] local.INFO: TCP Data received {"connection_id":191649,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:05:32] local.INFO: Processing buffer {"connection_id":191649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:05:32] local.INFO: IMEI packet received {"connection_id":191649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":191649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:05:33] local.INFO: TCP Data received {"connection_id":191649,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:05:33] local.INFO: Processing buffer {"connection_id":191649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:05:33] local.INFO: Packet analysis {"connection_id":191649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d4"} 
[2026-09-24 20:05:33] local.INFO: Extracted packet for processing {"connection_id":191649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d4"} 
[2026-09-24 20:05:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306566912001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790260328000,"timestamp_ms":1790260328000,"timestamp_seconds":1790260328,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d4b640"} 
[2026-09-24 20:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306566912001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306566912001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:05:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:05:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306566912001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":191649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:05:33] local.INFO: GPS data processed {"connection_id":191649,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:05:33] local.INFO: Acknowledgment sent {"connection_id":191649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:05:53] local.INFO: TCP Data received {"connection_id":191455,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:05:53] local.INFO: Processing buffer {"connection_id":191455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:05:53] local.INFO: Packet analysis {"connection_id":191455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d5"} 
[2026-09-24 20:05:53] local.INFO: Extracted packet for processing {"connection_id":191455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d5"} 
[2026-09-24 20:05:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306582528001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790260389000,"timestamp_ms":1790260389000,"timestamp_seconds":1790260389,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d5a488"} 
[2026-09-24 20:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306582528001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306582528001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:05:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:05:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306582528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":191455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:05:53] local.INFO: GPS data processed {"connection_id":191455,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:05:53] local.INFO: Acknowledgment sent {"connection_id":191455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:06:04] local.INFO: TCP Data received {"connection_id":191649,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:06:04] local.INFO: Processing buffer {"connection_id":191649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:06:04] local.INFO: Packet analysis {"connection_id":191649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d4"} 
[2026-09-24 20:06:04] local.INFO: Extracted packet for processing {"connection_id":191649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d4"} 
[2026-09-24 20:06:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306566912001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790260328000,"timestamp_ms":1790260328000,"timestamp_seconds":1790260328,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d4b640"} 
[2026-09-24 20:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20: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-09-24 20:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306566912001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306566912001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:06:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:06:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306566912001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":191649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:06:04] local.INFO: GPS data processed {"connection_id":191649,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:06:04] local.INFO: Acknowledgment sent {"connection_id":191649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:06:16] local.INFO: TCP Data received {"connection_id":194316,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:06:16] local.INFO: Processing buffer {"connection_id":194316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:06:16] local.INFO: IMEI packet received {"connection_id":194316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":194316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:06:21] local.INFO: TCP Data received {"connection_id":194316,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:06:21] local.INFO: Processing buffer {"connection_id":194316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:06:21] local.INFO: IMEI packet received {"connection_id":194316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":194316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:06:22] local.INFO: TCP Data received {"connection_id":194316,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:06:22] local.INFO: Processing buffer {"connection_id":194316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:06:22] local.INFO: Packet analysis {"connection_id":194316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d5"} 
[2026-09-24 20:06:22] local.INFO: Extracted packet for processing {"connection_id":194316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d5"} 
[2026-09-24 20:06:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306582528001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790260389000,"timestamp_ms":1790260389000,"timestamp_seconds":1790260389,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d5a488"} 
[2026-09-24 20:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306582528001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306582528001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:06:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:06:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306582528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":194316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:06:22] local.INFO: GPS data processed {"connection_id":194316,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:06:22] local.INFO: Acknowledgment sent {"connection_id":194316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:06:27] local.INFO: TCP Data received {"connection_id":191456,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:06:27] local.INFO: Processing buffer {"connection_id":191456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:06:27] local.INFO: IMEI packet received {"connection_id":191456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":191456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:06:32] local.INFO: TCP Data received {"connection_id":191456,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:06:32] local.INFO: Processing buffer {"connection_id":191456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:06:32] local.INFO: IMEI packet received {"connection_id":191456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":191456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:06:36] local.INFO: TCP Data received {"connection_id":191456,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:06:36] local.INFO: Processing buffer {"connection_id":191456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:06:36] local.INFO: Packet analysis {"connection_id":191456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d4"} 
[2026-09-24 20:06:36] local.INFO: Extracted packet for processing {"connection_id":191456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d4"} 
[2026-09-24 20:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306566912001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790260328000,"timestamp_ms":1790260328000,"timestamp_seconds":1790260328,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d4b640"} 
[2026-09-24 20:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306566912001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306566912001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:06:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306566912001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":191456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:06:36] local.INFO: GPS data processed {"connection_id":191456,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:06:36] local.INFO: Acknowledgment sent {"connection_id":191456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:06:53] local.INFO: TCP Data received {"connection_id":194316,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:06:53] local.INFO: Processing buffer {"connection_id":194316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:06:53] local.INFO: Packet analysis {"connection_id":194316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d5"} 
[2026-09-24 20:06:53] local.INFO: Extracted packet for processing {"connection_id":194316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d5"} 
[2026-09-24 20:06:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306582528001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790260389000,"timestamp_ms":1790260389000,"timestamp_seconds":1790260389,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d5a488"} 
[2026-09-24 20:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306582528001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306582528001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:06:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:06:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306582528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":194316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:06:53] local.INFO: GPS data processed {"connection_id":194316,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:06:53] local.INFO: Acknowledgment sent {"connection_id":194316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:07:07] local.INFO: TCP Data received {"connection_id":191456,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:07:07] local.INFO: Processing buffer {"connection_id":191456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:07:07] local.INFO: Packet analysis {"connection_id":191456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d4"} 
[2026-09-24 20:07:07] local.INFO: Extracted packet for processing {"connection_id":191456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d4"} 
[2026-09-24 20:07:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 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-09-24 20:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306566912001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790260328000,"timestamp_ms":1790260328000,"timestamp_seconds":1790260328,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d4b640"} 
[2026-09-24 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-09-24 20:07: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-09-24 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 20:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306566912001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306566912001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:07:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:07:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306566912001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":191456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:07:07] local.INFO: GPS data processed {"connection_id":191456,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:07:07] local.INFO: Acknowledgment sent {"connection_id":191456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:07:16] local.INFO: TCP Data received {"connection_id":193029,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:07:16] local.INFO: Processing buffer {"connection_id":193029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:07:16] local.INFO: IMEI packet received {"connection_id":193029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":193029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:07:21] local.INFO: TCP Data received {"connection_id":193029,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:07:21] local.INFO: Processing buffer {"connection_id":193029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:07:21] local.INFO: IMEI packet received {"connection_id":193029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":193029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:07:22] local.INFO: TCP Data received {"connection_id":193029,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:07:22] local.INFO: Processing buffer {"connection_id":193029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:07:22] local.INFO: Packet analysis {"connection_id":193029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d5"} 
[2026-09-24 20:07:22] local.INFO: Extracted packet for processing {"connection_id":193029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d5"} 
[2026-09-24 20:07:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306582528001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790260389000,"timestamp_ms":1790260389000,"timestamp_seconds":1790260389,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d5a488"} 
[2026-09-24 20:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306582528001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306582528001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:07:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:07:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306582528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":193029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:07:22] local.INFO: GPS data processed {"connection_id":193029,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:07:22] local.INFO: Acknowledgment sent {"connection_id":193029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:07:27] local.INFO: TCP Data received {"connection_id":191650,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:07:27] local.INFO: Processing buffer {"connection_id":191650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:07:27] local.INFO: IMEI packet received {"connection_id":191650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":191650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:07:32] local.INFO: TCP Data received {"connection_id":191650,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:07:32] local.INFO: Processing buffer {"connection_id":191650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:07:32] local.INFO: IMEI packet received {"connection_id":191650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":191650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:07:33] local.INFO: TCP Data received {"connection_id":191650,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:07:33] local.INFO: Processing buffer {"connection_id":191650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d4b640012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:07:33] local.INFO: Packet analysis {"connection_id":191650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d4"} 
[2026-09-24 20:07:33] local.INFO: Extracted packet for processing {"connection_id":191650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d4"} 
[2026-09-24 20:07:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306566912001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790260328000,"timestamp_ms":1790260328000,"timestamp_seconds":1790260328,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d4b640"} 
[2026-09-24 20:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306566912001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306566912001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:07:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:07:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306566912001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":191650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:07:33] local.INFO: GPS data processed {"connection_id":191650,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:07:33] local.INFO: Acknowledgment sent {"connection_id":191650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:07:53] local.INFO: TCP Data received {"connection_id":193029,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:07:53] local.INFO: Processing buffer {"connection_id":193029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:07:53] local.INFO: Packet analysis {"connection_id":193029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d5"} 
[2026-09-24 20:07:53] local.INFO: Extracted packet for processing {"connection_id":193029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d5"} 
[2026-09-24 20:07:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306582528001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790260389000,"timestamp_ms":1790260389000,"timestamp_seconds":1790260389,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d5a488"} 
[2026-09-24 20:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":193029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":193029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":193029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306582528001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306582528001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:07:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:07:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306582528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":193029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:07:53] local.INFO: GPS data processed {"connection_id":193029,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:07:53] local.INFO: Acknowledgment sent {"connection_id":193029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:08:05] local.INFO: TCP Data received {"connection_id":191650,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:08:05] local.INFO: Processing buffer {"connection_id":191650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:08:05] local.INFO: Packet analysis {"connection_id":191650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d9"} 
[2026-09-24 20:08:05] local.INFO: Extracted packet for processing {"connection_id":191650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d9"} 
[2026-09-24 20:08:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306643968001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790260629000,"timestamp_ms":1790260629000,"timestamp_seconds":1790260629,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d94e08"} 
[2026-09-24 20:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 20:08: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-09-24 20: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-09-24 20:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306643968001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306643968001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:08:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:08:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306643968001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":191650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:08:05] local.INFO: GPS data processed {"connection_id":191650,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:08:05] local.INFO: Acknowledgment sent {"connection_id":191650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:08:21] local.INFO: TCP Data received {"connection_id":194317,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:08:21] local.INFO: Processing buffer {"connection_id":194317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:08:21] local.INFO: IMEI packet received {"connection_id":194317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":194317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:08:26] local.INFO: TCP Data received {"connection_id":194317,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:08:26] local.INFO: Processing buffer {"connection_id":194317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:08:26] local.INFO: IMEI packet received {"connection_id":194317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":194317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:08:27] local.INFO: TCP Data received {"connection_id":194317,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:08:27] local.INFO: Processing buffer {"connection_id":194317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:08:27] local.INFO: Packet analysis {"connection_id":194317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d5"} 
[2026-09-24 20:08:27] local.INFO: Extracted packet for processing {"connection_id":194317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d5"} 
[2026-09-24 20:08:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306582528001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790260389000,"timestamp_ms":1790260389000,"timestamp_seconds":1790260389,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d5a488"} 
[2026-09-24 20:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":194317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":194317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":194317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306582528001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306582528001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:08:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:08:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306582528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":194317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:08:27] local.INFO: GPS data processed {"connection_id":194317,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:08:27] local.INFO: Acknowledgment sent {"connection_id":194317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:08:27] local.INFO: TCP Data received {"connection_id":191652,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:08:27] local.INFO: Processing buffer {"connection_id":191652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:08:27] local.INFO: IMEI packet received {"connection_id":191652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":191652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:08:31] local.INFO: TCP Data received {"connection_id":194317,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:08:31] local.INFO: Processing buffer {"connection_id":194317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d5a488012d196500071fef18003b00482b..."} 
[2026-09-24 20:08:31] local.INFO: Packet analysis {"connection_id":194317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d5"} 
[2026-09-24 20:08:31] local.INFO: Extracted packet for processing {"connection_id":194317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d5"} 
[2026-09-24 20:08:31] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306582528001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790260389000,"timestamp_ms":1790260389000,"timestamp_seconds":1790260389,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d5a488"} 
[2026-09-24 20:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306582528001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306582528001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:08:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:08:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306582528001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":194317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:08:31] local.INFO: GPS data processed {"connection_id":194317,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:08:31] local.INFO: Acknowledgment sent {"connection_id":194317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:08:33] local.INFO: TCP Data received {"connection_id":191652,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:08:33] local.INFO: Processing buffer {"connection_id":191652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:08:33] local.INFO: IMEI packet received {"connection_id":191652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":191652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:08:34] local.INFO: TCP Data received {"connection_id":191652,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:08:34] local.INFO: Processing buffer {"connection_id":191652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:08:34] local.INFO: Packet analysis {"connection_id":191652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d9"} 
[2026-09-24 20:08:34] local.INFO: Extracted packet for processing {"connection_id":191652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d9"} 
[2026-09-24 20:08:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306643968001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790260629000,"timestamp_ms":1790260629000,"timestamp_seconds":1790260629,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d94e08"} 
[2026-09-24 20:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 20:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306643968001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306643968001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:08:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:08:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306643968001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":191652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:08:34] local.INFO: GPS data processed {"connection_id":191652,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:08:34] local.INFO: Acknowledgment sent {"connection_id":191652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:09:06] local.INFO: TCP Data received {"connection_id":191652,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:09:06] local.INFO: Processing buffer {"connection_id":191652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:09:06] local.INFO: Packet analysis {"connection_id":191652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d9"} 
[2026-09-24 20:09:06] local.INFO: Extracted packet for processing {"connection_id":191652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d9"} 
[2026-09-24 20:09:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306643968001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790260629000,"timestamp_ms":1790260629000,"timestamp_seconds":1790260629,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d94e08"} 
[2026-09-24 20:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:09: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-09-24 20:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 20:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306643968001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306643968001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:09:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:09:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306643968001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":191652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:09:06] local.INFO: GPS data processed {"connection_id":191652,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:09:06] local.INFO: Acknowledgment sent {"connection_id":191652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:09:16] local.INFO: TCP Data received {"connection_id":191653,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:09:16] local.INFO: Processing buffer {"connection_id":191653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:09:16] local.INFO: IMEI packet received {"connection_id":191653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":191653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:09:21] local.INFO: TCP Data received {"connection_id":191653,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:09:21] local.INFO: Processing buffer {"connection_id":191653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:09:21] local.INFO: IMEI packet received {"connection_id":191653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":191653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:09:22] local.INFO: TCP Data received {"connection_id":191653,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:09:22] local.INFO: Processing buffer {"connection_id":191653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:09:22] local.INFO: Packet analysis {"connection_id":191653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3da"} 
[2026-09-24 20:09:22] local.INFO: Extracted packet for processing {"connection_id":191653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3da"} 
[2026-09-24 20:09:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306659584001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790260690000,"timestamp_ms":1790260690000,"timestamp_seconds":1790260690,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3da3c50"} 
[2026-09-24 20:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306659584001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306659584001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:09:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:09:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306659584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":191653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:09:22] local.INFO: GPS data processed {"connection_id":191653,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:09:22] local.INFO: Acknowledgment sent {"connection_id":191653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:09:27] local.INFO: TCP Data received {"connection_id":191457,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:09:27] local.INFO: Processing buffer {"connection_id":191457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:09:27] local.INFO: IMEI packet received {"connection_id":191457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":191457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:09:31] local.INFO: TCP Data received {"connection_id":193030,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:09:31] local.INFO: Processing buffer {"connection_id":193030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:09:31] local.INFO: IMEI packet received {"connection_id":193030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 20:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":193030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:09:33] local.INFO: TCP Data received {"connection_id":191457,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:09:33] local.INFO: Processing buffer {"connection_id":191457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:09:33] local.INFO: IMEI packet received {"connection_id":191457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":191457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:09:34] local.INFO: TCP Data received {"connection_id":191457,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:09:34] local.INFO: Processing buffer {"connection_id":191457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:09:34] local.INFO: Packet analysis {"connection_id":191457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d9"} 
[2026-09-24 20:09:34] local.INFO: Extracted packet for processing {"connection_id":191457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d9"} 
[2026-09-24 20:09:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306643968001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790260629000,"timestamp_ms":1790260629000,"timestamp_seconds":1790260629,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d94e08"} 
[2026-09-24 20:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 20:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306643968001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306643968001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:09:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:09:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306643968001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":191457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:09:34] local.INFO: GPS data processed {"connection_id":191457,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:09:34] local.INFO: Acknowledgment sent {"connection_id":191457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:09:53] local.INFO: TCP Data received {"connection_id":191653,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:09:53] local.INFO: Processing buffer {"connection_id":191653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:09:53] local.INFO: Packet analysis {"connection_id":191653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3da"} 
[2026-09-24 20:09:53] local.INFO: Extracted packet for processing {"connection_id":191653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3da"} 
[2026-09-24 20:09:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306659584001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790260690000,"timestamp_ms":1790260690000,"timestamp_seconds":1790260690,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3da3c50"} 
[2026-09-24 20:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306659584001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306659584001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:09:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:09:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306659584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":191653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:09:53] local.INFO: GPS data processed {"connection_id":191653,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:09:53] local.INFO: Acknowledgment sent {"connection_id":191653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:10:05] local.INFO: TCP Data received {"connection_id":191457,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:10:05] local.INFO: Processing buffer {"connection_id":191457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:10:05] local.INFO: Packet analysis {"connection_id":191457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d9"} 
[2026-09-24 20:10:05] local.INFO: Extracted packet for processing {"connection_id":191457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d9"} 
[2026-09-24 20:10:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306643968001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790260629000,"timestamp_ms":1790260629000,"timestamp_seconds":1790260629,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d94e08"} 
[2026-09-24 20:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 20:10: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-09-24 20:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306643968001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306643968001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:10:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:10:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306643968001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":191457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:10:05] local.INFO: GPS data processed {"connection_id":191457,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:10:05] local.INFO: Acknowledgment sent {"connection_id":191457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:10:06] local.INFO: TCP Data received {"connection_id":194318,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194318,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:10:06] local.INFO: Processing buffer {"connection_id":194318,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:10:06] local.INFO: IMEI packet received {"connection_id":194318,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 20:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":194318,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:10:16] local.INFO: TCP Data received {"connection_id":194319,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:10:16] local.INFO: Processing buffer {"connection_id":194319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:10:16] local.INFO: IMEI packet received {"connection_id":194319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":194319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:10:21] local.INFO: TCP Data received {"connection_id":194319,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:10:21] local.INFO: Processing buffer {"connection_id":194319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:10:21] local.INFO: IMEI packet received {"connection_id":194319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":194319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:10:22] local.INFO: TCP Data received {"connection_id":194319,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:10:22] local.INFO: Processing buffer {"connection_id":194319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:10:22] local.INFO: Packet analysis {"connection_id":194319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3da"} 
[2026-09-24 20:10:22] local.INFO: Extracted packet for processing {"connection_id":194319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3da"} 
[2026-09-24 20:10:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306659584001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790260690000,"timestamp_ms":1790260690000,"timestamp_seconds":1790260690,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3da3c50"} 
[2026-09-24 20:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306659584001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306659584001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:10:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:10:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306659584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":194319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:10:22] local.INFO: GPS data processed {"connection_id":194319,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:10:22] local.INFO: Acknowledgment sent {"connection_id":194319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:10:32] local.INFO: TCP Data received {"connection_id":191458,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:10:32] local.INFO: Processing buffer {"connection_id":191458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:10:32] local.INFO: IMEI packet received {"connection_id":191458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":191458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:10:37] local.INFO: TCP Data received {"connection_id":191458,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:10:37] local.INFO: Processing buffer {"connection_id":191458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:10:37] local.INFO: IMEI packet received {"connection_id":191458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":191458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:10:39] local.INFO: TCP Data received {"connection_id":191458,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:10:39] local.INFO: Processing buffer {"connection_id":191458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:10:39] local.INFO: Packet analysis {"connection_id":191458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d9"} 
[2026-09-24 20:10:39] local.INFO: Extracted packet for processing {"connection_id":191458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d9"} 
[2026-09-24 20:10:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306643968001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790260629000,"timestamp_ms":1790260629000,"timestamp_seconds":1790260629,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d94e08"} 
[2026-09-24 20:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 20:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306643968001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306643968001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:10:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:10:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306643968001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":191458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:10:39] local.INFO: GPS data processed {"connection_id":191458,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:10:39] local.INFO: Acknowledgment sent {"connection_id":191458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:10:43] local.INFO: TCP Data received {"connection_id":191458,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:10:43] local.INFO: Processing buffer {"connection_id":191458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:10:43] local.INFO: Packet analysis {"connection_id":191458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d9"} 
[2026-09-24 20:10:43] local.INFO: Extracted packet for processing {"connection_id":191458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d9"} 
[2026-09-24 20:10:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306643968001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790260629000,"timestamp_ms":1790260629000,"timestamp_seconds":1790260629,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d94e08"} 
[2026-09-24 20:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 20:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306643968001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306643968001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:10:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:10:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306643968001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":191458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:10:43] local.INFO: GPS data processed {"connection_id":191458,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:10:43] local.INFO: Acknowledgment sent {"connection_id":191458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:10:53] local.INFO: TCP Data received {"connection_id":194319,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:10:53] local.INFO: Processing buffer {"connection_id":194319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:10:53] local.INFO: Packet analysis {"connection_id":194319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3da"} 
[2026-09-24 20:10:53] local.INFO: Extracted packet for processing {"connection_id":194319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3da"} 
[2026-09-24 20:10:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306659584001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790260690000,"timestamp_ms":1790260690000,"timestamp_seconds":1790260690,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3da3c50"} 
[2026-09-24 20:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306659584001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306659584001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:10:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:10:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306659584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":194319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:10:53] local.INFO: GPS data processed {"connection_id":194319,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:10:53] local.INFO: Acknowledgment sent {"connection_id":194319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:11:16] local.INFO: TCP Data received {"connection_id":193031,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:11:16] local.INFO: Processing buffer {"connection_id":193031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:11:16] local.INFO: IMEI packet received {"connection_id":193031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":193031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:11:21] local.INFO: TCP Data received {"connection_id":193031,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:11:21] local.INFO: Processing buffer {"connection_id":193031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:11:21] local.INFO: IMEI packet received {"connection_id":193031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":193031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:11:22] local.INFO: TCP Data received {"connection_id":193031,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:11:22] local.INFO: Processing buffer {"connection_id":193031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:11:22] local.INFO: Packet analysis {"connection_id":193031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3da"} 
[2026-09-24 20:11:22] local.INFO: Extracted packet for processing {"connection_id":193031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3da"} 
[2026-09-24 20:11:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306659584001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790260690000,"timestamp_ms":1790260690000,"timestamp_seconds":1790260690,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3da3c50"} 
[2026-09-24 20:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306659584001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306659584001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:11:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:11:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306659584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":193031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:11:22] local.INFO: GPS data processed {"connection_id":193031,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:11:22] local.INFO: Acknowledgment sent {"connection_id":193031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:11:27] local.INFO: TCP Data received {"connection_id":194320,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:11:27] local.INFO: Processing buffer {"connection_id":194320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:11:27] local.INFO: IMEI packet received {"connection_id":194320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":194320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:11:33] local.INFO: TCP Data received {"connection_id":194320,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:11:33] local.INFO: Processing buffer {"connection_id":194320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:11:33] local.INFO: IMEI packet received {"connection_id":194320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":194320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:11:34] local.INFO: TCP Data received {"connection_id":194320,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:11:34] local.INFO: Processing buffer {"connection_id":194320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:11:34] local.INFO: Packet analysis {"connection_id":194320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d9"} 
[2026-09-24 20:11:34] local.INFO: Extracted packet for processing {"connection_id":194320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d9"} 
[2026-09-24 20:11:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306643968001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790260629000,"timestamp_ms":1790260629000,"timestamp_seconds":1790260629,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d94e08"} 
[2026-09-24 20:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 20:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306643968001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306643968001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:11:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:11:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306643968001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":194320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:11:34] local.INFO: GPS data processed {"connection_id":194320,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:11:34] local.INFO: Acknowledgment sent {"connection_id":194320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:11:38] local.INFO: TCP Data received {"connection_id":194320,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:11:38] local.INFO: Processing buffer {"connection_id":194320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:11:38] local.INFO: Packet analysis {"connection_id":194320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d9"} 
[2026-09-24 20:11:38] local.INFO: Extracted packet for processing {"connection_id":194320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d9"} 
[2026-09-24 20:11:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306643968001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790260629000,"timestamp_ms":1790260629000,"timestamp_seconds":1790260629,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d94e08"} 
[2026-09-24 20:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 20:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306643968001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306643968001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:11:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:11:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306643968001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":194320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:11:38] local.INFO: GPS data processed {"connection_id":194320,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:11:38] local.INFO: Acknowledgment sent {"connection_id":194320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:11:53] local.INFO: TCP Data received {"connection_id":193031,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:11:53] local.INFO: Processing buffer {"connection_id":193031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:11:53] local.INFO: Packet analysis {"connection_id":193031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3da"} 
[2026-09-24 20:11:53] local.INFO: Extracted packet for processing {"connection_id":193031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3da"} 
[2026-09-24 20:11:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306659584001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790260690000,"timestamp_ms":1790260690000,"timestamp_seconds":1790260690,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3da3c50"} 
[2026-09-24 20:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":193031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":193031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":193031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306659584001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306659584001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:11:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:11:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306659584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":193031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:11:53] local.INFO: GPS data processed {"connection_id":193031,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:11:53] local.INFO: Acknowledgment sent {"connection_id":193031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:12:11] local.INFO: TCP Data received {"connection_id":194320,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:12:11] local.INFO: Processing buffer {"connection_id":194320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:12:11] local.INFO: Packet analysis {"connection_id":194320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d9"} 
[2026-09-24 20:12:11] local.INFO: Extracted packet for processing {"connection_id":194320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d9"} 
[2026-09-24 20:12:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306643968001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790260629000,"timestamp_ms":1790260629000,"timestamp_seconds":1790260629,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d94e08"} 
[2026-09-24 20:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 20:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":194320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":194320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":194320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306643968001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306643968001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:12:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:12:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306643968001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":194320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:12:11] local.INFO: GPS data processed {"connection_id":194320,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:12:11] local.INFO: Acknowledgment sent {"connection_id":194320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:12:16] local.INFO: TCP Data received {"connection_id":191656,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:12:16] local.INFO: Processing buffer {"connection_id":191656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:12:16] local.INFO: IMEI packet received {"connection_id":191656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":191656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:12:21] local.INFO: TCP Data received {"connection_id":191656,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:12:21] local.INFO: Processing buffer {"connection_id":191656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:12:21] local.INFO: IMEI packet received {"connection_id":191656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":191656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:12:22] local.INFO: TCP Data received {"connection_id":191656,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:12:22] local.INFO: Processing buffer {"connection_id":191656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:12:22] local.INFO: Packet analysis {"connection_id":191656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3da"} 
[2026-09-24 20:12:22] local.INFO: Extracted packet for processing {"connection_id":191656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3da"} 
[2026-09-24 20:12:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306659584001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790260690000,"timestamp_ms":1790260690000,"timestamp_seconds":1790260690,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3da3c50"} 
[2026-09-24 20:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306659584001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306659584001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:12:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:12:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306659584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":191656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:12:22] local.INFO: GPS data processed {"connection_id":191656,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:12:22] local.INFO: Acknowledgment sent {"connection_id":191656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:12:27] local.INFO: TCP Data received {"connection_id":194321,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:12:27] local.INFO: Processing buffer {"connection_id":194321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:12:27] local.INFO: IMEI packet received {"connection_id":194321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":194321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:12:32] local.INFO: TCP Data received {"connection_id":194321,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:12:32] local.INFO: Processing buffer {"connection_id":194321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:12:32] local.INFO: IMEI packet received {"connection_id":194321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":194321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:12:38] local.INFO: TCP Data received {"connection_id":194321,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:12:38] local.INFO: Processing buffer {"connection_id":194321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3d94e08012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:12:38] local.INFO: Packet analysis {"connection_id":194321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3d9"} 
[2026-09-24 20:12:38] local.INFO: Extracted packet for processing {"connection_id":194321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3d9"} 
[2026-09-24 20:12:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306643968001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790260629000,"timestamp_ms":1790260629000,"timestamp_seconds":1790260629,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3d94e08"} 
[2026-09-24 20:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 20:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306643968001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306643968001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:12:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:12:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306643968001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":194321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:12:38] local.INFO: GPS data processed {"connection_id":194321,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:12:38] local.INFO: Acknowledgment sent {"connection_id":194321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:12:53] local.INFO: TCP Data received {"connection_id":191656,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:12:53] local.INFO: Processing buffer {"connection_id":191656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:12:53] local.INFO: Packet analysis {"connection_id":191656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3da"} 
[2026-09-24 20:12:53] local.INFO: Extracted packet for processing {"connection_id":191656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3da"} 
[2026-09-24 20:12:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306659584001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790260690000,"timestamp_ms":1790260690000,"timestamp_seconds":1790260690,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3da3c50"} 
[2026-09-24 20:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306659584001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306659584001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:12:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:12:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306659584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":191656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:12:53] local.INFO: GPS data processed {"connection_id":191656,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:12:53] local.INFO: Acknowledgment sent {"connection_id":191656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:13:09] local.INFO: TCP Data received {"connection_id":194321,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:13:09] local.INFO: Processing buffer {"connection_id":194321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:13:09] local.INFO: Packet analysis {"connection_id":194321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3dd"} 
[2026-09-24 20:13:09] local.INFO: Extracted packet for processing {"connection_id":194321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3dd"} 
[2026-09-24 20:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306721024001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790260930000,"timestamp_ms":1790260930000,"timestamp_seconds":1790260930,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3dde5d0"} 
[2026-09-24 20:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20: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-09-24 20:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":194321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":194321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":194321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306721024001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306721024001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:13:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:13:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306721024001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":194321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:13:09] local.INFO: GPS data processed {"connection_id":194321,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:13:09] local.INFO: Acknowledgment sent {"connection_id":194321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:13:16] local.INFO: TCP Data received {"connection_id":191459,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:13:16] local.INFO: Processing buffer {"connection_id":191459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:13:16] local.INFO: IMEI packet received {"connection_id":191459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":191459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:13:21] local.INFO: TCP Data received {"connection_id":191459,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:13:21] local.INFO: Processing buffer {"connection_id":191459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:13:21] local.INFO: IMEI packet received {"connection_id":191459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":191459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:13:22] local.INFO: TCP Data received {"connection_id":191459,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:13:22] local.INFO: Processing buffer {"connection_id":191459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3da3c50012d196500071fef18003b00482b..."} 
[2026-09-24 20:13:22] local.INFO: Packet analysis {"connection_id":191459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3da"} 
[2026-09-24 20:13:22] local.INFO: Extracted packet for processing {"connection_id":191459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3da"} 
[2026-09-24 20:13:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306659584001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790260690000,"timestamp_ms":1790260690000,"timestamp_seconds":1790260690,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3da3c50"} 
[2026-09-24 20:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306659584001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306659584001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:13:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:13:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306659584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":191459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:13:22] local.INFO: GPS data processed {"connection_id":191459,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:13:22] local.INFO: Acknowledgment sent {"connection_id":191459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:13:27] local.INFO: TCP Data received {"connection_id":191657,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:13:27] local.INFO: Processing buffer {"connection_id":191657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:13:27] local.INFO: IMEI packet received {"connection_id":191657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":191657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:13:33] local.INFO: TCP Data received {"connection_id":191657,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:13:33] local.INFO: Processing buffer {"connection_id":191657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:13:33] local.INFO: IMEI packet received {"connection_id":191657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":191657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:13:34] local.INFO: TCP Data received {"connection_id":191657,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:13:34] local.INFO: Processing buffer {"connection_id":191657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:13:34] local.INFO: Packet analysis {"connection_id":191657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3dd"} 
[2026-09-24 20:13:34] local.INFO: Extracted packet for processing {"connection_id":191657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3dd"} 
[2026-09-24 20:13:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306721024001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790260930000,"timestamp_ms":1790260930000,"timestamp_seconds":1790260930,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3dde5d0"} 
[2026-09-24 20:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306721024001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306721024001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:13:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:13:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306721024001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":191657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:13:34] local.INFO: GPS data processed {"connection_id":191657,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:13:34] local.INFO: Acknowledgment sent {"connection_id":191657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:13:53] local.INFO: TCP Data received {"connection_id":191459,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:13:53] local.INFO: Processing buffer {"connection_id":191459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:13:53] local.INFO: Packet analysis {"connection_id":191459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3de"} 
[2026-09-24 20:13:53] local.INFO: Extracted packet for processing {"connection_id":191459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3de"} 
[2026-09-24 20:13:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306736640001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790260991000,"timestamp_ms":1790260991000,"timestamp_seconds":1790260991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ded418"} 
[2026-09-24 20:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306736640001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306736640001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:13:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:13:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306736640001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":191459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:13:53] local.INFO: GPS data processed {"connection_id":191459,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:13:53] local.INFO: Acknowledgment sent {"connection_id":191459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:14:05] local.INFO: TCP Data received {"connection_id":191657,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:14:05] local.INFO: Processing buffer {"connection_id":191657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:14:05] local.INFO: Packet analysis {"connection_id":191657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3dd"} 
[2026-09-24 20:14:05] local.INFO: Extracted packet for processing {"connection_id":191657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3dd"} 
[2026-09-24 20:14:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306721024001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790260930000,"timestamp_ms":1790260930000,"timestamp_seconds":1790260930,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3dde5d0"} 
[2026-09-24 20:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306721024001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306721024001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:14:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:14:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306721024001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":191657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:14:05] local.INFO: GPS data processed {"connection_id":191657,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:14:05] local.INFO: Acknowledgment sent {"connection_id":191657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:14:21] local.INFO: TCP Data received {"connection_id":191659,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:14:21] local.INFO: Processing buffer {"connection_id":191659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:14:21] local.INFO: IMEI packet received {"connection_id":191659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":191659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:14:26] local.INFO: TCP Data received {"connection_id":191659,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:14:26] local.INFO: Processing buffer {"connection_id":191659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:14:26] local.INFO: IMEI packet received {"connection_id":191659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":191659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:14:27] local.INFO: TCP Data received {"connection_id":191659,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:14:27] local.INFO: Processing buffer {"connection_id":191659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:14:27] local.INFO: Packet analysis {"connection_id":191659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3de"} 
[2026-09-24 20:14:27] local.INFO: Extracted packet for processing {"connection_id":191659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3de"} 
[2026-09-24 20:14:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306736640001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790260991000,"timestamp_ms":1790260991000,"timestamp_seconds":1790260991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ded418"} 
[2026-09-24 20:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306736640001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306736640001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:14:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:14:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306736640001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":191659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:14:27] local.INFO: GPS data processed {"connection_id":191659,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:14:27] local.INFO: Acknowledgment sent {"connection_id":191659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:14:27] local.INFO: TCP Data received {"connection_id":191460,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:14:27] local.INFO: Processing buffer {"connection_id":191460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:14:27] local.INFO: IMEI packet received {"connection_id":191460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":191460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:14:32] local.INFO: TCP Data received {"connection_id":191460,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:14:32] local.INFO: Processing buffer {"connection_id":191460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:14:32] local.INFO: IMEI packet received {"connection_id":191460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":191460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:14:33] local.INFO: TCP Data received {"connection_id":191460,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:14:33] local.INFO: Processing buffer {"connection_id":191460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:14:33] local.INFO: Packet analysis {"connection_id":191460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3dd"} 
[2026-09-24 20:14:33] local.INFO: Extracted packet for processing {"connection_id":191460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3dd"} 
[2026-09-24 20:14:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306721024001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790260930000,"timestamp_ms":1790260930000,"timestamp_seconds":1790260930,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3dde5d0"} 
[2026-09-24 20:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306721024001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306721024001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:14:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:14:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306721024001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":191460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:14:33] local.INFO: GPS data processed {"connection_id":191460,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:14:33] local.INFO: Acknowledgment sent {"connection_id":191460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:14:58] local.INFO: TCP Data received {"connection_id":191659,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:14:58] local.INFO: Processing buffer {"connection_id":191659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:14:58] local.INFO: Packet analysis {"connection_id":191659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3de"} 
[2026-09-24 20:14:58] local.INFO: Extracted packet for processing {"connection_id":191659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3de"} 
[2026-09-24 20:14:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306736640001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790260991000,"timestamp_ms":1790260991000,"timestamp_seconds":1790260991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ded418"} 
[2026-09-24 20:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":191659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":191659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":191659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306736640001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306736640001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:14:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:14:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306736640001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":191659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:14:58] local.INFO: GPS data processed {"connection_id":191659,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:14:58] local.INFO: Acknowledgment sent {"connection_id":191659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:15:05] local.INFO: TCP Data received {"connection_id":191460,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:15:05] local.INFO: Processing buffer {"connection_id":191460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:15:05] local.INFO: Packet analysis {"connection_id":191460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3dd"} 
[2026-09-24 20:15:05] local.INFO: Extracted packet for processing {"connection_id":191460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3dd"} 
[2026-09-24 20:15:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306721024001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790260930000,"timestamp_ms":1790260930000,"timestamp_seconds":1790260930,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3dde5d0"} 
[2026-09-24 20:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306721024001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306721024001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:15:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:15:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306721024001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":191460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:15:05] local.INFO: GPS data processed {"connection_id":191460,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:15:05] local.INFO: Acknowledgment sent {"connection_id":191460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:15:16] local.INFO: TCP Data received {"connection_id":193032,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:15:16] local.INFO: Processing buffer {"connection_id":193032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:15:16] local.INFO: IMEI packet received {"connection_id":193032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":193032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:15:21] local.INFO: TCP Data received {"connection_id":193032,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:15:21] local.INFO: Processing buffer {"connection_id":193032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:15:21] local.INFO: IMEI packet received {"connection_id":193032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":193032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:15:22] local.INFO: TCP Data received {"connection_id":193032,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:15:22] local.INFO: Processing buffer {"connection_id":193032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:15:22] local.INFO: Packet analysis {"connection_id":193032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3de"} 
[2026-09-24 20:15:22] local.INFO: Extracted packet for processing {"connection_id":193032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3de"} 
[2026-09-24 20:15:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306736640001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790260991000,"timestamp_ms":1790260991000,"timestamp_seconds":1790260991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ded418"} 
[2026-09-24 20:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306736640001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306736640001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:15:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:15:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306736640001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":193032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:15:22] local.INFO: GPS data processed {"connection_id":193032,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:15:22] local.INFO: Acknowledgment sent {"connection_id":193032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:15:27] local.INFO: TCP Data received {"connection_id":194323,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:15:27] local.INFO: Processing buffer {"connection_id":194323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:15:27] local.INFO: IMEI packet received {"connection_id":194323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":194323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:15:33] local.INFO: TCP Data received {"connection_id":194323,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:15:33] local.INFO: Processing buffer {"connection_id":194323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:15:33] local.INFO: IMEI packet received {"connection_id":194323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":194323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:15:34] local.INFO: TCP Data received {"connection_id":194323,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:15:34] local.INFO: Processing buffer {"connection_id":194323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:15:34] local.INFO: Packet analysis {"connection_id":194323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3dd"} 
[2026-09-24 20:15:34] local.INFO: Extracted packet for processing {"connection_id":194323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3dd"} 
[2026-09-24 20:15:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306721024001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790260930000,"timestamp_ms":1790260930000,"timestamp_seconds":1790260930,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3dde5d0"} 
[2026-09-24 20:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306721024001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306721024001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:15:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:15:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306721024001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":194323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:15:34] local.INFO: GPS data processed {"connection_id":194323,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:15:34] local.INFO: Acknowledgment sent {"connection_id":194323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:15:53] local.INFO: TCP Data received {"connection_id":193032,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:15:53] local.INFO: Processing buffer {"connection_id":193032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:15:53] local.INFO: Packet analysis {"connection_id":193032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3de"} 
[2026-09-24 20:15:53] local.INFO: Extracted packet for processing {"connection_id":193032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3de"} 
[2026-09-24 20:15:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306736640001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790260991000,"timestamp_ms":1790260991000,"timestamp_seconds":1790260991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ded418"} 
[2026-09-24 20:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":193032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":193032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":193032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306736640001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306736640001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:15:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:15:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306736640001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":193032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:15:53] local.INFO: GPS data processed {"connection_id":193032,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:15:53] local.INFO: Acknowledgment sent {"connection_id":193032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:16:05] local.INFO: TCP Data received {"connection_id":194323,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:16:05] local.INFO: Processing buffer {"connection_id":194323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:16:05] local.INFO: Packet analysis {"connection_id":194323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3dd"} 
[2026-09-24 20:16:05] local.INFO: Extracted packet for processing {"connection_id":194323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3dd"} 
[2026-09-24 20:16:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306721024001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790260930000,"timestamp_ms":1790260930000,"timestamp_seconds":1790260930,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3dde5d0"} 
[2026-09-24 20:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306721024001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306721024001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:16:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:16:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306721024001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":194323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:16:05] local.INFO: GPS data processed {"connection_id":194323,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:16:05] local.INFO: Acknowledgment sent {"connection_id":194323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:16:06] local.INFO: TCP Data received {"connection_id":191462,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:16:06] local.INFO: Processing buffer {"connection_id":191462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:16:06] local.INFO: IMEI packet received {"connection_id":191462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 20:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":191462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:16:16] local.INFO: TCP Data received {"connection_id":191660,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:16:16] local.INFO: Processing buffer {"connection_id":191660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:16:16] local.INFO: IMEI packet received {"connection_id":191660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":191660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:16:21] local.INFO: TCP Data received {"connection_id":191660,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:16:21] local.INFO: Processing buffer {"connection_id":191660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:16:21] local.INFO: IMEI packet received {"connection_id":191660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":191660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:16:22] local.INFO: TCP Data received {"connection_id":191660,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:16:22] local.INFO: Processing buffer {"connection_id":191660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:16:22] local.INFO: Packet analysis {"connection_id":191660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3de"} 
[2026-09-24 20:16:22] local.INFO: Extracted packet for processing {"connection_id":191660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3de"} 
[2026-09-24 20:16:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306736640001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790260991000,"timestamp_ms":1790260991000,"timestamp_seconds":1790260991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ded418"} 
[2026-09-24 20:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306736640001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306736640001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:16:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:16:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306736640001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":191660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:16:22] local.INFO: GPS data processed {"connection_id":191660,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:16:22] local.INFO: Acknowledgment sent {"connection_id":191660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:16:27] local.INFO: TCP Data received {"connection_id":191463,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:16:27] local.INFO: Processing buffer {"connection_id":191463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:16:27] local.INFO: IMEI packet received {"connection_id":191463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":191463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:16:32] local.INFO: TCP Data received {"connection_id":191463,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:16:32] local.INFO: Processing buffer {"connection_id":191463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:16:32] local.INFO: IMEI packet received {"connection_id":191463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":191463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:16:33] local.INFO: TCP Data received {"connection_id":191463,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:16:33] local.INFO: Processing buffer {"connection_id":191463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:16:33] local.INFO: Packet analysis {"connection_id":191463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3dd"} 
[2026-09-24 20:16:33] local.INFO: Extracted packet for processing {"connection_id":191463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3dd"} 
[2026-09-24 20:16:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306721024001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790260930000,"timestamp_ms":1790260930000,"timestamp_seconds":1790260930,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3dde5d0"} 
[2026-09-24 20:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306721024001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306721024001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:16:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:16:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306721024001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":191463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:16:33] local.INFO: GPS data processed {"connection_id":191463,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:16:33] local.INFO: Acknowledgment sent {"connection_id":191463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:16:53] local.INFO: TCP Data received {"connection_id":191660,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:16:53] local.INFO: Processing buffer {"connection_id":191660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:16:53] local.INFO: Packet analysis {"connection_id":191660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3de"} 
[2026-09-24 20:16:53] local.INFO: Extracted packet for processing {"connection_id":191660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3de"} 
[2026-09-24 20:16:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306736640001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790260991000,"timestamp_ms":1790260991000,"timestamp_seconds":1790260991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ded418"} 
[2026-09-24 20:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306736640001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306736640001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:16:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:16:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306736640001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":191660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:16:53] local.INFO: GPS data processed {"connection_id":191660,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:16:53] local.INFO: Acknowledgment sent {"connection_id":191660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:17:06] local.INFO: TCP Data received {"connection_id":191463,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:17:06] local.INFO: Processing buffer {"connection_id":191463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:17:06] local.INFO: Packet analysis {"connection_id":191463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3dd"} 
[2026-09-24 20:17:06] local.INFO: Extracted packet for processing {"connection_id":191463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3dd"} 
[2026-09-24 20:17:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306721024001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790260930000,"timestamp_ms":1790260930000,"timestamp_seconds":1790260930,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3dde5d0"} 
[2026-09-24 20:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306721024001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306721024001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:17:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:17:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306721024001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":191463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:17:06] local.INFO: GPS data processed {"connection_id":191463,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:17:06] local.INFO: Acknowledgment sent {"connection_id":191463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:17:16] local.INFO: TCP Data received {"connection_id":191661,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:17:16] local.INFO: Processing buffer {"connection_id":191661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:17:16] local.INFO: IMEI packet received {"connection_id":191661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":191661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:17:21] local.INFO: TCP Data received {"connection_id":191661,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:17:21] local.INFO: Processing buffer {"connection_id":191661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:17:21] local.INFO: IMEI packet received {"connection_id":191661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":191661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:17:22] local.INFO: TCP Data received {"connection_id":191661,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:17:22] local.INFO: Processing buffer {"connection_id":191661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:17:22] local.INFO: Packet analysis {"connection_id":191661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3de"} 
[2026-09-24 20:17:22] local.INFO: Extracted packet for processing {"connection_id":191661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3de"} 
[2026-09-24 20:17:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306736640001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790260991000,"timestamp_ms":1790260991000,"timestamp_seconds":1790260991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ded418"} 
[2026-09-24 20:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306736640001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306736640001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:17:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:17:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306736640001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":191661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:17:22] local.INFO: GPS data processed {"connection_id":191661,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:17:22] local.INFO: Acknowledgment sent {"connection_id":191661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:17:33] local.INFO: TCP Data received {"connection_id":193033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:17:33] local.INFO: Processing buffer {"connection_id":193033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:17:33] local.INFO: IMEI packet received {"connection_id":193033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":193033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:17:38] local.INFO: TCP Data received {"connection_id":193033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:17:38] local.INFO: Processing buffer {"connection_id":193033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:17:38] local.INFO: IMEI packet received {"connection_id":193033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":193033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:17:39] local.INFO: TCP Data received {"connection_id":193033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:17:39] local.INFO: Processing buffer {"connection_id":193033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:17:39] local.INFO: Packet analysis {"connection_id":193033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3dd"} 
[2026-09-24 20:17:39] local.INFO: Extracted packet for processing {"connection_id":193033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3dd"} 
[2026-09-24 20:17:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306721024001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790260930000,"timestamp_ms":1790260930000,"timestamp_seconds":1790260930,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3dde5d0"} 
[2026-09-24 20:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306721024001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306721024001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:17:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:17:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306721024001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":193033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:17:39] local.INFO: GPS data processed {"connection_id":193033,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:17:39] local.INFO: Acknowledgment sent {"connection_id":193033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:17:43] local.INFO: TCP Data received {"connection_id":193033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:17:43] local.INFO: Processing buffer {"connection_id":193033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3dde5d0012d34c14006aa4940000900f528..."} 
[2026-09-24 20:17:43] local.INFO: Packet analysis {"connection_id":193033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3dd"} 
[2026-09-24 20:17:43] local.INFO: Extracted packet for processing {"connection_id":193033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3dd"} 
[2026-09-24 20:17:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306721024001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790260930000,"timestamp_ms":1790260930000,"timestamp_seconds":1790260930,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3dde5d0"} 
[2026-09-24 20:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306721024001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306721024001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:17:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:17:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306721024001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":193033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:17:43] local.INFO: GPS data processed {"connection_id":193033,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:17:43] local.INFO: Acknowledgment sent {"connection_id":193033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:17:53] local.INFO: TCP Data received {"connection_id":191661,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:17:53] local.INFO: Processing buffer {"connection_id":191661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:17:53] local.INFO: Packet analysis {"connection_id":191661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3de"} 
[2026-09-24 20:17:53] local.INFO: Extracted packet for processing {"connection_id":191661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3de"} 
[2026-09-24 20:17:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306736640001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790260991000,"timestamp_ms":1790260991000,"timestamp_seconds":1790260991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ded418"} 
[2026-09-24 20:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306736640001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306736640001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:17:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:17:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306736640001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":191661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:17:53] local.INFO: GPS data processed {"connection_id":191661,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:17:53] local.INFO: Acknowledgment sent {"connection_id":191661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:18:21] local.INFO: TCP Data received {"connection_id":194326,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:18:21] local.INFO: Processing buffer {"connection_id":194326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:18:21] local.INFO: IMEI packet received {"connection_id":194326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":194326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:18:26] local.INFO: TCP Data received {"connection_id":194326,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:18:26] local.INFO: Processing buffer {"connection_id":194326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:18:26] local.INFO: IMEI packet received {"connection_id":194326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":194326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:18:27] local.INFO: TCP Data received {"connection_id":194326,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:18:27] local.INFO: Processing buffer {"connection_id":194326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:18:27] local.INFO: Packet analysis {"connection_id":194326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3de"} 
[2026-09-24 20:18:27] local.INFO: Extracted packet for processing {"connection_id":194326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3de"} 
[2026-09-24 20:18:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306736640001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790260991000,"timestamp_ms":1790260991000,"timestamp_seconds":1790260991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ded418"} 
[2026-09-24 20:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":194326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":194326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":194326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306736640001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306736640001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:18:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:18:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306736640001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":194326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:18:27] local.INFO: GPS data processed {"connection_id":194326,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:18:27] local.INFO: Acknowledgment sent {"connection_id":194326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:18:27] local.INFO: TCP Data received {"connection_id":191662,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:18:27] local.INFO: Processing buffer {"connection_id":191662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:18:27] local.INFO: IMEI packet received {"connection_id":191662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":191662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:18:31] local.INFO: TCP Data received {"connection_id":194326,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:18:31] local.INFO: Processing buffer {"connection_id":194326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ded418012d196500071fef18003b00482b..."} 
[2026-09-24 20:18:31] local.INFO: Packet analysis {"connection_id":194326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3de"} 
[2026-09-24 20:18:31] local.INFO: Extracted packet for processing {"connection_id":194326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3de"} 
[2026-09-24 20:18:31] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306736640001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790260991000,"timestamp_ms":1790260991000,"timestamp_seconds":1790260991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ded418"} 
[2026-09-24 20:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306736640001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306736640001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:18:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:18:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306736640001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":194326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:18:31] local.INFO: GPS data processed {"connection_id":194326,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:18:31] local.INFO: Acknowledgment sent {"connection_id":194326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:18:32] local.INFO: TCP Data received {"connection_id":191662,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:18:32] local.INFO: Processing buffer {"connection_id":191662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:18:32] local.INFO: IMEI packet received {"connection_id":191662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":191662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:18:33] local.INFO: TCP Data received {"connection_id":191662,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:18:33] local.INFO: Processing buffer {"connection_id":191662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:18:33] local.INFO: Packet analysis {"connection_id":191662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e2"} 
[2026-09-24 20:18:33] local.INFO: Extracted packet for processing {"connection_id":191662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e2"} 
[2026-09-24 20:18:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306798080001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790261231000,"timestamp_ms":1790261231000,"timestamp_seconds":1790261231,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e27d98"} 
[2026-09-24 20:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306798080001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306798080001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:18:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:18:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306798080001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":191662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:18:33] local.INFO: GPS data processed {"connection_id":191662,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:18:33] local.INFO: Acknowledgment sent {"connection_id":191662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:19:05] local.INFO: TCP Data received {"connection_id":191662,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:19:05] local.INFO: Processing buffer {"connection_id":191662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:19:05] local.INFO: Packet analysis {"connection_id":191662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e2"} 
[2026-09-24 20:19:05] local.INFO: Extracted packet for processing {"connection_id":191662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e2"} 
[2026-09-24 20:19:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306798080001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790261231000,"timestamp_ms":1790261231000,"timestamp_seconds":1790261231,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e27d98"} 
[2026-09-24 20:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306798080001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306798080001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:19:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:19:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306798080001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":191662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:19:05] local.INFO: GPS data processed {"connection_id":191662,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:19:05] local.INFO: Acknowledgment sent {"connection_id":191662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:19:16] local.INFO: TCP Data received {"connection_id":193034,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:19:16] local.INFO: Processing buffer {"connection_id":193034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:19:16] local.INFO: IMEI packet received {"connection_id":193034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":193034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:19:21] local.INFO: TCP Data received {"connection_id":193034,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:19:21] local.INFO: Processing buffer {"connection_id":193034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:19:21] local.INFO: IMEI packet received {"connection_id":193034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":193034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:19:22] local.INFO: TCP Data received {"connection_id":193034,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:19:22] local.INFO: Processing buffer {"connection_id":193034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:19:22] local.INFO: Packet analysis {"connection_id":193034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e3"} 
[2026-09-24 20:19:22] local.INFO: Extracted packet for processing {"connection_id":193034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e3"} 
[2026-09-24 20:19:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306813696001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790261292000,"timestamp_ms":1790261292000,"timestamp_seconds":1790261292,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e36be0"} 
[2026-09-24 20:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 20:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306813696001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306813696001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:19:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:19:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306813696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":193034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:19:22] local.INFO: GPS data processed {"connection_id":193034,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:19:22] local.INFO: Acknowledgment sent {"connection_id":193034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:19:27] local.INFO: TCP Data received {"connection_id":193035,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:19:27] local.INFO: Processing buffer {"connection_id":193035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:19:27] local.INFO: IMEI packet received {"connection_id":193035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":193035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:19:32] local.INFO: TCP Data received {"connection_id":193035,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:19:32] local.INFO: Processing buffer {"connection_id":193035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:19:32] local.INFO: IMEI packet received {"connection_id":193035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":193035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:19:33] local.INFO: TCP Data received {"connection_id":193035,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:19:33] local.INFO: Processing buffer {"connection_id":193035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:19:33] local.INFO: Packet analysis {"connection_id":193035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e2"} 
[2026-09-24 20:19:33] local.INFO: Extracted packet for processing {"connection_id":193035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e2"} 
[2026-09-24 20:19:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306798080001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790261231000,"timestamp_ms":1790261231000,"timestamp_seconds":1790261231,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e27d98"} 
[2026-09-24 20:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306798080001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306798080001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:19:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:19:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306798080001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":193035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:19:33] local.INFO: GPS data processed {"connection_id":193035,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:19:33] local.INFO: Acknowledgment sent {"connection_id":193035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:19:53] local.INFO: TCP Data received {"connection_id":193034,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:19:53] local.INFO: Processing buffer {"connection_id":193034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:19:53] local.INFO: Packet analysis {"connection_id":193034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e3"} 
[2026-09-24 20:19:53] local.INFO: Extracted packet for processing {"connection_id":193034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e3"} 
[2026-09-24 20:19:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306813696001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790261292000,"timestamp_ms":1790261292000,"timestamp_seconds":1790261292,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e36be0"} 
[2026-09-24 20:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 20:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":193034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":193034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":193034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306813696001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306813696001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:19:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:19:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306813696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":193034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:19:53] local.INFO: GPS data processed {"connection_id":193034,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:19:53] local.INFO: Acknowledgment sent {"connection_id":193034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:20:06] local.INFO: TCP Data received {"connection_id":193035,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:20:06] local.INFO: Processing buffer {"connection_id":193035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:20:06] local.INFO: Packet analysis {"connection_id":193035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e2"} 
[2026-09-24 20:20:06] local.INFO: Extracted packet for processing {"connection_id":193035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e2"} 
[2026-09-24 20:20:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306798080001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790261231000,"timestamp_ms":1790261231000,"timestamp_seconds":1790261231,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e27d98"} 
[2026-09-24 20:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:20: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-09-24 20:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306798080001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306798080001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:20:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:20:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306798080001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":193035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:20:06] local.INFO: GPS data processed {"connection_id":193035,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:20:06] local.INFO: Acknowledgment sent {"connection_id":193035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:20:16] local.INFO: TCP Data received {"connection_id":194327,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:20:16] local.INFO: Processing buffer {"connection_id":194327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:20:16] local.INFO: IMEI packet received {"connection_id":194327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":194327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:20:21] local.INFO: TCP Data received {"connection_id":194327,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:20:21] local.INFO: Processing buffer {"connection_id":194327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:20:21] local.INFO: IMEI packet received {"connection_id":194327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":194327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:20:22] local.INFO: TCP Data received {"connection_id":194327,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:20:22] local.INFO: Processing buffer {"connection_id":194327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:20:22] local.INFO: Packet analysis {"connection_id":194327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e3"} 
[2026-09-24 20:20:22] local.INFO: Extracted packet for processing {"connection_id":194327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e3"} 
[2026-09-24 20:20:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306813696001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790261292000,"timestamp_ms":1790261292000,"timestamp_seconds":1790261292,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e36be0"} 
[2026-09-24 20:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 20:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306813696001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306813696001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:20:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:20:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306813696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":194327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:20:22] local.INFO: GPS data processed {"connection_id":194327,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:20:22] local.INFO: Acknowledgment sent {"connection_id":194327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:20:27] local.INFO: TCP Data received {"connection_id":194328,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:20:27] local.INFO: Processing buffer {"connection_id":194328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:20:27] local.INFO: IMEI packet received {"connection_id":194328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":194328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:20:32] local.INFO: TCP Data received {"connection_id":194328,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:20:32] local.INFO: Processing buffer {"connection_id":194328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:20:32] local.INFO: IMEI packet received {"connection_id":194328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":194328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:20:33] local.INFO: TCP Data received {"connection_id":194328,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:20:33] local.INFO: Processing buffer {"connection_id":194328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:20:33] local.INFO: Packet analysis {"connection_id":194328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e2"} 
[2026-09-24 20:20:33] local.INFO: Extracted packet for processing {"connection_id":194328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e2"} 
[2026-09-24 20:20:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306798080001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790261231000,"timestamp_ms":1790261231000,"timestamp_seconds":1790261231,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e27d98"} 
[2026-09-24 20:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306798080001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306798080001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:20:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:20:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306798080001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":194328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:20:33] local.INFO: GPS data processed {"connection_id":194328,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:20:33] local.INFO: Acknowledgment sent {"connection_id":194328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:20:53] local.INFO: TCP Data received {"connection_id":194327,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:20:53] local.INFO: Processing buffer {"connection_id":194327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:20:53] local.INFO: Packet analysis {"connection_id":194327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e3"} 
[2026-09-24 20:20:53] local.INFO: Extracted packet for processing {"connection_id":194327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e3"} 
[2026-09-24 20:20:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306813696001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790261292000,"timestamp_ms":1790261292000,"timestamp_seconds":1790261292,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e36be0"} 
[2026-09-24 20:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 20:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306813696001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306813696001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:20:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:20:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306813696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":194327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:20:53] local.INFO: GPS data processed {"connection_id":194327,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:20:53] local.INFO: Acknowledgment sent {"connection_id":194327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:21:05] local.INFO: TCP Data received {"connection_id":194328,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:21:05] local.INFO: Processing buffer {"connection_id":194328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:21:05] local.INFO: Packet analysis {"connection_id":194328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e2"} 
[2026-09-24 20:21:05] local.INFO: Extracted packet for processing {"connection_id":194328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e2"} 
[2026-09-24 20:21:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306798080001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790261231000,"timestamp_ms":1790261231000,"timestamp_seconds":1790261231,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e27d98"} 
[2026-09-24 20:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:21: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-09-24 20: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-09-24 20:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306798080001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306798080001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:21:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:21:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306798080001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":194328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:21:05] local.INFO: GPS data processed {"connection_id":194328,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:21:05] local.INFO: Acknowledgment sent {"connection_id":194328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:21:16] local.INFO: TCP Data received {"connection_id":191464,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:21:16] local.INFO: Processing buffer {"connection_id":191464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:21:16] local.INFO: IMEI packet received {"connection_id":191464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":191464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:21:21] local.INFO: TCP Data received {"connection_id":191464,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:21:21] local.INFO: Processing buffer {"connection_id":191464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:21:21] local.INFO: IMEI packet received {"connection_id":191464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":191464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:21:22] local.INFO: TCP Data received {"connection_id":191464,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:21:22] local.INFO: Processing buffer {"connection_id":191464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:21:22] local.INFO: Packet analysis {"connection_id":191464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e3"} 
[2026-09-24 20:21:22] local.INFO: Extracted packet for processing {"connection_id":191464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e3"} 
[2026-09-24 20:21:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306813696001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790261292000,"timestamp_ms":1790261292000,"timestamp_seconds":1790261292,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e36be0"} 
[2026-09-24 20:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 20:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306813696001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306813696001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:21:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:21:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306813696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":191464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:21:22] local.INFO: GPS data processed {"connection_id":191464,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:21:22] local.INFO: Acknowledgment sent {"connection_id":191464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:21:26] local.INFO: TCP Data received {"connection_id":191665,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:21:26] local.INFO: Processing buffer {"connection_id":191665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:21:26] local.INFO: IMEI packet received {"connection_id":191665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 20:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":191665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:21:27] local.INFO: TCP Data received {"connection_id":193036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:21:27] local.INFO: Processing buffer {"connection_id":193036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:21:27] local.INFO: IMEI packet received {"connection_id":193036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":193036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:21:33] local.INFO: TCP Data received {"connection_id":193036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:21:33] local.INFO: Processing buffer {"connection_id":193036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:21:33] local.INFO: IMEI packet received {"connection_id":193036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":193036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:21:34] local.INFO: TCP Data received {"connection_id":193036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:21:34] local.INFO: Processing buffer {"connection_id":193036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:21:34] local.INFO: Packet analysis {"connection_id":193036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e2"} 
[2026-09-24 20:21:34] local.INFO: Extracted packet for processing {"connection_id":193036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e2"} 
[2026-09-24 20:21:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306798080001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790261231000,"timestamp_ms":1790261231000,"timestamp_seconds":1790261231,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e27d98"} 
[2026-09-24 20:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306798080001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306798080001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:21:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:21:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306798080001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":193036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:21:34] local.INFO: GPS data processed {"connection_id":193036,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:21:34] local.INFO: Acknowledgment sent {"connection_id":193036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:21:53] local.INFO: TCP Data received {"connection_id":191464,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:21:53] local.INFO: Processing buffer {"connection_id":191464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:21:53] local.INFO: Packet analysis {"connection_id":191464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e3"} 
[2026-09-24 20:21:53] local.INFO: Extracted packet for processing {"connection_id":191464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e3"} 
[2026-09-24 20:21:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306813696001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790261292000,"timestamp_ms":1790261292000,"timestamp_seconds":1790261292,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e36be0"} 
[2026-09-24 20:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 20:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306813696001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306813696001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:21:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:21:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306813696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":191464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:21:53] local.INFO: GPS data processed {"connection_id":191464,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:21:53] local.INFO: Acknowledgment sent {"connection_id":191464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:22:05] local.INFO: TCP Data received {"connection_id":193036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:22:05] local.INFO: Processing buffer {"connection_id":193036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:22:05] local.INFO: Packet analysis {"connection_id":193036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e2"} 
[2026-09-24 20:22:05] local.INFO: Extracted packet for processing {"connection_id":193036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e2"} 
[2026-09-24 20:22:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306798080001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790261231000,"timestamp_ms":1790261231000,"timestamp_seconds":1790261231,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e27d98"} 
[2026-09-24 20:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:22: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-09-24 20: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-09-24 20:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306798080001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306798080001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:22:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:22:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306798080001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":193036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:22:05] local.INFO: GPS data processed {"connection_id":193036,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:22:05] local.INFO: Acknowledgment sent {"connection_id":193036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:22:06] local.INFO: TCP Data received {"connection_id":191465,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:22:06] local.INFO: Processing buffer {"connection_id":191465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:22:06] local.INFO: IMEI packet received {"connection_id":191465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 20:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":191465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:22:16] local.INFO: TCP Data received {"connection_id":191666,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:22:16] local.INFO: Processing buffer {"connection_id":191666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:22:16] local.INFO: IMEI packet received {"connection_id":191666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":191666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:22:21] local.INFO: TCP Data received {"connection_id":191666,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:22:21] local.INFO: Processing buffer {"connection_id":191666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:22:21] local.INFO: IMEI packet received {"connection_id":191666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":191666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:22:22] local.INFO: TCP Data received {"connection_id":191666,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:22:22] local.INFO: Processing buffer {"connection_id":191666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:22:22] local.INFO: Packet analysis {"connection_id":191666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e3"} 
[2026-09-24 20:22:22] local.INFO: Extracted packet for processing {"connection_id":191666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e3"} 
[2026-09-24 20:22:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306813696001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790261292000,"timestamp_ms":1790261292000,"timestamp_seconds":1790261292,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e36be0"} 
[2026-09-24 20:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 20:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306813696001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306813696001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:22:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:22:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306813696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":191666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:22:22] local.INFO: GPS data processed {"connection_id":191666,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:22:22] local.INFO: Acknowledgment sent {"connection_id":191666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:22:32] local.INFO: TCP Data received {"connection_id":194329,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:22:32] local.INFO: Processing buffer {"connection_id":194329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:22:32] local.INFO: IMEI packet received {"connection_id":194329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":194329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:22:37] local.INFO: TCP Data received {"connection_id":194329,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:22:37] local.INFO: Processing buffer {"connection_id":194329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:22:37] local.INFO: IMEI packet received {"connection_id":194329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":194329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:22:39] local.INFO: TCP Data received {"connection_id":194329,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:22:39] local.INFO: Processing buffer {"connection_id":194329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e27d98012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:22:39] local.INFO: Packet analysis {"connection_id":194329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e2"} 
[2026-09-24 20:22:39] local.INFO: Extracted packet for processing {"connection_id":194329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e2"} 
[2026-09-24 20:22:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306798080001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790261231000,"timestamp_ms":1790261231000,"timestamp_seconds":1790261231,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e27d98"} 
[2026-09-24 20:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306798080001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306798080001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:22:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:22:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306798080001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":194329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:22:39] local.INFO: GPS data processed {"connection_id":194329,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:22:39] local.INFO: Acknowledgment sent {"connection_id":194329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:22:54] local.INFO: TCP Data received {"connection_id":191666,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:22:54] local.INFO: Processing buffer {"connection_id":191666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:22:54] local.INFO: Packet analysis {"connection_id":191666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e3"} 
[2026-09-24 20:22:54] local.INFO: Extracted packet for processing {"connection_id":191666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e3"} 
[2026-09-24 20:22:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306813696001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790261292000,"timestamp_ms":1790261292000,"timestamp_seconds":1790261292,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e36be0"} 
[2026-09-24 20:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 20:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":191666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":191666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":191666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306813696001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306813696001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:22:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:22:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306813696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":191666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:22:54] local.INFO: GPS data processed {"connection_id":191666,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:22:54] local.INFO: Acknowledgment sent {"connection_id":191666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:23:10] local.INFO: TCP Data received {"connection_id":194329,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:23:10] local.INFO: Processing buffer {"connection_id":194329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:23:10] local.INFO: Packet analysis {"connection_id":194329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e7"} 
[2026-09-24 20:23:10] local.INFO: Extracted packet for processing {"connection_id":194329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e7"} 
[2026-09-24 20:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306875136001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790261532000,"timestamp_ms":1790261532000,"timestamp_seconds":1790261532,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e71560"} 
[2026-09-24 20:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":194329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":194329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":194329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306875136001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306875136001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:23:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:23:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306875136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":194329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:23:10] local.INFO: GPS data processed {"connection_id":194329,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:23:10] local.INFO: Acknowledgment sent {"connection_id":194329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:23:16] local.INFO: TCP Data received {"connection_id":191667,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:23:16] local.INFO: Processing buffer {"connection_id":191667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:23:16] local.INFO: IMEI packet received {"connection_id":191667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":191667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:23:21] local.INFO: TCP Data received {"connection_id":191667,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:23:21] local.INFO: Processing buffer {"connection_id":191667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:23:21] local.INFO: IMEI packet received {"connection_id":191667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":191667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:23:22] local.INFO: TCP Data received {"connection_id":191667,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:23:22] local.INFO: Processing buffer {"connection_id":191667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e36be0012d196500071fef18003b00482a..."} 
[2026-09-24 20:23:22] local.INFO: Packet analysis {"connection_id":191667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e3"} 
[2026-09-24 20:23:22] local.INFO: Extracted packet for processing {"connection_id":191667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e3"} 
[2026-09-24 20:23:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:23: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-09-24 20:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306813696001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790261292000,"timestamp_ms":1790261292000,"timestamp_seconds":1790261292,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e36be0"} 
[2026-09-24 20:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 20:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:23: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-09-24 20:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306813696001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306813696001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:23:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:23:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306813696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":191667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:23:22] local.INFO: GPS data processed {"connection_id":191667,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:23:22] local.INFO: Acknowledgment sent {"connection_id":191667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:23:28] local.INFO: TCP Data received {"connection_id":193037,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:23:28] local.INFO: Processing buffer {"connection_id":193037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:23:28] local.INFO: IMEI packet received {"connection_id":193037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":193037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:23:33] local.INFO: TCP Data received {"connection_id":193037,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:23:33] local.INFO: Processing buffer {"connection_id":193037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:23:33] local.INFO: IMEI packet received {"connection_id":193037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":193037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:23:34] local.INFO: TCP Data received {"connection_id":193037,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:23:34] local.INFO: Processing buffer {"connection_id":193037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:23:34] local.INFO: Packet analysis {"connection_id":193037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e7"} 
[2026-09-24 20:23:34] local.INFO: Extracted packet for processing {"connection_id":193037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e7"} 
[2026-09-24 20:23:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306875136001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790261532000,"timestamp_ms":1790261532000,"timestamp_seconds":1790261532,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e71560"} 
[2026-09-24 20:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306875136001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306875136001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:23:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:23:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306875136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":193037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:23:34] local.INFO: GPS data processed {"connection_id":193037,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:23:34] local.INFO: Acknowledgment sent {"connection_id":193037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:23:53] local.INFO: TCP Data received {"connection_id":191667,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:23:53] local.INFO: Processing buffer {"connection_id":191667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:23:53] local.INFO: Packet analysis {"connection_id":191667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e8"} 
[2026-09-24 20:23:53] local.INFO: Extracted packet for processing {"connection_id":191667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e8"} 
[2026-09-24 20:23:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306890752001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790261593000,"timestamp_ms":1790261593000,"timestamp_seconds":1790261593,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e803a8"} 
[2026-09-24 20:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306890752001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306890752001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:23:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:23:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306890752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":191667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:23:53] local.INFO: GPS data processed {"connection_id":191667,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:23:53] local.INFO: Acknowledgment sent {"connection_id":191667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:24:05] local.INFO: TCP Data received {"connection_id":193037,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:24:05] local.INFO: Processing buffer {"connection_id":193037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:24:05] local.INFO: Packet analysis {"connection_id":193037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e7"} 
[2026-09-24 20:24:05] local.INFO: Extracted packet for processing {"connection_id":193037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e7"} 
[2026-09-24 20:24:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306875136001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790261532000,"timestamp_ms":1790261532000,"timestamp_seconds":1790261532,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e71560"} 
[2026-09-24 20:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306875136001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306875136001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:24:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:24:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306875136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":193037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:24:05] local.INFO: GPS data processed {"connection_id":193037,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:24:05] local.INFO: Acknowledgment sent {"connection_id":193037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:24:21] local.INFO: TCP Data received {"connection_id":191467,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:24:21] local.INFO: Processing buffer {"connection_id":191467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:24:21] local.INFO: IMEI packet received {"connection_id":191467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":191467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:24:26] local.INFO: TCP Data received {"connection_id":191467,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:24:26] local.INFO: Processing buffer {"connection_id":191467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:24:26] local.INFO: IMEI packet received {"connection_id":191467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":191467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:24:27] local.INFO: TCP Data received {"connection_id":191467,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:24:27] local.INFO: Processing buffer {"connection_id":191467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:24:27] local.INFO: Packet analysis {"connection_id":191467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e8"} 
[2026-09-24 20:24:27] local.INFO: Extracted packet for processing {"connection_id":191467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e8"} 
[2026-09-24 20:24:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306890752001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790261593000,"timestamp_ms":1790261593000,"timestamp_seconds":1790261593,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e803a8"} 
[2026-09-24 20:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306890752001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306890752001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:24:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:24:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306890752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":191467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:24:27] local.INFO: GPS data processed {"connection_id":191467,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:24:27] local.INFO: Acknowledgment sent {"connection_id":191467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:24:27] local.INFO: TCP Data received {"connection_id":191468,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:24:27] local.INFO: Processing buffer {"connection_id":191468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:24:27] local.INFO: IMEI packet received {"connection_id":191468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":191468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:24:32] local.INFO: TCP Data received {"connection_id":191468,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:24:32] local.INFO: Processing buffer {"connection_id":191468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:24:32] local.INFO: IMEI packet received {"connection_id":191468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":191468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:24:34] local.INFO: TCP Data received {"connection_id":191468,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:24:34] local.INFO: Processing buffer {"connection_id":191468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:24:34] local.INFO: Packet analysis {"connection_id":191468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e7"} 
[2026-09-24 20:24:34] local.INFO: Extracted packet for processing {"connection_id":191468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e7"} 
[2026-09-24 20:24:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306875136001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790261532000,"timestamp_ms":1790261532000,"timestamp_seconds":1790261532,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e71560"} 
[2026-09-24 20:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306875136001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306875136001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:24:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:24:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306875136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":191468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:24:34] local.INFO: GPS data processed {"connection_id":191468,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:24:34] local.INFO: Acknowledgment sent {"connection_id":191468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:24:58] local.INFO: TCP Data received {"connection_id":191467,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:24:58] local.INFO: Processing buffer {"connection_id":191467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:24:58] local.INFO: Packet analysis {"connection_id":191467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e8"} 
[2026-09-24 20:24:58] local.INFO: Extracted packet for processing {"connection_id":191467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e8"} 
[2026-09-24 20:24:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306890752001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790261593000,"timestamp_ms":1790261593000,"timestamp_seconds":1790261593,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e803a8"} 
[2026-09-24 20:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":191467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":191467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":191467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306890752001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306890752001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:24:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:24:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306890752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":191467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:24:58] local.INFO: GPS data processed {"connection_id":191467,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:24:58] local.INFO: Acknowledgment sent {"connection_id":191467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:25:06] local.INFO: TCP Data received {"connection_id":191468,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:25:06] local.INFO: Processing buffer {"connection_id":191468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:25:06] local.INFO: Packet analysis {"connection_id":191468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e7"} 
[2026-09-24 20:25:06] local.INFO: Extracted packet for processing {"connection_id":191468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e7"} 
[2026-09-24 20:25:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306875136001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790261532000,"timestamp_ms":1790261532000,"timestamp_seconds":1790261532,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e71560"} 
[2026-09-24 20:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:25: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-09-24 20:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306875136001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306875136001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:25:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:25:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306875136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":191468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:25:06] local.INFO: GPS data processed {"connection_id":191468,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:25:06] local.INFO: Acknowledgment sent {"connection_id":191468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:25:16] local.INFO: TCP Data received {"connection_id":194331,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:25:16] local.INFO: Processing buffer {"connection_id":194331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:25:16] local.INFO: IMEI packet received {"connection_id":194331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":194331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:25:21] local.INFO: TCP Data received {"connection_id":194331,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:25:21] local.INFO: Processing buffer {"connection_id":194331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:25:21] local.INFO: IMEI packet received {"connection_id":194331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":194331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:25:22] local.INFO: TCP Data received {"connection_id":194331,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:25:22] local.INFO: Processing buffer {"connection_id":194331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:25:22] local.INFO: Packet analysis {"connection_id":194331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e8"} 
[2026-09-24 20:25:22] local.INFO: Extracted packet for processing {"connection_id":194331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e8"} 
[2026-09-24 20:25:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306890752001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790261593000,"timestamp_ms":1790261593000,"timestamp_seconds":1790261593,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e803a8"} 
[2026-09-24 20:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306890752001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306890752001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:25:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:25:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306890752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":194331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:25:22] local.INFO: GPS data processed {"connection_id":194331,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:25:22] local.INFO: Acknowledgment sent {"connection_id":194331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:25:27] local.INFO: TCP Data received {"connection_id":191470,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:25:27] local.INFO: Processing buffer {"connection_id":191470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:25:27] local.INFO: IMEI packet received {"connection_id":191470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":191470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:25:33] local.INFO: TCP Data received {"connection_id":191470,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:25:33] local.INFO: Processing buffer {"connection_id":191470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:25:33] local.INFO: IMEI packet received {"connection_id":191470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":191470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:25:34] local.INFO: TCP Data received {"connection_id":191470,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:25:34] local.INFO: Processing buffer {"connection_id":191470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:25:34] local.INFO: Packet analysis {"connection_id":191470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e7"} 
[2026-09-24 20:25:34] local.INFO: Extracted packet for processing {"connection_id":191470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e7"} 
[2026-09-24 20:25:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306875136001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790261532000,"timestamp_ms":1790261532000,"timestamp_seconds":1790261532,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e71560"} 
[2026-09-24 20:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306875136001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306875136001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:25:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:25:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306875136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":191470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:25:34] local.INFO: GPS data processed {"connection_id":191470,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:25:34] local.INFO: Acknowledgment sent {"connection_id":191470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:25:53] local.INFO: TCP Data received {"connection_id":194331,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:25:53] local.INFO: Processing buffer {"connection_id":194331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:25:53] local.INFO: Packet analysis {"connection_id":194331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e8"} 
[2026-09-24 20:25:53] local.INFO: Extracted packet for processing {"connection_id":194331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e8"} 
[2026-09-24 20:25:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306890752001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790261593000,"timestamp_ms":1790261593000,"timestamp_seconds":1790261593,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e803a8"} 
[2026-09-24 20:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306890752001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306890752001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:25:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:25:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306890752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":194331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:25:53] local.INFO: GPS data processed {"connection_id":194331,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:25:53] local.INFO: Acknowledgment sent {"connection_id":194331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:26:06] local.INFO: TCP Data received {"connection_id":191470,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:26:06] local.INFO: Processing buffer {"connection_id":191470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:26:06] local.INFO: Packet analysis {"connection_id":191470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e7"} 
[2026-09-24 20:26:06] local.INFO: Extracted packet for processing {"connection_id":191470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e7"} 
[2026-09-24 20:26:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306875136001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790261532000,"timestamp_ms":1790261532000,"timestamp_seconds":1790261532,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e71560"} 
[2026-09-24 20:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306875136001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306875136001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:26:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:26:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306875136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":191470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:26:06] local.INFO: GPS data processed {"connection_id":191470,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:26:06] local.INFO: Acknowledgment sent {"connection_id":191470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:26:16] local.INFO: TCP Data received {"connection_id":194333,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:26:16] local.INFO: Processing buffer {"connection_id":194333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:26:16] local.INFO: IMEI packet received {"connection_id":194333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":194333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:26:21] local.INFO: TCP Data received {"connection_id":194333,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:26:21] local.INFO: Processing buffer {"connection_id":194333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:26:21] local.INFO: IMEI packet received {"connection_id":194333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":194333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:26:22] local.INFO: TCP Data received {"connection_id":194333,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:26:22] local.INFO: Processing buffer {"connection_id":194333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:26:22] local.INFO: Packet analysis {"connection_id":194333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e8"} 
[2026-09-24 20:26:22] local.INFO: Extracted packet for processing {"connection_id":194333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e8"} 
[2026-09-24 20:26:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306890752001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790261593000,"timestamp_ms":1790261593000,"timestamp_seconds":1790261593,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e803a8"} 
[2026-09-24 20:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306890752001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306890752001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:26:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:26:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306890752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":194333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:26:22] local.INFO: GPS data processed {"connection_id":194333,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:26:22] local.INFO: Acknowledgment sent {"connection_id":194333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:26:27] local.INFO: TCP Data received {"connection_id":194334,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:26:27] local.INFO: Processing buffer {"connection_id":194334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:26:27] local.INFO: IMEI packet received {"connection_id":194334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":194334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:26:32] local.INFO: TCP Data received {"connection_id":194334,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:26:32] local.INFO: Processing buffer {"connection_id":194334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:26:32] local.INFO: IMEI packet received {"connection_id":194334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":194334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:26:33] local.INFO: TCP Data received {"connection_id":194334,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:26:33] local.INFO: Processing buffer {"connection_id":194334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:26:33] local.INFO: Packet analysis {"connection_id":194334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e7"} 
[2026-09-24 20:26:33] local.INFO: Extracted packet for processing {"connection_id":194334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e7"} 
[2026-09-24 20:26:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306875136001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790261532000,"timestamp_ms":1790261532000,"timestamp_seconds":1790261532,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e71560"} 
[2026-09-24 20:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306875136001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306875136001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:26:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:26:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306875136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":194334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:26:33] local.INFO: GPS data processed {"connection_id":194334,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:26:33] local.INFO: Acknowledgment sent {"connection_id":194334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:26:53] local.INFO: TCP Data received {"connection_id":194333,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:26:53] local.INFO: Processing buffer {"connection_id":194333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:26:53] local.INFO: Packet analysis {"connection_id":194333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e8"} 
[2026-09-24 20:26:53] local.INFO: Extracted packet for processing {"connection_id":194333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e8"} 
[2026-09-24 20:26:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306890752001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790261593000,"timestamp_ms":1790261593000,"timestamp_seconds":1790261593,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e803a8"} 
[2026-09-24 20:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306890752001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306890752001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:26:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:26:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306890752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":194333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:26:53] local.INFO: GPS data processed {"connection_id":194333,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:26:53] local.INFO: Acknowledgment sent {"connection_id":194333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:27:06] local.INFO: TCP Data received {"connection_id":194334,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:27:06] local.INFO: Processing buffer {"connection_id":194334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:27:06] local.INFO: Packet analysis {"connection_id":194334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e7"} 
[2026-09-24 20:27:06] local.INFO: Extracted packet for processing {"connection_id":194334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e7"} 
[2026-09-24 20:27:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306875136001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790261532000,"timestamp_ms":1790261532000,"timestamp_seconds":1790261532,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e71560"} 
[2026-09-24 20:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:27: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-09-24 20:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306875136001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306875136001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:27:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:27:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306875136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":194334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:27:06] local.INFO: GPS data processed {"connection_id":194334,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:27:06] local.INFO: Acknowledgment sent {"connection_id":194334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:27:16] local.INFO: TCP Data received {"connection_id":191669,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:27:16] local.INFO: Processing buffer {"connection_id":191669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:27:16] local.INFO: IMEI packet received {"connection_id":191669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":191669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:27:21] local.INFO: TCP Data received {"connection_id":191669,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:27:21] local.INFO: Processing buffer {"connection_id":191669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:27:21] local.INFO: IMEI packet received {"connection_id":191669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":191669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:27:22] local.INFO: TCP Data received {"connection_id":191669,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:27:22] local.INFO: Processing buffer {"connection_id":191669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:27:22] local.INFO: Packet analysis {"connection_id":191669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e8"} 
[2026-09-24 20:27:22] local.INFO: Extracted packet for processing {"connection_id":191669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e8"} 
[2026-09-24 20:27:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306890752001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790261593000,"timestamp_ms":1790261593000,"timestamp_seconds":1790261593,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e803a8"} 
[2026-09-24 20:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306890752001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306890752001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:27:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:27:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306890752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":191669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:27:22] local.INFO: GPS data processed {"connection_id":191669,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:27:22] local.INFO: Acknowledgment sent {"connection_id":191669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:27:27] local.INFO: TCP Data received {"connection_id":191670,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:27:27] local.INFO: Processing buffer {"connection_id":191670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:27:27] local.INFO: IMEI packet received {"connection_id":191670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":191670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:27:29] local.INFO: TCP Data received {"connection_id":191668,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:27:29] local.INFO: Processing buffer {"connection_id":191668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:27:29] local.INFO: IMEI packet received {"connection_id":191668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 20:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":191668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:27:33] local.INFO: TCP Data received {"connection_id":191670,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:27:33] local.INFO: Processing buffer {"connection_id":191670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:27:33] local.INFO: IMEI packet received {"connection_id":191670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":191670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:27:34] local.INFO: TCP Data received {"connection_id":191670,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:27:34] local.INFO: Processing buffer {"connection_id":191670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e71560012d34c14006aa4940000900f52b..."} 
[2026-09-24 20:27:34] local.INFO: Packet analysis {"connection_id":191670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e7"} 
[2026-09-24 20:27:34] local.INFO: Extracted packet for processing {"connection_id":191670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e7"} 
[2026-09-24 20:27:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306875136001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790261532000,"timestamp_ms":1790261532000,"timestamp_seconds":1790261532,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e71560"} 
[2026-09-24 20:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306875136001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306875136001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:27:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:27:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306875136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":191670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:27:34] local.INFO: GPS data processed {"connection_id":191670,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:27:34] local.INFO: Acknowledgment sent {"connection_id":191670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:27:53] local.INFO: TCP Data received {"connection_id":191669,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:27:53] local.INFO: Processing buffer {"connection_id":191669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:27:53] local.INFO: Packet analysis {"connection_id":191669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e8"} 
[2026-09-24 20:27:53] local.INFO: Extracted packet for processing {"connection_id":191669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e8"} 
[2026-09-24 20:27:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306890752001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790261593000,"timestamp_ms":1790261593000,"timestamp_seconds":1790261593,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e803a8"} 
[2026-09-24 20:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306890752001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306890752001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:27:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:27:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306890752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":191669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:27:53] local.INFO: GPS data processed {"connection_id":191669,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:27:53] local.INFO: Acknowledgment sent {"connection_id":191669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:28:06] local.INFO: TCP Data received {"connection_id":193038,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:28:06] local.INFO: Processing buffer {"connection_id":193038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:28:06] local.INFO: IMEI packet received {"connection_id":193038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 20:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":193038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:28:06] local.INFO: TCP Data received {"connection_id":191670,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:28:06] local.INFO: Processing buffer {"connection_id":191670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:28:06] local.INFO: Packet analysis {"connection_id":191670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3eb"} 
[2026-09-24 20:28:06] local.INFO: Extracted packet for processing {"connection_id":191670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3eb"} 
[2026-09-24 20:28:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306952192001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790261833000,"timestamp_ms":1790261833000,"timestamp_seconds":1790261833,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ebad28"} 
[2026-09-24 20:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:28: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-09-24 20:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306952192001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306952192001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:28:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:28:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306952192001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":191670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:28:06] local.INFO: GPS data processed {"connection_id":191670,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:28:06] local.INFO: Acknowledgment sent {"connection_id":191670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:28:16] local.INFO: TCP Data received {"connection_id":193039,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:28:16] local.INFO: Processing buffer {"connection_id":193039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:28:16] local.INFO: IMEI packet received {"connection_id":193039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":193039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:28:21] local.INFO: TCP Data received {"connection_id":193039,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:28:21] local.INFO: Processing buffer {"connection_id":193039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:28:21] local.INFO: IMEI packet received {"connection_id":193039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":193039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:28:22] local.INFO: TCP Data received {"connection_id":193039,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:28:22] local.INFO: Processing buffer {"connection_id":193039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3e803a8012d196500071fef18003b004829..."} 
[2026-09-24 20:28:22] local.INFO: Packet analysis {"connection_id":193039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3e8"} 
[2026-09-24 20:28:22] local.INFO: Extracted packet for processing {"connection_id":193039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3e8"} 
[2026-09-24 20:28:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306890752001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790261593000,"timestamp_ms":1790261593000,"timestamp_seconds":1790261593,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3e803a8"} 
[2026-09-24 20:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306890752001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306890752001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:28:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:28:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306890752001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":193039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:28:22] local.INFO: GPS data processed {"connection_id":193039,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:28:22] local.INFO: Acknowledgment sent {"connection_id":193039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:28:27] local.INFO: TCP Data received {"connection_id":194335,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:28:27] local.INFO: Processing buffer {"connection_id":194335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:28:27] local.INFO: IMEI packet received {"connection_id":194335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":194335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:28:32] local.INFO: TCP Data received {"connection_id":194335,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:28:32] local.INFO: Processing buffer {"connection_id":194335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:28:32] local.INFO: IMEI packet received {"connection_id":194335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":194335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:28:34] local.INFO: TCP Data received {"connection_id":194335,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:28:34] local.INFO: Processing buffer {"connection_id":194335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:28:34] local.INFO: Packet analysis {"connection_id":194335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3eb"} 
[2026-09-24 20:28:34] local.INFO: Extracted packet for processing {"connection_id":194335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3eb"} 
[2026-09-24 20:28:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306952192001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790261833000,"timestamp_ms":1790261833000,"timestamp_seconds":1790261833,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ebad28"} 
[2026-09-24 20:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306952192001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306952192001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:28:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:28:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306952192001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":194335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:28:34] local.INFO: GPS data processed {"connection_id":194335,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:28:34] local.INFO: Acknowledgment sent {"connection_id":194335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:28:53] local.INFO: TCP Data received {"connection_id":193039,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:28:53] local.INFO: Processing buffer {"connection_id":193039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:28:53] local.INFO: Packet analysis {"connection_id":193039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ec"} 
[2026-09-24 20:28:53] local.INFO: Extracted packet for processing {"connection_id":193039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ec"} 
[2026-09-24 20:28:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306967808001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790261894000,"timestamp_ms":1790261894000,"timestamp_seconds":1790261894,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ec9b70"} 
[2026-09-24 20:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":193039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":193039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":193039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306967808001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306967808001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:28:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:28:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306967808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":193039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:28:53] local.INFO: GPS data processed {"connection_id":193039,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:28:53] local.INFO: Acknowledgment sent {"connection_id":193039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:29:05] local.INFO: TCP Data received {"connection_id":194335,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:29:05] local.INFO: Processing buffer {"connection_id":194335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:29:05] local.INFO: Packet analysis {"connection_id":194335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3eb"} 
[2026-09-24 20:29:05] local.INFO: Extracted packet for processing {"connection_id":194335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3eb"} 
[2026-09-24 20:29:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306952192001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790261833000,"timestamp_ms":1790261833000,"timestamp_seconds":1790261833,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ebad28"} 
[2026-09-24 20:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306952192001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306952192001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:29:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:29:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306952192001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":194335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:29:05] local.INFO: GPS data processed {"connection_id":194335,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:29:05] local.INFO: Acknowledgment sent {"connection_id":194335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:29:21] local.INFO: TCP Data received {"connection_id":191471,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:29:21] local.INFO: Processing buffer {"connection_id":191471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:29:21] local.INFO: IMEI packet received {"connection_id":191471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":191471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:29:26] local.INFO: TCP Data received {"connection_id":191471,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:29:26] local.INFO: Processing buffer {"connection_id":191471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:29:26] local.INFO: IMEI packet received {"connection_id":191471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":191471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:29:27] local.INFO: TCP Data received {"connection_id":191471,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:29:27] local.INFO: Processing buffer {"connection_id":191471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:29:27] local.INFO: Packet analysis {"connection_id":191471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ec"} 
[2026-09-24 20:29:27] local.INFO: Extracted packet for processing {"connection_id":191471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ec"} 
[2026-09-24 20:29:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:29: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-09-24 20:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306967808001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790261894000,"timestamp_ms":1790261894000,"timestamp_seconds":1790261894,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ec9b70"} 
[2026-09-24 20:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:29: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-09-24 20:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306967808001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306967808001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:29:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:29:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306967808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":191471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:29:27] local.INFO: GPS data processed {"connection_id":191471,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:29:27] local.INFO: Acknowledgment sent {"connection_id":191471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:29:27] local.INFO: TCP Data received {"connection_id":194336,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:29:27] local.INFO: Processing buffer {"connection_id":194336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:29:27] local.INFO: IMEI packet received {"connection_id":194336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":194336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:29:33] local.INFO: TCP Data received {"connection_id":194336,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:29:33] local.INFO: Processing buffer {"connection_id":194336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:29:33] local.INFO: IMEI packet received {"connection_id":194336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":194336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:29:35] local.INFO: TCP Data received {"connection_id":194336,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:29:35] local.INFO: Processing buffer {"connection_id":194336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:29:35] local.INFO: Packet analysis {"connection_id":194336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3eb"} 
[2026-09-24 20:29:35] local.INFO: Extracted packet for processing {"connection_id":194336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3eb"} 
[2026-09-24 20:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306952192001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790261833000,"timestamp_ms":1790261833000,"timestamp_seconds":1790261833,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ebad28"} 
[2026-09-24 20:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306952192001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306952192001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:29:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:29:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306952192001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":194336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:29:35] local.INFO: GPS data processed {"connection_id":194336,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:29:35] local.INFO: Acknowledgment sent {"connection_id":194336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:29:58] local.INFO: TCP Data received {"connection_id":191471,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:29:58] local.INFO: Processing buffer {"connection_id":191471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:29:58] local.INFO: Packet analysis {"connection_id":191471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ec"} 
[2026-09-24 20:29:58] local.INFO: Extracted packet for processing {"connection_id":191471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ec"} 
[2026-09-24 20:29:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306967808001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790261894000,"timestamp_ms":1790261894000,"timestamp_seconds":1790261894,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ec9b70"} 
[2026-09-24 20:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":191471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":191471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":191471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306967808001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306967808001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:29:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:29:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306967808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":191471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:29:58] local.INFO: GPS data processed {"connection_id":191471,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:29:58] local.INFO: Acknowledgment sent {"connection_id":191471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:30:07] local.INFO: TCP Data received {"connection_id":194336,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:30:07] local.INFO: Processing buffer {"connection_id":194336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:30:07] local.INFO: Packet analysis {"connection_id":194336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3eb"} 
[2026-09-24 20:30:07] local.INFO: Extracted packet for processing {"connection_id":194336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3eb"} 
[2026-09-24 20:30:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306952192001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790261833000,"timestamp_ms":1790261833000,"timestamp_seconds":1790261833,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ebad28"} 
[2026-09-24 20:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:30: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-09-24 20:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":194336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":194336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":194336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306952192001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306952192001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:30:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:30:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306952192001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":194336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:30:07] local.INFO: GPS data processed {"connection_id":194336,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:30:07] local.INFO: Acknowledgment sent {"connection_id":194336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:30:16] local.INFO: TCP Data received {"connection_id":191472,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:30:16] local.INFO: Processing buffer {"connection_id":191472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:30:16] local.INFO: IMEI packet received {"connection_id":191472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":191472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:30:21] local.INFO: TCP Data received {"connection_id":191472,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:30:21] local.INFO: Processing buffer {"connection_id":191472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:30:21] local.INFO: IMEI packet received {"connection_id":191472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":191472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:30:22] local.INFO: TCP Data received {"connection_id":191472,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:30:22] local.INFO: Processing buffer {"connection_id":191472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:30:22] local.INFO: Packet analysis {"connection_id":191472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ec"} 
[2026-09-24 20:30:22] local.INFO: Extracted packet for processing {"connection_id":191472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ec"} 
[2026-09-24 20:30:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306967808001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790261894000,"timestamp_ms":1790261894000,"timestamp_seconds":1790261894,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ec9b70"} 
[2026-09-24 20:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306967808001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306967808001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:30:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:30:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306967808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":191472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:30:22] local.INFO: GPS data processed {"connection_id":191472,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:30:22] local.INFO: Acknowledgment sent {"connection_id":191472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:30:27] local.INFO: TCP Data received {"connection_id":193041,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:30:27] local.INFO: Processing buffer {"connection_id":193041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:30:27] local.INFO: IMEI packet received {"connection_id":193041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":193041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:30:32] local.INFO: TCP Data received {"connection_id":193041,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:30:32] local.INFO: Processing buffer {"connection_id":193041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:30:32] local.INFO: IMEI packet received {"connection_id":193041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":193041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:30:33] local.INFO: TCP Data received {"connection_id":193041,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:30:33] local.INFO: Processing buffer {"connection_id":193041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:30:33] local.INFO: Packet analysis {"connection_id":193041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3eb"} 
[2026-09-24 20:30:33] local.INFO: Extracted packet for processing {"connection_id":193041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3eb"} 
[2026-09-24 20:30:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306952192001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790261833000,"timestamp_ms":1790261833000,"timestamp_seconds":1790261833,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ebad28"} 
[2026-09-24 20:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306952192001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306952192001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:30:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:30:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306952192001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":193041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:30:33] local.INFO: GPS data processed {"connection_id":193041,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:30:33] local.INFO: Acknowledgment sent {"connection_id":193041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:30:53] local.INFO: TCP Data received {"connection_id":191472,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:30:53] local.INFO: Processing buffer {"connection_id":191472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:30:53] local.INFO: Packet analysis {"connection_id":191472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ec"} 
[2026-09-24 20:30:53] local.INFO: Extracted packet for processing {"connection_id":191472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ec"} 
[2026-09-24 20:30:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306967808001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790261894000,"timestamp_ms":1790261894000,"timestamp_seconds":1790261894,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ec9b70"} 
[2026-09-24 20:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306967808001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306967808001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:30:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:30:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306967808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":191472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:30:53] local.INFO: GPS data processed {"connection_id":191472,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:30:53] local.INFO: Acknowledgment sent {"connection_id":191472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:31:04] local.INFO: TCP Data received {"connection_id":193041,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:31:04] local.INFO: Processing buffer {"connection_id":193041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:31:04] local.INFO: Packet analysis {"connection_id":193041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3eb"} 
[2026-09-24 20:31:04] local.INFO: Extracted packet for processing {"connection_id":193041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3eb"} 
[2026-09-24 20:31:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306952192001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790261833000,"timestamp_ms":1790261833000,"timestamp_seconds":1790261833,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ebad28"} 
[2026-09-24 20:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:31: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-09-24 20:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:31: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-09-24 20:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306952192001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306952192001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:31:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:31:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306952192001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":193041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:31:04] local.INFO: GPS data processed {"connection_id":193041,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:31:04] local.INFO: Acknowledgment sent {"connection_id":193041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:31:16] local.INFO: TCP Data received {"connection_id":191473,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:31:16] local.INFO: Processing buffer {"connection_id":191473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:31:16] local.INFO: IMEI packet received {"connection_id":191473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":191473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:31:21] local.INFO: TCP Data received {"connection_id":191473,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:31:21] local.INFO: Processing buffer {"connection_id":191473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:31:21] local.INFO: IMEI packet received {"connection_id":191473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":191473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:31:22] local.INFO: TCP Data received {"connection_id":191473,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:31:22] local.INFO: Processing buffer {"connection_id":191473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:31:22] local.INFO: Packet analysis {"connection_id":191473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ec"} 
[2026-09-24 20:31:22] local.INFO: Extracted packet for processing {"connection_id":191473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ec"} 
[2026-09-24 20:31:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306967808001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790261894000,"timestamp_ms":1790261894000,"timestamp_seconds":1790261894,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ec9b70"} 
[2026-09-24 20:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306967808001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306967808001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:31:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:31:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306967808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":191473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:31:22] local.INFO: GPS data processed {"connection_id":191473,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:31:22] local.INFO: Acknowledgment sent {"connection_id":191473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:31:28] local.INFO: TCP Data received {"connection_id":194338,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:31:28] local.INFO: Processing buffer {"connection_id":194338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:31:28] local.INFO: IMEI packet received {"connection_id":194338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":194338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:31:32] local.INFO: TCP Data received {"connection_id":194338,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:31:32] local.INFO: Processing buffer {"connection_id":194338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:31:32] local.INFO: IMEI packet received {"connection_id":194338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":194338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:31:34] local.INFO: TCP Data received {"connection_id":194338,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:31:34] local.INFO: Processing buffer {"connection_id":194338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:31:34] local.INFO: Packet analysis {"connection_id":194338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3eb"} 
[2026-09-24 20:31:34] local.INFO: Extracted packet for processing {"connection_id":194338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3eb"} 
[2026-09-24 20:31:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306952192001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790261833000,"timestamp_ms":1790261833000,"timestamp_seconds":1790261833,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ebad28"} 
[2026-09-24 20:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306952192001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306952192001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:31:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:31:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306952192001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":194338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:31:34] local.INFO: GPS data processed {"connection_id":194338,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:31:34] local.INFO: Acknowledgment sent {"connection_id":194338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:31:53] local.INFO: TCP Data received {"connection_id":191473,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:31:53] local.INFO: Processing buffer {"connection_id":191473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:31:53] local.INFO: Packet analysis {"connection_id":191473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ec"} 
[2026-09-24 20:31:53] local.INFO: Extracted packet for processing {"connection_id":191473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ec"} 
[2026-09-24 20:31:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:31: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-09-24 20:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306967808001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790261894000,"timestamp_ms":1790261894000,"timestamp_seconds":1790261894,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ec9b70"} 
[2026-09-24 20:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:31: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-09-24 20:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306967808001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306967808001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:31:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:31:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306967808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":191473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:31:53] local.INFO: GPS data processed {"connection_id":191473,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:31:53] local.INFO: Acknowledgment sent {"connection_id":191473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:32:05] local.INFO: TCP Data received {"connection_id":194338,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:32:05] local.INFO: Processing buffer {"connection_id":194338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:32:05] local.INFO: Packet analysis {"connection_id":194338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3eb"} 
[2026-09-24 20:32:05] local.INFO: Extracted packet for processing {"connection_id":194338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3eb"} 
[2026-09-24 20:32:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306952192001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790261833000,"timestamp_ms":1790261833000,"timestamp_seconds":1790261833,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ebad28"} 
[2026-09-24 20:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306952192001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306952192001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:32:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:32:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306952192001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":194338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:32:05] local.INFO: GPS data processed {"connection_id":194338,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:32:05] local.INFO: Acknowledgment sent {"connection_id":194338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:32:16] local.INFO: TCP Data received {"connection_id":191474,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:32:16] local.INFO: Processing buffer {"connection_id":191474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:32:16] local.INFO: IMEI packet received {"connection_id":191474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":191474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:32:21] local.INFO: TCP Data received {"connection_id":191474,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:32:21] local.INFO: Processing buffer {"connection_id":191474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:32:21] local.INFO: IMEI packet received {"connection_id":191474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":191474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:32:22] local.INFO: TCP Data received {"connection_id":191474,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:32:22] local.INFO: Processing buffer {"connection_id":191474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:32:22] local.INFO: Packet analysis {"connection_id":191474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ec"} 
[2026-09-24 20:32:22] local.INFO: Extracted packet for processing {"connection_id":191474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ec"} 
[2026-09-24 20:32:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306967808001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790261894000,"timestamp_ms":1790261894000,"timestamp_seconds":1790261894,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ec9b70"} 
[2026-09-24 20:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306967808001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306967808001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:32:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:32:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306967808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":191474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:32:22] local.INFO: GPS data processed {"connection_id":191474,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:32:22] local.INFO: Acknowledgment sent {"connection_id":191474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:32:27] local.INFO: TCP Data received {"connection_id":191673,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:32:27] local.INFO: Processing buffer {"connection_id":191673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:32:27] local.INFO: IMEI packet received {"connection_id":191673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":191673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:32:32] local.INFO: TCP Data received {"connection_id":191673,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:32:32] local.INFO: Processing buffer {"connection_id":191673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:32:32] local.INFO: IMEI packet received {"connection_id":191673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":191673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:32:33] local.INFO: TCP Data received {"connection_id":191673,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:32:33] local.INFO: Processing buffer {"connection_id":191673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ebad28012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:32:33] local.INFO: Packet analysis {"connection_id":191673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3eb"} 
[2026-09-24 20:32:33] local.INFO: Extracted packet for processing {"connection_id":191673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3eb"} 
[2026-09-24 20:32:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306952192001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790261833000,"timestamp_ms":1790261833000,"timestamp_seconds":1790261833,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ebad28"} 
[2026-09-24 20:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306952192001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306952192001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:32:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:32:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306952192001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":191673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:32:33] local.INFO: GPS data processed {"connection_id":191673,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:32:33] local.INFO: Acknowledgment sent {"connection_id":191673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:32:53] local.INFO: TCP Data received {"connection_id":191474,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:32:53] local.INFO: Processing buffer {"connection_id":191474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:32:53] local.INFO: Packet analysis {"connection_id":191474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ec"} 
[2026-09-24 20:32:53] local.INFO: Extracted packet for processing {"connection_id":191474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ec"} 
[2026-09-24 20:32:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306967808001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790261894000,"timestamp_ms":1790261894000,"timestamp_seconds":1790261894,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ec9b70"} 
[2026-09-24 20:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306967808001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306967808001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:32:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:32:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306967808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":191474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:32:53] local.INFO: GPS data processed {"connection_id":191474,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:32:53] local.INFO: Acknowledgment sent {"connection_id":191474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:33:05] local.INFO: TCP Data received {"connection_id":191673,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:33:05] local.INFO: Processing buffer {"connection_id":191673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:33:05] local.INFO: Packet analysis {"connection_id":191673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f0"} 
[2026-09-24 20:33:05] local.INFO: Extracted packet for processing {"connection_id":191673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f0"} 
[2026-09-24 20:33:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307029248001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790262134000,"timestamp_ms":1790262134000,"timestamp_seconds":1790262134,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f044f0"} 
[2026-09-24 20:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:33: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-09-24 20:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307029248001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307029248001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:33:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:33:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307029248001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":191673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:33:05] local.INFO: GPS data processed {"connection_id":191673,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:33:05] local.INFO: Acknowledgment sent {"connection_id":191673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:33:16] local.INFO: TCP Data received {"connection_id":193042,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:33:16] local.INFO: Processing buffer {"connection_id":193042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:33:16] local.INFO: IMEI packet received {"connection_id":193042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":193042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:33:21] local.INFO: TCP Data received {"connection_id":193042,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:33:21] local.INFO: Processing buffer {"connection_id":193042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:33:21] local.INFO: IMEI packet received {"connection_id":193042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":193042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:33:22] local.INFO: TCP Data received {"connection_id":193042,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:33:22] local.INFO: Processing buffer {"connection_id":193042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:33:22] local.INFO: Packet analysis {"connection_id":193042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ec"} 
[2026-09-24 20:33:22] local.INFO: Extracted packet for processing {"connection_id":193042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ec"} 
[2026-09-24 20:33:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306967808001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790261894000,"timestamp_ms":1790261894000,"timestamp_seconds":1790261894,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ec9b70"} 
[2026-09-24 20:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306967808001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306967808001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:33:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:33:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306967808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":193042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:33:22] local.INFO: GPS data processed {"connection_id":193042,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:33:22] local.INFO: Acknowledgment sent {"connection_id":193042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:33:27] local.INFO: TCP Data received {"connection_id":191674,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:33:27] local.INFO: Processing buffer {"connection_id":191674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:33:27] local.INFO: IMEI packet received {"connection_id":191674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":191674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:33:33] local.INFO: TCP Data received {"connection_id":191674,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:33:33] local.INFO: Processing buffer {"connection_id":191674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:33:33] local.INFO: IMEI packet received {"connection_id":191674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":191674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:33:34] local.INFO: TCP Data received {"connection_id":191674,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:33:34] local.INFO: Processing buffer {"connection_id":191674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:33:34] local.INFO: Packet analysis {"connection_id":191674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f0"} 
[2026-09-24 20:33:34] local.INFO: Extracted packet for processing {"connection_id":191674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f0"} 
[2026-09-24 20:33:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307029248001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790262134000,"timestamp_ms":1790262134000,"timestamp_seconds":1790262134,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f044f0"} 
[2026-09-24 20:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307029248001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307029248001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:33:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:33:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307029248001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":191674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:33:34] local.INFO: GPS data processed {"connection_id":191674,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:33:34] local.INFO: Acknowledgment sent {"connection_id":191674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:33:36] local.INFO: TCP Data received {"connection_id":191475,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:33:36] local.INFO: Processing buffer {"connection_id":191475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:33:36] local.INFO: IMEI packet received {"connection_id":191475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 20:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":191475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:33:52] local.INFO: TCP Data received {"connection_id":193042,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:33:52] local.INFO: Processing buffer {"connection_id":193042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3ec9b70012d196500071fef18003b004827..."} 
[2026-09-24 20:33:52] local.INFO: Packet analysis {"connection_id":193042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3ec"} 
[2026-09-24 20:33:52] local.INFO: Extracted packet for processing {"connection_id":193042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3ec"} 
[2026-09-24 20:33:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458306967808001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790261894000,"timestamp_ms":1790261894000,"timestamp_seconds":1790261894,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3ec9b70"} 
[2026-09-24 20:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":193042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":193042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":193042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458306967808001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458306967808001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:33:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:33:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458306967808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":193042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:33:53] local.INFO: GPS data processed {"connection_id":193042,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:33:53] local.INFO: Acknowledgment sent {"connection_id":193042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:34:05] local.INFO: TCP Data received {"connection_id":191674,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:34:05] local.INFO: Processing buffer {"connection_id":191674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:34:05] local.INFO: Packet analysis {"connection_id":191674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f0"} 
[2026-09-24 20:34:05] local.INFO: Extracted packet for processing {"connection_id":191674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f0"} 
[2026-09-24 20:34:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307029248001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790262134000,"timestamp_ms":1790262134000,"timestamp_seconds":1790262134,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f044f0"} 
[2026-09-24 20:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307029248001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307029248001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:34:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:34:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307029248001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":191674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:34:05] local.INFO: GPS data processed {"connection_id":191674,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:34:05] local.INFO: Acknowledgment sent {"connection_id":191674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:34:06] local.INFO: TCP Data received {"connection_id":194339,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:34:06] local.INFO: Processing buffer {"connection_id":194339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:34:06] local.INFO: IMEI packet received {"connection_id":194339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 20:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":194339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:34:21] local.INFO: TCP Data received {"connection_id":194340,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:34:21] local.INFO: Processing buffer {"connection_id":194340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:34:21] local.INFO: IMEI packet received {"connection_id":194340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":194340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:34:26] local.INFO: TCP Data received {"connection_id":194340,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:34:26] local.INFO: Processing buffer {"connection_id":194340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:34:26] local.INFO: IMEI packet received {"connection_id":194340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":194340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:34:27] local.INFO: TCP Data received {"connection_id":194340,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:34:27] local.INFO: Processing buffer {"connection_id":194340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:34:27] local.INFO: Packet analysis {"connection_id":194340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f1"} 
[2026-09-24 20:34:27] local.INFO: Extracted packet for processing {"connection_id":194340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f1"} 
[2026-09-24 20:34:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307044864001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790262195000,"timestamp_ms":1790262195000,"timestamp_seconds":1790262195,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f13338"} 
[2026-09-24 20:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 20:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":194340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":194340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":194340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307044864001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307044864001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:34:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:34:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307044864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":194340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:34:27] local.INFO: GPS data processed {"connection_id":194340,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:34:27] local.INFO: Acknowledgment sent {"connection_id":194340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:34:32] local.INFO: TCP Data received {"connection_id":194341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:34:32] local.INFO: Processing buffer {"connection_id":194341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:34:32] local.INFO: IMEI packet received {"connection_id":194341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":194341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:34:37] local.INFO: TCP Data received {"connection_id":194341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:34:37] local.INFO: Processing buffer {"connection_id":194341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:34:37] local.INFO: IMEI packet received {"connection_id":194341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":194341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:34:38] local.INFO: TCP Data received {"connection_id":194341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:34:38] local.INFO: Processing buffer {"connection_id":194341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:34:38] local.INFO: Packet analysis {"connection_id":194341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f0"} 
[2026-09-24 20:34:38] local.INFO: Extracted packet for processing {"connection_id":194341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f0"} 
[2026-09-24 20:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307029248001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790262134000,"timestamp_ms":1790262134000,"timestamp_seconds":1790262134,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f044f0"} 
[2026-09-24 20:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307029248001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307029248001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:34:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:34:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307029248001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":194341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:34:38] local.INFO: GPS data processed {"connection_id":194341,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:34:38] local.INFO: Acknowledgment sent {"connection_id":194341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:34:44] local.INFO: TCP Data received {"connection_id":194341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:34:44] local.INFO: Processing buffer {"connection_id":194341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:34:44] local.INFO: Packet analysis {"connection_id":194341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f0"} 
[2026-09-24 20:34:44] local.INFO: Extracted packet for processing {"connection_id":194341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f0"} 
[2026-09-24 20:34:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307029248001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790262134000,"timestamp_ms":1790262134000,"timestamp_seconds":1790262134,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f044f0"} 
[2026-09-24 20:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:34:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307029248001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307029248001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:34:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:34:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307029248001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":194341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:34:44] local.INFO: GPS data processed {"connection_id":194341,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:34:44] local.INFO: Acknowledgment sent {"connection_id":194341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:34:58] local.INFO: TCP Data received {"connection_id":194340,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:34:58] local.INFO: Processing buffer {"connection_id":194340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:34:58] local.INFO: Packet analysis {"connection_id":194340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f1"} 
[2026-09-24 20:34:58] local.INFO: Extracted packet for processing {"connection_id":194340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f1"} 
[2026-09-24 20:34:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307044864001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790262195000,"timestamp_ms":1790262195000,"timestamp_seconds":1790262195,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f13338"} 
[2026-09-24 20:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 20:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":194340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":194340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":194340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307044864001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307044864001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:34:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:34:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307044864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":194340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:34:58] local.INFO: GPS data processed {"connection_id":194340,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:34:58] local.INFO: Acknowledgment sent {"connection_id":194340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:35:16] local.INFO: TCP Data received {"connection_id":191476,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:35:16] local.INFO: Processing buffer {"connection_id":191476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:35:16] local.INFO: IMEI packet received {"connection_id":191476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":191476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:35:21] local.INFO: TCP Data received {"connection_id":191476,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:35:21] local.INFO: Processing buffer {"connection_id":191476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:35:21] local.INFO: IMEI packet received {"connection_id":191476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":191476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:35:22] local.INFO: TCP Data received {"connection_id":191476,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:35:22] local.INFO: Processing buffer {"connection_id":191476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:35:22] local.INFO: Packet analysis {"connection_id":191476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f1"} 
[2026-09-24 20:35:22] local.INFO: Extracted packet for processing {"connection_id":191476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f1"} 
[2026-09-24 20:35:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307044864001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790262195000,"timestamp_ms":1790262195000,"timestamp_seconds":1790262195,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f13338"} 
[2026-09-24 20:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 20:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307044864001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307044864001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:35:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:35:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307044864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":191476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:35:22] local.INFO: GPS data processed {"connection_id":191476,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:35:22] local.INFO: Acknowledgment sent {"connection_id":191476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:35:28] local.INFO: TCP Data received {"connection_id":193043,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:35:28] local.INFO: Processing buffer {"connection_id":193043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:35:28] local.INFO: IMEI packet received {"connection_id":193043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":193043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:35:32] local.INFO: TCP Data received {"connection_id":193043,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:35:32] local.INFO: Processing buffer {"connection_id":193043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:35:32] local.INFO: IMEI packet received {"connection_id":193043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":193043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:35:35] local.INFO: TCP Data received {"connection_id":193043,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:35:35] local.INFO: Processing buffer {"connection_id":193043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:35:35] local.INFO: Packet analysis {"connection_id":193043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f0"} 
[2026-09-24 20:35:35] local.INFO: Extracted packet for processing {"connection_id":193043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f0"} 
[2026-09-24 20:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307029248001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790262134000,"timestamp_ms":1790262134000,"timestamp_seconds":1790262134,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f044f0"} 
[2026-09-24 20:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307029248001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307029248001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:35:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:35:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307029248001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":193043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:35:35] local.INFO: GPS data processed {"connection_id":193043,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:35:35] local.INFO: Acknowledgment sent {"connection_id":193043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:35:38] local.INFO: TCP Data received {"connection_id":193043,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:35:38] local.INFO: Processing buffer {"connection_id":193043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:35:38] local.INFO: Packet analysis {"connection_id":193043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f0"} 
[2026-09-24 20:35:38] local.INFO: Extracted packet for processing {"connection_id":193043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f0"} 
[2026-09-24 20:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307029248001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790262134000,"timestamp_ms":1790262134000,"timestamp_seconds":1790262134,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f044f0"} 
[2026-09-24 20:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307029248001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307029248001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:35:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307029248001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":193043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:35:38] local.INFO: GPS data processed {"connection_id":193043,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:35:38] local.INFO: Acknowledgment sent {"connection_id":193043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:35:53] local.INFO: TCP Data received {"connection_id":191476,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:35:53] local.INFO: Processing buffer {"connection_id":191476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:35:53] local.INFO: Packet analysis {"connection_id":191476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f1"} 
[2026-09-24 20:35:53] local.INFO: Extracted packet for processing {"connection_id":191476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f1"} 
[2026-09-24 20:35:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307044864001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790262195000,"timestamp_ms":1790262195000,"timestamp_seconds":1790262195,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f13338"} 
[2026-09-24 20:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 20:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307044864001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307044864001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:35:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:35:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307044864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":191476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:35:53] local.INFO: GPS data processed {"connection_id":191476,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:35:53] local.INFO: Acknowledgment sent {"connection_id":191476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:36:10] local.INFO: TCP Data received {"connection_id":193043,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:36:10] local.INFO: Processing buffer {"connection_id":193043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:36:10] local.INFO: Packet analysis {"connection_id":193043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f0"} 
[2026-09-24 20:36:10] local.INFO: Extracted packet for processing {"connection_id":193043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f0"} 
[2026-09-24 20:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307029248001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790262134000,"timestamp_ms":1790262134000,"timestamp_seconds":1790262134,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f044f0"} 
[2026-09-24 20:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307029248001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307029248001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:36:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:36:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307029248001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":193043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:36:10] local.INFO: GPS data processed {"connection_id":193043,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:36:10] local.INFO: Acknowledgment sent {"connection_id":193043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:36:16] local.INFO: TCP Data received {"connection_id":191676,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:36:16] local.INFO: Processing buffer {"connection_id":191676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:36:16] local.INFO: IMEI packet received {"connection_id":191676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":191676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:36:21] local.INFO: TCP Data received {"connection_id":191676,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:36:21] local.INFO: Processing buffer {"connection_id":191676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:36:21] local.INFO: IMEI packet received {"connection_id":191676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":191676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:36:22] local.INFO: TCP Data received {"connection_id":191676,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:36:22] local.INFO: Processing buffer {"connection_id":191676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:36:22] local.INFO: Packet analysis {"connection_id":191676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f1"} 
[2026-09-24 20:36:22] local.INFO: Extracted packet for processing {"connection_id":191676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f1"} 
[2026-09-24 20:36:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307044864001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790262195000,"timestamp_ms":1790262195000,"timestamp_seconds":1790262195,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f13338"} 
[2026-09-24 20:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 20:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307044864001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307044864001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:36:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:36:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307044864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":191676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:36:22] local.INFO: GPS data processed {"connection_id":191676,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:36:22] local.INFO: Acknowledgment sent {"connection_id":191676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:36:27] local.INFO: TCP Data received {"connection_id":194342,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:36:27] local.INFO: Processing buffer {"connection_id":194342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:36:27] local.INFO: IMEI packet received {"connection_id":194342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":194342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:36:32] local.INFO: TCP Data received {"connection_id":194342,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:36:32] local.INFO: Processing buffer {"connection_id":194342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:36:32] local.INFO: IMEI packet received {"connection_id":194342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":194342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:36:34] local.INFO: TCP Data received {"connection_id":194342,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:36:34] local.INFO: Processing buffer {"connection_id":194342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:36:34] local.INFO: Packet analysis {"connection_id":194342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f0"} 
[2026-09-24 20:36:34] local.INFO: Extracted packet for processing {"connection_id":194342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f0"} 
[2026-09-24 20:36:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 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-09-24 20:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307029248001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790262134000,"timestamp_ms":1790262134000,"timestamp_seconds":1790262134,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f044f0"} 
[2026-09-24 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-09-24 20:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 20:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307029248001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307029248001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:36:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:36:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307029248001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":194342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:36:34] local.INFO: GPS data processed {"connection_id":194342,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:36:34] local.INFO: Acknowledgment sent {"connection_id":194342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:36:53] local.INFO: TCP Data received {"connection_id":191676,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:36:53] local.INFO: Processing buffer {"connection_id":191676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:36:53] local.INFO: Packet analysis {"connection_id":191676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f1"} 
[2026-09-24 20:36:53] local.INFO: Extracted packet for processing {"connection_id":191676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f1"} 
[2026-09-24 20:36:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307044864001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790262195000,"timestamp_ms":1790262195000,"timestamp_seconds":1790262195,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f13338"} 
[2026-09-24 20:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 20:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307044864001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307044864001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:36:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:36:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307044864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":191676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:36:53] local.INFO: GPS data processed {"connection_id":191676,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:36:53] local.INFO: Acknowledgment sent {"connection_id":191676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:37:06] local.INFO: TCP Data received {"connection_id":194342,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:37:06] local.INFO: Processing buffer {"connection_id":194342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:37:06] local.INFO: Packet analysis {"connection_id":194342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f0"} 
[2026-09-24 20:37:06] local.INFO: Extracted packet for processing {"connection_id":194342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f0"} 
[2026-09-24 20:37:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307029248001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790262134000,"timestamp_ms":1790262134000,"timestamp_seconds":1790262134,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f044f0"} 
[2026-09-24 20:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:37: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-09-24 20:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307029248001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307029248001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:37:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:37:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307029248001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":194342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:37:06] local.INFO: GPS data processed {"connection_id":194342,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:37:06] local.INFO: Acknowledgment sent {"connection_id":194342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:37:16] local.INFO: TCP Data received {"connection_id":191478,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:37:16] local.INFO: Processing buffer {"connection_id":191478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:37:16] local.INFO: IMEI packet received {"connection_id":191478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":191478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:37:21] local.INFO: TCP Data received {"connection_id":191478,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:37:21] local.INFO: Processing buffer {"connection_id":191478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:37:21] local.INFO: IMEI packet received {"connection_id":191478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":191478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:37:22] local.INFO: TCP Data received {"connection_id":191478,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:37:22] local.INFO: Processing buffer {"connection_id":191478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:37:22] local.INFO: Packet analysis {"connection_id":191478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f1"} 
[2026-09-24 20:37:22] local.INFO: Extracted packet for processing {"connection_id":191478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f1"} 
[2026-09-24 20:37:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307044864001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790262195000,"timestamp_ms":1790262195000,"timestamp_seconds":1790262195,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f13338"} 
[2026-09-24 20:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 20:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307044864001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307044864001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:37:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:37:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307044864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":191478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:37:22] local.INFO: GPS data processed {"connection_id":191478,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:37:22] local.INFO: Acknowledgment sent {"connection_id":191478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:37:27] local.INFO: TCP Data received {"connection_id":193045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:37:27] local.INFO: Processing buffer {"connection_id":193045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:37:27] local.INFO: IMEI packet received {"connection_id":193045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":193045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:37:33] local.INFO: TCP Data received {"connection_id":193045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:37:33] local.INFO: Processing buffer {"connection_id":193045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:37:33] local.INFO: IMEI packet received {"connection_id":193045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":193045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:37:40] local.INFO: TCP Data received {"connection_id":193045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:37:40] local.INFO: Processing buffer {"connection_id":193045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f044f0012d34c14006aa4940000900f52a..."} 
[2026-09-24 20:37:40] local.INFO: Packet analysis {"connection_id":193045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f0"} 
[2026-09-24 20:37:40] local.INFO: Extracted packet for processing {"connection_id":193045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f0"} 
[2026-09-24 20:37:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307029248001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790262134000,"timestamp_ms":1790262134000,"timestamp_seconds":1790262134,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f044f0"} 
[2026-09-24 20:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307029248001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307029248001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:37:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:37:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307029248001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":193045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:37:40] local.INFO: GPS data processed {"connection_id":193045,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:37:40] local.INFO: Acknowledgment sent {"connection_id":193045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:37:52] local.INFO: TCP Data received {"connection_id":191478,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:37:52] local.INFO: Processing buffer {"connection_id":191478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:37:52] local.INFO: Packet analysis {"connection_id":191478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f1"} 
[2026-09-24 20:37:52] local.INFO: Extracted packet for processing {"connection_id":191478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f1"} 
[2026-09-24 20:37:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307044864001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790262195000,"timestamp_ms":1790262195000,"timestamp_seconds":1790262195,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f13338"} 
[2026-09-24 20:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 20:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307044864001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307044864001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:37:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:37:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307044864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":191478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:37:53] local.INFO: GPS data processed {"connection_id":191478,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:37:53] local.INFO: Acknowledgment sent {"connection_id":191478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:38:11] local.INFO: TCP Data received {"connection_id":193045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:38:11] local.INFO: Processing buffer {"connection_id":193045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:38:11] local.INFO: Packet analysis {"connection_id":193045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f4"} 
[2026-09-24 20:38:11] local.INFO: Extracted packet for processing {"connection_id":193045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f4"} 
[2026-09-24 20:38:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307106304001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790262435000,"timestamp_ms":1790262435000,"timestamp_seconds":1790262435,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f4dcb8"} 
[2026-09-24 20:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307106304001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307106304001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:38:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:38:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307106304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":193045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:38:11] local.INFO: GPS data processed {"connection_id":193045,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:38:11] local.INFO: Acknowledgment sent {"connection_id":193045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:38:16] local.INFO: TCP Data received {"connection_id":191479,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:38:16] local.INFO: Processing buffer {"connection_id":191479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:38:16] local.INFO: IMEI packet received {"connection_id":191479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":191479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:38:21] local.INFO: TCP Data received {"connection_id":191479,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:38:21] local.INFO: Processing buffer {"connection_id":191479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:38:21] local.INFO: IMEI packet received {"connection_id":191479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":191479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:38:22] local.INFO: TCP Data received {"connection_id":191479,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:38:22] local.INFO: Processing buffer {"connection_id":191479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:38:22] local.INFO: Packet analysis {"connection_id":191479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f1"} 
[2026-09-24 20:38:22] local.INFO: Extracted packet for processing {"connection_id":191479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f1"} 
[2026-09-24 20:38:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307044864001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790262195000,"timestamp_ms":1790262195000,"timestamp_seconds":1790262195,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f13338"} 
[2026-09-24 20:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 20:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307044864001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307044864001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:38:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:38:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307044864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":191479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:38:22] local.INFO: GPS data processed {"connection_id":191479,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:38:22] local.INFO: Acknowledgment sent {"connection_id":191479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:38:27] local.INFO: TCP Data received {"connection_id":191677,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:38:27] local.INFO: Processing buffer {"connection_id":191677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:38:27] local.INFO: IMEI packet received {"connection_id":191677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":191677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:38:32] local.INFO: TCP Data received {"connection_id":191677,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:38:32] local.INFO: Processing buffer {"connection_id":191677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:38:32] local.INFO: IMEI packet received {"connection_id":191677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":191677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:38:34] local.INFO: TCP Data received {"connection_id":191677,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:38:34] local.INFO: Processing buffer {"connection_id":191677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:38:34] local.INFO: Packet analysis {"connection_id":191677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f4"} 
[2026-09-24 20:38:34] local.INFO: Extracted packet for processing {"connection_id":191677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f4"} 
[2026-09-24 20:38:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307106304001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790262435000,"timestamp_ms":1790262435000,"timestamp_seconds":1790262435,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f4dcb8"} 
[2026-09-24 20:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307106304001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307106304001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:38:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:38:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307106304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":191677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:38:34] local.INFO: GPS data processed {"connection_id":191677,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:38:34] local.INFO: Acknowledgment sent {"connection_id":191677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:38:53] local.INFO: TCP Data received {"connection_id":191479,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:38:53] local.INFO: Processing buffer {"connection_id":191479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f13338012d196500071fef18003b004825..."} 
[2026-09-24 20:38:53] local.INFO: Packet analysis {"connection_id":191479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f1"} 
[2026-09-24 20:38:53] local.INFO: Extracted packet for processing {"connection_id":191479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f1"} 
[2026-09-24 20:38:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307044864001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790262195000,"timestamp_ms":1790262195000,"timestamp_seconds":1790262195,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f13338"} 
[2026-09-24 20:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 20:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307044864001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307044864001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:38:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:38:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307044864001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":191479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:38:53] local.INFO: GPS data processed {"connection_id":191479,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:38:53] local.INFO: Acknowledgment sent {"connection_id":191479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:39:06] local.INFO: TCP Data received {"connection_id":191677,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:39:06] local.INFO: Processing buffer {"connection_id":191677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:39:06] local.INFO: Packet analysis {"connection_id":191677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f4"} 
[2026-09-24 20:39:06] local.INFO: Extracted packet for processing {"connection_id":191677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f4"} 
[2026-09-24 20:39:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307106304001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790262435000,"timestamp_ms":1790262435000,"timestamp_seconds":1790262435,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f4dcb8"} 
[2026-09-24 20:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:39: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-09-24 20:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307106304001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307106304001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:39:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:39:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307106304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":191677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:39:06] local.INFO: GPS data processed {"connection_id":191677,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:39:06] local.INFO: Acknowledgment sent {"connection_id":191677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:39:21] local.INFO: TCP Data received {"connection_id":191480,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:39:21] local.INFO: Processing buffer {"connection_id":191480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:39:21] local.INFO: IMEI packet received {"connection_id":191480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 20:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":191480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:39:21] local.INFO: TCP Data received {"connection_id":191481,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:39:21] local.INFO: Processing buffer {"connection_id":191481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:39:21] local.INFO: IMEI packet received {"connection_id":191481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":191481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:39:26] local.INFO: TCP Data received {"connection_id":191481,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:39:26] local.INFO: Processing buffer {"connection_id":191481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:39:26] local.INFO: IMEI packet received {"connection_id":191481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":191481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:39:27] local.INFO: TCP Data received {"connection_id":191481,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:39:27] local.INFO: Processing buffer {"connection_id":191481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:39:27] local.INFO: Packet analysis {"connection_id":191481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f5"} 
[2026-09-24 20:39:27] local.INFO: Extracted packet for processing {"connection_id":191481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f5"} 
[2026-09-24 20:39:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307121920001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790262496000,"timestamp_ms":1790262496000,"timestamp_seconds":1790262496,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f5cb00"} 
[2026-09-24 20:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307121920001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307121920001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:39:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:39:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307121920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":191481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:39:27] local.INFO: GPS data processed {"connection_id":191481,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:39:27] local.INFO: Acknowledgment sent {"connection_id":191481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:39:32] local.INFO: TCP Data received {"connection_id":191482,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:39:32] local.INFO: Processing buffer {"connection_id":191482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:39:32] local.INFO: IMEI packet received {"connection_id":191482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":191482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:39:37] local.INFO: TCP Data received {"connection_id":191482,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:39:37] local.INFO: Processing buffer {"connection_id":191482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:39:37] local.INFO: IMEI packet received {"connection_id":191482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":191482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:39:38] local.INFO: TCP Data received {"connection_id":191482,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:39:38] local.INFO: Processing buffer {"connection_id":191482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:39:38] local.INFO: Packet analysis {"connection_id":191482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f4"} 
[2026-09-24 20:39:38] local.INFO: Extracted packet for processing {"connection_id":191482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f4"} 
[2026-09-24 20:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307106304001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790262435000,"timestamp_ms":1790262435000,"timestamp_seconds":1790262435,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f4dcb8"} 
[2026-09-24 20:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307106304001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307106304001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:39:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:39:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307106304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":191482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:39:38] local.INFO: GPS data processed {"connection_id":191482,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:39:38] local.INFO: Acknowledgment sent {"connection_id":191482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:39:43] local.INFO: TCP Data received {"connection_id":191482,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:39:43] local.INFO: Processing buffer {"connection_id":191482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:39:43] local.INFO: Packet analysis {"connection_id":191482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f4"} 
[2026-09-24 20:39:43] local.INFO: Extracted packet for processing {"connection_id":191482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f4"} 
[2026-09-24 20:39:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307106304001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790262435000,"timestamp_ms":1790262435000,"timestamp_seconds":1790262435,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f4dcb8"} 
[2026-09-24 20:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307106304001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307106304001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:39:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:39:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307106304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":191482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:39:43] local.INFO: GPS data processed {"connection_id":191482,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:39:43] local.INFO: Acknowledgment sent {"connection_id":191482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:39:58] local.INFO: TCP Data received {"connection_id":191481,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:39:58] local.INFO: Processing buffer {"connection_id":191481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:39:58] local.INFO: Packet analysis {"connection_id":191481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f5"} 
[2026-09-24 20:39:58] local.INFO: Extracted packet for processing {"connection_id":191481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f5"} 
[2026-09-24 20:39:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307121920001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790262496000,"timestamp_ms":1790262496000,"timestamp_seconds":1790262496,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f5cb00"} 
[2026-09-24 20:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":191481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":191481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":191481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307121920001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307121920001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:39:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:39:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307121920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":191481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:39:58] local.INFO: GPS data processed {"connection_id":191481,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:39:58] local.INFO: Acknowledgment sent {"connection_id":191481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:40:06] local.INFO: TCP Data received {"connection_id":191678,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:40:06] local.INFO: Processing buffer {"connection_id":191678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:40:06] local.INFO: IMEI packet received {"connection_id":191678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 20:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":191678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:40:16] local.INFO: TCP Data received {"connection_id":194344,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:40:16] local.INFO: Processing buffer {"connection_id":194344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:40:16] local.INFO: IMEI packet received {"connection_id":194344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":194344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:40:21] local.INFO: TCP Data received {"connection_id":194344,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:40:21] local.INFO: Processing buffer {"connection_id":194344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:40:21] local.INFO: IMEI packet received {"connection_id":194344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":194344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:40:22] local.INFO: TCP Data received {"connection_id":194344,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:40:22] local.INFO: Processing buffer {"connection_id":194344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:40:22] local.INFO: Packet analysis {"connection_id":194344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f5"} 
[2026-09-24 20:40:22] local.INFO: Extracted packet for processing {"connection_id":194344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f5"} 
[2026-09-24 20:40:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307121920001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790262496000,"timestamp_ms":1790262496000,"timestamp_seconds":1790262496,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f5cb00"} 
[2026-09-24 20:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307121920001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307121920001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:40:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:40:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307121920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":194344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:40:22] local.INFO: GPS data processed {"connection_id":194344,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:40:22] local.INFO: Acknowledgment sent {"connection_id":194344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:40:27] local.INFO: TCP Data received {"connection_id":194345,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:40:27] local.INFO: Processing buffer {"connection_id":194345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:40:27] local.INFO: IMEI packet received {"connection_id":194345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":194345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:40:32] local.INFO: TCP Data received {"connection_id":194345,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:40:32] local.INFO: Processing buffer {"connection_id":194345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:40:32] local.INFO: IMEI packet received {"connection_id":194345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":194345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:40:33] local.INFO: TCP Data received {"connection_id":194345,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:40:33] local.INFO: Processing buffer {"connection_id":194345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:40:33] local.INFO: Packet analysis {"connection_id":194345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f4"} 
[2026-09-24 20:40:33] local.INFO: Extracted packet for processing {"connection_id":194345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f4"} 
[2026-09-24 20:40:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307106304001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790262435000,"timestamp_ms":1790262435000,"timestamp_seconds":1790262435,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f4dcb8"} 
[2026-09-24 20:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307106304001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307106304001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:40:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:40:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307106304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":194345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:40:33] local.INFO: GPS data processed {"connection_id":194345,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:40:33] local.INFO: Acknowledgment sent {"connection_id":194345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:40:53] local.INFO: TCP Data received {"connection_id":194344,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:40:53] local.INFO: Processing buffer {"connection_id":194344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:40:53] local.INFO: Packet analysis {"connection_id":194344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f5"} 
[2026-09-24 20:40:53] local.INFO: Extracted packet for processing {"connection_id":194344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f5"} 
[2026-09-24 20:40:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307121920001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790262496000,"timestamp_ms":1790262496000,"timestamp_seconds":1790262496,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f5cb00"} 
[2026-09-24 20:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307121920001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307121920001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:40:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:40:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307121920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":194344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:40:53] local.INFO: GPS data processed {"connection_id":194344,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:40:53] local.INFO: Acknowledgment sent {"connection_id":194344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:41:04] local.INFO: TCP Data received {"connection_id":194345,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:41:04] local.INFO: Processing buffer {"connection_id":194345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:41:04] local.INFO: Packet analysis {"connection_id":194345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f4"} 
[2026-09-24 20:41:04] local.INFO: Extracted packet for processing {"connection_id":194345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f4"} 
[2026-09-24 20:41:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307106304001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790262435000,"timestamp_ms":1790262435000,"timestamp_seconds":1790262435,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f4dcb8"} 
[2026-09-24 20:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:41: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-09-24 20:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307106304001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307106304001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:41:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:41:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307106304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":194345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:41:04] local.INFO: GPS data processed {"connection_id":194345,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:41:04] local.INFO: Acknowledgment sent {"connection_id":194345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:41:16] local.INFO: TCP Data received {"connection_id":191483,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:41:16] local.INFO: Processing buffer {"connection_id":191483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:41:16] local.INFO: IMEI packet received {"connection_id":191483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":191483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:41:21] local.INFO: TCP Data received {"connection_id":191483,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:41:21] local.INFO: Processing buffer {"connection_id":191483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:41:21] local.INFO: IMEI packet received {"connection_id":191483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":191483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:41:22] local.INFO: TCP Data received {"connection_id":191483,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:41:22] local.INFO: Processing buffer {"connection_id":191483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:41:22] local.INFO: Packet analysis {"connection_id":191483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f5"} 
[2026-09-24 20:41:22] local.INFO: Extracted packet for processing {"connection_id":191483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f5"} 
[2026-09-24 20:41:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307121920001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790262496000,"timestamp_ms":1790262496000,"timestamp_seconds":1790262496,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f5cb00"} 
[2026-09-24 20:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307121920001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307121920001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:41:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:41:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307121920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":191483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:41:22] local.INFO: GPS data processed {"connection_id":191483,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:41:22] local.INFO: Acknowledgment sent {"connection_id":191483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:41:27] local.INFO: TCP Data received {"connection_id":194346,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:41:27] local.INFO: Processing buffer {"connection_id":194346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:41:27] local.INFO: IMEI packet received {"connection_id":194346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":194346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:41:32] local.INFO: TCP Data received {"connection_id":194346,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:41:32] local.INFO: Processing buffer {"connection_id":194346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:41:32] local.INFO: IMEI packet received {"connection_id":194346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":194346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:41:33] local.INFO: TCP Data received {"connection_id":194346,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:41:33] local.INFO: Processing buffer {"connection_id":194346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:41:33] local.INFO: Packet analysis {"connection_id":194346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f4"} 
[2026-09-24 20:41:33] local.INFO: Extracted packet for processing {"connection_id":194346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f4"} 
[2026-09-24 20:41:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307106304001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790262435000,"timestamp_ms":1790262435000,"timestamp_seconds":1790262435,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f4dcb8"} 
[2026-09-24 20:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307106304001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307106304001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:41:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:41:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307106304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":194346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:41:33] local.INFO: GPS data processed {"connection_id":194346,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:41:33] local.INFO: Acknowledgment sent {"connection_id":194346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:41:53] local.INFO: TCP Data received {"connection_id":191483,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:41:53] local.INFO: Processing buffer {"connection_id":191483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:41:53] local.INFO: Packet analysis {"connection_id":191483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f5"} 
[2026-09-24 20:41:53] local.INFO: Extracted packet for processing {"connection_id":191483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f5"} 
[2026-09-24 20:41:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307121920001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790262496000,"timestamp_ms":1790262496000,"timestamp_seconds":1790262496,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f5cb00"} 
[2026-09-24 20:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307121920001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307121920001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:41:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:41:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307121920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":191483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:41:53] local.INFO: GPS data processed {"connection_id":191483,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:41:53] local.INFO: Acknowledgment sent {"connection_id":191483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:42:05] local.INFO: TCP Data received {"connection_id":194346,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:42:05] local.INFO: Processing buffer {"connection_id":194346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:42:05] local.INFO: Packet analysis {"connection_id":194346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f4"} 
[2026-09-24 20:42:05] local.INFO: Extracted packet for processing {"connection_id":194346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f4"} 
[2026-09-24 20:42:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307106304001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790262435000,"timestamp_ms":1790262435000,"timestamp_seconds":1790262435,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f4dcb8"} 
[2026-09-24 20:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307106304001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307106304001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:42:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:42:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307106304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":194346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:42:05] local.INFO: GPS data processed {"connection_id":194346,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:42:05] local.INFO: Acknowledgment sent {"connection_id":194346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:42:16] local.INFO: TCP Data received {"connection_id":191485,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:42:16] local.INFO: Processing buffer {"connection_id":191485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:42:16] local.INFO: IMEI packet received {"connection_id":191485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":191485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:42:21] local.INFO: TCP Data received {"connection_id":191485,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:42:21] local.INFO: Processing buffer {"connection_id":191485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:42:21] local.INFO: IMEI packet received {"connection_id":191485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":191485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:42:22] local.INFO: TCP Data received {"connection_id":191485,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:42:22] local.INFO: Processing buffer {"connection_id":191485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:42:22] local.INFO: Packet analysis {"connection_id":191485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f5"} 
[2026-09-24 20:42:22] local.INFO: Extracted packet for processing {"connection_id":191485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f5"} 
[2026-09-24 20:42:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:42: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-09-24 20:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307121920001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790262496000,"timestamp_ms":1790262496000,"timestamp_seconds":1790262496,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f5cb00"} 
[2026-09-24 20:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:42: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-09-24 20:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307121920001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307121920001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:42:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:42:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307121920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":191485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:42:22] local.INFO: GPS data processed {"connection_id":191485,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:42:22] local.INFO: Acknowledgment sent {"connection_id":191485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:42:27] local.INFO: TCP Data received {"connection_id":191681,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:42:27] local.INFO: Processing buffer {"connection_id":191681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:42:27] local.INFO: IMEI packet received {"connection_id":191681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":191681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:42:32] local.INFO: TCP Data received {"connection_id":191681,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:42:32] local.INFO: Processing buffer {"connection_id":191681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:42:32] local.INFO: IMEI packet received {"connection_id":191681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":191681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:42:34] local.INFO: TCP Data received {"connection_id":191681,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:42:34] local.INFO: Processing buffer {"connection_id":191681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f4dcb8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:42:34] local.INFO: Packet analysis {"connection_id":191681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f4"} 
[2026-09-24 20:42:34] local.INFO: Extracted packet for processing {"connection_id":191681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f4"} 
[2026-09-24 20:42:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307106304001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790262435000,"timestamp_ms":1790262435000,"timestamp_seconds":1790262435,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f4dcb8"} 
[2026-09-24 20:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307106304001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307106304001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:42:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:42:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307106304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":191681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:42:34] local.INFO: GPS data processed {"connection_id":191681,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:42:34] local.INFO: Acknowledgment sent {"connection_id":191681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:42:53] local.INFO: TCP Data received {"connection_id":191485,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:42:53] local.INFO: Processing buffer {"connection_id":191485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:42:53] local.INFO: Packet analysis {"connection_id":191485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f5"} 
[2026-09-24 20:42:53] local.INFO: Extracted packet for processing {"connection_id":191485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f5"} 
[2026-09-24 20:42:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307121920001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790262496000,"timestamp_ms":1790262496000,"timestamp_seconds":1790262496,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f5cb00"} 
[2026-09-24 20:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307121920001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307121920001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:42:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:42:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307121920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":191485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:42:53] local.INFO: GPS data processed {"connection_id":191485,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:42:53] local.INFO: Acknowledgment sent {"connection_id":191485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:43:07] local.INFO: TCP Data received {"connection_id":191681,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:43:07] local.INFO: Processing buffer {"connection_id":191681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:43:07] local.INFO: Packet analysis {"connection_id":191681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f9"} 
[2026-09-24 20:43:07] local.INFO: Extracted packet for processing {"connection_id":191681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f9"} 
[2026-09-24 20:43:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307183360001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790262736000,"timestamp_ms":1790262736000,"timestamp_seconds":1790262736,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f97480"} 
[2026-09-24 20:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:43: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-09-24 20:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307183360001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307183360001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:43:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:43:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307183360001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":191681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:43:07] local.INFO: GPS data processed {"connection_id":191681,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:43:07] local.INFO: Acknowledgment sent {"connection_id":191681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:43:15] local.INFO: TCP Data received {"connection_id":194347,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:43:15] local.INFO: Processing buffer {"connection_id":194347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:43:15] local.INFO: IMEI packet received {"connection_id":194347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":194347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:43:21] local.INFO: TCP Data received {"connection_id":194347,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:43:21] local.INFO: Processing buffer {"connection_id":194347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:43:21] local.INFO: IMEI packet received {"connection_id":194347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":194347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:43:22] local.INFO: TCP Data received {"connection_id":194347,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:43:22] local.INFO: Processing buffer {"connection_id":194347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:43:22] local.INFO: Packet analysis {"connection_id":194347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f5"} 
[2026-09-24 20:43:22] local.INFO: Extracted packet for processing {"connection_id":194347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f5"} 
[2026-09-24 20:43:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307121920001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790262496000,"timestamp_ms":1790262496000,"timestamp_seconds":1790262496,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f5cb00"} 
[2026-09-24 20:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307121920001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307121920001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:43:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:43:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307121920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":194347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:43:22] local.INFO: GPS data processed {"connection_id":194347,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:43:22] local.INFO: Acknowledgment sent {"connection_id":194347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:43:28] local.INFO: TCP Data received {"connection_id":193047,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:43:28] local.INFO: Processing buffer {"connection_id":193047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:43:28] local.INFO: IMEI packet received {"connection_id":193047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":193047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:43:32] local.INFO: TCP Data received {"connection_id":193047,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:43:32] local.INFO: Processing buffer {"connection_id":193047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:43:32] local.INFO: IMEI packet received {"connection_id":193047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":193047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:43:36] local.INFO: TCP Data received {"connection_id":193047,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:43:36] local.INFO: Processing buffer {"connection_id":193047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:43:36] local.INFO: Packet analysis {"connection_id":193047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f9"} 
[2026-09-24 20:43:36] local.INFO: Extracted packet for processing {"connection_id":193047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f9"} 
[2026-09-24 20:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307183360001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790262736000,"timestamp_ms":1790262736000,"timestamp_seconds":1790262736,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f97480"} 
[2026-09-24 20:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307183360001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307183360001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:43:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:43:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307183360001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":193047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:43:36] local.INFO: GPS data processed {"connection_id":193047,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:43:36] local.INFO: Acknowledgment sent {"connection_id":193047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:43:53] local.INFO: TCP Data received {"connection_id":194347,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:43:53] local.INFO: Processing buffer {"connection_id":194347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f5cb00012d196500071fef18003b004826..."} 
[2026-09-24 20:43:53] local.INFO: Packet analysis {"connection_id":194347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f5"} 
[2026-09-24 20:43:53] local.INFO: Extracted packet for processing {"connection_id":194347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f5"} 
[2026-09-24 20:43:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307121920001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790262496000,"timestamp_ms":1790262496000,"timestamp_seconds":1790262496,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f5cb00"} 
[2026-09-24 20:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307121920001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307121920001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:43:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:43:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307121920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":194347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:43:53] local.INFO: GPS data processed {"connection_id":194347,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:43:53] local.INFO: Acknowledgment sent {"connection_id":194347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:44:08] local.INFO: TCP Data received {"connection_id":193047,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:44:08] local.INFO: Processing buffer {"connection_id":193047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:44:08] local.INFO: Packet analysis {"connection_id":193047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f9"} 
[2026-09-24 20:44:08] local.INFO: Extracted packet for processing {"connection_id":193047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f9"} 
[2026-09-24 20:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307183360001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790262736000,"timestamp_ms":1790262736000,"timestamp_seconds":1790262736,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f97480"} 
[2026-09-24 20:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:44: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-09-24 20:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:44: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-09-24 20:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307183360001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307183360001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:44:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307183360001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":193047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:44:08] local.INFO: GPS data processed {"connection_id":193047,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:44:08] local.INFO: Acknowledgment sent {"connection_id":193047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:44:21] local.INFO: TCP Data received {"connection_id":194348,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:44:21] local.INFO: Processing buffer {"connection_id":194348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:44:21] local.INFO: IMEI packet received {"connection_id":194348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":194348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:44:26] local.INFO: TCP Data received {"connection_id":194348,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:44:26] local.INFO: Processing buffer {"connection_id":194348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:44:26] local.INFO: IMEI packet received {"connection_id":194348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":194348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:44:27] local.INFO: TCP Data received {"connection_id":194348,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:44:27] local.INFO: Processing buffer {"connection_id":194348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:44:27] local.INFO: Packet analysis {"connection_id":194348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fa"} 
[2026-09-24 20:44:27] local.INFO: Extracted packet for processing {"connection_id":194348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fa"} 
[2026-09-24 20:44:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307198976001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790262797000,"timestamp_ms":1790262797000,"timestamp_seconds":1790262797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fa62c8"} 
[2026-09-24 20:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":194348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":194348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":194348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307198976001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307198976001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:44:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:44:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307198976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":194348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:44:27] local.INFO: GPS data processed {"connection_id":194348,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:44:27] local.INFO: Acknowledgment sent {"connection_id":194348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:44:27] local.INFO: TCP Data received {"connection_id":193048,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:44:27] local.INFO: Processing buffer {"connection_id":193048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:44:27] local.INFO: IMEI packet received {"connection_id":193048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":193048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:44:31] local.INFO: TCP Data received {"connection_id":194348,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:44:31] local.INFO: Processing buffer {"connection_id":194348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:44:31] local.INFO: Packet analysis {"connection_id":194348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fa"} 
[2026-09-24 20:44:31] local.INFO: Extracted packet for processing {"connection_id":194348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fa"} 
[2026-09-24 20:44:31] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307198976001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790262797000,"timestamp_ms":1790262797000,"timestamp_seconds":1790262797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fa62c8"} 
[2026-09-24 20:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307198976001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307198976001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:44:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:44:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307198976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":194348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:44:31] local.INFO: GPS data processed {"connection_id":194348,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:44:31] local.INFO: Acknowledgment sent {"connection_id":194348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:44:32] local.INFO: TCP Data received {"connection_id":193048,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:44:32] local.INFO: Processing buffer {"connection_id":193048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:44:32] local.INFO: IMEI packet received {"connection_id":193048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":193048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:44:33] local.INFO: TCP Data received {"connection_id":193048,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:44:33] local.INFO: Processing buffer {"connection_id":193048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:44:33] local.INFO: Packet analysis {"connection_id":193048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f9"} 
[2026-09-24 20:44:33] local.INFO: Extracted packet for processing {"connection_id":193048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f9"} 
[2026-09-24 20:44:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307183360001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790262736000,"timestamp_ms":1790262736000,"timestamp_seconds":1790262736,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f97480"} 
[2026-09-24 20:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307183360001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307183360001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:44:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:44:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307183360001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":193048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:44:33] local.INFO: GPS data processed {"connection_id":193048,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:44:33] local.INFO: Acknowledgment sent {"connection_id":193048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:45:04] local.INFO: TCP Data received {"connection_id":193048,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:45:04] local.INFO: Processing buffer {"connection_id":193048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:45:04] local.INFO: Packet analysis {"connection_id":193048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f9"} 
[2026-09-24 20:45:04] local.INFO: Extracted packet for processing {"connection_id":193048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f9"} 
[2026-09-24 20:45:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307183360001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790262736000,"timestamp_ms":1790262736000,"timestamp_seconds":1790262736,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f97480"} 
[2026-09-24 20:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:45: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-09-24 20:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307183360001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307183360001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:45:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:45:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307183360001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":193048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:45:04] local.INFO: GPS data processed {"connection_id":193048,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:45:04] local.INFO: Acknowledgment sent {"connection_id":193048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:45:11] local.INFO: TCP Data received {"connection_id":191486,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:45:11] local.INFO: Processing buffer {"connection_id":191486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:45:11] local.INFO: IMEI packet received {"connection_id":191486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 20:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":191486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:45:16] local.INFO: TCP Data received {"connection_id":191487,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:45:16] local.INFO: Processing buffer {"connection_id":191487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:45:16] local.INFO: IMEI packet received {"connection_id":191487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":191487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:45:21] local.INFO: TCP Data received {"connection_id":191487,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:45:21] local.INFO: Processing buffer {"connection_id":191487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:45:21] local.INFO: IMEI packet received {"connection_id":191487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":191487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:45:22] local.INFO: TCP Data received {"connection_id":191487,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:45:22] local.INFO: Processing buffer {"connection_id":191487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:45:22] local.INFO: Packet analysis {"connection_id":191487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fa"} 
[2026-09-24 20:45:22] local.INFO: Extracted packet for processing {"connection_id":191487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fa"} 
[2026-09-24 20:45:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307198976001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790262797000,"timestamp_ms":1790262797000,"timestamp_seconds":1790262797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fa62c8"} 
[2026-09-24 20:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307198976001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307198976001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:45:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:45:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307198976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":191487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:45:22] local.INFO: GPS data processed {"connection_id":191487,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:45:22] local.INFO: Acknowledgment sent {"connection_id":191487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:45:33] local.INFO: TCP Data received {"connection_id":194349,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:45:33] local.INFO: Processing buffer {"connection_id":194349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:45:33] local.INFO: IMEI packet received {"connection_id":194349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":194349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:45:38] local.INFO: TCP Data received {"connection_id":194349,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:45:38] local.INFO: Processing buffer {"connection_id":194349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:45:38] local.INFO: IMEI packet received {"connection_id":194349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":194349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:45:38] local.INFO: TCP Data received {"connection_id":194349,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:45:38] local.INFO: Processing buffer {"connection_id":194349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:45:38] local.INFO: Packet analysis {"connection_id":194349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f9"} 
[2026-09-24 20:45:38] local.INFO: Extracted packet for processing {"connection_id":194349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f9"} 
[2026-09-24 20:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307183360001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790262736000,"timestamp_ms":1790262736000,"timestamp_seconds":1790262736,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f97480"} 
[2026-09-24 20:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307183360001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307183360001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:45:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:45:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307183360001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":194349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:45:39] local.INFO: GPS data processed {"connection_id":194349,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:45:39] local.INFO: Acknowledgment sent {"connection_id":194349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:45:43] local.INFO: TCP Data received {"connection_id":194349,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:45:43] local.INFO: Processing buffer {"connection_id":194349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:45:43] local.INFO: Packet analysis {"connection_id":194349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f9"} 
[2026-09-24 20:45:43] local.INFO: Extracted packet for processing {"connection_id":194349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f9"} 
[2026-09-24 20:45:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307183360001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790262736000,"timestamp_ms":1790262736000,"timestamp_seconds":1790262736,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f97480"} 
[2026-09-24 20:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":194349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":194349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":194349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307183360001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307183360001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:45:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:45:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307183360001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":194349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:45:43] local.INFO: GPS data processed {"connection_id":194349,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:45:43] local.INFO: Acknowledgment sent {"connection_id":194349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:45:53] local.INFO: TCP Data received {"connection_id":191487,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:45:53] local.INFO: Processing buffer {"connection_id":191487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:45:53] local.INFO: Packet analysis {"connection_id":191487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fa"} 
[2026-09-24 20:45:53] local.INFO: Extracted packet for processing {"connection_id":191487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fa"} 
[2026-09-24 20:45:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307198976001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790262797000,"timestamp_ms":1790262797000,"timestamp_seconds":1790262797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fa62c8"} 
[2026-09-24 20:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307198976001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307198976001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:45:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:45:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307198976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":191487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:45:53] local.INFO: GPS data processed {"connection_id":191487,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:45:53] local.INFO: Acknowledgment sent {"connection_id":191487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:46:16] local.INFO: TCP Data received {"connection_id":191683,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:46:16] local.INFO: Processing buffer {"connection_id":191683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:46:16] local.INFO: IMEI packet received {"connection_id":191683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":191683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:46:21] local.INFO: TCP Data received {"connection_id":191683,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:46:21] local.INFO: Processing buffer {"connection_id":191683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:46:21] local.INFO: IMEI packet received {"connection_id":191683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":191683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:46:22] local.INFO: TCP Data received {"connection_id":191683,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:46:22] local.INFO: Processing buffer {"connection_id":191683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:46:22] local.INFO: Packet analysis {"connection_id":191683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fa"} 
[2026-09-24 20:46:22] local.INFO: Extracted packet for processing {"connection_id":191683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fa"} 
[2026-09-24 20:46:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307198976001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790262797000,"timestamp_ms":1790262797000,"timestamp_seconds":1790262797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fa62c8"} 
[2026-09-24 20:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307198976001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307198976001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:46:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:46:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307198976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":191683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:46:22] local.INFO: GPS data processed {"connection_id":191683,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:46:22] local.INFO: Acknowledgment sent {"connection_id":191683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:46:27] local.INFO: TCP Data received {"connection_id":194350,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:46:27] local.INFO: Processing buffer {"connection_id":194350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:46:27] local.INFO: IMEI packet received {"connection_id":194350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":194350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:46:32] local.INFO: TCP Data received {"connection_id":194350,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:46:32] local.INFO: Processing buffer {"connection_id":194350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:46:32] local.INFO: IMEI packet received {"connection_id":194350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":194350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:46:33] local.INFO: TCP Data received {"connection_id":194350,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:46:33] local.INFO: Processing buffer {"connection_id":194350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:46:33] local.INFO: Packet analysis {"connection_id":194350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f9"} 
[2026-09-24 20:46:33] local.INFO: Extracted packet for processing {"connection_id":194350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f9"} 
[2026-09-24 20:46:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307183360001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790262736000,"timestamp_ms":1790262736000,"timestamp_seconds":1790262736,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f97480"} 
[2026-09-24 20:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307183360001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307183360001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:46:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:46:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307183360001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":194350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:46:33] local.INFO: GPS data processed {"connection_id":194350,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:46:33] local.INFO: Acknowledgment sent {"connection_id":194350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:46:53] local.INFO: TCP Data received {"connection_id":191683,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:46:53] local.INFO: Processing buffer {"connection_id":191683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:46:53] local.INFO: Packet analysis {"connection_id":191683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fa"} 
[2026-09-24 20:46:53] local.INFO: Extracted packet for processing {"connection_id":191683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fa"} 
[2026-09-24 20:46:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307198976001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790262797000,"timestamp_ms":1790262797000,"timestamp_seconds":1790262797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fa62c8"} 
[2026-09-24 20:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307198976001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307198976001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:46:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:46:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307198976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":191683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:46:53] local.INFO: GPS data processed {"connection_id":191683,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:46:53] local.INFO: Acknowledgment sent {"connection_id":191683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:47:04] local.INFO: TCP Data received {"connection_id":194350,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:47:04] local.INFO: Processing buffer {"connection_id":194350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:47:04] local.INFO: Packet analysis {"connection_id":194350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f9"} 
[2026-09-24 20:47:04] local.INFO: Extracted packet for processing {"connection_id":194350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f9"} 
[2026-09-24 20:47:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307183360001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790262736000,"timestamp_ms":1790262736000,"timestamp_seconds":1790262736,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f97480"} 
[2026-09-24 20:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:47: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-09-24 20: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-09-24 20:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307183360001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307183360001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:47:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:47:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307183360001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":194350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:47:04] local.INFO: GPS data processed {"connection_id":194350,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:47:04] local.INFO: Acknowledgment sent {"connection_id":194350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:47:16] local.INFO: TCP Data received {"connection_id":191489,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:47:16] local.INFO: Processing buffer {"connection_id":191489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:47:16] local.INFO: IMEI packet received {"connection_id":191489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":191489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:47:21] local.INFO: TCP Data received {"connection_id":191489,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:47:21] local.INFO: Processing buffer {"connection_id":191489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:47:21] local.INFO: IMEI packet received {"connection_id":191489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":191489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:47:22] local.INFO: TCP Data received {"connection_id":191489,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:47:22] local.INFO: Processing buffer {"connection_id":191489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:47:22] local.INFO: Packet analysis {"connection_id":191489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fa"} 
[2026-09-24 20:47:22] local.INFO: Extracted packet for processing {"connection_id":191489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fa"} 
[2026-09-24 20:47:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307198976001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790262797000,"timestamp_ms":1790262797000,"timestamp_seconds":1790262797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fa62c8"} 
[2026-09-24 20:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307198976001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307198976001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:47:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:47:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307198976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":191489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:47:22] local.INFO: GPS data processed {"connection_id":191489,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:47:22] local.INFO: Acknowledgment sent {"connection_id":191489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:47:27] local.INFO: TCP Data received {"connection_id":191490,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:47:27] local.INFO: Processing buffer {"connection_id":191490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:47:27] local.INFO: IMEI packet received {"connection_id":191490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":191490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:47:32] local.INFO: TCP Data received {"connection_id":191490,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:47:33] local.INFO: Processing buffer {"connection_id":191490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:47:33] local.INFO: IMEI packet received {"connection_id":191490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":191490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:47:34] local.INFO: TCP Data received {"connection_id":191490,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:47:34] local.INFO: Processing buffer {"connection_id":191490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3f97480012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:47:34] local.INFO: Packet analysis {"connection_id":191490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3f9"} 
[2026-09-24 20:47:34] local.INFO: Extracted packet for processing {"connection_id":191490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3f9"} 
[2026-09-24 20:47:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307183360001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790262736000,"timestamp_ms":1790262736000,"timestamp_seconds":1790262736,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3f97480"} 
[2026-09-24 20:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 20:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307183360001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307183360001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:47:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:47:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307183360001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":191490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:47:34] local.INFO: GPS data processed {"connection_id":191490,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:47:34] local.INFO: Acknowledgment sent {"connection_id":191490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:47:53] local.INFO: TCP Data received {"connection_id":191489,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:47:53] local.INFO: Processing buffer {"connection_id":191489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:47:53] local.INFO: Packet analysis {"connection_id":191489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fa"} 
[2026-09-24 20:47:53] local.INFO: Extracted packet for processing {"connection_id":191489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fa"} 
[2026-09-24 20:47:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307198976001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790262797000,"timestamp_ms":1790262797000,"timestamp_seconds":1790262797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fa62c8"} 
[2026-09-24 20:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307198976001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307198976001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:47:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:47:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307198976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":191489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:47:53] local.INFO: GPS data processed {"connection_id":191489,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:47:53] local.INFO: Acknowledgment sent {"connection_id":191489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:48:05] local.INFO: TCP Data received {"connection_id":191490,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:48:05] local.INFO: Processing buffer {"connection_id":191490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:48:05] local.INFO: Packet analysis {"connection_id":191490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:48:05] local.INFO: Extracted packet for processing {"connection_id":191490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:48:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307260416001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790263037000,"timestamp_ms":1790263037000,"timestamp_seconds":1790263037,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fe0c48"} 
[2026-09-24 20:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307260416001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307260416001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:48:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:48:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307260416001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":191490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:48:05] local.INFO: GPS data processed {"connection_id":191490,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:48:05] local.INFO: Acknowledgment sent {"connection_id":191490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:48:15] local.INFO: TCP Data received {"connection_id":193050,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:48:15] local.INFO: Processing buffer {"connection_id":193050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:48:15] local.INFO: IMEI packet received {"connection_id":193050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":193050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:48:21] local.INFO: TCP Data received {"connection_id":193050,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:48:21] local.INFO: Processing buffer {"connection_id":193050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:48:21] local.INFO: IMEI packet received {"connection_id":193050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":193050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:48:22] local.INFO: TCP Data received {"connection_id":193050,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:48:22] local.INFO: Processing buffer {"connection_id":193050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:48:22] local.INFO: Packet analysis {"connection_id":193050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fa"} 
[2026-09-24 20:48:22] local.INFO: Extracted packet for processing {"connection_id":193050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fa"} 
[2026-09-24 20:48:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307198976001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790262797000,"timestamp_ms":1790262797000,"timestamp_seconds":1790262797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fa62c8"} 
[2026-09-24 20:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307198976001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307198976001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:48:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:48:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307198976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":193050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:48:22] local.INFO: GPS data processed {"connection_id":193050,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:48:22] local.INFO: Acknowledgment sent {"connection_id":193050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:48:27] local.INFO: TCP Data received {"connection_id":193051,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:48:27] local.INFO: Processing buffer {"connection_id":193051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:48:27] local.INFO: IMEI packet received {"connection_id":193051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":193051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:48:32] local.INFO: TCP Data received {"connection_id":193051,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:48:32] local.INFO: Processing buffer {"connection_id":193051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:48:32] local.INFO: IMEI packet received {"connection_id":193051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":193051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:48:33] local.INFO: TCP Data received {"connection_id":193051,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:48:33] local.INFO: Processing buffer {"connection_id":193051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:48:33] local.INFO: Packet analysis {"connection_id":193051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:48:33] local.INFO: Extracted packet for processing {"connection_id":193051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:48:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307260416001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790263037000,"timestamp_ms":1790263037000,"timestamp_seconds":1790263037,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fe0c48"} 
[2026-09-24 20:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307260416001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307260416001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:48:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:48:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307260416001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":193051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:48:33] local.INFO: GPS data processed {"connection_id":193051,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:48:33] local.INFO: Acknowledgment sent {"connection_id":193051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:48:56] local.INFO: TCP Data received {"connection_id":193050,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:48:56] local.INFO: Processing buffer {"connection_id":193050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fa62c8012d196500071fef18003b004827..."} 
[2026-09-24 20:48:56] local.INFO: Packet analysis {"connection_id":193050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fa"} 
[2026-09-24 20:48:56] local.INFO: Extracted packet for processing {"connection_id":193050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fa"} 
[2026-09-24 20:48:56] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307198976001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790262797000,"timestamp_ms":1790262797000,"timestamp_seconds":1790262797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fa62c8"} 
[2026-09-24 20:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":193050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":193050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":193050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307198976001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307198976001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:48:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:48:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307198976001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":193050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:48:56] local.INFO: GPS data processed {"connection_id":193050,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:48:56] local.INFO: Acknowledgment sent {"connection_id":193050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:49:05] local.INFO: TCP Data received {"connection_id":193051,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:49:05] local.INFO: Processing buffer {"connection_id":193051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:49:05] local.INFO: Packet analysis {"connection_id":193051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:49:05] local.INFO: Extracted packet for processing {"connection_id":193051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:49:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307260416001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790263037000,"timestamp_ms":1790263037000,"timestamp_seconds":1790263037,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fe0c48"} 
[2026-09-24 20:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307260416001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307260416001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:49:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:49:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307260416001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":193051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:49:05] local.INFO: GPS data processed {"connection_id":193051,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:49:05] local.INFO: Acknowledgment sent {"connection_id":193051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:49:21] local.INFO: TCP Data received {"connection_id":191491,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:49:21] local.INFO: Processing buffer {"connection_id":191491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:49:21] local.INFO: IMEI packet received {"connection_id":191491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":191491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:49:26] local.INFO: TCP Data received {"connection_id":191491,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:49:26] local.INFO: Processing buffer {"connection_id":191491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:49:26] local.INFO: IMEI packet received {"connection_id":191491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":191491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:49:27] local.INFO: TCP Data received {"connection_id":191491,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:49:27] local.INFO: Processing buffer {"connection_id":191491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:49:27] local.INFO: Packet analysis {"connection_id":191491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:49:27] local.INFO: Extracted packet for processing {"connection_id":191491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:49:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307276032001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790263098000,"timestamp_ms":1790263098000,"timestamp_seconds":1790263098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fefa90"} 
[2026-09-24 20:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307276032001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307276032001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:49:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:49:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307276032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":191491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:49:27] local.INFO: GPS data processed {"connection_id":191491,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:49:27] local.INFO: Acknowledgment sent {"connection_id":191491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:49:27] local.INFO: TCP Data received {"connection_id":194351,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:49:27] local.INFO: Processing buffer {"connection_id":194351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:49:27] local.INFO: IMEI packet received {"connection_id":194351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":194351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:49:31] local.INFO: TCP Data received {"connection_id":191491,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:49:31] local.INFO: Processing buffer {"connection_id":191491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:49:31] local.INFO: Packet analysis {"connection_id":191491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:49:31] local.INFO: Extracted packet for processing {"connection_id":191491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:49:31] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307276032001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790263098000,"timestamp_ms":1790263098000,"timestamp_seconds":1790263098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fefa90"} 
[2026-09-24 20:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":191491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":191491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":191491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307276032001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307276032001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:49:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:49:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307276032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":191491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:49:31] local.INFO: GPS data processed {"connection_id":191491,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:49:31] local.INFO: Acknowledgment sent {"connection_id":191491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:49:32] local.INFO: TCP Data received {"connection_id":194351,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:49:32] local.INFO: Processing buffer {"connection_id":194351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:49:32] local.INFO: IMEI packet received {"connection_id":194351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":194351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:49:33] local.INFO: TCP Data received {"connection_id":194351,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:49:33] local.INFO: Processing buffer {"connection_id":194351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:49:33] local.INFO: Packet analysis {"connection_id":194351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:49:33] local.INFO: Extracted packet for processing {"connection_id":194351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:49:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307260416001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790263037000,"timestamp_ms":1790263037000,"timestamp_seconds":1790263037,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fe0c48"} 
[2026-09-24 20:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307260416001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307260416001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:49:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:49:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307260416001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":194351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:49:33] local.INFO: GPS data processed {"connection_id":194351,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:49:33] local.INFO: Acknowledgment sent {"connection_id":194351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:50:05] local.INFO: TCP Data received {"connection_id":194351,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:50:05] local.INFO: Processing buffer {"connection_id":194351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:50:05] local.INFO: Packet analysis {"connection_id":194351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:50:05] local.INFO: Extracted packet for processing {"connection_id":194351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:50:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307260416001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790263037000,"timestamp_ms":1790263037000,"timestamp_seconds":1790263037,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fe0c48"} 
[2026-09-24 20:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307260416001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307260416001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:50:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:50:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307260416001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":194351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:50:05] local.INFO: GPS data processed {"connection_id":194351,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:50:05] local.INFO: Acknowledgment sent {"connection_id":194351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:50:16] local.INFO: TCP Data received {"connection_id":193053,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:50:16] local.INFO: Processing buffer {"connection_id":193053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:50:16] local.INFO: IMEI packet received {"connection_id":193053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":193053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:50:21] local.INFO: TCP Data received {"connection_id":193053,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:50:21] local.INFO: Processing buffer {"connection_id":193053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:50:21] local.INFO: IMEI packet received {"connection_id":193053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":193053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:50:22] local.INFO: TCP Data received {"connection_id":193053,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:50:22] local.INFO: Processing buffer {"connection_id":193053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:50:22] local.INFO: Packet analysis {"connection_id":193053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:50:22] local.INFO: Extracted packet for processing {"connection_id":193053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:50:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307276032001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790263098000,"timestamp_ms":1790263098000,"timestamp_seconds":1790263098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fefa90"} 
[2026-09-24 20:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307276032001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307276032001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:50:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:50:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307276032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":193053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:50:22] local.INFO: GPS data processed {"connection_id":193053,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:50:22] local.INFO: Acknowledgment sent {"connection_id":193053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:50:27] local.INFO: TCP Data received {"connection_id":191685,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:50:27] local.INFO: Processing buffer {"connection_id":191685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:50:27] local.INFO: IMEI packet received {"connection_id":191685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":191685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:50:32] local.INFO: TCP Data received {"connection_id":191685,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:50:32] local.INFO: Processing buffer {"connection_id":191685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:50:32] local.INFO: IMEI packet received {"connection_id":191685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":191685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:50:33] local.INFO: TCP Data received {"connection_id":191685,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:50:33] local.INFO: Processing buffer {"connection_id":191685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:50:33] local.INFO: Packet analysis {"connection_id":191685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:50:33] local.INFO: Extracted packet for processing {"connection_id":191685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:50:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307260416001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790263037000,"timestamp_ms":1790263037000,"timestamp_seconds":1790263037,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fe0c48"} 
[2026-09-24 20:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307260416001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307260416001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:50:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:50:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307260416001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":191685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:50:33] local.INFO: GPS data processed {"connection_id":191685,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:50:33] local.INFO: Acknowledgment sent {"connection_id":191685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:50:53] local.INFO: TCP Data received {"connection_id":193053,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:50:53] local.INFO: Processing buffer {"connection_id":193053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:50:53] local.INFO: Packet analysis {"connection_id":193053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:50:53] local.INFO: Extracted packet for processing {"connection_id":193053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:50:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307276032001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790263098000,"timestamp_ms":1790263098000,"timestamp_seconds":1790263098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fefa90"} 
[2026-09-24 20:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":193053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":193053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":193053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307276032001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307276032001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:50:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:50:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307276032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":193053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:50:53] local.INFO: GPS data processed {"connection_id":193053,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:50:53] local.INFO: Acknowledgment sent {"connection_id":193053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:51:05] local.INFO: TCP Data received {"connection_id":191685,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:51:05] local.INFO: Processing buffer {"connection_id":191685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:51:05] local.INFO: Packet analysis {"connection_id":191685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:51:05] local.INFO: Extracted packet for processing {"connection_id":191685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:51:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307260416001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790263037000,"timestamp_ms":1790263037000,"timestamp_seconds":1790263037,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fe0c48"} 
[2026-09-24 20:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:51: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-09-24 20:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:51: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-09-24 20: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-09-24 20:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307260416001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307260416001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:51:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:51:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307260416001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":191685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":891999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:51:05] local.INFO: GPS data processed {"connection_id":191685,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:51:05] local.INFO: Acknowledgment sent {"connection_id":191685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:51:16] local.INFO: TCP Data received {"connection_id":194352,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:51:16] local.INFO: Processing buffer {"connection_id":194352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:51:16] local.INFO: IMEI packet received {"connection_id":194352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":194352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:51:19] local.INFO: TCP Data received {"connection_id":191492,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:51:19] local.INFO: Processing buffer {"connection_id":191492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:51:19] local.INFO: IMEI packet received {"connection_id":191492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 20:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":191492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:51:21] local.INFO: TCP Data received {"connection_id":194352,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:51:21] local.INFO: Processing buffer {"connection_id":194352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:51:21] local.INFO: IMEI packet received {"connection_id":194352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":194352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:51:22] local.INFO: TCP Data received {"connection_id":194352,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:51:22] local.INFO: Processing buffer {"connection_id":194352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:51:22] local.INFO: Packet analysis {"connection_id":194352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:51:22] local.INFO: Extracted packet for processing {"connection_id":194352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:51:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307276032001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790263098000,"timestamp_ms":1790263098000,"timestamp_seconds":1790263098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fefa90"} 
[2026-09-24 20:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307276032001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307276032001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:51:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:51:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307276032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":194352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:51:22] local.INFO: GPS data processed {"connection_id":194352,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:51:22] local.INFO: Acknowledgment sent {"connection_id":194352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:51:27] local.INFO: TCP Data received {"connection_id":193054,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:51:27] local.INFO: Processing buffer {"connection_id":193054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:51:27] local.INFO: IMEI packet received {"connection_id":193054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":193054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:51:32] local.INFO: TCP Data received {"connection_id":193054,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:51:32] local.INFO: Processing buffer {"connection_id":193054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:51:32] local.INFO: IMEI packet received {"connection_id":193054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":193054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:51:33] local.INFO: TCP Data received {"connection_id":193054,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:51:33] local.INFO: Processing buffer {"connection_id":193054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:51:33] local.INFO: Packet analysis {"connection_id":193054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:51:33] local.INFO: Extracted packet for processing {"connection_id":193054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:51:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 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-09-24 20:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307260416001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790263037000,"timestamp_ms":1790263037000,"timestamp_seconds":1790263037,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fe0c48"} 
[2026-09-24 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-09-24 20:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 20:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307260416001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307260416001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:51:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:51:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307260416001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":193054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:51:33] local.INFO: GPS data processed {"connection_id":193054,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:51:33] local.INFO: Acknowledgment sent {"connection_id":193054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:51:46] local.INFO: TCP Data received {"connection_id":191494,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:51:46] local.INFO: Processing buffer {"connection_id":191494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:51:46] local.INFO: IMEI packet received {"connection_id":191494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 20:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":191494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:51:53] local.INFO: TCP Data received {"connection_id":194352,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:51:53] local.INFO: Processing buffer {"connection_id":194352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:51:53] local.INFO: Packet analysis {"connection_id":194352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:51:53] local.INFO: Extracted packet for processing {"connection_id":194352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:51:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307276032001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790263098000,"timestamp_ms":1790263098000,"timestamp_seconds":1790263098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fefa90"} 
[2026-09-24 20:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307276032001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307276032001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:51:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:51:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307276032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":194352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:51:53] local.INFO: GPS data processed {"connection_id":194352,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:51:53] local.INFO: Acknowledgment sent {"connection_id":194352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:52:04] local.INFO: TCP Data received {"connection_id":193054,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:52:04] local.INFO: Processing buffer {"connection_id":193054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:52:04] local.INFO: Packet analysis {"connection_id":193054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:52:04] local.INFO: Extracted packet for processing {"connection_id":193054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:52:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307260416001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790263037000,"timestamp_ms":1790263037000,"timestamp_seconds":1790263037,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fe0c48"} 
[2026-09-24 20:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:52: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-09-24 20:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:52: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-09-24 20:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307260416001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307260416001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:52:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:52:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307260416001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":193054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:52:04] local.INFO: GPS data processed {"connection_id":193054,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:52:04] local.INFO: Acknowledgment sent {"connection_id":193054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:52:15] local.INFO: TCP Data received {"connection_id":191495,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191495,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:52:15] local.INFO: Processing buffer {"connection_id":191495,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:52:15] local.INFO: IMEI packet received {"connection_id":191495,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 20:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":191495,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:52:20] local.INFO: TCP Data received {"connection_id":193055,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:52:20] local.INFO: Processing buffer {"connection_id":193055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:52:20] local.INFO: IMEI packet received {"connection_id":193055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":193055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:52:26] local.INFO: TCP Data received {"connection_id":193055,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:52:26] local.INFO: Processing buffer {"connection_id":193055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:52:26] local.INFO: IMEI packet received {"connection_id":193055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":193055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:52:27] local.INFO: TCP Data received {"connection_id":193055,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:52:27] local.INFO: Processing buffer {"connection_id":193055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:52:27] local.INFO: Packet analysis {"connection_id":193055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:52:27] local.INFO: Extracted packet for processing {"connection_id":193055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:52:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307276032001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790263098000,"timestamp_ms":1790263098000,"timestamp_seconds":1790263098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fefa90"} 
[2026-09-24 20:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":193055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":193055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":193055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307276032001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307276032001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:52:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:52:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307276032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":193055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:52:27] local.INFO: GPS data processed {"connection_id":193055,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:52:27] local.INFO: Acknowledgment sent {"connection_id":193055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:52:27] local.INFO: TCP Data received {"connection_id":194353,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:52:27] local.INFO: Processing buffer {"connection_id":194353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:52:27] local.INFO: IMEI packet received {"connection_id":194353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":194353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:52:32] local.INFO: TCP Data received {"connection_id":194353,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:52:32] local.INFO: Processing buffer {"connection_id":194353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:52:32] local.INFO: IMEI packet received {"connection_id":194353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":194353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:52:33] local.INFO: TCP Data received {"connection_id":194353,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:52:33] local.INFO: Processing buffer {"connection_id":194353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fe0c48012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:52:33] local.INFO: Packet analysis {"connection_id":194353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:52:33] local.INFO: Extracted packet for processing {"connection_id":194353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:52:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307260416001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790263037000,"timestamp_ms":1790263037000,"timestamp_seconds":1790263037,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fe0c48"} 
[2026-09-24 20:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 20:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307260416001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307260416001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:52:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:52:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307260416001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":194353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:52:33] local.INFO: GPS data processed {"connection_id":194353,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:52:33] local.INFO: Acknowledgment sent {"connection_id":194353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:52:58] local.INFO: TCP Data received {"connection_id":193055,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:52:58] local.INFO: Processing buffer {"connection_id":193055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:52:58] local.INFO: Packet analysis {"connection_id":193055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:52:58] local.INFO: Extracted packet for processing {"connection_id":193055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:52:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307276032001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790263098000,"timestamp_ms":1790263098000,"timestamp_seconds":1790263098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fefa90"} 
[2026-09-24 20:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":193055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":193055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":193055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307276032001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307276032001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:52:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:52:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307276032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":193055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:52:58] local.INFO: GPS data processed {"connection_id":193055,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:52:58] local.INFO: Acknowledgment sent {"connection_id":193055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:53:04] local.INFO: TCP Data received {"connection_id":194353,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:53:04] local.INFO: Processing buffer {"connection_id":194353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:53:04] local.INFO: Packet analysis {"connection_id":194353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d402"} 
[2026-09-24 20:53:04] local.INFO: Extracted packet for processing {"connection_id":194353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d402"} 
[2026-09-24 20:53:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307337472001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790263338000,"timestamp_ms":1790263338000,"timestamp_seconds":1790263338,"priority":1,"record_length":96,"hex_timestamp":"000001a0d402a410"} 
[2026-09-24 20:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:53: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-09-24 20:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 20:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307337472001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307337472001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:53:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:53:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307337472001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":194353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:53:04] local.INFO: GPS data processed {"connection_id":194353,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:53:04] local.INFO: Acknowledgment sent {"connection_id":194353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:53:15] local.INFO: TCP Data received {"connection_id":191686,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:53:16] local.INFO: Processing buffer {"connection_id":191686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:53:16] local.INFO: IMEI packet received {"connection_id":191686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":191686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:53:21] local.INFO: TCP Data received {"connection_id":191686,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:53:21] local.INFO: Processing buffer {"connection_id":191686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:53:21] local.INFO: IMEI packet received {"connection_id":191686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":191686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:53:22] local.INFO: TCP Data received {"connection_id":191686,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:53:22] local.INFO: Processing buffer {"connection_id":191686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:53:22] local.INFO: Packet analysis {"connection_id":191686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:53:22] local.INFO: Extracted packet for processing {"connection_id":191686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:53:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307276032001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790263098000,"timestamp_ms":1790263098000,"timestamp_seconds":1790263098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fefa90"} 
[2026-09-24 20:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307276032001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307276032001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:53:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:53:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307276032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":191686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:53:22] local.INFO: GPS data processed {"connection_id":191686,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:53:22] local.INFO: Acknowledgment sent {"connection_id":191686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:53:28] local.INFO: TCP Data received {"connection_id":194355,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:53:28] local.INFO: Processing buffer {"connection_id":194355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:53:28] local.INFO: IMEI packet received {"connection_id":194355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":194355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:53:32] local.INFO: TCP Data received {"connection_id":194355,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:53:32] local.INFO: Processing buffer {"connection_id":194355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:53:32] local.INFO: IMEI packet received {"connection_id":194355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":194355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:53:33] local.INFO: TCP Data received {"connection_id":194355,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:53:33] local.INFO: Processing buffer {"connection_id":194355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:53:33] local.INFO: Packet analysis {"connection_id":194355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d402"} 
[2026-09-24 20:53:33] local.INFO: Extracted packet for processing {"connection_id":194355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d402"} 
[2026-09-24 20:53:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307337472001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790263338000,"timestamp_ms":1790263338000,"timestamp_seconds":1790263338,"priority":1,"record_length":96,"hex_timestamp":"000001a0d402a410"} 
[2026-09-24 20:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 20:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307337472001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307337472001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:53:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:53:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307337472001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":194355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:53:33] local.INFO: GPS data processed {"connection_id":194355,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:53:33] local.INFO: Acknowledgment sent {"connection_id":194355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:53:53] local.INFO: TCP Data received {"connection_id":191686,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:53:53] local.INFO: Processing buffer {"connection_id":191686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d3fefa90012d196500071fef18003b004828..."} 
[2026-09-24 20:53:53] local.INFO: Packet analysis {"connection_id":191686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:53:53] local.INFO: Extracted packet for processing {"connection_id":191686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d3fe"} 
[2026-09-24 20:53:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307276032001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790263098000,"timestamp_ms":1790263098000,"timestamp_seconds":1790263098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d3fefa90"} 
[2026-09-24 20:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307276032001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307276032001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:53:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:53:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307276032001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":191686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:53:53] local.INFO: GPS data processed {"connection_id":191686,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:53:53] local.INFO: Acknowledgment sent {"connection_id":191686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:54:04] local.INFO: TCP Data received {"connection_id":194355,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:54:04] local.INFO: Processing buffer {"connection_id":194355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:54:04] local.INFO: Packet analysis {"connection_id":194355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d402"} 
[2026-09-24 20:54:04] local.INFO: Extracted packet for processing {"connection_id":194355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d402"} 
[2026-09-24 20:54:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 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-09-24 20:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307337472001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790263338000,"timestamp_ms":1790263338000,"timestamp_seconds":1790263338,"priority":1,"record_length":96,"hex_timestamp":"000001a0d402a410"} 
[2026-09-24 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-09-24 20:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 20:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 20:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307337472001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307337472001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:54:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:54:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307337472001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":194355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:54:04] local.INFO: GPS data processed {"connection_id":194355,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:54:04] local.INFO: Acknowledgment sent {"connection_id":194355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:54:15] local.INFO: TCP Data received {"connection_id":191496,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:54:15] local.INFO: Processing buffer {"connection_id":191496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:54:15] local.INFO: IMEI packet received {"connection_id":191496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":191496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:54:21] local.INFO: TCP Data received {"connection_id":191496,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:54:21] local.INFO: Processing buffer {"connection_id":191496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:54:21] local.INFO: IMEI packet received {"connection_id":191496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":191496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:54:22] local.INFO: TCP Data received {"connection_id":191496,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:54:22] local.INFO: Processing buffer {"connection_id":191496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:54:22] local.INFO: Packet analysis {"connection_id":191496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d403"} 
[2026-09-24 20:54:22] local.INFO: Extracted packet for processing {"connection_id":191496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d403"} 
[2026-09-24 20:54:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307353088001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790263399000,"timestamp_ms":1790263399000,"timestamp_seconds":1790263399,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4039258"} 
[2026-09-24 20:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307353088001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307353088001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:54:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:54:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307353088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":191496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:54:22] local.INFO: GPS data processed {"connection_id":191496,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:54:22] local.INFO: Acknowledgment sent {"connection_id":191496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:54:27] local.INFO: TCP Data received {"connection_id":193056,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:54:27] local.INFO: Processing buffer {"connection_id":193056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:54:27] local.INFO: IMEI packet received {"connection_id":193056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":193056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:54:32] local.INFO: TCP Data received {"connection_id":193056,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:54:32] local.INFO: Processing buffer {"connection_id":193056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:54:32] local.INFO: IMEI packet received {"connection_id":193056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":193056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:54:33] local.INFO: TCP Data received {"connection_id":193056,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:54:33] local.INFO: Processing buffer {"connection_id":193056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:54:33] local.INFO: Packet analysis {"connection_id":193056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d402"} 
[2026-09-24 20:54:33] local.INFO: Extracted packet for processing {"connection_id":193056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d402"} 
[2026-09-24 20:54:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307337472001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790263338000,"timestamp_ms":1790263338000,"timestamp_seconds":1790263338,"priority":1,"record_length":96,"hex_timestamp":"000001a0d402a410"} 
[2026-09-24 20:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 20:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307337472001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307337472001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:54:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:54:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307337472001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":193056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:54:33] local.INFO: GPS data processed {"connection_id":193056,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:54:33] local.INFO: Acknowledgment sent {"connection_id":193056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:54:52] local.INFO: TCP Data received {"connection_id":191496,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:54:52] local.INFO: Processing buffer {"connection_id":191496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:54:52] local.INFO: Packet analysis {"connection_id":191496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d403"} 
[2026-09-24 20:54:52] local.INFO: Extracted packet for processing {"connection_id":191496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d403"} 
[2026-09-24 20:54:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307353088001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790263399000,"timestamp_ms":1790263399000,"timestamp_seconds":1790263399,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4039258"} 
[2026-09-24 20:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307353088001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307353088001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:54:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:54:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307353088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":191496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:54:52] local.INFO: GPS data processed {"connection_id":191496,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:54:52] local.INFO: Acknowledgment sent {"connection_id":191496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:55:05] local.INFO: TCP Data received {"connection_id":193056,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:55:05] local.INFO: Processing buffer {"connection_id":193056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:55:05] local.INFO: Packet analysis {"connection_id":193056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d402"} 
[2026-09-24 20:55:05] local.INFO: Extracted packet for processing {"connection_id":193056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d402"} 
[2026-09-24 20:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307337472001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790263338000,"timestamp_ms":1790263338000,"timestamp_seconds":1790263338,"priority":1,"record_length":96,"hex_timestamp":"000001a0d402a410"} 
[2026-09-24 20:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 20:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307337472001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307337472001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:55:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:55:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307337472001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":193056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:55:05] local.INFO: GPS data processed {"connection_id":193056,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:55:05] local.INFO: Acknowledgment sent {"connection_id":193056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:55:21] local.INFO: TCP Data received {"connection_id":191498,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:55:21] local.INFO: Processing buffer {"connection_id":191498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:55:21] local.INFO: IMEI packet received {"connection_id":191498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":191498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:55:26] local.INFO: TCP Data received {"connection_id":191498,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:55:26] local.INFO: Processing buffer {"connection_id":191498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:55:26] local.INFO: IMEI packet received {"connection_id":191498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":191498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:55:27] local.INFO: TCP Data received {"connection_id":191498,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:55:27] local.INFO: Processing buffer {"connection_id":191498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:55:27] local.INFO: Packet analysis {"connection_id":191498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d403"} 
[2026-09-24 20:55:27] local.INFO: Extracted packet for processing {"connection_id":191498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d403"} 
[2026-09-24 20:55:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307353088001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790263399000,"timestamp_ms":1790263399000,"timestamp_seconds":1790263399,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4039258"} 
[2026-09-24 20:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307353088001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307353088001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:55:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:55:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307353088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":191498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:55:27] local.INFO: GPS data processed {"connection_id":191498,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:55:27] local.INFO: Acknowledgment sent {"connection_id":191498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:55:27] local.INFO: TCP Data received {"connection_id":194357,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:55:27] local.INFO: Processing buffer {"connection_id":194357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:55:27] local.INFO: IMEI packet received {"connection_id":194357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":194357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:55:31] local.INFO: TCP Data received {"connection_id":191498,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:55:31] local.INFO: Processing buffer {"connection_id":191498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:55:31] local.INFO: Packet analysis {"connection_id":191498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d403"} 
[2026-09-24 20:55:31] local.INFO: Extracted packet for processing {"connection_id":191498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d403"} 
[2026-09-24 20:55:31] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 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-09-24 20:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307353088001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790263399000,"timestamp_ms":1790263399000,"timestamp_seconds":1790263399,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4039258"} 
[2026-09-24 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-09-24 20:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 20:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":191498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":191498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":191498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307353088001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307353088001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:55:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:55:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307353088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":191498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:55:31] local.INFO: GPS data processed {"connection_id":191498,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:55:31] local.INFO: Acknowledgment sent {"connection_id":191498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:55:32] local.INFO: TCP Data received {"connection_id":194357,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:55:32] local.INFO: Processing buffer {"connection_id":194357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:55:32] local.INFO: IMEI packet received {"connection_id":194357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":194357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:55:33] local.INFO: TCP Data received {"connection_id":194357,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:55:33] local.INFO: Processing buffer {"connection_id":194357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:55:33] local.INFO: Packet analysis {"connection_id":194357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d402"} 
[2026-09-24 20:55:33] local.INFO: Extracted packet for processing {"connection_id":194357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d402"} 
[2026-09-24 20:55:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307337472001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790263338000,"timestamp_ms":1790263338000,"timestamp_seconds":1790263338,"priority":1,"record_length":96,"hex_timestamp":"000001a0d402a410"} 
[2026-09-24 20:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:55:33] local.INFO: IO Element 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-09-24 20:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307337472001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307337472001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:55:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:55:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307337472001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":194357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:55:33] local.INFO: GPS data processed {"connection_id":194357,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:55:33] local.INFO: Acknowledgment sent {"connection_id":194357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:56:05] local.INFO: TCP Data received {"connection_id":194357,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:56:05] local.INFO: Processing buffer {"connection_id":194357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:56:05] local.INFO: Packet analysis {"connection_id":194357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d402"} 
[2026-09-24 20:56:05] local.INFO: Extracted packet for processing {"connection_id":194357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d402"} 
[2026-09-24 20:56:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307337472001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790263338000,"timestamp_ms":1790263338000,"timestamp_seconds":1790263338,"priority":1,"record_length":96,"hex_timestamp":"000001a0d402a410"} 
[2026-09-24 20:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 20:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307337472001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307337472001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:56:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:56:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307337472001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":194357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:56:05] local.INFO: GPS data processed {"connection_id":194357,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:56:05] local.INFO: Acknowledgment sent {"connection_id":194357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:56:16] local.INFO: TCP Data received {"connection_id":191499,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:56:16] local.INFO: Processing buffer {"connection_id":191499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:56:16] local.INFO: IMEI packet received {"connection_id":191499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":191499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:56:21] local.INFO: TCP Data received {"connection_id":191499,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:56:21] local.INFO: Processing buffer {"connection_id":191499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:56:21] local.INFO: IMEI packet received {"connection_id":191499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":191499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:56:22] local.INFO: TCP Data received {"connection_id":191499,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:56:22] local.INFO: Processing buffer {"connection_id":191499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:56:22] local.INFO: Packet analysis {"connection_id":191499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d403"} 
[2026-09-24 20:56:22] local.INFO: Extracted packet for processing {"connection_id":191499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d403"} 
[2026-09-24 20:56:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307353088001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790263399000,"timestamp_ms":1790263399000,"timestamp_seconds":1790263399,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4039258"} 
[2026-09-24 20:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307353088001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307353088001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:56:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:56:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307353088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":191499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:56:22] local.INFO: GPS data processed {"connection_id":191499,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:56:22] local.INFO: Acknowledgment sent {"connection_id":191499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:56:27] local.INFO: TCP Data received {"connection_id":191687,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:56:27] local.INFO: Processing buffer {"connection_id":191687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:56:27] local.INFO: IMEI packet received {"connection_id":191687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":191687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:56:32] local.INFO: TCP Data received {"connection_id":191687,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:56:32] local.INFO: Processing buffer {"connection_id":191687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:56:32] local.INFO: IMEI packet received {"connection_id":191687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":191687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:56:33] local.INFO: TCP Data received {"connection_id":191687,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:56:33] local.INFO: Processing buffer {"connection_id":191687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:56:33] local.INFO: Packet analysis {"connection_id":191687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d402"} 
[2026-09-24 20:56:33] local.INFO: Extracted packet for processing {"connection_id":191687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d402"} 
[2026-09-24 20:56:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307337472001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790263338000,"timestamp_ms":1790263338000,"timestamp_seconds":1790263338,"priority":1,"record_length":96,"hex_timestamp":"000001a0d402a410"} 
[2026-09-24 20:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 20:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307337472001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307337472001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:56:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:56:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307337472001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":191687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:56:33] local.INFO: GPS data processed {"connection_id":191687,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:56:33] local.INFO: Acknowledgment sent {"connection_id":191687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:56:53] local.INFO: TCP Data received {"connection_id":191499,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:56:53] local.INFO: Processing buffer {"connection_id":191499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:56:53] local.INFO: Packet analysis {"connection_id":191499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d403"} 
[2026-09-24 20:56:53] local.INFO: Extracted packet for processing {"connection_id":191499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d403"} 
[2026-09-24 20:56:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307353088001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790263399000,"timestamp_ms":1790263399000,"timestamp_seconds":1790263399,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4039258"} 
[2026-09-24 20:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307353088001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307353088001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:56:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:56:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307353088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":191499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:56:53] local.INFO: GPS data processed {"connection_id":191499,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:56:53] local.INFO: Acknowledgment sent {"connection_id":191499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:57:04] local.INFO: TCP Data received {"connection_id":191687,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:57:04] local.INFO: Processing buffer {"connection_id":191687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:57:04] local.INFO: Packet analysis {"connection_id":191687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d402"} 
[2026-09-24 20:57:04] local.INFO: Extracted packet for processing {"connection_id":191687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d402"} 
[2026-09-24 20:57:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307337472001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790263338000,"timestamp_ms":1790263338000,"timestamp_seconds":1790263338,"priority":1,"record_length":96,"hex_timestamp":"000001a0d402a410"} 
[2026-09-24 20:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:57: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-09-24 20:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 20:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307337472001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307337472001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:57:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:57:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307337472001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":191687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:57:05] local.INFO: GPS data processed {"connection_id":191687,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:57:05] local.INFO: Acknowledgment sent {"connection_id":191687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:57:16] local.INFO: TCP Data received {"connection_id":191500,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:57:16] local.INFO: Processing buffer {"connection_id":191500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:57:16] local.INFO: IMEI packet received {"connection_id":191500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":191500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:57:17] local.INFO: TCP Data received {"connection_id":191688,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:57:17] local.INFO: Processing buffer {"connection_id":191688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 20:57:17] local.INFO: IMEI packet received {"connection_id":191688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 20:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":191688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:57:21] local.INFO: TCP Data received {"connection_id":191500,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:57:21] local.INFO: Processing buffer {"connection_id":191500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:57:21] local.INFO: IMEI packet received {"connection_id":191500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":191500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:57:22] local.INFO: TCP Data received {"connection_id":191500,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:57:22] local.INFO: Processing buffer {"connection_id":191500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:57:22] local.INFO: Packet analysis {"connection_id":191500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d403"} 
[2026-09-24 20:57:22] local.INFO: Extracted packet for processing {"connection_id":191500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d403"} 
[2026-09-24 20:57:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307353088001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790263399000,"timestamp_ms":1790263399000,"timestamp_seconds":1790263399,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4039258"} 
[2026-09-24 20:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307353088001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307353088001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:57:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:57:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307353088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":191500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:57:22] local.INFO: GPS data processed {"connection_id":191500,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:57:22] local.INFO: Acknowledgment sent {"connection_id":191500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:57:33] local.INFO: TCP Data received {"connection_id":193057,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:57:33] local.INFO: Processing buffer {"connection_id":193057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:57:33] local.INFO: IMEI packet received {"connection_id":193057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":193057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:57:38] local.INFO: TCP Data received {"connection_id":193057,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:57:38] local.INFO: Processing buffer {"connection_id":193057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:57:38] local.INFO: IMEI packet received {"connection_id":193057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":193057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:57:39] local.INFO: TCP Data received {"connection_id":193057,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:57:39] local.INFO: Processing buffer {"connection_id":193057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:57:39] local.INFO: Packet analysis {"connection_id":193057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d402"} 
[2026-09-24 20:57:39] local.INFO: Extracted packet for processing {"connection_id":193057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d402"} 
[2026-09-24 20:57:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307337472001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790263338000,"timestamp_ms":1790263338000,"timestamp_seconds":1790263338,"priority":1,"record_length":96,"hex_timestamp":"000001a0d402a410"} 
[2026-09-24 20:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 20:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307337472001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307337472001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:57:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:57:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307337472001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":193057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:57:39] local.INFO: GPS data processed {"connection_id":193057,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:57:39] local.INFO: Acknowledgment sent {"connection_id":193057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:57:43] local.INFO: TCP Data received {"connection_id":193057,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:57:43] local.INFO: Processing buffer {"connection_id":193057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d402a410012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:57:43] local.INFO: Packet analysis {"connection_id":193057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d402"} 
[2026-09-24 20:57:43] local.INFO: Extracted packet for processing {"connection_id":193057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d402"} 
[2026-09-24 20:57:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307337472001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790263338000,"timestamp_ms":1790263338000,"timestamp_seconds":1790263338,"priority":1,"record_length":96,"hex_timestamp":"000001a0d402a410"} 
[2026-09-24 20:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 20:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307337472001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307337472001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:57:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:57:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307337472001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":193057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:57:43] local.INFO: GPS data processed {"connection_id":193057,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:57:43] local.INFO: Acknowledgment sent {"connection_id":193057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:57:53] local.INFO: TCP Data received {"connection_id":191500,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:57:53] local.INFO: Processing buffer {"connection_id":191500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:57:53] local.INFO: Packet analysis {"connection_id":191500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d403"} 
[2026-09-24 20:57:53] local.INFO: Extracted packet for processing {"connection_id":191500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d403"} 
[2026-09-24 20:57:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307353088001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790263399000,"timestamp_ms":1790263399000,"timestamp_seconds":1790263399,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4039258"} 
[2026-09-24 20:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20: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-09-24 20:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307353088001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307353088001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:57:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:57:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307353088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":191500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:57:53] local.INFO: GPS data processed {"connection_id":191500,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:57:53] local.INFO: Acknowledgment sent {"connection_id":191500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:58:15] local.INFO: TCP Data received {"connection_id":193059,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:58:15] local.INFO: Processing buffer {"connection_id":193059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:58:15] local.INFO: IMEI packet received {"connection_id":193059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":193059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:58:21] local.INFO: TCP Data received {"connection_id":193059,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:58:21] local.INFO: Processing buffer {"connection_id":193059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:58:21] local.INFO: IMEI packet received {"connection_id":193059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":193059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:58:22] local.INFO: TCP Data received {"connection_id":193059,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:58:22] local.INFO: Processing buffer {"connection_id":193059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:58:22] local.INFO: Packet analysis {"connection_id":193059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d403"} 
[2026-09-24 20:58:22] local.INFO: Extracted packet for processing {"connection_id":193059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d403"} 
[2026-09-24 20:58:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307353088001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790263399000,"timestamp_ms":1790263399000,"timestamp_seconds":1790263399,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4039258"} 
[2026-09-24 20:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307353088001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307353088001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:58:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:58:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307353088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":193059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:58:22] local.INFO: GPS data processed {"connection_id":193059,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:58:22] local.INFO: Acknowledgment sent {"connection_id":193059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:58:27] local.INFO: TCP Data received {"connection_id":191501,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:58:27] local.INFO: Processing buffer {"connection_id":191501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:58:27] local.INFO: IMEI packet received {"connection_id":191501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":191501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:58:32] local.INFO: TCP Data received {"connection_id":191501,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:58:32] local.INFO: Processing buffer {"connection_id":191501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:58:32] local.INFO: IMEI packet received {"connection_id":191501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":191501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:58:34] local.INFO: TCP Data received {"connection_id":191501,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:58:34] local.INFO: Processing buffer {"connection_id":191501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:58:34] local.INFO: Packet analysis {"connection_id":191501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d407"} 
[2026-09-24 20:58:34] local.INFO: Extracted packet for processing {"connection_id":191501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d407"} 
[2026-09-24 20:58:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307414528001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790263639000,"timestamp_ms":1790263639000,"timestamp_seconds":1790263639,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4073bd8"} 
[2026-09-24 20:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 20:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307414528001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307414528001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:58:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:58:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307414528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":191501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:58:34] local.INFO: GPS data processed {"connection_id":191501,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:58:34] local.INFO: Acknowledgment sent {"connection_id":191501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:58:53] local.INFO: TCP Data received {"connection_id":193059,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:58:53] local.INFO: Processing buffer {"connection_id":193059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4039258012d196500071fef18003b004827..."} 
[2026-09-24 20:58:53] local.INFO: Packet analysis {"connection_id":193059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d403"} 
[2026-09-24 20:58:53] local.INFO: Extracted packet for processing {"connection_id":193059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d403"} 
[2026-09-24 20:58:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307353088001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790263399000,"timestamp_ms":1790263399000,"timestamp_seconds":1790263399,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4039258"} 
[2026-09-24 20:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":193059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":193059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":193059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307353088001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307353088001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:58:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:58:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307353088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":193059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:58:53] local.INFO: GPS data processed {"connection_id":193059,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:58:53] local.INFO: Acknowledgment sent {"connection_id":193059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:59:05] local.INFO: TCP Data received {"connection_id":191501,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:59:05] local.INFO: Processing buffer {"connection_id":191501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:59:05] local.INFO: Packet analysis {"connection_id":191501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d407"} 
[2026-09-24 20:59:05] local.INFO: Extracted packet for processing {"connection_id":191501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d407"} 
[2026-09-24 20:59:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20: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-09-24 20:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307414528001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790263639000,"timestamp_ms":1790263639000,"timestamp_seconds":1790263639,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4073bd8"} 
[2026-09-24 20:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 20:59: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-09-24 20: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-09-24 20:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307414528001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307414528001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:59:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:59:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307414528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":191501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:59:05] local.INFO: GPS data processed {"connection_id":191501,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:59:05] local.INFO: Acknowledgment sent {"connection_id":191501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:59:15] local.INFO: TCP Data received {"connection_id":193060,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:59:16] local.INFO: Processing buffer {"connection_id":193060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:59:16] local.INFO: IMEI packet received {"connection_id":193060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 20:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":193060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:59:21] local.INFO: TCP Data received {"connection_id":193060,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:59:21] local.INFO: Processing buffer {"connection_id":193060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 20:59:21] local.INFO: IMEI packet received {"connection_id":193060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 20:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":193060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:59:22] local.INFO: TCP Data received {"connection_id":193060,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 20:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 20:59:22] local.INFO: Processing buffer {"connection_id":193060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 20:59:22] local.INFO: Packet analysis {"connection_id":193060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d408"} 
[2026-09-24 20:59:22] local.INFO: Extracted packet for processing {"connection_id":193060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d408"} 
[2026-09-24 20:59:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307430144001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790263700000,"timestamp_ms":1790263700000,"timestamp_seconds":1790263700,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4082a20"} 
[2026-09-24 20:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307430144001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307430144001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:59:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:59:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307430144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":193060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:59:22] local.INFO: GPS data processed {"connection_id":193060,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:59:22] local.INFO: Acknowledgment sent {"connection_id":193060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:59:27] local.INFO: TCP Data received {"connection_id":191503,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:59:27] local.INFO: Processing buffer {"connection_id":191503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:59:27] local.INFO: IMEI packet received {"connection_id":191503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 20:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":191503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 20:59:32] local.INFO: TCP Data received {"connection_id":191503,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:59:32] local.INFO: Processing buffer {"connection_id":191503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 20:59:32] local.INFO: IMEI packet received {"connection_id":191503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 20:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":191503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 20:59:33] local.INFO: TCP Data received {"connection_id":191503,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:59:33] local.INFO: Processing buffer {"connection_id":191503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 20:59:33] local.INFO: Packet analysis {"connection_id":191503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d407"} 
[2026-09-24 20:59:33] local.INFO: Extracted packet for processing {"connection_id":191503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d407"} 
[2026-09-24 20:59:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 20:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307414528001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 20:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 20:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790263639000,"timestamp_ms":1790263639000,"timestamp_seconds":1790263639,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4073bd8"} 
[2026-09-24 20:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 20:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 20:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 20:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 20:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307414528001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 20:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 20:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 20:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307414528001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:59:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 20:59:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 20:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 20:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307414528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 20:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":191503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:59:33] local.INFO: GPS data processed {"connection_id":191503,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:59:33] local.INFO: Acknowledgment sent {"connection_id":191503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 20:59:53] local.INFO: TCP Data received {"connection_id":193060,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 20:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 20:59:53] local.INFO: Processing buffer {"connection_id":193060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 20:59:53] local.INFO: Packet analysis {"connection_id":193060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d408"} 
[2026-09-24 20:59:53] local.INFO: Extracted packet for processing {"connection_id":193060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d408"} 
[2026-09-24 20:59:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 20:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 20:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307430144001,"note":"Value kept but may cause issues"} 
[2026-09-24 20:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 20:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 20:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 20:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790263700000,"timestamp_ms":1790263700000,"timestamp_seconds":1790263700,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4082a20"} 
[2026-09-24 20:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 20:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 20:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 20:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 20:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 20:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 20:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 20:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":193060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 20:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":193060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":193060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 20:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 20:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 20:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 20:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307430144001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 20:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 20:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 20:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307430144001,"description":"Unknown IO ID 0"} 
[2026-09-24 20:59:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 20:59:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 20:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 20:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 20:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307430144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 20:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":193060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 20:59:53] local.INFO: GPS data processed {"connection_id":193060,"processed":1,"errors":0,"total":1} 
[2026-09-24 20:59:53] local.INFO: Acknowledgment sent {"connection_id":193060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:00:05] local.INFO: TCP Data received {"connection_id":191503,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:00:05] local.INFO: Processing buffer {"connection_id":191503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:00:05] local.INFO: Packet analysis {"connection_id":191503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d407"} 
[2026-09-24 21:00:05] local.INFO: Extracted packet for processing {"connection_id":191503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d407"} 
[2026-09-24 21:00:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307414528001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790263639000,"timestamp_ms":1790263639000,"timestamp_seconds":1790263639,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4073bd8"} 
[2026-09-24 21:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 21:00: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-09-24 21: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-09-24 21:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307414528001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307414528001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:00:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:00:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307414528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":191503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:00:05] local.INFO: GPS data processed {"connection_id":191503,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:00:05] local.INFO: Acknowledgment sent {"connection_id":191503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:00:21] local.INFO: TCP Data received {"connection_id":191504,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:00:21] local.INFO: Processing buffer {"connection_id":191504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:00:21] local.INFO: IMEI packet received {"connection_id":191504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":191504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:00:26] local.INFO: TCP Data received {"connection_id":191504,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:00:26] local.INFO: Processing buffer {"connection_id":191504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:00:26] local.INFO: IMEI packet received {"connection_id":191504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":191504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:00:27] local.INFO: TCP Data received {"connection_id":191504,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:00:27] local.INFO: Processing buffer {"connection_id":191504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:00:27] local.INFO: Packet analysis {"connection_id":191504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d408"} 
[2026-09-24 21:00:27] local.INFO: Extracted packet for processing {"connection_id":191504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d408"} 
[2026-09-24 21:00:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307430144001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790263700000,"timestamp_ms":1790263700000,"timestamp_seconds":1790263700,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4082a20"} 
[2026-09-24 21:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307430144001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307430144001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:00:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:00:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307430144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":191504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:00:27] local.INFO: GPS data processed {"connection_id":191504,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:00:27] local.INFO: Acknowledgment sent {"connection_id":191504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:00:27] local.INFO: TCP Data received {"connection_id":194359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:00:27] local.INFO: Processing buffer {"connection_id":194359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:00:27] local.INFO: IMEI packet received {"connection_id":194359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":194359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:00:31] local.INFO: TCP Data received {"connection_id":191504,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:00:31] local.INFO: Processing buffer {"connection_id":191504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:00:31] local.INFO: Packet analysis {"connection_id":191504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d408"} 
[2026-09-24 21:00:31] local.INFO: Extracted packet for processing {"connection_id":191504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d408"} 
[2026-09-24 21:00:31] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307430144001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790263700000,"timestamp_ms":1790263700000,"timestamp_seconds":1790263700,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4082a20"} 
[2026-09-24 21:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":191504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":191504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":191504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307430144001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307430144001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:00:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:00:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307430144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":191504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:00:31] local.INFO: GPS data processed {"connection_id":191504,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:00:31] local.INFO: Acknowledgment sent {"connection_id":191504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:00:32] local.INFO: TCP Data received {"connection_id":194359,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:00:32] local.INFO: Processing buffer {"connection_id":194359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:00:32] local.INFO: IMEI packet received {"connection_id":194359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":194359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:00:34] local.INFO: TCP Data received {"connection_id":194359,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:00:34] local.INFO: Processing buffer {"connection_id":194359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:00:34] local.INFO: Packet analysis {"connection_id":194359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d407"} 
[2026-09-24 21:00:34] local.INFO: Extracted packet for processing {"connection_id":194359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d407"} 
[2026-09-24 21:00:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307414528001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790263639000,"timestamp_ms":1790263639000,"timestamp_seconds":1790263639,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4073bd8"} 
[2026-09-24 21:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 21:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307414528001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307414528001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:00:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:00:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307414528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":194359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:00:34] local.INFO: GPS data processed {"connection_id":194359,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:00:34] local.INFO: Acknowledgment sent {"connection_id":194359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:01:05] local.INFO: TCP Data received {"connection_id":194359,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:01:05] local.INFO: Processing buffer {"connection_id":194359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:01:05] local.INFO: Packet analysis {"connection_id":194359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d407"} 
[2026-09-24 21:01:05] local.INFO: Extracted packet for processing {"connection_id":194359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d407"} 
[2026-09-24 21:01:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307414528001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790263639000,"timestamp_ms":1790263639000,"timestamp_seconds":1790263639,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4073bd8"} 
[2026-09-24 21:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 21:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307414528001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307414528001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:01:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:01:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307414528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":194359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:01:05] local.INFO: GPS data processed {"connection_id":194359,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:01:05] local.INFO: Acknowledgment sent {"connection_id":194359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:01:16] local.INFO: TCP Data received {"connection_id":194360,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:01:16] local.INFO: Processing buffer {"connection_id":194360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:01:16] local.INFO: IMEI packet received {"connection_id":194360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":194360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:01:21] local.INFO: TCP Data received {"connection_id":194360,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:01:21] local.INFO: Processing buffer {"connection_id":194360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:01:21] local.INFO: IMEI packet received {"connection_id":194360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":194360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:01:22] local.INFO: TCP Data received {"connection_id":194360,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:01:22] local.INFO: Processing buffer {"connection_id":194360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:01:22] local.INFO: Packet analysis {"connection_id":194360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d408"} 
[2026-09-24 21:01:22] local.INFO: Extracted packet for processing {"connection_id":194360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d408"} 
[2026-09-24 21:01:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307430144001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790263700000,"timestamp_ms":1790263700000,"timestamp_seconds":1790263700,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4082a20"} 
[2026-09-24 21:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307430144001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307430144001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:01:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:01:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307430144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":194360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:01:22] local.INFO: GPS data processed {"connection_id":194360,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:01:22] local.INFO: Acknowledgment sent {"connection_id":194360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:01:27] local.INFO: TCP Data received {"connection_id":191505,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:01:27] local.INFO: Processing buffer {"connection_id":191505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:01:27] local.INFO: IMEI packet received {"connection_id":191505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":191505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:01:32] local.INFO: TCP Data received {"connection_id":191505,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:01:32] local.INFO: Processing buffer {"connection_id":191505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:01:32] local.INFO: IMEI packet received {"connection_id":191505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":191505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:01:34] local.INFO: TCP Data received {"connection_id":191505,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:01:34] local.INFO: Processing buffer {"connection_id":191505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:01:34] local.INFO: Packet analysis {"connection_id":191505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d407"} 
[2026-09-24 21:01:34] local.INFO: Extracted packet for processing {"connection_id":191505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d407"} 
[2026-09-24 21:01:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307414528001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790263639000,"timestamp_ms":1790263639000,"timestamp_seconds":1790263639,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4073bd8"} 
[2026-09-24 21:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 21:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307414528001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307414528001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:01:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:01:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307414528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":191505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:01:34] local.INFO: GPS data processed {"connection_id":191505,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:01:34] local.INFO: Acknowledgment sent {"connection_id":191505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:01:53] local.INFO: TCP Data received {"connection_id":194360,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:01:53] local.INFO: Processing buffer {"connection_id":194360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:01:53] local.INFO: Packet analysis {"connection_id":194360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d408"} 
[2026-09-24 21:01:53] local.INFO: Extracted packet for processing {"connection_id":194360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d408"} 
[2026-09-24 21:01:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307430144001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790263700000,"timestamp_ms":1790263700000,"timestamp_seconds":1790263700,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4082a20"} 
[2026-09-24 21:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307430144001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307430144001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:01:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:01:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307430144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":194360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:01:53] local.INFO: GPS data processed {"connection_id":194360,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:01:53] local.INFO: Acknowledgment sent {"connection_id":194360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:02:05] local.INFO: TCP Data received {"connection_id":191505,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:02:05] local.INFO: Processing buffer {"connection_id":191505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:02:05] local.INFO: Packet analysis {"connection_id":191505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d407"} 
[2026-09-24 21:02:05] local.INFO: Extracted packet for processing {"connection_id":191505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d407"} 
[2026-09-24 21:02:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307414528001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790263639000,"timestamp_ms":1790263639000,"timestamp_seconds":1790263639,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4073bd8"} 
[2026-09-24 21:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 21:02: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-09-24 21:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307414528001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307414528001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:02:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:02:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307414528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":191505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:02:05] local.INFO: GPS data processed {"connection_id":191505,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:02:05] local.INFO: Acknowledgment sent {"connection_id":191505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:02:16] local.INFO: TCP Data received {"connection_id":193062,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:02:16] local.INFO: Processing buffer {"connection_id":193062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:02:16] local.INFO: IMEI packet received {"connection_id":193062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":193062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:02:21] local.INFO: TCP Data received {"connection_id":193062,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:02:21] local.INFO: Processing buffer {"connection_id":193062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:02:21] local.INFO: IMEI packet received {"connection_id":193062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":193062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:02:22] local.INFO: TCP Data received {"connection_id":193062,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:02:22] local.INFO: Processing buffer {"connection_id":193062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:02:22] local.INFO: Packet analysis {"connection_id":193062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d408"} 
[2026-09-24 21:02:22] local.INFO: Extracted packet for processing {"connection_id":193062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d408"} 
[2026-09-24 21:02:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307430144001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790263700000,"timestamp_ms":1790263700000,"timestamp_seconds":1790263700,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4082a20"} 
[2026-09-24 21:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307430144001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307430144001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:02:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:02:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307430144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":193062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:02:22] local.INFO: GPS data processed {"connection_id":193062,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:02:22] local.INFO: Acknowledgment sent {"connection_id":193062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:02:27] local.INFO: TCP Data received {"connection_id":191506,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:02:27] local.INFO: Processing buffer {"connection_id":191506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:02:27] local.INFO: IMEI packet received {"connection_id":191506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":191506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:02:32] local.INFO: TCP Data received {"connection_id":191506,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:02:32] local.INFO: Processing buffer {"connection_id":191506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:02:32] local.INFO: IMEI packet received {"connection_id":191506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":191506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:02:34] local.INFO: TCP Data received {"connection_id":191506,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:02:34] local.INFO: Processing buffer {"connection_id":191506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4073bd8012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:02:34] local.INFO: Packet analysis {"connection_id":191506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d407"} 
[2026-09-24 21:02:34] local.INFO: Extracted packet for processing {"connection_id":191506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d407"} 
[2026-09-24 21:02:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307414528001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790263639000,"timestamp_ms":1790263639000,"timestamp_seconds":1790263639,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4073bd8"} 
[2026-09-24 21:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 21:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307414528001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307414528001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:02:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:02:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307414528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":191506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:02:34] local.INFO: GPS data processed {"connection_id":191506,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:02:34] local.INFO: Acknowledgment sent {"connection_id":191506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:02:53] local.INFO: TCP Data received {"connection_id":193062,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:02:53] local.INFO: Processing buffer {"connection_id":193062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:02:53] local.INFO: Packet analysis {"connection_id":193062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d408"} 
[2026-09-24 21:02:53] local.INFO: Extracted packet for processing {"connection_id":193062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d408"} 
[2026-09-24 21:02:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307430144001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790263700000,"timestamp_ms":1790263700000,"timestamp_seconds":1790263700,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4082a20"} 
[2026-09-24 21:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":193062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":193062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":193062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307430144001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307430144001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:02:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:02:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307430144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":193062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:02:53] local.INFO: GPS data processed {"connection_id":193062,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:02:53] local.INFO: Acknowledgment sent {"connection_id":193062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:03:06] local.INFO: TCP Data received {"connection_id":191507,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191507,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:03:06] local.INFO: Processing buffer {"connection_id":191507,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:03:06] local.INFO: IMEI packet received {"connection_id":191507,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":191507,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:03:06] local.INFO: TCP Data received {"connection_id":191506,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:03:06] local.INFO: Processing buffer {"connection_id":191506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:03:06] local.INFO: Packet analysis {"connection_id":191506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d40b"} 
[2026-09-24 21:03:06] local.INFO: Extracted packet for processing {"connection_id":191506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d40b"} 
[2026-09-24 21:03:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307491584001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790263940000,"timestamp_ms":1790263940000,"timestamp_seconds":1790263940,"priority":1,"record_length":96,"hex_timestamp":"000001a0d40bd3a0"} 
[2026-09-24 21:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:03: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-09-24 21:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307491584001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307491584001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:03:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:03:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307491584001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":191506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:03:06] local.INFO: GPS data processed {"connection_id":191506,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:03:06] local.INFO: Acknowledgment sent {"connection_id":191506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:03:15] local.INFO: TCP Data received {"connection_id":194361,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:03:15] local.INFO: Processing buffer {"connection_id":194361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:03:15] local.INFO: IMEI packet received {"connection_id":194361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":194361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:03:21] local.INFO: TCP Data received {"connection_id":194361,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:03:21] local.INFO: Processing buffer {"connection_id":194361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:03:21] local.INFO: IMEI packet received {"connection_id":194361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":194361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:03:21] local.INFO: TCP Data received {"connection_id":194361,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:03:22] local.INFO: Processing buffer {"connection_id":194361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:03:22] local.INFO: Packet analysis {"connection_id":194361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d408"} 
[2026-09-24 21:03:22] local.INFO: Extracted packet for processing {"connection_id":194361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d408"} 
[2026-09-24 21:03:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307430144001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790263700000,"timestamp_ms":1790263700000,"timestamp_seconds":1790263700,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4082a20"} 
[2026-09-24 21:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307430144001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307430144001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:03:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:03:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307430144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":194361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:03:22] local.INFO: GPS data processed {"connection_id":194361,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:03:22] local.INFO: Acknowledgment sent {"connection_id":194361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:03:32] local.INFO: TCP Data received {"connection_id":191691,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:03:32] local.INFO: Processing buffer {"connection_id":191691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:03:32] local.INFO: IMEI packet received {"connection_id":191691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":191691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:03:37] local.INFO: TCP Data received {"connection_id":191691,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:03:37] local.INFO: Processing buffer {"connection_id":191691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:03:37] local.INFO: IMEI packet received {"connection_id":191691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":191691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:03:39] local.INFO: TCP Data received {"connection_id":191691,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:03:39] local.INFO: Processing buffer {"connection_id":191691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:03:39] local.INFO: Packet analysis {"connection_id":191691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d40b"} 
[2026-09-24 21:03:39] local.INFO: Extracted packet for processing {"connection_id":191691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d40b"} 
[2026-09-24 21:03:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307491584001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790263940000,"timestamp_ms":1790263940000,"timestamp_seconds":1790263940,"priority":1,"record_length":96,"hex_timestamp":"000001a0d40bd3a0"} 
[2026-09-24 21:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307491584001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307491584001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:03:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:03:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307491584001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":191691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:03:39] local.INFO: GPS data processed {"connection_id":191691,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:03:39] local.INFO: Acknowledgment sent {"connection_id":191691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:03:52] local.INFO: TCP Data received {"connection_id":194361,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:03:52] local.INFO: Processing buffer {"connection_id":194361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4082a20012d196500071fef18003b004828..."} 
[2026-09-24 21:03:52] local.INFO: Packet analysis {"connection_id":194361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d408"} 
[2026-09-24 21:03:52] local.INFO: Extracted packet for processing {"connection_id":194361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d408"} 
[2026-09-24 21:03:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307430144001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790263700000,"timestamp_ms":1790263700000,"timestamp_seconds":1790263700,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4082a20"} 
[2026-09-24 21:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":194361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":194361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":194361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307430144001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307430144001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:03:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:03:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307430144001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":194361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:03:52] local.INFO: GPS data processed {"connection_id":194361,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:03:52] local.INFO: Acknowledgment sent {"connection_id":194361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:04:10] local.INFO: TCP Data received {"connection_id":191691,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:04:10] local.INFO: Processing buffer {"connection_id":191691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:04:10] local.INFO: Packet analysis {"connection_id":191691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d40b"} 
[2026-09-24 21:04:10] local.INFO: Extracted packet for processing {"connection_id":191691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d40b"} 
[2026-09-24 21:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307491584001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790263940000,"timestamp_ms":1790263940000,"timestamp_seconds":1790263940,"priority":1,"record_length":96,"hex_timestamp":"000001a0d40bd3a0"} 
[2026-09-24 21:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307491584001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307491584001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:04:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:04:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307491584001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":191691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:04:10] local.INFO: GPS data processed {"connection_id":191691,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:04:10] local.INFO: Acknowledgment sent {"connection_id":191691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:04:15] local.INFO: TCP Data received {"connection_id":194363,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:04:15] local.INFO: Processing buffer {"connection_id":194363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:04:15] local.INFO: IMEI packet received {"connection_id":194363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":194363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:04:21] local.INFO: TCP Data received {"connection_id":194363,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:04:21] local.INFO: Processing buffer {"connection_id":194363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:04:21] local.INFO: IMEI packet received {"connection_id":194363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":194363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:04:22] local.INFO: TCP Data received {"connection_id":194363,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:04:22] local.INFO: Processing buffer {"connection_id":194363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:04:22] local.INFO: Packet analysis {"connection_id":194363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d40c"} 
[2026-09-24 21:04:22] local.INFO: Extracted packet for processing {"connection_id":194363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d40c"} 
[2026-09-24 21:04:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307507200001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790264001000,"timestamp_ms":1790264001000,"timestamp_seconds":1790264001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d40cc1e8"} 
[2026-09-24 21:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307507200001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307507200001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:04:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:04:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307507200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":194363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:04:22] local.INFO: GPS data processed {"connection_id":194363,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:04:22] local.INFO: Acknowledgment sent {"connection_id":194363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:04:27] local.INFO: TCP Data received {"connection_id":194364,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:04:27] local.INFO: Processing buffer {"connection_id":194364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:04:27] local.INFO: IMEI packet received {"connection_id":194364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":194364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:04:32] local.INFO: TCP Data received {"connection_id":194364,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:04:32] local.INFO: Processing buffer {"connection_id":194364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:04:32] local.INFO: IMEI packet received {"connection_id":194364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":194364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:04:33] local.INFO: TCP Data received {"connection_id":194364,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:04:33] local.INFO: Processing buffer {"connection_id":194364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:04:33] local.INFO: Packet analysis {"connection_id":194364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d40b"} 
[2026-09-24 21:04:33] local.INFO: Extracted packet for processing {"connection_id":194364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d40b"} 
[2026-09-24 21:04:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307491584001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790263940000,"timestamp_ms":1790263940000,"timestamp_seconds":1790263940,"priority":1,"record_length":96,"hex_timestamp":"000001a0d40bd3a0"} 
[2026-09-24 21:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307491584001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307491584001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:04:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:04:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307491584001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":194364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:04:33] local.INFO: GPS data processed {"connection_id":194364,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:04:33] local.INFO: Acknowledgment sent {"connection_id":194364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:04:53] local.INFO: TCP Data received {"connection_id":194363,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:04:53] local.INFO: Processing buffer {"connection_id":194363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:04:53] local.INFO: Packet analysis {"connection_id":194363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d40c"} 
[2026-09-24 21:04:53] local.INFO: Extracted packet for processing {"connection_id":194363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d40c"} 
[2026-09-24 21:04:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307507200001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790264001000,"timestamp_ms":1790264001000,"timestamp_seconds":1790264001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d40cc1e8"} 
[2026-09-24 21:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307507200001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307507200001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:04:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:04:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307507200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":194363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:04:53] local.INFO: GPS data processed {"connection_id":194363,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:04:53] local.INFO: Acknowledgment sent {"connection_id":194363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:05:04] local.INFO: TCP Data received {"connection_id":194364,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:05:04] local.INFO: Processing buffer {"connection_id":194364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:05:04] local.INFO: Packet analysis {"connection_id":194364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d40b"} 
[2026-09-24 21:05:04] local.INFO: Extracted packet for processing {"connection_id":194364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d40b"} 
[2026-09-24 21:05:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307491584001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790263940000,"timestamp_ms":1790263940000,"timestamp_seconds":1790263940,"priority":1,"record_length":96,"hex_timestamp":"000001a0d40bd3a0"} 
[2026-09-24 21:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:05: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-09-24 21:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307491584001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307491584001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:05:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:05:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307491584001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":194364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:05:04] local.INFO: GPS data processed {"connection_id":194364,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:05:04] local.INFO: Acknowledgment sent {"connection_id":194364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:05:21] local.INFO: TCP Data received {"connection_id":194366,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:05:21] local.INFO: Processing buffer {"connection_id":194366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:05:21] local.INFO: IMEI packet received {"connection_id":194366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":194366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:05:26] local.INFO: TCP Data received {"connection_id":194366,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:05:26] local.INFO: Processing buffer {"connection_id":194366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:05:26] local.INFO: IMEI packet received {"connection_id":194366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":194366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:05:27] local.INFO: TCP Data received {"connection_id":194366,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:05:27] local.INFO: Processing buffer {"connection_id":194366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:05:27] local.INFO: Packet analysis {"connection_id":194366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d40c"} 
[2026-09-24 21:05:27] local.INFO: Extracted packet for processing {"connection_id":194366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d40c"} 
[2026-09-24 21:05:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307507200001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790264001000,"timestamp_ms":1790264001000,"timestamp_seconds":1790264001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d40cc1e8"} 
[2026-09-24 21:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":194366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":194366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":194366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307507200001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307507200001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:05:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:05:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307507200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":194366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:05:27] local.INFO: GPS data processed {"connection_id":194366,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:05:27] local.INFO: Acknowledgment sent {"connection_id":194366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:05:27] local.INFO: TCP Data received {"connection_id":191508,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:05:27] local.INFO: Processing buffer {"connection_id":191508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:05:27] local.INFO: IMEI packet received {"connection_id":191508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":191508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:05:31] local.INFO: TCP Data received {"connection_id":194366,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:05:31] local.INFO: Processing buffer {"connection_id":194366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:05:31] local.INFO: Packet analysis {"connection_id":194366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d40c"} 
[2026-09-24 21:05:31] local.INFO: Extracted packet for processing {"connection_id":194366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d40c"} 
[2026-09-24 21:05:31] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307507200001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790264001000,"timestamp_ms":1790264001000,"timestamp_seconds":1790264001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d40cc1e8"} 
[2026-09-24 21:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307507200001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307507200001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:05:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:05:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307507200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":194366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:05:31] local.INFO: GPS data processed {"connection_id":194366,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:05:31] local.INFO: Acknowledgment sent {"connection_id":194366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:05:33] local.INFO: TCP Data received {"connection_id":191508,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:05:33] local.INFO: Processing buffer {"connection_id":191508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:05:33] local.INFO: IMEI packet received {"connection_id":191508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":191508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:05:34] local.INFO: TCP Data received {"connection_id":191508,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:05:34] local.INFO: Processing buffer {"connection_id":191508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:05:34] local.INFO: Packet analysis {"connection_id":191508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d40b"} 
[2026-09-24 21:05:34] local.INFO: Extracted packet for processing {"connection_id":191508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d40b"} 
[2026-09-24 21:05:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307491584001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790263940000,"timestamp_ms":1790263940000,"timestamp_seconds":1790263940,"priority":1,"record_length":96,"hex_timestamp":"000001a0d40bd3a0"} 
[2026-09-24 21:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307491584001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307491584001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:05:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:05:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307491584001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":191508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:05:34] local.INFO: GPS data processed {"connection_id":191508,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:05:34] local.INFO: Acknowledgment sent {"connection_id":191508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:06:05] local.INFO: TCP Data received {"connection_id":191508,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:06:05] local.INFO: Processing buffer {"connection_id":191508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:06:05] local.INFO: Packet analysis {"connection_id":191508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d40b"} 
[2026-09-24 21:06:05] local.INFO: Extracted packet for processing {"connection_id":191508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d40b"} 
[2026-09-24 21:06:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307491584001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790263940000,"timestamp_ms":1790263940000,"timestamp_seconds":1790263940,"priority":1,"record_length":96,"hex_timestamp":"000001a0d40bd3a0"} 
[2026-09-24 21:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21: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":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:06: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-09-24 21: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-09-24 21:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307491584001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307491584001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:06:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:06:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307491584001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":191508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:06:05] local.INFO: GPS data processed {"connection_id":191508,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:06:05] local.INFO: Acknowledgment sent {"connection_id":191508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:06:16] local.INFO: TCP Data received {"connection_id":193063,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:06:16] local.INFO: Processing buffer {"connection_id":193063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:06:16] local.INFO: IMEI packet received {"connection_id":193063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":193063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:06:21] local.INFO: TCP Data received {"connection_id":193063,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:06:21] local.INFO: Processing buffer {"connection_id":193063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:06:21] local.INFO: IMEI packet received {"connection_id":193063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":193063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:06:22] local.INFO: TCP Data received {"connection_id":193063,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:06:22] local.INFO: Processing buffer {"connection_id":193063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:06:22] local.INFO: Packet analysis {"connection_id":193063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d40c"} 
[2026-09-24 21:06:22] local.INFO: Extracted packet for processing {"connection_id":193063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d40c"} 
[2026-09-24 21:06:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307507200001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790264001000,"timestamp_ms":1790264001000,"timestamp_seconds":1790264001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d40cc1e8"} 
[2026-09-24 21:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307507200001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307507200001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:06:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:06:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307507200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":193063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:06:22] local.INFO: GPS data processed {"connection_id":193063,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:06:22] local.INFO: Acknowledgment sent {"connection_id":193063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:06:37] local.INFO: TCP Data received {"connection_id":191692,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:06:37] local.INFO: Processing buffer {"connection_id":191692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:06:37] local.INFO: IMEI packet received {"connection_id":191692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":191692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:06:42] local.INFO: TCP Data received {"connection_id":191692,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:06:42] local.INFO: Processing buffer {"connection_id":191692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:06:42] local.INFO: IMEI packet received {"connection_id":191692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":191692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:06:43] local.INFO: TCP Data received {"connection_id":191692,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:06:43] local.INFO: Processing buffer {"connection_id":191692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:06:43] local.INFO: Packet analysis {"connection_id":191692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d40b"} 
[2026-09-24 21:06:43] local.INFO: Extracted packet for processing {"connection_id":191692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d40b"} 
[2026-09-24 21:06:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307491584001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790263940000,"timestamp_ms":1790263940000,"timestamp_seconds":1790263940,"priority":1,"record_length":96,"hex_timestamp":"000001a0d40bd3a0"} 
[2026-09-24 21:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307491584001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307491584001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:06:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:06:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307491584001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":191692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:06:43] local.INFO: GPS data processed {"connection_id":191692,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:06:43] local.INFO: Acknowledgment sent {"connection_id":191692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:06:53] local.INFO: TCP Data received {"connection_id":193063,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:06:53] local.INFO: Processing buffer {"connection_id":193063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:06:53] local.INFO: Packet analysis {"connection_id":193063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d40c"} 
[2026-09-24 21:06:53] local.INFO: Extracted packet for processing {"connection_id":193063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d40c"} 
[2026-09-24 21:06:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307507200001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790264001000,"timestamp_ms":1790264001000,"timestamp_seconds":1790264001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d40cc1e8"} 
[2026-09-24 21:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":193063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":193063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":193063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307507200001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307507200001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:06:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:06:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307507200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":193063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:06:53] local.INFO: GPS data processed {"connection_id":193063,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:06:53] local.INFO: Acknowledgment sent {"connection_id":193063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:07:16] local.INFO: TCP Data received {"connection_id":194367,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:07:16] local.INFO: Processing buffer {"connection_id":194367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:07:16] local.INFO: IMEI packet received {"connection_id":194367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":194367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:07:21] local.INFO: TCP Data received {"connection_id":194367,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:07:21] local.INFO: Processing buffer {"connection_id":194367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:07:21] local.INFO: IMEI packet received {"connection_id":194367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":194367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:07:22] local.INFO: TCP Data received {"connection_id":194367,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:07:22] local.INFO: Processing buffer {"connection_id":194367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:07:22] local.INFO: Packet analysis {"connection_id":194367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d40c"} 
[2026-09-24 21:07:22] local.INFO: Extracted packet for processing {"connection_id":194367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d40c"} 
[2026-09-24 21:07:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307507200001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790264001000,"timestamp_ms":1790264001000,"timestamp_seconds":1790264001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d40cc1e8"} 
[2026-09-24 21:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307507200001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307507200001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:07:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:07:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307507200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":194367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:07:22] local.INFO: GPS data processed {"connection_id":194367,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:07:22] local.INFO: Acknowledgment sent {"connection_id":194367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:07:27] local.INFO: TCP Data received {"connection_id":191693,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:07:27] local.INFO: Processing buffer {"connection_id":191693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:07:27] local.INFO: IMEI packet received {"connection_id":191693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":191693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:07:32] local.INFO: TCP Data received {"connection_id":191693,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:07:32] local.INFO: Processing buffer {"connection_id":191693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:07:32] local.INFO: IMEI packet received {"connection_id":191693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":191693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:07:35] local.INFO: TCP Data received {"connection_id":191693,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:07:35] local.INFO: Processing buffer {"connection_id":191693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d40bd3a0012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:07:35] local.INFO: Packet analysis {"connection_id":191693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d40b"} 
[2026-09-24 21:07:35] local.INFO: Extracted packet for processing {"connection_id":191693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d40b"} 
[2026-09-24 21:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307491584001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790263940000,"timestamp_ms":1790263940000,"timestamp_seconds":1790263940,"priority":1,"record_length":96,"hex_timestamp":"000001a0d40bd3a0"} 
[2026-09-24 21:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:07: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-09-24 21:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307491584001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307491584001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:07:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:07:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307491584001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":191693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:07:35] local.INFO: GPS data processed {"connection_id":191693,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:07:35] local.INFO: Acknowledgment sent {"connection_id":191693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:07:53] local.INFO: TCP Data received {"connection_id":194367,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:07:53] local.INFO: Processing buffer {"connection_id":194367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:07:53] local.INFO: Packet analysis {"connection_id":194367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d40c"} 
[2026-09-24 21:07:53] local.INFO: Extracted packet for processing {"connection_id":194367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d40c"} 
[2026-09-24 21:07:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307507200001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790264001000,"timestamp_ms":1790264001000,"timestamp_seconds":1790264001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d40cc1e8"} 
[2026-09-24 21:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307507200001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307507200001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:07:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:07:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307507200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":194367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:07:53] local.INFO: GPS data processed {"connection_id":194367,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:07:53] local.INFO: Acknowledgment sent {"connection_id":194367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:08:06] local.INFO: TCP Data received {"connection_id":191693,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:08:06] local.INFO: Processing buffer {"connection_id":191693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:08:06] local.INFO: Packet analysis {"connection_id":191693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d410"} 
[2026-09-24 21:08:06] local.INFO: Extracted packet for processing {"connection_id":191693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d410"} 
[2026-09-24 21:08:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307568640001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790264241000,"timestamp_ms":1790264241000,"timestamp_seconds":1790264241,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4106b68"} 
[2026-09-24 21:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:08: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-09-24 21:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307568640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307568640001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:08:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:08:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307568640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":191693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:08:06] local.INFO: GPS data processed {"connection_id":191693,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:08:06] local.INFO: Acknowledgment sent {"connection_id":191693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:08:16] local.INFO: TCP Data received {"connection_id":191510,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:08:16] local.INFO: Processing buffer {"connection_id":191510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:08:16] local.INFO: IMEI packet received {"connection_id":191510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":191510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:08:21] local.INFO: TCP Data received {"connection_id":191510,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:08:21] local.INFO: Processing buffer {"connection_id":191510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:08:21] local.INFO: IMEI packet received {"connection_id":191510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":191510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:08:21] local.INFO: TCP Data received {"connection_id":191510,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:08:21] local.INFO: Processing buffer {"connection_id":191510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:08:21] local.INFO: Packet analysis {"connection_id":191510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d40c"} 
[2026-09-24 21:08:21] local.INFO: Extracted packet for processing {"connection_id":191510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d40c"} 
[2026-09-24 21:08:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307507200001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790264001000,"timestamp_ms":1790264001000,"timestamp_seconds":1790264001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d40cc1e8"} 
[2026-09-24 21:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307507200001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307507200001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:08:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:08:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307507200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":191510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:08:22] local.INFO: GPS data processed {"connection_id":191510,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:08:22] local.INFO: Acknowledgment sent {"connection_id":191510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:08:26] local.INFO: TCP Data received {"connection_id":193065,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193065,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:08:26] local.INFO: Processing buffer {"connection_id":193065,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:08:26] local.INFO: IMEI packet received {"connection_id":193065,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":193065,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:08:27] local.INFO: TCP Data received {"connection_id":193066,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:08:27] local.INFO: Processing buffer {"connection_id":193066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:08:27] local.INFO: IMEI packet received {"connection_id":193066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":193066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:08:32] local.INFO: TCP Data received {"connection_id":193066,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:08:32] local.INFO: Processing buffer {"connection_id":193066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:08:32] local.INFO: IMEI packet received {"connection_id":193066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":193066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:08:33] local.INFO: TCP Data received {"connection_id":193066,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:08:33] local.INFO: Processing buffer {"connection_id":193066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:08:33] local.INFO: Packet analysis {"connection_id":193066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d410"} 
[2026-09-24 21:08:33] local.INFO: Extracted packet for processing {"connection_id":193066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d410"} 
[2026-09-24 21:08:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307568640001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790264241000,"timestamp_ms":1790264241000,"timestamp_seconds":1790264241,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4106b68"} 
[2026-09-24 21:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307568640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307568640001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:08:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:08:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307568640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":193066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:08:33] local.INFO: GPS data processed {"connection_id":193066,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:08:33] local.INFO: Acknowledgment sent {"connection_id":193066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:08:53] local.INFO: TCP Data received {"connection_id":191510,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:08:53] local.INFO: Processing buffer {"connection_id":191510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d40cc1e8012d196500071fef18003b004826..."} 
[2026-09-24 21:08:53] local.INFO: Packet analysis {"connection_id":191510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d40c"} 
[2026-09-24 21:08:53] local.INFO: Extracted packet for processing {"connection_id":191510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d40c"} 
[2026-09-24 21:08:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307507200001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790264001000,"timestamp_ms":1790264001000,"timestamp_seconds":1790264001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d40cc1e8"} 
[2026-09-24 21:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307507200001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307507200001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:08:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:08:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307507200001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":191510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:08:53] local.INFO: GPS data processed {"connection_id":191510,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:08:53] local.INFO: Acknowledgment sent {"connection_id":191510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:09:05] local.INFO: TCP Data received {"connection_id":193066,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:09:05] local.INFO: Processing buffer {"connection_id":193066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:09:05] local.INFO: Packet analysis {"connection_id":193066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d410"} 
[2026-09-24 21:09:05] local.INFO: Extracted packet for processing {"connection_id":193066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d410"} 
[2026-09-24 21:09:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307568640001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790264241000,"timestamp_ms":1790264241000,"timestamp_seconds":1790264241,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4106b68"} 
[2026-09-24 21:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307568640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307568640001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:09:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:09:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307568640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":193066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:09:05] local.INFO: GPS data processed {"connection_id":193066,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:09:05] local.INFO: Acknowledgment sent {"connection_id":193066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:09:06] local.INFO: TCP Data received {"connection_id":193067,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:09:06] local.INFO: Processing buffer {"connection_id":193067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:09:06] local.INFO: IMEI packet received {"connection_id":193067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":193067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:09:15] local.INFO: TCP Data received {"connection_id":194368,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:09:16] local.INFO: Processing buffer {"connection_id":194368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:09:16] local.INFO: IMEI packet received {"connection_id":194368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":194368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:09:21] local.INFO: TCP Data received {"connection_id":194368,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:09:21] local.INFO: Processing buffer {"connection_id":194368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:09:21] local.INFO: IMEI packet received {"connection_id":194368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":194368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:09:22] local.INFO: TCP Data received {"connection_id":194368,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:09:22] local.INFO: Processing buffer {"connection_id":194368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:09:22] local.INFO: Packet analysis {"connection_id":194368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d411"} 
[2026-09-24 21:09:22] local.INFO: Extracted packet for processing {"connection_id":194368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d411"} 
[2026-09-24 21:09:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307584256001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790264302000,"timestamp_ms":1790264302000,"timestamp_seconds":1790264302,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41159b0"} 
[2026-09-24 21:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307584256001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307584256001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:09:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:09:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307584256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":194368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:09:22] local.INFO: GPS data processed {"connection_id":194368,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:09:22] local.INFO: Acknowledgment sent {"connection_id":194368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:09:27] local.INFO: TCP Data received {"connection_id":193068,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:09:27] local.INFO: Processing buffer {"connection_id":193068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:09:27] local.INFO: IMEI packet received {"connection_id":193068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":193068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:09:32] local.INFO: TCP Data received {"connection_id":193068,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:09:32] local.INFO: Processing buffer {"connection_id":193068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:09:32] local.INFO: IMEI packet received {"connection_id":193068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":193068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:09:34] local.INFO: TCP Data received {"connection_id":193068,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:09:34] local.INFO: Processing buffer {"connection_id":193068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:09:34] local.INFO: Packet analysis {"connection_id":193068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d410"} 
[2026-09-24 21:09:34] local.INFO: Extracted packet for processing {"connection_id":193068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d410"} 
[2026-09-24 21:09:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307568640001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790264241000,"timestamp_ms":1790264241000,"timestamp_seconds":1790264241,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4106b68"} 
[2026-09-24 21:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307568640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307568640001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:09:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:09:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307568640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":193068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:09:34] local.INFO: GPS data processed {"connection_id":193068,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:09:34] local.INFO: Acknowledgment sent {"connection_id":193068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:09:53] local.INFO: TCP Data received {"connection_id":194368,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:09:53] local.INFO: Processing buffer {"connection_id":194368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:09:53] local.INFO: Packet analysis {"connection_id":194368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d411"} 
[2026-09-24 21:09:53] local.INFO: Extracted packet for processing {"connection_id":194368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d411"} 
[2026-09-24 21:09:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307584256001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790264302000,"timestamp_ms":1790264302000,"timestamp_seconds":1790264302,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41159b0"} 
[2026-09-24 21:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307584256001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307584256001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:09:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:09:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307584256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":194368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:09:53] local.INFO: GPS data processed {"connection_id":194368,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:09:53] local.INFO: Acknowledgment sent {"connection_id":194368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:10:06] local.INFO: TCP Data received {"connection_id":193068,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:10:06] local.INFO: Processing buffer {"connection_id":193068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:10:06] local.INFO: Packet analysis {"connection_id":193068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d410"} 
[2026-09-24 21:10:06] local.INFO: Extracted packet for processing {"connection_id":193068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d410"} 
[2026-09-24 21:10:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307568640001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790264241000,"timestamp_ms":1790264241000,"timestamp_seconds":1790264241,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4106b68"} 
[2026-09-24 21:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:10: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-09-24 21:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307568640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307568640001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:10:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:10:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307568640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":193068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:10:06] local.INFO: GPS data processed {"connection_id":193068,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:10:06] local.INFO: Acknowledgment sent {"connection_id":193068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:10:21] local.INFO: TCP Data received {"connection_id":191511,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:10:21] local.INFO: Processing buffer {"connection_id":191511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:10:21] local.INFO: IMEI packet received {"connection_id":191511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":191511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:10:26] local.INFO: TCP Data received {"connection_id":191511,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:10:26] local.INFO: Processing buffer {"connection_id":191511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:10:26] local.INFO: IMEI packet received {"connection_id":191511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":191511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:10:26] local.INFO: TCP Data received {"connection_id":191511,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:10:26] local.INFO: Processing buffer {"connection_id":191511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:10:26] local.INFO: Packet analysis {"connection_id":191511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d411"} 
[2026-09-24 21:10:26] local.INFO: Extracted packet for processing {"connection_id":191511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d411"} 
[2026-09-24 21:10:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307584256001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790264302000,"timestamp_ms":1790264302000,"timestamp_seconds":1790264302,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41159b0"} 
[2026-09-24 21:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307584256001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307584256001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:10:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:10:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307584256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":191511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:10:27] local.INFO: GPS data processed {"connection_id":191511,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:10:27] local.INFO: Acknowledgment sent {"connection_id":191511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:10:27] local.INFO: TCP Data received {"connection_id":191694,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:10:27] local.INFO: Processing buffer {"connection_id":191694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:10:27] local.INFO: IMEI packet received {"connection_id":191694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":191694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:10:31] local.INFO: TCP Data received {"connection_id":191511,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:10:31] local.INFO: Processing buffer {"connection_id":191511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:10:31] local.INFO: Packet analysis {"connection_id":191511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d411"} 
[2026-09-24 21:10:31] local.INFO: Extracted packet for processing {"connection_id":191511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d411"} 
[2026-09-24 21:10:31] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307584256001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790264302000,"timestamp_ms":1790264302000,"timestamp_seconds":1790264302,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41159b0"} 
[2026-09-24 21:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":191511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":191511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":191511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307584256001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307584256001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:10:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:10:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307584256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":191511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:10:31] local.INFO: GPS data processed {"connection_id":191511,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:10:31] local.INFO: Acknowledgment sent {"connection_id":191511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:10:32] local.INFO: TCP Data received {"connection_id":191694,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:10:32] local.INFO: Processing buffer {"connection_id":191694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:10:32] local.INFO: IMEI packet received {"connection_id":191694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":191694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:10:33] local.INFO: TCP Data received {"connection_id":191694,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:10:33] local.INFO: Processing buffer {"connection_id":191694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:10:33] local.INFO: Packet analysis {"connection_id":191694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d410"} 
[2026-09-24 21:10:33] local.INFO: Extracted packet for processing {"connection_id":191694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d410"} 
[2026-09-24 21:10:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307568640001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790264241000,"timestamp_ms":1790264241000,"timestamp_seconds":1790264241,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4106b68"} 
[2026-09-24 21:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307568640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307568640001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:10:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:10:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307568640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":191694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:10:34] local.INFO: GPS data processed {"connection_id":191694,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:10:34] local.INFO: Acknowledgment sent {"connection_id":191694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:11:06] local.INFO: TCP Data received {"connection_id":191694,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:11:06] local.INFO: Processing buffer {"connection_id":191694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:11:06] local.INFO: Packet analysis {"connection_id":191694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d410"} 
[2026-09-24 21:11:06] local.INFO: Extracted packet for processing {"connection_id":191694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d410"} 
[2026-09-24 21:11:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307568640001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790264241000,"timestamp_ms":1790264241000,"timestamp_seconds":1790264241,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4106b68"} 
[2026-09-24 21:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307568640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307568640001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:11:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:11:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307568640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":191694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:11:06] local.INFO: GPS data processed {"connection_id":191694,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:11:06] local.INFO: Acknowledgment sent {"connection_id":191694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:11:16] local.INFO: TCP Data received {"connection_id":191513,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:11:16] local.INFO: Processing buffer {"connection_id":191513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:11:16] local.INFO: IMEI packet received {"connection_id":191513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":191513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:11:21] local.INFO: TCP Data received {"connection_id":191513,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:11:21] local.INFO: Processing buffer {"connection_id":191513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:11:21] local.INFO: IMEI packet received {"connection_id":191513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":191513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:11:22] local.INFO: TCP Data received {"connection_id":191513,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:11:22] local.INFO: Processing buffer {"connection_id":191513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:11:22] local.INFO: Packet analysis {"connection_id":191513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d411"} 
[2026-09-24 21:11:22] local.INFO: Extracted packet for processing {"connection_id":191513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d411"} 
[2026-09-24 21:11:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307584256001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790264302000,"timestamp_ms":1790264302000,"timestamp_seconds":1790264302,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41159b0"} 
[2026-09-24 21:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307584256001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307584256001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:11:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:11:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307584256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":191513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:11:22] local.INFO: GPS data processed {"connection_id":191513,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:11:22] local.INFO: Acknowledgment sent {"connection_id":191513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:11:28] local.INFO: TCP Data received {"connection_id":194370,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:11:28] local.INFO: Processing buffer {"connection_id":194370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:11:28] local.INFO: IMEI packet received {"connection_id":194370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":194370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:11:32] local.INFO: TCP Data received {"connection_id":194370,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:11:32] local.INFO: Processing buffer {"connection_id":194370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:11:32] local.INFO: IMEI packet received {"connection_id":194370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":194370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:11:38] local.INFO: TCP Data received {"connection_id":194370,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:11:38] local.INFO: Processing buffer {"connection_id":194370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:11:38] local.INFO: IMEI packet received {"connection_id":194370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":194370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:11:39] local.INFO: TCP Data received {"connection_id":194370,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:11:39] local.INFO: Processing buffer {"connection_id":194370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:11:39] local.INFO: Packet analysis {"connection_id":194370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d410"} 
[2026-09-24 21:11:39] local.INFO: Extracted packet for processing {"connection_id":194370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d410"} 
[2026-09-24 21:11:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307568640001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790264241000,"timestamp_ms":1790264241000,"timestamp_seconds":1790264241,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4106b68"} 
[2026-09-24 21:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307568640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307568640001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:11:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:11:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307568640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":194370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:11:39] local.INFO: GPS data processed {"connection_id":194370,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:11:39] local.INFO: Acknowledgment sent {"connection_id":194370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:11:53] local.INFO: TCP Data received {"connection_id":191513,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:11:53] local.INFO: Processing buffer {"connection_id":191513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:11:53] local.INFO: Packet analysis {"connection_id":191513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d411"} 
[2026-09-24 21:11:53] local.INFO: Extracted packet for processing {"connection_id":191513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d411"} 
[2026-09-24 21:11:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307584256001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790264302000,"timestamp_ms":1790264302000,"timestamp_seconds":1790264302,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41159b0"} 
[2026-09-24 21:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307584256001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307584256001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:11:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:11:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307584256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":191513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:11:53] local.INFO: GPS data processed {"connection_id":191513,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:11:53] local.INFO: Acknowledgment sent {"connection_id":191513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:12:11] local.INFO: TCP Data received {"connection_id":194370,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:12:11] local.INFO: Processing buffer {"connection_id":194370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:12:11] local.INFO: Packet analysis {"connection_id":194370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d410"} 
[2026-09-24 21:12:11] local.INFO: Extracted packet for processing {"connection_id":194370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d410"} 
[2026-09-24 21:12:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307568640001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790264241000,"timestamp_ms":1790264241000,"timestamp_seconds":1790264241,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4106b68"} 
[2026-09-24 21:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":194370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":194370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":194370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307568640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307568640001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:12:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:12:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307568640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":194370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:12:11] local.INFO: GPS data processed {"connection_id":194370,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:12:11] local.INFO: Acknowledgment sent {"connection_id":194370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:12:16] local.INFO: TCP Data received {"connection_id":191695,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:12:16] local.INFO: Processing buffer {"connection_id":191695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:12:16] local.INFO: IMEI packet received {"connection_id":191695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":191695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:12:21] local.INFO: TCP Data received {"connection_id":191695,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:12:21] local.INFO: Processing buffer {"connection_id":191695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:12:21] local.INFO: IMEI packet received {"connection_id":191695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":191695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:12:22] local.INFO: TCP Data received {"connection_id":191695,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:12:22] local.INFO: Processing buffer {"connection_id":191695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:12:22] local.INFO: Packet analysis {"connection_id":191695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d411"} 
[2026-09-24 21:12:22] local.INFO: Extracted packet for processing {"connection_id":191695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d411"} 
[2026-09-24 21:12:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307584256001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790264302000,"timestamp_ms":1790264302000,"timestamp_seconds":1790264302,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41159b0"} 
[2026-09-24 21:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307584256001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307584256001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:12:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:12:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307584256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":191695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:12:22] local.INFO: GPS data processed {"connection_id":191695,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:12:22] local.INFO: Acknowledgment sent {"connection_id":191695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:12:27] local.INFO: TCP Data received {"connection_id":191515,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:12:27] local.INFO: Processing buffer {"connection_id":191515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:12:27] local.INFO: IMEI packet received {"connection_id":191515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":191515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:12:32] local.INFO: TCP Data received {"connection_id":191515,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:12:32] local.INFO: Processing buffer {"connection_id":191515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:12:32] local.INFO: IMEI packet received {"connection_id":191515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":191515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:12:34] local.INFO: TCP Data received {"connection_id":191515,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:12:34] local.INFO: Processing buffer {"connection_id":191515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4106b68012d34c14006aa4940000900f52e..."} 
[2026-09-24 21:12:34] local.INFO: Packet analysis {"connection_id":191515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d410"} 
[2026-09-24 21:12:34] local.INFO: Extracted packet for processing {"connection_id":191515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d410"} 
[2026-09-24 21:12:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307568640001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790264241000,"timestamp_ms":1790264241000,"timestamp_seconds":1790264241,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4106b68"} 
[2026-09-24 21:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307568640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307568640001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:12:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:12:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307568640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":191515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:12:34] local.INFO: GPS data processed {"connection_id":191515,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:12:34] local.INFO: Acknowledgment sent {"connection_id":191515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:12:53] local.INFO: TCP Data received {"connection_id":191695,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:12:53] local.INFO: Processing buffer {"connection_id":191695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:12:53] local.INFO: Packet analysis {"connection_id":191695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d411"} 
[2026-09-24 21:12:53] local.INFO: Extracted packet for processing {"connection_id":191695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d411"} 
[2026-09-24 21:12:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307584256001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790264302000,"timestamp_ms":1790264302000,"timestamp_seconds":1790264302,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41159b0"} 
[2026-09-24 21:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307584256001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307584256001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:12:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:12:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307584256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":191695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:12:53] local.INFO: GPS data processed {"connection_id":191695,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:12:53] local.INFO: Acknowledgment sent {"connection_id":191695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:13:05] local.INFO: TCP Data received {"connection_id":191515,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:13:05] local.INFO: Processing buffer {"connection_id":191515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:13:05] local.INFO: Packet analysis {"connection_id":191515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:13:05] local.INFO: Extracted packet for processing {"connection_id":191515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:13:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307645696001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790264542000,"timestamp_ms":1790264542000,"timestamp_seconds":1790264542,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4150330"} 
[2026-09-24 21:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:13: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-09-24 21: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-09-24 21:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307645696001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307645696001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:13:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:13:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307645696001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":191515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:13:05] local.INFO: GPS data processed {"connection_id":191515,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:13:05] local.INFO: Acknowledgment sent {"connection_id":191515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:13:16] local.INFO: TCP Data received {"connection_id":194371,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:13:16] local.INFO: Processing buffer {"connection_id":194371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:13:16] local.INFO: IMEI packet received {"connection_id":194371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":194371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:13:21] local.INFO: TCP Data received {"connection_id":194371,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:13:21] local.INFO: Processing buffer {"connection_id":194371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:13:21] local.INFO: IMEI packet received {"connection_id":194371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":194371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:13:22] local.INFO: TCP Data received {"connection_id":194371,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:13:22] local.INFO: Processing buffer {"connection_id":194371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:13:22] local.INFO: Packet analysis {"connection_id":194371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d411"} 
[2026-09-24 21:13:22] local.INFO: Extracted packet for processing {"connection_id":194371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d411"} 
[2026-09-24 21:13:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307584256001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790264302000,"timestamp_ms":1790264302000,"timestamp_seconds":1790264302,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41159b0"} 
[2026-09-24 21:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307584256001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307584256001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:13:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:13:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307584256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":194371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:13:22] local.INFO: GPS data processed {"connection_id":194371,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:13:22] local.INFO: Acknowledgment sent {"connection_id":194371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:13:32] local.INFO: TCP Data received {"connection_id":193069,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:13:32] local.INFO: Processing buffer {"connection_id":193069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:13:32] local.INFO: IMEI packet received {"connection_id":193069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":193069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:13:37] local.INFO: TCP Data received {"connection_id":193069,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:13:37] local.INFO: Processing buffer {"connection_id":193069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:13:37] local.INFO: IMEI packet received {"connection_id":193069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":193069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:13:38] local.INFO: TCP Data received {"connection_id":193069,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:13:38] local.INFO: Processing buffer {"connection_id":193069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:13:38] local.INFO: Packet analysis {"connection_id":193069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:13:38] local.INFO: Extracted packet for processing {"connection_id":193069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:13:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307645696001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790264542000,"timestamp_ms":1790264542000,"timestamp_seconds":1790264542,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4150330"} 
[2026-09-24 21:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307645696001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307645696001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:13:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:13:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307645696001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":193069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:13:38] local.INFO: GPS data processed {"connection_id":193069,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:13:38] local.INFO: Acknowledgment sent {"connection_id":193069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:13:52] local.INFO: TCP Data received {"connection_id":194371,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:13:52] local.INFO: Processing buffer {"connection_id":194371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41159b0012d196500071fef18003b004825..."} 
[2026-09-24 21:13:52] local.INFO: Packet analysis {"connection_id":194371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d411"} 
[2026-09-24 21:13:52] local.INFO: Extracted packet for processing {"connection_id":194371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d411"} 
[2026-09-24 21:13:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307584256001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790264302000,"timestamp_ms":1790264302000,"timestamp_seconds":1790264302,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41159b0"} 
[2026-09-24 21:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":194371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":194371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":194371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307584256001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307584256001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:13:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:13:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307584256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":194371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:13:53] local.INFO: GPS data processed {"connection_id":194371,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:13:53] local.INFO: Acknowledgment sent {"connection_id":194371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:14:10] local.INFO: TCP Data received {"connection_id":193069,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:14:10] local.INFO: Processing buffer {"connection_id":193069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:14:10] local.INFO: Packet analysis {"connection_id":193069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:14:10] local.INFO: Extracted packet for processing {"connection_id":193069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:14:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307645696001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790264542000,"timestamp_ms":1790264542000,"timestamp_seconds":1790264542,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4150330"} 
[2026-09-24 21:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307645696001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307645696001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:14:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:14:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307645696001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":193069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:14:10] local.INFO: GPS data processed {"connection_id":193069,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:14:10] local.INFO: Acknowledgment sent {"connection_id":193069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:14:15] local.INFO: TCP Data received {"connection_id":193070,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:14:15] local.INFO: Processing buffer {"connection_id":193070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:14:15] local.INFO: IMEI packet received {"connection_id":193070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":193070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:14:20] local.INFO: TCP Data received {"connection_id":193070,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:14:20] local.INFO: Processing buffer {"connection_id":193070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:14:20] local.INFO: IMEI packet received {"connection_id":193070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":193070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:14:21] local.INFO: TCP Data received {"connection_id":193070,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:14:21] local.INFO: Processing buffer {"connection_id":193070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:14:21] local.INFO: Packet analysis {"connection_id":193070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:14:21] local.INFO: Extracted packet for processing {"connection_id":193070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:14:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307661312001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790264603000,"timestamp_ms":1790264603000,"timestamp_seconds":1790264603,"priority":1,"record_length":96,"hex_timestamp":"000001a0d415f178"} 
[2026-09-24 21:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307661312001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307661312001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:14:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:14:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307661312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":193070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:14:21] local.INFO: GPS data processed {"connection_id":193070,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:14:21] local.INFO: Acknowledgment sent {"connection_id":193070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:14:26] local.INFO: TCP Data received {"connection_id":191517,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191517,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:14:26] local.INFO: Processing buffer {"connection_id":191517,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:14:26] local.INFO: IMEI packet received {"connection_id":191517,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":191517,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:14:27] local.INFO: TCP Data received {"connection_id":193071,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:14:27] local.INFO: Processing buffer {"connection_id":193071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:14:27] local.INFO: IMEI packet received {"connection_id":193071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":193071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:14:32] local.INFO: TCP Data received {"connection_id":193071,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:14:32] local.INFO: Processing buffer {"connection_id":193071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:14:32] local.INFO: IMEI packet received {"connection_id":193071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":193071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:14:33] local.INFO: TCP Data received {"connection_id":193071,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:14:33] local.INFO: Processing buffer {"connection_id":193071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:14:33] local.INFO: Packet analysis {"connection_id":193071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:14:33] local.INFO: Extracted packet for processing {"connection_id":193071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:14:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307645696001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790264542000,"timestamp_ms":1790264542000,"timestamp_seconds":1790264542,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4150330"} 
[2026-09-24 21:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307645696001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307645696001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:14:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:14:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307645696001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":193071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:14:33] local.INFO: GPS data processed {"connection_id":193071,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:14:33] local.INFO: Acknowledgment sent {"connection_id":193071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:14:52] local.INFO: TCP Data received {"connection_id":193070,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:14:52] local.INFO: Processing buffer {"connection_id":193070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:14:52] local.INFO: Packet analysis {"connection_id":193070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:14:52] local.INFO: Extracted packet for processing {"connection_id":193070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:14:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307661312001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790264603000,"timestamp_ms":1790264603000,"timestamp_seconds":1790264603,"priority":1,"record_length":96,"hex_timestamp":"000001a0d415f178"} 
[2026-09-24 21:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":193070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":193070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":193070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307661312001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307661312001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:14:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:14:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307661312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":193070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:14:53] local.INFO: GPS data processed {"connection_id":193070,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:14:53] local.INFO: Acknowledgment sent {"connection_id":193070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:15:05] local.INFO: TCP Data received {"connection_id":193071,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:15:05] local.INFO: Processing buffer {"connection_id":193071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:15:05] local.INFO: Packet analysis {"connection_id":193071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:15:05] local.INFO: Extracted packet for processing {"connection_id":193071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:15:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307645696001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790264542000,"timestamp_ms":1790264542000,"timestamp_seconds":1790264542,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4150330"} 
[2026-09-24 21:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:15: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-09-24 21: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-09-24 21:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307645696001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307645696001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:15:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:15:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307645696001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":193071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:15:05] local.INFO: GPS data processed {"connection_id":193071,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:15:05] local.INFO: Acknowledgment sent {"connection_id":193071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:15:06] local.INFO: TCP Data received {"connection_id":191696,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:15:06] local.INFO: Processing buffer {"connection_id":191696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:15:06] local.INFO: IMEI packet received {"connection_id":191696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":191696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:15:21] local.INFO: TCP Data received {"connection_id":191518,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:15:21] local.INFO: Processing buffer {"connection_id":191518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:15:21] local.INFO: IMEI packet received {"connection_id":191518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":191518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:15:26] local.INFO: TCP Data received {"connection_id":191518,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:15:26] local.INFO: Processing buffer {"connection_id":191518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:15:26] local.INFO: IMEI packet received {"connection_id":191518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":191518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:15:26] local.INFO: TCP Data received {"connection_id":191518,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:15:26] local.INFO: Processing buffer {"connection_id":191518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:15:26] local.INFO: Packet analysis {"connection_id":191518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:15:26] local.INFO: Extracted packet for processing {"connection_id":191518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:15:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307661312001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790264603000,"timestamp_ms":1790264603000,"timestamp_seconds":1790264603,"priority":1,"record_length":96,"hex_timestamp":"000001a0d415f178"} 
[2026-09-24 21:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:15:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307661312001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307661312001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:15:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:15:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307661312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":191518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:15:27] local.INFO: GPS data processed {"connection_id":191518,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:15:27] local.INFO: Acknowledgment sent {"connection_id":191518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:15:27] local.INFO: TCP Data received {"connection_id":194372,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:15:27] local.INFO: Processing buffer {"connection_id":194372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:15:27] local.INFO: IMEI packet received {"connection_id":194372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":194372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:15:31] local.INFO: TCP Data received {"connection_id":191518,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:15:31] local.INFO: Processing buffer {"connection_id":191518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:15:31] local.INFO: Packet analysis {"connection_id":191518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:15:31] local.INFO: Extracted packet for processing {"connection_id":191518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:15:31] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307661312001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790264603000,"timestamp_ms":1790264603000,"timestamp_seconds":1790264603,"priority":1,"record_length":96,"hex_timestamp":"000001a0d415f178"} 
[2026-09-24 21:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":191518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":191518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":191518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307661312001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307661312001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:15:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:15:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307661312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":191518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:15:31] local.INFO: GPS data processed {"connection_id":191518,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:15:31] local.INFO: Acknowledgment sent {"connection_id":191518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:15:33] local.INFO: TCP Data received {"connection_id":194372,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:15:33] local.INFO: Processing buffer {"connection_id":194372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:15:33] local.INFO: IMEI packet received {"connection_id":194372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":194372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:15:34] local.INFO: TCP Data received {"connection_id":194372,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:15:34] local.INFO: Processing buffer {"connection_id":194372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:15:34] local.INFO: Packet analysis {"connection_id":194372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:15:34] local.INFO: Extracted packet for processing {"connection_id":194372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:15:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307645696001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790264542000,"timestamp_ms":1790264542000,"timestamp_seconds":1790264542,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4150330"} 
[2026-09-24 21:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307645696001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307645696001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:15:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:15:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307645696001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":194372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:15:34] local.INFO: GPS data processed {"connection_id":194372,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:15:34] local.INFO: Acknowledgment sent {"connection_id":194372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:16:06] local.INFO: TCP Data received {"connection_id":194372,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:16:06] local.INFO: Processing buffer {"connection_id":194372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:16:06] local.INFO: Packet analysis {"connection_id":194372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:16:06] local.INFO: Extracted packet for processing {"connection_id":194372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:16:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307645696001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790264542000,"timestamp_ms":1790264542000,"timestamp_seconds":1790264542,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4150330"} 
[2026-09-24 21:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307645696001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307645696001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:16:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:16:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307645696001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":194372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:16:06] local.INFO: GPS data processed {"connection_id":194372,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:16:06] local.INFO: Acknowledgment sent {"connection_id":194372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:16:16] local.INFO: TCP Data received {"connection_id":191697,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:16:16] local.INFO: Processing buffer {"connection_id":191697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:16:16] local.INFO: IMEI packet received {"connection_id":191697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":191697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:16:21] local.INFO: TCP Data received {"connection_id":191697,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:16:21] local.INFO: Processing buffer {"connection_id":191697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:16:21] local.INFO: IMEI packet received {"connection_id":191697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":191697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:16:22] local.INFO: TCP Data received {"connection_id":191697,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:16:22] local.INFO: Processing buffer {"connection_id":191697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:16:22] local.INFO: Packet analysis {"connection_id":191697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:16:22] local.INFO: Extracted packet for processing {"connection_id":191697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:16:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307661312001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790264603000,"timestamp_ms":1790264603000,"timestamp_seconds":1790264603,"priority":1,"record_length":96,"hex_timestamp":"000001a0d415f178"} 
[2026-09-24 21:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307661312001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307661312001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:16:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:16:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307661312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":191697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:16:22] local.INFO: GPS data processed {"connection_id":191697,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:16:22] local.INFO: Acknowledgment sent {"connection_id":191697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:16:27] local.INFO: TCP Data received {"connection_id":193073,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:16:27] local.INFO: Processing buffer {"connection_id":193073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:16:27] local.INFO: IMEI packet received {"connection_id":193073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":193073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:16:32] local.INFO: TCP Data received {"connection_id":193073,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:16:32] local.INFO: Processing buffer {"connection_id":193073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:16:32] local.INFO: IMEI packet received {"connection_id":193073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":193073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:16:33] local.INFO: TCP Data received {"connection_id":193073,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:16:33] local.INFO: Processing buffer {"connection_id":193073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:16:33] local.INFO: Packet analysis {"connection_id":193073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:16:33] local.INFO: Extracted packet for processing {"connection_id":193073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:16:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307645696001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790264542000,"timestamp_ms":1790264542000,"timestamp_seconds":1790264542,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4150330"} 
[2026-09-24 21:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307645696001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307645696001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:16:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:16:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307645696001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":193073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:16:33] local.INFO: GPS data processed {"connection_id":193073,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:16:33] local.INFO: Acknowledgment sent {"connection_id":193073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:16:53] local.INFO: TCP Data received {"connection_id":191697,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:16:53] local.INFO: Processing buffer {"connection_id":191697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:16:53] local.INFO: Packet analysis {"connection_id":191697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:16:53] local.INFO: Extracted packet for processing {"connection_id":191697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:16:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307661312001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790264603000,"timestamp_ms":1790264603000,"timestamp_seconds":1790264603,"priority":1,"record_length":96,"hex_timestamp":"000001a0d415f178"} 
[2026-09-24 21:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307661312001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307661312001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:16:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:16:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307661312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":191697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:16:53] local.INFO: GPS data processed {"connection_id":191697,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:16:53] local.INFO: Acknowledgment sent {"connection_id":191697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:17:06] local.INFO: TCP Data received {"connection_id":193073,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:17:06] local.INFO: Processing buffer {"connection_id":193073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:17:06] local.INFO: Packet analysis {"connection_id":193073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:17:06] local.INFO: Extracted packet for processing {"connection_id":193073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:17:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307645696001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790264542000,"timestamp_ms":1790264542000,"timestamp_seconds":1790264542,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4150330"} 
[2026-09-24 21:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307645696001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307645696001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:17:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:17:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307645696001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":193073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:17:06] local.INFO: GPS data processed {"connection_id":193073,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:17:06] local.INFO: Acknowledgment sent {"connection_id":193073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:17:16] local.INFO: TCP Data received {"connection_id":194373,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:17:16] local.INFO: Processing buffer {"connection_id":194373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:17:16] local.INFO: IMEI packet received {"connection_id":194373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":194373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:17:21] local.INFO: TCP Data received {"connection_id":194373,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:17:21] local.INFO: Processing buffer {"connection_id":194373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:17:21] local.INFO: IMEI packet received {"connection_id":194373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":194373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:17:22] local.INFO: TCP Data received {"connection_id":194373,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:17:22] local.INFO: Processing buffer {"connection_id":194373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:17:22] local.INFO: Packet analysis {"connection_id":194373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:17:22] local.INFO: Extracted packet for processing {"connection_id":194373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:17:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307661312001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790264603000,"timestamp_ms":1790264603000,"timestamp_seconds":1790264603,"priority":1,"record_length":96,"hex_timestamp":"000001a0d415f178"} 
[2026-09-24 21:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307661312001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307661312001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:17:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:17:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307661312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":194373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:17:22] local.INFO: GPS data processed {"connection_id":194373,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:17:22] local.INFO: Acknowledgment sent {"connection_id":194373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:17:27] local.INFO: TCP Data received {"connection_id":191699,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:17:27] local.INFO: Processing buffer {"connection_id":191699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:17:27] local.INFO: IMEI packet received {"connection_id":191699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":191699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:17:33] local.INFO: TCP Data received {"connection_id":191699,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:17:33] local.INFO: Processing buffer {"connection_id":191699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:17:33] local.INFO: IMEI packet received {"connection_id":191699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":191699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:17:34] local.INFO: TCP Data received {"connection_id":191699,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:17:34] local.INFO: Processing buffer {"connection_id":191699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4150330012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:17:34] local.INFO: Packet analysis {"connection_id":191699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:17:34] local.INFO: Extracted packet for processing {"connection_id":191699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:17:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307645696001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790264542000,"timestamp_ms":1790264542000,"timestamp_seconds":1790264542,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4150330"} 
[2026-09-24 21:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307645696001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307645696001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:17:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:17:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307645696001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":191699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:17:34] local.INFO: GPS data processed {"connection_id":191699,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:17:34] local.INFO: Acknowledgment sent {"connection_id":191699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:17:53] local.INFO: TCP Data received {"connection_id":194373,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:17:53] local.INFO: Processing buffer {"connection_id":194373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:17:53] local.INFO: Packet analysis {"connection_id":194373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:17:53] local.INFO: Extracted packet for processing {"connection_id":194373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:17:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307661312001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790264603000,"timestamp_ms":1790264603000,"timestamp_seconds":1790264603,"priority":1,"record_length":96,"hex_timestamp":"000001a0d415f178"} 
[2026-09-24 21:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307661312001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307661312001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:17:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:17:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307661312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":194373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:17:53] local.INFO: GPS data processed {"connection_id":194373,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:17:53] local.INFO: Acknowledgment sent {"connection_id":194373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:18:05] local.INFO: TCP Data received {"connection_id":191699,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:18:05] local.INFO: Processing buffer {"connection_id":191699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:18:05] local.INFO: Packet analysis {"connection_id":191699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d419"} 
[2026-09-24 21:18:05] local.INFO: Extracted packet for processing {"connection_id":191699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d419"} 
[2026-09-24 21:18:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307722752001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790264843000,"timestamp_ms":1790264843000,"timestamp_seconds":1790264843,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4199af8"} 
[2026-09-24 21:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 21:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307722752001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307722752001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:18:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:18:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307722752001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":191699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:18:05] local.INFO: GPS data processed {"connection_id":191699,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:18:05] local.INFO: Acknowledgment sent {"connection_id":191699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:18:16] local.INFO: TCP Data received {"connection_id":191520,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:18:16] local.INFO: Processing buffer {"connection_id":191520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:18:16] local.INFO: IMEI packet received {"connection_id":191520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":191520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:18:21] local.INFO: TCP Data received {"connection_id":191520,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:18:21] local.INFO: Processing buffer {"connection_id":191520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:18:21] local.INFO: IMEI packet received {"connection_id":191520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":191520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:18:22] local.INFO: TCP Data received {"connection_id":191520,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:18:22] local.INFO: Processing buffer {"connection_id":191520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:18:22] local.INFO: Packet analysis {"connection_id":191520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:18:22] local.INFO: Extracted packet for processing {"connection_id":191520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:18:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307661312001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790264603000,"timestamp_ms":1790264603000,"timestamp_seconds":1790264603,"priority":1,"record_length":96,"hex_timestamp":"000001a0d415f178"} 
[2026-09-24 21:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307661312001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307661312001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:18:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:18:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307661312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":191520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:18:22] local.INFO: GPS data processed {"connection_id":191520,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:18:22] local.INFO: Acknowledgment sent {"connection_id":191520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:18:32] local.INFO: TCP Data received {"connection_id":193074,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:18:32] local.INFO: Processing buffer {"connection_id":193074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:18:32] local.INFO: IMEI packet received {"connection_id":193074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":193074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:18:37] local.INFO: TCP Data received {"connection_id":193074,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:18:37] local.INFO: Processing buffer {"connection_id":193074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:18:37] local.INFO: IMEI packet received {"connection_id":193074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":193074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:18:39] local.INFO: TCP Data received {"connection_id":193074,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:18:39] local.INFO: Processing buffer {"connection_id":193074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:18:39] local.INFO: Packet analysis {"connection_id":193074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d419"} 
[2026-09-24 21:18:39] local.INFO: Extracted packet for processing {"connection_id":193074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d419"} 
[2026-09-24 21:18:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307722752001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790264843000,"timestamp_ms":1790264843000,"timestamp_seconds":1790264843,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4199af8"} 
[2026-09-24 21:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 21:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307722752001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307722752001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:18:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:18:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307722752001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":193074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:18:39] local.INFO: GPS data processed {"connection_id":193074,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:18:39] local.INFO: Acknowledgment sent {"connection_id":193074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:18:53] local.INFO: TCP Data received {"connection_id":191520,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:18:53] local.INFO: Processing buffer {"connection_id":191520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d415f178012d196500071fef18003b004823..."} 
[2026-09-24 21:18:53] local.INFO: Packet analysis {"connection_id":191520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:18:53] local.INFO: Extracted packet for processing {"connection_id":191520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d415"} 
[2026-09-24 21:18:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307661312001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790264603000,"timestamp_ms":1790264603000,"timestamp_seconds":1790264603,"priority":1,"record_length":96,"hex_timestamp":"000001a0d415f178"} 
[2026-09-24 21:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307661312001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307661312001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:18:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:18:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307661312001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":191520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:18:53] local.INFO: GPS data processed {"connection_id":191520,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:18:53] local.INFO: Acknowledgment sent {"connection_id":191520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:19:10] local.INFO: TCP Data received {"connection_id":193074,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:19:10] local.INFO: Processing buffer {"connection_id":193074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:19:10] local.INFO: Packet analysis {"connection_id":193074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d419"} 
[2026-09-24 21:19:10] local.INFO: Extracted packet for processing {"connection_id":193074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d419"} 
[2026-09-24 21:19:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307722752001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790264843000,"timestamp_ms":1790264843000,"timestamp_seconds":1790264843,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4199af8"} 
[2026-09-24 21:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 21:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307722752001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307722752001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:19:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:19:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307722752001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":193074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:19:10] local.INFO: GPS data processed {"connection_id":193074,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:19:10] local.INFO: Acknowledgment sent {"connection_id":193074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:19:15] local.INFO: TCP Data received {"connection_id":191700,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:19:15] local.INFO: Processing buffer {"connection_id":191700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:19:15] local.INFO: IMEI packet received {"connection_id":191700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":191700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:19:20] local.INFO: TCP Data received {"connection_id":191700,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:19:20] local.INFO: Processing buffer {"connection_id":191700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:19:20] local.INFO: IMEI packet received {"connection_id":191700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":191700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:19:21] local.INFO: TCP Data received {"connection_id":191700,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:19:21] local.INFO: Processing buffer {"connection_id":191700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:19:21] local.INFO: Packet analysis {"connection_id":191700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41a"} 
[2026-09-24 21:19:21] local.INFO: Extracted packet for processing {"connection_id":191700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41a"} 
[2026-09-24 21:19:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307738368001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790264904000,"timestamp_ms":1790264904000,"timestamp_seconds":1790264904,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41a8940"} 
[2026-09-24 21:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 21:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307738368001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307738368001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:19:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:19:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307738368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":191700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:19:21] local.INFO: GPS data processed {"connection_id":191700,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:19:21] local.INFO: Acknowledgment sent {"connection_id":191700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:19:27] local.INFO: TCP Data received {"connection_id":191701,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:19:27] local.INFO: Processing buffer {"connection_id":191701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:19:27] local.INFO: IMEI packet received {"connection_id":191701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":191701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:19:32] local.INFO: TCP Data received {"connection_id":191701,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:19:32] local.INFO: Processing buffer {"connection_id":191701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:19:32] local.INFO: IMEI packet received {"connection_id":191701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":191701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:19:34] local.INFO: TCP Data received {"connection_id":191701,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:19:34] local.INFO: Processing buffer {"connection_id":191701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:19:34] local.INFO: Packet analysis {"connection_id":191701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d419"} 
[2026-09-24 21:19:34] local.INFO: Extracted packet for processing {"connection_id":191701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d419"} 
[2026-09-24 21:19:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307722752001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790264843000,"timestamp_ms":1790264843000,"timestamp_seconds":1790264843,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4199af8"} 
[2026-09-24 21:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 21:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307722752001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307722752001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:19:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:19:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307722752001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":191701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:19:34] local.INFO: GPS data processed {"connection_id":191701,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:19:34] local.INFO: Acknowledgment sent {"connection_id":191701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:19:52] local.INFO: TCP Data received {"connection_id":191700,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:19:52] local.INFO: Processing buffer {"connection_id":191700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:19:52] local.INFO: Packet analysis {"connection_id":191700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41a"} 
[2026-09-24 21:19:52] local.INFO: Extracted packet for processing {"connection_id":191700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41a"} 
[2026-09-24 21:19:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307738368001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790264904000,"timestamp_ms":1790264904000,"timestamp_seconds":1790264904,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41a8940"} 
[2026-09-24 21:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 21:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307738368001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307738368001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:19:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:19:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307738368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":191700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:19:52] local.INFO: GPS data processed {"connection_id":191700,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:19:52] local.INFO: Acknowledgment sent {"connection_id":191700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:20:05] local.INFO: TCP Data received {"connection_id":191701,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:20:05] local.INFO: Processing buffer {"connection_id":191701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:20:05] local.INFO: Packet analysis {"connection_id":191701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d419"} 
[2026-09-24 21:20:05] local.INFO: Extracted packet for processing {"connection_id":191701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d419"} 
[2026-09-24 21:20:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307722752001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790264843000,"timestamp_ms":1790264843000,"timestamp_seconds":1790264843,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4199af8"} 
[2026-09-24 21:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 21:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307722752001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307722752001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:20:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:20:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307722752001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":191701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:20:05] local.INFO: GPS data processed {"connection_id":191701,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:20:05] local.INFO: Acknowledgment sent {"connection_id":191701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:20:21] local.INFO: TCP Data received {"connection_id":191521,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:20:21] local.INFO: Processing buffer {"connection_id":191521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:20:21] local.INFO: IMEI packet received {"connection_id":191521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":191521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:20:26] local.INFO: TCP Data received {"connection_id":191521,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:20:26] local.INFO: Processing buffer {"connection_id":191521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:20:26] local.INFO: IMEI packet received {"connection_id":191521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":191521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:20:27] local.INFO: TCP Data received {"connection_id":191521,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:20:27] local.INFO: Processing buffer {"connection_id":191521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:20:27] local.INFO: Packet analysis {"connection_id":191521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41a"} 
[2026-09-24 21:20:27] local.INFO: Extracted packet for processing {"connection_id":191521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41a"} 
[2026-09-24 21:20:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307738368001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790264904000,"timestamp_ms":1790264904000,"timestamp_seconds":1790264904,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41a8940"} 
[2026-09-24 21:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 21:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307738368001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307738368001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:20:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:20:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307738368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":191521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:20:27] local.INFO: GPS data processed {"connection_id":191521,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:20:27] local.INFO: Acknowledgment sent {"connection_id":191521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:20:27] local.INFO: TCP Data received {"connection_id":191522,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:20:27] local.INFO: Processing buffer {"connection_id":191522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:20:27] local.INFO: IMEI packet received {"connection_id":191522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":191522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:20:31] local.INFO: TCP Data received {"connection_id":194374,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194374,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:20:31] local.INFO: Processing buffer {"connection_id":194374,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:20:31] local.INFO: IMEI packet received {"connection_id":194374,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":194374,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:20:31] local.INFO: TCP Data received {"connection_id":191521,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:20:31] local.INFO: Processing buffer {"connection_id":191521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:20:31] local.INFO: Packet analysis {"connection_id":191521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41a"} 
[2026-09-24 21:20:31] local.INFO: Extracted packet for processing {"connection_id":191521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41a"} 
[2026-09-24 21:20:31] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307738368001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790264904000,"timestamp_ms":1790264904000,"timestamp_seconds":1790264904,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41a8940"} 
[2026-09-24 21:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 21:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":191521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":191521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":191521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307738368001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307738368001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:20:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:20:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307738368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":191521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:20:31] local.INFO: GPS data processed {"connection_id":191521,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:20:31] local.INFO: Acknowledgment sent {"connection_id":191521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:20:32] local.INFO: TCP Data received {"connection_id":191522,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:20:32] local.INFO: Processing buffer {"connection_id":191522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:20:32] local.INFO: IMEI packet received {"connection_id":191522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":191522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:20:33] local.INFO: TCP Data received {"connection_id":191522,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:20:33] local.INFO: Processing buffer {"connection_id":191522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:20:33] local.INFO: Packet analysis {"connection_id":191522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d419"} 
[2026-09-24 21:20:33] local.INFO: Extracted packet for processing {"connection_id":191522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d419"} 
[2026-09-24 21:20:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307722752001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790264843000,"timestamp_ms":1790264843000,"timestamp_seconds":1790264843,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4199af8"} 
[2026-09-24 21:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 21:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307722752001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307722752001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:20:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:20:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307722752001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":191522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:20:33] local.INFO: GPS data processed {"connection_id":191522,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:20:33] local.INFO: Acknowledgment sent {"connection_id":191522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:21:05] local.INFO: TCP Data received {"connection_id":191522,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:21:05] local.INFO: Processing buffer {"connection_id":191522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:21:05] local.INFO: Packet analysis {"connection_id":191522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d419"} 
[2026-09-24 21:21:05] local.INFO: Extracted packet for processing {"connection_id":191522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d419"} 
[2026-09-24 21:21:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307722752001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790264843000,"timestamp_ms":1790264843000,"timestamp_seconds":1790264843,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4199af8"} 
[2026-09-24 21:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 21:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307722752001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307722752001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:21:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:21:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307722752001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":191522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:21:05] local.INFO: GPS data processed {"connection_id":191522,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:21:05] local.INFO: Acknowledgment sent {"connection_id":191522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:21:06] local.INFO: TCP Data received {"connection_id":194375,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:21:06] local.INFO: Processing buffer {"connection_id":194375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:21:06] local.INFO: IMEI packet received {"connection_id":194375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":194375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:21:16] local.INFO: TCP Data received {"connection_id":194376,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:21:16] local.INFO: Processing buffer {"connection_id":194376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:21:16] local.INFO: IMEI packet received {"connection_id":194376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":194376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:21:21] local.INFO: TCP Data received {"connection_id":194376,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:21:21] local.INFO: Processing buffer {"connection_id":194376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:21:21] local.INFO: IMEI packet received {"connection_id":194376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":194376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:21:21] local.INFO: TCP Data received {"connection_id":194376,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:21:21] local.INFO: Processing buffer {"connection_id":194376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:21:21] local.INFO: Packet analysis {"connection_id":194376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41a"} 
[2026-09-24 21:21:21] local.INFO: Extracted packet for processing {"connection_id":194376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41a"} 
[2026-09-24 21:21:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307738368001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790264904000,"timestamp_ms":1790264904000,"timestamp_seconds":1790264904,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41a8940"} 
[2026-09-24 21:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 21:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307738368001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307738368001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:21:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:21:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307738368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":194376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:21:22] local.INFO: GPS data processed {"connection_id":194376,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:21:22] local.INFO: Acknowledgment sent {"connection_id":194376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:21:27] local.INFO: TCP Data received {"connection_id":191523,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:21:27] local.INFO: Processing buffer {"connection_id":191523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:21:27] local.INFO: IMEI packet received {"connection_id":191523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":191523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:21:33] local.INFO: TCP Data received {"connection_id":191523,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:21:33] local.INFO: Processing buffer {"connection_id":191523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:21:33] local.INFO: IMEI packet received {"connection_id":191523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":191523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:21:34] local.INFO: TCP Data received {"connection_id":191523,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:21:34] local.INFO: Processing buffer {"connection_id":191523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:21:34] local.INFO: Packet analysis {"connection_id":191523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d419"} 
[2026-09-24 21:21:34] local.INFO: Extracted packet for processing {"connection_id":191523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d419"} 
[2026-09-24 21:21:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307722752001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790264843000,"timestamp_ms":1790264843000,"timestamp_seconds":1790264843,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4199af8"} 
[2026-09-24 21:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 21:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307722752001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307722752001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:21:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:21:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307722752001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":191523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:21:34] local.INFO: GPS data processed {"connection_id":191523,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:21:34] local.INFO: Acknowledgment sent {"connection_id":191523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:21:53] local.INFO: TCP Data received {"connection_id":194376,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:21:53] local.INFO: Processing buffer {"connection_id":194376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:21:53] local.INFO: Packet analysis {"connection_id":194376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41a"} 
[2026-09-24 21:21:53] local.INFO: Extracted packet for processing {"connection_id":194376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41a"} 
[2026-09-24 21:21:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307738368001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790264904000,"timestamp_ms":1790264904000,"timestamp_seconds":1790264904,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41a8940"} 
[2026-09-24 21:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 21:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307738368001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307738368001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:21:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:21:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307738368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":194376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:21:53] local.INFO: GPS data processed {"connection_id":194376,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:21:53] local.INFO: Acknowledgment sent {"connection_id":194376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:22:05] local.INFO: TCP Data received {"connection_id":191523,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:22:05] local.INFO: Processing buffer {"connection_id":191523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:22:05] local.INFO: Packet analysis {"connection_id":191523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d419"} 
[2026-09-24 21:22:05] local.INFO: Extracted packet for processing {"connection_id":191523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d419"} 
[2026-09-24 21:22:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307722752001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790264843000,"timestamp_ms":1790264843000,"timestamp_seconds":1790264843,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4199af8"} 
[2026-09-24 21:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 21:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307722752001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307722752001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:22:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:22:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307722752001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":191523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:22:05] local.INFO: GPS data processed {"connection_id":191523,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:22:05] local.INFO: Acknowledgment sent {"connection_id":191523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:22:16] local.INFO: TCP Data received {"connection_id":194377,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:22:16] local.INFO: Processing buffer {"connection_id":194377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:22:16] local.INFO: IMEI packet received {"connection_id":194377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":194377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:22:21] local.INFO: TCP Data received {"connection_id":194377,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:22:21] local.INFO: Processing buffer {"connection_id":194377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:22:21] local.INFO: IMEI packet received {"connection_id":194377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":194377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:22:22] local.INFO: TCP Data received {"connection_id":194377,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:22:22] local.INFO: Processing buffer {"connection_id":194377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:22:22] local.INFO: Packet analysis {"connection_id":194377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41a"} 
[2026-09-24 21:22:22] local.INFO: Extracted packet for processing {"connection_id":194377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41a"} 
[2026-09-24 21:22:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307738368001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790264904000,"timestamp_ms":1790264904000,"timestamp_seconds":1790264904,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41a8940"} 
[2026-09-24 21:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 21:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307738368001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307738368001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:22:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:22:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307738368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":194377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:22:22] local.INFO: GPS data processed {"connection_id":194377,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:22:22] local.INFO: Acknowledgment sent {"connection_id":194377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:22:32] local.INFO: TCP Data received {"connection_id":191703,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:22:32] local.INFO: Processing buffer {"connection_id":191703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:22:32] local.INFO: IMEI packet received {"connection_id":191703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":191703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:22:37] local.INFO: TCP Data received {"connection_id":191703,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:22:37] local.INFO: Processing buffer {"connection_id":191703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:22:37] local.INFO: IMEI packet received {"connection_id":191703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":191703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:22:38] local.INFO: TCP Data received {"connection_id":191703,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:22:38] local.INFO: Processing buffer {"connection_id":191703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:22:38] local.INFO: Packet analysis {"connection_id":191703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d419"} 
[2026-09-24 21:22:38] local.INFO: Extracted packet for processing {"connection_id":191703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d419"} 
[2026-09-24 21:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307722752001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790264843000,"timestamp_ms":1790264843000,"timestamp_seconds":1790264843,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4199af8"} 
[2026-09-24 21:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 21:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307722752001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307722752001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:22:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307722752001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":191703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:22:38] local.INFO: GPS data processed {"connection_id":191703,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:22:38] local.INFO: Acknowledgment sent {"connection_id":191703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:22:43] local.INFO: TCP Data received {"connection_id":191703,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:22:43] local.INFO: Processing buffer {"connection_id":191703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4199af8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:22:43] local.INFO: Packet analysis {"connection_id":191703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d419"} 
[2026-09-24 21:22:43] local.INFO: Extracted packet for processing {"connection_id":191703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d419"} 
[2026-09-24 21:22:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307722752001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790264843000,"timestamp_ms":1790264843000,"timestamp_seconds":1790264843,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4199af8"} 
[2026-09-24 21:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 21:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307722752001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307722752001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:22:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:22:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307722752001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":191703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:22:43] local.INFO: GPS data processed {"connection_id":191703,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:22:43] local.INFO: Acknowledgment sent {"connection_id":191703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:22:53] local.INFO: TCP Data received {"connection_id":194377,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:22:53] local.INFO: Processing buffer {"connection_id":194377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:22:53] local.INFO: Packet analysis {"connection_id":194377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41a"} 
[2026-09-24 21:22:53] local.INFO: Extracted packet for processing {"connection_id":194377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41a"} 
[2026-09-24 21:22:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307738368001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790264904000,"timestamp_ms":1790264904000,"timestamp_seconds":1790264904,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41a8940"} 
[2026-09-24 21:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 21:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":194377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":194377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":194377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307738368001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307738368001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:22:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:22:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307738368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":194377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:22:53] local.INFO: GPS data processed {"connection_id":194377,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:22:53] local.INFO: Acknowledgment sent {"connection_id":194377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:23:16] local.INFO: TCP Data received {"connection_id":191525,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:23:16] local.INFO: Processing buffer {"connection_id":191525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:23:16] local.INFO: IMEI packet received {"connection_id":191525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":191525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:23:21] local.INFO: TCP Data received {"connection_id":191525,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:23:21] local.INFO: Processing buffer {"connection_id":191525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:23:21] local.INFO: IMEI packet received {"connection_id":191525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":191525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:23:21] local.INFO: TCP Data received {"connection_id":191525,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:23:21] local.INFO: Processing buffer {"connection_id":191525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:23:21] local.INFO: Packet analysis {"connection_id":191525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41a"} 
[2026-09-24 21:23:21] local.INFO: Extracted packet for processing {"connection_id":191525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41a"} 
[2026-09-24 21:23:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307738368001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790264904000,"timestamp_ms":1790264904000,"timestamp_seconds":1790264904,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41a8940"} 
[2026-09-24 21:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 21:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307738368001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307738368001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:23:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:23:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307738368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":191525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:23:22] local.INFO: GPS data processed {"connection_id":191525,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:23:22] local.INFO: Acknowledgment sent {"connection_id":191525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:23:27] local.INFO: TCP Data received {"connection_id":191704,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:23:27] local.INFO: Processing buffer {"connection_id":191704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:23:27] local.INFO: IMEI packet received {"connection_id":191704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":191704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:23:32] local.INFO: TCP Data received {"connection_id":191704,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:23:32] local.INFO: Processing buffer {"connection_id":191704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:23:32] local.INFO: IMEI packet received {"connection_id":191704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":191704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:23:34] local.INFO: TCP Data received {"connection_id":191704,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:23:34] local.INFO: Processing buffer {"connection_id":191704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:23:34] local.INFO: Packet analysis {"connection_id":191704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41e"} 
[2026-09-24 21:23:34] local.INFO: Extracted packet for processing {"connection_id":191704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41e"} 
[2026-09-24 21:23:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307799808001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790265144000,"timestamp_ms":1790265144000,"timestamp_seconds":1790265144,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41e32c0"} 
[2026-09-24 21:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 21:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307799808001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307799808001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:23:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:23:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307799808001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":191704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:23:34] local.INFO: GPS data processed {"connection_id":191704,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:23:34] local.INFO: Acknowledgment sent {"connection_id":191704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:23:53] local.INFO: TCP Data received {"connection_id":191525,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:23:53] local.INFO: Processing buffer {"connection_id":191525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41a8940012d196500071fef18003b004823..."} 
[2026-09-24 21:23:53] local.INFO: Packet analysis {"connection_id":191525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41a"} 
[2026-09-24 21:23:53] local.INFO: Extracted packet for processing {"connection_id":191525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41a"} 
[2026-09-24 21:23:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307738368001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790264904000,"timestamp_ms":1790264904000,"timestamp_seconds":1790264904,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41a8940"} 
[2026-09-24 21:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 21:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307738368001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307738368001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:23:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:23:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307738368001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":191525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:23:53] local.INFO: GPS data processed {"connection_id":191525,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:23:53] local.INFO: Acknowledgment sent {"connection_id":191525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:24:06] local.INFO: TCP Data received {"connection_id":191704,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:24:06] local.INFO: Processing buffer {"connection_id":191704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:24:06] local.INFO: Packet analysis {"connection_id":191704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41e"} 
[2026-09-24 21:24:06] local.INFO: Extracted packet for processing {"connection_id":191704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41e"} 
[2026-09-24 21:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307799808001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790265144000,"timestamp_ms":1790265144000,"timestamp_seconds":1790265144,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41e32c0"} 
[2026-09-24 21:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 21:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307799808001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307799808001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:24:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307799808001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":191704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:24:06] local.INFO: GPS data processed {"connection_id":191704,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:24:06] local.INFO: Acknowledgment sent {"connection_id":191704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:24:15] local.INFO: TCP Data received {"connection_id":194379,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:24:15] local.INFO: Processing buffer {"connection_id":194379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:24:15] local.INFO: IMEI packet received {"connection_id":194379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":194379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:24:20] local.INFO: TCP Data received {"connection_id":194379,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:24:20] local.INFO: Processing buffer {"connection_id":194379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:24:20] local.INFO: IMEI packet received {"connection_id":194379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":194379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:24:21] local.INFO: TCP Data received {"connection_id":194379,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:24:21] local.INFO: Processing buffer {"connection_id":194379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:24:21] local.INFO: Packet analysis {"connection_id":194379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41f"} 
[2026-09-24 21:24:21] local.INFO: Extracted packet for processing {"connection_id":194379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41f"} 
[2026-09-24 21:24:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307815424001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790265205000,"timestamp_ms":1790265205000,"timestamp_seconds":1790265205,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41f2108"} 
[2026-09-24 21:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307815424001,"66":2122,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307815424001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:24:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:24:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307815424001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":194379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:24:21] local.INFO: GPS data processed {"connection_id":194379,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:24:21] local.INFO: Acknowledgment sent {"connection_id":194379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:24:27] local.INFO: TCP Data received {"connection_id":193076,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:24:27] local.INFO: Processing buffer {"connection_id":193076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:24:27] local.INFO: IMEI packet received {"connection_id":193076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":193076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:24:32] local.INFO: TCP Data received {"connection_id":193076,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:24:32] local.INFO: Processing buffer {"connection_id":193076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:24:32] local.INFO: IMEI packet received {"connection_id":193076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":193076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:24:34] local.INFO: TCP Data received {"connection_id":193076,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:24:34] local.INFO: Processing buffer {"connection_id":193076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:24:34] local.INFO: Packet analysis {"connection_id":193076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41e"} 
[2026-09-24 21:24:34] local.INFO: Extracted packet for processing {"connection_id":193076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41e"} 
[2026-09-24 21:24:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307799808001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790265144000,"timestamp_ms":1790265144000,"timestamp_seconds":1790265144,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41e32c0"} 
[2026-09-24 21:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 21:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307799808001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307799808001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:24:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:24:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307799808001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":193076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:24:34] local.INFO: GPS data processed {"connection_id":193076,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:24:34] local.INFO: Acknowledgment sent {"connection_id":193076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:24:52] local.INFO: TCP Data received {"connection_id":194379,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:24:52] local.INFO: Processing buffer {"connection_id":194379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:24:52] local.INFO: Packet analysis {"connection_id":194379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41f"} 
[2026-09-24 21:24:52] local.INFO: Extracted packet for processing {"connection_id":194379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41f"} 
[2026-09-24 21:24:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307815424001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790265205000,"timestamp_ms":1790265205000,"timestamp_seconds":1790265205,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41f2108"} 
[2026-09-24 21:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":194379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":194379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":194379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307815424001,"66":2122,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307815424001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:24:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:24:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307815424001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":194379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:24:52] local.INFO: GPS data processed {"connection_id":194379,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:24:52] local.INFO: Acknowledgment sent {"connection_id":194379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:25:06] local.INFO: TCP Data received {"connection_id":193076,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:25:06] local.INFO: Processing buffer {"connection_id":193076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:25:06] local.INFO: Packet analysis {"connection_id":193076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41e"} 
[2026-09-24 21:25:06] local.INFO: Extracted packet for processing {"connection_id":193076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41e"} 
[2026-09-24 21:25:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307799808001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790265144000,"timestamp_ms":1790265144000,"timestamp_seconds":1790265144,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41e32c0"} 
[2026-09-24 21:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 21:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307799808001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307799808001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:25:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:25:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307799808001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":193076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:25:06] local.INFO: GPS data processed {"connection_id":193076,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:25:06] local.INFO: Acknowledgment sent {"connection_id":193076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:25:21] local.INFO: TCP Data received {"connection_id":194380,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:25:21] local.INFO: Processing buffer {"connection_id":194380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:25:21] local.INFO: IMEI packet received {"connection_id":194380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":194380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:25:26] local.INFO: TCP Data received {"connection_id":194380,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:25:26] local.INFO: Processing buffer {"connection_id":194380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:25:26] local.INFO: IMEI packet received {"connection_id":194380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":194380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:25:26] local.INFO: TCP Data received {"connection_id":194380,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:25:26] local.INFO: Processing buffer {"connection_id":194380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:25:26] local.INFO: Packet analysis {"connection_id":194380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41f"} 
[2026-09-24 21:25:26] local.INFO: Extracted packet for processing {"connection_id":194380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41f"} 
[2026-09-24 21:25:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307815424001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790265205000,"timestamp_ms":1790265205000,"timestamp_seconds":1790265205,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41f2108"} 
[2026-09-24 21:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":194380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":194380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":194380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307815424001,"66":2122,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307815424001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:25:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:25:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307815424001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":194380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:25:27] local.INFO: GPS data processed {"connection_id":194380,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:25:27] local.INFO: Acknowledgment sent {"connection_id":194380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:25:27] local.INFO: TCP Data received {"connection_id":193077,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:25:27] local.INFO: Processing buffer {"connection_id":193077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:25:27] local.INFO: IMEI packet received {"connection_id":193077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":193077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:25:31] local.INFO: TCP Data received {"connection_id":194380,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:25:31] local.INFO: Processing buffer {"connection_id":194380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:25:31] local.INFO: Packet analysis {"connection_id":194380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41f"} 
[2026-09-24 21:25:31] local.INFO: Extracted packet for processing {"connection_id":194380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41f"} 
[2026-09-24 21:25:31] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307815424001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790265205000,"timestamp_ms":1790265205000,"timestamp_seconds":1790265205,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41f2108"} 
[2026-09-24 21:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307815424001,"66":2122,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307815424001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:25:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:25:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307815424001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":194380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:25:31] local.INFO: GPS data processed {"connection_id":194380,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:25:31] local.INFO: Acknowledgment sent {"connection_id":194380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:25:32] local.INFO: TCP Data received {"connection_id":193077,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:25:32] local.INFO: Processing buffer {"connection_id":193077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:25:32] local.INFO: IMEI packet received {"connection_id":193077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":193077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:25:34] local.INFO: TCP Data received {"connection_id":193077,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:25:34] local.INFO: Processing buffer {"connection_id":193077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:25:34] local.INFO: Packet analysis {"connection_id":193077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41e"} 
[2026-09-24 21:25:34] local.INFO: Extracted packet for processing {"connection_id":193077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41e"} 
[2026-09-24 21:25:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307799808001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790265144000,"timestamp_ms":1790265144000,"timestamp_seconds":1790265144,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41e32c0"} 
[2026-09-24 21:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 21:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307799808001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307799808001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:25:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:25:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307799808001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":193077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:25:34] local.INFO: GPS data processed {"connection_id":193077,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:25:34] local.INFO: Acknowledgment sent {"connection_id":193077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:26:05] local.INFO: TCP Data received {"connection_id":193077,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:26:05] local.INFO: Processing buffer {"connection_id":193077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:26:05] local.INFO: Packet analysis {"connection_id":193077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41e"} 
[2026-09-24 21:26:05] local.INFO: Extracted packet for processing {"connection_id":193077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41e"} 
[2026-09-24 21:26:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307799808001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790265144000,"timestamp_ms":1790265144000,"timestamp_seconds":1790265144,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41e32c0"} 
[2026-09-24 21:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 21:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307799808001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307799808001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:26:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:26:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307799808001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":193077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:26:05] local.INFO: GPS data processed {"connection_id":193077,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:26:05] local.INFO: Acknowledgment sent {"connection_id":193077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:26:16] local.INFO: TCP Data received {"connection_id":191705,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:26:16] local.INFO: Processing buffer {"connection_id":191705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:26:16] local.INFO: IMEI packet received {"connection_id":191705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":191705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:26:21] local.INFO: TCP Data received {"connection_id":191705,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:26:21] local.INFO: Processing buffer {"connection_id":191705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:26:21] local.INFO: IMEI packet received {"connection_id":191705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":191705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:26:21] local.INFO: TCP Data received {"connection_id":193078,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:26:21] local.INFO: Processing buffer {"connection_id":193078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:26:21] local.INFO: IMEI packet received {"connection_id":193078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":193078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:26:22] local.INFO: TCP Data received {"connection_id":191705,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:26:22] local.INFO: Processing buffer {"connection_id":191705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:26:22] local.INFO: Packet analysis {"connection_id":191705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41f"} 
[2026-09-24 21:26:22] local.INFO: Extracted packet for processing {"connection_id":191705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41f"} 
[2026-09-24 21:26:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307815424001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790265205000,"timestamp_ms":1790265205000,"timestamp_seconds":1790265205,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41f2108"} 
[2026-09-24 21:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307815424001,"66":2122,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307815424001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:26:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:26:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307815424001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":191705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:26:22] local.INFO: GPS data processed {"connection_id":191705,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:26:22] local.INFO: Acknowledgment sent {"connection_id":191705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:26:33] local.INFO: TCP Data received {"connection_id":191706,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:26:33] local.INFO: Processing buffer {"connection_id":191706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:26:33] local.INFO: IMEI packet received {"connection_id":191706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":191706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:26:38] local.INFO: TCP Data received {"connection_id":191706,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:26:38] local.INFO: Processing buffer {"connection_id":191706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:26:38] local.INFO: IMEI packet received {"connection_id":191706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":191706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:26:39] local.INFO: TCP Data received {"connection_id":191706,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:26:39] local.INFO: Processing buffer {"connection_id":191706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:26:39] local.INFO: Packet analysis {"connection_id":191706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41e"} 
[2026-09-24 21:26:39] local.INFO: Extracted packet for processing {"connection_id":191706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41e"} 
[2026-09-24 21:26:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307799808001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790265144000,"timestamp_ms":1790265144000,"timestamp_seconds":1790265144,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41e32c0"} 
[2026-09-24 21:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 21:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307799808001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307799808001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:26:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:26:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307799808001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":191706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:26:39] local.INFO: GPS data processed {"connection_id":191706,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:26:39] local.INFO: Acknowledgment sent {"connection_id":191706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:26:44] local.INFO: TCP Data received {"connection_id":191706,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:26:44] local.INFO: Processing buffer {"connection_id":191706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:26:44] local.INFO: Packet analysis {"connection_id":191706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41e"} 
[2026-09-24 21:26:44] local.INFO: Extracted packet for processing {"connection_id":191706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41e"} 
[2026-09-24 21:26:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307799808001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790265144000,"timestamp_ms":1790265144000,"timestamp_seconds":1790265144,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41e32c0"} 
[2026-09-24 21:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 21:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307799808001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307799808001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:26:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:26:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307799808001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":191706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:26:44] local.INFO: GPS data processed {"connection_id":191706,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:26:44] local.INFO: Acknowledgment sent {"connection_id":191706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:26:53] local.INFO: TCP Data received {"connection_id":191705,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:26:53] local.INFO: Processing buffer {"connection_id":191705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:26:53] local.INFO: Packet analysis {"connection_id":191705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41f"} 
[2026-09-24 21:26:53] local.INFO: Extracted packet for processing {"connection_id":191705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41f"} 
[2026-09-24 21:26:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307815424001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790265205000,"timestamp_ms":1790265205000,"timestamp_seconds":1790265205,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41f2108"} 
[2026-09-24 21:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307815424001,"66":2122,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307815424001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:26:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:26:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307815424001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":191705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:26:53] local.INFO: GPS data processed {"connection_id":191705,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:26:53] local.INFO: Acknowledgment sent {"connection_id":191705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:27:06] local.INFO: TCP Data received {"connection_id":194381,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:27:06] local.INFO: Processing buffer {"connection_id":194381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:27:06] local.INFO: IMEI packet received {"connection_id":194381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":194381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:27:16] local.INFO: TCP Data received {"connection_id":193079,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:27:16] local.INFO: Processing buffer {"connection_id":193079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:27:16] local.INFO: IMEI packet received {"connection_id":193079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":193079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:27:21] local.INFO: TCP Data received {"connection_id":193079,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:27:21] local.INFO: Processing buffer {"connection_id":193079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:27:21] local.INFO: IMEI packet received {"connection_id":193079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":193079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:27:21] local.INFO: TCP Data received {"connection_id":193079,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:27:21] local.INFO: Processing buffer {"connection_id":193079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:27:21] local.INFO: Packet analysis {"connection_id":193079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41f"} 
[2026-09-24 21:27:21] local.INFO: Extracted packet for processing {"connection_id":193079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41f"} 
[2026-09-24 21:27:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307815424001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790265205000,"timestamp_ms":1790265205000,"timestamp_seconds":1790265205,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41f2108"} 
[2026-09-24 21:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307815424001,"66":2122,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307815424001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:27:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:27:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307815424001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":193079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:27:22] local.INFO: GPS data processed {"connection_id":193079,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:27:22] local.INFO: Acknowledgment sent {"connection_id":193079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:27:27] local.INFO: TCP Data received {"connection_id":191707,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:27:27] local.INFO: Processing buffer {"connection_id":191707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:27:27] local.INFO: IMEI packet received {"connection_id":191707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":191707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:27:32] local.INFO: TCP Data received {"connection_id":191707,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:27:32] local.INFO: Processing buffer {"connection_id":191707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:27:32] local.INFO: IMEI packet received {"connection_id":191707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":191707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:27:34] local.INFO: TCP Data received {"connection_id":191707,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:27:34] local.INFO: Processing buffer {"connection_id":191707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41e32c0012d34c14006aa4940000900f52a..."} 
[2026-09-24 21:27:34] local.INFO: Packet analysis {"connection_id":191707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41e"} 
[2026-09-24 21:27:34] local.INFO: Extracted packet for processing {"connection_id":191707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41e"} 
[2026-09-24 21:27:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307799808001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790265144000,"timestamp_ms":1790265144000,"timestamp_seconds":1790265144,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41e32c0"} 
[2026-09-24 21:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 21:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307799808001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307799808001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:27:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:27:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307799808001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":191707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:27:34] local.INFO: GPS data processed {"connection_id":191707,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:27:34] local.INFO: Acknowledgment sent {"connection_id":191707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:27:53] local.INFO: TCP Data received {"connection_id":193079,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:27:53] local.INFO: Processing buffer {"connection_id":193079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:27:53] local.INFO: Packet analysis {"connection_id":193079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41f"} 
[2026-09-24 21:27:53] local.INFO: Extracted packet for processing {"connection_id":193079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41f"} 
[2026-09-24 21:27:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307815424001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790265205000,"timestamp_ms":1790265205000,"timestamp_seconds":1790265205,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41f2108"} 
[2026-09-24 21:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":193079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":193079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":193079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307815424001,"66":2122,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307815424001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:27:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:27:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307815424001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":193079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:27:53] local.INFO: GPS data processed {"connection_id":193079,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:27:53] local.INFO: Acknowledgment sent {"connection_id":193079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:28:05] local.INFO: TCP Data received {"connection_id":191707,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:28:05] local.INFO: Processing buffer {"connection_id":191707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:28:05] local.INFO: Packet analysis {"connection_id":191707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d422"} 
[2026-09-24 21:28:05] local.INFO: Extracted packet for processing {"connection_id":191707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d422"} 
[2026-09-24 21:28:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307876864001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790265445000,"timestamp_ms":1790265445000,"timestamp_seconds":1790265445,"priority":1,"record_length":96,"hex_timestamp":"000001a0d422ca88"} 
[2026-09-24 21:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307876864001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307876864001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:28:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:28:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307876864001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":191707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:28:05] local.INFO: GPS data processed {"connection_id":191707,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:28:05] local.INFO: Acknowledgment sent {"connection_id":191707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:28:16] local.INFO: TCP Data received {"connection_id":191527,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:28:16] local.INFO: Processing buffer {"connection_id":191527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:28:16] local.INFO: IMEI packet received {"connection_id":191527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":191527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:28:21] local.INFO: TCP Data received {"connection_id":191527,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:28:21] local.INFO: Processing buffer {"connection_id":191527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:28:21] local.INFO: IMEI packet received {"connection_id":191527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":191527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:28:22] local.INFO: TCP Data received {"connection_id":191527,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:28:22] local.INFO: Processing buffer {"connection_id":191527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:28:22] local.INFO: Packet analysis {"connection_id":191527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41f"} 
[2026-09-24 21:28:22] local.INFO: Extracted packet for processing {"connection_id":191527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41f"} 
[2026-09-24 21:28:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307815424001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790265205000,"timestamp_ms":1790265205000,"timestamp_seconds":1790265205,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41f2108"} 
[2026-09-24 21:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307815424001,"66":2122,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307815424001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:28:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:28:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307815424001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":191527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:28:22] local.INFO: GPS data processed {"connection_id":191527,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:28:22] local.INFO: Acknowledgment sent {"connection_id":191527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:28:27] local.INFO: TCP Data received {"connection_id":191709,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:28:27] local.INFO: Processing buffer {"connection_id":191709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:28:27] local.INFO: IMEI packet received {"connection_id":191709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":191709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:28:32] local.INFO: TCP Data received {"connection_id":191709,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:28:32] local.INFO: Processing buffer {"connection_id":191709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:28:32] local.INFO: IMEI packet received {"connection_id":191709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":191709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:28:34] local.INFO: TCP Data received {"connection_id":191709,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:28:34] local.INFO: Processing buffer {"connection_id":191709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:28:34] local.INFO: Packet analysis {"connection_id":191709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d422"} 
[2026-09-24 21:28:34] local.INFO: Extracted packet for processing {"connection_id":191709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d422"} 
[2026-09-24 21:28:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307876864001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790265445000,"timestamp_ms":1790265445000,"timestamp_seconds":1790265445,"priority":1,"record_length":96,"hex_timestamp":"000001a0d422ca88"} 
[2026-09-24 21:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:28: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-09-24 21:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307876864001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307876864001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:28:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:28:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307876864001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":191709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:28:34] local.INFO: GPS data processed {"connection_id":191709,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:28:34] local.INFO: Acknowledgment sent {"connection_id":191709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:28:53] local.INFO: TCP Data received {"connection_id":191527,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:28:53] local.INFO: Processing buffer {"connection_id":191527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d41f2108012d196500071fef18003b004825..."} 
[2026-09-24 21:28:53] local.INFO: Packet analysis {"connection_id":191527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d41f"} 
[2026-09-24 21:28:53] local.INFO: Extracted packet for processing {"connection_id":191527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d41f"} 
[2026-09-24 21:28:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307815424001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790265205000,"timestamp_ms":1790265205000,"timestamp_seconds":1790265205,"priority":1,"record_length":96,"hex_timestamp":"000001a0d41f2108"} 
[2026-09-24 21:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307815424001,"66":2122,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307815424001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:28:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:28:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307815424001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":191527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:28:53] local.INFO: GPS data processed {"connection_id":191527,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:28:53] local.INFO: Acknowledgment sent {"connection_id":191527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:29:05] local.INFO: TCP Data received {"connection_id":191709,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:29:05] local.INFO: Processing buffer {"connection_id":191709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:29:05] local.INFO: Packet analysis {"connection_id":191709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d422"} 
[2026-09-24 21:29:05] local.INFO: Extracted packet for processing {"connection_id":191709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d422"} 
[2026-09-24 21:29:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 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-09-24 21:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307876864001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790265445000,"timestamp_ms":1790265445000,"timestamp_seconds":1790265445,"priority":1,"record_length":96,"hex_timestamp":"000001a0d422ca88"} 
[2026-09-24 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-09-24 21:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 21:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307876864001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307876864001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:29:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:29:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307876864001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":191709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:29:05] local.INFO: GPS data processed {"connection_id":191709,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:29:05] local.INFO: Acknowledgment sent {"connection_id":191709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:29:15] local.INFO: TCP Data received {"connection_id":193082,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:29:15] local.INFO: Processing buffer {"connection_id":193082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:29:15] local.INFO: IMEI packet received {"connection_id":193082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":193082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:29:20] local.INFO: TCP Data received {"connection_id":193082,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:29:20] local.INFO: Processing buffer {"connection_id":193082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:29:20] local.INFO: IMEI packet received {"connection_id":193082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":193082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:29:21] local.INFO: TCP Data received {"connection_id":193082,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:29:21] local.INFO: Processing buffer {"connection_id":193082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:29:21] local.INFO: Packet analysis {"connection_id":193082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d423"} 
[2026-09-24 21:29:21] local.INFO: Extracted packet for processing {"connection_id":193082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d423"} 
[2026-09-24 21:29:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307892480001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790265506000,"timestamp_ms":1790265506000,"timestamp_seconds":1790265506,"priority":1,"record_length":96,"hex_timestamp":"000001a0d423b8d0"} 
[2026-09-24 21:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-24 21:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307892480001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307892480001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:29:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:29:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307892480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":193082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:29:21] local.INFO: GPS data processed {"connection_id":193082,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:29:21] local.INFO: Acknowledgment sent {"connection_id":193082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:29:27] local.INFO: TCP Data received {"connection_id":191528,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:29:27] local.INFO: Processing buffer {"connection_id":191528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:29:27] local.INFO: IMEI packet received {"connection_id":191528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":191528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:29:32] local.INFO: TCP Data received {"connection_id":191528,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:29:32] local.INFO: Processing buffer {"connection_id":191528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:29:32] local.INFO: IMEI packet received {"connection_id":191528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":191528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:29:34] local.INFO: TCP Data received {"connection_id":191528,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:29:34] local.INFO: Processing buffer {"connection_id":191528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:29:34] local.INFO: Packet analysis {"connection_id":191528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d422"} 
[2026-09-24 21:29:34] local.INFO: Extracted packet for processing {"connection_id":191528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d422"} 
[2026-09-24 21:29:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307876864001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790265445000,"timestamp_ms":1790265445000,"timestamp_seconds":1790265445,"priority":1,"record_length":96,"hex_timestamp":"000001a0d422ca88"} 
[2026-09-24 21:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:29: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-09-24 21:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307876864001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307876864001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:29:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:29:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307876864001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":191528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:29:34] local.INFO: GPS data processed {"connection_id":191528,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:29:34] local.INFO: Acknowledgment sent {"connection_id":191528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:29:52] local.INFO: TCP Data received {"connection_id":193082,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:29:52] local.INFO: Processing buffer {"connection_id":193082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:29:52] local.INFO: Packet analysis {"connection_id":193082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d423"} 
[2026-09-24 21:29:52] local.INFO: Extracted packet for processing {"connection_id":193082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d423"} 
[2026-09-24 21:29:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307892480001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790265506000,"timestamp_ms":1790265506000,"timestamp_seconds":1790265506,"priority":1,"record_length":96,"hex_timestamp":"000001a0d423b8d0"} 
[2026-09-24 21:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-24 21:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":193082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":193082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":193082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307892480001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307892480001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:29:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:29:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307892480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":193082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:29:52] local.INFO: GPS data processed {"connection_id":193082,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:29:52] local.INFO: Acknowledgment sent {"connection_id":193082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:30:05] local.INFO: TCP Data received {"connection_id":191528,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:30:05] local.INFO: Processing buffer {"connection_id":191528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:30:05] local.INFO: Packet analysis {"connection_id":191528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d422"} 
[2026-09-24 21:30:05] local.INFO: Extracted packet for processing {"connection_id":191528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d422"} 
[2026-09-24 21:30:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307876864001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790265445000,"timestamp_ms":1790265445000,"timestamp_seconds":1790265445,"priority":1,"record_length":96,"hex_timestamp":"000001a0d422ca88"} 
[2026-09-24 21:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307876864001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307876864001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:30:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:30:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307876864001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":191528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:30:05] local.INFO: GPS data processed {"connection_id":191528,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:30:05] local.INFO: Acknowledgment sent {"connection_id":191528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:30:21] local.INFO: TCP Data received {"connection_id":193084,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:30:21] local.INFO: Processing buffer {"connection_id":193084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:30:21] local.INFO: IMEI packet received {"connection_id":193084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":193084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:30:26] local.INFO: TCP Data received {"connection_id":193084,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:30:26] local.INFO: Processing buffer {"connection_id":193084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:30:26] local.INFO: IMEI packet received {"connection_id":193084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":193084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:30:26] local.INFO: TCP Data received {"connection_id":193084,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:30:27] local.INFO: Processing buffer {"connection_id":193084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:30:27] local.INFO: Packet analysis {"connection_id":193084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d423"} 
[2026-09-24 21:30:27] local.INFO: Extracted packet for processing {"connection_id":193084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d423"} 
[2026-09-24 21:30:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307892480001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790265506000,"timestamp_ms":1790265506000,"timestamp_seconds":1790265506,"priority":1,"record_length":96,"hex_timestamp":"000001a0d423b8d0"} 
[2026-09-24 21:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-24 21:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":193084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":193084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":193084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307892480001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307892480001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:30:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:30:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307892480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":193084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:30:27] local.INFO: GPS data processed {"connection_id":193084,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:30:27] local.INFO: Acknowledgment sent {"connection_id":193084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:30:31] local.INFO: TCP Data received {"connection_id":193084,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:30:31] local.INFO: Processing buffer {"connection_id":193084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:30:31] local.INFO: Packet analysis {"connection_id":193084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d423"} 
[2026-09-24 21:30:31] local.INFO: Extracted packet for processing {"connection_id":193084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d423"} 
[2026-09-24 21:30:31] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307892480001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790265506000,"timestamp_ms":1790265506000,"timestamp_seconds":1790265506,"priority":1,"record_length":96,"hex_timestamp":"000001a0d423b8d0"} 
[2026-09-24 21:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21: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":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-24 21:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307892480001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307892480001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:30:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:30:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307892480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":193084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:30:31] local.INFO: GPS data processed {"connection_id":193084,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:30:31] local.INFO: Acknowledgment sent {"connection_id":193084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:30:32] local.INFO: TCP Data received {"connection_id":194382,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:30:32] local.INFO: Processing buffer {"connection_id":194382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:30:32] local.INFO: IMEI packet received {"connection_id":194382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":194382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:30:37] local.INFO: TCP Data received {"connection_id":194382,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:30:37] local.INFO: Processing buffer {"connection_id":194382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:30:37] local.INFO: IMEI packet received {"connection_id":194382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":194382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:30:38] local.INFO: TCP Data received {"connection_id":194382,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:30:38] local.INFO: Processing buffer {"connection_id":194382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:30:38] local.INFO: Packet analysis {"connection_id":194382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d422"} 
[2026-09-24 21:30:38] local.INFO: Extracted packet for processing {"connection_id":194382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d422"} 
[2026-09-24 21:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307876864001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790265445000,"timestamp_ms":1790265445000,"timestamp_seconds":1790265445,"priority":1,"record_length":96,"hex_timestamp":"000001a0d422ca88"} 
[2026-09-24 21:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307876864001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307876864001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:30:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307876864001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":194382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:30:39] local.INFO: GPS data processed {"connection_id":194382,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:30:39] local.INFO: Acknowledgment sent {"connection_id":194382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:30:43] local.INFO: TCP Data received {"connection_id":194382,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:30:43] local.INFO: Processing buffer {"connection_id":194382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:30:43] local.INFO: Packet analysis {"connection_id":194382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d422"} 
[2026-09-24 21:30:43] local.INFO: Extracted packet for processing {"connection_id":194382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d422"} 
[2026-09-24 21:30:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307876864001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790265445000,"timestamp_ms":1790265445000,"timestamp_seconds":1790265445,"priority":1,"record_length":96,"hex_timestamp":"000001a0d422ca88"} 
[2026-09-24 21:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":194382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":194382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":194382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307876864001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307876864001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:30:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:30:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307876864001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":194382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:30:43] local.INFO: GPS data processed {"connection_id":194382,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:30:43] local.INFO: Acknowledgment sent {"connection_id":194382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:31:16] local.INFO: TCP Data received {"connection_id":191530,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:31:16] local.INFO: Processing buffer {"connection_id":191530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:31:16] local.INFO: IMEI packet received {"connection_id":191530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":191530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:31:21] local.INFO: TCP Data received {"connection_id":191530,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:31:21] local.INFO: Processing buffer {"connection_id":191530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:31:21] local.INFO: IMEI packet received {"connection_id":191530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":191530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:31:22] local.INFO: TCP Data received {"connection_id":191530,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:31:22] local.INFO: Processing buffer {"connection_id":191530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:31:22] local.INFO: Packet analysis {"connection_id":191530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d423"} 
[2026-09-24 21:31:22] local.INFO: Extracted packet for processing {"connection_id":191530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d423"} 
[2026-09-24 21:31:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307892480001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790265506000,"timestamp_ms":1790265506000,"timestamp_seconds":1790265506,"priority":1,"record_length":96,"hex_timestamp":"000001a0d423b8d0"} 
[2026-09-24 21:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-24 21:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307892480001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307892480001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:31:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:31:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307892480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":191530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:31:22] local.INFO: GPS data processed {"connection_id":191530,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:31:22] local.INFO: Acknowledgment sent {"connection_id":191530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:31:27] local.INFO: TCP Data received {"connection_id":193085,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:31:27] local.INFO: Processing buffer {"connection_id":193085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:31:27] local.INFO: IMEI packet received {"connection_id":193085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":193085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:31:32] local.INFO: TCP Data received {"connection_id":193085,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:31:32] local.INFO: Processing buffer {"connection_id":193085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:31:32] local.INFO: IMEI packet received {"connection_id":193085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":193085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:31:33] local.INFO: TCP Data received {"connection_id":193085,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:31:33] local.INFO: Processing buffer {"connection_id":193085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:31:33] local.INFO: Packet analysis {"connection_id":193085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d422"} 
[2026-09-24 21:31:33] local.INFO: Extracted packet for processing {"connection_id":193085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d422"} 
[2026-09-24 21:31:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307876864001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790265445000,"timestamp_ms":1790265445000,"timestamp_seconds":1790265445,"priority":1,"record_length":96,"hex_timestamp":"000001a0d422ca88"} 
[2026-09-24 21:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307876864001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307876864001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:31:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:31:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307876864001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":193085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:31:33] local.INFO: GPS data processed {"connection_id":193085,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:31:33] local.INFO: Acknowledgment sent {"connection_id":193085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:31:53] local.INFO: TCP Data received {"connection_id":191530,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:31:53] local.INFO: Processing buffer {"connection_id":191530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:31:53] local.INFO: Packet analysis {"connection_id":191530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d423"} 
[2026-09-24 21:31:53] local.INFO: Extracted packet for processing {"connection_id":191530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d423"} 
[2026-09-24 21:31:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:31: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-09-24 21:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307892480001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790265506000,"timestamp_ms":1790265506000,"timestamp_seconds":1790265506,"priority":1,"record_length":96,"hex_timestamp":"000001a0d423b8d0"} 
[2026-09-24 21:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-24 21:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:31: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-09-24 21:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307892480001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307892480001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:31:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:31:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307892480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":191530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:31:53] local.INFO: GPS data processed {"connection_id":191530,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:31:53] local.INFO: Acknowledgment sent {"connection_id":191530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:32:05] local.INFO: TCP Data received {"connection_id":193085,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:32:05] local.INFO: Processing buffer {"connection_id":193085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:32:05] local.INFO: Packet analysis {"connection_id":193085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d422"} 
[2026-09-24 21:32:05] local.INFO: Extracted packet for processing {"connection_id":193085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d422"} 
[2026-09-24 21:32:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307876864001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790265445000,"timestamp_ms":1790265445000,"timestamp_seconds":1790265445,"priority":1,"record_length":96,"hex_timestamp":"000001a0d422ca88"} 
[2026-09-24 21:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:32: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-09-24 21:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307876864001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307876864001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:32:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:32:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307876864001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":193085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:32:05] local.INFO: GPS data processed {"connection_id":193085,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:32:05] local.INFO: Acknowledgment sent {"connection_id":193085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:32:16] local.INFO: TCP Data received {"connection_id":193086,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:32:16] local.INFO: Processing buffer {"connection_id":193086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:32:16] local.INFO: IMEI packet received {"connection_id":193086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":193086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:32:21] local.INFO: TCP Data received {"connection_id":193086,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:32:21] local.INFO: Processing buffer {"connection_id":193086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:32:21] local.INFO: IMEI packet received {"connection_id":193086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":193086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:32:22] local.INFO: TCP Data received {"connection_id":193086,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:32:22] local.INFO: Processing buffer {"connection_id":193086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:32:22] local.INFO: Packet analysis {"connection_id":193086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d423"} 
[2026-09-24 21:32:22] local.INFO: Extracted packet for processing {"connection_id":193086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d423"} 
[2026-09-24 21:32:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307892480001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790265506000,"timestamp_ms":1790265506000,"timestamp_seconds":1790265506,"priority":1,"record_length":96,"hex_timestamp":"000001a0d423b8d0"} 
[2026-09-24 21:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-24 21:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307892480001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307892480001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:32:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:32:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307892480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":193086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:32:22] local.INFO: GPS data processed {"connection_id":193086,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:32:22] local.INFO: Acknowledgment sent {"connection_id":193086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:32:27] local.INFO: TCP Data received {"connection_id":191710,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:32:27] local.INFO: Processing buffer {"connection_id":191710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:32:27] local.INFO: IMEI packet received {"connection_id":191710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":191710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:32:32] local.INFO: TCP Data received {"connection_id":191710,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:32:32] local.INFO: Processing buffer {"connection_id":191710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:32:32] local.INFO: IMEI packet received {"connection_id":191710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":191710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:32:34] local.INFO: TCP Data received {"connection_id":191710,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:32:34] local.INFO: Processing buffer {"connection_id":191710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d422ca88012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:32:34] local.INFO: Packet analysis {"connection_id":191710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d422"} 
[2026-09-24 21:32:34] local.INFO: Extracted packet for processing {"connection_id":191710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d422"} 
[2026-09-24 21:32:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307876864001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790265445000,"timestamp_ms":1790265445000,"timestamp_seconds":1790265445,"priority":1,"record_length":96,"hex_timestamp":"000001a0d422ca88"} 
[2026-09-24 21:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:32: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-09-24 21:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307876864001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307876864001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:32:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:32:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307876864001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":191710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:32:34] local.INFO: GPS data processed {"connection_id":191710,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:32:34] local.INFO: Acknowledgment sent {"connection_id":191710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:32:36] local.INFO: TCP Data received {"connection_id":194383,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:32:36] local.INFO: Processing buffer {"connection_id":194383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:32:36] local.INFO: IMEI packet received {"connection_id":194383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":194383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:32:53] local.INFO: TCP Data received {"connection_id":193086,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:32:53] local.INFO: Processing buffer {"connection_id":193086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:32:53] local.INFO: Packet analysis {"connection_id":193086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d423"} 
[2026-09-24 21:32:53] local.INFO: Extracted packet for processing {"connection_id":193086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d423"} 
[2026-09-24 21:32:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307892480001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790265506000,"timestamp_ms":1790265506000,"timestamp_seconds":1790265506,"priority":1,"record_length":96,"hex_timestamp":"000001a0d423b8d0"} 
[2026-09-24 21:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-24 21:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":193086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":193086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":193086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307892480001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307892480001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:32:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:32:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307892480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":193086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:32:53] local.INFO: GPS data processed {"connection_id":193086,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:32:53] local.INFO: Acknowledgment sent {"connection_id":193086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:33:05] local.INFO: TCP Data received {"connection_id":191710,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:33:05] local.INFO: Processing buffer {"connection_id":191710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:33:05] local.INFO: Packet analysis {"connection_id":191710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d427"} 
[2026-09-24 21:33:05] local.INFO: Extracted packet for processing {"connection_id":191710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d427"} 
[2026-09-24 21:33:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307953920001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790265746000,"timestamp_ms":1790265746000,"timestamp_seconds":1790265746,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4276250"} 
[2026-09-24 21:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:33: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-09-24 21:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307953920001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307953920001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:33:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:33:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307953920001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":191710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:33:05] local.INFO: GPS data processed {"connection_id":191710,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:33:05] local.INFO: Acknowledgment sent {"connection_id":191710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:33:09] local.INFO: TCP Data received {"connection_id":193087,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:33:09] local.INFO: Processing buffer {"connection_id":193087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:33:09] local.INFO: IMEI packet received {"connection_id":193087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":193087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:33:16] local.INFO: TCP Data received {"connection_id":191711,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:33:16] local.INFO: Processing buffer {"connection_id":191711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:33:16] local.INFO: IMEI packet received {"connection_id":191711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":191711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:33:21] local.INFO: TCP Data received {"connection_id":191711,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:33:21] local.INFO: Processing buffer {"connection_id":191711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:33:21] local.INFO: IMEI packet received {"connection_id":191711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":191711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:33:22] local.INFO: TCP Data received {"connection_id":191711,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:33:22] local.INFO: Processing buffer {"connection_id":191711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:33:22] local.INFO: Packet analysis {"connection_id":191711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d423"} 
[2026-09-24 21:33:22] local.INFO: Extracted packet for processing {"connection_id":191711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d423"} 
[2026-09-24 21:33:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307892480001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790265506000,"timestamp_ms":1790265506000,"timestamp_seconds":1790265506,"priority":1,"record_length":96,"hex_timestamp":"000001a0d423b8d0"} 
[2026-09-24 21:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-24 21:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307892480001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307892480001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:33:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:33:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307892480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":191711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:33:22] local.INFO: GPS data processed {"connection_id":191711,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:33:22] local.INFO: Acknowledgment sent {"connection_id":191711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:33:32] local.INFO: TCP Data received {"connection_id":191531,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:33:32] local.INFO: Processing buffer {"connection_id":191531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:33:32] local.INFO: IMEI packet received {"connection_id":191531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":191531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:33:37] local.INFO: TCP Data received {"connection_id":191531,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:33:37] local.INFO: Processing buffer {"connection_id":191531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:33:37] local.INFO: IMEI packet received {"connection_id":191531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":191531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:33:38] local.INFO: TCP Data received {"connection_id":191531,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:33:38] local.INFO: Processing buffer {"connection_id":191531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:33:38] local.INFO: Packet analysis {"connection_id":191531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d427"} 
[2026-09-24 21:33:38] local.INFO: Extracted packet for processing {"connection_id":191531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d427"} 
[2026-09-24 21:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307953920001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790265746000,"timestamp_ms":1790265746000,"timestamp_seconds":1790265746,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4276250"} 
[2026-09-24 21:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307953920001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307953920001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:33:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307953920001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":191531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:33:38] local.INFO: GPS data processed {"connection_id":191531,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:33:38] local.INFO: Acknowledgment sent {"connection_id":191531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:33:43] local.INFO: TCP Data received {"connection_id":191531,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:33:43] local.INFO: Processing buffer {"connection_id":191531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:33:43] local.INFO: Packet analysis {"connection_id":191531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d427"} 
[2026-09-24 21:33:43] local.INFO: Extracted packet for processing {"connection_id":191531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d427"} 
[2026-09-24 21:33:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307953920001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790265746000,"timestamp_ms":1790265746000,"timestamp_seconds":1790265746,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4276250"} 
[2026-09-24 21:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307953920001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307953920001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:33:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:33:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307953920001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":191531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:33:43] local.INFO: GPS data processed {"connection_id":191531,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:33:43] local.INFO: Acknowledgment sent {"connection_id":191531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:33:53] local.INFO: TCP Data received {"connection_id":191711,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:33:53] local.INFO: Processing buffer {"connection_id":191711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d423b8d0012d196500071fef18003b004826..."} 
[2026-09-24 21:33:53] local.INFO: Packet analysis {"connection_id":191711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d423"} 
[2026-09-24 21:33:53] local.INFO: Extracted packet for processing {"connection_id":191711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d423"} 
[2026-09-24 21:33:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307892480001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790265506000,"timestamp_ms":1790265506000,"timestamp_seconds":1790265506,"priority":1,"record_length":96,"hex_timestamp":"000001a0d423b8d0"} 
[2026-09-24 21:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-24 21:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307892480001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307892480001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:33:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:33:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307892480001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":191711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:33:53] local.INFO: GPS data processed {"connection_id":191711,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:33:53] local.INFO: Acknowledgment sent {"connection_id":191711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:34:15] local.INFO: TCP Data received {"connection_id":191532,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:34:15] local.INFO: Processing buffer {"connection_id":191532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:34:15] local.INFO: IMEI packet received {"connection_id":191532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":191532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:34:20] local.INFO: TCP Data received {"connection_id":191532,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:34:20] local.INFO: Processing buffer {"connection_id":191532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:34:20] local.INFO: IMEI packet received {"connection_id":191532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":191532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:34:21] local.INFO: TCP Data received {"connection_id":191532,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:34:21] local.INFO: Processing buffer {"connection_id":191532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:34:21] local.INFO: Packet analysis {"connection_id":191532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d428"} 
[2026-09-24 21:34:21] local.INFO: Extracted packet for processing {"connection_id":191532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d428"} 
[2026-09-24 21:34:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307969536001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790265807000,"timestamp_ms":1790265807000,"timestamp_seconds":1790265807,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4285098"} 
[2026-09-24 21:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307969536001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307969536001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:34:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:34:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307969536001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":191532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:34:21] local.INFO: GPS data processed {"connection_id":191532,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:34:21] local.INFO: Acknowledgment sent {"connection_id":191532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:34:28] local.INFO: TCP Data received {"connection_id":191712,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:34:28] local.INFO: Processing buffer {"connection_id":191712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:34:28] local.INFO: IMEI packet received {"connection_id":191712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":191712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:34:32] local.INFO: TCP Data received {"connection_id":191712,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:34:32] local.INFO: Processing buffer {"connection_id":191712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:34:32] local.INFO: IMEI packet received {"connection_id":191712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":191712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:34:34] local.INFO: TCP Data received {"connection_id":191712,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:34:34] local.INFO: Processing buffer {"connection_id":191712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:34:34] local.INFO: Packet analysis {"connection_id":191712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d427"} 
[2026-09-24 21:34:34] local.INFO: Extracted packet for processing {"connection_id":191712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d427"} 
[2026-09-24 21:34:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307953920001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790265746000,"timestamp_ms":1790265746000,"timestamp_seconds":1790265746,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4276250"} 
[2026-09-24 21:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:34: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-09-24 21:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307953920001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307953920001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:34:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:34:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307953920001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":191712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:34:34] local.INFO: GPS data processed {"connection_id":191712,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:34:34] local.INFO: Acknowledgment sent {"connection_id":191712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:34:52] local.INFO: TCP Data received {"connection_id":191532,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:34:52] local.INFO: Processing buffer {"connection_id":191532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:34:52] local.INFO: Packet analysis {"connection_id":191532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d428"} 
[2026-09-24 21:34:52] local.INFO: Extracted packet for processing {"connection_id":191532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d428"} 
[2026-09-24 21:34:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307969536001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790265807000,"timestamp_ms":1790265807000,"timestamp_seconds":1790265807,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4285098"} 
[2026-09-24 21:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307969536001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307969536001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:34:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:34:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307969536001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":191532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:34:52] local.INFO: GPS data processed {"connection_id":191532,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:34:52] local.INFO: Acknowledgment sent {"connection_id":191532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:35:05] local.INFO: TCP Data received {"connection_id":191712,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:35:05] local.INFO: Processing buffer {"connection_id":191712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:35:05] local.INFO: Packet analysis {"connection_id":191712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d427"} 
[2026-09-24 21:35:05] local.INFO: Extracted packet for processing {"connection_id":191712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d427"} 
[2026-09-24 21:35:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307953920001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790265746000,"timestamp_ms":1790265746000,"timestamp_seconds":1790265746,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4276250"} 
[2026-09-24 21:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307953920001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307953920001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:35:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:35:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307953920001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":191712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:35:05] local.INFO: GPS data processed {"connection_id":191712,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:35:05] local.INFO: Acknowledgment sent {"connection_id":191712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:35:16] local.INFO: TCP Data received {"connection_id":191713,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:35:16] local.INFO: Processing buffer {"connection_id":191713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:35:16] local.INFO: IMEI packet received {"connection_id":191713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":191713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:35:21] local.INFO: TCP Data received {"connection_id":191713,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:35:21] local.INFO: Processing buffer {"connection_id":191713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:35:21] local.INFO: IMEI packet received {"connection_id":191713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":191713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:35:22] local.INFO: TCP Data received {"connection_id":191713,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:35:22] local.INFO: Processing buffer {"connection_id":191713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:35:22] local.INFO: Packet analysis {"connection_id":191713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d428"} 
[2026-09-24 21:35:22] local.INFO: Extracted packet for processing {"connection_id":191713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d428"} 
[2026-09-24 21:35:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307969536001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790265807000,"timestamp_ms":1790265807000,"timestamp_seconds":1790265807,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4285098"} 
[2026-09-24 21:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307969536001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307969536001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:35:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:35:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307969536001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":191713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:35:22] local.INFO: GPS data processed {"connection_id":191713,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:35:22] local.INFO: Acknowledgment sent {"connection_id":191713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:35:27] local.INFO: TCP Data received {"connection_id":191533,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:35:27] local.INFO: Processing buffer {"connection_id":191533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:35:27] local.INFO: IMEI packet received {"connection_id":191533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":191533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:35:33] local.INFO: TCP Data received {"connection_id":191533,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:35:33] local.INFO: Processing buffer {"connection_id":191533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:35:33] local.INFO: IMEI packet received {"connection_id":191533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":191533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:35:35] local.INFO: TCP Data received {"connection_id":191533,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:35:35] local.INFO: Processing buffer {"connection_id":191533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:35:35] local.INFO: Packet analysis {"connection_id":191533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d427"} 
[2026-09-24 21:35:35] local.INFO: Extracted packet for processing {"connection_id":191533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d427"} 
[2026-09-24 21:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307953920001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790265746000,"timestamp_ms":1790265746000,"timestamp_seconds":1790265746,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4276250"} 
[2026-09-24 21:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307953920001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307953920001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:35:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:35:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307953920001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":191533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:35:35] local.INFO: GPS data processed {"connection_id":191533,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:35:35] local.INFO: Acknowledgment sent {"connection_id":191533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:35:53] local.INFO: TCP Data received {"connection_id":191713,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:35:53] local.INFO: Processing buffer {"connection_id":191713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:35:53] local.INFO: Packet analysis {"connection_id":191713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d428"} 
[2026-09-24 21:35:53] local.INFO: Extracted packet for processing {"connection_id":191713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d428"} 
[2026-09-24 21:35:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307969536001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790265807000,"timestamp_ms":1790265807000,"timestamp_seconds":1790265807,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4285098"} 
[2026-09-24 21:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307969536001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307969536001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:35:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:35:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307969536001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":191713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:35:53] local.INFO: GPS data processed {"connection_id":191713,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:35:53] local.INFO: Acknowledgment sent {"connection_id":191713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:36:07] local.INFO: TCP Data received {"connection_id":191533,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:36:07] local.INFO: Processing buffer {"connection_id":191533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:36:07] local.INFO: Packet analysis {"connection_id":191533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d427"} 
[2026-09-24 21:36:07] local.INFO: Extracted packet for processing {"connection_id":191533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d427"} 
[2026-09-24 21:36:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307953920001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790265746000,"timestamp_ms":1790265746000,"timestamp_seconds":1790265746,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4276250"} 
[2026-09-24 21:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:36: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-09-24 21:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307953920001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307953920001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:36:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:36:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307953920001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":191533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:36:07] local.INFO: GPS data processed {"connection_id":191533,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:36:07] local.INFO: Acknowledgment sent {"connection_id":191533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:36:16] local.INFO: TCP Data received {"connection_id":193089,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:36:16] local.INFO: Processing buffer {"connection_id":193089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:36:16] local.INFO: IMEI packet received {"connection_id":193089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":193089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:36:21] local.INFO: TCP Data received {"connection_id":193089,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:36:21] local.INFO: Processing buffer {"connection_id":193089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:36:21] local.INFO: IMEI packet received {"connection_id":193089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":193089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:36:21] local.INFO: TCP Data received {"connection_id":193089,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:36:21] local.INFO: Processing buffer {"connection_id":193089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:36:21] local.INFO: Packet analysis {"connection_id":193089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d428"} 
[2026-09-24 21:36:21] local.INFO: Extracted packet for processing {"connection_id":193089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d428"} 
[2026-09-24 21:36:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307969536001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790265807000,"timestamp_ms":1790265807000,"timestamp_seconds":1790265807,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4285098"} 
[2026-09-24 21:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307969536001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307969536001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:36:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:36:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307969536001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":193089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:36:22] local.INFO: GPS data processed {"connection_id":193089,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:36:22] local.INFO: Acknowledgment sent {"connection_id":193089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:36:27] local.INFO: TCP Data received {"connection_id":194387,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:36:27] local.INFO: Processing buffer {"connection_id":194387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:36:27] local.INFO: IMEI packet received {"connection_id":194387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":194387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:36:32] local.INFO: TCP Data received {"connection_id":194387,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:36:32] local.INFO: Processing buffer {"connection_id":194387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:36:32] local.INFO: IMEI packet received {"connection_id":194387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":194387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:36:33] local.INFO: TCP Data received {"connection_id":194387,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:36:33] local.INFO: Processing buffer {"connection_id":194387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:36:33] local.INFO: Packet analysis {"connection_id":194387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d427"} 
[2026-09-24 21:36:33] local.INFO: Extracted packet for processing {"connection_id":194387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d427"} 
[2026-09-24 21:36:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307953920001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790265746000,"timestamp_ms":1790265746000,"timestamp_seconds":1790265746,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4276250"} 
[2026-09-24 21:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307953920001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307953920001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:36:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:36:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307953920001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":194387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:36:33] local.INFO: GPS data processed {"connection_id":194387,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:36:33] local.INFO: Acknowledgment sent {"connection_id":194387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:36:53] local.INFO: TCP Data received {"connection_id":193089,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:36:53] local.INFO: Processing buffer {"connection_id":193089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:36:53] local.INFO: Packet analysis {"connection_id":193089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d428"} 
[2026-09-24 21:36:53] local.INFO: Extracted packet for processing {"connection_id":193089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d428"} 
[2026-09-24 21:36:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307969536001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790265807000,"timestamp_ms":1790265807000,"timestamp_seconds":1790265807,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4285098"} 
[2026-09-24 21:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":193089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":193089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":193089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307969536001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307969536001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:36:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:36:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307969536001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":193089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:36:53] local.INFO: GPS data processed {"connection_id":193089,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:36:53] local.INFO: Acknowledgment sent {"connection_id":193089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:37:05] local.INFO: TCP Data received {"connection_id":194387,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:37:05] local.INFO: Processing buffer {"connection_id":194387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:37:05] local.INFO: Packet analysis {"connection_id":194387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d427"} 
[2026-09-24 21:37:05] local.INFO: Extracted packet for processing {"connection_id":194387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d427"} 
[2026-09-24 21:37:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307953920001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790265746000,"timestamp_ms":1790265746000,"timestamp_seconds":1790265746,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4276250"} 
[2026-09-24 21:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307953920001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307953920001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:37:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:37:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307953920001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":194387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:37:05] local.INFO: GPS data processed {"connection_id":194387,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:37:05] local.INFO: Acknowledgment sent {"connection_id":194387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:37:16] local.INFO: TCP Data received {"connection_id":193091,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:37:16] local.INFO: Processing buffer {"connection_id":193091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:37:16] local.INFO: IMEI packet received {"connection_id":193091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":193091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:37:21] local.INFO: TCP Data received {"connection_id":193091,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:37:21] local.INFO: Processing buffer {"connection_id":193091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:37:21] local.INFO: IMEI packet received {"connection_id":193091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":193091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:37:22] local.INFO: TCP Data received {"connection_id":193091,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:37:22] local.INFO: Processing buffer {"connection_id":193091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:37:22] local.INFO: Packet analysis {"connection_id":193091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d428"} 
[2026-09-24 21:37:22] local.INFO: Extracted packet for processing {"connection_id":193091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d428"} 
[2026-09-24 21:37:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307969536001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790265807000,"timestamp_ms":1790265807000,"timestamp_seconds":1790265807,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4285098"} 
[2026-09-24 21:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307969536001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307969536001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:37:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:37:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307969536001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":193091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:37:22] local.INFO: GPS data processed {"connection_id":193091,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:37:22] local.INFO: Acknowledgment sent {"connection_id":193091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:37:27] local.INFO: TCP Data received {"connection_id":194388,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:37:27] local.INFO: Processing buffer {"connection_id":194388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:37:27] local.INFO: IMEI packet received {"connection_id":194388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":194388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:37:32] local.INFO: TCP Data received {"connection_id":194388,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:37:32] local.INFO: Processing buffer {"connection_id":194388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:37:32] local.INFO: IMEI packet received {"connection_id":194388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":194388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:37:33] local.INFO: TCP Data received {"connection_id":194388,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:37:33] local.INFO: Processing buffer {"connection_id":194388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:37:33] local.INFO: Packet analysis {"connection_id":194388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d427"} 
[2026-09-24 21:37:33] local.INFO: Extracted packet for processing {"connection_id":194388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d427"} 
[2026-09-24 21:37:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307953920001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790265746000,"timestamp_ms":1790265746000,"timestamp_seconds":1790265746,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4276250"} 
[2026-09-24 21:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307953920001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307953920001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:37:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:37:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307953920001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":194388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:37:33] local.INFO: GPS data processed {"connection_id":194388,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:37:33] local.INFO: Acknowledgment sent {"connection_id":194388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:37:52] local.INFO: TCP Data received {"connection_id":193091,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:37:52] local.INFO: Processing buffer {"connection_id":193091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:37:52] local.INFO: Packet analysis {"connection_id":193091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d428"} 
[2026-09-24 21:37:52] local.INFO: Extracted packet for processing {"connection_id":193091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d428"} 
[2026-09-24 21:37:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307969536001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790265807000,"timestamp_ms":1790265807000,"timestamp_seconds":1790265807,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4285098"} 
[2026-09-24 21:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":193091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":193091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":193091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307969536001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307969536001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:37:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:37:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307969536001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":193091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:37:53] local.INFO: GPS data processed {"connection_id":193091,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:37:53] local.INFO: Acknowledgment sent {"connection_id":193091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:38:05] local.INFO: TCP Data received {"connection_id":194388,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:38:05] local.INFO: Processing buffer {"connection_id":194388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4276250012d34c14006aa4940000900f528..."} 
[2026-09-24 21:38:05] local.INFO: Packet analysis {"connection_id":194388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d427"} 
[2026-09-24 21:38:05] local.INFO: Extracted packet for processing {"connection_id":194388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d427"} 
[2026-09-24 21:38:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307953920001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790265746000,"timestamp_ms":1790265746000,"timestamp_seconds":1790265746,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4276250"} 
[2026-09-24 21:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307953920001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307953920001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:38:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:38:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307953920001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":194388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:38:05] local.INFO: GPS data processed {"connection_id":194388,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:38:05] local.INFO: Acknowledgment sent {"connection_id":194388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:38:15] local.INFO: TCP Data received {"connection_id":194390,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:38:15] local.INFO: Processing buffer {"connection_id":194390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:38:15] local.INFO: IMEI packet received {"connection_id":194390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":194390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:38:17] local.INFO: TCP Data received {"connection_id":194389,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:38:17] local.INFO: Processing buffer {"connection_id":194389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:38:17] local.INFO: IMEI packet received {"connection_id":194389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":194389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:38:20] local.INFO: TCP Data received {"connection_id":194390,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:38:20] local.INFO: Processing buffer {"connection_id":194390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:38:20] local.INFO: IMEI packet received {"connection_id":194390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":194390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:38:21] local.INFO: TCP Data received {"connection_id":194390,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:38:21] local.INFO: Processing buffer {"connection_id":194390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:38:21] local.INFO: Packet analysis {"connection_id":194390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d428"} 
[2026-09-24 21:38:21] local.INFO: Extracted packet for processing {"connection_id":194390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d428"} 
[2026-09-24 21:38:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307969536001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790265807000,"timestamp_ms":1790265807000,"timestamp_seconds":1790265807,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4285098"} 
[2026-09-24 21:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307969536001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307969536001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:38:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:38:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307969536001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":194390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:38:21] local.INFO: GPS data processed {"connection_id":194390,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:38:21] local.INFO: Acknowledgment sent {"connection_id":194390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:38:32] local.INFO: TCP Data received {"connection_id":191534,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:38:32] local.INFO: Processing buffer {"connection_id":191534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:38:32] local.INFO: IMEI packet received {"connection_id":191534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":191534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:38:37] local.INFO: TCP Data received {"connection_id":191534,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:38:37] local.INFO: Processing buffer {"connection_id":191534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:38:37] local.INFO: IMEI packet received {"connection_id":191534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":191534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:38:38] local.INFO: TCP Data received {"connection_id":191534,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:38:38] local.INFO: Processing buffer {"connection_id":191534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:38:38] local.INFO: Packet analysis {"connection_id":191534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d42b"} 
[2026-09-24 21:38:38] local.INFO: Extracted packet for processing {"connection_id":191534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d42b"} 
[2026-09-24 21:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308030976001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790266047000,"timestamp_ms":1790266047000,"timestamp_seconds":1790266047,"priority":1,"record_length":96,"hex_timestamp":"000001a0d42bfa18"} 
[2026-09-24 21:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308030976001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308030976001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:38:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308030976001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":191534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:38:38] local.INFO: GPS data processed {"connection_id":191534,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:38:38] local.INFO: Acknowledgment sent {"connection_id":191534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:38:43] local.INFO: TCP Data received {"connection_id":191534,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:38:43] local.INFO: Processing buffer {"connection_id":191534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:38:43] local.INFO: Packet analysis {"connection_id":191534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d42b"} 
[2026-09-24 21:38:43] local.INFO: Extracted packet for processing {"connection_id":191534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d42b"} 
[2026-09-24 21:38:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308030976001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790266047000,"timestamp_ms":1790266047000,"timestamp_seconds":1790266047,"priority":1,"record_length":96,"hex_timestamp":"000001a0d42bfa18"} 
[2026-09-24 21:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308030976001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308030976001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:38:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:38:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308030976001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":191534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:38:43] local.INFO: GPS data processed {"connection_id":191534,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:38:43] local.INFO: Acknowledgment sent {"connection_id":191534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:38:52] local.INFO: TCP Data received {"connection_id":194390,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:38:52] local.INFO: Processing buffer {"connection_id":194390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4285098012d196500071fef18003b004825..."} 
[2026-09-24 21:38:52] local.INFO: Packet analysis {"connection_id":194390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d428"} 
[2026-09-24 21:38:52] local.INFO: Extracted packet for processing {"connection_id":194390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d428"} 
[2026-09-24 21:38:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458307969536001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790265807000,"timestamp_ms":1790265807000,"timestamp_seconds":1790265807,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4285098"} 
[2026-09-24 21:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":194390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":194390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":194390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458307969536001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458307969536001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:38:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:38:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458307969536001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":194390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:38:52] local.INFO: GPS data processed {"connection_id":194390,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:38:52] local.INFO: Acknowledgment sent {"connection_id":194390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:39:15] local.INFO: TCP Data received {"connection_id":191535,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:39:15] local.INFO: Processing buffer {"connection_id":191535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:39:15] local.INFO: IMEI packet received {"connection_id":191535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":191535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:39:20] local.INFO: TCP Data received {"connection_id":191535,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:39:20] local.INFO: Processing buffer {"connection_id":191535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:39:20] local.INFO: IMEI packet received {"connection_id":191535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":191535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:39:21] local.INFO: TCP Data received {"connection_id":191535,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:39:21] local.INFO: Processing buffer {"connection_id":191535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:39:21] local.INFO: Packet analysis {"connection_id":191535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d42c"} 
[2026-09-24 21:39:21] local.INFO: Extracted packet for processing {"connection_id":191535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d42c"} 
[2026-09-24 21:39:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308046592001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790266108000,"timestamp_ms":1790266108000,"timestamp_seconds":1790266108,"priority":1,"record_length":96,"hex_timestamp":"000001a0d42ce860"} 
[2026-09-24 21:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308046592001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308046592001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:39:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:39:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308046592001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":191535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:39:21] local.INFO: GPS data processed {"connection_id":191535,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:39:21] local.INFO: Acknowledgment sent {"connection_id":191535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:39:27] local.INFO: TCP Data received {"connection_id":194392,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:39:27] local.INFO: Processing buffer {"connection_id":194392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:39:27] local.INFO: IMEI packet received {"connection_id":194392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":194392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:39:33] local.INFO: TCP Data received {"connection_id":194392,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:39:33] local.INFO: Processing buffer {"connection_id":194392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:39:33] local.INFO: IMEI packet received {"connection_id":194392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":194392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:39:34] local.INFO: TCP Data received {"connection_id":194392,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:39:34] local.INFO: Processing buffer {"connection_id":194392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:39:34] local.INFO: Packet analysis {"connection_id":194392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d42b"} 
[2026-09-24 21:39:34] local.INFO: Extracted packet for processing {"connection_id":194392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d42b"} 
[2026-09-24 21:39:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308030976001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790266047000,"timestamp_ms":1790266047000,"timestamp_seconds":1790266047,"priority":1,"record_length":96,"hex_timestamp":"000001a0d42bfa18"} 
[2026-09-24 21:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308030976001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308030976001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:39:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:39:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308030976001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":194392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:39:34] local.INFO: GPS data processed {"connection_id":194392,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:39:34] local.INFO: Acknowledgment sent {"connection_id":194392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:39:52] local.INFO: TCP Data received {"connection_id":191535,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:39:52] local.INFO: Processing buffer {"connection_id":191535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:39:52] local.INFO: Packet analysis {"connection_id":191535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d42c"} 
[2026-09-24 21:39:52] local.INFO: Extracted packet for processing {"connection_id":191535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d42c"} 
[2026-09-24 21:39:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308046592001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790266108000,"timestamp_ms":1790266108000,"timestamp_seconds":1790266108,"priority":1,"record_length":96,"hex_timestamp":"000001a0d42ce860"} 
[2026-09-24 21:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308046592001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308046592001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:39:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:39:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308046592001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":191535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:39:53] local.INFO: GPS data processed {"connection_id":191535,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:39:53] local.INFO: Acknowledgment sent {"connection_id":191535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:40:06] local.INFO: TCP Data received {"connection_id":194392,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:40:06] local.INFO: Processing buffer {"connection_id":194392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:40:06] local.INFO: Packet analysis {"connection_id":194392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d42b"} 
[2026-09-24 21:40:06] local.INFO: Extracted packet for processing {"connection_id":194392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d42b"} 
[2026-09-24 21:40:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308030976001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790266047000,"timestamp_ms":1790266047000,"timestamp_seconds":1790266047,"priority":1,"record_length":96,"hex_timestamp":"000001a0d42bfa18"} 
[2026-09-24 21:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:40: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-09-24 21:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308030976001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308030976001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:40:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:40:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308030976001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":194392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:40:06] local.INFO: GPS data processed {"connection_id":194392,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:40:06] local.INFO: Acknowledgment sent {"connection_id":194392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:40:20] local.INFO: TCP Data received {"connection_id":191715,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:40:20] local.INFO: Processing buffer {"connection_id":191715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:40:20] local.INFO: IMEI packet received {"connection_id":191715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":191715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:40:26] local.INFO: TCP Data received {"connection_id":191715,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:40:26] local.INFO: Processing buffer {"connection_id":191715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:40:26] local.INFO: IMEI packet received {"connection_id":191715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":191715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:40:27] local.INFO: TCP Data received {"connection_id":191715,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:40:27] local.INFO: Processing buffer {"connection_id":191715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:40:27] local.INFO: Packet analysis {"connection_id":191715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d42c"} 
[2026-09-24 21:40:27] local.INFO: Extracted packet for processing {"connection_id":191715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d42c"} 
[2026-09-24 21:40:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308046592001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790266108000,"timestamp_ms":1790266108000,"timestamp_seconds":1790266108,"priority":1,"record_length":96,"hex_timestamp":"000001a0d42ce860"} 
[2026-09-24 21:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308046592001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308046592001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:40:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:40:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308046592001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":191715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:40:27] local.INFO: GPS data processed {"connection_id":191715,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:40:27] local.INFO: Acknowledgment sent {"connection_id":191715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:40:27] local.INFO: TCP Data received {"connection_id":193092,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:40:27] local.INFO: Processing buffer {"connection_id":193092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:40:27] local.INFO: IMEI packet received {"connection_id":193092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":193092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:40:31] local.INFO: TCP Data received {"connection_id":191715,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:40:31] local.INFO: Processing buffer {"connection_id":191715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:40:31] local.INFO: Packet analysis {"connection_id":191715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d42c"} 
[2026-09-24 21:40:31] local.INFO: Extracted packet for processing {"connection_id":191715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d42c"} 
[2026-09-24 21:40:31] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308046592001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790266108000,"timestamp_ms":1790266108000,"timestamp_seconds":1790266108,"priority":1,"record_length":96,"hex_timestamp":"000001a0d42ce860"} 
[2026-09-24 21:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":191715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":191715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":191715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308046592001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308046592001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:40:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:40:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308046592001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":191715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:40:31] local.INFO: GPS data processed {"connection_id":191715,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:40:31] local.INFO: Acknowledgment sent {"connection_id":191715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:40:32] local.INFO: TCP Data received {"connection_id":193092,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:40:32] local.INFO: Processing buffer {"connection_id":193092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:40:32] local.INFO: IMEI packet received {"connection_id":193092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":193092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:40:33] local.INFO: TCP Data received {"connection_id":193092,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:40:33] local.INFO: Processing buffer {"connection_id":193092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:40:33] local.INFO: Packet analysis {"connection_id":193092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d42b"} 
[2026-09-24 21:40:33] local.INFO: Extracted packet for processing {"connection_id":193092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d42b"} 
[2026-09-24 21:40:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308030976001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790266047000,"timestamp_ms":1790266047000,"timestamp_seconds":1790266047,"priority":1,"record_length":96,"hex_timestamp":"000001a0d42bfa18"} 
[2026-09-24 21:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308030976001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308030976001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:40:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:40:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308030976001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":193092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:40:33] local.INFO: GPS data processed {"connection_id":193092,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:40:33] local.INFO: Acknowledgment sent {"connection_id":193092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:41:05] local.INFO: TCP Data received {"connection_id":193092,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:41:05] local.INFO: Processing buffer {"connection_id":193092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:41:05] local.INFO: Packet analysis {"connection_id":193092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d42b"} 
[2026-09-24 21:41:05] local.INFO: Extracted packet for processing {"connection_id":193092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d42b"} 
[2026-09-24 21:41:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308030976001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790266047000,"timestamp_ms":1790266047000,"timestamp_seconds":1790266047,"priority":1,"record_length":96,"hex_timestamp":"000001a0d42bfa18"} 
[2026-09-24 21:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308030976001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308030976001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:41:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:41:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308030976001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":193092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:41:05] local.INFO: GPS data processed {"connection_id":193092,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:41:05] local.INFO: Acknowledgment sent {"connection_id":193092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:41:15] local.INFO: TCP Data received {"connection_id":191536,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:41:16] local.INFO: Processing buffer {"connection_id":191536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:41:16] local.INFO: IMEI packet received {"connection_id":191536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":191536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:41:20] local.INFO: TCP Data received {"connection_id":191536,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:41:20] local.INFO: Processing buffer {"connection_id":191536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:41:20] local.INFO: IMEI packet received {"connection_id":191536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":191536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:41:21] local.INFO: TCP Data received {"connection_id":191536,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:41:21] local.INFO: Processing buffer {"connection_id":191536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:41:21] local.INFO: Packet analysis {"connection_id":191536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d42c"} 
[2026-09-24 21:41:21] local.INFO: Extracted packet for processing {"connection_id":191536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d42c"} 
[2026-09-24 21:41:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308046592001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790266108000,"timestamp_ms":1790266108000,"timestamp_seconds":1790266108,"priority":1,"record_length":96,"hex_timestamp":"000001a0d42ce860"} 
[2026-09-24 21:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308046592001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308046592001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:41:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:41:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308046592001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":191536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:41:21] local.INFO: GPS data processed {"connection_id":191536,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:41:21] local.INFO: Acknowledgment sent {"connection_id":191536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:41:27] local.INFO: TCP Data received {"connection_id":193093,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:41:27] local.INFO: Processing buffer {"connection_id":193093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:41:27] local.INFO: IMEI packet received {"connection_id":193093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":193093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:41:32] local.INFO: TCP Data received {"connection_id":193093,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:41:32] local.INFO: Processing buffer {"connection_id":193093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:41:32] local.INFO: IMEI packet received {"connection_id":193093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":193093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:41:34] local.INFO: TCP Data received {"connection_id":193093,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:41:34] local.INFO: Processing buffer {"connection_id":193093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:41:34] local.INFO: Packet analysis {"connection_id":193093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d42b"} 
[2026-09-24 21:41:34] local.INFO: Extracted packet for processing {"connection_id":193093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d42b"} 
[2026-09-24 21:41:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308030976001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790266047000,"timestamp_ms":1790266047000,"timestamp_seconds":1790266047,"priority":1,"record_length":96,"hex_timestamp":"000001a0d42bfa18"} 
[2026-09-24 21:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308030976001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308030976001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:41:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:41:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308030976001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":193093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:41:34] local.INFO: GPS data processed {"connection_id":193093,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:41:34] local.INFO: Acknowledgment sent {"connection_id":193093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:41:52] local.INFO: TCP Data received {"connection_id":191536,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:41:52] local.INFO: Processing buffer {"connection_id":191536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:41:52] local.INFO: Packet analysis {"connection_id":191536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d42c"} 
[2026-09-24 21:41:52] local.INFO: Extracted packet for processing {"connection_id":191536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d42c"} 
[2026-09-24 21:41:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308046592001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790266108000,"timestamp_ms":1790266108000,"timestamp_seconds":1790266108,"priority":1,"record_length":96,"hex_timestamp":"000001a0d42ce860"} 
[2026-09-24 21:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:41:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:41:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308046592001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308046592001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:41:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:41:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308046592001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":191536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:41:52] local.INFO: GPS data processed {"connection_id":191536,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:41:52] local.INFO: Acknowledgment sent {"connection_id":191536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:42:05] local.INFO: TCP Data received {"connection_id":193093,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:42:05] local.INFO: Processing buffer {"connection_id":193093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:42:05] local.INFO: Packet analysis {"connection_id":193093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d42b"} 
[2026-09-24 21:42:05] local.INFO: Extracted packet for processing {"connection_id":193093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d42b"} 
[2026-09-24 21:42:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308030976001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790266047000,"timestamp_ms":1790266047000,"timestamp_seconds":1790266047,"priority":1,"record_length":96,"hex_timestamp":"000001a0d42bfa18"} 
[2026-09-24 21:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308030976001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308030976001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:42:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:42:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308030976001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":193093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:42:06] local.INFO: GPS data processed {"connection_id":193093,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:42:06] local.INFO: Acknowledgment sent {"connection_id":193093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:42:15] local.INFO: TCP Data received {"connection_id":194394,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:42:15] local.INFO: Processing buffer {"connection_id":194394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:42:15] local.INFO: IMEI packet received {"connection_id":194394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":194394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:42:20] local.INFO: TCP Data received {"connection_id":194394,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:42:20] local.INFO: Processing buffer {"connection_id":194394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:42:20] local.INFO: IMEI packet received {"connection_id":194394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":194394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:42:21] local.INFO: TCP Data received {"connection_id":194394,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:42:21] local.INFO: Processing buffer {"connection_id":194394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:42:21] local.INFO: Packet analysis {"connection_id":194394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d42c"} 
[2026-09-24 21:42:21] local.INFO: Extracted packet for processing {"connection_id":194394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d42c"} 
[2026-09-24 21:42:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308046592001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790266108000,"timestamp_ms":1790266108000,"timestamp_seconds":1790266108,"priority":1,"record_length":96,"hex_timestamp":"000001a0d42ce860"} 
[2026-09-24 21:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308046592001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308046592001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:42:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:42:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308046592001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":194394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:42:21] local.INFO: GPS data processed {"connection_id":194394,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:42:21] local.INFO: Acknowledgment sent {"connection_id":194394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:42:27] local.INFO: TCP Data received {"connection_id":191537,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:42:27] local.INFO: Processing buffer {"connection_id":191537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:42:27] local.INFO: IMEI packet received {"connection_id":191537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":191537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:42:32] local.INFO: TCP Data received {"connection_id":191537,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:42:32] local.INFO: Processing buffer {"connection_id":191537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:42:32] local.INFO: IMEI packet received {"connection_id":191537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":191537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:42:34] local.INFO: TCP Data received {"connection_id":191537,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:42:34] local.INFO: Processing buffer {"connection_id":191537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:42:34] local.INFO: Packet analysis {"connection_id":191537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d42b"} 
[2026-09-24 21:42:34] local.INFO: Extracted packet for processing {"connection_id":191537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d42b"} 
[2026-09-24 21:42:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308030976001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790266047000,"timestamp_ms":1790266047000,"timestamp_seconds":1790266047,"priority":1,"record_length":96,"hex_timestamp":"000001a0d42bfa18"} 
[2026-09-24 21:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308030976001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308030976001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:42:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:42:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308030976001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":191537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:42:34] local.INFO: GPS data processed {"connection_id":191537,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:42:34] local.INFO: Acknowledgment sent {"connection_id":191537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:42:52] local.INFO: TCP Data received {"connection_id":194394,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:42:52] local.INFO: Processing buffer {"connection_id":194394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:42:52] local.INFO: Packet analysis {"connection_id":194394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d42c"} 
[2026-09-24 21:42:52] local.INFO: Extracted packet for processing {"connection_id":194394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d42c"} 
[2026-09-24 21:42:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308046592001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790266108000,"timestamp_ms":1790266108000,"timestamp_seconds":1790266108,"priority":1,"record_length":96,"hex_timestamp":"000001a0d42ce860"} 
[2026-09-24 21:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":194394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":194394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":194394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308046592001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308046592001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:42:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:42:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308046592001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":194394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:42:52] local.INFO: GPS data processed {"connection_id":194394,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:42:52] local.INFO: Acknowledgment sent {"connection_id":194394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:43:06] local.INFO: TCP Data received {"connection_id":191537,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:43:06] local.INFO: Processing buffer {"connection_id":191537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d42bfa18012d34c14006aa4940000900f52b..."} 
[2026-09-24 21:43:06] local.INFO: Packet analysis {"connection_id":191537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d42b"} 
[2026-09-24 21:43:06] local.INFO: Extracted packet for processing {"connection_id":191537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d42b"} 
[2026-09-24 21:43:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308030976001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790266047000,"timestamp_ms":1790266047000,"timestamp_seconds":1790266047,"priority":1,"record_length":96,"hex_timestamp":"000001a0d42bfa18"} 
[2026-09-24 21:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:43: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-09-24 21:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308030976001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308030976001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:43:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:43:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308030976001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":191537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:43:06] local.INFO: GPS data processed {"connection_id":191537,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:43:06] local.INFO: Acknowledgment sent {"connection_id":191537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:43:15] local.INFO: TCP Data received {"connection_id":194395,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:43:15] local.INFO: Processing buffer {"connection_id":194395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:43:15] local.INFO: IMEI packet received {"connection_id":194395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":194395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:43:20] local.INFO: TCP Data received {"connection_id":194395,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:43:20] local.INFO: Processing buffer {"connection_id":194395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:43:20] local.INFO: IMEI packet received {"connection_id":194395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":194395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:43:21] local.INFO: TCP Data received {"connection_id":194395,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:43:21] local.INFO: Processing buffer {"connection_id":194395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:43:21] local.INFO: Packet analysis {"connection_id":194395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d42c"} 
[2026-09-24 21:43:21] local.INFO: Extracted packet for processing {"connection_id":194395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d42c"} 
[2026-09-24 21:43:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308046592001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790266108000,"timestamp_ms":1790266108000,"timestamp_seconds":1790266108,"priority":1,"record_length":96,"hex_timestamp":"000001a0d42ce860"} 
[2026-09-24 21:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308046592001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308046592001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:43:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:43:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308046592001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":194395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:43:21] local.INFO: GPS data processed {"connection_id":194395,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:43:21] local.INFO: Acknowledgment sent {"connection_id":194395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:43:32] local.INFO: TCP Data received {"connection_id":191538,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:43:32] local.INFO: Processing buffer {"connection_id":191538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:43:32] local.INFO: IMEI packet received {"connection_id":191538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":191538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:43:37] local.INFO: TCP Data received {"connection_id":191538,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:43:37] local.INFO: Processing buffer {"connection_id":191538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:43:37] local.INFO: IMEI packet received {"connection_id":191538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":191538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:43:39] local.INFO: TCP Data received {"connection_id":191538,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:43:39] local.INFO: Processing buffer {"connection_id":191538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:43:39] local.INFO: Packet analysis {"connection_id":191538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d430"} 
[2026-09-24 21:43:39] local.INFO: Extracted packet for processing {"connection_id":191538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d430"} 
[2026-09-24 21:43:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308108032001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790266348000,"timestamp_ms":1790266348000,"timestamp_seconds":1790266348,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43091e0"} 
[2026-09-24 21:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308108032001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308108032001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:43:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:43:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308108032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":191538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:43:39] local.INFO: GPS data processed {"connection_id":191538,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:43:39] local.INFO: Acknowledgment sent {"connection_id":191538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:43:52] local.INFO: TCP Data received {"connection_id":194395,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:43:52] local.INFO: Processing buffer {"connection_id":194395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d42ce860012d196500071fef18003b004827..."} 
[2026-09-24 21:43:52] local.INFO: Packet analysis {"connection_id":194395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d42c"} 
[2026-09-24 21:43:52] local.INFO: Extracted packet for processing {"connection_id":194395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d42c"} 
[2026-09-24 21:43:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308046592001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790266108000,"timestamp_ms":1790266108000,"timestamp_seconds":1790266108,"priority":1,"record_length":96,"hex_timestamp":"000001a0d42ce860"} 
[2026-09-24 21:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":194395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":194395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":194395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308046592001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308046592001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:43:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:43:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308046592001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":194395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:43:52] local.INFO: GPS data processed {"connection_id":194395,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:43:52] local.INFO: Acknowledgment sent {"connection_id":194395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:44:10] local.INFO: TCP Data received {"connection_id":191538,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:44:10] local.INFO: Processing buffer {"connection_id":191538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:44:10] local.INFO: Packet analysis {"connection_id":191538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d430"} 
[2026-09-24 21:44:10] local.INFO: Extracted packet for processing {"connection_id":191538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d430"} 
[2026-09-24 21:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308108032001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790266348000,"timestamp_ms":1790266348000,"timestamp_seconds":1790266348,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43091e0"} 
[2026-09-24 21:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:44:10] 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-09-24 21:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308108032001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308108032001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:44:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308108032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":191538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:44:10] local.INFO: GPS data processed {"connection_id":191538,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:44:10] local.INFO: Acknowledgment sent {"connection_id":191538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:44:15] local.INFO: TCP Data received {"connection_id":193094,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:44:15] local.INFO: Processing buffer {"connection_id":193094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:44:15] local.INFO: IMEI packet received {"connection_id":193094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":193094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:44:20] local.INFO: TCP Data received {"connection_id":193094,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:44:20] local.INFO: Processing buffer {"connection_id":193094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:44:20] local.INFO: IMEI packet received {"connection_id":193094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":193094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:44:21] local.INFO: TCP Data received {"connection_id":193094,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:44:21] local.INFO: Processing buffer {"connection_id":193094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:44:21] local.INFO: Packet analysis {"connection_id":193094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:44:21] local.INFO: Extracted packet for processing {"connection_id":193094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:44:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308123648001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790266409000,"timestamp_ms":1790266409000,"timestamp_seconds":1790266409,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4318028"} 
[2026-09-24 21:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308123648001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308123648001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:44:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:44:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308123648001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":193094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:44:21] local.INFO: GPS data processed {"connection_id":193094,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:44:21] local.INFO: Acknowledgment sent {"connection_id":193094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:44:27] local.INFO: TCP Data received {"connection_id":194396,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:44:27] local.INFO: Processing buffer {"connection_id":194396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:44:27] local.INFO: IMEI packet received {"connection_id":194396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":194396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:44:32] local.INFO: TCP Data received {"connection_id":194396,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:44:32] local.INFO: Processing buffer {"connection_id":194396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:44:32] local.INFO: IMEI packet received {"connection_id":194396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":194396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:44:34] local.INFO: TCP Data received {"connection_id":194396,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:44:34] local.INFO: Processing buffer {"connection_id":194396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:44:34] local.INFO: Packet analysis {"connection_id":194396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d430"} 
[2026-09-24 21:44:34] local.INFO: Extracted packet for processing {"connection_id":194396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d430"} 
[2026-09-24 21:44:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308108032001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790266348000,"timestamp_ms":1790266348000,"timestamp_seconds":1790266348,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43091e0"} 
[2026-09-24 21:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308108032001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308108032001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:44:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:44:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308108032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":194396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:44:34] local.INFO: GPS data processed {"connection_id":194396,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:44:34] local.INFO: Acknowledgment sent {"connection_id":194396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:44:52] local.INFO: TCP Data received {"connection_id":193094,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:44:52] local.INFO: Processing buffer {"connection_id":193094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:44:52] local.INFO: Packet analysis {"connection_id":193094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:44:52] local.INFO: Extracted packet for processing {"connection_id":193094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:44:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308123648001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790266409000,"timestamp_ms":1790266409000,"timestamp_seconds":1790266409,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4318028"} 
[2026-09-24 21:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":193094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":193094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":193094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308123648001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308123648001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:44:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:44:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308123648001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":193094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:44:52] local.INFO: GPS data processed {"connection_id":193094,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:44:52] local.INFO: Acknowledgment sent {"connection_id":193094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:45:06] local.INFO: TCP Data received {"connection_id":194396,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:45:06] local.INFO: Processing buffer {"connection_id":194396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:45:06] local.INFO: Packet analysis {"connection_id":194396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d430"} 
[2026-09-24 21:45:06] local.INFO: Extracted packet for processing {"connection_id":194396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d430"} 
[2026-09-24 21:45:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308108032001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790266348000,"timestamp_ms":1790266348000,"timestamp_seconds":1790266348,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43091e0"} 
[2026-09-24 21:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:45: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-09-24 21:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308108032001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308108032001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:45:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:45:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308108032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":194396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:45:06] local.INFO: GPS data processed {"connection_id":194396,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:45:06] local.INFO: Acknowledgment sent {"connection_id":194396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:45:20] local.INFO: TCP Data received {"connection_id":193095,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:45:20] local.INFO: Processing buffer {"connection_id":193095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:45:20] local.INFO: IMEI packet received {"connection_id":193095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":193095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:45:21] local.INFO: TCP Data received {"connection_id":193096,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:45:21] local.INFO: Processing buffer {"connection_id":193096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:45:21] local.INFO: IMEI packet received {"connection_id":193096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":193096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:45:24] local.INFO: TCP Data received {"connection_id":193096,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:45:24] local.INFO: Processing buffer {"connection_id":193096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:45:24] local.INFO: IMEI packet received {"connection_id":193096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 21:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":193096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:45:26] local.INFO: TCP Data received {"connection_id":193096,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:45:26] local.INFO: Processing buffer {"connection_id":193096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:45:26] local.INFO: IMEI packet received {"connection_id":193096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 21:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":193096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:45:26] local.INFO: TCP Data received {"connection_id":193095,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:45:26] local.INFO: Processing buffer {"connection_id":193095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:45:26] local.INFO: IMEI packet received {"connection_id":193095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":193095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:45:26] local.INFO: TCP Data received {"connection_id":193095,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:45:26] local.INFO: Processing buffer {"connection_id":193095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:45:26] local.INFO: Packet analysis {"connection_id":193095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:45:26] local.INFO: Extracted packet for processing {"connection_id":193095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:45:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:45: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-09-24 21:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308123648001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790266409000,"timestamp_ms":1790266409000,"timestamp_seconds":1790266409,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4318028"} 
[2026-09-24 21:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:45: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-09-24 21:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":193095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":193095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":193095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308123648001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308123648001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:45:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:45:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308123648001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":193095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:45:27] local.INFO: GPS data processed {"connection_id":193095,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:45:27] local.INFO: Acknowledgment sent {"connection_id":193095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:45:28] local.INFO: TCP Data received {"connection_id":191716,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:45:28] local.INFO: Processing buffer {"connection_id":191716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:45:28] local.INFO: IMEI packet received {"connection_id":191716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":191716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:45:30] local.INFO: TCP Data received {"connection_id":193096,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d430f388012ce6d8000720eea8000c00902a..."} 
[2026-09-24 21:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d430f388012ce6d8000720eea8000c00902a..."} 
[2026-09-24 21:45:30] local.INFO: Processing buffer {"connection_id":193096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d430f388012ce6d8000720eea8000c00902a..."} 
[2026-09-24 21:45:30] local.INFO: Packet analysis {"connection_id":193096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d430"} 
[2026-09-24 21:45:30] local.INFO: Extracted packet for processing {"connection_id":193096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d430"} 
[2026-09-24 21:45:30] local.INFO: GPS Element Parsed {"raw_longitude":753326080,"raw_latitude":119598760,"longitude_deg":75.332608,"latitude_deg":11.959876,"altitude":12,"angle":144,"satellites":42,"speed":41,"hex_longitude":"2ce6d800","hex_latitude":"0720eea8","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:45:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,67,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 21:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790266373000,"timestamp_ms":1790266373000,"timestamp_seconds":1790266373,"priority":1,"record_length":96,"hex_timestamp":"000001a0d430f388"} 
[2026-09-24 21:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 21:45:30] 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-09-24 21: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-09-24 21:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":193096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":193096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":193096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27941,"67":206,"83":43008,"24":41,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16]} 
[2026-09-24 21:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 21:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 21:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 21:45:30] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-24 21:45:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-24 21:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:45:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27941,"unknown_67":206,"unknown_83":43008,"ignition":41,"odometer":null}} 
[2026-09-24 21:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":193096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892216,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:45:30] local.INFO: GPS data processed {"connection_id":193096,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:45:30] local.INFO: Acknowledgment sent {"connection_id":193096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:45:32] local.INFO: TCP Data received {"connection_id":191716,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:45:32] local.INFO: Processing buffer {"connection_id":191716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:45:32] local.INFO: IMEI packet received {"connection_id":191716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":191716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:45:33] local.INFO: TCP Data received {"connection_id":191716,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:45:33] local.INFO: Processing buffer {"connection_id":191716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:45:33] local.INFO: Packet analysis {"connection_id":191716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d430"} 
[2026-09-24 21:45:33] local.INFO: Extracted packet for processing {"connection_id":191716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d430"} 
[2026-09-24 21:45:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308108032001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790266348000,"timestamp_ms":1790266348000,"timestamp_seconds":1790266348,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43091e0"} 
[2026-09-24 21:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308108032001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308108032001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:45:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:45:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308108032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":191716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:45:33] local.INFO: GPS data processed {"connection_id":191716,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:45:33] local.INFO: Acknowledgment sent {"connection_id":191716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:45:57] local.INFO: TCP Data received {"connection_id":193095,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:45:57] local.INFO: Processing buffer {"connection_id":193095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:45:57] local.INFO: Packet analysis {"connection_id":193095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:45:57] local.INFO: Extracted packet for processing {"connection_id":193095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:45:57] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:45: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-09-24 21:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308123648001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790266409000,"timestamp_ms":1790266409000,"timestamp_seconds":1790266409,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4318028"} 
[2026-09-24 21:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:45: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-09-24 21:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":193095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":193095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":193095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308123648001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308123648001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:45:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:45:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308123648001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":193095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:45:57] local.INFO: GPS data processed {"connection_id":193095,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:45:57] local.INFO: Acknowledgment sent {"connection_id":193095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:46:05] local.INFO: TCP Data received {"connection_id":191716,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:46:05] local.INFO: Processing buffer {"connection_id":191716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:46:05] local.INFO: Packet analysis {"connection_id":191716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d430"} 
[2026-09-24 21:46:05] local.INFO: Extracted packet for processing {"connection_id":191716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d430"} 
[2026-09-24 21:46:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308108032001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790266348000,"timestamp_ms":1790266348000,"timestamp_seconds":1790266348,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43091e0"} 
[2026-09-24 21:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308108032001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308108032001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:46:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:46:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308108032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":191716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:46:05] local.INFO: GPS data processed {"connection_id":191716,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:46:05] local.INFO: Acknowledgment sent {"connection_id":191716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:46:11] local.INFO: TCP Data received {"connection_id":191539,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:46:11] local.INFO: Processing buffer {"connection_id":191539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:46:11] local.INFO: IMEI packet received {"connection_id":191539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":191539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:46:15] local.INFO: TCP Data received {"connection_id":191717,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:46:15] local.INFO: Processing buffer {"connection_id":191717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:46:15] local.INFO: IMEI packet received {"connection_id":191717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":191717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:46:16] local.INFO: TCP Data received {"connection_id":191539,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:46:17] local.INFO: Processing buffer {"connection_id":191539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:46:17] local.INFO: IMEI packet received {"connection_id":191539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 21:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":191539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:46:20] local.INFO: TCP Data received {"connection_id":191717,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:46:20] local.INFO: Processing buffer {"connection_id":191717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:46:20] local.INFO: IMEI packet received {"connection_id":191717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":191717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:46:21] local.INFO: TCP Data received {"connection_id":191539,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4314590012ce702c00720b328000d00912c..."} 
[2026-09-24 21:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4314590012ce702c00720b328000d00912c..."} 
[2026-09-24 21:46:21] local.INFO: Processing buffer {"connection_id":191539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4314590012ce702c00720b328000d00912c..."} 
[2026-09-24 21:46:21] local.INFO: Packet analysis {"connection_id":191539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:46:21] local.INFO: Extracted packet for processing {"connection_id":191539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:46:21] local.INFO: GPS Element Parsed {"raw_longitude":753337024,"raw_latitude":119583528,"longitude_deg":75.3337024,"latitude_deg":11.9583528,"altitude":13,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2ce702c0","hex_latitude":"0720b328","is_valid_coordinates":true} 
[2026-09-24 21:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308191488001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:46:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1812698819399342080,"note":"Value kept but may cause issues"} 
[2026-09-24 21:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790266394000,"timestamp_ms":1790266394000,"timestamp_seconds":1790266394,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4314590"} 
[2026-09-24 21:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-24 21:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191539,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191539,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308191488001,"66":27843,"145":206,"83":43008,"24":0,"16":3605341577150464,"44":-1812698819399342080},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-24 21:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 21:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 21:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308191488001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:46:21] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-24 21:46:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-24 21:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:46:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1812698819399342080,"description":"Unknown IO ID 44"} 
[2026-09-24 21:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308191488001,"power":27843,"unknown_145":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1812698819399342080}} 
[2026-09-24 21:46:21] local.INFO: TCP Data received {"connection_id":191717,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:46:21] local.INFO: Processing buffer {"connection_id":191717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:46:21] local.INFO: Packet analysis {"connection_id":191717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:46:21] local.INFO: Extracted packet for processing {"connection_id":191717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:46:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308123648001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790266409000,"timestamp_ms":1790266409000,"timestamp_seconds":1790266409,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4318028"} 
[2026-09-24 21:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308123648001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308123648001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:46:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:46:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308123648001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":191539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892220,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:46:21] local.INFO: GPS data processed {"connection_id":191539,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:46:21] local.INFO: Acknowledgment sent {"connection_id":191539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":191717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:46:21] local.INFO: GPS data processed {"connection_id":191717,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:46:21] local.INFO: Acknowledgment sent {"connection_id":191717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:46:27] local.INFO: TCP Data received {"connection_id":191540,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:46:27] local.INFO: Processing buffer {"connection_id":191540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:46:27] local.INFO: IMEI packet received {"connection_id":191540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":191540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:46:32] local.INFO: TCP Data received {"connection_id":191540,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:46:32] local.INFO: Processing buffer {"connection_id":191540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:46:32] local.INFO: IMEI packet received {"connection_id":191540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":191540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:46:33] local.INFO: TCP Data received {"connection_id":191540,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:46:33] local.INFO: Processing buffer {"connection_id":191540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:46:33] local.INFO: Packet analysis {"connection_id":191540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d430"} 
[2026-09-24 21:46:33] local.INFO: Extracted packet for processing {"connection_id":191540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d430"} 
[2026-09-24 21:46:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308108032001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790266348000,"timestamp_ms":1790266348000,"timestamp_seconds":1790266348,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43091e0"} 
[2026-09-24 21:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308108032001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308108032001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:46:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:46:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308108032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":191540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:46:33] local.INFO: GPS data processed {"connection_id":191540,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:46:33] local.INFO: Acknowledgment sent {"connection_id":191540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:46:52] local.INFO: TCP Data received {"connection_id":191717,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:46:52] local.INFO: Processing buffer {"connection_id":191717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:46:52] local.INFO: Packet analysis {"connection_id":191717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:46:52] local.INFO: Extracted packet for processing {"connection_id":191717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:46:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308123648001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790266409000,"timestamp_ms":1790266409000,"timestamp_seconds":1790266409,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4318028"} 
[2026-09-24 21:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308123648001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308123648001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:46:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:46:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308123648001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":191717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:46:52] local.INFO: GPS data processed {"connection_id":191717,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:46:52] local.INFO: Acknowledgment sent {"connection_id":191717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:47:00] local.INFO: TCP Data received {"connection_id":191719,"ip":"66.132.172.192","data_length":243,"data_hex":"16030100ee010000ea03034c879f32bf3841320c86b4b1fa7b391b17234fed14..."} 
[2026-09-24 21:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191719,"packet_length":243,"packet_hex":"16030100ee010000ea03034c879f32bf3841320c86b4b1fa7b391b17234fed14..."} 
[2026-09-24 21:47:00] local.INFO: Processing buffer {"connection_id":191719,"buffer_length":243,"buffer_hex":"16030100ee010000ea03034c879f32bf3841320c86b4b1fa7b391b17234fed14..."} 
[2026-09-24 21:47:00] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":191719,"buffer_length":243,"first_bytes_hex":"16030100ee010000ea03034c879f32bf"} 
[2026-09-24 21:47:05] local.INFO: TCP Data received {"connection_id":191540,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:47:05] local.INFO: Processing buffer {"connection_id":191540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:47:05] local.INFO: Packet analysis {"connection_id":191540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d430"} 
[2026-09-24 21:47:05] local.INFO: Extracted packet for processing {"connection_id":191540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d430"} 
[2026-09-24 21:47:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308108032001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790266348000,"timestamp_ms":1790266348000,"timestamp_seconds":1790266348,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43091e0"} 
[2026-09-24 21:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21: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-09-24 21: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":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308108032001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308108032001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:47:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:47:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308108032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":191540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:47:05] local.INFO: GPS data processed {"connection_id":191540,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:47:05] local.INFO: Acknowledgment sent {"connection_id":191540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:47:05] local.INFO: TCP Data received {"connection_id":191541,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:47:05] local.INFO: Processing buffer {"connection_id":191541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:47:05] local.INFO: IMEI packet received {"connection_id":191541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":191541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:47:06] local.INFO: TCP Data received {"connection_id":191541,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:47:06] local.INFO: Processing buffer {"connection_id":191541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:47:06] local.INFO: IMEI packet received {"connection_id":191541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 21:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":191541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:47:11] local.INFO: TCP Data received {"connection_id":191541,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:47:11] local.INFO: Processing buffer {"connection_id":191541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:47:11] local.INFO: IMEI packet received {"connection_id":191541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 21:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":191541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:47:13] local.INFO: TCP Data received {"connection_id":191541,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4319798012ce72d0007207838000c00912c..."} 
[2026-09-24 21:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4319798012ce72d0007207838000c00912c..."} 
[2026-09-24 21:47:13] local.INFO: Processing buffer {"connection_id":191541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4319798012ce72d0007207838000c00912c..."} 
[2026-09-24 21:47:13] local.INFO: Packet analysis {"connection_id":191541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:47:13] local.INFO: Extracted packet for processing {"connection_id":191541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:47:13] local.INFO: GPS Element Parsed {"raw_longitude":753347840,"raw_latitude":119568440,"longitude_deg":75.334784,"latitude_deg":11.956844,"altitude":12,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2ce72d00","hex_latitude":"07207838","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308196864001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:47:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1800665764148860928,"note":"Value kept but may cause issues"} 
[2026-09-24 21:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790266415000,"timestamp_ms":1790266415000,"timestamp_seconds":1790266415,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4319798"} 
[2026-09-24 21:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-24 21:47:13] 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-09-24 21: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-09-24 21:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308196864001,"66":27995,"145":206,"83":43008,"24":0,"16":3605341577150464,"44":-1800665764148860928},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-24 21:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 21:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 21:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308196864001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:47:13] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-24 21:47:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-24 21:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:47:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1800665764148860928,"description":"Unknown IO ID 44"} 
[2026-09-24 21:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308196864001,"power":27995,"unknown_145":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1800665764148860928}} 
[2026-09-24 21:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":191541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892225,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:47:13] local.INFO: GPS data processed {"connection_id":191541,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:47:13] local.INFO: Acknowledgment sent {"connection_id":191541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:47:15] local.INFO: TCP Data received {"connection_id":194397,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:47:15] local.INFO: Processing buffer {"connection_id":194397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:47:15] local.INFO: IMEI packet received {"connection_id":194397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":194397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:47:20] local.INFO: TCP Data received {"connection_id":194397,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:47:20] local.INFO: Processing buffer {"connection_id":194397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:47:20] local.INFO: IMEI packet received {"connection_id":194397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":194397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:47:21] local.INFO: TCP Data received {"connection_id":194397,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:47:21] local.INFO: Processing buffer {"connection_id":194397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:47:21] local.INFO: Packet analysis {"connection_id":194397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:47:21] local.INFO: Extracted packet for processing {"connection_id":194397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:47:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308123648001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790266409000,"timestamp_ms":1790266409000,"timestamp_seconds":1790266409,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4318028"} 
[2026-09-24 21:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308123648001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308123648001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:47:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:47:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308123648001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":194397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:47:21] local.INFO: GPS data processed {"connection_id":194397,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:47:21] local.INFO: Acknowledgment sent {"connection_id":194397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:47:27] local.INFO: TCP Data received {"connection_id":191721,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:47:27] local.INFO: Processing buffer {"connection_id":191721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:47:27] local.INFO: IMEI packet received {"connection_id":191721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":191721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:47:32] local.INFO: TCP Data received {"connection_id":191721,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:47:32] local.INFO: Processing buffer {"connection_id":191721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:47:32] local.INFO: IMEI packet received {"connection_id":191721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":191721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:47:33] local.INFO: TCP Data received {"connection_id":191721,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:47:33] local.INFO: Processing buffer {"connection_id":191721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:47:33] local.INFO: Packet analysis {"connection_id":191721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d430"} 
[2026-09-24 21:47:33] local.INFO: Extracted packet for processing {"connection_id":191721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d430"} 
[2026-09-24 21:47:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308108032001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790266348000,"timestamp_ms":1790266348000,"timestamp_seconds":1790266348,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43091e0"} 
[2026-09-24 21:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308108032001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308108032001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:47:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:47:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308108032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":191721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:47:33] local.INFO: GPS data processed {"connection_id":191721,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:47:33] local.INFO: Acknowledgment sent {"connection_id":191721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:47:44] local.INFO: TCP Data received {"connection_id":191541,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d431ca60012ce74ac007203b18000e00a22d..."} 
[2026-09-24 21:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d431ca60012ce74ac007203b18000e00a22d..."} 
[2026-09-24 21:47:44] local.INFO: Processing buffer {"connection_id":191541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d431ca60012ce74ac007203b18000e00a22d..."} 
[2026-09-24 21:47:44] local.INFO: Packet analysis {"connection_id":191541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:47:44] local.INFO: Extracted packet for processing {"connection_id":191541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:47:44] local.INFO: GPS Element Parsed {"raw_longitude":753355456,"raw_latitude":119552792,"longitude_deg":75.3355456,"latitude_deg":11.9552792,"altitude":14,"angle":162,"satellites":45,"speed":37,"hex_longitude":"2ce74ac0","hex_latitude":"07203b18","is_valid_coordinates":true} 
[2026-09-24 21:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308202240001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:47:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1788773446386698240,"note":"Value kept but may cause issues"} 
[2026-09-24 21:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790266428000,"timestamp_ms":1790266428000,"timestamp_seconds":1790266428,"priority":1,"record_length":96,"hex_timestamp":"000001a0d431ca60"} 
[2026-09-24 21:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 21:47:44] 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-09-24 21:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308202240001,"66":27876,"145":206,"83":43008,"24":37,"16":3605341577150464,"44":-1788773446386698240},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-24 21:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 21:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 21:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308202240001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:47:44] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-24 21:47:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-24 21:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:47:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1788773446386698240,"description":"Unknown IO ID 44"} 
[2026-09-24 21:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308202240001,"power":27876,"unknown_145":206,"unknown_83":43008,"ignition":37,"odometer":null,"unknown_44":-1788773446386698240}} 
[2026-09-24 21:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":191541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892228,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:47:45] local.INFO: GPS data processed {"connection_id":191541,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:47:45] local.INFO: Acknowledgment sent {"connection_id":191541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:47:52] local.INFO: TCP Data received {"connection_id":194397,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:47:52] local.INFO: Processing buffer {"connection_id":194397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:47:52] local.INFO: Packet analysis {"connection_id":194397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:47:52] local.INFO: Extracted packet for processing {"connection_id":194397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:47:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308123648001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790266409000,"timestamp_ms":1790266409000,"timestamp_seconds":1790266409,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4318028"} 
[2026-09-24 21:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":194397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":194397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":194397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308123648001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308123648001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:47:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:47:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308123648001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":194397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:47:52] local.INFO: GPS data processed {"connection_id":194397,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:47:52] local.INFO: Acknowledgment sent {"connection_id":194397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:48:04] local.INFO: TCP Data received {"connection_id":191721,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:48:04] local.INFO: Processing buffer {"connection_id":191721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43091e0012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:48:04] local.INFO: Packet analysis {"connection_id":191721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d430"} 
[2026-09-24 21:48:04] local.INFO: Extracted packet for processing {"connection_id":191721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d430"} 
[2026-09-24 21:48:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308108032001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790266348000,"timestamp_ms":1790266348000,"timestamp_seconds":1790266348,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43091e0"} 
[2026-09-24 21:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21: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-09-24 21:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 21:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308108032001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308108032001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:48:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:48:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308108032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":191721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:48:05] local.INFO: GPS data processed {"connection_id":191721,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:48:05] local.INFO: Acknowledgment sent {"connection_id":191721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:48:15] local.INFO: TCP Data received {"connection_id":193098,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:48:15] local.INFO: Processing buffer {"connection_id":193098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:48:15] local.INFO: IMEI packet received {"connection_id":193098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":193098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:48:16] local.INFO: TCP Data received {"connection_id":191542,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:48:16] local.INFO: Processing buffer {"connection_id":191542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:48:16] local.INFO: IMEI packet received {"connection_id":191542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":191542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:48:20] local.INFO: TCP Data received {"connection_id":193098,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:48:20] local.INFO: Processing buffer {"connection_id":193098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:48:20] local.INFO: IMEI packet received {"connection_id":193098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":193098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:48:21] local.INFO: TCP Data received {"connection_id":193098,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:48:21] local.INFO: Processing buffer {"connection_id":193098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:48:21] local.INFO: Packet analysis {"connection_id":193098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:48:21] local.INFO: Extracted packet for processing {"connection_id":193098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:48:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308123648001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790266409000,"timestamp_ms":1790266409000,"timestamp_seconds":1790266409,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4318028"} 
[2026-09-24 21:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308123648001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308123648001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:48:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:48:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308123648001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:48:21] local.INFO: TCP Data received {"connection_id":191542,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:48:21] local.INFO: Processing buffer {"connection_id":191542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:48:21] local.INFO: IMEI packet received {"connection_id":191542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 21:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":191542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":193098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:48:21] local.INFO: GPS data processed {"connection_id":193098,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:48:21] local.INFO: Acknowledgment sent {"connection_id":193098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:48:23] local.INFO: TCP Data received {"connection_id":191542,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4321498012ce762c0071ffd40000d00962d..."} 
[2026-09-24 21:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4321498012ce762c0071ffd40000d00962d..."} 
[2026-09-24 21:48:23] local.INFO: Processing buffer {"connection_id":191542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4321498012ce762c0071ffd40000d00962d..."} 
[2026-09-24 21:48:23] local.INFO: Packet analysis {"connection_id":191542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d432"} 
[2026-09-24 21:48:23] local.INFO: Extracted packet for processing {"connection_id":191542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d432"} 
[2026-09-24 21:48:23] local.INFO: GPS Element Parsed {"raw_longitude":753361600,"raw_latitude":119536960,"longitude_deg":75.33616,"latitude_deg":11.953696,"altitude":13,"angle":150,"satellites":45,"speed":31,"hex_longitude":"2ce762c0","hex_latitude":"071ffd40","is_valid_coordinates":true} 
[2026-09-24 21:48: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-09-24 21:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308205568001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:48:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1780399565833562112,"note":"Value kept but may cause issues"} 
[2026-09-24 21:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790266447000,"timestamp_ms":1790266447000,"timestamp_seconds":1790266447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4321498"} 
[2026-09-24 21:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 21:48:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:48: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-09-24 21:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308205568001,"66":27843,"145":206,"83":43008,"24":31,"16":3605341577150464,"44":-1780399565833562112},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-24 21:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 21:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 21:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308205568001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:48:23] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-24 21:48:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-24 21:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:48:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1780399565833562112,"description":"Unknown IO ID 44"} 
[2026-09-24 21:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308205568001,"power":27843,"unknown_145":206,"unknown_83":43008,"ignition":31,"odometer":null,"unknown_44":-1780399565833562112}} 
[2026-09-24 21:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":191542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892232,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:48:23] local.INFO: GPS data processed {"connection_id":191542,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:48:23] local.INFO: Acknowledgment sent {"connection_id":191542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:48:26] local.INFO: TCP Data received {"connection_id":191542,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43266a0012ce78b00071fbe60001000972c..."} 
[2026-09-24 21:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43266a0012ce78b00071fbe60001000972c..."} 
[2026-09-24 21:48:26] local.INFO: Processing buffer {"connection_id":191542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43266a0012ce78b00071fbe60001000972c..."} 
[2026-09-24 21:48:26] local.INFO: Packet analysis {"connection_id":191542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d432"} 
[2026-09-24 21:48:26] local.INFO: Extracted packet for processing {"connection_id":191542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d432"} 
[2026-09-24 21:48:26] local.INFO: GPS Element Parsed {"raw_longitude":753371904,"raw_latitude":119520864,"longitude_deg":75.3371904,"latitude_deg":11.9520864,"altitude":16,"angle":151,"satellites":44,"speed":0,"hex_longitude":"2ce78b00","hex_latitude":"071fbe60","is_valid_coordinates":true} 
[2026-09-24 21:48: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-09-24 21:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308210432001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:48:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1773644166396559360,"note":"Value kept but may cause issues"} 
[2026-09-24 21:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790266468000,"timestamp_ms":1790266468000,"timestamp_seconds":1790266468,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43266a0"} 
[2026-09-24 21:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21:48: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-24 21:48:26] 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-09-24 21:48: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-09-24 21:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308210432001,"66":28006,"192":206,"2":54272,"24":0,"16":3605341577150464,"44":-1773644166396559360},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,44]} 
[2026-09-24 21:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 21:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 21:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308210432001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:48:26] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-24 21:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:48:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1773644166396559360,"description":"Unknown IO ID 44"} 
[2026-09-24 21:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308210432001,"power":28006,"unknown_192":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1773644166396559360}} 
[2026-09-24 21:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":191542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892233,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:48:26] local.INFO: GPS data processed {"connection_id":191542,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:48:26] local.INFO: Acknowledgment sent {"connection_id":191542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:48:33] local.INFO: TCP Data received {"connection_id":191543,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:48:33] local.INFO: Processing buffer {"connection_id":191543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:48:33] local.INFO: IMEI packet received {"connection_id":191543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":191543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:48:37] local.INFO: TCP Data received {"connection_id":191543,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:48:37] local.INFO: Processing buffer {"connection_id":191543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:48:37] local.INFO: IMEI packet received {"connection_id":191543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":191543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:48:39] local.INFO: TCP Data received {"connection_id":191543,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:48:39] local.INFO: Processing buffer {"connection_id":191543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:48:39] local.INFO: Packet analysis {"connection_id":191543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:48:39] local.INFO: Extracted packet for processing {"connection_id":191543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:48:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308185088001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790266649000,"timestamp_ms":1790266649000,"timestamp_seconds":1790266649,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43529a8"} 
[2026-09-24 21:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 21:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308185088001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308185088001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:48:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:48:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308185088001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":191543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:48:39] local.INFO: GPS data processed {"connection_id":191543,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:48:39] local.INFO: Acknowledgment sent {"connection_id":191543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:48:43] local.INFO: TCP Data received {"connection_id":191543,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:48:43] local.INFO: Processing buffer {"connection_id":191543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:48:43] local.INFO: Packet analysis {"connection_id":191543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:48:43] local.INFO: Extracted packet for processing {"connection_id":191543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:48:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308185088001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790266649000,"timestamp_ms":1790266649000,"timestamp_seconds":1790266649,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43529a8"} 
[2026-09-24 21:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 21:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308185088001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308185088001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:48:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:48:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308185088001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":191543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:48:43] local.INFO: GPS data processed {"connection_id":191543,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:48:43] local.INFO: Acknowledgment sent {"connection_id":191543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:48:52] local.INFO: TCP Data received {"connection_id":193098,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:48:52] local.INFO: Processing buffer {"connection_id":193098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4318028012d196500071fef18003b004826..."} 
[2026-09-24 21:48:52] local.INFO: Packet analysis {"connection_id":193098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:48:52] local.INFO: Extracted packet for processing {"connection_id":193098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d431"} 
[2026-09-24 21:48:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308123648001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790266409000,"timestamp_ms":1790266409000,"timestamp_seconds":1790266409,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4318028"} 
[2026-09-24 21:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":193098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":193098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":193098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308123648001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308123648001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:48:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:48:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308123648001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":193098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:48:52] local.INFO: GPS data processed {"connection_id":193098,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:48:52] local.INFO: Acknowledgment sent {"connection_id":193098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:49:06] local.INFO: TCP Data received {"connection_id":191544,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:49:06] local.INFO: Processing buffer {"connection_id":191544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:49:06] local.INFO: IMEI packet received {"connection_id":191544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":191544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:49:11] local.INFO: TCP Data received {"connection_id":191544,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:49:11] local.INFO: Processing buffer {"connection_id":191544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:49:11] local.INFO: IMEI packet received {"connection_id":191544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 21:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":191544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:49:14] local.INFO: TCP Data received {"connection_id":191544,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43600800100000000000000000000000000..."} 
[2026-09-24 21:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43600800100000000000000000000000000..."} 
[2026-09-24 21:49:14] local.INFO: Processing buffer {"connection_id":191544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43600800100000000000000000000000000..."} 
[2026-09-24 21:49:14] local.INFO: Packet analysis {"connection_id":191544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:49:14] local.INFO: Extracted packet for processing {"connection_id":191544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:49:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 21:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308261376001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:49:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1661406019466690560,"note":"Value kept but may cause issues"} 
[2026-09-24 21:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790266704000,"timestamp_ms":1790266704000,"timestamp_seconds":1790266704,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4360080"} 
[2026-09-24 21:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-24 21:49:14] 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-09-24 21:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":191544,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 21:49:14] local.INFO: GPS data processed {"connection_id":191544,"processed":0,"errors":0,"total":1} 
[2026-09-24 21:49:14] local.INFO: Acknowledgment sent {"connection_id":191544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:49:15] local.INFO: TCP Data received {"connection_id":191545,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:49:15] local.INFO: Processing buffer {"connection_id":191545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:49:15] local.INFO: IMEI packet received {"connection_id":191545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":191545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:49:20] local.INFO: TCP Data received {"connection_id":191545,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:49:20] local.INFO: Processing buffer {"connection_id":191545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:49:20] local.INFO: IMEI packet received {"connection_id":191545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":191545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:49:21] local.INFO: TCP Data received {"connection_id":191545,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:49:21] local.INFO: Processing buffer {"connection_id":191545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:49:21] local.INFO: Packet analysis {"connection_id":191545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:49:21] local.INFO: Extracted packet for processing {"connection_id":191545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:49:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308200704001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790266710000,"timestamp_ms":1790266710000,"timestamp_seconds":1790266710,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43617f0"} 
[2026-09-24 21:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308200704001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308200704001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:49:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:49:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308200704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":191545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:49:21] local.INFO: GPS data processed {"connection_id":191545,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:49:21] local.INFO: Acknowledgment sent {"connection_id":191545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:49:27] local.INFO: TCP Data received {"connection_id":193099,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:49:27] local.INFO: Processing buffer {"connection_id":193099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:49:27] local.INFO: IMEI packet received {"connection_id":193099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":193099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:49:32] local.INFO: TCP Data received {"connection_id":193099,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:49:32] local.INFO: Processing buffer {"connection_id":193099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:49:32] local.INFO: IMEI packet received {"connection_id":193099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":193099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:49:34] local.INFO: TCP Data received {"connection_id":193099,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:49:34] local.INFO: Processing buffer {"connection_id":193099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:49:34] local.INFO: Packet analysis {"connection_id":193099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:49:34] local.INFO: Extracted packet for processing {"connection_id":193099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:49:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308185088001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790266649000,"timestamp_ms":1790266649000,"timestamp_seconds":1790266649,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43529a8"} 
[2026-09-24 21:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 21:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308185088001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308185088001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:49:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:49:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308185088001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":193099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:49:34] local.INFO: GPS data processed {"connection_id":193099,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:49:34] local.INFO: Acknowledgment sent {"connection_id":193099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:49:45] local.INFO: TCP Data received {"connection_id":191544,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4358768012ce92040071de6180013007f2e..."} 
[2026-09-24 21:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4358768012ce92040071de6180013007f2e..."} 
[2026-09-24 21:49:45] local.INFO: Processing buffer {"connection_id":191544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4358768012ce92040071de6180013007f2e..."} 
[2026-09-24 21:49:45] local.INFO: Packet analysis {"connection_id":191544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:49:45] local.INFO: Extracted packet for processing {"connection_id":191544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:49:45] local.INFO: GPS Element Parsed {"raw_longitude":753475648,"raw_latitude":119399960,"longitude_deg":75.3475648,"latitude_deg":11.939996,"altitude":19,"angle":127,"satellites":46,"speed":22,"hex_longitude":"2ce92040","hex_latitude":"071de618","is_valid_coordinates":true} 
[2026-09-24 21:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:49:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,251,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 21:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790266673000,"timestamp_ms":1790266673000,"timestamp_seconds":1790266673,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4358768"} 
[2026-09-24 21:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 21:49:45] 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-09-24 21:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"251":206,"2":54272,"24":22,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,2,24,16]} 
[2026-09-24 21:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 21:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 21:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 21:49:45] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-24 21:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:49:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"unknown_251":206,"power_alt":54272,"ignition":22,"odometer":null}} 
[2026-09-24 21:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":191544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892239,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:49:45] local.INFO: GPS data processed {"connection_id":191544,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:49:45] local.INFO: Acknowledgment sent {"connection_id":191544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:49:52] local.INFO: TCP Data received {"connection_id":191545,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:49:52] local.INFO: Processing buffer {"connection_id":191545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:49:52] local.INFO: Packet analysis {"connection_id":191545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:49:52] local.INFO: Extracted packet for processing {"connection_id":191545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:49:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308200704001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790266710000,"timestamp_ms":1790266710000,"timestamp_seconds":1790266710,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43617f0"} 
[2026-09-24 21:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308200704001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308200704001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:49:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:49:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308200704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":191545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:49:52] local.INFO: GPS data processed {"connection_id":191545,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:49:52] local.INFO: Acknowledgment sent {"connection_id":191545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:50:03] local.INFO: TCP Data received {"connection_id":194398,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:50:03] local.INFO: Processing buffer {"connection_id":194398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:50:03] local.INFO: IMEI packet received {"connection_id":194398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":194398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:50:05] local.INFO: TCP Data received {"connection_id":193099,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:50:05] local.INFO: Processing buffer {"connection_id":193099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:50:05] local.INFO: Packet analysis {"connection_id":193099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:50:05] local.INFO: Extracted packet for processing {"connection_id":193099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:50:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308185088001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790266649000,"timestamp_ms":1790266649000,"timestamp_seconds":1790266649,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43529a8"} 
[2026-09-24 21:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 21:50: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-09-24 21: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-09-24 21:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308185088001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308185088001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:50:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:50:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308185088001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":193099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:50:05] local.INFO: GPS data processed {"connection_id":193099,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:50:05] local.INFO: Acknowledgment sent {"connection_id":193099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:50:06] local.INFO: TCP Data received {"connection_id":194398,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:50:06] local.INFO: Processing buffer {"connection_id":194398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:50:06] local.INFO: IMEI packet received {"connection_id":194398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 21:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":194398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:50:12] local.INFO: TCP Data received {"connection_id":194398,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:50:12] local.INFO: Processing buffer {"connection_id":194398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:50:12] local.INFO: IMEI packet received {"connection_id":194398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 21:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":194398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:50:13] local.INFO: TCP Data received {"connection_id":194398,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43669f80100000000000000000000000000..."} 
[2026-09-24 21:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43669f80100000000000000000000000000..."} 
[2026-09-24 21:50:13] local.INFO: Processing buffer {"connection_id":194398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43669f80100000000000000000000000000..."} 
[2026-09-24 21:50:13] local.INFO: Packet analysis {"connection_id":194398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:50:13] local.INFO: Extracted packet for processing {"connection_id":194398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:50:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 21:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308268288001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:50:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1648247064307034112,"note":"Value kept but may cause issues"} 
[2026-09-24 21:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790266731000,"timestamp_ms":1790266731000,"timestamp_seconds":1790266731,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43669f8"} 
[2026-09-24 21:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-24 21:50:13] 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-09-24 21:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":194398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":194398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":194398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":194398,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 21:50:13] local.INFO: GPS data processed {"connection_id":194398,"processed":0,"errors":0,"total":1} 
[2026-09-24 21:50:13] local.INFO: Acknowledgment sent {"connection_id":194398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:50:15] local.INFO: TCP Data received {"connection_id":194399,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:50:15] local.INFO: Processing buffer {"connection_id":194399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:50:15] local.INFO: IMEI packet received {"connection_id":194399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":194399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:50:20] local.INFO: TCP Data received {"connection_id":194399,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:50:20] local.INFO: Processing buffer {"connection_id":194399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:50:20] local.INFO: IMEI packet received {"connection_id":194399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":194399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:50:21] local.INFO: TCP Data received {"connection_id":194399,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:50:21] local.INFO: Processing buffer {"connection_id":194399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:50:21] local.INFO: Packet analysis {"connection_id":194399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:50:21] local.INFO: Extracted packet for processing {"connection_id":194399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:50:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308200704001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790266710000,"timestamp_ms":1790266710000,"timestamp_seconds":1790266710,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43617f0"} 
[2026-09-24 21:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308200704001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308200704001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:50:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:50:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308200704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":194399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:50:21] local.INFO: GPS data processed {"connection_id":194399,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:50:21] local.INFO: Acknowledgment sent {"connection_id":194399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:50:27] local.INFO: TCP Data received {"connection_id":191546,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:50:27] local.INFO: Processing buffer {"connection_id":191546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:50:27] local.INFO: IMEI packet received {"connection_id":191546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":191546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:50:32] local.INFO: TCP Data received {"connection_id":191546,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:50:32] local.INFO: Processing buffer {"connection_id":191546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:50:32] local.INFO: IMEI packet received {"connection_id":191546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":191546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:50:33] local.INFO: TCP Data received {"connection_id":191546,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:50:33] local.INFO: Processing buffer {"connection_id":191546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:50:33] local.INFO: Packet analysis {"connection_id":191546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:50:33] local.INFO: Extracted packet for processing {"connection_id":191546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:50:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308185088001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790266649000,"timestamp_ms":1790266649000,"timestamp_seconds":1790266649,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43529a8"} 
[2026-09-24 21:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 21:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308185088001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308185088001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:50:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:50:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308185088001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":191546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:50:34] local.INFO: GPS data processed {"connection_id":191546,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:50:34] local.INFO: Acknowledgment sent {"connection_id":191546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:50:44] local.INFO: TCP Data received {"connection_id":194398,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d435dd58012ce94140071dbd58000e00932d..."} 
[2026-09-24 21:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d435dd58012ce94140071dbd58000e00932d..."} 
[2026-09-24 21:50:44] local.INFO: Processing buffer {"connection_id":194398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d435dd58012ce94140071dbd58000e00932d..."} 
[2026-09-24 21:50:44] local.INFO: Packet analysis {"connection_id":194398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:50:44] local.INFO: Extracted packet for processing {"connection_id":194398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:50:44] local.INFO: GPS Element Parsed {"raw_longitude":753484096,"raw_latitude":119389528,"longitude_deg":75.3484096,"latitude_deg":11.9389528,"altitude":14,"angle":147,"satellites":45,"speed":22,"hex_longitude":"2ce94140","hex_latitude":"071dbd58","is_valid_coordinates":true} 
[2026-09-24 21:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:50:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,251,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 21:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790266695000,"timestamp_ms":1790266695000,"timestamp_seconds":1790266695,"priority":1,"record_length":96,"hex_timestamp":"000001a0d435dd58"} 
[2026-09-24 21:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 21:50:44] 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-09-24 21:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27843,"251":206,"2":54272,"24":22,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,2,24,16]} 
[2026-09-24 21:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 21:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 21:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 21:50:44] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-24 21:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:50:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27843,"unknown_251":206,"power_alt":54272,"ignition":22,"odometer":null}} 
[2026-09-24 21:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":194398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892244,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:50:44] local.INFO: GPS data processed {"connection_id":194398,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:50:44] local.INFO: Acknowledgment sent {"connection_id":194398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:50:52] local.INFO: TCP Data received {"connection_id":194399,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:50:52] local.INFO: Processing buffer {"connection_id":194399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:50:52] local.INFO: Packet analysis {"connection_id":194399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:50:52] local.INFO: Extracted packet for processing {"connection_id":194399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:50:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308200704001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790266710000,"timestamp_ms":1790266710000,"timestamp_seconds":1790266710,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43617f0"} 
[2026-09-24 21:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":194399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":194399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":194399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308200704001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308200704001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:50:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:50:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308200704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":194399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:50:52] local.INFO: GPS data processed {"connection_id":194399,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:50:52] local.INFO: Acknowledgment sent {"connection_id":194399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:51:05] local.INFO: TCP Data received {"connection_id":191546,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:51:05] local.INFO: Processing buffer {"connection_id":191546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:51:05] local.INFO: Packet analysis {"connection_id":191546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:51:05] local.INFO: Extracted packet for processing {"connection_id":191546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:51:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308185088001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790266649000,"timestamp_ms":1790266649000,"timestamp_seconds":1790266649,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43529a8"} 
[2026-09-24 21:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:51: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-09-24 21:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 21:51: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-09-24 21: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-09-24 21:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308185088001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308185088001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:51:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:51:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308185088001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":191546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:51:05] local.INFO: GPS data processed {"connection_id":191546,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:51:05] local.INFO: Acknowledgment sent {"connection_id":191546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:51:06] local.INFO: TCP Data received {"connection_id":191722,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:51:06] local.INFO: Processing buffer {"connection_id":191722,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:51:06] local.INFO: IMEI packet received {"connection_id":191722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":191722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:51:11] local.INFO: TCP Data received {"connection_id":191722,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:51:11] local.INFO: Processing buffer {"connection_id":191722,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:51:11] local.INFO: IMEI packet received {"connection_id":191722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 21:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":191722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:51:12] local.INFO: TCP Data received {"connection_id":191722,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d436bfe80100000000000000000000000000..."} 
[2026-09-24 21:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d436bfe80100000000000000000000000000..."} 
[2026-09-24 21:51:12] local.INFO: Processing buffer {"connection_id":191722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d436bfe80100000000000000000000000000..."} 
[2026-09-24 21:51:12] local.INFO: Packet analysis {"connection_id":191722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:51:12] local.INFO: Extracted packet for processing {"connection_id":191722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:51:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 21:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308273920001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:51:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1638958390078253056,"note":"Value kept but may cause issues"} 
[2026-09-24 21:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790266753000,"timestamp_ms":1790266753000,"timestamp_seconds":1790266753,"priority":1,"record_length":96,"hex_timestamp":"000001a0d436bfe8"} 
[2026-09-24 21:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-24 21:51:12] 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-09-24 21:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":191722,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 21:51:12] local.INFO: GPS data processed {"connection_id":191722,"processed":0,"errors":0,"total":1} 
[2026-09-24 21:51:12] local.INFO: Acknowledgment sent {"connection_id":191722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:51:15] local.INFO: TCP Data received {"connection_id":191723,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:51:15] local.INFO: Processing buffer {"connection_id":191723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:51:15] local.INFO: IMEI packet received {"connection_id":191723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":191723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:51:20] local.INFO: TCP Data received {"connection_id":191723,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:51:20] local.INFO: Processing buffer {"connection_id":191723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:51:20] local.INFO: IMEI packet received {"connection_id":191723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":191723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:51:21] local.INFO: TCP Data received {"connection_id":191723,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:51:21] local.INFO: Processing buffer {"connection_id":191723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:51:21] local.INFO: Packet analysis {"connection_id":191723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:51:21] local.INFO: Extracted packet for processing {"connection_id":191723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:51:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308200704001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790266710000,"timestamp_ms":1790266710000,"timestamp_seconds":1790266710,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43617f0"} 
[2026-09-24 21:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308200704001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308200704001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:51:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:51:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308200704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":191723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:51:21] local.INFO: GPS data processed {"connection_id":191723,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:51:21] local.INFO: Acknowledgment sent {"connection_id":191723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:51:27] local.INFO: TCP Data received {"connection_id":193100,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:51:27] local.INFO: Processing buffer {"connection_id":193100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:51:27] local.INFO: IMEI packet received {"connection_id":193100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":193100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:51:32] local.INFO: TCP Data received {"connection_id":193100,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:51:32] local.INFO: Processing buffer {"connection_id":193100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:51:32] local.INFO: IMEI packet received {"connection_id":193100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":193100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:51:34] local.INFO: TCP Data received {"connection_id":193100,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:51:34] local.INFO: Processing buffer {"connection_id":193100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:51:34] local.INFO: Packet analysis {"connection_id":193100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:51:34] local.INFO: Extracted packet for processing {"connection_id":193100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:51:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308185088001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790266649000,"timestamp_ms":1790266649000,"timestamp_seconds":1790266649,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43529a8"} 
[2026-09-24 21:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 21:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308185088001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308185088001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:51:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:51:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308185088001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":193100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:51:34] local.INFO: GPS data processed {"connection_id":193100,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:51:34] local.INFO: Acknowledgment sent {"connection_id":193100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:51:44] local.INFO: TCP Data received {"connection_id":191722,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4363f00012ce96280071d8888000b00972b..."} 
[2026-09-24 21:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4363f00012ce96280071d8888000b00972b..."} 
[2026-09-24 21:51:44] local.INFO: Processing buffer {"connection_id":191722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4363f00012ce96280071d8888000b00972b..."} 
[2026-09-24 21:51:44] local.INFO: Packet analysis {"connection_id":191722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:51:44] local.INFO: Extracted packet for processing {"connection_id":191722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:51:44] local.INFO: GPS Element Parsed {"raw_longitude":753492608,"raw_latitude":119376008,"longitude_deg":75.3492608,"latitude_deg":11.9376008,"altitude":11,"angle":151,"satellites":43,"speed":28,"hex_longitude":"2ce96280","hex_latitude":"071d8888","is_valid_coordinates":true} 
[2026-09-24 21:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:51:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,251,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 21:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790266720000,"timestamp_ms":1790266720000,"timestamp_seconds":1790266720,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4363f00"} 
[2026-09-24 21:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-24 21:51:44] 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-09-24 21:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27484,"251":206,"2":54272,"24":28,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,2,24,16]} 
[2026-09-24 21:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 21:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 21:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 21:51:44] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-24 21:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:51:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27484,"unknown_251":206,"power_alt":54272,"ignition":28,"odometer":null}} 
[2026-09-24 21:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":191722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892249,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:51:44] local.INFO: GPS data processed {"connection_id":191722,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:51:44] local.INFO: Acknowledgment sent {"connection_id":191722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:51:52] local.INFO: TCP Data received {"connection_id":191723,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:51:52] local.INFO: Processing buffer {"connection_id":191723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:51:52] local.INFO: Packet analysis {"connection_id":191723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:51:52] local.INFO: Extracted packet for processing {"connection_id":191723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:51:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308200704001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790266710000,"timestamp_ms":1790266710000,"timestamp_seconds":1790266710,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43617f0"} 
[2026-09-24 21:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308200704001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308200704001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:51:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:51:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308200704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":191723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:51:52] local.INFO: GPS data processed {"connection_id":191723,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:51:52] local.INFO: Acknowledgment sent {"connection_id":191723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:52:05] local.INFO: TCP Data received {"connection_id":193100,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:52:05] local.INFO: Processing buffer {"connection_id":193100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:52:05] local.INFO: Packet analysis {"connection_id":193100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:52:05] local.INFO: Extracted packet for processing {"connection_id":193100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:52:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308185088001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790266649000,"timestamp_ms":1790266649000,"timestamp_seconds":1790266649,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43529a8"} 
[2026-09-24 21:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 21:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308185088001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308185088001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:52:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:52:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308185088001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":193100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:52:05] local.INFO: GPS data processed {"connection_id":193100,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:52:05] local.INFO: Acknowledgment sent {"connection_id":193100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:52:06] local.INFO: TCP Data received {"connection_id":193101,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:52:06] local.INFO: Processing buffer {"connection_id":193101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:52:06] local.INFO: IMEI packet received {"connection_id":193101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":193101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:52:08] local.INFO: TCP Data received {"connection_id":193101,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:52:08] local.INFO: Processing buffer {"connection_id":193101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:52:08] local.INFO: IMEI packet received {"connection_id":193101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 21:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":193101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:52:11] local.INFO: TCP Data received {"connection_id":193101,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:52:11] local.INFO: Processing buffer {"connection_id":193101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:52:11] local.INFO: IMEI packet received {"connection_id":193101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 21:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":193101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:52:13] local.INFO: TCP Data received {"connection_id":193101,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43911a80100000000000000000000000000..."} 
[2026-09-24 21:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43911a80100000000000000000000000000..."} 
[2026-09-24 21:52:13] local.INFO: Processing buffer {"connection_id":193101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43911a80100000000000000000000000000..."} 
[2026-09-24 21:52:13] local.INFO: Packet analysis {"connection_id":193101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:52:13] local.INFO: Extracted packet for processing {"connection_id":193101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:52:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 21:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308312832001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:52:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1585337407027267584,"note":"Value kept but may cause issues"} 
[2026-09-24 21:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790266905000,"timestamp_ms":1790266905000,"timestamp_seconds":1790266905,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43911a8"} 
[2026-09-24 21:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 21:52:13] 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-09-24 21:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193101,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193101,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":193101,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 21:52:13] local.INFO: GPS data processed {"connection_id":193101,"processed":0,"errors":0,"total":1} 
[2026-09-24 21:52:13] local.INFO: Acknowledgment sent {"connection_id":193101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:52:17] local.INFO: TCP Data received {"connection_id":193101,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4388508012ce9fb80071cc178000d00b72d..."} 
[2026-09-24 21:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4388508012ce9fb80071cc178000d00b72d..."} 
[2026-09-24 21:52:17] local.INFO: Processing buffer {"connection_id":193101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4388508012ce9fb80071cc178000d00b72d..."} 
[2026-09-24 21:52:17] local.INFO: Packet analysis {"connection_id":193101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d438"} 
[2026-09-24 21:52:17] local.INFO: Extracted packet for processing {"connection_id":193101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d438"} 
[2026-09-24 21:52:17] local.INFO: GPS Element Parsed {"raw_longitude":753531776,"raw_latitude":119325048,"longitude_deg":75.3531776,"latitude_deg":11.9325048,"altitude":13,"angle":183,"satellites":45,"speed":32,"hex_longitude":"2ce9fb80","hex_latitude":"071cc178","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:52:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,162,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 21:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790266869000,"timestamp_ms":1790266869000,"timestamp_seconds":1790266869,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4388508"} 
[2026-09-24 21:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-24 21:52:17] 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-09-24 21: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-09-24 21:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":193101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":193101,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":193101,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27908,"162":206,"2":54272,"24":32,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16]} 
[2026-09-24 21:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 21:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 21:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 21:52:17] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-24 21:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:52:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27908,"unknown_162":206,"power_alt":54272,"ignition":32,"odometer":null}} 
[2026-09-24 21:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":193101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892252,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:52:17] local.INFO: GPS data processed {"connection_id":193101,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:52:17] local.INFO: Acknowledgment sent {"connection_id":193101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:52:20] local.INFO: TCP Data received {"connection_id":193102,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:52:20] local.INFO: Processing buffer {"connection_id":193102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:52:20] local.INFO: IMEI packet received {"connection_id":193102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":193102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:52:25] local.INFO: TCP Data received {"connection_id":193102,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:52:25] local.INFO: Processing buffer {"connection_id":193102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:52:25] local.INFO: IMEI packet received {"connection_id":193102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":193102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:52:26] local.INFO: TCP Data received {"connection_id":193102,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:52:26] local.INFO: Processing buffer {"connection_id":193102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:52:26] local.INFO: Packet analysis {"connection_id":193102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:52:26] local.INFO: Extracted packet for processing {"connection_id":193102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:52:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:52: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-09-24 21:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308200704001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790266710000,"timestamp_ms":1790266710000,"timestamp_seconds":1790266710,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43617f0"} 
[2026-09-24 21:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:52: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-09-24 21:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":193102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":193102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":193102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308200704001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308200704001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:52:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:52:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308200704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":193102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:52:26] local.INFO: GPS data processed {"connection_id":193102,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:52:26] local.INFO: Acknowledgment sent {"connection_id":193102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:52:27] local.INFO: TCP Data received {"connection_id":191724,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:52:27] local.INFO: Processing buffer {"connection_id":191724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:52:27] local.INFO: IMEI packet received {"connection_id":191724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":191724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:52:32] local.INFO: TCP Data received {"connection_id":191724,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:52:32] local.INFO: Processing buffer {"connection_id":191724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:52:32] local.INFO: IMEI packet received {"connection_id":191724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":191724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:52:34] local.INFO: TCP Data received {"connection_id":191724,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:52:34] local.INFO: Processing buffer {"connection_id":191724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:52:34] local.INFO: Packet analysis {"connection_id":191724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:52:34] local.INFO: Extracted packet for processing {"connection_id":191724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:52:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308185088001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790266649000,"timestamp_ms":1790266649000,"timestamp_seconds":1790266649,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43529a8"} 
[2026-09-24 21:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 21:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308185088001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308185088001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:52:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:52:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308185088001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":191724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:52:34] local.INFO: GPS data processed {"connection_id":191724,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:52:34] local.INFO: Acknowledgment sent {"connection_id":191724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:52:50] local.INFO: TCP Data received {"connection_id":193101,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d438d710012ce9f700071c7dd0000900b82d..."} 
[2026-09-24 21:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d438d710012ce9f700071c7dd0000900b82d..."} 
[2026-09-24 21:52:50] local.INFO: Processing buffer {"connection_id":193101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d438d710012ce9f700071c7dd0000900b82d..."} 
[2026-09-24 21:52:50] local.INFO: Packet analysis {"connection_id":193101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d438"} 
[2026-09-24 21:52:50] local.INFO: Extracted packet for processing {"connection_id":193101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d438"} 
[2026-09-24 21:52:50] local.INFO: GPS Element Parsed {"raw_longitude":753530624,"raw_latitude":119307728,"longitude_deg":75.3530624,"latitude_deg":11.9307728,"altitude":9,"angle":184,"satellites":45,"speed":29,"hex_longitude":"2ce9f700","hex_latitude":"071c7dd0","is_valid_coordinates":true} 
[2026-09-24 21:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308318464001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:52:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1586533675682400256,"note":"Value kept but may cause issues"} 
[2026-09-24 21:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790266890000,"timestamp_ms":1790266890000,"timestamp_seconds":1790266890,"priority":1,"record_length":96,"hex_timestamp":"000001a0d438d710"} 
[2026-09-24 21:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 21:52:50] 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-09-24 21:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":193101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":193101,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":193101,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308318464001,"66":27984,"162":206,"2":54272,"24":29,"16":3605341577150464,"44":-1586533675682400256},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-09-24 21:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 21:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 21:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308318464001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:52:50] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-24 21:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:52:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1586533675682400256,"description":"Unknown IO ID 44"} 
[2026-09-24 21:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308318464001,"power":27984,"unknown_162":206,"power_alt":54272,"ignition":29,"odometer":null,"unknown_44":-1586533675682400256}} 
[2026-09-24 21:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":193101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892255,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:52:50] local.INFO: GPS data processed {"connection_id":193101,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:52:50] local.INFO: Acknowledgment sent {"connection_id":193101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:52:57] local.INFO: TCP Data received {"connection_id":193102,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:52:57] local.INFO: Processing buffer {"connection_id":193102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:52:57] local.INFO: Packet analysis {"connection_id":193102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:52:57] local.INFO: Extracted packet for processing {"connection_id":193102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:52:57] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308200704001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790266710000,"timestamp_ms":1790266710000,"timestamp_seconds":1790266710,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43617f0"} 
[2026-09-24 21:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":193102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":193102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":193102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308200704001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308200704001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:52:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:52:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308200704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":193102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:52:57] local.INFO: GPS data processed {"connection_id":193102,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:52:57] local.INFO: Acknowledgment sent {"connection_id":193102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:53:05] local.INFO: TCP Data received {"connection_id":191724,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:53:05] local.INFO: Processing buffer {"connection_id":191724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43529a8012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:53:05] local.INFO: Packet analysis {"connection_id":191724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:53:05] local.INFO: Extracted packet for processing {"connection_id":191724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d435"} 
[2026-09-24 21:53:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308185088001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790266649000,"timestamp_ms":1790266649000,"timestamp_seconds":1790266649,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43529a8"} 
[2026-09-24 21:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 21:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308185088001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308185088001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:53:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308185088001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":191724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:53:05] local.INFO: GPS data processed {"connection_id":191724,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:53:05] local.INFO: Acknowledgment sent {"connection_id":191724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:53:06] local.INFO: TCP Data received {"connection_id":193103,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:53:06] local.INFO: Processing buffer {"connection_id":193103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:53:06] local.INFO: IMEI packet received {"connection_id":193103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":193103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:53:09] local.INFO: TCP Data received {"connection_id":193103,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:53:09] local.INFO: Processing buffer {"connection_id":193103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:53:09] local.INFO: IMEI packet received {"connection_id":193103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 21:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":193103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:53:11] local.INFO: TCP Data received {"connection_id":193103,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:53:11] local.INFO: Processing buffer {"connection_id":193103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:53:11] local.INFO: IMEI packet received {"connection_id":193103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 21:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":193103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:53:12] local.INFO: TCP Data received {"connection_id":193103,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4392918012ce9f3c0071c3cf8000b00b226..."} 
[2026-09-24 21:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4392918012ce9f3c0071c3cf8000b00b226..."} 
[2026-09-24 21:53:12] local.INFO: Processing buffer {"connection_id":193103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4392918012ce9f3c0071c3cf8000b00b226..."} 
[2026-09-24 21:53:12] local.INFO: Packet analysis {"connection_id":193103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:53:12] local.INFO: Extracted packet for processing {"connection_id":193103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:53:12] local.INFO: GPS Element Parsed {"raw_longitude":753529792,"raw_latitude":119291128,"longitude_deg":75.3529792,"latitude_deg":11.9291128,"altitude":11,"angle":178,"satellites":38,"speed":0,"hex_longitude":"2ce9f3c0","hex_latitude":"071c3cf8","is_valid_coordinates":true} 
[2026-09-24 21:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308323840001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1587800313082032128,"note":"Value kept but may cause issues"} 
[2026-09-24 21:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790266911000,"timestamp_ms":1790266911000,"timestamp_seconds":1790266911,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4392918"} 
[2026-09-24 21:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 21:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308323840001,"66":27876,"162":206,"2":54272,"24":0,"16":3605341577150464,"44":-1587800313082032128},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-09-24 21:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 21:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 21:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308323840001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:53:12] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-24 21:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:53:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1587800313082032128,"description":"Unknown IO ID 44"} 
[2026-09-24 21:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308323840001,"power":27876,"unknown_162":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1587800313082032128}} 
[2026-09-24 21:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":193103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892258,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:53:13] local.INFO: GPS data processed {"connection_id":193103,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:53:13] local.INFO: Acknowledgment sent {"connection_id":193103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:53:16] local.INFO: TCP Data received {"connection_id":194400,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:53:16] local.INFO: Processing buffer {"connection_id":194400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:53:16] local.INFO: IMEI packet received {"connection_id":194400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":194400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:53:20] local.INFO: TCP Data received {"connection_id":194400,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:53:20] local.INFO: Processing buffer {"connection_id":194400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:53:20] local.INFO: IMEI packet received {"connection_id":194400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":194400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:53:21] local.INFO: TCP Data received {"connection_id":194400,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:53:21] local.INFO: Processing buffer {"connection_id":194400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:53:21] local.INFO: Packet analysis {"connection_id":194400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:53:21] local.INFO: Extracted packet for processing {"connection_id":194400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:53:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308200704001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790266710000,"timestamp_ms":1790266710000,"timestamp_seconds":1790266710,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43617f0"} 
[2026-09-24 21:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308200704001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308200704001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:53:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:53:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308200704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":194400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:53:21] local.INFO: GPS data processed {"connection_id":194400,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:53:21] local.INFO: Acknowledgment sent {"connection_id":194400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:53:27] local.INFO: TCP Data received {"connection_id":193104,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:53:27] local.INFO: Processing buffer {"connection_id":193104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:53:27] local.INFO: IMEI packet received {"connection_id":193104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":193104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:53:32] local.INFO: TCP Data received {"connection_id":193104,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:53:32] local.INFO: Processing buffer {"connection_id":193104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:53:32] local.INFO: IMEI packet received {"connection_id":193104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":193104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:53:34] local.INFO: TCP Data received {"connection_id":193104,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:53:34] local.INFO: Processing buffer {"connection_id":193104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:53:34] local.INFO: Packet analysis {"connection_id":193104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:53:34] local.INFO: Extracted packet for processing {"connection_id":193104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:53:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308262144001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790266950000,"timestamp_ms":1790266950000,"timestamp_seconds":1790266950,"priority":1,"record_length":96,"hex_timestamp":"000001a0d439c170"} 
[2026-09-24 21:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308262144001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308262144001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:53:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:53:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308262144001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":193104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:53:34] local.INFO: GPS data processed {"connection_id":193104,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:53:34] local.INFO: Acknowledgment sent {"connection_id":193104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:53:44] local.INFO: TCP Data received {"connection_id":193103,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4397350012cea0180071bf868001200a129..."} 
[2026-09-24 21:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4397350012cea0180071bf868001200a129..."} 
[2026-09-24 21:53:44] local.INFO: Processing buffer {"connection_id":193103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4397350012cea0180071bf868001200a129..."} 
[2026-09-24 21:53:44] local.INFO: Packet analysis {"connection_id":193103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:53:44] local.INFO: Extracted packet for processing {"connection_id":193103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:53:44] local.INFO: GPS Element Parsed {"raw_longitude":753533312,"raw_latitude":119273576,"longitude_deg":75.3533312,"latitude_deg":11.9273576,"altitude":18,"angle":161,"satellites":41,"speed":38,"hex_longitude":"2cea0180","hex_latitude":"071bf868","is_valid_coordinates":true} 
[2026-09-24 21:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308329216001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:53:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588715106760591360,"note":"Value kept but may cause issues"} 
[2026-09-24 21:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790266930000,"timestamp_ms":1790266930000,"timestamp_seconds":1790266930,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4397350"} 
[2026-09-24 21:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 21:53:44] 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-09-24 21:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308329216001,"66":27821,"162":206,"2":54272,"24":38,"16":3605341577150464,"44":-1588715106760591360},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-09-24 21:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 21:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 21:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308329216001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:53:44] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-24 21:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:53:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588715106760591360,"description":"Unknown IO ID 44"} 
[2026-09-24 21:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308329216001,"power":27821,"unknown_162":206,"power_alt":54272,"ignition":38,"odometer":null,"unknown_44":-1588715106760591360}} 
[2026-09-24 21:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":193103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892261,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:53:44] local.INFO: GPS data processed {"connection_id":193103,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:53:44] local.INFO: Acknowledgment sent {"connection_id":193103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:53:52] local.INFO: TCP Data received {"connection_id":194400,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:53:52] local.INFO: Processing buffer {"connection_id":194400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43617f0012d196500071fef18003b004829..."} 
[2026-09-24 21:53:52] local.INFO: Packet analysis {"connection_id":194400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:53:52] local.INFO: Extracted packet for processing {"connection_id":194400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d436"} 
[2026-09-24 21:53:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308200704001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790266710000,"timestamp_ms":1790266710000,"timestamp_seconds":1790266710,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43617f0"} 
[2026-09-24 21:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 21:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":194400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":194400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":194400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308200704001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308200704001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:53:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:53:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308200704001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":194400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:53:52] local.INFO: GPS data processed {"connection_id":194400,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:53:52] local.INFO: Acknowledgment sent {"connection_id":194400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:54:05] local.INFO: TCP Data received {"connection_id":193104,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:54:05] local.INFO: Processing buffer {"connection_id":193104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:54:05] local.INFO: Packet analysis {"connection_id":193104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:54:05] local.INFO: Extracted packet for processing {"connection_id":193104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:54:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308262144001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790266950000,"timestamp_ms":1790266950000,"timestamp_seconds":1790266950,"priority":1,"record_length":96,"hex_timestamp":"000001a0d439c170"} 
[2026-09-24 21:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:54: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-09-24 21:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308262144001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308262144001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:54:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:54:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308262144001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":193104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:54:05] local.INFO: GPS data processed {"connection_id":193104,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:54:05] local.INFO: Acknowledgment sent {"connection_id":193104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:54:06] local.INFO: TCP Data received {"connection_id":191725,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191725,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:54:06] local.INFO: Processing buffer {"connection_id":191725,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:54:06] local.INFO: IMEI packet received {"connection_id":191725,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":191725,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:54:11] local.INFO: TCP Data received {"connection_id":191725,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191725,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:54:11] local.INFO: Processing buffer {"connection_id":191725,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:54:11] local.INFO: IMEI packet received {"connection_id":191725,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 21:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":191725,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:54:13] local.INFO: TCP Data received {"connection_id":191725,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d439c558012cea1b00071bb2500012009f2b..."} 
[2026-09-24 21:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d439c558012cea1b00071bb2500012009f2b..."} 
[2026-09-24 21:54:13] local.INFO: Processing buffer {"connection_id":191725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d439c558012cea1b00071bb2500012009f2b..."} 
[2026-09-24 21:54:13] local.INFO: Packet analysis {"connection_id":191725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:54:13] local.INFO: Extracted packet for processing {"connection_id":191725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:54:13] local.INFO: GPS Element Parsed {"raw_longitude":753539840,"raw_latitude":119255632,"longitude_deg":75.353984,"latitude_deg":11.9255632,"altitude":18,"angle":159,"satellites":43,"speed":0,"hex_longitude":"2cea1b00","hex_latitude":"071bb250","is_valid_coordinates":true} 
[2026-09-24 21:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308334080001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:54:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584844825835313152,"note":"Value kept but may cause issues"} 
[2026-09-24 21:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790266951000,"timestamp_ms":1790266951000,"timestamp_seconds":1790266951,"priority":1,"record_length":96,"hex_timestamp":"000001a0d439c558"} 
[2026-09-24 21:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 21:54:13] 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-09-24 21:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308334080001,"66":27593,"10":206,"2":54272,"24":0,"16":3605341577150464,"44":-1584844825835313152},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-09-24 21:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 21:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 21:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308334080001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:54:13] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-24 21:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:54:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584844825835313152,"description":"Unknown IO ID 44"} 
[2026-09-24 21:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308334080001,"power":27593,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1584844825835313152}} 
[2026-09-24 21:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":191725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892264,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:54:13] local.INFO: GPS data processed {"connection_id":191725,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:54:13] local.INFO: Acknowledgment sent {"connection_id":191725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:54:15] local.INFO: TCP Data received {"connection_id":194401,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:54:15] local.INFO: Processing buffer {"connection_id":194401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:54:15] local.INFO: IMEI packet received {"connection_id":194401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":194401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:54:21] local.INFO: TCP Data received {"connection_id":194401,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:54:21] local.INFO: Processing buffer {"connection_id":194401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:54:21] local.INFO: IMEI packet received {"connection_id":194401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":194401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:54:21] local.INFO: TCP Data received {"connection_id":194401,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:54:21] local.INFO: Processing buffer {"connection_id":194401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:54:21] local.INFO: Packet analysis {"connection_id":194401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:54:21] local.INFO: Extracted packet for processing {"connection_id":194401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:54:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308277760001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790267011000,"timestamp_ms":1790267011000,"timestamp_seconds":1790267011,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43aafb8"} 
[2026-09-24 21:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308277760001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308277760001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:54:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:54:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308277760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":194401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:54:21] local.INFO: GPS data processed {"connection_id":194401,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:54:21] local.INFO: Acknowledgment sent {"connection_id":194401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:54:27] local.INFO: TCP Data received {"connection_id":194402,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:54:27] local.INFO: Processing buffer {"connection_id":194402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:54:27] local.INFO: IMEI packet received {"connection_id":194402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":194402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:54:33] local.INFO: TCP Data received {"connection_id":194402,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:54:33] local.INFO: Processing buffer {"connection_id":194402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:54:33] local.INFO: IMEI packet received {"connection_id":194402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":194402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:54:34] local.INFO: TCP Data received {"connection_id":194402,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:54:34] local.INFO: Processing buffer {"connection_id":194402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:54:34] local.INFO: Packet analysis {"connection_id":194402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:54:34] local.INFO: Extracted packet for processing {"connection_id":194402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:54:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308262144001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790266950000,"timestamp_ms":1790266950000,"timestamp_seconds":1790266950,"priority":1,"record_length":96,"hex_timestamp":"000001a0d439c170"} 
[2026-09-24 21:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308262144001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308262144001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:54:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:54:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308262144001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":194402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:54:34] local.INFO: GPS data processed {"connection_id":194402,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:54:34] local.INFO: Acknowledgment sent {"connection_id":194402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:54:45] local.INFO: TCP Data received {"connection_id":191725,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43a1760012cea3440071b65d0000f00a22a..."} 
[2026-09-24 21:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43a1760012cea3440071b65d0000f00a22a..."} 
[2026-09-24 21:54:45] local.INFO: Processing buffer {"connection_id":191725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43a1760012cea3440071b65d0000f00a22a..."} 
[2026-09-24 21:54:45] local.INFO: Packet analysis {"connection_id":191725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:54:45] local.INFO: Extracted packet for processing {"connection_id":191725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:54:45] local.INFO: GPS Element Parsed {"raw_longitude":753546304,"raw_latitude":119236048,"longitude_deg":75.3546304,"latitude_deg":11.9236048,"altitude":15,"angle":162,"satellites":42,"speed":0,"hex_longitude":"2cea3440","hex_latitude":"071b65d0","is_valid_coordinates":true} 
[2026-09-24 21:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308339456001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:54:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1577667213933785088,"note":"Value kept but may cause issues"} 
[2026-09-24 21:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790266972000,"timestamp_ms":1790266972000,"timestamp_seconds":1790266972,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43a1760"} 
[2026-09-24 21:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-24 21:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308339456001,"66":27821,"10":206,"2":54272,"24":0,"16":3605341577150464,"44":-1577667213933785088},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-09-24 21:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 21:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 21:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308339456001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:54:45] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-24 21:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:54:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1577667213933785088,"description":"Unknown IO ID 44"} 
[2026-09-24 21:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308339456001,"power":27821,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1577667213933785088}} 
[2026-09-24 21:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":191725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892267,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:54:45] local.INFO: GPS data processed {"connection_id":191725,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:54:45] local.INFO: Acknowledgment sent {"connection_id":191725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:54:52] local.INFO: TCP Data received {"connection_id":194401,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:54:52] local.INFO: Processing buffer {"connection_id":194401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:54:52] local.INFO: Packet analysis {"connection_id":194401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:54:52] local.INFO: Extracted packet for processing {"connection_id":194401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:54:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308277760001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790267011000,"timestamp_ms":1790267011000,"timestamp_seconds":1790267011,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43aafb8"} 
[2026-09-24 21:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":194401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":194401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":194401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308277760001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308277760001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:54:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:54:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308277760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":194401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:54:52] local.INFO: GPS data processed {"connection_id":194401,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:54:52] local.INFO: Acknowledgment sent {"connection_id":194401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:55:05] local.INFO: TCP Data received {"connection_id":194402,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:55:05] local.INFO: Processing buffer {"connection_id":194402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:55:05] local.INFO: Packet analysis {"connection_id":194402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:55:05] local.INFO: Extracted packet for processing {"connection_id":194402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308262144001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790266950000,"timestamp_ms":1790266950000,"timestamp_seconds":1790266950,"priority":1,"record_length":96,"hex_timestamp":"000001a0d439c170"} 
[2026-09-24 21:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:55: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-09-24 21: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-09-24 21:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308262144001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308262144001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:55:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:55:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308262144001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":194402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:55:05] local.INFO: GPS data processed {"connection_id":194402,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:55:05] local.INFO: Acknowledgment sent {"connection_id":194402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:55:11] local.INFO: TCP Data received {"connection_id":194403,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194403,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:55:11] local.INFO: Processing buffer {"connection_id":194403,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:55:11] local.INFO: IMEI packet received {"connection_id":194403,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":194403,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:55:16] local.INFO: TCP Data received {"connection_id":191547,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:55:16] local.INFO: Processing buffer {"connection_id":191547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:55:16] local.INFO: IMEI packet received {"connection_id":191547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":191547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:55:16] local.INFO: TCP Data received {"connection_id":194403,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194403,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:55:16] local.INFO: Processing buffer {"connection_id":194403,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:55:16] local.INFO: IMEI packet received {"connection_id":194403,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 21:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":194403,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:55:18] local.INFO: TCP Data received {"connection_id":194403,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43af9f00100000000000000000000000000..."} 
[2026-09-24 21:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43af9f00100000000000000000000000000..."} 
[2026-09-24 21:55:18] local.INFO: Processing buffer {"connection_id":194403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43af9f00100000000000000000000000000..."} 
[2026-09-24 21:55:18] local.INFO: Packet analysis {"connection_id":194403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:55:18] local.INFO: Extracted packet for processing {"connection_id":194403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:55: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-09-24 21: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-09-24 21:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308344832001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:55:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1570559970776854528,"note":"Value kept but may cause issues"} 
[2026-09-24 21:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790267030000,"timestamp_ms":1790267030000,"timestamp_seconds":1790267030,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43af9f0"} 
[2026-09-24 21:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 21:55:18] 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-09-24 21: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-09-24 21:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":194403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":194403,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":194403,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":194403,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 21:55:18] local.INFO: GPS data processed {"connection_id":194403,"processed":0,"errors":0,"total":1} 
[2026-09-24 21:55:18] local.INFO: Acknowledgment sent {"connection_id":194403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:55:21] local.INFO: TCP Data received {"connection_id":191547,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:55:21] local.INFO: Processing buffer {"connection_id":191547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:55:21] local.INFO: IMEI packet received {"connection_id":191547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":191547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:55:21] local.INFO: TCP Data received {"connection_id":191547,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:55:21] local.INFO: Processing buffer {"connection_id":191547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:55:21] local.INFO: Packet analysis {"connection_id":191547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:55:21] local.INFO: Extracted packet for processing {"connection_id":191547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:55:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308277760001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790267011000,"timestamp_ms":1790267011000,"timestamp_seconds":1790267011,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43aafb8"} 
[2026-09-24 21:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308277760001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308277760001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:55:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:55:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308277760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":191547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:55:21] local.INFO: GPS data processed {"connection_id":191547,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:55:21] local.INFO: Acknowledgment sent {"connection_id":191547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:55:27] local.INFO: TCP Data received {"connection_id":191548,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:55:27] local.INFO: Processing buffer {"connection_id":191548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:55:27] local.INFO: IMEI packet received {"connection_id":191548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":191548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:55:32] local.INFO: TCP Data received {"connection_id":191548,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:55:32] local.INFO: Processing buffer {"connection_id":191548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:55:32] local.INFO: IMEI packet received {"connection_id":191548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":191548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:55:34] local.INFO: TCP Data received {"connection_id":191548,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:55:34] local.INFO: Processing buffer {"connection_id":191548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:55:34] local.INFO: Packet analysis {"connection_id":191548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:55:34] local.INFO: Extracted packet for processing {"connection_id":191548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:55:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308262144001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790266950000,"timestamp_ms":1790266950000,"timestamp_seconds":1790266950,"priority":1,"record_length":96,"hex_timestamp":"000001a0d439c170"} 
[2026-09-24 21:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308262144001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308262144001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:55:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:55:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308262144001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":191548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:55:34] local.INFO: GPS data processed {"connection_id":191548,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:55:34] local.INFO: Acknowledgment sent {"connection_id":191548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:55:49] local.INFO: TCP Data received {"connection_id":194403,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43a88a8012cea6400071ac5b8001500a130..."} 
[2026-09-24 21:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43a88a8012cea6400071ac5b8001500a130..."} 
[2026-09-24 21:55:49] local.INFO: Processing buffer {"connection_id":194403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43a88a8012cea6400071ac5b8001500a130..."} 
[2026-09-24 21:55:49] local.INFO: Packet analysis {"connection_id":194403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:55:49] local.INFO: Extracted packet for processing {"connection_id":194403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:55:49] local.INFO: GPS Element Parsed {"raw_longitude":753558528,"raw_latitude":119195064,"longitude_deg":75.3558528,"latitude_deg":11.9195064,"altitude":21,"angle":161,"satellites":48,"speed":47,"hex_longitude":"2cea6400","hex_latitude":"071ac5b8","is_valid_coordinates":true} 
[2026-09-24 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-09-24 21:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:55:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,10,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 21:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790267001000,"timestamp_ms":1790267001000,"timestamp_seconds":1790267001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43a88a8"} 
[2026-09-24 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-09-24 21:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 21:55:49] 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-09-24 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-09-24 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-09-24 21:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":194403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":194403,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":194403,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27908,"10":206,"2":54272,"24":47,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16]} 
[2026-09-24 21:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 21:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 21:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 21:55:49] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-24 21:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:55:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27908,"unknown_10":206,"power_alt":54272,"ignition":47,"odometer":null}} 
[2026-09-24 21:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":194403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892272,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:55:50] local.INFO: GPS data processed {"connection_id":194403,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:55:50] local.INFO: Acknowledgment sent {"connection_id":194403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:55:52] local.INFO: TCP Data received {"connection_id":191547,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:55:52] local.INFO: Processing buffer {"connection_id":191547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:55:52] local.INFO: Packet analysis {"connection_id":191547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:55:52] local.INFO: Extracted packet for processing {"connection_id":191547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:55:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308277760001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790267011000,"timestamp_ms":1790267011000,"timestamp_seconds":1790267011,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43aafb8"} 
[2026-09-24 21:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:55:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308277760001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308277760001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:55:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:55:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308277760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":191547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:55:52] local.INFO: GPS data processed {"connection_id":191547,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:55:52] local.INFO: Acknowledgment sent {"connection_id":191547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:56:05] local.INFO: TCP Data received {"connection_id":191548,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:56:05] local.INFO: Processing buffer {"connection_id":191548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:56:05] local.INFO: Packet analysis {"connection_id":191548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:56:05] local.INFO: Extracted packet for processing {"connection_id":191548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:56:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308262144001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790266950000,"timestamp_ms":1790266950000,"timestamp_seconds":1790266950,"priority":1,"record_length":96,"hex_timestamp":"000001a0d439c170"} 
[2026-09-24 21:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308262144001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308262144001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:56:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:56:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308262144001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":191548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:56:05] local.INFO: GPS data processed {"connection_id":191548,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:56:05] local.INFO: Acknowledgment sent {"connection_id":191548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:56:06] local.INFO: TCP Data received {"connection_id":193105,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:56:06] local.INFO: Processing buffer {"connection_id":193105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:56:06] local.INFO: IMEI packet received {"connection_id":193105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":193105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:56:11] local.INFO: TCP Data received {"connection_id":193105,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:56:11] local.INFO: Processing buffer {"connection_id":193105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:56:11] local.INFO: IMEI packet received {"connection_id":193105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 21:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":193105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:56:13] local.INFO: TCP Data received {"connection_id":193105,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43acb10012cea8280071a8520001d008d29..."} 
[2026-09-24 21:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43acb10012cea8280071a8520001d008d29..."} 
[2026-09-24 21:56:13] local.INFO: Processing buffer {"connection_id":193105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43acb10012cea8280071a8520001d008d29..."} 
[2026-09-24 21:56:13] local.INFO: Packet analysis {"connection_id":193105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:56:13] local.INFO: Extracted packet for processing {"connection_id":193105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:56:13] local.INFO: GPS Element Parsed {"raw_longitude":753566336,"raw_latitude":119178528,"longitude_deg":75.3566336,"latitude_deg":11.9178528,"altitude":29,"angle":141,"satellites":41,"speed":35,"hex_longitude":"2cea8280","hex_latitude":"071a8520","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308352256001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:56:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1557119540649412608,"note":"Value kept but may cause issues"} 
[2026-09-24 21:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790267018000,"timestamp_ms":1790267018000,"timestamp_seconds":1790267018,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43acb10"} 
[2026-09-24 21:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 21:56:13] 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-09-24 21: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-09-24 21:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308352256001,"66":27289,"10":206,"2":54272,"24":35,"16":3605341577150464,"44":-1557119540649412608},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-09-24 21:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 21:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 21:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308352256001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:56:13] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-24 21:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:56:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1557119540649412608,"description":"Unknown IO ID 44"} 
[2026-09-24 21:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308352256001,"power":27289,"unknown_10":206,"power_alt":54272,"ignition":35,"odometer":null,"unknown_44":-1557119540649412608}} 
[2026-09-24 21:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":193105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892275,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:56:13] local.INFO: GPS data processed {"connection_id":193105,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:56:13] local.INFO: Acknowledgment sent {"connection_id":193105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:56:16] local.INFO: TCP Data received {"connection_id":191549,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:56:16] local.INFO: Processing buffer {"connection_id":191549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:56:16] local.INFO: IMEI packet received {"connection_id":191549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":191549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:56:21] local.INFO: TCP Data received {"connection_id":191549,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:56:21] local.INFO: Processing buffer {"connection_id":191549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:56:21] local.INFO: IMEI packet received {"connection_id":191549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":191549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:56:21] local.INFO: TCP Data received {"connection_id":191549,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:56:21] local.INFO: Processing buffer {"connection_id":191549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:56:21] local.INFO: Packet analysis {"connection_id":191549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:56:21] local.INFO: Extracted packet for processing {"connection_id":191549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:56:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308277760001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790267011000,"timestamp_ms":1790267011000,"timestamp_seconds":1790267011,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43aafb8"} 
[2026-09-24 21:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308277760001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308277760001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:56:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:56:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308277760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":191549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:56:21] local.INFO: GPS data processed {"connection_id":191549,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:56:21] local.INFO: Acknowledgment sent {"connection_id":191549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:56:27] local.INFO: TCP Data received {"connection_id":193106,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:56:27] local.INFO: Processing buffer {"connection_id":193106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:56:27] local.INFO: IMEI packet received {"connection_id":193106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":193106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:56:32] local.INFO: TCP Data received {"connection_id":193106,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:56:32] local.INFO: Processing buffer {"connection_id":193106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:56:32] local.INFO: IMEI packet received {"connection_id":193106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":193106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:56:33] local.INFO: TCP Data received {"connection_id":193106,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:56:33] local.INFO: Processing buffer {"connection_id":193106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:56:33] local.INFO: Packet analysis {"connection_id":193106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:56:33] local.INFO: Extracted packet for processing {"connection_id":193106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:56:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308262144001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790266950000,"timestamp_ms":1790266950000,"timestamp_seconds":1790266950,"priority":1,"record_length":96,"hex_timestamp":"000001a0d439c170"} 
[2026-09-24 21:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308262144001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308262144001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:56:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:56:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308262144001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":193106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:56:33] local.INFO: GPS data processed {"connection_id":193106,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:56:33] local.INFO: Acknowledgment sent {"connection_id":193106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:56:44] local.INFO: TCP Data received {"connection_id":193105,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43bada00100000000000000000000000000..."} 
[2026-09-24 21:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43bada00100000000000000000000000000..."} 
[2026-09-24 21:56:44] local.INFO: Processing buffer {"connection_id":193105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43bada00100000000000000000000000000..."} 
[2026-09-24 21:56:44] local.INFO: Packet analysis {"connection_id":193105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43b"} 
[2026-09-24 21:56:44] local.INFO: Extracted packet for processing {"connection_id":193105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43b"} 
[2026-09-24 21:56:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 21:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308356608001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:56:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1548534553863970816,"note":"Value kept but may cause issues"} 
[2026-09-24 21:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790267076000,"timestamp_ms":1790267076000,"timestamp_seconds":1790267076,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43bada0"} 
[2026-09-24 21:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-24 21:56:44] 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-09-24 21:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":193105,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 21:56:44] local.INFO: GPS data processed {"connection_id":193105,"processed":0,"errors":0,"total":1} 
[2026-09-24 21:56:44] local.INFO: Acknowledgment sent {"connection_id":193105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:56:52] local.INFO: TCP Data received {"connection_id":191549,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:56:52] local.INFO: Processing buffer {"connection_id":191549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:56:52] local.INFO: Packet analysis {"connection_id":191549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:56:52] local.INFO: Extracted packet for processing {"connection_id":191549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:56:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308277760001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790267011000,"timestamp_ms":1790267011000,"timestamp_seconds":1790267011,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43aafb8"} 
[2026-09-24 21:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308277760001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308277760001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:56:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:56:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308277760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":191549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:56:52] local.INFO: GPS data processed {"connection_id":191549,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:56:52] local.INFO: Acknowledgment sent {"connection_id":191549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:57:04] local.INFO: TCP Data received {"connection_id":193106,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:57:04] local.INFO: Processing buffer {"connection_id":193106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:57:04] local.INFO: Packet analysis {"connection_id":193106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:57:04] local.INFO: Extracted packet for processing {"connection_id":193106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:57:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308262144001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790266950000,"timestamp_ms":1790266950000,"timestamp_seconds":1790266950,"priority":1,"record_length":96,"hex_timestamp":"000001a0d439c170"} 
[2026-09-24 21:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:57: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-09-24 21:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:57: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-09-24 21:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308262144001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308262144001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:57:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:57:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308262144001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":193106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:57:04] local.INFO: GPS data processed {"connection_id":193106,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:57:04] local.INFO: Acknowledgment sent {"connection_id":193106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:57:11] local.INFO: TCP Data received {"connection_id":191726,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:57:11] local.INFO: Processing buffer {"connection_id":191726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:57:11] local.INFO: IMEI packet received {"connection_id":191726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":191726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:57:14] local.INFO: TCP Data received {"connection_id":191726,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:57:14] local.INFO: Processing buffer {"connection_id":191726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:57:14] local.INFO: IMEI packet received {"connection_id":191726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 21:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":191726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:57:15] local.INFO: TCP Data received {"connection_id":193107,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:57:15] local.INFO: Processing buffer {"connection_id":193107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:57:15] local.INFO: IMEI packet received {"connection_id":193107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":193107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:57:15] local.INFO: TCP Data received {"connection_id":191726,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43b30a0012ceab180071a6238002000702f..."} 
[2026-09-24 21:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43b30a0012ceab180071a6238002000702f..."} 
[2026-09-24 21:57:15] local.INFO: Processing buffer {"connection_id":191726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43b30a0012ceab180071a6238002000702f..."} 
[2026-09-24 21:57:15] local.INFO: Packet analysis {"connection_id":191726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43b"} 
[2026-09-24 21:57:15] local.INFO: Extracted packet for processing {"connection_id":191726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43b"} 
[2026-09-24 21:57:15] local.INFO: GPS Element Parsed {"raw_longitude":753578368,"raw_latitude":119169592,"longitude_deg":75.3578368,"latitude_deg":11.9169592,"altitude":32,"angle":112,"satellites":47,"speed":27,"hex_longitude":"2ceab180","hex_latitude":"071a6238","is_valid_coordinates":true} 
[2026-09-24 21:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:57:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,8,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 21:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790267044000,"timestamp_ms":1790267044000,"timestamp_seconds":1790267044,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43b30a0"} 
[2026-09-24 21:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-24 21:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27941,"8":206,"2":54272,"24":27,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16]} 
[2026-09-24 21:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 21:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 21:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 21:57:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-24 21:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:57:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27941,"unknown_8":206,"power_alt":54272,"ignition":27,"odometer":null}} 
[2026-09-24 21:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":191726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892280,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:57:16] local.INFO: GPS data processed {"connection_id":191726,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:57:16] local.INFO: Acknowledgment sent {"connection_id":191726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:57:21] local.INFO: TCP Data received {"connection_id":193107,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:57:21] local.INFO: Processing buffer {"connection_id":193107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:57:21] local.INFO: IMEI packet received {"connection_id":193107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":193107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:57:21] local.INFO: TCP Data received {"connection_id":193107,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:57:21] local.INFO: Processing buffer {"connection_id":193107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:57:21] local.INFO: Packet analysis {"connection_id":193107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:57:21] local.INFO: Extracted packet for processing {"connection_id":193107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:57:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308277760001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790267011000,"timestamp_ms":1790267011000,"timestamp_seconds":1790267011,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43aafb8"} 
[2026-09-24 21:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308277760001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308277760001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:57:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:57:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308277760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":193107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:57:21] local.INFO: GPS data processed {"connection_id":193107,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:57:21] local.INFO: Acknowledgment sent {"connection_id":193107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:57:32] local.INFO: TCP Data received {"connection_id":191727,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:57:32] local.INFO: Processing buffer {"connection_id":191727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:57:32] local.INFO: IMEI packet received {"connection_id":191727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":191727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:57:37] local.INFO: TCP Data received {"connection_id":191727,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:57:37] local.INFO: Processing buffer {"connection_id":191727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:57:37] local.INFO: IMEI packet received {"connection_id":191727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":191727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:57:39] local.INFO: TCP Data received {"connection_id":191727,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:57:39] local.INFO: Processing buffer {"connection_id":191727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d439c170012d34c14006aa4940000900f52d..."} 
[2026-09-24 21:57:39] local.INFO: Packet analysis {"connection_id":191727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:57:39] local.INFO: Extracted packet for processing {"connection_id":191727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d439"} 
[2026-09-24 21:57:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308262144001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790266950000,"timestamp_ms":1790266950000,"timestamp_seconds":1790266950,"priority":1,"record_length":96,"hex_timestamp":"000001a0d439c170"} 
[2026-09-24 21:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308262144001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308262144001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:57:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:57:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308262144001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":191727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:57:39] local.INFO: GPS data processed {"connection_id":191727,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:57:39] local.INFO: Acknowledgment sent {"connection_id":191727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:57:47] local.INFO: TCP Data received {"connection_id":191726,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43c13300100000000000000000000000000..."} 
[2026-09-24 21:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43c13300100000000000000000000000000..."} 
[2026-09-24 21:57:47] local.INFO: Processing buffer {"connection_id":191726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43c13300100000000000000000000000000..."} 
[2026-09-24 21:57:47] local.INFO: Packet analysis {"connection_id":191726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43c"} 
[2026-09-24 21:57:47] local.INFO: Extracted packet for processing {"connection_id":191726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43c"} 
[2026-09-24 21:57:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 21:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308363264001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:57:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1535305229960857600,"note":"Value kept but may cause issues"} 
[2026-09-24 21:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790267102000,"timestamp_ms":1790267102000,"timestamp_seconds":1790267102,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43c1330"} 
[2026-09-24 21:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-24 21:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":191726,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 21:57:47] local.INFO: GPS data processed {"connection_id":191726,"processed":0,"errors":0,"total":1} 
[2026-09-24 21:57:47] local.INFO: Acknowledgment sent {"connection_id":191726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:57:52] local.INFO: TCP Data received {"connection_id":193107,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:57:52] local.INFO: Processing buffer {"connection_id":193107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:57:52] local.INFO: Packet analysis {"connection_id":193107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:57:52] local.INFO: Extracted packet for processing {"connection_id":193107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:57:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308277760001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790267011000,"timestamp_ms":1790267011000,"timestamp_seconds":1790267011,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43aafb8"} 
[2026-09-24 21:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":193107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":193107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":193107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308277760001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308277760001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:57:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:57:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308277760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":193107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:57:52] local.INFO: GPS data processed {"connection_id":193107,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:57:52] local.INFO: Acknowledgment sent {"connection_id":193107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:58:10] local.INFO: TCP Data received {"connection_id":191727,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:58:10] local.INFO: Processing buffer {"connection_id":191727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:58:10] local.INFO: Packet analysis {"connection_id":191727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 21:58:10] local.INFO: Extracted packet for processing {"connection_id":191727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 21:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308339200001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790267251000,"timestamp_ms":1790267251000,"timestamp_seconds":1790267251,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43e5938"} 
[2026-09-24 21:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308339200001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308339200001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:58:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308339200001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":191727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:58:10] local.INFO: GPS data processed {"connection_id":191727,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:58:10] local.INFO: Acknowledgment sent {"connection_id":191727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:58:15] local.INFO: TCP Data received {"connection_id":193108,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:58:15] local.INFO: Processing buffer {"connection_id":193108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:58:15] local.INFO: IMEI packet received {"connection_id":193108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":193108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:58:20] local.INFO: TCP Data received {"connection_id":193108,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:58:20] local.INFO: Processing buffer {"connection_id":193108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:58:20] local.INFO: IMEI packet received {"connection_id":193108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":193108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:58:21] local.INFO: TCP Data received {"connection_id":193108,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:58:21] local.INFO: Processing buffer {"connection_id":193108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:58:21] local.INFO: Packet analysis {"connection_id":193108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:58:21] local.INFO: Extracted packet for processing {"connection_id":193108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:58:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 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-09-24 21:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308277760001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790267011000,"timestamp_ms":1790267011000,"timestamp_seconds":1790267011,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43aafb8"} 
[2026-09-24 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-09-24 21:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 21:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308277760001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308277760001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:58:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:58:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308277760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":193108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:58:21] local.INFO: GPS data processed {"connection_id":193108,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:58:21] local.INFO: Acknowledgment sent {"connection_id":193108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:58:21] local.INFO: TCP Data received {"connection_id":194404,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:58:21] local.INFO: Processing buffer {"connection_id":194404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:58:21] local.INFO: IMEI packet received {"connection_id":194404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":194404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:58:26] local.INFO: TCP Data received {"connection_id":194404,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:58:26] local.INFO: Processing buffer {"connection_id":194404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:58:26] local.INFO: IMEI packet received {"connection_id":194404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 21:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":194404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:58:27] local.INFO: TCP Data received {"connection_id":191550,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:58:27] local.INFO: Processing buffer {"connection_id":191550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:58:27] local.INFO: IMEI packet received {"connection_id":191550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":191550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:58:27] local.INFO: TCP Data received {"connection_id":194404,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43dcc98012cec268007190460001f008b29..."} 
[2026-09-24 21:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43dcc98012cec268007190460001f008b29..."} 
[2026-09-24 21:58:27] local.INFO: Processing buffer {"connection_id":194404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43dcc98012cec268007190460001f008b29..."} 
[2026-09-24 21:58:27] local.INFO: Packet analysis {"connection_id":194404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43d"} 
[2026-09-24 21:58:27] local.INFO: Extracted packet for processing {"connection_id":194404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43d"} 
[2026-09-24 21:58:27] local.INFO: GPS Element Parsed {"raw_longitude":753673856,"raw_latitude":119080032,"longitude_deg":75.3673856,"latitude_deg":11.9080032,"altitude":31,"angle":139,"satellites":41,"speed":43,"hex_longitude":"2cec2680","hex_latitude":"07190460","is_valid_coordinates":true} 
[2026-09-24 21:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308402176001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:58:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1446570243572789248,"note":"Value kept but may cause issues"} 
[2026-09-24 21:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790267215000,"timestamp_ms":1790267215000,"timestamp_seconds":1790267215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43dcc98"} 
[2026-09-24 21:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-24 21:58:27] 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-09-24 21:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":194404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":194404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":194404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308402176001,"66":27952,"174":206,"2":54272,"24":43,"16":3605341577150464,"44":-1446570243572789248},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,2,24,16,44]} 
[2026-09-24 21:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 21:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 21:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308402176001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:58:27] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-24 21:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:58:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1446570243572789248,"description":"Unknown IO ID 44"} 
[2026-09-24 21:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308402176001,"power":27952,"unknown_174":206,"power_alt":54272,"ignition":43,"odometer":null,"unknown_44":-1446570243572789248}} 
[2026-09-24 21:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":194404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892286,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:58:28] local.INFO: GPS data processed {"connection_id":194404,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:58:28] local.INFO: Acknowledgment sent {"connection_id":194404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:58:31] local.INFO: TCP Data received {"connection_id":194404,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43e12e8012cec4d800718cc28002000a32d..."} 
[2026-09-24 21:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43e12e8012cec4d800718cc28002000a32d..."} 
[2026-09-24 21:58:31] local.INFO: Processing buffer {"connection_id":194404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43e12e8012cec4d800718cc28002000a32d..."} 
[2026-09-24 21:58:31] local.INFO: Packet analysis {"connection_id":194404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 21:58:31] local.INFO: Extracted packet for processing {"connection_id":194404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 21:58:31] local.INFO: GPS Element Parsed {"raw_longitude":753683840,"raw_latitude":119065640,"longitude_deg":75.368384,"latitude_deg":11.906564,"altitude":32,"angle":163,"satellites":45,"speed":34,"hex_longitude":"2cec4d80","hex_latitude":"0718cc28","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308407040001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:58:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1430315063670710272,"note":"Value kept but may cause issues"} 
[2026-09-24 21:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790267233000,"timestamp_ms":1790267233000,"timestamp_seconds":1790267233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43e12e8"} 
[2026-09-24 21:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 21:58:31] 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-09-24 21: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-09-24 21:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308407040001,"66":27800,"174":206,"2":54272,"24":34,"16":3605341577150464,"44":-1430315063670710272},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,2,24,16,44]} 
[2026-09-24 21:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 21:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 21:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308407040001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:58:31] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-24 21:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:58:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1430315063670710272,"description":"Unknown IO ID 44"} 
[2026-09-24 21:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308407040001,"power":27800,"unknown_174":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-1430315063670710272}} 
[2026-09-24 21:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":194404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892287,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:58:31] local.INFO: GPS data processed {"connection_id":194404,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:58:31] local.INFO: Acknowledgment sent {"connection_id":194404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:58:32] local.INFO: TCP Data received {"connection_id":191550,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:58:32] local.INFO: Processing buffer {"connection_id":191550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:58:32] local.INFO: IMEI packet received {"connection_id":191550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":191550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:58:33] local.INFO: TCP Data received {"connection_id":191550,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:58:33] local.INFO: Processing buffer {"connection_id":191550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:58:33] local.INFO: Packet analysis {"connection_id":191550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 21:58:33] local.INFO: Extracted packet for processing {"connection_id":191550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 21:58:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308339200001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790267251000,"timestamp_ms":1790267251000,"timestamp_seconds":1790267251,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43e5938"} 
[2026-09-24 21:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308339200001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308339200001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:58:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:58:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308339200001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":191550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:58:33] local.INFO: GPS data processed {"connection_id":191550,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:58:33] local.INFO: Acknowledgment sent {"connection_id":191550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:58:52] local.INFO: TCP Data received {"connection_id":193108,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:58:52] local.INFO: Processing buffer {"connection_id":193108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43aafb8012d196500071fef18003b004825..."} 
[2026-09-24 21:58:52] local.INFO: Packet analysis {"connection_id":193108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:58:52] local.INFO: Extracted packet for processing {"connection_id":193108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43a"} 
[2026-09-24 21:58:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 21:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308277760001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790267011000,"timestamp_ms":1790267011000,"timestamp_seconds":1790267011,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43aafb8"} 
[2026-09-24 21:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":193108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":193108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":193108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308277760001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308277760001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:58:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:58:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308277760001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":193108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:58:52] local.INFO: GPS data processed {"connection_id":193108,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:58:52] local.INFO: Acknowledgment sent {"connection_id":193108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:59:05] local.INFO: TCP Data received {"connection_id":191550,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:59:05] local.INFO: Processing buffer {"connection_id":191550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:59:05] local.INFO: Packet analysis {"connection_id":191550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 21:59:05] local.INFO: Extracted packet for processing {"connection_id":191550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 21:59:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21: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-09-24 21:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308339200001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790267251000,"timestamp_ms":1790267251000,"timestamp_seconds":1790267251,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43e5938"} 
[2026-09-24 21:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21: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-09-24 21:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308339200001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308339200001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:59:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:59:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308339200001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":191550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:59:05] local.INFO: GPS data processed {"connection_id":191550,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:59:05] local.INFO: Acknowledgment sent {"connection_id":191550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:59:06] local.INFO: TCP Data received {"connection_id":191551,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:59:06] local.INFO: Processing buffer {"connection_id":191551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:59:06] local.INFO: IMEI packet received {"connection_id":191551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 21:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":191551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:59:11] local.INFO: TCP Data received {"connection_id":191551,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:59:11] local.INFO: Processing buffer {"connection_id":191551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 21:59:11] local.INFO: IMEI packet received {"connection_id":191551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 21:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":191551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:59:12] local.INFO: TCP Data received {"connection_id":191551,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43e6108012cec690007188b38002300952d..."} 
[2026-09-24 21:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43e6108012cec690007188b38002300952d..."} 
[2026-09-24 21:59:12] local.INFO: Processing buffer {"connection_id":191551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43e6108012cec690007188b38002300952d..."} 
[2026-09-24 21:59:12] local.INFO: Packet analysis {"connection_id":191551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 21:59:12] local.INFO: Extracted packet for processing {"connection_id":191551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 21:59:12] local.INFO: GPS Element Parsed {"raw_longitude":753690880,"raw_latitude":119049016,"longitude_deg":75.369088,"latitude_deg":11.9049016,"altitude":35,"angle":149,"satellites":45,"speed":35,"hex_longitude":"2cec6900","hex_latitude":"07188b38","is_valid_coordinates":true} 
[2026-09-24 21:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308411648001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:59:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1419337539582679040,"note":"Value kept but may cause issues"} 
[2026-09-24 21:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790267253000,"timestamp_ms":1790267253000,"timestamp_seconds":1790267253,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43e6108"} 
[2026-09-24 21:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:59: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-09-24 21:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-24 21:59:12] 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-09-24 21:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308411648001,"66":27952,"174":206,"2":54272,"24":35,"16":3605341577150464,"44":-1419337539582679040},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,2,24,16,44]} 
[2026-09-24 21:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 21:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 21:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308411648001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:59:12] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-24 21:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:59:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1419337539582679040,"description":"Unknown IO ID 44"} 
[2026-09-24 21:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308411648001,"power":27952,"unknown_174":206,"power_alt":54272,"ignition":35,"odometer":null,"unknown_44":-1419337539582679040}} 
[2026-09-24 21:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":191551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892291,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:59:12] local.INFO: GPS data processed {"connection_id":191551,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:59:12] local.INFO: Acknowledgment sent {"connection_id":191551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:59:15] local.INFO: TCP Data received {"connection_id":194405,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:59:15] local.INFO: Processing buffer {"connection_id":194405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:59:15] local.INFO: IMEI packet received {"connection_id":194405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 21:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":194405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:59:20] local.INFO: TCP Data received {"connection_id":194405,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:59:20] local.INFO: Processing buffer {"connection_id":194405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 21:59:20] local.INFO: IMEI packet received {"connection_id":194405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 21:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":194405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:59:21] local.INFO: TCP Data received {"connection_id":194405,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 21:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 21:59:21] local.INFO: Processing buffer {"connection_id":194405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 21:59:21] local.INFO: Packet analysis {"connection_id":194405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 21:59:21] local.INFO: Extracted packet for processing {"connection_id":194405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 21:59:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 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-09-24 21:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308354816001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790267312000,"timestamp_ms":1790267312000,"timestamp_seconds":1790267312,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43f4780"} 
[2026-09-24 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-09-24 21:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 21:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308354816001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308354816001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:59:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:59:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308354816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":194405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:59:21] local.INFO: GPS data processed {"connection_id":194405,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:59:21] local.INFO: Acknowledgment sent {"connection_id":194405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:59:28] local.INFO: TCP Data received {"connection_id":191728,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:59:28] local.INFO: Processing buffer {"connection_id":191728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:59:28] local.INFO: IMEI packet received {"connection_id":191728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 21:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":191728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 21:59:32] local.INFO: TCP Data received {"connection_id":191728,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:59:32] local.INFO: Processing buffer {"connection_id":191728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 21:59:32] local.INFO: IMEI packet received {"connection_id":191728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 21:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":191728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 21:59:33] local.INFO: TCP Data received {"connection_id":191728,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:59:33] local.INFO: Processing buffer {"connection_id":191728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 21:59:33] local.INFO: Packet analysis {"connection_id":191728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 21:59:33] local.INFO: Extracted packet for processing {"connection_id":191728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 21:59:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 21:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308339200001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 21:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 21:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790267251000,"timestamp_ms":1790267251000,"timestamp_seconds":1790267251,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43e5938"} 
[2026-09-24 21:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 21:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 21:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 21:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 21:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 21:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 21:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308339200001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 21:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 21:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 21:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308339200001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:59:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 21:59:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 21:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 21:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308339200001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 21:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":191728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:59:33] local.INFO: GPS data processed {"connection_id":191728,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:59:33] local.INFO: Acknowledgment sent {"connection_id":191728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:59:43] local.INFO: TCP Data received {"connection_id":191551,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43eab40012cec6b4007184948002300bf29..."} 
[2026-09-24 21:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43eab40012cec6b4007184948002300bf29..."} 
[2026-09-24 21:59:43] local.INFO: Processing buffer {"connection_id":191551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43eab40012cec6b4007184948002300bf29..."} 
[2026-09-24 21:59:43] local.INFO: Packet analysis {"connection_id":191551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 21:59:43] local.INFO: Extracted packet for processing {"connection_id":191551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 21:59:43] local.INFO: GPS Element Parsed {"raw_longitude":753691456,"raw_latitude":119032136,"longitude_deg":75.3691456,"latitude_deg":11.9032136,"altitude":35,"angle":191,"satellites":41,"speed":36,"hex_longitude":"2cec6b40","hex_latitude":"07184948","is_valid_coordinates":true} 
[2026-09-24 21:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 21:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308416768001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 21:59:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1411596977727391744,"note":"Value kept but may cause issues"} 
[2026-09-24 21:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790267272000,"timestamp_ms":1790267272000,"timestamp_seconds":1790267272,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43eab40"} 
[2026-09-24 21:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 21:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 21:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 21:59:43] 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-09-24 21:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 21:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 21:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 21:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 21:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 21:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308416768001,"66":27800,"80":206,"2":54272,"24":36,"16":3605341577150464,"44":-1411596977727391744},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,2,24,16,44]} 
[2026-09-24 21:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 21:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 21:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308416768001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:59:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-09-24 21:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:59:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1411596977727391744,"description":"Unknown IO ID 44"} 
[2026-09-24 21:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308416768001,"power":27800,"unknown_80":206,"power_alt":54272,"ignition":36,"odometer":null,"unknown_44":-1411596977727391744}} 
[2026-09-24 21:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":191551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892294,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:59:43] local.INFO: GPS data processed {"connection_id":191551,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:59:43] local.INFO: Acknowledgment sent {"connection_id":191551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 21:59:52] local.INFO: TCP Data received {"connection_id":194405,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 21:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 21:59:52] local.INFO: Processing buffer {"connection_id":194405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 21:59:52] local.INFO: Packet analysis {"connection_id":194405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 21:59:52] local.INFO: Extracted packet for processing {"connection_id":194405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 21:59:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 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-09-24 21:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308354816001,"note":"Value kept but may cause issues"} 
[2026-09-24 21:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 21:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 21:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 21:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790267312000,"timestamp_ms":1790267312000,"timestamp_seconds":1790267312,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43f4780"} 
[2026-09-24 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-09-24 21:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 21:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 21:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 21:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":194405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 21:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":194405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":194405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 21:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 21:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 21:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 21:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308354816001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 21:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 21:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 21:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308354816001,"description":"Unknown IO ID 0"} 
[2026-09-24 21:59:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 21:59:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 21:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 21:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 21:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308354816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 21:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":194405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 21:59:52] local.INFO: GPS data processed {"connection_id":194405,"processed":1,"errors":0,"total":1} 
[2026-09-24 21:59:52] local.INFO: Acknowledgment sent {"connection_id":194405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:00:05] local.INFO: TCP Data received {"connection_id":191728,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:00:05] local.INFO: Processing buffer {"connection_id":191728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:00:05] local.INFO: Packet analysis {"connection_id":191728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 22:00:05] local.INFO: Extracted packet for processing {"connection_id":191728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 22:00:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308339200001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790267251000,"timestamp_ms":1790267251000,"timestamp_seconds":1790267251,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43e5938"} 
[2026-09-24 22:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:00: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-09-24 22: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-09-24 22:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308339200001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308339200001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:00:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:00:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308339200001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":191728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:00:05] local.INFO: GPS data processed {"connection_id":191728,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:00:05] local.INFO: Acknowledgment sent {"connection_id":191728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:00:06] local.INFO: TCP Data received {"connection_id":193109,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:00:06] local.INFO: Processing buffer {"connection_id":193109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:00:06] local.INFO: IMEI packet received {"connection_id":193109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":193109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:00:06] local.INFO: TCP Data received {"connection_id":193109,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:00:06] local.INFO: Processing buffer {"connection_id":193109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:00:06] local.INFO: IMEI packet received {"connection_id":193109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":193109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:00:11] local.INFO: TCP Data received {"connection_id":193109,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:00:11] local.INFO: Processing buffer {"connection_id":193109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:00:11] local.INFO: IMEI packet received {"connection_id":193109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":193109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:00:12] local.INFO: TCP Data received {"connection_id":193109,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43efd48012cec59c007180430002100bf2b..."} 
[2026-09-24 22:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43efd48012cec59c007180430002100bf2b..."} 
[2026-09-24 22:00:12] local.INFO: Processing buffer {"connection_id":193109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43efd48012cec59c007180430002100bf2b..."} 
[2026-09-24 22:00:12] local.INFO: Packet analysis {"connection_id":193109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 22:00:12] local.INFO: Extracted packet for processing {"connection_id":193109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 22:00:12] local.INFO: GPS Element Parsed {"raw_longitude":753686976,"raw_latitude":119014448,"longitude_deg":75.3686976,"latitude_deg":11.9014448,"altitude":33,"angle":191,"satellites":43,"speed":0,"hex_longitude":"2cec59c0","hex_latitude":"07180430","is_valid_coordinates":true} 
[2026-09-24 22:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308421632001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:00:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1410963659034114048,"note":"Value kept but may cause issues"} 
[2026-09-24 22:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790267293000,"timestamp_ms":1790267293000,"timestamp_seconds":1790267293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43efd48"} 
[2026-09-24 22:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:00: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-09-24 22:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-24 22:00:12] 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-09-24 22:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308421632001,"66":27691,"159":206,"2":54272,"24":0,"16":3605341577150464,"44":-1410963659034114048},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-09-24 22:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308421632001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:00:12] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-24 22:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:00:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1410963659034114048,"description":"Unknown IO ID 44"} 
[2026-09-24 22:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308421632001,"power":27691,"unknown_159":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1410963659034114048}} 
[2026-09-24 22:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":193109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892297,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:00:12] local.INFO: GPS data processed {"connection_id":193109,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:00:12] local.INFO: Acknowledgment sent {"connection_id":193109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:00:15] local.INFO: TCP Data received {"connection_id":194406,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:00:15] local.INFO: Processing buffer {"connection_id":194406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:00:15] local.INFO: IMEI packet received {"connection_id":194406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":194406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:00:20] local.INFO: TCP Data received {"connection_id":194406,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:00:20] local.INFO: Processing buffer {"connection_id":194406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:00:20] local.INFO: IMEI packet received {"connection_id":194406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":194406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:00:21] local.INFO: TCP Data received {"connection_id":194406,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:00:21] local.INFO: Processing buffer {"connection_id":194406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:00:21] local.INFO: Packet analysis {"connection_id":194406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 22:00:21] local.INFO: Extracted packet for processing {"connection_id":194406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 22:00:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308354816001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790267312000,"timestamp_ms":1790267312000,"timestamp_seconds":1790267312,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43f4780"} 
[2026-09-24 22:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308354816001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308354816001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:00:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:00:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308354816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":194406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:00:22] local.INFO: GPS data processed {"connection_id":194406,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:00:22] local.INFO: Acknowledgment sent {"connection_id":194406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:00:27] local.INFO: TCP Data received {"connection_id":194407,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:00:27] local.INFO: Processing buffer {"connection_id":194407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:00:27] local.INFO: IMEI packet received {"connection_id":194407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":194407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:00:32] local.INFO: TCP Data received {"connection_id":194407,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:00:32] local.INFO: Processing buffer {"connection_id":194407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:00:32] local.INFO: IMEI packet received {"connection_id":194407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":194407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:00:33] local.INFO: TCP Data received {"connection_id":194407,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:00:33] local.INFO: Processing buffer {"connection_id":194407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:00:33] local.INFO: Packet analysis {"connection_id":194407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 22:00:33] local.INFO: Extracted packet for processing {"connection_id":194407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 22:00:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308339200001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790267251000,"timestamp_ms":1790267251000,"timestamp_seconds":1790267251,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43e5938"} 
[2026-09-24 22:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308339200001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308339200001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:00:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:00:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308339200001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":194407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:00:33] local.INFO: GPS data processed {"connection_id":194407,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:00:33] local.INFO: Acknowledgment sent {"connection_id":194407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:00:44] local.INFO: TCP Data received {"connection_id":193109,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43f4f50012cec50c00717be10002300b72b..."} 
[2026-09-24 22:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43f4f50012cec50c00717be10002300b72b..."} 
[2026-09-24 22:00:44] local.INFO: Processing buffer {"connection_id":193109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43f4f50012cec50c00717be10002300b72b..."} 
[2026-09-24 22:00:44] local.INFO: Packet analysis {"connection_id":193109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 22:00:44] local.INFO: Extracted packet for processing {"connection_id":193109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 22:00:44] local.INFO: GPS Element Parsed {"raw_longitude":753684672,"raw_latitude":118996496,"longitude_deg":75.3684672,"latitude_deg":11.8996496,"altitude":35,"angle":183,"satellites":43,"speed":0,"hex_longitude":"2cec50c0","hex_latitude":"0717be10","is_valid_coordinates":true} 
[2026-09-24 22:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308427008001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:00:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1415889471131078656,"note":"Value kept but may cause issues"} 
[2026-09-24 22:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790267314000,"timestamp_ms":1790267314000,"timestamp_seconds":1790267314,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43f4f50"} 
[2026-09-24 22:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-24 22:00:44] 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-09-24 22:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308427008001,"66":27843,"159":206,"2":54272,"24":0,"16":3605341577150464,"44":-1415889471131078656},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-09-24 22:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308427008001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:00:44] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-24 22:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:00:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1415889471131078656,"description":"Unknown IO ID 44"} 
[2026-09-24 22:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308427008001,"power":27843,"unknown_159":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1415889471131078656}} 
[2026-09-24 22:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":193109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892300,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:00:44] local.INFO: GPS data processed {"connection_id":193109,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:00:44] local.INFO: Acknowledgment sent {"connection_id":193109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:00:52] local.INFO: TCP Data received {"connection_id":194406,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:00:52] local.INFO: Processing buffer {"connection_id":194406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:00:52] local.INFO: Packet analysis {"connection_id":194406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 22:00:52] local.INFO: Extracted packet for processing {"connection_id":194406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 22:00:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308354816001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790267312000,"timestamp_ms":1790267312000,"timestamp_seconds":1790267312,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43f4780"} 
[2026-09-24 22:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:00:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":194406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":194406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":194406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308354816001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308354816001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:00:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:00:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308354816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":194406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:00:52] local.INFO: GPS data processed {"connection_id":194406,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:00:52] local.INFO: Acknowledgment sent {"connection_id":194406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:01:05] local.INFO: TCP Data received {"connection_id":194407,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:01:05] local.INFO: Processing buffer {"connection_id":194407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:01:05] local.INFO: Packet analysis {"connection_id":194407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 22:01:05] local.INFO: Extracted packet for processing {"connection_id":194407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 22:01:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308339200001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790267251000,"timestamp_ms":1790267251000,"timestamp_seconds":1790267251,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43e5938"} 
[2026-09-24 22:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:01: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-09-24 22: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-09-24 22:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308339200001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308339200001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:01:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:01:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308339200001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":194407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:01:05] local.INFO: GPS data processed {"connection_id":194407,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:01:05] local.INFO: Acknowledgment sent {"connection_id":194407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:01:06] local.INFO: TCP Data received {"connection_id":194408,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:01:06] local.INFO: Processing buffer {"connection_id":194408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:01:06] local.INFO: IMEI packet received {"connection_id":194408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":194408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:01:11] local.INFO: TCP Data received {"connection_id":194408,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:01:11] local.INFO: Processing buffer {"connection_id":194408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:01:11] local.INFO: IMEI packet received {"connection_id":194408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":194408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:01:12] local.INFO: TCP Data received {"connection_id":194408,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43fa158012cec4d4007177550002200b829..."} 
[2026-09-24 22:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43fa158012cec4d4007177550002200b829..."} 
[2026-09-24 22:01:12] local.INFO: Processing buffer {"connection_id":194408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43fa158012cec4d4007177550002200b829..."} 
[2026-09-24 22:01:12] local.INFO: Packet analysis {"connection_id":194408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 22:01:12] local.INFO: Extracted packet for processing {"connection_id":194408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 22:01:12] local.INFO: GPS Element Parsed {"raw_longitude":753683776,"raw_latitude":118977872,"longitude_deg":75.3683776,"latitude_deg":11.8977872,"altitude":34,"angle":184,"satellites":41,"speed":0,"hex_longitude":"2cec4d40","hex_latitude":"07177550","is_valid_coordinates":true} 
[2026-09-24 22:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308432384001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:01:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1418422745926070272,"note":"Value kept but may cause issues"} 
[2026-09-24 22:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790267335000,"timestamp_ms":1790267335000,"timestamp_seconds":1790267335,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43fa158"} 
[2026-09-24 22:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:01: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-09-24 22:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-24 22:01:12] 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-09-24 22:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308432384001,"66":27832,"159":206,"2":54272,"24":0,"16":3605341577150464,"44":-1418422745926070272},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-09-24 22:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308432384001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:01:12] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-24 22:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:01:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1418422745926070272,"description":"Unknown IO ID 44"} 
[2026-09-24 22:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308432384001,"power":27832,"unknown_159":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1418422745926070272}} 
[2026-09-24 22:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":194408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892303,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:01:12] local.INFO: GPS data processed {"connection_id":194408,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:01:12] local.INFO: Acknowledgment sent {"connection_id":194408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:01:16] local.INFO: TCP Data received {"connection_id":191729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:01:16] local.INFO: Processing buffer {"connection_id":191729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:01:16] local.INFO: IMEI packet received {"connection_id":191729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":191729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:01:20] local.INFO: TCP Data received {"connection_id":191729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:01:20] local.INFO: Processing buffer {"connection_id":191729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:01:20] local.INFO: IMEI packet received {"connection_id":191729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":191729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:01:21] local.INFO: TCP Data received {"connection_id":191729,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:01:21] local.INFO: Processing buffer {"connection_id":191729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:01:21] local.INFO: Packet analysis {"connection_id":191729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 22:01:21] local.INFO: Extracted packet for processing {"connection_id":191729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 22:01:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308354816001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790267312000,"timestamp_ms":1790267312000,"timestamp_seconds":1790267312,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43f4780"} 
[2026-09-24 22:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308354816001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308354816001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:01:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:01:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308354816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":191729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:01:21] local.INFO: GPS data processed {"connection_id":191729,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:01:21] local.INFO: Acknowledgment sent {"connection_id":191729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:01:27] local.INFO: TCP Data received {"connection_id":191730,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:01:27] local.INFO: Processing buffer {"connection_id":191730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:01:27] local.INFO: IMEI packet received {"connection_id":191730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":191730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:01:32] local.INFO: TCP Data received {"connection_id":191730,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:01:32] local.INFO: Processing buffer {"connection_id":191730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:01:32] local.INFO: IMEI packet received {"connection_id":191730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":191730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:01:34] local.INFO: TCP Data received {"connection_id":191730,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:01:34] local.INFO: Processing buffer {"connection_id":191730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:01:34] local.INFO: Packet analysis {"connection_id":191730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 22:01:34] local.INFO: Extracted packet for processing {"connection_id":191730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 22:01:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308339200001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790267251000,"timestamp_ms":1790267251000,"timestamp_seconds":1790267251,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43e5938"} 
[2026-09-24 22:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:01: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-09-24 22:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308339200001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308339200001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:01:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:01:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308339200001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":191730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:01:34] local.INFO: GPS data processed {"connection_id":191730,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:01:34] local.INFO: Acknowledgment sent {"connection_id":191730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:01:44] local.INFO: TCP Data received {"connection_id":194408,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43ff360012cec468007172fb8002800b827..."} 
[2026-09-24 22:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43ff360012cec468007172fb8002800b827..."} 
[2026-09-24 22:01:44] local.INFO: Processing buffer {"connection_id":194408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43ff360012cec468007172fb8002800b827..."} 
[2026-09-24 22:01:44] local.INFO: Packet analysis {"connection_id":194408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 22:01:44] local.INFO: Extracted packet for processing {"connection_id":194408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 22:01:44] local.INFO: GPS Element Parsed {"raw_longitude":753682048,"raw_latitude":118960056,"longitude_deg":75.3682048,"latitude_deg":11.8960056,"altitude":40,"angle":184,"satellites":39,"speed":0,"hex_longitude":"2cec4680","hex_latitude":"07172fb8","is_valid_coordinates":true} 
[2026-09-24 22:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308437760001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:01:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1419407908349325312,"note":"Value kept but may cause issues"} 
[2026-09-24 22:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790267356000,"timestamp_ms":1790267356000,"timestamp_seconds":1790267356,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43ff360"} 
[2026-09-24 22:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-24 22:01:44] 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-09-24 22:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308437760001,"66":27484,"157":206,"2":54272,"24":0,"16":3605341577150464,"44":-1419407908349325312},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,2,24,16,44]} 
[2026-09-24 22:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308437760001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:01:44] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-24 22:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:01:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1419407908349325312,"description":"Unknown IO ID 44"} 
[2026-09-24 22:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308437760001,"power":27484,"unknown_157":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1419407908349325312}} 
[2026-09-24 22:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":194408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892306,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:01:44] local.INFO: GPS data processed {"connection_id":194408,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:01:44] local.INFO: Acknowledgment sent {"connection_id":194408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:01:52] local.INFO: TCP Data received {"connection_id":191729,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:01:52] local.INFO: Processing buffer {"connection_id":191729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:01:52] local.INFO: Packet analysis {"connection_id":191729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 22:01:52] local.INFO: Extracted packet for processing {"connection_id":191729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 22:01:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308354816001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790267312000,"timestamp_ms":1790267312000,"timestamp_seconds":1790267312,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43f4780"} 
[2026-09-24 22:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308354816001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308354816001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:01:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:01:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308354816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":191729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:01:52] local.INFO: GPS data processed {"connection_id":191729,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:01:52] local.INFO: Acknowledgment sent {"connection_id":191729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:02:05] local.INFO: TCP Data received {"connection_id":191730,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:02:05] local.INFO: Processing buffer {"connection_id":191730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:02:05] local.INFO: Packet analysis {"connection_id":191730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 22:02:05] local.INFO: Extracted packet for processing {"connection_id":191730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 22:02:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308339200001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790267251000,"timestamp_ms":1790267251000,"timestamp_seconds":1790267251,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43e5938"} 
[2026-09-24 22:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:02: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-09-24 22:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308339200001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308339200001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:02:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:02:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308339200001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":191730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:02:05] local.INFO: GPS data processed {"connection_id":191730,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:02:05] local.INFO: Acknowledgment sent {"connection_id":191730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:02:11] local.INFO: TCP Data received {"connection_id":194409,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:02:11] local.INFO: Processing buffer {"connection_id":194409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:02:11] local.INFO: IMEI packet received {"connection_id":194409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":194409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:02:16] local.INFO: TCP Data received {"connection_id":191731,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:02:16] local.INFO: Processing buffer {"connection_id":191731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:02:16] local.INFO: IMEI packet received {"connection_id":191731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":191731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:02:16] local.INFO: TCP Data received {"connection_id":194409,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:02:16] local.INFO: Processing buffer {"connection_id":194409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:02:16] local.INFO: IMEI packet received {"connection_id":194409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":194409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:02:17] local.INFO: TCP Data received {"connection_id":194409,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4402240012cec48c00716e710002900a42b..."} 
[2026-09-24 22:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4402240012cec48c00716e710002900a42b..."} 
[2026-09-24 22:02:17] local.INFO: Processing buffer {"connection_id":194409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4402240012cec48c00716e710002900a42b..."} 
[2026-09-24 22:02:17] local.INFO: Packet analysis {"connection_id":194409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d440"} 
[2026-09-24 22:02:17] local.INFO: Extracted packet for processing {"connection_id":194409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d440"} 
[2026-09-24 22:02:17] local.INFO: GPS Element Parsed {"raw_longitude":753682624,"raw_latitude":118941456,"longitude_deg":75.3682624,"latitude_deg":11.8941456,"altitude":41,"angle":164,"satellites":43,"speed":45,"hex_longitude":"2cec48c0","hex_latitude":"0716e710","is_valid_coordinates":true} 
[2026-09-24 22:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308443136001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:02:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1421307864446683136,"note":"Value kept but may cause issues"} 
[2026-09-24 22:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790267368000,"timestamp_ms":1790267368000,"timestamp_seconds":1790267368,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4402240"} 
[2026-09-24 22:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-24 22:02: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-09-24 22:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":194409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":194409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":194409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308443136001,"66":27767,"157":206,"2":54272,"24":45,"16":3605341577150464,"44":-1421307864446683136},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,2,24,16,44]} 
[2026-09-24 22:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308443136001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:02:17] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-24 22:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:02:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1421307864446683136,"description":"Unknown IO ID 44"} 
[2026-09-24 22:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308443136001,"power":27767,"unknown_157":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-1421307864446683136}} 
[2026-09-24 22:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":194409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892309,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:02:17] local.INFO: GPS data processed {"connection_id":194409,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:02:17] local.INFO: Acknowledgment sent {"connection_id":194409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:02:20] local.INFO: TCP Data received {"connection_id":191731,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:02:20] local.INFO: Processing buffer {"connection_id":191731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:02:20] local.INFO: IMEI packet received {"connection_id":191731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":191731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:02:21] local.INFO: TCP Data received {"connection_id":191731,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:02:21] local.INFO: Processing buffer {"connection_id":191731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:02:21] local.INFO: Packet analysis {"connection_id":191731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 22:02:21] local.INFO: Extracted packet for processing {"connection_id":191731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 22:02:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308354816001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790267312000,"timestamp_ms":1790267312000,"timestamp_seconds":1790267312,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43f4780"} 
[2026-09-24 22:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308354816001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308354816001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:02:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:02:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308354816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":191731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:02:21] local.INFO: GPS data processed {"connection_id":191731,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:02:21] local.INFO: Acknowledgment sent {"connection_id":191731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:02:32] local.INFO: TCP Data received {"connection_id":193110,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:02:32] local.INFO: Processing buffer {"connection_id":193110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:02:32] local.INFO: IMEI packet received {"connection_id":193110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":193110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:02:37] local.INFO: TCP Data received {"connection_id":193110,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:02:37] local.INFO: Processing buffer {"connection_id":193110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:02:37] local.INFO: IMEI packet received {"connection_id":193110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":193110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:02:38] local.INFO: TCP Data received {"connection_id":193110,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:02:38] local.INFO: Processing buffer {"connection_id":193110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:02:38] local.INFO: Packet analysis {"connection_id":193110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 22:02:38] local.INFO: Extracted packet for processing {"connection_id":193110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 22:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308339200001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790267251000,"timestamp_ms":1790267251000,"timestamp_seconds":1790267251,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43e5938"} 
[2026-09-24 22:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308339200001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308339200001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:02:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:02:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308339200001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":193110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:02:38] local.INFO: GPS data processed {"connection_id":193110,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:02:38] local.INFO: Acknowledgment sent {"connection_id":193110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:02:43] local.INFO: TCP Data received {"connection_id":193110,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:02:43] local.INFO: Processing buffer {"connection_id":193110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43e5938012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:02:43] local.INFO: Packet analysis {"connection_id":193110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 22:02:43] local.INFO: Extracted packet for processing {"connection_id":193110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43e"} 
[2026-09-24 22:02:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308339200001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790267251000,"timestamp_ms":1790267251000,"timestamp_seconds":1790267251,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43e5938"} 
[2026-09-24 22:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308339200001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308339200001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:02:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:02:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308339200001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":193110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:02:43] local.INFO: GPS data processed {"connection_id":193110,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:02:43] local.INFO: Acknowledgment sent {"connection_id":193110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:02:50] local.INFO: TCP Data received {"connection_id":194409,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4407448012cec62c007169c90001e009e2b..."} 
[2026-09-24 22:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4407448012cec62c007169c90001e009e2b..."} 
[2026-09-24 22:02:50] local.INFO: Processing buffer {"connection_id":194409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4407448012cec62c007169c90001e009e2b..."} 
[2026-09-24 22:02:50] local.INFO: Packet analysis {"connection_id":194409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d440"} 
[2026-09-24 22:02:50] local.INFO: Extracted packet for processing {"connection_id":194409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d440"} 
[2026-09-24 22:02:50] local.INFO: GPS Element Parsed {"raw_longitude":753689280,"raw_latitude":118922384,"longitude_deg":75.368928,"latitude_deg":11.8922384,"altitude":30,"angle":158,"satellites":43,"speed":0,"hex_longitude":"2cec62c0","hex_latitude":"07169c90","is_valid_coordinates":true} 
[2026-09-24 22:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308446208001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:02:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1420674545753845760,"note":"Value kept but may cause issues"} 
[2026-09-24 22:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790267389000,"timestamp_ms":1790267389000,"timestamp_seconds":1790267389,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4407448"} 
[2026-09-24 22:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:02:50] 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-09-24 22:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-24 22:02:50] 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-09-24 22:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":194409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":194409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":194409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308446208001,"66":27832,"34":206,"2":54272,"24":0,"16":3605341577150464,"44":-1420674545753845760},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,2,24,16,44]} 
[2026-09-24 22:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308446208001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:02:50] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-24 22:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:02:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1420674545753845760,"description":"Unknown IO ID 44"} 
[2026-09-24 22:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308446208001,"power":27832,"unknown_34":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1420674545753845760}} 
[2026-09-24 22:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":194409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892313,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:02:50] local.INFO: GPS data processed {"connection_id":194409,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:02:50] local.INFO: Acknowledgment sent {"connection_id":194409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:02:52] local.INFO: TCP Data received {"connection_id":191731,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:02:52] local.INFO: Processing buffer {"connection_id":191731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:02:52] local.INFO: Packet analysis {"connection_id":191731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 22:02:52] local.INFO: Extracted packet for processing {"connection_id":191731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 22:02:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308354816001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790267312000,"timestamp_ms":1790267312000,"timestamp_seconds":1790267312,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43f4780"} 
[2026-09-24 22:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308354816001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308354816001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:02:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:02:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308354816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":191731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:02:52] local.INFO: GPS data processed {"connection_id":191731,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:02:52] local.INFO: Acknowledgment sent {"connection_id":191731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:03:06] local.INFO: TCP Data received {"connection_id":193111,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:03:06] local.INFO: Processing buffer {"connection_id":193111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:03:06] local.INFO: IMEI packet received {"connection_id":193111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":193111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:03:11] local.INFO: TCP Data received {"connection_id":193111,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:03:11] local.INFO: Processing buffer {"connection_id":193111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:03:11] local.INFO: IMEI packet received {"connection_id":193111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":193111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:03:12] local.INFO: TCP Data received {"connection_id":193111,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d440c650012cec7f80071652a8001600a229..."} 
[2026-09-24 22:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d440c650012cec7f80071652a8001600a229..."} 
[2026-09-24 22:03:12] local.INFO: Processing buffer {"connection_id":193111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d440c650012cec7f80071652a8001600a229..."} 
[2026-09-24 22:03:12] local.INFO: Packet analysis {"connection_id":193111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d440"} 
[2026-09-24 22:03:12] local.INFO: Extracted packet for processing {"connection_id":193111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d440"} 
[2026-09-24 22:03:12] local.INFO: GPS Element Parsed {"raw_longitude":753696640,"raw_latitude":118903464,"longitude_deg":75.369664,"latitude_deg":11.8903464,"altitude":22,"angle":162,"satellites":41,"speed":0,"hex_longitude":"2cec7f80","hex_latitude":"071652a8","is_valid_coordinates":true} 
[2026-09-24 22:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308451584001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:03:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1413356196364251136,"note":"Value kept but may cause issues"} 
[2026-09-24 22:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790267410000,"timestamp_ms":1790267410000,"timestamp_seconds":1790267410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d440c650"} 
[2026-09-24 22:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-24 22:03:12] 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-09-24 22:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308451584001,"66":27843,"33":206,"2":54272,"24":0,"16":3605341577150464,"44":-1413356196364251136},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-09-24 22:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308451584001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:03:12] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-24 22:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:03:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1413356196364251136,"description":"Unknown IO ID 44"} 
[2026-09-24 22:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308451584001,"power":27843,"unknown_33":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1413356196364251136}} 
[2026-09-24 22:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":193111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892315,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:03:12] local.INFO: GPS data processed {"connection_id":193111,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:03:12] local.INFO: Acknowledgment sent {"connection_id":193111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:03:16] local.INFO: TCP Data received {"connection_id":191552,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:03:16] local.INFO: Processing buffer {"connection_id":191552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:03:16] local.INFO: IMEI packet received {"connection_id":191552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":191552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:03:20] local.INFO: TCP Data received {"connection_id":191552,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:03:20] local.INFO: Processing buffer {"connection_id":191552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:03:20] local.INFO: IMEI packet received {"connection_id":191552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":191552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:03:21] local.INFO: TCP Data received {"connection_id":191552,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:03:21] local.INFO: Processing buffer {"connection_id":191552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:03:21] local.INFO: Packet analysis {"connection_id":191552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 22:03:21] local.INFO: Extracted packet for processing {"connection_id":191552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 22:03:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308354816001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790267312000,"timestamp_ms":1790267312000,"timestamp_seconds":1790267312,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43f4780"} 
[2026-09-24 22:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308354816001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308354816001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:03:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:03:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308354816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":191552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:03:21] local.INFO: GPS data processed {"connection_id":191552,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:03:21] local.INFO: Acknowledgment sent {"connection_id":191552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:03:27] local.INFO: TCP Data received {"connection_id":191553,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:03:27] local.INFO: Processing buffer {"connection_id":191553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:03:27] local.INFO: IMEI packet received {"connection_id":191553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":191553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:03:32] local.INFO: TCP Data received {"connection_id":191553,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:03:32] local.INFO: Processing buffer {"connection_id":191553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:03:32] local.INFO: IMEI packet received {"connection_id":191553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":191553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:03:34] local.INFO: TCP Data received {"connection_id":191553,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:03:34] local.INFO: Processing buffer {"connection_id":191553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:03:34] local.INFO: Packet analysis {"connection_id":191553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d442"} 
[2026-09-24 22:03:34] local.INFO: Extracted packet for processing {"connection_id":191553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d442"} 
[2026-09-24 22:03:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308416256001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790267552000,"timestamp_ms":1790267552000,"timestamp_seconds":1790267552,"priority":1,"record_length":96,"hex_timestamp":"000001a0d442f100"} 
[2026-09-24 22:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308416256001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308416256001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:03:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:03:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308416256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":191553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:03:34] local.INFO: GPS data processed {"connection_id":191553,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:03:34] local.INFO: Acknowledgment sent {"connection_id":191553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:03:44] local.INFO: TCP Data received {"connection_id":193111,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d440f148012ceca580071613d0001a008e29..."} 
[2026-09-24 22:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d440f148012ceca580071613d0001a008e29..."} 
[2026-09-24 22:03:44] local.INFO: Processing buffer {"connection_id":193111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d440f148012ceca580071613d0001a008e29..."} 
[2026-09-24 22:03:44] local.INFO: Packet analysis {"connection_id":193111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d440"} 
[2026-09-24 22:03:44] local.INFO: Extracted packet for processing {"connection_id":193111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d440"} 
[2026-09-24 22:03:44] local.INFO: GPS Element Parsed {"raw_longitude":753706368,"raw_latitude":118887376,"longitude_deg":75.3706368,"latitude_deg":11.8887376,"altitude":26,"angle":142,"satellites":41,"speed":39,"hex_longitude":"2ceca580","hex_latitude":"071613d0","is_valid_coordinates":true} 
[2026-09-24 22:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308456960001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:03:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1405263790788663296,"note":"Value kept but may cause issues"} 
[2026-09-24 22:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790267421000,"timestamp_ms":1790267421000,"timestamp_seconds":1790267421,"priority":1,"record_length":96,"hex_timestamp":"000001a0d440f148"} 
[2026-09-24 22:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-24 22:03:44] 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-09-24 22:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308456960001,"66":27800,"33":206,"2":54272,"24":39,"16":3605341577150464,"44":-1405263790788663296},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-09-24 22:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308456960001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:03:44] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-24 22:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:03:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1405263790788663296,"description":"Unknown IO ID 44"} 
[2026-09-24 22:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308456960001,"power":27800,"unknown_33":206,"power_alt":54272,"ignition":39,"odometer":null,"unknown_44":-1405263790788663296}} 
[2026-09-24 22:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":193111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892318,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:03:44] local.INFO: GPS data processed {"connection_id":193111,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:03:44] local.INFO: Acknowledgment sent {"connection_id":193111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:03:52] local.INFO: TCP Data received {"connection_id":191552,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:03:52] local.INFO: Processing buffer {"connection_id":191552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d43f4780012d196500071fef18003b004828..."} 
[2026-09-24 22:03:52] local.INFO: Packet analysis {"connection_id":191552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 22:03:52] local.INFO: Extracted packet for processing {"connection_id":191552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d43f"} 
[2026-09-24 22:03:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308354816001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790267312000,"timestamp_ms":1790267312000,"timestamp_seconds":1790267312,"priority":1,"record_length":96,"hex_timestamp":"000001a0d43f4780"} 
[2026-09-24 22:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308354816001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308354816001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:03:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:03:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308354816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":191552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:03:52] local.INFO: GPS data processed {"connection_id":191552,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:03:52] local.INFO: Acknowledgment sent {"connection_id":191552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:04:06] local.INFO: TCP Data received {"connection_id":194410,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:04:06] local.INFO: Processing buffer {"connection_id":194410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:04:06] local.INFO: IMEI packet received {"connection_id":194410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":194410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:04:07] local.INFO: TCP Data received {"connection_id":191553,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:04:07] local.INFO: Processing buffer {"connection_id":191553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:04:07] local.INFO: Packet analysis {"connection_id":191553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d442"} 
[2026-09-24 22:04:07] local.INFO: Extracted packet for processing {"connection_id":191553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d442"} 
[2026-09-24 22:04:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308416256001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790267552000,"timestamp_ms":1790267552000,"timestamp_seconds":1790267552,"priority":1,"record_length":96,"hex_timestamp":"000001a0d442f100"} 
[2026-09-24 22:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:04: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-09-24 22:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308416256001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308416256001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:04:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:04:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308416256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":191553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:04:07] local.INFO: GPS data processed {"connection_id":191553,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:04:07] local.INFO: Acknowledgment sent {"connection_id":191553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:04:08] local.INFO: TCP Data received {"connection_id":194410,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:04:08] local.INFO: Processing buffer {"connection_id":194410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:04:08] local.INFO: IMEI packet received {"connection_id":194410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":194410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:04:11] local.INFO: TCP Data received {"connection_id":194410,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:04:11] local.INFO: Processing buffer {"connection_id":194410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:04:11] local.INFO: IMEI packet received {"connection_id":194410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":194410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:04:12] local.INFO: TCP Data received {"connection_id":194410,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4413798012cecc9000715df10001a009a23..."} 
[2026-09-24 22:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4413798012cecc9000715df10001a009a23..."} 
[2026-09-24 22:04:12] local.INFO: Processing buffer {"connection_id":194410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4413798012cecc9000715df10001a009a23..."} 
[2026-09-24 22:04:12] local.INFO: Packet analysis {"connection_id":194410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d441"} 
[2026-09-24 22:04:12] local.INFO: Extracted packet for processing {"connection_id":194410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d441"} 
[2026-09-24 22:04:12] local.INFO: GPS Element Parsed {"raw_longitude":753715456,"raw_latitude":118873872,"longitude_deg":75.3715456,"latitude_deg":11.8873872,"altitude":26,"angle":154,"satellites":35,"speed":25,"hex_longitude":"2cecc900","hex_latitude":"0715df10","is_valid_coordinates":true} 
[2026-09-24 22:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308459776001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:04:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1394567741677776896,"note":"Value kept but may cause issues"} 
[2026-09-24 22:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790267439000,"timestamp_ms":1790267439000,"timestamp_seconds":1790267439,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4413798"} 
[2026-09-24 22:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-24 22:04:12] 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-09-24 22:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308459776001,"66":27984,"33":206,"2":54272,"24":25,"16":3605341577150464,"44":-1394567741677776896},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-09-24 22:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308459776001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:04:12] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-24 22:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:04:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1394567741677776896,"description":"Unknown IO ID 44"} 
[2026-09-24 22:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308459776001,"power":27984,"unknown_33":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-1394567741677776896}} 
[2026-09-24 22:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":194410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892321,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:04:12] local.INFO: GPS data processed {"connection_id":194410,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:04:12] local.INFO: Acknowledgment sent {"connection_id":194410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:04:16] local.INFO: TCP Data received {"connection_id":191732,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:04:16] local.INFO: Processing buffer {"connection_id":191732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:04:16] local.INFO: IMEI packet received {"connection_id":191732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":191732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:04:20] local.INFO: TCP Data received {"connection_id":191732,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:04:20] local.INFO: Processing buffer {"connection_id":191732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:04:20] local.INFO: IMEI packet received {"connection_id":191732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":191732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:04:21] local.INFO: TCP Data received {"connection_id":191732,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:04:21] local.INFO: Processing buffer {"connection_id":191732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:04:21] local.INFO: Packet analysis {"connection_id":191732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:04:21] local.INFO: Extracted packet for processing {"connection_id":191732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:04:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308431872001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790267613000,"timestamp_ms":1790267613000,"timestamp_seconds":1790267613,"priority":1,"record_length":96,"hex_timestamp":"000001a0d443df48"} 
[2026-09-24 22:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308431872001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308431872001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:04:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:04:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308431872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":191732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:04:21] local.INFO: GPS data processed {"connection_id":191732,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:04:21] local.INFO: Acknowledgment sent {"connection_id":191732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:04:27] local.INFO: TCP Data received {"connection_id":191554,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:04:27] local.INFO: Processing buffer {"connection_id":191554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:04:27] local.INFO: IMEI packet received {"connection_id":191554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":191554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:04:32] local.INFO: TCP Data received {"connection_id":191554,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:04:32] local.INFO: Processing buffer {"connection_id":191554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:04:32] local.INFO: IMEI packet received {"connection_id":191554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":191554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:04:33] local.INFO: TCP Data received {"connection_id":191554,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:04:33] local.INFO: Processing buffer {"connection_id":191554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:04:33] local.INFO: Packet analysis {"connection_id":191554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d442"} 
[2026-09-24 22:04:33] local.INFO: Extracted packet for processing {"connection_id":191554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d442"} 
[2026-09-24 22:04:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308416256001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790267552000,"timestamp_ms":1790267552000,"timestamp_seconds":1790267552,"priority":1,"record_length":96,"hex_timestamp":"000001a0d442f100"} 
[2026-09-24 22:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308416256001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308416256001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:04:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:04:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308416256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":191554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:04:33] local.INFO: GPS data processed {"connection_id":191554,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:04:33] local.INFO: Acknowledgment sent {"connection_id":191554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:04:48] local.INFO: TCP Data received {"connection_id":194410,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d443d390012ced234007143f80001b00cb28..."} 
[2026-09-24 22:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d443d390012ced234007143f80001b00cb28..."} 
[2026-09-24 22:04:48] local.INFO: Processing buffer {"connection_id":194410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d443d390012ced234007143f80001b00cb28..."} 
[2026-09-24 22:04:48] local.INFO: Packet analysis {"connection_id":194410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:04:48] local.INFO: Extracted packet for processing {"connection_id":194410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:04:48] local.INFO: GPS Element Parsed {"raw_longitude":753738560,"raw_latitude":118767488,"longitude_deg":75.373856,"latitude_deg":11.8767488,"altitude":27,"angle":203,"satellites":40,"speed":0,"hex_longitude":"2ced2340","hex_latitude":"07143f80","is_valid_coordinates":true} 
[2026-09-24 22:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308502784001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:04:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1359172263387103232,"note":"Value kept but may cause issues"} 
[2026-09-24 22:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790267610000,"timestamp_ms":1790267610000,"timestamp_seconds":1790267610,"priority":1,"record_length":96,"hex_timestamp":"000001a0d443d390"} 
[2026-09-24 22:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 22:04:48] 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-09-24 22:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":194410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":194410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":194410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308502784001,"66":27843,"144":206,"2":54272,"24":0,"16":3605341577150464,"44":-1359172263387103232},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-09-24 22:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308502784001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:04:48] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-24 22:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:04:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1359172263387103232,"description":"Unknown IO ID 44"} 
[2026-09-24 22:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308502784001,"power":27843,"unknown_144":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1359172263387103232}} 
[2026-09-24 22:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":194410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892324,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:04:48] local.INFO: GPS data processed {"connection_id":194410,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:04:48] local.INFO: Acknowledgment sent {"connection_id":194410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:04:52] local.INFO: TCP Data received {"connection_id":191732,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:04:52] local.INFO: Processing buffer {"connection_id":191732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:04:52] local.INFO: Packet analysis {"connection_id":191732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:04:52] local.INFO: Extracted packet for processing {"connection_id":191732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:04:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308431872001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790267613000,"timestamp_ms":1790267613000,"timestamp_seconds":1790267613,"priority":1,"record_length":96,"hex_timestamp":"000001a0d443df48"} 
[2026-09-24 22:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308431872001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308431872001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:04:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:04:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308431872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":191732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:04:52] local.INFO: GPS data processed {"connection_id":191732,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:04:52] local.INFO: Acknowledgment sent {"connection_id":191732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:05:05] local.INFO: TCP Data received {"connection_id":191554,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:05:05] local.INFO: Processing buffer {"connection_id":191554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:05:05] local.INFO: Packet analysis {"connection_id":191554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d442"} 
[2026-09-24 22:05:05] local.INFO: Extracted packet for processing {"connection_id":191554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d442"} 
[2026-09-24 22:05:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308416256001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790267552000,"timestamp_ms":1790267552000,"timestamp_seconds":1790267552,"priority":1,"record_length":96,"hex_timestamp":"000001a0d442f100"} 
[2026-09-24 22:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308416256001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308416256001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:05:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:05:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308416256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":191554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:05:05] local.INFO: GPS data processed {"connection_id":191554,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:05:05] local.INFO: Acknowledgment sent {"connection_id":191554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:05:06] local.INFO: TCP Data received {"connection_id":191555,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:05:06] local.INFO: Processing buffer {"connection_id":191555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:05:06] local.INFO: IMEI packet received {"connection_id":191555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":191555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:05:11] local.INFO: TCP Data received {"connection_id":191555,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:05:11] local.INFO: Processing buffer {"connection_id":191555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:05:11] local.INFO: IMEI packet received {"connection_id":191555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":191555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:05:12] local.INFO: TCP Data received {"connection_id":191555,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4440270012ced2040071419a0001a00a32d..."} 
[2026-09-24 22:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4440270012ced2040071419a0001a00a32d..."} 
[2026-09-24 22:05:12] local.INFO: Processing buffer {"connection_id":191555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4440270012ced2040071419a0001a00a32d..."} 
[2026-09-24 22:05:12] local.INFO: Packet analysis {"connection_id":191555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d444"} 
[2026-09-24 22:05:12] local.INFO: Extracted packet for processing {"connection_id":191555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d444"} 
[2026-09-24 22:05:12] local.INFO: GPS Element Parsed {"raw_longitude":753737792,"raw_latitude":118757792,"longitude_deg":75.3737792,"latitude_deg":11.8757792,"altitude":26,"angle":163,"satellites":45,"speed":9,"hex_longitude":"2ced2040","hex_latitude":"071419a0","is_valid_coordinates":true} 
[2026-09-24 22:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308508160001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:05:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1359172263387103232,"note":"Value kept but may cause issues"} 
[2026-09-24 22:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790267622000,"timestamp_ms":1790267622000,"timestamp_seconds":1790267622,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4440270"} 
[2026-09-24 22:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:05: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-09-24 22:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-24 22:05:12] 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-09-24 22:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308508160001,"66":27930,"144":206,"2":54272,"24":9,"16":3605341577150464,"44":-1359172263387103232},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-09-24 22:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308508160001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:05:12] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-24 22:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:05:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1359172263387103232,"description":"Unknown IO ID 44"} 
[2026-09-24 22:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308508160001,"power":27930,"unknown_144":206,"power_alt":54272,"ignition":9,"odometer":null,"unknown_44":-1359172263387103232}} 
[2026-09-24 22:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":191555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892327,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:05:12] local.INFO: GPS data processed {"connection_id":191555,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:05:12] local.INFO: Acknowledgment sent {"connection_id":191555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:05:15] local.INFO: TCP Data received {"connection_id":194411,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:05:15] local.INFO: Processing buffer {"connection_id":194411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:05:15] local.INFO: IMEI packet received {"connection_id":194411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":194411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:05:20] local.INFO: TCP Data received {"connection_id":194411,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:05:20] local.INFO: Processing buffer {"connection_id":194411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:05:20] local.INFO: IMEI packet received {"connection_id":194411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":194411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:05:21] local.INFO: TCP Data received {"connection_id":194411,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:05:21] local.INFO: Processing buffer {"connection_id":194411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:05:21] local.INFO: Packet analysis {"connection_id":194411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:05:21] local.INFO: Extracted packet for processing {"connection_id":194411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:05:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308431872001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790267613000,"timestamp_ms":1790267613000,"timestamp_seconds":1790267613,"priority":1,"record_length":96,"hex_timestamp":"000001a0d443df48"} 
[2026-09-24 22:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308431872001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308431872001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:05:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:05:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308431872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":194411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:05:21] local.INFO: GPS data processed {"connection_id":194411,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:05:21] local.INFO: Acknowledgment sent {"connection_id":194411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:05:27] local.INFO: TCP Data received {"connection_id":194412,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:05:27] local.INFO: Processing buffer {"connection_id":194412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:05:27] local.INFO: IMEI packet received {"connection_id":194412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":194412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:05:32] local.INFO: TCP Data received {"connection_id":194412,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:05:32] local.INFO: Processing buffer {"connection_id":194412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:05:32] local.INFO: IMEI packet received {"connection_id":194412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":194412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:05:33] local.INFO: TCP Data received {"connection_id":194412,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:05:33] local.INFO: Processing buffer {"connection_id":194412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:05:33] local.INFO: Packet analysis {"connection_id":194412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d442"} 
[2026-09-24 22:05:33] local.INFO: Extracted packet for processing {"connection_id":194412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d442"} 
[2026-09-24 22:05:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308416256001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790267552000,"timestamp_ms":1790267552000,"timestamp_seconds":1790267552,"priority":1,"record_length":96,"hex_timestamp":"000001a0d442f100"} 
[2026-09-24 22:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308416256001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308416256001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:05:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:05:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308416256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":194412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:05:33] local.INFO: GPS data processed {"connection_id":194412,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:05:33] local.INFO: Acknowledgment sent {"connection_id":194412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:05:44] local.INFO: TCP Data received {"connection_id":191555,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4445478012ced2040071419a0001a00a32d..."} 
[2026-09-24 22:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4445478012ced2040071419a0001a00a32d..."} 
[2026-09-24 22:05:44] local.INFO: Processing buffer {"connection_id":191555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4445478012ced2040071419a0001a00a32d..."} 
[2026-09-24 22:05:44] local.INFO: Packet analysis {"connection_id":191555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d444"} 
[2026-09-24 22:05:44] local.INFO: Extracted packet for processing {"connection_id":191555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d444"} 
[2026-09-24 22:05:44] local.INFO: GPS Element Parsed {"raw_longitude":753737792,"raw_latitude":118757792,"longitude_deg":75.3737792,"latitude_deg":11.8757792,"altitude":26,"angle":163,"satellites":45,"speed":0,"hex_longitude":"2ced2040","hex_latitude":"071419a0","is_valid_coordinates":true} 
[2026-09-24 22:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308511232001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:05:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1360016688319717376,"note":"Value kept but may cause issues"} 
[2026-09-24 22:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790267643000,"timestamp_ms":1790267643000,"timestamp_seconds":1790267643,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4445478"} 
[2026-09-24 22:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-24 22:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308511232001,"66":27930,"144":206,"2":54272,"24":0,"16":3605341577150464,"44":-1360016688319717376},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-09-24 22:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308511232001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:05:44] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-24 22:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:05:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1360016688319717376,"description":"Unknown IO ID 44"} 
[2026-09-24 22:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308511232001,"power":27930,"unknown_144":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1360016688319717376}} 
[2026-09-24 22:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":191555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892330,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:05:44] local.INFO: GPS data processed {"connection_id":191555,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:05:44] local.INFO: Acknowledgment sent {"connection_id":191555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:05:52] local.INFO: TCP Data received {"connection_id":194411,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:05:52] local.INFO: Processing buffer {"connection_id":194411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:05:52] local.INFO: Packet analysis {"connection_id":194411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:05:52] local.INFO: Extracted packet for processing {"connection_id":194411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:05:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308431872001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790267613000,"timestamp_ms":1790267613000,"timestamp_seconds":1790267613,"priority":1,"record_length":96,"hex_timestamp":"000001a0d443df48"} 
[2026-09-24 22:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":194411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":194411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":194411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308431872001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308431872001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:05:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:05:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308431872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":194411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:05:52] local.INFO: GPS data processed {"connection_id":194411,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:05:52] local.INFO: Acknowledgment sent {"connection_id":194411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:06:04] local.INFO: TCP Data received {"connection_id":194412,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:06:04] local.INFO: Processing buffer {"connection_id":194412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:06:04] local.INFO: Packet analysis {"connection_id":194412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d442"} 
[2026-09-24 22:06:04] local.INFO: Extracted packet for processing {"connection_id":194412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d442"} 
[2026-09-24 22:06:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308416256001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790267552000,"timestamp_ms":1790267552000,"timestamp_seconds":1790267552,"priority":1,"record_length":96,"hex_timestamp":"000001a0d442f100"} 
[2026-09-24 22:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22: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-09-24 22:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308416256001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308416256001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:06:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:06:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308416256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":194412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:06:04] local.INFO: GPS data processed {"connection_id":194412,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:06:04] local.INFO: Acknowledgment sent {"connection_id":194412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:06:06] local.INFO: TCP Data received {"connection_id":191733,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:06:06] local.INFO: Processing buffer {"connection_id":191733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:06:06] local.INFO: IMEI packet received {"connection_id":191733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":191733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:06:14] local.INFO: TCP Data received {"connection_id":191733,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:06:14] local.INFO: Processing buffer {"connection_id":191733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:06:14] local.INFO: IMEI packet received {"connection_id":191733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":191733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:06:16] local.INFO: TCP Data received {"connection_id":191733,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44537080100000000000000000000000000..."} 
[2026-09-24 22:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44537080100000000000000000000000000..."} 
[2026-09-24 22:06:16] local.INFO: Processing buffer {"connection_id":191733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44537080100000000000000000000000000..."} 
[2026-09-24 22:06:16] local.INFO: Packet analysis {"connection_id":191733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d445"} 
[2026-09-24 22:06:16] local.INFO: Extracted packet for processing {"connection_id":191733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d445"} 
[2026-09-24 22:06:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 22:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308516608001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:06:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1360016688319717376,"note":"Value kept but may cause issues"} 
[2026-09-24 22:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790267701000,"timestamp_ms":1790267701000,"timestamp_seconds":1790267701,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4453708"} 
[2026-09-24 22:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-24 22:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":191733,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 22:06:16] local.INFO: GPS data processed {"connection_id":191733,"processed":0,"errors":0,"total":1} 
[2026-09-24 22:06:16] local.INFO: Acknowledgment sent {"connection_id":191733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:06:20] local.INFO: TCP Data received {"connection_id":191734,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:06:20] local.INFO: Processing buffer {"connection_id":191734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:06:20] local.INFO: IMEI packet received {"connection_id":191734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":191734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:06:25] local.INFO: TCP Data received {"connection_id":191734,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:06:25] local.INFO: Processing buffer {"connection_id":191734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:06:25] local.INFO: IMEI packet received {"connection_id":191734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":191734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:06:26] local.INFO: TCP Data received {"connection_id":191734,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:06:26] local.INFO: Processing buffer {"connection_id":191734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:06:26] local.INFO: Packet analysis {"connection_id":191734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:06:26] local.INFO: Extracted packet for processing {"connection_id":191734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:06:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308431872001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790267613000,"timestamp_ms":1790267613000,"timestamp_seconds":1790267613,"priority":1,"record_length":96,"hex_timestamp":"000001a0d443df48"} 
[2026-09-24 22:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308431872001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308431872001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:06:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:06:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308431872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":191734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:06:26] local.INFO: GPS data processed {"connection_id":191734,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:06:26] local.INFO: Acknowledgment sent {"connection_id":191734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:06:27] local.INFO: TCP Data received {"connection_id":194413,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:06:27] local.INFO: Processing buffer {"connection_id":194413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:06:27] local.INFO: IMEI packet received {"connection_id":194413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":194413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:06:31] local.INFO: TCP Data received {"connection_id":191734,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:06:31] local.INFO: Processing buffer {"connection_id":191734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:06:31] local.INFO: Packet analysis {"connection_id":191734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:06:31] local.INFO: Extracted packet for processing {"connection_id":191734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:06:31] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308431872001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790267613000,"timestamp_ms":1790267613000,"timestamp_seconds":1790267613,"priority":1,"record_length":96,"hex_timestamp":"000001a0d443df48"} 
[2026-09-24 22:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":191734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":191734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":191734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308431872001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308431872001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:06:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:06:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308431872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":191734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:06:31] local.INFO: GPS data processed {"connection_id":191734,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:06:31] local.INFO: Acknowledgment sent {"connection_id":191734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:06:32] local.INFO: TCP Data received {"connection_id":194413,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:06:32] local.INFO: Processing buffer {"connection_id":194413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:06:32] local.INFO: IMEI packet received {"connection_id":194413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":194413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:06:33] local.INFO: TCP Data received {"connection_id":194413,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:06:33] local.INFO: Processing buffer {"connection_id":194413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:06:33] local.INFO: Packet analysis {"connection_id":194413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d442"} 
[2026-09-24 22:06:33] local.INFO: Extracted packet for processing {"connection_id":194413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d442"} 
[2026-09-24 22:06:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308416256001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790267552000,"timestamp_ms":1790267552000,"timestamp_seconds":1790267552,"priority":1,"record_length":96,"hex_timestamp":"000001a0d442f100"} 
[2026-09-24 22:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308416256001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308416256001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:06:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:06:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308416256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":194413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:06:33] local.INFO: GPS data processed {"connection_id":194413,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:06:33] local.INFO: Acknowledgment sent {"connection_id":194413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:06:47] local.INFO: TCP Data received {"connection_id":191733,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d444aa68012ced3dc00713f750001a006e2d..."} 
[2026-09-24 22:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d444aa68012ced3dc00713f750001a006e2d..."} 
[2026-09-24 22:06:47] local.INFO: Processing buffer {"connection_id":191733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d444aa68012ced3dc00713f750001a006e2d..."} 
[2026-09-24 22:06:47] local.INFO: Packet analysis {"connection_id":191733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d444"} 
[2026-09-24 22:06:47] local.INFO: Extracted packet for processing {"connection_id":191733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d444"} 
[2026-09-24 22:06:47] local.INFO: GPS Element Parsed {"raw_longitude":753745344,"raw_latitude":118749008,"longitude_deg":75.3745344,"latitude_deg":11.8749008,"altitude":26,"angle":110,"satellites":45,"speed":8,"hex_longitude":"2ced3dc0","hex_latitude":"0713f750","is_valid_coordinates":true} 
[2026-09-24 22:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:06:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,144,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 22:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790267665000,"timestamp_ms":1790267665000,"timestamp_seconds":1790267665,"priority":1,"record_length":96,"hex_timestamp":"000001a0d444aa68"} 
[2026-09-24 22:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-24 22:06: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-09-24 22:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27930,"144":206,"2":54272,"24":8,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16]} 
[2026-09-24 22:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 22:06:47] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-24 22:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:06:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27930,"unknown_144":206,"power_alt":54272,"ignition":8,"odometer":null}} 
[2026-09-24 22:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":191733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892336,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:06:47] local.INFO: GPS data processed {"connection_id":191733,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:06:47] local.INFO: Acknowledgment sent {"connection_id":191733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:07:05] local.INFO: TCP Data received {"connection_id":194413,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:07:05] local.INFO: Processing buffer {"connection_id":194413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:07:05] local.INFO: Packet analysis {"connection_id":194413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d442"} 
[2026-09-24 22:07:05] local.INFO: Extracted packet for processing {"connection_id":194413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d442"} 
[2026-09-24 22:07:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308416256001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790267552000,"timestamp_ms":1790267552000,"timestamp_seconds":1790267552,"priority":1,"record_length":96,"hex_timestamp":"000001a0d442f100"} 
[2026-09-24 22:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308416256001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308416256001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:07:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:07:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308416256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":194413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:07:05] local.INFO: GPS data processed {"connection_id":194413,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:07:05] local.INFO: Acknowledgment sent {"connection_id":194413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:07:11] local.INFO: TCP Data received {"connection_id":193112,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:07:11] local.INFO: Processing buffer {"connection_id":193112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:07:11] local.INFO: IMEI packet received {"connection_id":193112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":193112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:07:16] local.INFO: TCP Data received {"connection_id":193113,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:07:16] local.INFO: Processing buffer {"connection_id":193113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:07:16] local.INFO: IMEI packet received {"connection_id":193113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":193113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:07:16] local.INFO: TCP Data received {"connection_id":193112,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:07:16] local.INFO: Processing buffer {"connection_id":193112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:07:16] local.INFO: IMEI packet received {"connection_id":193112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":193112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:07:17] local.INFO: TCP Data received {"connection_id":193112,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d444fc70012ced3dc00713f750001a006e2d..."} 
[2026-09-24 22:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d444fc70012ced3dc00713f750001a006e2d..."} 
[2026-09-24 22:07:17] local.INFO: Processing buffer {"connection_id":193112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d444fc70012ced3dc00713f750001a006e2d..."} 
[2026-09-24 22:07:17] local.INFO: Packet analysis {"connection_id":193112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d444"} 
[2026-09-24 22:07:17] local.INFO: Extracted packet for processing {"connection_id":193112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d444"} 
[2026-09-24 22:07:17] local.INFO: GPS Element Parsed {"raw_longitude":753745344,"raw_latitude":118749008,"longitude_deg":75.3745344,"latitude_deg":11.8749008,"altitude":26,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2ced3dc0","hex_latitude":"0713f750","is_valid_coordinates":true} 
[2026-09-24 22:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308522240001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:07:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1351713176509001728,"note":"Value kept but may cause issues"} 
[2026-09-24 22:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790267686000,"timestamp_ms":1790267686000,"timestamp_seconds":1790267686,"priority":1,"record_length":96,"hex_timestamp":"000001a0d444fc70"} 
[2026-09-24 22:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-24 22:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":193112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":193112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":193112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308522240001,"66":28028,"142":206,"2":54272,"24":0,"16":3605341577150464,"44":-1351713176509001728},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-09-24 22:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308522240001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:07:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-24 22:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:07:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1351713176509001728,"description":"Unknown IO ID 44"} 
[2026-09-24 22:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308522240001,"power":28028,"unknown_142":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1351713176509001728}} 
[2026-09-24 22:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":193112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892338,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:07:18] local.INFO: GPS data processed {"connection_id":193112,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:07:18] local.INFO: Acknowledgment sent {"connection_id":193112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:07:20] local.INFO: TCP Data received {"connection_id":193113,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:07:20] local.INFO: Processing buffer {"connection_id":193113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:07:20] local.INFO: IMEI packet received {"connection_id":193113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":193113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:07:21] local.INFO: TCP Data received {"connection_id":193112,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4452768012ced78400713e8980021005c2b..."} 
[2026-09-24 22:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4452768012ced78400713e8980021005c2b..."} 
[2026-09-24 22:07:21] local.INFO: Processing buffer {"connection_id":193112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4452768012ced78400713e8980021005c2b..."} 
[2026-09-24 22:07:21] local.INFO: Packet analysis {"connection_id":193112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d445"} 
[2026-09-24 22:07:21] local.INFO: Extracted packet for processing {"connection_id":193112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d445"} 
[2026-09-24 22:07:21] local.INFO: GPS Element Parsed {"raw_longitude":753760320,"raw_latitude":118745240,"longitude_deg":75.376032,"latitude_deg":11.874524,"altitude":33,"angle":92,"satellites":43,"speed":26,"hex_longitude":"2ced7840","hex_latitude":"0713e898","is_valid_coordinates":true} 
[2026-09-24 22:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308527616001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:07:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1351713176509001728,"note":"Value kept but may cause issues"} 
[2026-09-24 22:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790267697000,"timestamp_ms":1790267697000,"timestamp_seconds":1790267697,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4452768"} 
[2026-09-24 22:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-24 22:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308527616001,"66":27821,"142":206,"2":54272,"24":26,"16":3605341577150464,"44":-1351713176509001728},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-09-24 22:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308527616001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:07:21] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-24 22:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:07:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1351713176509001728,"description":"Unknown IO ID 44"} 
[2026-09-24 22:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308527616001,"power":27821,"unknown_142":206,"power_alt":54272,"ignition":26,"odometer":null,"unknown_44":-1351713176509001728}} 
[2026-09-24 22:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":193112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892339,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:07:21] local.INFO: GPS data processed {"connection_id":193112,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:07:21] local.INFO: Acknowledgment sent {"connection_id":193112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:07:21] local.INFO: TCP Data received {"connection_id":193113,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:07:21] local.INFO: Processing buffer {"connection_id":193113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:07:21] local.INFO: Packet analysis {"connection_id":193113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:07:21] local.INFO: Extracted packet for processing {"connection_id":193113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:07:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308431872001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790267613000,"timestamp_ms":1790267613000,"timestamp_seconds":1790267613,"priority":1,"record_length":96,"hex_timestamp":"000001a0d443df48"} 
[2026-09-24 22:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308431872001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308431872001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:07:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:07:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308431872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":193113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:07:21] local.INFO: GPS data processed {"connection_id":193113,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:07:21] local.INFO: Acknowledgment sent {"connection_id":193113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:07:26] local.INFO: TCP Data received {"connection_id":193113,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:07:26] local.INFO: Processing buffer {"connection_id":193113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:07:26] local.INFO: Packet analysis {"connection_id":193113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:07:26] local.INFO: Extracted packet for processing {"connection_id":193113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:07:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308431872001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790267613000,"timestamp_ms":1790267613000,"timestamp_seconds":1790267613,"priority":1,"record_length":96,"hex_timestamp":"000001a0d443df48"} 
[2026-09-24 22:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":193113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":193113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":193113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308431872001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308431872001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:07:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:07:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308431872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":193113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:07:26] local.INFO: GPS data processed {"connection_id":193113,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:07:26] local.INFO: Acknowledgment sent {"connection_id":193113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:07:27] local.INFO: TCP Data received {"connection_id":191556,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:07:27] local.INFO: Processing buffer {"connection_id":191556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:07:27] local.INFO: IMEI packet received {"connection_id":191556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":191556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:07:32] local.INFO: TCP Data received {"connection_id":191556,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:07:32] local.INFO: Processing buffer {"connection_id":191556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:07:32] local.INFO: IMEI packet received {"connection_id":191556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":191556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:07:33] local.INFO: TCP Data received {"connection_id":191556,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:07:33] local.INFO: Processing buffer {"connection_id":191556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:07:33] local.INFO: Packet analysis {"connection_id":191556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d442"} 
[2026-09-24 22:07:33] local.INFO: Extracted packet for processing {"connection_id":191556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d442"} 
[2026-09-24 22:07:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308416256001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790267552000,"timestamp_ms":1790267552000,"timestamp_seconds":1790267552,"priority":1,"record_length":96,"hex_timestamp":"000001a0d442f100"} 
[2026-09-24 22:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308416256001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308416256001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:07:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:07:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308416256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":191556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:07:33] local.INFO: GPS data processed {"connection_id":191556,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:07:33] local.INFO: Acknowledgment sent {"connection_id":191556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:07:57] local.INFO: TCP Data received {"connection_id":193113,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:07:57] local.INFO: Processing buffer {"connection_id":193113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:07:57] local.INFO: Packet analysis {"connection_id":193113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:07:57] local.INFO: Extracted packet for processing {"connection_id":193113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:07:57] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308431872001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790267613000,"timestamp_ms":1790267613000,"timestamp_seconds":1790267613,"priority":1,"record_length":96,"hex_timestamp":"000001a0d443df48"} 
[2026-09-24 22:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":193113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":193113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":193113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308431872001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308431872001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:07:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:07:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308431872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":193113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:07:57] local.INFO: GPS data processed {"connection_id":193113,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:07:57] local.INFO: Acknowledgment sent {"connection_id":193113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:08:05] local.INFO: TCP Data received {"connection_id":191556,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:08:05] local.INFO: Processing buffer {"connection_id":191556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d442f100012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:08:05] local.INFO: Packet analysis {"connection_id":191556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d442"} 
[2026-09-24 22:08:05] local.INFO: Extracted packet for processing {"connection_id":191556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d442"} 
[2026-09-24 22:08:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308416256001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790267552000,"timestamp_ms":1790267552000,"timestamp_seconds":1790267552,"priority":1,"record_length":96,"hex_timestamp":"000001a0d442f100"} 
[2026-09-24 22:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308416256001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308416256001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:08:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:08:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308416256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":191556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:08:05] local.INFO: GPS data processed {"connection_id":191556,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:08:05] local.INFO: Acknowledgment sent {"connection_id":191556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:08:06] local.INFO: TCP Data received {"connection_id":194414,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:08:06] local.INFO: Processing buffer {"connection_id":194414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:08:06] local.INFO: IMEI packet received {"connection_id":194414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":194414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:08:11] local.INFO: TCP Data received {"connection_id":194414,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:08:11] local.INFO: Processing buffer {"connection_id":194414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:08:11] local.INFO: IMEI packet received {"connection_id":194414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":194414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:08:12] local.INFO: TCP Data received {"connection_id":194414,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44609f80100000000000000000000000000..."} 
[2026-09-24 22:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44609f80100000000000000000000000000..."} 
[2026-09-24 22:08:12] local.INFO: Processing buffer {"connection_id":194414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44609f80100000000000000000000000000..."} 
[2026-09-24 22:08:12] local.INFO: Packet analysis {"connection_id":194414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d446"} 
[2026-09-24 22:08:12] local.INFO: Extracted packet for processing {"connection_id":194414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d446"} 
[2026-09-24 22:08:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 22:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308530432001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:08:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1335246890372392960,"note":"Value kept but may cause issues"} 
[2026-09-24 22:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790267755000,"timestamp_ms":1790267755000,"timestamp_seconds":1790267755,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44609f8"} 
[2026-09-24 22:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 22:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":194414,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 22:08:12] local.INFO: GPS data processed {"connection_id":194414,"processed":0,"errors":0,"total":1} 
[2026-09-24 22:08:12] local.INFO: Acknowledgment sent {"connection_id":194414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:08:16] local.INFO: TCP Data received {"connection_id":194415,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:08:16] local.INFO: Processing buffer {"connection_id":194415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:08:16] local.INFO: IMEI packet received {"connection_id":194415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":194415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:08:20] local.INFO: TCP Data received {"connection_id":194415,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:08:20] local.INFO: Processing buffer {"connection_id":194415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:08:20] local.INFO: IMEI packet received {"connection_id":194415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":194415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:08:21] local.INFO: TCP Data received {"connection_id":194415,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:08:21] local.INFO: Processing buffer {"connection_id":194415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:08:21] local.INFO: Packet analysis {"connection_id":194415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:08:21] local.INFO: Extracted packet for processing {"connection_id":194415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:08:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308431872001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790267613000,"timestamp_ms":1790267613000,"timestamp_seconds":1790267613,"priority":1,"record_length":96,"hex_timestamp":"000001a0d443df48"} 
[2026-09-24 22:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308431872001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308431872001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:08:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:08:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308431872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":194415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:08:21] local.INFO: GPS data processed {"connection_id":194415,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:08:21] local.INFO: Acknowledgment sent {"connection_id":194415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:08:33] local.INFO: TCP Data received {"connection_id":191735,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:08:33] local.INFO: Processing buffer {"connection_id":191735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:08:33] local.INFO: IMEI packet received {"connection_id":191735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":191735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:08:37] local.INFO: TCP Data received {"connection_id":191735,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:08:37] local.INFO: Processing buffer {"connection_id":191735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:08:37] local.INFO: IMEI packet received {"connection_id":191735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":191735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:08:38] local.INFO: TCP Data received {"connection_id":191735,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:08:38] local.INFO: Processing buffer {"connection_id":191735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:08:38] local.INFO: Packet analysis {"connection_id":191735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:08:38] local.INFO: Extracted packet for processing {"connection_id":191735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308493312001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790267853000,"timestamp_ms":1790267853000,"timestamp_seconds":1790267853,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44788c8"} 
[2026-09-24 22:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308493312001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308493312001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:08:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:08:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308493312001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":191735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:08:38] local.INFO: GPS data processed {"connection_id":191735,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:08:38] local.INFO: Acknowledgment sent {"connection_id":191735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:08:44] local.INFO: TCP Data received {"connection_id":194414,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4458140012cedb3c00713e7580023005b2c..."} 
[2026-09-24 22:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4458140012cedb3c00713e7580023005b2c..."} 
[2026-09-24 22:08:44] local.INFO: Processing buffer {"connection_id":194414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4458140012cedb3c00713e7580023005b2c..."} 
[2026-09-24 22:08:44] local.INFO: Packet analysis {"connection_id":194414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d445"} 
[2026-09-24 22:08:44] local.INFO: Extracted packet for processing {"connection_id":194414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d445"} 
[2026-09-24 22:08:44] local.INFO: GPS Element Parsed {"raw_longitude":753775552,"raw_latitude":118744920,"longitude_deg":75.3775552,"latitude_deg":11.874492,"altitude":35,"angle":91,"satellites":44,"speed":29,"hex_longitude":"2cedb3c0","hex_latitude":"0713e758","is_valid_coordinates":true} 
[2026-09-24 22:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:08:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,142,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 22:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790267720000,"timestamp_ms":1790267720000,"timestamp_seconds":1790267720,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4458140"} 
[2026-09-24 22:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-24 22:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27995,"142":206,"2":54272,"24":29,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16]} 
[2026-09-24 22:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 22:08:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-24 22:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:08:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27995,"unknown_142":206,"power_alt":54272,"ignition":29,"odometer":null}} 
[2026-09-24 22:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":194414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892347,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:08:44] local.INFO: GPS data processed {"connection_id":194414,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:08:44] local.INFO: Acknowledgment sent {"connection_id":194414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:08:52] local.INFO: TCP Data received {"connection_id":194415,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:08:52] local.INFO: Processing buffer {"connection_id":194415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d443df48012d196500071fef18003b004829..."} 
[2026-09-24 22:08:52] local.INFO: Packet analysis {"connection_id":194415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:08:52] local.INFO: Extracted packet for processing {"connection_id":194415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d443"} 
[2026-09-24 22:08:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308431872001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790267613000,"timestamp_ms":1790267613000,"timestamp_seconds":1790267613,"priority":1,"record_length":96,"hex_timestamp":"000001a0d443df48"} 
[2026-09-24 22:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":194415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":194415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":194415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308431872001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308431872001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:08:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:08:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308431872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":194415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:08:52] local.INFO: GPS data processed {"connection_id":194415,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:08:52] local.INFO: Acknowledgment sent {"connection_id":194415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:09:05] local.INFO: TCP Data received {"connection_id":193114,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:09:05] local.INFO: Processing buffer {"connection_id":193114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:09:05] local.INFO: IMEI packet received {"connection_id":193114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":193114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:09:06] local.INFO: TCP Data received {"connection_id":193114,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:09:06] local.INFO: Processing buffer {"connection_id":193114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:09:06] local.INFO: IMEI packet received {"connection_id":193114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":193114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:09:09] local.INFO: TCP Data received {"connection_id":191735,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:09:09] local.INFO: Processing buffer {"connection_id":191735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:09:09] local.INFO: Packet analysis {"connection_id":191735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:09:09] local.INFO: Extracted packet for processing {"connection_id":191735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:09:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308493312001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790267853000,"timestamp_ms":1790267853000,"timestamp_seconds":1790267853,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44788c8"} 
[2026-09-24 22:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308493312001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308493312001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:09:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:09:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308493312001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":191735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:09:09] local.INFO: GPS data processed {"connection_id":191735,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:09:09] local.INFO: Acknowledgment sent {"connection_id":191735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:09:11] local.INFO: TCP Data received {"connection_id":193114,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:09:11] local.INFO: Processing buffer {"connection_id":193114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:09:11] local.INFO: IMEI packet received {"connection_id":193114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":193114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:09:13] local.INFO: TCP Data received {"connection_id":193114,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d445d348012cedf3000713e4a80029005927..."} 
[2026-09-24 22:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d445d348012cedf3000713e4a80029005927..."} 
[2026-09-24 22:09:13] local.INFO: Processing buffer {"connection_id":193114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d445d348012cedf3000713e4a80029005927..."} 
[2026-09-24 22:09:13] local.INFO: Packet analysis {"connection_id":193114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d445"} 
[2026-09-24 22:09:13] local.INFO: Extracted packet for processing {"connection_id":193114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d445"} 
[2026-09-24 22:09:13] local.INFO: GPS Element Parsed {"raw_longitude":753791744,"raw_latitude":118744232,"longitude_deg":75.3791744,"latitude_deg":11.8744232,"altitude":41,"angle":89,"satellites":39,"speed":31,"hex_longitude":"2cedf300","hex_latitude":"0713e4a8","is_valid_coordinates":true} 
[2026-09-24 22:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308536320001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:09:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1318499129258190848,"note":"Value kept but may cause issues"} 
[2026-09-24 22:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790267741000,"timestamp_ms":1790267741000,"timestamp_seconds":1790267741,"priority":1,"record_length":96,"hex_timestamp":"000001a0d445d348"} 
[2026-09-24 22:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 22:09:13] 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-09-24 22:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308536320001,"66":27995,"142":206,"2":54272,"24":31,"16":3605341577150464,"44":-1318499129258190848},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-09-24 22:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308536320001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:09:13] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-24 22:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:09:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1318499129258190848,"description":"Unknown IO ID 44"} 
[2026-09-24 22:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308536320001,"power":27995,"unknown_142":206,"power_alt":54272,"ignition":31,"odometer":null,"unknown_44":-1318499129258190848}} 
[2026-09-24 22:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":193114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892350,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:09:13] local.INFO: GPS data processed {"connection_id":193114,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:09:13] local.INFO: Acknowledgment sent {"connection_id":193114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:09:15] local.INFO: TCP Data received {"connection_id":191736,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:09:15] local.INFO: Processing buffer {"connection_id":191736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:09:15] local.INFO: IMEI packet received {"connection_id":191736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":191736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:09:20] local.INFO: TCP Data received {"connection_id":191736,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:09:20] local.INFO: Processing buffer {"connection_id":191736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:09:20] local.INFO: IMEI packet received {"connection_id":191736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":191736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:09:21] local.INFO: TCP Data received {"connection_id":191736,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:09:21] local.INFO: Processing buffer {"connection_id":191736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:09:21] local.INFO: Packet analysis {"connection_id":191736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:09:21] local.INFO: Extracted packet for processing {"connection_id":191736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:09:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308508928001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790267914000,"timestamp_ms":1790267914000,"timestamp_seconds":1790267914,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4487710"} 
[2026-09-24 22:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308508928001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308508928001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:09:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:09:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308508928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":191736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:09:21] local.INFO: GPS data processed {"connection_id":191736,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:09:21] local.INFO: Acknowledgment sent {"connection_id":191736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:09:27] local.INFO: TCP Data received {"connection_id":193115,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:09:27] local.INFO: Processing buffer {"connection_id":193115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:09:27] local.INFO: IMEI packet received {"connection_id":193115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":193115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:09:32] local.INFO: TCP Data received {"connection_id":193115,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:09:32] local.INFO: Processing buffer {"connection_id":193115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:09:32] local.INFO: IMEI packet received {"connection_id":193115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":193115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:09:33] local.INFO: TCP Data received {"connection_id":193115,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:09:33] local.INFO: Processing buffer {"connection_id":193115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:09:33] local.INFO: Packet analysis {"connection_id":193115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:09:33] local.INFO: Extracted packet for processing {"connection_id":193115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:09:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308493312001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790267853000,"timestamp_ms":1790267853000,"timestamp_seconds":1790267853,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44788c8"} 
[2026-09-24 22:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308493312001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308493312001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:09:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:09:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308493312001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":193115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:09:33] local.INFO: GPS data processed {"connection_id":193115,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:09:33] local.INFO: Acknowledgment sent {"connection_id":193115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:09:44] local.INFO: TCP Data received {"connection_id":193114,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4462550012cee36800713e250002900612a..."} 
[2026-09-24 22:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4462550012cee36800713e250002900612a..."} 
[2026-09-24 22:09:44] local.INFO: Processing buffer {"connection_id":193114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4462550012cee36800713e250002900612a..."} 
[2026-09-24 22:09:44] local.INFO: Packet analysis {"connection_id":193114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d446"} 
[2026-09-24 22:09:44] local.INFO: Extracted packet for processing {"connection_id":193114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d446"} 
[2026-09-24 22:09:44] local.INFO: GPS Element Parsed {"raw_longitude":753809024,"raw_latitude":118743632,"longitude_deg":75.3809024,"latitude_deg":11.8743632,"altitude":41,"angle":97,"satellites":42,"speed":0,"hex_longitude":"2cee3680","hex_latitude":"0713e250","is_valid_coordinates":true} 
[2026-09-24 22:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308541696001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:09:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1300695836981417984,"note":"Value kept but may cause issues"} 
[2026-09-24 22:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790267762000,"timestamp_ms":1790267762000,"timestamp_seconds":1790267762,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4462550"} 
[2026-09-24 22:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 22:09:44] 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-09-24 22:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308541696001,"66":28430,"142":206,"2":54272,"24":0,"16":3605341577150464,"44":-1300695836981417984},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-09-24 22:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308541696001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:09:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-24 22:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:09:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1300695836981417984,"description":"Unknown IO ID 44"} 
[2026-09-24 22:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308541696001,"power":28430,"unknown_142":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1300695836981417984}} 
[2026-09-24 22:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":193114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892353,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:09:44] local.INFO: GPS data processed {"connection_id":193114,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:09:44] local.INFO: Acknowledgment sent {"connection_id":193114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:09:52] local.INFO: TCP Data received {"connection_id":191736,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:09:52] local.INFO: Processing buffer {"connection_id":191736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:09:52] local.INFO: Packet analysis {"connection_id":191736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:09:52] local.INFO: Extracted packet for processing {"connection_id":191736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:09:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308508928001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790267914000,"timestamp_ms":1790267914000,"timestamp_seconds":1790267914,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4487710"} 
[2026-09-24 22:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308508928001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308508928001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:09:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:09:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308508928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":191736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:09:52] local.INFO: GPS data processed {"connection_id":191736,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:09:52] local.INFO: Acknowledgment sent {"connection_id":191736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:10:04] local.INFO: TCP Data received {"connection_id":193115,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:10:04] local.INFO: Processing buffer {"connection_id":193115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:10:04] local.INFO: Packet analysis {"connection_id":193115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:10:04] local.INFO: Extracted packet for processing {"connection_id":193115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:10:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308493312001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790267853000,"timestamp_ms":1790267853000,"timestamp_seconds":1790267853,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44788c8"} 
[2026-09-24 22:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:10: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-09-24 22: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-09-24 22:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308493312001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308493312001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:10:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:10:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308493312001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":193115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:10:04] local.INFO: GPS data processed {"connection_id":193115,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:10:04] local.INFO: Acknowledgment sent {"connection_id":193115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:10:06] local.INFO: TCP Data received {"connection_id":193116,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:10:06] local.INFO: Processing buffer {"connection_id":193116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:10:06] local.INFO: IMEI packet received {"connection_id":193116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":193116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:10:08] local.INFO: TCP Data received {"connection_id":193116,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:10:08] local.INFO: Processing buffer {"connection_id":193116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:10:08] local.INFO: IMEI packet received {"connection_id":193116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":193116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:10:11] local.INFO: TCP Data received {"connection_id":193116,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:10:11] local.INFO: Processing buffer {"connection_id":193116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:10:11] local.INFO: IMEI packet received {"connection_id":193116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":193116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:10:12] local.INFO: TCP Data received {"connection_id":193116,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4466f88012cee6d400713dd50002500502b..."} 
[2026-09-24 22:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4466f88012cee6d400713dd50002500502b..."} 
[2026-09-24 22:10:12] local.INFO: Processing buffer {"connection_id":193116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4466f88012cee6d400713dd50002500502b..."} 
[2026-09-24 22:10:12] local.INFO: Packet analysis {"connection_id":193116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d446"} 
[2026-09-24 22:10:12] local.INFO: Extracted packet for processing {"connection_id":193116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d446"} 
[2026-09-24 22:10:12] local.INFO: GPS Element Parsed {"raw_longitude":753823040,"raw_latitude":118742352,"longitude_deg":75.382304,"latitude_deg":11.8742352,"altitude":37,"angle":80,"satellites":43,"speed":9,"hex_longitude":"2cee6d40","hex_latitude":"0713dd50","is_valid_coordinates":true} 
[2026-09-24 22:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308547072001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:10:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1281696276053602304,"note":"Value kept but may cause issues"} 
[2026-09-24 22:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790267781000,"timestamp_ms":1790267781000,"timestamp_seconds":1790267781,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4466f88"} 
[2026-09-24 22:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:10: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-09-24 22:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 22:10:12] 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-09-24 22:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308547072001,"66":28430,"142":206,"2":54272,"24":9,"16":3605341577150464,"44":-1281696276053602304},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-09-24 22:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308547072001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:10:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-24 22:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:10:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1281696276053602304,"description":"Unknown IO ID 44"} 
[2026-09-24 22:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308547072001,"power":28430,"unknown_142":206,"power_alt":54272,"ignition":9,"odometer":null,"unknown_44":-1281696276053602304}} 
[2026-09-24 22:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":193116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892356,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:10:12] local.INFO: GPS data processed {"connection_id":193116,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:10:12] local.INFO: Acknowledgment sent {"connection_id":193116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:10:16] local.INFO: TCP Data received {"connection_id":194416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:10:16] local.INFO: Processing buffer {"connection_id":194416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:10:16] local.INFO: IMEI packet received {"connection_id":194416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":194416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:10:20] local.INFO: TCP Data received {"connection_id":194416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:10:20] local.INFO: Processing buffer {"connection_id":194416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:10:20] local.INFO: IMEI packet received {"connection_id":194416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":194416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:10:21] local.INFO: TCP Data received {"connection_id":194416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:10:21] local.INFO: Processing buffer {"connection_id":194416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:10:21] local.INFO: Packet analysis {"connection_id":194416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:10:21] local.INFO: Extracted packet for processing {"connection_id":194416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:10:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308508928001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790267914000,"timestamp_ms":1790267914000,"timestamp_seconds":1790267914,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4487710"} 
[2026-09-24 22:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308508928001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308508928001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:10:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:10:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308508928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":194416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:10:21] local.INFO: GPS data processed {"connection_id":194416,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:10:21] local.INFO: Acknowledgment sent {"connection_id":194416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:10:32] local.INFO: TCP Data received {"connection_id":191737,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:10:32] local.INFO: Processing buffer {"connection_id":191737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:10:32] local.INFO: IMEI packet received {"connection_id":191737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":191737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:10:37] local.INFO: TCP Data received {"connection_id":191737,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:10:37] local.INFO: Processing buffer {"connection_id":191737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:10:37] local.INFO: IMEI packet received {"connection_id":191737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":191737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:10:38] local.INFO: TCP Data received {"connection_id":191737,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:10:38] local.INFO: Processing buffer {"connection_id":191737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:10:38] local.INFO: Packet analysis {"connection_id":191737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:10:38] local.INFO: Extracted packet for processing {"connection_id":191737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308493312001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790267853000,"timestamp_ms":1790267853000,"timestamp_seconds":1790267853,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44788c8"} 
[2026-09-24 22:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308493312001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308493312001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308493312001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":191737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:10:38] local.INFO: GPS data processed {"connection_id":191737,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:10:38] local.INFO: Acknowledgment sent {"connection_id":191737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:10:43] local.INFO: TCP Data received {"connection_id":191737,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:10:43] local.INFO: Processing buffer {"connection_id":191737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:10:43] local.INFO: Packet analysis {"connection_id":191737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:10:43] local.INFO: Extracted packet for processing {"connection_id":191737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:10:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308493312001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790267853000,"timestamp_ms":1790267853000,"timestamp_seconds":1790267853,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44788c8"} 
[2026-09-24 22:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308493312001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308493312001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:10:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:10:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308493312001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":191737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:10:43] local.INFO: GPS data processed {"connection_id":191737,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:10:43] local.INFO: Acknowledgment sent {"connection_id":191737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:10:44] local.INFO: TCP Data received {"connection_id":193116,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d446c190012cee6d400713dd50002500502b..."} 
[2026-09-24 22:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d446c190012cee6d400713dd50002500502b..."} 
[2026-09-24 22:10:44] local.INFO: Processing buffer {"connection_id":193116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d446c190012cee6d400713dd50002500502b..."} 
[2026-09-24 22:10:44] local.INFO: Packet analysis {"connection_id":193116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d446"} 
[2026-09-24 22:10:44] local.INFO: Extracted packet for processing {"connection_id":193116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d446"} 
[2026-09-24 22:10:44] local.INFO: GPS Element Parsed {"raw_longitude":753823040,"raw_latitude":118742352,"longitude_deg":75.382304,"latitude_deg":11.8742352,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6d40","hex_latitude":"0713dd50","is_valid_coordinates":true} 
[2026-09-24 22:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308551936001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:10:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790267802000,"timestamp_ms":1790267802000,"timestamp_seconds":1790267802,"priority":1,"record_length":96,"hex_timestamp":"000001a0d446c190"} 
[2026-09-24 22:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 22:10:44] 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-09-24 22:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308551936001,"66":28376,"142":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-09-24 22:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308551936001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:10:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-24 22:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:10:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308551936001,"power":28376,"unknown_142":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":193116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892360,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:10:44] local.INFO: GPS data processed {"connection_id":193116,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:10:44] local.INFO: Acknowledgment sent {"connection_id":193116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:10:52] local.INFO: TCP Data received {"connection_id":194416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:10:52] local.INFO: Processing buffer {"connection_id":194416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:10:52] local.INFO: Packet analysis {"connection_id":194416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:10:52] local.INFO: Extracted packet for processing {"connection_id":194416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:10:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308508928001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790267914000,"timestamp_ms":1790267914000,"timestamp_seconds":1790267914,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4487710"} 
[2026-09-24 22:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":194416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":194416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":194416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308508928001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308508928001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:10:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:10:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308508928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":194416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:10:52] local.INFO: GPS data processed {"connection_id":194416,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:10:52] local.INFO: Acknowledgment sent {"connection_id":194416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:11:06] local.INFO: TCP Data received {"connection_id":191738,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:11:06] local.INFO: Processing buffer {"connection_id":191738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:11:06] local.INFO: IMEI packet received {"connection_id":191738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":191738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:11:13] local.INFO: TCP Data received {"connection_id":191738,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:11:13] local.INFO: Processing buffer {"connection_id":191738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:11:13] local.INFO: IMEI packet received {"connection_id":191738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":191738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:11:15] local.INFO: TCP Data received {"connection_id":191738,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4471398012cee6d400713dd50002500502b..."} 
[2026-09-24 22:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4471398012cee6d400713dd50002500502b..."} 
[2026-09-24 22:11:15] local.INFO: Processing buffer {"connection_id":191738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4471398012cee6d400713dd50002500502b..."} 
[2026-09-24 22:11:15] local.INFO: Packet analysis {"connection_id":191738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:11:15] local.INFO: Extracted packet for processing {"connection_id":191738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:11:15] local.INFO: GPS Element Parsed {"raw_longitude":753823040,"raw_latitude":118742352,"longitude_deg":75.382304,"latitude_deg":11.8742352,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6d40","hex_latitude":"0713dd50","is_valid_coordinates":true} 
[2026-09-24 22:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308557312001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:11:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790267823000,"timestamp_ms":1790267823000,"timestamp_seconds":1790267823,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4471398"} 
[2026-09-24 22:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 22:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308557312001,"66":28452,"142":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-09-24 22:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308557312001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:11:15] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-24 22:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:11:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308557312001,"power":28452,"unknown_142":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":191738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892362,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:11:15] local.INFO: GPS data processed {"connection_id":191738,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:11:15] local.INFO: Acknowledgment sent {"connection_id":191738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:11:15] local.INFO: TCP Data received {"connection_id":194417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:11:15] local.INFO: Processing buffer {"connection_id":194417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:11:15] local.INFO: IMEI packet received {"connection_id":194417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":194417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:11:20] local.INFO: TCP Data received {"connection_id":194417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:11:20] local.INFO: Processing buffer {"connection_id":194417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:11:20] local.INFO: IMEI packet received {"connection_id":194417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":194417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:11:21] local.INFO: TCP Data received {"connection_id":194417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:11:21] local.INFO: Processing buffer {"connection_id":194417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:11:21] local.INFO: Packet analysis {"connection_id":194417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:11:21] local.INFO: Extracted packet for processing {"connection_id":194417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:11:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308508928001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790267914000,"timestamp_ms":1790267914000,"timestamp_seconds":1790267914,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4487710"} 
[2026-09-24 22:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308508928001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308508928001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:11:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:11:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308508928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":194417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:11:21] local.INFO: GPS data processed {"connection_id":194417,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:11:21] local.INFO: Acknowledgment sent {"connection_id":194417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:11:27] local.INFO: TCP Data received {"connection_id":191557,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:11:27] local.INFO: Processing buffer {"connection_id":191557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:11:27] local.INFO: IMEI packet received {"connection_id":191557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":191557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:11:33] local.INFO: TCP Data received {"connection_id":191557,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:11:33] local.INFO: Processing buffer {"connection_id":191557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:11:33] local.INFO: IMEI packet received {"connection_id":191557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":191557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:11:34] local.INFO: TCP Data received {"connection_id":191557,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:11:34] local.INFO: Processing buffer {"connection_id":191557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:11:34] local.INFO: Packet analysis {"connection_id":191557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:11:34] local.INFO: Extracted packet for processing {"connection_id":191557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:11:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308493312001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790267853000,"timestamp_ms":1790267853000,"timestamp_seconds":1790267853,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44788c8"} 
[2026-09-24 22:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308493312001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308493312001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:11:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:11:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308493312001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":191557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:11:34] local.INFO: GPS data processed {"connection_id":191557,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:11:34] local.INFO: Acknowledgment sent {"connection_id":191557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:11:46] local.INFO: TCP Data received {"connection_id":191738,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44765a0012cee6d400713dd50002500502b..."} 
[2026-09-24 22:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44765a0012cee6d400713dd50002500502b..."} 
[2026-09-24 22:11:46] local.INFO: Processing buffer {"connection_id":191738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44765a0012cee6d400713dd50002500502b..."} 
[2026-09-24 22:11:46] local.INFO: Packet analysis {"connection_id":191738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:11:46] local.INFO: Extracted packet for processing {"connection_id":191738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:11:46] local.INFO: GPS Element Parsed {"raw_longitude":753823040,"raw_latitude":118742352,"longitude_deg":75.382304,"latitude_deg":11.8742352,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6d40","hex_latitude":"0713dd50","is_valid_coordinates":true} 
[2026-09-24 22:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308562688001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:11:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790267844000,"timestamp_ms":1790267844000,"timestamp_seconds":1790267844,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44765a0"} 
[2026-09-24 22:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-24 22:11:46] 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-09-24 22:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308562688001,"66":28430,"142":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-09-24 22:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308562688001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:11:46] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-24 22:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:11:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308562688001,"power":28430,"unknown_142":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":191738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892365,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:11:46] local.INFO: GPS data processed {"connection_id":191738,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:11:46] local.INFO: Acknowledgment sent {"connection_id":191738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:11:52] local.INFO: TCP Data received {"connection_id":194417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:11:52] local.INFO: Processing buffer {"connection_id":194417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:11:52] local.INFO: Packet analysis {"connection_id":194417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:11:52] local.INFO: Extracted packet for processing {"connection_id":194417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:11:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308508928001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790267914000,"timestamp_ms":1790267914000,"timestamp_seconds":1790267914,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4487710"} 
[2026-09-24 22:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":194417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":194417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":194417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308508928001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308508928001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:11:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:11:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308508928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":194417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:11:52] local.INFO: GPS data processed {"connection_id":194417,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:11:52] local.INFO: Acknowledgment sent {"connection_id":194417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:12:06] local.INFO: TCP Data received {"connection_id":191739,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:12:06] local.INFO: Processing buffer {"connection_id":191739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:12:06] local.INFO: IMEI packet received {"connection_id":191739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":191739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:12:07] local.INFO: TCP Data received {"connection_id":191557,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:12:07] local.INFO: Processing buffer {"connection_id":191557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:12:07] local.INFO: Packet analysis {"connection_id":191557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:12:07] local.INFO: Extracted packet for processing {"connection_id":191557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:12:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308493312001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790267853000,"timestamp_ms":1790267853000,"timestamp_seconds":1790267853,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44788c8"} 
[2026-09-24 22:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:12: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-09-24 22:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308493312001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308493312001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:12:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:12:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308493312001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":191557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:12:07] local.INFO: GPS data processed {"connection_id":191557,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:12:07] local.INFO: Acknowledgment sent {"connection_id":191557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:12:11] local.INFO: TCP Data received {"connection_id":191739,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:12:11] local.INFO: Processing buffer {"connection_id":191739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:12:11] local.INFO: IMEI packet received {"connection_id":191739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":191739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:12:12] local.INFO: TCP Data received {"connection_id":191739,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d447b7a8012cee6d400713dd50002500502b..."} 
[2026-09-24 22:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d447b7a8012cee6d400713dd50002500502b..."} 
[2026-09-24 22:12:12] local.INFO: Processing buffer {"connection_id":191739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d447b7a8012cee6d400713dd50002500502b..."} 
[2026-09-24 22:12:12] local.INFO: Packet analysis {"connection_id":191739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:12:12] local.INFO: Extracted packet for processing {"connection_id":191739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:12:12] local.INFO: GPS Element Parsed {"raw_longitude":753823040,"raw_latitude":118742352,"longitude_deg":75.382304,"latitude_deg":11.8742352,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6d40","hex_latitude":"0713dd50","is_valid_coordinates":true} 
[2026-09-24 22:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308568064001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:12:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790267865000,"timestamp_ms":1790267865000,"timestamp_seconds":1790267865,"priority":1,"record_length":96,"hex_timestamp":"000001a0d447b7a8"} 
[2026-09-24 22:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 22:12:12] 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-09-24 22:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308568064001,"66":28430,"142":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-09-24 22:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308568064001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:12:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-24 22:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:12:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308568064001,"power":28430,"unknown_142":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":191739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892368,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:12:12] local.INFO: GPS data processed {"connection_id":191739,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:12:12] local.INFO: Acknowledgment sent {"connection_id":191739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:12:15] local.INFO: TCP Data received {"connection_id":193117,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:12:15] local.INFO: Processing buffer {"connection_id":193117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:12:15] local.INFO: IMEI packet received {"connection_id":193117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":193117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:12:20] local.INFO: TCP Data received {"connection_id":193117,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:12:20] local.INFO: Processing buffer {"connection_id":193117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:12:20] local.INFO: IMEI packet received {"connection_id":193117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":193117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:12:21] local.INFO: TCP Data received {"connection_id":193117,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:12:21] local.INFO: Processing buffer {"connection_id":193117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:12:21] local.INFO: Packet analysis {"connection_id":193117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:12:21] local.INFO: Extracted packet for processing {"connection_id":193117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:12:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308508928001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790267914000,"timestamp_ms":1790267914000,"timestamp_seconds":1790267914,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4487710"} 
[2026-09-24 22:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308508928001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308508928001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:12:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:12:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308508928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":193117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:12:21] local.INFO: GPS data processed {"connection_id":193117,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:12:21] local.INFO: Acknowledgment sent {"connection_id":193117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:12:27] local.INFO: TCP Data received {"connection_id":194418,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:12:27] local.INFO: Processing buffer {"connection_id":194418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:12:27] local.INFO: IMEI packet received {"connection_id":194418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":194418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:12:32] local.INFO: TCP Data received {"connection_id":194418,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:12:32] local.INFO: Processing buffer {"connection_id":194418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:12:32] local.INFO: IMEI packet received {"connection_id":194418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":194418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:12:33] local.INFO: TCP Data received {"connection_id":194418,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:12:33] local.INFO: Processing buffer {"connection_id":194418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:12:33] local.INFO: Packet analysis {"connection_id":194418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:12:33] local.INFO: Extracted packet for processing {"connection_id":194418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:12:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308493312001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790267853000,"timestamp_ms":1790267853000,"timestamp_seconds":1790267853,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44788c8"} 
[2026-09-24 22:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308493312001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308493312001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:12:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:12:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308493312001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":194418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:12:33] local.INFO: GPS data processed {"connection_id":194418,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:12:33] local.INFO: Acknowledgment sent {"connection_id":194418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:12:44] local.INFO: TCP Data received {"connection_id":191739,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44809b0012cee6d400713dd50002500502b..."} 
[2026-09-24 22:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44809b0012cee6d400713dd50002500502b..."} 
[2026-09-24 22:12:44] local.INFO: Processing buffer {"connection_id":191739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44809b0012cee6d400713dd50002500502b..."} 
[2026-09-24 22:12:44] local.INFO: Packet analysis {"connection_id":191739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:12:44] local.INFO: Extracted packet for processing {"connection_id":191739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:12:44] local.INFO: GPS Element Parsed {"raw_longitude":753823040,"raw_latitude":118742352,"longitude_deg":75.382304,"latitude_deg":11.8742352,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6d40","hex_latitude":"0713dd50","is_valid_coordinates":true} 
[2026-09-24 22:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308573440001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:12:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790267886000,"timestamp_ms":1790267886000,"timestamp_seconds":1790267886,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44809b0"} 
[2026-09-24 22:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 22:12:44] 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-09-24 22:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308573440001,"66":28376,"142":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-09-24 22:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308573440001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:12:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-24 22:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:12:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308573440001,"power":28376,"unknown_142":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":191739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892371,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:12:44] local.INFO: GPS data processed {"connection_id":191739,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:12:44] local.INFO: Acknowledgment sent {"connection_id":191739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:12:52] local.INFO: TCP Data received {"connection_id":193117,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:12:52] local.INFO: Processing buffer {"connection_id":193117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:12:52] local.INFO: Packet analysis {"connection_id":193117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:12:52] local.INFO: Extracted packet for processing {"connection_id":193117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:12:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308508928001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790267914000,"timestamp_ms":1790267914000,"timestamp_seconds":1790267914,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4487710"} 
[2026-09-24 22:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":193117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":193117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":193117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308508928001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308508928001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:12:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:12:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308508928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":193117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:12:52] local.INFO: GPS data processed {"connection_id":193117,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:12:52] local.INFO: Acknowledgment sent {"connection_id":193117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:13:04] local.INFO: TCP Data received {"connection_id":194418,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:13:04] local.INFO: Processing buffer {"connection_id":194418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44788c8012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:13:04] local.INFO: Packet analysis {"connection_id":194418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:13:04] local.INFO: Extracted packet for processing {"connection_id":194418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d447"} 
[2026-09-24 22:13:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308493312001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790267853000,"timestamp_ms":1790267853000,"timestamp_seconds":1790267853,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44788c8"} 
[2026-09-24 22:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:13: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-09-24 22: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-09-24 22:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308493312001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308493312001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:13:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:13:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308493312001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":194418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:13:04] local.INFO: GPS data processed {"connection_id":194418,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:13:04] local.INFO: Acknowledgment sent {"connection_id":194418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:13:11] local.INFO: TCP Data received {"connection_id":194419,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:13:11] local.INFO: Processing buffer {"connection_id":194419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:13:11] local.INFO: IMEI packet received {"connection_id":194419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":194419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:13:15] local.INFO: TCP Data received {"connection_id":193118,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:13:15] local.INFO: Processing buffer {"connection_id":193118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:13:15] local.INFO: IMEI packet received {"connection_id":193118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":193118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:13:16] local.INFO: TCP Data received {"connection_id":194419,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:13:16] local.INFO: Processing buffer {"connection_id":194419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:13:16] local.INFO: IMEI packet received {"connection_id":194419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":194419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:13:17] local.INFO: TCP Data received {"connection_id":194419,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4485bb8012cee6d400713dd50002500502b..."} 
[2026-09-24 22:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4485bb8012cee6d400713dd50002500502b..."} 
[2026-09-24 22:13:17] local.INFO: Processing buffer {"connection_id":194419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4485bb8012cee6d400713dd50002500502b..."} 
[2026-09-24 22:13:17] local.INFO: Packet analysis {"connection_id":194419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:13:17] local.INFO: Extracted packet for processing {"connection_id":194419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:13:17] local.INFO: GPS Element Parsed {"raw_longitude":753823040,"raw_latitude":118742352,"longitude_deg":75.382304,"latitude_deg":11.8742352,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6d40","hex_latitude":"0713dd50","is_valid_coordinates":true} 
[2026-09-24 22:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308578816001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:13:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790267907000,"timestamp_ms":1790267907000,"timestamp_seconds":1790267907,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4485bb8"} 
[2026-09-24 22:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 22:13:17] 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-09-24 22:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":194419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":194419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":194419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308578816001,"66":28354,"142":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-09-24 22:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308578816001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:13:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-24 22:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:13:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308578816001,"power":28354,"unknown_142":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":194419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892374,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:13:18] local.INFO: GPS data processed {"connection_id":194419,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:13:18] local.INFO: Acknowledgment sent {"connection_id":194419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:13:20] local.INFO: TCP Data received {"connection_id":193118,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:13:20] local.INFO: Processing buffer {"connection_id":193118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:13:20] local.INFO: IMEI packet received {"connection_id":193118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":193118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:13:21] local.INFO: TCP Data received {"connection_id":193118,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:13:21] local.INFO: Processing buffer {"connection_id":193118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:13:21] local.INFO: Packet analysis {"connection_id":193118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:13:21] local.INFO: Extracted packet for processing {"connection_id":193118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:13:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308508928001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790267914000,"timestamp_ms":1790267914000,"timestamp_seconds":1790267914,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4487710"} 
[2026-09-24 22:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308508928001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308508928001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:13:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:13:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308508928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":193118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:13:21] local.INFO: GPS data processed {"connection_id":193118,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:13:21] local.INFO: Acknowledgment sent {"connection_id":193118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:13:27] local.INFO: TCP Data received {"connection_id":194420,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:13:27] local.INFO: Processing buffer {"connection_id":194420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:13:27] local.INFO: IMEI packet received {"connection_id":194420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":194420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:13:32] local.INFO: TCP Data received {"connection_id":194420,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:13:32] local.INFO: Processing buffer {"connection_id":194420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:13:32] local.INFO: IMEI packet received {"connection_id":194420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":194420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:13:33] local.INFO: TCP Data received {"connection_id":194420,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:13:33] local.INFO: Processing buffer {"connection_id":194420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:13:33] local.INFO: Packet analysis {"connection_id":194420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44c"} 
[2026-09-24 22:13:33] local.INFO: Extracted packet for processing {"connection_id":194420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44c"} 
[2026-09-24 22:13:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308570368001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790268154000,"timestamp_ms":1790268154000,"timestamp_seconds":1790268154,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44c2090"} 
[2026-09-24 22:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308570368001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308570368001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:13:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:13:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308570368001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":194420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:13:33] local.INFO: GPS data processed {"connection_id":194420,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:13:33] local.INFO: Acknowledgment sent {"connection_id":194420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:13:49] local.INFO: TCP Data received {"connection_id":194419,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d448adc0012cee6d400713dd50002500502b..."} 
[2026-09-24 22:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d448adc0012cee6d400713dd50002500502b..."} 
[2026-09-24 22:13:49] local.INFO: Processing buffer {"connection_id":194419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d448adc0012cee6d400713dd50002500502b..."} 
[2026-09-24 22:13:49] local.INFO: Packet analysis {"connection_id":194419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:13:49] local.INFO: Extracted packet for processing {"connection_id":194419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:13:49] local.INFO: GPS Element Parsed {"raw_longitude":753823040,"raw_latitude":118742352,"longitude_deg":75.382304,"latitude_deg":11.8742352,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6d40","hex_latitude":"0713dd50","is_valid_coordinates":true} 
[2026-09-24 22:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308584192001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:13:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790267928000,"timestamp_ms":1790267928000,"timestamp_seconds":1790267928,"priority":1,"record_length":96,"hex_timestamp":"000001a0d448adc0"} 
[2026-09-24 22:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 22:13: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-09-24 22:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":194419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":194419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":194419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308584192001,"66":28398,"142":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-09-24 22:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308584192001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:13:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-24 22:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:13:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308584192001,"power":28398,"unknown_142":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":194419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892377,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:13:49] local.INFO: GPS data processed {"connection_id":194419,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:13:49] local.INFO: Acknowledgment sent {"connection_id":194419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:13:52] local.INFO: TCP Data received {"connection_id":193118,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:13:52] local.INFO: Processing buffer {"connection_id":193118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4487710012d196500071fef18003b004829..."} 
[2026-09-24 22:13:52] local.INFO: Packet analysis {"connection_id":193118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:13:52] local.INFO: Extracted packet for processing {"connection_id":193118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:13:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308508928001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790267914000,"timestamp_ms":1790267914000,"timestamp_seconds":1790267914,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4487710"} 
[2026-09-24 22:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":193118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":193118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":193118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308508928001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308508928001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:13:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:13:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308508928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":193118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:13:52] local.INFO: GPS data processed {"connection_id":193118,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:13:52] local.INFO: Acknowledgment sent {"connection_id":193118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:14:04] local.INFO: TCP Data received {"connection_id":194420,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:14:04] local.INFO: Processing buffer {"connection_id":194420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:14:04] local.INFO: Packet analysis {"connection_id":194420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44c"} 
[2026-09-24 22:14:04] local.INFO: Extracted packet for processing {"connection_id":194420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44c"} 
[2026-09-24 22:14:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308570368001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790268154000,"timestamp_ms":1790268154000,"timestamp_seconds":1790268154,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44c2090"} 
[2026-09-24 22:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:14: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-09-24 22: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-09-24 22:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308570368001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308570368001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:14:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:14:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308570368001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":194420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:14:04] local.INFO: GPS data processed {"connection_id":194420,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:14:04] local.INFO: Acknowledgment sent {"connection_id":194420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:14:06] local.INFO: TCP Data received {"connection_id":193119,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:14:06] local.INFO: Processing buffer {"connection_id":193119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:14:06] local.INFO: IMEI packet received {"connection_id":193119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":193119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:14:11] local.INFO: TCP Data received {"connection_id":193119,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:14:11] local.INFO: Processing buffer {"connection_id":193119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:14:11] local.INFO: IMEI packet received {"connection_id":193119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":193119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:14:12] local.INFO: TCP Data received {"connection_id":193119,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d448ffc8012cee6d400713dd50002500502b..."} 
[2026-09-24 22:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d448ffc8012cee6d400713dd50002500502b..."} 
[2026-09-24 22:14:12] local.INFO: Processing buffer {"connection_id":193119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d448ffc8012cee6d400713dd50002500502b..."} 
[2026-09-24 22:14:12] local.INFO: Packet analysis {"connection_id":193119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:14:12] local.INFO: Extracted packet for processing {"connection_id":193119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d448"} 
[2026-09-24 22:14:12] local.INFO: GPS Element Parsed {"raw_longitude":753823040,"raw_latitude":118742352,"longitude_deg":75.382304,"latitude_deg":11.8742352,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6d40","hex_latitude":"0713dd50","is_valid_coordinates":true} 
[2026-09-24 22:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308589568001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:14:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790267949000,"timestamp_ms":1790267949000,"timestamp_seconds":1790267949,"priority":1,"record_length":96,"hex_timestamp":"000001a0d448ffc8"} 
[2026-09-24 22:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 22:14:12] 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-09-24 22:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308589568001,"66":28398,"142":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-09-24 22:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308589568001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:14:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-24 22:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:14:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308589568001,"power":28398,"unknown_142":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":193119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892380,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:14:13] local.INFO: GPS data processed {"connection_id":193119,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:14:13] local.INFO: Acknowledgment sent {"connection_id":193119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:14:20] local.INFO: TCP Data received {"connection_id":191740,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:14:20] local.INFO: Processing buffer {"connection_id":191740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:14:20] local.INFO: IMEI packet received {"connection_id":191740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":191740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:14:25] local.INFO: TCP Data received {"connection_id":191740,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:14:25] local.INFO: Processing buffer {"connection_id":191740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:14:25] local.INFO: IMEI packet received {"connection_id":191740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":191740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:14:26] local.INFO: TCP Data received {"connection_id":191740,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:14:26] local.INFO: Processing buffer {"connection_id":191740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:14:26] local.INFO: Packet analysis {"connection_id":191740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44d"} 
[2026-09-24 22:14:26] local.INFO: Extracted packet for processing {"connection_id":191740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44d"} 
[2026-09-24 22:14:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308585984001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790268215000,"timestamp_ms":1790268215000,"timestamp_seconds":1790268215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44d0ed8"} 
[2026-09-24 22:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308585984001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308585984001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:14:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:14:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308585984001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":191740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:14:26] local.INFO: GPS data processed {"connection_id":191740,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:14:26] local.INFO: Acknowledgment sent {"connection_id":191740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:14:27] local.INFO: TCP Data received {"connection_id":191741,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:14:27] local.INFO: Processing buffer {"connection_id":191741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:14:27] local.INFO: IMEI packet received {"connection_id":191741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":191741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:14:31] local.INFO: TCP Data received {"connection_id":191740,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:14:31] local.INFO: Processing buffer {"connection_id":191740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:14:31] local.INFO: Packet analysis {"connection_id":191740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44d"} 
[2026-09-24 22:14:31] local.INFO: Extracted packet for processing {"connection_id":191740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44d"} 
[2026-09-24 22:14:31] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308585984001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790268215000,"timestamp_ms":1790268215000,"timestamp_seconds":1790268215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44d0ed8"} 
[2026-09-24 22:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":191740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":191740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":191740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308585984001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308585984001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:14:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:14:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308585984001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":191740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:14:31] local.INFO: GPS data processed {"connection_id":191740,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:14:31] local.INFO: Acknowledgment sent {"connection_id":191740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:14:32] local.INFO: TCP Data received {"connection_id":191741,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:14:32] local.INFO: Processing buffer {"connection_id":191741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:14:32] local.INFO: IMEI packet received {"connection_id":191741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":191741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:14:33] local.INFO: TCP Data received {"connection_id":191741,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:14:33] local.INFO: Processing buffer {"connection_id":191741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:14:33] local.INFO: Packet analysis {"connection_id":191741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44c"} 
[2026-09-24 22:14:33] local.INFO: Extracted packet for processing {"connection_id":191741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44c"} 
[2026-09-24 22:14:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308570368001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790268154000,"timestamp_ms":1790268154000,"timestamp_seconds":1790268154,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44c2090"} 
[2026-09-24 22:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308570368001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308570368001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:14:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:14:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308570368001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":191741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:14:33] local.INFO: GPS data processed {"connection_id":191741,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:14:33] local.INFO: Acknowledgment sent {"connection_id":191741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:14:44] local.INFO: TCP Data received {"connection_id":193119,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44951d0012cee6d400713dd50002500502b..."} 
[2026-09-24 22:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44951d0012cee6d400713dd50002500502b..."} 
[2026-09-24 22:14:44] local.INFO: Processing buffer {"connection_id":193119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44951d0012cee6d400713dd50002500502b..."} 
[2026-09-24 22:14:44] local.INFO: Packet analysis {"connection_id":193119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d449"} 
[2026-09-24 22:14:44] local.INFO: Extracted packet for processing {"connection_id":193119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d449"} 
[2026-09-24 22:14:44] local.INFO: GPS Element Parsed {"raw_longitude":753823040,"raw_latitude":118742352,"longitude_deg":75.382304,"latitude_deg":11.8742352,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6d40","hex_latitude":"0713dd50","is_valid_coordinates":true} 
[2026-09-24 22:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308594944001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:14:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790267970000,"timestamp_ms":1790267970000,"timestamp_seconds":1790267970,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44951d0"} 
[2026-09-24 22:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 22:14:44] 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-09-24 22:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308594944001,"66":28300,"142":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-09-24 22:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308594944001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:14:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-24 22:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:14:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308594944001,"power":28300,"unknown_142":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":193119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892384,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:14:44] local.INFO: GPS data processed {"connection_id":193119,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:14:44] local.INFO: Acknowledgment sent {"connection_id":193119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:15:05] local.INFO: TCP Data received {"connection_id":191741,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:15:05] local.INFO: Processing buffer {"connection_id":191741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:15:05] local.INFO: Packet analysis {"connection_id":191741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44c"} 
[2026-09-24 22:15:05] local.INFO: Extracted packet for processing {"connection_id":191741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44c"} 
[2026-09-24 22:15:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308570368001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790268154000,"timestamp_ms":1790268154000,"timestamp_seconds":1790268154,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44c2090"} 
[2026-09-24 22:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308570368001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308570368001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:15:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:15:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308570368001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":191741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:15:05] local.INFO: GPS data processed {"connection_id":191741,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:15:05] local.INFO: Acknowledgment sent {"connection_id":191741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:15:06] local.INFO: TCP Data received {"connection_id":191558,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:15:06] local.INFO: Processing buffer {"connection_id":191558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:15:06] local.INFO: IMEI packet received {"connection_id":191558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":191558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:15:11] local.INFO: TCP Data received {"connection_id":191558,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:15:11] local.INFO: Processing buffer {"connection_id":191558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:15:11] local.INFO: IMEI packet received {"connection_id":191558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":191558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:15:12] local.INFO: TCP Data received {"connection_id":191558,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d449a3d8012cee6d400713dd50002500502b..."} 
[2026-09-24 22:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d449a3d8012cee6d400713dd50002500502b..."} 
[2026-09-24 22:15:12] local.INFO: Processing buffer {"connection_id":191558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d449a3d8012cee6d400713dd50002500502b..."} 
[2026-09-24 22:15:12] local.INFO: Packet analysis {"connection_id":191558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d449"} 
[2026-09-24 22:15:12] local.INFO: Extracted packet for processing {"connection_id":191558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d449"} 
[2026-09-24 22:15:12] local.INFO: GPS Element Parsed {"raw_longitude":753823040,"raw_latitude":118742352,"longitude_deg":75.382304,"latitude_deg":11.8742352,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6d40","hex_latitude":"0713dd50","is_valid_coordinates":true} 
[2026-09-24 22:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308600320001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:15:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790267991000,"timestamp_ms":1790267991000,"timestamp_seconds":1790267991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d449a3d8"} 
[2026-09-24 22:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:15: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-09-24 22:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 22:15:12] 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-09-24 22:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308600320001,"66":28398,"142":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-09-24 22:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308600320001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:15:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-24 22:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:15:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308600320001,"power":28398,"unknown_142":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":191558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892386,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:15:13] local.INFO: GPS data processed {"connection_id":191558,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:15:13] local.INFO: Acknowledgment sent {"connection_id":191558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:15:15] local.INFO: TCP Data received {"connection_id":191559,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:15:15] local.INFO: Processing buffer {"connection_id":191559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:15:15] local.INFO: IMEI packet received {"connection_id":191559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":191559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:15:20] local.INFO: TCP Data received {"connection_id":191559,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:15:20] local.INFO: Processing buffer {"connection_id":191559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:15:20] local.INFO: IMEI packet received {"connection_id":191559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":191559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:15:21] local.INFO: TCP Data received {"connection_id":191559,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:15:21] local.INFO: Processing buffer {"connection_id":191559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:15:21] local.INFO: Packet analysis {"connection_id":191559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44d"} 
[2026-09-24 22:15:21] local.INFO: Extracted packet for processing {"connection_id":191559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44d"} 
[2026-09-24 22:15:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 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-09-24 22:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308585984001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790268215000,"timestamp_ms":1790268215000,"timestamp_seconds":1790268215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44d0ed8"} 
[2026-09-24 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-09-24 22:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 22:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308585984001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308585984001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:15:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:15:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308585984001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":191559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:15:21] local.INFO: GPS data processed {"connection_id":191559,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:15:21] local.INFO: Acknowledgment sent {"connection_id":191559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:15:32] local.INFO: TCP Data received {"connection_id":191560,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:15:32] local.INFO: Processing buffer {"connection_id":191560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:15:32] local.INFO: IMEI packet received {"connection_id":191560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":191560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:15:37] local.INFO: TCP Data received {"connection_id":191560,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:15:37] local.INFO: Processing buffer {"connection_id":191560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:15:37] local.INFO: IMEI packet received {"connection_id":191560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":191560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:15:38] local.INFO: TCP Data received {"connection_id":191560,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:15:38] local.INFO: Processing buffer {"connection_id":191560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:15:38] local.INFO: Packet analysis {"connection_id":191560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44c"} 
[2026-09-24 22:15:38] local.INFO: Extracted packet for processing {"connection_id":191560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44c"} 
[2026-09-24 22:15:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308570368001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790268154000,"timestamp_ms":1790268154000,"timestamp_seconds":1790268154,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44c2090"} 
[2026-09-24 22:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308570368001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308570368001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:15:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:15:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308570368001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":191560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:15:38] local.INFO: GPS data processed {"connection_id":191560,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:15:38] local.INFO: Acknowledgment sent {"connection_id":191560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:15:43] local.INFO: TCP Data received {"connection_id":191560,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:15:43] local.INFO: Processing buffer {"connection_id":191560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:15:43] local.INFO: Packet analysis {"connection_id":191560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44c"} 
[2026-09-24 22:15:43] local.INFO: Extracted packet for processing {"connection_id":191560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44c"} 
[2026-09-24 22:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308570368001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790268154000,"timestamp_ms":1790268154000,"timestamp_seconds":1790268154,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44c2090"} 
[2026-09-24 22:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308570368001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308570368001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:15:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:15:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308570368001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":191560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:15:43] local.INFO: GPS data processed {"connection_id":191560,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:15:43] local.INFO: Acknowledgment sent {"connection_id":191560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:15:44] local.INFO: TCP Data received {"connection_id":191558,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d449f5e0012cee6d400713dd50002500502b..."} 
[2026-09-24 22:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d449f5e0012cee6d400713dd50002500502b..."} 
[2026-09-24 22:15:44] local.INFO: Processing buffer {"connection_id":191558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d449f5e0012cee6d400713dd50002500502b..."} 
[2026-09-24 22:15:44] local.INFO: Packet analysis {"connection_id":191558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d449"} 
[2026-09-24 22:15:44] local.INFO: Extracted packet for processing {"connection_id":191558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d449"} 
[2026-09-24 22:15:44] local.INFO: GPS Element Parsed {"raw_longitude":753823040,"raw_latitude":118742352,"longitude_deg":75.382304,"latitude_deg":11.8742352,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6d40","hex_latitude":"0713dd50","is_valid_coordinates":true} 
[2026-09-24 22:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308605696001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:15:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790268012000,"timestamp_ms":1790268012000,"timestamp_seconds":1790268012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d449f5e0"} 
[2026-09-24 22:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 22:15:44] 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-09-24 22:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308605696001,"66":28376,"142":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-09-24 22:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308605696001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:15:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-24 22:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:15:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308605696001,"power":28376,"unknown_142":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":191558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892390,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:15:44] local.INFO: GPS data processed {"connection_id":191558,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:15:44] local.INFO: Acknowledgment sent {"connection_id":191558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:15:52] local.INFO: TCP Data received {"connection_id":191559,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:15:52] local.INFO: Processing buffer {"connection_id":191559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:15:52] local.INFO: Packet analysis {"connection_id":191559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44d"} 
[2026-09-24 22:15:52] local.INFO: Extracted packet for processing {"connection_id":191559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44d"} 
[2026-09-24 22:15:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308585984001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790268215000,"timestamp_ms":1790268215000,"timestamp_seconds":1790268215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44d0ed8"} 
[2026-09-24 22:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308585984001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308585984001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:15:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:15:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308585984001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":191559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:15:52] local.INFO: GPS data processed {"connection_id":191559,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:15:52] local.INFO: Acknowledgment sent {"connection_id":191559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:16:11] local.INFO: TCP Data received {"connection_id":191561,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:16:11] local.INFO: Processing buffer {"connection_id":191561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:16:11] local.INFO: IMEI packet received {"connection_id":191561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":191561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:16:15] local.INFO: TCP Data received {"connection_id":191562,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:16:15] local.INFO: Processing buffer {"connection_id":191562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:16:15] local.INFO: IMEI packet received {"connection_id":191562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":191562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:16:16] local.INFO: TCP Data received {"connection_id":191561,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:16:16] local.INFO: Processing buffer {"connection_id":191561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:16:16] local.INFO: IMEI packet received {"connection_id":191561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":191561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:16:17] local.INFO: TCP Data received {"connection_id":191561,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44a47e8012cee6d400713dd50002500502b..."} 
[2026-09-24 22:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44a47e8012cee6d400713dd50002500502b..."} 
[2026-09-24 22:16:17] local.INFO: Processing buffer {"connection_id":191561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44a47e8012cee6d400713dd50002500502b..."} 
[2026-09-24 22:16:17] local.INFO: Packet analysis {"connection_id":191561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44a"} 
[2026-09-24 22:16:18] local.INFO: Extracted packet for processing {"connection_id":191561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44a"} 
[2026-09-24 22:16:18] local.INFO: GPS Element Parsed {"raw_longitude":753823040,"raw_latitude":118742352,"longitude_deg":75.382304,"latitude_deg":11.8742352,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6d40","hex_latitude":"0713dd50","is_valid_coordinates":true} 
[2026-09-24 22:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308611072001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:16:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790268033000,"timestamp_ms":1790268033000,"timestamp_seconds":1790268033,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44a47e8"} 
[2026-09-24 22:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:16:18] 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-09-24 22:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 22:16: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-09-24 22:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308611072001,"66":28300,"142":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-09-24 22:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308611072001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:16:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-24 22:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:16:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308611072001,"power":28300,"unknown_142":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":191561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892392,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:16:18] local.INFO: GPS data processed {"connection_id":191561,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:16:18] local.INFO: Acknowledgment sent {"connection_id":191561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:16:20] local.INFO: TCP Data received {"connection_id":191562,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:16:20] local.INFO: Processing buffer {"connection_id":191562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:16:20] local.INFO: IMEI packet received {"connection_id":191562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":191562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:16:21] local.INFO: TCP Data received {"connection_id":191562,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:16:21] local.INFO: Processing buffer {"connection_id":191562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:16:21] local.INFO: Packet analysis {"connection_id":191562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44d"} 
[2026-09-24 22:16:21] local.INFO: Extracted packet for processing {"connection_id":191562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44d"} 
[2026-09-24 22:16:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308585984001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790268215000,"timestamp_ms":1790268215000,"timestamp_seconds":1790268215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44d0ed8"} 
[2026-09-24 22:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308585984001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308585984001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:16:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:16:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308585984001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":191562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:16:21] local.INFO: GPS data processed {"connection_id":191562,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:16:21] local.INFO: Acknowledgment sent {"connection_id":191562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:16:22] local.INFO: TCP Data received {"connection_id":191561,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44a6340012cee6d400713dd50002500502b..."} 
[2026-09-24 22:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44a6340012cee6d400713dd50002500502b..."} 
[2026-09-24 22:16:22] local.INFO: Processing buffer {"connection_id":191561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44a6340012cee6d400713dd50002500502b..."} 
[2026-09-24 22:16:22] local.INFO: Packet analysis {"connection_id":191561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44a"} 
[2026-09-24 22:16:22] local.INFO: Extracted packet for processing {"connection_id":191561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44a"} 
[2026-09-24 22:16:22] local.INFO: GPS Element Parsed {"raw_longitude":753823040,"raw_latitude":118742352,"longitude_deg":75.382304,"latitude_deg":11.8742352,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6d40","hex_latitude":"0713dd50","is_valid_coordinates":true} 
[2026-09-24 22:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308616448001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:16:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790268040000,"timestamp_ms":1790268040000,"timestamp_seconds":1790268040,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44a6340"} 
[2026-09-24 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-09-24 22:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 22:16:22] 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-09-24 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-09-24 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-09-24 22:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308616448001,"66":28398,"142":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-09-24 22:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308616448001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:16:22] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-24 22:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:16:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308616448001,"power":28398,"unknown_142":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":191561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892394,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:16:22] local.INFO: GPS data processed {"connection_id":191561,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:16:22] local.INFO: Acknowledgment sent {"connection_id":191561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:16:27] local.INFO: TCP Data received {"connection_id":193120,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:16:27] local.INFO: Processing buffer {"connection_id":193120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:16:27] local.INFO: IMEI packet received {"connection_id":193120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":193120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:16:32] local.INFO: TCP Data received {"connection_id":193120,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:16:32] local.INFO: Processing buffer {"connection_id":193120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:16:32] local.INFO: IMEI packet received {"connection_id":193120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":193120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:16:34] local.INFO: TCP Data received {"connection_id":193120,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:16:34] local.INFO: Processing buffer {"connection_id":193120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:16:34] local.INFO: Packet analysis {"connection_id":193120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44c"} 
[2026-09-24 22:16:34] local.INFO: Extracted packet for processing {"connection_id":193120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44c"} 
[2026-09-24 22:16:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308570368001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790268154000,"timestamp_ms":1790268154000,"timestamp_seconds":1790268154,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44c2090"} 
[2026-09-24 22:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:16: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-09-24 22:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308570368001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308570368001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:16:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:16:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308570368001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":193120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:16:34] local.INFO: GPS data processed {"connection_id":193120,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:16:34] local.INFO: Acknowledgment sent {"connection_id":193120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:16:52] local.INFO: TCP Data received {"connection_id":191562,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:16:52] local.INFO: Processing buffer {"connection_id":191562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:16:52] local.INFO: Packet analysis {"connection_id":191562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44d"} 
[2026-09-24 22:16:52] local.INFO: Extracted packet for processing {"connection_id":191562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44d"} 
[2026-09-24 22:16:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308585984001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790268215000,"timestamp_ms":1790268215000,"timestamp_seconds":1790268215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44d0ed8"} 
[2026-09-24 22:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308585984001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308585984001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:16:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:16:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308585984001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":191562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:16:52] local.INFO: GPS data processed {"connection_id":191562,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:16:52] local.INFO: Acknowledgment sent {"connection_id":191562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:17:05] local.INFO: TCP Data received {"connection_id":193120,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:17:05] local.INFO: Processing buffer {"connection_id":193120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:17:05] local.INFO: Packet analysis {"connection_id":193120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44c"} 
[2026-09-24 22:17:05] local.INFO: Extracted packet for processing {"connection_id":193120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44c"} 
[2026-09-24 22:17:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308570368001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790268154000,"timestamp_ms":1790268154000,"timestamp_seconds":1790268154,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44c2090"} 
[2026-09-24 22:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308570368001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308570368001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:17:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:17:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308570368001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":193120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:17:05] local.INFO: GPS data processed {"connection_id":193120,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:17:05] local.INFO: Acknowledgment sent {"connection_id":193120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:17:06] local.INFO: TCP Data received {"connection_id":191563,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:17:06] local.INFO: Processing buffer {"connection_id":191563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:17:06] local.INFO: IMEI packet received {"connection_id":191563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":191563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:17:11] local.INFO: TCP Data received {"connection_id":191563,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:17:11] local.INFO: Processing buffer {"connection_id":191563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:17:11] local.INFO: IMEI packet received {"connection_id":191563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":191563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:17:12] local.INFO: TCP Data received {"connection_id":191563,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:17:12] local.INFO: Processing buffer {"connection_id":191563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:17:12] local.INFO: Packet analysis {"connection_id":191563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44f"} 
[2026-09-24 22:17:12] local.INFO: Extracted packet for processing {"connection_id":191563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44f"} 
[2026-09-24 22:17:12] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308618240001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:17:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790268344000,"timestamp_ms":1790268344000,"timestamp_seconds":1790268344,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44f06c0"} 
[2026-09-24 22:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 22:17:12] 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-09-24 22:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308618240001,"66":26039,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308618240001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:17:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:17:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308618240001,"power":26039,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":191563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892398,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:17:13] local.INFO: GPS data processed {"connection_id":191563,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:17:13] local.INFO: Acknowledgment sent {"connection_id":191563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:17:16] local.INFO: TCP Data received {"connection_id":191742,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:17:16] local.INFO: Processing buffer {"connection_id":191742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:17:16] local.INFO: IMEI packet received {"connection_id":191742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":191742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:17:20] local.INFO: TCP Data received {"connection_id":191742,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:17:20] local.INFO: Processing buffer {"connection_id":191742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:17:20] local.INFO: IMEI packet received {"connection_id":191742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":191742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:17:21] local.INFO: TCP Data received {"connection_id":191742,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:17:21] local.INFO: Processing buffer {"connection_id":191742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:17:21] local.INFO: Packet analysis {"connection_id":191742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44d"} 
[2026-09-24 22:17:21] local.INFO: Extracted packet for processing {"connection_id":191742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44d"} 
[2026-09-24 22:17:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 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-09-24 22:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308585984001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790268215000,"timestamp_ms":1790268215000,"timestamp_seconds":1790268215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44d0ed8"} 
[2026-09-24 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-09-24 22:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 22:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308585984001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308585984001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:17:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:17:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308585984001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":191742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:17:21] local.INFO: GPS data processed {"connection_id":191742,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:17:21] local.INFO: Acknowledgment sent {"connection_id":191742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:17:27] local.INFO: TCP Data received {"connection_id":191743,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:17:27] local.INFO: Processing buffer {"connection_id":191743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:17:27] local.INFO: IMEI packet received {"connection_id":191743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":191743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:17:32] local.INFO: TCP Data received {"connection_id":191743,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:17:32] local.INFO: Processing buffer {"connection_id":191743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:17:32] local.INFO: IMEI packet received {"connection_id":191743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":191743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:17:33] local.INFO: TCP Data received {"connection_id":191743,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:17:33] local.INFO: Processing buffer {"connection_id":191743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:17:33] local.INFO: Packet analysis {"connection_id":191743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44c"} 
[2026-09-24 22:17:33] local.INFO: Extracted packet for processing {"connection_id":191743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44c"} 
[2026-09-24 22:17:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308570368001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790268154000,"timestamp_ms":1790268154000,"timestamp_seconds":1790268154,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44c2090"} 
[2026-09-24 22:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308570368001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308570368001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:17:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:17:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308570368001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":191743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:17:33] local.INFO: GPS data processed {"connection_id":191743,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:17:33] local.INFO: Acknowledgment sent {"connection_id":191743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:17:44] local.INFO: TCP Data received {"connection_id":191563,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:17:44] local.INFO: Processing buffer {"connection_id":191563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:17:44] local.INFO: Packet analysis {"connection_id":191563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44f"} 
[2026-09-24 22:17:44] local.INFO: Extracted packet for processing {"connection_id":191563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44f"} 
[2026-09-24 22:17:44] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308618240001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:17:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790268344000,"timestamp_ms":1790268344000,"timestamp_seconds":1790268344,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44f06c0"} 
[2026-09-24 22:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 22:17:44] 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-09-24 22:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308618240001,"66":26039,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308618240001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:17:44] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:17:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308618240001,"power":26039,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":191563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892401,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:17:44] local.INFO: GPS data processed {"connection_id":191563,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:17:44] local.INFO: Acknowledgment sent {"connection_id":191563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:17:52] local.INFO: TCP Data received {"connection_id":191742,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:17:52] local.INFO: Processing buffer {"connection_id":191742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:17:52] local.INFO: Packet analysis {"connection_id":191742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44d"} 
[2026-09-24 22:17:52] local.INFO: Extracted packet for processing {"connection_id":191742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44d"} 
[2026-09-24 22:17:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308585984001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790268215000,"timestamp_ms":1790268215000,"timestamp_seconds":1790268215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44d0ed8"} 
[2026-09-24 22:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308585984001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308585984001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:17:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:17:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308585984001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":191742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:17:52] local.INFO: GPS data processed {"connection_id":191742,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:17:52] local.INFO: Acknowledgment sent {"connection_id":191742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:18:05] local.INFO: TCP Data received {"connection_id":191743,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:18:05] local.INFO: Processing buffer {"connection_id":191743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44c2090012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:18:05] local.INFO: Packet analysis {"connection_id":191743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44c"} 
[2026-09-24 22:18:05] local.INFO: Extracted packet for processing {"connection_id":191743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44c"} 
[2026-09-24 22:18:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308570368001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790268154000,"timestamp_ms":1790268154000,"timestamp_seconds":1790268154,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44c2090"} 
[2026-09-24 22:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308570368001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308570368001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:18:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:18:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308570368001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":191743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:18:05] local.INFO: GPS data processed {"connection_id":191743,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:18:05] local.INFO: Acknowledgment sent {"connection_id":191743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:18:06] local.INFO: TCP Data received {"connection_id":193121,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:18:06] local.INFO: Processing buffer {"connection_id":193121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:18:06] local.INFO: IMEI packet received {"connection_id":193121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":193121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:18:11] local.INFO: TCP Data received {"connection_id":193121,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:18:11] local.INFO: Processing buffer {"connection_id":193121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:18:11] local.INFO: IMEI packet received {"connection_id":193121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":193121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:18:15] local.INFO: TCP Data received {"connection_id":193121,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:18:15] local.INFO: Processing buffer {"connection_id":193121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:18:15] local.INFO: Packet analysis {"connection_id":193121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44f"} 
[2026-09-24 22:18:15] local.INFO: Extracted packet for processing {"connection_id":193121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44f"} 
[2026-09-24 22:18:15] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308618240001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:18:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790268344000,"timestamp_ms":1790268344000,"timestamp_seconds":1790268344,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44f06c0"} 
[2026-09-24 22:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 22:18:15] 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-09-24 22:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":193121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":193121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":193121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308618240001,"66":26039,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308618240001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:18:15] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:18:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308618240001,"power":26039,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":193121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892404,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:18:15] local.INFO: GPS data processed {"connection_id":193121,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:18:15] local.INFO: Acknowledgment sent {"connection_id":193121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:18:15] local.INFO: TCP Data received {"connection_id":194421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:18:15] local.INFO: Processing buffer {"connection_id":194421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:18:15] local.INFO: IMEI packet received {"connection_id":194421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":194421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:18:20] local.INFO: TCP Data received {"connection_id":194421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:18:20] local.INFO: Processing buffer {"connection_id":194421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:18:20] local.INFO: IMEI packet received {"connection_id":194421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":194421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:18:21] local.INFO: TCP Data received {"connection_id":194421,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:18:21] local.INFO: Processing buffer {"connection_id":194421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:18:21] local.INFO: Packet analysis {"connection_id":194421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44d"} 
[2026-09-24 22:18:21] local.INFO: Extracted packet for processing {"connection_id":194421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44d"} 
[2026-09-24 22:18:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308585984001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790268215000,"timestamp_ms":1790268215000,"timestamp_seconds":1790268215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44d0ed8"} 
[2026-09-24 22:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308585984001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308585984001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:18:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:18:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308585984001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":194421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:18:21] local.INFO: GPS data processed {"connection_id":194421,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:18:21] local.INFO: Acknowledgment sent {"connection_id":194421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:18:27] local.INFO: TCP Data received {"connection_id":191744,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:18:27] local.INFO: Processing buffer {"connection_id":191744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:18:27] local.INFO: IMEI packet received {"connection_id":191744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":191744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:18:32] local.INFO: TCP Data received {"connection_id":191744,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:18:32] local.INFO: Processing buffer {"connection_id":191744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:18:32] local.INFO: IMEI packet received {"connection_id":191744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":191744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:18:34] local.INFO: TCP Data received {"connection_id":191744,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:18:34] local.INFO: Processing buffer {"connection_id":191744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:18:34] local.INFO: Packet analysis {"connection_id":191744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d450"} 
[2026-09-24 22:18:34] local.INFO: Extracted packet for processing {"connection_id":191744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d450"} 
[2026-09-24 22:18:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308647424001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790268455000,"timestamp_ms":1790268455000,"timestamp_seconds":1790268455,"priority":1,"record_length":96,"hex_timestamp":"000001a0d450b858"} 
[2026-09-24 22:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308647424001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308647424001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:18:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:18:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308647424001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":191744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:18:34] local.INFO: GPS data processed {"connection_id":191744,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:18:34] local.INFO: Acknowledgment sent {"connection_id":191744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:18:47] local.INFO: TCP Data received {"connection_id":193121,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:18:47] local.INFO: Processing buffer {"connection_id":193121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:18:47] local.INFO: Packet analysis {"connection_id":193121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44f"} 
[2026-09-24 22:18:47] local.INFO: Extracted packet for processing {"connection_id":193121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44f"} 
[2026-09-24 22:18:47] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308618240001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:18:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790268344000,"timestamp_ms":1790268344000,"timestamp_seconds":1790268344,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44f06c0"} 
[2026-09-24 22:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 22:18: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-09-24 22:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":193121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":193121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":193121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308618240001,"66":26039,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308618240001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:18:47] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:18:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308618240001,"power":26039,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":193121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892407,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:18:47] local.INFO: GPS data processed {"connection_id":193121,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:18:47] local.INFO: Acknowledgment sent {"connection_id":193121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:18:52] local.INFO: TCP Data received {"connection_id":194421,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:18:52] local.INFO: Processing buffer {"connection_id":194421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44d0ed8012d196500071fef18003b004828..."} 
[2026-09-24 22:18:52] local.INFO: Packet analysis {"connection_id":194421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44d"} 
[2026-09-24 22:18:52] local.INFO: Extracted packet for processing {"connection_id":194421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44d"} 
[2026-09-24 22:18:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308585984001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790268215000,"timestamp_ms":1790268215000,"timestamp_seconds":1790268215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44d0ed8"} 
[2026-09-24 22:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 22:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":194421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":194421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":194421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308585984001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308585984001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:18:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:18:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308585984001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":194421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:18:52] local.INFO: GPS data processed {"connection_id":194421,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:18:52] local.INFO: Acknowledgment sent {"connection_id":194421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:19:06] local.INFO: TCP Data received {"connection_id":193122,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:19:06] local.INFO: Processing buffer {"connection_id":193122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:19:06] local.INFO: IMEI packet received {"connection_id":193122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":193122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:19:06] local.INFO: TCP Data received {"connection_id":191744,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:19:06] local.INFO: Processing buffer {"connection_id":191744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:19:06] local.INFO: Packet analysis {"connection_id":191744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d450"} 
[2026-09-24 22:19:06] local.INFO: Extracted packet for processing {"connection_id":191744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d450"} 
[2026-09-24 22:19:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308647424001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790268455000,"timestamp_ms":1790268455000,"timestamp_seconds":1790268455,"priority":1,"record_length":96,"hex_timestamp":"000001a0d450b858"} 
[2026-09-24 22:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308647424001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308647424001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:19:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:19:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308647424001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":191744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:19:06] local.INFO: GPS data processed {"connection_id":191744,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:19:06] local.INFO: Acknowledgment sent {"connection_id":191744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:19:11] local.INFO: TCP Data received {"connection_id":193122,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:19:11] local.INFO: Processing buffer {"connection_id":193122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:19:11] local.INFO: IMEI packet received {"connection_id":193122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":193122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:19:12] local.INFO: TCP Data received {"connection_id":193122,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:19:12] local.INFO: Processing buffer {"connection_id":193122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:19:12] local.INFO: Packet analysis {"connection_id":193122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44f"} 
[2026-09-24 22:19:12] local.INFO: Extracted packet for processing {"connection_id":193122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44f"} 
[2026-09-24 22:19:12] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308618240001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:19:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790268344000,"timestamp_ms":1790268344000,"timestamp_seconds":1790268344,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44f06c0"} 
[2026-09-24 22:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 22:19:12] 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-09-24 22:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308618240001,"66":26039,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308618240001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:19:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:19:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308618240001,"power":26039,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":193122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892410,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:19:12] local.INFO: GPS data processed {"connection_id":193122,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:19:12] local.INFO: Acknowledgment sent {"connection_id":193122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:19:15] local.INFO: TCP Data received {"connection_id":193123,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:19:15] local.INFO: Processing buffer {"connection_id":193123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:19:15] local.INFO: IMEI packet received {"connection_id":193123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":193123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:19:20] local.INFO: TCP Data received {"connection_id":193123,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:19:20] local.INFO: Processing buffer {"connection_id":193123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:19:20] local.INFO: IMEI packet received {"connection_id":193123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":193123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:19:21] local.INFO: TCP Data received {"connection_id":193123,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:19:21] local.INFO: Processing buffer {"connection_id":193123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:19:21] local.INFO: Packet analysis {"connection_id":193123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d451"} 
[2026-09-24 22:19:21] local.INFO: Extracted packet for processing {"connection_id":193123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d451"} 
[2026-09-24 22:19:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 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-09-24 22:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308663040001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790268516000,"timestamp_ms":1790268516000,"timestamp_seconds":1790268516,"priority":1,"record_length":96,"hex_timestamp":"000001a0d451a6a0"} 
[2026-09-24 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-09-24 22:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 22:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308663040001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308663040001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:19:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:19:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308663040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":193123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:19:21] local.INFO: GPS data processed {"connection_id":193123,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:19:21] local.INFO: Acknowledgment sent {"connection_id":193123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:19:28] local.INFO: TCP Data received {"connection_id":191745,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:19:28] local.INFO: Processing buffer {"connection_id":191745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:19:28] local.INFO: IMEI packet received {"connection_id":191745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":191745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:19:32] local.INFO: TCP Data received {"connection_id":191745,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:19:32] local.INFO: Processing buffer {"connection_id":191745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:19:32] local.INFO: IMEI packet received {"connection_id":191745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":191745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:19:33] local.INFO: TCP Data received {"connection_id":191745,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:19:33] local.INFO: Processing buffer {"connection_id":191745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:19:33] local.INFO: Packet analysis {"connection_id":191745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d450"} 
[2026-09-24 22:19:33] local.INFO: Extracted packet for processing {"connection_id":191745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d450"} 
[2026-09-24 22:19:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308647424001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790268455000,"timestamp_ms":1790268455000,"timestamp_seconds":1790268455,"priority":1,"record_length":96,"hex_timestamp":"000001a0d450b858"} 
[2026-09-24 22:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308647424001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308647424001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:19:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:19:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308647424001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":191745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:19:33] local.INFO: GPS data processed {"connection_id":191745,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:19:33] local.INFO: Acknowledgment sent {"connection_id":191745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:19:44] local.INFO: TCP Data received {"connection_id":193122,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:19:44] local.INFO: Processing buffer {"connection_id":193122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:19:44] local.INFO: Packet analysis {"connection_id":193122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44f"} 
[2026-09-24 22:19:44] local.INFO: Extracted packet for processing {"connection_id":193122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44f"} 
[2026-09-24 22:19:44] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308618240001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:19:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790268344000,"timestamp_ms":1790268344000,"timestamp_seconds":1790268344,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44f06c0"} 
[2026-09-24 22:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 22:19:44] 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-09-24 22:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308618240001,"66":26039,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308618240001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:19:44] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:19:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308618240001,"power":26039,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":193122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892413,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:19:44] local.INFO: GPS data processed {"connection_id":193122,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:19:44] local.INFO: Acknowledgment sent {"connection_id":193122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:19:52] local.INFO: TCP Data received {"connection_id":193123,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:19:52] local.INFO: Processing buffer {"connection_id":193123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:19:52] local.INFO: Packet analysis {"connection_id":193123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d451"} 
[2026-09-24 22:19:52] local.INFO: Extracted packet for processing {"connection_id":193123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d451"} 
[2026-09-24 22:19:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308663040001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790268516000,"timestamp_ms":1790268516000,"timestamp_seconds":1790268516,"priority":1,"record_length":96,"hex_timestamp":"000001a0d451a6a0"} 
[2026-09-24 22:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":193123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":193123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":193123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308663040001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308663040001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:19:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:19:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308663040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":193123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:19:52] local.INFO: GPS data processed {"connection_id":193123,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:19:52] local.INFO: Acknowledgment sent {"connection_id":193123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:20:05] local.INFO: TCP Data received {"connection_id":191745,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:20:05] local.INFO: Processing buffer {"connection_id":191745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:20:05] local.INFO: Packet analysis {"connection_id":191745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d450"} 
[2026-09-24 22:20:05] local.INFO: Extracted packet for processing {"connection_id":191745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d450"} 
[2026-09-24 22:20:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308647424001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790268455000,"timestamp_ms":1790268455000,"timestamp_seconds":1790268455,"priority":1,"record_length":96,"hex_timestamp":"000001a0d450b858"} 
[2026-09-24 22:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:20: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-09-24 22: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-09-24 22:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308647424001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308647424001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:20:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:20:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308647424001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":191745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:20:05] local.INFO: GPS data processed {"connection_id":191745,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:20:05] local.INFO: Acknowledgment sent {"connection_id":191745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:20:11] local.INFO: TCP Data received {"connection_id":194422,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:20:11] local.INFO: Processing buffer {"connection_id":194422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:20:11] local.INFO: IMEI packet received {"connection_id":194422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":194422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:20:15] local.INFO: TCP Data received {"connection_id":191746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:20:15] local.INFO: Processing buffer {"connection_id":191746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:20:15] local.INFO: IMEI packet received {"connection_id":191746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":191746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:20:16] local.INFO: TCP Data received {"connection_id":194422,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:20:16] local.INFO: Processing buffer {"connection_id":194422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:20:16] local.INFO: IMEI packet received {"connection_id":194422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":194422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:20:17] local.INFO: TCP Data received {"connection_id":194422,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:20:17] local.INFO: Processing buffer {"connection_id":194422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:20:17] local.INFO: Packet analysis {"connection_id":194422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44f"} 
[2026-09-24 22:20:17] local.INFO: Extracted packet for processing {"connection_id":194422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44f"} 
[2026-09-24 22:20:17] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308618240001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:20:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790268344000,"timestamp_ms":1790268344000,"timestamp_seconds":1790268344,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44f06c0"} 
[2026-09-24 22:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 22:20:17] 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-09-24 22:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":194422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":194422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":194422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308618240001,"66":26039,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308618240001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:20:17] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:20:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308618240001,"power":26039,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":194422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892416,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:20:17] local.INFO: GPS data processed {"connection_id":194422,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:20:17] local.INFO: Acknowledgment sent {"connection_id":194422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:20:20] local.INFO: TCP Data received {"connection_id":191746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:20:20] local.INFO: Processing buffer {"connection_id":191746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:20:20] local.INFO: IMEI packet received {"connection_id":191746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":191746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:20:21] local.INFO: TCP Data received {"connection_id":191746,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:20:21] local.INFO: Processing buffer {"connection_id":191746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:20:21] local.INFO: Packet analysis {"connection_id":191746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d451"} 
[2026-09-24 22:20:21] local.INFO: Extracted packet for processing {"connection_id":191746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d451"} 
[2026-09-24 22:20:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 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-09-24 22:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308663040001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790268516000,"timestamp_ms":1790268516000,"timestamp_seconds":1790268516,"priority":1,"record_length":96,"hex_timestamp":"000001a0d451a6a0"} 
[2026-09-24 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-09-24 22:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 22:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308663040001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308663040001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:20:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:20:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308663040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":191746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:20:21] local.INFO: GPS data processed {"connection_id":191746,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:20:21] local.INFO: Acknowledgment sent {"connection_id":191746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:20:22] local.INFO: TCP Data received {"connection_id":194422,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:20:22] local.INFO: Processing buffer {"connection_id":194422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:20:22] local.INFO: Packet analysis {"connection_id":194422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44f"} 
[2026-09-24 22:20:22] local.INFO: Extracted packet for processing {"connection_id":194422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44f"} 
[2026-09-24 22:20:22] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308618240001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:20:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790268344000,"timestamp_ms":1790268344000,"timestamp_seconds":1790268344,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44f06c0"} 
[2026-09-24 22:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 22:20:22] 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-09-24 22:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308618240001,"66":26039,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308618240001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:20:22] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:20:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308618240001,"power":26039,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":194422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892418,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:20:22] local.INFO: GPS data processed {"connection_id":194422,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:20:22] local.INFO: Acknowledgment sent {"connection_id":194422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:20:28] local.INFO: TCP Data received {"connection_id":194423,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:20:28] local.INFO: Processing buffer {"connection_id":194423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:20:28] local.INFO: IMEI packet received {"connection_id":194423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":194423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:20:32] local.INFO: TCP Data received {"connection_id":194423,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:20:32] local.INFO: Processing buffer {"connection_id":194423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:20:32] local.INFO: IMEI packet received {"connection_id":194423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":194423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:20:33] local.INFO: TCP Data received {"connection_id":194423,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:20:33] local.INFO: Processing buffer {"connection_id":194423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:20:33] local.INFO: Packet analysis {"connection_id":194423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d450"} 
[2026-09-24 22:20:33] local.INFO: Extracted packet for processing {"connection_id":194423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d450"} 
[2026-09-24 22:20:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308647424001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790268455000,"timestamp_ms":1790268455000,"timestamp_seconds":1790268455,"priority":1,"record_length":96,"hex_timestamp":"000001a0d450b858"} 
[2026-09-24 22:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308647424001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308647424001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:20:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:20:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308647424001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":194423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:20:33] local.INFO: GPS data processed {"connection_id":194423,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:20:33] local.INFO: Acknowledgment sent {"connection_id":194423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:20:52] local.INFO: TCP Data received {"connection_id":191746,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:20:52] local.INFO: Processing buffer {"connection_id":191746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:20:52] local.INFO: Packet analysis {"connection_id":191746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d451"} 
[2026-09-24 22:20:52] local.INFO: Extracted packet for processing {"connection_id":191746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d451"} 
[2026-09-24 22:20:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308663040001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790268516000,"timestamp_ms":1790268516000,"timestamp_seconds":1790268516,"priority":1,"record_length":96,"hex_timestamp":"000001a0d451a6a0"} 
[2026-09-24 22:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308663040001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308663040001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:20:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:20:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308663040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":191746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:20:52] local.INFO: GPS data processed {"connection_id":191746,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:20:52] local.INFO: Acknowledgment sent {"connection_id":191746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:21:05] local.INFO: TCP Data received {"connection_id":194423,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:21:05] local.INFO: Processing buffer {"connection_id":194423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:21:05] local.INFO: Packet analysis {"connection_id":194423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d450"} 
[2026-09-24 22:21:05] local.INFO: Extracted packet for processing {"connection_id":194423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d450"} 
[2026-09-24 22:21:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308647424001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790268455000,"timestamp_ms":1790268455000,"timestamp_seconds":1790268455,"priority":1,"record_length":96,"hex_timestamp":"000001a0d450b858"} 
[2026-09-24 22:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:21: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-09-24 22: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-09-24 22:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308647424001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308647424001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:21:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:21:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308647424001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":194423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:21:05] local.INFO: GPS data processed {"connection_id":194423,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:21:05] local.INFO: Acknowledgment sent {"connection_id":194423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:21:06] local.INFO: TCP Data received {"connection_id":191564,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:21:06] local.INFO: Processing buffer {"connection_id":191564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:21:06] local.INFO: IMEI packet received {"connection_id":191564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":191564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:21:11] local.INFO: TCP Data received {"connection_id":191564,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:21:11] local.INFO: Processing buffer {"connection_id":191564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:21:11] local.INFO: IMEI packet received {"connection_id":191564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":191564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:21:12] local.INFO: TCP Data received {"connection_id":191564,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:21:12] local.INFO: Processing buffer {"connection_id":191564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d44f06c0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:21:12] local.INFO: Packet analysis {"connection_id":191564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d44f"} 
[2026-09-24 22:21:12] local.INFO: Extracted packet for processing {"connection_id":191564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d44f"} 
[2026-09-24 22:21:12] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308618240001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:21:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790268344000,"timestamp_ms":1790268344000,"timestamp_seconds":1790268344,"priority":1,"record_length":96,"hex_timestamp":"000001a0d44f06c0"} 
[2026-09-24 22:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 22:21:12] 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-09-24 22:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308618240001,"66":26039,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308618240001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:21:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:21:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308618240001,"power":26039,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":191564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892422,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:21:12] local.INFO: GPS data processed {"connection_id":191564,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:21:12] local.INFO: Acknowledgment sent {"connection_id":191564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:21:15] local.INFO: TCP Data received {"connection_id":193124,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:21:15] local.INFO: Processing buffer {"connection_id":193124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:21:15] local.INFO: IMEI packet received {"connection_id":193124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":193124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:21:20] local.INFO: TCP Data received {"connection_id":193124,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:21:20] local.INFO: Processing buffer {"connection_id":193124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:21:20] local.INFO: IMEI packet received {"connection_id":193124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":193124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:21:21] local.INFO: TCP Data received {"connection_id":193124,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:21:21] local.INFO: Processing buffer {"connection_id":193124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:21:21] local.INFO: Packet analysis {"connection_id":193124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d451"} 
[2026-09-24 22:21:21] local.INFO: Extracted packet for processing {"connection_id":193124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d451"} 
[2026-09-24 22:21:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308663040001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790268516000,"timestamp_ms":1790268516000,"timestamp_seconds":1790268516,"priority":1,"record_length":96,"hex_timestamp":"000001a0d451a6a0"} 
[2026-09-24 22:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308663040001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308663040001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:21:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:21:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308663040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":193124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:21:21] local.INFO: GPS data processed {"connection_id":193124,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:21:21] local.INFO: Acknowledgment sent {"connection_id":193124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:21:27] local.INFO: TCP Data received {"connection_id":194424,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:21:27] local.INFO: Processing buffer {"connection_id":194424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:21:27] local.INFO: IMEI packet received {"connection_id":194424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":194424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:21:32] local.INFO: TCP Data received {"connection_id":194424,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:21:32] local.INFO: Processing buffer {"connection_id":194424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:21:32] local.INFO: IMEI packet received {"connection_id":194424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":194424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:21:33] local.INFO: TCP Data received {"connection_id":194424,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:21:33] local.INFO: Processing buffer {"connection_id":194424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:21:33] local.INFO: Packet analysis {"connection_id":194424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d450"} 
[2026-09-24 22:21:33] local.INFO: Extracted packet for processing {"connection_id":194424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d450"} 
[2026-09-24 22:21:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308647424001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790268455000,"timestamp_ms":1790268455000,"timestamp_seconds":1790268455,"priority":1,"record_length":96,"hex_timestamp":"000001a0d450b858"} 
[2026-09-24 22:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308647424001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308647424001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:21:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:21:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308647424001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":194424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:21:33] local.INFO: GPS data processed {"connection_id":194424,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:21:33] local.INFO: Acknowledgment sent {"connection_id":194424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:21:44] local.INFO: TCP Data received {"connection_id":191564,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:21:44] local.INFO: Processing buffer {"connection_id":191564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:21:44] local.INFO: Packet analysis {"connection_id":191564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d453"} 
[2026-09-24 22:21:44] local.INFO: Extracted packet for processing {"connection_id":191564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d453"} 
[2026-09-24 22:21:44] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308696064001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:21:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790268645000,"timestamp_ms":1790268645000,"timestamp_seconds":1790268645,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4539e88"} 
[2026-09-24 22:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-24 22:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308696064001,"66":25854,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308696064001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:21:44] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:21:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308696064001,"power":25854,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":191564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892425,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:21:44] local.INFO: GPS data processed {"connection_id":191564,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:21:44] local.INFO: Acknowledgment sent {"connection_id":191564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:21:52] local.INFO: TCP Data received {"connection_id":193124,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:21:52] local.INFO: Processing buffer {"connection_id":193124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:21:52] local.INFO: Packet analysis {"connection_id":193124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d451"} 
[2026-09-24 22:21:52] local.INFO: Extracted packet for processing {"connection_id":193124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d451"} 
[2026-09-24 22:21:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308663040001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790268516000,"timestamp_ms":1790268516000,"timestamp_seconds":1790268516,"priority":1,"record_length":96,"hex_timestamp":"000001a0d451a6a0"} 
[2026-09-24 22:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":193124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":193124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":193124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308663040001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308663040001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:21:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:21:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308663040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":193124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:21:52] local.INFO: GPS data processed {"connection_id":193124,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:21:52] local.INFO: Acknowledgment sent {"connection_id":193124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:22:05] local.INFO: TCP Data received {"connection_id":194424,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:22:05] local.INFO: Processing buffer {"connection_id":194424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:22:05] local.INFO: Packet analysis {"connection_id":194424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d450"} 
[2026-09-24 22:22:05] local.INFO: Extracted packet for processing {"connection_id":194424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d450"} 
[2026-09-24 22:22:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308647424001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790268455000,"timestamp_ms":1790268455000,"timestamp_seconds":1790268455,"priority":1,"record_length":96,"hex_timestamp":"000001a0d450b858"} 
[2026-09-24 22:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:22: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-09-24 22:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308647424001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308647424001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:22:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:22:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308647424001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":194424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:22:05] local.INFO: GPS data processed {"connection_id":194424,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:22:05] local.INFO: Acknowledgment sent {"connection_id":194424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:22:06] local.INFO: TCP Data received {"connection_id":193125,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:22:06] local.INFO: Processing buffer {"connection_id":193125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:22:06] local.INFO: IMEI packet received {"connection_id":193125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":193125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:22:11] local.INFO: TCP Data received {"connection_id":193125,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:22:11] local.INFO: Processing buffer {"connection_id":193125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:22:11] local.INFO: IMEI packet received {"connection_id":193125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":193125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:22:12] local.INFO: TCP Data received {"connection_id":193125,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:22:12] local.INFO: Processing buffer {"connection_id":193125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:22:12] local.INFO: Packet analysis {"connection_id":193125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d453"} 
[2026-09-24 22:22:12] local.INFO: Extracted packet for processing {"connection_id":193125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d453"} 
[2026-09-24 22:22:12] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308696064001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:22:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790268645000,"timestamp_ms":1790268645000,"timestamp_seconds":1790268645,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4539e88"} 
[2026-09-24 22:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-24 22:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308696064001,"66":25854,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308696064001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:22:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:22:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308696064001,"power":25854,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":193125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892428,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:22:12] local.INFO: GPS data processed {"connection_id":193125,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:22:12] local.INFO: Acknowledgment sent {"connection_id":193125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:22:15] local.INFO: TCP Data received {"connection_id":191747,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:22:15] local.INFO: Processing buffer {"connection_id":191747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:22:15] local.INFO: IMEI packet received {"connection_id":191747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":191747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:22:20] local.INFO: TCP Data received {"connection_id":191747,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:22:20] local.INFO: Processing buffer {"connection_id":191747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:22:20] local.INFO: IMEI packet received {"connection_id":191747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":191747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:22:21] local.INFO: TCP Data received {"connection_id":191747,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:22:21] local.INFO: Processing buffer {"connection_id":191747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:22:21] local.INFO: Packet analysis {"connection_id":191747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d451"} 
[2026-09-24 22:22:21] local.INFO: Extracted packet for processing {"connection_id":191747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d451"} 
[2026-09-24 22:22:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308663040001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790268516000,"timestamp_ms":1790268516000,"timestamp_seconds":1790268516,"priority":1,"record_length":96,"hex_timestamp":"000001a0d451a6a0"} 
[2026-09-24 22:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308663040001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308663040001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:22:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:22:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308663040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":191747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:22:21] local.INFO: GPS data processed {"connection_id":191747,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:22:21] local.INFO: Acknowledgment sent {"connection_id":191747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:22:27] local.INFO: TCP Data received {"connection_id":194425,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:22:27] local.INFO: Processing buffer {"connection_id":194425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:22:27] local.INFO: IMEI packet received {"connection_id":194425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":194425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:22:32] local.INFO: TCP Data received {"connection_id":194425,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:22:32] local.INFO: Processing buffer {"connection_id":194425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:22:32] local.INFO: IMEI packet received {"connection_id":194425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":194425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:22:34] local.INFO: TCP Data received {"connection_id":194425,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:22:34] local.INFO: Processing buffer {"connection_id":194425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:22:34] local.INFO: Packet analysis {"connection_id":194425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d450"} 
[2026-09-24 22:22:34] local.INFO: Extracted packet for processing {"connection_id":194425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d450"} 
[2026-09-24 22:22:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308647424001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790268455000,"timestamp_ms":1790268455000,"timestamp_seconds":1790268455,"priority":1,"record_length":96,"hex_timestamp":"000001a0d450b858"} 
[2026-09-24 22:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308647424001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308647424001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:22:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:22:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308647424001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":194425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:22:34] local.INFO: GPS data processed {"connection_id":194425,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:22:34] local.INFO: Acknowledgment sent {"connection_id":194425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:22:44] local.INFO: TCP Data received {"connection_id":193125,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:22:44] local.INFO: Processing buffer {"connection_id":193125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:22:44] local.INFO: Packet analysis {"connection_id":193125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d453"} 
[2026-09-24 22:22:44] local.INFO: Extracted packet for processing {"connection_id":193125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d453"} 
[2026-09-24 22:22:44] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308696064001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:22:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790268645000,"timestamp_ms":1790268645000,"timestamp_seconds":1790268645,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4539e88"} 
[2026-09-24 22:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-24 22:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308696064001,"66":25854,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308696064001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:22:44] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:22:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308696064001,"power":25854,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":193125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892431,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:22:44] local.INFO: GPS data processed {"connection_id":193125,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:22:44] local.INFO: Acknowledgment sent {"connection_id":193125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:22:52] local.INFO: TCP Data received {"connection_id":191747,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:22:52] local.INFO: Processing buffer {"connection_id":191747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:22:52] local.INFO: Packet analysis {"connection_id":191747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d451"} 
[2026-09-24 22:22:52] local.INFO: Extracted packet for processing {"connection_id":191747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d451"} 
[2026-09-24 22:22:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308663040001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790268516000,"timestamp_ms":1790268516000,"timestamp_seconds":1790268516,"priority":1,"record_length":96,"hex_timestamp":"000001a0d451a6a0"} 
[2026-09-24 22:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308663040001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308663040001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:22:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:22:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308663040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":191747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:22:52] local.INFO: GPS data processed {"connection_id":191747,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:22:52] local.INFO: Acknowledgment sent {"connection_id":191747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:23:05] local.INFO: TCP Data received {"connection_id":194425,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:23:05] local.INFO: Processing buffer {"connection_id":194425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d450b858012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:23:05] local.INFO: Packet analysis {"connection_id":194425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d450"} 
[2026-09-24 22:23:05] local.INFO: Extracted packet for processing {"connection_id":194425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d450"} 
[2026-09-24 22:23:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308647424001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790268455000,"timestamp_ms":1790268455000,"timestamp_seconds":1790268455,"priority":1,"record_length":96,"hex_timestamp":"000001a0d450b858"} 
[2026-09-24 22:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:23: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-09-24 22:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308647424001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308647424001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:23:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:23:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308647424001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":194425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:23:05] local.INFO: GPS data processed {"connection_id":194425,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:23:05] local.INFO: Acknowledgment sent {"connection_id":194425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:23:06] local.INFO: TCP Data received {"connection_id":193126,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:23:06] local.INFO: Processing buffer {"connection_id":193126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:23:06] local.INFO: IMEI packet received {"connection_id":193126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":193126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:23:11] local.INFO: TCP Data received {"connection_id":193126,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:23:11] local.INFO: Processing buffer {"connection_id":193126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:23:11] local.INFO: IMEI packet received {"connection_id":193126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":193126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:23:12] local.INFO: TCP Data received {"connection_id":193126,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:23:12] local.INFO: Processing buffer {"connection_id":193126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:23:12] local.INFO: Packet analysis {"connection_id":193126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d453"} 
[2026-09-24 22:23:12] local.INFO: Extracted packet for processing {"connection_id":193126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d453"} 
[2026-09-24 22:23:12] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308696064001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:23:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790268645000,"timestamp_ms":1790268645000,"timestamp_seconds":1790268645,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4539e88"} 
[2026-09-24 22:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-24 22:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308696064001,"66":25854,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308696064001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:23:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:23:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308696064001,"power":25854,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":193126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892434,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:23:12] local.INFO: GPS data processed {"connection_id":193126,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:23:12] local.INFO: Acknowledgment sent {"connection_id":193126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:23:16] local.INFO: TCP Data received {"connection_id":191748,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:23:16] local.INFO: Processing buffer {"connection_id":191748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:23:16] local.INFO: IMEI packet received {"connection_id":191748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":191748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:23:20] local.INFO: TCP Data received {"connection_id":191748,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:23:20] local.INFO: Processing buffer {"connection_id":191748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:23:20] local.INFO: IMEI packet received {"connection_id":191748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":191748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:23:21] local.INFO: TCP Data received {"connection_id":191748,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:23:21] local.INFO: Processing buffer {"connection_id":191748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:23:21] local.INFO: Packet analysis {"connection_id":191748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d451"} 
[2026-09-24 22:23:21] local.INFO: Extracted packet for processing {"connection_id":191748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d451"} 
[2026-09-24 22:23:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308663040001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790268516000,"timestamp_ms":1790268516000,"timestamp_seconds":1790268516,"priority":1,"record_length":96,"hex_timestamp":"000001a0d451a6a0"} 
[2026-09-24 22:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308663040001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308663040001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:23:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:23:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308663040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":191748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:23:21] local.INFO: GPS data processed {"connection_id":191748,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:23:21] local.INFO: Acknowledgment sent {"connection_id":191748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:23:27] local.INFO: TCP Data received {"connection_id":193127,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:23:27] local.INFO: Processing buffer {"connection_id":193127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:23:27] local.INFO: IMEI packet received {"connection_id":193127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":193127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:23:32] local.INFO: TCP Data received {"connection_id":193127,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:23:32] local.INFO: Processing buffer {"connection_id":193127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:23:32] local.INFO: IMEI packet received {"connection_id":193127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":193127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:23:34] local.INFO: TCP Data received {"connection_id":193127,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:23:34] local.INFO: Processing buffer {"connection_id":193127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:23:34] local.INFO: Packet analysis {"connection_id":193127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d455"} 
[2026-09-24 22:23:34] local.INFO: Extracted packet for processing {"connection_id":193127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d455"} 
[2026-09-24 22:23:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308724480001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790268756000,"timestamp_ms":1790268756000,"timestamp_seconds":1790268756,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4555020"} 
[2026-09-24 22:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308724480001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308724480001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:23:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:23:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308724480001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":193127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:23:34] local.INFO: GPS data processed {"connection_id":193127,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:23:34] local.INFO: Acknowledgment sent {"connection_id":193127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:23:44] local.INFO: TCP Data received {"connection_id":193126,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:23:44] local.INFO: Processing buffer {"connection_id":193126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:23:44] local.INFO: Packet analysis {"connection_id":193126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d453"} 
[2026-09-24 22:23:44] local.INFO: Extracted packet for processing {"connection_id":193126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d453"} 
[2026-09-24 22:23:44] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308696064001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:23:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790268645000,"timestamp_ms":1790268645000,"timestamp_seconds":1790268645,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4539e88"} 
[2026-09-24 22:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-24 22:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308696064001,"66":25854,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308696064001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:23:44] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:23:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308696064001,"power":25854,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":193126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892437,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:23:44] local.INFO: GPS data processed {"connection_id":193126,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:23:44] local.INFO: Acknowledgment sent {"connection_id":193126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:23:52] local.INFO: TCP Data received {"connection_id":191748,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:23:52] local.INFO: Processing buffer {"connection_id":191748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d451a6a0012d196500071fef18003b004828..."} 
[2026-09-24 22:23:52] local.INFO: Packet analysis {"connection_id":191748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d451"} 
[2026-09-24 22:23:52] local.INFO: Extracted packet for processing {"connection_id":191748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d451"} 
[2026-09-24 22:23:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308663040001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790268516000,"timestamp_ms":1790268516000,"timestamp_seconds":1790268516,"priority":1,"record_length":96,"hex_timestamp":"000001a0d451a6a0"} 
[2026-09-24 22:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308663040001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308663040001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:23:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:23:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308663040001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":191748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:23:52] local.INFO: GPS data processed {"connection_id":191748,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:23:52] local.INFO: Acknowledgment sent {"connection_id":191748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:24:06] local.INFO: TCP Data received {"connection_id":193127,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:24:06] local.INFO: Processing buffer {"connection_id":193127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:24:06] local.INFO: Packet analysis {"connection_id":193127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d455"} 
[2026-09-24 22:24:06] local.INFO: Extracted packet for processing {"connection_id":193127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d455"} 
[2026-09-24 22:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308724480001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790268756000,"timestamp_ms":1790268756000,"timestamp_seconds":1790268756,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4555020"} 
[2026-09-24 22:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308724480001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308724480001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:24:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308724480001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":193127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:24:06] local.INFO: GPS data processed {"connection_id":193127,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:24:06] local.INFO: Acknowledgment sent {"connection_id":193127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:24:14] local.INFO: TCP Data received {"connection_id":191566,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:24:14] local.INFO: Processing buffer {"connection_id":191566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:24:14] local.INFO: IMEI packet received {"connection_id":191566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":191566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:24:15] local.INFO: TCP Data received {"connection_id":191566,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:24:15] local.INFO: Processing buffer {"connection_id":191566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:24:15] local.INFO: IMEI packet received {"connection_id":191566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":191566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:24:20] local.INFO: TCP Data received {"connection_id":191566,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:24:20] local.INFO: Processing buffer {"connection_id":191566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:24:20] local.INFO: IMEI packet received {"connection_id":191566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":191566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:24:21] local.INFO: TCP Data received {"connection_id":191566,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:24:21] local.INFO: Processing buffer {"connection_id":191566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:24:21] local.INFO: Packet analysis {"connection_id":191566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d456"} 
[2026-09-24 22:24:21] local.INFO: Extracted packet for processing {"connection_id":191566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d456"} 
[2026-09-24 22:24:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308740096001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790268817000,"timestamp_ms":1790268817000,"timestamp_seconds":1790268817,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4563e68"} 
[2026-09-24 22:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308740096001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308740096001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:24:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:24:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308740096001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":191566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:24:21] local.INFO: GPS data processed {"connection_id":191566,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:24:21] local.INFO: Acknowledgment sent {"connection_id":191566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:24:27] local.INFO: TCP Data received {"connection_id":191749,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:24:27] local.INFO: Processing buffer {"connection_id":191749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:24:27] local.INFO: IMEI packet received {"connection_id":191749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":191749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:24:30] local.INFO: TCP Data received {"connection_id":191565,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:24:30] local.INFO: Processing buffer {"connection_id":191565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:24:30] local.INFO: IMEI packet received {"connection_id":191565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":191565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:24:31] local.INFO: TCP Data received {"connection_id":191565,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:24:31] local.INFO: Processing buffer {"connection_id":191565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:24:31] local.INFO: IMEI packet received {"connection_id":191565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":191565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:24:32] local.INFO: TCP Data received {"connection_id":191565,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:24:32] local.INFO: Processing buffer {"connection_id":191565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:24:32] local.INFO: Packet analysis {"connection_id":191565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d453"} 
[2026-09-24 22:24:32] local.INFO: Extracted packet for processing {"connection_id":191565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d453"} 
[2026-09-24 22:24:32] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308696064001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:24:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790268645000,"timestamp_ms":1790268645000,"timestamp_seconds":1790268645,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4539e88"} 
[2026-09-24 22:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:24: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-09-24 22: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-24 22:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308696064001,"66":25854,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308696064001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:24:32] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:24:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308696064001,"power":25854,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":191565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892441,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:24:32] local.INFO: GPS data processed {"connection_id":191565,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:24:32] local.INFO: Acknowledgment sent {"connection_id":191565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:24:32] local.INFO: TCP Data received {"connection_id":191749,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:24:32] local.INFO: Processing buffer {"connection_id":191749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:24:32] local.INFO: IMEI packet received {"connection_id":191749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":191749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:24:33] local.INFO: TCP Data received {"connection_id":191565,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:24:33] local.INFO: Processing buffer {"connection_id":191565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:24:33] local.INFO: Packet analysis {"connection_id":191565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d453"} 
[2026-09-24 22:24:33] local.INFO: Extracted packet for processing {"connection_id":191565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d453"} 
[2026-09-24 22:24:33] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308696064001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:24:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790268645000,"timestamp_ms":1790268645000,"timestamp_seconds":1790268645,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4539e88"} 
[2026-09-24 22:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-24 22:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308696064001,"66":25854,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308696064001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:24:33] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:24:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308696064001,"power":25854,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":191565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892442,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:24:33] local.INFO: GPS data processed {"connection_id":191565,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:24:33] local.INFO: Acknowledgment sent {"connection_id":191565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:24:33] local.INFO: TCP Data received {"connection_id":191749,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:24:33] local.INFO: Processing buffer {"connection_id":191749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:24:33] local.INFO: Packet analysis {"connection_id":191749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d455"} 
[2026-09-24 22:24:33] local.INFO: Extracted packet for processing {"connection_id":191749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d455"} 
[2026-09-24 22:24:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308724480001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790268756000,"timestamp_ms":1790268756000,"timestamp_seconds":1790268756,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4555020"} 
[2026-09-24 22:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308724480001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308724480001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:24:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:24:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308724480001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":191749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:24:33] local.INFO: GPS data processed {"connection_id":191749,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:24:33] local.INFO: Acknowledgment sent {"connection_id":191749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:24:52] local.INFO: TCP Data received {"connection_id":191566,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:24:52] local.INFO: Processing buffer {"connection_id":191566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:24:52] local.INFO: Packet analysis {"connection_id":191566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d456"} 
[2026-09-24 22:24:52] local.INFO: Extracted packet for processing {"connection_id":191566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d456"} 
[2026-09-24 22:24:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308740096001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790268817000,"timestamp_ms":1790268817000,"timestamp_seconds":1790268817,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4563e68"} 
[2026-09-24 22:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308740096001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308740096001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:24:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:24:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308740096001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":191566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:24:52] local.INFO: GPS data processed {"connection_id":191566,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:24:52] local.INFO: Acknowledgment sent {"connection_id":191566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:25:05] local.INFO: TCP Data received {"connection_id":191749,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:25:05] local.INFO: Processing buffer {"connection_id":191749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:25:05] local.INFO: Packet analysis {"connection_id":191749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d455"} 
[2026-09-24 22:25:05] local.INFO: Extracted packet for processing {"connection_id":191749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d455"} 
[2026-09-24 22:25:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308724480001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790268756000,"timestamp_ms":1790268756000,"timestamp_seconds":1790268756,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4555020"} 
[2026-09-24 22:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308724480001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308724480001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:25:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:25:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308724480001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":191749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:25:05] local.INFO: GPS data processed {"connection_id":191749,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:25:05] local.INFO: Acknowledgment sent {"connection_id":191749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:25:06] local.INFO: TCP Data received {"connection_id":193128,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:25:06] local.INFO: Processing buffer {"connection_id":193128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:25:06] local.INFO: IMEI packet received {"connection_id":193128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":193128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:25:11] local.INFO: TCP Data received {"connection_id":193128,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:25:11] local.INFO: Processing buffer {"connection_id":193128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:25:11] local.INFO: IMEI packet received {"connection_id":193128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":193128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:25:12] local.INFO: TCP Data received {"connection_id":193128,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:25:12] local.INFO: Processing buffer {"connection_id":193128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:25:12] local.INFO: Packet analysis {"connection_id":193128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d453"} 
[2026-09-24 22:25:12] local.INFO: Extracted packet for processing {"connection_id":193128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d453"} 
[2026-09-24 22:25:12] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308696064001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:25:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790268645000,"timestamp_ms":1790268645000,"timestamp_seconds":1790268645,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4539e88"} 
[2026-09-24 22:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-24 22:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308696064001,"66":25854,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308696064001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:25:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:25:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308696064001,"power":25854,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":193128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892446,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:25:13] local.INFO: GPS data processed {"connection_id":193128,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:25:13] local.INFO: Acknowledgment sent {"connection_id":193128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:25:15] local.INFO: TCP Data received {"connection_id":191567,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:25:15] local.INFO: Processing buffer {"connection_id":191567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:25:15] local.INFO: IMEI packet received {"connection_id":191567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":191567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:25:20] local.INFO: TCP Data received {"connection_id":191567,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:25:20] local.INFO: Processing buffer {"connection_id":191567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:25:20] local.INFO: IMEI packet received {"connection_id":191567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":191567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:25:21] local.INFO: TCP Data received {"connection_id":191567,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:25:21] local.INFO: Processing buffer {"connection_id":191567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:25:21] local.INFO: Packet analysis {"connection_id":191567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d456"} 
[2026-09-24 22:25:21] local.INFO: Extracted packet for processing {"connection_id":191567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d456"} 
[2026-09-24 22:25:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 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-09-24 22:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308740096001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790268817000,"timestamp_ms":1790268817000,"timestamp_seconds":1790268817,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4563e68"} 
[2026-09-24 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-09-24 22:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 22:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308740096001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308740096001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:25:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:25:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308740096001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":191567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:25:21] local.INFO: GPS data processed {"connection_id":191567,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:25:21] local.INFO: Acknowledgment sent {"connection_id":191567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:25:27] local.INFO: TCP Data received {"connection_id":191750,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:25:27] local.INFO: Processing buffer {"connection_id":191750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:25:27] local.INFO: IMEI packet received {"connection_id":191750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":191750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:25:32] local.INFO: TCP Data received {"connection_id":191750,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:25:32] local.INFO: Processing buffer {"connection_id":191750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:25:32] local.INFO: IMEI packet received {"connection_id":191750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":191750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:25:33] local.INFO: TCP Data received {"connection_id":191750,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:25:33] local.INFO: Processing buffer {"connection_id":191750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:25:33] local.INFO: Packet analysis {"connection_id":191750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d455"} 
[2026-09-24 22:25:33] local.INFO: Extracted packet for processing {"connection_id":191750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d455"} 
[2026-09-24 22:25:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308724480001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790268756000,"timestamp_ms":1790268756000,"timestamp_seconds":1790268756,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4555020"} 
[2026-09-24 22:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308724480001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308724480001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:25:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:25:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308724480001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":191750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:25:33] local.INFO: GPS data processed {"connection_id":191750,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:25:33] local.INFO: Acknowledgment sent {"connection_id":191750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:25:44] local.INFO: TCP Data received {"connection_id":193128,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:25:44] local.INFO: Processing buffer {"connection_id":193128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:25:44] local.INFO: Packet analysis {"connection_id":193128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d453"} 
[2026-09-24 22:25:44] local.INFO: Extracted packet for processing {"connection_id":193128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d453"} 
[2026-09-24 22:25:44] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308696064001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:25:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790268645000,"timestamp_ms":1790268645000,"timestamp_seconds":1790268645,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4539e88"} 
[2026-09-24 22:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-24 22:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308696064001,"66":25854,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308696064001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:25:44] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:25:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308696064001,"power":25854,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":193128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892449,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:25:44] local.INFO: GPS data processed {"connection_id":193128,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:25:44] local.INFO: Acknowledgment sent {"connection_id":193128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:25:52] local.INFO: TCP Data received {"connection_id":191567,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:25:52] local.INFO: Processing buffer {"connection_id":191567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:25:52] local.INFO: Packet analysis {"connection_id":191567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d456"} 
[2026-09-24 22:25:52] local.INFO: Extracted packet for processing {"connection_id":191567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d456"} 
[2026-09-24 22:25:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308740096001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790268817000,"timestamp_ms":1790268817000,"timestamp_seconds":1790268817,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4563e68"} 
[2026-09-24 22:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308740096001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308740096001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:25:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:25:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308740096001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":191567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:25:52] local.INFO: GPS data processed {"connection_id":191567,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:25:52] local.INFO: Acknowledgment sent {"connection_id":191567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:26:05] local.INFO: TCP Data received {"connection_id":191750,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:26:05] local.INFO: Processing buffer {"connection_id":191750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:26:05] local.INFO: Packet analysis {"connection_id":191750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d455"} 
[2026-09-24 22:26:05] local.INFO: Extracted packet for processing {"connection_id":191750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d455"} 
[2026-09-24 22:26:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308724480001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790268756000,"timestamp_ms":1790268756000,"timestamp_seconds":1790268756,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4555020"} 
[2026-09-24 22:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308724480001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308724480001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:26:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:26:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308724480001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":191750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:26:05] local.INFO: GPS data processed {"connection_id":191750,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:26:05] local.INFO: Acknowledgment sent {"connection_id":191750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:26:11] local.INFO: TCP Data received {"connection_id":193129,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193129,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:26:11] local.INFO: Processing buffer {"connection_id":193129,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:26:11] local.INFO: IMEI packet received {"connection_id":193129,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":193129,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:26:15] local.INFO: TCP Data received {"connection_id":191568,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:26:15] local.INFO: Processing buffer {"connection_id":191568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:26:15] local.INFO: IMEI packet received {"connection_id":191568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":191568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:26:16] local.INFO: TCP Data received {"connection_id":193129,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193129,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:26:16] local.INFO: Processing buffer {"connection_id":193129,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:26:16] local.INFO: IMEI packet received {"connection_id":193129,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":193129,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:26:17] local.INFO: TCP Data received {"connection_id":193129,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:26:17] local.INFO: Processing buffer {"connection_id":193129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4539e88012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:26:17] local.INFO: Packet analysis {"connection_id":193129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d453"} 
[2026-09-24 22:26:17] local.INFO: Extracted packet for processing {"connection_id":193129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d453"} 
[2026-09-24 22:26:17] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308696064001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:26:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790268645000,"timestamp_ms":1790268645000,"timestamp_seconds":1790268645,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4539e88"} 
[2026-09-24 22:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-24 22:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":193129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":193129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":193129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308696064001,"66":25854,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308696064001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:26:17] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:26:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308696064001,"power":25854,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":193129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892452,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:26:17] local.INFO: GPS data processed {"connection_id":193129,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:26:17] local.INFO: Acknowledgment sent {"connection_id":193129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:26:20] local.INFO: TCP Data received {"connection_id":191568,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:26:20] local.INFO: Processing buffer {"connection_id":191568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:26:20] local.INFO: IMEI packet received {"connection_id":191568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":191568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:26:21] local.INFO: TCP Data received {"connection_id":191568,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:26:21] local.INFO: Processing buffer {"connection_id":191568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:26:21] local.INFO: Packet analysis {"connection_id":191568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d456"} 
[2026-09-24 22:26:21] local.INFO: Extracted packet for processing {"connection_id":191568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d456"} 
[2026-09-24 22:26:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308740096001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790268817000,"timestamp_ms":1790268817000,"timestamp_seconds":1790268817,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4563e68"} 
[2026-09-24 22:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308740096001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308740096001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:26:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:26:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308740096001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":191568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:26:21] local.INFO: GPS data processed {"connection_id":191568,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:26:21] local.INFO: Acknowledgment sent {"connection_id":191568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:26:27] local.INFO: TCP Data received {"connection_id":193130,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:26:27] local.INFO: Processing buffer {"connection_id":193130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:26:27] local.INFO: IMEI packet received {"connection_id":193130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":193130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:26:32] local.INFO: TCP Data received {"connection_id":193130,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:26:32] local.INFO: Processing buffer {"connection_id":193130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:26:32] local.INFO: IMEI packet received {"connection_id":193130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":193130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:26:34] local.INFO: TCP Data received {"connection_id":193130,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:26:34] local.INFO: Processing buffer {"connection_id":193130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:26:34] local.INFO: Packet analysis {"connection_id":193130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d455"} 
[2026-09-24 22:26:34] local.INFO: Extracted packet for processing {"connection_id":193130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d455"} 
[2026-09-24 22:26:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308724480001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790268756000,"timestamp_ms":1790268756000,"timestamp_seconds":1790268756,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4555020"} 
[2026-09-24 22:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308724480001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308724480001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:26:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:26:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308724480001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":193130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:26:34] local.INFO: GPS data processed {"connection_id":193130,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:26:34] local.INFO: Acknowledgment sent {"connection_id":193130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:26:49] local.INFO: TCP Data received {"connection_id":193129,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:26:49] local.INFO: Processing buffer {"connection_id":193129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:26:49] local.INFO: Packet analysis {"connection_id":193129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d458"} 
[2026-09-24 22:26:49] local.INFO: Extracted packet for processing {"connection_id":193129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d458"} 
[2026-09-24 22:26:49] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 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-09-24 22:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308773120001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:26:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790268946000,"timestamp_ms":1790268946000,"timestamp_seconds":1790268946,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4583650"} 
[2026-09-24 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-09-24 22:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 22:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 22:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":193129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":193129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":193129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308773120001,"66":25734,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308773120001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:26:49] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:26:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308773120001,"power":25734,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":193129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892455,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:26:49] local.INFO: GPS data processed {"connection_id":193129,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:26:49] local.INFO: Acknowledgment sent {"connection_id":193129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:26:52] local.INFO: TCP Data received {"connection_id":191568,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:26:52] local.INFO: Processing buffer {"connection_id":191568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:26:52] local.INFO: Packet analysis {"connection_id":191568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d456"} 
[2026-09-24 22:26:52] local.INFO: Extracted packet for processing {"connection_id":191568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d456"} 
[2026-09-24 22:26:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308740096001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790268817000,"timestamp_ms":1790268817000,"timestamp_seconds":1790268817,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4563e68"} 
[2026-09-24 22:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308740096001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308740096001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:26:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:26:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308740096001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":191568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:26:52] local.INFO: GPS data processed {"connection_id":191568,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:26:52] local.INFO: Acknowledgment sent {"connection_id":191568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:27:05] local.INFO: TCP Data received {"connection_id":193130,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:27:05] local.INFO: Processing buffer {"connection_id":193130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:27:05] local.INFO: Packet analysis {"connection_id":193130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d455"} 
[2026-09-24 22:27:05] local.INFO: Extracted packet for processing {"connection_id":193130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d455"} 
[2026-09-24 22:27:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308724480001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790268756000,"timestamp_ms":1790268756000,"timestamp_seconds":1790268756,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4555020"} 
[2026-09-24 22:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308724480001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308724480001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:27:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:27:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308724480001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":193130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:27:05] local.INFO: GPS data processed {"connection_id":193130,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:27:05] local.INFO: Acknowledgment sent {"connection_id":193130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:27:06] local.INFO: TCP Data received {"connection_id":191751,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:27:06] local.INFO: Processing buffer {"connection_id":191751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:27:06] local.INFO: IMEI packet received {"connection_id":191751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":191751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:27:11] local.INFO: TCP Data received {"connection_id":191751,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:27:11] local.INFO: Processing buffer {"connection_id":191751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:27:11] local.INFO: IMEI packet received {"connection_id":191751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":191751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:27:12] local.INFO: TCP Data received {"connection_id":191751,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:27:12] local.INFO: Processing buffer {"connection_id":191751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:27:12] local.INFO: Packet analysis {"connection_id":191751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d458"} 
[2026-09-24 22:27:12] local.INFO: Extracted packet for processing {"connection_id":191751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d458"} 
[2026-09-24 22:27:12] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308773120001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:27:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790268946000,"timestamp_ms":1790268946000,"timestamp_seconds":1790268946,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4583650"} 
[2026-09-24 22:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 22:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308773120001,"66":25734,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308773120001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:27:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:27:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308773120001,"power":25734,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":191751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892458,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:27:12] local.INFO: GPS data processed {"connection_id":191751,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:27:12] local.INFO: Acknowledgment sent {"connection_id":191751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:27:20] local.INFO: TCP Data received {"connection_id":191751,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:27:20] local.INFO: Processing buffer {"connection_id":191751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:27:20] local.INFO: Packet analysis {"connection_id":191751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d458"} 
[2026-09-24 22:27:20] local.INFO: Extracted packet for processing {"connection_id":191751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d458"} 
[2026-09-24 22:27:20] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 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-09-24 22:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308773120001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:27:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790268946000,"timestamp_ms":1790268946000,"timestamp_seconds":1790268946,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4583650"} 
[2026-09-24 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-09-24 22:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 22:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 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-09-24 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-09-24 22:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308773120001,"66":25734,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308773120001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:27:20] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:27:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308773120001,"power":25734,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":191751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892459,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:27:20] local.INFO: GPS data processed {"connection_id":191751,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:27:20] local.INFO: Acknowledgment sent {"connection_id":191751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:27:21] local.INFO: TCP Data received {"connection_id":194426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:27:21] local.INFO: Processing buffer {"connection_id":194426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:27:21] local.INFO: IMEI packet received {"connection_id":194426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":194426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:27:25] local.INFO: TCP Data received {"connection_id":194426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:27:25] local.INFO: Processing buffer {"connection_id":194426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:27:25] local.INFO: IMEI packet received {"connection_id":194426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":194426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:27:26] local.INFO: TCP Data received {"connection_id":194426,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:27:26] local.INFO: Processing buffer {"connection_id":194426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:27:26] local.INFO: Packet analysis {"connection_id":194426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d456"} 
[2026-09-24 22:27:26] local.INFO: Extracted packet for processing {"connection_id":194426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d456"} 
[2026-09-24 22:27:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:27: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-09-24 22:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308740096001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790268817000,"timestamp_ms":1790268817000,"timestamp_seconds":1790268817,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4563e68"} 
[2026-09-24 22:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:27: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-09-24 22:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":194426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":194426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":194426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308740096001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308740096001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:27:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:27:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308740096001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":194426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:27:26] local.INFO: GPS data processed {"connection_id":194426,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:27:26] local.INFO: Acknowledgment sent {"connection_id":194426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:27:31] local.INFO: TCP Data received {"connection_id":194426,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:27:31] local.INFO: Processing buffer {"connection_id":194426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:27:31] local.INFO: Packet analysis {"connection_id":194426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d456"} 
[2026-09-24 22:27:31] local.INFO: Extracted packet for processing {"connection_id":194426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d456"} 
[2026-09-24 22:27:31] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308740096001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790268817000,"timestamp_ms":1790268817000,"timestamp_seconds":1790268817,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4563e68"} 
[2026-09-24 22:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308740096001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308740096001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:27:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:27:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308740096001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":194426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:27:31] local.INFO: GPS data processed {"connection_id":194426,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:27:31] local.INFO: Acknowledgment sent {"connection_id":194426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:27:32] local.INFO: TCP Data received {"connection_id":194427,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:27:32] local.INFO: Processing buffer {"connection_id":194427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:27:32] local.INFO: IMEI packet received {"connection_id":194427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":194427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:27:37] local.INFO: TCP Data received {"connection_id":194427,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:27:37] local.INFO: Processing buffer {"connection_id":194427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:27:37] local.INFO: IMEI packet received {"connection_id":194427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":194427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:27:39] local.INFO: TCP Data received {"connection_id":194427,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:27:39] local.INFO: Processing buffer {"connection_id":194427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:27:39] local.INFO: Packet analysis {"connection_id":194427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d455"} 
[2026-09-24 22:27:39] local.INFO: Extracted packet for processing {"connection_id":194427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d455"} 
[2026-09-24 22:27:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308724480001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790268756000,"timestamp_ms":1790268756000,"timestamp_seconds":1790268756,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4555020"} 
[2026-09-24 22:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308724480001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308724480001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:27:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:27:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308724480001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":194427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:27:39] local.INFO: GPS data processed {"connection_id":194427,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:27:39] local.INFO: Acknowledgment sent {"connection_id":194427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:27:46] local.INFO: TCP Data received {"connection_id":194427,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:27:46] local.INFO: Processing buffer {"connection_id":194427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4555020012d34c14006aa4940000900f52a..."} 
[2026-09-24 22:27:46] local.INFO: Packet analysis {"connection_id":194427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d455"} 
[2026-09-24 22:27:46] local.INFO: Extracted packet for processing {"connection_id":194427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d455"} 
[2026-09-24 22:27:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308724480001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790268756000,"timestamp_ms":1790268756000,"timestamp_seconds":1790268756,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4555020"} 
[2026-09-24 22:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-24 22:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":194427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":194427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":194427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308724480001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308724480001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:27:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:27:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308724480001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":194427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:27:46] local.INFO: GPS data processed {"connection_id":194427,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:27:46] local.INFO: Acknowledgment sent {"connection_id":194427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:28:11] local.INFO: TCP Data received {"connection_id":191569,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:28:11] local.INFO: Processing buffer {"connection_id":191569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:28:11] local.INFO: IMEI packet received {"connection_id":191569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":191569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:28:15] local.INFO: TCP Data received {"connection_id":191570,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:28:15] local.INFO: Processing buffer {"connection_id":191570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:28:15] local.INFO: IMEI packet received {"connection_id":191570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":191570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:28:16] local.INFO: TCP Data received {"connection_id":191569,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:28:16] local.INFO: Processing buffer {"connection_id":191569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:28:16] local.INFO: IMEI packet received {"connection_id":191569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":191569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:28:17] local.INFO: TCP Data received {"connection_id":191569,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:28:17] local.INFO: Processing buffer {"connection_id":191569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:28:17] local.INFO: Packet analysis {"connection_id":191569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d458"} 
[2026-09-24 22:28:17] local.INFO: Extracted packet for processing {"connection_id":191569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d458"} 
[2026-09-24 22:28:17] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308773120001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:28:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790268946000,"timestamp_ms":1790268946000,"timestamp_seconds":1790268946,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4583650"} 
[2026-09-24 22:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 22:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308773120001,"66":25734,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308773120001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:28:17] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:28:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308773120001,"power":25734,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":191569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892464,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:28:17] local.INFO: GPS data processed {"connection_id":191569,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:28:17] local.INFO: Acknowledgment sent {"connection_id":191569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:28:20] local.INFO: TCP Data received {"connection_id":191570,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:28:20] local.INFO: Processing buffer {"connection_id":191570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:28:20] local.INFO: IMEI packet received {"connection_id":191570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":191570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:28:21] local.INFO: TCP Data received {"connection_id":191570,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:28:21] local.INFO: Processing buffer {"connection_id":191570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:28:21] local.INFO: Packet analysis {"connection_id":191570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d456"} 
[2026-09-24 22:28:21] local.INFO: Extracted packet for processing {"connection_id":191570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d456"} 
[2026-09-24 22:28:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308740096001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790268817000,"timestamp_ms":1790268817000,"timestamp_seconds":1790268817,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4563e68"} 
[2026-09-24 22:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308740096001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308740096001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:28:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:28:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308740096001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":191570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:28:21] local.INFO: GPS data processed {"connection_id":191570,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:28:21] local.INFO: Acknowledgment sent {"connection_id":191570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:28:27] local.INFO: TCP Data received {"connection_id":193131,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:28:27] local.INFO: Processing buffer {"connection_id":193131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:28:27] local.INFO: IMEI packet received {"connection_id":193131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":193131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:28:32] local.INFO: TCP Data received {"connection_id":193131,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:28:32] local.INFO: Processing buffer {"connection_id":193131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:28:32] local.INFO: IMEI packet received {"connection_id":193131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":193131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:28:33] local.INFO: TCP Data received {"connection_id":193131,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:28:33] local.INFO: Processing buffer {"connection_id":193131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:28:33] local.INFO: Packet analysis {"connection_id":193131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d459"} 
[2026-09-24 22:28:33] local.INFO: Extracted packet for processing {"connection_id":193131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d459"} 
[2026-09-24 22:28:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308801536001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790269057000,"timestamp_ms":1790269057000,"timestamp_seconds":1790269057,"priority":1,"record_length":96,"hex_timestamp":"000001a0d459e7e8"} 
[2026-09-24 22:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 22:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308801536001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308801536001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:28:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:28:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308801536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":193131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:28:33] local.INFO: GPS data processed {"connection_id":193131,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:28:33] local.INFO: Acknowledgment sent {"connection_id":193131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:28:49] local.INFO: TCP Data received {"connection_id":191569,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:28:49] local.INFO: Processing buffer {"connection_id":191569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:28:49] local.INFO: Packet analysis {"connection_id":191569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d458"} 
[2026-09-24 22:28:49] local.INFO: Extracted packet for processing {"connection_id":191569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d458"} 
[2026-09-24 22:28:49] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308773120001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:28:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790268946000,"timestamp_ms":1790268946000,"timestamp_seconds":1790268946,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4583650"} 
[2026-09-24 22:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 22:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308773120001,"66":25734,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308773120001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:28:49] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:28:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308773120001,"power":25734,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":191569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892467,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:28:49] local.INFO: GPS data processed {"connection_id":191569,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:28:49] local.INFO: Acknowledgment sent {"connection_id":191569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:28:52] local.INFO: TCP Data received {"connection_id":191570,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:28:52] local.INFO: Processing buffer {"connection_id":191570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4563e68012d196500071fef18003b004826..."} 
[2026-09-24 22:28:52] local.INFO: Packet analysis {"connection_id":191570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d456"} 
[2026-09-24 22:28:52] local.INFO: Extracted packet for processing {"connection_id":191570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d456"} 
[2026-09-24 22:28:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308740096001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790268817000,"timestamp_ms":1790268817000,"timestamp_seconds":1790268817,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4563e68"} 
[2026-09-24 22:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308740096001,"66":2144,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308740096001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:28:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:28:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308740096001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":191570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:28:52] local.INFO: GPS data processed {"connection_id":191570,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:28:52] local.INFO: Acknowledgment sent {"connection_id":191570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:29:05] local.INFO: TCP Data received {"connection_id":193131,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:29:05] local.INFO: Processing buffer {"connection_id":193131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:29:05] local.INFO: Packet analysis {"connection_id":193131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d459"} 
[2026-09-24 22:29:05] local.INFO: Extracted packet for processing {"connection_id":193131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d459"} 
[2026-09-24 22:29:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308801536001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790269057000,"timestamp_ms":1790269057000,"timestamp_seconds":1790269057,"priority":1,"record_length":96,"hex_timestamp":"000001a0d459e7e8"} 
[2026-09-24 22:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 22:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308801536001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308801536001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:29:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:29:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308801536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":193131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:29:05] local.INFO: GPS data processed {"connection_id":193131,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:29:05] local.INFO: Acknowledgment sent {"connection_id":193131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:29:06] local.INFO: TCP Data received {"connection_id":191571,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:29:06] local.INFO: Processing buffer {"connection_id":191571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:29:06] local.INFO: IMEI packet received {"connection_id":191571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":191571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:29:11] local.INFO: TCP Data received {"connection_id":191571,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:29:11] local.INFO: Processing buffer {"connection_id":191571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:29:11] local.INFO: IMEI packet received {"connection_id":191571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":191571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:29:12] local.INFO: TCP Data received {"connection_id":191571,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:29:12] local.INFO: Processing buffer {"connection_id":191571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:29:12] local.INFO: Packet analysis {"connection_id":191571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d458"} 
[2026-09-24 22:29:12] local.INFO: Extracted packet for processing {"connection_id":191571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d458"} 
[2026-09-24 22:29:12] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308773120001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:29:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790268946000,"timestamp_ms":1790268946000,"timestamp_seconds":1790268946,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4583650"} 
[2026-09-24 22:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 22:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308773120001,"66":25734,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308773120001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:29:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:29:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308773120001,"power":25734,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":191571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892470,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:29:12] local.INFO: GPS data processed {"connection_id":191571,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:29:12] local.INFO: Acknowledgment sent {"connection_id":191571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:29:15] local.INFO: TCP Data received {"connection_id":194428,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:29:15] local.INFO: Processing buffer {"connection_id":194428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:29:15] local.INFO: IMEI packet received {"connection_id":194428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":194428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:29:16] local.INFO: TCP Data received {"connection_id":194428,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:29:16] local.INFO: Processing buffer {"connection_id":194428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:29:16] local.INFO: IMEI packet received {"connection_id":194428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":194428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:29:21] local.INFO: TCP Data received {"connection_id":194428,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:29:21] local.INFO: Processing buffer {"connection_id":194428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:29:21] local.INFO: IMEI packet received {"connection_id":194428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":194428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:29:21] local.INFO: TCP Data received {"connection_id":194428,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:29:21] local.INFO: Processing buffer {"connection_id":194428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:29:21] local.INFO: Packet analysis {"connection_id":194428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45a"} 
[2026-09-24 22:29:21] local.INFO: Extracted packet for processing {"connection_id":194428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45a"} 
[2026-09-24 22:29:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308817152001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790269118000,"timestamp_ms":1790269118000,"timestamp_seconds":1790269118,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45ad630"} 
[2026-09-24 22:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308817152001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308817152001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:29:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:29:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308817152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":194428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:29:22] local.INFO: GPS data processed {"connection_id":194428,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:29:22] local.INFO: Acknowledgment sent {"connection_id":194428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:29:27] local.INFO: TCP Data received {"connection_id":194429,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:29:27] local.INFO: Processing buffer {"connection_id":194429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:29:27] local.INFO: IMEI packet received {"connection_id":194429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":194429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:29:32] local.INFO: TCP Data received {"connection_id":194429,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:29:32] local.INFO: Processing buffer {"connection_id":194429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:29:32] local.INFO: IMEI packet received {"connection_id":194429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":194429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:29:33] local.INFO: TCP Data received {"connection_id":194429,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:29:33] local.INFO: Processing buffer {"connection_id":194429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:29:33] local.INFO: Packet analysis {"connection_id":194429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d459"} 
[2026-09-24 22:29:33] local.INFO: Extracted packet for processing {"connection_id":194429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d459"} 
[2026-09-24 22:29:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308801536001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790269057000,"timestamp_ms":1790269057000,"timestamp_seconds":1790269057,"priority":1,"record_length":96,"hex_timestamp":"000001a0d459e7e8"} 
[2026-09-24 22:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 22:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:29:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308801536001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308801536001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:29:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:29:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308801536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":194429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:29:33] local.INFO: GPS data processed {"connection_id":194429,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:29:33] local.INFO: Acknowledgment sent {"connection_id":194429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:29:44] local.INFO: TCP Data received {"connection_id":191571,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:29:44] local.INFO: Processing buffer {"connection_id":191571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:29:44] local.INFO: Packet analysis {"connection_id":191571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d458"} 
[2026-09-24 22:29:44] local.INFO: Extracted packet for processing {"connection_id":191571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d458"} 
[2026-09-24 22:29:44] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308773120001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:29:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790268946000,"timestamp_ms":1790268946000,"timestamp_seconds":1790268946,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4583650"} 
[2026-09-24 22:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 22:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308773120001,"66":25734,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308773120001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:29:44] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:29:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308773120001,"power":25734,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":191571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892473,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:29:44] local.INFO: GPS data processed {"connection_id":191571,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:29:44] local.INFO: Acknowledgment sent {"connection_id":191571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:29:52] local.INFO: TCP Data received {"connection_id":194428,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:29:52] local.INFO: Processing buffer {"connection_id":194428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:29:52] local.INFO: Packet analysis {"connection_id":194428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45a"} 
[2026-09-24 22:29:52] local.INFO: Extracted packet for processing {"connection_id":194428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45a"} 
[2026-09-24 22:29:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308817152001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790269118000,"timestamp_ms":1790269118000,"timestamp_seconds":1790269118,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45ad630"} 
[2026-09-24 22:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":194428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":194428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":194428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308817152001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308817152001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:29:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:29:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308817152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":194428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:29:52] local.INFO: GPS data processed {"connection_id":194428,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:29:52] local.INFO: Acknowledgment sent {"connection_id":194428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:30:04] local.INFO: TCP Data received {"connection_id":194429,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:30:04] local.INFO: Processing buffer {"connection_id":194429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:30:04] local.INFO: Packet analysis {"connection_id":194429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d459"} 
[2026-09-24 22:30:04] local.INFO: Extracted packet for processing {"connection_id":194429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d459"} 
[2026-09-24 22:30:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308801536001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790269057000,"timestamp_ms":1790269057000,"timestamp_seconds":1790269057,"priority":1,"record_length":96,"hex_timestamp":"000001a0d459e7e8"} 
[2026-09-24 22:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 22:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308801536001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308801536001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:30:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:30:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308801536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":194429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:30:04] local.INFO: GPS data processed {"connection_id":194429,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:30:04] local.INFO: Acknowledgment sent {"connection_id":194429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:30:11] local.INFO: TCP Data received {"connection_id":193132,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:30:11] local.INFO: Processing buffer {"connection_id":193132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:30:11] local.INFO: IMEI packet received {"connection_id":193132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":193132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:30:15] local.INFO: TCP Data received {"connection_id":193133,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:30:15] local.INFO: Processing buffer {"connection_id":193133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:30:15] local.INFO: IMEI packet received {"connection_id":193133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":193133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:30:16] local.INFO: TCP Data received {"connection_id":193132,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:30:16] local.INFO: Processing buffer {"connection_id":193132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:30:16] local.INFO: IMEI packet received {"connection_id":193132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":193132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:30:17] local.INFO: TCP Data received {"connection_id":193132,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:30:17] local.INFO: Processing buffer {"connection_id":193132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:30:17] local.INFO: Packet analysis {"connection_id":193132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d458"} 
[2026-09-24 22:30:17] local.INFO: Extracted packet for processing {"connection_id":193132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d458"} 
[2026-09-24 22:30:17] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308773120001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:30:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790268946000,"timestamp_ms":1790268946000,"timestamp_seconds":1790268946,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4583650"} 
[2026-09-24 22:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 22:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":193132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":193132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":193132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308773120001,"66":25734,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308773120001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:30:17] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:30:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308773120001,"power":25734,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":193132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892476,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:30:17] local.INFO: GPS data processed {"connection_id":193132,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:30:17] local.INFO: Acknowledgment sent {"connection_id":193132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:30:20] local.INFO: TCP Data received {"connection_id":193133,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:30:20] local.INFO: Processing buffer {"connection_id":193133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:30:20] local.INFO: IMEI packet received {"connection_id":193133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":193133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:30:21] local.INFO: TCP Data received {"connection_id":193133,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:30:21] local.INFO: Processing buffer {"connection_id":193133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:30:21] local.INFO: Packet analysis {"connection_id":193133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45a"} 
[2026-09-24 22:30:21] local.INFO: Extracted packet for processing {"connection_id":193133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45a"} 
[2026-09-24 22:30:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308817152001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790269118000,"timestamp_ms":1790269118000,"timestamp_seconds":1790269118,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45ad630"} 
[2026-09-24 22:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308817152001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308817152001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:30:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:30:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308817152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":193133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:30:21] local.INFO: GPS data processed {"connection_id":193133,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:30:21] local.INFO: Acknowledgment sent {"connection_id":193133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:30:22] local.INFO: TCP Data received {"connection_id":193132,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:30:22] local.INFO: Processing buffer {"connection_id":193132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:30:22] local.INFO: Packet analysis {"connection_id":193132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d458"} 
[2026-09-24 22:30:22] local.INFO: Extracted packet for processing {"connection_id":193132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d458"} 
[2026-09-24 22:30:22] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308773120001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:30:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790268946000,"timestamp_ms":1790268946000,"timestamp_seconds":1790268946,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4583650"} 
[2026-09-24 22:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 22:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308773120001,"66":25734,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308773120001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:30:22] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:30:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308773120001,"power":25734,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":193132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892478,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:30:22] local.INFO: GPS data processed {"connection_id":193132,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:30:22] local.INFO: Acknowledgment sent {"connection_id":193132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:30:27] local.INFO: TCP Data received {"connection_id":191752,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:30:27] local.INFO: Processing buffer {"connection_id":191752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:30:27] local.INFO: IMEI packet received {"connection_id":191752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":191752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:30:32] local.INFO: TCP Data received {"connection_id":191752,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:30:32] local.INFO: Processing buffer {"connection_id":191752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:30:32] local.INFO: IMEI packet received {"connection_id":191752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":191752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:30:33] local.INFO: TCP Data received {"connection_id":191752,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:30:33] local.INFO: Processing buffer {"connection_id":191752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:30:33] local.INFO: Packet analysis {"connection_id":191752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d459"} 
[2026-09-24 22:30:33] local.INFO: Extracted packet for processing {"connection_id":191752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d459"} 
[2026-09-24 22:30:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308801536001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790269057000,"timestamp_ms":1790269057000,"timestamp_seconds":1790269057,"priority":1,"record_length":96,"hex_timestamp":"000001a0d459e7e8"} 
[2026-09-24 22:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 22:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308801536001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308801536001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:30:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:30:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308801536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":191752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:30:33] local.INFO: GPS data processed {"connection_id":191752,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:30:33] local.INFO: Acknowledgment sent {"connection_id":191752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:30:52] local.INFO: TCP Data received {"connection_id":193133,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:30:52] local.INFO: Processing buffer {"connection_id":193133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:30:52] local.INFO: Packet analysis {"connection_id":193133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45a"} 
[2026-09-24 22:30:52] local.INFO: Extracted packet for processing {"connection_id":193133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45a"} 
[2026-09-24 22:30:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308817152001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790269118000,"timestamp_ms":1790269118000,"timestamp_seconds":1790269118,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45ad630"} 
[2026-09-24 22:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":193133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":193133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":193133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308817152001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308817152001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:30:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:30:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308817152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":193133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:30:52] local.INFO: GPS data processed {"connection_id":193133,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:30:52] local.INFO: Acknowledgment sent {"connection_id":193133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:31:04] local.INFO: TCP Data received {"connection_id":191752,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:31:04] local.INFO: Processing buffer {"connection_id":191752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:31:04] local.INFO: Packet analysis {"connection_id":191752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d459"} 
[2026-09-24 22:31:04] local.INFO: Extracted packet for processing {"connection_id":191752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d459"} 
[2026-09-24 22:31:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308801536001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790269057000,"timestamp_ms":1790269057000,"timestamp_seconds":1790269057,"priority":1,"record_length":96,"hex_timestamp":"000001a0d459e7e8"} 
[2026-09-24 22:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:31: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-09-24 22:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 22:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308801536001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308801536001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:31:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:31:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308801536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":191752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:31:05] local.INFO: GPS data processed {"connection_id":191752,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:31:05] local.INFO: Acknowledgment sent {"connection_id":191752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:31:06] local.INFO: TCP Data received {"connection_id":191572,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:31:06] local.INFO: Processing buffer {"connection_id":191572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:31:06] local.INFO: IMEI packet received {"connection_id":191572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":191572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:31:11] local.INFO: TCP Data received {"connection_id":191572,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:31:11] local.INFO: Processing buffer {"connection_id":191572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:31:11] local.INFO: IMEI packet received {"connection_id":191572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":191572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:31:12] local.INFO: TCP Data received {"connection_id":191572,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:31:12] local.INFO: Processing buffer {"connection_id":191572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4583650012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:31:12] local.INFO: Packet analysis {"connection_id":191572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d458"} 
[2026-09-24 22:31:12] local.INFO: Extracted packet for processing {"connection_id":191572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d458"} 
[2026-09-24 22:31:12] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308773120001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:31:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790268946000,"timestamp_ms":1790268946000,"timestamp_seconds":1790268946,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4583650"} 
[2026-09-24 22:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-24 22:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308773120001,"66":25734,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308773120001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:31:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:31:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308773120001,"power":25734,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":191572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892482,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:31:12] local.INFO: GPS data processed {"connection_id":191572,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:31:12] local.INFO: Acknowledgment sent {"connection_id":191572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:31:15] local.INFO: TCP Data received {"connection_id":191753,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:31:15] local.INFO: Processing buffer {"connection_id":191753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:31:15] local.INFO: IMEI packet received {"connection_id":191753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":191753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:31:20] local.INFO: TCP Data received {"connection_id":191753,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:31:20] local.INFO: Processing buffer {"connection_id":191753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:31:20] local.INFO: IMEI packet received {"connection_id":191753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":191753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:31:21] local.INFO: TCP Data received {"connection_id":191753,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:31:21] local.INFO: Processing buffer {"connection_id":191753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:31:21] local.INFO: Packet analysis {"connection_id":191753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45a"} 
[2026-09-24 22:31:21] local.INFO: Extracted packet for processing {"connection_id":191753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45a"} 
[2026-09-24 22:31:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308817152001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790269118000,"timestamp_ms":1790269118000,"timestamp_seconds":1790269118,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45ad630"} 
[2026-09-24 22:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308817152001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308817152001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:31:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:31:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308817152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":191753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:31:21] local.INFO: GPS data processed {"connection_id":191753,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:31:21] local.INFO: Acknowledgment sent {"connection_id":191753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:31:27] local.INFO: TCP Data received {"connection_id":193134,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:31:27] local.INFO: Processing buffer {"connection_id":193134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:31:27] local.INFO: IMEI packet received {"connection_id":193134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":193134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:31:32] local.INFO: TCP Data received {"connection_id":193134,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:31:32] local.INFO: Processing buffer {"connection_id":193134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:31:32] local.INFO: IMEI packet received {"connection_id":193134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":193134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:31:33] local.INFO: TCP Data received {"connection_id":193134,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:31:33] local.INFO: Processing buffer {"connection_id":193134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:31:33] local.INFO: Packet analysis {"connection_id":193134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d459"} 
[2026-09-24 22:31:33] local.INFO: Extracted packet for processing {"connection_id":193134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d459"} 
[2026-09-24 22:31:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308801536001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790269057000,"timestamp_ms":1790269057000,"timestamp_seconds":1790269057,"priority":1,"record_length":96,"hex_timestamp":"000001a0d459e7e8"} 
[2026-09-24 22:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 22:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308801536001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308801536001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:31:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:31:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308801536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":193134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:31:33] local.INFO: GPS data processed {"connection_id":193134,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:31:33] local.INFO: Acknowledgment sent {"connection_id":193134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:31:44] local.INFO: TCP Data received {"connection_id":191572,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:31:44] local.INFO: Processing buffer {"connection_id":191572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:31:44] local.INFO: Packet analysis {"connection_id":191572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45c"} 
[2026-09-24 22:31:44] local.INFO: Extracted packet for processing {"connection_id":191572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45c"} 
[2026-09-24 22:31:44] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308850176001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:31:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790269247000,"timestamp_ms":1790269247000,"timestamp_seconds":1790269247,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45cce18"} 
[2026-09-24 22:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 22:31:44] 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-09-24 22:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308850176001,"66":25734,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308850176001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:31:44] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:31:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308850176001,"power":25734,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":191572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892485,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:31:44] local.INFO: GPS data processed {"connection_id":191572,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:31:44] local.INFO: Acknowledgment sent {"connection_id":191572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:31:52] local.INFO: TCP Data received {"connection_id":191753,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:31:52] local.INFO: Processing buffer {"connection_id":191753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:31:52] local.INFO: Packet analysis {"connection_id":191753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45a"} 
[2026-09-24 22:31:52] local.INFO: Extracted packet for processing {"connection_id":191753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45a"} 
[2026-09-24 22:31:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308817152001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790269118000,"timestamp_ms":1790269118000,"timestamp_seconds":1790269118,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45ad630"} 
[2026-09-24 22:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308817152001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308817152001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:31:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:31:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308817152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":191753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:31:52] local.INFO: GPS data processed {"connection_id":191753,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:31:52] local.INFO: Acknowledgment sent {"connection_id":191753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:32:05] local.INFO: TCP Data received {"connection_id":193134,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:32:05] local.INFO: Processing buffer {"connection_id":193134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:32:05] local.INFO: Packet analysis {"connection_id":193134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d459"} 
[2026-09-24 22:32:05] local.INFO: Extracted packet for processing {"connection_id":193134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d459"} 
[2026-09-24 22:32:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308801536001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790269057000,"timestamp_ms":1790269057000,"timestamp_seconds":1790269057,"priority":1,"record_length":96,"hex_timestamp":"000001a0d459e7e8"} 
[2026-09-24 22:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:32: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-09-24 22:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 22:32: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-09-24 22:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308801536001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308801536001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:32:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:32:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308801536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":193134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:32:05] local.INFO: GPS data processed {"connection_id":193134,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:32:05] local.INFO: Acknowledgment sent {"connection_id":193134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:32:06] local.INFO: TCP Data received {"connection_id":191573,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:32:06] local.INFO: Processing buffer {"connection_id":191573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:32:06] local.INFO: IMEI packet received {"connection_id":191573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":191573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:32:11] local.INFO: TCP Data received {"connection_id":191573,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:32:11] local.INFO: Processing buffer {"connection_id":191573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:32:11] local.INFO: IMEI packet received {"connection_id":191573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":191573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:32:12] local.INFO: TCP Data received {"connection_id":191573,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:32:12] local.INFO: Processing buffer {"connection_id":191573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:32:12] local.INFO: Packet analysis {"connection_id":191573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45c"} 
[2026-09-24 22:32:12] local.INFO: Extracted packet for processing {"connection_id":191573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45c"} 
[2026-09-24 22:32:12] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:32: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-09-24 22:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308850176001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:32:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790269247000,"timestamp_ms":1790269247000,"timestamp_seconds":1790269247,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45cce18"} 
[2026-09-24 22:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:32:12] local.INFO: IO Element 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-09-24 22:32:12] 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-09-24 22:32: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-09-24 22:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308850176001,"66":25734,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308850176001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:32:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:32:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308850176001,"power":25734,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":191573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892488,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:32:12] local.INFO: GPS data processed {"connection_id":191573,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:32:12] local.INFO: Acknowledgment sent {"connection_id":191573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:32:15] local.INFO: TCP Data received {"connection_id":191754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:32:15] local.INFO: Processing buffer {"connection_id":191754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:32:15] local.INFO: IMEI packet received {"connection_id":191754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":191754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:32:20] local.INFO: TCP Data received {"connection_id":191754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:32:20] local.INFO: Processing buffer {"connection_id":191754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:32:20] local.INFO: IMEI packet received {"connection_id":191754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":191754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:32:21] local.INFO: TCP Data received {"connection_id":191754,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:32:21] local.INFO: Processing buffer {"connection_id":191754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:32:21] local.INFO: Packet analysis {"connection_id":191754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45a"} 
[2026-09-24 22:32:21] local.INFO: Extracted packet for processing {"connection_id":191754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45a"} 
[2026-09-24 22:32:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308817152001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790269118000,"timestamp_ms":1790269118000,"timestamp_seconds":1790269118,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45ad630"} 
[2026-09-24 22:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308817152001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308817152001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:32:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:32:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308817152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":191754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:32:21] local.INFO: GPS data processed {"connection_id":191754,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:32:21] local.INFO: Acknowledgment sent {"connection_id":191754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:32:32] local.INFO: TCP Data received {"connection_id":194430,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:32:32] local.INFO: Processing buffer {"connection_id":194430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:32:32] local.INFO: IMEI packet received {"connection_id":194430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":194430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:32:37] local.INFO: TCP Data received {"connection_id":194430,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:32:37] local.INFO: Processing buffer {"connection_id":194430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:32:37] local.INFO: IMEI packet received {"connection_id":194430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":194430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:32:38] local.INFO: TCP Data received {"connection_id":194430,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:32:38] local.INFO: Processing buffer {"connection_id":194430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:32:38] local.INFO: Packet analysis {"connection_id":194430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d459"} 
[2026-09-24 22:32:38] local.INFO: Extracted packet for processing {"connection_id":194430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d459"} 
[2026-09-24 22:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308801536001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790269057000,"timestamp_ms":1790269057000,"timestamp_seconds":1790269057,"priority":1,"record_length":96,"hex_timestamp":"000001a0d459e7e8"} 
[2026-09-24 22:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 22:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308801536001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308801536001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:32:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308801536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":194430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:32:38] local.INFO: GPS data processed {"connection_id":194430,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:32:38] local.INFO: Acknowledgment sent {"connection_id":194430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:32:43] local.INFO: TCP Data received {"connection_id":194430,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:32:43] local.INFO: Processing buffer {"connection_id":194430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d459e7e8012d34c14006aa4940000900f529..."} 
[2026-09-24 22:32:43] local.INFO: Packet analysis {"connection_id":194430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d459"} 
[2026-09-24 22:32:43] local.INFO: Extracted packet for processing {"connection_id":194430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d459"} 
[2026-09-24 22:32:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308801536001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790269057000,"timestamp_ms":1790269057000,"timestamp_seconds":1790269057,"priority":1,"record_length":96,"hex_timestamp":"000001a0d459e7e8"} 
[2026-09-24 22:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 22:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":194430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":194430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":194430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308801536001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308801536001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:32:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:32:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308801536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":194430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:32:43] local.INFO: GPS data processed {"connection_id":194430,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:32:43] local.INFO: Acknowledgment sent {"connection_id":194430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:32:44] local.INFO: TCP Data received {"connection_id":191573,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:32:44] local.INFO: Processing buffer {"connection_id":191573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:32:44] local.INFO: Packet analysis {"connection_id":191573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45c"} 
[2026-09-24 22:32:44] local.INFO: Extracted packet for processing {"connection_id":191573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45c"} 
[2026-09-24 22:32:44] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308850176001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:32:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790269247000,"timestamp_ms":1790269247000,"timestamp_seconds":1790269247,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45cce18"} 
[2026-09-24 22:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 22:32:44] 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-09-24 22: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-09-24 22:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308850176001,"66":25734,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308850176001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:32:44] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:32:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308850176001,"power":25734,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":191573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892492,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:32:44] local.INFO: GPS data processed {"connection_id":191573,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:32:44] local.INFO: Acknowledgment sent {"connection_id":191573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:32:52] local.INFO: TCP Data received {"connection_id":191754,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:32:52] local.INFO: Processing buffer {"connection_id":191754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:32:52] local.INFO: Packet analysis {"connection_id":191754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45a"} 
[2026-09-24 22:32:52] local.INFO: Extracted packet for processing {"connection_id":191754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45a"} 
[2026-09-24 22:32:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308817152001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790269118000,"timestamp_ms":1790269118000,"timestamp_seconds":1790269118,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45ad630"} 
[2026-09-24 22:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308817152001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308817152001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:32:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:32:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308817152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":191754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:32:52] local.INFO: GPS data processed {"connection_id":191754,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:32:52] local.INFO: Acknowledgment sent {"connection_id":191754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:33:06] local.INFO: TCP Data received {"connection_id":191574,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:33:06] local.INFO: Processing buffer {"connection_id":191574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:33:06] local.INFO: IMEI packet received {"connection_id":191574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":191574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:33:11] local.INFO: TCP Data received {"connection_id":191574,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:33:11] local.INFO: Processing buffer {"connection_id":191574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:33:11] local.INFO: IMEI packet received {"connection_id":191574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":191574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:33:12] local.INFO: TCP Data received {"connection_id":191574,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:33:12] local.INFO: Processing buffer {"connection_id":191574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:33:12] local.INFO: Packet analysis {"connection_id":191574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45c"} 
[2026-09-24 22:33:12] local.INFO: Extracted packet for processing {"connection_id":191574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45c"} 
[2026-09-24 22:33:12] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308850176001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:33:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790269247000,"timestamp_ms":1790269247000,"timestamp_seconds":1790269247,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45cce18"} 
[2026-09-24 22:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 22:33:12] 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-09-24 22:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308850176001,"66":25734,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308850176001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:33:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:33:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308850176001,"power":25734,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":191574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892494,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:33:13] local.INFO: GPS data processed {"connection_id":191574,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:33:13] local.INFO: Acknowledgment sent {"connection_id":191574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:33:15] local.INFO: TCP Data received {"connection_id":193135,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:33:15] local.INFO: Processing buffer {"connection_id":193135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:33:15] local.INFO: IMEI packet received {"connection_id":193135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":193135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:33:20] local.INFO: TCP Data received {"connection_id":193135,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:33:20] local.INFO: Processing buffer {"connection_id":193135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:33:20] local.INFO: IMEI packet received {"connection_id":193135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":193135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:33:21] local.INFO: TCP Data received {"connection_id":193135,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:33:21] local.INFO: Processing buffer {"connection_id":193135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:33:21] local.INFO: Packet analysis {"connection_id":193135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45a"} 
[2026-09-24 22:33:21] local.INFO: Extracted packet for processing {"connection_id":193135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45a"} 
[2026-09-24 22:33:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308817152001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790269118000,"timestamp_ms":1790269118000,"timestamp_seconds":1790269118,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45ad630"} 
[2026-09-24 22:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308817152001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308817152001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:33:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:33:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308817152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":193135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:33:21] local.INFO: GPS data processed {"connection_id":193135,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:33:21] local.INFO: Acknowledgment sent {"connection_id":193135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:33:27] local.INFO: TCP Data received {"connection_id":194431,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:33:27] local.INFO: Processing buffer {"connection_id":194431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:33:27] local.INFO: IMEI packet received {"connection_id":194431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":194431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:33:32] local.INFO: TCP Data received {"connection_id":194431,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:33:32] local.INFO: Processing buffer {"connection_id":194431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:33:32] local.INFO: IMEI packet received {"connection_id":194431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":194431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:33:33] local.INFO: TCP Data received {"connection_id":194431,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:33:33] local.INFO: Processing buffer {"connection_id":194431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:33:33] local.INFO: Packet analysis {"connection_id":194431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45e"} 
[2026-09-24 22:33:33] local.INFO: Extracted packet for processing {"connection_id":194431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45e"} 
[2026-09-24 22:33:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308878592001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790269358000,"timestamp_ms":1790269358000,"timestamp_seconds":1790269358,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45e7fb0"} 
[2026-09-24 22:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 22:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308878592001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308878592001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:33:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:33:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308878592001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":194431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:33:33] local.INFO: GPS data processed {"connection_id":194431,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:33:33] local.INFO: Acknowledgment sent {"connection_id":194431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:33:45] local.INFO: TCP Data received {"connection_id":191574,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:33:45] local.INFO: Processing buffer {"connection_id":191574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:33:45] local.INFO: Packet analysis {"connection_id":191574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45c"} 
[2026-09-24 22:33:45] local.INFO: Extracted packet for processing {"connection_id":191574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45c"} 
[2026-09-24 22:33:45] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308850176001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:33:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790269247000,"timestamp_ms":1790269247000,"timestamp_seconds":1790269247,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45cce18"} 
[2026-09-24 22:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 22:33:45] 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-09-24 22:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308850176001,"66":25734,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308850176001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:33:45] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:33:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308850176001,"power":25734,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":191574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892497,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:33:45] local.INFO: GPS data processed {"connection_id":191574,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:33:45] local.INFO: Acknowledgment sent {"connection_id":191574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:33:52] local.INFO: TCP Data received {"connection_id":193135,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:33:52] local.INFO: Processing buffer {"connection_id":193135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45ad630012d196500071fef18003b004827..."} 
[2026-09-24 22:33:52] local.INFO: Packet analysis {"connection_id":193135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45a"} 
[2026-09-24 22:33:52] local.INFO: Extracted packet for processing {"connection_id":193135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45a"} 
[2026-09-24 22:33:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308817152001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790269118000,"timestamp_ms":1790269118000,"timestamp_seconds":1790269118,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45ad630"} 
[2026-09-24 22:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":193135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":193135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":193135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308817152001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308817152001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:33:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:33:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308817152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":193135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:33:52] local.INFO: GPS data processed {"connection_id":193135,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:33:52] local.INFO: Acknowledgment sent {"connection_id":193135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:34:05] local.INFO: TCP Data received {"connection_id":194431,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:34:05] local.INFO: Processing buffer {"connection_id":194431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:34:05] local.INFO: Packet analysis {"connection_id":194431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45e"} 
[2026-09-24 22:34:05] local.INFO: Extracted packet for processing {"connection_id":194431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45e"} 
[2026-09-24 22:34:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308878592001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790269358000,"timestamp_ms":1790269358000,"timestamp_seconds":1790269358,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45e7fb0"} 
[2026-09-24 22:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 22:34: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-09-24 22:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308878592001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308878592001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:34:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:34:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308878592001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":194431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:34:05] local.INFO: GPS data processed {"connection_id":194431,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:34:05] local.INFO: Acknowledgment sent {"connection_id":194431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:34:11] local.INFO: TCP Data received {"connection_id":191755,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:34:11] local.INFO: Processing buffer {"connection_id":191755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:34:11] local.INFO: IMEI packet received {"connection_id":191755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":191755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:34:15] local.INFO: TCP Data received {"connection_id":191575,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:34:15] local.INFO: Processing buffer {"connection_id":191575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:34:15] local.INFO: IMEI packet received {"connection_id":191575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":191575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:34:16] local.INFO: TCP Data received {"connection_id":191755,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:34:16] local.INFO: Processing buffer {"connection_id":191755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:34:16] local.INFO: IMEI packet received {"connection_id":191755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":191755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:34:16] local.INFO: TCP Data received {"connection_id":191575,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:34:16] local.INFO: Processing buffer {"connection_id":191575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:34:16] local.INFO: IMEI packet received {"connection_id":191575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":191575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:34:18] local.INFO: TCP Data received {"connection_id":191755,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:34:18] local.INFO: Processing buffer {"connection_id":191755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:34:18] local.INFO: Packet analysis {"connection_id":191755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45c"} 
[2026-09-24 22:34:18] local.INFO: Extracted packet for processing {"connection_id":191755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45c"} 
[2026-09-24 22:34:18] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308850176001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:34:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790269247000,"timestamp_ms":1790269247000,"timestamp_seconds":1790269247,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45cce18"} 
[2026-09-24 22:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 22:34:18] 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-09-24 22:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191755,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191755,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308850176001,"66":25734,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308850176001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:34:18] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:34:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308850176001,"power":25734,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":191755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892500,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:34:18] local.INFO: GPS data processed {"connection_id":191755,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:34:18] local.INFO: Acknowledgment sent {"connection_id":191755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:34:20] local.INFO: TCP Data received {"connection_id":191575,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:34:20] local.INFO: Processing buffer {"connection_id":191575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:34:20] local.INFO: IMEI packet received {"connection_id":191575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":191575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:34:21] local.INFO: TCP Data received {"connection_id":191575,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:34:21] local.INFO: Processing buffer {"connection_id":191575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:34:21] local.INFO: Packet analysis {"connection_id":191575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45f"} 
[2026-09-24 22:34:21] local.INFO: Extracted packet for processing {"connection_id":191575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45f"} 
[2026-09-24 22:34:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308894208001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790269419000,"timestamp_ms":1790269419000,"timestamp_seconds":1790269419,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45f6df8"} 
[2026-09-24 22:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 22:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308894208001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308894208001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:34:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:34:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308894208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":191575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:34:21] local.INFO: GPS data processed {"connection_id":191575,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:34:21] local.INFO: Acknowledgment sent {"connection_id":191575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:34:22] local.INFO: TCP Data received {"connection_id":191755,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:34:22] local.INFO: Processing buffer {"connection_id":191755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:34:22] local.INFO: Packet analysis {"connection_id":191755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45c"} 
[2026-09-24 22:34:22] local.INFO: Extracted packet for processing {"connection_id":191755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45c"} 
[2026-09-24 22:34:22] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308850176001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:34:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790269247000,"timestamp_ms":1790269247000,"timestamp_seconds":1790269247,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45cce18"} 
[2026-09-24 22:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 22:34:22] 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-09-24 22:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191755,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191755,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308850176001,"66":25734,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308850176001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:34:22] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:34:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308850176001,"power":25734,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":191755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892502,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:34:22] local.INFO: GPS data processed {"connection_id":191755,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:34:22] local.INFO: Acknowledgment sent {"connection_id":191755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:34:27] local.INFO: TCP Data received {"connection_id":194432,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:34:27] local.INFO: Processing buffer {"connection_id":194432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:34:27] local.INFO: IMEI packet received {"connection_id":194432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":194432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:34:32] local.INFO: TCP Data received {"connection_id":194432,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:34:32] local.INFO: Processing buffer {"connection_id":194432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:34:32] local.INFO: IMEI packet received {"connection_id":194432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":194432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:34:33] local.INFO: TCP Data received {"connection_id":194432,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:34:33] local.INFO: Processing buffer {"connection_id":194432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:34:33] local.INFO: Packet analysis {"connection_id":194432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45e"} 
[2026-09-24 22:34:33] local.INFO: Extracted packet for processing {"connection_id":194432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45e"} 
[2026-09-24 22:34:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308878592001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790269358000,"timestamp_ms":1790269358000,"timestamp_seconds":1790269358,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45e7fb0"} 
[2026-09-24 22:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 22:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308878592001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308878592001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:34:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:34:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308878592001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":194432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:34:33] local.INFO: GPS data processed {"connection_id":194432,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:34:33] local.INFO: Acknowledgment sent {"connection_id":194432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:34:52] local.INFO: TCP Data received {"connection_id":191575,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:34:52] local.INFO: Processing buffer {"connection_id":191575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:34:52] local.INFO: Packet analysis {"connection_id":191575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45f"} 
[2026-09-24 22:34:52] local.INFO: Extracted packet for processing {"connection_id":191575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45f"} 
[2026-09-24 22:34:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308894208001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790269419000,"timestamp_ms":1790269419000,"timestamp_seconds":1790269419,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45f6df8"} 
[2026-09-24 22:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 22:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308894208001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308894208001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:34:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:34:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308894208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":191575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:34:52] local.INFO: GPS data processed {"connection_id":191575,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:34:52] local.INFO: Acknowledgment sent {"connection_id":191575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:35:05] local.INFO: TCP Data received {"connection_id":194432,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:35:05] local.INFO: Processing buffer {"connection_id":194432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:35:05] local.INFO: Packet analysis {"connection_id":194432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45e"} 
[2026-09-24 22:35:05] local.INFO: Extracted packet for processing {"connection_id":194432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45e"} 
[2026-09-24 22:35:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308878592001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790269358000,"timestamp_ms":1790269358000,"timestamp_seconds":1790269358,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45e7fb0"} 
[2026-09-24 22:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 22:35: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-09-24 22: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-09-24 22:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308878592001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308878592001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:35:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:35:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308878592001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":194432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:35:05] local.INFO: GPS data processed {"connection_id":194432,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:35:05] local.INFO: Acknowledgment sent {"connection_id":194432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:35:06] local.INFO: TCP Data received {"connection_id":191756,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:35:06] local.INFO: Processing buffer {"connection_id":191756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:35:06] local.INFO: IMEI packet received {"connection_id":191756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":191756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:35:12] local.INFO: TCP Data received {"connection_id":191756,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:35:12] local.INFO: Processing buffer {"connection_id":191756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:35:12] local.INFO: IMEI packet received {"connection_id":191756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":191756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:35:14] local.INFO: TCP Data received {"connection_id":191756,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:35:14] local.INFO: Processing buffer {"connection_id":191756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:35:14] local.INFO: Packet analysis {"connection_id":191756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45c"} 
[2026-09-24 22:35:14] local.INFO: Extracted packet for processing {"connection_id":191756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45c"} 
[2026-09-24 22:35:14] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308850176001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:35:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790269247000,"timestamp_ms":1790269247000,"timestamp_seconds":1790269247,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45cce18"} 
[2026-09-24 22:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 22:35:14] 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-09-24 22:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308850176001,"66":25734,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308850176001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:35:14] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:35:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308850176001,"power":25734,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":191756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892506,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:35:14] local.INFO: GPS data processed {"connection_id":191756,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:35:14] local.INFO: Acknowledgment sent {"connection_id":191756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:35:15] local.INFO: TCP Data received {"connection_id":193136,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:35:15] local.INFO: Processing buffer {"connection_id":193136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:35:15] local.INFO: IMEI packet received {"connection_id":193136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":193136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:35:20] local.INFO: TCP Data received {"connection_id":193136,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:35:20] local.INFO: Processing buffer {"connection_id":193136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:35:20] local.INFO: IMEI packet received {"connection_id":193136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":193136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:35:21] local.INFO: TCP Data received {"connection_id":193136,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:35:21] local.INFO: Processing buffer {"connection_id":193136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:35:21] local.INFO: Packet analysis {"connection_id":193136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45f"} 
[2026-09-24 22:35:21] local.INFO: Extracted packet for processing {"connection_id":193136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45f"} 
[2026-09-24 22:35:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308894208001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790269419000,"timestamp_ms":1790269419000,"timestamp_seconds":1790269419,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45f6df8"} 
[2026-09-24 22:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 22:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308894208001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308894208001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:35:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:35:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308894208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":193136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:35:21] local.INFO: GPS data processed {"connection_id":193136,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:35:21] local.INFO: Acknowledgment sent {"connection_id":193136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:35:27] local.INFO: TCP Data received {"connection_id":193137,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:35:27] local.INFO: Processing buffer {"connection_id":193137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:35:27] local.INFO: IMEI packet received {"connection_id":193137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":193137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:35:32] local.INFO: TCP Data received {"connection_id":193137,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:35:32] local.INFO: Processing buffer {"connection_id":193137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:35:32] local.INFO: IMEI packet received {"connection_id":193137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":193137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:35:33] local.INFO: TCP Data received {"connection_id":193137,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:35:33] local.INFO: Processing buffer {"connection_id":193137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:35:33] local.INFO: Packet analysis {"connection_id":193137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45e"} 
[2026-09-24 22:35:33] local.INFO: Extracted packet for processing {"connection_id":193137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45e"} 
[2026-09-24 22:35:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308878592001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790269358000,"timestamp_ms":1790269358000,"timestamp_seconds":1790269358,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45e7fb0"} 
[2026-09-24 22:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 22:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308878592001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308878592001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:35:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:35:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308878592001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":193137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:35:33] local.INFO: GPS data processed {"connection_id":193137,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:35:33] local.INFO: Acknowledgment sent {"connection_id":193137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:35:46] local.INFO: TCP Data received {"connection_id":191756,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:35:46] local.INFO: Processing buffer {"connection_id":191756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:35:46] local.INFO: Packet analysis {"connection_id":191756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45c"} 
[2026-09-24 22:35:46] local.INFO: Extracted packet for processing {"connection_id":191756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45c"} 
[2026-09-24 22:35:46] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308850176001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:35:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790269247000,"timestamp_ms":1790269247000,"timestamp_seconds":1790269247,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45cce18"} 
[2026-09-24 22:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 22:35:46] 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-09-24 22:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308850176001,"66":25734,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308850176001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:35:46] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:35:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308850176001,"power":25734,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":191756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892509,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:35:47] local.INFO: GPS data processed {"connection_id":191756,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:35:47] local.INFO: Acknowledgment sent {"connection_id":191756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:35:52] local.INFO: TCP Data received {"connection_id":193136,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:35:52] local.INFO: Processing buffer {"connection_id":193136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:35:52] local.INFO: Packet analysis {"connection_id":193136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45f"} 
[2026-09-24 22:35:52] local.INFO: Extracted packet for processing {"connection_id":193136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45f"} 
[2026-09-24 22:35:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308894208001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790269419000,"timestamp_ms":1790269419000,"timestamp_seconds":1790269419,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45f6df8"} 
[2026-09-24 22:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 22:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":193136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":193136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":193136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308894208001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308894208001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:35:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:35:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308894208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":193136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:35:52] local.INFO: GPS data processed {"connection_id":193136,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:35:52] local.INFO: Acknowledgment sent {"connection_id":193136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:36:05] local.INFO: TCP Data received {"connection_id":193137,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:36:05] local.INFO: Processing buffer {"connection_id":193137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:36:05] local.INFO: Packet analysis {"connection_id":193137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45e"} 
[2026-09-24 22:36:05] local.INFO: Extracted packet for processing {"connection_id":193137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45e"} 
[2026-09-24 22:36:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308878592001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790269358000,"timestamp_ms":1790269358000,"timestamp_seconds":1790269358,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45e7fb0"} 
[2026-09-24 22:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 22:36: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-09-24 22: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-09-24 22:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308878592001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308878592001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:36:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:36:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308878592001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":193137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:36:05] local.INFO: GPS data processed {"connection_id":193137,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:36:05] local.INFO: Acknowledgment sent {"connection_id":193137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:36:06] local.INFO: TCP Data received {"connection_id":191757,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:36:06] local.INFO: Processing buffer {"connection_id":191757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:36:06] local.INFO: IMEI packet received {"connection_id":191757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":191757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:36:11] local.INFO: TCP Data received {"connection_id":191757,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:36:11] local.INFO: Processing buffer {"connection_id":191757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:36:11] local.INFO: IMEI packet received {"connection_id":191757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":191757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:36:12] local.INFO: TCP Data received {"connection_id":191757,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:36:12] local.INFO: Processing buffer {"connection_id":191757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45cce18012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:36:12] local.INFO: Packet analysis {"connection_id":191757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45c"} 
[2026-09-24 22:36:12] local.INFO: Extracted packet for processing {"connection_id":191757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45c"} 
[2026-09-24 22:36:12] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308850176001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:36:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790269247000,"timestamp_ms":1790269247000,"timestamp_seconds":1790269247,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45cce18"} 
[2026-09-24 22:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 22:36:12] 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-09-24 22:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191757,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191757,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308850176001,"66":25734,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308850176001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:36:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:36:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308850176001,"power":25734,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":191757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892512,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:36:12] local.INFO: GPS data processed {"connection_id":191757,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:36:12] local.INFO: Acknowledgment sent {"connection_id":191757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:36:15] local.INFO: TCP Data received {"connection_id":194433,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:36:15] local.INFO: Processing buffer {"connection_id":194433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:36:15] local.INFO: IMEI packet received {"connection_id":194433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":194433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:36:20] local.INFO: TCP Data received {"connection_id":194433,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:36:20] local.INFO: Processing buffer {"connection_id":194433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:36:20] local.INFO: IMEI packet received {"connection_id":194433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":194433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:36:21] local.INFO: TCP Data received {"connection_id":194433,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:36:21] local.INFO: Processing buffer {"connection_id":194433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:36:21] local.INFO: Packet analysis {"connection_id":194433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45f"} 
[2026-09-24 22:36:21] local.INFO: Extracted packet for processing {"connection_id":194433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45f"} 
[2026-09-24 22:36:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308894208001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790269419000,"timestamp_ms":1790269419000,"timestamp_seconds":1790269419,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45f6df8"} 
[2026-09-24 22:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 22:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308894208001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308894208001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:36:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:36:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308894208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":194433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:36:21] local.INFO: GPS data processed {"connection_id":194433,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:36:21] local.INFO: Acknowledgment sent {"connection_id":194433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:36:27] local.INFO: TCP Data received {"connection_id":191576,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:36:27] local.INFO: Processing buffer {"connection_id":191576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:36:27] local.INFO: IMEI packet received {"connection_id":191576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":191576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:36:32] local.INFO: TCP Data received {"connection_id":191576,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:36:32] local.INFO: Processing buffer {"connection_id":191576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:36:32] local.INFO: IMEI packet received {"connection_id":191576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":191576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:36:33] local.INFO: TCP Data received {"connection_id":191576,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:36:33] local.INFO: Processing buffer {"connection_id":191576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:36:33] local.INFO: Packet analysis {"connection_id":191576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45e"} 
[2026-09-24 22:36:33] local.INFO: Extracted packet for processing {"connection_id":191576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45e"} 
[2026-09-24 22:36:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308878592001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790269358000,"timestamp_ms":1790269358000,"timestamp_seconds":1790269358,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45e7fb0"} 
[2026-09-24 22:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 22:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308878592001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308878592001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:36:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:36:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308878592001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":191576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:36:33] local.INFO: GPS data processed {"connection_id":191576,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:36:33] local.INFO: Acknowledgment sent {"connection_id":191576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:36:45] local.INFO: TCP Data received {"connection_id":191757,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:36:45] local.INFO: Processing buffer {"connection_id":191757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:36:45] local.INFO: Packet analysis {"connection_id":191757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d461"} 
[2026-09-24 22:36:45] local.INFO: Extracted packet for processing {"connection_id":191757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d461"} 
[2026-09-24 22:36:45] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308927232001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:36:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790269548000,"timestamp_ms":1790269548000,"timestamp_seconds":1790269548,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46165e0"} 
[2026-09-24 22:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 22:36:45] 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-09-24 22:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191757,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191757,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308927232001,"66":25745,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308927232001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:36:45] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:36:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308927232001,"power":25745,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":191757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892515,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:36:45] local.INFO: GPS data processed {"connection_id":191757,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:36:45] local.INFO: Acknowledgment sent {"connection_id":191757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:36:52] local.INFO: TCP Data received {"connection_id":194433,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:36:52] local.INFO: Processing buffer {"connection_id":194433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:36:52] local.INFO: Packet analysis {"connection_id":194433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45f"} 
[2026-09-24 22:36:52] local.INFO: Extracted packet for processing {"connection_id":194433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45f"} 
[2026-09-24 22:36:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308894208001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790269419000,"timestamp_ms":1790269419000,"timestamp_seconds":1790269419,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45f6df8"} 
[2026-09-24 22:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 22:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":194433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":194433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":194433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308894208001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308894208001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:36:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:36:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308894208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":194433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:36:52] local.INFO: GPS data processed {"connection_id":194433,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:36:52] local.INFO: Acknowledgment sent {"connection_id":194433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:37:05] local.INFO: TCP Data received {"connection_id":191576,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:37:05] local.INFO: Processing buffer {"connection_id":191576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:37:05] local.INFO: Packet analysis {"connection_id":191576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45e"} 
[2026-09-24 22:37:05] local.INFO: Extracted packet for processing {"connection_id":191576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45e"} 
[2026-09-24 22:37:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308878592001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790269358000,"timestamp_ms":1790269358000,"timestamp_seconds":1790269358,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45e7fb0"} 
[2026-09-24 22:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 22:37: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-09-24 22: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-09-24 22:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308878592001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308878592001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:37:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:37:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308878592001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":191576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:37:05] local.INFO: GPS data processed {"connection_id":191576,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:37:05] local.INFO: Acknowledgment sent {"connection_id":191576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:37:06] local.INFO: TCP Data received {"connection_id":191758,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:37:06] local.INFO: Processing buffer {"connection_id":191758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:37:06] local.INFO: IMEI packet received {"connection_id":191758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":191758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:37:11] local.INFO: TCP Data received {"connection_id":191758,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:37:11] local.INFO: Processing buffer {"connection_id":191758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:37:11] local.INFO: IMEI packet received {"connection_id":191758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":191758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:37:13] local.INFO: TCP Data received {"connection_id":191758,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:37:13] local.INFO: Processing buffer {"connection_id":191758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:37:13] local.INFO: Packet analysis {"connection_id":191758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d461"} 
[2026-09-24 22:37:13] local.INFO: Extracted packet for processing {"connection_id":191758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d461"} 
[2026-09-24 22:37:13] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308927232001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:37:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790269548000,"timestamp_ms":1790269548000,"timestamp_seconds":1790269548,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46165e0"} 
[2026-09-24 22:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:37: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-09-24 22:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 22:37:13] 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-09-24 22:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308927232001,"66":25745,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308927232001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:37:13] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:37:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308927232001,"power":25745,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":191758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892518,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:37:13] local.INFO: GPS data processed {"connection_id":191758,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:37:13] local.INFO: Acknowledgment sent {"connection_id":191758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:37:16] local.INFO: TCP Data received {"connection_id":191577,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:37:16] local.INFO: Processing buffer {"connection_id":191577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:37:16] local.INFO: IMEI packet received {"connection_id":191577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":191577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:37:20] local.INFO: TCP Data received {"connection_id":191577,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:37:20] local.INFO: Processing buffer {"connection_id":191577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:37:20] local.INFO: IMEI packet received {"connection_id":191577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":191577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:37:21] local.INFO: TCP Data received {"connection_id":191577,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:37:21] local.INFO: Processing buffer {"connection_id":191577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:37:21] local.INFO: Packet analysis {"connection_id":191577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45f"} 
[2026-09-24 22:37:21] local.INFO: Extracted packet for processing {"connection_id":191577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45f"} 
[2026-09-24 22:37:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308894208001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790269419000,"timestamp_ms":1790269419000,"timestamp_seconds":1790269419,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45f6df8"} 
[2026-09-24 22:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 22:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308894208001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308894208001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:37:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:37:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308894208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":191577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:37:21] local.INFO: GPS data processed {"connection_id":191577,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:37:21] local.INFO: Acknowledgment sent {"connection_id":191577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:37:32] local.INFO: TCP Data received {"connection_id":194434,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:37:32] local.INFO: Processing buffer {"connection_id":194434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:37:32] local.INFO: IMEI packet received {"connection_id":194434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":194434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:37:38] local.INFO: TCP Data received {"connection_id":194434,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:37:38] local.INFO: Processing buffer {"connection_id":194434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:37:38] local.INFO: IMEI packet received {"connection_id":194434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":194434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:37:39] local.INFO: TCP Data received {"connection_id":194434,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:37:39] local.INFO: Processing buffer {"connection_id":194434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:37:39] local.INFO: Packet analysis {"connection_id":194434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45e"} 
[2026-09-24 22:37:39] local.INFO: Extracted packet for processing {"connection_id":194434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45e"} 
[2026-09-24 22:37:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308878592001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790269358000,"timestamp_ms":1790269358000,"timestamp_seconds":1790269358,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45e7fb0"} 
[2026-09-24 22:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 22:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308878592001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308878592001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:37:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:37:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308878592001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":194434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:37:39] local.INFO: GPS data processed {"connection_id":194434,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:37:39] local.INFO: Acknowledgment sent {"connection_id":194434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:37:43] local.INFO: TCP Data received {"connection_id":194434,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:37:43] local.INFO: Processing buffer {"connection_id":194434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45e7fb0012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:37:43] local.INFO: Packet analysis {"connection_id":194434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45e"} 
[2026-09-24 22:37:43] local.INFO: Extracted packet for processing {"connection_id":194434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45e"} 
[2026-09-24 22:37:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308878592001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790269358000,"timestamp_ms":1790269358000,"timestamp_seconds":1790269358,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45e7fb0"} 
[2026-09-24 22:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 22:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":194434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":194434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":194434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308878592001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308878592001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:37:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:37:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308878592001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":194434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:37:43] local.INFO: GPS data processed {"connection_id":194434,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:37:43] local.INFO: Acknowledgment sent {"connection_id":194434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:37:45] local.INFO: TCP Data received {"connection_id":191758,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:37:45] local.INFO: Processing buffer {"connection_id":191758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:37:45] local.INFO: Packet analysis {"connection_id":191758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d461"} 
[2026-09-24 22:37:45] local.INFO: Extracted packet for processing {"connection_id":191758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d461"} 
[2026-09-24 22:37:45] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308927232001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:37:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790269548000,"timestamp_ms":1790269548000,"timestamp_seconds":1790269548,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46165e0"} 
[2026-09-24 22:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 22:37:45] 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-09-24 22:37:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308927232001,"66":25745,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308927232001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:37:45] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:37:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308927232001,"power":25745,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":191758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892522,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:37:45] local.INFO: GPS data processed {"connection_id":191758,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:37:45] local.INFO: Acknowledgment sent {"connection_id":191758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:37:52] local.INFO: TCP Data received {"connection_id":191577,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:37:52] local.INFO: Processing buffer {"connection_id":191577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:37:52] local.INFO: Packet analysis {"connection_id":191577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45f"} 
[2026-09-24 22:37:52] local.INFO: Extracted packet for processing {"connection_id":191577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45f"} 
[2026-09-24 22:37:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308894208001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790269419000,"timestamp_ms":1790269419000,"timestamp_seconds":1790269419,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45f6df8"} 
[2026-09-24 22:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 22:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308894208001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308894208001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:37:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:37:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308894208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":191577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:37:52] local.INFO: GPS data processed {"connection_id":191577,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:37:52] local.INFO: Acknowledgment sent {"connection_id":191577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:38:06] local.INFO: TCP Data received {"connection_id":191759,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:38:06] local.INFO: Processing buffer {"connection_id":191759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:38:06] local.INFO: IMEI packet received {"connection_id":191759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":191759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:38:11] local.INFO: TCP Data received {"connection_id":191759,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:38:11] local.INFO: Processing buffer {"connection_id":191759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:38:11] local.INFO: IMEI packet received {"connection_id":191759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":191759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:38:12] local.INFO: TCP Data received {"connection_id":191759,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:38:12] local.INFO: Processing buffer {"connection_id":191759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:38:12] local.INFO: Packet analysis {"connection_id":191759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d461"} 
[2026-09-24 22:38:12] local.INFO: Extracted packet for processing {"connection_id":191759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d461"} 
[2026-09-24 22:38:12] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308927232001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:38:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790269548000,"timestamp_ms":1790269548000,"timestamp_seconds":1790269548,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46165e0"} 
[2026-09-24 22:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 22:38:12] 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-09-24 22:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308927232001,"66":25745,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308927232001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:38:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:38:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308927232001,"power":25745,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":191759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892524,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:38:12] local.INFO: GPS data processed {"connection_id":191759,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:38:12] local.INFO: Acknowledgment sent {"connection_id":191759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:38:16] local.INFO: TCP Data received {"connection_id":191760,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:38:16] local.INFO: Processing buffer {"connection_id":191760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:38:16] local.INFO: IMEI packet received {"connection_id":191760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":191760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:38:21] local.INFO: TCP Data received {"connection_id":191760,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:38:21] local.INFO: Processing buffer {"connection_id":191760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:38:21] local.INFO: IMEI packet received {"connection_id":191760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":191760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:38:21] local.INFO: TCP Data received {"connection_id":191760,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:38:21] local.INFO: Processing buffer {"connection_id":191760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:38:21] local.INFO: Packet analysis {"connection_id":191760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45f"} 
[2026-09-24 22:38:21] local.INFO: Extracted packet for processing {"connection_id":191760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45f"} 
[2026-09-24 22:38:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308894208001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790269419000,"timestamp_ms":1790269419000,"timestamp_seconds":1790269419,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45f6df8"} 
[2026-09-24 22:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 22:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308894208001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308894208001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:38:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:38:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308894208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":191760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:38:21] local.INFO: GPS data processed {"connection_id":191760,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:38:21] local.INFO: Acknowledgment sent {"connection_id":191760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:38:27] local.INFO: TCP Data received {"connection_id":194435,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:38:27] local.INFO: Processing buffer {"connection_id":194435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:38:27] local.INFO: IMEI packet received {"connection_id":194435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":194435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:38:32] local.INFO: TCP Data received {"connection_id":194435,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:38:32] local.INFO: Processing buffer {"connection_id":194435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:38:32] local.INFO: IMEI packet received {"connection_id":194435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":194435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:38:34] local.INFO: TCP Data received {"connection_id":194435,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:38:34] local.INFO: Processing buffer {"connection_id":194435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:38:34] local.INFO: Packet analysis {"connection_id":194435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d463"} 
[2026-09-24 22:38:34] local.INFO: Extracted packet for processing {"connection_id":194435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d463"} 
[2026-09-24 22:38:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308955648001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790269659000,"timestamp_ms":1790269659000,"timestamp_seconds":1790269659,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4631778"} 
[2026-09-24 22:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:38: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-09-24 22:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 22:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308955648001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308955648001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:38:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:38:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308955648001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":194435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:38:34] local.INFO: GPS data processed {"connection_id":194435,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:38:34] local.INFO: Acknowledgment sent {"connection_id":194435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:38:38] local.INFO: TCP Data received {"connection_id":194435,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:38:38] local.INFO: Processing buffer {"connection_id":194435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:38:38] local.INFO: Packet analysis {"connection_id":194435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d463"} 
[2026-09-24 22:38:38] local.INFO: Extracted packet for processing {"connection_id":194435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d463"} 
[2026-09-24 22:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308955648001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790269659000,"timestamp_ms":1790269659000,"timestamp_seconds":1790269659,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4631778"} 
[2026-09-24 22:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 22:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308955648001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308955648001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:38:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308955648001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":194435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:38:38] local.INFO: GPS data processed {"connection_id":194435,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:38:38] local.INFO: Acknowledgment sent {"connection_id":194435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:38:44] local.INFO: TCP Data received {"connection_id":191759,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:38:44] local.INFO: Processing buffer {"connection_id":191759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:38:44] local.INFO: Packet analysis {"connection_id":191759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d461"} 
[2026-09-24 22:38:44] local.INFO: Extracted packet for processing {"connection_id":191759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d461"} 
[2026-09-24 22:38:44] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308927232001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:38:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790269548000,"timestamp_ms":1790269548000,"timestamp_seconds":1790269548,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46165e0"} 
[2026-09-24 22:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 22:38:44] 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-09-24 22:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308927232001,"66":25745,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308927232001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:38:44] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:38:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308927232001,"power":25745,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":191759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892528,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:38:44] local.INFO: GPS data processed {"connection_id":191759,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:38:44] local.INFO: Acknowledgment sent {"connection_id":191759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:38:52] local.INFO: TCP Data received {"connection_id":191760,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:38:52] local.INFO: Processing buffer {"connection_id":191760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d45f6df8012d196500071fef18003b004828..."} 
[2026-09-24 22:38:52] local.INFO: Packet analysis {"connection_id":191760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d45f"} 
[2026-09-24 22:38:52] local.INFO: Extracted packet for processing {"connection_id":191760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d45f"} 
[2026-09-24 22:38:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308894208001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790269419000,"timestamp_ms":1790269419000,"timestamp_seconds":1790269419,"priority":1,"record_length":96,"hex_timestamp":"000001a0d45f6df8"} 
[2026-09-24 22:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 22:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308894208001,"66":2155,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308894208001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:38:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:38:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308894208001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":191760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:38:52] local.INFO: GPS data processed {"connection_id":191760,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:38:52] local.INFO: Acknowledgment sent {"connection_id":191760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:39:06] local.INFO: TCP Data received {"connection_id":194436,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:39:06] local.INFO: Processing buffer {"connection_id":194436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:39:06] local.INFO: IMEI packet received {"connection_id":194436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":194436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:39:09] local.INFO: TCP Data received {"connection_id":194435,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:39:09] local.INFO: Processing buffer {"connection_id":194435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:39:09] local.INFO: Packet analysis {"connection_id":194435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d463"} 
[2026-09-24 22:39:09] local.INFO: Extracted packet for processing {"connection_id":194435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d463"} 
[2026-09-24 22:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308955648001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790269659000,"timestamp_ms":1790269659000,"timestamp_seconds":1790269659,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4631778"} 
[2026-09-24 22:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:39: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-09-24 22:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 22:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":194435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":194435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":194435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308955648001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308955648001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:39:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308955648001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":194435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:39:09] local.INFO: GPS data processed {"connection_id":194435,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:39:09] local.INFO: Acknowledgment sent {"connection_id":194435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:39:11] local.INFO: TCP Data received {"connection_id":194436,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:39:11] local.INFO: Processing buffer {"connection_id":194436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:39:11] local.INFO: IMEI packet received {"connection_id":194436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":194436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:39:12] local.INFO: TCP Data received {"connection_id":194436,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:39:12] local.INFO: Processing buffer {"connection_id":194436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:39:12] local.INFO: Packet analysis {"connection_id":194436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d461"} 
[2026-09-24 22:39:12] local.INFO: Extracted packet for processing {"connection_id":194436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d461"} 
[2026-09-24 22:39:12] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308927232001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:39:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790269548000,"timestamp_ms":1790269548000,"timestamp_seconds":1790269548,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46165e0"} 
[2026-09-24 22:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 22:39:12] 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-09-24 22:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308927232001,"66":25745,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308927232001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:39:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:39:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308927232001,"power":25745,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":194436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892531,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:39:12] local.INFO: GPS data processed {"connection_id":194436,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:39:12] local.INFO: Acknowledgment sent {"connection_id":194436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:39:15] local.INFO: TCP Data received {"connection_id":193138,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:39:15] local.INFO: Processing buffer {"connection_id":193138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:39:15] local.INFO: IMEI packet received {"connection_id":193138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":193138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:39:18] local.INFO: TCP Data received {"connection_id":193138,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:39:18] local.INFO: Processing buffer {"connection_id":193138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:39:18] local.INFO: IMEI packet received {"connection_id":193138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":193138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:39:21] local.INFO: TCP Data received {"connection_id":193138,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:39:21] local.INFO: Processing buffer {"connection_id":193138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:39:21] local.INFO: IMEI packet received {"connection_id":193138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":193138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:39:21] local.INFO: TCP Data received {"connection_id":193138,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:39:21] local.INFO: Processing buffer {"connection_id":193138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:39:21] local.INFO: Packet analysis {"connection_id":193138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d464"} 
[2026-09-24 22:39:21] local.INFO: Extracted packet for processing {"connection_id":193138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d464"} 
[2026-09-24 22:39:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308971264001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790269720000,"timestamp_ms":1790269720000,"timestamp_seconds":1790269720,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46405c0"} 
[2026-09-24 22:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 22:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308971264001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308971264001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:39:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:39:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308971264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":193138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:39:21] local.INFO: GPS data processed {"connection_id":193138,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:39:21] local.INFO: Acknowledgment sent {"connection_id":193138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:39:27] local.INFO: TCP Data received {"connection_id":191761,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:39:27] local.INFO: Processing buffer {"connection_id":191761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:39:27] local.INFO: IMEI packet received {"connection_id":191761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":191761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:39:33] local.INFO: TCP Data received {"connection_id":191761,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:39:33] local.INFO: Processing buffer {"connection_id":191761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:39:33] local.INFO: IMEI packet received {"connection_id":191761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":191761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:39:37] local.INFO: TCP Data received {"connection_id":191761,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:39:37] local.INFO: Processing buffer {"connection_id":191761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:39:37] local.INFO: IMEI packet received {"connection_id":191761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":191761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:39:39] local.INFO: TCP Data received {"connection_id":191761,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:39:39] local.INFO: Processing buffer {"connection_id":191761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:39:39] local.INFO: Packet analysis {"connection_id":191761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d463"} 
[2026-09-24 22:39:39] local.INFO: Extracted packet for processing {"connection_id":191761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d463"} 
[2026-09-24 22:39:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308955648001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790269659000,"timestamp_ms":1790269659000,"timestamp_seconds":1790269659,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4631778"} 
[2026-09-24 22:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 22:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308955648001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308955648001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:39:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:39:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308955648001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":191761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:39:39] local.INFO: GPS data processed {"connection_id":191761,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:39:39] local.INFO: Acknowledgment sent {"connection_id":191761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:39:44] local.INFO: TCP Data received {"connection_id":194436,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:39:44] local.INFO: Processing buffer {"connection_id":194436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:39:44] local.INFO: Packet analysis {"connection_id":194436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d461"} 
[2026-09-24 22:39:44] local.INFO: Extracted packet for processing {"connection_id":194436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d461"} 
[2026-09-24 22:39:44] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308927232001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:39:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790269548000,"timestamp_ms":1790269548000,"timestamp_seconds":1790269548,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46165e0"} 
[2026-09-24 22:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 22:39:44] 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-09-24 22:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308927232001,"66":25745,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308927232001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:39:44] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:39:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308927232001,"power":25745,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":194436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892534,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:39:44] local.INFO: GPS data processed {"connection_id":194436,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:39:44] local.INFO: Acknowledgment sent {"connection_id":194436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:39:52] local.INFO: TCP Data received {"connection_id":193138,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:39:52] local.INFO: Processing buffer {"connection_id":193138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:39:52] local.INFO: Packet analysis {"connection_id":193138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d464"} 
[2026-09-24 22:39:52] local.INFO: Extracted packet for processing {"connection_id":193138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d464"} 
[2026-09-24 22:39:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308971264001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790269720000,"timestamp_ms":1790269720000,"timestamp_seconds":1790269720,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46405c0"} 
[2026-09-24 22:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 22:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":193138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":193138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":193138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308971264001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308971264001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:39:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:39:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308971264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":193138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:39:52] local.INFO: GPS data processed {"connection_id":193138,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:39:52] local.INFO: Acknowledgment sent {"connection_id":193138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:40:06] local.INFO: TCP Data received {"connection_id":193139,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:40:06] local.INFO: Processing buffer {"connection_id":193139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:40:06] local.INFO: IMEI packet received {"connection_id":193139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":193139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:40:10] local.INFO: TCP Data received {"connection_id":191761,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:40:10] local.INFO: Processing buffer {"connection_id":191761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:40:10] local.INFO: Packet analysis {"connection_id":191761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d463"} 
[2026-09-24 22:40:10] local.INFO: Extracted packet for processing {"connection_id":191761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d463"} 
[2026-09-24 22:40:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308955648001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790269659000,"timestamp_ms":1790269659000,"timestamp_seconds":1790269659,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4631778"} 
[2026-09-24 22:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 22:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308955648001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308955648001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:40:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:40:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308955648001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":191761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:40:10] local.INFO: GPS data processed {"connection_id":191761,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:40:10] local.INFO: Acknowledgment sent {"connection_id":191761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:40:11] local.INFO: TCP Data received {"connection_id":193139,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:40:11] local.INFO: Processing buffer {"connection_id":193139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:40:11] local.INFO: IMEI packet received {"connection_id":193139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":193139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:40:12] local.INFO: TCP Data received {"connection_id":193139,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:40:12] local.INFO: Processing buffer {"connection_id":193139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:40:12] local.INFO: Packet analysis {"connection_id":193139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d461"} 
[2026-09-24 22:40:12] local.INFO: Extracted packet for processing {"connection_id":193139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d461"} 
[2026-09-24 22:40:12] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308927232001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:40:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790269548000,"timestamp_ms":1790269548000,"timestamp_seconds":1790269548,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46165e0"} 
[2026-09-24 22:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 22:40:12] 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-09-24 22:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193139,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193139,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308927232001,"66":25745,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308927232001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:40:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:40:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308927232001,"power":25745,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":193139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892537,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:40:13] local.INFO: GPS data processed {"connection_id":193139,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:40:13] local.INFO: Acknowledgment sent {"connection_id":193139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:40:15] local.INFO: TCP Data received {"connection_id":191578,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:40:15] local.INFO: Processing buffer {"connection_id":191578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:40:15] local.INFO: IMEI packet received {"connection_id":191578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":191578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:40:20] local.INFO: TCP Data received {"connection_id":191578,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:40:20] local.INFO: Processing buffer {"connection_id":191578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:40:20] local.INFO: IMEI packet received {"connection_id":191578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":191578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:40:21] local.INFO: TCP Data received {"connection_id":191578,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:40:21] local.INFO: Processing buffer {"connection_id":191578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:40:21] local.INFO: Packet analysis {"connection_id":191578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d464"} 
[2026-09-24 22:40:21] local.INFO: Extracted packet for processing {"connection_id":191578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d464"} 
[2026-09-24 22:40:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308971264001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790269720000,"timestamp_ms":1790269720000,"timestamp_seconds":1790269720,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46405c0"} 
[2026-09-24 22:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 22:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308971264001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308971264001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:40:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:40:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308971264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":191578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:40:21] local.INFO: GPS data processed {"connection_id":191578,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:40:21] local.INFO: Acknowledgment sent {"connection_id":191578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:40:27] local.INFO: TCP Data received {"connection_id":194437,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:40:27] local.INFO: Processing buffer {"connection_id":194437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:40:27] local.INFO: IMEI packet received {"connection_id":194437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":194437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:40:32] local.INFO: TCP Data received {"connection_id":194437,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:40:32] local.INFO: Processing buffer {"connection_id":194437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:40:32] local.INFO: IMEI packet received {"connection_id":194437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":194437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:40:33] local.INFO: TCP Data received {"connection_id":194437,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:40:33] local.INFO: Processing buffer {"connection_id":194437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:40:33] local.INFO: Packet analysis {"connection_id":194437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d463"} 
[2026-09-24 22:40:33] local.INFO: Extracted packet for processing {"connection_id":194437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d463"} 
[2026-09-24 22:40:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308955648001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790269659000,"timestamp_ms":1790269659000,"timestamp_seconds":1790269659,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4631778"} 
[2026-09-24 22:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 22:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308955648001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308955648001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:40:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:40:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308955648001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":194437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:40:33] local.INFO: GPS data processed {"connection_id":194437,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:40:33] local.INFO: Acknowledgment sent {"connection_id":194437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:40:45] local.INFO: TCP Data received {"connection_id":193139,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:40:45] local.INFO: Processing buffer {"connection_id":193139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:40:45] local.INFO: Packet analysis {"connection_id":193139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d461"} 
[2026-09-24 22:40:45] local.INFO: Extracted packet for processing {"connection_id":193139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d461"} 
[2026-09-24 22:40:45] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308927232001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:40:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790269548000,"timestamp_ms":1790269548000,"timestamp_seconds":1790269548,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46165e0"} 
[2026-09-24 22:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 22:40:45] 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-09-24 22:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193139,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193139,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308927232001,"66":25745,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308927232001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:40:45] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:40:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308927232001,"power":25745,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":193139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892540,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:40:45] local.INFO: GPS data processed {"connection_id":193139,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:40:45] local.INFO: Acknowledgment sent {"connection_id":193139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:40:52] local.INFO: TCP Data received {"connection_id":191578,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:40:52] local.INFO: Processing buffer {"connection_id":191578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:40:52] local.INFO: Packet analysis {"connection_id":191578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d464"} 
[2026-09-24 22:40:52] local.INFO: Extracted packet for processing {"connection_id":191578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d464"} 
[2026-09-24 22:40:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308971264001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790269720000,"timestamp_ms":1790269720000,"timestamp_seconds":1790269720,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46405c0"} 
[2026-09-24 22:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 22:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308971264001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308971264001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:40:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:40:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308971264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":191578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:40:52] local.INFO: GPS data processed {"connection_id":191578,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:40:52] local.INFO: Acknowledgment sent {"connection_id":191578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:41:06] local.INFO: TCP Data received {"connection_id":194437,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:41:06] local.INFO: Processing buffer {"connection_id":194437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:41:06] local.INFO: Packet analysis {"connection_id":194437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d463"} 
[2026-09-24 22:41:06] local.INFO: Extracted packet for processing {"connection_id":194437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d463"} 
[2026-09-24 22:41:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308955648001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790269659000,"timestamp_ms":1790269659000,"timestamp_seconds":1790269659,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4631778"} 
[2026-09-24 22:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 22:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308955648001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308955648001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:41:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:41:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308955648001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":194437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:41:06] local.INFO: GPS data processed {"connection_id":194437,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:41:06] local.INFO: Acknowledgment sent {"connection_id":194437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:41:11] local.INFO: TCP Data received {"connection_id":194438,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194438,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:41:11] local.INFO: Processing buffer {"connection_id":194438,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:41:11] local.INFO: IMEI packet received {"connection_id":194438,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":194438,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:41:16] local.INFO: TCP Data received {"connection_id":194438,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194438,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:41:16] local.INFO: Processing buffer {"connection_id":194438,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:41:16] local.INFO: IMEI packet received {"connection_id":194438,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":194438,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:41:17] local.INFO: TCP Data received {"connection_id":194438,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:41:17] local.INFO: Processing buffer {"connection_id":194438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:41:17] local.INFO: Packet analysis {"connection_id":194438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d461"} 
[2026-09-24 22:41:17] local.INFO: Extracted packet for processing {"connection_id":194438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d461"} 
[2026-09-24 22:41:17] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308927232001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:41:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790269548000,"timestamp_ms":1790269548000,"timestamp_seconds":1790269548,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46165e0"} 
[2026-09-24 22:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 22:41:17] 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-09-24 22:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":194438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":194438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":194438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308927232001,"66":25745,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308927232001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:41:17] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:41:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308927232001,"power":25745,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":194438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892543,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:41:18] local.INFO: GPS data processed {"connection_id":194438,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:41:18] local.INFO: Acknowledgment sent {"connection_id":194438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:41:20] local.INFO: TCP Data received {"connection_id":191579,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:41:20] local.INFO: Processing buffer {"connection_id":191579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:41:20] local.INFO: IMEI packet received {"connection_id":191579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":191579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:41:23] local.INFO: TCP Data received {"connection_id":194438,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:41:23] local.INFO: Processing buffer {"connection_id":194438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46165e0012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:41:23] local.INFO: Packet analysis {"connection_id":194438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d461"} 
[2026-09-24 22:41:23] local.INFO: Extracted packet for processing {"connection_id":194438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d461"} 
[2026-09-24 22:41:23] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308927232001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:41:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790269548000,"timestamp_ms":1790269548000,"timestamp_seconds":1790269548,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46165e0"} 
[2026-09-24 22:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 22:41:23] 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-09-24 22: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-09-24 22:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308927232001,"66":25745,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308927232001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:41:23] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:41:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308927232001,"power":25745,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":194438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892544,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:41:23] local.INFO: GPS data processed {"connection_id":194438,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:41:23] local.INFO: Acknowledgment sent {"connection_id":194438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:41:26] local.INFO: TCP Data received {"connection_id":191579,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:41:26] local.INFO: Processing buffer {"connection_id":191579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:41:26] local.INFO: IMEI packet received {"connection_id":191579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":191579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:41:27] local.INFO: TCP Data received {"connection_id":191579,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:41:27] local.INFO: Processing buffer {"connection_id":191579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:41:27] local.INFO: Packet analysis {"connection_id":191579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d464"} 
[2026-09-24 22:41:27] local.INFO: Extracted packet for processing {"connection_id":191579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d464"} 
[2026-09-24 22:41:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308971264001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790269720000,"timestamp_ms":1790269720000,"timestamp_seconds":1790269720,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46405c0"} 
[2026-09-24 22:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 22:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308971264001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308971264001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:41:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:41:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308971264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":191579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:41:27] local.INFO: GPS data processed {"connection_id":191579,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:41:27] local.INFO: Acknowledgment sent {"connection_id":191579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:41:30] local.INFO: TCP Data received {"connection_id":191579,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:41:30] local.INFO: Processing buffer {"connection_id":191579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:41:30] local.INFO: Packet analysis {"connection_id":191579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d464"} 
[2026-09-24 22:41:30] local.INFO: Extracted packet for processing {"connection_id":191579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d464"} 
[2026-09-24 22:41:30] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308971264001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790269720000,"timestamp_ms":1790269720000,"timestamp_seconds":1790269720,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46405c0"} 
[2026-09-24 22:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 22:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":191579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":191579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":191579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308971264001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308971264001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:41:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:41:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308971264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":191579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:41:31] local.INFO: GPS data processed {"connection_id":191579,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:41:31] local.INFO: Acknowledgment sent {"connection_id":191579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:41:32] local.INFO: TCP Data received {"connection_id":191580,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:41:32] local.INFO: Processing buffer {"connection_id":191580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:41:32] local.INFO: IMEI packet received {"connection_id":191580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":191580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:41:37] local.INFO: TCP Data received {"connection_id":191580,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:41:37] local.INFO: Processing buffer {"connection_id":191580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:41:37] local.INFO: IMEI packet received {"connection_id":191580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":191580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:41:38] local.INFO: TCP Data received {"connection_id":191580,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:41:38] local.INFO: Processing buffer {"connection_id":191580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:41:38] local.INFO: Packet analysis {"connection_id":191580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d463"} 
[2026-09-24 22:41:38] local.INFO: Extracted packet for processing {"connection_id":191580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d463"} 
[2026-09-24 22:41:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308955648001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790269659000,"timestamp_ms":1790269659000,"timestamp_seconds":1790269659,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4631778"} 
[2026-09-24 22:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 22:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308955648001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308955648001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:41:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:41:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308955648001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":191580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:41:38] local.INFO: GPS data processed {"connection_id":191580,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:41:38] local.INFO: Acknowledgment sent {"connection_id":191580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:41:43] local.INFO: TCP Data received {"connection_id":191580,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:41:43] local.INFO: Processing buffer {"connection_id":191580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:41:43] local.INFO: Packet analysis {"connection_id":191580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d463"} 
[2026-09-24 22:41:43] local.INFO: Extracted packet for processing {"connection_id":191580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d463"} 
[2026-09-24 22:41:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308955648001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790269659000,"timestamp_ms":1790269659000,"timestamp_seconds":1790269659,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4631778"} 
[2026-09-24 22:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 22:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308955648001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308955648001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:41:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:41:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308955648001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":191580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:41:43] local.INFO: GPS data processed {"connection_id":191580,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:41:43] local.INFO: Acknowledgment sent {"connection_id":191580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:42:11] local.INFO: TCP Data received {"connection_id":191762,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191762,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:42:11] local.INFO: Processing buffer {"connection_id":191762,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:42:11] local.INFO: IMEI packet received {"connection_id":191762,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":191762,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:42:15] local.INFO: TCP Data received {"connection_id":191763,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:42:15] local.INFO: Processing buffer {"connection_id":191763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:42:15] local.INFO: IMEI packet received {"connection_id":191763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-24 22:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":191763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:42:16] local.INFO: TCP Data received {"connection_id":191762,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191762,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:42:16] local.INFO: Processing buffer {"connection_id":191762,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:42:16] local.INFO: IMEI packet received {"connection_id":191762,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":191762,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:42:17] local.INFO: TCP Data received {"connection_id":191762,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d465fda8012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d465fda8012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:42:17] local.INFO: Processing buffer {"connection_id":191762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d465fda8012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:42:17] local.INFO: Packet analysis {"connection_id":191762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d465"} 
[2026-09-24 22:42:17] local.INFO: Extracted packet for processing {"connection_id":191762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d465"} 
[2026-09-24 22:42:17] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309004288001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:42:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790269849000,"timestamp_ms":1790269849000,"timestamp_seconds":1790269849,"priority":1,"record_length":96,"hex_timestamp":"000001a0d465fda8"} 
[2026-09-24 22:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-24 22:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309004288001,"66":25734,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309004288001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:42:17] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:42:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309004288001,"power":25734,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":191762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892549,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:42:17] local.INFO: GPS data processed {"connection_id":191762,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:42:17] local.INFO: Acknowledgment sent {"connection_id":191762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:42:20] local.INFO: TCP Data received {"connection_id":191763,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:42:20] local.INFO: Processing buffer {"connection_id":191763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-24 22:42:20] local.INFO: IMEI packet received {"connection_id":191763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-24 22:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":191763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:42:21] local.INFO: TCP Data received {"connection_id":191763,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:42:21] local.INFO: Processing buffer {"connection_id":191763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:42:21] local.INFO: Packet analysis {"connection_id":191763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d464"} 
[2026-09-24 22:42:21] local.INFO: Extracted packet for processing {"connection_id":191763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d464"} 
[2026-09-24 22:42:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308971264001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790269720000,"timestamp_ms":1790269720000,"timestamp_seconds":1790269720,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46405c0"} 
[2026-09-24 22:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 22:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308971264001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308971264001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:42:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:42:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308971264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":191763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:42:21] local.INFO: GPS data processed {"connection_id":191763,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:42:21] local.INFO: Acknowledgment sent {"connection_id":191763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:42:27] local.INFO: TCP Data received {"connection_id":193140,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:42:27] local.INFO: Processing buffer {"connection_id":193140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:42:27] local.INFO: IMEI packet received {"connection_id":193140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":193140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:42:32] local.INFO: TCP Data received {"connection_id":193140,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:42:32] local.INFO: Processing buffer {"connection_id":193140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:42:32] local.INFO: IMEI packet received {"connection_id":193140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":193140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:42:35] local.INFO: TCP Data received {"connection_id":193140,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:42:35] local.INFO: Processing buffer {"connection_id":193140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:42:35] local.INFO: Packet analysis {"connection_id":193140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d463"} 
[2026-09-24 22:42:35] local.INFO: Extracted packet for processing {"connection_id":193140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d463"} 
[2026-09-24 22:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308955648001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790269659000,"timestamp_ms":1790269659000,"timestamp_seconds":1790269659,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4631778"} 
[2026-09-24 22:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 22:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308955648001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308955648001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:42:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:42:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308955648001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":193140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:42:35] local.INFO: GPS data processed {"connection_id":193140,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:42:35] local.INFO: Acknowledgment sent {"connection_id":193140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:42:49] local.INFO: TCP Data received {"connection_id":191762,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4665b68012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4665b68012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:42:49] local.INFO: Processing buffer {"connection_id":191762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4665b68012cee6dc00713dd00002500502b..."} 
[2026-09-24 22:42:49] local.INFO: Packet analysis {"connection_id":191762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d466"} 
[2026-09-24 22:42:49] local.INFO: Extracted packet for processing {"connection_id":191762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d466"} 
[2026-09-24 22:42:49] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":118742272,"longitude_deg":75.3823168,"latitude_deg":11.8742272,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"0713dd00","is_valid_coordinates":true} 
[2026-09-24 22:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309081344001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:42:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790269873000,"timestamp_ms":1790269873000,"timestamp_seconds":1790269873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4665b68"} 
[2026-09-24 22:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-24 22:42:49] 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-09-24 22:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309081344001,"66":25712,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309081344001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:42:49] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:42:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309081344001,"power":25712,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":191762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892552,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:42:50] local.INFO: GPS data processed {"connection_id":191762,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:42:50] local.INFO: Acknowledgment sent {"connection_id":191762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:42:52] local.INFO: TCP Data received {"connection_id":191763,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:42:52] local.INFO: Processing buffer {"connection_id":191763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46405c0012d196500071fef18003b004827..."} 
[2026-09-24 22:42:52] local.INFO: Packet analysis {"connection_id":191763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d464"} 
[2026-09-24 22:42:52] local.INFO: Extracted packet for processing {"connection_id":191763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d464"} 
[2026-09-24 22:42:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533336,"longitude_deg":75.6638976,"latitude_deg":11.9533336,"altitude":59,"angle":72,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-09-24 22:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308971264001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048276274053120,"note":"Value kept but may cause issues"} 
[2026-09-24 22:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196508672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790269720000,"timestamp_ms":1790269720000,"timestamp_seconds":1790269720,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46405c0"} 
[2026-09-24 22:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 22:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-24 22:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-24 22:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-24 22:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308971264001,"66":2166,"102":206,"83":41984,"24":0,"16":23048276274053120,"45":1829868854196508672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-24 22:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-24 22:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-24 22:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308971264001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:42:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-24 22:42:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-24 22:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048276274053120,"km_value":23048276274053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196508672,"description":"Unknown IO ID 45"} 
[2026-09-24 22:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308971264001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196508672}} 
[2026-09-24 22:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":191763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:42:52] local.INFO: GPS data processed {"connection_id":191763,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:42:52] local.INFO: Acknowledgment sent {"connection_id":191763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:43:06] local.INFO: TCP Data received {"connection_id":191764,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:43:06] local.INFO: Processing buffer {"connection_id":191764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:43:06] local.INFO: IMEI packet received {"connection_id":191764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":191764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:43:06] local.INFO: TCP Data received {"connection_id":193140,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:43:06] local.INFO: Processing buffer {"connection_id":193140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4631778012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:43:06] local.INFO: Packet analysis {"connection_id":193140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d463"} 
[2026-09-24 22:43:06] local.INFO: Extracted packet for processing {"connection_id":193140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d463"} 
[2026-09-24 22:43:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458308955648001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790269659000,"timestamp_ms":1790269659000,"timestamp_seconds":1790269659,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4631778"} 
[2026-09-24 22:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 22:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458308955648001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458308955648001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:43:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:43:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458308955648001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":193140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:43:06] local.INFO: GPS data processed {"connection_id":193140,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:43:06] local.INFO: Acknowledgment sent {"connection_id":193140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:43:11] local.INFO: TCP Data received {"connection_id":191764,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:43:11] local.INFO: Processing buffer {"connection_id":191764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:43:11] local.INFO: IMEI packet received {"connection_id":191764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":191764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:43:12] local.INFO: TCP Data received {"connection_id":191764,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d466c0f8012cee6d400713dd50002500502b..."} 
[2026-09-24 22:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d466c0f8012cee6d400713dd50002500502b..."} 
[2026-09-24 22:43:12] local.INFO: Processing buffer {"connection_id":191764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d466c0f8012cee6d400713dd50002500502b..."} 
[2026-09-24 22:43:12] local.INFO: Packet analysis {"connection_id":191764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d466"} 
[2026-09-24 22:43:12] local.INFO: Extracted packet for processing {"connection_id":191764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d466"} 
[2026-09-24 22:43:12] local.INFO: GPS Element Parsed {"raw_longitude":753823040,"raw_latitude":118742352,"longitude_deg":75.382304,"latitude_deg":11.8742352,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6d40","hex_latitude":"0713dd50","is_valid_coordinates":true} 
[2026-09-24 22:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309087488001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:43:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783590686720,"note":"Value kept but may cause issues"} 
[2026-09-24 22:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790269899000,"timestamp_ms":1790269899000,"timestamp_seconds":1790269899,"priority":1,"record_length":96,"hex_timestamp":"000001a0d466c0f8"} 
[2026-09-24 22:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-24 22:43:12] 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-09-24 22:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191764,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191764,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309087488001,"66":25647,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266144783590686720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309087488001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:43:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:43:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783590686720,"description":"Unknown IO ID 44"} 
[2026-09-24 22:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309087488001,"power":25647,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266144783590686720}} 
[2026-09-24 22:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":191764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892555,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:43:12] local.INFO: GPS data processed {"connection_id":191764,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:43:12] local.INFO: Acknowledgment sent {"connection_id":191764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:43:27] local.INFO: TCP Data received {"connection_id":191765,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:43:27] local.INFO: Processing buffer {"connection_id":191765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:43:27] local.INFO: IMEI packet received {"connection_id":191765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":191765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:43:32] local.INFO: TCP Data received {"connection_id":191765,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:43:32] local.INFO: Processing buffer {"connection_id":191765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:43:32] local.INFO: IMEI packet received {"connection_id":191765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":191765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:43:33] local.INFO: TCP Data received {"connection_id":191765,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:43:33] local.INFO: Processing buffer {"connection_id":191765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:43:33] local.INFO: Packet analysis {"connection_id":191765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:43:33] local.INFO: Extracted packet for processing {"connection_id":191765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:43:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309032704001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790269960000,"timestamp_ms":1790269960000,"timestamp_seconds":1790269960,"priority":1,"record_length":96,"hex_timestamp":"000001a0d467af40"} 
[2026-09-24 22:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309032704001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309032704001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:43:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:43:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309032704001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":191765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:43:33] local.INFO: GPS data processed {"connection_id":191765,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:43:33] local.INFO: Acknowledgment sent {"connection_id":191765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:43:43] local.INFO: TCP Data received {"connection_id":191764,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4671300012cee6d400713dd50002500502b..."} 
[2026-09-24 22:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4671300012cee6d400713dd50002500502b..."} 
[2026-09-24 22:43:43] local.INFO: Processing buffer {"connection_id":191764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4671300012cee6d400713dd50002500502b..."} 
[2026-09-24 22:43:43] local.INFO: Packet analysis {"connection_id":191764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:43:43] local.INFO: Extracted packet for processing {"connection_id":191764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:43:43] local.INFO: GPS Element Parsed {"raw_longitude":753823040,"raw_latitude":118742352,"longitude_deg":75.382304,"latitude_deg":11.8742352,"altitude":37,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2cee6d40","hex_latitude":"0713dd50","is_valid_coordinates":true} 
[2026-09-24 22:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309094144001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:43:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790269920000,"timestamp_ms":1790269920000,"timestamp_seconds":1790269920,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4671300"} 
[2026-09-24 22:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-24 22:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191764,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191764,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309094144001,"66":27745,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309094144001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:43:43] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:43:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309094144001,"power":27745,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":191764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892557,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:43:44] local.INFO: GPS data processed {"connection_id":191764,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:43:44] local.INFO: Acknowledgment sent {"connection_id":191764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:44:05] local.INFO: TCP Data received {"connection_id":191765,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:44:05] local.INFO: Processing buffer {"connection_id":191765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:44:05] local.INFO: Packet analysis {"connection_id":191765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:44:05] local.INFO: Extracted packet for processing {"connection_id":191765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:44:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309032704001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790269960000,"timestamp_ms":1790269960000,"timestamp_seconds":1790269960,"priority":1,"record_length":96,"hex_timestamp":"000001a0d467af40"} 
[2026-09-24 22:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309032704001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309032704001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:44:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:44:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309032704001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":191765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:44:05] local.INFO: GPS data processed {"connection_id":191765,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:44:05] local.INFO: Acknowledgment sent {"connection_id":191765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:44:06] local.INFO: TCP Data received {"connection_id":191581,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:44:06] local.INFO: Processing buffer {"connection_id":191581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:44:06] local.INFO: IMEI packet received {"connection_id":191581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":191581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:44:11] local.INFO: TCP Data received {"connection_id":191581,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:44:11] local.INFO: Processing buffer {"connection_id":191581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:44:11] local.INFO: IMEI packet received {"connection_id":191581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":191581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:44:13] local.INFO: TCP Data received {"connection_id":191581,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46745c8012cee6fc00713dcf00023005f2c..."} 
[2026-09-24 22:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46745c8012cee6fc00713dcf00023005f2c..."} 
[2026-09-24 22:44:13] local.INFO: Processing buffer {"connection_id":191581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46745c8012cee6fc00713dcf00023005f2c..."} 
[2026-09-24 22:44:13] local.INFO: Packet analysis {"connection_id":191581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:44:13] local.INFO: Extracted packet for processing {"connection_id":191581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:44:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":118742256,"longitude_deg":75.382368,"latitude_deg":11.8742256,"altitude":35,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"0713dcf0","is_valid_coordinates":true} 
[2026-09-24 22:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309099520001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:44:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266285521079021568,"note":"Value kept but may cause issues"} 
[2026-09-24 22:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790269933000,"timestamp_ms":1790269933000,"timestamp_seconds":1790269933,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46745c8"} 
[2026-09-24 22:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-24 22:44:13] 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-09-24 22:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191581,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191581,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309099520001,"66":28256,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1266285521079021568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309099520001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:44:13] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:44:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266285521079021568,"description":"Unknown IO ID 44"} 
[2026-09-24 22:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309099520001,"power":28256,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1266285521079021568}} 
[2026-09-24 22:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":191581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892559,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:44:13] local.INFO: GPS data processed {"connection_id":191581,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:44:13] local.INFO: Acknowledgment sent {"connection_id":191581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:44:27] local.INFO: TCP Data received {"connection_id":194439,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:44:27] local.INFO: Processing buffer {"connection_id":194439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:44:27] local.INFO: IMEI packet received {"connection_id":194439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":194439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:44:32] local.INFO: TCP Data received {"connection_id":194439,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:44:32] local.INFO: Processing buffer {"connection_id":194439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:44:32] local.INFO: IMEI packet received {"connection_id":194439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":194439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:44:34] local.INFO: TCP Data received {"connection_id":194439,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:44:34] local.INFO: Processing buffer {"connection_id":194439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:44:34] local.INFO: Packet analysis {"connection_id":194439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:44:34] local.INFO: Extracted packet for processing {"connection_id":194439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:44:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309032704001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790269960000,"timestamp_ms":1790269960000,"timestamp_seconds":1790269960,"priority":1,"record_length":96,"hex_timestamp":"000001a0d467af40"} 
[2026-09-24 22:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:44: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-09-24 22:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309032704001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309032704001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:44:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:44:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309032704001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":194439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:44:34] local.INFO: GPS data processed {"connection_id":194439,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:44:34] local.INFO: Acknowledgment sent {"connection_id":194439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:44:45] local.INFO: TCP Data received {"connection_id":191581,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46797d0012cee6fc00713dcf00023005f2c..."} 
[2026-09-24 22:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46797d0012cee6fc00713dcf00023005f2c..."} 
[2026-09-24 22:44:45] local.INFO: Processing buffer {"connection_id":191581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46797d0012cee6fc00713dcf00023005f2c..."} 
[2026-09-24 22:44:45] local.INFO: Packet analysis {"connection_id":191581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:44:45] local.INFO: Extracted packet for processing {"connection_id":191581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:44:45] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":118742256,"longitude_deg":75.382368,"latitude_deg":11.8742256,"altitude":35,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"0713dcf0","is_valid_coordinates":true} 
[2026-09-24 22:44: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-09-24 22:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309102848001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:44:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833637269504,"note":"Value kept but may cause issues"} 
[2026-09-24 22:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790269954000,"timestamp_ms":1790269954000,"timestamp_seconds":1790269954,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46797d0"} 
[2026-09-24 22:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:44: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":96,"data_length":795,"current_offset":136} 
[2026-09-24 22:44:45] 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-09-24 22:44: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-09-24 22:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191581,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191581,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309102848001,"66":28006,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1265581833637269504},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309102848001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:44:45] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:44:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833637269504,"description":"Unknown IO ID 44"} 
[2026-09-24 22:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309102848001,"power":28006,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1265581833637269504}} 
[2026-09-24 22:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":191581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892561,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:44:45] local.INFO: GPS data processed {"connection_id":191581,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:44:45] local.INFO: Acknowledgment sent {"connection_id":191581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:45:05] local.INFO: TCP Data received {"connection_id":194439,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:45:05] local.INFO: Processing buffer {"connection_id":194439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:45:05] local.INFO: Packet analysis {"connection_id":194439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:45:05] local.INFO: Extracted packet for processing {"connection_id":194439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309032704001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790269960000,"timestamp_ms":1790269960000,"timestamp_seconds":1790269960,"priority":1,"record_length":96,"hex_timestamp":"000001a0d467af40"} 
[2026-09-24 22:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:45: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-09-24 22: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-09-24 22:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309032704001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309032704001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:45:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:45:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309032704001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":194439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:45:05] local.INFO: GPS data processed {"connection_id":194439,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:45:05] local.INFO: Acknowledgment sent {"connection_id":194439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:45:15] local.INFO: TCP Data received {"connection_id":193141,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:45:15] local.INFO: Processing buffer {"connection_id":193141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:45:15] local.INFO: IMEI packet received {"connection_id":193141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":193141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:45:16] local.INFO: TCP Data received {"connection_id":193141,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:45:16] local.INFO: Processing buffer {"connection_id":193141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:45:16] local.INFO: IMEI packet received {"connection_id":193141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":193141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:45:21] local.INFO: TCP Data received {"connection_id":193141,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:45:21] local.INFO: Processing buffer {"connection_id":193141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:45:21] local.INFO: IMEI packet received {"connection_id":193141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":193141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:45:22] local.INFO: TCP Data received {"connection_id":193141,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d467e9d8012cee6fc00713dcf00023005f2c..."} 
[2026-09-24 22:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d467e9d8012cee6fc00713dcf00023005f2c..."} 
[2026-09-24 22:45:22] local.INFO: Processing buffer {"connection_id":193141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d467e9d8012cee6fc00713dcf00023005f2c..."} 
[2026-09-24 22:45:22] local.INFO: Packet analysis {"connection_id":193141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:45:22] local.INFO: Extracted packet for processing {"connection_id":193141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:45:22] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":118742256,"longitude_deg":75.382368,"latitude_deg":11.8742256,"altitude":35,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"0713dcf0","is_valid_coordinates":true} 
[2026-09-24 22:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309108224001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:45:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833637269504,"note":"Value kept but may cause issues"} 
[2026-09-24 22:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790269975000,"timestamp_ms":1790269975000,"timestamp_seconds":1790269975,"priority":1,"record_length":96,"hex_timestamp":"000001a0d467e9d8"} 
[2026-09-24 22:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 22:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309108224001,"66":27876,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1265581833637269504},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309108224001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:45:22] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:45:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833637269504,"description":"Unknown IO ID 44"} 
[2026-09-24 22:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309108224001,"power":27876,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1265581833637269504}} 
[2026-09-24 22:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":193141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892563,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:45:22] local.INFO: GPS data processed {"connection_id":193141,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:45:22] local.INFO: Acknowledgment sent {"connection_id":193141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:45:27] local.INFO: TCP Data received {"connection_id":191582,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:45:27] local.INFO: Processing buffer {"connection_id":191582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:45:27] local.INFO: IMEI packet received {"connection_id":191582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":191582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:45:32] local.INFO: TCP Data received {"connection_id":191582,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:45:32] local.INFO: Processing buffer {"connection_id":191582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:45:32] local.INFO: IMEI packet received {"connection_id":191582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":191582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:45:34] local.INFO: TCP Data received {"connection_id":191582,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:45:34] local.INFO: Processing buffer {"connection_id":191582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:45:34] local.INFO: Packet analysis {"connection_id":191582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:45:34] local.INFO: Extracted packet for processing {"connection_id":191582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:45:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309032704001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790269960000,"timestamp_ms":1790269960000,"timestamp_seconds":1790269960,"priority":1,"record_length":96,"hex_timestamp":"000001a0d467af40"} 
[2026-09-24 22:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:45: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-09-24 22:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309032704001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309032704001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:45:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:45:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309032704001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":191582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:45:34] local.INFO: GPS data processed {"connection_id":191582,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:45:34] local.INFO: Acknowledgment sent {"connection_id":191582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:46:05] local.INFO: TCP Data received {"connection_id":191582,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:46:05] local.INFO: Processing buffer {"connection_id":191582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:46:05] local.INFO: Packet analysis {"connection_id":191582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:46:05] local.INFO: Extracted packet for processing {"connection_id":191582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:46:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309032704001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790269960000,"timestamp_ms":1790269960000,"timestamp_seconds":1790269960,"priority":1,"record_length":96,"hex_timestamp":"000001a0d467af40"} 
[2026-09-24 22:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:46: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-09-24 22:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309032704001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309032704001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:46:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:46:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309032704001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":191582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:46:05] local.INFO: GPS data processed {"connection_id":191582,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:46:05] local.INFO: Acknowledgment sent {"connection_id":191582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:46:06] local.INFO: TCP Data received {"connection_id":191583,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:46:06] local.INFO: Processing buffer {"connection_id":191583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:46:06] local.INFO: IMEI packet received {"connection_id":191583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":191583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:46:11] local.INFO: TCP Data received {"connection_id":191583,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:46:11] local.INFO: Processing buffer {"connection_id":191583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:46:11] local.INFO: IMEI packet received {"connection_id":191583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":191583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:46:12] local.INFO: TCP Data received {"connection_id":191583,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4683be0012cee6fc00713dcf00023005f2c..."} 
[2026-09-24 22:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4683be0012cee6fc00713dcf00023005f2c..."} 
[2026-09-24 22:46:12] local.INFO: Processing buffer {"connection_id":191583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4683be0012cee6fc00713dcf00023005f2c..."} 
[2026-09-24 22:46:12] local.INFO: Packet analysis {"connection_id":191583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d468"} 
[2026-09-24 22:46:12] local.INFO: Extracted packet for processing {"connection_id":191583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d468"} 
[2026-09-24 22:46:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":118742256,"longitude_deg":75.382368,"latitude_deg":11.8742256,"altitude":35,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"0713dcf0","is_valid_coordinates":true} 
[2026-09-24 22:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309113600001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:46:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833637269504,"note":"Value kept but may cause issues"} 
[2026-09-24 22:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790269996000,"timestamp_ms":1790269996000,"timestamp_seconds":1790269996,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4683be0"} 
[2026-09-24 22:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 22:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309113600001,"66":27430,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1265581833637269504},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309113600001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:46:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:46:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833637269504,"description":"Unknown IO ID 44"} 
[2026-09-24 22:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309113600001,"power":27430,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1265581833637269504}} 
[2026-09-24 22:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":191583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892566,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:46:12] local.INFO: GPS data processed {"connection_id":191583,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:46:12] local.INFO: Acknowledgment sent {"connection_id":191583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:46:32] local.INFO: TCP Data received {"connection_id":193142,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:46:32] local.INFO: Processing buffer {"connection_id":193142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:46:32] local.INFO: IMEI packet received {"connection_id":193142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":193142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:46:37] local.INFO: TCP Data received {"connection_id":193142,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:46:37] local.INFO: Processing buffer {"connection_id":193142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:46:37] local.INFO: IMEI packet received {"connection_id":193142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":193142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:46:39] local.INFO: TCP Data received {"connection_id":193142,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:46:39] local.INFO: Processing buffer {"connection_id":193142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:46:39] local.INFO: Packet analysis {"connection_id":193142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:46:39] local.INFO: Extracted packet for processing {"connection_id":193142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:46:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309032704001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790269960000,"timestamp_ms":1790269960000,"timestamp_seconds":1790269960,"priority":1,"record_length":96,"hex_timestamp":"000001a0d467af40"} 
[2026-09-24 22:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309032704001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309032704001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:46:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:46:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309032704001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":193142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:46:39] local.INFO: GPS data processed {"connection_id":193142,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:46:39] local.INFO: Acknowledgment sent {"connection_id":193142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:46:44] local.INFO: TCP Data received {"connection_id":193142,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:46:44] local.INFO: Processing buffer {"connection_id":193142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:46:44] local.INFO: Packet analysis {"connection_id":193142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:46:44] local.INFO: Extracted packet for processing {"connection_id":193142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:46:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309032704001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790269960000,"timestamp_ms":1790269960000,"timestamp_seconds":1790269960,"priority":1,"record_length":96,"hex_timestamp":"000001a0d467af40"} 
[2026-09-24 22:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309032704001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309032704001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:46:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:46:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309032704001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":193142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:46:44] local.INFO: GPS data processed {"connection_id":193142,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:46:44] local.INFO: Acknowledgment sent {"connection_id":193142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:46:45] local.INFO: TCP Data received {"connection_id":191583,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4688de8012cee6fc00713dcf00023005f2c..."} 
[2026-09-24 22:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4688de8012cee6fc00713dcf00023005f2c..."} 
[2026-09-24 22:46:45] local.INFO: Processing buffer {"connection_id":191583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4688de8012cee6fc00713dcf00023005f2c..."} 
[2026-09-24 22:46:45] local.INFO: Packet analysis {"connection_id":191583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d468"} 
[2026-09-24 22:46:45] local.INFO: Extracted packet for processing {"connection_id":191583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d468"} 
[2026-09-24 22:46:45] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":118742256,"longitude_deg":75.382368,"latitude_deg":11.8742256,"altitude":35,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"0713dcf0","is_valid_coordinates":true} 
[2026-09-24 22:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309118976001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:46:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833637269504,"note":"Value kept but may cause issues"} 
[2026-09-24 22:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790270017000,"timestamp_ms":1790270017000,"timestamp_seconds":1790270017,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4688de8"} 
[2026-09-24 22:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-24 22:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309118976001,"66":27876,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1265581833637269504},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309118976001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:46:45] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:46:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833637269504,"description":"Unknown IO ID 44"} 
[2026-09-24 22:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309118976001,"power":27876,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1265581833637269504}} 
[2026-09-24 22:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":191583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892569,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:46:45] local.INFO: GPS data processed {"connection_id":191583,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:46:45] local.INFO: Acknowledgment sent {"connection_id":191583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:47:06] local.INFO: TCP Data received {"connection_id":194440,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:47:06] local.INFO: Processing buffer {"connection_id":194440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:47:06] local.INFO: IMEI packet received {"connection_id":194440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":194440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:47:08] local.INFO: TCP Data received {"connection_id":194440,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:47:08] local.INFO: Processing buffer {"connection_id":194440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:47:08] local.INFO: IMEI packet received {"connection_id":194440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":194440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:47:11] local.INFO: TCP Data received {"connection_id":194440,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:47:11] local.INFO: Processing buffer {"connection_id":194440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:47:11] local.INFO: IMEI packet received {"connection_id":194440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":194440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:47:12] local.INFO: TCP Data received {"connection_id":194440,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d468dff0012cee6fc00713dcf00023005f2c..."} 
[2026-09-24 22:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d468dff0012cee6fc00713dcf00023005f2c..."} 
[2026-09-24 22:47:12] local.INFO: Processing buffer {"connection_id":194440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d468dff0012cee6fc00713dcf00023005f2c..."} 
[2026-09-24 22:47:12] local.INFO: Packet analysis {"connection_id":194440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d468"} 
[2026-09-24 22:47:12] local.INFO: Extracted packet for processing {"connection_id":194440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d468"} 
[2026-09-24 22:47:12] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":118742256,"longitude_deg":75.382368,"latitude_deg":11.8742256,"altitude":35,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"0713dcf0","is_valid_coordinates":true} 
[2026-09-24 22:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309124352001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:47:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833637269504,"note":"Value kept but may cause issues"} 
[2026-09-24 22:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790270038000,"timestamp_ms":1790270038000,"timestamp_seconds":1790270038,"priority":1,"record_length":96,"hex_timestamp":"000001a0d468dff0"} 
[2026-09-24 22:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 22:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309124352001,"66":27930,"206":206,"2":54272,"24":0,"16":3605341577150464,"44":-1265581833637269504},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309124352001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:47:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:47:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833637269504,"description":"Unknown IO ID 44"} 
[2026-09-24 22:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309124352001,"power":27930,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1265581833637269504}} 
[2026-09-24 22:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":194440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892570,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:47:12] local.INFO: GPS data processed {"connection_id":194440,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:47:12] local.INFO: Acknowledgment sent {"connection_id":194440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:47:17] local.INFO: TCP Data received {"connection_id":194440,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4690ae8012ceea8800713e030002200502d..."} 
[2026-09-24 22:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4690ae8012ceea8800713e030002200502d..."} 
[2026-09-24 22:47:17] local.INFO: Processing buffer {"connection_id":194440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4690ae8012ceea8800713e030002200502d..."} 
[2026-09-24 22:47:17] local.INFO: Packet analysis {"connection_id":194440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d469"} 
[2026-09-24 22:47:17] local.INFO: Extracted packet for processing {"connection_id":194440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d469"} 
[2026-09-24 22:47:17] local.INFO: GPS Element Parsed {"raw_longitude":753838208,"raw_latitude":118743088,"longitude_deg":75.3838208,"latitude_deg":11.8743088,"altitude":34,"angle":80,"satellites":45,"speed":22,"hex_longitude":"2ceea880","hex_latitude":"0713e030","is_valid_coordinates":true} 
[2026-09-24 22:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309129728001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:47:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833637269504,"note":"Value kept but may cause issues"} 
[2026-09-24 22:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790270049000,"timestamp_ms":1790270049000,"timestamp_seconds":1790270049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4690ae8"} 
[2026-09-24 22:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-24 22:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":194440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":194440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":194440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309129728001,"66":27887,"206":206,"2":54272,"24":22,"16":3605341577150464,"44":-1265581833637269504},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-09-24 22:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309129728001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:47:17] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-24 22:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:47:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833637269504,"description":"Unknown IO ID 44"} 
[2026-09-24 22:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309129728001,"power":27887,"unknown_206":206,"power_alt":54272,"ignition":22,"odometer":null,"unknown_44":-1265581833637269504}} 
[2026-09-24 22:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":194440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892571,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:47:17] local.INFO: GPS data processed {"connection_id":194440,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:47:17] local.INFO: Acknowledgment sent {"connection_id":194440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:47:28] local.INFO: TCP Data received {"connection_id":191766,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:47:28] local.INFO: Processing buffer {"connection_id":191766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:47:28] local.INFO: IMEI packet received {"connection_id":191766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":191766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:47:32] local.INFO: TCP Data received {"connection_id":191766,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:47:32] local.INFO: Processing buffer {"connection_id":191766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:47:32] local.INFO: IMEI packet received {"connection_id":191766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":191766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:47:33] local.INFO: TCP Data received {"connection_id":191766,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:47:33] local.INFO: Processing buffer {"connection_id":191766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:47:33] local.INFO: Packet analysis {"connection_id":191766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:47:33] local.INFO: Extracted packet for processing {"connection_id":191766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:47:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309032704001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790269960000,"timestamp_ms":1790269960000,"timestamp_seconds":1790269960,"priority":1,"record_length":96,"hex_timestamp":"000001a0d467af40"} 
[2026-09-24 22:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309032704001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309032704001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:47:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:47:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309032704001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":191766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:47:33] local.INFO: GPS data processed {"connection_id":191766,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:47:33] local.INFO: Acknowledgment sent {"connection_id":191766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:47:48] local.INFO: TCP Data received {"connection_id":194440,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d469ed780100000000000000000000000000..."} 
[2026-09-24 22:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d469ed780100000000000000000000000000..."} 
[2026-09-24 22:47:48] local.INFO: Processing buffer {"connection_id":194440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d469ed780100000000000000000000000000..."} 
[2026-09-24 22:47:48] local.INFO: Packet analysis {"connection_id":194440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d469"} 
[2026-09-24 22:47:48] local.INFO: Extracted packet for processing {"connection_id":194440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d469"} 
[2026-09-24 22:47: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-09-24 22: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-09-24 22:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309132544001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:47:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1249608128708726784,"note":"Value kept but may cause issues"} 
[2026-09-24 22:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790270107000,"timestamp_ms":1790270107000,"timestamp_seconds":1790270107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d469ed78"} 
[2026-09-24 22:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-24 22:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":194440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":194440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":194440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":194440,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 22:47:48] local.INFO: GPS data processed {"connection_id":194440,"processed":0,"errors":0,"total":1} 
[2026-09-24 22:47:48] local.INFO: Acknowledgment sent {"connection_id":194440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:48:05] local.INFO: TCP Data received {"connection_id":191766,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:48:05] local.INFO: Processing buffer {"connection_id":191766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d467af40012d34c14006aa4940000900f52c..."} 
[2026-09-24 22:48:05] local.INFO: Packet analysis {"connection_id":191766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:48:05] local.INFO: Extracted packet for processing {"connection_id":191766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d467"} 
[2026-09-24 22:48:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309032704001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790269960000,"timestamp_ms":1790269960000,"timestamp_seconds":1790269960,"priority":1,"record_length":96,"hex_timestamp":"000001a0d467af40"} 
[2026-09-24 22:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309032704001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309032704001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:48:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:48:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309032704001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":191766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:48:05] local.INFO: GPS data processed {"connection_id":191766,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:48:05] local.INFO: Acknowledgment sent {"connection_id":191766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:48:06] local.INFO: TCP Data received {"connection_id":191767,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:48:06] local.INFO: Processing buffer {"connection_id":191767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:48:06] local.INFO: IMEI packet received {"connection_id":191767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":191767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:48:11] local.INFO: TCP Data received {"connection_id":191767,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:48:11] local.INFO: Processing buffer {"connection_id":191767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:48:11] local.INFO: IMEI packet received {"connection_id":191767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":191767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:48:12] local.INFO: TCP Data received {"connection_id":191767,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4697848012ceecfc00713e2b80028005c2d..."} 
[2026-09-24 22:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4697848012ceecfc00713e2b80028005c2d..."} 
[2026-09-24 22:48:12] local.INFO: Processing buffer {"connection_id":191767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4697848012ceecfc00713e2b80028005c2d..."} 
[2026-09-24 22:48:12] local.INFO: Packet analysis {"connection_id":191767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d469"} 
[2026-09-24 22:48:12] local.INFO: Extracted packet for processing {"connection_id":191767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d469"} 
[2026-09-24 22:48:12] local.INFO: GPS Element Parsed {"raw_longitude":753848256,"raw_latitude":118743736,"longitude_deg":75.3848256,"latitude_deg":11.8743736,"altitude":40,"angle":92,"satellites":45,"speed":5,"hex_longitude":"2ceecfc0","hex_latitude":"0713e2b8","is_valid_coordinates":true} 
[2026-09-24 22:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:48:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,71,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 22:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790270077000,"timestamp_ms":1790270077000,"timestamp_seconds":1790270077,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4697848"} 
[2026-09-24 22:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-24 22:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28028,"71":206,"2":54272,"24":5,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16]} 
[2026-09-24 22:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 22:48:12] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-24 22:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:48:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28028,"unknown_71":206,"power_alt":54272,"ignition":5,"odometer":null}} 
[2026-09-24 22:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":191767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892574,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:48:12] local.INFO: GPS data processed {"connection_id":191767,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:48:12] local.INFO: Acknowledgment sent {"connection_id":191767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:48:27] local.INFO: TCP Data received {"connection_id":193143,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:48:27] local.INFO: Processing buffer {"connection_id":193143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:48:27] local.INFO: IMEI packet received {"connection_id":193143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":193143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:48:32] local.INFO: TCP Data received {"connection_id":193143,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:48:32] local.INFO: Processing buffer {"connection_id":193143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:48:32] local.INFO: IMEI packet received {"connection_id":193143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":193143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:48:33] local.INFO: TCP Data received {"connection_id":193143,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:48:33] local.INFO: Processing buffer {"connection_id":193143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:48:33] local.INFO: Packet analysis {"connection_id":193143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d46c"} 
[2026-09-24 22:48:33] local.INFO: Extracted packet for processing {"connection_id":193143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d46c"} 
[2026-09-24 22:48:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309109760001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790270261000,"timestamp_ms":1790270261000,"timestamp_seconds":1790270261,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46c4708"} 
[2026-09-24 22:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309109760001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309109760001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:48:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:48:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309109760001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":193143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:48:33] local.INFO: GPS data processed {"connection_id":193143,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:48:33] local.INFO: Acknowledgment sent {"connection_id":193143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:48:43] local.INFO: TCP Data received {"connection_id":191767,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d469ca50012ceecfc00713e2b80028005c2d..."} 
[2026-09-24 22:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d469ca50012ceecfc00713e2b80028005c2d..."} 
[2026-09-24 22:48:43] local.INFO: Processing buffer {"connection_id":191767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d469ca50012ceecfc00713e2b80028005c2d..."} 
[2026-09-24 22:48:43] local.INFO: Packet analysis {"connection_id":191767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d469"} 
[2026-09-24 22:48:43] local.INFO: Extracted packet for processing {"connection_id":191767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d469"} 
[2026-09-24 22:48:43] local.INFO: GPS Element Parsed {"raw_longitude":753848256,"raw_latitude":118743736,"longitude_deg":75.3848256,"latitude_deg":11.8743736,"altitude":40,"angle":92,"satellites":45,"speed":0,"hex_longitude":"2ceecfc0","hex_latitude":"0713e2b8","is_valid_coordinates":true} 
[2026-09-24 22:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309139712001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:48:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1238560235872667648,"note":"Value kept but may cause issues"} 
[2026-09-24 22:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790270098000,"timestamp_ms":1790270098000,"timestamp_seconds":1790270098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d469ca50"} 
[2026-09-24 22:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-24 22:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309139712001,"66":27952,"71":206,"2":54272,"24":0,"16":3605341577150464,"44":-1238560235872667648},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,44]} 
[2026-09-24 22:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309139712001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:48:43] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-24 22:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:48:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1238560235872667648,"description":"Unknown IO ID 44"} 
[2026-09-24 22:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309139712001,"power":27952,"unknown_71":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1238560235872667648}} 
[2026-09-24 22:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":191767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892576,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:48:43] local.INFO: GPS data processed {"connection_id":191767,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:48:43] local.INFO: Acknowledgment sent {"connection_id":191767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:49:05] local.INFO: TCP Data received {"connection_id":193143,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:49:05] local.INFO: Processing buffer {"connection_id":193143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:49:05] local.INFO: Packet analysis {"connection_id":193143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d46c"} 
[2026-09-24 22:49:05] local.INFO: Extracted packet for processing {"connection_id":193143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d46c"} 
[2026-09-24 22:49:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309109760001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790270261000,"timestamp_ms":1790270261000,"timestamp_seconds":1790270261,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46c4708"} 
[2026-09-24 22:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:49: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-09-24 22:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309109760001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309109760001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:49:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:49:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309109760001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":193143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:49:05] local.INFO: GPS data processed {"connection_id":193143,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:49:05] local.INFO: Acknowledgment sent {"connection_id":193143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:49:06] local.INFO: TCP Data received {"connection_id":191768,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:49:06] local.INFO: Processing buffer {"connection_id":191768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:49:06] local.INFO: IMEI packet received {"connection_id":191768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":191768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:49:11] local.INFO: TCP Data received {"connection_id":191768,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:49:11] local.INFO: Processing buffer {"connection_id":191768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:49:11] local.INFO: IMEI packet received {"connection_id":191768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":191768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:49:13] local.INFO: TCP Data received {"connection_id":191768,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46a1c58012cef0a000713db60002700622d..."} 
[2026-09-24 22:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46a1c58012cef0a000713db60002700622d..."} 
[2026-09-24 22:49:13] local.INFO: Processing buffer {"connection_id":191768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46a1c58012cef0a000713db60002700622d..."} 
[2026-09-24 22:49:13] local.INFO: Packet analysis {"connection_id":191768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d46a"} 
[2026-09-24 22:49:13] local.INFO: Extracted packet for processing {"connection_id":191768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d46a"} 
[2026-09-24 22:49:13] local.INFO: GPS Element Parsed {"raw_longitude":753863168,"raw_latitude":118741856,"longitude_deg":75.3863168,"latitude_deg":11.8741856,"altitude":39,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2cef0a00","hex_latitude":"0713db60","is_valid_coordinates":true} 
[2026-09-24 22:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309145088001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:49:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1238560235872667648,"note":"Value kept but may cause issues"} 
[2026-09-24 22:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790270119000,"timestamp_ms":1790270119000,"timestamp_seconds":1790270119,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46a1c58"} 
[2026-09-24 22:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 22:49:13] 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-09-24 22:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191768,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191768,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309145088001,"66":27876,"71":206,"2":54272,"24":0,"16":3605341577150464,"44":-1238560235872667648},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,44]} 
[2026-09-24 22:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309145088001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:49:13] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-24 22:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:49:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1238560235872667648,"description":"Unknown IO ID 44"} 
[2026-09-24 22:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309145088001,"power":27876,"unknown_71":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1238560235872667648}} 
[2026-09-24 22:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":191768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892578,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:49:13] local.INFO: GPS data processed {"connection_id":191768,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:49:13] local.INFO: Acknowledgment sent {"connection_id":191768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:49:32] local.INFO: TCP Data received {"connection_id":191584,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:49:32] local.INFO: Processing buffer {"connection_id":191584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:49:32] local.INFO: IMEI packet received {"connection_id":191584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":191584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:49:37] local.INFO: TCP Data received {"connection_id":191584,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:49:37] local.INFO: Processing buffer {"connection_id":191584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:49:37] local.INFO: IMEI packet received {"connection_id":191584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":191584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:49:38] local.INFO: TCP Data received {"connection_id":191584,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:49:38] local.INFO: Processing buffer {"connection_id":191584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:49:38] local.INFO: Packet analysis {"connection_id":191584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d46c"} 
[2026-09-24 22:49:38] local.INFO: Extracted packet for processing {"connection_id":191584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d46c"} 
[2026-09-24 22:49:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309109760001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790270261000,"timestamp_ms":1790270261000,"timestamp_seconds":1790270261,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46c4708"} 
[2026-09-24 22:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309109760001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309109760001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:49:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:49:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309109760001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":191584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:49:38] local.INFO: GPS data processed {"connection_id":191584,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:49:38] local.INFO: Acknowledgment sent {"connection_id":191584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:49:43] local.INFO: TCP Data received {"connection_id":191584,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:49:43] local.INFO: Processing buffer {"connection_id":191584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:49:43] local.INFO: Packet analysis {"connection_id":191584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d46c"} 
[2026-09-24 22:49:43] local.INFO: Extracted packet for processing {"connection_id":191584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d46c"} 
[2026-09-24 22:49:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309109760001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790270261000,"timestamp_ms":1790270261000,"timestamp_seconds":1790270261,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46c4708"} 
[2026-09-24 22:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309109760001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309109760001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:49:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:49:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309109760001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":191584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:49:43] local.INFO: GPS data processed {"connection_id":191584,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:49:43] local.INFO: Acknowledgment sent {"connection_id":191584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:49:45] local.INFO: TCP Data received {"connection_id":191768,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46cd3a8012cf13b80071360b0001e007326..."} 
[2026-09-24 22:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46cd3a8012cf13b80071360b0001e007326..."} 
[2026-09-24 22:49:45] local.INFO: Processing buffer {"connection_id":191768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46cd3a8012cf13b80071360b0001e007326..."} 
[2026-09-24 22:49:45] local.INFO: Packet analysis {"connection_id":191768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d46c"} 
[2026-09-24 22:49:45] local.INFO: Extracted packet for processing {"connection_id":191768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d46c"} 
[2026-09-24 22:49:45] local.INFO: GPS Element Parsed {"raw_longitude":754006912,"raw_latitude":118710448,"longitude_deg":75.4006912,"latitude_deg":11.8710448,"altitude":30,"angle":115,"satellites":38,"speed":36,"hex_longitude":"2cf13b80","hex_latitude":"071360b0","is_valid_coordinates":true} 
[2026-09-24 22:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309191168001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:49:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1082834205014188032,"note":"Value kept but may cause issues"} 
[2026-09-24 22:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790270297000,"timestamp_ms":1790270297000,"timestamp_seconds":1790270297,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46cd3a8"} 
[2026-09-24 22:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 22:49:45] 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-09-24 22:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191768,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191768,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309191168001,"66":27876,"98":206,"2":54272,"24":36,"16":3605341577150464,"44":-1082834205014188032},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-09-24 22:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309191168001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:49:45] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-24 22:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:49:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1082834205014188032,"description":"Unknown IO ID 44"} 
[2026-09-24 22:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309191168001,"power":27876,"unknown_98":206,"power_alt":54272,"ignition":36,"odometer":null,"unknown_44":-1082834205014188032}} 
[2026-09-24 22:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":191768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892581,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:49:45] local.INFO: GPS data processed {"connection_id":191768,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:49:45] local.INFO: Acknowledgment sent {"connection_id":191768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:50:23] local.INFO: TCP Data received {"connection_id":193144,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193144,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:50:23] local.INFO: Processing buffer {"connection_id":193144,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:50:23] local.INFO: IMEI packet received {"connection_id":193144,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":193144,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:50:26] local.INFO: TCP Data received {"connection_id":193144,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193144,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:50:26] local.INFO: Processing buffer {"connection_id":193144,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:50:26] local.INFO: IMEI packet received {"connection_id":193144,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":193144,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:50:27] local.INFO: TCP Data received {"connection_id":193144,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46d1de0012cf17200071334e0001900842c..."} 
[2026-09-24 22:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46d1de0012cf17200071334e0001900842c..."} 
[2026-09-24 22:50:27] local.INFO: Processing buffer {"connection_id":193144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46d1de0012cf17200071334e0001900842c..."} 
[2026-09-24 22:50:27] local.INFO: Packet analysis {"connection_id":193144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d46d"} 
[2026-09-24 22:50:27] local.INFO: Extracted packet for processing {"connection_id":193144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d46d"} 
[2026-09-24 22:50:27] local.INFO: GPS Element Parsed {"raw_longitude":754020864,"raw_latitude":118699232,"longitude_deg":75.4020864,"latitude_deg":11.8699232,"altitude":25,"angle":132,"satellites":44,"speed":38,"hex_longitude":"2cf17200","hex_latitude":"071334e0","is_valid_coordinates":true} 
[2026-09-24 22:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309196032001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:50:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1064116119064760320,"note":"Value kept but may cause issues"} 
[2026-09-24 22:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790270316000,"timestamp_ms":1790270316000,"timestamp_seconds":1790270316,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46d1de0"} 
[2026-09-24 22:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 22:50:27] 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-09-24 22:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":193144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":193144,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":193144,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309196032001,"66":27887,"98":206,"2":54272,"24":38,"16":3605341577150464,"44":-1064116119064760320},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-09-24 22:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309196032001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:50:27] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-24 22:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:50:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1064116119064760320,"description":"Unknown IO ID 44"} 
[2026-09-24 22:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309196032001,"power":27887,"unknown_98":206,"power_alt":54272,"ignition":38,"odometer":null,"unknown_44":-1064116119064760320}} 
[2026-09-24 22:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":193144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892582,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:50:27] local.INFO: GPS data processed {"connection_id":193144,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:50:27] local.INFO: Acknowledgment sent {"connection_id":193144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:50:27] local.INFO: TCP Data received {"connection_id":193145,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:50:27] local.INFO: Processing buffer {"connection_id":193145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:50:27] local.INFO: IMEI packet received {"connection_id":193145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":193145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:50:28] local.INFO: TCP Data received {"connection_id":193144,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46d6fe8012cf1a64007130600000d00842c..."} 
[2026-09-24 22:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46d6fe8012cf1a64007130600000d00842c..."} 
[2026-09-24 22:50:28] local.INFO: Processing buffer {"connection_id":193144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46d6fe8012cf1a64007130600000d00842c..."} 
[2026-09-24 22:50:28] local.INFO: Packet analysis {"connection_id":193144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d46d"} 
[2026-09-24 22:50:28] local.INFO: Extracted packet for processing {"connection_id":193144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d46d"} 
[2026-09-24 22:50:28] local.INFO: GPS Element Parsed {"raw_longitude":754034240,"raw_latitude":118687232,"longitude_deg":75.403424,"latitude_deg":11.8687232,"altitude":13,"angle":132,"satellites":44,"speed":0,"hex_longitude":"2cf1a640","hex_latitude":"07130600","is_valid_coordinates":true} 
[2026-09-24 22:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309200896001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:50:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1048775732836900864,"note":"Value kept but may cause issues"} 
[2026-09-24 22:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790270337000,"timestamp_ms":1790270337000,"timestamp_seconds":1790270337,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46d6fe8"} 
[2026-09-24 22:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-24 22:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":193144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":193144,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":193144,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309200896001,"66":28082,"96":206,"2":54272,"24":0,"16":3605341577150464,"44":-1048775732836900864},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-09-24 22:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309200896001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:50:28] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-24 22:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:50:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1048775732836900864,"description":"Unknown IO ID 44"} 
[2026-09-24 22:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309200896001,"power":28082,"unknown_96":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1048775732836900864}} 
[2026-09-24 22:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":193144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892583,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:50:28] local.INFO: GPS data processed {"connection_id":193144,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:50:28] local.INFO: Acknowledgment sent {"connection_id":193144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:50:32] local.INFO: TCP Data received {"connection_id":193145,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:50:32] local.INFO: Processing buffer {"connection_id":193145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:50:32] local.INFO: IMEI packet received {"connection_id":193145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":193145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:50:33] local.INFO: TCP Data received {"connection_id":193145,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:50:33] local.INFO: Processing buffer {"connection_id":193145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:50:33] local.INFO: Packet analysis {"connection_id":193145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d46c"} 
[2026-09-24 22:50:33] local.INFO: Extracted packet for processing {"connection_id":193145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d46c"} 
[2026-09-24 22:50:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309109760001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790270261000,"timestamp_ms":1790270261000,"timestamp_seconds":1790270261,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46c4708"} 
[2026-09-24 22:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309109760001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309109760001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:50:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:50:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309109760001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":193145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:50:33] local.INFO: GPS data processed {"connection_id":193145,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:50:33] local.INFO: Acknowledgment sent {"connection_id":193145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:51:05] local.INFO: TCP Data received {"connection_id":193145,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:51:05] local.INFO: Processing buffer {"connection_id":193145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:51:05] local.INFO: Packet analysis {"connection_id":193145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d46c"} 
[2026-09-24 22:51:05] local.INFO: Extracted packet for processing {"connection_id":193145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d46c"} 
[2026-09-24 22:51:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309109760001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790270261000,"timestamp_ms":1790270261000,"timestamp_seconds":1790270261,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46c4708"} 
[2026-09-24 22:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:51: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-09-24 22: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-09-24 22:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309109760001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309109760001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:51:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:51:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309109760001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":193145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:51:05] local.INFO: GPS data processed {"connection_id":193145,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:51:05] local.INFO: Acknowledgment sent {"connection_id":193145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:51:11] local.INFO: TCP Data received {"connection_id":194441,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:51:11] local.INFO: Processing buffer {"connection_id":194441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:51:11] local.INFO: IMEI packet received {"connection_id":194441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":194441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:51:16] local.INFO: TCP Data received {"connection_id":194441,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:51:16] local.INFO: Processing buffer {"connection_id":194441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:51:16] local.INFO: IMEI packet received {"connection_id":194441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":194441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:51:18] local.INFO: TCP Data received {"connection_id":194441,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46dc1f0012cf1d0c00712dfa0000a007e2c..."} 
[2026-09-24 22:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46dc1f0012cf1d0c00712dfa0000a007e2c..."} 
[2026-09-24 22:51:18] local.INFO: Processing buffer {"connection_id":194441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46dc1f0012cf1d0c00712dfa0000a007e2c..."} 
[2026-09-24 22:51:18] local.INFO: Packet analysis {"connection_id":194441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d46d"} 
[2026-09-24 22:51:18] local.INFO: Extracted packet for processing {"connection_id":194441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d46d"} 
[2026-09-24 22:51:18] local.INFO: GPS Element Parsed {"raw_longitude":754045120,"raw_latitude":118677408,"longitude_deg":75.404512,"latitude_deg":11.8677408,"altitude":10,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2cf1d0c0","hex_latitude":"0712dfa0","is_valid_coordinates":true} 
[2026-09-24 22:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309206272001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:51:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1034068665306841088,"note":"Value kept but may cause issues"} 
[2026-09-24 22:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790270358000,"timestamp_ms":1790270358000,"timestamp_seconds":1790270358,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46dc1f0"} 
[2026-09-24 22:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 22:51:18] 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-09-24 22:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":194441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":194441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":194441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309206272001,"66":27876,"96":206,"2":54272,"24":0,"16":3605341577150464,"44":-1034068665306841088},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-09-24 22:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309206272001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:51:18] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-24 22:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:51:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1034068665306841088,"description":"Unknown IO ID 44"} 
[2026-09-24 22:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309206272001,"power":27876,"unknown_96":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1034068665306841088}} 
[2026-09-24 22:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":194441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892586,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:51:18] local.INFO: GPS data processed {"connection_id":194441,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:51:18] local.INFO: Acknowledgment sent {"connection_id":194441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:51:27] local.INFO: TCP Data received {"connection_id":191585,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:51:27] local.INFO: Processing buffer {"connection_id":191585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:51:27] local.INFO: IMEI packet received {"connection_id":191585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":191585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:51:32] local.INFO: TCP Data received {"connection_id":191585,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:51:32] local.INFO: Processing buffer {"connection_id":191585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:51:32] local.INFO: IMEI packet received {"connection_id":191585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":191585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:51:33] local.INFO: TCP Data received {"connection_id":191585,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:51:33] local.INFO: Processing buffer {"connection_id":191585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:51:33] local.INFO: Packet analysis {"connection_id":191585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d46c"} 
[2026-09-24 22:51:33] local.INFO: Extracted packet for processing {"connection_id":191585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d46c"} 
[2026-09-24 22:51:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309109760001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790270261000,"timestamp_ms":1790270261000,"timestamp_seconds":1790270261,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46c4708"} 
[2026-09-24 22:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309109760001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309109760001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:51:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:51:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309109760001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":191585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:51:33] local.INFO: GPS data processed {"connection_id":191585,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:51:33] local.INFO: Acknowledgment sent {"connection_id":191585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:51:51] local.INFO: TCP Data received {"connection_id":194441,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46e13f8012cf207000712c488001000742a..."} 
[2026-09-24 22:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46e13f8012cf207000712c488001000742a..."} 
[2026-09-24 22:51:51] local.INFO: Processing buffer {"connection_id":194441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46e13f8012cf207000712c488001000742a..."} 
[2026-09-24 22:51:51] local.INFO: Packet analysis {"connection_id":194441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d46e"} 
[2026-09-24 22:51:51] local.INFO: Extracted packet for processing {"connection_id":194441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d46e"} 
[2026-09-24 22:51:51] local.INFO: GPS Element Parsed {"raw_longitude":754059008,"raw_latitude":118670472,"longitude_deg":75.4059008,"latitude_deg":11.8670472,"altitude":16,"angle":116,"satellites":42,"speed":0,"hex_longitude":"2cf20700","hex_latitude":"0712c488","is_valid_coordinates":true} 
[2026-09-24 22:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309211648001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:51:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1022105978799153152,"note":"Value kept but may cause issues"} 
[2026-09-24 22:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790270379000,"timestamp_ms":1790270379000,"timestamp_seconds":1790270379,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46e13f8"} 
[2026-09-24 22:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 22:51:51] 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-09-24 22:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":194441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":194441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":194441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309211648001,"66":28082,"96":206,"2":54272,"24":0,"16":3605341577150464,"44":-1022105978799153152},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-09-24 22:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309211648001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:51:51] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-24 22:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:51:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1022105978799153152,"description":"Unknown IO ID 44"} 
[2026-09-24 22:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309211648001,"power":28082,"unknown_96":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1022105978799153152}} 
[2026-09-24 22:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":194441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892588,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:51:51] local.INFO: GPS data processed {"connection_id":194441,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:51:51] local.INFO: Acknowledgment sent {"connection_id":194441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:52:05] local.INFO: TCP Data received {"connection_id":191585,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:52:05] local.INFO: Processing buffer {"connection_id":191585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:52:05] local.INFO: Packet analysis {"connection_id":191585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d46c"} 
[2026-09-24 22:52:05] local.INFO: Extracted packet for processing {"connection_id":191585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d46c"} 
[2026-09-24 22:52:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309109760001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790270261000,"timestamp_ms":1790270261000,"timestamp_seconds":1790270261,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46c4708"} 
[2026-09-24 22:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:52: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-09-24 22:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309109760001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309109760001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:52:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:52:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309109760001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":191585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:52:05] local.INFO: GPS data processed {"connection_id":191585,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:52:05] local.INFO: Acknowledgment sent {"connection_id":191585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:52:11] local.INFO: TCP Data received {"connection_id":193146,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:52:11] local.INFO: Processing buffer {"connection_id":193146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:52:11] local.INFO: IMEI packet received {"connection_id":193146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":193146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:52:11] local.INFO: TCP Data received {"connection_id":193146,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:52:11] local.INFO: Processing buffer {"connection_id":193146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:52:11] local.INFO: IMEI packet received {"connection_id":193146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":193146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:52:20] local.INFO: TCP Data received {"connection_id":193146,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:52:20] local.INFO: Processing buffer {"connection_id":193146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:52:20] local.INFO: IMEI packet received {"connection_id":193146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":193146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:52:22] local.INFO: TCP Data received {"connection_id":193146,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46e6600012cf2304007129f10000c008d2b..."} 
[2026-09-24 22:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46e6600012cf2304007129f10000c008d2b..."} 
[2026-09-24 22:52:22] local.INFO: Processing buffer {"connection_id":193146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46e6600012cf2304007129f10000c008d2b..."} 
[2026-09-24 22:52:22] local.INFO: Packet analysis {"connection_id":193146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d46e"} 
[2026-09-24 22:52:22] local.INFO: Extracted packet for processing {"connection_id":193146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d46e"} 
[2026-09-24 22:52:22] local.INFO: GPS Element Parsed {"raw_longitude":754069568,"raw_latitude":118660880,"longitude_deg":75.4069568,"latitude_deg":11.866088,"altitude":12,"angle":141,"satellites":43,"speed":25,"hex_longitude":"2cf23040","hex_latitude":"07129f10","is_valid_coordinates":true} 
[2026-09-24 22:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309217024001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:52:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1006835961314375680,"note":"Value kept but may cause issues"} 
[2026-09-24 22:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790270400000,"timestamp_ms":1790270400000,"timestamp_seconds":1790270400,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46e6600"} 
[2026-09-24 22:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 22:52:22] 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-09-24 22:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193146,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193146,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309217024001,"66":27995,"96":206,"2":54272,"24":25,"16":3605341577150464,"44":-1006835961314375680},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-09-24 22:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309217024001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:52:22] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-24 22:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:52:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1006835961314375680,"description":"Unknown IO ID 44"} 
[2026-09-24 22:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309217024001,"power":27995,"unknown_96":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-1006835961314375680}} 
[2026-09-24 22:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":193146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892590,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:52:22] local.INFO: GPS data processed {"connection_id":193146,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:52:22] local.INFO: Acknowledgment sent {"connection_id":193146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:52:27] local.INFO: TCP Data received {"connection_id":191769,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:52:27] local.INFO: Processing buffer {"connection_id":191769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:52:27] local.INFO: IMEI packet received {"connection_id":191769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":191769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:52:32] local.INFO: TCP Data received {"connection_id":191769,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:52:32] local.INFO: Processing buffer {"connection_id":191769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:52:32] local.INFO: IMEI packet received {"connection_id":191769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":191769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:52:33] local.INFO: TCP Data received {"connection_id":191769,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:52:33] local.INFO: Processing buffer {"connection_id":191769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:52:33] local.INFO: Packet analysis {"connection_id":191769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d46c"} 
[2026-09-24 22:52:33] local.INFO: Extracted packet for processing {"connection_id":191769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d46c"} 
[2026-09-24 22:52:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309109760001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790270261000,"timestamp_ms":1790270261000,"timestamp_seconds":1790270261,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46c4708"} 
[2026-09-24 22:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309109760001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309109760001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:52:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:52:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309109760001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":191769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:52:33] local.INFO: GPS data processed {"connection_id":191769,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:52:33] local.INFO: Acknowledgment sent {"connection_id":191769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:53:05] local.INFO: TCP Data received {"connection_id":191769,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:53:05] local.INFO: Processing buffer {"connection_id":191769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46c4708012d34c14006aa4940000900f528..."} 
[2026-09-24 22:53:05] local.INFO: Packet analysis {"connection_id":191769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d46c"} 
[2026-09-24 22:53:05] local.INFO: Extracted packet for processing {"connection_id":191769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d46c"} 
[2026-09-24 22:53:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309109760001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790270261000,"timestamp_ms":1790270261000,"timestamp_seconds":1790270261,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46c4708"} 
[2026-09-24 22:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:53: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-09-24 22:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:53: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-09-24 22: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-09-24 22:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309109760001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309109760001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:53:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309109760001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":191769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:53:05] local.INFO: GPS data processed {"connection_id":191769,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:53:05] local.INFO: Acknowledgment sent {"connection_id":191769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:53:06] local.INFO: TCP Data received {"connection_id":193147,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:53:06] local.INFO: Processing buffer {"connection_id":193147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:53:06] local.INFO: IMEI packet received {"connection_id":193147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":193147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:53:11] local.INFO: TCP Data received {"connection_id":193147,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:53:11] local.INFO: Processing buffer {"connection_id":193147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:53:11] local.INFO: IMEI packet received {"connection_id":193147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":193147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:53:13] local.INFO: TCP Data received {"connection_id":193147,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46e6600012cf2304007129f10000c008d2b..."} 
[2026-09-24 22:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46e6600012cf2304007129f10000c008d2b..."} 
[2026-09-24 22:53:13] local.INFO: Processing buffer {"connection_id":193147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46e6600012cf2304007129f10000c008d2b..."} 
[2026-09-24 22:53:13] local.INFO: Packet analysis {"connection_id":193147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d46e"} 
[2026-09-24 22:53:13] local.INFO: Extracted packet for processing {"connection_id":193147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d46e"} 
[2026-09-24 22:53:13] local.INFO: GPS Element Parsed {"raw_longitude":754069568,"raw_latitude":118660880,"longitude_deg":75.4069568,"latitude_deg":11.866088,"altitude":12,"angle":141,"satellites":43,"speed":25,"hex_longitude":"2cf23040","hex_latitude":"07129f10","is_valid_coordinates":true} 
[2026-09-24 22:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309222400001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:53:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-995225118527516672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790270400000,"timestamp_ms":1790270400000,"timestamp_seconds":1790270400,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46e6600"} 
[2026-09-24 22:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 22:53:13] 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-09-24 22:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309222400001,"66":27995,"96":206,"2":54272,"24":25,"16":3605341577150464,"44":-995225118527516672},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-09-24 22:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309222400001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:53:13] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-24 22:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:53:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-995225118527516672,"description":"Unknown IO ID 44"} 
[2026-09-24 22:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309222400001,"power":27995,"unknown_96":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-995225118527516672}} 
[2026-09-24 22:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":193147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892593,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:53:13] local.INFO: GPS data processed {"connection_id":193147,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:53:13] local.INFO: Acknowledgment sent {"connection_id":193147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:53:27] local.INFO: TCP Data received {"connection_id":191586,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:53:27] local.INFO: Processing buffer {"connection_id":191586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:53:27] local.INFO: IMEI packet received {"connection_id":191586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":191586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:53:32] local.INFO: TCP Data received {"connection_id":191586,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:53:32] local.INFO: Processing buffer {"connection_id":191586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:53:32] local.INFO: IMEI packet received {"connection_id":191586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":191586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:53:34] local.INFO: TCP Data received {"connection_id":191586,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:53:34] local.INFO: Processing buffer {"connection_id":191586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:53:34] local.INFO: Packet analysis {"connection_id":191586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d470"} 
[2026-09-24 22:53:34] local.INFO: Extracted packet for processing {"connection_id":191586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d470"} 
[2026-09-24 22:53:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309186816001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790270562000,"timestamp_ms":1790270562000,"timestamp_seconds":1790270562,"priority":1,"record_length":96,"hex_timestamp":"000001a0d470ded0"} 
[2026-09-24 22:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:53: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-09-24 22:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 22:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309186816001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309186816001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:53:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:53:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309186816001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":191586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:53:34] local.INFO: GPS data processed {"connection_id":191586,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:53:34] local.INFO: Acknowledgment sent {"connection_id":191586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:53:45] local.INFO: TCP Data received {"connection_id":193147,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46f48900100000000000000000000000000..."} 
[2026-09-24 22:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46f48900100000000000000000000000000..."} 
[2026-09-24 22:53:45] local.INFO: Processing buffer {"connection_id":193147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46f48900100000000000000000000000000..."} 
[2026-09-24 22:53:45] local.INFO: Packet analysis {"connection_id":193147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d46f"} 
[2026-09-24 22:53:45] local.INFO: Extracted packet for processing {"connection_id":193147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d46f"} 
[2026-09-24 22:53:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 22:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309222400001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:53:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-995225118527516672,"note":"Value kept but may cause issues"} 
[2026-09-24 22:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790270458000,"timestamp_ms":1790270458000,"timestamp_seconds":1790270458,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46f4890"} 
[2026-09-24 22:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:53: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-09-24 22:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 22:53:45] 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-09-24 22:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":193147,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 22:53:45] local.INFO: GPS data processed {"connection_id":193147,"processed":0,"errors":0,"total":1} 
[2026-09-24 22:53:45] local.INFO: Acknowledgment sent {"connection_id":193147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:54:06] local.INFO: TCP Data received {"connection_id":194442,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:54:06] local.INFO: Processing buffer {"connection_id":194442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:54:06] local.INFO: IMEI packet received {"connection_id":194442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":194442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:54:06] local.INFO: TCP Data received {"connection_id":191586,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:54:06] local.INFO: Processing buffer {"connection_id":191586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:54:06] local.INFO: Packet analysis {"connection_id":191586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d470"} 
[2026-09-24 22:54:06] local.INFO: Extracted packet for processing {"connection_id":191586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d470"} 
[2026-09-24 22:54:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309186816001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790270562000,"timestamp_ms":1790270562000,"timestamp_seconds":1790270562,"priority":1,"record_length":96,"hex_timestamp":"000001a0d470ded0"} 
[2026-09-24 22:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 22:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309186816001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309186816001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:54:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:54:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309186816001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":191586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:54:06] local.INFO: GPS data processed {"connection_id":191586,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:54:06] local.INFO: Acknowledgment sent {"connection_id":191586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:54:11] local.INFO: TCP Data received {"connection_id":194442,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:54:11] local.INFO: Processing buffer {"connection_id":194442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:54:11] local.INFO: IMEI packet received {"connection_id":194442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":194442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:54:13] local.INFO: TCP Data received {"connection_id":194442,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d46ec3c0012cf250c007127398000c008a2c..."} 
[2026-09-24 22:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d46ec3c0012cf250c007127398000c008a2c..."} 
[2026-09-24 22:54:13] local.INFO: Processing buffer {"connection_id":194442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d46ec3c0012cf250c007127398000c008a2c..."} 
[2026-09-24 22:54:13] local.INFO: Packet analysis {"connection_id":194442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d46e"} 
[2026-09-24 22:54:13] local.INFO: Extracted packet for processing {"connection_id":194442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d46e"} 
[2026-09-24 22:54:13] local.INFO: GPS Element Parsed {"raw_longitude":754077888,"raw_latitude":118649752,"longitude_deg":75.4077888,"latitude_deg":11.8649752,"altitude":12,"angle":138,"satellites":44,"speed":21,"hex_longitude":"2cf250c0","hex_latitude":"07127398","is_valid_coordinates":true} 
[2026-09-24 22:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:54:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,96,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 22:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790270424000,"timestamp_ms":1790270424000,"timestamp_seconds":1790270424,"priority":1,"record_length":96,"hex_timestamp":"000001a0d46ec3c0"} 
[2026-09-24 22:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 22:54:13] 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-09-24 22:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":194442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":194442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":194442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27941,"96":206,"2":54272,"24":21,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16]} 
[2026-09-24 22:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 22:54:13] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-24 22:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:54:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27941,"unknown_96":206,"power_alt":54272,"ignition":21,"odometer":null}} 
[2026-09-24 22:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":194442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892596,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:54:13] local.INFO: GPS data processed {"connection_id":194442,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:54:13] local.INFO: Acknowledgment sent {"connection_id":194442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:54:32] local.INFO: TCP Data received {"connection_id":191770,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:54:32] local.INFO: Processing buffer {"connection_id":191770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:54:32] local.INFO: IMEI packet received {"connection_id":191770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":191770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:54:37] local.INFO: TCP Data received {"connection_id":191770,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:54:37] local.INFO: Processing buffer {"connection_id":191770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:54:37] local.INFO: IMEI packet received {"connection_id":191770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":191770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:54:38] local.INFO: TCP Data received {"connection_id":191770,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:54:38] local.INFO: Processing buffer {"connection_id":191770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:54:38] local.INFO: Packet analysis {"connection_id":191770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d470"} 
[2026-09-24 22:54:38] local.INFO: Extracted packet for processing {"connection_id":191770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d470"} 
[2026-09-24 22:54:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309186816001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790270562000,"timestamp_ms":1790270562000,"timestamp_seconds":1790270562,"priority":1,"record_length":96,"hex_timestamp":"000001a0d470ded0"} 
[2026-09-24 22:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 22:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309186816001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309186816001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:54:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309186816001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":191770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:54:38] local.INFO: GPS data processed {"connection_id":191770,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:54:38] local.INFO: Acknowledgment sent {"connection_id":191770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:54:43] local.INFO: TCP Data received {"connection_id":191770,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:54:43] local.INFO: Processing buffer {"connection_id":191770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:54:43] local.INFO: Packet analysis {"connection_id":191770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d470"} 
[2026-09-24 22:54:43] local.INFO: Extracted packet for processing {"connection_id":191770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d470"} 
[2026-09-24 22:54:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309186816001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790270562000,"timestamp_ms":1790270562000,"timestamp_seconds":1790270562,"priority":1,"record_length":96,"hex_timestamp":"000001a0d470ded0"} 
[2026-09-24 22:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 22:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309186816001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309186816001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:54:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:54:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309186816001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":191770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:54:43] local.INFO: GPS data processed {"connection_id":191770,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:54:43] local.INFO: Acknowledgment sent {"connection_id":191770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:54:47] local.INFO: TCP Data received {"connection_id":194442,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47182e0012cf3b98007114368000e007f2d..."} 
[2026-09-24 22:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47182e0012cf3b98007114368000e007f2d..."} 
[2026-09-24 22:54:47] local.INFO: Processing buffer {"connection_id":194442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47182e0012cf3b98007114368000e007f2d..."} 
[2026-09-24 22:54:47] local.INFO: Packet analysis {"connection_id":194442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d471"} 
[2026-09-24 22:54:47] local.INFO: Extracted packet for processing {"connection_id":194442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d471"} 
[2026-09-24 22:54:47] local.INFO: GPS Element Parsed {"raw_longitude":754170240,"raw_latitude":118571880,"longitude_deg":75.417024,"latitude_deg":11.857188,"altitude":14,"angle":127,"satellites":45,"speed":3,"hex_longitude":"2cf3b980","hex_latitude":"07114368","is_valid_coordinates":true} 
[2026-09-24 22:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:54:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 22:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790270604000,"timestamp_ms":1790270604000,"timestamp_seconds":1790270604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47182e0"} 
[2026-09-24 22:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 22:54:47] 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-09-24 22:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":194442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":194442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":194442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27995,"100":206,"2":54272,"24":3,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16]} 
[2026-09-24 22:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 22:54:47] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-24 22:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:54:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27995,"unknown_100":206,"power_alt":54272,"ignition":3,"odometer":null}} 
[2026-09-24 22:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":194442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892599,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:54:48] local.INFO: GPS data processed {"connection_id":194442,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:54:48] local.INFO: Acknowledgment sent {"connection_id":194442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:55:05] local.INFO: TCP Data received {"connection_id":193148,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:55:05] local.INFO: Processing buffer {"connection_id":193148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:55:05] local.INFO: IMEI packet received {"connection_id":193148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":193148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:55:06] local.INFO: TCP Data received {"connection_id":193148,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:55:06] local.INFO: Processing buffer {"connection_id":193148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:55:06] local.INFO: IMEI packet received {"connection_id":193148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":193148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:55:11] local.INFO: TCP Data received {"connection_id":193148,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:55:11] local.INFO: Processing buffer {"connection_id":193148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:55:11] local.INFO: IMEI packet received {"connection_id":193148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":193148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:55:12] local.INFO: TCP Data received {"connection_id":193148,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d471d4e8012cf3b98007114368000e007f2d..."} 
[2026-09-24 22:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d471d4e8012cf3b98007114368000e007f2d..."} 
[2026-09-24 22:55:12] local.INFO: Processing buffer {"connection_id":193148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d471d4e8012cf3b98007114368000e007f2d..."} 
[2026-09-24 22:55:12] local.INFO: Packet analysis {"connection_id":193148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d471"} 
[2026-09-24 22:55:12] local.INFO: Extracted packet for processing {"connection_id":193148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d471"} 
[2026-09-24 22:55:12] local.INFO: GPS Element Parsed {"raw_longitude":754170240,"raw_latitude":118571880,"longitude_deg":75.417024,"latitude_deg":11.857188,"altitude":14,"angle":127,"satellites":45,"speed":0,"hex_longitude":"2cf3b980","hex_latitude":"07114368","is_valid_coordinates":true} 
[2026-09-24 22:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309274624001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:55:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-884535083958835200,"note":"Value kept but may cause issues"} 
[2026-09-24 22:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790270625000,"timestamp_ms":1790270625000,"timestamp_seconds":1790270625,"priority":1,"record_length":96,"hex_timestamp":"000001a0d471d4e8"} 
[2026-09-24 22:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 22:55:12] 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-09-24 22:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193148,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193148,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309274624001,"66":27984,"100":206,"2":54272,"24":0,"16":3605341577150464,"44":-884535083958835200},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-09-24 22:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309274624001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:55:12] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-24 22:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:55:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-884535083958835200,"description":"Unknown IO ID 44"} 
[2026-09-24 22:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309274624001,"power":27984,"unknown_100":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-884535083958835200}} 
[2026-09-24 22:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":193148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892600,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:55:12] local.INFO: GPS data processed {"connection_id":193148,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:55:12] local.INFO: Acknowledgment sent {"connection_id":193148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:55:27] local.INFO: TCP Data received {"connection_id":193149,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:55:27] local.INFO: Processing buffer {"connection_id":193149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:55:27] local.INFO: IMEI packet received {"connection_id":193149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":193149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:55:32] local.INFO: TCP Data received {"connection_id":193149,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:55:32] local.INFO: Processing buffer {"connection_id":193149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:55:32] local.INFO: IMEI packet received {"connection_id":193149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":193149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:55:33] local.INFO: TCP Data received {"connection_id":193149,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:55:33] local.INFO: Processing buffer {"connection_id":193149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:55:33] local.INFO: Packet analysis {"connection_id":193149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d470"} 
[2026-09-24 22:55:33] local.INFO: Extracted packet for processing {"connection_id":193149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d470"} 
[2026-09-24 22:55:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309186816001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790270562000,"timestamp_ms":1790270562000,"timestamp_seconds":1790270562,"priority":1,"record_length":96,"hex_timestamp":"000001a0d470ded0"} 
[2026-09-24 22:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:55:33] local.INFO: IO Element 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-09-24 22:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309186816001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309186816001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:55:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:55:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309186816001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":193149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:55:33] local.INFO: GPS data processed {"connection_id":193149,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:55:33] local.INFO: Acknowledgment sent {"connection_id":193149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:55:44] local.INFO: TCP Data received {"connection_id":193148,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47226f0012cf3b98007114368000e007f2d..."} 
[2026-09-24 22:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47226f0012cf3b98007114368000e007f2d..."} 
[2026-09-24 22:55:44] local.INFO: Processing buffer {"connection_id":193148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47226f0012cf3b98007114368000e007f2d..."} 
[2026-09-24 22:55:44] local.INFO: Packet analysis {"connection_id":193148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d472"} 
[2026-09-24 22:55:44] local.INFO: Extracted packet for processing {"connection_id":193148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d472"} 
[2026-09-24 22:55:44] local.INFO: GPS Element Parsed {"raw_longitude":754170240,"raw_latitude":118571880,"longitude_deg":75.417024,"latitude_deg":11.857188,"altitude":14,"angle":127,"satellites":45,"speed":0,"hex_longitude":"2cf3b980","hex_latitude":"07114368","is_valid_coordinates":true} 
[2026-09-24 22:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309280000001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:55:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-884535083958835200,"note":"Value kept but may cause issues"} 
[2026-09-24 22:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790270646000,"timestamp_ms":1790270646000,"timestamp_seconds":1790270646,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47226f0"} 
[2026-09-24 22:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 22:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193148,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193148,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309280000001,"66":27908,"100":206,"2":54272,"24":0,"16":3605341577150464,"44":-884535083958835200},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-09-24 22:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309280000001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:55:44] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-24 22:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:55:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-884535083958835200,"description":"Unknown IO ID 44"} 
[2026-09-24 22:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309280000001,"power":27908,"unknown_100":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-884535083958835200}} 
[2026-09-24 22:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":193148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892602,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:55:44] local.INFO: GPS data processed {"connection_id":193148,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:55:44] local.INFO: Acknowledgment sent {"connection_id":193148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:56:05] local.INFO: TCP Data received {"connection_id":193149,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:56:05] local.INFO: Processing buffer {"connection_id":193149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:56:05] local.INFO: Packet analysis {"connection_id":193149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d470"} 
[2026-09-24 22:56:05] local.INFO: Extracted packet for processing {"connection_id":193149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d470"} 
[2026-09-24 22:56:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309186816001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790270562000,"timestamp_ms":1790270562000,"timestamp_seconds":1790270562,"priority":1,"record_length":96,"hex_timestamp":"000001a0d470ded0"} 
[2026-09-24 22:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 22:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309186816001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309186816001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:56:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:56:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309186816001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":193149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:56:05] local.INFO: GPS data processed {"connection_id":193149,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:56:05] local.INFO: Acknowledgment sent {"connection_id":193149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:56:11] local.INFO: TCP Data received {"connection_id":191587,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:56:11] local.INFO: Processing buffer {"connection_id":191587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:56:11] local.INFO: IMEI packet received {"connection_id":191587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":191587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:56:16] local.INFO: TCP Data received {"connection_id":191587,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:56:16] local.INFO: Processing buffer {"connection_id":191587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:56:16] local.INFO: IMEI packet received {"connection_id":191587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":191587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:56:17] local.INFO: TCP Data received {"connection_id":191587,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47278f8012cf3de80071129e0000f00882d..."} 
[2026-09-24 22:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47278f8012cf3de80071129e0000f00882d..."} 
[2026-09-24 22:56:17] local.INFO: Processing buffer {"connection_id":191587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47278f8012cf3de80071129e0000f00882d..."} 
[2026-09-24 22:56:17] local.INFO: Packet analysis {"connection_id":191587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d472"} 
[2026-09-24 22:56:17] local.INFO: Extracted packet for processing {"connection_id":191587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d472"} 
[2026-09-24 22:56:17] local.INFO: GPS Element Parsed {"raw_longitude":754179712,"raw_latitude":118565344,"longitude_deg":75.4179712,"latitude_deg":11.8565344,"altitude":15,"angle":136,"satellites":45,"speed":0,"hex_longitude":"2cf3de80","hex_latitude":"071129e0","is_valid_coordinates":true} 
[2026-09-24 22:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309285376001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:56:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-884535083958835200,"note":"Value kept but may cause issues"} 
[2026-09-24 22:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790270667000,"timestamp_ms":1790270667000,"timestamp_seconds":1790270667,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47278f8"} 
[2026-09-24 22:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 22:56:17] 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-09-24 22:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309285376001,"66":28071,"100":206,"2":54272,"24":0,"16":3605341577150464,"44":-884535083958835200},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-09-24 22:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309285376001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:56:17] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-24 22:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:56:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-884535083958835200,"description":"Unknown IO ID 44"} 
[2026-09-24 22:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309285376001,"power":28071,"unknown_100":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-884535083958835200}} 
[2026-09-24 22:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":191587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892604,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:56:17] local.INFO: GPS data processed {"connection_id":191587,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:56:17] local.INFO: Acknowledgment sent {"connection_id":191587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:56:20] local.INFO: TCP Data received {"connection_id":191587,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4735b880100000000000000000000000000..."} 
[2026-09-24 22:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4735b880100000000000000000000000000..."} 
[2026-09-24 22:56:20] local.INFO: Processing buffer {"connection_id":191587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4735b880100000000000000000000000000..."} 
[2026-09-24 22:56:20] local.INFO: Packet analysis {"connection_id":191587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d473"} 
[2026-09-24 22:56:20] local.INFO: Extracted packet for processing {"connection_id":191587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d473"} 
[2026-09-24 22:56: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-09-24 22:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309290752001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:56:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-874120509822214144,"note":"Value kept but may cause issues"} 
[2026-09-24 22:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790270725000,"timestamp_ms":1790270725000,"timestamp_seconds":1790270725,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4735b88"} 
[2026-09-24 22:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-24 22:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2246,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":191587,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 22:56:20] local.INFO: GPS data processed {"connection_id":191587,"processed":0,"errors":0,"total":1} 
[2026-09-24 22:56:20] local.INFO: Acknowledgment sent {"connection_id":191587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:56:27] local.INFO: TCP Data received {"connection_id":193150,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:56:27] local.INFO: Processing buffer {"connection_id":193150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:56:27] local.INFO: IMEI packet received {"connection_id":193150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":193150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:56:32] local.INFO: TCP Data received {"connection_id":193150,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:56:32] local.INFO: Processing buffer {"connection_id":193150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:56:32] local.INFO: IMEI packet received {"connection_id":193150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":193150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:56:34] local.INFO: TCP Data received {"connection_id":193150,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:56:34] local.INFO: Processing buffer {"connection_id":193150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:56:34] local.INFO: Packet analysis {"connection_id":193150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d470"} 
[2026-09-24 22:56:34] local.INFO: Extracted packet for processing {"connection_id":193150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d470"} 
[2026-09-24 22:56:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309186816001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790270562000,"timestamp_ms":1790270562000,"timestamp_seconds":1790270562,"priority":1,"record_length":96,"hex_timestamp":"000001a0d470ded0"} 
[2026-09-24 22:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:56: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-09-24 22:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 22:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309186816001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309186816001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:56:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:56:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309186816001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":193150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:56:34] local.INFO: GPS data processed {"connection_id":193150,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:56:34] local.INFO: Acknowledgment sent {"connection_id":193150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:56:51] local.INFO: TCP Data received {"connection_id":191587,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d472d6b8012cf40100071104d8001200862b..."} 
[2026-09-24 22:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d472d6b8012cf40100071104d8001200862b..."} 
[2026-09-24 22:56:51] local.INFO: Processing buffer {"connection_id":191587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d472d6b8012cf40100071104d8001200862b..."} 
[2026-09-24 22:56:51] local.INFO: Packet analysis {"connection_id":191587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d472"} 
[2026-09-24 22:56:51] local.INFO: Extracted packet for processing {"connection_id":191587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d472"} 
[2026-09-24 22:56:51] local.INFO: GPS Element Parsed {"raw_longitude":754188544,"raw_latitude":118555864,"longitude_deg":75.4188544,"latitude_deg":11.8555864,"altitude":18,"angle":134,"satellites":43,"speed":17,"hex_longitude":"2cf40100","hex_latitude":"071104d8","is_valid_coordinates":true} 
[2026-09-24 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-09-24 22:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:56:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,108,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 22:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790270691000,"timestamp_ms":1790270691000,"timestamp_seconds":1790270691,"priority":1,"record_length":96,"hex_timestamp":"000001a0d472d6b8"} 
[2026-09-24 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-09-24 22:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 22:56:51] 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-09-24 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-09-24 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-09-24 22:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28028,"108":206,"2":54272,"24":17,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16]} 
[2026-09-24 22:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 22:56:51] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-24 22:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:56:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28028,"unknown_108":206,"power_alt":54272,"ignition":17,"odometer":null}} 
[2026-09-24 22:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":191587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892606,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:56:51] local.INFO: GPS data processed {"connection_id":191587,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:56:51] local.INFO: Acknowledgment sent {"connection_id":191587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:57:05] local.INFO: TCP Data received {"connection_id":193150,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:57:05] local.INFO: Processing buffer {"connection_id":193150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:57:05] local.INFO: Packet analysis {"connection_id":193150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d470"} 
[2026-09-24 22:57:05] local.INFO: Extracted packet for processing {"connection_id":193150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d470"} 
[2026-09-24 22:57:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309186816001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790270562000,"timestamp_ms":1790270562000,"timestamp_seconds":1790270562,"priority":1,"record_length":96,"hex_timestamp":"000001a0d470ded0"} 
[2026-09-24 22:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 22:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309186816001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309186816001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:57:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:57:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309186816001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":193150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:57:05] local.INFO: GPS data processed {"connection_id":193150,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:57:05] local.INFO: Acknowledgment sent {"connection_id":193150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:57:06] local.INFO: TCP Data received {"connection_id":191771,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:57:06] local.INFO: Processing buffer {"connection_id":191771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:57:06] local.INFO: IMEI packet received {"connection_id":191771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":191771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:57:07] local.INFO: TCP Data received {"connection_id":191771,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:57:07] local.INFO: Processing buffer {"connection_id":191771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:57:07] local.INFO: IMEI packet received {"connection_id":191771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":191771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:57:11] local.INFO: TCP Data received {"connection_id":191771,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:57:11] local.INFO: Processing buffer {"connection_id":191771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:57:11] local.INFO: IMEI packet received {"connection_id":191771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":191771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:57:15] local.INFO: TCP Data received {"connection_id":191771,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d473b9480100000000000000000000000000..."} 
[2026-09-24 22:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d473b9480100000000000000000000000000..."} 
[2026-09-24 22:57:15] local.INFO: Processing buffer {"connection_id":191771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d473b9480100000000000000000000000000..."} 
[2026-09-24 22:57:15] local.INFO: Packet analysis {"connection_id":191771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d473"} 
[2026-09-24 22:57:15] local.INFO: Extracted packet for processing {"connection_id":191771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d473"} 
[2026-09-24 22:57:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 22:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309296896001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:57:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-864409623128123392,"note":"Value kept but may cause issues"} 
[2026-09-24 22:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790270749000,"timestamp_ms":1790270749000,"timestamp_seconds":1790270749,"priority":1,"record_length":96,"hex_timestamp":"000001a0d473b948"} 
[2026-09-24 22:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-24 22:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":191771,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 22:57:15] local.INFO: GPS data processed {"connection_id":191771,"processed":0,"errors":0,"total":1} 
[2026-09-24 22:57:15] local.INFO: Acknowledgment sent {"connection_id":191771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:57:27] local.INFO: TCP Data received {"connection_id":191772,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:57:27] local.INFO: Processing buffer {"connection_id":191772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:57:27] local.INFO: IMEI packet received {"connection_id":191772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":191772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:57:32] local.INFO: TCP Data received {"connection_id":191772,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:57:32] local.INFO: Processing buffer {"connection_id":191772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:57:32] local.INFO: IMEI packet received {"connection_id":191772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":191772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:57:33] local.INFO: TCP Data received {"connection_id":191772,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:57:33] local.INFO: Processing buffer {"connection_id":191772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:57:33] local.INFO: Packet analysis {"connection_id":191772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d470"} 
[2026-09-24 22:57:33] local.INFO: Extracted packet for processing {"connection_id":191772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d470"} 
[2026-09-24 22:57:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309186816001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790270562000,"timestamp_ms":1790270562000,"timestamp_seconds":1790270562,"priority":1,"record_length":96,"hex_timestamp":"000001a0d470ded0"} 
[2026-09-24 22:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 22:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309186816001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309186816001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:57:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:57:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309186816001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":191772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:57:33] local.INFO: GPS data processed {"connection_id":191772,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:57:33] local.INFO: Acknowledgment sent {"connection_id":191772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:57:48] local.INFO: TCP Data received {"connection_id":191771,"ip":"117.224.31.21","data_length":93,"data_hex":"00000000000000518e01000001a0d4734be8012cf424800710e240001900862d..."} 
[2026-09-24 22:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191771,"packet_length":93,"packet_hex":"00000000000000518e01000001a0d4734be8012cf424800710e240001900862d..."} 
[2026-09-24 22:57:48] local.INFO: Processing buffer {"connection_id":191771,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0d4734be8012cf424800710e240001900862d..."} 
[2026-09-24 22:57:48] local.INFO: Packet analysis {"connection_id":191771,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0d473"} 
[2026-09-24 22:57:48] local.INFO: Extracted packet for processing {"connection_id":191771,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0d473"} 
[2026-09-24 22:57:48] local.INFO: GPS Element Parsed {"raw_longitude":754197632,"raw_latitude":118547008,"longitude_deg":75.4197632,"latitude_deg":11.8547008,"altitude":25,"angle":134,"satellites":45,"speed":17,"hex_longitude":"2cf42480","hex_latitude":"0710e240","is_valid_coordinates":true} 
[2026-09-24 22: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":93,"current_offset":40} 
[2026-09-24 22:57: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-09-24 22:57: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-09-24 22:57:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:57:48] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-24 22:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191771,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-24 22:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191771,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-24 22:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191771,"device_imei":"862567071632322","avl_records_count":0} 
[2026-09-24 22:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-24 22:57:48] local.WARNING: DEBUG: No valid data to process  
[2026-09-24 22:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":191771,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-24 22:57:48] local.ERROR: GPS data processing failed {"connection_id":191771,"error":"No valid data to process"} 
[2026-09-24 22:57:48] local.INFO: Acknowledgment sent {"connection_id":191771,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-24 22:58:04] local.INFO: TCP Data received {"connection_id":191772,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:58:04] local.INFO: Processing buffer {"connection_id":191772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d470ded0012d34c14006aa4940000900f529..."} 
[2026-09-24 22:58:04] local.INFO: Packet analysis {"connection_id":191772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d470"} 
[2026-09-24 22:58:04] local.INFO: Extracted packet for processing {"connection_id":191772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d470"} 
[2026-09-24 22:58:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309186816001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790270562000,"timestamp_ms":1790270562000,"timestamp_seconds":1790270562,"priority":1,"record_length":96,"hex_timestamp":"000001a0d470ded0"} 
[2026-09-24 22:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:58: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-09-24 22:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 22:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22: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-09-24 22:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309186816001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309186816001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:58:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:58:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309186816001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":191772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:58:04] local.INFO: GPS data processed {"connection_id":191772,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:58:04] local.INFO: Acknowledgment sent {"connection_id":191772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:58:06] local.INFO: TCP Data received {"connection_id":194443,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:58:06] local.INFO: Processing buffer {"connection_id":194443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:58:06] local.INFO: IMEI packet received {"connection_id":194443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":194443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:58:11] local.INFO: TCP Data received {"connection_id":194443,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:58:11] local.INFO: Processing buffer {"connection_id":194443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:58:11] local.INFO: IMEI packet received {"connection_id":194443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":194443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:58:12] local.INFO: TCP Data received {"connection_id":194443,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4742e780100000000000000000000000000..."} 
[2026-09-24 22:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4742e780100000000000000000000000000..."} 
[2026-09-24 22:58:12] local.INFO: Processing buffer {"connection_id":194443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4742e780100000000000000000000000000..."} 
[2026-09-24 22:58:12] local.INFO: Packet analysis {"connection_id":194443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d474"} 
[2026-09-24 22:58:12] local.INFO: Extracted packet for processing {"connection_id":194443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d474"} 
[2026-09-24 22:58:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 22:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309304576001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:58:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-854417261457162240,"note":"Value kept but may cause issues"} 
[2026-09-24 22:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790270779000,"timestamp_ms":1790270779000,"timestamp_seconds":1790270779,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4742e78"} 
[2026-09-24 22:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-24 22:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":194443,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 22:58:12] local.INFO: GPS data processed {"connection_id":194443,"processed":0,"errors":0,"total":1} 
[2026-09-24 22:58:12] local.INFO: Acknowledgment sent {"connection_id":194443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:58:27] local.INFO: TCP Data received {"connection_id":191773,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:58:27] local.INFO: Processing buffer {"connection_id":191773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:58:27] local.INFO: IMEI packet received {"connection_id":191773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":191773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:58:32] local.INFO: TCP Data received {"connection_id":191773,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:58:32] local.INFO: Processing buffer {"connection_id":191773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:58:32] local.INFO: IMEI packet received {"connection_id":191773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":191773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:58:33] local.INFO: TCP Data received {"connection_id":191773,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:58:33] local.INFO: Processing buffer {"connection_id":191773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:58:33] local.INFO: Packet analysis {"connection_id":191773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 22:58:33] local.INFO: Extracted packet for processing {"connection_id":191773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 22:58:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309263872001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790270863000,"timestamp_ms":1790270863000,"timestamp_seconds":1790270863,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4757698"} 
[2026-09-24 22:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309263872001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309263872001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:58:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:58:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309263872001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":191773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:58:33] local.INFO: GPS data processed {"connection_id":191773,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:58:33] local.INFO: Acknowledgment sent {"connection_id":191773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:58:44] local.INFO: TCP Data received {"connection_id":194443,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d473b948012cf448800710c068001b00862e..."} 
[2026-09-24 22:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d473b948012cf448800710c068001b00862e..."} 
[2026-09-24 22:58:44] local.INFO: Processing buffer {"connection_id":194443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d473b948012cf448800710c068001b00862e..."} 
[2026-09-24 22:58:44] local.INFO: Packet analysis {"connection_id":194443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d473"} 
[2026-09-24 22:58:44] local.INFO: Extracted packet for processing {"connection_id":194443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d473"} 
[2026-09-24 22:58:44] local.INFO: GPS Element Parsed {"raw_longitude":754206848,"raw_latitude":118538344,"longitude_deg":75.4206848,"latitude_deg":11.8538344,"altitude":27,"angle":134,"satellites":46,"speed":13,"hex_longitude":"2cf44880","hex_latitude":"0710c068","is_valid_coordinates":true} 
[2026-09-24 22:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:58:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,108,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 22:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790270749000,"timestamp_ms":1790270749000,"timestamp_seconds":1790270749,"priority":1,"record_length":96,"hex_timestamp":"000001a0d473b948"} 
[2026-09-24 22:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-24 22:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28082,"108":206,"2":54272,"24":13,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16]} 
[2026-09-24 22:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 22:58:44] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-24 22:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:58:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28082,"unknown_108":206,"power_alt":54272,"ignition":13,"odometer":null}} 
[2026-09-24 22:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":194443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892611,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:58:44] local.INFO: GPS data processed {"connection_id":194443,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:58:44] local.INFO: Acknowledgment sent {"connection_id":194443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:59:04] local.INFO: TCP Data received {"connection_id":191773,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:59:04] local.INFO: Processing buffer {"connection_id":191773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:59:04] local.INFO: Packet analysis {"connection_id":191773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 22:59:04] local.INFO: Extracted packet for processing {"connection_id":191773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 22:59:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22: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-09-24 22:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309263872001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790270863000,"timestamp_ms":1790270863000,"timestamp_seconds":1790270863,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4757698"} 
[2026-09-24 22:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:59: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-09-24 22: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-09-24 22:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309263872001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309263872001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:59:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:59:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309263872001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":191773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:59:04] local.INFO: GPS data processed {"connection_id":191773,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:59:04] local.INFO: Acknowledgment sent {"connection_id":191773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:59:06] local.INFO: TCP Data received {"connection_id":191588,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:59:06] local.INFO: Processing buffer {"connection_id":191588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:59:06] local.INFO: IMEI packet received {"connection_id":191588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 22:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":191588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:59:11] local.INFO: TCP Data received {"connection_id":191588,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:59:11] local.INFO: Processing buffer {"connection_id":191588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 22:59:11] local.INFO: IMEI packet received {"connection_id":191588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 22:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":191588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:59:13] local.INFO: TCP Data received {"connection_id":191588,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4740b50012cf448800710c068001b00862e..."} 
[2026-09-24 22:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4740b50012cf448800710c068001b00862e..."} 
[2026-09-24 22:59:13] local.INFO: Processing buffer {"connection_id":191588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4740b50012cf448800710c068001b00862e..."} 
[2026-09-24 22:59:13] local.INFO: Packet analysis {"connection_id":191588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d474"} 
[2026-09-24 22:59:13] local.INFO: Extracted packet for processing {"connection_id":191588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d474"} 
[2026-09-24 22:59:13] local.INFO: GPS Element Parsed {"raw_longitude":754206848,"raw_latitude":118538344,"longitude_deg":75.4206848,"latitude_deg":11.8538344,"altitude":27,"angle":134,"satellites":46,"speed":0,"hex_longitude":"2cf44880","hex_latitude":"0710c068","is_valid_coordinates":true} 
[2026-09-24 22:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309311744001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:59:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-844284162297796608,"note":"Value kept but may cause issues"} 
[2026-09-24 22:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790270770000,"timestamp_ms":1790270770000,"timestamp_seconds":1790270770,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4740b50"} 
[2026-09-24 22:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 22:59:13] 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-09-24 22:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309311744001,"66":27984,"108":206,"2":54272,"24":0,"16":3605341577150464,"44":-844284162297796608},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-09-24 22:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309311744001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:59:13] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-24 22:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:59:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-844284162297796608,"description":"Unknown IO ID 44"} 
[2026-09-24 22:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309311744001,"power":27984,"unknown_108":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-844284162297796608}} 
[2026-09-24 22:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":191588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892613,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:59:13] local.INFO: GPS data processed {"connection_id":191588,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:59:13] local.INFO: Acknowledgment sent {"connection_id":191588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:59:32] local.INFO: TCP Data received {"connection_id":194444,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:59:32] local.INFO: Processing buffer {"connection_id":194444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:59:32] local.INFO: IMEI packet received {"connection_id":194444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 22:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":194444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 22:59:37] local.INFO: TCP Data received {"connection_id":194444,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:59:37] local.INFO: Processing buffer {"connection_id":194444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 22:59:37] local.INFO: IMEI packet received {"connection_id":194444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 22:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":194444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 22:59:38] local.INFO: TCP Data received {"connection_id":194444,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:59:38] local.INFO: Processing buffer {"connection_id":194444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:59:38] local.INFO: Packet analysis {"connection_id":194444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 22:59:38] local.INFO: Extracted packet for processing {"connection_id":194444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 22:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309263872001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790270863000,"timestamp_ms":1790270863000,"timestamp_seconds":1790270863,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4757698"} 
[2026-09-24 22:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309263872001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309263872001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:59:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309263872001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":194444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:59:38] local.INFO: GPS data processed {"connection_id":194444,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:59:38] local.INFO: Acknowledgment sent {"connection_id":194444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:59:43] local.INFO: TCP Data received {"connection_id":194444,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:59:43] local.INFO: Processing buffer {"connection_id":194444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 22:59:43] local.INFO: Packet analysis {"connection_id":194444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 22:59:43] local.INFO: Extracted packet for processing {"connection_id":194444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 22:59:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 22:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309263872001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 22:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 22:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790270863000,"timestamp_ms":1790270863000,"timestamp_seconds":1790270863,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4757698"} 
[2026-09-24 22:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 22:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 22:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":194444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":194444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":194444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 22:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 22:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 22:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309263872001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 22:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 22:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 22:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309263872001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:59:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 22:59:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 22:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 22:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309263872001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 22:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":194444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:59:43] local.INFO: GPS data processed {"connection_id":194444,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:59:43] local.INFO: Acknowledgment sent {"connection_id":194444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 22:59:44] local.INFO: TCP Data received {"connection_id":191588,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4745588012cf46a800710a5180022006c2e..."} 
[2026-09-24 22:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4745588012cf46a800710a5180022006c2e..."} 
[2026-09-24 22:59:44] local.INFO: Processing buffer {"connection_id":191588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4745588012cf46a800710a5180022006c2e..."} 
[2026-09-24 22:59:44] local.INFO: Packet analysis {"connection_id":191588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d474"} 
[2026-09-24 22:59:44] local.INFO: Extracted packet for processing {"connection_id":191588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d474"} 
[2026-09-24 22:59:44] local.INFO: GPS Element Parsed {"raw_longitude":754215552,"raw_latitude":118531352,"longitude_deg":75.4215552,"latitude_deg":11.8531352,"altitude":34,"angle":108,"satellites":46,"speed":10,"hex_longitude":"2cf46a80","hex_latitude":"0710a518","is_valid_coordinates":true} 
[2026-09-24 22:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 22:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309317120001,"note":"Value kept but may cause issues"} 
[2026-09-24 22:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 22:59:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-844284162297796608,"note":"Value kept but may cause issues"} 
[2026-09-24 22:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 22:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790270789000,"timestamp_ms":1790270789000,"timestamp_seconds":1790270789,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4745588"} 
[2026-09-24 22:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 22:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 22:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 22:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 22:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 22:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 22:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 22:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 22:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 22:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 22:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 22:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 22:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309317120001,"66":27376,"108":206,"2":54272,"24":10,"16":3605341577150464,"44":-844284162297796608},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-09-24 22:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 22:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 22:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309317120001,"description":"Unknown IO ID 0"} 
[2026-09-24 22:59:44] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-24 22:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 22:59:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-844284162297796608,"description":"Unknown IO ID 44"} 
[2026-09-24 22:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309317120001,"power":27376,"unknown_108":206,"power_alt":54272,"ignition":10,"odometer":null,"unknown_44":-844284162297796608}} 
[2026-09-24 22:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":191588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892616,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 22:59:45] local.INFO: GPS data processed {"connection_id":191588,"processed":1,"errors":0,"total":1} 
[2026-09-24 22:59:45] local.INFO: Acknowledgment sent {"connection_id":191588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:00:06] local.INFO: TCP Data received {"connection_id":193151,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193151,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:00:06] local.INFO: Processing buffer {"connection_id":193151,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:00:06] local.INFO: IMEI packet received {"connection_id":193151,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":193151,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:00:11] local.INFO: TCP Data received {"connection_id":193151,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193151,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:00:11] local.INFO: Processing buffer {"connection_id":193151,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:00:11] local.INFO: IMEI packet received {"connection_id":193151,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":193151,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:00:12] local.INFO: TCP Data received {"connection_id":193151,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47538180100000000000000000000000000..."} 
[2026-09-24 23:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47538180100000000000000000000000000..."} 
[2026-09-24 23:00:12] local.INFO: Processing buffer {"connection_id":193151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47538180100000000000000000000000000..."} 
[2026-09-24 23:00:12] local.INFO: Packet analysis {"connection_id":193151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 23:00:12] local.INFO: Extracted packet for processing {"connection_id":193151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 23:00:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 23:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309321984001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:00:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-834714013091424256,"note":"Value kept but may cause issues"} 
[2026-09-24 23:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790270847000,"timestamp_ms":1790270847000,"timestamp_seconds":1790270847,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4753818"} 
[2026-09-24 23:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-24 23:00:12] 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-09-24 23:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193151,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193151,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":193151,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 23:00:12] local.INFO: GPS data processed {"connection_id":193151,"processed":0,"errors":0,"total":1} 
[2026-09-24 23:00:12] local.INFO: Acknowledgment sent {"connection_id":193151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:00:27] local.INFO: TCP Data received {"connection_id":191774,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:00:27] local.INFO: Processing buffer {"connection_id":191774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:00:27] local.INFO: IMEI packet received {"connection_id":191774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":191774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:00:32] local.INFO: TCP Data received {"connection_id":191774,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:00:32] local.INFO: Processing buffer {"connection_id":191774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:00:32] local.INFO: IMEI packet received {"connection_id":191774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":191774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:00:34] local.INFO: TCP Data received {"connection_id":191774,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:00:34] local.INFO: Processing buffer {"connection_id":191774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:00:34] local.INFO: Packet analysis {"connection_id":191774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 23:00:34] local.INFO: Extracted packet for processing {"connection_id":191774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 23:00:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309263872001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790270863000,"timestamp_ms":1790270863000,"timestamp_seconds":1790270863,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4757698"} 
[2026-09-24 23:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:00: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-09-24 23:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309263872001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309263872001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:00:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:00:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309263872001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":191774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:00:34] local.INFO: GPS data processed {"connection_id":191774,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:00:34] local.INFO: Acknowledgment sent {"connection_id":191774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:01:02] local.INFO: TCP Data received {"connection_id":193151,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d474c2e8012cf4974007108228001f00852c..."} 
[2026-09-24 23:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d474c2e8012cf4974007108228001f00852c..."} 
[2026-09-24 23:01:02] local.INFO: Processing buffer {"connection_id":193151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d474c2e8012cf4974007108228001f00852c..."} 
[2026-09-24 23:01:02] local.INFO: Packet analysis {"connection_id":193151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d474"} 
[2026-09-24 23:01:02] local.INFO: Extracted packet for processing {"connection_id":193151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d474"} 
[2026-09-24 23:01:02] local.INFO: GPS Element Parsed {"raw_longitude":754227008,"raw_latitude":118522408,"longitude_deg":75.4227008,"latitude_deg":11.8522408,"altitude":31,"angle":133,"satellites":44,"speed":29,"hex_longitude":"2cf49740","hex_latitude":"07108228","is_valid_coordinates":true} 
[2026-09-24 23:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:01:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,36,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 23:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790270817000,"timestamp_ms":1790270817000,"timestamp_seconds":1790270817,"priority":1,"record_length":96,"hex_timestamp":"000001a0d474c2e8"} 
[2026-09-24 23:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-24 23:01:02] 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-09-24 23:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193151,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193151,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27821,"36":206,"2":54272,"24":29,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16]} 
[2026-09-24 23:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 23:01:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-24 23:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:01:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27821,"unknown_36":206,"power_alt":54272,"ignition":29,"odometer":null}} 
[2026-09-24 23:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":193151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892618,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:01:03] local.INFO: GPS data processed {"connection_id":193151,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:01:03] local.INFO: Acknowledgment sent {"connection_id":193151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:01:05] local.INFO: TCP Data received {"connection_id":191774,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:01:05] local.INFO: Processing buffer {"connection_id":191774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:01:05] local.INFO: Packet analysis {"connection_id":191774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 23:01:05] local.INFO: Extracted packet for processing {"connection_id":191774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 23:01:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 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-09-24 23:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309263872001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790270863000,"timestamp_ms":1790270863000,"timestamp_seconds":1790270863,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4757698"} 
[2026-09-24 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-09-24 23:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:01: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-09-24 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-09-24 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-09-24 23:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309263872001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309263872001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:01:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:01:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309263872001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":191774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:01:05] local.INFO: GPS data processed {"connection_id":191774,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:01:05] local.INFO: Acknowledgment sent {"connection_id":191774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:01:11] local.INFO: TCP Data received {"connection_id":191589,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191589,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:01:11] local.INFO: Processing buffer {"connection_id":191589,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:01:11] local.INFO: IMEI packet received {"connection_id":191589,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":191589,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:01:15] local.INFO: TCP Data received {"connection_id":191589,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191589,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:01:15] local.INFO: Processing buffer {"connection_id":191589,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:01:15] local.INFO: IMEI packet received {"connection_id":191589,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":191589,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:01:16] local.INFO: TCP Data received {"connection_id":191589,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47514f0012cf4c8c0071057d0001e008026..."} 
[2026-09-24 23:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47514f0012cf4c8c0071057d0001e008026..."} 
[2026-09-24 23:01:16] local.INFO: Processing buffer {"connection_id":191589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47514f0012cf4c8c0071057d0001e008026..."} 
[2026-09-24 23:01:16] local.INFO: Packet analysis {"connection_id":191589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 23:01:16] local.INFO: Extracted packet for processing {"connection_id":191589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 23:01:16] local.INFO: GPS Element Parsed {"raw_longitude":754239680,"raw_latitude":118511568,"longitude_deg":75.423968,"latitude_deg":11.8511568,"altitude":30,"angle":128,"satellites":38,"speed":32,"hex_longitude":"2cf4c8c0","hex_latitude":"071057d0","is_valid_coordinates":true} 
[2026-09-24 23:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309329152001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:01:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-822118007885912064,"note":"Value kept but may cause issues"} 
[2026-09-24 23:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790270838000,"timestamp_ms":1790270838000,"timestamp_seconds":1790270838,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47514f0"} 
[2026-09-24 23:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 23:01:16] 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-09-24 23:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191589,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191589,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309329152001,"66":27571,"36":206,"2":54272,"24":32,"16":3605341577150464,"44":-822118007885912064},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-09-24 23:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309329152001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:01:16] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-24 23:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:01:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-822118007885912064,"description":"Unknown IO ID 44"} 
[2026-09-24 23:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309329152001,"power":27571,"unknown_36":206,"power_alt":54272,"ignition":32,"odometer":null,"unknown_44":-822118007885912064}} 
[2026-09-24 23:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":191589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892620,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:01:16] local.INFO: GPS data processed {"connection_id":191589,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:01:16] local.INFO: Acknowledgment sent {"connection_id":191589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:01:17] local.INFO: TCP Data received {"connection_id":191589,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d475f7800100000000000000000000000000..."} 
[2026-09-24 23:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d475f7800100000000000000000000000000..."} 
[2026-09-24 23:01:17] local.INFO: Processing buffer {"connection_id":191589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d475f7800100000000000000000000000000..."} 
[2026-09-24 23:01:17] local.INFO: Packet analysis {"connection_id":191589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 23:01:17] local.INFO: Extracted packet for processing {"connection_id":191589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 23:01:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 23:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309334528001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:01:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-808184996541509632,"note":"Value kept but may cause issues"} 
[2026-09-24 23:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790270896000,"timestamp_ms":1790270896000,"timestamp_seconds":1790270896,"priority":1,"record_length":96,"hex_timestamp":"000001a0d475f780"} 
[2026-09-24 23:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-24 23:01:17] 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-09-24 23:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191589,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191589,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":191589,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 23:01:17] local.INFO: GPS data processed {"connection_id":191589,"processed":0,"errors":0,"total":1} 
[2026-09-24 23:01:17] local.INFO: Acknowledgment sent {"connection_id":191589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:01:27] local.INFO: TCP Data received {"connection_id":194445,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:01:27] local.INFO: Processing buffer {"connection_id":194445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:01:27] local.INFO: IMEI packet received {"connection_id":194445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":194445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:01:32] local.INFO: TCP Data received {"connection_id":194445,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:01:32] local.INFO: Processing buffer {"connection_id":194445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:01:32] local.INFO: IMEI packet received {"connection_id":194445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":194445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:01:33] local.INFO: TCP Data received {"connection_id":194445,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:01:33] local.INFO: Processing buffer {"connection_id":194445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:01:33] local.INFO: Packet analysis {"connection_id":194445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 23:01:33] local.INFO: Extracted packet for processing {"connection_id":194445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 23:01:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309263872001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790270863000,"timestamp_ms":1790270863000,"timestamp_seconds":1790270863,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4757698"} 
[2026-09-24 23:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309263872001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309263872001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:01:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:01:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309263872001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":194445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:01:33] local.INFO: GPS data processed {"connection_id":194445,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:01:33] local.INFO: Acknowledgment sent {"connection_id":194445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:01:50] local.INFO: TCP Data received {"connection_id":191589,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4756ae0012cf4f90007102f900018007b2d..."} 
[2026-09-24 23:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4756ae0012cf4f90007102f900018007b2d..."} 
[2026-09-24 23:01:50] local.INFO: Processing buffer {"connection_id":191589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4756ae0012cf4f90007102f900018007b2d..."} 
[2026-09-24 23:01:50] local.INFO: Packet analysis {"connection_id":191589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 23:01:50] local.INFO: Extracted packet for processing {"connection_id":191589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 23:01:50] local.INFO: GPS Element Parsed {"raw_longitude":754252032,"raw_latitude":118501264,"longitude_deg":75.4252032,"latitude_deg":11.8501264,"altitude":24,"angle":123,"satellites":45,"speed":29,"hex_longitude":"2cf4f900","hex_latitude":"07102f90","is_valid_coordinates":true} 
[2026-09-24 23:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:01:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,36,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 23:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790270860000,"timestamp_ms":1790270860000,"timestamp_seconds":1790270860,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4756ae0"} 
[2026-09-24 23:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 23:01:50] 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-09-24 23:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191589,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191589,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"36":206,"2":54272,"24":29,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16]} 
[2026-09-24 23:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 23:01:50] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-24 23:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:01:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_36":206,"power_alt":54272,"ignition":29,"odometer":null}} 
[2026-09-24 23:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":191589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892622,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:01:50] local.INFO: GPS data processed {"connection_id":191589,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:01:50] local.INFO: Acknowledgment sent {"connection_id":191589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:02:05] local.INFO: TCP Data received {"connection_id":194445,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:02:05] local.INFO: Processing buffer {"connection_id":194445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:02:05] local.INFO: Packet analysis {"connection_id":194445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 23:02:05] local.INFO: Extracted packet for processing {"connection_id":194445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 23:02:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309263872001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790270863000,"timestamp_ms":1790270863000,"timestamp_seconds":1790270863,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4757698"} 
[2026-09-24 23:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:02: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-09-24 23:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309263872001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309263872001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:02:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:02:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309263872001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":194445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:02:05] local.INFO: GPS data processed {"connection_id":194445,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:02:05] local.INFO: Acknowledgment sent {"connection_id":194445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:02:06] local.INFO: TCP Data received {"connection_id":194446,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:02:06] local.INFO: Processing buffer {"connection_id":194446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:02:06] local.INFO: IMEI packet received {"connection_id":194446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":194446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:02:11] local.INFO: TCP Data received {"connection_id":194446,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:02:11] local.INFO: Processing buffer {"connection_id":194446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:02:11] local.INFO: IMEI packet received {"connection_id":194446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":194446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:02:12] local.INFO: TCP Data received {"connection_id":194446,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d475bce8012cf533c007101340001400742d..."} 
[2026-09-24 23:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d475bce8012cf533c007101340001400742d..."} 
[2026-09-24 23:02:12] local.INFO: Processing buffer {"connection_id":194446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d475bce8012cf533c007101340001400742d..."} 
[2026-09-24 23:02:12] local.INFO: Packet analysis {"connection_id":194446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 23:02:12] local.INFO: Extracted packet for processing {"connection_id":194446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 23:02:12] local.INFO: GPS Element Parsed {"raw_longitude":754267072,"raw_latitude":118494016,"longitude_deg":75.4267072,"latitude_deg":11.8494016,"altitude":20,"angle":116,"satellites":45,"speed":33,"hex_longitude":"2cf533c0","hex_latitude":"07101340","is_valid_coordinates":true} 
[2026-09-24 23:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309340160001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:02:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-794603828917858304,"note":"Value kept but may cause issues"} 
[2026-09-24 23:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790270881000,"timestamp_ms":1790270881000,"timestamp_seconds":1790270881,"priority":1,"record_length":96,"hex_timestamp":"000001a0d475bce8"} 
[2026-09-24 23:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 23:02:12] 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-09-24 23:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309340160001,"66":27908,"36":206,"2":54272,"24":33,"16":3605341577150464,"44":-794603828917858304},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-09-24 23:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309340160001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:02:12] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-24 23:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:02:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-794603828917858304,"description":"Unknown IO ID 44"} 
[2026-09-24 23:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309340160001,"power":27908,"unknown_36":206,"power_alt":54272,"ignition":33,"odometer":null,"unknown_44":-794603828917858304}} 
[2026-09-24 23:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":194446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892624,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:02:12] local.INFO: GPS data processed {"connection_id":194446,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:02:12] local.INFO: Acknowledgment sent {"connection_id":194446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:02:27] local.INFO: TCP Data received {"connection_id":193152,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:02:27] local.INFO: Processing buffer {"connection_id":193152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:02:27] local.INFO: IMEI packet received {"connection_id":193152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":193152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:02:32] local.INFO: TCP Data received {"connection_id":193152,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:02:32] local.INFO: Processing buffer {"connection_id":193152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:02:32] local.INFO: IMEI packet received {"connection_id":193152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":193152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:02:34] local.INFO: TCP Data received {"connection_id":193152,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:02:34] local.INFO: Processing buffer {"connection_id":193152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:02:34] local.INFO: Packet analysis {"connection_id":193152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 23:02:34] local.INFO: Extracted packet for processing {"connection_id":193152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 23:02:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309263872001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790270863000,"timestamp_ms":1790270863000,"timestamp_seconds":1790270863,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4757698"} 
[2026-09-24 23:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:02: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-09-24 23:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309263872001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309263872001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:02:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:02:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309263872001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":193152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:02:34] local.INFO: GPS data processed {"connection_id":193152,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:02:34] local.INFO: Acknowledgment sent {"connection_id":193152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:02:47] local.INFO: TCP Data received {"connection_id":194446,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4760b08012cf56ac0070ff160001400882d..."} 
[2026-09-24 23:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4760b08012cf56ac0070ff160001400882d..."} 
[2026-09-24 23:02:47] local.INFO: Processing buffer {"connection_id":194446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4760b08012cf56ac0070ff160001400882d..."} 
[2026-09-24 23:02:47] local.INFO: Packet analysis {"connection_id":194446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d476"} 
[2026-09-24 23:02:47] local.INFO: Extracted packet for processing {"connection_id":194446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d476"} 
[2026-09-24 23:02:47] local.INFO: GPS Element Parsed {"raw_longitude":754281152,"raw_latitude":118485344,"longitude_deg":75.4281152,"latitude_deg":11.8485344,"altitude":20,"angle":136,"satellites":45,"speed":32,"hex_longitude":"2cf56ac0","hex_latitude":"070ff160","is_valid_coordinates":true} 
[2026-09-24 23:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309345536001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:02:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-778067174037962752,"note":"Value kept but may cause issues"} 
[2026-09-24 23:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790270901000,"timestamp_ms":1790270901000,"timestamp_seconds":1790270901,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4760b08"} 
[2026-09-24 23:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 23:02:47] 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-09-24 23:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":194446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":194446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":194446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309345536001,"66":27952,"36":206,"2":54272,"24":32,"16":3605341577150464,"44":-778067174037962752},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-09-24 23:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309345536001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:02:47] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-24 23:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:02:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-778067174037962752,"description":"Unknown IO ID 44"} 
[2026-09-24 23:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309345536001,"power":27952,"unknown_36":206,"power_alt":54272,"ignition":32,"odometer":null,"unknown_44":-778067174037962752}} 
[2026-09-24 23:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":194446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892626,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:02:47] local.INFO: GPS data processed {"connection_id":194446,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:02:47] local.INFO: Acknowledgment sent {"connection_id":194446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:03:05] local.INFO: TCP Data received {"connection_id":193152,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:03:05] local.INFO: Processing buffer {"connection_id":193152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4757698012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:03:05] local.INFO: Packet analysis {"connection_id":193152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 23:03:05] local.INFO: Extracted packet for processing {"connection_id":193152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d475"} 
[2026-09-24 23:03:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309263872001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790270863000,"timestamp_ms":1790270863000,"timestamp_seconds":1790270863,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4757698"} 
[2026-09-24 23:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:03: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-09-24 23:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309263872001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309263872001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:03:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:03:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309263872001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":193152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:03:05] local.INFO: GPS data processed {"connection_id":193152,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:03:05] local.INFO: Acknowledgment sent {"connection_id":193152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:03:06] local.INFO: TCP Data received {"connection_id":191590,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:03:06] local.INFO: Processing buffer {"connection_id":191590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:03:06] local.INFO: IMEI packet received {"connection_id":191590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":191590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:03:11] local.INFO: TCP Data received {"connection_id":191590,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:03:11] local.INFO: Processing buffer {"connection_id":191590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:03:11] local.INFO: IMEI packet received {"connection_id":191590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":191590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:03:12] local.INFO: TCP Data received {"connection_id":191590,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4765928012cf58980070fb010001200ae2e..."} 
[2026-09-24 23:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4765928012cf58980070fb010001200ae2e..."} 
[2026-09-24 23:03:12] local.INFO: Processing buffer {"connection_id":191590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4765928012cf58980070fb010001200ae2e..."} 
[2026-09-24 23:03:12] local.INFO: Packet analysis {"connection_id":191590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d476"} 
[2026-09-24 23:03:12] local.INFO: Extracted packet for processing {"connection_id":191590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d476"} 
[2026-09-24 23:03:12] local.INFO: GPS Element Parsed {"raw_longitude":754289024,"raw_latitude":118468624,"longitude_deg":75.4289024,"latitude_deg":11.8468624,"altitude":18,"angle":174,"satellites":46,"speed":41,"hex_longitude":"2cf58980","hex_latitude":"070fb010","is_valid_coordinates":true} 
[2026-09-24 23:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309350656001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:03:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-762586050321096704,"note":"Value kept but may cause issues"} 
[2026-09-24 23:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790270921000,"timestamp_ms":1790270921000,"timestamp_seconds":1790270921,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4765928"} 
[2026-09-24 23:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 23:03:12] 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-09-24 23:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309350656001,"66":27397,"36":206,"2":54272,"24":41,"16":3605341577150464,"44":-762586050321096704},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-09-24 23:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309350656001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:03:12] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-24 23:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:03:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-762586050321096704,"description":"Unknown IO ID 44"} 
[2026-09-24 23:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309350656001,"power":27397,"unknown_36":206,"power_alt":54272,"ignition":41,"odometer":null,"unknown_44":-762586050321096704}} 
[2026-09-24 23:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":191590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892628,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:03:12] local.INFO: GPS data processed {"connection_id":191590,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:03:12] local.INFO: Acknowledgment sent {"connection_id":191590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:03:32] local.INFO: TCP Data received {"connection_id":193153,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:03:32] local.INFO: Processing buffer {"connection_id":193153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:03:32] local.INFO: IMEI packet received {"connection_id":193153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":193153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:03:37] local.INFO: TCP Data received {"connection_id":193153,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:03:37] local.INFO: Processing buffer {"connection_id":193153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:03:37] local.INFO: IMEI packet received {"connection_id":193153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":193153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:03:39] local.INFO: TCP Data received {"connection_id":193153,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:03:39] local.INFO: Processing buffer {"connection_id":193153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:03:39] local.INFO: Packet analysis {"connection_id":193153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:03:39] local.INFO: Extracted packet for processing {"connection_id":193153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:03:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309340928001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790271164000,"timestamp_ms":1790271164000,"timestamp_seconds":1790271164,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47a0e60"} 
[2026-09-24 23:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309340928001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309340928001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:03:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:03:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309340928001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":193153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:03:39] local.INFO: GPS data processed {"connection_id":193153,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:03:39] local.INFO: Acknowledgment sent {"connection_id":193153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:03:43] local.INFO: TCP Data received {"connection_id":193153,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:03:43] local.INFO: Processing buffer {"connection_id":193153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:03:43] local.INFO: Packet analysis {"connection_id":193153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:03:43] local.INFO: Extracted packet for processing {"connection_id":193153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:03:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309340928001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790271164000,"timestamp_ms":1790271164000,"timestamp_seconds":1790271164,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47a0e60"} 
[2026-09-24 23:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309340928001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309340928001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:03:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:03:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309340928001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":193153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:03:43] local.INFO: GPS data processed {"connection_id":193153,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:03:43] local.INFO: Acknowledgment sent {"connection_id":193153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:03:45] local.INFO: TCP Data received {"connection_id":191590,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d479b870012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d479b870012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:03:45] local.INFO: Processing buffer {"connection_id":191590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d479b870012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:03:45] local.INFO: Packet analysis {"connection_id":191590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d479"} 
[2026-09-24 23:03:45] local.INFO: Extracted packet for processing {"connection_id":191590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d479"} 
[2026-09-24 23:03:45] local.INFO: GPS Element Parsed {"raw_longitude":754315008,"raw_latitude":118335632,"longitude_deg":75.4315008,"latitude_deg":11.8335632,"altitude":15,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2cf5ef00","hex_latitude":"070da890","is_valid_coordinates":true} 
[2026-09-24 23:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309406976001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:03:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-725360984689438720,"note":"Value kept but may cause issues"} 
[2026-09-24 23:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790271142000,"timestamp_ms":1790271142000,"timestamp_seconds":1790271142,"priority":1,"record_length":96,"hex_timestamp":"000001a0d479b870"} 
[2026-09-24 23:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:03: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-09-24 23:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-24 23:03:45] 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-09-24 23:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309406976001,"66":28300,"208":206,"2":54272,"24":0,"16":3605341577150464,"44":-725360984689438720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-09-24 23:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309406976001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:03:45] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-24 23:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:03:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-725360984689438720,"description":"Unknown IO ID 44"} 
[2026-09-24 23:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309406976001,"power":28300,"unknown_208":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-725360984689438720}} 
[2026-09-24 23:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":191590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892631,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:03:45] local.INFO: GPS data processed {"connection_id":191590,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:03:45] local.INFO: Acknowledgment sent {"connection_id":191590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:04:06] local.INFO: TCP Data received {"connection_id":193154,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:04:06] local.INFO: Processing buffer {"connection_id":193154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:04:06] local.INFO: IMEI packet received {"connection_id":193154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":193154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:04:11] local.INFO: TCP Data received {"connection_id":193154,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:04:11] local.INFO: Processing buffer {"connection_id":193154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:04:11] local.INFO: IMEI packet received {"connection_id":193154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":193154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:04:12] local.INFO: TCP Data received {"connection_id":193154,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47a0a78012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47a0a78012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:04:12] local.INFO: Processing buffer {"connection_id":193154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47a0a78012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:04:12] local.INFO: Packet analysis {"connection_id":193154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:04:12] local.INFO: Extracted packet for processing {"connection_id":193154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:04:12] local.INFO: GPS Element Parsed {"raw_longitude":754315008,"raw_latitude":118335632,"longitude_deg":75.4315008,"latitude_deg":11.8335632,"altitude":15,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2cf5ef00","hex_latitude":"070da890","is_valid_coordinates":true} 
[2026-09-24 23:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309412352001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:04:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-725360984689438720,"note":"Value kept but may cause issues"} 
[2026-09-24 23:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790271163000,"timestamp_ms":1790271163000,"timestamp_seconds":1790271163,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47a0a78"} 
[2026-09-24 23:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 23:04:12] 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-09-24 23:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309412352001,"66":28419,"208":206,"2":54272,"24":0,"16":3605341577150464,"44":-725360984689438720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-09-24 23:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309412352001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:04:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-24 23:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:04:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-725360984689438720,"description":"Unknown IO ID 44"} 
[2026-09-24 23:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309412352001,"power":28419,"unknown_208":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-725360984689438720}} 
[2026-09-24 23:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":193154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892632,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:04:12] local.INFO: GPS data processed {"connection_id":193154,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:04:12] local.INFO: Acknowledgment sent {"connection_id":193154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:04:27] local.INFO: TCP Data received {"connection_id":191775,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:04:27] local.INFO: Processing buffer {"connection_id":191775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:04:27] local.INFO: IMEI packet received {"connection_id":191775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":191775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:04:32] local.INFO: TCP Data received {"connection_id":191775,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:04:32] local.INFO: Processing buffer {"connection_id":191775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:04:32] local.INFO: IMEI packet received {"connection_id":191775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":191775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:04:33] local.INFO: TCP Data received {"connection_id":191775,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:04:33] local.INFO: Processing buffer {"connection_id":191775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:04:33] local.INFO: Packet analysis {"connection_id":191775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:04:33] local.INFO: Extracted packet for processing {"connection_id":191775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:04:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309340928001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790271164000,"timestamp_ms":1790271164000,"timestamp_seconds":1790271164,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47a0e60"} 
[2026-09-24 23:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309340928001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309340928001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:04:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:04:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309340928001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":191775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:04:33] local.INFO: GPS data processed {"connection_id":191775,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:04:33] local.INFO: Acknowledgment sent {"connection_id":191775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:04:38] local.INFO: TCP Data received {"connection_id":191775,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:04:38] local.INFO: Processing buffer {"connection_id":191775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:04:38] local.INFO: Packet analysis {"connection_id":191775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:04:38] local.INFO: Extracted packet for processing {"connection_id":191775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309340928001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790271164000,"timestamp_ms":1790271164000,"timestamp_seconds":1790271164,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47a0e60"} 
[2026-09-24 23:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309340928001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309340928001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:04:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:04:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309340928001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":191775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:04:38] local.INFO: GPS data processed {"connection_id":191775,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:04:38] local.INFO: Acknowledgment sent {"connection_id":191775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:04:45] local.INFO: TCP Data received {"connection_id":193154,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47a5c80012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47a5c80012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:04:45] local.INFO: Processing buffer {"connection_id":193154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47a5c80012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:04:45] local.INFO: Packet analysis {"connection_id":193154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:04:45] local.INFO: Extracted packet for processing {"connection_id":193154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:04:45] local.INFO: GPS Element Parsed {"raw_longitude":754315008,"raw_latitude":118335632,"longitude_deg":75.4315008,"latitude_deg":11.8335632,"altitude":15,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2cf5ef00","hex_latitude":"070da890","is_valid_coordinates":true} 
[2026-09-24 23:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309417728001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:04:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-725360984689438720,"note":"Value kept but may cause issues"} 
[2026-09-24 23:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790271184000,"timestamp_ms":1790271184000,"timestamp_seconds":1790271184,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47a5c80"} 
[2026-09-24 23:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:04: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-09-24 23:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-24 23:04:45] 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-09-24 23:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309417728001,"66":28430,"208":206,"2":54272,"24":0,"16":3605341577150464,"44":-725360984689438720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-09-24 23:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309417728001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:04:45] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-24 23:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:04:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-725360984689438720,"description":"Unknown IO ID 44"} 
[2026-09-24 23:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309417728001,"power":28430,"unknown_208":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-725360984689438720}} 
[2026-09-24 23:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":193154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892635,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:04:45] local.INFO: GPS data processed {"connection_id":193154,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:04:45] local.INFO: Acknowledgment sent {"connection_id":193154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:05:06] local.INFO: TCP Data received {"connection_id":194447,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:05:06] local.INFO: Processing buffer {"connection_id":194447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:05:06] local.INFO: IMEI packet received {"connection_id":194447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":194447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:05:06] local.INFO: TCP Data received {"connection_id":194447,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:05:06] local.INFO: Processing buffer {"connection_id":194447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:05:06] local.INFO: IMEI packet received {"connection_id":194447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":194447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:05:09] local.INFO: TCP Data received {"connection_id":191775,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:05:09] local.INFO: Processing buffer {"connection_id":191775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:05:09] local.INFO: Packet analysis {"connection_id":191775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:05:09] local.INFO: Extracted packet for processing {"connection_id":191775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309340928001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790271164000,"timestamp_ms":1790271164000,"timestamp_seconds":1790271164,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47a0e60"} 
[2026-09-24 23:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:05: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-09-24 23:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309340928001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309340928001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:05:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309340928001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":191775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:05:09] local.INFO: GPS data processed {"connection_id":191775,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:05:09] local.INFO: Acknowledgment sent {"connection_id":191775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:05:11] local.INFO: TCP Data received {"connection_id":194447,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:05:11] local.INFO: Processing buffer {"connection_id":194447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:05:11] local.INFO: IMEI packet received {"connection_id":194447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":194447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:05:12] local.INFO: TCP Data received {"connection_id":194447,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47aae88012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47aae88012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:05:12] local.INFO: Processing buffer {"connection_id":194447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47aae88012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:05:12] local.INFO: Packet analysis {"connection_id":194447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:05:12] local.INFO: Extracted packet for processing {"connection_id":194447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:05:12] local.INFO: GPS Element Parsed {"raw_longitude":754315008,"raw_latitude":118335632,"longitude_deg":75.4315008,"latitude_deg":11.8335632,"altitude":15,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2cf5ef00","hex_latitude":"070da890","is_valid_coordinates":true} 
[2026-09-24 23:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309423104001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:05:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-725360984689438720,"note":"Value kept but may cause issues"} 
[2026-09-24 23:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790271205000,"timestamp_ms":1790271205000,"timestamp_seconds":1790271205,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47aae88"} 
[2026-09-24 23:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-24 23:05:12] 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-09-24 23:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309423104001,"66":28354,"208":206,"2":54272,"24":0,"16":3605341577150464,"44":-725360984689438720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-09-24 23:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309423104001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:05:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-24 23:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:05:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-725360984689438720,"description":"Unknown IO ID 44"} 
[2026-09-24 23:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309423104001,"power":28354,"unknown_208":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-725360984689438720}} 
[2026-09-24 23:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":194447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892637,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:05:12] local.INFO: GPS data processed {"connection_id":194447,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:05:12] local.INFO: Acknowledgment sent {"connection_id":194447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:05:28] local.INFO: TCP Data received {"connection_id":193155,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:05:28] local.INFO: Processing buffer {"connection_id":193155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:05:28] local.INFO: IMEI packet received {"connection_id":193155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":193155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:05:32] local.INFO: TCP Data received {"connection_id":193155,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:05:32] local.INFO: Processing buffer {"connection_id":193155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:05:32] local.INFO: IMEI packet received {"connection_id":193155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":193155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:05:33] local.INFO: TCP Data received {"connection_id":193155,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:05:33] local.INFO: Processing buffer {"connection_id":193155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:05:33] local.INFO: Packet analysis {"connection_id":193155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:05:33] local.INFO: Extracted packet for processing {"connection_id":193155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:05:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309340928001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790271164000,"timestamp_ms":1790271164000,"timestamp_seconds":1790271164,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47a0e60"} 
[2026-09-24 23:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309340928001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309340928001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:05:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:05:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309340928001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":193155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:05:33] local.INFO: GPS data processed {"connection_id":193155,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:05:33] local.INFO: Acknowledgment sent {"connection_id":193155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:05:44] local.INFO: TCP Data received {"connection_id":194447,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47b0090012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47b0090012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:05:44] local.INFO: Processing buffer {"connection_id":194447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47b0090012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:05:44] local.INFO: Packet analysis {"connection_id":194447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47b"} 
[2026-09-24 23:05:44] local.INFO: Extracted packet for processing {"connection_id":194447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47b"} 
[2026-09-24 23:05:44] local.INFO: GPS Element Parsed {"raw_longitude":754315008,"raw_latitude":118335632,"longitude_deg":75.4315008,"latitude_deg":11.8335632,"altitude":15,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2cf5ef00","hex_latitude":"070da890","is_valid_coordinates":true} 
[2026-09-24 23:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309428480001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:05:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-725360984689438720,"note":"Value kept but may cause issues"} 
[2026-09-24 23:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790271226000,"timestamp_ms":1790271226000,"timestamp_seconds":1790271226,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47b0090"} 
[2026-09-24 23:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 23:05:44] 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-09-24 23:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309428480001,"66":28376,"208":206,"2":54272,"24":0,"16":3605341577150464,"44":-725360984689438720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-09-24 23:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309428480001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:05:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-24 23:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:05:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-725360984689438720,"description":"Unknown IO ID 44"} 
[2026-09-24 23:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309428480001,"power":28376,"unknown_208":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-725360984689438720}} 
[2026-09-24 23:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":194447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892639,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:05:44] local.INFO: GPS data processed {"connection_id":194447,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:05:44] local.INFO: Acknowledgment sent {"connection_id":194447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:06:04] local.INFO: TCP Data received {"connection_id":193155,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:06:04] local.INFO: Processing buffer {"connection_id":193155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:06:04] local.INFO: Packet analysis {"connection_id":193155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:06:04] local.INFO: Extracted packet for processing {"connection_id":193155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:06:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309340928001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790271164000,"timestamp_ms":1790271164000,"timestamp_seconds":1790271164,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47a0e60"} 
[2026-09-24 23:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:06: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-09-24 23: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-09-24 23:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309340928001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309340928001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:06:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:06:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309340928001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":193155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:06:04] local.INFO: GPS data processed {"connection_id":193155,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:06:04] local.INFO: Acknowledgment sent {"connection_id":193155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:06:10] local.INFO: TCP Data received {"connection_id":191776,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:06:10] local.INFO: Processing buffer {"connection_id":191776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:06:10] local.INFO: IMEI packet received {"connection_id":191776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":191776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:06:11] local.INFO: TCP Data received {"connection_id":191776,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:06:11] local.INFO: Processing buffer {"connection_id":191776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:06:11] local.INFO: IMEI packet received {"connection_id":191776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":191776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:06:16] local.INFO: TCP Data received {"connection_id":191776,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:06:16] local.INFO: Processing buffer {"connection_id":191776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:06:16] local.INFO: IMEI packet received {"connection_id":191776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":191776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:06:17] local.INFO: TCP Data received {"connection_id":191776,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47b5298012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47b5298012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:06:17] local.INFO: Processing buffer {"connection_id":191776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47b5298012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:06:17] local.INFO: Packet analysis {"connection_id":191776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47b"} 
[2026-09-24 23:06:17] local.INFO: Extracted packet for processing {"connection_id":191776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47b"} 
[2026-09-24 23:06:17] local.INFO: GPS Element Parsed {"raw_longitude":754315008,"raw_latitude":118335632,"longitude_deg":75.4315008,"latitude_deg":11.8335632,"altitude":15,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2cf5ef00","hex_latitude":"070da890","is_valid_coordinates":true} 
[2026-09-24 23:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309433856001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:06:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-725360984689438720,"note":"Value kept but may cause issues"} 
[2026-09-24 23:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790271247000,"timestamp_ms":1790271247000,"timestamp_seconds":1790271247,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47b5298"} 
[2026-09-24 23:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 23:06:17] 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-09-24 23:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191776,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191776,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309433856001,"66":28376,"208":206,"2":54272,"24":0,"16":3605341577150464,"44":-725360984689438720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-09-24 23:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309433856001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:06:17] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-24 23:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:06:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-725360984689438720,"description":"Unknown IO ID 44"} 
[2026-09-24 23:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309433856001,"power":28376,"unknown_208":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-725360984689438720}} 
[2026-09-24 23:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":191776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892641,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:06:17] local.INFO: GPS data processed {"connection_id":191776,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:06:17] local.INFO: Acknowledgment sent {"connection_id":191776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:06:22] local.INFO: TCP Data received {"connection_id":191776,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47ba4a0012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47ba4a0012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:06:22] local.INFO: Processing buffer {"connection_id":191776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47ba4a0012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:06:22] local.INFO: Packet analysis {"connection_id":191776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47b"} 
[2026-09-24 23:06:22] local.INFO: Extracted packet for processing {"connection_id":191776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47b"} 
[2026-09-24 23:06:22] local.INFO: GPS Element Parsed {"raw_longitude":754315008,"raw_latitude":118335632,"longitude_deg":75.4315008,"latitude_deg":11.8335632,"altitude":15,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2cf5ef00","hex_latitude":"070da890","is_valid_coordinates":true} 
[2026-09-24 23:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309439232001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:06:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-725360984689438720,"note":"Value kept but may cause issues"} 
[2026-09-24 23:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790271268000,"timestamp_ms":1790271268000,"timestamp_seconds":1790271268,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47ba4a0"} 
[2026-09-24 23:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-24 23:06: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-09-24 23:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191776,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191776,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309439232001,"66":28398,"208":206,"2":54272,"24":0,"16":3605341577150464,"44":-725360984689438720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-09-24 23:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309439232001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:06:22] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-24 23:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:06:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-725360984689438720,"description":"Unknown IO ID 44"} 
[2026-09-24 23:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309439232001,"power":28398,"unknown_208":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-725360984689438720}} 
[2026-09-24 23:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":191776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892642,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:06:22] local.INFO: GPS data processed {"connection_id":191776,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:06:22] local.INFO: Acknowledgment sent {"connection_id":191776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:06:27] local.INFO: TCP Data received {"connection_id":194448,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:06:27] local.INFO: Processing buffer {"connection_id":194448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:06:27] local.INFO: IMEI packet received {"connection_id":194448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":194448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:06:32] local.INFO: TCP Data received {"connection_id":194448,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:06:32] local.INFO: Processing buffer {"connection_id":194448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:06:32] local.INFO: IMEI packet received {"connection_id":194448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":194448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:06:33] local.INFO: TCP Data received {"connection_id":194448,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:06:33] local.INFO: Processing buffer {"connection_id":194448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:06:33] local.INFO: Packet analysis {"connection_id":194448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:06:33] local.INFO: Extracted packet for processing {"connection_id":194448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:06:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309340928001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790271164000,"timestamp_ms":1790271164000,"timestamp_seconds":1790271164,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47a0e60"} 
[2026-09-24 23:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309340928001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309340928001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:06:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:06:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309340928001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":194448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:06:33] local.INFO: GPS data processed {"connection_id":194448,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:06:33] local.INFO: Acknowledgment sent {"connection_id":194448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:07:05] local.INFO: TCP Data received {"connection_id":194448,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:07:05] local.INFO: Processing buffer {"connection_id":194448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:07:05] local.INFO: Packet analysis {"connection_id":194448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:07:05] local.INFO: Extracted packet for processing {"connection_id":194448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:07:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309340928001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790271164000,"timestamp_ms":1790271164000,"timestamp_seconds":1790271164,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47a0e60"} 
[2026-09-24 23:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:07: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-09-24 23: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-09-24 23:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309340928001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309340928001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:07:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:07:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309340928001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":194448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:07:05] local.INFO: GPS data processed {"connection_id":194448,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:07:05] local.INFO: Acknowledgment sent {"connection_id":194448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:07:06] local.INFO: TCP Data received {"connection_id":191591,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:07:06] local.INFO: Processing buffer {"connection_id":191591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:07:06] local.INFO: IMEI packet received {"connection_id":191591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":191591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:07:11] local.INFO: TCP Data received {"connection_id":191591,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:07:11] local.INFO: Processing buffer {"connection_id":191591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:07:11] local.INFO: IMEI packet received {"connection_id":191591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":191591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:07:12] local.INFO: TCP Data received {"connection_id":191591,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47bf6a8012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47bf6a8012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:07:12] local.INFO: Processing buffer {"connection_id":191591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47bf6a8012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:07:12] local.INFO: Packet analysis {"connection_id":191591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47b"} 
[2026-09-24 23:07:12] local.INFO: Extracted packet for processing {"connection_id":191591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47b"} 
[2026-09-24 23:07:12] local.INFO: GPS Element Parsed {"raw_longitude":754315008,"raw_latitude":118335632,"longitude_deg":75.4315008,"latitude_deg":11.8335632,"altitude":15,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2cf5ef00","hex_latitude":"070da890","is_valid_coordinates":true} 
[2026-09-24 23:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309444608001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:07:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-725360984689438720,"note":"Value kept but may cause issues"} 
[2026-09-24 23:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790271289000,"timestamp_ms":1790271289000,"timestamp_seconds":1790271289,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47bf6a8"} 
[2026-09-24 23:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-24 23:07:12] 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-09-24 23:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309444608001,"66":28354,"208":206,"2":54272,"24":0,"16":3605341577150464,"44":-725360984689438720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-09-24 23:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309444608001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:07:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-24 23:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:07:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-725360984689438720,"description":"Unknown IO ID 44"} 
[2026-09-24 23:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309444608001,"power":28354,"unknown_208":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-725360984689438720}} 
[2026-09-24 23:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":191591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892645,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:07:13] local.INFO: GPS data processed {"connection_id":191591,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:07:13] local.INFO: Acknowledgment sent {"connection_id":191591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:07:27] local.INFO: TCP Data received {"connection_id":194449,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:07:27] local.INFO: Processing buffer {"connection_id":194449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:07:27] local.INFO: IMEI packet received {"connection_id":194449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":194449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:07:32] local.INFO: TCP Data received {"connection_id":194449,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:07:32] local.INFO: Processing buffer {"connection_id":194449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:07:32] local.INFO: IMEI packet received {"connection_id":194449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":194449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:07:33] local.INFO: TCP Data received {"connection_id":194449,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:07:33] local.INFO: Processing buffer {"connection_id":194449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:07:33] local.INFO: Packet analysis {"connection_id":194449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:07:33] local.INFO: Extracted packet for processing {"connection_id":194449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:07:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309340928001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790271164000,"timestamp_ms":1790271164000,"timestamp_seconds":1790271164,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47a0e60"} 
[2026-09-24 23:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309340928001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309340928001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:07:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:07:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309340928001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":194449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:07:33] local.INFO: GPS data processed {"connection_id":194449,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:07:33] local.INFO: Acknowledgment sent {"connection_id":194449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:07:44] local.INFO: TCP Data received {"connection_id":191591,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47c48b0012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47c48b0012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:07:44] local.INFO: Processing buffer {"connection_id":191591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47c48b0012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:07:44] local.INFO: Packet analysis {"connection_id":191591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47c"} 
[2026-09-24 23:07:44] local.INFO: Extracted packet for processing {"connection_id":191591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47c"} 
[2026-09-24 23:07:44] local.INFO: GPS Element Parsed {"raw_longitude":754315008,"raw_latitude":118335632,"longitude_deg":75.4315008,"latitude_deg":11.8335632,"altitude":15,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2cf5ef00","hex_latitude":"070da890","is_valid_coordinates":true} 
[2026-09-24 23:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309449984001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:07:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-725360984689438720,"note":"Value kept but may cause issues"} 
[2026-09-24 23:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790271310000,"timestamp_ms":1790271310000,"timestamp_seconds":1790271310,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47c48b0"} 
[2026-09-24 23:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-24 23:07:44] 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-09-24 23:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309449984001,"66":28300,"208":206,"2":54272,"24":0,"16":3605341577150464,"44":-725360984689438720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-09-24 23:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309449984001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:07:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-24 23:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:07:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-725360984689438720,"description":"Unknown IO ID 44"} 
[2026-09-24 23:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309449984001,"power":28300,"unknown_208":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-725360984689438720}} 
[2026-09-24 23:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":191591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892647,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:07:44] local.INFO: GPS data processed {"connection_id":191591,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:07:44] local.INFO: Acknowledgment sent {"connection_id":191591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:08:05] local.INFO: TCP Data received {"connection_id":194449,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:08:05] local.INFO: Processing buffer {"connection_id":194449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47a0e60012d34c14006aa4940000900f52a..."} 
[2026-09-24 23:08:05] local.INFO: Packet analysis {"connection_id":194449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:08:05] local.INFO: Extracted packet for processing {"connection_id":194449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47a"} 
[2026-09-24 23:08:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309340928001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790271164000,"timestamp_ms":1790271164000,"timestamp_seconds":1790271164,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47a0e60"} 
[2026-09-24 23:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:08: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-09-24 23: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-09-24 23:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309340928001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309340928001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:08:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:08:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309340928001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":194449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:08:05] local.INFO: GPS data processed {"connection_id":194449,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:08:05] local.INFO: Acknowledgment sent {"connection_id":194449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:08:06] local.INFO: TCP Data received {"connection_id":194450,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:08:06] local.INFO: Processing buffer {"connection_id":194450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:08:06] local.INFO: IMEI packet received {"connection_id":194450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":194450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:08:11] local.INFO: TCP Data received {"connection_id":194450,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:08:11] local.INFO: Processing buffer {"connection_id":194450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:08:11] local.INFO: IMEI packet received {"connection_id":194450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":194450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:08:12] local.INFO: TCP Data received {"connection_id":194450,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47c9ab8012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47c9ab8012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:08:12] local.INFO: Processing buffer {"connection_id":194450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47c9ab8012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:08:12] local.INFO: Packet analysis {"connection_id":194450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47c"} 
[2026-09-24 23:08:12] local.INFO: Extracted packet for processing {"connection_id":194450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47c"} 
[2026-09-24 23:08:12] local.INFO: GPS Element Parsed {"raw_longitude":754315008,"raw_latitude":118335632,"longitude_deg":75.4315008,"latitude_deg":11.8335632,"altitude":15,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2cf5ef00","hex_latitude":"070da890","is_valid_coordinates":true} 
[2026-09-24 23:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309455360001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:08:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-725360984689438720,"note":"Value kept but may cause issues"} 
[2026-09-24 23:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790271331000,"timestamp_ms":1790271331000,"timestamp_seconds":1790271331,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47c9ab8"} 
[2026-09-24 23:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 23:08:12] 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-09-24 23:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309455360001,"66":28300,"208":206,"2":54272,"24":0,"16":3605341577150464,"44":-725360984689438720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-09-24 23:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309455360001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:08:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-24 23:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:08:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-725360984689438720,"description":"Unknown IO ID 44"} 
[2026-09-24 23:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309455360001,"power":28300,"unknown_208":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-725360984689438720}} 
[2026-09-24 23:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":194450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892649,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:08:12] local.INFO: GPS data processed {"connection_id":194450,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:08:12] local.INFO: Acknowledgment sent {"connection_id":194450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:08:33] local.INFO: TCP Data received {"connection_id":191592,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:08:33] local.INFO: Processing buffer {"connection_id":191592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:08:33] local.INFO: IMEI packet received {"connection_id":191592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":191592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:08:37] local.INFO: TCP Data received {"connection_id":191592,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:08:37] local.INFO: Processing buffer {"connection_id":191592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:08:37] local.INFO: IMEI packet received {"connection_id":191592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":191592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:08:39] local.INFO: TCP Data received {"connection_id":191592,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:08:39] local.INFO: Processing buffer {"connection_id":191592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:08:39] local.INFO: Packet analysis {"connection_id":191592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:08:39] local.INFO: Extracted packet for processing {"connection_id":191592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:08:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309417984001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790271465000,"timestamp_ms":1790271465000,"timestamp_seconds":1790271465,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47ea628"} 
[2026-09-24 23:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309417984001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309417984001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:08:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:08:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309417984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":191592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:08:39] local.INFO: GPS data processed {"connection_id":191592,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:08:39] local.INFO: Acknowledgment sent {"connection_id":191592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:08:48] local.INFO: TCP Data received {"connection_id":194450,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47cecc0012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47cecc0012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:08:48] local.INFO: Processing buffer {"connection_id":194450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47cecc0012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:08:48] local.INFO: Packet analysis {"connection_id":194450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47c"} 
[2026-09-24 23:08:48] local.INFO: Extracted packet for processing {"connection_id":194450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47c"} 
[2026-09-24 23:08:48] local.INFO: GPS Element Parsed {"raw_longitude":754315008,"raw_latitude":118335632,"longitude_deg":75.4315008,"latitude_deg":11.8335632,"altitude":15,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2cf5ef00","hex_latitude":"070da890","is_valid_coordinates":true} 
[2026-09-24 23:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309460736001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:08:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-725360984689438720,"note":"Value kept but may cause issues"} 
[2026-09-24 23:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790271352000,"timestamp_ms":1790271352000,"timestamp_seconds":1790271352,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47cecc0"} 
[2026-09-24 23:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:08: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-09-24 23:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-24 23:08:48] 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-09-24 23:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":194450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":194450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":194450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309460736001,"66":27876,"208":206,"2":54272,"24":0,"16":3605341577150464,"44":-725360984689438720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-09-24 23:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309460736001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:08:48] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-24 23:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:08:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-725360984689438720,"description":"Unknown IO ID 44"} 
[2026-09-24 23:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309460736001,"power":27876,"unknown_208":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-725360984689438720}} 
[2026-09-24 23:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":194450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892651,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:08:49] local.INFO: GPS data processed {"connection_id":194450,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:08:49] local.INFO: Acknowledgment sent {"connection_id":194450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:09:06] local.INFO: TCP Data received {"connection_id":191777,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:09:06] local.INFO: Processing buffer {"connection_id":191777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:09:06] local.INFO: IMEI packet received {"connection_id":191777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":191777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:09:11] local.INFO: TCP Data received {"connection_id":191592,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:09:11] local.INFO: Processing buffer {"connection_id":191592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:09:11] local.INFO: Packet analysis {"connection_id":191592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:09:11] local.INFO: Extracted packet for processing {"connection_id":191592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:09:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309417984001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790271465000,"timestamp_ms":1790271465000,"timestamp_seconds":1790271465,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47ea628"} 
[2026-09-24 23:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309417984001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309417984001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:09:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:09:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309417984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":191592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:09:11] local.INFO: GPS data processed {"connection_id":191592,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:09:11] local.INFO: Acknowledgment sent {"connection_id":191592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:09:11] local.INFO: TCP Data received {"connection_id":191777,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:09:11] local.INFO: Processing buffer {"connection_id":191777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:09:11] local.INFO: IMEI packet received {"connection_id":191777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":191777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:09:14] local.INFO: TCP Data received {"connection_id":191777,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47d3ec8012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47d3ec8012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:09:14] local.INFO: Processing buffer {"connection_id":191777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47d3ec8012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:09:14] local.INFO: Packet analysis {"connection_id":191777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47d"} 
[2026-09-24 23:09:14] local.INFO: Extracted packet for processing {"connection_id":191777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47d"} 
[2026-09-24 23:09:14] local.INFO: GPS Element Parsed {"raw_longitude":754315008,"raw_latitude":118335632,"longitude_deg":75.4315008,"latitude_deg":11.8335632,"altitude":15,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2cf5ef00","hex_latitude":"070da890","is_valid_coordinates":true} 
[2026-09-24 23:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309466112001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:09:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-725360984689438720,"note":"Value kept but may cause issues"} 
[2026-09-24 23:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790271373000,"timestamp_ms":1790271373000,"timestamp_seconds":1790271373,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47d3ec8"} 
[2026-09-24 23:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:09: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-09-24 23:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 23:09:14] 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-09-24 23:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309466112001,"66":27876,"208":206,"2":54272,"24":0,"16":3605341577150464,"44":-725360984689438720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-09-24 23:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309466112001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:09:14] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-24 23:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:09:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-725360984689438720,"description":"Unknown IO ID 44"} 
[2026-09-24 23:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309466112001,"power":27876,"unknown_208":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-725360984689438720}} 
[2026-09-24 23:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":191777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892653,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:09:14] local.INFO: GPS data processed {"connection_id":191777,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:09:14] local.INFO: Acknowledgment sent {"connection_id":191777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:09:27] local.INFO: TCP Data received {"connection_id":193156,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:09:27] local.INFO: Processing buffer {"connection_id":193156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:09:27] local.INFO: IMEI packet received {"connection_id":193156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":193156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:09:32] local.INFO: TCP Data received {"connection_id":193156,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:09:32] local.INFO: Processing buffer {"connection_id":193156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:09:32] local.INFO: IMEI packet received {"connection_id":193156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":193156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:09:34] local.INFO: TCP Data received {"connection_id":193156,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:09:34] local.INFO: Processing buffer {"connection_id":193156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:09:34] local.INFO: Packet analysis {"connection_id":193156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:09:34] local.INFO: Extracted packet for processing {"connection_id":193156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:09:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309417984001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790271465000,"timestamp_ms":1790271465000,"timestamp_seconds":1790271465,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47ea628"} 
[2026-09-24 23:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:09: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-09-24 23:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309417984001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309417984001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:09:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:09:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309417984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":193156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:09:34] local.INFO: GPS data processed {"connection_id":193156,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:09:34] local.INFO: Acknowledgment sent {"connection_id":193156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:09:46] local.INFO: TCP Data received {"connection_id":191777,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47d90d0012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47d90d0012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:09:46] local.INFO: Processing buffer {"connection_id":191777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47d90d0012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:09:46] local.INFO: Packet analysis {"connection_id":191777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47d"} 
[2026-09-24 23:09:46] local.INFO: Extracted packet for processing {"connection_id":191777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47d"} 
[2026-09-24 23:09:46] local.INFO: GPS Element Parsed {"raw_longitude":754315008,"raw_latitude":118335632,"longitude_deg":75.4315008,"latitude_deg":11.8335632,"altitude":15,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2cf5ef00","hex_latitude":"070da890","is_valid_coordinates":true} 
[2026-09-24 23:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309471488001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:09:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-725360984689438720,"note":"Value kept but may cause issues"} 
[2026-09-24 23:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790271394000,"timestamp_ms":1790271394000,"timestamp_seconds":1790271394,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47d90d0"} 
[2026-09-24 23:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 23:09:46] 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-09-24 23:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309471488001,"66":27952,"208":206,"2":54272,"24":0,"16":3605341577150464,"44":-725360984689438720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-09-24 23:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309471488001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:09:46] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-24 23:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:09:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-725360984689438720,"description":"Unknown IO ID 44"} 
[2026-09-24 23:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309471488001,"power":27952,"unknown_208":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-725360984689438720}} 
[2026-09-24 23:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":191777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892655,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:09:46] local.INFO: GPS data processed {"connection_id":191777,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:09:46] local.INFO: Acknowledgment sent {"connection_id":191777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:10:05] local.INFO: TCP Data received {"connection_id":191593,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:10:05] local.INFO: Processing buffer {"connection_id":191593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:10:05] local.INFO: IMEI packet received {"connection_id":191593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":191593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:10:05] local.INFO: TCP Data received {"connection_id":193156,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:10:05] local.INFO: Processing buffer {"connection_id":193156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:10:05] local.INFO: Packet analysis {"connection_id":193156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:10:05] local.INFO: Extracted packet for processing {"connection_id":193156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:10:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309417984001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790271465000,"timestamp_ms":1790271465000,"timestamp_seconds":1790271465,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47ea628"} 
[2026-09-24 23:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:10: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-09-24 23:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309417984001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309417984001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:10:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:10:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309417984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":193156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:10:05] local.INFO: GPS data processed {"connection_id":193156,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:10:05] local.INFO: Acknowledgment sent {"connection_id":193156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:10:05] local.INFO: TCP Data received {"connection_id":191593,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:10:06] local.INFO: Processing buffer {"connection_id":191593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:10:06] local.INFO: IMEI packet received {"connection_id":191593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":191593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:10:11] local.INFO: TCP Data received {"connection_id":191593,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:10:11] local.INFO: Processing buffer {"connection_id":191593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:10:11] local.INFO: IMEI packet received {"connection_id":191593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":191593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:10:13] local.INFO: TCP Data received {"connection_id":191593,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47de2d8012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47de2d8012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:10:13] local.INFO: Processing buffer {"connection_id":191593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47de2d8012cf5ef00070da890000f00972f..."} 
[2026-09-24 23:10:13] local.INFO: Packet analysis {"connection_id":191593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47d"} 
[2026-09-24 23:10:13] local.INFO: Extracted packet for processing {"connection_id":191593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47d"} 
[2026-09-24 23:10:13] local.INFO: GPS Element Parsed {"raw_longitude":754315008,"raw_latitude":118335632,"longitude_deg":75.4315008,"latitude_deg":11.8335632,"altitude":15,"angle":151,"satellites":47,"speed":0,"hex_longitude":"2cf5ef00","hex_latitude":"070da890","is_valid_coordinates":true} 
[2026-09-24 23:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309476864001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:10:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-725360984689438720,"note":"Value kept but may cause issues"} 
[2026-09-24 23:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790271415000,"timestamp_ms":1790271415000,"timestamp_seconds":1790271415,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47de2d8"} 
[2026-09-24 23:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 23:10:13] 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-09-24 23:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309476864001,"66":28137,"208":206,"2":54272,"24":0,"16":3605341577150464,"44":-725360984689438720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-09-24 23:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309476864001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:10:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-24 23:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:10:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-725360984689438720,"description":"Unknown IO ID 44"} 
[2026-09-24 23:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309476864001,"power":28137,"unknown_208":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-725360984689438720}} 
[2026-09-24 23:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":191593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892657,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:10:13] local.INFO: GPS data processed {"connection_id":191593,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:10:13] local.INFO: Acknowledgment sent {"connection_id":191593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:10:27] local.INFO: TCP Data received {"connection_id":193157,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:10:27] local.INFO: Processing buffer {"connection_id":193157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:10:27] local.INFO: IMEI packet received {"connection_id":193157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":193157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:10:32] local.INFO: TCP Data received {"connection_id":193157,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:10:32] local.INFO: Processing buffer {"connection_id":193157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:10:32] local.INFO: IMEI packet received {"connection_id":193157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":193157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:10:34] local.INFO: TCP Data received {"connection_id":193157,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:10:34] local.INFO: Processing buffer {"connection_id":193157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:10:34] local.INFO: Packet analysis {"connection_id":193157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:10:34] local.INFO: Extracted packet for processing {"connection_id":193157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:10:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309417984001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790271465000,"timestamp_ms":1790271465000,"timestamp_seconds":1790271465,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47ea628"} 
[2026-09-24 23:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:10: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-09-24 23:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309417984001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309417984001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:10:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:10:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309417984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":193157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:10:34] local.INFO: GPS data processed {"connection_id":193157,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:10:34] local.INFO: Acknowledgment sent {"connection_id":193157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:10:45] local.INFO: TCP Data received {"connection_id":191593,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47e34e0012cf60340070d71c0000b009d2e..."} 
[2026-09-24 23:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47e34e0012cf60340070d71c0000b009d2e..."} 
[2026-09-24 23:10:45] local.INFO: Processing buffer {"connection_id":191593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47e34e0012cf60340070d71c0000b009d2e..."} 
[2026-09-24 23:10:45] local.INFO: Packet analysis {"connection_id":191593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:10:45] local.INFO: Extracted packet for processing {"connection_id":191593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:10:45] local.INFO: GPS Element Parsed {"raw_longitude":754320192,"raw_latitude":118321600,"longitude_deg":75.4320192,"latitude_deg":11.83216,"altitude":11,"angle":157,"satellites":46,"speed":0,"hex_longitude":"2cf60340","hex_latitude":"070d71c0","is_valid_coordinates":true} 
[2026-09-24 23:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309482240001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:10:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-725360984689438720,"note":"Value kept but may cause issues"} 
[2026-09-24 23:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790271436000,"timestamp_ms":1790271436000,"timestamp_seconds":1790271436,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47e34e0"} 
[2026-09-24 23:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-24 23:10:45] 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-09-24 23:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309482240001,"66":27908,"208":206,"2":54272,"24":0,"16":3605341577150464,"44":-725360984689438720},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-09-24 23:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309482240001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:10:45] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-24 23:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:10:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-725360984689438720,"description":"Unknown IO ID 44"} 
[2026-09-24 23:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309482240001,"power":27908,"unknown_208":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-725360984689438720}} 
[2026-09-24 23:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":191593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892659,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:10:45] local.INFO: GPS data processed {"connection_id":191593,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:10:45] local.INFO: Acknowledgment sent {"connection_id":191593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:11:05] local.INFO: TCP Data received {"connection_id":193157,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:11:05] local.INFO: Processing buffer {"connection_id":193157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:11:05] local.INFO: Packet analysis {"connection_id":193157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:11:05] local.INFO: Extracted packet for processing {"connection_id":193157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:11:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309417984001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790271465000,"timestamp_ms":1790271465000,"timestamp_seconds":1790271465,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47ea628"} 
[2026-09-24 23:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:11: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-09-24 23: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-09-24 23:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309417984001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309417984001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:11:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:11:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309417984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":193157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:11:05] local.INFO: GPS data processed {"connection_id":193157,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:11:05] local.INFO: Acknowledgment sent {"connection_id":193157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:11:05] local.INFO: TCP Data received {"connection_id":191778,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:11:06] local.INFO: Processing buffer {"connection_id":191778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:11:06] local.INFO: IMEI packet received {"connection_id":191778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":191778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:11:08] local.INFO: TCP Data received {"connection_id":191778,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:11:08] local.INFO: Processing buffer {"connection_id":191778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:11:08] local.INFO: IMEI packet received {"connection_id":191778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":191778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:11:11] local.INFO: TCP Data received {"connection_id":191778,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:11:11] local.INFO: Processing buffer {"connection_id":191778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:11:11] local.INFO: IMEI packet received {"connection_id":191778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":191778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:11:14] local.INFO: TCP Data received {"connection_id":191778,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47e86e8012cf61bc0070d2f10000a00a531..."} 
[2026-09-24 23:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47e86e8012cf61bc0070d2f10000a00a531..."} 
[2026-09-24 23:11:14] local.INFO: Processing buffer {"connection_id":191778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47e86e8012cf61bc0070d2f10000a00a531..."} 
[2026-09-24 23:11:14] local.INFO: Packet analysis {"connection_id":191778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:11:14] local.INFO: Extracted packet for processing {"connection_id":191778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:11:14] local.INFO: GPS Element Parsed {"raw_longitude":754326464,"raw_latitude":118304528,"longitude_deg":75.4326464,"latitude_deg":11.8304528,"altitude":10,"angle":165,"satellites":49,"speed":0,"hex_longitude":"2cf61bc0","hex_latitude":"070d2f10","is_valid_coordinates":true} 
[2026-09-24 23:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309487616001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:11:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-719661116414640128,"note":"Value kept but may cause issues"} 
[2026-09-24 23:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790271457000,"timestamp_ms":1790271457000,"timestamp_seconds":1790271457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47e86e8"} 
[2026-09-24 23:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:11: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-09-24 23:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 23:11:14] 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-09-24 23:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309487616001,"66":27995,"208":206,"2":54272,"24":0,"16":3605341577150464,"44":-719661116414640128},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-09-24 23:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309487616001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:11:14] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-24 23:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:11:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-719661116414640128,"description":"Unknown IO ID 44"} 
[2026-09-24 23:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309487616001,"power":27995,"unknown_208":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-719661116414640128}} 
[2026-09-24 23:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":191778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892661,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:11:14] local.INFO: GPS data processed {"connection_id":191778,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:11:14] local.INFO: Acknowledgment sent {"connection_id":191778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:11:27] local.INFO: TCP Data received {"connection_id":191779,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:11:27] local.INFO: Processing buffer {"connection_id":191779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:11:27] local.INFO: IMEI packet received {"connection_id":191779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":191779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:11:32] local.INFO: TCP Data received {"connection_id":191779,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:11:32] local.INFO: Processing buffer {"connection_id":191779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:11:32] local.INFO: IMEI packet received {"connection_id":191779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":191779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:11:34] local.INFO: TCP Data received {"connection_id":191779,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:11:34] local.INFO: Processing buffer {"connection_id":191779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:11:34] local.INFO: Packet analysis {"connection_id":191779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:11:34] local.INFO: Extracted packet for processing {"connection_id":191779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:11:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309417984001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790271465000,"timestamp_ms":1790271465000,"timestamp_seconds":1790271465,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47ea628"} 
[2026-09-24 23:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:11: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-09-24 23:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309417984001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309417984001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:11:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:11:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309417984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":191779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:11:34] local.INFO: GPS data processed {"connection_id":191779,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:11:34] local.INFO: Acknowledgment sent {"connection_id":191779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:11:46] local.INFO: TCP Data received {"connection_id":191778,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47ebd98012cf62180070cdff8000600b332..."} 
[2026-09-24 23:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47ebd98012cf62180070cdff8000600b332..."} 
[2026-09-24 23:11:46] local.INFO: Processing buffer {"connection_id":191778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47ebd98012cf62180070cdff8000600b332..."} 
[2026-09-24 23:11:46] local.INFO: Packet analysis {"connection_id":191778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:11:46] local.INFO: Extracted packet for processing {"connection_id":191778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:11:46] local.INFO: GPS Element Parsed {"raw_longitude":754327936,"raw_latitude":118284280,"longitude_deg":75.4327936,"latitude_deg":11.828428,"altitude":6,"angle":179,"satellites":50,"speed":50,"hex_longitude":"2cf62180","hex_latitude":"070cdff8","is_valid_coordinates":true} 
[2026-09-24 23:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309492992001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:11:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-712764979489599488,"note":"Value kept but may cause issues"} 
[2026-09-24 23:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790271471000,"timestamp_ms":1790271471000,"timestamp_seconds":1790271471,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47ebd98"} 
[2026-09-24 23:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:11: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-09-24 23:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 23:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309492992001,"66":28137,"208":206,"2":54272,"24":50,"16":3605341577150464,"44":-712764979489599488},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-09-24 23:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309492992001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:11:46] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-24 23:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:11:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-712764979489599488,"description":"Unknown IO ID 44"} 
[2026-09-24 23:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309492992001,"power":28137,"unknown_208":206,"power_alt":54272,"ignition":50,"odometer":null,"unknown_44":-712764979489599488}} 
[2026-09-24 23:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":191778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892663,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:11:47] local.INFO: GPS data processed {"connection_id":191778,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:11:47] local.INFO: Acknowledgment sent {"connection_id":191778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:12:05] local.INFO: TCP Data received {"connection_id":191779,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:12:05] local.INFO: Processing buffer {"connection_id":191779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:12:05] local.INFO: Packet analysis {"connection_id":191779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:12:05] local.INFO: Extracted packet for processing {"connection_id":191779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:12:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309417984001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790271465000,"timestamp_ms":1790271465000,"timestamp_seconds":1790271465,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47ea628"} 
[2026-09-24 23:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:12: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-09-24 23: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-09-24 23:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309417984001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309417984001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:12:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:12:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309417984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":191779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:12:05] local.INFO: GPS data processed {"connection_id":191779,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:12:05] local.INFO: Acknowledgment sent {"connection_id":191779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:12:11] local.INFO: TCP Data received {"connection_id":193158,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:12:11] local.INFO: Processing buffer {"connection_id":193158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:12:11] local.INFO: IMEI packet received {"connection_id":193158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":193158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:12:12] local.INFO: TCP Data received {"connection_id":193158,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:12:12] local.INFO: Processing buffer {"connection_id":193158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:12:12] local.INFO: IMEI packet received {"connection_id":193158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":193158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:12:18] local.INFO: TCP Data received {"connection_id":193158,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:12:18] local.INFO: Processing buffer {"connection_id":193158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:12:18] local.INFO: IMEI packet received {"connection_id":193158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":193158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:12:21] local.INFO: TCP Data received {"connection_id":193158,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47f0fa0012cf62080070c8670000600b432..."} 
[2026-09-24 23:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47f0fa0012cf62080070c8670000600b432..."} 
[2026-09-24 23:12:21] local.INFO: Processing buffer {"connection_id":193158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47f0fa0012cf62080070c8670000600b432..."} 
[2026-09-24 23:12:21] local.INFO: Packet analysis {"connection_id":193158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47f"} 
[2026-09-24 23:12:21] local.INFO: Extracted packet for processing {"connection_id":193158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47f"} 
[2026-09-24 23:12:21] local.INFO: GPS Element Parsed {"raw_longitude":754327680,"raw_latitude":118261360,"longitude_deg":75.432768,"latitude_deg":11.826136,"altitude":6,"angle":180,"satellites":50,"speed":0,"hex_longitude":"2cf62080","hex_latitude":"070c8670","is_valid_coordinates":true} 
[2026-09-24 23:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309496576001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:12:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-711146498378696704,"note":"Value kept but may cause issues"} 
[2026-09-24 23:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790271492000,"timestamp_ms":1790271492000,"timestamp_seconds":1790271492,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47f0fa0"} 
[2026-09-24 23:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-24 23:12:21] 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-09-24 23:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309496576001,"66":28050,"209":206,"2":54272,"24":0,"16":3605341577150464,"44":-711146498378696704},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-09-24 23:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309496576001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:12:21] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-24 23:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:12:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-711146498378696704,"description":"Unknown IO ID 44"} 
[2026-09-24 23:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309496576001,"power":28050,"unknown_209":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-711146498378696704}} 
[2026-09-24 23:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":193158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892665,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:12:21] local.INFO: GPS data processed {"connection_id":193158,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:12:21] local.INFO: Acknowledgment sent {"connection_id":193158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:12:24] local.INFO: TCP Data received {"connection_id":193158,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47f3e80012cf62880070c3100000700a332..."} 
[2026-09-24 23:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47f3e80012cf62880070c3100000700a332..."} 
[2026-09-24 23:12:24] local.INFO: Processing buffer {"connection_id":193158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47f3e80012cf62880070c3100000700a332..."} 
[2026-09-24 23:12:24] local.INFO: Packet analysis {"connection_id":193158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47f"} 
[2026-09-24 23:12:24] local.INFO: Extracted packet for processing {"connection_id":193158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47f"} 
[2026-09-24 23:12:24] local.INFO: GPS Element Parsed {"raw_longitude":754329728,"raw_latitude":118239488,"longitude_deg":75.4329728,"latitude_deg":11.8239488,"altitude":7,"angle":163,"satellites":50,"speed":54,"hex_longitude":"2cf62880","hex_latitude":"070c3100","is_valid_coordinates":true} 
[2026-09-24 23:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309501952001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:12:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-711427973361274880,"note":"Value kept but may cause issues"} 
[2026-09-24 23:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790271504000,"timestamp_ms":1790271504000,"timestamp_seconds":1790271504,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47f3e80"} 
[2026-09-24 23:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-24 23:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":193158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":193158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":193158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309501952001,"66":28028,"209":206,"2":54272,"24":54,"16":3605341577150464,"44":-711427973361274880},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-09-24 23:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309501952001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:12:24] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-24 23:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:12:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-711427973361274880,"description":"Unknown IO ID 44"} 
[2026-09-24 23:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309501952001,"power":28028,"unknown_209":206,"power_alt":54272,"ignition":54,"odometer":null,"unknown_44":-711427973361274880}} 
[2026-09-24 23:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":193158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892666,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:12:24] local.INFO: GPS data processed {"connection_id":193158,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:12:24] local.INFO: Acknowledgment sent {"connection_id":193158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:12:27] local.INFO: TCP Data received {"connection_id":194451,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:12:27] local.INFO: Processing buffer {"connection_id":194451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:12:27] local.INFO: IMEI packet received {"connection_id":194451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":194451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:12:27] local.INFO: TCP Data received {"connection_id":193158,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47f9088012cf648c0070be268000b009d32..."} 
[2026-09-24 23:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47f9088012cf648c0070be268000b009d32..."} 
[2026-09-24 23:12:27] local.INFO: Processing buffer {"connection_id":193158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47f9088012cf648c0070be268000b009d32..."} 
[2026-09-24 23:12:27] local.INFO: Packet analysis {"connection_id":193158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47f"} 
[2026-09-24 23:12:27] local.INFO: Extracted packet for processing {"connection_id":193158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47f"} 
[2026-09-24 23:12:27] local.INFO: GPS Element Parsed {"raw_longitude":754337984,"raw_latitude":118219368,"longitude_deg":75.4337984,"latitude_deg":11.8219368,"altitude":11,"angle":157,"satellites":50,"speed":0,"hex_longitude":"2cf648c0","hex_latitude":"070be268","is_valid_coordinates":true} 
[2026-09-24 23:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309505024001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:12:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-709176173553188864,"note":"Value kept but may cause issues"} 
[2026-09-24 23:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790271525000,"timestamp_ms":1790271525000,"timestamp_seconds":1790271525,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47f9088"} 
[2026-09-24 23:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-24 23:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":193158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":193158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":193158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309505024001,"66":27376,"32":206,"2":54272,"24":0,"16":3605341577150464,"44":-709176173553188864},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-09-24 23:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309505024001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:12:27] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-24 23:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:12:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-709176173553188864,"description":"Unknown IO ID 44"} 
[2026-09-24 23:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309505024001,"power":27376,"unknown_32":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-709176173553188864}} 
[2026-09-24 23:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":193158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892667,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:12:27] local.INFO: GPS data processed {"connection_id":193158,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:12:27] local.INFO: Acknowledgment sent {"connection_id":193158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:12:32] local.INFO: TCP Data received {"connection_id":194451,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:12:32] local.INFO: Processing buffer {"connection_id":194451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:12:32] local.INFO: IMEI packet received {"connection_id":194451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":194451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:12:33] local.INFO: TCP Data received {"connection_id":194451,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:12:33] local.INFO: Processing buffer {"connection_id":194451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:12:33] local.INFO: Packet analysis {"connection_id":194451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:12:33] local.INFO: Extracted packet for processing {"connection_id":194451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:12:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309417984001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790271465000,"timestamp_ms":1790271465000,"timestamp_seconds":1790271465,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47ea628"} 
[2026-09-24 23:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309417984001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309417984001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:12:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:12:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309417984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":194451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:12:33] local.INFO: GPS data processed {"connection_id":194451,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:12:33] local.INFO: Acknowledgment sent {"connection_id":194451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:13:06] local.INFO: TCP Data received {"connection_id":193159,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:13:06] local.INFO: Processing buffer {"connection_id":193159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:13:06] local.INFO: IMEI packet received {"connection_id":193159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":193159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:13:07] local.INFO: TCP Data received {"connection_id":194451,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:13:07] local.INFO: Processing buffer {"connection_id":194451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47ea628012d34c14006aa4940000900f52b..."} 
[2026-09-24 23:13:07] local.INFO: Packet analysis {"connection_id":194451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:13:07] local.INFO: Extracted packet for processing {"connection_id":194451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47e"} 
[2026-09-24 23:13:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309417984001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790271465000,"timestamp_ms":1790271465000,"timestamp_seconds":1790271465,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47ea628"} 
[2026-09-24 23:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":194451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":194451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":194451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309417984001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309417984001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:13:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:13:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309417984001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":194451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:13:07] local.INFO: GPS data processed {"connection_id":194451,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:13:07] local.INFO: Acknowledgment sent {"connection_id":194451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:13:10] local.INFO: TCP Data received {"connection_id":193159,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:13:10] local.INFO: Processing buffer {"connection_id":193159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:13:10] local.INFO: IMEI packet received {"connection_id":193159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":193159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:13:12] local.INFO: TCP Data received {"connection_id":193159,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d47fe290012cf66480070b9e500006009c31..."} 
[2026-09-24 23:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d47fe290012cf66480070b9e500006009c31..."} 
[2026-09-24 23:13:12] local.INFO: Processing buffer {"connection_id":193159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d47fe290012cf66480070b9e500006009c31..."} 
[2026-09-24 23:13:12] local.INFO: Packet analysis {"connection_id":193159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d47f"} 
[2026-09-24 23:13:12] local.INFO: Extracted packet for processing {"connection_id":193159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d47f"} 
[2026-09-24 23:13:12] local.INFO: GPS Element Parsed {"raw_longitude":754345088,"raw_latitude":118201936,"longitude_deg":75.4345088,"latitude_deg":11.8201936,"altitude":6,"angle":156,"satellites":49,"speed":0,"hex_longitude":"2cf66480","hex_latitude":"070b9e50","is_valid_coordinates":true} 
[2026-09-24 23:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309510400001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:13:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-700098605559420928,"note":"Value kept but may cause issues"} 
[2026-09-24 23:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790271546000,"timestamp_ms":1790271546000,"timestamp_seconds":1790271546,"priority":1,"record_length":96,"hex_timestamp":"000001a0d47fe290"} 
[2026-09-24 23:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-24 23:13:12] 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-09-24 23:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309510400001,"66":27789,"32":206,"2":54272,"24":0,"16":3605341577150464,"44":-700098605559420928},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-09-24 23:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309510400001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:13:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-24 23:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:13:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-700098605559420928,"description":"Unknown IO ID 44"} 
[2026-09-24 23:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309510400001,"power":27789,"unknown_32":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-700098605559420928}} 
[2026-09-24 23:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":193159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892670,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:13:12] local.INFO: GPS data processed {"connection_id":193159,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:13:12] local.INFO: Acknowledgment sent {"connection_id":193159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:13:32] local.INFO: TCP Data received {"connection_id":191594,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:13:32] local.INFO: Processing buffer {"connection_id":191594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:13:32] local.INFO: IMEI packet received {"connection_id":191594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":191594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:13:37] local.INFO: TCP Data received {"connection_id":191594,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:13:37] local.INFO: Processing buffer {"connection_id":191594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:13:37] local.INFO: IMEI packet received {"connection_id":191594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":191594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:13:39] local.INFO: TCP Data received {"connection_id":191594,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:13:39] local.INFO: Processing buffer {"connection_id":191594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:13:39] local.INFO: Packet analysis {"connection_id":191594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d483"} 
[2026-09-24 23:13:39] local.INFO: Extracted packet for processing {"connection_id":191594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d483"} 
[2026-09-24 23:13:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309495040001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790271766000,"timestamp_ms":1790271766000,"timestamp_seconds":1790271766,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4833df0"} 
[2026-09-24 23:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309495040001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309495040001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:13:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:13:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309495040001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":191594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:13:39] local.INFO: GPS data processed {"connection_id":191594,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:13:39] local.INFO: Acknowledgment sent {"connection_id":191594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:13:44] local.INFO: TCP Data received {"connection_id":193159,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4803498012cf67ac0070b6af80007009c32..."} 
[2026-09-24 23:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4803498012cf67ac0070b6af80007009c32..."} 
[2026-09-24 23:13:44] local.INFO: Processing buffer {"connection_id":193159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4803498012cf67ac0070b6af80007009c32..."} 
[2026-09-24 23:13:44] local.INFO: Packet analysis {"connection_id":193159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d480"} 
[2026-09-24 23:13:44] local.INFO: Extracted packet for processing {"connection_id":193159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d480"} 
[2026-09-24 23:13:44] local.INFO: GPS Element Parsed {"raw_longitude":754350784,"raw_latitude":118188792,"longitude_deg":75.4350784,"latitude_deg":11.8188792,"altitude":7,"angle":156,"satellites":50,"speed":0,"hex_longitude":"2cf67ac0","hex_latitude":"070b6af8","is_valid_coordinates":true} 
[2026-09-24 23:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309515776001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:13:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-692287674960162816,"note":"Value kept but may cause issues"} 
[2026-09-24 23:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790271567000,"timestamp_ms":1790271567000,"timestamp_seconds":1790271567,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4803498"} 
[2026-09-24 23:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-24 23:13:44] 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-09-24 23:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309515776001,"66":27800,"32":206,"2":54272,"24":0,"16":3605341577150464,"44":-692287674960162816},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-09-24 23:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309515776001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:13:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-24 23:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:13:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-692287674960162816,"description":"Unknown IO ID 44"} 
[2026-09-24 23:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309515776001,"power":27800,"unknown_32":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-692287674960162816}} 
[2026-09-24 23:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":193159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892672,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:13:44] local.INFO: GPS data processed {"connection_id":193159,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:13:44] local.INFO: Acknowledgment sent {"connection_id":193159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:14:07] local.INFO: TCP Data received {"connection_id":191595,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:14:07] local.INFO: Processing buffer {"connection_id":191595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:14:07] local.INFO: IMEI packet received {"connection_id":191595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":191595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:14:11] local.INFO: TCP Data received {"connection_id":191594,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:14:11] local.INFO: Processing buffer {"connection_id":191594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:14:11] local.INFO: Packet analysis {"connection_id":191594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d483"} 
[2026-09-24 23:14:11] local.INFO: Extracted packet for processing {"connection_id":191594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d483"} 
[2026-09-24 23:14:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309495040001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790271766000,"timestamp_ms":1790271766000,"timestamp_seconds":1790271766,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4833df0"} 
[2026-09-24 23:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309495040001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309495040001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:14:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:14:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309495040001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":191594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:14:11] local.INFO: GPS data processed {"connection_id":191594,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:14:11] local.INFO: Acknowledgment sent {"connection_id":191594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:14:15] local.INFO: TCP Data received {"connection_id":191595,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:14:15] local.INFO: Processing buffer {"connection_id":191595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:14:15] local.INFO: IMEI packet received {"connection_id":191595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":191595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:14:18] local.INFO: TCP Data received {"connection_id":191595,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48086a0012cf69740070b32200007009332..."} 
[2026-09-24 23:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48086a0012cf69740070b32200007009332..."} 
[2026-09-24 23:14:18] local.INFO: Processing buffer {"connection_id":191595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48086a0012cf69740070b32200007009332..."} 
[2026-09-24 23:14:18] local.INFO: Packet analysis {"connection_id":191595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d480"} 
[2026-09-24 23:14:18] local.INFO: Extracted packet for processing {"connection_id":191595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d480"} 
[2026-09-24 23:14:18] local.INFO: GPS Element Parsed {"raw_longitude":754358080,"raw_latitude":118174240,"longitude_deg":75.435808,"latitude_deg":11.817424,"altitude":7,"angle":147,"satellites":50,"speed":0,"hex_longitude":"2cf69740","hex_latitude":"070b3220","is_valid_coordinates":true} 
[2026-09-24 23:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309521152001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:14:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-686024856731715584,"note":"Value kept but may cause issues"} 
[2026-09-24 23:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790271588000,"timestamp_ms":1790271588000,"timestamp_seconds":1790271588,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48086a0"} 
[2026-09-24 23:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-24 23:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309521152001,"66":27974,"32":206,"2":54272,"24":0,"16":3605341577150464,"44":-686024856731715584},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-09-24 23:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309521152001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:14:18] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-24 23:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:14:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-686024856731715584,"description":"Unknown IO ID 44"} 
[2026-09-24 23:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309521152001,"power":27974,"unknown_32":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-686024856731715584}} 
[2026-09-24 23:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":191595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892674,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:14:18] local.INFO: GPS data processed {"connection_id":191595,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:14:18] local.INFO: Acknowledgment sent {"connection_id":191595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:14:19] local.INFO: TCP Data received {"connection_id":191595,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d480d8a8012cf6bb00070b05200007008e30..."} 
[2026-09-24 23:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d480d8a8012cf6bb00070b05200007008e30..."} 
[2026-09-24 23:14:19] local.INFO: Processing buffer {"connection_id":191595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d480d8a8012cf6bb00070b05200007008e30..."} 
[2026-09-24 23:14:19] local.INFO: Packet analysis {"connection_id":191595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d480"} 
[2026-09-24 23:14:19] local.INFO: Extracted packet for processing {"connection_id":191595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d480"} 
[2026-09-24 23:14:19] local.INFO: GPS Element Parsed {"raw_longitude":754367232,"raw_latitude":118162720,"longitude_deg":75.4367232,"latitude_deg":11.816272,"altitude":7,"angle":142,"satellites":48,"speed":27,"hex_longitude":"2cf6bb00","hex_latitude":"070b0520","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309526528001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:14:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-678002819899187200,"note":"Value kept but may cause issues"} 
[2026-09-24 23:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790271609000,"timestamp_ms":1790271609000,"timestamp_seconds":1790271609,"priority":1,"record_length":96,"hex_timestamp":"000001a0d480d8a8"} 
[2026-09-24 23:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:14: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-09-24 23: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-24 23:14:19] 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-09-24 23: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-09-24 23:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309526528001,"66":27930,"32":206,"2":54272,"24":27,"16":3605341577150464,"44":-678002819899187200},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-09-24 23:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309526528001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:14:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-24 23:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:14:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-678002819899187200,"description":"Unknown IO ID 44"} 
[2026-09-24 23:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309526528001,"power":27930,"unknown_32":206,"power_alt":54272,"ignition":27,"odometer":null,"unknown_44":-678002819899187200}} 
[2026-09-24 23:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":191595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892675,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:14:19] local.INFO: GPS data processed {"connection_id":191595,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:14:19] local.INFO: Acknowledgment sent {"connection_id":191595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:14:27] local.INFO: TCP Data received {"connection_id":194452,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:14:27] local.INFO: Processing buffer {"connection_id":194452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:14:27] local.INFO: IMEI packet received {"connection_id":194452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":194452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:14:32] local.INFO: TCP Data received {"connection_id":194452,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:14:32] local.INFO: Processing buffer {"connection_id":194452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:14:32] local.INFO: IMEI packet received {"connection_id":194452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":194452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:14:34] local.INFO: TCP Data received {"connection_id":194452,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:14:34] local.INFO: Processing buffer {"connection_id":194452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:14:34] local.INFO: Packet analysis {"connection_id":194452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d483"} 
[2026-09-24 23:14:34] local.INFO: Extracted packet for processing {"connection_id":194452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d483"} 
[2026-09-24 23:14:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309495040001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790271766000,"timestamp_ms":1790271766000,"timestamp_seconds":1790271766,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4833df0"} 
[2026-09-24 23:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309495040001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309495040001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:14:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:14:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309495040001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":194452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:14:34] local.INFO: GPS data processed {"connection_id":194452,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:14:34] local.INFO: Acknowledgment sent {"connection_id":194452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:14:51] local.INFO: TCP Data received {"connection_id":191595,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4840cf8012cf8a540070870d8000b00902f..."} 
[2026-09-24 23:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4840cf8012cf8a540070870d8000b00902f..."} 
[2026-09-24 23:14:51] local.INFO: Processing buffer {"connection_id":191595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4840cf8012cf8a540070870d8000b00902f..."} 
[2026-09-24 23:14:51] local.INFO: Packet analysis {"connection_id":191595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d484"} 
[2026-09-24 23:14:51] local.INFO: Extracted packet for processing {"connection_id":191595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d484"} 
[2026-09-24 23:14:51] local.INFO: GPS Element Parsed {"raw_longitude":754492736,"raw_latitude":117993688,"longitude_deg":75.4492736,"latitude_deg":11.7993688,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2cf8a540","hex_latitude":"070870d8","is_valid_coordinates":true} 
[2026-09-24 23:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309580288001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:14:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-543387412329107456,"note":"Value kept but may cause issues"} 
[2026-09-24 23:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790271819000,"timestamp_ms":1790271819000,"timestamp_seconds":1790271819,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4840cf8"} 
[2026-09-24 23:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 23:14:51] 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-09-24 23:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309580288001,"66":27843,"167":206,"28":32256,"24":0,"16":3605341577150464,"44":-543387412329107456},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-09-24 23:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309580288001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:14:51] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-24 23:14:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:14:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-543387412329107456,"description":"Unknown IO ID 44"} 
[2026-09-24 23:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309580288001,"power":27843,"unknown_167":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-543387412329107456}} 
[2026-09-24 23:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":191595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892677,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:14:51] local.INFO: GPS data processed {"connection_id":191595,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:14:51] local.INFO: Acknowledgment sent {"connection_id":191595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:15:05] local.INFO: TCP Data received {"connection_id":194452,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:15:05] local.INFO: Processing buffer {"connection_id":194452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:15:05] local.INFO: Packet analysis {"connection_id":194452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d483"} 
[2026-09-24 23:15:05] local.INFO: Extracted packet for processing {"connection_id":194452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d483"} 
[2026-09-24 23:15:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309495040001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790271766000,"timestamp_ms":1790271766000,"timestamp_seconds":1790271766,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4833df0"} 
[2026-09-24 23:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:15: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-09-24 23: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-09-24 23:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309495040001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309495040001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:15:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:15:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309495040001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":194452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:15:05] local.INFO: GPS data processed {"connection_id":194452,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:15:05] local.INFO: Acknowledgment sent {"connection_id":194452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:15:06] local.INFO: TCP Data received {"connection_id":191780,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:15:06] local.INFO: Processing buffer {"connection_id":191780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:15:06] local.INFO: IMEI packet received {"connection_id":191780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":191780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:15:07] local.INFO: TCP Data received {"connection_id":191780,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:15:07] local.INFO: Processing buffer {"connection_id":191780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:15:07] local.INFO: IMEI packet received {"connection_id":191780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":191780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:15:11] local.INFO: TCP Data received {"connection_id":191780,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:15:11] local.INFO: Processing buffer {"connection_id":191780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:15:11] local.INFO: IMEI packet received {"connection_id":191780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":191780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:15:12] local.INFO: TCP Data received {"connection_id":191780,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d484ef880100000000000000000000000000..."} 
[2026-09-24 23:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d484ef880100000000000000000000000000..."} 
[2026-09-24 23:15:12] local.INFO: Processing buffer {"connection_id":191780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d484ef880100000000000000000000000000..."} 
[2026-09-24 23:15:12] local.INFO: Packet analysis {"connection_id":191780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d484"} 
[2026-09-24 23:15:12] local.INFO: Extracted packet for processing {"connection_id":191780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d484"} 
[2026-09-24 23:15:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 23:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309585664001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:15:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-529946982195603456,"note":"Value kept but may cause issues"} 
[2026-09-24 23:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790271877000,"timestamp_ms":1790271877000,"timestamp_seconds":1790271877,"priority":1,"record_length":96,"hex_timestamp":"000001a0d484ef88"} 
[2026-09-24 23:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-24 23:15:12] 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-09-24 23:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":191780,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 23:15:12] local.INFO: GPS data processed {"connection_id":191780,"processed":0,"errors":0,"total":1} 
[2026-09-24 23:15:12] local.INFO: Acknowledgment sent {"connection_id":191780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:15:27] local.INFO: TCP Data received {"connection_id":191781,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:15:27] local.INFO: Processing buffer {"connection_id":191781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:15:27] local.INFO: IMEI packet received {"connection_id":191781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":191781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:15:32] local.INFO: TCP Data received {"connection_id":191781,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:15:32] local.INFO: Processing buffer {"connection_id":191781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:15:32] local.INFO: IMEI packet received {"connection_id":191781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":191781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:15:33] local.INFO: TCP Data received {"connection_id":191781,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:15:33] local.INFO: Processing buffer {"connection_id":191781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:15:33] local.INFO: Packet analysis {"connection_id":191781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d483"} 
[2026-09-24 23:15:33] local.INFO: Extracted packet for processing {"connection_id":191781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d483"} 
[2026-09-24 23:15:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309495040001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790271766000,"timestamp_ms":1790271766000,"timestamp_seconds":1790271766,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4833df0"} 
[2026-09-24 23:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309495040001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309495040001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:15:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:15:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309495040001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":191781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:15:33] local.INFO: GPS data processed {"connection_id":191781,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:15:33] local.INFO: Acknowledgment sent {"connection_id":191781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:15:43] local.INFO: TCP Data received {"connection_id":191780,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4847e40012cf908c00707e7a8000d009131..."} 
[2026-09-24 23:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4847e40012cf908c00707e7a8000d009131..."} 
[2026-09-24 23:15:43] local.INFO: Processing buffer {"connection_id":191780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4847e40012cf908c00707e7a8000d009131..."} 
[2026-09-24 23:15:43] local.INFO: Packet analysis {"connection_id":191780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d484"} 
[2026-09-24 23:15:43] local.INFO: Extracted packet for processing {"connection_id":191780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d484"} 
[2026-09-24 23:15:43] local.INFO: GPS Element Parsed {"raw_longitude":754518208,"raw_latitude":117958568,"longitude_deg":75.4518208,"latitude_deg":11.7958568,"altitude":13,"angle":145,"satellites":49,"speed":49,"hex_longitude":"2cf908c0","hex_latitude":"0707e7a8","is_valid_coordinates":true} 
[2026-09-24 23:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:15:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,165,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 23:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790271848000,"timestamp_ms":1790271848000,"timestamp_seconds":1790271848,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4847e40"} 
[2026-09-24 23:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 23:15:43] 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-09-24 23:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"165":206,"28":32256,"24":49,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16]} 
[2026-09-24 23:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 23:15:43] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 23:15:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:15:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_165":206,"unknown_28":32256,"ignition":49,"odometer":null}} 
[2026-09-24 23:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":191780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892680,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:15:43] local.INFO: GPS data processed {"connection_id":191780,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:15:43] local.INFO: Acknowledgment sent {"connection_id":191780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:16:05] local.INFO: TCP Data received {"connection_id":191781,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:16:05] local.INFO: Processing buffer {"connection_id":191781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:16:05] local.INFO: Packet analysis {"connection_id":191781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d483"} 
[2026-09-24 23:16:05] local.INFO: Extracted packet for processing {"connection_id":191781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d483"} 
[2026-09-24 23:16:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309495040001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790271766000,"timestamp_ms":1790271766000,"timestamp_seconds":1790271766,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4833df0"} 
[2026-09-24 23:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309495040001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309495040001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:16:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:16:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309495040001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":191781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:16:05] local.INFO: GPS data processed {"connection_id":191781,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:16:05] local.INFO: Acknowledgment sent {"connection_id":191781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:16:06] local.INFO: TCP Data received {"connection_id":191596,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:16:06] local.INFO: Processing buffer {"connection_id":191596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:16:06] local.INFO: IMEI packet received {"connection_id":191596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":191596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:16:09] local.INFO: TCP Data received {"connection_id":191596,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:16:09] local.INFO: Processing buffer {"connection_id":191596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:16:09] local.INFO: IMEI packet received {"connection_id":191596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":191596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:16:11] local.INFO: TCP Data received {"connection_id":191596,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:16:11] local.INFO: Processing buffer {"connection_id":191596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:16:11] local.INFO: IMEI packet received {"connection_id":191596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":191596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:16:12] local.INFO: TCP Data received {"connection_id":191596,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d484d048012cf93c800707a0500009009031..."} 
[2026-09-24 23:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d484d048012cf93c800707a0500009009031..."} 
[2026-09-24 23:16:12] local.INFO: Processing buffer {"connection_id":191596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d484d048012cf93c800707a0500009009031..."} 
[2026-09-24 23:16:12] local.INFO: Packet analysis {"connection_id":191596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d484"} 
[2026-09-24 23:16:12] local.INFO: Extracted packet for processing {"connection_id":191596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d484"} 
[2026-09-24 23:16:12] local.INFO: GPS Element Parsed {"raw_longitude":754531456,"raw_latitude":117940304,"longitude_deg":75.4531456,"latitude_deg":11.7940304,"altitude":9,"angle":144,"satellites":49,"speed":0,"hex_longitude":"2cf93c80","hex_latitude":"0707a050","is_valid_coordinates":true} 
[2026-09-24 23:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309593088001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:16:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-501940222021883904,"note":"Value kept but may cause issues"} 
[2026-09-24 23:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790271869000,"timestamp_ms":1790271869000,"timestamp_seconds":1790271869,"priority":1,"record_length":96,"hex_timestamp":"000001a0d484d048"} 
[2026-09-24 23:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 23:16:12] 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-09-24 23:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309593088001,"66":27984,"165":206,"28":32256,"24":0,"16":3605341577150464,"44":-501940222021883904},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-09-24 23:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309593088001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:16:12] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 23:16:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:16:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-501940222021883904,"description":"Unknown IO ID 44"} 
[2026-09-24 23:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309593088001,"power":27984,"unknown_165":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-501940222021883904}} 
[2026-09-24 23:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":191596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892682,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:16:12] local.INFO: GPS data processed {"connection_id":191596,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:16:12] local.INFO: Acknowledgment sent {"connection_id":191596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:16:32] local.INFO: TCP Data received {"connection_id":191782,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:16:32] local.INFO: Processing buffer {"connection_id":191782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:16:32] local.INFO: IMEI packet received {"connection_id":191782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":191782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:16:37] local.INFO: TCP Data received {"connection_id":191782,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:16:37] local.INFO: Processing buffer {"connection_id":191782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:16:37] local.INFO: IMEI packet received {"connection_id":191782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":191782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:16:38] local.INFO: TCP Data received {"connection_id":191782,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:16:38] local.INFO: Processing buffer {"connection_id":191782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:16:38] local.INFO: Packet analysis {"connection_id":191782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d483"} 
[2026-09-24 23:16:38] local.INFO: Extracted packet for processing {"connection_id":191782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d483"} 
[2026-09-24 23:16:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309495040001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790271766000,"timestamp_ms":1790271766000,"timestamp_seconds":1790271766,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4833df0"} 
[2026-09-24 23:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309495040001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309495040001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:16:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:16:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309495040001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":191782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:16:38] local.INFO: GPS data processed {"connection_id":191782,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:16:38] local.INFO: Acknowledgment sent {"connection_id":191782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:16:43] local.INFO: TCP Data received {"connection_id":191782,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:16:43] local.INFO: Processing buffer {"connection_id":191782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:16:43] local.INFO: Packet analysis {"connection_id":191782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d483"} 
[2026-09-24 23:16:43] local.INFO: Extracted packet for processing {"connection_id":191782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d483"} 
[2026-09-24 23:16:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309495040001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790271766000,"timestamp_ms":1790271766000,"timestamp_seconds":1790271766,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4833df0"} 
[2026-09-24 23:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309495040001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309495040001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:16:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:16:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309495040001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":191782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:16:43] local.INFO: GPS data processed {"connection_id":191782,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:16:43] local.INFO: Acknowledgment sent {"connection_id":191782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:16:44] local.INFO: TCP Data received {"connection_id":191596,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4850310012cf9670007075160000600a132..."} 
[2026-09-24 23:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4850310012cf9670007075160000600a132..."} 
[2026-09-24 23:16:44] local.INFO: Processing buffer {"connection_id":191596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4850310012cf9670007075160000600a132..."} 
[2026-09-24 23:16:44] local.INFO: Packet analysis {"connection_id":191596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d485"} 
[2026-09-24 23:16:44] local.INFO: Extracted packet for processing {"connection_id":191596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d485"} 
[2026-09-24 23:16:44] local.INFO: GPS Element Parsed {"raw_longitude":754542336,"raw_latitude":117920096,"longitude_deg":75.4542336,"latitude_deg":11.7920096,"altitude":6,"angle":161,"satellites":50,"speed":55,"hex_longitude":"2cf96700","hex_latitude":"07075160","is_valid_coordinates":true} 
[2026-09-24 23:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309598464001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:16:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-487373891981783040,"note":"Value kept but may cause issues"} 
[2026-09-24 23:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790271882000,"timestamp_ms":1790271882000,"timestamp_seconds":1790271882,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4850310"} 
[2026-09-24 23:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 23:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309598464001,"66":27995,"165":206,"28":32256,"24":55,"16":3605341577150464,"44":-487373891981783040},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-09-24 23:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309598464001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:16:44] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 23:16:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:16:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-487373891981783040,"description":"Unknown IO ID 44"} 
[2026-09-24 23:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309598464001,"power":27995,"unknown_165":206,"unknown_28":32256,"ignition":55,"odometer":null,"unknown_44":-487373891981783040}} 
[2026-09-24 23:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":191596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892685,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:16:44] local.INFO: GPS data processed {"connection_id":191596,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:16:44] local.INFO: Acknowledgment sent {"connection_id":191596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:17:06] local.INFO: TCP Data received {"connection_id":194453,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:17:06] local.INFO: Processing buffer {"connection_id":194453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:17:06] local.INFO: IMEI packet received {"connection_id":194453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":194453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:17:11] local.INFO: TCP Data received {"connection_id":194453,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:17:11] local.INFO: Processing buffer {"connection_id":194453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:17:11] local.INFO: IMEI packet received {"connection_id":194453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":194453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:17:12] local.INFO: TCP Data received {"connection_id":194453,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4855518012cf9828007070230000d009832..."} 
[2026-09-24 23:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4855518012cf9828007070230000d009832..."} 
[2026-09-24 23:17:12] local.INFO: Processing buffer {"connection_id":194453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4855518012cf9828007070230000d009832..."} 
[2026-09-24 23:17:12] local.INFO: Packet analysis {"connection_id":194453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d485"} 
[2026-09-24 23:17:12] local.INFO: Extracted packet for processing {"connection_id":194453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d485"} 
[2026-09-24 23:17:12] local.INFO: GPS Element Parsed {"raw_longitude":754549376,"raw_latitude":117899824,"longitude_deg":75.4549376,"latitude_deg":11.7899824,"altitude":13,"angle":152,"satellites":50,"speed":0,"hex_longitude":"2cf98280","hex_latitude":"07070230","is_valid_coordinates":true} 
[2026-09-24 23:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309601792001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:17:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-475411205476753408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790271903000,"timestamp_ms":1790271903000,"timestamp_seconds":1790271903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4855518"} 
[2026-09-24 23:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 23:17:12] 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-09-24 23:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309601792001,"66":27876,"166":206,"28":32256,"24":0,"16":3605341577150464,"44":-475411205476753408},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,44]} 
[2026-09-24 23:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309601792001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:17:12] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-24 23:17:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:17:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-475411205476753408,"description":"Unknown IO ID 44"} 
[2026-09-24 23:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309601792001,"power":27876,"unknown_166":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-475411205476753408}} 
[2026-09-24 23:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":194453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892686,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:17:12] local.INFO: GPS data processed {"connection_id":194453,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:17:12] local.INFO: Acknowledgment sent {"connection_id":194453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:17:27] local.INFO: TCP Data received {"connection_id":191597,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:17:27] local.INFO: Processing buffer {"connection_id":191597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:17:27] local.INFO: IMEI packet received {"connection_id":191597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":191597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:17:32] local.INFO: TCP Data received {"connection_id":191597,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:17:32] local.INFO: Processing buffer {"connection_id":191597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:17:32] local.INFO: IMEI packet received {"connection_id":191597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":191597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:17:33] local.INFO: TCP Data received {"connection_id":191597,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:17:33] local.INFO: Processing buffer {"connection_id":191597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:17:33] local.INFO: Packet analysis {"connection_id":191597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d483"} 
[2026-09-24 23:17:33] local.INFO: Extracted packet for processing {"connection_id":191597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d483"} 
[2026-09-24 23:17:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309495040001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790271766000,"timestamp_ms":1790271766000,"timestamp_seconds":1790271766,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4833df0"} 
[2026-09-24 23:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309495040001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309495040001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:17:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:17:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309495040001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":191597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:17:33] local.INFO: GPS data processed {"connection_id":191597,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:17:33] local.INFO: Acknowledgment sent {"connection_id":191597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:17:43] local.INFO: TCP Data received {"connection_id":194453,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48583f8012cf9be400706c6c8000e007432..."} 
[2026-09-24 23:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48583f8012cf9be400706c6c8000e007432..."} 
[2026-09-24 23:17:44] local.INFO: Processing buffer {"connection_id":194453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48583f8012cf9be400706c6c8000e007432..."} 
[2026-09-24 23:17:44] local.INFO: Packet analysis {"connection_id":194453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d485"} 
[2026-09-24 23:17:44] local.INFO: Extracted packet for processing {"connection_id":194453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d485"} 
[2026-09-24 23:17:44] local.INFO: GPS Element Parsed {"raw_longitude":754564672,"raw_latitude":117884616,"longitude_deg":75.4564672,"latitude_deg":11.7884616,"altitude":14,"angle":116,"satellites":50,"speed":53,"hex_longitude":"2cf9be40","hex_latitude":"0706c6c8","is_valid_coordinates":true} 
[2026-09-24 23:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309607168001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:17:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-467670643622400000,"note":"Value kept but may cause issues"} 
[2026-09-24 23:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790271915000,"timestamp_ms":1790271915000,"timestamp_seconds":1790271915,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48583f8"} 
[2026-09-24 23:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 23:17:44] 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-09-24 23:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309607168001,"66":27952,"166":206,"28":32256,"24":53,"16":3605341577150464,"44":-467670643622400000},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,44]} 
[2026-09-24 23:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309607168001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:17:44] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-24 23:17:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:17:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-467670643622400000,"description":"Unknown IO ID 44"} 
[2026-09-24 23:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309607168001,"power":27952,"unknown_166":206,"unknown_28":32256,"ignition":53,"odometer":null,"unknown_44":-467670643622400000}} 
[2026-09-24 23:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":194453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892688,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:17:44] local.INFO: GPS data processed {"connection_id":194453,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:17:44] local.INFO: Acknowledgment sent {"connection_id":194453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:18:05] local.INFO: TCP Data received {"connection_id":191597,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:18:05] local.INFO: Processing buffer {"connection_id":191597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4833df0012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:18:05] local.INFO: Packet analysis {"connection_id":191597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d483"} 
[2026-09-24 23:18:05] local.INFO: Extracted packet for processing {"connection_id":191597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d483"} 
[2026-09-24 23:18:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309495040001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790271766000,"timestamp_ms":1790271766000,"timestamp_seconds":1790271766,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4833df0"} 
[2026-09-24 23:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309495040001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309495040001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:18:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:18:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309495040001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":191597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:18:05] local.INFO: GPS data processed {"connection_id":191597,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:18:05] local.INFO: Acknowledgment sent {"connection_id":191597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:18:11] local.INFO: TCP Data received {"connection_id":194454,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:18:11] local.INFO: Processing buffer {"connection_id":194454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:18:11] local.INFO: IMEI packet received {"connection_id":194454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":194454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:18:11] local.INFO: TCP Data received {"connection_id":194454,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:18:11] local.INFO: Processing buffer {"connection_id":194454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:18:11] local.INFO: IMEI packet received {"connection_id":194454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":194454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:18:15] local.INFO: TCP Data received {"connection_id":194454,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:18:15] local.INFO: Processing buffer {"connection_id":194454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:18:15] local.INFO: IMEI packet received {"connection_id":194454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":194454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:18:17] local.INFO: TCP Data received {"connection_id":194454,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d485c278012cfa14400706b4180008006130..."} 
[2026-09-24 23:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d485c278012cfa14400706b4180008006130..."} 
[2026-09-24 23:18:17] local.INFO: Processing buffer {"connection_id":194454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d485c278012cfa14400706b4180008006130..."} 
[2026-09-24 23:18:17] local.INFO: Packet analysis {"connection_id":194454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d485"} 
[2026-09-24 23:18:17] local.INFO: Extracted packet for processing {"connection_id":194454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d485"} 
[2026-09-24 23:18:17] local.INFO: GPS Element Parsed {"raw_longitude":754586688,"raw_latitude":117879832,"longitude_deg":75.4586688,"latitude_deg":11.7879832,"altitude":8,"angle":97,"satellites":48,"speed":55,"hex_longitude":"2cfa1440","hex_latitude":"0706b418","is_valid_coordinates":true} 
[2026-09-24 23:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309610240001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:18:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-450852513767831552,"note":"Value kept but may cause issues"} 
[2026-09-24 23:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790271931000,"timestamp_ms":1790271931000,"timestamp_seconds":1790271931,"priority":1,"record_length":96,"hex_timestamp":"000001a0d485c278"} 
[2026-09-24 23:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 23:18:17] 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-09-24 23:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":194454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":194454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":194454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309610240001,"66":27615,"166":206,"28":32256,"24":55,"16":3605341577150464,"44":-450852513767831552},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,44]} 
[2026-09-24 23:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309610240001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:18:17] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-24 23:18:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:18:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-450852513767831552,"description":"Unknown IO ID 44"} 
[2026-09-24 23:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309610240001,"power":27615,"unknown_166":206,"unknown_28":32256,"ignition":55,"odometer":null,"unknown_44":-450852513767831552}} 
[2026-09-24 23:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":194454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892690,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:18:17] local.INFO: GPS data processed {"connection_id":194454,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:18:17] local.INFO: Acknowledgment sent {"connection_id":194454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:18:23] local.INFO: TCP Data received {"connection_id":194454,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4861480012cfa67800706ac78000a006030..."} 
[2026-09-24 23:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4861480012cfa67800706ac78000a006030..."} 
[2026-09-24 23:18:23] local.INFO: Processing buffer {"connection_id":194454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4861480012cfa67800706ac78000a006030..."} 
[2026-09-24 23:18:23] local.INFO: Packet analysis {"connection_id":194454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d486"} 
[2026-09-24 23:18:23] local.INFO: Extracted packet for processing {"connection_id":194454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d486"} 
[2026-09-24 23:18:23] local.INFO: GPS Element Parsed {"raw_longitude":754608000,"raw_latitude":117877880,"longitude_deg":75.4608,"latitude_deg":11.787788,"altitude":10,"angle":96,"satellites":48,"speed":0,"hex_longitude":"2cfa6780","hex_latitude":"0706ac78","is_valid_coordinates":true} 
[2026-09-24 23:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309614336001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:18:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-426645665771939840,"note":"Value kept but may cause issues"} 
[2026-09-24 23:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790271952000,"timestamp_ms":1790271952000,"timestamp_seconds":1790271952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4861480"} 
[2026-09-24 23:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-24 23:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309614336001,"66":27930,"166":206,"28":32256,"24":0,"16":3605341577150464,"44":-426645665771939840},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,44]} 
[2026-09-24 23:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309614336001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:18:23] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-24 23:18:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:18:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-426645665771939840,"description":"Unknown IO ID 44"} 
[2026-09-24 23:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309614336001,"power":27930,"unknown_166":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-426645665771939840}} 
[2026-09-24 23:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":194454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892691,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:18:23] local.INFO: GPS data processed {"connection_id":194454,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:18:23] local.INFO: Acknowledgment sent {"connection_id":194454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:18:25] local.INFO: TCP Data received {"connection_id":193160,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:18:25] local.INFO: Processing buffer {"connection_id":193160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:18:25] local.INFO: IMEI packet received {"connection_id":193160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":193160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:18:27] local.INFO: TCP Data received {"connection_id":193160,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:18:27] local.INFO: Processing buffer {"connection_id":193160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:18:27] local.INFO: IMEI packet received {"connection_id":193160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":193160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:18:32] local.INFO: TCP Data received {"connection_id":193160,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:18:32] local.INFO: Processing buffer {"connection_id":193160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:18:32] local.INFO: IMEI packet received {"connection_id":193160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":193160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:18:34] local.INFO: TCP Data received {"connection_id":193160,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:18:34] local.INFO: Processing buffer {"connection_id":193160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:18:34] local.INFO: Packet analysis {"connection_id":193160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:18:34] local.INFO: Extracted packet for processing {"connection_id":193160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:18:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309572096001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790272067000,"timestamp_ms":1790272067000,"timestamp_seconds":1790272067,"priority":1,"record_length":96,"hex_timestamp":"000001a0d487d5b8"} 
[2026-09-24 23:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:18: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-09-24 23:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309572096001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309572096001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:18:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:18:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309572096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":193160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:18:34] local.INFO: GPS data processed {"connection_id":193160,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:18:34] local.INFO: Acknowledgment sent {"connection_id":193160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:19:05] local.INFO: TCP Data received {"connection_id":191598,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:19:05] local.INFO: Processing buffer {"connection_id":191598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:19:05] local.INFO: IMEI packet received {"connection_id":191598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":191598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:19:08] local.INFO: TCP Data received {"connection_id":193160,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:19:08] local.INFO: Processing buffer {"connection_id":193160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:19:08] local.INFO: Packet analysis {"connection_id":193160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:19:08] local.INFO: Extracted packet for processing {"connection_id":193160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309572096001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790272067000,"timestamp_ms":1790272067000,"timestamp_seconds":1790272067,"priority":1,"record_length":96,"hex_timestamp":"000001a0d487d5b8"} 
[2026-09-24 23:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:19: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-09-24 23:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309572096001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309572096001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:19:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:19:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309572096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":193160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:19:08] local.INFO: GPS data processed {"connection_id":193160,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:19:08] local.INFO: Acknowledgment sent {"connection_id":193160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:19:11] local.INFO: TCP Data received {"connection_id":191598,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:19:11] local.INFO: Processing buffer {"connection_id":191598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:19:11] local.INFO: IMEI packet received {"connection_id":191598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":191598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:19:12] local.INFO: TCP Data received {"connection_id":191598,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d486f7100100000000000000000000000000..."} 
[2026-09-24 23:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d486f7100100000000000000000000000000..."} 
[2026-09-24 23:19:12] local.INFO: Processing buffer {"connection_id":191598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d486f7100100000000000000000000000000..."} 
[2026-09-24 23:19:12] local.INFO: Packet analysis {"connection_id":191598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d486"} 
[2026-09-24 23:19:12] local.INFO: Extracted packet for processing {"connection_id":191598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d486"} 
[2026-09-24 23:19:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 23:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309619712001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:19:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-403212873961277440,"note":"Value kept but may cause issues"} 
[2026-09-24 23:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790272010000,"timestamp_ms":1790272010000,"timestamp_seconds":1790272010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d486f710"} 
[2026-09-24 23:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-24 23:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":191598,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 23:19:12] local.INFO: GPS data processed {"connection_id":191598,"processed":0,"errors":0,"total":1} 
[2026-09-24 23:19:12] local.INFO: Acknowledgment sent {"connection_id":191598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:19:27] local.INFO: TCP Data received {"connection_id":191783,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:19:27] local.INFO: Processing buffer {"connection_id":191783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:19:27] local.INFO: IMEI packet received {"connection_id":191783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":191783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:19:32] local.INFO: TCP Data received {"connection_id":191783,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:19:32] local.INFO: Processing buffer {"connection_id":191783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:19:32] local.INFO: IMEI packet received {"connection_id":191783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":191783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:19:33] local.INFO: TCP Data received {"connection_id":191783,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:19:33] local.INFO: Processing buffer {"connection_id":191783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:19:33] local.INFO: Packet analysis {"connection_id":191783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:19:33] local.INFO: Extracted packet for processing {"connection_id":191783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:19:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309572096001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790272067000,"timestamp_ms":1790272067000,"timestamp_seconds":1790272067,"priority":1,"record_length":96,"hex_timestamp":"000001a0d487d5b8"} 
[2026-09-24 23:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309572096001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309572096001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:19:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:19:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309572096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":191783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:19:33] local.INFO: GPS data processed {"connection_id":191783,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:19:33] local.INFO: Acknowledgment sent {"connection_id":191783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:19:44] local.INFO: TCP Data received {"connection_id":191598,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48685c8012cfb054007069c480007006230..."} 
[2026-09-24 23:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48685c8012cfb054007069c480007006230..."} 
[2026-09-24 23:19:44] local.INFO: Processing buffer {"connection_id":191598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48685c8012cfb054007069c480007006230..."} 
[2026-09-24 23:19:44] local.INFO: Packet analysis {"connection_id":191598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d486"} 
[2026-09-24 23:19:44] local.INFO: Extracted packet for processing {"connection_id":191598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d486"} 
[2026-09-24 23:19:44] local.INFO: GPS Element Parsed {"raw_longitude":754648384,"raw_latitude":117873736,"longitude_deg":75.4648384,"latitude_deg":11.7873736,"altitude":7,"angle":98,"satellites":48,"speed":51,"hex_longitude":"2cfb0540","hex_latitude":"07069c48","is_valid_coordinates":true} 
[2026-09-24 23:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:19:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,166,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 23:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790271981000,"timestamp_ms":1790271981000,"timestamp_seconds":1790271981,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48685c8"} 
[2026-09-24 23:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-24 23:19:44] 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-09-24 23:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28006,"166":206,"28":32256,"24":51,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16]} 
[2026-09-24 23:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 23:19:44] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-24 23:19:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:19:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28006,"unknown_166":206,"unknown_28":32256,"ignition":51,"odometer":null}} 
[2026-09-24 23:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":191598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892695,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:19:44] local.INFO: GPS data processed {"connection_id":191598,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:19:44] local.INFO: Acknowledgment sent {"connection_id":191598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:20:04] local.INFO: TCP Data received {"connection_id":191783,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:20:04] local.INFO: Processing buffer {"connection_id":191783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:20:04] local.INFO: Packet analysis {"connection_id":191783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:20:04] local.INFO: Extracted packet for processing {"connection_id":191783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:20:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309572096001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790272067000,"timestamp_ms":1790272067000,"timestamp_seconds":1790272067,"priority":1,"record_length":96,"hex_timestamp":"000001a0d487d5b8"} 
[2026-09-24 23:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:20: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-09-24 23: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-09-24 23:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309572096001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309572096001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:20:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:20:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309572096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":191783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:20:04] local.INFO: GPS data processed {"connection_id":191783,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:20:04] local.INFO: Acknowledgment sent {"connection_id":191783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:20:06] local.INFO: TCP Data received {"connection_id":191599,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:20:06] local.INFO: Processing buffer {"connection_id":191599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:20:06] local.INFO: IMEI packet received {"connection_id":191599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":191599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:20:11] local.INFO: TCP Data received {"connection_id":191599,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:20:11] local.INFO: Processing buffer {"connection_id":191599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:20:11] local.INFO: IMEI packet received {"connection_id":191599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":191599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:20:12] local.INFO: TCP Data received {"connection_id":191599,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d486d7d0012cfb5b0007069288000a005f2e..."} 
[2026-09-24 23:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d486d7d0012cfb5b0007069288000a005f2e..."} 
[2026-09-24 23:20:12] local.INFO: Processing buffer {"connection_id":191599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d486d7d0012cfb5b0007069288000a005f2e..."} 
[2026-09-24 23:20:12] local.INFO: Packet analysis {"connection_id":191599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d486"} 
[2026-09-24 23:20:12] local.INFO: Extracted packet for processing {"connection_id":191599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d486"} 
[2026-09-24 23:20:12] local.INFO: GPS Element Parsed {"raw_longitude":754670336,"raw_latitude":117871240,"longitude_deg":75.4670336,"latitude_deg":11.787124,"altitude":10,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2cfb5b00","hex_latitude":"07069288","is_valid_coordinates":true} 
[2026-09-24 23:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309627136001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:20:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-358810196386232320,"note":"Value kept but may cause issues"} 
[2026-09-24 23:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790272002000,"timestamp_ms":1790272002000,"timestamp_seconds":1790272002,"priority":1,"record_length":96,"hex_timestamp":"000001a0d486d7d0"} 
[2026-09-24 23:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:20: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-09-24 23:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-24 23:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309627136001,"66":27952,"165":206,"28":32256,"24":0,"16":3605341577150464,"44":-358810196386232320},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-09-24 23:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309627136001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:20:12] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 23:20:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:20:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-358810196386232320,"description":"Unknown IO ID 44"} 
[2026-09-24 23:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309627136001,"power":27952,"unknown_165":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-358810196386232320}} 
[2026-09-24 23:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":191599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892697,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:20:12] local.INFO: GPS data processed {"connection_id":191599,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:20:12] local.INFO: Acknowledgment sent {"connection_id":191599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:20:27] local.INFO: TCP Data received {"connection_id":193161,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:20:27] local.INFO: Processing buffer {"connection_id":193161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:20:27] local.INFO: IMEI packet received {"connection_id":193161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":193161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:20:32] local.INFO: TCP Data received {"connection_id":193161,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:20:32] local.INFO: Processing buffer {"connection_id":193161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:20:32] local.INFO: IMEI packet received {"connection_id":193161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":193161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:20:37] local.INFO: TCP Data received {"connection_id":193161,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:20:37] local.INFO: Processing buffer {"connection_id":193161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:20:37] local.INFO: Packet analysis {"connection_id":193161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:20:37] local.INFO: Extracted packet for processing {"connection_id":193161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309572096001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790272067000,"timestamp_ms":1790272067000,"timestamp_seconds":1790272067,"priority":1,"record_length":96,"hex_timestamp":"000001a0d487d5b8"} 
[2026-09-24 23:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309572096001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309572096001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:20:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309572096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":193161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:20:37] local.INFO: GPS data processed {"connection_id":193161,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:20:37] local.INFO: Acknowledgment sent {"connection_id":193161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:20:38] local.INFO: TCP Data received {"connection_id":193161,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:20:38] local.INFO: Processing buffer {"connection_id":193161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:20:38] local.INFO: Packet analysis {"connection_id":193161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:20:38] local.INFO: Extracted packet for processing {"connection_id":193161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309572096001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790272067000,"timestamp_ms":1790272067000,"timestamp_seconds":1790272067,"priority":1,"record_length":96,"hex_timestamp":"000001a0d487d5b8"} 
[2026-09-24 23:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309572096001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309572096001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309572096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":193161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:20:38] local.INFO: GPS data processed {"connection_id":193161,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:20:38] local.INFO: Acknowledgment sent {"connection_id":193161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:20:43] local.INFO: TCP Data received {"connection_id":191599,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d487ba600100000000000000000000000000..."} 
[2026-09-24 23:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d487ba600100000000000000000000000000..."} 
[2026-09-24 23:20:43] local.INFO: Processing buffer {"connection_id":191599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d487ba600100000000000000000000000000..."} 
[2026-09-24 23:20:43] local.INFO: Packet analysis {"connection_id":191599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:20:43] local.INFO: Extracted packet for processing {"connection_id":191599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:20:43] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 23:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309632512001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:20:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-334673717133932544,"note":"Value kept but may cause issues"} 
[2026-09-24 23:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790272060000,"timestamp_ms":1790272060000,"timestamp_seconds":1790272060,"priority":1,"record_length":96,"hex_timestamp":"000001a0d487ba60"} 
[2026-09-24 23:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 23:20:43] 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-09-24 23:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":191599,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 23:20:43] local.INFO: GPS data processed {"connection_id":191599,"processed":0,"errors":0,"total":1} 
[2026-09-24 23:20:43] local.INFO: Acknowledgment sent {"connection_id":191599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:21:05] local.INFO: TCP Data received {"connection_id":191784,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:21:05] local.INFO: Processing buffer {"connection_id":191784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:21:05] local.INFO: IMEI packet received {"connection_id":191784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":191784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:21:09] local.INFO: TCP Data received {"connection_id":193161,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:21:09] local.INFO: Processing buffer {"connection_id":193161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:21:09] local.INFO: Packet analysis {"connection_id":193161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:21:09] local.INFO: Extracted packet for processing {"connection_id":193161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309572096001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790272067000,"timestamp_ms":1790272067000,"timestamp_seconds":1790272067,"priority":1,"record_length":96,"hex_timestamp":"000001a0d487d5b8"} 
[2026-09-24 23:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309572096001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309572096001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309572096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":193161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:21:09] local.INFO: GPS data processed {"connection_id":193161,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:21:09] local.INFO: Acknowledgment sent {"connection_id":193161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:21:11] local.INFO: TCP Data received {"connection_id":191784,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:21:11] local.INFO: Processing buffer {"connection_id":191784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:21:11] local.INFO: IMEI packet received {"connection_id":191784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":191784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:21:12] local.INFO: TCP Data received {"connection_id":191784,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4874d00012cfc0780070682a80008005f30..."} 
[2026-09-24 23:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4874d00012cfc0780070682a80008005f30..."} 
[2026-09-24 23:21:12] local.INFO: Processing buffer {"connection_id":191784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4874d00012cfc0780070682a80008005f30..."} 
[2026-09-24 23:21:12] local.INFO: Packet analysis {"connection_id":191784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:21:12] local.INFO: Extracted packet for processing {"connection_id":191784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:21:12] local.INFO: GPS Element Parsed {"raw_longitude":754714496,"raw_latitude":117867176,"longitude_deg":75.4714496,"latitude_deg":11.7867176,"altitude":8,"angle":95,"satellites":48,"speed":55,"hex_longitude":"2cfc0780","hex_latitude":"070682a8","is_valid_coordinates":true} 
[2026-09-24 23:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:21:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,165,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 23:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790272032000,"timestamp_ms":1790272032000,"timestamp_seconds":1790272032,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4874d00"} 
[2026-09-24 23:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 23:21:12] 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-09-24 23:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28050,"165":206,"28":32256,"24":55,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16]} 
[2026-09-24 23:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 23:21:12] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-24 23:21:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:21:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28050,"unknown_165":206,"unknown_28":32256,"ignition":55,"odometer":null}} 
[2026-09-24 23:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":191784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892701,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:21:12] local.INFO: GPS data processed {"connection_id":191784,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:21:12] local.INFO: Acknowledgment sent {"connection_id":191784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:21:32] local.INFO: TCP Data received {"connection_id":194455,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:21:32] local.INFO: Processing buffer {"connection_id":194455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:21:32] local.INFO: IMEI packet received {"connection_id":194455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":194455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:21:37] local.INFO: TCP Data received {"connection_id":194455,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:21:37] local.INFO: Processing buffer {"connection_id":194455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:21:37] local.INFO: IMEI packet received {"connection_id":194455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":194455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:21:38] local.INFO: TCP Data received {"connection_id":194455,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:21:38] local.INFO: Processing buffer {"connection_id":194455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:21:38] local.INFO: Packet analysis {"connection_id":194455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:21:38] local.INFO: Extracted packet for processing {"connection_id":194455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:21:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309572096001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790272067000,"timestamp_ms":1790272067000,"timestamp_seconds":1790272067,"priority":1,"record_length":96,"hex_timestamp":"000001a0d487d5b8"} 
[2026-09-24 23:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309572096001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309572096001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:21:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:21:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309572096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":194455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:21:38] local.INFO: GPS data processed {"connection_id":194455,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:21:38] local.INFO: Acknowledgment sent {"connection_id":194455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:21:43] local.INFO: TCP Data received {"connection_id":194455,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:21:43] local.INFO: Processing buffer {"connection_id":194455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:21:43] local.INFO: Packet analysis {"connection_id":194455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:21:43] local.INFO: Extracted packet for processing {"connection_id":194455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:21:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309572096001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790272067000,"timestamp_ms":1790272067000,"timestamp_seconds":1790272067,"priority":1,"record_length":96,"hex_timestamp":"000001a0d487d5b8"} 
[2026-09-24 23:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":194455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":194455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":194455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309572096001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309572096001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:21:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:21:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309572096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":194455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:21:43] local.INFO: GPS data processed {"connection_id":194455,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:21:43] local.INFO: Acknowledgment sent {"connection_id":194455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:21:44] local.INFO: TCP Data received {"connection_id":191784,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48ad3580100000000000000000000000000..."} 
[2026-09-24 23:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48ad3580100000000000000000000000000..."} 
[2026-09-24 23:21:44] local.INFO: Processing buffer {"connection_id":191784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48ad3580100000000000000000000000000..."} 
[2026-09-24 23:21:44] local.INFO: Packet analysis {"connection_id":191784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48a"} 
[2026-09-24 23:21:44] local.INFO: Extracted packet for processing {"connection_id":191784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48a"} 
[2026-09-24 23:21:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 23:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309684480001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:21:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-91057124823183360,"note":"Value kept but may cause issues"} 
[2026-09-24 23:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790272263000,"timestamp_ms":1790272263000,"timestamp_seconds":1790272263,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48ad358"} 
[2026-09-24 23:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-24 23:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":191784,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 23:21:44] local.INFO: GPS data processed {"connection_id":191784,"processed":0,"errors":0,"total":1} 
[2026-09-24 23:21:44] local.INFO: Acknowledgment sent {"connection_id":191784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:22:06] local.INFO: TCP Data received {"connection_id":193162,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:22:06] local.INFO: Processing buffer {"connection_id":193162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:22:06] local.INFO: IMEI packet received {"connection_id":193162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":193162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:22:11] local.INFO: TCP Data received {"connection_id":193162,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:22:11] local.INFO: Processing buffer {"connection_id":193162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:22:11] local.INFO: IMEI packet received {"connection_id":193162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":193162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:22:12] local.INFO: TCP Data received {"connection_id":193162,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48a69e0012cff3c8007044ad00010007032..."} 
[2026-09-24 23:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48a69e0012cff3c8007044ad00010007032..."} 
[2026-09-24 23:22:12] local.INFO: Processing buffer {"connection_id":193162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48a69e0012cff3c8007044ad00010007032..."} 
[2026-09-24 23:22:12] local.INFO: Packet analysis {"connection_id":193162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48a"} 
[2026-09-24 23:22:12] local.INFO: Extracted packet for processing {"connection_id":193162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48a"} 
[2026-09-24 23:22:12] local.INFO: GPS Element Parsed {"raw_longitude":754924672,"raw_latitude":117721808,"longitude_deg":75.4924672,"latitude_deg":11.7721808,"altitude":16,"angle":112,"satellites":50,"speed":43,"hex_longitude":"2cff3c80","hex_latitude":"07044ad0","is_valid_coordinates":true} 
[2026-09-24 23:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:22:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,55,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 23:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790272236000,"timestamp_ms":1790272236000,"timestamp_seconds":1790272236,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48a69e0"} 
[2026-09-24 23:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:22: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-24 23:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27821,"55":206,"28":32256,"24":43,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16]} 
[2026-09-24 23:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 23:22:12] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-24 23:22:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:22:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27821,"unknown_55":206,"unknown_28":32256,"ignition":43,"odometer":null}} 
[2026-09-24 23:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":193162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892704,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:22:12] local.INFO: GPS data processed {"connection_id":193162,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:22:12] local.INFO: Acknowledgment sent {"connection_id":193162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:22:27] local.INFO: TCP Data received {"connection_id":191600,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:22:27] local.INFO: Processing buffer {"connection_id":191600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:22:27] local.INFO: IMEI packet received {"connection_id":191600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":191600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:22:32] local.INFO: TCP Data received {"connection_id":191600,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:22:32] local.INFO: Processing buffer {"connection_id":191600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:22:32] local.INFO: IMEI packet received {"connection_id":191600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":191600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:22:34] local.INFO: TCP Data received {"connection_id":191600,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:22:34] local.INFO: Processing buffer {"connection_id":191600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:22:34] local.INFO: Packet analysis {"connection_id":191600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:22:34] local.INFO: Extracted packet for processing {"connection_id":191600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:22:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309572096001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790272067000,"timestamp_ms":1790272067000,"timestamp_seconds":1790272067,"priority":1,"record_length":96,"hex_timestamp":"000001a0d487d5b8"} 
[2026-09-24 23:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:22: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-09-24 23:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309572096001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309572096001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:22:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:22:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309572096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":191600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:22:34] local.INFO: GPS data processed {"connection_id":191600,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:22:34] local.INFO: Acknowledgment sent {"connection_id":191600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:22:45] local.INFO: TCP Data received {"connection_id":193162,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48abbe8012cff6b0007043a28000f006a31..."} 
[2026-09-24 23:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48abbe8012cff6b0007043a28000f006a31..."} 
[2026-09-24 23:22:45] local.INFO: Processing buffer {"connection_id":193162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48abbe8012cff6b0007043a28000f006a31..."} 
[2026-09-24 23:22:45] local.INFO: Packet analysis {"connection_id":193162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48a"} 
[2026-09-24 23:22:45] local.INFO: Extracted packet for processing {"connection_id":193162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48a"} 
[2026-09-24 23:22:45] local.INFO: GPS Element Parsed {"raw_longitude":754936576,"raw_latitude":117717544,"longitude_deg":75.4936576,"latitude_deg":11.7717544,"altitude":15,"angle":106,"satellites":49,"speed":0,"hex_longitude":"2cff6b00","hex_latitude":"07043a28","is_valid_coordinates":true} 
[2026-09-24 23:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309692416001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:22:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-55028327810150400,"note":"Value kept but may cause issues"} 
[2026-09-24 23:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790272257000,"timestamp_ms":1790272257000,"timestamp_seconds":1790272257,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48abbe8"} 
[2026-09-24 23:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 23:22:45] 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-09-24 23:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309692416001,"66":27832,"55":206,"28":32256,"24":0,"16":3605341577150464,"44":-55028327810150400},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-09-24 23:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309692416001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:22:45] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-09-24 23:22:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:22:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-55028327810150400,"description":"Unknown IO ID 44"} 
[2026-09-24 23:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309692416001,"power":27832,"unknown_55":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-55028327810150400}} 
[2026-09-24 23:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":193162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892706,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:22:45] local.INFO: GPS data processed {"connection_id":193162,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:22:45] local.INFO: Acknowledgment sent {"connection_id":193162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:23:05] local.INFO: TCP Data received {"connection_id":191600,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:23:05] local.INFO: Processing buffer {"connection_id":191600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d487d5b8012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:23:05] local.INFO: Packet analysis {"connection_id":191600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:23:05] local.INFO: Extracted packet for processing {"connection_id":191600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d487"} 
[2026-09-24 23:23:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309572096001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790272067000,"timestamp_ms":1790272067000,"timestamp_seconds":1790272067,"priority":1,"record_length":96,"hex_timestamp":"000001a0d487d5b8"} 
[2026-09-24 23:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:23: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-09-24 23:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:23: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-09-24 23: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-09-24 23:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309572096001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309572096001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:23:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:23:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309572096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":191600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:23:05] local.INFO: GPS data processed {"connection_id":191600,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:23:05] local.INFO: Acknowledgment sent {"connection_id":191600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:23:11] local.INFO: TCP Data received {"connection_id":194456,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:23:11] local.INFO: Processing buffer {"connection_id":194456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:23:11] local.INFO: IMEI packet received {"connection_id":194456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":194456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:23:26] local.INFO: TCP Data received {"connection_id":191785,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:23:26] local.INFO: Processing buffer {"connection_id":191785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:23:26] local.INFO: IMEI packet received {"connection_id":191785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":191785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:23:27] local.INFO: TCP Data received {"connection_id":191785,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:23:27] local.INFO: Processing buffer {"connection_id":191785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:23:27] local.INFO: IMEI packet received {"connection_id":191785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":191785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:23:28] local.INFO: TCP Data received {"connection_id":194456,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:23:28] local.INFO: Processing buffer {"connection_id":194456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:23:28] local.INFO: IMEI packet received {"connection_id":194456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":194456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:23:29] local.INFO: TCP Data received {"connection_id":194456,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48b0df0012cff6b0007043a28000f006a31..."} 
[2026-09-24 23:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48b0df0012cff6b0007043a28000f006a31..."} 
[2026-09-24 23:23:29] local.INFO: Processing buffer {"connection_id":194456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48b0df0012cff6b0007043a28000f006a31..."} 
[2026-09-24 23:23:29] local.INFO: Packet analysis {"connection_id":194456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48b"} 
[2026-09-24 23:23:29] local.INFO: Extracted packet for processing {"connection_id":194456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48b"} 
[2026-09-24 23:23:29] local.INFO: GPS Element Parsed {"raw_longitude":754936576,"raw_latitude":117717544,"longitude_deg":75.4936576,"latitude_deg":11.7717544,"altitude":15,"angle":106,"satellites":49,"speed":0,"hex_longitude":"2cff6b00","hex_latitude":"07043a28","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309697792001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:23:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-41939741394196480,"note":"Value kept but may cause issues"} 
[2026-09-24 23:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790272278000,"timestamp_ms":1790272278000,"timestamp_seconds":1790272278,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48b0df0"} 
[2026-09-24 23:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-24 23:23:29] 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-09-24 23: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-09-24 23:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":194456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":194456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":194456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309697792001,"66":27832,"52":206,"28":32256,"24":0,"16":3605341577150464,"44":-41939741394196480},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,28,24,16,44]} 
[2026-09-24 23:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309697792001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:23:29] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-24 23:23:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:23:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-41939741394196480,"description":"Unknown IO ID 44"} 
[2026-09-24 23:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309697792001,"power":27832,"unknown_52":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-41939741394196480}} 
[2026-09-24 23:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":194456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892708,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:23:29] local.INFO: GPS data processed {"connection_id":194456,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:23:29] local.INFO: Acknowledgment sent {"connection_id":194456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:23:30] local.INFO: TCP Data received {"connection_id":194456,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48b5ff8012cffa400070424c8000d006d2f..."} 
[2026-09-24 23:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48b5ff8012cffa400070424c8000d006d2f..."} 
[2026-09-24 23:23:30] local.INFO: Processing buffer {"connection_id":194456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48b5ff8012cffa400070424c8000d006d2f..."} 
[2026-09-24 23:23:30] local.INFO: Packet analysis {"connection_id":194456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48b"} 
[2026-09-24 23:23:30] local.INFO: Extracted packet for processing {"connection_id":194456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48b"} 
[2026-09-24 23:23:30] local.INFO: GPS Element Parsed {"raw_longitude":754951168,"raw_latitude":117712072,"longitude_deg":75.4951168,"latitude_deg":11.7712072,"altitude":13,"angle":109,"satellites":47,"speed":0,"hex_longitude":"2cffa400","hex_latitude":"070424c8","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309703168001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:23:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-41939741394196480,"note":"Value kept but may cause issues"} 
[2026-09-24 23:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790272299000,"timestamp_ms":1790272299000,"timestamp_seconds":1790272299,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48b5ff8"} 
[2026-09-24 23:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:23: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-09-24 23: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-24 23:23:30] 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-09-24 23: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-09-24 23:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309703168001,"66":27908,"52":206,"28":32256,"24":0,"16":3605341577150464,"44":-41939741394196480},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,28,24,16,44]} 
[2026-09-24 23:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309703168001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:23:30] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-24 23:23:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:23:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-41939741394196480,"description":"Unknown IO ID 44"} 
[2026-09-24 23:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309703168001,"power":27908,"unknown_52":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-41939741394196480}} 
[2026-09-24 23:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":194456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892709,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:23:30] local.INFO: GPS data processed {"connection_id":194456,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:23:30] local.INFO: Acknowledgment sent {"connection_id":194456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:23:32] local.INFO: TCP Data received {"connection_id":191785,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:23:32] local.INFO: Processing buffer {"connection_id":191785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:23:32] local.INFO: IMEI packet received {"connection_id":191785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":191785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:23:34] local.INFO: TCP Data received {"connection_id":191785,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:23:34] local.INFO: Processing buffer {"connection_id":191785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:23:34] local.INFO: Packet analysis {"connection_id":191785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:23:34] local.INFO: Extracted packet for processing {"connection_id":191785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:23:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309649152001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790272368000,"timestamp_ms":1790272368000,"timestamp_seconds":1790272368,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48c6d80"} 
[2026-09-24 23:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:23: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-09-24 23:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 23:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309649152001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309649152001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:23:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:23:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309649152001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":191785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:23:34] local.INFO: GPS data processed {"connection_id":191785,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:23:34] local.INFO: Acknowledgment sent {"connection_id":191785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:24:06] local.INFO: TCP Data received {"connection_id":191601,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:24:06] local.INFO: Processing buffer {"connection_id":191601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:24:06] local.INFO: IMEI packet received {"connection_id":191601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":191601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:24:06] local.INFO: TCP Data received {"connection_id":191785,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:24:06] local.INFO: Processing buffer {"connection_id":191785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:24:06] local.INFO: Packet analysis {"connection_id":191785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:24:06] local.INFO: Extracted packet for processing {"connection_id":191785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309649152001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790272368000,"timestamp_ms":1790272368000,"timestamp_seconds":1790272368,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48c6d80"} 
[2026-09-24 23:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 23:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309649152001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309649152001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:24:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309649152001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":191785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:24:06] local.INFO: GPS data processed {"connection_id":191785,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:24:06] local.INFO: Acknowledgment sent {"connection_id":191785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:24:09] local.INFO: TCP Data received {"connection_id":191601,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:24:09] local.INFO: Processing buffer {"connection_id":191601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:24:09] local.INFO: IMEI packet received {"connection_id":191601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":191601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:24:10] local.INFO: TCP Data received {"connection_id":191601,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48bb200012cffe7c007040ba8000b006d31..."} 
[2026-09-24 23:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48bb200012cffe7c007040ba8000b006d31..."} 
[2026-09-24 23:24:10] local.INFO: Processing buffer {"connection_id":191601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48bb200012cffe7c007040ba8000b006d31..."} 
[2026-09-24 23:24:10] local.INFO: Packet analysis {"connection_id":191601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48b"} 
[2026-09-24 23:24:10] local.INFO: Extracted packet for processing {"connection_id":191601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48b"} 
[2026-09-24 23:24:10] local.INFO: GPS Element Parsed {"raw_longitude":754968512,"raw_latitude":117705640,"longitude_deg":75.4968512,"latitude_deg":11.770564,"altitude":11,"angle":109,"satellites":49,"speed":0,"hex_longitude":"2cffe7c0","hex_latitude":"07040ba8","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309708544001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-25895667723089920,"note":"Value kept but may cause issues"} 
[2026-09-24 23:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790272320000,"timestamp_ms":1790272320000,"timestamp_seconds":1790272320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48bb200"} 
[2026-09-24 23:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 23:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309708544001,"66":28050,"53":206,"28":32256,"24":0,"16":3605341577150464,"44":-25895667723089920},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,28,24,16,44]} 
[2026-09-24 23:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309708544001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:24:10] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-24 23:24:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-25895667723089920,"description":"Unknown IO ID 44"} 
[2026-09-24 23:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309708544001,"power":28050,"unknown_53":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-25895667723089920}} 
[2026-09-24 23:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":191601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892712,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:24:10] local.INFO: GPS data processed {"connection_id":191601,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:24:10] local.INFO: Acknowledgment sent {"connection_id":191601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:24:27] local.INFO: TCP Data received {"connection_id":194457,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:24:27] local.INFO: Processing buffer {"connection_id":194457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:24:27] local.INFO: IMEI packet received {"connection_id":194457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":194457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:24:32] local.INFO: TCP Data received {"connection_id":194457,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:24:32] local.INFO: Processing buffer {"connection_id":194457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:24:32] local.INFO: IMEI packet received {"connection_id":194457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":194457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:24:33] local.INFO: TCP Data received {"connection_id":194457,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:24:33] local.INFO: Processing buffer {"connection_id":194457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:24:33] local.INFO: Packet analysis {"connection_id":194457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:24:33] local.INFO: Extracted packet for processing {"connection_id":194457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:24:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309649152001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790272368000,"timestamp_ms":1790272368000,"timestamp_seconds":1790272368,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48c6d80"} 
[2026-09-24 23:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 23:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309649152001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309649152001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:24:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:24:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309649152001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":194457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:24:33] local.INFO: GPS data processed {"connection_id":194457,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:24:33] local.INFO: Acknowledgment sent {"connection_id":194457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:24:42] local.INFO: TCP Data received {"connection_id":191601,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48c94900100000000000000000000000000..."} 
[2026-09-24 23:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48c94900100000000000000000000000000..."} 
[2026-09-24 23:24:42] local.INFO: Processing buffer {"connection_id":191601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48c94900100000000000000000000000000..."} 
[2026-09-24 23:24:42] local.INFO: Packet analysis {"connection_id":191601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:24:42] local.INFO: Extracted packet for processing {"connection_id":191601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:24:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 23:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309713920001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6825738052589568,"note":"Value kept but may cause issues"} 
[2026-09-24 23:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790272378000,"timestamp_ms":1790272378000,"timestamp_seconds":1790272378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48c9490"} 
[2026-09-24 23:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-24 23:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":191601,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 23:24:42] local.INFO: GPS data processed {"connection_id":191601,"processed":0,"errors":0,"total":1} 
[2026-09-24 23:24:42] local.INFO: Acknowledgment sent {"connection_id":191601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:25:05] local.INFO: TCP Data received {"connection_id":194457,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:25:05] local.INFO: Processing buffer {"connection_id":194457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:25:05] local.INFO: Packet analysis {"connection_id":194457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:25:05] local.INFO: Extracted packet for processing {"connection_id":194457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:25:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309649152001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790272368000,"timestamp_ms":1790272368000,"timestamp_seconds":1790272368,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48c6d80"} 
[2026-09-24 23:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 23:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309649152001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309649152001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:25:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:25:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309649152001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":194457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:25:05] local.INFO: GPS data processed {"connection_id":194457,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:25:05] local.INFO: Acknowledgment sent {"connection_id":194457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:25:05] local.INFO: TCP Data received {"connection_id":193163,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:25:05] local.INFO: Processing buffer {"connection_id":193163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:25:05] local.INFO: IMEI packet received {"connection_id":193163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":193163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:25:11] local.INFO: TCP Data received {"connection_id":193163,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:25:11] local.INFO: Processing buffer {"connection_id":193163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:25:11] local.INFO: IMEI packet received {"connection_id":193163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":193163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:25:12] local.INFO: TCP Data received {"connection_id":193163,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48c1f60012d007b400703d560000f007031..."} 
[2026-09-24 23:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48c1f60012d007b400703d560000f007031..."} 
[2026-09-24 23:25:12] local.INFO: Processing buffer {"connection_id":193163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48c1f60012d007b400703d560000f007031..."} 
[2026-09-24 23:25:12] local.INFO: Packet analysis {"connection_id":193163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:25:12] local.INFO: Extracted packet for processing {"connection_id":193163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:25:12] local.INFO: GPS Element Parsed {"raw_longitude":755006272,"raw_latitude":117691744,"longitude_deg":75.5006272,"latitude_deg":11.7691744,"altitude":15,"angle":112,"satellites":49,"speed":42,"hex_longitude":"2d007b40","hex_latitude":"0703d560","is_valid_coordinates":true} 
[2026-09-24 23:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:25:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,53,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 23:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790272348000,"timestamp_ms":1790272348000,"timestamp_seconds":1790272348,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48c1f60"} 
[2026-09-24 23:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:25: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-24 23:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193163,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193163,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27930,"53":206,"28":32256,"24":42,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,28,24,16]} 
[2026-09-24 23:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 23:25:12] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-24 23:25:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:25:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27930,"unknown_53":206,"unknown_28":32256,"ignition":42,"odometer":null}} 
[2026-09-24 23:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":193163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892715,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:25:12] local.INFO: GPS data processed {"connection_id":193163,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:25:12] local.INFO: Acknowledgment sent {"connection_id":193163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:25:32] local.INFO: TCP Data received {"connection_id":194458,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:25:32] local.INFO: Processing buffer {"connection_id":194458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:25:32] local.INFO: IMEI packet received {"connection_id":194458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":194458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:25:37] local.INFO: TCP Data received {"connection_id":194458,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:25:37] local.INFO: Processing buffer {"connection_id":194458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:25:37] local.INFO: IMEI packet received {"connection_id":194458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":194458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:25:38] local.INFO: TCP Data received {"connection_id":194458,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:25:38] local.INFO: Processing buffer {"connection_id":194458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:25:38] local.INFO: Packet analysis {"connection_id":194458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:25:38] local.INFO: Extracted packet for processing {"connection_id":194458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309649152001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790272368000,"timestamp_ms":1790272368000,"timestamp_seconds":1790272368,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48c6d80"} 
[2026-09-24 23:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 23:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309649152001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309649152001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:25:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:25:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309649152001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":194458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:25:38] local.INFO: GPS data processed {"connection_id":194458,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:25:38] local.INFO: Acknowledgment sent {"connection_id":194458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:25:43] local.INFO: TCP Data received {"connection_id":194458,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:25:43] local.INFO: Processing buffer {"connection_id":194458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:25:43] local.INFO: Packet analysis {"connection_id":194458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:25:43] local.INFO: Extracted packet for processing {"connection_id":194458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:25:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309649152001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790272368000,"timestamp_ms":1790272368000,"timestamp_seconds":1790272368,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48c6d80"} 
[2026-09-24 23:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 23:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":194458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":194458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":194458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309649152001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309649152001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:25:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:25:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309649152001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":194458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:25:43] local.INFO: GPS data processed {"connection_id":194458,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:25:43] local.INFO: Acknowledgment sent {"connection_id":194458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:25:44] local.INFO: TCP Data received {"connection_id":193163,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48c7168012d00c1c00703bb580013006e2e..."} 
[2026-09-24 23:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48c7168012d00c1c00703bb580013006e2e..."} 
[2026-09-24 23:25:44] local.INFO: Processing buffer {"connection_id":193163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48c7168012d00c1c00703bb580013006e2e..."} 
[2026-09-24 23:25:44] local.INFO: Packet analysis {"connection_id":193163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:25:44] local.INFO: Extracted packet for processing {"connection_id":193163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:25:44] local.INFO: GPS Element Parsed {"raw_longitude":755024320,"raw_latitude":117685080,"longitude_deg":75.502432,"latitude_deg":11.768508,"altitude":19,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d00c1c0","hex_latitude":"0703bb58","is_valid_coordinates":true} 
[2026-09-24 23:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309721088001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":34691821008674816,"note":"Value kept but may cause issues"} 
[2026-09-24 23:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790272369000,"timestamp_ms":1790272369000,"timestamp_seconds":1790272369,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48c7168"} 
[2026-09-24 23:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-24 23:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193163,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193163,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309721088001,"66":28104,"53":206,"28":32256,"24":0,"16":3605341577150464,"45":34691821008674816},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,28,24,16,45]} 
[2026-09-24 23:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309721088001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:25:44] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-09-24 23:25:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":34691821008674816,"description":"Unknown IO ID 45"} 
[2026-09-24 23:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309721088001,"power":28104,"unknown_53":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":34691821008674816}} 
[2026-09-24 23:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":193163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892718,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:25:44] local.INFO: GPS data processed {"connection_id":193163,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:25:44] local.INFO: Acknowledgment sent {"connection_id":193163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:26:06] local.INFO: TCP Data received {"connection_id":191602,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191602,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:26:06] local.INFO: Processing buffer {"connection_id":191602,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:26:06] local.INFO: IMEI packet received {"connection_id":191602,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":191602,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:26:11] local.INFO: TCP Data received {"connection_id":191602,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191602,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:26:11] local.INFO: Processing buffer {"connection_id":191602,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:26:11] local.INFO: IMEI packet received {"connection_id":191602,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":191602,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:26:12] local.INFO: TCP Data received {"connection_id":191602,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48cc370012d01100007039e580014006e2b..."} 
[2026-09-24 23:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48cc370012d01100007039e580014006e2b..."} 
[2026-09-24 23:26:12] local.INFO: Processing buffer {"connection_id":191602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48cc370012d01100007039e580014006e2b..."} 
[2026-09-24 23:26:12] local.INFO: Packet analysis {"connection_id":191602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:26:12] local.INFO: Extracted packet for processing {"connection_id":191602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:26:12] local.INFO: GPS Element Parsed {"raw_longitude":755044352,"raw_latitude":117677656,"longitude_deg":75.5044352,"latitude_deg":11.7677656,"altitude":20,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d011000","hex_latitude":"07039e58","is_valid_coordinates":true} 
[2026-09-24 23:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309726464001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":54535806865070080,"note":"Value kept but may cause issues"} 
[2026-09-24 23:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790272390000,"timestamp_ms":1790272390000,"timestamp_seconds":1790272390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48cc370"} 
[2026-09-24 23:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-24 23:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309726464001,"66":27952,"34":206,"28":32256,"24":0,"16":3605341577150464,"45":54535806865070080},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,45]} 
[2026-09-24 23:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309726464001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:26:12] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-24 23:26:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":54535806865070080,"description":"Unknown IO ID 45"} 
[2026-09-24 23:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309726464001,"power":27952,"unknown_34":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":54535806865070080}} 
[2026-09-24 23:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":191602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892719,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:26:12] local.INFO: GPS data processed {"connection_id":191602,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:26:12] local.INFO: Acknowledgment sent {"connection_id":191602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:26:27] local.INFO: TCP Data received {"connection_id":193164,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:26:27] local.INFO: Processing buffer {"connection_id":193164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:26:27] local.INFO: IMEI packet received {"connection_id":193164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":193164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:26:32] local.INFO: TCP Data received {"connection_id":193164,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:26:32] local.INFO: Processing buffer {"connection_id":193164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:26:32] local.INFO: IMEI packet received {"connection_id":193164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":193164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:26:34] local.INFO: TCP Data received {"connection_id":193164,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:26:34] local.INFO: Processing buffer {"connection_id":193164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:26:34] local.INFO: Packet analysis {"connection_id":193164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:26:34] local.INFO: Extracted packet for processing {"connection_id":193164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:26:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309649152001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790272368000,"timestamp_ms":1790272368000,"timestamp_seconds":1790272368,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48c6d80"} 
[2026-09-24 23:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:26: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-09-24 23:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 23:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309649152001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309649152001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:26:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:26:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309649152001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":193164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:26:34] local.INFO: GPS data processed {"connection_id":193164,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:26:34] local.INFO: Acknowledgment sent {"connection_id":193164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:26:43] local.INFO: TCP Data received {"connection_id":191602,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48da6000100000000000000000000000000..."} 
[2026-09-24 23:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48da6000100000000000000000000000000..."} 
[2026-09-24 23:26:43] local.INFO: Processing buffer {"connection_id":191602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48da6000100000000000000000000000000..."} 
[2026-09-24 23:26:43] local.INFO: Packet analysis {"connection_id":191602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48d"} 
[2026-09-24 23:26:43] local.INFO: Extracted packet for processing {"connection_id":191602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48d"} 
[2026-09-24 23:26:43] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 23:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309731840001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":76561223790778368,"note":"Value kept but may cause issues"} 
[2026-09-24 23:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790272448000,"timestamp_ms":1790272448000,"timestamp_seconds":1790272448,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48da600"} 
[2026-09-24 23:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 23:26:43] 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-09-24 23:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":191602,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 23:26:43] local.INFO: GPS data processed {"connection_id":191602,"processed":0,"errors":0,"total":1} 
[2026-09-24 23:26:43] local.INFO: Acknowledgment sent {"connection_id":191602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:27:05] local.INFO: TCP Data received {"connection_id":193164,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:27:05] local.INFO: Processing buffer {"connection_id":193164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:27:05] local.INFO: Packet analysis {"connection_id":193164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:27:05] local.INFO: Extracted packet for processing {"connection_id":193164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:27:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309649152001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790272368000,"timestamp_ms":1790272368000,"timestamp_seconds":1790272368,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48c6d80"} 
[2026-09-24 23:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 23:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309649152001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309649152001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:27:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:27:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309649152001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":193164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:27:05] local.INFO: GPS data processed {"connection_id":193164,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:27:05] local.INFO: Acknowledgment sent {"connection_id":193164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:27:10] local.INFO: TCP Data received {"connection_id":191786,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:27:10] local.INFO: Processing buffer {"connection_id":191786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:27:10] local.INFO: IMEI packet received {"connection_id":191786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":191786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:27:14] local.INFO: TCP Data received {"connection_id":191786,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:27:14] local.INFO: Processing buffer {"connection_id":191786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:27:14] local.INFO: IMEI packet received {"connection_id":191786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":191786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:27:15] local.INFO: TCP Data received {"connection_id":191786,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48d2ce8012d01afc007036250000d007a30..."} 
[2026-09-24 23:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48d2ce8012d01afc007036250000d007a30..."} 
[2026-09-24 23:27:15] local.INFO: Processing buffer {"connection_id":191786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48d2ce8012d01afc007036250000d007a30..."} 
[2026-09-24 23:27:15] local.INFO: Packet analysis {"connection_id":191786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48d"} 
[2026-09-24 23:27:15] local.INFO: Extracted packet for processing {"connection_id":191786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48d"} 
[2026-09-24 23:27:15] local.INFO: GPS Element Parsed {"raw_longitude":755085248,"raw_latitude":117662288,"longitude_deg":75.5085248,"latitude_deg":11.7662288,"altitude":13,"angle":122,"satellites":48,"speed":51,"hex_longitude":"2d01afc0","hex_latitude":"07036250","is_valid_coordinates":true} 
[2026-09-24 23:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:27:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,34,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 23:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790272417000,"timestamp_ms":1790272417000,"timestamp_seconds":1790272417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48d2ce8"} 
[2026-09-24 23:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-24 23:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28028,"34":206,"28":32256,"24":51,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16]} 
[2026-09-24 23:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 23:27:15] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-24 23:27:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:27:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28028,"unknown_34":206,"unknown_28":32256,"ignition":51,"odometer":null}} 
[2026-09-24 23:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":191786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892722,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:27:16] local.INFO: GPS data processed {"connection_id":191786,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:27:16] local.INFO: Acknowledgment sent {"connection_id":191786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:27:27] local.INFO: TCP Data received {"connection_id":193165,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:27:27] local.INFO: Processing buffer {"connection_id":193165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:27:27] local.INFO: IMEI packet received {"connection_id":193165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":193165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:27:32] local.INFO: TCP Data received {"connection_id":193165,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:27:32] local.INFO: Processing buffer {"connection_id":193165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:27:32] local.INFO: IMEI packet received {"connection_id":193165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":193165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:27:37] local.INFO: TCP Data received {"connection_id":193165,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:27:37] local.INFO: Processing buffer {"connection_id":193165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:27:37] local.INFO: Packet analysis {"connection_id":193165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:27:37] local.INFO: Extracted packet for processing {"connection_id":193165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309649152001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790272368000,"timestamp_ms":1790272368000,"timestamp_seconds":1790272368,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48c6d80"} 
[2026-09-24 23:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 23:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309649152001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309649152001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:27:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309649152001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":193165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:27:37] local.INFO: GPS data processed {"connection_id":193165,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:27:37] local.INFO: Acknowledgment sent {"connection_id":193165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:27:38] local.INFO: TCP Data received {"connection_id":193165,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:27:38] local.INFO: Processing buffer {"connection_id":193165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:27:38] local.INFO: Packet analysis {"connection_id":193165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:27:38] local.INFO: Extracted packet for processing {"connection_id":193165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:27:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309649152001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790272368000,"timestamp_ms":1790272368000,"timestamp_seconds":1790272368,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48c6d80"} 
[2026-09-24 23:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 23:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309649152001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309649152001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:27:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:27:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309649152001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":193165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:27:38] local.INFO: GPS data processed {"connection_id":193165,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:27:38] local.INFO: Acknowledgment sent {"connection_id":193165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:27:56] local.INFO: TCP Data received {"connection_id":191786,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48d6f50012d01eb0007032c480013008e30..."} 
[2026-09-24 23:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48d6f50012d01eb0007032c480013008e30..."} 
[2026-09-24 23:27:56] local.INFO: Processing buffer {"connection_id":191786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48d6f50012d01eb0007032c480013008e30..."} 
[2026-09-24 23:27:56] local.INFO: Packet analysis {"connection_id":191786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48d"} 
[2026-09-24 23:27:56] local.INFO: Extracted packet for processing {"connection_id":191786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48d"} 
[2026-09-24 23:27:56] local.INFO: GPS Element Parsed {"raw_longitude":755100416,"raw_latitude":117648456,"longitude_deg":75.5100416,"latitude_deg":11.7648456,"altitude":19,"angle":142,"satellites":48,"speed":45,"hex_longitude":"2d01eb00","hex_latitude":"07032c48","is_valid_coordinates":true} 
[2026-09-24 23:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309738752001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":121526851316371456,"note":"Value kept but may cause issues"} 
[2026-09-24 23:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790272434000,"timestamp_ms":1790272434000,"timestamp_seconds":1790272434,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48d6f50"} 
[2026-09-24 23:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:27:56] 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-09-24 23:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-24 23:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":191786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":191786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":191786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309738752001,"66":27952,"34":206,"28":32256,"24":45,"16":3605341577150464,"45":121526851316371456},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,45]} 
[2026-09-24 23:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309738752001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:27:56] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-24 23:27:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":121526851316371456,"description":"Unknown IO ID 45"} 
[2026-09-24 23:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309738752001,"power":27952,"unknown_34":206,"unknown_28":32256,"ignition":45,"odometer":null,"unknown_45":121526851316371456}} 
[2026-09-24 23:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":191786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892725,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:27:56] local.INFO: GPS data processed {"connection_id":191786,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:27:56] local.INFO: Acknowledgment sent {"connection_id":191786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:28:04] local.INFO: TCP Data received {"connection_id":191787,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:28:04] local.INFO: Processing buffer {"connection_id":191787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:28:04] local.INFO: IMEI packet received {"connection_id":191787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":191787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:28:06] local.INFO: TCP Data received {"connection_id":191787,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:28:06] local.INFO: Processing buffer {"connection_id":191787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:28:06] local.INFO: IMEI packet received {"connection_id":191787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":191787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:28:10] local.INFO: TCP Data received {"connection_id":193165,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:28:10] local.INFO: Processing buffer {"connection_id":193165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48c6d80012d34c14006aa4940000900f52c..."} 
[2026-09-24 23:28:10] local.INFO: Packet analysis {"connection_id":193165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:28:10] local.INFO: Extracted packet for processing {"connection_id":193165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48c"} 
[2026-09-24 23:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309649152001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790272368000,"timestamp_ms":1790272368000,"timestamp_seconds":1790272368,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48c6d80"} 
[2026-09-24 23:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 23:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309649152001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309649152001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:28:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309649152001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":193165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:28:10] local.INFO: GPS data processed {"connection_id":193165,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:28:10] local.INFO: Acknowledgment sent {"connection_id":193165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:28:10] local.INFO: TCP Data received {"connection_id":191787,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:28:10] local.INFO: Processing buffer {"connection_id":191787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:28:10] local.INFO: IMEI packet received {"connection_id":191787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":191787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:28:12] local.INFO: TCP Data received {"connection_id":191787,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d48db5a0012d020f400702e758001300a232..."} 
[2026-09-24 23:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d48db5a0012d020f400702e758001300a232..."} 
[2026-09-24 23:28:12] local.INFO: Processing buffer {"connection_id":191787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d48db5a0012d020f400702e758001300a232..."} 
[2026-09-24 23:28:12] local.INFO: Packet analysis {"connection_id":191787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d48d"} 
[2026-09-24 23:28:12] local.INFO: Extracted packet for processing {"connection_id":191787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d48d"} 
[2026-09-24 23:28:12] local.INFO: GPS Element Parsed {"raw_longitude":755109696,"raw_latitude":117630808,"longitude_deg":75.5109696,"latitude_deg":11.7630808,"altitude":19,"angle":162,"satellites":50,"speed":45,"hex_longitude":"2d020f40","hex_latitude":"0702e758","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309743104001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":138204243682936832,"note":"Value kept but may cause issues"} 
[2026-09-24 23:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790272452000,"timestamp_ms":1790272452000,"timestamp_seconds":1790272452,"priority":1,"record_length":96,"hex_timestamp":"000001a0d48db5a0"} 
[2026-09-24 23:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23: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-09-24 23: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":48,"data_length":795,"current_offset":136} 
[2026-09-24 23:28:12] 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-09-24 23: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-09-24 23:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309743104001,"66":27484,"34":206,"28":32256,"24":45,"16":3605341577150464,"45":138204243682936832},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,45]} 
[2026-09-24 23:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309743104001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:28:12] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-24 23:28:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":138204243682936832,"description":"Unknown IO ID 45"} 
[2026-09-24 23:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309743104001,"power":27484,"unknown_34":206,"unknown_28":32256,"ignition":45,"odometer":null,"unknown_45":138204243682936832}} 
[2026-09-24 23:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":191787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892727,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:28:12] local.INFO: GPS data processed {"connection_id":191787,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:28:12] local.INFO: Acknowledgment sent {"connection_id":191787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:28:27] local.INFO: TCP Data received {"connection_id":191603,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:28:27] local.INFO: Processing buffer {"connection_id":191603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:28:27] local.INFO: IMEI packet received {"connection_id":191603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":191603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:28:27] local.INFO: TCP Data received {"connection_id":191603,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:28:27] local.INFO: Processing buffer {"connection_id":191603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:28:27] local.INFO: IMEI packet received {"connection_id":191603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":191603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:28:32] local.INFO: TCP Data received {"connection_id":191603,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:28:32] local.INFO: Processing buffer {"connection_id":191603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:28:32] local.INFO: IMEI packet received {"connection_id":191603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":191603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:28:33] local.INFO: TCP Data received {"connection_id":191603,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:28:33] local.INFO: Processing buffer {"connection_id":191603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:28:33] local.INFO: Packet analysis {"connection_id":191603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:28:33] local.INFO: Extracted packet for processing {"connection_id":191603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:28:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309726208001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790272669000,"timestamp_ms":1790272669000,"timestamp_seconds":1790272669,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4910548"} 
[2026-09-24 23:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-24 23:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309726208001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309726208001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:28:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:28:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309726208001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":191603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:28:33] local.INFO: GPS data processed {"connection_id":191603,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:28:33] local.INFO: Acknowledgment sent {"connection_id":191603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:28:43] local.INFO: TCP Data received {"connection_id":191787,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d490ab70012d031ac006ffaf08000c009d30..."} 
[2026-09-24 23:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d490ab70012d031ac006ffaf08000c009d30..."} 
[2026-09-24 23:28:43] local.INFO: Processing buffer {"connection_id":191787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d490ab70012d031ac006ffaf08000c009d30..."} 
[2026-09-24 23:28:43] local.INFO: Packet analysis {"connection_id":191787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d490"} 
[2026-09-24 23:28:43] local.INFO: Extracted packet for processing {"connection_id":191787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d490"} 
[2026-09-24 23:28:43] local.INFO: GPS Element Parsed {"raw_longitude":755178176,"raw_latitude":117419784,"longitude_deg":75.5178176,"latitude_deg":11.7419784,"altitude":12,"angle":157,"satellites":48,"speed":52,"hex_longitude":"2d031ac0","hex_latitude":"06ffaf08","is_valid_coordinates":true} 
[2026-09-24 23:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:28:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,185,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 23:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790272646000,"timestamp_ms":1790272646000,"timestamp_seconds":1790272646,"priority":1,"record_length":96,"hex_timestamp":"000001a0d490ab70"} 
[2026-09-24 23:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 23:28:43] 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-09-24 23:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27887,"185":206,"28":32256,"24":52,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,28,24,16]} 
[2026-09-24 23:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 23:28:43] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-24 23:28:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:28:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27887,"unknown_185":206,"unknown_28":32256,"ignition":52,"odometer":null}} 
[2026-09-24 23:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":191787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892729,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:28:44] local.INFO: GPS data processed {"connection_id":191787,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:28:44] local.INFO: Acknowledgment sent {"connection_id":191787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:29:05] local.INFO: TCP Data received {"connection_id":191603,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:29:05] local.INFO: Processing buffer {"connection_id":191603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:29:05] local.INFO: Packet analysis {"connection_id":191603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:29:05] local.INFO: Extracted packet for processing {"connection_id":191603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:29:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309726208001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790272669000,"timestamp_ms":1790272669000,"timestamp_seconds":1790272669,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4910548"} 
[2026-09-24 23:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23: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-09-24 23: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-09-24 23:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309726208001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309726208001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:29:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:29:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309726208001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":191603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:29:05] local.INFO: GPS data processed {"connection_id":191603,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:29:05] local.INFO: Acknowledgment sent {"connection_id":191603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:29:05] local.INFO: TCP Data received {"connection_id":193166,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193166,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:29:05] local.INFO: Processing buffer {"connection_id":193166,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:29:05] local.INFO: IMEI packet received {"connection_id":193166,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":193166,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:29:11] local.INFO: TCP Data received {"connection_id":193166,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193166,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:29:11] local.INFO: Processing buffer {"connection_id":193166,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:29:11] local.INFO: IMEI packet received {"connection_id":193166,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":193166,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:29:12] local.INFO: TCP Data received {"connection_id":193166,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d490e9f0012d0345c006ff63800007008e31..."} 
[2026-09-24 23:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d490e9f0012d0345c006ff63800007008e31..."} 
[2026-09-24 23:29:12] local.INFO: Processing buffer {"connection_id":193166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d490e9f0012d0345c006ff63800007008e31..."} 
[2026-09-24 23:29:12] local.INFO: Packet analysis {"connection_id":193166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d490"} 
[2026-09-24 23:29:12] local.INFO: Extracted packet for processing {"connection_id":193166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d490"} 
[2026-09-24 23:29:12] local.INFO: GPS Element Parsed {"raw_longitude":755189184,"raw_latitude":117400448,"longitude_deg":75.5189184,"latitude_deg":11.7400448,"altitude":7,"angle":142,"satellites":49,"speed":57,"hex_longitude":"2d0345c0","hex_latitude":"06ff6380","is_valid_coordinates":true} 
[2026-09-24 23:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309797376001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":223702267800258560,"note":"Value kept but may cause issues"} 
[2026-09-24 23:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790272662000,"timestamp_ms":1790272662000,"timestamp_seconds":1790272662,"priority":1,"record_length":96,"hex_timestamp":"000001a0d490e9f0"} 
[2026-09-24 23:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-24 23:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193166,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193166,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309797376001,"66":27800,"44":206,"28":32256,"24":57,"16":3605341577150464,"45":223702267800258560},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-09-24 23:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309797376001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:29:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-24 23:29:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":223702267800258560,"description":"Unknown IO ID 45"} 
[2026-09-24 23:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309797376001,"power":27800,"unknown_44":206,"unknown_28":32256,"ignition":57,"odometer":null,"unknown_45":223702267800258560}} 
[2026-09-24 23:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":193166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892731,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:29:12] local.INFO: GPS data processed {"connection_id":193166,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:29:12] local.INFO: Acknowledgment sent {"connection_id":193166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:29:32] local.INFO: TCP Data received {"connection_id":194459,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:29:32] local.INFO: Processing buffer {"connection_id":194459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:29:32] local.INFO: IMEI packet received {"connection_id":194459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":194459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:29:37] local.INFO: TCP Data received {"connection_id":194459,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:29:37] local.INFO: Processing buffer {"connection_id":194459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:29:37] local.INFO: IMEI packet received {"connection_id":194459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":194459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:29:38] local.INFO: TCP Data received {"connection_id":194459,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:29:38] local.INFO: Processing buffer {"connection_id":194459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:29:38] local.INFO: Packet analysis {"connection_id":194459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:29:38] local.INFO: Extracted packet for processing {"connection_id":194459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:29:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309726208001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790272669000,"timestamp_ms":1790272669000,"timestamp_seconds":1790272669,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4910548"} 
[2026-09-24 23:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-24 23:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309726208001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309726208001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:29:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:29:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309726208001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":194459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:29:38] local.INFO: GPS data processed {"connection_id":194459,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:29:38] local.INFO: Acknowledgment sent {"connection_id":194459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:29:43] local.INFO: TCP Data received {"connection_id":194459,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:29:43] local.INFO: Processing buffer {"connection_id":194459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:29:43] local.INFO: Packet analysis {"connection_id":194459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:29:43] local.INFO: Extracted packet for processing {"connection_id":194459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:29:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309726208001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790272669000,"timestamp_ms":1790272669000,"timestamp_seconds":1790272669,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4910548"} 
[2026-09-24 23:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-24 23:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":194459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":194459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":194459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309726208001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309726208001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:29:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:29:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309726208001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":194459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:29:43] local.INFO: GPS data processed {"connection_id":194459,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:29:43] local.INFO: Acknowledgment sent {"connection_id":194459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:29:44] local.INFO: TCP Data received {"connection_id":193166,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4912870012d03848006ff28a8000a007c31..."} 
[2026-09-24 23:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4912870012d03848006ff28a8000a007c31..."} 
[2026-09-24 23:29:44] local.INFO: Processing buffer {"connection_id":193166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4912870012d03848006ff28a8000a007c31..."} 
[2026-09-24 23:29:44] local.INFO: Packet analysis {"connection_id":193166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:29:44] local.INFO: Extracted packet for processing {"connection_id":193166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:29:44] local.INFO: GPS Element Parsed {"raw_longitude":755205248,"raw_latitude":117385384,"longitude_deg":75.5205248,"latitude_deg":11.7385384,"altitude":10,"angle":124,"satellites":49,"speed":49,"hex_longitude":"2d038480","hex_latitude":"06ff28a8","is_valid_coordinates":true} 
[2026-09-24 23:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309801472001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":235805691793866752,"note":"Value kept but may cause issues"} 
[2026-09-24 23:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790272678000,"timestamp_ms":1790272678000,"timestamp_seconds":1790272678,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4912870"} 
[2026-09-24 23:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-24 23:29:44] 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-09-24 23:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193166,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193166,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309801472001,"66":28082,"44":206,"28":32256,"24":49,"16":3605341577150464,"45":235805691793866752},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-09-24 23:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309801472001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:29:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-24 23:29:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":235805691793866752,"description":"Unknown IO ID 45"} 
[2026-09-24 23:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309801472001,"power":28082,"unknown_44":206,"unknown_28":32256,"ignition":49,"odometer":null,"unknown_45":235805691793866752}} 
[2026-09-24 23:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":193166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892734,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:29:44] local.INFO: GPS data processed {"connection_id":193166,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:29:44] local.INFO: Acknowledgment sent {"connection_id":193166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:30:05] local.INFO: TCP Data received {"connection_id":191788,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:30:05] local.INFO: Processing buffer {"connection_id":191788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:30:05] local.INFO: IMEI packet received {"connection_id":191788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":191788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:30:11] local.INFO: TCP Data received {"connection_id":191788,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:30:11] local.INFO: Processing buffer {"connection_id":191788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:30:11] local.INFO: IMEI packet received {"connection_id":191788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":191788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:30:12] local.INFO: TCP Data received {"connection_id":191788,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4916ad8012d03cdc006ff0388000b006d2f..."} 
[2026-09-24 23:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4916ad8012d03cdc006ff0388000b006d2f..."} 
[2026-09-24 23:30:12] local.INFO: Processing buffer {"connection_id":191788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4916ad8012d03cdc006ff0388000b006d2f..."} 
[2026-09-24 23:30:12] local.INFO: Packet analysis {"connection_id":191788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:30:12] local.INFO: Extracted packet for processing {"connection_id":191788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:30:12] local.INFO: GPS Element Parsed {"raw_longitude":755224000,"raw_latitude":117375880,"longitude_deg":75.5224,"latitude_deg":11.737588,"altitude":11,"angle":109,"satellites":47,"speed":49,"hex_longitude":"2d03cdc0","hex_latitude":"06ff0388","is_valid_coordinates":true} 
[2026-09-24 23:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309805568001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":253468246578604032,"note":"Value kept but may cause issues"} 
[2026-09-24 23:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790272695000,"timestamp_ms":1790272695000,"timestamp_seconds":1790272695,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4916ad8"} 
[2026-09-24 23:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:30: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-09-24 23:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-24 23:30:12] 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-09-24 23:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309805568001,"66":28017,"42":206,"28":32256,"24":49,"16":3605341577150464,"45":253468246578604032},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,45]} 
[2026-09-24 23:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309805568001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:30:12] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-24 23:30:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":253468246578604032,"description":"Unknown IO ID 45"} 
[2026-09-24 23:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309805568001,"power":28017,"unknown_42":206,"unknown_28":32256,"ignition":49,"odometer":null,"unknown_45":253468246578604032}} 
[2026-09-24 23:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":191788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892735,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:30:12] local.INFO: GPS data processed {"connection_id":191788,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:30:12] local.INFO: Acknowledgment sent {"connection_id":191788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:30:27] local.INFO: TCP Data received {"connection_id":191604,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:30:27] local.INFO: Processing buffer {"connection_id":191604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:30:27] local.INFO: IMEI packet received {"connection_id":191604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":191604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:30:32] local.INFO: TCP Data received {"connection_id":191604,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:30:32] local.INFO: Processing buffer {"connection_id":191604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:30:32] local.INFO: IMEI packet received {"connection_id":191604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":191604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:30:33] local.INFO: TCP Data received {"connection_id":191604,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:30:33] local.INFO: Processing buffer {"connection_id":191604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:30:33] local.INFO: Packet analysis {"connection_id":191604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:30:33] local.INFO: Extracted packet for processing {"connection_id":191604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:30:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309726208001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790272669000,"timestamp_ms":1790272669000,"timestamp_seconds":1790272669,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4910548"} 
[2026-09-24 23:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-24 23:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309726208001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309726208001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:30:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:30:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309726208001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":191604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:30:33] local.INFO: GPS data processed {"connection_id":191604,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:30:33] local.INFO: Acknowledgment sent {"connection_id":191604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:31:05] local.INFO: TCP Data received {"connection_id":191604,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:31:05] local.INFO: Processing buffer {"connection_id":191604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:31:05] local.INFO: Packet analysis {"connection_id":191604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:31:05] local.INFO: Extracted packet for processing {"connection_id":191604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:31:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309726208001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790272669000,"timestamp_ms":1790272669000,"timestamp_seconds":1790272669,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4910548"} 
[2026-09-24 23:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-24 23:31: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-09-24 23:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309726208001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309726208001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:31:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:31:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309726208001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":191604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:31:05] local.INFO: GPS data processed {"connection_id":191604,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:31:05] local.INFO: Acknowledgment sent {"connection_id":191604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:31:06] local.INFO: TCP Data received {"connection_id":191788,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d491bce0012d04210006fef210000e006331..."} 
[2026-09-24 23:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d491bce0012d04210006fef210000e006331..."} 
[2026-09-24 23:31:06] local.INFO: Processing buffer {"connection_id":191788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d491bce0012d04210006fef210000e006331..."} 
[2026-09-24 23:31:06] local.INFO: Packet analysis {"connection_id":191788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:31:06] local.INFO: Extracted packet for processing {"connection_id":191788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:31:06] local.INFO: GPS Element Parsed {"raw_longitude":755245312,"raw_latitude":117371408,"longitude_deg":75.5245312,"latitude_deg":11.7371408,"altitude":14,"angle":99,"satellites":49,"speed":0,"hex_longitude":"2d042100","hex_latitude":"06fef210","is_valid_coordinates":true} 
[2026-09-24 23:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309809920001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":274086288620226560,"note":"Value kept but may cause issues"} 
[2026-09-24 23:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790272716000,"timestamp_ms":1790272716000,"timestamp_seconds":1790272716,"priority":1,"record_length":96,"hex_timestamp":"000001a0d491bce0"} 
[2026-09-24 23:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:31: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-09-24 23:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-24 23:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309809920001,"66":27995,"42":206,"28":32256,"24":0,"16":3605341577150464,"45":274086288620226560},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,45]} 
[2026-09-24 23:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309809920001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:31:06] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-24 23:31:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":274086288620226560,"description":"Unknown IO ID 45"} 
[2026-09-24 23:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309809920001,"power":27995,"unknown_42":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":274086288620226560}} 
[2026-09-24 23:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":191788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892738,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:31:06] local.INFO: GPS data processed {"connection_id":191788,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:31:06] local.INFO: Acknowledgment sent {"connection_id":191788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:31:11] local.INFO: TCP Data received {"connection_id":193167,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:31:11] local.INFO: Processing buffer {"connection_id":193167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:31:11] local.INFO: IMEI packet received {"connection_id":193167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":193167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:31:13] local.INFO: TCP Data received {"connection_id":193167,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:31:13] local.INFO: Processing buffer {"connection_id":193167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:31:13] local.INFO: IMEI packet received {"connection_id":193167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":193167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:31:18] local.INFO: TCP Data received {"connection_id":193167,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:31:18] local.INFO: Processing buffer {"connection_id":193167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:31:18] local.INFO: IMEI packet received {"connection_id":193167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":193167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:31:22] local.INFO: TCP Data received {"connection_id":193167,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4929f700100000000000000000000000000..."} 
[2026-09-24 23:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4929f700100000000000000000000000000..."} 
[2026-09-24 23:31:22] local.INFO: Processing buffer {"connection_id":193167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4929f700100000000000000000000000000..."} 
[2026-09-24 23:31:22] local.INFO: Packet analysis {"connection_id":193167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d492"} 
[2026-09-24 23:31:22] local.INFO: Extracted packet for processing {"connection_id":193167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d492"} 
[2026-09-24 23:31:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 23:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309815296001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":297519080430243840,"note":"Value kept but may cause issues"} 
[2026-09-24 23:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790272774000,"timestamp_ms":1790272774000,"timestamp_seconds":1790272774,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4929f70"} 
[2026-09-24 23:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 23:31:22] 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-09-24 23:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":193167,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 23:31:22] local.INFO: GPS data processed {"connection_id":193167,"processed":0,"errors":0,"total":1} 
[2026-09-24 23:31:22] local.INFO: Acknowledgment sent {"connection_id":193167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:31:27] local.INFO: TCP Data received {"connection_id":191789,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:31:27] local.INFO: Processing buffer {"connection_id":191789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:31:27] local.INFO: IMEI packet received {"connection_id":191789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":191789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:31:28] local.INFO: TCP Data received {"connection_id":193167,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4923210012d04cd4006fed768000d006130..."} 
[2026-09-24 23:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4923210012d04cd4006fed768000d006130..."} 
[2026-09-24 23:31:28] local.INFO: Processing buffer {"connection_id":193167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4923210012d04cd4006fed768000d006130..."} 
[2026-09-24 23:31:28] local.INFO: Packet analysis {"connection_id":193167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d492"} 
[2026-09-24 23:31:28] local.INFO: Extracted packet for processing {"connection_id":193167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d492"} 
[2026-09-24 23:31:28] local.INFO: GPS Element Parsed {"raw_longitude":755289408,"raw_latitude":117364584,"longitude_deg":75.5289408,"latitude_deg":11.7364584,"altitude":13,"angle":97,"satellites":48,"speed":56,"hex_longitude":"2d04cd40","hex_latitude":"06fed768","is_valid_coordinates":true} 
[2026-09-24 23:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:31:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,226,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 23:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790272746000,"timestamp_ms":1790272746000,"timestamp_seconds":1790272746,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4923210"} 
[2026-09-24 23:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:31:28] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-24 23:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":193167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":193167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":193167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28028,"226":206,"28":32256,"24":56,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,28,24,16]} 
[2026-09-24 23:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 23:31:28] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-24 23:31:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:31:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28028,"unknown_226":206,"unknown_28":32256,"ignition":56,"odometer":null}} 
[2026-09-24 23:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":193167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892739,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:31:28] local.INFO: GPS data processed {"connection_id":193167,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:31:28] local.INFO: Acknowledgment sent {"connection_id":193167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:31:32] local.INFO: TCP Data received {"connection_id":191789,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:31:32] local.INFO: Processing buffer {"connection_id":191789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:31:32] local.INFO: IMEI packet received {"connection_id":191789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":191789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:31:34] local.INFO: TCP Data received {"connection_id":191789,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:31:34] local.INFO: Processing buffer {"connection_id":191789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:31:34] local.INFO: Packet analysis {"connection_id":191789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:31:34] local.INFO: Extracted packet for processing {"connection_id":191789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:31:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309726208001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790272669000,"timestamp_ms":1790272669000,"timestamp_seconds":1790272669,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4910548"} 
[2026-09-24 23:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:31: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-09-24 23:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-24 23:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309726208001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309726208001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:31:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:31:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309726208001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":191789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:31:34] local.INFO: GPS data processed {"connection_id":191789,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:31:34] local.INFO: Acknowledgment sent {"connection_id":191789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:32:05] local.INFO: TCP Data received {"connection_id":191789,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:32:05] local.INFO: Processing buffer {"connection_id":191789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:32:05] local.INFO: Packet analysis {"connection_id":191789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:32:05] local.INFO: Extracted packet for processing {"connection_id":191789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:32:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309726208001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790272669000,"timestamp_ms":1790272669000,"timestamp_seconds":1790272669,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4910548"} 
[2026-09-24 23:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:32: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-09-24 23: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":233,"data_length":795,"current_offset":136} 
[2026-09-24 23:32: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-09-24 23: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-09-24 23:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309726208001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309726208001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:32:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:32:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309726208001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":191789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:32:05] local.INFO: GPS data processed {"connection_id":191789,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:32:05] local.INFO: Acknowledgment sent {"connection_id":191789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:32:06] local.INFO: TCP Data received {"connection_id":191605,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:32:06] local.INFO: Processing buffer {"connection_id":191605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:32:06] local.INFO: IMEI packet received {"connection_id":191605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":191605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:32:11] local.INFO: TCP Data received {"connection_id":191605,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:32:11] local.INFO: Processing buffer {"connection_id":191605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:32:11] local.INFO: IMEI packet received {"connection_id":191605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":191605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:32:13] local.INFO: TCP Data received {"connection_id":191605,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4928418012d05208006fecb78001300632e..."} 
[2026-09-24 23:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4928418012d05208006fecb78001300632e..."} 
[2026-09-24 23:32:13] local.INFO: Processing buffer {"connection_id":191605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4928418012d05208006fecb78001300632e..."} 
[2026-09-24 23:32:13] local.INFO: Packet analysis {"connection_id":191605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d492"} 
[2026-09-24 23:32:13] local.INFO: Extracted packet for processing {"connection_id":191605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d492"} 
[2026-09-24 23:32:13] local.INFO: GPS Element Parsed {"raw_longitude":755310720,"raw_latitude":117361528,"longitude_deg":75.531072,"latitude_deg":11.7361528,"altitude":19,"angle":99,"satellites":46,"speed":0,"hex_longitude":"2d052080","hex_latitude":"06fecb78","is_valid_coordinates":true} 
[2026-09-24 23:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309822976001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":346003145166907392,"note":"Value kept but may cause issues"} 
[2026-09-24 23:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790272767000,"timestamp_ms":1790272767000,"timestamp_seconds":1790272767,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4928418"} 
[2026-09-24 23:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-24 23:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309822976001,"66":28202,"226":206,"28":32256,"24":0,"16":3605341577150464,"45":346003145166907392},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,28,24,16,45]} 
[2026-09-24 23:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309822976001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:32:13] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-24 23:32:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":346003145166907392,"description":"Unknown IO ID 45"} 
[2026-09-24 23:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309822976001,"power":28202,"unknown_226":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":346003145166907392}} 
[2026-09-24 23:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":191605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892742,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:32:13] local.INFO: GPS data processed {"connection_id":191605,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:32:13] local.INFO: Acknowledgment sent {"connection_id":191605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:32:27] local.INFO: TCP Data received {"connection_id":193168,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:32:27] local.INFO: Processing buffer {"connection_id":193168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:32:27] local.INFO: IMEI packet received {"connection_id":193168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":193168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:32:32] local.INFO: TCP Data received {"connection_id":193168,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:32:32] local.INFO: Processing buffer {"connection_id":193168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:32:32] local.INFO: IMEI packet received {"connection_id":193168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":193168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:32:34] local.INFO: TCP Data received {"connection_id":193168,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:32:34] local.INFO: Processing buffer {"connection_id":193168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:32:34] local.INFO: Packet analysis {"connection_id":193168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:32:34] local.INFO: Extracted packet for processing {"connection_id":193168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:32:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309726208001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790272669000,"timestamp_ms":1790272669000,"timestamp_seconds":1790272669,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4910548"} 
[2026-09-24 23:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:32: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-09-24 23:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-24 23:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309726208001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309726208001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:32:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:32:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309726208001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":193168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:32:34] local.INFO: GPS data processed {"connection_id":193168,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:32:34] local.INFO: Acknowledgment sent {"connection_id":193168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:32:45] local.INFO: TCP Data received {"connection_id":191605,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49366a80100000000000000000000000000..."} 
[2026-09-24 23:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49366a80100000000000000000000000000..."} 
[2026-09-24 23:32:45] local.INFO: Processing buffer {"connection_id":191605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49366a80100000000000000000000000000..."} 
[2026-09-24 23:32:45] local.INFO: Packet analysis {"connection_id":191605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d493"} 
[2026-09-24 23:32:45] local.INFO: Extracted packet for processing {"connection_id":191605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d493"} 
[2026-09-24 23:32:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 23:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309828352001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":369435936977287168,"note":"Value kept but may cause issues"} 
[2026-09-24 23:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790272825000,"timestamp_ms":1790272825000,"timestamp_seconds":1790272825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49366a8"} 
[2026-09-24 23:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-24 23:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":191605,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 23:32:45] local.INFO: GPS data processed {"connection_id":191605,"processed":0,"errors":0,"total":1} 
[2026-09-24 23:32:45] local.INFO: Acknowledgment sent {"connection_id":191605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:33:05] local.INFO: TCP Data received {"connection_id":193168,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:33:05] local.INFO: Processing buffer {"connection_id":193168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4910548012d34c14006aa4940000900f52d..."} 
[2026-09-24 23:33:05] local.INFO: Packet analysis {"connection_id":193168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:33:05] local.INFO: Extracted packet for processing {"connection_id":193168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d491"} 
[2026-09-24 23:33:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309726208001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790272669000,"timestamp_ms":1790272669000,"timestamp_seconds":1790272669,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4910548"} 
[2026-09-24 23:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:33: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-09-24 23: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":233,"data_length":795,"current_offset":136} 
[2026-09-24 23:33: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-09-24 23: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-09-24 23:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309726208001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309726208001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:33:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:33:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309726208001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":193168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:33:05] local.INFO: GPS data processed {"connection_id":193168,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:33:05] local.INFO: Acknowledgment sent {"connection_id":193168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:33:05] local.INFO: TCP Data received {"connection_id":193169,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193169,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:33:05] local.INFO: Processing buffer {"connection_id":193169,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:33:05] local.INFO: IMEI packet received {"connection_id":193169,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":193169,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:33:07] local.INFO: TCP Data received {"connection_id":193169,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193169,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:33:07] local.INFO: Processing buffer {"connection_id":193169,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:33:07] local.INFO: IMEI packet received {"connection_id":193169,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":193169,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:33:11] local.INFO: TCP Data received {"connection_id":193169,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193169,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:33:11] local.INFO: Processing buffer {"connection_id":193169,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:33:11] local.INFO: IMEI packet received {"connection_id":193169,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":193169,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:33:13] local.INFO: TCP Data received {"connection_id":193169,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d492f948012d05b00006fe92380017008330..."} 
[2026-09-24 23:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d492f948012d05b00006fe92380017008330..."} 
[2026-09-24 23:33:13] local.INFO: Processing buffer {"connection_id":193169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d492f948012d05b00006fe92380017008330..."} 
[2026-09-24 23:33:13] local.INFO: Packet analysis {"connection_id":193169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d492"} 
[2026-09-24 23:33:13] local.INFO: Extracted packet for processing {"connection_id":193169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d492"} 
[2026-09-24 23:33:13] local.INFO: GPS Element Parsed {"raw_longitude":755347456,"raw_latitude":117346872,"longitude_deg":75.5347456,"latitude_deg":11.7346872,"altitude":23,"angle":131,"satellites":48,"speed":47,"hex_longitude":"2d05b000","hex_latitude":"06fe9238","is_valid_coordinates":true} 
[2026-09-24 23:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:33:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,226,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 23:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790272797000,"timestamp_ms":1790272797000,"timestamp_seconds":1790272797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d492f948"} 
[2026-09-24 23:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-24 23:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193169,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193169,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27876,"226":206,"28":32256,"24":47,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,28,24,16]} 
[2026-09-24 23:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 23:33:13] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-24 23:33:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:33:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27876,"unknown_226":206,"unknown_28":32256,"ignition":47,"odometer":null}} 
[2026-09-24 23:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":193169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892745,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:33:13] local.INFO: GPS data processed {"connection_id":193169,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:33:13] local.INFO: Acknowledgment sent {"connection_id":193169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:33:18] local.INFO: TCP Data received {"connection_id":193169,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4933bb0012d05e64006fe52480019008f30..."} 
[2026-09-24 23:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4933bb0012d05e64006fe52480019008f30..."} 
[2026-09-24 23:33:18] local.INFO: Processing buffer {"connection_id":193169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4933bb0012d05e64006fe52480019008f30..."} 
[2026-09-24 23:33:18] local.INFO: Packet analysis {"connection_id":193169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d493"} 
[2026-09-24 23:33:18] local.INFO: Extracted packet for processing {"connection_id":193169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d493"} 
[2026-09-24 23:33:18] local.INFO: GPS Element Parsed {"raw_longitude":755361344,"raw_latitude":117330504,"longitude_deg":75.5361344,"latitude_deg":11.7330504,"altitude":25,"angle":143,"satellites":48,"speed":51,"hex_longitude":"2d05e640","hex_latitude":"06fe5248","is_valid_coordinates":true} 
[2026-09-24 23:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309836032001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":409827596131514368,"note":"Value kept but may cause issues"} 
[2026-09-24 23:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790272814000,"timestamp_ms":1790272814000,"timestamp_seconds":1790272814,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4933bb0"} 
[2026-09-24 23:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:33:18] 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-09-24 23:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 23:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":193169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":193169,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":193169,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309836032001,"66":27843,"226":206,"28":32256,"24":51,"16":3605341577150464,"45":409827596131514368},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,28,24,16,45]} 
[2026-09-24 23:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309836032001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:33:18] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-09-24 23:33:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":409827596131514368,"description":"Unknown IO ID 45"} 
[2026-09-24 23:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309836032001,"power":27843,"unknown_226":206,"unknown_28":32256,"ignition":51,"odometer":null,"unknown_45":409827596131514368}} 
[2026-09-24 23:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":193169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892746,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:33:18] local.INFO: GPS data processed {"connection_id":193169,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:33:18] local.INFO: Acknowledgment sent {"connection_id":193169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:33:27] local.INFO: TCP Data received {"connection_id":191790,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:33:27] local.INFO: Processing buffer {"connection_id":191790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:33:27] local.INFO: IMEI packet received {"connection_id":191790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":191790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:33:28] local.INFO: TCP Data received {"connection_id":191790,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:33:28] local.INFO: Processing buffer {"connection_id":191790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:33:28] local.INFO: IMEI packet received {"connection_id":191790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":191790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:33:32] local.INFO: TCP Data received {"connection_id":191790,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:33:32] local.INFO: Processing buffer {"connection_id":191790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:33:32] local.INFO: IMEI packet received {"connection_id":191790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":191790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:33:33] local.INFO: TCP Data received {"connection_id":191790,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:33:33] local.INFO: Processing buffer {"connection_id":191790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:33:33] local.INFO: Packet analysis {"connection_id":191790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d495"} 
[2026-09-24 23:33:33] local.INFO: Extracted packet for processing {"connection_id":191790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d495"} 
[2026-09-24 23:33:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309803264001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790272970000,"timestamp_ms":1790272970000,"timestamp_seconds":1790272970,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4959d10"} 
[2026-09-24 23:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309803264001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309803264001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:33:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:33:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309803264001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":191790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:33:33] local.INFO: GPS data processed {"connection_id":191790,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:33:33] local.INFO: Acknowledgment sent {"connection_id":191790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:33:49] local.INFO: TCP Data received {"connection_id":193169,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4938db8012d061a0006fe0f400019008d31..."} 
[2026-09-24 23:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4938db8012d061a0006fe0f400019008d31..."} 
[2026-09-24 23:33:49] local.INFO: Processing buffer {"connection_id":193169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4938db8012d061a0006fe0f400019008d31..."} 
[2026-09-24 23:33:49] local.INFO: Packet analysis {"connection_id":193169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d493"} 
[2026-09-24 23:33:49] local.INFO: Extracted packet for processing {"connection_id":193169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d493"} 
[2026-09-24 23:33:49] local.INFO: GPS Element Parsed {"raw_longitude":755374592,"raw_latitude":117313344,"longitude_deg":75.5374592,"latitude_deg":11.7313344,"altitude":25,"angle":141,"satellites":49,"speed":0,"hex_longitude":"2d061a00","hex_latitude":"06fe0f40","is_valid_coordinates":true} 
[2026-09-24 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-09-24 23:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309840384001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":425097613613877248,"note":"Value kept but may cause issues"} 
[2026-09-24 23:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790272835000,"timestamp_ms":1790272835000,"timestamp_seconds":1790272835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4938db8"} 
[2026-09-24 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-09-24 23:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-24 23:33:49] 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-09-24 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-09-24 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-09-24 23:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":193169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":193169,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":193169,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309840384001,"66":27995,"207":206,"28":32256,"24":0,"16":3605341577150464,"45":425097613613877248},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-09-24 23:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309840384001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:33:49] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-24 23:33:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":425097613613877248,"description":"Unknown IO ID 45"} 
[2026-09-24 23:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309840384001,"power":27995,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":425097613613877248}} 
[2026-09-24 23:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":193169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892748,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:33:50] local.INFO: GPS data processed {"connection_id":193169,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:33:50] local.INFO: Acknowledgment sent {"connection_id":193169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:34:05] local.INFO: TCP Data received {"connection_id":191790,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:34:05] local.INFO: Processing buffer {"connection_id":191790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:34:05] local.INFO: Packet analysis {"connection_id":191790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d495"} 
[2026-09-24 23:34:05] local.INFO: Extracted packet for processing {"connection_id":191790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d495"} 
[2026-09-24 23:34:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309803264001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790272970000,"timestamp_ms":1790272970000,"timestamp_seconds":1790272970,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4959d10"} 
[2026-09-24 23:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:34: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-09-24 23:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309803264001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309803264001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:34:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:34:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309803264001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":191790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:34:05] local.INFO: GPS data processed {"connection_id":191790,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:34:05] local.INFO: Acknowledgment sent {"connection_id":191790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:34:09] local.INFO: TCP Data received {"connection_id":194460,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:34:09] local.INFO: Processing buffer {"connection_id":194460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:34:09] local.INFO: IMEI packet received {"connection_id":194460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":194460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:34:11] local.INFO: TCP Data received {"connection_id":194460,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:34:11] local.INFO: Processing buffer {"connection_id":194460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:34:11] local.INFO: IMEI packet received {"connection_id":194460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":194460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:34:13] local.INFO: TCP Data received {"connection_id":194460,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d493dfc0012d064bc006fdd240001b00892a..."} 
[2026-09-24 23:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d493dfc0012d064bc006fdd240001b00892a..."} 
[2026-09-24 23:34:13] local.INFO: Processing buffer {"connection_id":194460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d493dfc0012d064bc006fdd240001b00892a..."} 
[2026-09-24 23:34:13] local.INFO: Packet analysis {"connection_id":194460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d493"} 
[2026-09-24 23:34:13] local.INFO: Extracted packet for processing {"connection_id":194460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d493"} 
[2026-09-24 23:34:13] local.INFO: GPS Element Parsed {"raw_longitude":755387328,"raw_latitude":117297728,"longitude_deg":75.5387328,"latitude_deg":11.7297728,"altitude":27,"angle":137,"satellites":42,"speed":0,"hex_longitude":"2d064bc0","hex_latitude":"06fdd240","is_valid_coordinates":true} 
[2026-09-24 23:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309845760001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":439663943654260736,"note":"Value kept but may cause issues"} 
[2026-09-24 23:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790272856000,"timestamp_ms":1790272856000,"timestamp_seconds":1790272856,"priority":1,"record_length":96,"hex_timestamp":"000001a0d493dfc0"} 
[2026-09-24 23:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 23:34:13] 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-09-24 23:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":194460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":194460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":194460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309845760001,"66":27843,"153":206,"28":32256,"24":0,"16":3605341577150464,"45":439663943654260736},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,28,24,16,45]} 
[2026-09-24 23:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309845760001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:34:13] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-24 23:34:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":439663943654260736,"description":"Unknown IO ID 45"} 
[2026-09-24 23:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309845760001,"power":27843,"unknown_153":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":439663943654260736}} 
[2026-09-24 23:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":194460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892750,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:34:13] local.INFO: GPS data processed {"connection_id":194460,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:34:13] local.INFO: Acknowledgment sent {"connection_id":194460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:34:14] local.INFO: TCP Data received {"connection_id":194460,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49431c8012d06714006fda7b0001600842f..."} 
[2026-09-24 23:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49431c8012d06714006fda7b0001600842f..."} 
[2026-09-24 23:34:14] local.INFO: Processing buffer {"connection_id":194460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49431c8012d06714006fda7b0001600842f..."} 
[2026-09-24 23:34:14] local.INFO: Packet analysis {"connection_id":194460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d494"} 
[2026-09-24 23:34:14] local.INFO: Extracted packet for processing {"connection_id":194460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d494"} 
[2026-09-24 23:34:14] local.INFO: GPS Element Parsed {"raw_longitude":755396928,"raw_latitude":117286832,"longitude_deg":75.5396928,"latitude_deg":11.7286832,"altitude":22,"angle":132,"satellites":47,"speed":0,"hex_longitude":"2d067140","hex_latitude":"06fda7b0","is_valid_coordinates":true} 
[2026-09-24 23:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309851136001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":453667323741618176,"note":"Value kept but may cause issues"} 
[2026-09-24 23:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790272877000,"timestamp_ms":1790272877000,"timestamp_seconds":1790272877,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49431c8"} 
[2026-09-24 23:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-24 23:34:14] 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-09-24 23:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":194460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":194460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":194460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309851136001,"66":27876,"153":206,"28":32256,"24":0,"16":3605341577150464,"45":453667323741618176},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,28,24,16,45]} 
[2026-09-24 23:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309851136001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:34:14] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-24 23:34:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":453667323741618176,"description":"Unknown IO ID 45"} 
[2026-09-24 23:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309851136001,"power":27876,"unknown_153":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":453667323741618176}} 
[2026-09-24 23:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":194460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892751,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:34:14] local.INFO: GPS data processed {"connection_id":194460,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:34:14] local.INFO: Acknowledgment sent {"connection_id":194460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:34:32] local.INFO: TCP Data received {"connection_id":191606,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:34:32] local.INFO: Processing buffer {"connection_id":191606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:34:32] local.INFO: IMEI packet received {"connection_id":191606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":191606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:34:37] local.INFO: TCP Data received {"connection_id":191606,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:34:37] local.INFO: Processing buffer {"connection_id":191606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:34:37] local.INFO: IMEI packet received {"connection_id":191606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":191606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:34:38] local.INFO: TCP Data received {"connection_id":191606,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:34:38] local.INFO: Processing buffer {"connection_id":191606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:34:38] local.INFO: Packet analysis {"connection_id":191606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d495"} 
[2026-09-24 23:34:38] local.INFO: Extracted packet for processing {"connection_id":191606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d495"} 
[2026-09-24 23:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309803264001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790272970000,"timestamp_ms":1790272970000,"timestamp_seconds":1790272970,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4959d10"} 
[2026-09-24 23:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309803264001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309803264001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:34:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:34:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309803264001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":191606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:34:38] local.INFO: GPS data processed {"connection_id":191606,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:34:38] local.INFO: Acknowledgment sent {"connection_id":191606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:34:43] local.INFO: TCP Data received {"connection_id":191606,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:34:43] local.INFO: Processing buffer {"connection_id":191606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:34:43] local.INFO: Packet analysis {"connection_id":191606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d495"} 
[2026-09-24 23:34:43] local.INFO: Extracted packet for processing {"connection_id":191606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d495"} 
[2026-09-24 23:34:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309803264001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790272970000,"timestamp_ms":1790272970000,"timestamp_seconds":1790272970,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4959d10"} 
[2026-09-24 23:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309803264001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309803264001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:34:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:34:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309803264001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":191606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:34:43] local.INFO: GPS data processed {"connection_id":191606,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:34:43] local.INFO: Acknowledgment sent {"connection_id":191606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:34:46] local.INFO: TCP Data received {"connection_id":194460,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49514580100000000000000000000000000..."} 
[2026-09-24 23:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49514580100000000000000000000000000..."} 
[2026-09-24 23:34:46] local.INFO: Processing buffer {"connection_id":194460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49514580100000000000000000000000000..."} 
[2026-09-24 23:34:46] local.INFO: Packet analysis {"connection_id":194460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d495"} 
[2026-09-24 23:34:46] local.INFO: Extracted packet for processing {"connection_id":194460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d495"} 
[2026-09-24 23:34:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 23:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309856512001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":464222635365478400,"note":"Value kept but may cause issues"} 
[2026-09-24 23:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790272935000,"timestamp_ms":1790272935000,"timestamp_seconds":1790272935,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4951458"} 
[2026-09-24 23:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:34: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-09-24 23:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-24 23:34:46] 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-09-24 23:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":194460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":194460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":194460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":194460,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 23:34:46] local.INFO: GPS data processed {"connection_id":194460,"processed":0,"errors":0,"total":1} 
[2026-09-24 23:34:46] local.INFO: Acknowledgment sent {"connection_id":194460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:35:05] local.INFO: TCP Data received {"connection_id":193170,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:35:05] local.INFO: Processing buffer {"connection_id":193170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:35:05] local.INFO: IMEI packet received {"connection_id":193170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":193170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:35:20] local.INFO: TCP Data received {"connection_id":193170,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:35:20] local.INFO: Processing buffer {"connection_id":193170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:35:20] local.INFO: IMEI packet received {"connection_id":193170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":193170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:35:22] local.INFO: TCP Data received {"connection_id":193170,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49487b8012d0697c006fd75600009008d26..."} 
[2026-09-24 23:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49487b8012d0697c006fd75600009008d26..."} 
[2026-09-24 23:35:22] local.INFO: Processing buffer {"connection_id":193170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49487b8012d0697c006fd75600009008d26..."} 
[2026-09-24 23:35:22] local.INFO: Packet analysis {"connection_id":193170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d494"} 
[2026-09-24 23:35:22] local.INFO: Extracted packet for processing {"connection_id":193170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d494"} 
[2026-09-24 23:35:22] local.INFO: GPS Element Parsed {"raw_longitude":755406784,"raw_latitude":117273952,"longitude_deg":75.5406784,"latitude_deg":11.7273952,"altitude":9,"angle":141,"satellites":38,"speed":29,"hex_longitude":"2d0697c0","hex_latitude":"06fd7560","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:35:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,207,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 23:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790272899000,"timestamp_ms":1790272899000,"timestamp_seconds":1790272899,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49487b8"} 
[2026-09-24 23:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-24 23:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193170,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193170,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27745,"207":206,"28":32256,"24":29,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16]} 
[2026-09-24 23:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 23:35:22] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-24 23:35:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:35:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27745,"unknown_207":206,"unknown_28":32256,"ignition":29,"odometer":null}} 
[2026-09-24 23:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":193170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892754,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:35:22] local.INFO: GPS data processed {"connection_id":193170,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:35:22] local.INFO: Acknowledgment sent {"connection_id":193170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:35:27] local.INFO: TCP Data received {"connection_id":194461,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:35:27] local.INFO: Processing buffer {"connection_id":194461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:35:27] local.INFO: IMEI packet received {"connection_id":194461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":194461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:35:32] local.INFO: TCP Data received {"connection_id":194461,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:35:32] local.INFO: Processing buffer {"connection_id":194461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:35:32] local.INFO: IMEI packet received {"connection_id":194461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":194461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:35:34] local.INFO: TCP Data received {"connection_id":194461,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:35:34] local.INFO: Processing buffer {"connection_id":194461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:35:34] local.INFO: Packet analysis {"connection_id":194461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d495"} 
[2026-09-24 23:35:34] local.INFO: Extracted packet for processing {"connection_id":194461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d495"} 
[2026-09-24 23:35:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309803264001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790272970000,"timestamp_ms":1790272970000,"timestamp_seconds":1790272970,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4959d10"} 
[2026-09-24 23:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309803264001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309803264001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:35:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:35:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309803264001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":194461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:35:34] local.INFO: GPS data processed {"connection_id":194461,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:35:34] local.INFO: Acknowledgment sent {"connection_id":194461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:36:05] local.INFO: TCP Data received {"connection_id":194461,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:36:05] local.INFO: Processing buffer {"connection_id":194461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:36:05] local.INFO: Packet analysis {"connection_id":194461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d495"} 
[2026-09-24 23:36:05] local.INFO: Extracted packet for processing {"connection_id":194461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d495"} 
[2026-09-24 23:36:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309803264001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790272970000,"timestamp_ms":1790272970000,"timestamp_seconds":1790272970,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4959d10"} 
[2026-09-24 23:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:36: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-09-24 23: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-09-24 23:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309803264001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309803264001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:36:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:36:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309803264001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":194461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:36:05] local.INFO: GPS data processed {"connection_id":194461,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:36:05] local.INFO: Acknowledgment sent {"connection_id":194461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:36:06] local.INFO: TCP Data received {"connection_id":191791,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:36:06] local.INFO: Processing buffer {"connection_id":191791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:36:06] local.INFO: IMEI packet received {"connection_id":191791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":191791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:36:06] local.INFO: TCP Data received {"connection_id":191791,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:36:06] local.INFO: Processing buffer {"connection_id":191791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:36:06] local.INFO: IMEI packet received {"connection_id":191791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":191791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:36:13] local.INFO: TCP Data received {"connection_id":191791,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:36:13] local.INFO: Processing buffer {"connection_id":191791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:36:13] local.INFO: IMEI packet received {"connection_id":191791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":191791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:36:15] local.INFO: TCP Data received {"connection_id":191791,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4975678012d07970006fc49e80016008c2f..."} 
[2026-09-24 23:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4975678012d07970006fc49e80016008c2f..."} 
[2026-09-24 23:36:15] local.INFO: Processing buffer {"connection_id":191791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4975678012d07970006fc49e80016008c2f..."} 
[2026-09-24 23:36:15] local.INFO: Packet analysis {"connection_id":191791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d497"} 
[2026-09-24 23:36:15] local.INFO: Extracted packet for processing {"connection_id":191791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d497"} 
[2026-09-24 23:36:15] local.INFO: GPS Element Parsed {"raw_longitude":755472128,"raw_latitude":117197288,"longitude_deg":75.5472128,"latitude_deg":11.7197288,"altitude":22,"angle":140,"satellites":47,"speed":20,"hex_longitude":"2d079700","hex_latitude":"06fc49e8","is_valid_coordinates":true} 
[2026-09-24 23:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:36:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,207,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 23:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790273083000,"timestamp_ms":1790273083000,"timestamp_seconds":1790273083,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4975678"} 
[2026-09-24 23:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 23:36:15] 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-09-24 23:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"207":206,"28":32256,"24":20,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16]} 
[2026-09-24 23:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 23:36:15] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-24 23:36:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:36:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"unknown_207":206,"unknown_28":32256,"ignition":20,"odometer":null}} 
[2026-09-24 23:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":191791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892757,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:36:15] local.INFO: GPS data processed {"connection_id":191791,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:36:15] local.INFO: Acknowledgment sent {"connection_id":191791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:36:27] local.INFO: TCP Data received {"connection_id":191607,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:36:27] local.INFO: Processing buffer {"connection_id":191607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:36:27] local.INFO: IMEI packet received {"connection_id":191607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":191607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:36:32] local.INFO: TCP Data received {"connection_id":191607,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:36:32] local.INFO: Processing buffer {"connection_id":191607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:36:32] local.INFO: IMEI packet received {"connection_id":191607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":191607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:36:33] local.INFO: TCP Data received {"connection_id":191607,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:36:33] local.INFO: Processing buffer {"connection_id":191607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:36:33] local.INFO: Packet analysis {"connection_id":191607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d495"} 
[2026-09-24 23:36:33] local.INFO: Extracted packet for processing {"connection_id":191607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d495"} 
[2026-09-24 23:36:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309803264001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790272970000,"timestamp_ms":1790272970000,"timestamp_seconds":1790272970,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4959d10"} 
[2026-09-24 23:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309803264001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309803264001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:36:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:36:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309803264001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":191607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:36:33] local.INFO: GPS data processed {"connection_id":191607,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:36:33] local.INFO: Acknowledgment sent {"connection_id":191607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:36:46] local.INFO: TCP Data received {"connection_id":191791,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49839080100000000000000000000000000..."} 
[2026-09-24 23:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49839080100000000000000000000000000..."} 
[2026-09-24 23:36:46] local.INFO: Processing buffer {"connection_id":191791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49839080100000000000000000000000000..."} 
[2026-09-24 23:36:46] local.INFO: Packet analysis {"connection_id":191791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d498"} 
[2026-09-24 23:36:46] local.INFO: Extracted packet for processing {"connection_id":191791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d498"} 
[2026-09-24 23:36:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 23:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309909248001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":546905909751310336,"note":"Value kept but may cause issues"} 
[2026-09-24 23:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790273141000,"timestamp_ms":1790273141000,"timestamp_seconds":1790273141,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4983908"} 
[2026-09-24 23:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-24 23:36:46] 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-09-24 23:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":191791,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 23:36:46] local.INFO: GPS data processed {"connection_id":191791,"processed":0,"errors":0,"total":1} 
[2026-09-24 23:36:46] local.INFO: Acknowledgment sent {"connection_id":191791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:37:05] local.INFO: TCP Data received {"connection_id":191607,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:37:05] local.INFO: Processing buffer {"connection_id":191607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:37:05] local.INFO: Packet analysis {"connection_id":191607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d495"} 
[2026-09-24 23:37:05] local.INFO: Extracted packet for processing {"connection_id":191607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d495"} 
[2026-09-24 23:37:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309803264001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790272970000,"timestamp_ms":1790272970000,"timestamp_seconds":1790272970,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4959d10"} 
[2026-09-24 23:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:37: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-09-24 23:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309803264001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309803264001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:37:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:37:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309803264001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":191607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:37:05] local.INFO: GPS data processed {"connection_id":191607,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:37:05] local.INFO: Acknowledgment sent {"connection_id":191607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:37:11] local.INFO: TCP Data received {"connection_id":191608,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:37:11] local.INFO: Processing buffer {"connection_id":191608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:37:11] local.INFO: IMEI packet received {"connection_id":191608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":191608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:37:16] local.INFO: TCP Data received {"connection_id":191608,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:37:16] local.INFO: Processing buffer {"connection_id":191608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:37:16] local.INFO: IMEI packet received {"connection_id":191608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":191608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:37:17] local.INFO: TCP Data received {"connection_id":191608,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d497b438012d07bfc006fc1ae00013008c2e..."} 
[2026-09-24 23:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d497b438012d07bfc006fc1ae00013008c2e..."} 
[2026-09-24 23:37:17] local.INFO: Processing buffer {"connection_id":191608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d497b438012d07bfc006fc1ae00013008c2e..."} 
[2026-09-24 23:37:17] local.INFO: Packet analysis {"connection_id":191608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d497"} 
[2026-09-24 23:37:17] local.INFO: Extracted packet for processing {"connection_id":191608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d497"} 
[2026-09-24 23:37:17] local.INFO: GPS Element Parsed {"raw_longitude":755482560,"raw_latitude":117185248,"longitude_deg":75.548256,"latitude_deg":11.7185248,"altitude":19,"angle":140,"satellites":46,"speed":25,"hex_longitude":"2d07bfc0","hex_latitude":"06fc1ae0","is_valid_coordinates":true} 
[2026-09-24 23:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:37:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,56,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 23:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790273107000,"timestamp_ms":1790273107000,"timestamp_seconds":1790273107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d497b438"} 
[2026-09-24 23:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-24 23:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27919,"56":206,"28":32256,"24":25,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,28,24,16]} 
[2026-09-24 23:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 23:37:17] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-24 23:37:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:37:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27919,"unknown_56":206,"unknown_28":32256,"ignition":25,"odometer":null}} 
[2026-09-24 23:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":191608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892760,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:37:17] local.INFO: GPS data processed {"connection_id":191608,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:37:17] local.INFO: Acknowledgment sent {"connection_id":191608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:37:19] local.INFO: TCP Data received {"connection_id":191608,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4980640012d07bfc006fc1ae00013008c2e..."} 
[2026-09-24 23:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4980640012d07bfc006fc1ae00013008c2e..."} 
[2026-09-24 23:37:19] local.INFO: Processing buffer {"connection_id":191608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4980640012d07bfc006fc1ae00013008c2e..."} 
[2026-09-24 23:37:19] local.INFO: Packet analysis {"connection_id":191608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d498"} 
[2026-09-24 23:37:19] local.INFO: Extracted packet for processing {"connection_id":191608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d498"} 
[2026-09-24 23:37:19] local.INFO: GPS Element Parsed {"raw_longitude":755482560,"raw_latitude":117185248,"longitude_deg":75.548256,"latitude_deg":11.7185248,"altitude":19,"angle":140,"satellites":46,"speed":0,"hex_longitude":"2d07bfc0","hex_latitude":"06fc1ae0","is_valid_coordinates":true} 
[2026-09-24 23:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309915392001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":558376015049187328,"note":"Value kept but may cause issues"} 
[2026-09-24 23:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790273128000,"timestamp_ms":1790273128000,"timestamp_seconds":1790273128,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4980640"} 
[2026-09-24 23:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:37: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-09-24 23:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 23:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309915392001,"66":27887,"56":206,"28":32256,"24":0,"16":3605341577150464,"45":558376015049187328},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,28,24,16,45]} 
[2026-09-24 23:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309915392001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:37:19] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-24 23:37:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":558376015049187328,"description":"Unknown IO ID 45"} 
[2026-09-24 23:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309915392001,"power":27887,"unknown_56":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":558376015049187328}} 
[2026-09-24 23:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":191608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892761,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:37:19] local.INFO: GPS data processed {"connection_id":191608,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:37:19] local.INFO: Acknowledgment sent {"connection_id":191608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:37:27] local.INFO: TCP Data received {"connection_id":194462,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:37:27] local.INFO: Processing buffer {"connection_id":194462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:37:27] local.INFO: IMEI packet received {"connection_id":194462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":194462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:37:32] local.INFO: TCP Data received {"connection_id":194462,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:37:32] local.INFO: Processing buffer {"connection_id":194462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:37:32] local.INFO: IMEI packet received {"connection_id":194462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":194462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:37:33] local.INFO: TCP Data received {"connection_id":194462,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:37:33] local.INFO: Processing buffer {"connection_id":194462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:37:33] local.INFO: Packet analysis {"connection_id":194462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d495"} 
[2026-09-24 23:37:33] local.INFO: Extracted packet for processing {"connection_id":194462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d495"} 
[2026-09-24 23:37:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309803264001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790272970000,"timestamp_ms":1790272970000,"timestamp_seconds":1790272970,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4959d10"} 
[2026-09-24 23:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309803264001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309803264001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:37:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:37:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309803264001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":194462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:37:33] local.INFO: GPS data processed {"connection_id":194462,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:37:33] local.INFO: Acknowledgment sent {"connection_id":194462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:37:51] local.INFO: TCP Data received {"connection_id":191608,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4985848012d07ecc006fbe628000d008d2e..."} 
[2026-09-24 23:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4985848012d07ecc006fbe628000d008d2e..."} 
[2026-09-24 23:37:51] local.INFO: Processing buffer {"connection_id":191608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4985848012d07ecc006fbe628000d008d2e..."} 
[2026-09-24 23:37:51] local.INFO: Packet analysis {"connection_id":191608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d498"} 
[2026-09-24 23:37:51] local.INFO: Extracted packet for processing {"connection_id":191608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d498"} 
[2026-09-24 23:37:51] local.INFO: GPS Element Parsed {"raw_longitude":755494080,"raw_latitude":117171752,"longitude_deg":75.549408,"latitude_deg":11.7171752,"altitude":13,"angle":141,"satellites":46,"speed":0,"hex_longitude":"2d07ecc0","hex_latitude":"06fbe628","is_valid_coordinates":true} 
[2026-09-24 23:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309920768001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":558376015049187328,"note":"Value kept but may cause issues"} 
[2026-09-24 23:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790273149000,"timestamp_ms":1790273149000,"timestamp_seconds":1790273149,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4985848"} 
[2026-09-24 23:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-24 23:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309920768001,"66":27974,"204":206,"28":32256,"24":0,"16":3605341577150464,"45":558376015049187328},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,28,24,16,45]} 
[2026-09-24 23:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309920768001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:37:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":558376015049187328,"description":"Unknown IO ID 45"} 
[2026-09-24 23:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309920768001,"power":27974,"lac":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":558376015049187328}} 
[2026-09-24 23:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":191608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892763,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:37:51] local.INFO: GPS data processed {"connection_id":191608,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:37:51] local.INFO: Acknowledgment sent {"connection_id":191608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:38:05] local.INFO: TCP Data received {"connection_id":194462,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:38:05] local.INFO: Processing buffer {"connection_id":194462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4959d10012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:38:05] local.INFO: Packet analysis {"connection_id":194462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d495"} 
[2026-09-24 23:38:05] local.INFO: Extracted packet for processing {"connection_id":194462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d495"} 
[2026-09-24 23:38:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309803264001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790272970000,"timestamp_ms":1790272970000,"timestamp_seconds":1790272970,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4959d10"} 
[2026-09-24 23:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:38: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-09-24 23:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309803264001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309803264001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:38:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:38:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309803264001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":194462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:38:05] local.INFO: GPS data processed {"connection_id":194462,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:38:05] local.INFO: Acknowledgment sent {"connection_id":194462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:38:06] local.INFO: TCP Data received {"connection_id":191792,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:38:06] local.INFO: Processing buffer {"connection_id":191792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:38:06] local.INFO: IMEI packet received {"connection_id":191792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":191792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:38:07] local.INFO: TCP Data received {"connection_id":191792,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:38:07] local.INFO: Processing buffer {"connection_id":191792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:38:07] local.INFO: IMEI packet received {"connection_id":191792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":191792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:38:11] local.INFO: TCP Data received {"connection_id":191792,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:38:11] local.INFO: Processing buffer {"connection_id":191792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:38:11] local.INFO: IMEI packet received {"connection_id":191792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":191792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:38:12] local.INFO: TCP Data received {"connection_id":191792,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4993ad80100000000000000000000000000..."} 
[2026-09-24 23:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4993ad80100000000000000000000000000..."} 
[2026-09-24 23:38:12] local.INFO: Processing buffer {"connection_id":191792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4993ad80100000000000000000000000000..."} 
[2026-09-24 23:38:12] local.INFO: Packet analysis {"connection_id":191792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d499"} 
[2026-09-24 23:38:12] local.INFO: Extracted packet for processing {"connection_id":191792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d499"} 
[2026-09-24 23:38:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 23:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309926144001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":571042388997711872,"note":"Value kept but may cause issues"} 
[2026-09-24 23:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790273207000,"timestamp_ms":1790273207000,"timestamp_seconds":1790273207,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4993ad8"} 
[2026-09-24 23:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:38: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-09-24 23:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-24 23:38:12] 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-09-24 23:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":191792,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 23:38:12] local.INFO: GPS data processed {"connection_id":191792,"processed":0,"errors":0,"total":1} 
[2026-09-24 23:38:12] local.INFO: Acknowledgment sent {"connection_id":191792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:38:16] local.INFO: TCP Data received {"connection_id":191792,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d498d160012d082e0006fb6d48000b00a331..."} 
[2026-09-24 23:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d498d160012d082e0006fb6d48000b00a331..."} 
[2026-09-24 23:38:16] local.INFO: Processing buffer {"connection_id":191792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d498d160012d082e0006fb6d48000b00a331..."} 
[2026-09-24 23:38:16] local.INFO: Packet analysis {"connection_id":191792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d498"} 
[2026-09-24 23:38:16] local.INFO: Extracted packet for processing {"connection_id":191792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d498"} 
[2026-09-24 23:38:16] local.INFO: GPS Element Parsed {"raw_longitude":755510784,"raw_latitude":117140808,"longitude_deg":75.5510784,"latitude_deg":11.7140808,"altitude":11,"angle":163,"satellites":49,"speed":40,"hex_longitude":"2d082e00","hex_latitude":"06fb6d48","is_valid_coordinates":true} 
[2026-09-24 23:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:38:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,56,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 23:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790273180000,"timestamp_ms":1790273180000,"timestamp_seconds":1790273180,"priority":1,"record_length":96,"hex_timestamp":"000001a0d498d160"} 
[2026-09-24 23:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-24 23:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28137,"56":206,"28":32256,"24":40,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,28,24,16]} 
[2026-09-24 23:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 23:38:16] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-24 23:38:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:38:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28137,"unknown_56":206,"unknown_28":32256,"ignition":40,"odometer":null}} 
[2026-09-24 23:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":191792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892765,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:38:16] local.INFO: GPS data processed {"connection_id":191792,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:38:16] local.INFO: Acknowledgment sent {"connection_id":191792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:38:27] local.INFO: TCP Data received {"connection_id":193171,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:38:27] local.INFO: Processing buffer {"connection_id":193171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:38:27] local.INFO: IMEI packet received {"connection_id":193171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":193171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:38:29] local.INFO: TCP Data received {"connection_id":193171,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:38:29] local.INFO: Processing buffer {"connection_id":193171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:38:29] local.INFO: IMEI packet received {"connection_id":193171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":193171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:38:32] local.INFO: TCP Data received {"connection_id":193171,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:38:32] local.INFO: Processing buffer {"connection_id":193171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:38:32] local.INFO: IMEI packet received {"connection_id":193171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":193171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:38:33] local.INFO: TCP Data received {"connection_id":193171,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:38:33] local.INFO: Processing buffer {"connection_id":193171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:38:33] local.INFO: Packet analysis {"connection_id":193171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49a"} 
[2026-09-24 23:38:33] local.INFO: Extracted packet for processing {"connection_id":193171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49a"} 
[2026-09-24 23:38:33] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111823232,"longitude_deg":75.8431488,"latitude_deg":11.1823232,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4980","is_valid_coordinates":true} 
[2026-09-24 23:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309880320001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790273271000,"timestamp_ms":1790273271000,"timestamp_seconds":1790273271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49a34d8"} 
[2026-09-24 23:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 23:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309880320001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309880320001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:38:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:38:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309880320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":193171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:38:33] local.INFO: GPS data processed {"connection_id":193171,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:38:33] local.INFO: Acknowledgment sent {"connection_id":193171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:38:51] local.INFO: TCP Data received {"connection_id":191792,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4992368012d083ec006fb2558000c00a831..."} 
[2026-09-24 23:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4992368012d083ec006fb2558000c00a831..."} 
[2026-09-24 23:38:51] local.INFO: Processing buffer {"connection_id":191792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4992368012d083ec006fb2558000c00a831..."} 
[2026-09-24 23:38:51] local.INFO: Packet analysis {"connection_id":191792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d499"} 
[2026-09-24 23:38:51] local.INFO: Extracted packet for processing {"connection_id":191792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d499"} 
[2026-09-24 23:38:51] local.INFO: GPS Element Parsed {"raw_longitude":755515072,"raw_latitude":117122392,"longitude_deg":75.5515072,"latitude_deg":11.7122392,"altitude":12,"angle":168,"satellites":49,"speed":0,"hex_longitude":"2d083ec0","hex_latitude":"06fb2558","is_valid_coordinates":true} 
[2026-09-24 23:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309934080001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":589408631220160512,"note":"Value kept but may cause issues"} 
[2026-09-24 23:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790273201000,"timestamp_ms":1790273201000,"timestamp_seconds":1790273201,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4992368"} 
[2026-09-24 23:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-24 23:38:51] 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-09-24 23:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309934080001,"66":27941,"56":206,"28":32256,"24":0,"16":3605341577150464,"45":589408631220160512},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,28,24,16,45]} 
[2026-09-24 23:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309934080001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:38:51] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-24 23:38:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":589408631220160512,"description":"Unknown IO ID 45"} 
[2026-09-24 23:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309934080001,"power":27941,"unknown_56":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":589408631220160512}} 
[2026-09-24 23:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":191792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892767,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:38:51] local.INFO: GPS data processed {"connection_id":191792,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:38:51] local.INFO: Acknowledgment sent {"connection_id":191792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:39:06] local.INFO: TCP Data received {"connection_id":191793,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:39:06] local.INFO: Processing buffer {"connection_id":191793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:39:06] local.INFO: IMEI packet received {"connection_id":191793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":191793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:39:07] local.INFO: TCP Data received {"connection_id":193171,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:39:07] local.INFO: Processing buffer {"connection_id":193171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:39:07] local.INFO: Packet analysis {"connection_id":193171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49a"} 
[2026-09-24 23:39:07] local.INFO: Extracted packet for processing {"connection_id":193171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49a"} 
[2026-09-24 23:39:07] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111823232,"longitude_deg":75.8431488,"latitude_deg":11.1823232,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4980","is_valid_coordinates":true} 
[2026-09-24 23:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309880320001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790273271000,"timestamp_ms":1790273271000,"timestamp_seconds":1790273271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49a34d8"} 
[2026-09-24 23:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 23:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309880320001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309880320001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:39:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:39:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309880320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":193171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:39:07] local.INFO: GPS data processed {"connection_id":193171,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:39:07] local.INFO: Acknowledgment sent {"connection_id":193171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:39:11] local.INFO: TCP Data received {"connection_id":191793,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:39:11] local.INFO: Processing buffer {"connection_id":191793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:39:11] local.INFO: IMEI packet received {"connection_id":191793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":191793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:39:12] local.INFO: TCP Data received {"connection_id":191793,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4997570012d084b4006fad8f0000c00ae31..."} 
[2026-09-24 23:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4997570012d084b4006fad8f0000c00ae31..."} 
[2026-09-24 23:39:12] local.INFO: Processing buffer {"connection_id":191793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4997570012d084b4006fad8f0000c00ae31..."} 
[2026-09-24 23:39:12] local.INFO: Packet analysis {"connection_id":191793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d499"} 
[2026-09-24 23:39:12] local.INFO: Extracted packet for processing {"connection_id":191793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d499"} 
[2026-09-24 23:39:12] local.INFO: GPS Element Parsed {"raw_longitude":755518272,"raw_latitude":117102832,"longitude_deg":75.5518272,"latitude_deg":11.7102832,"altitude":12,"angle":174,"satellites":49,"speed":0,"hex_longitude":"2d084b40","hex_latitude":"06fad8f0","is_valid_coordinates":true} 
[2026-09-24 23:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309939456001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":594123337075349504,"note":"Value kept but may cause issues"} 
[2026-09-24 23:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790273222000,"timestamp_ms":1790273222000,"timestamp_seconds":1790273222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4997570"} 
[2026-09-24 23:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:39: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-09-24 23:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-24 23:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309939456001,"66":27930,"56":206,"28":32256,"24":0,"16":3605341577150464,"45":594123337075349504},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,28,24,16,45]} 
[2026-09-24 23:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309939456001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:39:12] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-24 23:39:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-24 23:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":594123337075349504,"description":"Unknown IO ID 45"} 
[2026-09-24 23:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309939456001,"power":27930,"unknown_56":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":594123337075349504}} 
[2026-09-24 23:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":191793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892769,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:39:12] local.INFO: GPS data processed {"connection_id":191793,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:39:12] local.INFO: Acknowledgment sent {"connection_id":191793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:39:32] local.INFO: TCP Data received {"connection_id":191609,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:39:32] local.INFO: Processing buffer {"connection_id":191609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:39:32] local.INFO: IMEI packet received {"connection_id":191609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":191609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:39:37] local.INFO: TCP Data received {"connection_id":191609,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:39:37] local.INFO: Processing buffer {"connection_id":191609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:39:37] local.INFO: IMEI packet received {"connection_id":191609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":191609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:39:38] local.INFO: TCP Data received {"connection_id":191609,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:39:38] local.INFO: Processing buffer {"connection_id":191609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:39:38] local.INFO: Packet analysis {"connection_id":191609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49a"} 
[2026-09-24 23:39:38] local.INFO: Extracted packet for processing {"connection_id":191609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49a"} 
[2026-09-24 23:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111823232,"longitude_deg":75.8431488,"latitude_deg":11.1823232,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4980","is_valid_coordinates":true} 
[2026-09-24 23:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309880320001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790273271000,"timestamp_ms":1790273271000,"timestamp_seconds":1790273271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49a34d8"} 
[2026-09-24 23:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 23:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309880320001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309880320001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:39:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:39:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309880320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":191609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:39:38] local.INFO: GPS data processed {"connection_id":191609,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:39:38] local.INFO: Acknowledgment sent {"connection_id":191609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:39:43] local.INFO: TCP Data received {"connection_id":191609,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:39:43] local.INFO: Processing buffer {"connection_id":191609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:39:43] local.INFO: Packet analysis {"connection_id":191609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49a"} 
[2026-09-24 23:39:43] local.INFO: Extracted packet for processing {"connection_id":191609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49a"} 
[2026-09-24 23:39:43] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111823232,"longitude_deg":75.8431488,"latitude_deg":11.1823232,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4980","is_valid_coordinates":true} 
[2026-09-24 23:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309880320001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790273271000,"timestamp_ms":1790273271000,"timestamp_seconds":1790273271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49a34d8"} 
[2026-09-24 23:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 23:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309880320001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309880320001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:39:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:39:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309880320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":191609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:39:43] local.INFO: GPS data processed {"connection_id":191609,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:39:43] local.INFO: Acknowledgment sent {"connection_id":191609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:39:50] local.INFO: TCP Data received {"connection_id":191793,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49a58000100000000000000000000000000..."} 
[2026-09-24 23:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49a58000100000000000000000000000000..."} 
[2026-09-24 23:39:50] local.INFO: Processing buffer {"connection_id":191793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49a58000100000000000000000000000000..."} 
[2026-09-24 23:39:50] local.INFO: Packet analysis {"connection_id":191793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49a"} 
[2026-09-24 23:39:50] local.INFO: Extracted packet for processing {"connection_id":191793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49a"} 
[2026-09-24 23:39:50] 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-09-24 23:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309944832001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":597641774279225344,"note":"Value kept but may cause issues"} 
[2026-09-24 23:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790273280000,"timestamp_ms":1790273280000,"timestamp_seconds":1790273280,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49a5800"} 
[2026-09-24 23:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:39:50] 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-09-24 23:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-24 23:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":191793,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 23:39:50] local.INFO: GPS data processed {"connection_id":191793,"processed":0,"errors":0,"total":1} 
[2026-09-24 23:39:50] local.INFO: Acknowledgment sent {"connection_id":191793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:40:06] local.INFO: TCP Data received {"connection_id":194463,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:40:06] local.INFO: Processing buffer {"connection_id":194463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:40:06] local.INFO: IMEI packet received {"connection_id":194463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":194463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:40:27] local.INFO: TCP Data received {"connection_id":194464,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:40:27] local.INFO: Processing buffer {"connection_id":194464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:40:27] local.INFO: IMEI packet received {"connection_id":194464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":194464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:40:32] local.INFO: TCP Data received {"connection_id":194464,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:40:32] local.INFO: Processing buffer {"connection_id":194464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:40:32] local.INFO: IMEI packet received {"connection_id":194464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":194464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:40:33] local.INFO: TCP Data received {"connection_id":194464,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:40:33] local.INFO: Processing buffer {"connection_id":194464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:40:33] local.INFO: Packet analysis {"connection_id":194464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49a"} 
[2026-09-24 23:40:33] local.INFO: Extracted packet for processing {"connection_id":194464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49a"} 
[2026-09-24 23:40:33] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111823232,"longitude_deg":75.8431488,"latitude_deg":11.1823232,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4980","is_valid_coordinates":true} 
[2026-09-24 23:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309880320001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790273271000,"timestamp_ms":1790273271000,"timestamp_seconds":1790273271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49a34d8"} 
[2026-09-24 23:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 23:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309880320001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309880320001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:40:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:40:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309880320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":194464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:40:33] local.INFO: GPS data processed {"connection_id":194464,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:40:33] local.INFO: Acknowledgment sent {"connection_id":194464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:41:05] local.INFO: TCP Data received {"connection_id":194464,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:41:05] local.INFO: Processing buffer {"connection_id":194464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:41:05] local.INFO: Packet analysis {"connection_id":194464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49a"} 
[2026-09-24 23:41:05] local.INFO: Extracted packet for processing {"connection_id":194464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49a"} 
[2026-09-24 23:41:05] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111823232,"longitude_deg":75.8431488,"latitude_deg":11.1823232,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4980","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309880320001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790273271000,"timestamp_ms":1790273271000,"timestamp_seconds":1790273271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49a34d8"} 
[2026-09-24 23:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:41: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-09-24 23:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 23:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309880320001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309880320001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:41:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:41:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309880320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":194464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:41:05] local.INFO: GPS data processed {"connection_id":194464,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:41:05] local.INFO: Acknowledgment sent {"connection_id":194464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:41:11] local.INFO: TCP Data received {"connection_id":194463,"ip":"117.224.31.21","data_length":51,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-24 23:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194463,"packet_length":51,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-24 23:41:11] local.INFO: Processing buffer {"connection_id":194463,"buffer_length":51,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-24 23:41:11] local.INFO: IMEI packet received {"connection_id":194463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":194463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:41:27] local.INFO: TCP Data received {"connection_id":191610,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:41:27] local.INFO: Processing buffer {"connection_id":191610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:41:27] local.INFO: IMEI packet received {"connection_id":191610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":191610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:41:32] local.INFO: TCP Data received {"connection_id":191610,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:41:32] local.INFO: Processing buffer {"connection_id":191610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:41:32] local.INFO: IMEI packet received {"connection_id":191610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":191610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:41:33] local.INFO: TCP Data received {"connection_id":191610,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:41:33] local.INFO: Processing buffer {"connection_id":191610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:41:33] local.INFO: Packet analysis {"connection_id":191610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49a"} 
[2026-09-24 23:41:33] local.INFO: Extracted packet for processing {"connection_id":191610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49a"} 
[2026-09-24 23:41:33] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111823232,"longitude_deg":75.8431488,"latitude_deg":11.1823232,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4980","is_valid_coordinates":true} 
[2026-09-24 23:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309880320001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790273271000,"timestamp_ms":1790273271000,"timestamp_seconds":1790273271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49a34d8"} 
[2026-09-24 23:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 23:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309880320001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309880320001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:41:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:41:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309880320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":191610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:41:33] local.INFO: GPS data processed {"connection_id":191610,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:41:33] local.INFO: Acknowledgment sent {"connection_id":191610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:42:05] local.INFO: TCP Data received {"connection_id":191610,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:42:05] local.INFO: Processing buffer {"connection_id":191610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:42:05] local.INFO: Packet analysis {"connection_id":191610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49a"} 
[2026-09-24 23:42:05] local.INFO: Extracted packet for processing {"connection_id":191610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49a"} 
[2026-09-24 23:42:05] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111823232,"longitude_deg":75.8431488,"latitude_deg":11.1823232,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4980","is_valid_coordinates":true} 
[2026-09-24 23:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309880320001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790273271000,"timestamp_ms":1790273271000,"timestamp_seconds":1790273271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49a34d8"} 
[2026-09-24 23:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 23:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309880320001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309880320001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:42:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:42:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309880320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":191610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:42:05] local.INFO: GPS data processed {"connection_id":191610,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:42:05] local.INFO: Acknowledgment sent {"connection_id":191610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:42:27] local.INFO: TCP Data received {"connection_id":193174,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:42:27] local.INFO: Processing buffer {"connection_id":193174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:42:27] local.INFO: IMEI packet received {"connection_id":193174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":193174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:42:32] local.INFO: TCP Data received {"connection_id":193174,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:42:32] local.INFO: Processing buffer {"connection_id":193174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:42:32] local.INFO: IMEI packet received {"connection_id":193174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":193174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:42:34] local.INFO: TCP Data received {"connection_id":193174,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:42:34] local.INFO: Processing buffer {"connection_id":193174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:42:34] local.INFO: Packet analysis {"connection_id":193174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49a"} 
[2026-09-24 23:42:34] local.INFO: Extracted packet for processing {"connection_id":193174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49a"} 
[2026-09-24 23:42:34] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111823232,"longitude_deg":75.8431488,"latitude_deg":11.1823232,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4980","is_valid_coordinates":true} 
[2026-09-24 23:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309880320001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790273271000,"timestamp_ms":1790273271000,"timestamp_seconds":1790273271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49a34d8"} 
[2026-09-24 23:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23: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-09-24 23:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 23:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309880320001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309880320001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:42:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:42:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309880320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":193174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:42:34] local.INFO: GPS data processed {"connection_id":193174,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:42:34] local.INFO: Acknowledgment sent {"connection_id":193174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:43:05] local.INFO: TCP Data received {"connection_id":193174,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:43:05] local.INFO: Processing buffer {"connection_id":193174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49a34d8012d34bf0006aa4980000900f52f..."} 
[2026-09-24 23:43:05] local.INFO: Packet analysis {"connection_id":193174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49a"} 
[2026-09-24 23:43:05] local.INFO: Extracted packet for processing {"connection_id":193174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49a"} 
[2026-09-24 23:43:05] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111823232,"longitude_deg":75.8431488,"latitude_deg":11.1823232,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4980","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309880320001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790273271000,"timestamp_ms":1790273271000,"timestamp_seconds":1790273271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49a34d8"} 
[2026-09-24 23:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-24 23:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309880320001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309880320001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:43:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:43:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309880320001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":193174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:43:05] local.INFO: GPS data processed {"connection_id":193174,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:43:05] local.INFO: Acknowledgment sent {"connection_id":193174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:43:27] local.INFO: TCP Data received {"connection_id":194466,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:43:27] local.INFO: Processing buffer {"connection_id":194466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:43:27] local.INFO: IMEI packet received {"connection_id":194466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":194466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:43:30] local.INFO: TCP Data received {"connection_id":194466,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:43:30] local.INFO: Processing buffer {"connection_id":194466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:43:30] local.INFO: IMEI packet received {"connection_id":194466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":194466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:43:32] local.INFO: TCP Data received {"connection_id":194466,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:43:32] local.INFO: Processing buffer {"connection_id":194466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:43:32] local.INFO: IMEI packet received {"connection_id":194466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":194466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:43:33] local.INFO: TCP Data received {"connection_id":194466,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:43:33] local.INFO: Processing buffer {"connection_id":194466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:43:33] local.INFO: Packet analysis {"connection_id":194466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:43:33] local.INFO: Extracted packet for processing {"connection_id":194466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:43:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309957376001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150735360,"note":"Value kept but may cause issues"} 
[2026-09-24 23:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790273572000,"timestamp_ms":1790273572000,"timestamp_seconds":1790273572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49ecca0"} 
[2026-09-24 23:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 23:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309957376001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800756639150735360},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309957376001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:43:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:43:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150735360,"description":"Unknown IO ID 45"} 
[2026-09-24 23:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309957376001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150735360}} 
[2026-09-24 23:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":194466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:43:33] local.INFO: GPS data processed {"connection_id":194466,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:43:33] local.INFO: Acknowledgment sent {"connection_id":194466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:43:37] local.INFO: TCP Data received {"connection_id":194466,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:43:37] local.INFO: Processing buffer {"connection_id":194466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:43:37] local.INFO: Packet analysis {"connection_id":194466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:43:37] local.INFO: Extracted packet for processing {"connection_id":194466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309957376001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150735360,"note":"Value kept but may cause issues"} 
[2026-09-24 23:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790273572000,"timestamp_ms":1790273572000,"timestamp_seconds":1790273572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49ecca0"} 
[2026-09-24 23:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 23:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":194466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":194466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":194466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309957376001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800756639150735360},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309957376001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:43:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150735360,"description":"Unknown IO ID 45"} 
[2026-09-24 23:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309957376001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150735360}} 
[2026-09-24 23:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":194466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:43:37] local.INFO: GPS data processed {"connection_id":194466,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:43:37] local.INFO: Acknowledgment sent {"connection_id":194466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:44:09] local.INFO: TCP Data received {"connection_id":194466,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:44:09] local.INFO: Processing buffer {"connection_id":194466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:44:09] local.INFO: Packet analysis {"connection_id":194466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:44:09] local.INFO: Extracted packet for processing {"connection_id":194466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309957376001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150735360,"note":"Value kept but may cause issues"} 
[2026-09-24 23:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790273572000,"timestamp_ms":1790273572000,"timestamp_seconds":1790273572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49ecca0"} 
[2026-09-24 23:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:44: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-09-24 23:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 23:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":194466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":194466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":194466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309957376001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800756639150735360},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309957376001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:44:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150735360,"description":"Unknown IO ID 45"} 
[2026-09-24 23:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309957376001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150735360}} 
[2026-09-24 23:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":194466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:44:09] local.INFO: GPS data processed {"connection_id":194466,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:44:09] local.INFO: Acknowledgment sent {"connection_id":194466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:44:27] local.INFO: TCP Data received {"connection_id":191795,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:44:27] local.INFO: Processing buffer {"connection_id":191795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:44:27] local.INFO: IMEI packet received {"connection_id":191795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":191795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:44:32] local.INFO: TCP Data received {"connection_id":191795,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:44:32] local.INFO: Processing buffer {"connection_id":191795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:44:32] local.INFO: IMEI packet received {"connection_id":191795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":191795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:44:33] local.INFO: TCP Data received {"connection_id":191795,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:44:33] local.INFO: Processing buffer {"connection_id":191795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:44:33] local.INFO: Packet analysis {"connection_id":191795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:44:33] local.INFO: Extracted packet for processing {"connection_id":191795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:44:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309957376001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150735360,"note":"Value kept but may cause issues"} 
[2026-09-24 23:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790273572000,"timestamp_ms":1790273572000,"timestamp_seconds":1790273572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49ecca0"} 
[2026-09-24 23:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 23:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309957376001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800756639150735360},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309957376001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:44:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:44:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150735360,"description":"Unknown IO ID 45"} 
[2026-09-24 23:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309957376001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150735360}} 
[2026-09-24 23:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":191795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:44:33] local.INFO: GPS data processed {"connection_id":191795,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:44:33] local.INFO: Acknowledgment sent {"connection_id":191795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:44:38] local.INFO: TCP Data received {"connection_id":191795,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:44:38] local.INFO: Processing buffer {"connection_id":191795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:44:38] local.INFO: Packet analysis {"connection_id":191795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:44:38] local.INFO: Extracted packet for processing {"connection_id":191795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309957376001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150735360,"note":"Value kept but may cause issues"} 
[2026-09-24 23:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790273572000,"timestamp_ms":1790273572000,"timestamp_seconds":1790273572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49ecca0"} 
[2026-09-24 23:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 23:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309957376001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800756639150735360},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309957376001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:44:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150735360,"description":"Unknown IO ID 45"} 
[2026-09-24 23:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309957376001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150735360}} 
[2026-09-24 23:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":191795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:44:38] local.INFO: GPS data processed {"connection_id":191795,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:44:38] local.INFO: Acknowledgment sent {"connection_id":191795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:45:10] local.INFO: TCP Data received {"connection_id":191795,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:45:10] local.INFO: Processing buffer {"connection_id":191795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:45:10] local.INFO: Packet analysis {"connection_id":191795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:45:10] local.INFO: Extracted packet for processing {"connection_id":191795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:45:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309957376001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150735360,"note":"Value kept but may cause issues"} 
[2026-09-24 23:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790273572000,"timestamp_ms":1790273572000,"timestamp_seconds":1790273572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49ecca0"} 
[2026-09-24 23:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 23:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309957376001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800756639150735360},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309957376001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:45:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:45:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150735360,"description":"Unknown IO ID 45"} 
[2026-09-24 23:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309957376001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150735360}} 
[2026-09-24 23:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":191795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:45:10] local.INFO: GPS data processed {"connection_id":191795,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:45:10] local.INFO: Acknowledgment sent {"connection_id":191795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:45:27] local.INFO: TCP Data received {"connection_id":194467,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:45:27] local.INFO: Processing buffer {"connection_id":194467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:45:27] local.INFO: IMEI packet received {"connection_id":194467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":194467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:45:32] local.INFO: TCP Data received {"connection_id":194467,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:45:32] local.INFO: Processing buffer {"connection_id":194467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:45:32] local.INFO: IMEI packet received {"connection_id":194467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":194467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:45:33] local.INFO: TCP Data received {"connection_id":194467,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:45:33] local.INFO: Processing buffer {"connection_id":194467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:45:33] local.INFO: Packet analysis {"connection_id":194467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:45:33] local.INFO: Extracted packet for processing {"connection_id":194467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:45:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309957376001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150735360,"note":"Value kept but may cause issues"} 
[2026-09-24 23:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790273572000,"timestamp_ms":1790273572000,"timestamp_seconds":1790273572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49ecca0"} 
[2026-09-24 23:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 23:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309957376001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800756639150735360},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309957376001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:45:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:45:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150735360,"description":"Unknown IO ID 45"} 
[2026-09-24 23:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309957376001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150735360}} 
[2026-09-24 23:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":194467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:45:33] local.INFO: GPS data processed {"connection_id":194467,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:45:33] local.INFO: Acknowledgment sent {"connection_id":194467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:46:04] local.INFO: TCP Data received {"connection_id":194467,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:46:04] local.INFO: Processing buffer {"connection_id":194467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:46:04] local.INFO: Packet analysis {"connection_id":194467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:46:04] local.INFO: Extracted packet for processing {"connection_id":194467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:46:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309957376001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150735360,"note":"Value kept but may cause issues"} 
[2026-09-24 23:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790273572000,"timestamp_ms":1790273572000,"timestamp_seconds":1790273572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49ecca0"} 
[2026-09-24 23:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 23:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309957376001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800756639150735360},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309957376001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:46:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:46:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150735360,"description":"Unknown IO ID 45"} 
[2026-09-24 23:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309957376001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150735360}} 
[2026-09-24 23:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":194467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:46:04] local.INFO: GPS data processed {"connection_id":194467,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:46:04] local.INFO: Acknowledgment sent {"connection_id":194467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:46:06] local.INFO: TCP Data received {"connection_id":193175,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193175,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:46:06] local.INFO: Processing buffer {"connection_id":193175,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:46:06] local.INFO: IMEI packet received {"connection_id":193175,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":193175,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:46:11] local.INFO: TCP Data received {"connection_id":193175,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193175,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:46:11] local.INFO: Processing buffer {"connection_id":193175,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:46:11] local.INFO: IMEI packet received {"connection_id":193175,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":193175,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:46:12] local.INFO: TCP Data received {"connection_id":193175,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49eff68012d08fc8006f4ede8000b008c30..."} 
[2026-09-24 23:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49eff68012d08fc8006f4ede8000b008c30..."} 
[2026-09-24 23:46:12] local.INFO: Processing buffer {"connection_id":193175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49eff68012d08fc8006f4ede8000b008c30..."} 
[2026-09-24 23:46:12] local.INFO: Packet analysis {"connection_id":193175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:46:12] local.INFO: Extracted packet for processing {"connection_id":193175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:46:12] local.INFO: GPS Element Parsed {"raw_longitude":755563648,"raw_latitude":116714984,"longitude_deg":75.5563648,"latitude_deg":11.6714984,"altitude":11,"angle":140,"satellites":48,"speed":29,"hex_longitude":"2d08fc80","hex_latitude":"06f4ede8","is_valid_coordinates":true} 
[2026-09-24 23:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310032384001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":634937208597280768,"note":"Value kept but may cause issues"} 
[2026-09-24 23:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790273585000,"timestamp_ms":1790273585000,"timestamp_seconds":1790273585,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49eff68"} 
[2026-09-24 23:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:46: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-09-24 23:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-24 23:46:12] 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-09-24 23:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193175,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193175,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310032384001,"66":27952,"67":206,"2":56576,"24":29,"16":3605341577150464,"45":634937208597280768},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-09-24 23:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310032384001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:46:12] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-24 23:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":634937208597280768,"description":"Unknown IO ID 45"} 
[2026-09-24 23:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310032384001,"power":27952,"unknown_67":206,"power_alt":56576,"ignition":29,"odometer":null,"unknown_45":634937208597280768}} 
[2026-09-24 23:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":193175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892786,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:46:12] local.INFO: GPS data processed {"connection_id":193175,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:46:12] local.INFO: Acknowledgment sent {"connection_id":193175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:46:27] local.INFO: TCP Data received {"connection_id":194468,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:46:27] local.INFO: Processing buffer {"connection_id":194468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:46:27] local.INFO: IMEI packet received {"connection_id":194468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":194468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:46:32] local.INFO: TCP Data received {"connection_id":194468,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:46:32] local.INFO: Processing buffer {"connection_id":194468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:46:32] local.INFO: IMEI packet received {"connection_id":194468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":194468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:46:33] local.INFO: TCP Data received {"connection_id":194468,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:46:33] local.INFO: Processing buffer {"connection_id":194468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:46:33] local.INFO: Packet analysis {"connection_id":194468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:46:33] local.INFO: Extracted packet for processing {"connection_id":194468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:46:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309957376001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150735360,"note":"Value kept but may cause issues"} 
[2026-09-24 23:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790273572000,"timestamp_ms":1790273572000,"timestamp_seconds":1790273572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49ecca0"} 
[2026-09-24 23:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 23:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309957376001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800756639150735360},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309957376001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:46:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:46:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150735360,"description":"Unknown IO ID 45"} 
[2026-09-24 23:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309957376001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150735360}} 
[2026-09-24 23:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":194468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:46:33] local.INFO: GPS data processed {"connection_id":194468,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:46:33] local.INFO: Acknowledgment sent {"connection_id":194468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:46:44] local.INFO: TCP Data received {"connection_id":193175,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49fe1f80100000000000000000000000000..."} 
[2026-09-24 23:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49fe1f80100000000000000000000000000..."} 
[2026-09-24 23:46:44] local.INFO: Processing buffer {"connection_id":193175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49fe1f80100000000000000000000000000..."} 
[2026-09-24 23:46:44] local.INFO: Packet analysis {"connection_id":193175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49f"} 
[2026-09-24 23:46:44] local.INFO: Extracted packet for processing {"connection_id":193175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49f"} 
[2026-09-24 23:46:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 23:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310037760001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":647533213801900032,"note":"Value kept but may cause issues"} 
[2026-09-24 23:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790273643000,"timestamp_ms":1790273643000,"timestamp_seconds":1790273643,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49fe1f8"} 
[2026-09-24 23:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 23:46:44] 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-09-24 23:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193175,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193175,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":193175,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 23:46:44] local.INFO: GPS data processed {"connection_id":193175,"processed":0,"errors":0,"total":1} 
[2026-09-24 23:46:44] local.INFO: Acknowledgment sent {"connection_id":193175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:47:06] local.INFO: TCP Data received {"connection_id":194468,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:47:06] local.INFO: Processing buffer {"connection_id":194468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:47:06] local.INFO: Packet analysis {"connection_id":194468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:47:06] local.INFO: Extracted packet for processing {"connection_id":194468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:47:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309957376001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150735360,"note":"Value kept but may cause issues"} 
[2026-09-24 23:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790273572000,"timestamp_ms":1790273572000,"timestamp_seconds":1790273572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49ecca0"} 
[2026-09-24 23:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 23:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309957376001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800756639150735360},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309957376001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:47:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:47:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150735360,"description":"Unknown IO ID 45"} 
[2026-09-24 23:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309957376001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150735360}} 
[2026-09-24 23:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":194468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:47:06] local.INFO: GPS data processed {"connection_id":194468,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:47:06] local.INFO: Acknowledgment sent {"connection_id":194468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:47:11] local.INFO: TCP Data received {"connection_id":194469,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:47:11] local.INFO: Processing buffer {"connection_id":194469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:47:11] local.INFO: IMEI packet received {"connection_id":194469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":194469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:47:16] local.INFO: TCP Data received {"connection_id":194469,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:47:16] local.INFO: Processing buffer {"connection_id":194469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:47:16] local.INFO: IMEI packet received {"connection_id":194469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":194469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:47:18] local.INFO: TCP Data received {"connection_id":194469,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49f5558012d09254006f4bb20000b00902f..."} 
[2026-09-24 23:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49f5558012d09254006f4bb20000b00902f..."} 
[2026-09-24 23:47:18] local.INFO: Processing buffer {"connection_id":194469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49f5558012d09254006f4bb20000b00902f..."} 
[2026-09-24 23:47:18] local.INFO: Packet analysis {"connection_id":194469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49f"} 
[2026-09-24 23:47:18] local.INFO: Extracted packet for processing {"connection_id":194469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49f"} 
[2026-09-24 23:47:18] local.INFO: GPS Element Parsed {"raw_longitude":755574080,"raw_latitude":116701984,"longitude_deg":75.557408,"latitude_deg":11.6701984,"altitude":11,"angle":144,"satellites":47,"speed":29,"hex_longitude":"2d092540","hex_latitude":"06f4bb20","is_valid_coordinates":true} 
[2026-09-24 23:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:47:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,67,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 23:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790273607000,"timestamp_ms":1790273607000,"timestamp_seconds":1790273607,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49f5558"} 
[2026-09-24 23:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:47:18] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 23:47:18] 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-09-24 23:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":194469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":194469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":194469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27484,"67":206,"2":56576,"24":29,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16]} 
[2026-09-24 23:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 23:47:18] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-24 23:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:47:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27484,"unknown_67":206,"power_alt":56576,"ignition":29,"odometer":null}} 
[2026-09-24 23:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":194469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892789,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:47:18] local.INFO: GPS data processed {"connection_id":194469,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:47:18] local.INFO: Acknowledgment sent {"connection_id":194469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:47:22] local.INFO: TCP Data received {"connection_id":194469,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a037e80100000000000000000000000000..."} 
[2026-09-24 23:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a037e80100000000000000000000000000..."} 
[2026-09-24 23:47:22] local.INFO: Processing buffer {"connection_id":194469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a037e80100000000000000000000000000..."} 
[2026-09-24 23:47:22] local.INFO: Packet analysis {"connection_id":194469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a0"} 
[2026-09-24 23:47:22] local.INFO: Extracted packet for processing {"connection_id":194469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a0"} 
[2026-09-24 23:47:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 23:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310043392001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":659003319099531264,"note":"Value kept but may cause issues"} 
[2026-09-24 23:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790273665000,"timestamp_ms":1790273665000,"timestamp_seconds":1790273665,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a037e8"} 
[2026-09-24 23:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-24 23:47:22] 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-09-24 23:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":194469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":194469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":194469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":194469,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 23:47:22] local.INFO: GPS data processed {"connection_id":194469,"processed":0,"errors":0,"total":1} 
[2026-09-24 23:47:22] local.INFO: Acknowledgment sent {"connection_id":194469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:47:27] local.INFO: TCP Data received {"connection_id":193176,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:47:27] local.INFO: Processing buffer {"connection_id":193176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:47:27] local.INFO: IMEI packet received {"connection_id":193176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":193176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:47:32] local.INFO: TCP Data received {"connection_id":193176,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:47:32] local.INFO: Processing buffer {"connection_id":193176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:47:32] local.INFO: IMEI packet received {"connection_id":193176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":193176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:47:33] local.INFO: TCP Data received {"connection_id":193176,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:47:33] local.INFO: Processing buffer {"connection_id":193176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:47:33] local.INFO: Packet analysis {"connection_id":193176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:47:33] local.INFO: Extracted packet for processing {"connection_id":193176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:47:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309957376001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150735360,"note":"Value kept but may cause issues"} 
[2026-09-24 23:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790273572000,"timestamp_ms":1790273572000,"timestamp_seconds":1790273572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49ecca0"} 
[2026-09-24 23:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 23:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309957376001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800756639150735360},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309957376001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:47:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:47:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150735360,"description":"Unknown IO ID 45"} 
[2026-09-24 23:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309957376001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150735360}} 
[2026-09-24 23:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":193176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:47:33] local.INFO: GPS data processed {"connection_id":193176,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:47:33] local.INFO: Acknowledgment sent {"connection_id":193176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:48:04] local.INFO: TCP Data received {"connection_id":193176,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:48:04] local.INFO: Processing buffer {"connection_id":193176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d49ecca0012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:48:04] local.INFO: Packet analysis {"connection_id":193176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:48:04] local.INFO: Extracted packet for processing {"connection_id":193176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d49e"} 
[2026-09-24 23:48:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458309957376001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150735360,"note":"Value kept but may cause issues"} 
[2026-09-24 23:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790273572000,"timestamp_ms":1790273572000,"timestamp_seconds":1790273572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d49ecca0"} 
[2026-09-24 23:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:48: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-09-24 23:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 23:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458309957376001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800756639150735360},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458309957376001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:48:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:48:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150735360,"description":"Unknown IO ID 45"} 
[2026-09-24 23:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458309957376001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150735360}} 
[2026-09-24 23:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":193176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:48:04] local.INFO: GPS data processed {"connection_id":193176,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:48:04] local.INFO: Acknowledgment sent {"connection_id":193176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:48:04] local.INFO: TCP Data received {"connection_id":193177,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:48:04] local.INFO: Processing buffer {"connection_id":193177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:48:04] local.INFO: IMEI packet received {"connection_id":193177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":193177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:48:06] local.INFO: TCP Data received {"connection_id":193177,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:48:06] local.INFO: Processing buffer {"connection_id":193177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:48:06] local.INFO: IMEI packet received {"connection_id":193177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":193177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:48:10] local.INFO: TCP Data received {"connection_id":193177,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:48:10] local.INFO: Processing buffer {"connection_id":193177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:48:10] local.INFO: IMEI packet received {"connection_id":193177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":193177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:48:12] local.INFO: TCP Data received {"connection_id":193177,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a256e0012d09b64006f2aa40000c00ab2e..."} 
[2026-09-24 23:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a256e0012d09b64006f2aa40000c00ab2e..."} 
[2026-09-24 23:48:12] local.INFO: Processing buffer {"connection_id":193177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a256e0012d09b64006f2aa40000c00ab2e..."} 
[2026-09-24 23:48:12] local.INFO: Packet analysis {"connection_id":193177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a2"} 
[2026-09-24 23:48:12] local.INFO: Extracted packet for processing {"connection_id":193177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a2"} 
[2026-09-24 23:48:12] local.INFO: GPS Element Parsed {"raw_longitude":755611200,"raw_latitude":116566592,"longitude_deg":75.56112,"latitude_deg":11.6566592,"altitude":12,"angle":171,"satellites":46,"speed":0,"hex_longitude":"2d09b640","hex_latitude":"06f2aa40","is_valid_coordinates":true} 
[2026-09-24 23:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310088448001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":697424653389058048,"note":"Value kept but may cause issues"} 
[2026-09-24 23:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790273804000,"timestamp_ms":1790273804000,"timestamp_seconds":1790273804,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a256e0"} 
[2026-09-24 23:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 23:48: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-09-24 23:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310088448001,"66":28028,"119":206,"2":56576,"24":0,"16":3605341577150464,"45":697424653389058048},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-09-24 23:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310088448001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:48:12] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-24 23:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":697424653389058048,"description":"Unknown IO ID 45"} 
[2026-09-24 23:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310088448001,"power":28028,"unknown_119":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":697424653389058048}} 
[2026-09-24 23:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":193177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892792,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:48:12] local.INFO: GPS data processed {"connection_id":193177,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:48:12] local.INFO: Acknowledgment sent {"connection_id":193177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:48:27] local.INFO: TCP Data received {"connection_id":191612,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:48:27] local.INFO: Processing buffer {"connection_id":191612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:48:27] local.INFO: IMEI packet received {"connection_id":191612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":191612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:48:31] local.INFO: TCP Data received {"connection_id":191612,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:48:31] local.INFO: Processing buffer {"connection_id":191612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:48:31] local.INFO: IMEI packet received {"connection_id":191612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":191612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:48:33] local.INFO: TCP Data received {"connection_id":191612,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:48:33] local.INFO: Processing buffer {"connection_id":191612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:48:33] local.INFO: Packet analysis {"connection_id":191612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:48:33] local.INFO: Extracted packet for processing {"connection_id":191612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:48:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310034432001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790273873000,"timestamp_ms":1790273873000,"timestamp_seconds":1790273873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a36468"} 
[2026-09-24 23:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 23:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310034432001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310034432001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:48:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:48:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310034432001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":191612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:48:33] local.INFO: GPS data processed {"connection_id":191612,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:48:33] local.INFO: Acknowledgment sent {"connection_id":191612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:48:44] local.INFO: TCP Data received {"connection_id":193177,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a2a8e8012d09c5c006f26670000900a42d..."} 
[2026-09-24 23:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a2a8e8012d09c5c006f26670000900a42d..."} 
[2026-09-24 23:48:44] local.INFO: Processing buffer {"connection_id":193177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a2a8e8012d09c5c006f26670000900a42d..."} 
[2026-09-24 23:48:44] local.INFO: Packet analysis {"connection_id":193177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a2"} 
[2026-09-24 23:48:44] local.INFO: Extracted packet for processing {"connection_id":193177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a2"} 
[2026-09-24 23:48:44] local.INFO: GPS Element Parsed {"raw_longitude":755615168,"raw_latitude":116549232,"longitude_deg":75.5615168,"latitude_deg":11.6549232,"altitude":9,"angle":164,"satellites":45,"speed":40,"hex_longitude":"2d09c5c0","hex_latitude":"06f26670","is_valid_coordinates":true} 
[2026-09-24 23:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310093824001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":699817190687916032,"note":"Value kept but may cause issues"} 
[2026-09-24 23:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790273825000,"timestamp_ms":1790273825000,"timestamp_seconds":1790273825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a2a8e8"} 
[2026-09-24 23:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-24 23:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310093824001,"66":27550,"119":206,"2":56576,"24":40,"16":3605341577150464,"45":699817190687916032},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-09-24 23:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310093824001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:48:44] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-24 23:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":699817190687916032,"description":"Unknown IO ID 45"} 
[2026-09-24 23:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310093824001,"power":27550,"unknown_119":206,"power_alt":56576,"ignition":40,"odometer":null,"unknown_45":699817190687916032}} 
[2026-09-24 23:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":193177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892794,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:48:44] local.INFO: GPS data processed {"connection_id":193177,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:48:44] local.INFO: Acknowledgment sent {"connection_id":193177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:49:04] local.INFO: TCP Data received {"connection_id":191612,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:49:04] local.INFO: Processing buffer {"connection_id":191612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:49:04] local.INFO: Packet analysis {"connection_id":191612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:49:04] local.INFO: Extracted packet for processing {"connection_id":191612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:49:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310034432001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790273873000,"timestamp_ms":1790273873000,"timestamp_seconds":1790273873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a36468"} 
[2026-09-24 23:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23: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-09-24 23:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 23:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310034432001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310034432001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:49:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:49:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310034432001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":191612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:49:04] local.INFO: GPS data processed {"connection_id":191612,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:49:04] local.INFO: Acknowledgment sent {"connection_id":191612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:49:15] local.INFO: TCP Data received {"connection_id":193178,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:49:15] local.INFO: Processing buffer {"connection_id":193178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:49:15] local.INFO: IMEI packet received {"connection_id":193178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":193178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:49:21] local.INFO: TCP Data received {"connection_id":193178,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:49:21] local.INFO: Processing buffer {"connection_id":193178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:49:21] local.INFO: IMEI packet received {"connection_id":193178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":193178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:49:22] local.INFO: TCP Data received {"connection_id":193178,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a2faf0012d09d84006f22240000600a72d..."} 
[2026-09-24 23:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a2faf0012d09d84006f22240000600a72d..."} 
[2026-09-24 23:49:22] local.INFO: Processing buffer {"connection_id":193178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a2faf0012d09d84006f22240000600a72d..."} 
[2026-09-24 23:49:22] local.INFO: Packet analysis {"connection_id":193178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a2"} 
[2026-09-24 23:49:22] local.INFO: Extracted packet for processing {"connection_id":193178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a2"} 
[2026-09-24 23:49:22] local.INFO: GPS Element Parsed {"raw_longitude":755619904,"raw_latitude":116531776,"longitude_deg":75.5619904,"latitude_deg":11.6531776,"altitude":6,"angle":167,"satellites":45,"speed":0,"hex_longitude":"2d09d840","hex_latitude":"06f22240","is_valid_coordinates":true} 
[2026-09-24 23:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310099200001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":704180052822487040,"note":"Value kept but may cause issues"} 
[2026-09-24 23:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790273846000,"timestamp_ms":1790273846000,"timestamp_seconds":1790273846,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a2faf0"} 
[2026-09-24 23:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-24 23:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193178,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193178,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310099200001,"66":28050,"119":206,"2":56576,"24":0,"16":3605341577150464,"45":704180052822487040},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-09-24 23:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310099200001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:49:22] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-24 23:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":704180052822487040,"description":"Unknown IO ID 45"} 
[2026-09-24 23:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310099200001,"power":28050,"unknown_119":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":704180052822487040}} 
[2026-09-24 23:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":193178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892796,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:49:23] local.INFO: GPS data processed {"connection_id":193178,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:49:23] local.INFO: Acknowledgment sent {"connection_id":193178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:49:27] local.INFO: TCP Data received {"connection_id":191796,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:49:27] local.INFO: Processing buffer {"connection_id":191796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:49:27] local.INFO: IMEI packet received {"connection_id":191796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":191796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:49:32] local.INFO: TCP Data received {"connection_id":191796,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:49:32] local.INFO: Processing buffer {"connection_id":191796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:49:32] local.INFO: IMEI packet received {"connection_id":191796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":191796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:49:33] local.INFO: TCP Data received {"connection_id":191796,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:49:33] local.INFO: Processing buffer {"connection_id":191796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:49:33] local.INFO: Packet analysis {"connection_id":191796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:49:33] local.INFO: Extracted packet for processing {"connection_id":191796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:49:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310034432001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790273873000,"timestamp_ms":1790273873000,"timestamp_seconds":1790273873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a36468"} 
[2026-09-24 23:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 23:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310034432001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310034432001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:49:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:49:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310034432001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":191796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:49:33] local.INFO: GPS data processed {"connection_id":191796,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:49:33] local.INFO: Acknowledgment sent {"connection_id":191796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:50:05] local.INFO: TCP Data received {"connection_id":191796,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:50:05] local.INFO: Processing buffer {"connection_id":191796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:50:05] local.INFO: Packet analysis {"connection_id":191796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:50:05] local.INFO: Extracted packet for processing {"connection_id":191796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:50:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310034432001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790273873000,"timestamp_ms":1790273873000,"timestamp_seconds":1790273873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a36468"} 
[2026-09-24 23:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 23:50: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-09-24 23: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-09-24 23:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310034432001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310034432001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:50:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:50:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310034432001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":191796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:50:05] local.INFO: GPS data processed {"connection_id":191796,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:50:05] local.INFO: Acknowledgment sent {"connection_id":191796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:50:06] local.INFO: TCP Data received {"connection_id":193179,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:50:06] local.INFO: Processing buffer {"connection_id":193179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:50:06] local.INFO: IMEI packet received {"connection_id":193179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":193179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:50:09] local.INFO: TCP Data received {"connection_id":193179,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:50:09] local.INFO: Processing buffer {"connection_id":193179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:50:09] local.INFO: IMEI packet received {"connection_id":193179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":193179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:50:10] local.INFO: TCP Data received {"connection_id":193179,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a34cf8012d09eb0006f1de00000a00a02e..."} 
[2026-09-24 23:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a34cf8012d09eb0006f1de00000a00a02e..."} 
[2026-09-24 23:50:10] local.INFO: Processing buffer {"connection_id":193179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a34cf8012d09eb0006f1de00000a00a02e..."} 
[2026-09-24 23:50:10] local.INFO: Packet analysis {"connection_id":193179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:50:10] local.INFO: Extracted packet for processing {"connection_id":193179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:50:10] local.INFO: GPS Element Parsed {"raw_longitude":755624704,"raw_latitude":116514304,"longitude_deg":75.5624704,"latitude_deg":11.6514304,"altitude":10,"angle":160,"satellites":46,"speed":0,"hex_longitude":"2d09eb00","hex_latitude":"06f1de00","is_valid_coordinates":true} 
[2026-09-24 23:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310104576001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":709387339887165440,"note":"Value kept but may cause issues"} 
[2026-09-24 23:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790273867000,"timestamp_ms":1790273867000,"timestamp_seconds":1790273867,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a34cf8"} 
[2026-09-24 23:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-24 23:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310104576001,"66":27832,"119":206,"2":56576,"24":0,"16":3605341577150464,"45":709387339887165440},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-09-24 23:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310104576001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:50:10] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-24 23:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":709387339887165440,"description":"Unknown IO ID 45"} 
[2026-09-24 23:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310104576001,"power":27832,"unknown_119":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":709387339887165440}} 
[2026-09-24 23:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":193179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892799,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:50:10] local.INFO: GPS data processed {"connection_id":193179,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:50:10] local.INFO: Acknowledgment sent {"connection_id":193179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:50:27] local.INFO: TCP Data received {"connection_id":194470,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:50:27] local.INFO: Processing buffer {"connection_id":194470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:50:27] local.INFO: IMEI packet received {"connection_id":194470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":194470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:50:32] local.INFO: TCP Data received {"connection_id":194470,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:50:32] local.INFO: Processing buffer {"connection_id":194470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:50:32] local.INFO: IMEI packet received {"connection_id":194470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":194470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:50:33] local.INFO: TCP Data received {"connection_id":194470,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:50:33] local.INFO: Processing buffer {"connection_id":194470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:50:33] local.INFO: Packet analysis {"connection_id":194470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:50:33] local.INFO: Extracted packet for processing {"connection_id":194470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:50:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310034432001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790273873000,"timestamp_ms":1790273873000,"timestamp_seconds":1790273873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a36468"} 
[2026-09-24 23:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 23:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310034432001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310034432001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:50:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:50:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310034432001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":194470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:50:33] local.INFO: GPS data processed {"connection_id":194470,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:50:33] local.INFO: Acknowledgment sent {"connection_id":194470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:50:42] local.INFO: TCP Data received {"connection_id":193179,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a38790012d0a06c006f1af70000d008e2d..."} 
[2026-09-24 23:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a38790012d0a06c006f1af70000d008e2d..."} 
[2026-09-24 23:50:42] local.INFO: Processing buffer {"connection_id":193179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a38790012d0a06c006f1af70000d008e2d..."} 
[2026-09-24 23:50:42] local.INFO: Packet analysis {"connection_id":193179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:50:42] local.INFO: Extracted packet for processing {"connection_id":193179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:50:42] local.INFO: GPS Element Parsed {"raw_longitude":755631808,"raw_latitude":116502384,"longitude_deg":75.5631808,"latitude_deg":11.6502384,"altitude":13,"angle":142,"satellites":45,"speed":20,"hex_longitude":"2d0a06c0","hex_latitude":"06f1af70","is_valid_coordinates":true} 
[2026-09-24 23:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310109952001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714664995696017408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790273882000,"timestamp_ms":1790273882000,"timestamp_seconds":1790273882,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a38790"} 
[2026-09-24 23:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-24 23:50:42] 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-09-24 23:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310109952001,"66":27952,"119":206,"2":56576,"24":20,"16":3605341577150464,"45":714664995696017408},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-09-24 23:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310109952001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:50:42] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-24 23:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":714664995696017408,"description":"Unknown IO ID 45"} 
[2026-09-24 23:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310109952001,"power":27952,"unknown_119":206,"power_alt":56576,"ignition":20,"odometer":null,"unknown_45":714664995696017408}} 
[2026-09-24 23:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":193179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892801,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:50:42] local.INFO: GPS data processed {"connection_id":193179,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:50:42] local.INFO: Acknowledgment sent {"connection_id":193179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:51:05] local.INFO: TCP Data received {"connection_id":194470,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:51:05] local.INFO: Processing buffer {"connection_id":194470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:51:05] local.INFO: Packet analysis {"connection_id":194470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:51:05] local.INFO: Extracted packet for processing {"connection_id":194470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:51:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310034432001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790273873000,"timestamp_ms":1790273873000,"timestamp_seconds":1790273873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a36468"} 
[2026-09-24 23:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 23:51: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-09-24 23:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310034432001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310034432001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:51:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:51:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310034432001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":194470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:51:05] local.INFO: GPS data processed {"connection_id":194470,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:51:05] local.INFO: Acknowledgment sent {"connection_id":194470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:51:06] local.INFO: TCP Data received {"connection_id":191613,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:51:06] local.INFO: Processing buffer {"connection_id":191613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:51:06] local.INFO: IMEI packet received {"connection_id":191613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":191613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:51:11] local.INFO: TCP Data received {"connection_id":191613,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:51:11] local.INFO: Processing buffer {"connection_id":191613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:51:11] local.INFO: IMEI packet received {"connection_id":191613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":191613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:51:13] local.INFO: TCP Data received {"connection_id":191613,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a46a200100000000000000000000000000..."} 
[2026-09-24 23:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a46a200100000000000000000000000000..."} 
[2026-09-24 23:51:13] local.INFO: Processing buffer {"connection_id":191613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a46a200100000000000000000000000000..."} 
[2026-09-24 23:51:13] local.INFO: Packet analysis {"connection_id":191613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a4"} 
[2026-09-24 23:51:13] local.INFO: Extracted packet for processing {"connection_id":191613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a4"} 
[2026-09-24 23:51:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 23:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310113792001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":722475926296686592,"note":"Value kept but may cause issues"} 
[2026-09-24 23:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790273940000,"timestamp_ms":1790273940000,"timestamp_seconds":1790273940,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a46a20"} 
[2026-09-24 23:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 23:51:13] 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-09-24 23:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":191613,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 23:51:13] local.INFO: GPS data processed {"connection_id":191613,"processed":0,"errors":0,"total":1} 
[2026-09-24 23:51:13] local.INFO: Acknowledgment sent {"connection_id":191613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:51:27] local.INFO: TCP Data received {"connection_id":193180,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:51:27] local.INFO: Processing buffer {"connection_id":193180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:51:27] local.INFO: IMEI packet received {"connection_id":193180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":193180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:51:32] local.INFO: TCP Data received {"connection_id":193180,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:51:32] local.INFO: Processing buffer {"connection_id":193180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:51:32] local.INFO: IMEI packet received {"connection_id":193180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":193180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:51:33] local.INFO: TCP Data received {"connection_id":193180,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:51:33] local.INFO: Processing buffer {"connection_id":193180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:51:33] local.INFO: Packet analysis {"connection_id":193180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:51:33] local.INFO: Extracted packet for processing {"connection_id":193180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:51:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310034432001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790273873000,"timestamp_ms":1790273873000,"timestamp_seconds":1790273873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a36468"} 
[2026-09-24 23:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 23:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310034432001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310034432001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:51:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:51:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310034432001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":193180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:51:33] local.INFO: GPS data processed {"connection_id":193180,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:51:33] local.INFO: Acknowledgment sent {"connection_id":193180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:51:44] local.INFO: TCP Data received {"connection_id":191613,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a3e938012d0a310006f189600014007a2d..."} 
[2026-09-24 23:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a3e938012d0a310006f189600014007a2d..."} 
[2026-09-24 23:51:44] local.INFO: Processing buffer {"connection_id":191613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a3e938012d0a310006f189600014007a2d..."} 
[2026-09-24 23:51:44] local.INFO: Packet analysis {"connection_id":191613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:51:44] local.INFO: Extracted packet for processing {"connection_id":191613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:51:44] local.INFO: GPS Element Parsed {"raw_longitude":755642624,"raw_latitude":116492640,"longitude_deg":75.5642624,"latitude_deg":11.649264,"altitude":20,"angle":122,"satellites":45,"speed":23,"hex_longitude":"2d0a3100","hex_latitude":"06f18960","is_valid_coordinates":true} 
[2026-09-24 23:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:51:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,119,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 23:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790273907000,"timestamp_ms":1790273907000,"timestamp_seconds":1790273907,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a3e938"} 
[2026-09-24 23:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-24 23:51:44] 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-09-24 23:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27995,"119":206,"2":56576,"24":23,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16]} 
[2026-09-24 23:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 23:51:44] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-24 23:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:51:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27995,"unknown_119":206,"power_alt":56576,"ignition":23,"odometer":null}} 
[2026-09-24 23:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":191613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892804,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:51:44] local.INFO: GPS data processed {"connection_id":191613,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:51:44] local.INFO: Acknowledgment sent {"connection_id":191613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:52:05] local.INFO: TCP Data received {"connection_id":193180,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:52:05] local.INFO: Processing buffer {"connection_id":193180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:52:05] local.INFO: Packet analysis {"connection_id":193180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:52:05] local.INFO: Extracted packet for processing {"connection_id":193180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:52:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310034432001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790273873000,"timestamp_ms":1790273873000,"timestamp_seconds":1790273873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a36468"} 
[2026-09-24 23:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 23:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310034432001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310034432001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:52:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:52:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310034432001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":193180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:52:05] local.INFO: GPS data processed {"connection_id":193180,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:52:05] local.INFO: Acknowledgment sent {"connection_id":193180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:52:05] local.INFO: TCP Data received {"connection_id":191797,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:52:05] local.INFO: Processing buffer {"connection_id":191797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:52:05] local.INFO: IMEI packet received {"connection_id":191797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":191797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:52:11] local.INFO: TCP Data received {"connection_id":191797,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:52:11] local.INFO: Processing buffer {"connection_id":191797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:52:11] local.INFO: IMEI packet received {"connection_id":191797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":191797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:52:12] local.INFO: TCP Data received {"connection_id":191797,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a4cbc80100000000000000000000000000..."} 
[2026-09-24 23:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a4cbc80100000000000000000000000000..."} 
[2026-09-24 23:52:12] local.INFO: Processing buffer {"connection_id":191797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a4cbc80100000000000000000000000000..."} 
[2026-09-24 23:52:12] local.INFO: Packet analysis {"connection_id":191797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a4"} 
[2026-09-24 23:52:12] local.INFO: Extracted packet for processing {"connection_id":191797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a4"} 
[2026-09-24 23:52:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 23:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310120192001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":734368244060217344,"note":"Value kept but may cause issues"} 
[2026-09-24 23:52:12] 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-09-24 23:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790273965000,"timestamp_ms":1790273965000,"timestamp_seconds":1790273965,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a4cbc8"} 
[2026-09-24 23:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:52: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-09-24 23:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 23:52:12] 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-09-24 23:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":191797,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 23:52:12] local.INFO: GPS data processed {"connection_id":191797,"processed":0,"errors":0,"total":1} 
[2026-09-24 23:52:12] local.INFO: Acknowledgment sent {"connection_id":191797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:52:27] local.INFO: TCP Data received {"connection_id":194471,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:52:27] local.INFO: Processing buffer {"connection_id":194471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:52:27] local.INFO: IMEI packet received {"connection_id":194471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":194471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:52:32] local.INFO: TCP Data received {"connection_id":194471,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:52:32] local.INFO: Processing buffer {"connection_id":194471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:52:32] local.INFO: IMEI packet received {"connection_id":194471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":194471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:52:34] local.INFO: TCP Data received {"connection_id":194471,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:52:34] local.INFO: Processing buffer {"connection_id":194471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:52:34] local.INFO: Packet analysis {"connection_id":194471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:52:34] local.INFO: Extracted packet for processing {"connection_id":194471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:52:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310034432001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790273873000,"timestamp_ms":1790273873000,"timestamp_seconds":1790273873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a36468"} 
[2026-09-24 23:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:52: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-09-24 23:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 23:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310034432001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310034432001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:52:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:52:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310034432001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":194471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:52:34] local.INFO: GPS data processed {"connection_id":194471,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:52:34] local.INFO: Acknowledgment sent {"connection_id":194471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:52:44] local.INFO: TCP Data received {"connection_id":191797,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a43f28012d0a648006f167200015007b24..."} 
[2026-09-24 23:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a43f28012d0a648006f167200015007b24..."} 
[2026-09-24 23:52:44] local.INFO: Processing buffer {"connection_id":191797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a43f28012d0a648006f167200015007b24..."} 
[2026-09-24 23:52:44] local.INFO: Packet analysis {"connection_id":191797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a4"} 
[2026-09-24 23:52:44] local.INFO: Extracted packet for processing {"connection_id":191797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a4"} 
[2026-09-24 23:52:44] local.INFO: GPS Element Parsed {"raw_longitude":755655808,"raw_latitude":116483872,"longitude_deg":75.5655808,"latitude_deg":11.6483872,"altitude":21,"angle":123,"satellites":36,"speed":28,"hex_longitude":"2d0a6480","hex_latitude":"06f16720","is_valid_coordinates":true} 
[2026-09-24 23:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:52:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,118,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 23:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790273929000,"timestamp_ms":1790273929000,"timestamp_seconds":1790273929,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a43f28"} 
[2026-09-24 23:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-24 23:52:44] 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-09-24 23:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"118":206,"2":56576,"24":28,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16]} 
[2026-09-24 23:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 23:52:44] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-24 23:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:52:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_118":206,"power_alt":56576,"ignition":28,"odometer":null}} 
[2026-09-24 23:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":191797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892807,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:52:44] local.INFO: GPS data processed {"connection_id":191797,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:52:44] local.INFO: Acknowledgment sent {"connection_id":191797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:53:05] local.INFO: TCP Data received {"connection_id":194471,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:53:05] local.INFO: Processing buffer {"connection_id":194471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a36468012d34c14006aa4940000900f52f..."} 
[2026-09-24 23:53:05] local.INFO: Packet analysis {"connection_id":194471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:53:05] local.INFO: Extracted packet for processing {"connection_id":194471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a3"} 
[2026-09-24 23:53:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310034432001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790273873000,"timestamp_ms":1790273873000,"timestamp_seconds":1790273873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a36468"} 
[2026-09-24 23:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:53: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-09-24 23:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-24 23:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310034432001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310034432001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:53:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310034432001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":194471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:53:05] local.INFO: GPS data processed {"connection_id":194471,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:53:05] local.INFO: Acknowledgment sent {"connection_id":194471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:53:06] local.INFO: TCP Data received {"connection_id":193181,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193181,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:53:06] local.INFO: Processing buffer {"connection_id":193181,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:53:06] local.INFO: IMEI packet received {"connection_id":193181,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":193181,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:53:06] local.INFO: TCP Data received {"connection_id":193181,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193181,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:53:06] local.INFO: Processing buffer {"connection_id":193181,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:53:06] local.INFO: IMEI packet received {"connection_id":193181,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":193181,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:53:11] local.INFO: TCP Data received {"connection_id":193181,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193181,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:53:11] local.INFO: Processing buffer {"connection_id":193181,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:53:11] local.INFO: IMEI packet received {"connection_id":193181,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":193181,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:53:13] local.INFO: TCP Data received {"connection_id":193181,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a49130012d0a978006f14738001700712c..."} 
[2026-09-24 23:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a49130012d0a978006f14738001700712c..."} 
[2026-09-24 23:53:13] local.INFO: Processing buffer {"connection_id":193181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a49130012d0a978006f14738001700712c..."} 
[2026-09-24 23:53:13] local.INFO: Packet analysis {"connection_id":193181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a4"} 
[2026-09-24 23:53:13] local.INFO: Extracted packet for processing {"connection_id":193181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a4"} 
[2026-09-24 23:53:13] local.INFO: GPS Element Parsed {"raw_longitude":755668864,"raw_latitude":116475704,"longitude_deg":75.5668864,"latitude_deg":11.6475704,"altitude":23,"angle":113,"satellites":44,"speed":23,"hex_longitude":"2d0a9780","hex_latitude":"06f14738","is_valid_coordinates":true} 
[2026-09-24 23:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310125824001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":748864205358571520,"note":"Value kept but may cause issues"} 
[2026-09-24 23:53:13] 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-09-24 23:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790273950000,"timestamp_ms":1790273950000,"timestamp_seconds":1790273950,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a49130"} 
[2026-09-24 23:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 23:53:13] 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-09-24 23:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193181,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193181,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310125824001,"66":27919,"118":206,"2":56576,"24":23,"16":3605341577150464,"45":748864205358571520},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-09-24 23:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310125824001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:53:13] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-24 23:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":748864205358571520,"description":"Unknown IO ID 45"} 
[2026-09-24 23:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310125824001,"power":27919,"unknown_118":206,"power_alt":56576,"ignition":23,"odometer":null,"unknown_45":748864205358571520}} 
[2026-09-24 23:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":193181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892809,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:53:13] local.INFO: GPS data processed {"connection_id":193181,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:53:13] local.INFO: Acknowledgment sent {"connection_id":193181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:53:32] local.INFO: TCP Data received {"connection_id":191614,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:53:32] local.INFO: Processing buffer {"connection_id":191614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:53:32] local.INFO: IMEI packet received {"connection_id":191614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":191614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:53:32] local.INFO: TCP Data received {"connection_id":191614,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:53:32] local.INFO: Processing buffer {"connection_id":191614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:53:32] local.INFO: IMEI packet received {"connection_id":191614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":191614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:53:37] local.INFO: TCP Data received {"connection_id":191614,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:53:37] local.INFO: Processing buffer {"connection_id":191614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:53:37] local.INFO: IMEI packet received {"connection_id":191614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":191614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:53:38] local.INFO: TCP Data received {"connection_id":191614,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:53:38] local.INFO: Processing buffer {"connection_id":191614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:53:38] local.INFO: Packet analysis {"connection_id":191614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a7"} 
[2026-09-24 23:53:38] local.INFO: Extracted packet for processing {"connection_id":191614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a7"} 
[2026-09-24 23:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310111488001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790274174000,"timestamp_ms":1790274174000,"timestamp_seconds":1790274174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a7fc30"} 
[2026-09-24 23:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 23:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310111488001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310111488001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310111488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":191614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:53:38] local.INFO: GPS data processed {"connection_id":191614,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:53:38] local.INFO: Acknowledgment sent {"connection_id":191614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:53:42] local.INFO: TCP Data received {"connection_id":191614,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:53:42] local.INFO: Processing buffer {"connection_id":191614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:53:42] local.INFO: Packet analysis {"connection_id":191614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a7"} 
[2026-09-24 23:53:42] local.INFO: Extracted packet for processing {"connection_id":191614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a7"} 
[2026-09-24 23:53:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310111488001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790274174000,"timestamp_ms":1790274174000,"timestamp_seconds":1790274174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a7fc30"} 
[2026-09-24 23:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 23:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310111488001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310111488001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:53:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:53:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310111488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":191614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:53:42] local.INFO: GPS data processed {"connection_id":191614,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:53:42] local.INFO: Acknowledgment sent {"connection_id":191614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:53:45] local.INFO: TCP Data received {"connection_id":193181,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a573c00100000000000000000000000000..."} 
[2026-09-24 23:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a573c00100000000000000000000000000..."} 
[2026-09-24 23:53:45] local.INFO: Processing buffer {"connection_id":193181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a573c00100000000000000000000000000..."} 
[2026-09-24 23:53:45] local.INFO: Packet analysis {"connection_id":193181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a5"} 
[2026-09-24 23:53:45] local.INFO: Extracted packet for processing {"connection_id":193181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a5"} 
[2026-09-24 23:53:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 23:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310131200001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":763219429168723968,"note":"Value kept but may cause issues"} 
[2026-09-24 23:53:45] 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-09-24 23:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790274008000,"timestamp_ms":1790274008000,"timestamp_seconds":1790274008,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a573c0"} 
[2026-09-24 23:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-24 23:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193181,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193181,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":193181,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 23:53:45] local.INFO: GPS data processed {"connection_id":193181,"processed":0,"errors":0,"total":1} 
[2026-09-24 23:53:45] local.INFO: Acknowledgment sent {"connection_id":193181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:54:06] local.INFO: TCP Data received {"connection_id":191798,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:54:06] local.INFO: Processing buffer {"connection_id":191798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:54:06] local.INFO: IMEI packet received {"connection_id":191798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":191798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:54:10] local.INFO: TCP Data received {"connection_id":191798,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:54:10] local.INFO: Processing buffer {"connection_id":191798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:54:10] local.INFO: IMEI packet received {"connection_id":191798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":191798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:54:11] local.INFO: TCP Data received {"connection_id":191798,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:54:11] local.INFO: Processing buffer {"connection_id":191798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:54:11] local.INFO: IMEI packet received {"connection_id":191798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":191798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:54:13] local.INFO: TCP Data received {"connection_id":191798,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a7e8a8012d0b68c006f03118000d00a82c..."} 
[2026-09-24 23:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a7e8a8012d0b68c006f03118000d00a82c..."} 
[2026-09-24 23:54:13] local.INFO: Processing buffer {"connection_id":191798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a7e8a8012d0b68c006f03118000d00a82c..."} 
[2026-09-24 23:54:13] local.INFO: Packet analysis {"connection_id":191798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a7"} 
[2026-09-24 23:54:13] local.INFO: Extracted packet for processing {"connection_id":191798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a7"} 
[2026-09-24 23:54:13] local.INFO: GPS Element Parsed {"raw_longitude":755722432,"raw_latitude":116404504,"longitude_deg":75.5722432,"latitude_deg":11.6404504,"altitude":13,"angle":168,"satellites":44,"speed":0,"hex_longitude":"2d0b68c0","hex_latitude":"06f03118","is_valid_coordinates":true} 
[2026-09-24 23:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310181888001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822118068027201536,"note":"Value kept but may cause issues"} 
[2026-09-24 23:54:13] 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-09-24 23:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790274169000,"timestamp_ms":1790274169000,"timestamp_seconds":1790274169,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a7e8a8"} 
[2026-09-24 23:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 23:54:13] 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-09-24 23:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310181888001,"66":27941,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":822118068027201536},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-09-24 23:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310181888001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:54:13] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-24 23:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":822118068027201536,"description":"Unknown IO ID 45"} 
[2026-09-24 23:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310181888001,"power":27941,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":822118068027201536}} 
[2026-09-24 23:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":191798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892812,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:54:13] local.INFO: GPS data processed {"connection_id":191798,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:54:13] local.INFO: Acknowledgment sent {"connection_id":191798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:54:14] local.INFO: TCP Data received {"connection_id":191798,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a8cb380100000000000000000000000000..."} 
[2026-09-24 23:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a8cb380100000000000000000000000000..."} 
[2026-09-24 23:54:14] local.INFO: Processing buffer {"connection_id":191798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a8cb380100000000000000000000000000..."} 
[2026-09-24 23:54:14] local.INFO: Packet analysis {"connection_id":191798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a8"} 
[2026-09-24 23:54:14] local.INFO: Extracted packet for processing {"connection_id":191798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a8"} 
[2026-09-24 23:54:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 23:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310187264001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822118068027201536,"note":"Value kept but may cause issues"} 
[2026-09-24 23:54:14] 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-09-24 23:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790274227000,"timestamp_ms":1790274227000,"timestamp_seconds":1790274227,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a8cb38"} 
[2026-09-24 23:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-24 23:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":191798,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 23:54:14] local.INFO: GPS data processed {"connection_id":191798,"processed":0,"errors":0,"total":1} 
[2026-09-24 23:54:14] local.INFO: Acknowledgment sent {"connection_id":191798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:54:27] local.INFO: TCP Data received {"connection_id":191615,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:54:27] local.INFO: Processing buffer {"connection_id":191615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:54:27] local.INFO: IMEI packet received {"connection_id":191615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":191615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:54:32] local.INFO: TCP Data received {"connection_id":191615,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:54:32] local.INFO: Processing buffer {"connection_id":191615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:54:32] local.INFO: IMEI packet received {"connection_id":191615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":191615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:54:33] local.INFO: TCP Data received {"connection_id":191615,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:54:33] local.INFO: Processing buffer {"connection_id":191615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:54:33] local.INFO: Packet analysis {"connection_id":191615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a7"} 
[2026-09-24 23:54:33] local.INFO: Extracted packet for processing {"connection_id":191615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a7"} 
[2026-09-24 23:54:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310111488001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790274174000,"timestamp_ms":1790274174000,"timestamp_seconds":1790274174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a7fc30"} 
[2026-09-24 23:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 23:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310111488001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310111488001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:54:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:54:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310111488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":191615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:54:33] local.INFO: GPS data processed {"connection_id":191615,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:54:33] local.INFO: Acknowledgment sent {"connection_id":191615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:54:51] local.INFO: TCP Data received {"connection_id":191798,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a83e98012d0b74c006effc68000f00a72d..."} 
[2026-09-24 23:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a83e98012d0b74c006effc68000f00a72d..."} 
[2026-09-24 23:54:51] local.INFO: Processing buffer {"connection_id":191798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a83e98012d0b74c006effc68000f00a72d..."} 
[2026-09-24 23:54:51] local.INFO: Packet analysis {"connection_id":191798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a8"} 
[2026-09-24 23:54:51] local.INFO: Extracted packet for processing {"connection_id":191798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a8"} 
[2026-09-24 23:54:51] local.INFO: GPS Element Parsed {"raw_longitude":755725504,"raw_latitude":116391016,"longitude_deg":75.5725504,"latitude_deg":11.6391016,"altitude":15,"angle":167,"satellites":45,"speed":24,"hex_longitude":"2d0b74c0","hex_latitude":"06effc68","is_valid_coordinates":true} 
[2026-09-24 23:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:54:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,118,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 23:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790274191000,"timestamp_ms":1790274191000,"timestamp_seconds":1790274191,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a83e98"} 
[2026-09-24 23:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-24 23:54:51] 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-09-24 23:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27800,"118":206,"2":56576,"24":24,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16]} 
[2026-09-24 23:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 23:54:51] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-24 23:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:54:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27800,"unknown_118":206,"power_alt":56576,"ignition":24,"odometer":null}} 
[2026-09-24 23:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":191798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892814,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:54:51] local.INFO: GPS data processed {"connection_id":191798,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:54:51] local.INFO: Acknowledgment sent {"connection_id":191798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:55:05] local.INFO: TCP Data received {"connection_id":191615,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:55:05] local.INFO: Processing buffer {"connection_id":191615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:55:05] local.INFO: Packet analysis {"connection_id":191615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a7"} 
[2026-09-24 23:55:05] local.INFO: Extracted packet for processing {"connection_id":191615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a7"} 
[2026-09-24 23:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310111488001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790274174000,"timestamp_ms":1790274174000,"timestamp_seconds":1790274174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a7fc30"} 
[2026-09-24 23:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 23:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310111488001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310111488001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:55:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:55:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310111488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":191615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:55:05] local.INFO: GPS data processed {"connection_id":191615,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:55:05] local.INFO: Acknowledgment sent {"connection_id":191615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:55:12] local.INFO: TCP Data received {"connection_id":191616,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:55:12] local.INFO: Processing buffer {"connection_id":191616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:55:12] local.INFO: IMEI packet received {"connection_id":191616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":191616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:55:17] local.INFO: TCP Data received {"connection_id":191616,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:55:17] local.INFO: Processing buffer {"connection_id":191616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:55:17] local.INFO: IMEI packet received {"connection_id":191616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":191616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:55:18] local.INFO: TCP Data received {"connection_id":191616,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a921280100000000000000000000000000..."} 
[2026-09-24 23:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a921280100000000000000000000000000..."} 
[2026-09-24 23:55:18] local.INFO: Processing buffer {"connection_id":191616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a921280100000000000000000000000000..."} 
[2026-09-24 23:55:18] local.INFO: Packet analysis {"connection_id":191616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a9"} 
[2026-09-24 23:55:18] local.INFO: Extracted packet for processing {"connection_id":191616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a9"} 
[2026-09-24 23:55: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-09-24 23: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-09-24 23:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310192896001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":825495767744276480,"note":"Value kept but may cause issues"} 
[2026-09-24 23:55:18] 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-09-24 23:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790274249000,"timestamp_ms":1790274249000,"timestamp_seconds":1790274249,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a92128"} 
[2026-09-24 23:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:55:18] 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-09-24 23: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-24 23:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":191616,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 23:55:18] local.INFO: GPS data processed {"connection_id":191616,"processed":0,"errors":0,"total":1} 
[2026-09-24 23:55:18] local.INFO: Acknowledgment sent {"connection_id":191616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:55:20] local.INFO: TCP Data received {"connection_id":191616,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a89488012d0b7fc006efc970000b00a92e..."} 
[2026-09-24 23:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a89488012d0b7fc006efc970000b00a92e..."} 
[2026-09-24 23:55:20] local.INFO: Processing buffer {"connection_id":191616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a89488012d0b7fc006efc970000b00a92e..."} 
[2026-09-24 23:55:20] local.INFO: Packet analysis {"connection_id":191616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a8"} 
[2026-09-24 23:55:20] local.INFO: Extracted packet for processing {"connection_id":191616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a8"} 
[2026-09-24 23:55:20] local.INFO: GPS Element Parsed {"raw_longitude":755728320,"raw_latitude":116377968,"longitude_deg":75.572832,"latitude_deg":11.6377968,"altitude":11,"angle":169,"satellites":46,"speed":12,"hex_longitude":"2d0b7fc0","hex_latitude":"06efc970","is_valid_coordinates":true} 
[2026-09-24 23:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:55:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,118,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 23:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790274213000,"timestamp_ms":1790274213000,"timestamp_seconds":1790274213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a89488"} 
[2026-09-24 23:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 23:55:20] 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-09-24 23:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27930,"118":206,"2":56576,"24":12,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16]} 
[2026-09-24 23:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 23:55:20] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-24 23:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:55:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27930,"unknown_118":206,"power_alt":56576,"ignition":12,"odometer":null}} 
[2026-09-24 23:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":191616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892816,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:55:20] local.INFO: GPS data processed {"connection_id":191616,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:55:20] local.INFO: Acknowledgment sent {"connection_id":191616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:55:27] local.INFO: TCP Data received {"connection_id":194472,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:55:27] local.INFO: Processing buffer {"connection_id":194472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:55:27] local.INFO: IMEI packet received {"connection_id":194472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":194472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:55:32] local.INFO: TCP Data received {"connection_id":194472,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:55:32] local.INFO: Processing buffer {"connection_id":194472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:55:32] local.INFO: IMEI packet received {"connection_id":194472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":194472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:55:33] local.INFO: TCP Data received {"connection_id":194472,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:55:33] local.INFO: Processing buffer {"connection_id":194472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:55:33] local.INFO: Packet analysis {"connection_id":194472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a7"} 
[2026-09-24 23:55:33] local.INFO: Extracted packet for processing {"connection_id":194472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a7"} 
[2026-09-24 23:55:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310111488001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790274174000,"timestamp_ms":1790274174000,"timestamp_seconds":1790274174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a7fc30"} 
[2026-09-24 23:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 23:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310111488001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310111488001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:55:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:55:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310111488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":194472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:55:33] local.INFO: GPS data processed {"connection_id":194472,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:55:33] local.INFO: Acknowledgment sent {"connection_id":194472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:56:02] local.INFO: TCP Data received {"connection_id":191617,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:56:02] local.INFO: Processing buffer {"connection_id":191617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:56:02] local.INFO: IMEI packet received {"connection_id":191617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":191617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:56:04] local.INFO: TCP Data received {"connection_id":194472,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:56:04] local.INFO: Processing buffer {"connection_id":194472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:56:04] local.INFO: Packet analysis {"connection_id":194472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a7"} 
[2026-09-24 23:56:04] local.INFO: Extracted packet for processing {"connection_id":194472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a7"} 
[2026-09-24 23:56:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310111488001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790274174000,"timestamp_ms":1790274174000,"timestamp_seconds":1790274174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a7fc30"} 
[2026-09-24 23:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 23:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310111488001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310111488001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:56:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:56:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310111488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":194472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:56:04] local.INFO: GPS data processed {"connection_id":194472,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:56:04] local.INFO: Acknowledgment sent {"connection_id":194472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:56:05] local.INFO: TCP Data received {"connection_id":191617,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:56:05] local.INFO: Processing buffer {"connection_id":191617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:56:05] local.INFO: IMEI packet received {"connection_id":191617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":191617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:56:11] local.INFO: TCP Data received {"connection_id":191617,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:56:11] local.INFO: Processing buffer {"connection_id":191617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:56:11] local.INFO: IMEI packet received {"connection_id":191617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":191617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:56:13] local.INFO: TCP Data received {"connection_id":191617,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a977180100000000000000000000000000..."} 
[2026-09-24 23:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a977180100000000000000000000000000..."} 
[2026-09-24 23:56:13] local.INFO: Processing buffer {"connection_id":191617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a977180100000000000000000000000000..."} 
[2026-09-24 23:56:13] local.INFO: Packet analysis {"connection_id":191617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a9"} 
[2026-09-24 23:56:13] local.INFO: Extracted packet for processing {"connection_id":191617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a9"} 
[2026-09-24 23:56:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310198528001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828591992484753408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790274271000,"timestamp_ms":1790274271000,"timestamp_seconds":1790274271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a97718"} 
[2026-09-24 23:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-24 23:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":191617,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-24 23:56:13] local.INFO: GPS data processed {"connection_id":191617,"processed":0,"errors":0,"total":1} 
[2026-09-24 23:56:13] local.INFO: Acknowledgment sent {"connection_id":191617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:56:16] local.INFO: TCP Data received {"connection_id":191617,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a8fe00012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a8fe00012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:56:16] local.INFO: Processing buffer {"connection_id":191617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a8fe00012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:56:16] local.INFO: Packet analysis {"connection_id":191617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a8"} 
[2026-09-24 23:56:16] local.INFO: Extracted packet for processing {"connection_id":191617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a8"} 
[2026-09-24 23:56:16] local.INFO: GPS Element Parsed {"raw_longitude":755730496,"raw_latitude":116367816,"longitude_deg":75.5730496,"latitude_deg":11.6367816,"altitude":11,"angle":171,"satellites":45,"speed":2,"hex_longitude":"2d0b8840","hex_latitude":"06efa1c8","is_valid_coordinates":true} 
[2026-09-24 23:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:56:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,117,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-24 23:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790274240000,"timestamp_ms":1790274240000,"timestamp_seconds":1790274240,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a8fe00"} 
[2026-09-24 23:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 23:56:16] 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-09-24 23:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28093,"117":206,"2":56576,"24":2,"16":3605341577150464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,2,24,16]} 
[2026-09-24 23:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-24 23:56:16] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-24 23:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:56:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28093,"unknown_117":206,"power_alt":56576,"ignition":2,"odometer":null}} 
[2026-09-24 23:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":191617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892819,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:56:17] local.INFO: GPS data processed {"connection_id":191617,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:56:17] local.INFO: Acknowledgment sent {"connection_id":191617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:56:27] local.INFO: TCP Data received {"connection_id":191799,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:56:27] local.INFO: Processing buffer {"connection_id":191799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:56:27] local.INFO: IMEI packet received {"connection_id":191799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":191799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:56:32] local.INFO: TCP Data received {"connection_id":191799,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:56:32] local.INFO: Processing buffer {"connection_id":191799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:56:32] local.INFO: IMEI packet received {"connection_id":191799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":191799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:56:33] local.INFO: TCP Data received {"connection_id":191799,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:56:33] local.INFO: Processing buffer {"connection_id":191799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:56:33] local.INFO: Packet analysis {"connection_id":191799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a7"} 
[2026-09-24 23:56:33] local.INFO: Extracted packet for processing {"connection_id":191799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a7"} 
[2026-09-24 23:56:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310111488001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790274174000,"timestamp_ms":1790274174000,"timestamp_seconds":1790274174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a7fc30"} 
[2026-09-24 23:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 23:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310111488001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310111488001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:56:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:56:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310111488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":191799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:56:33] local.INFO: GPS data processed {"connection_id":191799,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:56:33] local.INFO: Acknowledgment sent {"connection_id":191799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:56:48] local.INFO: TCP Data received {"connection_id":191617,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a95008012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a95008012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:56:48] local.INFO: Processing buffer {"connection_id":191617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a95008012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:56:48] local.INFO: Packet analysis {"connection_id":191617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a9"} 
[2026-09-24 23:56:48] local.INFO: Extracted packet for processing {"connection_id":191617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a9"} 
[2026-09-24 23:56:48] local.INFO: GPS Element Parsed {"raw_longitude":755730496,"raw_latitude":116367816,"longitude_deg":75.5730496,"latitude_deg":11.6367816,"altitude":11,"angle":171,"satellites":45,"speed":0,"hex_longitude":"2d0b8840","hex_latitude":"06efa1c8","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310205440001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830984529784195072,"note":"Value kept but may cause issues"} 
[2026-09-24 23:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790274261000,"timestamp_ms":1790274261000,"timestamp_seconds":1790274261,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a95008"} 
[2026-09-24 23:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-24 23:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310205440001,"66":27984,"117":206,"2":56576,"24":0,"16":3605341577150464,"45":830984529784195072},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,2,24,16,45]} 
[2026-09-24 23:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310205440001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:56:48] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-24 23:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":830984529784195072,"description":"Unknown IO ID 45"} 
[2026-09-24 23:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310205440001,"power":27984,"unknown_117":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":830984529784195072}} 
[2026-09-24 23:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":191617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892821,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:56:49] local.INFO: GPS data processed {"connection_id":191617,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:56:49] local.INFO: Acknowledgment sent {"connection_id":191617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:57:05] local.INFO: TCP Data received {"connection_id":191799,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:57:05] local.INFO: Processing buffer {"connection_id":191799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:57:05] local.INFO: Packet analysis {"connection_id":191799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a7"} 
[2026-09-24 23:57:05] local.INFO: Extracted packet for processing {"connection_id":191799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a7"} 
[2026-09-24 23:57:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310111488001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790274174000,"timestamp_ms":1790274174000,"timestamp_seconds":1790274174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a7fc30"} 
[2026-09-24 23:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 23:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310111488001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310111488001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:57:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:57:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310111488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":191799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:57:05] local.INFO: GPS data processed {"connection_id":191799,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:57:05] local.INFO: Acknowledgment sent {"connection_id":191799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:57:08] local.INFO: TCP Data received {"connection_id":191800,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:57:08] local.INFO: Processing buffer {"connection_id":191800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:57:08] local.INFO: IMEI packet received {"connection_id":191800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":191800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:57:09] local.INFO: TCP Data received {"connection_id":191800,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:57:09] local.INFO: Processing buffer {"connection_id":191800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:57:09] local.INFO: IMEI packet received {"connection_id":191800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":191800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:57:10] local.INFO: TCP Data received {"connection_id":191800,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:57:10] local.INFO: Processing buffer {"connection_id":191800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:57:10] local.INFO: IMEI packet received {"connection_id":191800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":191800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:57:13] local.INFO: TCP Data received {"connection_id":191800,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a9a210012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a9a210012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:57:13] local.INFO: Processing buffer {"connection_id":191800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a9a210012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:57:13] local.INFO: Packet analysis {"connection_id":191800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a9"} 
[2026-09-24 23:57:13] local.INFO: Extracted packet for processing {"connection_id":191800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a9"} 
[2026-09-24 23:57:13] local.INFO: GPS Element Parsed {"raw_longitude":755730496,"raw_latitude":116367816,"longitude_deg":75.5730496,"latitude_deg":11.6367816,"altitude":11,"angle":171,"satellites":45,"speed":0,"hex_longitude":"2d0b8840","hex_latitude":"06efa1c8","is_valid_coordinates":true} 
[2026-09-24 23:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310210816001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830984529784195072,"note":"Value kept but may cause issues"} 
[2026-09-24 23:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790274282000,"timestamp_ms":1790274282000,"timestamp_seconds":1790274282,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a9a210"} 
[2026-09-24 23:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 23:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310210816001,"66":27995,"117":206,"2":56576,"24":0,"16":3605341577150464,"45":830984529784195072},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,2,24,16,45]} 
[2026-09-24 23:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310210816001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:57:13] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-24 23:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":830984529784195072,"description":"Unknown IO ID 45"} 
[2026-09-24 23:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310210816001,"power":27995,"unknown_117":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":830984529784195072}} 
[2026-09-24 23:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":191800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892823,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:57:13] local.INFO: GPS data processed {"connection_id":191800,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:57:13] local.INFO: Acknowledgment sent {"connection_id":191800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:57:16] local.INFO: TCP Data received {"connection_id":191800,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a9f418012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a9f418012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:57:16] local.INFO: Processing buffer {"connection_id":191800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a9f418012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:57:16] local.INFO: Packet analysis {"connection_id":191800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a9"} 
[2026-09-24 23:57:16] local.INFO: Extracted packet for processing {"connection_id":191800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a9"} 
[2026-09-24 23:57:16] local.INFO: GPS Element Parsed {"raw_longitude":755730496,"raw_latitude":116367816,"longitude_deg":75.5730496,"latitude_deg":11.6367816,"altitude":11,"angle":171,"satellites":45,"speed":0,"hex_longitude":"2d0b8840","hex_latitude":"06efa1c8","is_valid_coordinates":true} 
[2026-09-24 23:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310216192001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830984529784195072,"note":"Value kept but may cause issues"} 
[2026-09-24 23:57:16] 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-09-24 23:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790274303000,"timestamp_ms":1790274303000,"timestamp_seconds":1790274303,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a9f418"} 
[2026-09-24 23:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 23:57:16] 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-09-24 23:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310216192001,"66":27995,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":830984529784195072},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-09-24 23:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310216192001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:57:16] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-24 23:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":830984529784195072,"description":"Unknown IO ID 45"} 
[2026-09-24 23:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310216192001,"power":27995,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":830984529784195072}} 
[2026-09-24 23:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":191800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892824,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:57:16] local.INFO: GPS data processed {"connection_id":191800,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:57:16] local.INFO: Acknowledgment sent {"connection_id":191800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:57:27] local.INFO: TCP Data received {"connection_id":194473,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:57:27] local.INFO: Processing buffer {"connection_id":194473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:57:27] local.INFO: IMEI packet received {"connection_id":194473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":194473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:57:32] local.INFO: TCP Data received {"connection_id":194473,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:57:32] local.INFO: Processing buffer {"connection_id":194473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:57:32] local.INFO: IMEI packet received {"connection_id":194473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":194473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:57:33] local.INFO: TCP Data received {"connection_id":194473,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:57:33] local.INFO: Processing buffer {"connection_id":194473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:57:33] local.INFO: Packet analysis {"connection_id":194473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a7"} 
[2026-09-24 23:57:33] local.INFO: Extracted packet for processing {"connection_id":194473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a7"} 
[2026-09-24 23:57:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310111488001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790274174000,"timestamp_ms":1790274174000,"timestamp_seconds":1790274174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a7fc30"} 
[2026-09-24 23:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 23:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310111488001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310111488001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:57:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:57:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310111488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":194473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:57:33] local.INFO: GPS data processed {"connection_id":194473,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:57:33] local.INFO: Acknowledgment sent {"connection_id":194473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:57:49] local.INFO: TCP Data received {"connection_id":191800,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4aa4620012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4aa4620012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:57:49] local.INFO: Processing buffer {"connection_id":191800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4aa4620012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:57:49] local.INFO: Packet analysis {"connection_id":191800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4aa"} 
[2026-09-24 23:57:49] local.INFO: Extracted packet for processing {"connection_id":191800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4aa"} 
[2026-09-24 23:57:49] local.INFO: GPS Element Parsed {"raw_longitude":755730496,"raw_latitude":116367816,"longitude_deg":75.5730496,"latitude_deg":11.6367816,"altitude":11,"angle":171,"satellites":45,"speed":0,"hex_longitude":"2d0b8840","hex_latitude":"06efa1c8","is_valid_coordinates":true} 
[2026-09-24 23:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310221568001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830984529784195072,"note":"Value kept but may cause issues"} 
[2026-09-24 23:57:49] 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-09-24 23:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790274324000,"timestamp_ms":1790274324000,"timestamp_seconds":1790274324,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4aa4620"} 
[2026-09-24 23:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-24 23:57:49] 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-09-24 23:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310221568001,"66":27984,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":830984529784195072},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-09-24 23:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310221568001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:57:49] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-24 23:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":830984529784195072,"description":"Unknown IO ID 45"} 
[2026-09-24 23:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310221568001,"power":27984,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":830984529784195072}} 
[2026-09-24 23:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":191800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892826,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:57:49] local.INFO: GPS data processed {"connection_id":191800,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:57:49] local.INFO: Acknowledgment sent {"connection_id":191800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:58:05] local.INFO: TCP Data received {"connection_id":194473,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:58:05] local.INFO: Processing buffer {"connection_id":194473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4a7fc30012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:58:05] local.INFO: Packet analysis {"connection_id":194473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4a7"} 
[2026-09-24 23:58:05] local.INFO: Extracted packet for processing {"connection_id":194473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4a7"} 
[2026-09-24 23:58:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310111488001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790274174000,"timestamp_ms":1790274174000,"timestamp_seconds":1790274174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4a7fc30"} 
[2026-09-24 23:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-24 23:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310111488001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310111488001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:58:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:58:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310111488001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":194473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:58:05] local.INFO: GPS data processed {"connection_id":194473,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:58:05] local.INFO: Acknowledgment sent {"connection_id":194473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:58:06] local.INFO: TCP Data received {"connection_id":191801,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:58:06] local.INFO: Processing buffer {"connection_id":191801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:58:06] local.INFO: IMEI packet received {"connection_id":191801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":191801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:58:09] local.INFO: TCP Data received {"connection_id":191801,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:58:09] local.INFO: Processing buffer {"connection_id":191801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:58:09] local.INFO: IMEI packet received {"connection_id":191801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":191801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:58:11] local.INFO: TCP Data received {"connection_id":191801,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:58:11] local.INFO: Processing buffer {"connection_id":191801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:58:11] local.INFO: IMEI packet received {"connection_id":191801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":191801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:58:16] local.INFO: TCP Data received {"connection_id":191801,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4aa9828012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4aa9828012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:58:16] local.INFO: Processing buffer {"connection_id":191801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4aa9828012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:58:16] local.INFO: Packet analysis {"connection_id":191801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4aa"} 
[2026-09-24 23:58:16] local.INFO: Extracted packet for processing {"connection_id":191801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4aa"} 
[2026-09-24 23:58:16] local.INFO: GPS Element Parsed {"raw_longitude":755730496,"raw_latitude":116367816,"longitude_deg":75.5730496,"latitude_deg":11.6367816,"altitude":11,"angle":171,"satellites":45,"speed":0,"hex_longitude":"2d0b8840","hex_latitude":"06efa1c8","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310226944001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830984529784195072,"note":"Value kept but may cause issues"} 
[2026-09-24 23:58:16] 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-09-24 23:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790274345000,"timestamp_ms":1790274345000,"timestamp_seconds":1790274345,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4aa9828"} 
[2026-09-24 23:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-24 23:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310226944001,"66":27821,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":830984529784195072},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-09-24 23:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310226944001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:58:16] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-24 23:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":830984529784195072,"description":"Unknown IO ID 45"} 
[2026-09-24 23:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310226944001,"power":27821,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":830984529784195072}} 
[2026-09-24 23:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":191801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892828,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:58:17] local.INFO: GPS data processed {"connection_id":191801,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:58:17] local.INFO: Acknowledgment sent {"connection_id":191801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:58:32] local.INFO: TCP Data received {"connection_id":191618,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:58:32] local.INFO: Processing buffer {"connection_id":191618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:58:32] local.INFO: IMEI packet received {"connection_id":191618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":191618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:58:33] local.INFO: TCP Data received {"connection_id":191618,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:58:33] local.INFO: Processing buffer {"connection_id":191618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:58:33] local.INFO: IMEI packet received {"connection_id":191618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":191618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:58:34] local.INFO: TCP Data received {"connection_id":191618,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:58:34] local.INFO: Processing buffer {"connection_id":191618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:58:34] local.INFO: Packet analysis {"connection_id":191618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-24 23:58:34] local.INFO: Extracted packet for processing {"connection_id":191618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-24 23:58:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310188544001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790274475000,"timestamp_ms":1790274475000,"timestamp_seconds":1790274475,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ac93f8"} 
[2026-09-24 23:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:58: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-09-24 23:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310188544001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310188544001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:58:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:58:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310188544001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":191618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:58:34] local.INFO: GPS data processed {"connection_id":191618,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:58:34] local.INFO: Acknowledgment sent {"connection_id":191618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:58:37] local.INFO: TCP Data received {"connection_id":191618,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:58:37] local.INFO: Processing buffer {"connection_id":191618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:58:37] local.INFO: Packet analysis {"connection_id":191618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-24 23:58:37] local.INFO: Extracted packet for processing {"connection_id":191618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-24 23:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310188544001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790274475000,"timestamp_ms":1790274475000,"timestamp_seconds":1790274475,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ac93f8"} 
[2026-09-24 23:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310188544001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310188544001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:58:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310188544001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":191618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:58:38] local.INFO: GPS data processed {"connection_id":191618,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:58:38] local.INFO: Acknowledgment sent {"connection_id":191618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:58:48] local.INFO: TCP Data received {"connection_id":191801,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4aaea30012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4aaea30012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:58:48] local.INFO: Processing buffer {"connection_id":191801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4aaea30012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:58:48] local.INFO: Packet analysis {"connection_id":191801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4aa"} 
[2026-09-24 23:58:48] local.INFO: Extracted packet for processing {"connection_id":191801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4aa"} 
[2026-09-24 23:58:48] local.INFO: GPS Element Parsed {"raw_longitude":755730496,"raw_latitude":116367816,"longitude_deg":75.5730496,"latitude_deg":11.6367816,"altitude":11,"angle":171,"satellites":45,"speed":0,"hex_longitude":"2d0b8840","hex_latitude":"06efa1c8","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310232320001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830984529784195072,"note":"Value kept but may cause issues"} 
[2026-09-24 23:58: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-09-24 23:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790274366000,"timestamp_ms":1790274366000,"timestamp_seconds":1790274366,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4aaea30"} 
[2026-09-24 23:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-24 23:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310232320001,"66":27952,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":830984529784195072},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-09-24 23:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310232320001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:58:48] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-24 23:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":830984529784195072,"description":"Unknown IO ID 45"} 
[2026-09-24 23:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310232320001,"power":27952,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":830984529784195072}} 
[2026-09-24 23:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":191801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892831,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:58:48] local.INFO: GPS data processed {"connection_id":191801,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:58:48] local.INFO: Acknowledgment sent {"connection_id":191801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:59:06] local.INFO: TCP Data received {"connection_id":191619,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:59:06] local.INFO: Processing buffer {"connection_id":191619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:59:06] local.INFO: IMEI packet received {"connection_id":191619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-24 23:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":191619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:59:09] local.INFO: TCP Data received {"connection_id":191618,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:59:09] local.INFO: Processing buffer {"connection_id":191618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:59:09] local.INFO: Packet analysis {"connection_id":191618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-24 23:59:09] local.INFO: Extracted packet for processing {"connection_id":191618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-24 23:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23: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-09-24 23:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310188544001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790274475000,"timestamp_ms":1790274475000,"timestamp_seconds":1790274475,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ac93f8"} 
[2026-09-24 23:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:59: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-09-24 23:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23: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-09-24 23:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310188544001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310188544001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:59:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310188544001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":191618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:59:09] local.INFO: GPS data processed {"connection_id":191618,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:59:09] local.INFO: Acknowledgment sent {"connection_id":191618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:59:11] local.INFO: TCP Data received {"connection_id":191619,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:59:11] local.INFO: Processing buffer {"connection_id":191619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-24 23:59:11] local.INFO: IMEI packet received {"connection_id":191619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-24 23:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":191619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:59:12] local.INFO: TCP Data received {"connection_id":191619,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ab3c38012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ab3c38012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:59:12] local.INFO: Processing buffer {"connection_id":191619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ab3c38012d0b884006efa1c8000b00ab2d..."} 
[2026-09-24 23:59:12] local.INFO: Packet analysis {"connection_id":191619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ab"} 
[2026-09-24 23:59:12] local.INFO: Extracted packet for processing {"connection_id":191619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ab"} 
[2026-09-24 23:59:12] local.INFO: GPS Element Parsed {"raw_longitude":755730496,"raw_latitude":116367816,"longitude_deg":75.5730496,"latitude_deg":11.6367816,"altitude":11,"angle":171,"satellites":45,"speed":0,"hex_longitude":"2d0b8840","hex_latitude":"06efa1c8","is_valid_coordinates":true} 
[2026-09-24 23:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310237696001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830984529784195072,"note":"Value kept but may cause issues"} 
[2026-09-24 23:59:12] 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-09-24 23:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790274387000,"timestamp_ms":1790274387000,"timestamp_seconds":1790274387,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ab3c38"} 
[2026-09-24 23:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:59: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-09-24 23:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-24 23:59:12] 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-09-24 23:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310237696001,"66":27974,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":830984529784195072},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-09-24 23:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310237696001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:59:12] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-24 23:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":830984529784195072,"description":"Unknown IO ID 45"} 
[2026-09-24 23:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310237696001,"power":27974,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":830984529784195072}} 
[2026-09-24 23:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":191619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892833,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:59:12] local.INFO: GPS data processed {"connection_id":191619,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:59:12] local.INFO: Acknowledgment sent {"connection_id":191619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:59:27] local.INFO: TCP Data received {"connection_id":191620,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:59:27] local.INFO: Processing buffer {"connection_id":191620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:59:27] local.INFO: IMEI packet received {"connection_id":191620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-24 23:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":191620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-24 23:59:32] local.INFO: TCP Data received {"connection_id":191620,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:59:32] local.INFO: Processing buffer {"connection_id":191620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-24 23:59:32] local.INFO: IMEI packet received {"connection_id":191620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-24 23:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":191620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-24 23:59:33] local.INFO: TCP Data received {"connection_id":191620,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:59:33] local.INFO: Processing buffer {"connection_id":191620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-24 23:59:33] local.INFO: Packet analysis {"connection_id":191620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-24 23:59:33] local.INFO: Extracted packet for processing {"connection_id":191620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-24 23:59:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-24 23:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310188544001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-24 23:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-24 23:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-24 23:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790274475000,"timestamp_ms":1790274475000,"timestamp_seconds":1790274475,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ac93f8"} 
[2026-09-24 23:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-24 23:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-24 23:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-24 23:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-24 23:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-24 23:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-24 23:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310188544001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-24 23:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-24 23:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-24 23:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310188544001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:59:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-24 23:59:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-24 23:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-24 23:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310188544001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-24 23:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":191620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:59:33] local.INFO: GPS data processed {"connection_id":191620,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:59:33] local.INFO: Acknowledgment sent {"connection_id":191620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-24 23:59:44] local.INFO: TCP Data received {"connection_id":191619,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ab8e40012d0b914006ef7f20000d00a52f..."} 
[2026-09-24 23:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ab8e40012d0b914006ef7f20000d00a52f..."} 
[2026-09-24 23:59:44] local.INFO: Processing buffer {"connection_id":191619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ab8e40012d0b914006ef7f20000d00a52f..."} 
[2026-09-24 23:59:44] local.INFO: Packet analysis {"connection_id":191619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ab"} 
[2026-09-24 23:59:44] local.INFO: Extracted packet for processing {"connection_id":191619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ab"} 
[2026-09-24 23:59:44] local.INFO: GPS Element Parsed {"raw_longitude":755732800,"raw_latitude":116358944,"longitude_deg":75.57328,"latitude_deg":11.6358944,"altitude":13,"angle":165,"satellites":47,"speed":0,"hex_longitude":"2d0b9140","hex_latitude":"06ef7f20","is_valid_coordinates":true} 
[2026-09-24 23:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-24 23:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310243072001,"note":"Value kept but may cause issues"} 
[2026-09-24 23:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-24 23:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830984529784195072,"note":"Value kept but may cause issues"} 
[2026-09-24 23:59:44] 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-09-24 23:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790274408000,"timestamp_ms":1790274408000,"timestamp_seconds":1790274408,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ab8e40"} 
[2026-09-24 23:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-24 23:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-24 23:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-24 23:59:44] 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-09-24 23:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-24 23:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-24 23:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-24 23:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-24 23:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-24 23:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-24 23:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-24 23:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-24 23:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310243072001,"66":27876,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":830984529784195072},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-09-24 23:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-24 23:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-24 23:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310243072001,"description":"Unknown IO ID 0"} 
[2026-09-24 23:59:44] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-24 23:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-24 23:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":830984529784195072,"description":"Unknown IO ID 45"} 
[2026-09-24 23:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310243072001,"power":27876,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":830984529784195072}} 
[2026-09-24 23:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":191619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892835,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-24 23:59:44] local.INFO: GPS data processed {"connection_id":191619,"processed":1,"errors":0,"total":1} 
[2026-09-24 23:59:44] local.INFO: Acknowledgment sent {"connection_id":191619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
